pb_bufmgr_cache: add is_buffer_busy hook and use it instead of non-blocking map
authorMarek Olšák <maraeo@gmail.com>
Sun, 13 Feb 2011 08:26:07 +0000 (09:26 +0100)
committerMarek Olšák <maraeo@gmail.com>
Mon, 14 Feb 2011 20:51:01 +0000 (21:51 +0100)
commit49579a4df8f9f85139a02c95ae59ea0a5dec663c
tree4822f52827a6c686c63701b83278243be6dd4646
parent588fa884d212eba5ffbc69fda75db37d7c77214c
pb_bufmgr_cache: add is_buffer_busy hook and use it instead of non-blocking map

This is cleaner and implementing the hook is optional.
src/gallium/auxiliary/pipebuffer/pb_bufmgr.h
src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c