intel: Add a new bufmgr alloc function to get BOs ready for rendering to.
authorEric Anholt <eric@anholt.net>
Wed, 18 Feb 2009 21:06:35 +0000 (13:06 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 21 Feb 2009 17:57:06 +0000 (09:57 -0800)
commit72abe983adfe7e8dcdcec11f1bc11d0b3daae063
tree24021de560fcdef47c42259a14ef95a56b370382
parenta1345338feb7af25c0a9fe02ec16c2b9cce83a9e
intel: Add a new bufmgr alloc function to get BOs ready for rendering to.

This avoids using the oldest BO in the BO cache and waiting for it to be
idle before we turn around and render to it with the GPU.  Thanks to
Chris Wilson for pointing out how silly we were being.
libdrm/intel/intel_bufmgr.c
libdrm/intel/intel_bufmgr.h
libdrm/intel/intel_bufmgr_fake.c
libdrm/intel/intel_bufmgr_gem.c
libdrm/intel/intel_bufmgr_priv.h
libdrm/libdrm_lists.h