summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* vl: bitstream decoder finds startcodesThomas Balling Sørensen2010-10-081-0/+1
|
* Merge branch 'master' of ↵Thomas Balling Sørensen2010-10-052-4/+8
|\ | | | | | | ssh://cgit.freedesktop.org/~tball/mesa-gallium-vdpau into pipe-video
| * r600g: simplify block relocationJerome Glisse2010-10-051-3/+2
| | | | | | | | | | | | | | Since flush rework there could be only one relocation per register in a block. Signed-off-by: Jerome Glisse <[email protected]>
| * r600g: use dirty list to track dirty blocksBas Nieuwenhuizen2010-10-051-0/+2
| | | | | | | | Got a speed up by tracking the dirty blocks in a seperate list instead of looping through all blocks. This version should work with block that get their dirty state disabled again and I added a dirty check during the flush as some blocks were already dirty.
| * nv50: fix always true conditional in shader optimizationNicolas Kaiser2010-10-051-1/+1
| |
| * r600g: improve bo flushingJerome Glisse2010-10-051-0/+3
| | | | | | | | | | | | | | | | | | Flush read cache before writting register. Track flushing inside of a same cs and avoid reflushing same bo if not necessary. Allmost properly force flush if bo rendered too and then use as a texture in same cs (missing pipeline flush dunno if it's needed or not). Signed-off-by: Jerome Glisse <[email protected]>
* | vl: changed video pipe to use the new gallium API within masterThomas Balling Sørensen2010-10-051-25/+27
| |
* | Merge branch 'master' into pipe-videoThomas Balling Sørensen2010-10-05422-28551/+66825
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configs/linux-dri configure.ac src/gallium/drivers/nvfx/Makefile src/gallium/include/pipe/p_defines.h src/gallium/include/pipe/p_screen.h src/gallium/include/state_tracker/dri1_api.h src/gallium/include/state_tracker/drm_api.h src/gallium/tests/python/samples/tri.py src/gallium/tests/trivial/Makefile src/gallium/tests/unit/Makefile src/gallium/tests/unit/SConscript src/gallium/tests/unit/u_format_test.c src/gallium/winsys/nouveau/drm/nouveau_drm_api.c
| * r600g: drop use_mem_constant.Dave Airlie2010-10-056-11/+3
| | | | | | | | since we plan on using dx10 constant buffers everywhere.
| * r300g: fix microtiling for 16-bits-per-channel formatsMarek Olšák2010-10-051-3/+3
| | | | | | | | | | | | These texture formats (like R16G16B16A16_UNORM) were untested until now because st/mesa doesn't use them. I am testing this with a hacked st/mesa here.
| * r600g: allow r600_bo to be a sub allocation of a big boJerome Glisse2010-10-044-24/+33
| | | | | | | | | | | | | | Add bo offset everywhere needed if r600_bo is ever a sub bo of a bigger bo. Signed-off-by: Jerome Glisse <[email protected]>
| * r600g: rename radeon_ws_bo to r600_boJerome Glisse2010-10-048-42/+42
| | | | | | | | Signed-off-by: Jerome Glisse <[email protected]>
| * nvfx: Pair os_malloc_aligned() with os_free_aligned().Krzysztof Smiechowicz2010-10-041-1/+1
| | | | | | | | From AROS.
| * r600g: the code to check whether a new vertex shader is needed was wrongDave Airlie2010-10-041-1/+3
| | | | | | | | | | | | | | this code was memcmp'ing two structs, but refcounting one of them afterwards, so any subsequent memcmp was never going to work. again this stops unnecessary uploads of vertex program,
| * r300g: add support for L8A8 colorbuffersMarek Olšák2010-10-021-0/+3
| | | | | | | | | | Blending with DST_ALPHA is undefined. SRC_ALPHA works, though. I bet some other formats have similar limitations too.
| * r300g: add support for R8G8 colorbuffersMarek Olšák2010-10-021-1/+11
| | | | | | | | | | | | | | | | The hw swizzles have been obtained by a brute force approach, and only C0 and C2 are stored in UV88, the other channels are ignored. R16G16 is going to be a lot trickier.
| * r600g: Remove unnecessary headers.Vinson Lee2010-10-012-3/+0
| |
| * r600g: Remove unused variable.Vinson Lee2010-10-011-1/+1
| | | | | | | | | | | | Fixes this GCC warning. r600_shader.c: In function 'tgsi_split_literal_constant': r600_shader.c:818: warning: unused variable 'index'
| * i965g: use Elements macro instead of manual sizeofsNicolas Kaiser2010-10-011-13/+7
| | | | | | | | | | Signed-off-by: Nicolas Kaiser <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * r600g: indentation fixesJerome Glisse2010-10-015-58/+57
| | | | | | | | Signed-off-by: Jerome Glisse <[email protected]>
| * r600g: setup basic loop consts on r600 + evergreen.Dave Airlie2010-10-014-0/+19
| | | | | | | | this sets up a single loop constant like r600c does.
| * r600g: only set the Z export if shader exports it.Dave Airlie2010-10-012-8/+10
| |
| * r600g: fix evergreen draw-buffersDave Airlie2010-10-011-1/+1
| | | | | | | | just a typo in the register headers.
| * r600g: add cb flushing for extra buffers + depth buffer on r600/evergreenDave Airlie2010-10-011-3/+12
| |
| * r600g: fixup vertex format picking.Dave Airlie2010-10-016-144/+407
| | | | | | | | there are some vertex formats defined in r600c not in the docs.
| * r600g: add assembler support for other vtx fetch fields.Dave Airlie2010-10-013-1/+11
| | | | | | | | | | this shouldn't change behaviour, just push the choice of what to do out to the shader.
| * r600g: realign evergreen code with r600 code.Dave Airlie2010-10-011-3/+4
| | | | | | | | fixes segfault in depth-tex-modes-glsl and OA startup.
| * r600g: add reloc for evergreen color attribDave Airlie2010-10-011-1/+1
| | | | | | | | we'll need this for color tiling on evergreen.
| * r600g: drop depth quirk on evergreenDave Airlie2010-10-011-15/+0
| | | | | | | | none of the EG cards need the quirk.
| * r600g: add winsys support for CTL constants.Dave Airlie2010-10-014-0/+13
| | | | | | | | | | These need to be emitted, we also need them to do proper vtx start, instead of abusing index offset.
| * r600g: fix evergreen depth flushing.Dave Airlie2010-10-015-48/+98
| | | | | | | | | | although evergreen can apparantly sample direct from 24-bit, just make it work with the current method for now.
| * r600g: fix constant & literal src splitting, also fix mplayer gl2 shaderJerome Glisse2010-09-301-16/+40
| | | | | | | | Signed-off-by: Jerome Glisse <[email protected]>
| * r600g: use constant buffer instead of register for constantJerome Glisse2010-09-302-26/+26
| | | | | | | | Signed-off-by: Jerome Glisse <[email protected]>
| * gallium/softpipe: remove duplicated includeNicolas Kaiser2010-09-301-1/+0
| | | | | | | | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
| * gallium/llvmpipe: remove duplicated includeNicolas Kaiser2010-09-301-1/+0
| | | | | | | | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
| * gallium/i915: remove duplicated includeNicolas Kaiser2010-09-301-1/+0
| | | | | | | | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
| * r300g: fix conditional rendering in non-wait pathMarek Olšák2010-09-301-3/+3
| | | | | | | | NOTE: This is a candidate for the 7.9 branch.
| * r600g: return string for chip familyDave Airlie2010-09-301-6/+25
| | | | | | | | use same strings as r600c.
| * r600g: clean up some code from move to new paths.Dave Airlie2010-09-307-42/+42
| | | | | | | | mainly remove 2 suffix from function names
| * r600g: add L8A8 unorm.Dave Airlie2010-09-301-0/+6
| | | | | | | | fixes texEnv warnings.
| * r600g: port r300g fix for X* formats in texformat codeDave Airlie2010-09-301-4/+14
| |
| * trace: Fix set_index_buffer and draw_vbo tracing.José Fonseca2010-09-293-19/+42
| |
| * r600g: more cleanupJerome Glisse2010-09-2910-208/+225
| | | | | | | | Signed-off-by: Jerome Glisse <[email protected]>
| * r600g: Update SConscript.Vinson Lee2010-09-291-4/+6
| | | | | | | | Fixes SCons build.
| * r600g: cleanupJerome Glisse2010-09-2910-1075/+914
| | | | | | | | Signed-off-by: Jerome Glisse <[email protected]>
| * r600g: Update SConscript.Vinson Lee2010-09-291-7/+4
| | | | | | | | | | | | This is a follow-up to commit 9c284b5cae916a083d17d1039d2f2da128b47882. Fixes SCons build.
| * r300g: add support for formats beginning with X, like X8R8G8B8Marek Olšák2010-09-292-12/+40
| | | | | | | | This is actually a format translator fix.
| * r600g: delete old pathJerome Glisse2010-09-2922-4795/+70
| | | | | | | | | | | | Lot of clean can now happen. Signed-off-by: Jerome Glisse <[email protected]>
| * r600g: use a hash table instead of groupJerome Glisse2010-09-293-467/+441
| | | | | | | | | | | | | | | | Instead of creating group of register use a hash table to lookup into which block each register belongs. This simplify code a bit. Signed-off-by: Jerome Glisse <[email protected]
| * llvmpipe: Decouple sampler view and sampler state updates.José Fonseca2010-09-293-13/+45
| | | | | | | | | | | | | | | | Fixes glean pbo crash. It would be possible to avoid crashing without decoupling, but given that state trackers give no guarantee that number of views is consistent, that would likely cause too many state updates (or miss some).