mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 16:00:08 +01:00
eglmesaext: add new enums for EGL_MESA_drm_image_formats
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
parent
6b0d390184
commit
8822f4dfb9
1 changed files with 7 additions and 0 deletions
|
|
@ -85,6 +85,13 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOK) (EGLDisplay dpy, EG
|
||||||
#define EGL_NO_CONFIG_MESA ((EGLConfig)0)
|
#define EGL_NO_CONFIG_MESA ((EGLConfig)0)
|
||||||
#endif
|
#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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue