summaryrefslogtreecommitdiff
path: root/libdrm/dri_bufmgr.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-08-12 18:22:34 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-08-12 18:22:34 -0700
commite9648e9107e90c3ef38a9c9ebb95bac1297d0df5 (patch)
tree5fd12fb7db6fac8ab07658b4123e2cc4fd850502 /libdrm/dri_bufmgr.h
parent8074b2e83d18bbf85d1c3284f561d849c829dd4b (diff)
Export a generic dri_bo handle for use by clients
We'll need something like this (either a handle field or a dri_bo_get_handle function) for kernel mode setting to get at the handles.
Diffstat (limited to 'libdrm/dri_bufmgr.h')
-rw-r--r--libdrm/dri_bufmgr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdrm/dri_bufmgr.h b/libdrm/dri_bufmgr.h
index a5ae6c0f..7a7dd6e9 100644
--- a/libdrm/dri_bufmgr.h
+++ b/libdrm/dri_bufmgr.h
@@ -58,6 +58,10 @@ struct _dri_bo {
void *virtual;
/** Buffer manager context associated with this buffer object */
dri_bufmgr *bufmgr;
+ /**
+ * MM-specific handle for accessing object
+ */
+ int handle;
};
/**