Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2bfa39bf authored by Peiyong Lin's avatar Peiyong Lin
Browse files

Update eglext.h for new Display P3 extension.

BUG: 117886297
Test: Build, flash, check demo app
Change-Id: Icf3a4bfa1b4555cf58caa18732bbbff19bb6b7a6
parent d1b8b46e
Loading
Loading
Loading
Loading
+10 −4
Original line number Original line Diff line number Diff line
@@ -28,17 +28,17 @@ extern "C" {
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
*/
*/
/*
/*
** This header is generated from the Khronos OpenGL / OpenGL ES XML
** This header is generated from the Khronos EGL XML API Registry.
** API Registry. The current version of the Registry, generator scripts
** The current version of the Registry, generator scripts
** used to make the header, and the header can be found at
** used to make the header, and the header can be found at
**   http://www.khronos.org/registry/egl
**   http://www.khronos.org/registry/egl
**
**
** Khronos $Git commit SHA1: bae3518c48 $ on $Git commit date: 2018-05-17 10:56:57 -0700 $
** Khronos $Git commit SHA1: 726475c203 $ on $Git commit date: 2018-10-03 23:51:49 -0700 $
*/
*/


#include <EGL/eglplatform.h>
#include <EGL/eglplatform.h>


#define EGL_EGLEXT_VERSION 20180517
#define EGL_EGLEXT_VERSION 20181204


/* Generated C header for:
/* Generated C header for:
 * API: egl
 * API: egl
@@ -681,6 +681,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint a
#ifndef EGL_EXT_device_drm
#ifndef EGL_EXT_device_drm
#define EGL_EXT_device_drm 1
#define EGL_EXT_device_drm 1
#define EGL_DRM_DEVICE_FILE_EXT           0x3233
#define EGL_DRM_DEVICE_FILE_EXT           0x3233
#define EGL_DRM_MASTER_FD_EXT             0x333C
#endif /* EGL_EXT_device_drm */
#endif /* EGL_EXT_device_drm */


#ifndef EGL_EXT_device_enumeration
#ifndef EGL_EXT_device_enumeration
@@ -716,6 +717,11 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint a
#define EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT 0x3362
#define EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT 0x3362
#endif /* EGL_EXT_gl_colorspace_display_p3_linear */
#endif /* EGL_EXT_gl_colorspace_display_p3_linear */


#ifndef EGL_EXT_gl_colorspace_display_p3_passthrough
#define EGL_EXT_gl_colorspace_display_p3_passthrough 1
#define EGL_GL_COLORSPACE_DISPLAY_P3_PASSTHROUGH_EXT 0x3490
#endif /* EGL_EXT_gl_colorspace_display_p3_passthrough */

#ifndef EGL_EXT_gl_colorspace_scrgb
#ifndef EGL_EXT_gl_colorspace_scrgb
#define EGL_EXT_gl_colorspace_scrgb 1
#define EGL_EXT_gl_colorspace_scrgb 1
#define EGL_GL_COLORSPACE_SCRGB_EXT       0x3351
#define EGL_GL_COLORSPACE_SCRGB_EXT       0x3351