summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_state_surface.c
AgeCommit message (Collapse)Author
2009-09-27softpipe: Grab a ref when the fb is set.Younes Manton
Nasty bug when the surface is freed and another is allocated right on top of it. The next time we set the fb state SP thinks it's the same surface and doesn't flush, and when the flush eventually happens the surface belongs to a completely different texture.
2009-07-25softpipe: cleanup framebuffer state routine slightlyKeith Whitwell
2009-07-22softpipe: remove backwards dependency from tilecache to softpipeKeith Whitwell
The tile cache is a utility, it shouldn't know anything about the entity which is making use of it (ie softpipe). Remove softpipe parameter to all the tilecache function calls, and also remove the need to keep a softpipe pointer in the sampler structs.
2009-03-04gallium: Remove some superfluous instances of #include "p_inlines.h".Michel Dänzer
2009-01-27gallium: standardize api on the prefix "nr"Zack Rusin
2008-12-11softpipe: Add missing header include.Michal Krol
2008-12-10gallium: added draw_set_mrd() function to fix polygon offsetBrian Paul
The Minimum Resolvable Depth factor depends on the driver and can't just be computed from the number of Z buffer bits. Glean's polygon offset test now passes with softpipe. Still need to determine the MRD factor for other gallium drivers, if they use the draw module's polygon offset stage...
2008-03-20gallium: use new framebuffer width, height fieldsBrian
2008-03-19gallium: added fb_width/height fields to softpipe contextBrian Paul
These are convenience fields. Otherwise, we have to check cbuf[0] or zsbuf in various places.
2008-02-18Standardize on using the pipe/ include prefix.José Fonseca
2008-02-15Code reorganization: move files into their places.José Fonseca
This is in a separate commit to ensure renames are properly preserved.