projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b0d390
)
eglmesaext: add new enums for EGL_MESA_drm_image_formats
author
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Tue, 24 Jan 2017 12:57:19 +0000
(13:57 +0100)
committer
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Mon, 6 Feb 2017 16:41:28 +0000
(17:41 +0100)
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
include/EGL/eglmesaext.h
patch
|
blob
|
history
diff --git
a/include/EGL/eglmesaext.h
b/include/EGL/eglmesaext.h
index 3a1b88e3d16bccf3043173267175075b05e700ed..cff1bc6eee30d8be686e68660174bbbd42d77dec 100644
(file)
--- 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