From: Nicolai Hähnle <nicolai.haeh...@amd.com> --- include/EGL/eglmesaext.h | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/include/EGL/eglmesaext.h b/include/EGL/eglmesaext.h index 405d0e9..9b0de56 100644 --- a/include/EGL/eglmesaext.h +++ b/include/EGL/eglmesaext.h @@ -83,15 +83,22 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOK) (EGLDisplay dpy, EG #ifndef EGL_MESA_configless_context #define EGL_MESA_configless_context 1 #define EGL_NO_CONFIG_MESA ((EGLConfig)0) #endif #ifndef EGL_MESA_platform_surfaceless #define EGL_MESA_platform_surfaceless 1 #define EGL_PLATFORM_SURFACELESS_MESA 0x31DD #endif /* EGL_MESA_platform_surfaceless */ +#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 #endif -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev