From 3ad85e9c8cbcb25c86a90545ebef828f89e41137 Mon Sep 17 00:00:00 2001 From: lhang Date: Wed, 23 Jul 2025 16:53:33 +0800 Subject: [PATCH] add bt2020 hlg define Signed-off-by: lhang --- api/EGL/eglext.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/EGL/eglext.h b/api/EGL/eglext.h index 14e6902..a9bfd91 100644 --- a/api/EGL/eglext.h +++ b/api/EGL/eglext.h @@ -738,6 +738,11 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDeviceBinaryEXT (EGLDeviceEXT device, EGLi #define EGL_GL_COLORSPACE_BT2020_PQ_EXT 0x3340 #endif /* EGL_EXT_gl_colorspace_bt2020_pq */ +#ifndef EGL_EXT_gl_colorspace_bt2020_hlg +#define EGL_EXT_gl_colorspace_bt2020_hlg 1 +#define EGL_GL_COLORSPACE_BT2020_HLG_EXT 0x3540 +#endif /* EGL_EXT_gl_colorspace_bt2020_hlg */ + #ifndef EGL_EXT_gl_colorspace_display_p3 #define EGL_EXT_gl_colorspace_display_p3 1 #define EGL_GL_COLORSPACE_DISPLAY_P3_EXT 0x3363 -- Gitee