Module: Mesa
Branch: master
Commit: 8822f4dfb94d82bd17dc7a23a3cc6da34f455854
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8822f4dfb94d82bd17dc7a23a3cc6da34f455854

Author: Nicolai Hähnle <[email protected]>
Date:   Tue Jan 24 13:57:19 2017 +0100

eglmesaext: add new enums for EGL_MESA_drm_image_formats

Reviewed-by: Eric Engestrom <[email protected]>

---

 include/EGL/eglmesaext.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/EGL/eglmesaext.h b/include/EGL/eglmesaext.h
index 3a1b88e..cff1bc6 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

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to