summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2009-10-07i915g: Fix MSVC build.Vinson Lee
2009-10-07softpipe: new commentsBrian Paul
2009-10-07softpipe: whitespace and comment fixesBrian Paul
2009-10-07softpipe: prefix non-static functions with sp_Brian Paul
2009-10-07Merge branch 'master' into r300g-glslNicolai Hähnle
Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-07Merge branch 'mesa_7_6_branch'Nicolai Hähnle
2009-10-07util: do some more util_blit_pixels cases without temporariesKeith Whitwell
When the source surface is pointing at a 2d texture with only one mipmap level, use that directly rather than creating a temporary. Probably want to cover more cases, but this is a start.
2009-10-07gallium/xlib: fix glXQueryDrawable() bugs, see bug 24320Brian Paul
2009-10-07st/dri: Add missing front buffer case in dri_get_buffers().Michel Dänzer
This seems to help for compiz at least with some drivers. Also add an assert(0) to catch unhandled cases in the future.
2009-10-07gallium/xlib: return 0 for errorBase, eventBase in glXQueryExtension()Brian Paul
A little better than leaving the values undefined, I think. See bug 24321.
2009-10-07i915g: Use buffer write instead of map for lit verticesJakob Bornecrantz
2009-10-07i915g: Change order of buffer_write argumentsJakob Bornecrantz
They now follow the pipe_buffer_write style, its the gallium driver that sets the interface not the winsys.
2009-10-07i915g: Disable vbuf fifo and minor commenting of vbuf codeJakob Bornecrantz
The vbuf fifo doesn't appear to help once the libdrm reuse flag has been set.
2009-10-06nv04-nv40: Fix swizzle transfers for NPOT sizes.Younes Manton
Workarounds not necessary, SIFM can handle NPOT, we just weren't setting dst dimensions properly. SIFM can't handle odd w,h though, that still needs fixing.
2009-10-06nv50: fix segfault when there's gaps in enabled texture unitsBen Skeggs
Tested with progs/demos/multiarb.
2009-10-06nouveau: fix buffer object leakBen Skeggs
Very apparent with resizing windows on DRI2.
2009-10-06i915g: Add more defines to tweek batchbufferJakob Bornecrantz
2009-10-06i915g: Tweek vertexbuffer sizeJakob Bornecrantz
2009-10-05i965g: remove 965/brw files from XLIB_WINSYS_SOURCESBrian Paul
2009-10-05Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
2009-10-05i915g: Drop the simple sufixJakob Bornecrantz
None of the other driver have a silly sufix, so just drop it. Nothing new added in this commit or any other commit but this is better marketing.
2009-10-05i965g: Drop i965simpleJakob Bornecrantz
The driver never work with real hardware and has bitrotted for quite some time now, might as well drop it. If somebody wants to look at it just use git.
2009-10-05r300g: fix scons buildJoakim Sindholt
So I didn't touch r300compiler, but r300g now compiles after having declarations and code untangled. As nha so gently points out, we shouldn't have to do this just to comply with MSVC compilers.
2009-10-05util: Improve the cpuid assembly.José Fonseca
No need to save ebx on 64bit. Use just xchgl. Refer to gcc's cpuid.h header. Thanks to Uros Bizjak for pointing this out.
2009-10-05util: add lost code to util_make_fragment_tex_shader_writemask()Keith Whitwell
This got ported to ureg at some point, but lost the code that distinguishes it from regular util_make_fragment_tex_shader().
2009-10-05st/dri: avoid segfault if we can't get a pixmap's buffersBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2009-10-05nv50: support PIPE_FORMAT_X8R8G8B8_UNORMBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2009-10-05nouveau: return pitch value from local_handle_from_texture()Ben Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2009-10-05st/dri: no need to request fake front buffer, only handle it being returnedBen Skeggs
The previous behaviour was incorrect, and resulted in EXT_tfp being broken for DDX drivers that implement the correct behaviour (intel/radeon/nouveau). In the cases where a fake front buffer is required, the X server will return one when requesting __DRI_BUFFER_FRONT_LEFT. The Xorg state tracker (aka modesetting_drv) is likely broken now until it's modified to match the other drivers. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2009-10-04util: Make assert a no-op on non-debug builds.José Fonseca
This ensures that an assertion like assert(expensive_test()); won't have any penalty on release builds. It also implies that no vital code should be in assert expressions.
2009-10-04llvmpipe: Ensure tile cache transfers are mapped before flushing it.José Fonseca
2009-10-04llvmpipe: Autogenerate lp_tile_soa.c from u_format.csv.José Fonseca
This is just a temporary change until we code generate the tile read/write functions in runtime. The new code avoids an extra memcpy that exists in u_tile.c functions, from which lp_tile_soa.c was originally based. This achieves up to 5% improvement, particularly in frames with little geometry overlap.
2009-10-04util: Fix cpuid invocation for x86_64.José Fonseca
2009-10-04llvmpipe: Remove loop testing from format testing.José Fonseca
Loop building will be rewritten.
2009-10-04llvmpipe: Match header's protection macro with filename.José Fonseca
2009-10-04llvmpipe: Adjust format assertion.José Fonseca
We support array layout too -- if it has a single channel.
2009-10-04r300g: xRGB and RGBx formats.Corbin Simpson
We now have 48 GLX visuals. Pretty soon, we'll have 90+ visuals, only five of which ever get tested. :3
2009-10-04r300/compiler: Refactor to allow different instruction typesNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03r300/compiler: Introduce control flow instructions and refactor dataflowNicolai Hähnle
Note that control flow instruction support isn't actually fully functional yet. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03llvmpipe: Fetch tile only if a color buffer is bound.José Fonseca
2009-10-03Merge branch 'master' into r300-compilerNicolai Hähnle
2009-10-03r300g: Do not abort on fragment program compiler errorNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03r300g: Fix memory leak in radeon_texture_from_shared_handleNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03r300g: Build in the trace and softpipe driver for xorg state trackerSedat Dilek
Same as in src/gallium/winsys/drm/intel/xorg/Makefile Thanks MrCooper for explanations on IRC [ Summary amended by Michel Dänzer to clarify that this is related to the xorg state tracker ]
2009-10-03r300g: Remove an unnecessarily created pipe buffer (and thus fix a leak)Nicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03st/dri: Install APPLE_vertex_array_object functionsNicolai Hähnle
Besides from being necessary to use that extension, it also fixes a crash when deleting the currently bound vertex array object. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03r300g: Reset vbo_offset after allocation of a new bufferNicolai Hähnle
This fixes the glxgears bug, among other things. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03st/dri: Install ARB_vertex_array_object functionsNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-02st/xorg: Use PIPE_TRANSFER_MAP_DIRECTLY flag in EXA PrepareAccess hook.Michel Dänzer
Propagate NULL return value. This also allows removing the DRM_MODE_FEATURE_DIRTYFB specific pixmap management hacks.
2009-10-02gallium: Add PIPE_TRANSFER_MAP_DIRECTLY usage flag.Michel Dänzer
Asks the driver to map the texture storage directly or return NULL if that's not possible.