summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-05-06 10:31:18 -0400
committerKristian Høgsberg <krh@bitplanet.net>2011-05-06 10:33:50 -0400
commite5169e9615e8391ea369415b356168717b8f7be0 (patch)
tree6f2486f3155d9ceb780098380372132755a907e1 /include
parent834b84149d99526e4e7a3cfa6ba9fe81e5fb9eda (diff)
downloadexternal_mesa3d-e5169e9615e8391ea369415b356168717b8f7be0.zip
external_mesa3d-e5169e9615e8391ea369415b356168717b8f7be0.tar.gz
external_mesa3d-e5169e9615e8391ea369415b356168717b8f7be0.tar.bz2
egl: Add a cursor use bit to MESA_drm_image
Diffstat (limited to 'include')
-rw-r--r--include/EGL/eglext.h1
-rw-r--r--include/GL/internal/dri_interface.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/EGL/eglext.h b/include/EGL/eglext.h
index 9fd3eb8..9915b8c 100644
--- a/include/EGL/eglext.h
+++ b/include/EGL/eglext.h
@@ -131,6 +131,7 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGL
/* EGL_DRM_BUFFER_USE_MESA bits */
#define EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x0001
#define EGL_DRM_BUFFER_USE_SHARE_MESA 0x0002
+#define EGL_DRM_BUFFER_USE_CURSOR_MESA 0x0004
#define EGL_DRM_BUFFER_MESA 0x31D3 /* eglCreateImageKHR target */
#define EGL_DRM_BUFFER_STRIDE_MESA 0x31D4 /* eglCreateImageKHR attribute */
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index 2fb729a..d791557 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -816,6 +816,7 @@ struct __DRIdri2ExtensionRec {
#define __DRI_IMAGE_USE_SHARE 0x0001
#define __DRI_IMAGE_USE_SCANOUT 0x0002
+#define __DRI_IMAGE_USE_CURSOR 0x0004
/**
* queryImage attributes