egl.xml(1)

glfmn.io egl.xml(1)
Name

egl.xml

EGL registry xml, from which EGL headers are generated

Description

This file is provided by Khronos and can be found on the Khronos website. See the Khronos EGL website for more information about EGL and its headers.

Content

1<?xml version="1.0" encoding="UTF-8"?>
2<registry>
3 <!--
4 Copyright 2013-2020 The Khronos Group Inc.
5 SPDX-License-Identifier: Apache-2.0
6 -->
7 <!--
8 This file, egl.xml, is the EGL API Registry. The older ".spec" file
9 format has been retired and will no longer be updated with new
10 extensions and API versions. The canonical version of the registry,
11 together with documentation, schema, and Python generator scripts used
12 to generate C header files for EGL, can be found in the Khronos Registry
13 at
14 https://www.github.com/KhronosGroup/EGL-Registry
15 -->
16
17 <!-- SECTION: EGL type definitions. Does not include GL types. -->
18 <types>
19 <!-- These are dependencies EGL types require to be declared legally -->
20 <type name="khrplatform">#include &lt;KHR/khrplatform.h&gt;</type>
21 <type name="eglplatform" requires="khrplatform">#include &lt;EGL/eglplatform.h&gt;</type>
22 <type name="khronos_utime_nanoseconds_t" requires="khrplatform"/>
23 <type name="khronos_stime_nanoseconds_t" requires="khrplatform"/>
24 <type name="khronos_uint64_t" requires="khrplatform"/>
25 <type name="khronos_ssize_t" requires="khrplatform"/>
26 <type name="EGLNativeDisplayType" requires="eglplatform"/>
27 <type name="EGLNativePixmapType" requires="eglplatform"/>
28 <type name="EGLNativeWindowType" requires="eglplatform"/>
29 <type name="EGLint" requires="eglplatform"/>
30 <type name="NativeDisplayType" requires="eglplatform"/>
31 <type name="NativePixmapType" requires="eglplatform"/>
32 <type name="NativeWindowType" requires="eglplatform"/>
33 <type>struct <name>AHardwareBuffer</name>;</type>
34 <type>struct <name>wl_buffer</name>;</type>
35 <type>struct <name>wl_display</name>;</type>
36 <type>struct <name>wl_resource</name>;</type>
37 <!-- Dummy placeholders for non-EGL types -->
38 <type name="Bool"/>
39 <!-- These are actual EGL types. -->
40 <type>typedef unsigned int <name>EGLBoolean</name>;</type>
41 <type>typedef unsigned int <name>EGLenum</name>;</type>
42 <type requires="khrplatform">typedef intptr_t <name>EGLAttribKHR</name>;</type>
43 <type requires="khrplatform">typedef intptr_t <name>EGLAttrib</name>;</type>
44 <type>typedef void *<name>EGLClientBuffer</name>;</type>
45 <type>typedef void *<name>EGLConfig</name>;</type>
46 <type>typedef void *<name>EGLContext</name>;</type>
47 <type>typedef void *<name>EGLDeviceEXT</name>;</type>
48 <type>typedef void *<name>EGLDisplay</name>;</type>
49 <type>typedef void *<name>EGLImage</name>;</type>
50 <type>typedef void *<name>EGLImageKHR</name>;</type>
51 <type>typedef void *<name>EGLLabelKHR</name>;</type>
52 <type>typedef void *<name>EGLObjectKHR</name>;</type>
53 <type>typedef void *<name>EGLOutputLayerEXT</name>;</type>
54 <type>typedef void *<name>EGLOutputPortEXT</name>;</type>
55 <type>typedef void *<name>EGLStreamKHR</name>;</type>
56 <type>typedef void *<name>EGLSurface</name>;</type>
57 <type>typedef void *<name>EGLSync</name>;</type>
58 <type>typedef void *<name>EGLSyncKHR</name>;</type>
59 <type>typedef void *<name>EGLSyncNV</name>;</type>
60 <type>typedef void (*<name>__eglMustCastToProperFunctionPointerType</name>)(void);</type>
61 <type requires="khrplatform">typedef khronos_utime_nanoseconds_t <name>EGLTimeKHR</name>;</type>
62 <type requires="khrplatform">typedef khronos_utime_nanoseconds_t <name>EGLTime</name>;</type>
63 <type requires="khrplatform">typedef khronos_utime_nanoseconds_t <name>EGLTimeNV</name>;</type>
64 <type requires="khrplatform">typedef khronos_utime_nanoseconds_t <name>EGLuint64NV</name>;</type>
65 <type requires="khrplatform">typedef khronos_uint64_t <name>EGLuint64KHR</name>;</type>
66 <type requires="khrplatform">typedef khronos_stime_nanoseconds_t <name>EGLnsecsANDROID</name>;</type>
67 <type>typedef int <name>EGLNativeFileDescriptorKHR</name>;</type>
68 <type requires="khrplatform">typedef khronos_ssize_t <name>EGLsizeiANDROID</name>;</type>
69 <type requires="EGLsizeiANDROID">typedef void (*<name>EGLSetBlobFuncANDROID</name>) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize);</type>
70 <type requires="EGLsizeiANDROID">typedef EGLsizeiANDROID (*<name>EGLGetBlobFuncANDROID</name>) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize);</type>
71 <type>struct <name>EGLClientPixmapHI</name> {
72 void *pData;
73 EGLint iWidth;
74 EGLint iHeight;
75 EGLint iStride;
76};</type>
77 <!-- Backwards-compatibility hack: Downstream implementations shipped
78 incorrect function pointer names for some years. -->
79 <type>typedef void (<apientry/> *<name>EGLDEBUGPROCKHR</name>)(EGLenum error,const char *command,EGLint messageType,EGLLabelKHR threadLabel,EGLLabelKHR objectLabel,const char* message);</type>
80 <type>#define <name>PFNEGLBINDWAYLANDDISPLAYWL</name> PFNEGLBINDWAYLANDDISPLAYWLPROC</type>
81 <type>#define <name>PFNEGLUNBINDWAYLANDDISPLAYWL</name> PFNEGLUNBINDWAYLANDDISPLAYWLPROC</type>
82 <type>#define <name>PFNEGLQUERYWAYLANDBUFFERWL</name> PFNEGLQUERYWAYLANDBUFFERWLPROC</type>
83 <type>#define <name>PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWL</name> PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC</type>
84 </types>
85
86 <!-- SECTION: EGL enumerant (token) definitions. -->
87
88 <!-- Bitmasks each have their own namespace, as do a few other
89 categories of enumeration -->
90
91 <enums namespace="EGLSurfaceTypeMask" type="bitmask" comment="EGL_SURFACE_TYPE bits">
92 <enum value="0x0001" name="EGL_PBUFFER_BIT"/>
93 <enum value="0x0002" name="EGL_PIXMAP_BIT"/>
94 <enum value="0x0004" name="EGL_WINDOW_BIT"/>
95 <enum value="0x0008" name="EGL_PBUFFER_IMAGE_BIT_TAO" comment="Unreleased TAO extension"/>
96 <enum value="0x0010" name="EGL_PBUFFER_PALETTE_IMAGE_BIT_TAO" comment="Unreleased TAO extension"/>
97 <enum value="0x0020" name="EGL_VG_COLORSPACE_LINEAR_BIT"/>
98 <enum value="0x0020" name="EGL_VG_COLORSPACE_LINEAR_BIT_KHR"/>
99 <enum value="0x0040" name="EGL_VG_ALPHA_FORMAT_PRE_BIT"/>
100 <enum value="0x0040" name="EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR"/>
101 <enum value="0x0080" name="EGL_LOCK_SURFACE_BIT_KHR"/>
102 <enum value="0x0100" name="EGL_OPTIMAL_FORMAT_BIT_KHR"/>
103 <enum value="0x0200" name="EGL_MULTISAMPLE_RESOLVE_BOX_BIT"/>
104 <enum value="0x0400" name="EGL_SWAP_BEHAVIOR_PRESERVED_BIT"/>
105 <enum value="0x0800" name="EGL_STREAM_BIT_KHR"/>
106 <!--
107 <enum value="0x0800" name="EGL_STREAM_BIT_NV" comment="Draft EGL_NV_stream_producer_eglsurface extension (bug 8064)"/>
108 -->
109 <enum value="0x1000" name="EGL_MUTABLE_RENDER_BUFFER_BIT_KHR"/>
110 </enums>
111
112 <enums namespace="EGLRenderableTypeMask" type="bitmask" comment="EGL_RENDERABLE_TYPE bits">
113 <enum value="0x0001" name="EGL_OPENGL_ES_BIT"/>
114 <enum value="0x0002" name="EGL_OPENVG_BIT"/>
115 <enum value="0x0004" name="EGL_OPENGL_ES2_BIT"/>
116 <enum value="0x0008" name="EGL_OPENGL_BIT"/>
117 <enum value="0x0010" name="EGL_INTEROP_BIT_KHR" comment="EGL_KHR_interop"/>
118 <enum value="0x0020" name="EGL_OPENMAX_IL_BIT_KHR" comment="EGL_KHR_interop"/>
119 <enum value="0x00000040" name="EGL_OPENGL_ES3_BIT"/>
120 <enum value="0x00000040" name="EGL_OPENGL_ES3_BIT_KHR" alias="EGL_OPENGL_ES3_BIT"/>
121 </enums>
122
123 <enums namespace="EGLLockUsageHintKHRMask" type="bitmask" comment="EGL_LOCK_USAGE_HINT_KHR bits">
124 <enum value="0x0001" name="EGL_READ_SURFACE_BIT_KHR"/>
125 <enum value="0x0002" name="EGL_WRITE_SURFACE_BIT_KHR"/>
126 </enums>
127
128 <enums namespace="EGLNativeBufferUsageFlags" type="bitmask" comment="EGL_NATIVE_BUFFER_USAGE_ANDROID bits">
129 <enum value="0x00000001" name="EGL_NATIVE_BUFFER_USAGE_PROTECTED_BIT_ANDROID"/>
130 <enum value="0x00000002" name="EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID"/>
131 <enum value="0x00000004" name="EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID"/>
132 </enums>
133
134 <enums namespace="EGLSyncFlagsKHR" type="bitmask" comment="Fence/reusable sync wait bits">
135 <enum value="0x0001" name="EGL_SYNC_FLUSH_COMMANDS_BIT"/>
136 <enum value="0x0001" name="EGL_SYNC_FLUSH_COMMANDS_BIT_KHR" alias="EGL_SYNC_FLUSH_COMMANDS_BIT"/>
137 <enum value="0x0001" name="EGL_SYNC_FLUSH_COMMANDS_BIT_NV" alias="EGL_SYNC_FLUSH_COMMANDS_BIT"/>
138 </enums>
139
140 <enums namespace="EGLDRMBufferUseMESAMask" type="bitmask" comment="EGL_DRM_BUFFER_USE_MESA bits">
141 <enum value="0x00000001" name="EGL_DRM_BUFFER_USE_SCANOUT_MESA"/>
142 <enum value="0x00000002" name="EGL_DRM_BUFFER_USE_SHARE_MESA"/>
143 <enum value="0x00000004" name="EGL_DRM_BUFFER_USE_CURSOR_MESA"/>
144 </enums>
145
146 <!-- Should be shared with GL, but aren't aren't since the
147 FORWARD_COMPATIBLE and DEBUG_BIT values are swapped in the
148 corresponding GL enums. Oops :-( -->
149 <enums namespace="EGLContextFlagMask" type="bitmask" comment="EGL_CONTEXT_FLAGS_KHR bits">
150 <enum value="0x00000001" name="EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR"/>
151 <enum value="0x00000002" name="EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR"/>
152 <enum value="0x00000004" name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR"/>
153 </enums>
154
155 <enums namespace="EGLContextProfileMask" type="bitmask" comment="Shared with GL">
156 <enum value="0x00000001" name="EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT"/>
157 <enum value="0x00000001" name="EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR" alias="EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT"/>
158 <enum value="0x00000002" name="EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT"/>
159 <enum value="0x00000002" name="EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR" alias="EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT"/>
160 </enums>
161
162 <!-- The default ("API") enum namespace starts here. While some
163 assigned values may overlap, and different parts of the
164 namespace are reserved for different purposes, it is a single
165 namespace. The "class" attribute indicates some of the reserved
166 purposes but is by no means complete (and cannot be, since many
167 tokens are reused for different purposes in different
168 extensions and API versions). -->
169
170 <enums namespace="EGL" start="0x0000" end="0x2FFF" vendor="KHR" comment="Reserved for enumerants shared with WGL, GLX, and GL">
171 <enum value="0" name="EGL_CONTEXT_RELEASE_BEHAVIOR_NONE_KHR"/>
172 <enum value="0x2097" name="EGL_CONTEXT_RELEASE_BEHAVIOR_KHR"/>
173 <enum value="0x2098" name="EGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR"/>
174 </enums>
175
176 <enums namespace="EGL" group="Boolean" vendor="ARB">
177 <enum value="0" name="EGL_FALSE"/>
178 <enum value="1" name="EGL_TRUE"/>
179 </enums>
180
181 <enums namespace="EGL" group="SpecialNumbers" vendor="ARB" comment="Tokens whose numeric value is intrinsically meaningful">
182 <enum value="EGL_CAST(EGLint,-1)" name="EGL_DONT_CARE"/>
183 <enum value="EGL_CAST(EGLint,-1)" name="EGL_UNKNOWN"/>
184 <enum value="-1" name="EGL_NO_NATIVE_FENCE_FD_ANDROID"/>
185 <enum value="0" name="EGL_DEPTH_ENCODING_NONE_NV"/>
186 <enum value="EGL_CAST(EGLContext,0)" name="EGL_NO_CONTEXT"/>
187 <enum value="EGL_CAST(EGLDeviceEXT,0)" name="EGL_NO_DEVICE_EXT"/>
188 <enum value="EGL_CAST(EGLDisplay,0)" name="EGL_NO_DISPLAY"/>
189 <enum value="EGL_CAST(EGLImage,0)" name="EGL_NO_IMAGE"/>
190 <enum value="EGL_CAST(EGLImageKHR,0)" name="EGL_NO_IMAGE_KHR"/>
191 <enum value="EGL_CAST(EGLNativeDisplayType,0)" name="EGL_DEFAULT_DISPLAY"/>
192 <enum value="EGL_CAST(EGLNativeFileDescriptorKHR,-1)" name="EGL_NO_FILE_DESCRIPTOR_KHR"/>
193 <enum value="EGL_CAST(EGLOutputLayerEXT,0)" name="EGL_NO_OUTPUT_LAYER_EXT"/>
194 <enum value="EGL_CAST(EGLOutputPortEXT,0)" name="EGL_NO_OUTPUT_PORT_EXT"/>
195 <enum value="EGL_CAST(EGLStreamKHR,0)" name="EGL_NO_STREAM_KHR"/>
196 <enum value="EGL_CAST(EGLSurface,0)" name="EGL_NO_SURFACE"/>
197 <enum value="EGL_CAST(EGLSync,0)" name="EGL_NO_SYNC"/>
198 <enum value="EGL_CAST(EGLSyncKHR,0)" name="EGL_NO_SYNC_KHR" alias="EGL_NO_SYNC"/>
199 <enum value="EGL_CAST(EGLSyncNV,0)" name="EGL_NO_SYNC_NV" alias="EGL_NO_SYNC"/>
200 <enum value="EGL_CAST(EGLConfig,0)" name="EGL_NO_CONFIG_KHR"/>
201 <enum value="10000" name="EGL_DISPLAY_SCALING"/>
202 <enum value="0xFFFFFFFFFFFFFFFF" name="EGL_FOREVER" type="ull"/>
203 <enum value="0xFFFFFFFFFFFFFFFF" name="EGL_FOREVER_KHR" type="ull" alias="EGL_FOREVER"/>
204 <enum value="0xFFFFFFFFFFFFFFFF" name="EGL_FOREVER_NV" type="ull" alias="EGL_FOREVER"/>
205 </enums>
206
207 <enums namespace="EGL" start="0x3000" end="0x305F" vendor="KHR">
208 <enum value="0x3000" name="EGL_SUCCESS"/>
209 <enum value="0x3001" name="EGL_NOT_INITIALIZED"/>
210 <enum value="0x3002" name="EGL_BAD_ACCESS"/>
211 <enum value="0x3003" name="EGL_BAD_ALLOC"/>
212 <enum value="0x3004" name="EGL_BAD_ATTRIBUTE"/>
213 <enum value="0x3005" name="EGL_BAD_CONFIG"/>
214 <enum value="0x3006" name="EGL_BAD_CONTEXT"/>
215 <enum value="0x3007" name="EGL_BAD_CURRENT_SURFACE"/>
216 <enum value="0x3008" name="EGL_BAD_DISPLAY"/>
217 <enum value="0x3009" name="EGL_BAD_MATCH"/>
218 <enum value="0x300A" name="EGL_BAD_NATIVE_PIXMAP"/>
219 <enum value="0x300B" name="EGL_BAD_NATIVE_WINDOW"/>
220 <enum value="0x300C" name="EGL_BAD_PARAMETER"/>
221 <enum value="0x300D" name="EGL_BAD_SURFACE"/>
222 <enum value="0x300E" name="EGL_CONTEXT_LOST"/>
223 <unused start="0x300F" end="0x301F" comment="for additional errors"/>
224 <enum value="0x3020" name="EGL_BUFFER_SIZE"/>
225 <enum value="0x3021" name="EGL_ALPHA_SIZE"/>
226 <enum value="0x3022" name="EGL_BLUE_SIZE"/>
227 <enum value="0x3023" name="EGL_GREEN_SIZE"/>
228 <enum value="0x3024" name="EGL_RED_SIZE"/>
229 <enum value="0x3025" name="EGL_DEPTH_SIZE"/>
230 <enum value="0x3026" name="EGL_STENCIL_SIZE"/>
231 <enum value="0x3027" name="EGL_CONFIG_CAVEAT"/>
232 <enum value="0x3028" name="EGL_CONFIG_ID"/>
233 <enum value="0x3029" name="EGL_LEVEL"/>
234 <enum value="0x302A" name="EGL_MAX_PBUFFER_HEIGHT"/>
235 <enum value="0x302B" name="EGL_MAX_PBUFFER_PIXELS"/>
236 <enum value="0x302C" name="EGL_MAX_PBUFFER_WIDTH"/>
237 <enum value="0x302D" name="EGL_NATIVE_RENDERABLE"/>
238 <enum value="0x302E" name="EGL_NATIVE_VISUAL_ID"/>
239 <enum value="0x302F" name="EGL_NATIVE_VISUAL_TYPE"/>
240 <enum value="0x3031" name="EGL_SAMPLES"/>
241 <enum value="0x3032" name="EGL_SAMPLE_BUFFERS"/>
242 <enum value="0x3033" name="EGL_SURFACE_TYPE"/>
243 <enum value="0x3034" name="EGL_TRANSPARENT_TYPE"/>
244 <enum value="0x3035" name="EGL_TRANSPARENT_BLUE_VALUE"/>
245 <enum value="0x3036" name="EGL_TRANSPARENT_GREEN_VALUE"/>
246 <enum value="0x3037" name="EGL_TRANSPARENT_RED_VALUE"/>
247 <enum value="0x3038" name="EGL_NONE" comment="Attribute list terminator"/>
248 <enum value="0x3039" name="EGL_BIND_TO_TEXTURE_RGB"/>
249 <enum value="0x303A" name="EGL_BIND_TO_TEXTURE_RGBA"/>
250 <enum value="0x303B" name="EGL_MIN_SWAP_INTERVAL"/>
251 <enum value="0x303C" name="EGL_MAX_SWAP_INTERVAL"/>
252 <enum value="0x303D" name="EGL_LUMINANCE_SIZE"/>
253 <enum value="0x303E" name="EGL_ALPHA_MASK_SIZE"/>
254 <enum value="0x303F" name="EGL_COLOR_BUFFER_TYPE"/>
255 <enum value="0x3040" name="EGL_RENDERABLE_TYPE"/>
256 <enum value="0x3041" name="EGL_MATCH_NATIVE_PIXMAP"/>
257 <enum value="0x3042" name="EGL_CONFORMANT"/>
258 <enum value="0x3042" name="EGL_CONFORMANT_KHR"/>
259 <enum value="0x3043" name="EGL_MATCH_FORMAT_KHR"/>
260 <unused start="0x3044" end="0x304F" comment="for additional config attributes"/>
261 <enum value="0x3050" name="EGL_SLOW_CONFIG"/>
262 <enum value="0x3051" name="EGL_NON_CONFORMANT_CONFIG"/>
263 <enum value="0x3052" name="EGL_TRANSPARENT_RGB"/>
264 <enum value="0x3053" name="EGL_VENDOR"/>
265 <enum value="0x3054" name="EGL_VERSION"/>
266 <enum value="0x3055" name="EGL_EXTENSIONS"/>
267 <enum value="0x3056" name="EGL_HEIGHT"/>
268 <enum value="0x3057" name="EGL_WIDTH"/>
269 <enum value="0x3058" name="EGL_LARGEST_PBUFFER"/>
270 <enum value="0x3059" name="EGL_DRAW"/>
271 <enum value="0x305A" name="EGL_READ"/>
272 <enum value="0x305B" name="EGL_CORE_NATIVE_ENGINE"/>
273 <enum value="0x305C" name="EGL_NO_TEXTURE"/>
274 <enum value="0x305D" name="EGL_TEXTURE_RGB"/>
275 <enum value="0x305E" name="EGL_TEXTURE_RGBA"/>
276 <enum value="0x305F" name="EGL_TEXTURE_2D"/>
277 </enums>
278
279 <enums namespace="EGL" start="0x3060-0x306F" vendor="TAO" comment="Reserved for Phil Huxley">
280 <unused start="0x3060" end="0x306F"/>
281 </enums>
282
283 <enums namespace="EGL" start="0x3070-0x307F" vendor="NOK" comment="Reserved for Jani Vaarala">
284 <unused start="0x3070" end="0x307E"/>
285 <enum value="0x307F" name="EGL_Y_INVERTED_NOK"/>
286 </enums>
287
288 <enums namespace="EGL" start="0x3080-0x30AF" vendor="KHR">
289 <enum value="0x3080" name="EGL_TEXTURE_FORMAT"/>
290 <enum value="0x3081" name="EGL_TEXTURE_TARGET"/>
291 <enum value="0x3082" name="EGL_MIPMAP_TEXTURE"/>
292 <enum value="0x3083" name="EGL_MIPMAP_LEVEL"/>
293 <enum value="0x3084" name="EGL_BACK_BUFFER"/>
294 <enum value="0x3085" name="EGL_SINGLE_BUFFER"/>
295 <enum value="0x3086" name="EGL_RENDER_BUFFER"/>
296 <enum value="0x3087" name="EGL_COLORSPACE" alias="EGL_VG_COLORSPACE"/>
297 <enum value="0x3087" name="EGL_VG_COLORSPACE"/>
298 <enum value="0x3088" name="EGL_ALPHA_FORMAT" alias="EGL_VG_ALPHA_FORMAT"/>
299 <enum value="0x3088" name="EGL_VG_ALPHA_FORMAT"/>
300 <enum value="0x3089" name="EGL_COLORSPACE_sRGB"/>
301 <enum value="0x3089" name="EGL_GL_COLORSPACE_SRGB" alias="EGL_COLORSPACE_sRGB"/>
302 <enum value="0x3089" name="EGL_GL_COLORSPACE_SRGB_KHR" alias="EGL_COLORSPACE_sRGB"/>
303 <enum value="0x3089" name="EGL_VG_COLORSPACE_sRGB" alias="EGL_COLORSPACE_sRGB"/>
304 <enum value="0x308A" name="EGL_COLORSPACE_LINEAR"/>
305 <enum value="0x308A" name="EGL_GL_COLORSPACE_LINEAR" alias="EGL_COLORSPACE_LINEAR"/>
306 <enum value="0x308A" name="EGL_GL_COLORSPACE_LINEAR_KHR" alias="EGL_COLORSPACE_LINEAR"/>
307 <enum value="0x308A" name="EGL_VG_COLORSPACE_LINEAR" alias="EGL_COLORSPACE_LINEAR"/>
308 <enum value="0x308B" name="EGL_ALPHA_FORMAT_NONPRE" alias="EGL_VG_ALPHA_FORMAT_NONPRE"/>
309 <enum value="0x308B" name="EGL_VG_ALPHA_FORMAT_NONPRE"/>
310 <enum value="0x308C" name="EGL_ALPHA_FORMAT_PRE" alias="EGL_VG_ALPHA_FORMAT_PRE"/>
311 <enum value="0x308C" name="EGL_VG_ALPHA_FORMAT_PRE"/>
312 <enum value="0x308D" name="EGL_CLIENT_APIS"/>
313 <enum value="0x308E" name="EGL_RGB_BUFFER"/>
314 <enum value="0x308F" name="EGL_LUMINANCE_BUFFER"/>
315 <enum value="0x3090" name="EGL_HORIZONTAL_RESOLUTION"/>
316 <enum value="0x3091" name="EGL_VERTICAL_RESOLUTION"/>
317 <enum value="0x3092" name="EGL_PIXEL_ASPECT_RATIO"/>
318 <enum value="0x3093" name="EGL_SWAP_BEHAVIOR"/>
319 <enum value="0x3094" name="EGL_BUFFER_PRESERVED"/>
320 <enum value="0x3095" name="EGL_BUFFER_DESTROYED"/>
321 <enum value="0x3096" name="EGL_OPENVG_IMAGE"/>
322 <enum value="0x3097" name="EGL_CONTEXT_CLIENT_TYPE"/>
323 <enum value="0x3098" name="EGL_CONTEXT_CLIENT_VERSION"/>
324 <enum value="0x3098" name="EGL_CONTEXT_MAJOR_VERSION" alias="EGL_CONTEXT_CLIENT_VERSION"/>
325 <enum value="0x3098" name="EGL_CONTEXT_MAJOR_VERSION_KHR" alias="EGL_CONTEXT_CLIENT_VERSION"/>
326 <enum value="0x3099" name="EGL_MULTISAMPLE_RESOLVE"/>
327 <enum value="0x309A" name="EGL_MULTISAMPLE_RESOLVE_DEFAULT"/>
328 <enum value="0x309B" name="EGL_MULTISAMPLE_RESOLVE_BOX"/>
329 <enum value="0x309C" name="EGL_CL_EVENT_HANDLE"/>
330 <enum value="0x309C" name="EGL_CL_EVENT_HANDLE_KHR" alias="EGL_CL_EVENT_HANDLE"/>
331 <enum value="0x309D" name="EGL_GL_COLORSPACE"/>
332 <enum value="0x309D" name="EGL_GL_COLORSPACE_KHR" alias="EGL_GL_COLORSPACE"/>
333 <unused start="0x309E" end="0x309F"/>
334 <enum value="0x30A0" name="EGL_OPENGL_ES_API"/>
335 <enum value="0x30A1" name="EGL_OPENVG_API"/>
336 <enum value="0x30A2" name="EGL_OPENGL_API"/>
337 <unused start="0x30A3" end="0x30AF" comment="for additional client API names"/>
338 </enums>
339
340 <enums namespace="EGL" start="0x30B0-0x30BF" vendor="NV" comment="Reserved for Ignacio Llamas">
341 <enum value="0x30B0" name="EGL_NATIVE_PIXMAP_KHR"/>
342 <enum value="0x30B1" name="EGL_GL_TEXTURE_2D"/>
343 <enum value="0x30B1" name="EGL_GL_TEXTURE_2D_KHR" alias="EGL_GL_TEXTURE_2D"/>
344 <enum value="0x30B2" name="EGL_GL_TEXTURE_3D"/>
345 <enum value="0x30B2" name="EGL_GL_TEXTURE_3D_KHR" alias="EGL_GL_TEXTURE_3D"/>
346 <enum value="0x30B3" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X"/>
347 <enum value="0x30B3" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X"/>
348 <enum value="0x30B4" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X"/>
349 <enum value="0x30B4" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X"/>
350 <enum value="0x30B5" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y"/>
351 <enum value="0x30B5" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y"/>
352 <enum value="0x30B6" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y"/>
353 <enum value="0x30B6" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y"/>
354 <enum value="0x30B7" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z"/>
355 <enum value="0x30B7" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z"/>
356 <enum value="0x30B8" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z"/>
357 <enum value="0x30B8" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z"/>
358 <enum value="0x30B9" name="EGL_GL_RENDERBUFFER"/>
359 <enum value="0x30B9" name="EGL_GL_RENDERBUFFER_KHR" alias="EGL_GL_RENDERBUFFER"/>
360 <enum value="0x30BA" name="EGL_VG_PARENT_IMAGE_KHR"/>
361 <enum value="0x30BC" name="EGL_GL_TEXTURE_LEVEL"/>
362 <enum value="0x30BC" name="EGL_GL_TEXTURE_LEVEL_KHR" alias="EGL_GL_TEXTURE_LEVEL"/>
363 <enum value="0x30BD" name="EGL_GL_TEXTURE_ZOFFSET"/>
364 <enum value="0x30BD" name="EGL_GL_TEXTURE_ZOFFSET_KHR" alias="EGL_GL_TEXTURE_ZOFFSET"/>
365 <enum value="0x30BE" name="EGL_POST_SUB_BUFFER_SUPPORTED_NV"/>
366 <enum value="0x30BF" name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT"/>
367 </enums>
368
369 <enums namespace="EGL" start="0x30C0-0x30CF" vendor="KHR">
370 <enum value="0x30C0" name="EGL_FORMAT_RGB_565_EXACT_KHR"/>
371 <enum value="0x30C1" name="EGL_FORMAT_RGB_565_KHR"/>
372 <enum value="0x30C2" name="EGL_FORMAT_RGBA_8888_EXACT_KHR"/>
373 <enum value="0x30C3" name="EGL_FORMAT_RGBA_8888_KHR"/>
374 <enum value="0x30C4" name="EGL_MAP_PRESERVE_PIXELS_KHR"/>
375 <enum value="0x30C5" name="EGL_LOCK_USAGE_HINT_KHR"/>
376 <enum value="0x30C6" name="EGL_BITMAP_POINTER_KHR"/>
377 <enum value="0x30C7" name="EGL_BITMAP_PITCH_KHR"/>
378 <enum value="0x30C8" name="EGL_BITMAP_ORIGIN_KHR"/>
379 <enum value="0x30C9" name="EGL_BITMAP_PIXEL_RED_OFFSET_KHR"/>
380 <enum value="0x30CA" name="EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR"/>
381 <enum value="0x30CB" name="EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR"/>
382 <enum value="0x30CC" name="EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR"/>
383 <enum value="0x30CD" name="EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR"/>
384 <enum value="0x30CE" name="EGL_LOWER_LEFT_KHR"/>
385 <enum value="0x30CF" name="EGL_UPPER_LEFT_KHR"/>
386 </enums>
387
388 <enums namespace="EGL" start="0x30D0" end="0x30DF" vendor="Symbian" comment="Reserved for Robert Palmer (bug #2545)">
389 <unused start="0x30D0" end="0x30D1"/>
390 <enum value="0x30D2" name="EGL_IMAGE_PRESERVED"/>
391 <enum value="0x30D2" name="EGL_IMAGE_PRESERVED_KHR"/>
392 <unused start="0x30D3" end="0x30D9"/>
393 <enum value="0x30DA" name="EGL_SHARED_IMAGE_NOK" comment="Unreleased extension"/>
394 <unused start="0x30DB" end="0x30DF"/>
395 </enums>
396
397 <enums namespace="EGL" start="0x30E0" end="0x30EF" vendor="NV" comment="Reserved for Russell Pflughaupt (bug #3314)">
398 <enum value="0x30E0" name="EGL_COVERAGE_BUFFERS_NV"/>
399 <enum value="0x30E1" name="EGL_COVERAGE_SAMPLES_NV"/>
400 <enum value="0x30E2" name="EGL_DEPTH_ENCODING_NV"/>
401 <enum value="0x30E3" name="EGL_DEPTH_ENCODING_NONLINEAR_NV"/>
402 <unused start="0x30E4" end="0x30E5"/>
403 <enum value="0x30E6" name="EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV"/>
404 <enum value="0x30E7" name="EGL_SYNC_STATUS_NV"/>
405 <enum value="0x30E8" name="EGL_SIGNALED_NV"/>
406 <enum value="0x30E9" name="EGL_UNSIGNALED_NV"/>
407 <enum value="0x30EA" name="EGL_ALREADY_SIGNALED_NV"/>
408 <enum value="0x30EB" name="EGL_TIMEOUT_EXPIRED_NV"/>
409 <enum value="0x30EC" name="EGL_CONDITION_SATISFIED_NV"/>
410 <enum value="0x30ED" name="EGL_SYNC_TYPE_NV"/>
411 <enum value="0x30EE" name="EGL_SYNC_CONDITION_NV"/>
412 <enum value="0x30EF" name="EGL_SYNC_FENCE_NV"/>
413 </enums>
414
415 <enums namespace="EGL" start="0x30F0" end="0x30FF" vendor="KHR">
416 <enum value="0x30F0" name="EGL_SYNC_PRIOR_COMMANDS_COMPLETE"/>
417 <enum value="0x30F0" name="EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR" alias="EGL_SYNC_PRIOR_COMMANDS_COMPLETE"/>
418 <enum value="0x30F1" name="EGL_SYNC_STATUS"/>
419 <enum value="0x30F1" name="EGL_SYNC_STATUS_KHR" alias="EGL_SYNC_STATUS"/>
420 <enum value="0x30F2" name="EGL_SIGNALED"/>
421 <enum value="0x30F2" name="EGL_SIGNALED_KHR" alias="EGL_SIGNALED"/>
422 <enum value="0x30F3" name="EGL_UNSIGNALED"/>
423 <enum value="0x30F3" name="EGL_UNSIGNALED_KHR" alias="EGL_UNSIGNALED"/>
424 <enum value="0x30F5" name="EGL_TIMEOUT_EXPIRED"/>
425 <enum value="0x30F5" name="EGL_TIMEOUT_EXPIRED_KHR" alias="EGL_TIMEOUT_EXPIRED"/>
426 <enum value="0x30F6" name="EGL_CONDITION_SATISFIED"/>
427 <enum value="0x30F6" name="EGL_CONDITION_SATISFIED_KHR" alias="EGL_CONDITION_SATISFIED"/>
428 <enum value="0x30F7" name="EGL_SYNC_TYPE"/>
429 <enum value="0x30F7" name="EGL_SYNC_TYPE_KHR" alias="EGL_SYNC_TYPE"/>
430 <enum value="0x30F8" name="EGL_SYNC_CONDITION"/>
431 <enum value="0x30F8" name="EGL_SYNC_CONDITION_KHR" alias="EGL_SYNC_CONDITION"/>
432 <enum value="0x30F9" name="EGL_SYNC_FENCE"/>
433 <enum value="0x30F9" name="EGL_SYNC_FENCE_KHR" alias="EGL_SYNC_FENCE"/>
434 <enum value="0x30FA" name="EGL_SYNC_REUSABLE_KHR"/>
435 <enum value="0x30FB" name="EGL_CONTEXT_MINOR_VERSION"/>
436 <enum value="0x30FB" name="EGL_CONTEXT_MINOR_VERSION_KHR" alias="EGL_CONTEXT_MINOR_VERSION"/>
437 <enum value="0x30FC" name="EGL_CONTEXT_FLAGS_KHR"/>
438 <enum value="0x30FD" name="EGL_CONTEXT_OPENGL_PROFILE_MASK"/>
439 <enum value="0x30FD" name="EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR" alias="EGL_CONTEXT_OPENGL_PROFILE_MASK"/>
440 <enum value="0x30FE" name="EGL_SYNC_CL_EVENT"/>
441 <enum value="0x30FE" name="EGL_SYNC_CL_EVENT_KHR" alias="EGL_SYNC_CL_EVENT"/>
442 <enum value="0x30FF" name="EGL_SYNC_CL_EVENT_COMPLETE"/>
443 <enum value="0x30FF" name="EGL_SYNC_CL_EVENT_COMPLETE_KHR" alias="EGL_SYNC_CL_EVENT_COMPLETE"/>
444 </enums>
445
446 <enums namespace="EGL" start="0x3100" end="0x310F" vendor="IMG" comment="Reserved for Ben Bowman (Khronos bug 4748)">
447 <enum value="0x3100" name="EGL_CONTEXT_PRIORITY_LEVEL_IMG"/>
448 <enum value="0x3101" name="EGL_CONTEXT_PRIORITY_HIGH_IMG"/>
449 <enum value="0x3102" name="EGL_CONTEXT_PRIORITY_MEDIUM_IMG"/>
450 <enum value="0x3103" name="EGL_CONTEXT_PRIORITY_LOW_IMG"/>
451 <unused start="0x3104"/>
452 <enum value="0x3105" name="EGL_NATIVE_BUFFER_MULTIPLANE_SEPARATE_IMG"/>
453 <enum value="0x3106" name="EGL_NATIVE_BUFFER_PLANE_OFFSET_IMG"/>
454 <unused start="0x3107" end="0x310F"/>
455 </enums>
456
457 <enums namespace="EGL" start="0x3110" end="0x311F" vendor="ATX" comment="Reserved for Tim Renouf, Antix (Khronos bug 4949)">
458 <enum value="0x3110" name="EGL_BITMAP_PIXEL_SIZE_KHR"/>
459 <unused start="0x3111" end="0x311F"/>
460 </enums>
461
462 <enums namespace="EGL" start="0x3120" end="0x312F" vendor="QCOM" comment="EGL_QCOM_create_image">
463 <enum value="0x3120" name="EGL_NEW_IMAGE_QCOM"/>
464 <enum value="0x3121" name="EGL_IMAGE_FORMAT_QCOM"/>
465 <enum value="0x3122" name="EGL_FORMAT_RGBA_8888_QCOM"/>
466 <enum value="0x3123" name="EGL_FORMAT_RGB_565_QCOM"/>
467 <enum value="0x3124" name="EGL_FORMAT_YUYV_QCOM"/>
468 <enum value="0x3125" name="EGL_FORMAT_UYVY_QCOM"/>
469 <enum value="0x3126" name="EGL_FORMAT_YV12_QCOM"/>
470 <enum value="0x3127" name="EGL_FORMAT_NV21_QCOM"/>
471 <enum value="0x3128" name="EGL_FORMAT_NV12_TILED_QCOM"/>
472 <enum value="0x3129" name="EGL_FORMAT_BGRA_8888_QCOM"/>
473 <enum value="0x312A" name="EGL_FORMAT_BGRX_8888_QCOM"/>
474 <unused start="0x312B" end="0x312E"/>
475 <enum value="0x312F" name="EGL_FORMAT_RGBX_8888_QCOM"/>
476 </enums>
477
478 <enums namespace="EGL" start="0x3130" end="0x313F" vendor="NV" comment="Reserved for Greg Prisament (Khronos bug 5166)">
479 <unused start="0x3130"/>
480 <enum value="0x3131" name="EGL_COVERAGE_SAMPLE_RESOLVE_NV"/>
481 <enum value="0x3132" name="EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV"/>
482 <enum value="0x3133" name="EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV"/>
483 <enum value="0x3134" name="EGL_MULTIVIEW_VIEW_COUNT_EXT"/>
484 <unused start="0x3135"/>
485 <enum value="0x3136" name="EGL_AUTO_STEREO_NV"/>
486 <unused start="0x3137"/>
487 <enum value="0x3138" name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT"/>
488 <unused start="0x3139" end="0x313C"/>
489 <enum value="0x313D" name="EGL_BUFFER_AGE_KHR"/>
490 <enum value="0x313D" name="EGL_BUFFER_AGE_EXT" alias="EGL_BUFFER_AGE_KHR"/>
491 <unused start="0x313E" end="0x313F"/>
492 <enum value="0x313F" name="EGL_PLATFORM_DEVICE_EXT"/>
493 </enums>
494
495 <enums namespace="EGL" start="0x3140" end="0x314F" vendor="Google" comment="Reserved for Mathias Agopian (Khronos bug 5199)">
496 <enum value="0x3140" name="EGL_NATIVE_BUFFER_ANDROID"/>
497 <enum value="0x3141" name="EGL_PLATFORM_ANDROID_KHR"/>
498 <enum value="0x3142" name="EGL_RECORDABLE_ANDROID"/>
499 <enum value="0x3143" name="EGL_NATIVE_BUFFER_USAGE_ANDROID"/>
500 <enum value="0x3144" name="EGL_SYNC_NATIVE_FENCE_ANDROID"/>
501 <enum value="0x3145" name="EGL_SYNC_NATIVE_FENCE_FD_ANDROID"/>
502 <enum value="0x3146" name="EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID"/>
503 <enum value="0x3147" name="EGL_FRAMEBUFFER_TARGET_ANDROID"/>
504 <unused start="0x3148" end="0x314B"/>
505 <enum value="0x314C" name="EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID"/>
506 <enum value="0x314D" name="EGL_GL_COLORSPACE_DEFAULT_EXT"/>
507 <unused start="0x314E" end="0x314F"/>
508 </enums>
509
510 <enums namespace="EGL" start="0x3150" end="0x315F" vendor="NOK" comment="Reserved for Robert Palmer (Khronos bug 5368)">
511 <unused start="0x3150" end="0x315F"/>
512 </enums>
513
514 <enums namespace="EGL" start="0x3160" end="0x316F" vendor="Seaweed" comment="Reserved for Sree Sridharan (Khronos public bug 198)">
515 <unused start="0x3160" end="0x316F"/>
516 </enums>
517
518 <enums namespace="EGL" start="0x3170" end="0x318F" vendor="QNX" comment="Reserved for Joel Pilon (Khronos bug 5834)">
519 <unused start="0x3170" end="0x318F"/>
520 </enums>
521
522 <enums namespace="EGL" start="0x3190" end="0x31AF" vendor="FSL" comment="Reserved for Brian Murray, Freescale (Khronos bug 5939)">
523 <unused start="0x3190" end="0x31AF"/>
524 </enums>
525
526 <enums namespace="EGL" start="0x31B0" end="0x31BF" vendor="KHR" comment="Reserved for Marcus Lorentzon (Khronos bug 6437)">
527 <enum value="0x31B0" name="EGL_CONTEXT_OPENGL_DEBUG"/>
528 <enum value="0x31B1" name="EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE"/>
529 <enum value="0x31B2" name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS"/>
530 <enum value="0x31B3" name="EGL_CONTEXT_OPENGL_NO_ERROR_KHR"/>
531 <unused start="0x31B4" end="0x31BC" comment="0x31B3-0x31BC formerly reserved for EGL_image_stream"/>
532 <enum value="0x31BD" name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR" alias="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY"/>
533 <enum value="0x31BD" name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY"/>
534 <enum value="0x31BE" name="EGL_NO_RESET_NOTIFICATION"/>
535 <enum value="0x31BE" name="EGL_NO_RESET_NOTIFICATION_KHR" alias="EGL_NO_RESET_NOTIFICATION"/>
536 <enum value="0x31BE" name="EGL_NO_RESET_NOTIFICATION_EXT" alias="EGL_NO_RESET_NOTIFICATION"/>
537 <enum value="0x31BF" name="EGL_LOSE_CONTEXT_ON_RESET"/>
538 <enum value="0x31BF" name="EGL_LOSE_CONTEXT_ON_RESET_KHR" alias="EGL_LOSE_CONTEXT_ON_RESET"/>
539 <enum value="0x31BF" name="EGL_LOSE_CONTEXT_ON_RESET_EXT" alias="EGL_LOSE_CONTEXT_ON_RESET"/>
540 </enums>
541
542 <enums namespace="EGL" start="0x31C0" end="0x31CF" vendor="QCOM" comment="Reserved for Maurice Ribble (Khronos bug 6644) - EGL_QCOM_create_image spec">
543 <enum value="0x31C0" name="EGL_FORMAT_R8_QCOM"/>
544 <enum value="0x31C1" name="EGL_FORMAT_RG88_QCOM"/>
545 <enum value="0x31C2" name="EGL_FORMAT_NV12_QCOM"/>
546 <enum value="0x31C3" name="EGL_FORMAT_SRGBX_8888_QCOM"/>
547 <enum value="0x31C4" name="EGL_FORMAT_SRGBA_8888_QCOM"/>
548 <enum value="0x31C5" name="EGL_FORMAT_YVYU_QCOM"/>
549 <enum value="0x31C6" name="EGL_FORMAT_VYUY_QCOM"/>
550 <enum value="0x31C7" name="EGL_FORMAT_IYUV_QCOM"/>
551 <enum value="0x31C8" name="EGL_FORMAT_RGB_888_QCOM"/>
552 <enum value="0x31C9" name="EGL_FORMAT_RGBA_5551_QCOM"/>
553 <enum value="0x31CA" name="EGL_FORMAT_RGBA_4444_QCOM"/>
554 <enum value="0x31CB" name="EGL_FORMAT_R_16_FLOAT_QCOM"/>
555 <enum value="0x31CC" name="EGL_FORMAT_RG_1616_FLOAT_QCOM"/>
556 <enum value="0x31CD" name="EGL_FORMAT_RGBA_16_FLOAT_QCOM"/>
557 <enum value="0x31CE" name="EGL_FORMAT_RGBA_1010102_QCOM"/>
558 <enum value="0x31CF" name="EGL_FORMAT_FLAG_QCOM"/>
559 </enums>
560
561 <enums namespace="EGL" start="0x31D0" end="0x31DF" vendor="MESA" comment="Reserved for Kristian H&#248;gsberg (Khronos bug 6757)">
562 <enum value="0x31D0" name="EGL_DRM_BUFFER_FORMAT_MESA"/>
563 <enum value="0x31D1" name="EGL_DRM_BUFFER_USE_MESA"/>
564 <enum value="0x31D2" name="EGL_DRM_BUFFER_FORMAT_ARGB32_MESA"/>
565 <enum value="0x31D3" name="EGL_DRM_BUFFER_MESA"/>
566 <enum value="0x31D4" name="EGL_DRM_BUFFER_STRIDE_MESA"/>
567 <enum value="0x31D5" name="EGL_PLATFORM_X11_KHR"/>
568 <enum value="0x31D5" name="EGL_PLATFORM_X11_EXT" alias="EGL_PLATFORM_X11_KHR"/>
569 <enum value="0x31D6" name="EGL_PLATFORM_X11_SCREEN_KHR"/>
570 <enum value="0x31D6" name="EGL_PLATFORM_X11_SCREEN_EXT" alias="EGL_PLATFORM_X11_SCREEN_KHR"/>
571 <enum value="0x31D7" name="EGL_PLATFORM_GBM_KHR"/>
572 <enum value="0x31D7" name="EGL_PLATFORM_GBM_MESA" alias="EGL_PLATFORM_GBM_KHR"/>
573 <enum value="0x31D8" name="EGL_PLATFORM_WAYLAND_KHR"/>
574 <enum value="0x31D8" name="EGL_PLATFORM_WAYLAND_EXT" alias="EGL_PLATFORM_WAYLAND_KHR"/>
575 <enum value="0x31DC" name="EGL_PLATFORM_XCB_EXT"/>
576 <enum value="0x31DD" name="EGL_PLATFORM_SURFACELESS_MESA"/>
577 <enum value="0x31DE" name="EGL_PLATFORM_XCB_SCREEN_EXT"/>
578 <enum value="0x31DF" name="EGL_PRESENT_OPAQUE_EXT"/>
579 </enums>
580
581 <!-- Due to an oversight in development, these enums alias the above MESA
582 vendor range for EGL the X11/GBM/Wayland/surfaceless platforms.
583 They are both currently in wide use and cannot be changed, however
584 the tokens cannot be used in the same contexts and the aliasing is
585 therefore harmless. Future Wayland tokens should not create further
586 aliasing in this range.-->
587 <enums namespace="EGL" start="0x31D5" end="0x31DB" vendor="WL" comment="EGL_WL_bind_wayland_display">
588 <enum value="0x31D5" name="EGL_WAYLAND_BUFFER_WL"/>
589 <enum value="0x31D6" name="EGL_WAYLAND_PLANE_WL"/>
590 <enum value="0x31D7" name="EGL_TEXTURE_Y_U_V_WL"/>
591 <enum value="0x31D8" name="EGL_TEXTURE_Y_UV_WL"/>
592 <enum value="0x31D9" name="EGL_TEXTURE_Y_XUXV_WL"/>
593 <enum value="0x31DA" name="EGL_TEXTURE_EXTERNAL_WL"/>
594 <enum value="0x31DB" name="EGL_WAYLAND_Y_INVERTED_WL"/>
595 </enums>
596
597 <enums namespace="EGL" start="0x31E0" end="0x31EF" vendor="HI" comment="Reserved for Mark Callow (Khronos bug 6799)">
598 <unused start="0x31E0" end="0x31EF"/>
599 </enums>
600
601 <enums namespace="EGL" start="0x31F0" end="0x31FF" vendor="KHR">
602 <unused start="0x31F0" end="0x31FB" comment="Placeholders for draft extensions follow"/>
603 <!--
604 <enum value="0x31F0" name="EGL_IMAGE_USE_AS_OPENGL_ES1_RENDERBUFFER_KHR" comment="Draft KHR_image_use_gl1_renderbuffer"/>
605 <enum value="0x31F1" name="EGL_IMAGE_USE_AS_OPENGL_ES1_TEXTURE_2D_KHR" comment="Draft KHR_image_use_gl1_texture_2d"/>
606 <enum value="0x31F2" name="EGL_IMAGE_USE_AS_OPENGL_ES1_TEXTURE_EXTERNAL_KHR" comment="Draft KHR_image_use_gl1_texture_external"/>
607 <enum value="0x31F3" name="EGL_IMAGE_USE_AS_OPENGL_ES2_RENDERBUFFER_KHR" comment="Draft KHR_image_use_gl2_renderbuffer"/>
608 <enum value="0x31F4" name="EGL_IMAGE_USE_AS_OPENGL_ES2_TEXTURE_2D_KHR" comment="Draft KHR_image_use_gl2_texture_2d"/>
609 <enum value="0x31F5" name="EGL_IMAGE_USE_AS_OPENGL_ES2_TEXTURE_EXTERNAL_KHR" comment="Draft KHR_image_use_gl2_texture_external"/>
610 <enum value="0x31F6" name="EGL_IMAGE_USE_AS_OPENVG_IMAGE_KHR" comment="Draft KHR_image_use_vg_vgimage"/>
611 <enum value="0x31F7" name="EGL_STREAM_CONSUMER_ATTACHMENT_MESA" comment="Draft EGL_MESA_image_stream_internal"/>
612 <enum value="0x31F8" name="EGL_NO_FORMAT_MESA" comment="Draft EGL_MESA_image_stream_internal"/>
613 <enum value="0x31F9" name="EGL_FORMAT_RGBA8888_MESA" comment="Draft EGL_MESA_image_stream_internal"/>
614 <enum value="0x31FA" name="EGL_FORMAT_RGB888_MESA" comment="Draft EGL_MESA_image_stream_internal"/>
615 <enum value="0x31FB" name="EGL_FORMAT_RGB565_MESA" comment="Draft EGL_MESA_image_stream_internal"/>
616 -->
617 <enum value="0x31FC" name="EGL_STREAM_FIFO_LENGTH_KHR"/>
618 <enum value="0x31FD" name="EGL_STREAM_TIME_NOW_KHR"/>
619 <enum value="0x31FE" name="EGL_STREAM_TIME_CONSUMER_KHR"/>
620 <enum value="0x31FF" name="EGL_STREAM_TIME_PRODUCER_KHR"/>
621 </enums>
622
623 <enums namespace="EGL" start="0x3200" end="0x320F" vendor="ANGLE" comment="Reserved for Daniel Koch, ANGLE Project (Khronos bug 7139)">
624 <enum value="0x3200" name="EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE"/>
625 <enum value="0x3201" name="EGL_FIXED_SIZE_ANGLE"/>
626 <unused start="0x3202" end="0x320F"/>
627 </enums>
628
629 <enums namespace="EGL" start="0x3210" end="0x321F" vendor="KHR">
630 <enum value="0x3210" name="EGL_CONSUMER_LATENCY_USEC_KHR"/>
631 <unused start="0x3211"/>
632 <enum value="0x3212" name="EGL_PRODUCER_FRAME_KHR"/>
633 <enum value="0x3213" name="EGL_CONSUMER_FRAME_KHR"/>
634 <enum value="0x3214" name="EGL_STREAM_STATE_KHR"/>
635 <enum value="0x3215" name="EGL_STREAM_STATE_CREATED_KHR"/>
636 <enum value="0x3216" name="EGL_STREAM_STATE_CONNECTING_KHR"/>
637 <enum value="0x3217" name="EGL_STREAM_STATE_EMPTY_KHR"/>
638 <enum value="0x3218" name="EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR"/>
639 <enum value="0x3219" name="EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR"/>
640 <enum value="0x321A" name="EGL_STREAM_STATE_DISCONNECTED_KHR"/>
641 <enum value="0x321B" name="EGL_BAD_STREAM_KHR"/>
642 <enum value="0x321C" name="EGL_BAD_STATE_KHR"/>
643 <enum value="0x321D" name="EGL_BUFFER_COUNT_NV" comment="From EGL_NV_stream_producer_eglsurface, which has no known specification and was replaced by a KHR extension"/>
644 <enum value="0x321E" name="EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR"/>
645 <enum value="0x321F" name="EGL_SYNC_NEW_FRAME_NV"/>
646 </enums>
647
648 <enums namespace="EGL" start="0x3220" end="0x325F" vendor="NV" comment="Reserved for Greg Roth (Bug 8220)">
649 <unused start="0x3220" end="0x322A"/>
650 <enum value="0x322B" name="EGL_BAD_DEVICE_EXT"/>
651 <enum value="0x322C" name="EGL_DEVICE_EXT"/>
652 <enum value="0x322D" name="EGL_BAD_OUTPUT_LAYER_EXT"/>
653 <enum value="0x322E" name="EGL_BAD_OUTPUT_PORT_EXT"/>
654 <enum value="0x322F" name="EGL_SWAP_INTERVAL_EXT"/>
655 <enum value="0x3230" name="EGL_TRIPLE_BUFFER_NV"/>
656 <enum value="0x3231" name="EGL_QUADRUPLE_BUFFER_NV"/>
657 <unused start="0x3232"/>
658 <enum value="0x3233" name="EGL_DRM_DEVICE_FILE_EXT"/>
659 <enum value="0x3234" name="EGL_DRM_CRTC_EXT"/>
660 <enum value="0x3235" name="EGL_DRM_PLANE_EXT"/>
661 <enum value="0x3236" name="EGL_DRM_CONNECTOR_EXT"/>
662 <enum value="0x3237" name="EGL_OPENWF_DEVICE_ID_EXT"/>
663 <enum value="0x3238" name="EGL_OPENWF_PIPELINE_ID_EXT"/>
664 <enum value="0x3239" name="EGL_OPENWF_PORT_ID_EXT"/>
665 <enum value="0x323A" name="EGL_CUDA_DEVICE_NV"/>
666 <enum value="0x323B" name="EGL_CUDA_EVENT_HANDLE_NV"/>
667 <enum value="0x323C" name="EGL_SYNC_CUDA_EVENT_NV"/>
668 <enum value="0x323D" name="EGL_SYNC_CUDA_EVENT_COMPLETE_NV"/>
669 <unused start="0x323E"/>
670 <enum value="0x323F" name="EGL_STREAM_CROSS_PARTITION_NV"/>
671 <enum value="0x3240" name="EGL_STREAM_STATE_INITIALIZING_NV"/>
672 <enum value="0x3241" name="EGL_STREAM_TYPE_NV"/>
673 <enum value="0x3242" name="EGL_STREAM_PROTOCOL_NV"/>
674 <enum value="0x3243" name="EGL_STREAM_ENDPOINT_NV"/>
675 <enum value="0x3244" name="EGL_STREAM_LOCAL_NV"/>
676 <enum value="0x3245" name="EGL_STREAM_CROSS_PROCESS_NV"/>
677 <enum value="0x3246" name="EGL_STREAM_PROTOCOL_FD_NV"/>
678 <enum value="0x3247" name="EGL_STREAM_PRODUCER_NV"/>
679 <enum value="0x3248" name="EGL_STREAM_CONSUMER_NV"/>
680 <unused start="0x3239" end="0x324A"/>
681 <enum value="0x324B" name="EGL_STREAM_PROTOCOL_SOCKET_NV"/>
682 <enum value="0x324C" name="EGL_SOCKET_HANDLE_NV"/>
683 <enum value="0x324D" name="EGL_SOCKET_TYPE_NV"/>
684 <enum value="0x324E" name="EGL_SOCKET_TYPE_UNIX_NV"/>
685 <enum value="0x324F" name="EGL_SOCKET_TYPE_INET_NV"/>
686 <enum value="0x3250" name="EGL_MAX_STREAM_METADATA_BLOCKS_NV"/>
687 <enum value="0x3251" name="EGL_MAX_STREAM_METADATA_BLOCK_SIZE_NV"/>
688 <enum value="0x3252" name="EGL_MAX_STREAM_METADATA_TOTAL_SIZE_NV"/>
689 <enum value="0x3253" name="EGL_PRODUCER_METADATA_NV"/>
690 <enum value="0x3254" name="EGL_CONSUMER_METADATA_NV"/>
691 <enum value="0x3255" name="EGL_METADATA0_SIZE_NV"/>
692 <enum value="0x3256" name="EGL_METADATA1_SIZE_NV"/>
693 <enum value="0x3257" name="EGL_METADATA2_SIZE_NV"/>
694 <enum value="0x3258" name="EGL_METADATA3_SIZE_NV"/>
695 <enum value="0x3259" name="EGL_METADATA0_TYPE_NV"/>
696 <enum value="0x325A" name="EGL_METADATA1_TYPE_NV"/>
697 <enum value="0x325B" name="EGL_METADATA2_TYPE_NV"/>
698 <enum value="0x325C" name="EGL_METADATA3_TYPE_NV"/>
699 <unused start="0x325D" end="0x325F"/>
700 </enums>
701
702 <enums namespace="EGL" start="0x3260" end="0x326F" vendor="BCOM" comment="Reserved for Gary Sweet, Broadcom (Public bug 620)">
703 <unused start="0x3260" end="0x326F"/>
704 </enums>
705
706 <enums namespace="EGL" start="0x3270" end="0x328F" vendor="ARM" comment="Reserved for Tom Cooksey (Bug 9963)">
707 <enum value="0x3270" name="EGL_LINUX_DMA_BUF_EXT"/>
708 <enum value="0x3271" name="EGL_LINUX_DRM_FOURCC_EXT"/>
709 <enum value="0x3272" name="EGL_DMA_BUF_PLANE0_FD_EXT"/>
710 <enum value="0x3273" name="EGL_DMA_BUF_PLANE0_OFFSET_EXT"/>
711 <enum value="0x3274" name="EGL_DMA_BUF_PLANE0_PITCH_EXT"/>
712 <enum value="0x3275" name="EGL_DMA_BUF_PLANE1_FD_EXT"/>
713 <enum value="0x3276" name="EGL_DMA_BUF_PLANE1_OFFSET_EXT"/>
714 <enum value="0x3277" name="EGL_DMA_BUF_PLANE1_PITCH_EXT"/>
715 <enum value="0x3278" name="EGL_DMA_BUF_PLANE2_FD_EXT"/>
716 <enum value="0x3279" name="EGL_DMA_BUF_PLANE2_OFFSET_EXT"/>
717 <enum value="0x327A" name="EGL_DMA_BUF_PLANE2_PITCH_EXT"/>
718 <enum value="0x327B" name="EGL_YUV_COLOR_SPACE_HINT_EXT"/>
719 <enum value="0x327C" name="EGL_SAMPLE_RANGE_HINT_EXT"/>
720 <enum value="0x327D" name="EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT"/>
721 <enum value="0x327E" name="EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT"/>
722 <enum value="0x327F" name="EGL_ITU_REC601_EXT"/>
723 <enum value="0x3280" name="EGL_ITU_REC709_EXT"/>
724 <enum value="0x3281" name="EGL_ITU_REC2020_EXT"/>
725 <enum value="0x3282" name="EGL_YUV_FULL_RANGE_EXT"/>
726 <enum value="0x3283" name="EGL_YUV_NARROW_RANGE_EXT"/>
727 <enum value="0x3284" name="EGL_YUV_CHROMA_SITING_0_EXT"/>
728 <enum value="0x3285" name="EGL_YUV_CHROMA_SITING_0_5_EXT"/>
729 <enum value="0x3286" name="EGL_DISCARD_SAMPLES_ARM"/>
730 <enum value="0x3287" name="EGL_COLOR_COMPONENT_TYPE_UNSIGNED_INTEGER_ARM"/>
731 <enum value="0x3288" name="EGL_COLOR_COMPONENT_TYPE_INTEGER_ARM"/>
732 <unused start="0x3289" end="0x3289"/>
733 <enum value="0x328A" name="EGL_SYNC_PRIOR_COMMANDS_IMPLICIT_EXTERNAL_ARM"/>
734 <unused start="0x328B" end="0x328D"/>
735 <enum value="0x328E" name="EGL_SURFACE_COMPRESSION_PLANE1_EXT"/>
736 <enum value="0x328F" name="EGL_SURFACE_COMPRESSION_PLANE2_EXT"/>
737 </enums>
738
739 <enums namespace="EGL" start="0x3290" end="0x329F" vendor="MESA" comment="Reserved for John K&#229;re Alsaker (Public bug 757)">
740 <unused start="0x3290" end="0x329F"/>
741 </enums>
742
743 <enums namespace="EGL" start="0x32A0" end="0x32AF" vendor="Samsung" comment="Reserved for Dongyeon Kim (Public bug 880)">
744 <enum value="0x32A0" name="EGL_NATIVE_BUFFER_TIZEN"/>
745 <enum value="0x32A1" name="EGL_NATIVE_SURFACE_TIZEN"/>
746 <unused start="0x32A2" end="0x32AF"/>
747 </enums>
748
749 <enums namespace="EGL" start="0x32B0" end="0x32BF" vendor="QCOM" comment="Reserved for Jeff Vigil (Bug 10663) - EGL_QCOM_lock_image2 spec">
750 <enum value="0x32B0" name="EGL_IMAGE_NUM_PLANES_QCOM"/>
751 <enum value="0x32B1" name="EGL_IMAGE_PLANE_PITCH_0_QCOM"/>
752 <enum value="0x32B2" name="EGL_IMAGE_PLANE_PITCH_1_QCOM"/>
753 <enum value="0x32B3" name="EGL_IMAGE_PLANE_PITCH_2_QCOM"/>
754 <enum value="0x32B4" name="EGL_IMAGE_PLANE_DEPTH_0_QCOM"/>
755 <enum value="0x32B5" name="EGL_IMAGE_PLANE_DEPTH_1_QCOM"/>
756 <enum value="0x32B6" name="EGL_IMAGE_PLANE_DEPTH_2_QCOM"/>
757 <enum value="0x32B7" name="EGL_IMAGE_PLANE_WIDTH_0_QCOM"/>
758 <enum value="0x32B8" name="EGL_IMAGE_PLANE_WIDTH_1_QCOM"/>
759 <enum value="0x32B9" name="EGL_IMAGE_PLANE_WIDTH_2_QCOM"/>
760 <enum value="0x32BA" name="EGL_IMAGE_PLANE_HEIGHT_0_QCOM"/>
761 <enum value="0x32BB" name="EGL_IMAGE_PLANE_HEIGHT_1_QCOM"/>
762 <enum value="0x32BC" name="EGL_IMAGE_PLANE_HEIGHT_2_QCOM"/>
763 <enum value="0x32BD" name="EGL_IMAGE_PLANE_POINTER_0_QCOM"/>
764 <enum value="0x32BE" name="EGL_IMAGE_PLANE_POINTER_1_QCOM"/>
765 <enum value="0x32BF" name="EGL_IMAGE_PLANE_POINTER_2_QCOM"/>
766 </enums>
767
768 <enums namespace="EGL" start="0x32C0" end="0x32CF" vendor="Vivante" comment="Reserved for Yanjun Zhang (Bug 11498)">
769 <enum value="0x32C0" name="EGL_PROTECTED_CONTENT_EXT"/>
770 <unused start="0x32C1" end="0x32CF"/>
771 </enums>
772
773 <enums namespace="EGL" start="0x32D0" end="0x32EF" vendor="QCOM" comment="Reserved for Jeff Vigil (Bug 11735) - EGL_QCOM_gpu_perf spec">
774 <enum value="0x32D0" name="EGL_GPU_PERF_HINT_QCOM"/>
775 <enum value="0x32D1" name="EGL_HINT_PERSISTENT_QCOM"/>
776 <unused start="0x32D2" end="0x32EF"/>
777 </enums>
778
779 <enums namespace="EGL" start="0x32F0" end="0x32FF" vendor="BCOM" comment="Reserved for Gary Sweet, Broadcom (Bug 12870)">
780 <unused start="0x32F0" end="0x32FF"/>
781 </enums>
782
783 <enums namespace="EGL" start="0x3300" end="0x331F" vendor="QCOM" comment="Reserved for Jeff Vigil (Bugs 12973,12849) - EGL_EXT_yuv_surface spec TBD">
784 <enum value="0x3300" name="EGL_YUV_BUFFER_EXT"/>
785 <enum value="0x3301" name="EGL_YUV_ORDER_EXT"/>
786 <enum value="0x3302" name="EGL_YUV_ORDER_YUV_EXT"/>
787 <enum value="0x3303" name="EGL_YUV_ORDER_YVU_EXT"/>
788 <enum value="0x3304" name="EGL_YUV_ORDER_YUYV_EXT"/>
789 <enum value="0x3305" name="EGL_YUV_ORDER_UYVY_EXT"/>
790 <enum value="0x3306" name="EGL_YUV_ORDER_YVYU_EXT"/>
791 <enum value="0x3307" name="EGL_YUV_ORDER_VYUY_EXT"/>
792 <enum value="0x3308" name="EGL_YUV_ORDER_AYUV_EXT"/>
793 <unused start="0x3309"/>
794 <enum value="0x330A" name="EGL_YUV_CSC_STANDARD_EXT"/>
795 <enum value="0x330B" name="EGL_YUV_CSC_STANDARD_601_EXT"/>
796 <enum value="0x330C" name="EGL_YUV_CSC_STANDARD_709_EXT"/>
797 <enum value="0x330D" name="EGL_YUV_CSC_STANDARD_2020_EXT"/>
798 <unused start="0x330E" end="0x3310"/>
799 <enum value="0x3311" name="EGL_YUV_NUMBER_OF_PLANES_EXT"/>
800 <enum value="0x3312" name="EGL_YUV_SUBSAMPLE_EXT"/>
801 <enum value="0x3313" name="EGL_YUV_SUBSAMPLE_4_2_0_EXT"/>
802 <enum value="0x3314" name="EGL_YUV_SUBSAMPLE_4_2_2_EXT"/>
803 <enum value="0x3315" name="EGL_YUV_SUBSAMPLE_4_4_4_EXT"/>
804 <unused start="0x3316"/>
805 <enum value="0x3317" name="EGL_YUV_DEPTH_RANGE_EXT"/>
806 <enum value="0x3318" name="EGL_YUV_DEPTH_RANGE_LIMITED_EXT"/>
807 <enum value="0x3319" name="EGL_YUV_DEPTH_RANGE_FULL_EXT"/>
808 <enum value="0x331A" name="EGL_YUV_PLANE_BPP_EXT"/>
809 <enum value="0x331B" name="EGL_YUV_PLANE_BPP_0_EXT"/>
810 <enum value="0x331C" name="EGL_YUV_PLANE_BPP_8_EXT"/>
811 <enum value="0x331D" name="EGL_YUV_PLANE_BPP_10_EXT"/>
812 <unused start="0x331E" end="0x331F"/>
813 </enums>
814
815 <enums namespace="EGL" start="0x3320" end="0x339F" vendor="NV" comment="Reserved for James Jones (Bug 13209)">
816 <unused start="0x3320" end="0x3327"/>
817 <enum value="0x3328" name="EGL_PENDING_METADATA_NV"/>
818 <enum value="0x3329" name="EGL_PENDING_FRAME_NV"/>
819 <enum value="0x332A" name="EGL_STREAM_TIME_PENDING_NV"/>
820 <unused start="0x332B"/>
821 <enum value="0x332C" name="EGL_YUV_PLANE0_TEXTURE_UNIT_NV"/>
822 <enum value="0x332D" name="EGL_YUV_PLANE1_TEXTURE_UNIT_NV"/>
823 <enum value="0x332E" name="EGL_YUV_PLANE2_TEXTURE_UNIT_NV"/>
824 <unused start="0x332F" end="0x3333"/>
825 <enum value="0x3334" name="EGL_SUPPORT_RESET_NV"/>
826 <enum value="0x3335" name="EGL_SUPPORT_REUSE_NV"/>
827 <enum value="0x3336" name="EGL_STREAM_FIFO_SYNCHRONOUS_NV"/>
828 <enum value="0x3337" name="EGL_PRODUCER_MAX_FRAME_HINT_NV"/>
829 <enum value="0x3338" name="EGL_CONSUMER_MAX_FRAME_HINT_NV"/>
830 <enum value="0x3339" name="EGL_COLOR_COMPONENT_TYPE_EXT"/>
831 <enum value="0x333A" name="EGL_COLOR_COMPONENT_TYPE_FIXED_EXT"/>
832 <enum value="0x333B" name="EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT"/>
833 <enum value="0x333C" name="EGL_DRM_MASTER_FD_EXT"/>
834 <enum value="0x333D" name="EGL_OPENWF_DEVICE_EXT"/>
835 <unused start="0x333E"/>
836 <enum value="0x333F" name="EGL_GL_COLORSPACE_BT2020_LINEAR_EXT"/>
837 <enum value="0x3340" name="EGL_GL_COLORSPACE_BT2020_PQ_EXT"/>
838 <enum value="0x3341" name="EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT"/>
839 <enum value="0x3342" name="EGL_SMPTE2086_DISPLAY_PRIMARY_RY_EXT"/>
840 <enum value="0x3343" name="EGL_SMPTE2086_DISPLAY_PRIMARY_GX_EXT"/>
841 <enum value="0x3344" name="EGL_SMPTE2086_DISPLAY_PRIMARY_GY_EXT"/>
842 <enum value="0x3345" name="EGL_SMPTE2086_DISPLAY_PRIMARY_BX_EXT"/>
843 <enum value="0x3346" name="EGL_SMPTE2086_DISPLAY_PRIMARY_BY_EXT"/>
844 <enum value="0x3347" name="EGL_SMPTE2086_WHITE_POINT_X_EXT"/>
845 <enum value="0x3348" name="EGL_SMPTE2086_WHITE_POINT_Y_EXT"/>
846 <enum value="0x3349" name="EGL_SMPTE2086_MAX_LUMINANCE_EXT"/>
847 <enum value="0x334A" name="EGL_SMPTE2086_MIN_LUMINANCE_EXT"/>
848 <enum value="50000" name="EGL_METADATA_SCALING_EXT"/>
849 <unused start="0x334B"/>
850 <enum value="0x334C" name="EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV"/>
851 <enum value="0x334D" name="EGL_STREAM_CROSS_OBJECT_NV"/>
852 <enum value="0x334E" name="EGL_STREAM_CROSS_DISPLAY_NV"/>
853 <enum value="0x334F" name="EGL_STREAM_CROSS_SYSTEM_NV"/>
854 <enum value="0x3350" name="EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT"/>
855 <enum value="0x3351" name="EGL_GL_COLORSPACE_SCRGB_EXT"/>
856 <enum value="0x3352" name="EGL_TRACK_REFERENCES_KHR"/>
857 <unused start="0x3353" end="0x3356"/>
858 <enum value="0x3357" name="EGL_CONTEXT_PRIORITY_REALTIME_NV"/>
859 <unused start="0x3358" end="0x335B"/>
860 <enum value="0x335C" name="EGL_DEVICE_UUID_EXT"/>
861 <enum value="0x335D" name="EGL_DRIVER_UUID_EXT"/>
862 <enum value="0x335E" name="EGL_DRIVER_NAME_EXT"/>
863 <enum value="0x335F" name="EGL_RENDERER_EXT"/>
864 <enum value="0x3360" name="EGL_CTA861_3_MAX_CONTENT_LIGHT_LEVEL_EXT"/>
865 <enum value="0x3361" name="EGL_CTA861_3_MAX_FRAME_AVERAGE_LEVEL_EXT"/>
866 <enum value="0x3362" name="EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT"/>
867 <enum value="0x3363" name="EGL_GL_COLORSPACE_DISPLAY_P3_EXT"/>
868 <enum value="0x3364" name="EGL_SYNC_CLIENT_EXT"/>
869 <enum value="0x3365" name="EGL_SYNC_CLIENT_SIGNAL_EXT"/>
870 <enum value="0x3366" name="EGL_STREAM_FRAME_ORIGIN_X_NV"/>
871 <enum value="0x3367" name="EGL_STREAM_FRAME_ORIGIN_Y_NV"/>
872 <enum value="0x3368" name="EGL_STREAM_FRAME_MAJOR_AXIS_NV"/>
873 <enum value="0x3369" name="EGL_CONSUMER_AUTO_ORIENTATION_NV"/>
874 <enum value="0x336A" name="EGL_PRODUCER_AUTO_ORIENTATION_NV"/>
875 <enum value="0x336B" name="EGL_LEFT_NV"/>
876 <enum value="0x336C" name="EGL_RIGHT_NV"/>
877 <enum value="0x336D" name="EGL_TOP_NV"/>
878 <enum value="0x336E" name="EGL_BOTTOM_NV"/>
879 <enum value="0x336F" name="EGL_X_AXIS_NV"/>
880 <enum value="0x3370" name="EGL_Y_AXIS_NV"/>
881 <enum value="0x3371" name="EGL_STREAM_DMA_NV"/>
882 <enum value="0x3372" name="EGL_STREAM_DMA_SERVER_NV"/>
883 <enum value="0x3373" name="EGL_STREAM_CONSUMER_IMAGE_NV"/>
884 <enum value="0x3374" name="EGL_STREAM_IMAGE_ADD_NV"/>
885 <enum value="0x3375" name="EGL_STREAM_IMAGE_REMOVE_NV"/>
886 <enum value="0x3376" name="EGL_STREAM_IMAGE_AVAILABLE_NV"/>
887 <enum value="0x3377" name="EGL_DRM_RENDER_NODE_FILE_EXT"/>
888 <enum value="0x3378" name="EGL_STREAM_CONSUMER_IMAGE_USE_SCANOUT_NV" />
889 <unused start="0x3379" end="0x339F"/>
890 </enums>
891
892 <enums namespace="EGL" start="0x33A0" end="0x33AF" vendor="ANGLE" comment="Reserved for Shannon Woods (Bug 13175)">
893 <enum value="0x33A0" name="EGL_D3D9_DEVICE_ANGLE"/>
894 <enum value="0x33A1" name="EGL_D3D11_DEVICE_ANGLE"/>
895 <unused start="0x33A2" end="0x33AF"/>
896 </enums>
897
898 <enums namespace="EGL" start="0x33B0" end="0x33BF" vendor="KHR" comment="Reserved for EGL_KHR_debug / Jeff Vigil (Bug 13357)">
899 <enum value="0x33B0" name="EGL_OBJECT_THREAD_KHR"/>
900 <enum value="0x33B1" name="EGL_OBJECT_DISPLAY_KHR"/>
901 <enum value="0x33B2" name="EGL_OBJECT_CONTEXT_KHR"/>
902 <enum value="0x33B3" name="EGL_OBJECT_SURFACE_KHR"/>
903 <enum value="0x33B4" name="EGL_OBJECT_IMAGE_KHR"/>
904 <enum value="0x33B5" name="EGL_OBJECT_SYNC_KHR"/>
905 <enum value="0x33B6" name="EGL_OBJECT_STREAM_KHR"/>
906 <unused start="0x33B7"/>
907 <enum value="0x33B8" name="EGL_DEBUG_CALLBACK_KHR"/>
908 <enum value="0x33B9" name="EGL_DEBUG_MSG_CRITICAL_KHR"/>
909 <enum value="0x33BA" name="EGL_DEBUG_MSG_ERROR_KHR"/>
910 <enum value="0x33BB" name="EGL_DEBUG_MSG_WARN_KHR"/>
911 <enum value="0x33BC" name="EGL_DEBUG_MSG_INFO_KHR"/>
912 <unused start="0x33BD" end="0x33BF"/>
913 </enums>
914
915 <enums namespace="EGL" start="0x33C0" end="0x33DF" vendor="BCOM" comment="Reserved for Gary Sweet (Bug 12203)">
916 <unused start="0x33C0" end="0x33DF"/>
917 </enums>
918
919 <enums namespace="EGL" start="0x33E0" end="0x342F" vendor="QCOM" comment="EGL_QCOM_create_image and EGL_QCOM_lock_image2">
920 <enum value="0x33E0" name="EGL_FORMAT_FLAG_UBWC_QCOM"/>
921 <enum value="0x33E1" name="EGL_FORMAT_FLAG_MACROTILE_QCOM"/>
922 <enum value="0x33E2" name="EGL_FORMAT_ASTC_4X4_QCOM"/>
923 <enum value="0x33E3" name="EGL_FORMAT_ASTC_5X4_QCOM"/>
924 <enum value="0x33E4" name="EGL_FORMAT_ASTC_5X5_QCOM"/>
925 <enum value="0x33E5" name="EGL_FORMAT_ASTC_6X5_QCOM"/>
926 <enum value="0x33E6" name="EGL_FORMAT_ASTC_6X6_QCOM"/>
927 <enum value="0x33E7" name="EGL_FORMAT_ASTC_8X5_QCOM"/>
928 <enum value="0x33E8" name="EGL_FORMAT_ASTC_8X6_QCOM"/>
929 <enum value="0x33E9" name="EGL_FORMAT_ASTC_8X8_QCOM"/>
930 <enum value="0x33EA" name="EGL_FORMAT_ASTC_10X5_QCOM"/>
931 <enum value="0x33EB" name="EGL_FORMAT_ASTC_10X6_QCOM"/>
932 <enum value="0x33EC" name="EGL_FORMAT_ASTC_10X8_QCOM"/>
933 <enum value="0x33ED" name="EGL_FORMAT_ASTC_10X10_QCOM"/>
934 <enum value="0x33EE" name="EGL_FORMAT_ASTC_12X10_QCOM"/>
935 <enum value="0x33EF" name="EGL_FORMAT_ASTC_12X12_QCOM"/>
936 <enum value="0x3400" name="EGL_FORMAT_ASTC_4X4_SRGB_QCOM"/>
937 <enum value="0x3401" name="EGL_FORMAT_ASTC_5X4_SRGB_QCOM"/>
938 <enum value="0x3402" name="EGL_FORMAT_ASTC_5X5_SRGB_QCOM"/>
939 <enum value="0x3403" name="EGL_FORMAT_ASTC_6X5_SRGB_QCOM"/>
940 <enum value="0x3404" name="EGL_FORMAT_ASTC_6X6_SRGB_QCOM"/>
941 <enum value="0x3405" name="EGL_FORMAT_ASTC_8X5_SRGB_QCOM"/>
942 <enum value="0x3406" name="EGL_FORMAT_ASTC_8X6_SRGB_QCOM"/>
943 <enum value="0x3407" name="EGL_FORMAT_ASTC_8X8_SRGB_QCOM"/>
944 <enum value="0x3408" name="EGL_FORMAT_ASTC_10X5_SRGB_QCOM"/>
945 <enum value="0x3409" name="EGL_FORMAT_ASTC_10X6_SRGB_QCOM"/>
946 <enum value="0x340A" name="EGL_FORMAT_ASTC_10X8_SRGB_QCOM"/>
947 <enum value="0x340B" name="EGL_FORMAT_ASTC_10X10_SRGB_QCOM"/>
948 <enum value="0x340C" name="EGL_FORMAT_ASTC_12X10_SRGB_QCOM"/>
949 <enum value="0x340D" name="EGL_FORMAT_ASTC_12X12_SRGB_QCOM"/>
950 <enum value="0x340E" name="EGL_FORMAT_TP10_QCOM"/>
951 <enum value="0x340F" name="EGL_FORMAT_NV12_Y_QCOM"/>
952 <enum value="0x3410" name="EGL_FORMAT_NV12_UV_QCOM"/>
953 <enum value="0x3411" name="EGL_FORMAT_NV21_VU_QCOM"/>
954 <enum value="0x3412" name="EGL_FORMAT_NV12_4R_QCOM"/>
955 <enum value="0x3413" name="EGL_FORMAT_NV12_4R_Y_QCOM"/>
956 <enum value="0x3414" name="EGL_FORMAT_NV12_4R_UV_QCOM"/>
957 <enum value="0x3415" name="EGL_FORMAT_P010_QCOM"/>
958 <enum value="0x3416" name="EGL_FORMAT_P010_Y_QCOM"/>
959 <enum value="0x3417" name="EGL_FORMAT_P010_UV_QCOM"/>
960 <enum value="0x3418" name="EGL_FORMAT_TP10_Y_QCOM"/>
961 <enum value="0x3419" name="EGL_FORMAT_TP10_UV_QCOM"/>
962 <unused start="0x341A" end="0x341F"/>
963 <enum value="0x3420" name="EGL_GENERIC_TOKEN_1_QCOM"/>
964 <enum value="0x3421" name="EGL_GENERIC_TOKEN_2_QCOM"/>
965 <enum value="0x3422" name="EGL_GENERIC_TOKEN_3_QCOM"/>
966 <unused start="0x3423" end="0x342F"/>
967 </enums>
968
969 <enums namespace="EGL" start="0x3430" end="0x343F" vendor="ANDROID" comment="Reserved for Pablo Ceballos (Bug 15874)">
970 <enum value="EGL_CAST(EGLnsecsANDROID,-2)" name="EGL_TIMESTAMP_PENDING_ANDROID"/>
971 <enum value="EGL_CAST(EGLnsecsANDROID,-1)" name="EGL_TIMESTAMP_INVALID_ANDROID"/>
972 <enum value="0x3430" name="EGL_TIMESTAMPS_ANDROID"/>
973 <enum value="0x3431" name="EGL_COMPOSITE_DEADLINE_ANDROID"/>
974 <enum value="0x3432" name="EGL_COMPOSITE_INTERVAL_ANDROID"/>
975 <enum value="0x3433" name="EGL_COMPOSITE_TO_PRESENT_LATENCY_ANDROID"/>
976 <enum value="0x3434" name="EGL_REQUESTED_PRESENT_TIME_ANDROID"/>
977 <enum value="0x3435" name="EGL_RENDERING_COMPLETE_TIME_ANDROID"/>
978 <enum value="0x3436" name="EGL_COMPOSITION_LATCH_TIME_ANDROID"/>
979 <enum value="0x3437" name="EGL_FIRST_COMPOSITION_START_TIME_ANDROID"/>
980 <enum value="0x3438" name="EGL_LAST_COMPOSITION_START_TIME_ANDROID"/>
981 <enum value="0x3439" name="EGL_FIRST_COMPOSITION_GPU_FINISHED_TIME_ANDROID"/>
982 <enum value="0x343A" name="EGL_DISPLAY_PRESENT_TIME_ANDROID"/>
983 <enum value="0x343B" name="EGL_DEQUEUE_READY_TIME_ANDROID"/>
984 <enum value="0x343C" name="EGL_READS_DONE_TIME_ANDROID"/>
985 <unused start="0x343D" end="0x343F"/>
986 </enums>
987
988 <enums namespace="EGL" start="0x3440" end="0x344F" vendor="ANDROID" comment="Reserved for Kristian Kristensen (Bug 16033)">
989 <enum value="0x3440" name="EGL_DMA_BUF_PLANE3_FD_EXT"/>
990 <enum value="0x3441" name="EGL_DMA_BUF_PLANE3_OFFSET_EXT"/>
991 <enum value="0x3442" name="EGL_DMA_BUF_PLANE3_PITCH_EXT"/>
992 <enum value="0x3443" name="EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT"/>
993 <enum value="0x3444" name="EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT"/>
994 <enum value="0x3445" name="EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT"/>
995 <enum value="0x3446" name="EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT"/>
996 <enum value="0x3447" name="EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT"/>
997 <enum value="0x3448" name="EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT"/>
998 <enum value="0x3449" name="EGL_DMA_BUF_PLANE3_MODIFIER_LO_EXT"/>
999 <enum value="0x344A" name="EGL_DMA_BUF_PLANE3_MODIFIER_HI_EXT"/>
1000 <unused start="0x344B" end="0x344F"/>
1001 </enums>
1002
1003 <enums namespace="EGL" start="0x3450" end="0x345F" vendor="ANGLE" comment="Reserved for Shannon Woods (Bug 16106)">
1004 <unused start="0x3450" end="0x345F"/>
1005 </enums>
1006
1007 <enums namespace="EGL" start="0x3460" end="0x346F" vendor="COREAVI" comment="Reserved for Daniel Herring (Bug 16162)">
1008 <enum value="0x3460" name="EGL_PRIMARY_COMPOSITOR_CONTEXT_EXT"/>
1009 <enum value="0x3461" name="EGL_EXTERNAL_REF_ID_EXT"/>
1010 <enum value="0x3462" name="EGL_COMPOSITOR_DROP_NEWEST_FRAME_EXT"/>
1011 <enum value="0x3463" name="EGL_COMPOSITOR_KEEP_NEWEST_FRAME_EXT"/>
1012 <enum value="0x3464" name="EGL_FRONT_BUFFER_EXT"/>
1013 <unused start="0x3465" end="0x346F"/>
1014 </enums>
1015
1016 <enums namespace="EGL" start="0x3470" end="0x347F" vendor="EXT" comment="Reserved for Daniel Stone (PR 14)">
1017 <enum value="0x3470" name="EGL_IMPORT_SYNC_TYPE_EXT"/>
1018 <enum value="0x3471" name="EGL_IMPORT_IMPLICIT_SYNC_EXT"/>
1019 <enum value="0x3472" name="EGL_IMPORT_EXPLICIT_SYNC_EXT"/>
1020 </enums>
1021 <enums namespace="EGL" start="0x3480" end="0x348F" vendor="ANGLE" comment="Reserved for Courtney Goeltzenleuchter - ANGLE (gitlab EGL bug 7)">
1022 <unused start="0x3480" end="0x348F"/>
1023 </enums>
1024 <enums namespace="EGL" start="0x3490" end="0x349F" vendor="EXT" comment="Reserved for Courtney Goeltzenleuchter - Android (gitlab EGL bug 69)">
1025 <enum value="0x3490" name="EGL_GL_COLORSPACE_DISPLAY_P3_PASSTHROUGH_EXT"/>
1026 <unused start="0x3491" end="0x349F"/>
1027 </enums>
1028 <enums namespace="EGL" start="0x34A0" end="0x34AF" vendor="ANGLE" comment="Reserved for Ken Russell - ANGLE (via github pull request)">
1029 <unused start="0x34A0" end="0x34AF"/>
1030 </enums>
1031
1032 <enums namespace="EGL" start="0x34B0" end="0x34BF" vendor="ARM" comment="Reserved for Jan-Harald Fredriksen (via github pull request)">
1033 <enum value="0x34B0" name="EGL_SURFACE_COMPRESSION_EXT"/>
1034 <enum value="0x34B1" name="EGL_SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT"/>
1035 <enum value="0x34B2" name="EGL_SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT"/>
1036 <unused start="0x34B3" end="0x34B3"/>
1037 <enum value="0x34B4" name="EGL_SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXT"/>
1038 <enum value="0x34B5" name="EGL_SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXT"/>
1039 <enum value="0x34B6" name="EGL_SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXT"/>
1040 <enum value="0x34B7" name="EGL_SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXT"/>
1041 <enum value="0x34B8" name="EGL_SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXT"/>
1042 <enum value="0x34B9" name="EGL_SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXT"/>
1043 <enum value="0x34BA" name="EGL_SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXT"/>
1044 <enum value="0x34BB" name="EGL_SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXT"/>
1045 <enum value="0x34BC" name="EGL_SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXT"/>
1046 <enum value="0x34BD" name="EGL_SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXT"/>
1047 <enum value="0x34BE" name="EGL_SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXT"/>
1048 <enum value="0x34BF" name="EGL_SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXT"/>
1049 </enums>
1050
1051 <enums namespace="EGL" start="0x34C0" end="0x34CF" vendor="EXT" comment="Reserved for Robert Mader (PR 124)">
1052 <enum value="0x34C0" name="EGL_CONFIG_SELECT_GROUP_EXT"/>
1053 <unused start="0x34C1" end="0x34CF"/>
1054 </enums>
1055
1056 <enums namespace="EGL" start="0x34D0" end="0x34DF" vendor="ANGLE" comment="Reserved for Peng Huang - ANGLE (via github pull request)">
1057 <unused start="0x34D0" end="0x34DF"/>
1058 </enums>
1059
1060 <enums namespace="EGL" start="0x34E0" end="0x34EF" vendor="Huawei" comment="Reserved for Openharmony OS (via github pull request)">
1061 <unused start="0x34E0" end="0x34EF"/>
1062 </enums>
1063
1064 <enums namespace="EGL" start="0x34F0" end="0x34FF" vendor="ANGLE" comment="Reserved for Ken Russell - ANGLE (via github pull request)">
1065 <unused start="0x34F0" end="0x34FF"/>
1066 </enums>
1067
1068 <enums namespace="EGL" start="0x3500" end="0x352F" vendor="COREAVI" comment="Reserved for Daniel Herring (via github pull request)">
1069 <unused start="0x3500" end="0x352F"/>
1070 </enums>
1071
1072 <enums namespace="EGL" start="0x3530" end="0x353F" vendor="MESA" comment="Reserved for Simon Zeni (PR 165)">
1073 <enum value="0x3530" name="EGL_GL_TEXTURE_CUBE_MAP_MESA"/>
1074 <unused start="0x3531" end="0x353F"/>
1075 </enums>
1076
1077 <enums namespace="EGL" start="0x3540" end="0x354F" vendor="EXT" comment="Reserved for Chris Glover (EGL_EXT_gl_colorspace_bt2020)">
1078 <enum value="0x3540" name="EGL_GL_COLORSPACE_BT2020_HLG_EXT"/>
1079 <unused start="0x3541" end="0x354F"/>
1080 </enums>
1081
1082 <enums namespace="EGL" start="0x3550" end="0x355F" vendor="QNX" comment="Reserved for Mike Gorchak of QNX (QNX platform and native buffer)">
1083 <enum value="0x3550" name="EGL_PLATFORM_SCREEN_QNX"/>
1084 <enum value="0x3551" name="EGL_NATIVE_BUFFER_QNX"/>
1085 <unused start="0x3552" end="0x355F"/>
1086 </enums>
1087
1088<!-- Please remember that new enumerant allocations must be obtained by
1089 request to the Khronos API registrar (see comments at the top of this
1090 file) File requests in the Khronos Bugzilla, EGL project, Registry
1091 component. Also note that some EGL enum values are shared with other
1092 Khronos APIs, and new ranges should be allocated with such overlaps in
1093 mind. -->
1094
1095<!-- Reservable for future use. To generate a new range, allocate multiples
1096 of 16 starting at the lowest available point in this block. -->
1097 <enums namespace="EGL" start="0x3560" end="0x3FFF" vendor="KHR" comment="Reserved for future use">
1098 <unused start="0x3560" end="0x3FFF"/>
1099 </enums>
1100
1101 <enums namespace="EGL" start="0x8F70" end="0x8F7F" vendor="HI" comment="For Mark Callow, Khronos bug 4055. Shared with GL.">
1102 <enum value="0x8F70" name="EGL_COLOR_FORMAT_HI"/>
1103 <enum value="0x8F71" name="EGL_COLOR_RGB_HI"/>
1104 <enum value="0x8F72" name="EGL_COLOR_RGBA_HI"/>
1105 <enum value="0x8F73" name="EGL_COLOR_ARGB_HI"/>
1106 <enum value="0x8F74" name="EGL_CLIENT_PIXMAP_POINTER_HI"/>
1107 </enums>
1108
1109 <!-- SECTION: EGL command definitions. -->
1110 <commands namespace="EGL">
1111 <command>
1112 <proto><ptype>EGLBoolean</ptype> <name>eglBindAPI</name></proto>
1113 <param><ptype>EGLenum</ptype> <name>api</name></param>
1114 </command>
1115 <command>
1116 <proto><ptype>EGLBoolean</ptype> <name>eglBindTexImage</name></proto>
1117 <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1118 <param><ptype>EGLSu