summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2004-06-02 17:41:52 +0000
committerIan Romanick <idr@us.ibm.com>2004-06-02 17:41:52 +0000
commit52e3a8a5d9ac8e91eb66872a008d1f7d5d67a326 (patch)
tree25a8193d17100d518d13f99ebd3452daba9c2006 /shared-core
parentf994b1f31bb64f0fb56a778c350b6ff05c93501f (diff)
Added some comments copied from xf86drm.h.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index f7508b16..84e97fa2 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -101,10 +101,10 @@
#define _DRM_LOCKING_CONTEXT(lock) ((lock) & ~(_DRM_LOCK_HELD|_DRM_LOCK_CONT))
-typedef unsigned long drm_handle_t;
-typedef unsigned int drm_context_t;
+typedef unsigned long drm_handle_t; /**< To mapped regions */
+typedef unsigned int drm_context_t; /**< GLXContext handle */
typedef unsigned int drm_drawable_t;
-typedef unsigned int drm_magic_t;
+typedef unsigned int drm_magic_t; /**< Magic for authentication */
/**
@@ -401,8 +401,8 @@ typedef struct drm_buf_desc {
* DRM_IOCTL_INFO_BUFS ioctl argument type.
*/
typedef struct drm_buf_info {
- int count; /**< Entries in list */
- drm_buf_desc_t *list;
+ int count; /**< Number of buffers described in list */
+ drm_buf_desc_t *list; /**< List of buffer descriptions */
} drm_buf_info_t;