Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | svga: add svga_screen_cache_dump() debug helper | Brian Paul | 2012-10-17 | 1 | -0/+34 |
| | |||||
* | svga: add some comments in svga_screen_cache.c | Brian Paul | 2012-08-02 | 1 | -1/+14 |
| | |||||
* | svga: whitespace, formatting fixes | Brian Paul | 2012-08-02 | 1 | -52/+54 |
| | |||||
* | svga: init pointer to NULL to silence MSVC warning | Brian Paul | 2012-06-22 | 1 | -1/+1 |
| | |||||
* | svga: implement surface cache size limit | Brian Paul | 2012-02-23 | 1 | -1/+131 |
| | | | | | | | | | | | | | 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]> | ||||
* | svga: Always pass SVGA3D_SURFACE_HINT_DYNAMIC. | José Fonseca | 2009-12-11 | 1 | -0/+9 |
| | | | | | | | | | Since we're reusing buffers we're effectively transforming all of them into dynamic buffers. It would be nice to not cache long lived static buffers. But there is no way to detect the long lived from short lived ones yet. A good heuristic would be buffer size. | ||||
* | svga: add DEBUG_CACHE option | Keith Whitwell | 2009-11-27 | 1 | -8/+22 |
| | |||||
* | svga: hash the whole key, not just the first four bytes | Keith Whitwell | 2009-11-26 | 1 | -3/+3 |
| | |||||
* | svga: cache textures as well as buffers | Keith Whitwell | 2009-11-24 | 1 | -38/+55 |
| | |||||
* | svga: Add svga driver | Jakob Bornecrantz | 2009-11-17 | 1 | -0/+307 |