summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Glover <chrisglover@google.com>2023-06-02 09:04:50 +0100
committerChris Glover <chrisglover@google.com>2023-06-21 10:18:45 +0000
commit704ade2ba7ec2f546b5b4757a441bd534d658005 (patch)
treee0a59186d522c226279ccf23a69e0ec8f802221c
parent1db43995a5e1cda14aaa1079bbcd39a1c8ccb8fc (diff)
downloadnative-android14-dev.tar.gz
Update EGL_GL_COLORSPACE_BT2020_HLG_EXT to the correct valueandroid-vts-14.0_r2android-cts-14.0_r2android14-dev
ag/22764137 added support for HLG formats, but the spec change in the Khronos gitlab hadn't landed yet. The enum I used had already been used by an unpublished NVIDIA EXT, so I needed to choose a different one. This change uses the new one which is the final correct enum found here: https://github.com/KhronosGroup/EGL-Registry/commit/526f9a6471106090e44b8d6a123f78886d5d88fa Bug: 277210442 Test: Manually ran new test in CL https://gerrit.khronos.org/c/vk-gl-cts/+/11608 Change-Id: I5c163b7ef2c3e6fa6f90ac8de6f75a7b7e67cf8c
-rw-r--r--opengl/include/EGL/eglext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/include/EGL/eglext.h b/opengl/include/EGL/eglext.h
index 32c21f61b9..c787fc9717 100644
--- a/opengl/include/EGL/eglext.h
+++ b/opengl/include/EGL/eglext.h
@@ -699,7 +699,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint a
#ifndef EGL_EXT_gl_colorspace_bt2020_hlg
#define EGL_EXT_gl_colorspace_bt2020_hlg 1
-#define EGL_GL_COLORSPACE_BT2020_HLG_EXT 0x333E
+#define EGL_GL_COLORSPACE_BT2020_HLG_EXT 0x3540
#endif /* EGL_EXT_gl_colorspace_bt2020_hlg */
#ifndef EGL_EXT_gl_colorspace_bt2020_linear