Add support for EGL_EXT_gl_colorspace_bt2020_hlg to libEGL

This implements EGL_EXT_gl_colorspace_bt2020_hlg in terms of HAL
data formats such that applications can create HLG encoded surfaces. As
per the spec, applications need to ensure correct HLG encoding, which
made it possible to implement this extension without involving the
driver.

The change includes a manual update of eglext.h because the spec
is not yet ready.
https://github.com/KhronosGroup/EGL-Registry/pull/177

Test: Manually ran tests implemented in dEQP in a separate change
https://gerrit.khronos.org/c/vk-gl-cts/+/11608

Bug: 277210442

Change-Id: I3e011a786930d978fbc0d86aad29d25e4cdcc148
(cherry picked from commit 82396e8990bdffde91b9249a4edbeb03b3e73819)
Merged-In: I3e011a786930d978fbc0d86aad29d25e4cdcc148
diff --git a/opengl/include/EGL/eglext.h b/opengl/include/EGL/eglext.h
index 501bf58..32c21f6 100644
--- a/opengl/include/EGL/eglext.h
+++ b/opengl/include/EGL/eglext.h
@@ -697,6 +697,11 @@
 #define EGL_EXT_device_query 1
 #endif /* EGL_EXT_device_query */
 
+#ifndef EGL_EXT_gl_colorspace_bt2020_hlg
+#define EGL_EXT_gl_colorspace_bt2020_hlg 1
+#define EGL_GL_COLORSPACE_BT2020_HLG_EXT  0x333E
+#endif /* EGL_EXT_gl_colorspace_bt2020_hlg */
+
 #ifndef EGL_EXT_gl_colorspace_bt2020_linear
 #define EGL_EXT_gl_colorspace_bt2020_linear 1
 #define EGL_GL_COLORSPACE_BT2020_LINEAR_EXT 0x333F