summaryrefslogtreecommitdiffstats
path: root/include/EGL/eglmesaext.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-01-24 13:57:19 +0100
committerNicolai Hähnle <[email protected]>2017-02-06 17:41:28 +0100
commit8822f4dfb94d82bd17dc7a23a3cc6da34f455854 (patch)
tree714491391332088fab0f189dc82fd9a2d1bd3c4e /include/EGL/eglmesaext.h
parent6b0d390184fe44842f63d2026df653e0feeaf918 (diff)
eglmesaext: add new enums for EGL_MESA_drm_image_formats
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'include/EGL/eglmesaext.h')
-rw-r--r--include/EGL/eglmesaext.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/EGL/eglmesaext.h b/include/EGL/eglmesaext.h
index 3a1b88e3d16..cff1bc6eee3 100644
--- a/include/EGL/eglmesaext.h
+++ b/include/EGL/eglmesaext.h
@@ -85,6 +85,13 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOK) (EGLDisplay dpy, EG
#define EGL_NO_CONFIG_MESA ((EGLConfig)0)
#endif
+#ifndef EGL_MESA_drm_image_formats
+#define EGL_MESA_drm_image_formats 1
+#define EGL_DRM_BUFFER_FORMAT_ARGB2101010_MESA 0x3290
+#define EGL_DRM_BUFFER_FORMAT_ARGB1555_MESA 0x3291
+#define EGL_DRM_BUFFER_FORMAT_RGB565_MESA 0x3292
+#endif /* EGL_MESA_drm_image_formats */
+
#ifdef __cplusplus
}
#endif