summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_state_surface.c
Commit message (Collapse)AuthorAgeFilesLines
* softpipe: Grab a ref when the fb is set.Younes Manton2009-09-271-2/+2
| | | | | | | 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.
* softpipe: cleanup framebuffer state routine slightlyKeith Whitwell2009-07-251-40/+10
|
* softpipe: remove backwards dependency from tilecache to softpipeKeith Whitwell2009-07-221-2/+2
| | | | | | | | 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.
* gallium: Remove some superfluous instances of #include "p_inlines.h".Michel Dänzer2009-03-041-1/+0
|
* gallium: standardize api on the prefix "nr"Zack Rusin2009-01-271-1/+1
|
* softpipe: Add missing header include.Michal Krol2008-12-111-0/+2
|
* gallium: added draw_set_mrd() function to fix polygon offsetBrian Paul2008-12-101-0/+20
| | | | | | | | 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...
* gallium: use new framebuffer width, height fieldsBrian2008-03-201-16/+3
|
* gallium: added fb_width/height fields to softpipe contextBrian Paul2008-03-191-0/+12
| | | | | These are convenience fields. Otherwise, we have to check cbuf[0] or zsbuf in various places.
* Standardize on using the pipe/ include prefix.José Fonseca2008-02-181-1/+1
|
* Code reorganization: move files into their places.José Fonseca2008-02-151-0/+109
This is in a separate commit to ensure renames are properly preserved.