diff options
author | Kristian Høgsberg <[email protected]> | 2011-05-06 10:31:18 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2011-05-06 10:33:50 -0400 |
commit | e5169e9615e8391ea369415b356168717b8f7be0 (patch) | |
tree | 6f2486f3155d9ceb780098380372132755a907e1 /docs | |
parent | 834b84149d99526e4e7a3cfa6ba9fe81e5fb9eda (diff) |
egl: Add a cursor use bit to MESA_drm_image
Diffstat (limited to 'docs')
-rw-r--r-- | docs/MESA_drm_image.spec | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/docs/MESA_drm_image.spec b/docs/MESA_drm_image.spec index 198de3ec3ce..1150a4c43e4 100644 --- a/docs/MESA_drm_image.spec +++ b/docs/MESA_drm_image.spec @@ -66,6 +66,7 @@ New Tokens EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x0001 EGL_DRM_BUFFER_USE_SHARE_MESA 0x0002 + EGL_DRM_BUFFER_USE_CURSOR_MESA 0x0004 Accepted in the <target> parameter of eglCreateImageKHR: @@ -89,13 +90,16 @@ Additions to the EGL 1.4 Specification: extension is EGL_DRM_BUFFER_FORMAT_ARGB32_MESA, where each pixel is a CPU-endian, 32-bit quantity, with alpha in the upper 8 bits, then red, then green, then blue. The bit values accepted by - EGL_DRM_BUFFER_USE_MESA are EGL_DRM_BUFFER_USE_SCANOUT_MESA and - EGL_DRM_BUFFER_USE_SHARE_MESA. EGL_DRM_BUFFER_USE_SCANOUT_MESA - requests that the created EGLImage should be usable as a scanout - buffer with the DRM kernel modesetting API. The - EGL_DRM_BUFFER_USE_SHARE_MESA bit requests that the EGLImage can - be shared with other processes by passing the underlying DRM - buffer name. + EGL_DRM_BUFFER_USE_MESA are EGL_DRM_BUFFER_USE_SCANOUT_MESA, + EGL_DRM_BUFFER_USE_SHARE_MESA and EGL_DRM_BUFFER_USE_CURSOR_MESA. + EGL_DRM_BUFFER_USE_SCANOUT_MESA requests that the created EGLImage + should be usable as a scanout buffer with the DRM kernel + modesetting API. EGL_DRM_BUFFER_USE_SHARE_MESA requests that the + EGLImage can be shared with other processes by passing the + underlying DRM buffer name. EGL_DRM_BUFFER_USE_CURSOR_MESA + requests that the image must be usable as a cursor with KMS. When + EGL_DRM_BUFFER_USE_CURSOR_MESA is set, width and height must both + be 64. To create a process local handle or a global DRM name for a buffer, call |