summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'origin/master' into pipe-videoChristian König2011-01-121-0/+51
|\ | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_shader.c
| * noop: make noop useable like trace or rbugJerome Glisse2011-01-091-0/+51
| | | | | | | | | | | | | | | | If you want to enable noop set GALLIUM_NOOP=1 as an env variable. You need first to enable noop wrapping for your driver see change to src/gallium/targets/dri-r600/ in this commit as an example. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
* | Merge remote branch 'vdpau/pipe-video' into pipe-videoChristian König2011-01-104-6/+53
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/drivers/softpipe/sp_video_context.c src/gallium/include/pipe/p_format.h src/gallium/state_trackers/xorg/xvmc/context.c src/gallium/tests/unit/SConscript
| * \ Merge branch 'pipe-video' of ↵Thomas Balling Sørensen2010-10-262-6/+15
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://anongit.freedesktop.org/~deathsimple/xvmc-r600 into pipe-video Conflicts: configure.ac src/gallium/auxiliary/vl/vl_compositor.c src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/drivers/softpipe/sp_video_context.c src/gallium/include/pipe/p_defines.h src/gallium/include/pipe/p_screen.h
| * \ \ Merge branch 'master' into pipe-videoThomas Balling Sørensen2010-10-2651-1593/+3537
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/include/pipe/p_format.h
| * | | | vl: implemented a few functions and made stubs to get mplayer runningThomas Balling Sørensen2010-10-062-0/+2
| | | | |
| * | | | vl: changed video pipe to use the new gallium API within masterThomas Balling Sørensen2010-10-053-15/+23
| | | | |
| * | | | Merge branch 'master' into pipe-videoThomas Balling Sørensen2010-10-05244-8881/+20799
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | Fixed an endianproblemThomas Balling Sørensen2010-08-041-3/+44
| | | | | |
| * | | | | Made some decoding function for mpeg2-decodingThomas Balling Sørensen2010-07-201-2/+2
| | | | | |
* | | | | | [g3dvl] static usage for intermediate bufferChristian König2011-01-101-1/+1
| | | | | |
* | | | | | [g3dvl] move to integer verticiesChristian König2011-01-105-84/+66
| | | | | |
* | | | | | [g3dvl] use a table of empty block mask instead of calculating itChristian König2011-01-092-25/+22
| | | | | |
* | | | | | Merge remote branch 'origin/master' into pipe-videoChristian König2011-01-0817-196/+341
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac src/gallium/drivers/r600/eg_asm.c src/gallium/drivers/r600/r600_asm.c src/gallium/drivers/r600/r600_asm.h src/gallium/include/pipe/p_format.h src/gallium/targets/dri-nouveau/Makefile
| * | | | | util: add comments to u_upload_mgr and u_inlinesMarek Olšák2011-01-063-15/+38
| | | | | |
| * | | | | tgsi: remove redundant name tables from tgsi_text, use those from tgsi_dumpMarek Olšák2011-01-063-56/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I also specified the array sizes in the header so that one can use the Elements macro on it.
| * | | | | gallium: drivers should reference vertex buffersMarek Olšák2011-01-063-15/+31
| | | | | | | | | | | | | | | | | | | | | | | | So that a state tracker can unreference them after set_vertex_buffers.
| * | | | | u_upload_mgr: new featuresMarek Olšák2011-01-062-26/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added a parameter to specify a minimum offset that should be returned. r300g needs this to better implement user buffer uploads. This weird requirement comes from the fact that the Radeon DRM doesn't support negative offsets. - Added a parameter to notify a driver that the upload flush occured. A driver may skip buffer validation if there was no flush, resulting in a better performance. - Added a new upload function that returns a pointer to the upload buffer directly, so that the buffer can be filled e.g. by the translate module.
| * | | | | u_upload_mgr: keep the upload buffer mapped until it is flushedMarek Olšák2011-01-061-52/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The map/unmap overhead can be significant even though there is no waiting on busy buffers. There is simply a huge number of uploads. This is a performance optimization for Torcs, a car racing game.
| * | | | | util: Add forward declarations in u_index_modify.h.Vinson Lee2010-12-301-0/+3
| | | | | |
| * | | | | tgsi: Clean up header file inclusion in tgsi_text.h.Vinson Lee2010-12-301-2/+4
| | | | | |
| * | | | | tgsi: Clean up header file inclusion in tgsi_sanity.h.Vinson Lee2010-12-301-2/+4
| | | | | |
| * | | | | util: add a way to store translated indices to a user memory in u_index_modifyMarek Olšák2010-12-292-34/+101
| | | | | | | | | | | | | | | | | | | | | | | | I am about to use the upload buffer in r300g instead.
| * | | | | tgsi_dump: fix assert due to missing property name.Dave Airlie2010-12-281-1/+2
| | | | | |
| * | | | | tgsi_text: just parse as an integer (value is a boolean).Dave Airlie2010-12-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes warning reported by vlee on irc. Signed-off-by: Dave Airlie <airlied@redhat.com>
| * | | | | gallium: add fragment shader property for color writes to all buffers. (v2)Dave Airlie2010-12-243-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For GL fragColor semantics we need to tell the pipe drivers that the fragment shader color result is to be replicated to all bound color buffers, this adds the basic TGSI + documentation. v2: fix missing comma pointed out by Tilman on mesa-dev. Signed-off-by: Dave Airlie <airlied@redhat.com>
| * | | | | gallium: add new formats L16A16_UNORM, A16_UNORM, I16_UNORM, B2G3R3_UNORMMarek Olšák2010-12-231-0/+4
| | | | | |
| * | | | | gallivm: Disable MMX-disabling code on llvm-2.9.Vinson Lee2010-12-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The disable-mmx option was removed in llvm-2.9svn by revisions 122188 and 122189. Fixes FDO bug 32564.
| * | | | | gallivm: Fix 'cast from pointer to integer of different size' warning.Vinson Lee2010-12-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes this GCC warning. lp_bld_const.h: In function 'lp_build_const_int_pointer': lp_bld_const.h:137: warning: cast from pointer to integer of different size
* | | | | | [g3dvl] fix merge conflictsChristian König2010-12-222-5/+4
| | | | | |
* | | | | | Merge remote branch 'origin/master' into pipe-videoChristian König2010-12-2220-189/+216
|\| | | | |
| * | | | | gallium: remove unused 'buf' parameter in pipe_buffer_unmapMarek Olšák2010-12-203-10/+9
| | | | | |
| * | | | | gallivm: Cleanup util_format_xxx_fetch_xxx call generation.José Fonseca2010-12-171-47/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No need to register function prototypes in the module now that we call the C function pointer directly -- less LLVM objects lying around. Limited testing with lp_test_format.
| * | | | | gallivm: fix copy&paste error from previous commitBrian Paul2010-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes piglit regression, http://bugs.freedesktop.org/show_bug.cgi?id=32452 NOTE: This is a candidate for the 7.10 branch
| * | | | | gallivm: work around LLVM 2.6 bug when calling C functionsBrian Paul2010-12-162-11/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a constant int pointer to the C function, then cast it to the function's type. This avoids using trampoline code which seem to be inadvertantly freed by LLVM in some situations (which leads to segfaults). The root issue and work-around were found by José. NOTE: This is a candidate for the 7.10 branch
| * | | | | draw: s/varient/variant/Brian Paul2010-12-1610-110/+110
| | | | | |
| * | | | | gallium: properly check for src->dst blit compatibilitiesJerome Glisse2010-12-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Spotted by Christoph Bumiller & Jose Fonseca Signed-off-by: Jerome Glisse <jglisse@redhat.com>
| * | | | | gallivm: do texture swizzle after shadow compareBrian Paul2010-12-142-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to swizzle after the shadow comparison so that the GL_DEPTH_MODE functionality is handled properly. This fixes all the piglit glsl-fs-shadow2d*.shader_test cases, except for glsl-fs-shadow2dproj-bias.shader_test which fails because of a bug in the GLSL compiler (fd.o 32395).
| * | | | | gallivm: store callbacks in a linked list rather than fixed size arrayBrian Paul2010-12-131-26/+28
| | | | | | | | | | | | | | | | | | | | | | | | Should fix http://bugs.freedesktop.org/show_bug.cgi?id=32308
| * | | | | tgsi: fix rbug compile errorMarek Olšák2010-12-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ../mesa/src/gallium/auxiliary/tgsi/tgsi_parse.h:139: error: dereferencing pointer ‘tokens.25’ does break strict-aliasing rules Signed-off-by: Marek Olšák <maraeo@gmail.com>
* | | | | | [g3dvl] move code around for more optimal shader generationChristian König2010-12-222-63/+61
| | | | | |
* | | | | | [g3dvl] add some missing writemasksChristian König2010-12-181-2/+2
| | | | | |
* | | | | | [g3dvl] move scaling completely into matrix and use less temp registersChristian König2010-12-162-58/+56
| | | | | |
* | | | | | [g3dvl] no need to swizzle a scalarChristian König2010-12-141-1/+1
| | | | | |
* | | | | | [g3dvl] add reg_fixup_label to IF ELSE ENDIFChristian König2010-12-131-0/+7
| | | | | |
* | | | | | [g3dvl] move idct texture addr generation into vertex shaderChristian König2010-12-122-131/+143
| | | | | |
* | | | | | [g3dvl] seperate texture addr generation from fetchingChristian König2010-12-121-69/+68
| | | | | |
* | | | | | [g3dvl] remove "Nouveau can't writemask tex dst regs" workaroundChristian König2010-12-111-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This now works with r600g, but will probably break Nouveau. It's just way faster on r600 hardware, so let's fix Nouveau.
* | | | | | [g3dvl] move mv into vertex streamChristian König2010-12-112-60/+32
| | | | | |
* | | | | | Merge remote branch 'origin/master' into pipe-videoChristian König2010-12-1187-2550/+3347
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_pipe.c src/gallium/drivers/r600/r600_texture.c