History log of /external/mesa3d/src/gallium/drivers/svga/svga_screen_cache.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
81f2f3f65c5cbff6db476e564da18198336e13d1 02-Aug-2012 Brian Paul <brianp@vmware.com> svga: add some comments in svga_screen_cache.c
/external/mesa3d/src/gallium/drivers/svga/svga_screen_cache.c
4b5a5898b150b980fa1a4b79c9d7b0f303eb9c50 02-Aug-2012 Brian Paul <brianp@vmware.com> svga: whitespace, formatting fixes
/external/mesa3d/src/gallium/drivers/svga/svga_screen_cache.c
fe68af6e0d30a2e1fb50ee7812149e1d17092039 22-Jun-2012 Brian Paul <brianp@vmware.com> svga: init pointer to NULL to silence MSVC warning
/external/mesa3d/src/gallium/drivers/svga/svga_screen_cache.c
500e7c5860b4d6fdd39f70197511a746eb32910a 08-Dec-2011 Brian Paul <brianp@vmware.com> svga: implement surface cache size limit

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 <jfonseca@vmware.com>
/external/mesa3d/src/gallium/drivers/svga/svga_screen_cache.c
8469baf41bd4775eab2403ecf08ed013343943a5 11-Dec-2009 José Fonseca <jfonseca@vmware.com> svga: Always pass SVGA3D_SURFACE_HINT_DYNAMIC.

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.
/external/mesa3d/src/gallium/drivers/svga/svga_screen_cache.c
b911688b87a011eacf2034bd61562e633952a66b 27-Nov-2009 Keith Whitwell <keithw@vmware.com> svga: add DEBUG_CACHE option
/external/mesa3d/src/gallium/drivers/svga/svga_screen_cache.c
b96218c65622a7814ff8154a91874a5e5a9dc773 26-Nov-2009 Keith Whitwell <keithw@vmware.com> svga: hash the whole key, not just the first four bytes
/external/mesa3d/src/gallium/drivers/svga/svga_screen_cache.c
f1ce37f74aff4854071fe5740b055718b2c0c789 24-Nov-2009 Keith Whitwell <keithw@vmware.com> svga: cache textures as well as buffers
/external/mesa3d/src/gallium/drivers/svga/svga_screen_cache.c
3192633d4abe262d413e41feb871fe8deed409d8 16-Nov-2009 Jakob Bornecrantz <jakob@vmware.com> svga: Add svga driver
/external/mesa3d/src/gallium/drivers/svga/svga_screen_cache.c