summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* r600g: remove the workaround for quads and provoking vertexMarek Olšák2012-02-165-33/+25
|
* r600g: remove redundant r600_context::vs_so_stride_in_dwMarek Olšák2012-02-163-4/+1
|
* gallium: fix some comments in p_state.hBrian Paul2012-02-151-3/+3
| | | | Reviewed-by: Jose Fonseca <[email protected]>
* llvmpipe: fix fogcoord writing (v2)Dave Airlie2012-02-151-4/+12
| | | | | | this fixes the fogcoord related piglit tests, like I fixed them in softpipe. Signed-off-by: Dave Airlie <[email protected]>
* st/vdpau: fix a small memory leakChristian König2012-02-141-0/+5
| | | | | | The matrix filter wasn't freed on mixer destruction. Signed-off-by: Christian König <[email protected]>
* vl: fix low strength denoise filterChristian König2012-02-143-7/+7
| | | | | | | A filter strength of zero or one doesn't make any sense. Thanks to Andy Furniss for pointing this out. Signed-off-by: Christian König <[email protected]>
* r600g: fix tiling with cayman and virtual memoryJerome Glisse2012-02-141-10/+28
| | | | | | | | | The virtual address but follow the alignment requirement of the tiled surface. The bo from handle case is not properly fix. Need bigger change for a proper fix. Work around that by enforcing 1M alignment for those bo. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: Use a fake reloc to sleep for fencesSimon Farnsworth2012-02-142-2/+24
| | | | | | | | | | | | | | r300g is able to sleep until a fence completes rather than busywait because it creates a special buffer object and relocation that stays busy until the CS containing the fence is finished. Copy the idea into r600g, and use it to sleep if the user asked for an infinite wait, falling back to busywaiting if the user provided a timeout. Note: this is a candidate for the stable branches. Signed-off-by: Simon Farnsworth <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* r600g: consolidate set_blend_color codeMarek Olšák2012-02-144-40/+23
|
* r600g: consolidate more translate functionsMarek Olšák2012-02-144-140/+74
|
* r600g: inline r600_translate_ds_funcMarek Olšák2012-02-142-16/+4
|
* r600g: remove unused variableMarek Olšák2012-02-141-2/+0
|
* r600g: consolidate some translate functionsMarek Olšák2012-02-144-84/+44
|
* Revert "r600g: don't advertise integer textures without GLSL 1.3"Marek Olšák2012-02-142-8/+0
| | | | | | This reverts commit 2c06bcb90982280e82a044b8be83be8fdf5a9590. It breaks u_blitter trying to blit compressed textures as uint.
* r600g: don't advertise integer textures without GLSL 1.3Marek Olšák2012-02-142-0/+8
|
* gallivm: Replace architecture test with PIPE_ARCH_*Stéphane Marchesin2012-02-121-4/+6
| | | | | | | | | | | | X86Target is a variable, and therefore isn't defined at compile time. So LLVM_NATIVE_ARCH == X86Target is translated into 0 == 0 and since X86 is first, we always pick it. Therefore we replace the logic with PIPE_ARCH_*. https://bugs.freedesktop.org/show_bug.cgi?id=45420
* i915g: Remove useless draw calls.Stéphane Marchesin2012-02-123-41/+2
|
* i915g: Add a way to profile the contents of command buffers.Stéphane Marchesin2012-02-121-0/+12
|
* i915g: Fix comments.Stéphane Marchesin2012-02-121-2/+2
|
* i915g: Don't emit state when it's already bound.Stéphane Marchesin2012-02-121-0/+32
|
* i915g: Remove unused poly stipple state.Stéphane Marchesin2012-02-122-54/+0
|
* i915g: Implement stipple with draw.Stéphane Marchesin2012-02-122-1/+5
|
* i915g: Fix comment.Stéphane Marchesin2012-02-121-1/+1
|
* i915g: Move ureg defines to the header so we can share them.Stéphane Marchesin2012-02-122-32/+32
|
* i915g: Separate declarations and program in the fragment program struct.Stéphane Marchesin2012-02-124-9/+31
| | | | We need this later to fixup fragment programs properly.
* r300g: always fail to create a multisample resourceMarek Olšák2012-02-121-0/+3
| | | | Just to be safe.
* r300g: assert-fail when calling resource_resolveMarek Olšák2012-02-121-0/+3
| | | | And reset the dest pointer to NULL after it.
* gallium/xvmc: r300 and r600 now depend on libdrm_radeonAlex Deucher2012-02-112-2/+2
| | | | | | | Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=45907 Signed-off-by: Alex Deucher <[email protected]>
* gallivm: Change getExtent and readByte to non-const with llvm-3.1.Vinson Lee2012-02-101-0/+8
| | | | | | | | | | | Fix build with llvm-3.1svn. llvm-3.1svn r149918 changed BufferMemoryObject::getExtent and BufferMemoryObject::readByte from const member functions to non-const member functions in include/llvm/Support/MemoryObject.h. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: José Fonseca <[email protected]>
* r600g: 128 bit formats require tile_type = 1 on caymanAlex Deucher2012-02-101-0/+10
| | | | | | | | Noticed by taiu on IRC. Signed-off-by: Alex Deucher <[email protected]> Note: this is a candidate for the stable branches.
* r600g: fix tex tile_type offset for caymanAlex Deucher2012-02-102-1/+7
| | | | | | | | Noticed by taiu on IRC. Signed-off-by: Alex Deucher <[email protected]> Note: this is a candidate for the stable branches.
* st/wgl: refactor stw_pixelformat_init()Brian Paul2012-02-101-58/+51
| | | | Replace duplicated code with add_color_format_variants() helper.
* st/wgl: Properly support non-displayble pixel formats, and implement float ↵José Fonseca2012-02-106-16/+109
| | | | | | | | | | | | pixelformats as as one. WGL_ARB_pixel_format establishes the existence of pixel formats which are invisible to GDI. However we still need to pass a valid pixelformat to GDI, so that context creation/binding works. The actual WGL_TYPE_RGBA_FLOAT_ARB implementation is from Brian Paul.
* st/wgl: Invoke SetPixelFormat twice for pbuffers.José Fonseca2012-02-101-1/+2
|
* st/wgl: Just pass pPixelFormat to stw_pixelformat_get_info().José Fonseca2012-02-106-21/+26
| | | | Avoids the likely error of forgetting to subtract one.
* st/wgl: Fix argument of stw_pixelformat_get_info().José Fonseca2012-02-101-1/+1
| | | | | stw_pixelformat_get_info takes zero based index, not a 1 based pixel format number.
* st/vdpau: use matrix filter to blur/sharpen videoChristian König2012-02-103-7/+81
| | | | Signed-off-by: Christian König <[email protected]>
* vl: add a matrix/convolution filterChristian König2012-02-103-0/+379
| | | | | | Can be used for gaussian, mean, laplacian, emboss, sharpness... Signed-off-by: Christian König <[email protected]>
* st/vdpau: use median filter for noise reductionChristian König2012-02-103-60/+248
| | | | | | | And while at it implement the rest of the feature querying also. Signed-off-by: Christian König <[email protected]>
* vl: add a median filter for noise reductionChristian König2012-02-103-0/+469
| | | | | | | | This is a shader based median filter, generally used for noise reduction, it could still need some improvements, but should usually work out of the box. Signed-off-by: Christian König <[email protected]>
* gallium: add PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTIONChristoph Bumiller2012-02-0918-14/+50
| | | | | | | Just let the hardware do it if it can and avoid drivers having to check for the special case on each draw call. v2: update the draw module
* r600g: fix handling of outputs as TEX addr sourcesChristian König2012-02-081-1/+2
| | | | | | | | Outputs should be treated in the same way as inputs and temporaries here. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
* gallium/gbm: r300 and r600 now depend on libdrmTobias Droste2012-02-071-0/+2
| | | | | | fixes undefined references in libradeonwinsys.a when linking Signed-off-by: Tobias Droste <[email protected]>
* r600g: remove unused vars to silence warningsBrian Paul2012-02-071-2/+0
|
* radeon: only init surface manage on r600Dave Airlie2012-02-071-4/+8
| | | | | | r300 fails to init the manager and then fails to init. Signed-off-by: Dave Airlie <[email protected]>
* scons: r300/r600 now depends on libdrm.José Fonseca2012-02-075-38/+44
| | | | As they now indirectly include on libdrm/radeon_surface.h.
* util: fix typo in debug_printf_once commentBrian Paul2012-02-061-1/+1
|
* r600g: add support for common surface allocator for tiling v13Jerome Glisse2012-02-0622-133/+830
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tiled surface have all kind of alignment constraint that needs to be met. Instead of having all this code duplicated btw ddx and mesa use common code in libdrm_radeon this also ensure that both ddx and mesa compute those alignment in the same way. v2 fix evergreen v3 fix compressed texture and workaround cube texture issue by disabling 2D array mode for cubemap (need to check if r7xx and newer are also affected by the issue) v4 fix texture array v5 fix evergreen and newer, split surface values computation from mipmap tree generation so that we can get them directly from the ddx v6 final fix to evergreen tile split value v7 fix mipmap offset to avoid to use random value, use color view depth view to address different layer as hardware is doing some magic rotation depending on the layer v8 fix COLOR_VIEW on r6xx for linear array mode, use COLOR_VIEW on evergreen, align bytes per pixel to a multiple of a dword v9 fix handling of stencil on evergreen, half fix for compressed texture v10 fix evergreen compressed texture proper support for stencil tile split. Fix stencil issue when array mode was clear by the kernel, always program stencil bo. On evergreen depth buffer bo need to be big enough to hold depth buffer + stencil buffer as even with stencil disabled things get written there. v11 rebase on top of mesa, fix pitch issue with 1d surface on evergreen, old ddx overestimate those. Fix linear case when pitch*height < 64. Fix r300g. v12 Fix linear case when pitch*height < 64 for old path, adapt to libdrm API change v13 add libdrm check Signed-off-by: Jerome Glisse <[email protected]>
* st/vdpau: use dst surface size if clip width/height is zeroChristian König2012-02-061-2/+2
| | | | | | Just another fix for gstreamer. Signed-off-by: Christian König <[email protected]>
* st/vdpau: implement vlVdpOutputSurfaceQueryCapabilitiesChristian König2012-02-061-2/+36
| | | | | | | Fixing some problems with gstreamer. Signed-off-by: Christian König <[email protected]> Reviewed-by: Maarten Lankhorst <[email protected]>