summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_clear.c
AgeCommit message (Collapse)Author
2010-04-25softpipe: Hardcode TILE_CLEAR_OPTIMIZATION to 1.José Fonseca
The un-optimized path relies on surface_fill which can only handle formats with depth <= 32, so it is pointless to keep it around.
2009-12-31softpipe: implement conditional renderingBrian Paul
2009-12-07gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safeRoland Scheidegger
use pointer to union instead of void pointer. gcc complained a lot, depending what the pointer originally actually was. Looks like it's in fact maybe legal to cast for instance uint pointers to union pointers as long as union contains a uint type, hence use this with some callers, other just use union util_color in the first place.
2009-09-10softpipe: remove unneeded #includesBrian Paul
2009-09-10softpipe: minor indentation fixBrian Paul
2009-09-10softpipe: set dirty_render_cache in softpipe_clear()Brian Paul
This fixes a bug seen when doing a glDrawPixels(GL_STENCIL_INDEX) right after a glClear(). The check-for-flush test was failing because we didn't set the dirty_render_cache flag in softpipe_clear(). So we saw stale data when we mapped the stencil buffer.
2009-04-06softpipe: clean up the buffer clear and tile cache code a littleBrian Paul
2009-04-04gallium: Clean up driver clear() interface.Michel Dänzer
Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
2009-03-26gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer
2009-01-27gallium: standardize api on the prefix "nr"Zack Rusin
2008-09-05softpipe: convert clear color to surface format if neededBrian Paul
2008-04-22softpipe: implement SP_NO_RAST env varKeith Whitwell
2008-03-13gallium: set surface status to CLEAR or DEFINED in clearing/drawing code.Brian
Otherwise, we were never setting these flags. This confused the state tracker. Fixes progs/demos/texenv.c, probably others.
2008-02-15Code reorganization: move files into their places.José Fonseca
This is in a separate commit to ensure renames are properly preserved.