gallium/pb_bufmgr_cache: limit the size of cache
authorMarek Olšák <marek.olsak@amd.com>
Wed, 20 Aug 2014 21:53:40 +0000 (23:53 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 1 Sep 2014 18:17:48 +0000 (20:17 +0200)
commitb419c651fbbf3660d7b53623dfa2e5a4c9bd3b98
treec20732bea135011f51aafda7ed0dec1db630d934
parentbba7d29a86862df89f43b682be674c33326fa248
gallium/pb_bufmgr_cache: limit the size of cache

This should make a machine which is running piglit more responsive at times.
e.g. streaming-texture-leak can easily eat 600 MB because of how fast it
creates new textures.
src/gallium/auxiliary/pipebuffer/pb_bufmgr.h
src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
src/gallium/winsys/svga/drm/vmw_screen_pools.c