pipebuffer, winsys: Add a size match parameter to the cached buffer manager
authorThomas Hellstrom <thellstrom@vmware.com>
Sat, 8 Feb 2014 17:51:15 +0000 (09:51 -0800)
committerBrian Paul <brianp@vmware.com>
Fri, 14 Feb 2014 15:21:44 +0000 (08:21 -0700)
commitc9e9b1862b472b2671b8d3b339f9f7624a272073
tree65ac8d5a5eaee5e375db66cb584b2fab8df4cb0b
parent3d1fd6df5315cfa4b9c8b1332f5078a89abc3ed8
pipebuffer, winsys: Add a size match parameter to the cached buffer manager

In some situations it's important to restrict the sizes of buffers that the
cached buffer manager is allowed to return

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Cc: "10.1" <mesa-stable@lists.freedesktop.org>
src/gallium/auxiliary/pipebuffer/pb_bufmgr.h
src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c