aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_screen_cache.h
Commit message (Collapse)AuthorAgeFilesLines
* util: Move gallium's linked list to utilJason Ekstrand2015-05-081-1/+1
| | | | | | | | | The linked list in gallium is pretty much the kernel list and we would like to have a C-based linked list for all of mesa. Let's not duplicate and just steal the gallium one. Acked-by: Connor Abbott <[email protected]> Reviewed-by: Rob Clark <[email protected]>
* svga: fix comment typosBrian Paul2013-02-261-1/+1
|
* svga: add svga_screen_cache_dump() debug helperBrian Paul2012-10-171-0/+3
|
* svga: implement surface cache size limitBrian Paul2012-02-231-2/+6
| | | | | | | | | | | | | There was a SVGA_HOST_SURFACE_CACHE_BYTES symbol, but it was never used. Now when we go to add a newly deleted surface to the cache we check if the cache size would be exceeded. If so, try to free the least recently "unused" surfaces until the cache is smaller. If we can't do that, simply don't cache the newly deleted surface. The alternative involves flushing and waiting and we don't want to do that. Reviewed-by: José Fonseca <[email protected]>
* gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.José Fonseca2010-02-021-1/+1
| | | | Into os/os_thread.h and util/u_atomic.h respectively.
* svga: revert packing of surface keyKeith Whitwell2009-11-251-3/+3
| | | | Over-ambitious packing of values broke my cursor.
* svga: cache textures as well as buffersKeith Whitwell2009-11-241-6/+15
|
* svga: Add svga driverJakob Bornecrantz2009-11-171-0/+135