summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-06-05llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE queryRoland Scheidegger
asserts on unknown caps
2010-06-05llvmpipe: Expose PIPE_CAP_TEXTURE_SWIZZLE.José Fonseca
2010-06-05mesa/st: add support for EXT_texture_swizzle.Dave Airlie
This passes on r300g, the only bit I'm not really sure about is the handling of the sampler_view in st_atom_texture.c, I unreference it there if the swizzle value changes and I also have to create a new set of functions to create a new one since the u_sampler.c ones don't handle swizzle so much. adds r300g + softpipe enables, I think other drivers could pass easily enough. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-06-04llvmpipe: new -s option to run single testBrian Paul
Put specific test code in the test_single() function and pass -s to execute that code.
2010-06-04llvmpipe: Do unswizzling in parallel when flushing for transfers.José Fonseca
2010-06-04r600g: implement clear_{render_target, depth_stencil}, resource_copy_regionMarek Olšák
resource_copy_region uses a software fallback because it relies on texture samplers which haven't been implemented yet.
2010-06-04r600g: make blit functions static (private)Marek Olšák
2010-06-04r600g: use cast wrappersMarek Olšák
2010-06-03r600g: Move declaration before code.Vinson Lee
Fixes SCons build.
2010-06-03nv50: Remove unnecessary header.Vinson Lee
2010-06-03svga: Remove unnecessary header.Vinson Lee
2010-06-03llvmpipe: Fix uninitialized variable on non-debug builds.Vinson Lee
2010-06-03r600g: added code for depthtestingBas Nieuwenhuizen
- added code to configure the depth buffer and to set up depth testing.
2010-06-03r600g: adapt to interface changesRoland Scheidegger
r600g should be able to handle separate depth stencil clears as well. Also adapt surface_fill/copy stubs to new interface (not that it matters).
2010-06-03Merge branch 'gallium-newclear'Roland Scheidegger
Conflicts: src/gallium/state_trackers/python/p_context.i
2010-06-03gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencilRoland Scheidegger
more consistent with rest of gallium naming conventions. Also rename driver-internal names for these the same.
2010-06-03llvmpipe: Number shaders/variants for more reproducible function names in ↵José Fonseca
the IR.
2010-06-03r300g: use util/u_debugJoakim Sindholt
2010-06-03gallium: silence all debug_named_value related warningsJoakim Sindholt
2010-06-03scons: Handle Python OSError exception when missing libdrm_radeon.Vinson Lee
Instead of crashing when libdrm_radeon is unavailable, the SCons build just does not build r600g.
2010-06-03r300g: set the minimum texture stride to 64 bytes on RS600, RS690, and RS740Marek Olšák
I hope I've done it right. No way to test it here...
2010-06-02llvmpipe: Fix bad logic.José Fonseca
Courtesy of Vinson and coverity.
2010-06-02llvmpipe: Remove unnecessary header.Vinson Lee
2010-06-02llvmpipe: Fix typo in assert.José Fonseca
2010-06-02llvmpipe: Per quad interpolation.José Fonseca
First interpolate the 4 quads upper left corners, then sub-interpolate each quad pixel. Do the perspective divide once per quad. Saves some muls and reciprocates. But doesn't seem to make a noticeable improvement. It make the code simpler and more compact, so commiting anyway.
2010-06-02llvmpipe: Minor cleanup to the interpolator.José Fonseca
2010-06-02llvmpipe: Centralize all position interpolation in lp_bld_interp.c.José Fonseca
2010-06-02r300g: use the stored GEM domain in add_buffer/write_relocMarek Olšák
I admit blitting to/from GTT is actually enforced in this commit, texture transfers are now damned fast!
2010-06-02r300g: store the GEM domain in buffer and texture structsMarek Olšák
2010-06-02r300g: use r300_buffer_domain everywhereMarek Olšák
2010-06-02r300g: blit directly to/from GTT when transfering texturesMarek Olšák
2010-06-02r300g: let the driver determine the GEM domain for buffer_createMarek Olšák
2010-06-02r300g: make texture transfers more pipelinedMarek Olšák
Mostly based on Michel Dänzer's patch.
2010-06-02r300g: better describe another flush and move it closer to the real problemMarek Olšák
I haven't been able to get rid of this one, see the comments in the code.
2010-06-02r300g: remove one flushMarek Olšák
Looks like it's not needed now.
2010-06-01llvmpipe: Obey color interpolation.José Fonseca
Don't force color to be linearly interpolated when that's not being requested.
2010-06-01llvmpipe: Use struct lp_shader_input in the interpolator.José Fonseca
Eliminates all this identical yet slightly different code to decide how shader inputs should be interpolated. As bonus, don't interpolate the position twice when it is listed in the TGSI shader inputs.
2010-05-31svga: Add a winsys callback to get the svga_winsys_contextThomas Hellstrom
The winsys may need to extract the svga_winsys_context from a pipe_context. Add a function to enable that functionality. Cherry-picked from commit e8a8c5e339dfd7a36bb6435fd34175482b9187b8 Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2010-06-01llvmpipe: Don't waste time interpolating unused input channels.José Fonseca
2010-05-31llvmpipe: Show fs's TGSI when LP_DEBUG=tgsi is set.José Fonseca
2010-05-31r300g: set correct pitch in libdrmMarek Olšák
to match what DDX sets. This prevents some flushes from occuring.
2010-05-31r300g: remove texture usage transfer flagMarek Olšák
2010-05-31r600g: remove unused struct r600_stateMarek Olšák
What was the purpose of it?
2010-05-30r600g: Remove unnecessary headers.Vinson Lee
2010-05-30llvmpipe: Remove unused framebuffer stuff from the rasterizer.José Fonseca
2010-05-30llvmpipe: Don't force a linear to tiled conversion after rasterization on ↵José Fonseca
debug builds. Only do this if runtime debugging flags to show subtiles/tiles are set.
2010-05-30llvmpipe: Call llvmpipe_set_texture_tile_layout only when necessary.José Fonseca
Like the other places.
2010-05-30llvmpipe: Use pointer_to_func() instead of custom wrappers.José Fonseca
2010-05-30llvmpipe: Pass the fs variant to the rasterizer.José Fonseca
2010-05-29r600g: fix gallium function parametersMarek Olšák