aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt2009-02-18 15:06:35 -0600
committerEric Anholt2009-02-21 11:57:06 -0600
commit72abe983adfe7e8dcdcec11f1bc11d0b3daae063 (patch)
tree24021de560fcdef47c42259a14ef95a56b370382 /libdrm/libdrm_lists.h
parenta1345338feb7af25c0a9fe02ec16c2b9cce83a9e (diff)
downloadexternal-libdrm-72abe983adfe7e8dcdcec11f1bc11d0b3daae063.tar.gz
external-libdrm-72abe983adfe7e8dcdcec11f1bc11d0b3daae063.tar.xz
external-libdrm-72abe983adfe7e8dcdcec11f1bc11d0b3daae063.zip
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.
Diffstat (limited to 'libdrm/libdrm_lists.h')
-rw-r--r--libdrm/libdrm_lists.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdrm/libdrm_lists.h b/libdrm/libdrm_lists.h
index 8e23991f..6410f573 100644
--- a/libdrm/libdrm_lists.h
+++ b/libdrm/libdrm_lists.h
@@ -29,6 +29,8 @@
29 * list handling. No list looping yet. 29 * list handling. No list looping yet.
30 */ 30 */
31 31
32#include <stddef.h>
33
32typedef struct _drmMMListHead 34typedef struct _drmMMListHead
33{ 35{
34 struct _drmMMListHead *prev; 36 struct _drmMMListHead *prev;