aboutsummaryrefslogtreecommitdiff
path: root/libdrm/libdrm_lists.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-02-18 13:06:35 -0800
committerEric Anholt <eric@anholt.net>2009-02-21 09:57:06 -0800
commit72abe983adfe7e8dcdcec11f1bc11d0b3daae063 (patch)
tree24021de560fcdef47c42259a14ef95a56b370382 /libdrm/libdrm_lists.h
parenta1345338feb7af25c0a9fe02ec16c2b9cce83a9e (diff)
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 @@
* list handling. No list looping yet.
*/
+#include <stddef.h>
+
typedef struct _drmMMListHead
{
struct _drmMMListHead *prev;