summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/svga/svga_context.h
AgeCommit message (Collapse)Author
2010-01-05svga: Rebind shaders when tokens change.José Fonseca
Even shader ID doesn't change. Otherwise the token change is not effective. This reverts regression from commit cdb445f3a9285e2d8f042a07021ade78b94e0156. Regression could be seen in Quake3's loading screen -- the upper right corner of the screen would be black.
2010-01-03svga: Use a shader id as low as possible.José Fonseca
2009-11-27svga: flush our command buffer after the 8th distinct render targetKeith Whitwell
This helps improve the surface cache behaviour in the face of the large number of single-use render targets generated by EXA and the xorg state tracker. Without this we can reference hundreds of individual render targets from a command buffer, which leaves little scope for sharing or reuse of those targets. Flushing early means we can start reusing textures much sooner. This shouldn't have much effect on normal 3d rendering as it's pretty rare to have a command buffer with >8 different render targets in that world.
2009-11-17svga: Add svga driverJakob Bornecrantz