• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<registry>
3    <!--
4    Copyright (c) 2013-2017 The Khronos Group Inc.
5
6    Permission is hereby granted, free of charge, to any person obtaining a
7    copy of this software and/or associated documentation files (the
8    "Materials"), to deal in the Materials without restriction, including
9    without limitation the rights to use, copy, modify, merge, publish,
10    distribute, sublicense, and/or sell copies of the Materials, and to
11    permit persons to whom the Materials are furnished to do so, subject to
12    the following conditions:
13
14    The above copyright notice and this permission notice shall be included
15    in all copies or substantial portions of the Materials.
16
17    THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23    MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
24    -->
25    <!--
26    This file, egl.xml, is the EGL API Registry. The older ".spec" file
27    format has been retired and will no longer be updated with new
28    extensions and API versions. The canonical version of the registry,
29    together with documentation, schema, and Python generator scripts used
30    to generate C header files for EGL, can be found in the Khronos Registry
31    at
32        https://www.github.com/KhronosGroup/EGL-Registry
33    -->
34
35    <!-- SECTION: EGL type definitions. Does not include GL types. -->
36    <types>
37            <!-- These are dependencies EGL types require to be declared legally -->
38        <type name="khrplatform">#include &lt;KHR/khrplatform.h&gt;</type>
39        <type name="eglplatform" requires="khrplatform">#include &lt;EGL/eglplatform.h&gt;</type>
40        <type name="khronos_utime_nanoseconds_t" requires="khrplatform"/>
41        <type name="khronos_uint64_t" requires="khrplatform"/>
42        <type name="khronos_ssize_t" requires="khrplatform"/>
43        <type name="EGLNativeDisplayType" requires="eglplatform"/>
44        <type name="EGLNativePixmapType" requires="eglplatform"/>
45        <type name="EGLNativeWindowType" requires="eglplatform"/>
46        <type name="EGLint" requires="eglplatform"/>
47        <type name="NativeDisplayType" requires="eglplatform"/>
48        <type name="NativePixmapType" requires="eglplatform"/>
49        <type name="NativeWindowType" requires="eglplatform"/>
50        <!-- Dummy placeholders for non-EGL types -->
51        <type name="Bool"/>
52            <!-- These are actual EGL types.  -->
53        <type>typedef unsigned int <name>EGLBoolean</name>;</type>
54        <type>typedef unsigned int <name>EGLenum</name>;</type>
55        <type requires="khrplatform">typedef intptr_t <name>EGLAttribKHR</name>;</type>
56        <type requires="khrplatform">typedef intptr_t <name>EGLAttrib</name>;</type>
57        <type>typedef void *<name>EGLClientBuffer</name>;</type>
58        <type>typedef void *<name>EGLConfig</name>;</type>
59        <type>typedef void *<name>EGLContext</name>;</type>
60        <type>typedef void *<name>EGLDeviceEXT</name>;</type>
61        <type>typedef void *<name>EGLDisplay</name>;</type>
62        <type>typedef void *<name>EGLImage</name>;</type>
63        <type>typedef void *<name>EGLImageKHR</name>;</type>
64        <type>typedef void *<name>EGLLabelKHR</name>;</type>
65        <type>typedef void *<name>EGLObjectKHR</name>;</type>
66        <type>typedef void *<name>EGLOutputLayerEXT</name>;</type>
67        <type>typedef void *<name>EGLOutputPortEXT</name>;</type>
68        <type>typedef void *<name>EGLStreamKHR</name>;</type>
69        <type>typedef void *<name>EGLSurface</name>;</type>
70        <type>typedef void *<name>EGLSync</name>;</type>
71        <type>typedef void *<name>EGLSyncKHR</name>;</type>
72        <type>typedef void *<name>EGLSyncNV</name>;</type>
73        <type>typedef void (*<name>__eglMustCastToProperFunctionPointerType</name>)(void);</type>
74        <type requires="khrplatform">typedef khronos_utime_nanoseconds_t <name>EGLTimeKHR</name>;</type>
75        <type requires="khrplatform">typedef khronos_utime_nanoseconds_t <name>EGLTime</name>;</type>
76        <type requires="khrplatform">typedef khronos_utime_nanoseconds_t <name>EGLTimeNV</name>;</type>
77        <type requires="khrplatform">typedef khronos_utime_nanoseconds_t <name>EGLuint64NV</name>;</type>
78        <type requires="khrplatform">typedef khronos_uint64_t <name>EGLuint64KHR</name>;</type>
79        <type requires="khrplatform">typedef khronos_stime_nanoseconds_t <name>EGLnsecsANDROID</name>;</type>
80        <type>typedef int <name>EGLNativeFileDescriptorKHR</name>;</type>
81        <type requires="khrplatform">typedef khronos_ssize_t <name>EGLsizeiANDROID</name>;</type>
82        <type requires="EGLsizeiANDROID">typedef void (*<name>EGLSetBlobFuncANDROID</name>) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize);</type>
83        <type requires="EGLsizeiANDROID">typedef EGLsizeiANDROID (*<name>EGLGetBlobFuncANDROID</name>) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize);</type>
84        <type>struct <name>EGLClientPixmapHI</name> {
85    void  *pData;
86    EGLint iWidth;
87    EGLint iHeight;
88    EGLint iStride;
89};</type>
90        <type>typedef void (<apientry/> *<name>EGLDEBUGPROCKHR</name>)(EGLenum error,const char *command,EGLint messageType,EGLLabelKHR threadLabel,EGLLabelKHR objectLabel,const char* message);</type>
91    </types>
92
93    <!-- SECTION: EGL enumerant (token) definitions. -->
94
95    <!-- Bitmasks each have their own namespace, as do a few other
96         categories of enumeration -->
97
98    <enums namespace="EGLSurfaceTypeMask" type="bitmask" comment="EGL_SURFACE_TYPE bits">
99        <enum value="0x0001" name="EGL_PBUFFER_BIT"/>
100        <enum value="0x0002" name="EGL_PIXMAP_BIT"/>
101        <enum value="0x0004" name="EGL_WINDOW_BIT"/>
102        <enum value="0x0008" name="EGL_PBUFFER_IMAGE_BIT_TAO" comment="Unreleased TAO extension"/>
103        <enum value="0x0010" name="EGL_PBUFFER_PALETTE_IMAGE_BIT_TAO" comment="Unreleased TAO extension"/>
104        <enum value="0x0020" name="EGL_VG_COLORSPACE_LINEAR_BIT"/>
105        <enum value="0x0020" name="EGL_VG_COLORSPACE_LINEAR_BIT_KHR"/>
106        <enum value="0x0040" name="EGL_VG_ALPHA_FORMAT_PRE_BIT"/>
107        <enum value="0x0040" name="EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR"/>
108        <enum value="0x0080" name="EGL_LOCK_SURFACE_BIT_KHR"/>
109        <enum value="0x0100" name="EGL_OPTIMAL_FORMAT_BIT_KHR"/>
110        <enum value="0x0200" name="EGL_MULTISAMPLE_RESOLVE_BOX_BIT"/>
111        <enum value="0x0400" name="EGL_SWAP_BEHAVIOR_PRESERVED_BIT"/>
112        <enum value="0x0800" name="EGL_STREAM_BIT_KHR"/>
113            <!--
114        <enum value="0x0800"      name="EGL_STREAM_BIT_NV" comment="Draft EGL_NV_stream_producer_eglsurface extension (bug 8064)"/>
115            -->
116        <enum value="0x1000" name="EGL_MUTABLE_RENDER_BUFFER_BIT_KHR"/>
117    </enums>
118
119    <enums namespace="EGLRenderableTypeMask" type="bitmask" comment="EGL_RENDERABLE_TYPE bits">
120        <enum value="0x0001" name="EGL_OPENGL_ES_BIT"/>
121        <enum value="0x0002" name="EGL_OPENVG_BIT"/>
122        <enum value="0x0004" name="EGL_OPENGL_ES2_BIT"/>
123        <enum value="0x0008" name="EGL_OPENGL_BIT"/>
124        <enum value="0x0010" name="EGL_INTEROP_BIT_KHR" comment="EGL_KHR_interop"/>
125        <enum value="0x0020" name="EGL_OPENMAX_IL_BIT_KHR" comment="EGL_KHR_interop"/>
126        <enum value="0x00000040" name="EGL_OPENGL_ES3_BIT"/>
127        <enum value="0x00000040" name="EGL_OPENGL_ES3_BIT_KHR" alias="EGL_OPENGL_ES3_BIT"/>
128    </enums>
129
130    <enums namespace="EGLLockUsageHintKHRMask" type="bitmask" comment="EGL_LOCK_USAGE_HINT_KHR bits">
131        <enum value="0x0001" name="EGL_READ_SURFACE_BIT_KHR"/>
132        <enum value="0x0002" name="EGL_WRITE_SURFACE_BIT_KHR"/>
133    </enums>
134
135    <enums namespace="EGLNativeBufferUsageFlags" type="bitmask" comment="EGL_NATIVE_BUFFER_USAGE_ANDROID bits">
136        <enum value="0x00000001" name="EGL_NATIVE_BUFFER_USAGE_PROTECTED_BIT_ANDROID"/>
137        <enum value="0x00000002" name="EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID"/>
138        <enum value="0x00000004" name="EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID"/>
139    </enums>
140
141    <enums namespace="EGLSyncFlagsKHR" type="bitmask" comment="Fence/reusable sync wait bits">
142        <enum value="0x0001" name="EGL_SYNC_FLUSH_COMMANDS_BIT"/>
143        <enum value="0x0001" name="EGL_SYNC_FLUSH_COMMANDS_BIT_KHR" alias="EGL_SYNC_FLUSH_COMMANDS_BIT"/>
144        <enum value="0x0001" name="EGL_SYNC_FLUSH_COMMANDS_BIT_NV" alias="EGL_SYNC_FLUSH_COMMANDS_BIT"/>
145    </enums>
146
147    <enums namespace="EGLDRMBufferUseMESAMask" type="bitmask" comment="EGL_DRM_BUFFER_USE_MESA bits">
148        <enum value="0x00000001" name="EGL_DRM_BUFFER_USE_SCANOUT_MESA"/>
149        <enum value="0x00000002" name="EGL_DRM_BUFFER_USE_SHARE_MESA"/>
150    </enums>
151
152    <!-- Should be shared with GL, but aren't aren't since the
153         FORWARD_COMPATIBLE and DEBUG_BIT values are swapped in the
154         corresponding GL enums. Oops :-( -->
155    <enums namespace="EGLContextFlagMask" type="bitmask" comment="EGL_CONTEXT_FLAGS_KHR bits">
156        <enum value="0x00000001" name="EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR"/>
157        <enum value="0x00000002" name="EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR"/>
158        <enum value="0x00000004" name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR"/>
159    </enums>
160
161    <enums namespace="EGLContextProfileMask" type="bitmask" comment="Shared with GL">
162        <enum value="0x00000001" name="EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT"/>
163        <enum value="0x00000001" name="EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR" alias="EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT"/>
164        <enum value="0x00000002" name="EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT"/>
165        <enum value="0x00000002" name="EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR" alias="EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT"/>
166    </enums>
167
168    <!-- The default ("API") enum namespace starts here. While some
169         assigned values may overlap, and different parts of the
170         namespace are reserved for different purposes, it is a single
171         namespace. The "class" attribute indicates some of the reserved
172         purposes but is by no means complete (and cannot be, since many
173         tokens are reused for different purposes in different
174         extensions and API versions). -->
175
176    <enums namespace="EGL" start="0x0000" end="0x2FFF" vendor="KHR" comment="Reserved for enumerants shared with WGL, GLX, and GL">
177        <enum value="0" name="EGL_CONTEXT_RELEASE_BEHAVIOR_NONE_KHR"/>
178        <enum value="0x2097" name="EGL_CONTEXT_RELEASE_BEHAVIOR_KHR"/>
179        <enum value="0x2098" name="EGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR"/>
180    </enums>
181
182    <enums namespace="EGL" group="Boolean" vendor="ARB">
183        <enum value="0" name="EGL_FALSE"/>
184        <enum value="1" name="EGL_TRUE"/>
185    </enums>
186
187    <enums namespace="EGL" group="SpecialNumbers" vendor="ARB" comment="Tokens whose numeric value is intrinsically meaningful">
188        <enum value="EGL_CAST(EGLint,-1)" name="EGL_DONT_CARE"/>
189        <enum value="EGL_CAST(EGLint,-1)" name="EGL_UNKNOWN"/>
190        <enum value="-1" name="EGL_NO_NATIVE_FENCE_FD_ANDROID"/>
191        <enum value="0" name="EGL_DEPTH_ENCODING_NONE_NV"/>
192        <enum value="EGL_CAST(EGLContext,0)" name="EGL_NO_CONTEXT"/>
193        <enum value="EGL_CAST(EGLDeviceEXT,0)" name="EGL_NO_DEVICE_EXT"/>
194        <enum value="EGL_CAST(EGLDisplay,0)" name="EGL_NO_DISPLAY"/>
195        <enum value="EGL_CAST(EGLImage,0)" name="EGL_NO_IMAGE"/>
196        <enum value="EGL_CAST(EGLImageKHR,0)" name="EGL_NO_IMAGE_KHR"/>
197        <enum value="EGL_CAST(EGLNativeDisplayType,0)" name="EGL_DEFAULT_DISPLAY"/>
198        <enum value="EGL_CAST(EGLNativeFileDescriptorKHR,-1)" name="EGL_NO_FILE_DESCRIPTOR_KHR"/>
199        <enum value="EGL_CAST(EGLOutputLayerEXT,0)" name="EGL_NO_OUTPUT_LAYER_EXT"/>
200        <enum value="EGL_CAST(EGLOutputPortEXT,0)" name="EGL_NO_OUTPUT_PORT_EXT"/>
201        <enum value="EGL_CAST(EGLStreamKHR,0)" name="EGL_NO_STREAM_KHR"/>
202        <enum value="EGL_CAST(EGLSurface,0)" name="EGL_NO_SURFACE"/>
203        <enum value="EGL_CAST(EGLSync,0)" name="EGL_NO_SYNC"/>
204        <enum value="EGL_CAST(EGLSyncKHR,0)" name="EGL_NO_SYNC_KHR" alias="EGL_NO_SYNC"/>
205        <enum value="EGL_CAST(EGLSyncNV,0)" name="EGL_NO_SYNC_NV" alias="EGL_NO_SYNC"/>
206        <enum value="EGL_CAST(EGLConfig,0)" name="EGL_NO_CONFIG_KHR"/>
207        <enum value="10000" name="EGL_DISPLAY_SCALING"/>
208        <enum value="0xFFFFFFFFFFFFFFFF" name="EGL_FOREVER" type="ull"/>
209        <enum value="0xFFFFFFFFFFFFFFFF" name="EGL_FOREVER_KHR" type="ull" alias="EGL_FOREVER"/>
210        <enum value="0xFFFFFFFFFFFFFFFF" name="EGL_FOREVER_NV" type="ull" alias="EGL_FOREVER"/>
211    </enums>
212
213    <enums namespace="EGL" start="0x3000" end="0x305F" vendor="KHR">
214        <enum value="0x3000" name="EGL_SUCCESS"/>
215        <enum value="0x3001" name="EGL_NOT_INITIALIZED"/>
216        <enum value="0x3002" name="EGL_BAD_ACCESS"/>
217        <enum value="0x3003" name="EGL_BAD_ALLOC"/>
218        <enum value="0x3004" name="EGL_BAD_ATTRIBUTE"/>
219        <enum value="0x3005" name="EGL_BAD_CONFIG"/>
220        <enum value="0x3006" name="EGL_BAD_CONTEXT"/>
221        <enum value="0x3007" name="EGL_BAD_CURRENT_SURFACE"/>
222        <enum value="0x3008" name="EGL_BAD_DISPLAY"/>
223        <enum value="0x3009" name="EGL_BAD_MATCH"/>
224        <enum value="0x300A" name="EGL_BAD_NATIVE_PIXMAP"/>
225        <enum value="0x300B" name="EGL_BAD_NATIVE_WINDOW"/>
226        <enum value="0x300C" name="EGL_BAD_PARAMETER"/>
227        <enum value="0x300D" name="EGL_BAD_SURFACE"/>
228        <enum value="0x300E" name="EGL_CONTEXT_LOST"/>
229            <unused start="0x300F" end="0x301F" comment="for additional errors"/>
230        <enum value="0x3020" name="EGL_BUFFER_SIZE"/>
231        <enum value="0x3021" name="EGL_ALPHA_SIZE"/>
232        <enum value="0x3022" name="EGL_BLUE_SIZE"/>
233        <enum value="0x3023" name="EGL_GREEN_SIZE"/>
234        <enum value="0x3024" name="EGL_RED_SIZE"/>
235        <enum value="0x3025" name="EGL_DEPTH_SIZE"/>
236        <enum value="0x3026" name="EGL_STENCIL_SIZE"/>
237        <enum value="0x3027" name="EGL_CONFIG_CAVEAT"/>
238        <enum value="0x3028" name="EGL_CONFIG_ID"/>
239        <enum value="0x3029" name="EGL_LEVEL"/>
240        <enum value="0x302A" name="EGL_MAX_PBUFFER_HEIGHT"/>
241        <enum value="0x302B" name="EGL_MAX_PBUFFER_PIXELS"/>
242        <enum value="0x302C" name="EGL_MAX_PBUFFER_WIDTH"/>
243        <enum value="0x302D" name="EGL_NATIVE_RENDERABLE"/>
244        <enum value="0x302E" name="EGL_NATIVE_VISUAL_ID"/>
245        <enum value="0x302F" name="EGL_NATIVE_VISUAL_TYPE"/>
246        <enum value="0x3031" name="EGL_SAMPLES"/>
247        <enum value="0x3032" name="EGL_SAMPLE_BUFFERS"/>
248        <enum value="0x3033" name="EGL_SURFACE_TYPE"/>
249        <enum value="0x3034" name="EGL_TRANSPARENT_TYPE"/>
250        <enum value="0x3035" name="EGL_TRANSPARENT_BLUE_VALUE"/>
251        <enum value="0x3036" name="EGL_TRANSPARENT_GREEN_VALUE"/>
252        <enum value="0x3037" name="EGL_TRANSPARENT_RED_VALUE"/>
253        <enum value="0x3038" name="EGL_NONE" comment="Attribute list terminator"/>
254        <enum value="0x3039" name="EGL_BIND_TO_TEXTURE_RGB"/>
255        <enum value="0x303A" name="EGL_BIND_TO_TEXTURE_RGBA"/>
256        <enum value="0x303B" name="EGL_MIN_SWAP_INTERVAL"/>
257        <enum value="0x303C" name="EGL_MAX_SWAP_INTERVAL"/>
258        <enum value="0x303D" name="EGL_LUMINANCE_SIZE"/>
259        <enum value="0x303E" name="EGL_ALPHA_MASK_SIZE"/>
260        <enum value="0x303F" name="EGL_COLOR_BUFFER_TYPE"/>
261        <enum value="0x3040" name="EGL_RENDERABLE_TYPE"/>
262        <enum value="0x3041" name="EGL_MATCH_NATIVE_PIXMAP"/>
263        <enum value="0x3042" name="EGL_CONFORMANT"/>
264        <enum value="0x3042" name="EGL_CONFORMANT_KHR"/>
265        <enum value="0x3043" name="EGL_MATCH_FORMAT_KHR"/>
266            <unused start="0x3044" end="0x304F" comment="for additional config attributes"/>
267        <enum value="0x3050" name="EGL_SLOW_CONFIG"/>
268        <enum value="0x3051" name="EGL_NON_CONFORMANT_CONFIG"/>
269        <enum value="0x3052" name="EGL_TRANSPARENT_RGB"/>
270        <enum value="0x3053" name="EGL_VENDOR"/>
271        <enum value="0x3054" name="EGL_VERSION"/>
272        <enum value="0x3055" name="EGL_EXTENSIONS"/>
273        <enum value="0x3056" name="EGL_HEIGHT"/>
274        <enum value="0x3057" name="EGL_WIDTH"/>
275        <enum value="0x3058" name="EGL_LARGEST_PBUFFER"/>
276        <enum value="0x3059" name="EGL_DRAW"/>
277        <enum value="0x305A" name="EGL_READ"/>
278        <enum value="0x305B" name="EGL_CORE_NATIVE_ENGINE"/>
279        <enum value="0x305C" name="EGL_NO_TEXTURE"/>
280        <enum value="0x305D" name="EGL_TEXTURE_RGB"/>
281        <enum value="0x305E" name="EGL_TEXTURE_RGBA"/>
282        <enum value="0x305F" name="EGL_TEXTURE_2D"/>
283    </enums>
284
285    <enums namespace="EGL" start="0x3060-0x306F" vendor="TAO" comment="Reserved for Phil Huxley">
286        <unused start="0x3060" end="0x306F"/>
287    </enums>
288
289    <enums namespace="EGL" start="0x3070-0x307F" vendor="NOK" comment="Reserved for Jani Vaarala">
290        <unused start="0x3070" end="0x307E"/>
291        <enum value="0x307F" name="EGL_Y_INVERTED_NOK"/>
292    </enums>
293
294    <enums namespace="EGL" start="0x3080-0x30AF" vendor="KHR">
295        <enum value="0x3080" name="EGL_TEXTURE_FORMAT"/>
296        <enum value="0x3081" name="EGL_TEXTURE_TARGET"/>
297        <enum value="0x3082" name="EGL_MIPMAP_TEXTURE"/>
298        <enum value="0x3083" name="EGL_MIPMAP_LEVEL"/>
299        <enum value="0x3084" name="EGL_BACK_BUFFER"/>
300        <enum value="0x3085" name="EGL_SINGLE_BUFFER"/>
301        <enum value="0x3086" name="EGL_RENDER_BUFFER"/>
302        <enum value="0x3087" name="EGL_COLORSPACE" alias="EGL_VG_COLORSPACE"/>
303        <enum value="0x3087" name="EGL_VG_COLORSPACE"/>
304        <enum value="0x3088" name="EGL_ALPHA_FORMAT" alias="EGL_VG_ALPHA_FORMAT"/>
305        <enum value="0x3088" name="EGL_VG_ALPHA_FORMAT"/>
306        <enum value="0x3089" name="EGL_COLORSPACE_sRGB"/>
307        <enum value="0x3089" name="EGL_GL_COLORSPACE_SRGB" alias="EGL_COLORSPACE_sRGB"/>
308        <enum value="0x3089" name="EGL_GL_COLORSPACE_SRGB_KHR" alias="EGL_COLORSPACE_sRGB"/>
309        <enum value="0x3089" name="EGL_VG_COLORSPACE_sRGB" alias="EGL_COLORSPACE_sRGB"/>
310        <enum value="0x308A" name="EGL_COLORSPACE_LINEAR"/>
311        <enum value="0x308A" name="EGL_GL_COLORSPACE_LINEAR" alias="EGL_COLORSPACE_LINEAR"/>
312        <enum value="0x308A" name="EGL_GL_COLORSPACE_LINEAR_KHR" alias="EGL_COLORSPACE_LINEAR"/>
313        <enum value="0x308A" name="EGL_VG_COLORSPACE_LINEAR" alias="EGL_COLORSPACE_LINEAR"/>
314        <enum value="0x308B" name="EGL_ALPHA_FORMAT_NONPRE" alias="EGL_VG_ALPHA_FORMAT_NONPRE"/>
315        <enum value="0x308B" name="EGL_VG_ALPHA_FORMAT_NONPRE"/>
316        <enum value="0x308C" name="EGL_ALPHA_FORMAT_PRE" alias="EGL_VG_ALPHA_FORMAT_PRE"/>
317        <enum value="0x308C" name="EGL_VG_ALPHA_FORMAT_PRE"/>
318        <enum value="0x308D" name="EGL_CLIENT_APIS"/>
319        <enum value="0x308E" name="EGL_RGB_BUFFER"/>
320        <enum value="0x308F" name="EGL_LUMINANCE_BUFFER"/>
321        <enum value="0x3090" name="EGL_HORIZONTAL_RESOLUTION"/>
322        <enum value="0x3091" name="EGL_VERTICAL_RESOLUTION"/>
323        <enum value="0x3092" name="EGL_PIXEL_ASPECT_RATIO"/>
324        <enum value="0x3093" name="EGL_SWAP_BEHAVIOR"/>
325        <enum value="0x3094" name="EGL_BUFFER_PRESERVED"/>
326        <enum value="0x3095" name="EGL_BUFFER_DESTROYED"/>
327        <enum value="0x3096" name="EGL_OPENVG_IMAGE"/>
328        <enum value="0x3097" name="EGL_CONTEXT_CLIENT_TYPE"/>
329        <enum value="0x3098" name="EGL_CONTEXT_CLIENT_VERSION"/>
330        <enum value="0x3098" name="EGL_CONTEXT_MAJOR_VERSION" alias="EGL_CONTEXT_CLIENT_VERSION"/>
331        <enum value="0x3098" name="EGL_CONTEXT_MAJOR_VERSION_KHR" alias="EGL_CONTEXT_CLIENT_VERSION"/>
332        <enum value="0x3099" name="EGL_MULTISAMPLE_RESOLVE"/>
333        <enum value="0x309A" name="EGL_MULTISAMPLE_RESOLVE_DEFAULT"/>
334        <enum value="0x309B" name="EGL_MULTISAMPLE_RESOLVE_BOX"/>
335        <enum value="0x309C" name="EGL_CL_EVENT_HANDLE"/>
336        <enum value="0x309C" name="EGL_CL_EVENT_HANDLE_KHR" alias="EGL_CL_EVENT_HANDLE"/>
337        <enum value="0x309D" name="EGL_GL_COLORSPACE"/>
338        <enum value="0x309D" name="EGL_GL_COLORSPACE_KHR" alias="EGL_GL_COLORSPACE"/>
339            <unused start="0x309E" end="0x309F"/>
340        <enum value="0x30A0" name="EGL_OPENGL_ES_API"/>
341        <enum value="0x30A1" name="EGL_OPENVG_API"/>
342        <enum value="0x30A2" name="EGL_OPENGL_API"/>
343            <unused start="0x30A3" end="0x30AF" comment="for additional client API names"/>
344    </enums>
345
346    <enums namespace="EGL" start="0x30B0-0x30BF" vendor="NV" comment="Reserved for Ignacio Llamas">
347        <enum value="0x30B0" name="EGL_NATIVE_PIXMAP_KHR"/>
348        <enum value="0x30B1" name="EGL_GL_TEXTURE_2D"/>
349        <enum value="0x30B1" name="EGL_GL_TEXTURE_2D_KHR" alias="EGL_GL_TEXTURE_2D"/>
350        <enum value="0x30B2" name="EGL_GL_TEXTURE_3D"/>
351        <enum value="0x30B2" name="EGL_GL_TEXTURE_3D_KHR" alias="EGL_GL_TEXTURE_3D"/>
352        <enum value="0x30B3" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X"/>
353        <enum value="0x30B3" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X"/>
354        <enum value="0x30B4" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X"/>
355        <enum value="0x30B4" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X"/>
356        <enum value="0x30B5" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y"/>
357        <enum value="0x30B5" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y"/>
358        <enum value="0x30B6" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y"/>
359        <enum value="0x30B6" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y"/>
360        <enum value="0x30B7" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z"/>
361        <enum value="0x30B7" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z"/>
362        <enum value="0x30B8" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z"/>
363        <enum value="0x30B8" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z"/>
364        <enum value="0x30B9" name="EGL_GL_RENDERBUFFER"/>
365        <enum value="0x30B9" name="EGL_GL_RENDERBUFFER_KHR" alias="EGL_GL_RENDERBUFFER"/>
366        <enum value="0x30BA" name="EGL_VG_PARENT_IMAGE_KHR"/>
367        <enum value="0x30BC" name="EGL_GL_TEXTURE_LEVEL"/>
368        <enum value="0x30BC" name="EGL_GL_TEXTURE_LEVEL_KHR" alias="EGL_GL_TEXTURE_LEVEL"/>
369        <enum value="0x30BD" name="EGL_GL_TEXTURE_ZOFFSET"/>
370        <enum value="0x30BD" name="EGL_GL_TEXTURE_ZOFFSET_KHR" alias="EGL_GL_TEXTURE_ZOFFSET"/>
371        <enum value="0x30BE" name="EGL_POST_SUB_BUFFER_SUPPORTED_NV"/>
372        <enum value="0x30BF" name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT"/>
373    </enums>
374
375    <enums namespace="EGL" start="0x30C0-0x30CF" vendor="KHR">
376        <enum value="0x30C0" name="EGL_FORMAT_RGB_565_EXACT_KHR"/>
377        <enum value="0x30C1" name="EGL_FORMAT_RGB_565_KHR"/>
378        <enum value="0x30C2" name="EGL_FORMAT_RGBA_8888_EXACT_KHR"/>
379        <enum value="0x30C3" name="EGL_FORMAT_RGBA_8888_KHR"/>
380        <enum value="0x30C4" name="EGL_MAP_PRESERVE_PIXELS_KHR"/>
381        <enum value="0x30C5" name="EGL_LOCK_USAGE_HINT_KHR"/>
382        <enum value="0x30C6" name="EGL_BITMAP_POINTER_KHR"/>
383        <enum value="0x30C7" name="EGL_BITMAP_PITCH_KHR"/>
384        <enum value="0x30C8" name="EGL_BITMAP_ORIGIN_KHR"/>
385        <enum value="0x30C9" name="EGL_BITMAP_PIXEL_RED_OFFSET_KHR"/>
386        <enum value="0x30CA" name="EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR"/>
387        <enum value="0x30CB" name="EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR"/>
388        <enum value="0x30CC" name="EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR"/>
389        <enum value="0x30CD" name="EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR"/>
390        <enum value="0x30CE" name="EGL_LOWER_LEFT_KHR"/>
391        <enum value="0x30CF" name="EGL_UPPER_LEFT_KHR"/>
392    </enums>
393
394    <enums namespace="EGL" start="0x30D0" end="0x30DF" vendor="Symbian" comment="Reserved for Robert Palmer (bug #2545)">
395            <unused start="0x30D0" end="0x30D1"/>
396        <enum value="0x30D2" name="EGL_IMAGE_PRESERVED"/>
397        <enum value="0x30D2" name="EGL_IMAGE_PRESERVED_KHR"/>
398            <unused start="0x30D3" end="0x30D9"/>
399        <enum value="0x30DA" name="EGL_SHARED_IMAGE_NOK" comment="Unreleased extension"/>
400            <unused start="0x30DB" end="0x30DF"/>
401    </enums>
402
403    <enums namespace="EGL" start="0x30E0" end="0x30EF" vendor="NV" comment="Reserved for Russell Pflughaupt (bug #3314)">
404        <enum value="0x30E0" name="EGL_COVERAGE_BUFFERS_NV"/>
405        <enum value="0x30E1" name="EGL_COVERAGE_SAMPLES_NV"/>
406        <enum value="0x30E2" name="EGL_DEPTH_ENCODING_NV"/>
407        <enum value="0x30E3" name="EGL_DEPTH_ENCODING_NONLINEAR_NV"/>
408            <unused start="0x30E4" end="0x30E5"/>
409        <enum value="0x30E6" name="EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV"/>
410        <enum value="0x30E7" name="EGL_SYNC_STATUS_NV"/>
411        <enum value="0x30E8" name="EGL_SIGNALED_NV"/>
412        <enum value="0x30E9" name="EGL_UNSIGNALED_NV"/>
413        <enum value="0x30EA" name="EGL_ALREADY_SIGNALED_NV"/>
414        <enum value="0x30EB" name="EGL_TIMEOUT_EXPIRED_NV"/>
415        <enum value="0x30EC" name="EGL_CONDITION_SATISFIED_NV"/>
416        <enum value="0x30ED" name="EGL_SYNC_TYPE_NV"/>
417        <enum value="0x30EE" name="EGL_SYNC_CONDITION_NV"/>
418        <enum value="0x30EF" name="EGL_SYNC_FENCE_NV"/>
419    </enums>
420
421    <enums namespace="EGL" start="0x30F0" end="0x30FF" vendor="KHR">
422        <enum value="0x30F0" name="EGL_SYNC_PRIOR_COMMANDS_COMPLETE"/>
423        <enum value="0x30F0" name="EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR" alias="EGL_SYNC_PRIOR_COMMANDS_COMPLETE"/>
424        <enum value="0x30F1" name="EGL_SYNC_STATUS"/>
425        <enum value="0x30F1" name="EGL_SYNC_STATUS_KHR" alias="EGL_SYNC_STATUS"/>
426        <enum value="0x30F2" name="EGL_SIGNALED"/>
427        <enum value="0x30F2" name="EGL_SIGNALED_KHR" alias="EGL_SIGNALED"/>
428        <enum value="0x30F3" name="EGL_UNSIGNALED"/>
429        <enum value="0x30F3" name="EGL_UNSIGNALED_KHR" alias="EGL_UNSIGNALED"/>
430        <enum value="0x30F5" name="EGL_TIMEOUT_EXPIRED"/>
431        <enum value="0x30F5" name="EGL_TIMEOUT_EXPIRED_KHR" alias="EGL_TIMEOUT_EXPIRED"/>
432        <enum value="0x30F6" name="EGL_CONDITION_SATISFIED"/>
433        <enum value="0x30F6" name="EGL_CONDITION_SATISFIED_KHR" alias="EGL_CONDITION_SATISFIED"/>
434        <enum value="0x30F7" name="EGL_SYNC_TYPE"/>
435        <enum value="0x30F7" name="EGL_SYNC_TYPE_KHR" alias="EGL_SYNC_TYPE"/>
436        <enum value="0x30F8" name="EGL_SYNC_CONDITION"/>
437        <enum value="0x30F8" name="EGL_SYNC_CONDITION_KHR" alias="EGL_SYNC_CONDITION"/>
438        <enum value="0x30F9" name="EGL_SYNC_FENCE"/>
439        <enum value="0x30F9" name="EGL_SYNC_FENCE_KHR" alias="EGL_SYNC_FENCE"/>
440        <enum value="0x30FA" name="EGL_SYNC_REUSABLE_KHR"/>
441        <enum value="0x30FB" name="EGL_CONTEXT_MINOR_VERSION"/>
442        <enum value="0x30FB" name="EGL_CONTEXT_MINOR_VERSION_KHR" alias="EGL_CONTEXT_MINOR_VERSION"/>
443        <enum value="0x30FC" name="EGL_CONTEXT_FLAGS_KHR"/>
444        <enum value="0x30FD" name="EGL_CONTEXT_OPENGL_PROFILE_MASK"/>
445        <enum value="0x30FD" name="EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR" alias="EGL_CONTEXT_OPENGL_PROFILE_MASK"/>
446        <enum value="0x30FE" name="EGL_SYNC_CL_EVENT"/>
447        <enum value="0x30FE" name="EGL_SYNC_CL_EVENT_KHR" alias="EGL_SYNC_CL_EVENT"/>
448        <enum value="0x30FF" name="EGL_SYNC_CL_EVENT_COMPLETE"/>
449        <enum value="0x30FF" name="EGL_SYNC_CL_EVENT_COMPLETE_KHR" alias="EGL_SYNC_CL_EVENT_COMPLETE"/>
450    </enums>
451
452    <enums namespace="EGL" start="0x3100" end="0x310F" vendor="IMG" comment="Reserved for Ben Bowman (Khronos bug 4748)">
453        <enum value="0x3100" name="EGL_CONTEXT_PRIORITY_LEVEL_IMG"/>
454        <enum value="0x3101" name="EGL_CONTEXT_PRIORITY_HIGH_IMG"/>
455        <enum value="0x3102" name="EGL_CONTEXT_PRIORITY_MEDIUM_IMG"/>
456        <enum value="0x3103" name="EGL_CONTEXT_PRIORITY_LOW_IMG"/>
457            <unused start="0x3104"/>
458        <enum value="0x3105" name="EGL_NATIVE_BUFFER_MULTIPLANE_SEPARATE_IMG"/>
459        <enum value="0x3106" name="EGL_NATIVE_BUFFER_PLANE_OFFSET_IMG"/>
460            <unused start="0x3107" end="0x310F"/>
461    </enums>
462
463    <enums namespace="EGL" start="0x3110" end="0x311F" vendor="ATX" comment="Reserved for Tim Renouf, Antix (Khronos bug 4949)">
464        <enum value="0x3110" name="EGL_BITMAP_PIXEL_SIZE_KHR"/>
465            <unused start="0x3111" end="0x311F"/>
466    </enums>
467
468    <enums namespace="EGL" start="0x3120" end="0x312F" vendor="AMD" comment="Reserved for David Garcia (Khronos bug 5149)">
469            <unused start="0x3120" end="0x312F"/>
470    </enums>
471
472    <enums namespace="EGL" start="0x3130" end="0x313F" vendor="NV" comment="Reserved for Greg Prisament (Khronos bug 5166)">
473            <unused start="0x3130"/>
474        <enum value="0x3131" name="EGL_COVERAGE_SAMPLE_RESOLVE_NV"/>
475        <enum value="0x3132" name="EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV"/>
476        <enum value="0x3133" name="EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV"/>
477        <enum value="0x3134" name="EGL_MULTIVIEW_VIEW_COUNT_EXT"/>
478            <unused start="0x3135"/>
479        <enum value="0x3136" name="EGL_AUTO_STEREO_NV"/>
480            <unused start="0x3137"/>
481        <enum value="0x3138" name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT"/>
482            <unused start="0x3139" end="0x313C"/>
483        <enum value="0x313D" name="EGL_BUFFER_AGE_KHR"/>
484        <enum value="0x313D" name="EGL_BUFFER_AGE_EXT" alias="EGL_BUFFER_AGE_KHR"/>
485            <unused start="0x313E" end="0x313F"/>
486        <enum value="0x313F" name="EGL_PLATFORM_DEVICE_EXT"/>
487    </enums>
488
489    <enums namespace="EGL" start="0x3140" end="0x314F" vendor="Google" comment="Reserved for Mathias Agopian (Khronos bug 5199)">
490        <enum value="0x3140" name="EGL_NATIVE_BUFFER_ANDROID"/>
491        <enum value="0x3141" name="EGL_PLATFORM_ANDROID_KHR"/>
492        <enum value="0x3142" name="EGL_RECORDABLE_ANDROID"/>
493        <enum value="0x3143" name="EGL_NATIVE_BUFFER_USAGE_ANDROID"/>
494        <enum value="0x3144" name="EGL_SYNC_NATIVE_FENCE_ANDROID"/>
495        <enum value="0x3145" name="EGL_SYNC_NATIVE_FENCE_FD_ANDROID"/>
496        <enum value="0x3146" name="EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID"/>
497        <enum value="0x3147" name="EGL_FRAMEBUFFER_TARGET_ANDROID"/>
498            <unused start="0x3148" end="0x314B"/>
499        <enum value="0x314C"     name="EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID"/>
500            <unused start="0x314D" end="0x314F"/>
501    </enums>
502
503    <enums namespace="EGL" start="0x3150" end="0x315F" vendor="NOK" comment="Reserved for Robert Palmer (Khronos bug 5368)">
504            <unused start="0x3150" end="0x315F"/>
505    </enums>
506
507    <enums namespace="EGL" start="0x3160" end="0x316F" vendor="Seaweed" comment="Reserved for Sree Sridharan (Khronos public bug 198)">
508            <unused start="0x3160" end="0x316F"/>
509    </enums>
510
511    <enums namespace="EGL" start="0x3170" end="0x318F" vendor="QNX" comment="Reserved for Joel Pilon (Khronos bug 5834)">
512            <unused start="0x3170" end="0x318F"/>
513    </enums>
514
515    <enums namespace="EGL" start="0x3190" end="0x31AF" vendor="FSL" comment="Reserved for Brian Murray, Freescale (Khronos bug 5939)">
516            <unused start="0x3190" end="0x31AF"/>
517    </enums>
518
519    <enums namespace="EGL" start="0x31B0" end="0x31BF" vendor="KHR" comment="Reserved for Marcus Lorentzon (Khronos bug 6437)">
520        <enum value="0x31B0" name="EGL_CONTEXT_OPENGL_DEBUG"/>
521        <enum value="0x31B1" name="EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE"/>
522        <enum value="0x31B2" name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS"/>
523        <enum value="0x31B3" name="EGL_CONTEXT_OPENGL_NO_ERROR_KHR"/>
524            <unused start="0x31B4" end="0x31BC" comment="0x31B3-0x31BC formerly reserved for EGL_image_stream"/>
525        <enum value="0x31BD" name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR" alias="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY"/>
526        <enum value="0x31BD" name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY"/>
527        <enum value="0x31BE" name="EGL_NO_RESET_NOTIFICATION"/>
528        <enum value="0x31BE" name="EGL_NO_RESET_NOTIFICATION_KHR" alias="EGL_NO_RESET_NOTIFICATION"/>
529        <enum value="0x31BE" name="EGL_NO_RESET_NOTIFICATION_EXT" alias="EGL_NO_RESET_NOTIFICATION"/>
530        <enum value="0x31BF" name="EGL_LOSE_CONTEXT_ON_RESET"/>
531        <enum value="0x31BF" name="EGL_LOSE_CONTEXT_ON_RESET_KHR" alias="EGL_LOSE_CONTEXT_ON_RESET"/>
532        <enum value="0x31BF" name="EGL_LOSE_CONTEXT_ON_RESET_EXT" alias="EGL_LOSE_CONTEXT_ON_RESET"/>
533    </enums>
534
535    <enums namespace="EGL" start="0x31C0" end="0x31CF" vendor="QCOM" comment="Reserved for Maurice Ribble (Khronos bug 6644) - EGL_QCOM_create_image spec TBD">
536            <unused start="0x31C0" end="0x31CF"/>
537    </enums>
538
539    <enums namespace="EGL" start="0x31D0" end="0x31DF" vendor="MESA" comment="Reserved for Kristian H&#248;gsberg (Khronos bug 6757)">
540        <enum value="0x31D0" name="EGL_DRM_BUFFER_FORMAT_MESA"/>
541        <enum value="0x31D1" name="EGL_DRM_BUFFER_USE_MESA"/>
542        <enum value="0x31D2" name="EGL_DRM_BUFFER_FORMAT_ARGB32_MESA"/>
543        <enum value="0x31D3" name="EGL_DRM_BUFFER_MESA"/>
544        <enum value="0x31D4" name="EGL_DRM_BUFFER_STRIDE_MESA"/>
545        <enum value="0x31D5" name="EGL_PLATFORM_X11_KHR"/>
546        <enum value="0x31D5" name="EGL_PLATFORM_X11_EXT" alias="EGL_PLATFORM_X11_KHR"/>
547        <enum value="0x31D6" name="EGL_PLATFORM_X11_SCREEN_KHR"/>
548        <enum value="0x31D6" name="EGL_PLATFORM_X11_SCREEN_EXT" alias="EGL_PLATFORM_X11_SCREEN_KHR"/>
549        <enum value="0x31D7" name="EGL_PLATFORM_GBM_KHR"/>
550        <enum value="0x31D7" name="EGL_PLATFORM_GBM_MESA" alias="EGL_PLATFORM_GBM_KHR"/>
551        <enum value="0x31D8" name="EGL_PLATFORM_WAYLAND_KHR"/>
552        <enum value="0x31D8" name="EGL_PLATFORM_WAYLAND_EXT" alias="EGL_PLATFORM_WAYLAND_KHR"/>
553            <unused start="0x31D9" end="0x31DC"/>
554        <enum value="0x31DD" name="EGL_PLATFORM_SURFACELESS_MESA"/>
555            <unused start="0x31DE" end="0x31DF"/>
556    </enums>
557
558    <enums namespace="EGL" start="0x31E0" end="0x31EF" vendor="HI" comment="Reserved for Mark Callow (Khronos bug 6799)">
559            <unused start="0x31E0" end="0x31EF"/>
560    </enums>
561
562    <enums namespace="EGL" start="0x31F0" end="0x31FF" vendor="KHR">
563            <unused start="0x31F0" end="0x31FB" comment="Placeholders for draft extensions follow"/>
564        <!--
565            <enum value="0x31F0" name="EGL_IMAGE_USE_AS_OPENGL_ES1_RENDERBUFFER_KHR"        comment="Draft KHR_image_use_gl1_renderbuffer"/>
566            <enum value="0x31F1" name="EGL_IMAGE_USE_AS_OPENGL_ES1_TEXTURE_2D_KHR"          comment="Draft KHR_image_use_gl1_texture_2d"/>
567            <enum value="0x31F2" name="EGL_IMAGE_USE_AS_OPENGL_ES1_TEXTURE_EXTERNAL_KHR"    comment="Draft KHR_image_use_gl1_texture_external"/>
568            <enum value="0x31F3" name="EGL_IMAGE_USE_AS_OPENGL_ES2_RENDERBUFFER_KHR"        comment="Draft KHR_image_use_gl2_renderbuffer"/>
569            <enum value="0x31F4" name="EGL_IMAGE_USE_AS_OPENGL_ES2_TEXTURE_2D_KHR"          comment="Draft KHR_image_use_gl2_texture_2d"/>
570            <enum value="0x31F5" name="EGL_IMAGE_USE_AS_OPENGL_ES2_TEXTURE_EXTERNAL_KHR"    comment="Draft KHR_image_use_gl2_texture_external"/>
571            <enum value="0x31F6" name="EGL_IMAGE_USE_AS_OPENVG_IMAGE_KHR"                   comment="Draft KHR_image_use_vg_vgimage"/>
572            <enum value="0x31F7" name="EGL_STREAM_CONSUMER_ATTACHMENT_MESA"                 comment="Draft EGL_MESA_image_stream_internal"/>
573            <enum value="0x31F8" name="EGL_NO_FORMAT_MESA"                                  comment="Draft EGL_MESA_image_stream_internal"/>
574            <enum value="0x31F9" name="EGL_FORMAT_RGBA8888_MESA"                            comment="Draft EGL_MESA_image_stream_internal"/>
575            <enum value="0x31FA" name="EGL_FORMAT_RGB888_MESA"                              comment="Draft EGL_MESA_image_stream_internal"/>
576            <enum value="0x31FB" name="EGL_FORMAT_RGB565_MESA"                              comment="Draft EGL_MESA_image_stream_internal"/>
577        -->
578        <enum value="0x31FC" name="EGL_STREAM_FIFO_LENGTH_KHR"/>
579        <enum value="0x31FD" name="EGL_STREAM_TIME_NOW_KHR"/>
580        <enum value="0x31FE" name="EGL_STREAM_TIME_CONSUMER_KHR"/>
581        <enum value="0x31FF" name="EGL_STREAM_TIME_PRODUCER_KHR"/>
582    </enums>
583
584    <enums namespace="EGL" start="0x3200" end="0x320F" vendor="ANGLE" comment="Reserved for Daniel Koch, ANGLE Project (Khronos bug 7139)">
585        <enum value="0x3200" name="EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE"/>
586        <enum value="0x3201" name="EGL_FIXED_SIZE_ANGLE"/>
587            <unused start="0x3202" end="0x320F"/>
588    </enums>
589
590    <enums namespace="EGL" start="0x3210" end="0x321F" vendor="KHR">
591        <enum value="0x3210" name="EGL_CONSUMER_LATENCY_USEC_KHR"/>
592            <unused start="0x3211"/>
593        <enum value="0x3212" name="EGL_PRODUCER_FRAME_KHR"/>
594        <enum value="0x3213" name="EGL_CONSUMER_FRAME_KHR"/>
595        <enum value="0x3214" name="EGL_STREAM_STATE_KHR"/>
596        <enum value="0x3215" name="EGL_STREAM_STATE_CREATED_KHR"/>
597        <enum value="0x3216" name="EGL_STREAM_STATE_CONNECTING_KHR"/>
598        <enum value="0x3217" name="EGL_STREAM_STATE_EMPTY_KHR"/>
599        <enum value="0x3218" name="EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR"/>
600        <enum value="0x3219" name="EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR"/>
601        <enum value="0x321A" name="EGL_STREAM_STATE_DISCONNECTED_KHR"/>
602        <enum value="0x321B" name="EGL_BAD_STREAM_KHR"/>
603        <enum value="0x321C" name="EGL_BAD_STATE_KHR"/>
604        <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"/>
605        <enum value="0x321E" name="EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR"/>
606        <enum value="0x321F" name="EGL_SYNC_NEW_FRAME_NV"/>
607    </enums>
608
609    <enums namespace="EGL" start="0x3220" end="0x325F" vendor="NV" comment="Reserved for Greg Roth (Bug 8220)">
610            <unused start="0x3220" end="0x322A"/>
611        <enum value="0x322B" name="EGL_BAD_DEVICE_EXT"/>
612        <enum value="0x322C" name="EGL_DEVICE_EXT"/>
613        <enum value="0x322D" name="EGL_BAD_OUTPUT_LAYER_EXT"/>
614        <enum value="0x322E" name="EGL_BAD_OUTPUT_PORT_EXT"/>
615        <enum value="0x322F" name="EGL_SWAP_INTERVAL_EXT"/>
616            <unused start="0x3230" end="0x3232"/>
617        <enum value="0x3233" name="EGL_DRM_DEVICE_FILE_EXT"/>
618        <enum value="0x3234" name="EGL_DRM_CRTC_EXT"/>
619        <enum value="0x3235" name="EGL_DRM_PLANE_EXT"/>
620        <enum value="0x3236" name="EGL_DRM_CONNECTOR_EXT"/>
621        <enum value="0x3237" name="EGL_OPENWF_DEVICE_ID_EXT"/>
622        <enum value="0x3238" name="EGL_OPENWF_PIPELINE_ID_EXT"/>
623        <enum value="0x3239" name="EGL_OPENWF_PORT_ID_EXT"/>
624        <enum value="0x323A" name="EGL_CUDA_DEVICE_NV"/>
625        <enum value="0x323B" name="EGL_CUDA_EVENT_HANDLE_NV"/>
626        <enum value="0x323C" name="EGL_SYNC_CUDA_EVENT_NV"/>
627        <enum value="0x323D" name="EGL_SYNC_CUDA_EVENT_COMPLETE_NV"/>
628            <unused start="0x323E"/>
629        <enum value="0x323F" name="EGL_STREAM_CROSS_PARTITION_NV"/>
630        <enum value="0x3240" name="EGL_STREAM_STATE_INITIALIZING_NV"/>
631        <enum value="0x3241" name="EGL_STREAM_TYPE_NV"/>
632        <enum value="0x3242" name="EGL_STREAM_PROTOCOL_NV"/>
633        <enum value="0x3243" name="EGL_STREAM_ENDPOINT_NV"/>
634        <enum value="0x3244" name="EGL_STREAM_LOCAL_NV"/>
635        <enum value="0x3245" name="EGL_STREAM_CROSS_PROCESS_NV"/>
636        <enum value="0x3246" name="EGL_STREAM_PROTOCOL_FD_NV"/>
637        <enum value="0x3247" name="EGL_STREAM_PRODUCER_NV"/>
638        <enum value="0x3248" name="EGL_STREAM_CONSUMER_NV"/>
639            <unused start="0x3239" end="0x324A"/>
640        <enum value="0x324B" name="EGL_STREAM_PROTOCOL_SOCKET_NV"/>
641        <enum value="0x324C" name="EGL_SOCKET_HANDLE_NV"/>
642        <enum value="0x324D" name="EGL_SOCKET_TYPE_NV"/>
643        <enum value="0x324E" name="EGL_SOCKET_TYPE_UNIX_NV"/>
644        <enum value="0x324F" name="EGL_SOCKET_TYPE_INET_NV"/>
645        <enum value="0x3250" name="EGL_MAX_STREAM_METADATA_BLOCKS_NV"/>
646        <enum value="0x3251" name="EGL_MAX_STREAM_METADATA_BLOCK_SIZE_NV"/>
647        <enum value="0x3252" name="EGL_MAX_STREAM_METADATA_TOTAL_SIZE_NV"/>
648        <enum value="0x3253" name="EGL_PRODUCER_METADATA_NV"/>
649        <enum value="0x3254" name="EGL_CONSUMER_METADATA_NV"/>
650        <enum value="0x3255" name="EGL_METADATA0_SIZE_NV"/>
651        <enum value="0x3256" name="EGL_METADATA1_SIZE_NV"/>
652        <enum value="0x3257" name="EGL_METADATA2_SIZE_NV"/>
653        <enum value="0x3258" name="EGL_METADATA3_SIZE_NV"/>
654        <enum value="0x3259" name="EGL_METADATA0_TYPE_NV"/>
655        <enum value="0x325A" name="EGL_METADATA1_TYPE_NV"/>
656        <enum value="0x325B" name="EGL_METADATA2_TYPE_NV"/>
657        <enum value="0x325C" name="EGL_METADATA3_TYPE_NV"/>
658            <unused start="0x325D" end="0x325F"/>
659    </enums>
660
661    <enums namespace="EGL" start="0x3260" end="0x326F" vendor="BCOM" comment="Reserved for Gary Sweet, Broadcom (Public bug 620)">
662            <unused start="0x3260" end="0x326F"/>
663    </enums>
664
665    <enums namespace="EGL" start="0x3270" end="0x328F" vendor="ARM" comment="Reserved for Tom Cooksey (Bug 9963)">
666        <enum value="0x3270" name="EGL_LINUX_DMA_BUF_EXT"/>
667        <enum value="0x3271" name="EGL_LINUX_DRM_FOURCC_EXT"/>
668        <enum value="0x3272" name="EGL_DMA_BUF_PLANE0_FD_EXT"/>
669        <enum value="0x3273" name="EGL_DMA_BUF_PLANE0_OFFSET_EXT"/>
670        <enum value="0x3274" name="EGL_DMA_BUF_PLANE0_PITCH_EXT"/>
671        <enum value="0x3275" name="EGL_DMA_BUF_PLANE1_FD_EXT"/>
672        <enum value="0x3276" name="EGL_DMA_BUF_PLANE1_OFFSET_EXT"/>
673        <enum value="0x3277" name="EGL_DMA_BUF_PLANE1_PITCH_EXT"/>
674        <enum value="0x3278" name="EGL_DMA_BUF_PLANE2_FD_EXT"/>
675        <enum value="0x3279" name="EGL_DMA_BUF_PLANE2_OFFSET_EXT"/>
676        <enum value="0x327A" name="EGL_DMA_BUF_PLANE2_PITCH_EXT"/>
677        <enum value="0x327B" name="EGL_YUV_COLOR_SPACE_HINT_EXT"/>
678        <enum value="0x327C" name="EGL_SAMPLE_RANGE_HINT_EXT"/>
679        <enum value="0x327D" name="EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT"/>
680        <enum value="0x327E" name="EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT"/>
681        <enum value="0x327F" name="EGL_ITU_REC601_EXT"/>
682        <enum value="0x3280" name="EGL_ITU_REC709_EXT"/>
683        <enum value="0x3281" name="EGL_ITU_REC2020_EXT"/>
684        <enum value="0x3282" name="EGL_YUV_FULL_RANGE_EXT"/>
685        <enum value="0x3283" name="EGL_YUV_NARROW_RANGE_EXT"/>
686        <enum value="0x3284" name="EGL_YUV_CHROMA_SITING_0_EXT"/>
687        <enum value="0x3285" name="EGL_YUV_CHROMA_SITING_0_5_EXT"/>
688        <enum value="0x3286" name="EGL_DISCARD_SAMPLES_ARM"/>
689            <unused start="0x3287" end="0x3289"/>
690        <enum value="0x328A" name="EGL_SYNC_PRIOR_COMMANDS_IMPLICIT_EXTERNAL_ARM"/>
691            <unused start="0x328B" end="0x328F"/>
692    </enums>
693
694    <enums namespace="EGL" start="0x3290" end="0x329F" vendor="MESA" comment="Reserved for John K&#229;re Alsaker (Public bug 757)">
695            <unused start="0x3290" end="0x329F"/>
696    </enums>
697
698    <enums namespace="EGL" start="0x32A0" end="0x32AF" vendor="Samsung" comment="Reserved for Dongyeon Kim (Public bug 880)">
699        <enum value="0x32A0" name="EGL_NATIVE_BUFFER_TIZEN"/>
700        <enum value="0x32A1" name="EGL_NATIVE_SURFACE_TIZEN"/>
701            <unused start="0x32A2" end="0x32AF"/>
702    </enums>
703
704    <enums namespace="EGL" start="0x32B0" end="0x32BF" vendor="QCOM" comment="Reserved for Jeff Vigil (Bug 10663) - EGL_QCOM_lock_image spec TBD">
705            <unused start="0x32B0" end="0x32BF"/>
706    </enums>
707
708    <enums namespace="EGL" start="0x32C0" end="0x32CF" vendor="Vivante" comment="Reserved for Yanjun Zhang (Bug 11498)">
709        <enum value="0x32C0" name="EGL_PROTECTED_CONTENT_EXT"/>
710            <unused start="0x32C1" end="0x32CF"/>
711    </enums>
712
713    <enums namespace="EGL" start="0x32D0" end="0x32EF" vendor="QCOM" comment="Reserved for Jeff Vigil (Bug 11735) - EGL_QCOM_gpu_perf spec TBD + Bug 12286 - EGL_QCOM_content_protection spec TBD">
714            <unused start="0x32D0" end="0x32EF"/>
715    </enums>
716
717    <enums namespace="EGL" start="0x32F0" end="0x32FF" vendor="BCOM" comment="Reserved for Gary Sweet, Broadcom (Bug 12870)">
718            <unused start="0x32F0" end="0x32FF"/>
719    </enums>
720
721    <enums namespace="EGL" start="0x3300" end="0x331F" vendor="QCOM" comment="Reserved for Jeff Vigil (Bugs 12973,12849) - EGL_EXT_yuv_surface spec TBD">
722        <enum value="0x3300" name="EGL_YUV_BUFFER_EXT"/>
723        <enum value="0x3301" name="EGL_YUV_ORDER_EXT"/>
724        <enum value="0x3302" name="EGL_YUV_ORDER_YUV_EXT"/>
725        <enum value="0x3303" name="EGL_YUV_ORDER_YVU_EXT"/>
726        <enum value="0x3304" name="EGL_YUV_ORDER_YUYV_EXT"/>
727        <enum value="0x3305" name="EGL_YUV_ORDER_UYVY_EXT"/>
728        <enum value="0x3306" name="EGL_YUV_ORDER_YVYU_EXT"/>
729        <enum value="0x3307" name="EGL_YUV_ORDER_VYUY_EXT"/>
730        <enum value="0x3308" name="EGL_YUV_ORDER_AYUV_EXT"/>
731            <unused start="0x3309"/>
732        <enum value="0x330A" name="EGL_YUV_CSC_STANDARD_EXT"/>
733        <enum value="0x330B" name="EGL_YUV_CSC_STANDARD_601_EXT"/>
734        <enum value="0x330C" name="EGL_YUV_CSC_STANDARD_709_EXT"/>
735        <enum value="0x330D" name="EGL_YUV_CSC_STANDARD_2020_EXT"/>
736            <unused start="0x330E" end="0x3310"/>
737        <enum value="0x3311" name="EGL_YUV_NUMBER_OF_PLANES_EXT"/>
738        <enum value="0x3312" name="EGL_YUV_SUBSAMPLE_EXT"/>
739        <enum value="0x3313" name="EGL_YUV_SUBSAMPLE_4_2_0_EXT"/>
740        <enum value="0x3314" name="EGL_YUV_SUBSAMPLE_4_2_2_EXT"/>
741        <enum value="0x3315" name="EGL_YUV_SUBSAMPLE_4_4_4_EXT"/>
742            <unused start="0x3316"/>
743        <enum value="0x3317" name="EGL_YUV_DEPTH_RANGE_EXT"/>
744        <enum value="0x3318" name="EGL_YUV_DEPTH_RANGE_LIMITED_EXT"/>
745        <enum value="0x3319" name="EGL_YUV_DEPTH_RANGE_FULL_EXT"/>
746        <enum value="0x331A" name="EGL_YUV_PLANE_BPP_EXT"/>
747        <enum value="0x331B" name="EGL_YUV_PLANE_BPP_0_EXT"/>
748        <enum value="0x331C" name="EGL_YUV_PLANE_BPP_8_EXT"/>
749        <enum value="0x331D" name="EGL_YUV_PLANE_BPP_10_EXT"/>
750            <unused start="0x331E" end="0x331F"/>
751    </enums>
752
753    <enums namespace="EGL" start="0x3320" end="0x339F" vendor="NV" comment="Reserved for James Jones (Bug 13209)">
754            <unused start="0x3320" end="0x3327"/>
755        <enum value="0x3328" name="EGL_PENDING_METADATA_NV"/>
756        <enum value="0x3329" name="EGL_PENDING_FRAME_NV"/>
757        <enum value="0x332A" name="EGL_STREAM_TIME_PENDING_NV"/>
758            <unused start="0x332B"/>
759        <enum value="0x332C" name="EGL_YUV_PLANE0_TEXTURE_UNIT_NV"/>
760        <enum value="0x332D" name="EGL_YUV_PLANE1_TEXTURE_UNIT_NV"/>
761        <enum value="0x332E" name="EGL_YUV_PLANE2_TEXTURE_UNIT_NV"/>
762            <unused start="0x332F" end="0x3333"/>
763        <enum value="0x3334" name="EGL_SUPPORT_RESET_NV"/>
764        <enum value="0x3335" name="EGL_SUPPORT_REUSE_NV"/>
765        <enum value="0x3336" name="EGL_STREAM_FIFO_SYNCHRONOUS_NV"/>
766        <enum value="0x3337" name="EGL_PRODUCER_MAX_FRAME_HINT_NV"/>
767        <enum value="0x3338" name="EGL_CONSUMER_MAX_FRAME_HINT_NV"/>
768        <enum value="0x3339" name="EGL_COLOR_COMPONENT_TYPE_EXT"/>
769        <enum value="0x333A" name="EGL_COLOR_COMPONENT_TYPE_FIXED_EXT"/>
770        <enum value="0x333B" name="EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT"/>
771            <unused start="0x333C" end="0x333E"/>
772        <enum value="0x333F" name="EGL_GL_COLORSPACE_BT2020_LINEAR_EXT"/>
773        <enum value="0x3340" name="EGL_GL_COLORSPACE_BT2020_PQ_EXT"/>
774        <enum value="0x3341" name="EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT"/>
775        <enum value="0x3342" name="EGL_SMPTE2086_DISPLAY_PRIMARY_RY_EXT"/>
776        <enum value="0x3343" name="EGL_SMPTE2086_DISPLAY_PRIMARY_GX_EXT"/>
777        <enum value="0x3344" name="EGL_SMPTE2086_DISPLAY_PRIMARY_GY_EXT"/>
778        <enum value="0x3345" name="EGL_SMPTE2086_DISPLAY_PRIMARY_BX_EXT"/>
779        <enum value="0x3346" name="EGL_SMPTE2086_DISPLAY_PRIMARY_BY_EXT"/>
780        <enum value="0x3347" name="EGL_SMPTE2086_WHITE_POINT_X_EXT"/>
781        <enum value="0x3348" name="EGL_SMPTE2086_WHITE_POINT_Y_EXT"/>
782        <enum value="0x3349" name="EGL_SMPTE2086_MAX_LUMINANCE_EXT"/>
783        <enum value="0x334A" name="EGL_SMPTE2086_MIN_LUMINANCE_EXT"/>
784        <enum value="50000"  name="EGL_METADATA_SCALING_EXT"/>
785            <unused start="0x334B"/>
786        <enum value="0x334C" name="EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV"/>
787        <enum value="0x334D" name="EGL_STREAM_CROSS_OBJECT_NV"/>
788        <enum value="0x334E" name="EGL_STREAM_CROSS_DISPLAY_NV"/>
789        <enum value="0x334F" name="EGL_STREAM_CROSS_SYSTEM_NV"/>
790        <enum value="0x3350" name="EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT"/>
791        <enum value="0x3351" name="EGL_GL_COLORSPACE_SCRGB_EXT"/>
792        <enum value="0x3352" name="EGL_TRACK_REFERENCES_KHR"/>
793            <unused start="0x3353" end="0x335F"/>
794        <enum value="0x3360" name="EGL_CTA861_3_MAX_CONTENT_LIGHT_LEVEL_EXT"/>
795        <enum value="0x3361" name="EGL_CTA861_3_MAX_FRAME_AVERAGE_LEVEL_EXT"/>
796        <enum value="0x3362" name="EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT"/>
797        <enum value="0x3363" name="EGL_GL_COLORSPACE_DISPLAY_P3_EXT"/>
798            <unused start="0x3364" end="0x339F"/>
799    </enums>
800
801    <enums namespace="EGL" start="0x33A0" end="0x33AF" vendor="ANGLE" comment="Reserved for Shannon Woods (Bug 13175)">
802        <enum value="0x33A0" name="EGL_D3D9_DEVICE_ANGLE"/>
803        <enum value="0x33A1" name="EGL_D3D11_DEVICE_ANGLE"/>
804            <unused start="0x33A2" end="0x33AF"/>
805    </enums>
806
807    <enums namespace="EGL" start="0x33B0" end="0x33BF" vendor="KHR" comment="Reserved for EGL_KHR_debug / Jeff Vigil (Bug 13357)">
808        <enum value="0x33B0" name="EGL_OBJECT_THREAD_KHR"/>
809        <enum value="0x33B1" name="EGL_OBJECT_DISPLAY_KHR"/>
810        <enum value="0x33B2" name="EGL_OBJECT_CONTEXT_KHR"/>
811        <enum value="0x33B3" name="EGL_OBJECT_SURFACE_KHR"/>
812        <enum value="0x33B4" name="EGL_OBJECT_IMAGE_KHR"/>
813        <enum value="0x33B5" name="EGL_OBJECT_SYNC_KHR"/>
814        <enum value="0x33B6" name="EGL_OBJECT_STREAM_KHR"/>
815            <unused start="0x33B7"/>
816        <enum value="0x33B8" name="EGL_DEBUG_CALLBACK_KHR"/>
817        <enum value="0x33B9" name="EGL_DEBUG_MSG_CRITICAL_KHR"/>
818        <enum value="0x33BA" name="EGL_DEBUG_MSG_ERROR_KHR"/>
819        <enum value="0x33BB" name="EGL_DEBUG_MSG_WARN_KHR"/>
820        <enum value="0x33BC" name="EGL_DEBUG_MSG_INFO_KHR"/>
821            <unused start="0x33BD" end="0x33BF"/>
822    </enums>
823
824    <enums namespace="EGL" start="0x33C0" end="0x33DF" vendor="BCOM" comment="Reserved for Gary Sweet (Bug 12203)">
825            <unused start="0x33C0" end="0x33DF"/>
826    </enums>
827
828    <enums namespace="EGL" start="0x33E0" end="0x342F" vendor="QCOM" comment="Reserved for Jeff Vigil (Bugs 10663,13364)">
829            <unused start="0x33E0" end="0x342F"/>
830    </enums>
831
832    <enums namespace="EGL" start="0x3430" end="0x343F" vendor="ANDROID" comment="Reserved for Pablo Ceballos (Bug 15874)">
833            <unused start="0x3430" end="0x343F"/>
834    </enums>
835
836    <enums namespace="EGL" start="0x3440" end="0x344F" vendor="ANDROID" comment="Reserved for Kristian Kristensen (Bug 16033)">
837        <enum value="0x3440" name="EGL_DMA_BUF_PLANE3_FD_EXT"/>
838        <enum value="0x3441" name="EGL_DMA_BUF_PLANE3_OFFSET_EXT"/>
839        <enum value="0x3442" name="EGL_DMA_BUF_PLANE3_PITCH_EXT"/>
840        <enum value="0x3443" name="EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT"/>
841        <enum value="0x3444" name="EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT"/>
842        <enum value="0x3445" name="EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT"/>
843        <enum value="0x3446" name="EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT"/>
844        <enum value="0x3447" name="EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT"/>
845        <enum value="0x3448" name="EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT"/>
846        <enum value="0x3449" name="EGL_DMA_BUF_PLANE3_MODIFIER_LO_EXT"/>
847        <enum value="0x344A" name="EGL_DMA_BUF_PLANE3_MODIFIER_HI_EXT"/>
848            <unused start="0x344B" end="0x344F"/>
849    </enums>
850
851    <enums namespace="EGL" start="0x3450" end="0x345F" vendor="ANGLE" comment="Reserved for Shannon Woods (Bug 16106)">
852            <unused start="0x3450" end="0x345F"/>
853    </enums>
854
855    <enums namespace="EGL" start="0x3460" end="0x346F" vendor="COREAVI" comment="Reserved for Daniel Herring (Bug 16162)">
856        <enum value="0x3460" name="EGL_PRIMARY_COMPOSITOR_CONTEXT_EXT"/>
857        <enum value="0x3461" name="EGL_EXTERNAL_REF_ID_EXT"/>
858        <enum value="0x3462" name="EGL_COMPOSITOR_DROP_NEWEST_FRAME_EXT"/>
859        <enum value="0x3463" name="EGL_COMPOSITOR_KEEP_NEWEST_FRAME_EXT"/>
860        <enum value="0x3464" name="EGL_FRONT_BUFFER_EXT"/>
861        <unused start="0x3465" end="0x346F"/>
862    </enums>
863
864    <enums namespace="EGL" start="0x3470" end="0x347F" vendor="EXT" comment="Reserved for Daniel Stone (PR 14)">
865	<enum value="0x3470" name="EGL_IMPORT_SYNC_TYPE_EXT"/>
866	<enum value="0x3471" name="EGL_IMPORT_IMPLICIT_SYNC_EXT"/>
867	<enum value="0x3472" name="EGL_IMPORT_EXPLICIT_SYNC_EXT"/>
868    </enums>
869
870<!-- Please remember that new enumerant allocations must be obtained by
871     request to the Khronos API registrar (see comments at the top of this
872     file) File requests in the Khronos Bugzilla, EGL project, Registry
873     component. Also note that some EGL enum values are shared with other
874     Khronos APIs, and new ranges should be allocated with such overlaps in
875     mind. -->
876
877<!-- Reservable for future use. To generate a new range, allocate multiples
878     of 16 starting at the lowest available point in this block. -->
879    <enums namespace="EGL" start="0x3480" end="0x3FFF" vendor="KHR" comment="Reserved for future use">
880            <unused start="0x3480" end="0x3FFF"/>
881    </enums>
882
883    <enums namespace="EGL" start="0x8F70" end="0x8F7F" vendor="HI" comment="For Mark Callow, Khronos bug 4055. Shared with GL.">
884        <enum value="0x8F70" name="EGL_COLOR_FORMAT_HI"/>
885        <enum value="0x8F71" name="EGL_COLOR_RGB_HI"/>
886        <enum value="0x8F72" name="EGL_COLOR_RGBA_HI"/>
887        <enum value="0x8F73" name="EGL_COLOR_ARGB_HI"/>
888        <enum value="0x8F74" name="EGL_CLIENT_PIXMAP_POINTER_HI"/>
889    </enums>
890
891    <!-- SECTION: EGL command definitions. -->
892    <commands namespace="EGL">
893        <command>
894            <proto><ptype>EGLBoolean</ptype> <name>eglBindAPI</name></proto>
895            <param><ptype>EGLenum</ptype> <name>api</name></param>
896        </command>
897        <command>
898            <proto><ptype>EGLBoolean</ptype> <name>eglBindTexImage</name></proto>
899            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
900            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
901            <param><ptype>EGLint</ptype> <name>buffer</name></param>
902        </command>
903        <command>
904            <proto><ptype>EGLBoolean</ptype> <name>eglChooseConfig</name></proto>
905            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
906            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
907            <param><ptype>EGLConfig</ptype> *<name>configs</name></param>
908            <param><ptype>EGLint</ptype> <name>config_size</name></param>
909            <param><ptype>EGLint</ptype> *<name>num_config</name></param>
910        </command>
911        <command>
912            <proto><ptype>EGLint</ptype> <name>eglClientWaitSync</name></proto>
913            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
914            <param><ptype>EGLSync</ptype> <name>sync</name></param>
915            <param><ptype>EGLint</ptype> <name>flags</name></param>
916            <param><ptype>EGLTime</ptype> <name>timeout</name></param>
917        </command>
918        <command>
919            <proto><ptype>EGLint</ptype> <name>eglClientWaitSyncKHR</name></proto>
920            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
921            <param><ptype>EGLSyncKHR</ptype> <name>sync</name></param>
922            <param><ptype>EGLint</ptype> <name>flags</name></param>
923            <param><ptype>EGLTimeKHR</ptype> <name>timeout</name></param>
924            <alias name="eglClientWaitSync"/>
925        </command>
926        <command>
927            <proto><ptype>EGLint</ptype> <name>eglClientWaitSyncNV</name></proto>
928            <param><ptype>EGLSyncNV</ptype> <name>sync</name></param>
929            <param><ptype>EGLint</ptype> <name>flags</name></param>
930            <param><ptype>EGLTimeNV</ptype> <name>timeout</name></param>
931        </command>
932        <command>
933            <proto><ptype>EGLBoolean</ptype> <name>eglCopyBuffers</name></proto>
934            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
935            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
936            <param><ptype>EGLNativePixmapType</ptype> <name>target</name></param>
937        </command>
938        <command>
939            <proto><ptype>EGLContext</ptype> <name>eglCreateContext</name></proto>
940            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
941            <param><ptype>EGLConfig</ptype> <name>config</name></param>
942            <param><ptype>EGLContext</ptype> <name>share_context</name></param>
943            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
944        </command>
945        <command>
946            <proto><ptype>EGLImageKHR</ptype> <name>eglCreateDRMImageMESA</name></proto>
947            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
948            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
949        </command>
950        <command>
951            <proto><ptype>EGLSyncNV</ptype> <name>eglCreateFenceSyncNV</name></proto>
952            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
953            <param><ptype>EGLenum</ptype> <name>condition</name></param>
954            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
955        </command>
956        <command>
957            <proto><ptype>EGLImage</ptype> <name>eglCreateImage</name></proto>
958            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
959            <param><ptype>EGLContext</ptype> <name>ctx</name></param>
960            <param><ptype>EGLenum</ptype> <name>target</name></param>
961            <param><ptype>EGLClientBuffer</ptype> <name>buffer</name></param>
962            <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
963        </command>
964        <command>
965            <proto><ptype>EGLImageKHR</ptype> <name>eglCreateImageKHR</name></proto>
966            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
967            <param><ptype>EGLContext</ptype> <name>ctx</name></param>
968            <param><ptype>EGLenum</ptype> <name>target</name></param>
969            <param><ptype>EGLClientBuffer</ptype> <name>buffer</name></param>
970            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
971        </command>
972        <command>
973            <proto><ptype>EGLClientBuffer</ptype> <name>eglCreateNativeClientBufferANDROID</name></proto>
974            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
975        </command>
976        <command>
977            <proto><ptype>EGLSurface</ptype> <name>eglCreatePbufferFromClientBuffer</name></proto>
978            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
979            <param><ptype>EGLenum</ptype> <name>buftype</name></param>
980            <param><ptype>EGLClientBuffer</ptype> <name>buffer</name></param>
981            <param><ptype>EGLConfig</ptype> <name>config</name></param>
982            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
983        </command>
984        <command>
985            <proto><ptype>EGLSurface</ptype> <name>eglCreatePbufferSurface</name></proto>
986            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
987            <param><ptype>EGLConfig</ptype> <name>config</name></param>
988            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
989        </command>
990        <command>
991            <proto><ptype>EGLSurface</ptype> <name>eglCreatePixmapSurface</name></proto>
992            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
993            <param><ptype>EGLConfig</ptype> <name>config</name></param>
994            <param><ptype>EGLNativePixmapType</ptype> <name>pixmap</name></param>
995            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
996        </command>
997        <command>
998            <proto><ptype>EGLSurface</ptype> <name>eglCreatePixmapSurfaceHI</name></proto>
999            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1000            <param><ptype>EGLConfig</ptype> <name>config</name></param>
1001            <param>struct <ptype>EGLClientPixmapHI</ptype> *<name>pixmap</name></param>
1002        </command>
1003        <command>
1004            <proto><ptype>EGLSurface</ptype> <name>eglCreatePlatformPixmapSurface</name></proto>
1005            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1006            <param><ptype>EGLConfig</ptype> <name>config</name></param>
1007            <param>void *<name>native_pixmap</name></param>
1008            <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
1009        </command>
1010        <command>
1011            <proto><ptype>EGLSurface</ptype> <name>eglCreatePlatformPixmapSurfaceEXT</name></proto>
1012            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1013            <param><ptype>EGLConfig</ptype> <name>config</name></param>
1014            <param>void *<name>native_pixmap</name></param>
1015            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
1016        </command>
1017        <command>
1018            <proto><ptype>EGLSurface</ptype> <name>eglCreatePlatformWindowSurface</name></proto>
1019            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1020            <param><ptype>EGLConfig</ptype> <name>config</name></param>
1021            <param>void *<name>native_window</name></param>
1022            <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
1023        </command>
1024        <command>
1025            <proto><ptype>EGLSurface</ptype> <name>eglCreatePlatformWindowSurfaceEXT</name></proto>
1026            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1027            <param><ptype>EGLConfig</ptype> <name>config</name></param>
1028            <param>void *<name>native_window</name></param>
1029            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
1030        </command>
1031        <command>
1032            <proto><ptype>EGLStreamKHR</ptype> <name>eglCreateStreamFromFileDescriptorKHR</name></proto>
1033            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1034            <param><ptype>EGLNativeFileDescriptorKHR</ptype> <name>file_descriptor</name></param>
1035        </command>
1036        <command>
1037            <proto><ptype>EGLStreamKHR</ptype> <name>eglCreateStreamKHR</name></proto>
1038            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1039            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
1040        </command>
1041        <command>
1042            <proto><ptype>EGLStreamKHR</ptype> <name>eglCreateStreamAttribKHR</name></proto>
1043            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1044            <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
1045        </command>
1046        <command>
1047            <proto><ptype>EGLSurface</ptype> <name>eglCreateStreamProducerSurfaceKHR</name></proto>
1048            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1049            <param><ptype>EGLConfig</ptype> <name>config</name></param>
1050            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1051            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
1052        </command>
1053        <command>
1054            <proto><ptype>EGLSyncKHR</ptype> <name>eglCreateStreamSyncNV</name></proto>
1055            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1056            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1057            <param><ptype>EGLenum</ptype> <name>type</name></param>
1058            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
1059        </command>
1060        <command>
1061            <proto><ptype>EGLSync</ptype> <name>eglCreateSync</name></proto>
1062            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1063            <param><ptype>EGLenum</ptype> <name>type</name></param>
1064            <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
1065        </command>
1066        <command>
1067            <proto><ptype>EGLSyncKHR</ptype> <name>eglCreateSyncKHR</name></proto>
1068            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1069            <param><ptype>EGLenum</ptype> <name>type</name></param>
1070            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
1071        </command>
1072        <command>
1073            <proto><ptype>EGLSyncKHR</ptype> <name>eglCreateSync64KHR</name></proto>
1074            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1075            <param><ptype>EGLenum</ptype> <name>type</name></param>
1076            <param>const <ptype>EGLAttribKHR</ptype> *<name>attrib_list</name></param>
1077            <alias name="eglCreateSync"/>
1078        </command>
1079        <command>
1080            <proto><ptype>EGLSurface</ptype> <name>eglCreateWindowSurface</name></proto>
1081            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1082            <param><ptype>EGLConfig</ptype> <name>config</name></param>
1083            <param><ptype>EGLNativeWindowType</ptype> <name>win</name></param>
1084            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
1085        </command>
1086        <command>
1087            <proto><ptype>EGLint</ptype> <name>eglDebugMessageControlKHR</name></proto>
1088            <param><ptype>EGLDEBUGPROCKHR</ptype> <name>callback</name></param>
1089            <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
1090        </command>
1091        <command>
1092            <proto><ptype>EGLBoolean</ptype> <name>eglDestroyContext</name></proto>
1093            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1094            <param><ptype>EGLContext</ptype> <name>ctx</name></param>
1095        </command>
1096        <command>
1097            <proto><ptype>EGLBoolean</ptype> <name>eglDestroyImage</name></proto>
1098            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1099            <param><ptype>EGLImage</ptype> <name>image</name></param>
1100        </command>
1101        <command>
1102            <proto><ptype>EGLBoolean</ptype> <name>eglDestroyImageKHR</name></proto>
1103            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1104            <param><ptype>EGLImageKHR</ptype> <name>image</name></param>
1105            <alias name="eglDestroyImage"/>
1106        </command>
1107        <command>
1108            <proto><ptype>EGLBoolean</ptype> <name>eglDestroyStreamKHR</name></proto>
1109            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1110            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1111        </command>
1112        <command>
1113            <proto><ptype>EGLBoolean</ptype> <name>eglDestroySurface</name></proto>
1114            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1115            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1116        </command>
1117        <command>
1118            <proto><ptype>EGLBoolean</ptype> <name>eglDestroySync</name></proto>
1119            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1120            <param><ptype>EGLSync</ptype> <name>sync</name></param>
1121        </command>
1122        <command>
1123            <proto><ptype>EGLBoolean</ptype> <name>eglDestroySyncKHR</name></proto>
1124            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1125            <param><ptype>EGLSyncKHR</ptype> <name>sync</name></param>
1126            <alias name="eglDestroySync"/>
1127        </command>
1128        <command>
1129            <proto><ptype>EGLBoolean</ptype> <name>eglDestroySyncNV</name></proto>
1130            <param><ptype>EGLSyncNV</ptype> <name>sync</name></param>
1131        </command>
1132        <command>
1133            <proto><ptype>EGLint</ptype> <name>eglDupNativeFenceFDANDROID</name></proto>
1134            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1135            <param><ptype>EGLSyncKHR</ptype> <name>sync</name></param>
1136        </command>
1137        <command>
1138            <proto><ptype>EGLBoolean</ptype> <name>eglExportDMABUFImageMESA</name></proto>
1139            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1140            <param><ptype>EGLImageKHR</ptype> <name>image</name></param>
1141            <param>int *<name>fds</name></param>
1142            <param><ptype>EGLint</ptype> *<name>strides</name></param>
1143            <param><ptype>EGLint</ptype> *<name>offsets</name></param>
1144        </command>
1145        <command>
1146            <proto><ptype>EGLBoolean</ptype> <name>eglExportDMABUFImageQueryMESA</name></proto>
1147            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1148            <param><ptype>EGLImageKHR</ptype> <name>image</name></param>
1149            <param>int *<name>fourcc</name></param>
1150            <param>int *<name>num_planes</name></param>
1151            <param><ptype>EGLuint64KHR</ptype> *<name>modifiers</name></param>
1152        </command>
1153        <command>
1154            <proto><ptype>EGLBoolean</ptype> <name>eglExportDRMImageMESA</name></proto>
1155            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1156            <param><ptype>EGLImageKHR</ptype> <name>image</name></param>
1157            <param><ptype>EGLint</ptype> *<name>name</name></param>
1158            <param><ptype>EGLint</ptype> *<name>handle</name></param>
1159            <param><ptype>EGLint</ptype> *<name>stride</name></param>
1160        </command>
1161        <command>
1162            <proto><ptype>EGLBoolean</ptype> <name>eglFenceNV</name></proto>
1163            <param><ptype>EGLSyncNV</ptype> <name>sync</name></param>
1164        </command>
1165        <command>
1166            <proto><ptype>EGLBoolean</ptype> <name>eglGetConfigAttrib</name></proto>
1167            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1168            <param><ptype>EGLConfig</ptype> <name>config</name></param>
1169            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1170            <param><ptype>EGLint</ptype> *<name>value</name></param>
1171        </command>
1172        <command>
1173            <proto><ptype>EGLBoolean</ptype> <name>eglGetConfigs</name></proto>
1174            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1175            <param><ptype>EGLConfig</ptype> *<name>configs</name></param>
1176            <param><ptype>EGLint</ptype> <name>config_size</name></param>
1177            <param><ptype>EGLint</ptype> *<name>num_config</name></param>
1178        </command>
1179        <command>
1180            <proto><ptype>EGLContext</ptype> <name>eglGetCurrentContext</name></proto>
1181        </command>
1182        <command>
1183            <proto><ptype>EGLDisplay</ptype> <name>eglGetCurrentDisplay</name></proto>
1184        </command>
1185        <command>
1186            <proto><ptype>EGLSurface</ptype> <name>eglGetCurrentSurface</name></proto>
1187            <param><ptype>EGLint</ptype> <name>readdraw</name></param>
1188        </command>
1189        <command>
1190            <proto><ptype>EGLDisplay</ptype> <name>eglGetDisplay</name></proto>
1191            <param><ptype>EGLNativeDisplayType</ptype> <name>display_id</name></param>
1192        </command>
1193        <command>
1194            <proto><ptype>EGLint</ptype> <name>eglGetError</name></proto>
1195        </command>
1196        <command>
1197            <proto><ptype>EGLBoolean</ptype> <name>eglGetOutputLayersEXT</name></proto>
1198            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1199            <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
1200            <param><ptype>EGLOutputLayerEXT</ptype> *<name>layers</name></param>
1201            <param><ptype>EGLint</ptype> <name>max_layers</name></param>
1202            <param><ptype>EGLint</ptype> *<name>num_layers</name></param>
1203        </command>
1204        <command>
1205            <proto><ptype>EGLBoolean</ptype> <name>eglGetOutputPortsEXT</name></proto>
1206            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1207            <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
1208            <param><ptype>EGLOutputPortEXT</ptype> *<name>ports</name></param>
1209            <param><ptype>EGLint</ptype> <name>max_ports</name></param>
1210            <param><ptype>EGLint</ptype> *<name>num_ports</name></param>
1211        </command>
1212        <command>
1213            <proto><ptype>EGLDisplay</ptype> <name>eglGetPlatformDisplay</name></proto>
1214            <param><ptype>EGLenum</ptype> <name>platform</name></param>
1215            <param>void *<name>native_display</name></param>
1216            <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
1217        </command>
1218        <command>
1219            <proto><ptype>EGLDisplay</ptype> <name>eglGetPlatformDisplayEXT</name></proto>
1220            <param><ptype>EGLenum</ptype> <name>platform</name></param>
1221            <param>void *<name>native_display</name></param>
1222            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
1223        </command>
1224        <command>
1225            <proto><ptype>__eglMustCastToProperFunctionPointerType</ptype> <name>eglGetProcAddress</name></proto>
1226            <param>const char *<name>procname</name></param>
1227        </command>
1228        <command>
1229            <proto><ptype>EGLNativeFileDescriptorKHR</ptype> <name>eglGetStreamFileDescriptorKHR</name></proto>
1230            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1231            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1232        </command>
1233        <command>
1234            <proto><ptype>EGLBoolean</ptype> <name>eglGetSyncAttrib</name></proto>
1235            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1236            <param><ptype>EGLSync</ptype> <name>sync</name></param>
1237            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1238            <param><ptype>EGLAttrib</ptype> *<name>value</name></param>
1239        </command>
1240        <command>
1241            <proto><ptype>EGLBoolean</ptype> <name>eglGetSyncAttribKHR</name></proto>
1242            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1243            <param><ptype>EGLSyncKHR</ptype> <name>sync</name></param>
1244            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1245            <param><ptype>EGLint</ptype> *<name>value</name></param>
1246        </command>
1247        <command>
1248            <proto><ptype>EGLBoolean</ptype> <name>eglGetSyncAttribNV</name></proto>
1249            <param><ptype>EGLSyncNV</ptype> <name>sync</name></param>
1250            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1251            <param><ptype>EGLint</ptype> *<name>value</name></param>
1252        </command>
1253        <command>
1254            <proto><ptype>EGLuint64NV</ptype> <name>eglGetSystemTimeFrequencyNV</name></proto>
1255        </command>
1256        <command>
1257            <proto><ptype>EGLuint64NV</ptype> <name>eglGetSystemTimeNV</name></proto>
1258        </command>
1259        <command>
1260            <proto><ptype>EGLBoolean</ptype> <name>eglInitialize</name></proto>
1261            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1262            <param><ptype>EGLint</ptype> *<name>major</name></param>
1263            <param><ptype>EGLint</ptype> *<name>minor</name></param>
1264        </command>
1265        <command>
1266            <proto><ptype>EGLint</ptype> <name>eglLabelObjectKHR</name></proto>
1267            <param><ptype>EGLDisplay</ptype> <name>display</name></param>
1268            <param><ptype>EGLenum</ptype> <name>objectType</name></param>
1269            <param><ptype>EGLObjectKHR</ptype> <name>object</name></param>
1270            <param><ptype>EGLLabelKHR</ptype> <name>label</name></param>
1271        </command>
1272        <command>
1273            <proto><ptype>EGLBoolean</ptype> <name>eglLockSurfaceKHR</name></proto>
1274            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1275            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1276            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
1277        </command>
1278        <command>
1279            <proto><ptype>EGLBoolean</ptype> <name>eglMakeCurrent</name></proto>
1280            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1281            <param><ptype>EGLSurface</ptype> <name>draw</name></param>
1282            <param><ptype>EGLSurface</ptype> <name>read</name></param>
1283            <param><ptype>EGLContext</ptype> <name>ctx</name></param>
1284        </command>
1285        <command>
1286            <proto><ptype>EGLBoolean</ptype> <name>eglOutputLayerAttribEXT</name></proto>
1287            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1288            <param><ptype>EGLOutputLayerEXT</ptype> <name>layer</name></param>
1289            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1290            <param><ptype>EGLAttrib</ptype> <name>value</name></param>
1291        </command>
1292        <command>
1293            <proto><ptype>EGLBoolean</ptype> <name>eglOutputPortAttribEXT</name></proto>
1294            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1295            <param><ptype>EGLOutputPortEXT</ptype> <name>port</name></param>
1296            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1297            <param><ptype>EGLAttrib</ptype> <name>value</name></param>
1298        </command>
1299        <command>
1300            <proto><ptype>EGLBoolean</ptype> <name>eglPostSubBufferNV</name></proto>
1301            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1302            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1303            <param><ptype>EGLint</ptype> <name>x</name></param>
1304            <param><ptype>EGLint</ptype> <name>y</name></param>
1305            <param><ptype>EGLint</ptype> <name>width</name></param>
1306            <param><ptype>EGLint</ptype> <name>height</name></param>
1307        </command>
1308        <command>
1309            <proto><ptype>EGLBoolean</ptype> <name>eglPresentationTimeANDROID</name></proto>
1310            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1311            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1312            <param><ptype>EGLnsecsANDROID</ptype> <name>time</name></param>
1313        </command>
1314        <command>
1315            <proto><ptype>EGLenum</ptype> <name>eglQueryAPI</name></proto>
1316        </command>
1317        <command>
1318            <proto><ptype>EGLBoolean</ptype> <name>eglQueryContext</name></proto>
1319            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1320            <param><ptype>EGLContext</ptype> <name>ctx</name></param>
1321            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1322            <param><ptype>EGLint</ptype> *<name>value</name></param>
1323        </command>
1324        <command>
1325            <proto><ptype>EGLBoolean</ptype> <name>eglQueryDebugKHR</name></proto>
1326            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1327            <param><ptype>EGLAttrib</ptype> *<name>value</name></param>
1328        </command>
1329        <command>
1330            <proto><ptype>EGLBoolean</ptype> <name>eglQueryDeviceAttribEXT</name></proto>
1331            <param><ptype>EGLDeviceEXT</ptype> <name>device</name></param>
1332            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1333            <param><ptype>EGLAttrib</ptype> *<name>value</name></param>
1334        </command>
1335        <command>
1336            <proto>const char *<name>eglQueryDeviceStringEXT</name></proto>
1337            <param><ptype>EGLDeviceEXT</ptype> <name>device</name></param>
1338            <param><ptype>EGLint</ptype> <name>name</name></param>
1339        </command>
1340        <command>
1341            <proto><ptype>EGLBoolean</ptype> <name>eglQueryDevicesEXT</name></proto>
1342            <param><ptype>EGLint</ptype> <name>max_devices</name></param>
1343            <param><ptype>EGLDeviceEXT</ptype> *<name>devices</name></param>
1344            <param><ptype>EGLint</ptype> *<name>num_devices</name></param>
1345        </command>
1346        <command>
1347            <proto><ptype>EGLBoolean</ptype> <name>eglQueryDisplayAttribEXT</name></proto>
1348            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1349            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1350            <param><ptype>EGLAttrib</ptype> *<name>value</name></param>
1351            <alias name="eglQueryDisplayAttribKHR"/>
1352        </command>
1353        <command>
1354            <proto><ptype>EGLBoolean</ptype> <name>eglQueryDisplayAttribKHR</name></proto>
1355            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1356            <param><ptype>EGLint</ptype> <name>name</name></param>
1357            <param><ptype>EGLAttrib</ptype> *<name>value</name></param>
1358        </command>
1359        <command>
1360            <proto><ptype>EGLBoolean</ptype> <name>eglQueryDisplayAttribNV</name></proto>
1361            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1362            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1363            <param><ptype>EGLAttrib</ptype> *<name>value</name></param>
1364            <alias name="eglQueryDisplayAttribKHR"/>
1365        </command>
1366        <command>
1367            <proto><ptype>EGLBoolean</ptype> <name>eglQueryDmaBufFormatsEXT</name></proto>
1368            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1369            <param><ptype>EGLint</ptype> <name>max_formats</name></param>
1370            <param><ptype>EGLint</ptype> *<name>formats</name></param>
1371            <param><ptype>EGLint</ptype> *<name>num_formats</name></param>
1372        </command>
1373        <command>
1374            <proto><ptype>EGLBoolean</ptype> <name>eglQueryDmaBufModifiersEXT</name></proto>
1375            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1376            <param><ptype>EGLint</ptype> <name>format</name></param>
1377            <param><ptype>EGLint</ptype> <name>max_modifiers</name></param>
1378            <param><ptype>EGLuint64KHR</ptype> *<name>modifiers</name></param>
1379            <param><ptype>EGLBoolean</ptype> *<name>external_only</name></param>
1380            <param><ptype>EGLint</ptype> *<name>num_modifiers</name></param>
1381        </command>
1382        <command>
1383            <proto><ptype>EGLBoolean</ptype> <name>eglQueryNativeDisplayNV</name></proto>
1384            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1385            <param><ptype>EGLNativeDisplayType</ptype> *<name>display_id</name></param>
1386        </command>
1387        <command>
1388            <proto><ptype>EGLBoolean</ptype> <name>eglQueryNativePixmapNV</name></proto>
1389            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1390            <param><ptype>EGLSurface</ptype> <name>surf</name></param>
1391            <param><ptype>EGLNativePixmapType</ptype> *<name>pixmap</name></param>
1392        </command>
1393        <command>
1394            <proto><ptype>EGLBoolean</ptype> <name>eglQueryNativeWindowNV</name></proto>
1395            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1396            <param><ptype>EGLSurface</ptype> <name>surf</name></param>
1397            <param><ptype>EGLNativeWindowType</ptype> *<name>window</name></param>
1398        </command>
1399        <command>
1400            <proto><ptype>EGLBoolean</ptype> <name>eglQueryOutputLayerAttribEXT</name></proto>
1401            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1402            <param><ptype>EGLOutputLayerEXT</ptype> <name>layer</name></param>
1403            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1404            <param><ptype>EGLAttrib</ptype> *<name>value</name></param>
1405        </command>
1406        <command>
1407            <proto>const char *<name>eglQueryOutputLayerStringEXT</name></proto>
1408            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1409            <param><ptype>EGLOutputLayerEXT</ptype> <name>layer</name></param>
1410            <param><ptype>EGLint</ptype> <name>name</name></param>
1411        </command>
1412        <command>
1413            <proto><ptype>EGLBoolean</ptype> <name>eglQueryOutputPortAttribEXT</name></proto>
1414            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1415            <param><ptype>EGLOutputPortEXT</ptype> <name>port</name></param>
1416            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1417            <param><ptype>EGLAttrib</ptype> *<name>value</name></param>
1418        </command>
1419        <command>
1420            <proto>const char *<name>eglQueryOutputPortStringEXT</name></proto>
1421            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1422            <param><ptype>EGLOutputPortEXT</ptype> <name>port</name></param>
1423            <param><ptype>EGLint</ptype> <name>name</name></param>
1424        </command>
1425        <command>
1426            <proto><ptype>EGLBoolean</ptype> <name>eglQueryStreamKHR</name></proto>
1427            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1428            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1429            <param><ptype>EGLenum</ptype> <name>attribute</name></param>
1430            <param><ptype>EGLint</ptype> *<name>value</name></param>
1431        </command>
1432        <command>
1433            <proto><ptype>EGLBoolean</ptype> <name>eglQueryStreamAttribKHR</name></proto>
1434            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1435            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1436            <param><ptype>EGLenum</ptype> <name>attribute</name></param>
1437            <param><ptype>EGLAttrib</ptype> *<name>value</name></param>
1438        </command>
1439        <command>
1440            <proto><ptype>EGLBoolean</ptype> <name>eglQueryStreamMetadataNV</name></proto>
1441            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1442            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1443            <param><ptype>EGLenum</ptype> <name>name</name></param>
1444            <param><ptype>EGLint</ptype> <name>n</name></param>
1445            <param><ptype>EGLint</ptype> <name>offset</name></param>
1446            <param><ptype>EGLint</ptype> <name>size</name></param>
1447            <param>void *<name>data</name></param>
1448        </command>
1449        <command>
1450            <proto><ptype>EGLBoolean</ptype> <name>eglQueryStreamTimeKHR</name></proto>
1451            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1452            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1453            <param><ptype>EGLenum</ptype> <name>attribute</name></param>
1454            <param><ptype>EGLTimeKHR</ptype> *<name>value</name></param>
1455        </command>
1456        <command>
1457            <proto><ptype>EGLBoolean</ptype> <name>eglQueryStreamu64KHR</name></proto>
1458            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1459            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1460            <param><ptype>EGLenum</ptype> <name>attribute</name></param>
1461            <param><ptype>EGLuint64KHR</ptype> *<name>value</name></param>
1462        </command>
1463        <command>
1464            <proto>const char *<name>eglQueryString</name></proto>
1465            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1466            <param><ptype>EGLint</ptype> <name>name</name></param>
1467        </command>
1468        <command>
1469            <proto><ptype>EGLBoolean</ptype> <name>eglQuerySurface</name></proto>
1470            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1471            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1472            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1473            <param><ptype>EGLint</ptype> *<name>value</name></param>
1474        </command>
1475        <command>
1476            <proto><ptype>EGLBoolean</ptype> <name>eglQuerySurface64KHR</name></proto>
1477            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1478            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1479            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1480            <param><ptype>EGLAttribKHR</ptype> *<name>value</name></param>
1481        </command>
1482        <command>
1483            <proto><ptype>EGLBoolean</ptype> <name>eglQuerySurfacePointerANGLE</name></proto>
1484            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1485            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1486            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1487            <param>void **<name>value</name></param>
1488        </command>
1489        <command>
1490            <proto><ptype>EGLBoolean</ptype> <name>eglReleaseTexImage</name></proto>
1491            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1492            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1493            <param><ptype>EGLint</ptype> <name>buffer</name></param>
1494        </command>
1495        <command>
1496            <proto><ptype>EGLBoolean</ptype> <name>eglReleaseThread</name></proto>
1497        </command>
1498        <command>
1499            <proto><ptype>EGLBoolean</ptype> <name>eglResetStreamNV</name></proto>
1500            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1501            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1502        </command>
1503        <command>
1504            <proto>void <name>eglSetBlobCacheFuncsANDROID</name></proto>
1505            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1506            <param><ptype>EGLSetBlobFuncANDROID</ptype> <name>set</name></param>
1507            <param><ptype>EGLGetBlobFuncANDROID</ptype> <name>get</name></param>
1508        </command>
1509        <command>
1510            <proto><ptype>EGLBoolean</ptype> <name>eglSetDamageRegionKHR</name></proto>
1511            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1512            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1513            <param><ptype>EGLint</ptype> *<name>rects</name></param>
1514            <param><ptype>EGLint</ptype> <name>n_rects</name></param>
1515        </command>
1516        <command>
1517            <proto><ptype>EGLBoolean</ptype> <name>eglSetStreamAttribKHR</name></proto>
1518            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1519            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1520            <param><ptype>EGLenum</ptype> <name>attribute</name></param>
1521            <param><ptype>EGLAttrib</ptype> <name>value</name></param>
1522        </command>
1523        <command>
1524            <proto><ptype>EGLBoolean</ptype> <name>eglSetStreamMetadataNV</name></proto>
1525            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1526            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1527            <param><ptype>EGLint</ptype> <name>n</name></param>
1528            <param><ptype>EGLint</ptype> <name>offset</name></param>
1529            <param><ptype>EGLint</ptype> <name>size</name></param>
1530            <param>const void *<name>data</name></param>
1531        </command>
1532        <command>
1533            <proto><ptype>EGLBoolean</ptype> <name>eglSignalSyncKHR</name></proto>
1534            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1535            <param><ptype>EGLSyncKHR</ptype> <name>sync</name></param>
1536            <param><ptype>EGLenum</ptype> <name>mode</name></param>
1537        </command>
1538        <command>
1539            <proto><ptype>EGLBoolean</ptype> <name>eglSignalSyncNV</name></proto>
1540            <param><ptype>EGLSyncNV</ptype> <name>sync</name></param>
1541            <param><ptype>EGLenum</ptype> <name>mode</name></param>
1542        </command>
1543        <command>
1544            <proto><ptype>EGLBoolean</ptype> <name>eglStreamAttribKHR</name></proto>
1545            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1546            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1547            <param><ptype>EGLenum</ptype> <name>attribute</name></param>
1548            <param><ptype>EGLint</ptype> <name>value</name></param>
1549        </command>
1550        <command>
1551            <proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerAcquireKHR</name></proto>
1552            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1553            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1554        </command>
1555        <command>
1556            <proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerAcquireAttribKHR</name></proto>
1557            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1558            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1559            <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
1560        </command>
1561        <command>
1562            <proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerGLTextureExternalKHR</name></proto>
1563            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1564            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1565        </command>
1566        <command>
1567            <proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerGLTextureExternalAttribsNV</name></proto>
1568            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1569            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1570            <param><ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
1571        </command>
1572        <command>
1573            <proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerOutputEXT</name></proto>
1574            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1575            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1576            <param><ptype>EGLOutputLayerEXT</ptype> <name>layer</name></param>
1577        </command>
1578        <command>
1579            <proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerReleaseKHR</name></proto>
1580            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1581            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1582        </command>
1583        <command>
1584            <proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerReleaseAttribKHR</name></proto>
1585            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1586            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1587            <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
1588        </command>
1589        <command>
1590            <proto><ptype>EGLBoolean</ptype> <name>eglSurfaceAttrib</name></proto>
1591            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1592            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1593            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1594            <param><ptype>EGLint</ptype> <name>value</name></param>
1595        </command>
1596        <command>
1597            <proto><ptype>EGLBoolean</ptype> <name>eglSwapBuffers</name></proto>
1598            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1599            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1600        </command>
1601        <command>
1602            <proto><ptype>EGLBoolean</ptype> <name>eglSwapBuffersWithDamageEXT</name></proto>
1603            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1604            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1605            <param><ptype>EGLint</ptype> *<name>rects</name></param>
1606            <param><ptype>EGLint</ptype> <name>n_rects</name></param>
1607        </command>
1608        <command>
1609            <proto><ptype>EGLBoolean</ptype> <name>eglSwapBuffersWithDamageKHR</name></proto>
1610            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1611            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1612            <param><ptype>EGLint</ptype> *<name>rects</name></param>
1613            <param><ptype>EGLint</ptype> <name>n_rects</name></param>
1614        </command>
1615        <command>
1616            <proto><ptype>EGLBoolean</ptype> <name>eglSwapBuffersRegionNOK</name></proto>
1617            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1618            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1619            <param><ptype>EGLint</ptype> <name>numRects</name></param>
1620            <param>const <ptype>EGLint</ptype> *<name>rects</name></param>
1621        </command>
1622        <command>
1623            <proto><ptype>EGLBoolean</ptype> <name>eglSwapBuffersRegion2NOK</name></proto>
1624            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1625            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1626            <param><ptype>EGLint</ptype> <name>numRects</name></param>
1627            <param>const <ptype>EGLint</ptype> *<name>rects</name></param>
1628        </command>
1629        <command>
1630            <proto><ptype>EGLBoolean</ptype> <name>eglSwapInterval</name></proto>
1631            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1632            <param><ptype>EGLint</ptype> <name>interval</name></param>
1633        </command>
1634        <command>
1635            <proto><ptype>EGLBoolean</ptype> <name>eglTerminate</name></proto>
1636            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1637        </command>
1638        <command>
1639            <proto><ptype>EGLBoolean</ptype> <name>eglUnlockSurfaceKHR</name></proto>
1640            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1641            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1642        </command>
1643        <command>
1644            <proto><ptype>EGLBoolean</ptype> <name>eglWaitClient</name></proto>
1645        </command>
1646        <command>
1647            <proto><ptype>EGLBoolean</ptype> <name>eglWaitGL</name></proto>
1648        </command>
1649        <command>
1650            <proto><ptype>EGLBoolean</ptype> <name>eglWaitNative</name></proto>
1651            <param><ptype>EGLint</ptype> <name>engine</name></param>
1652        </command>
1653        <command>
1654            <proto><ptype>EGLBoolean</ptype> <name>eglWaitSync</name></proto>
1655            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1656            <param><ptype>EGLSync</ptype> <name>sync</name></param>
1657            <param><ptype>EGLint</ptype> <name>flags</name></param>
1658        </command>
1659        <command>
1660            <proto><ptype>EGLint</ptype> <name>eglWaitSyncKHR</name></proto>
1661            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1662            <param><ptype>EGLSyncKHR</ptype> <name>sync</name></param>
1663            <param><ptype>EGLint</ptype> <name>flags</name></param>
1664        </command>
1665        <command>
1666            <proto><ptype>EGLBoolean</ptype> <name>eglCompositorSetContextListEXT</name></proto>
1667            <param>const <ptype>EGLint</ptype> *<name>external_ref_ids</name></param>
1668            <param><ptype>EGLint</ptype> <name>num_entries</name></param>
1669        </command>
1670        <command>
1671            <proto><ptype>EGLBoolean</ptype> <name>eglCompositorSetContextAttributesEXT</name></proto>
1672            <param><ptype>EGLint</ptype> <name>external_ref_id</name></param>
1673            <param>const <ptype>EGLint</ptype> *<name>context_attributes</name></param>
1674            <param><ptype>EGLint</ptype> <name>num_entries</name></param>
1675        </command>
1676        <command>
1677            <proto><ptype>EGLBoolean</ptype> <name>eglCompositorSetWindowListEXT</name></proto>
1678            <param><ptype>EGLint</ptype> <name>external_ref_id</name></param>
1679            <param>const <ptype>EGLint</ptype> *<name>external_win_ids</name></param>
1680            <param><ptype>EGLint</ptype> <name>num_entries</name></param>
1681        </command>
1682        <command>
1683            <proto><ptype>EGLBoolean</ptype> <name>eglCompositorSetWindowAttributesEXT</name></proto>
1684            <param><ptype>EGLint</ptype> <name>external_win_id</name></param>
1685            <param>const <ptype>EGLint</ptype> *<name>window_attributes</name></param>
1686            <param><ptype>EGLint</ptype> <name>num_entries</name></param>
1687        </command>
1688        <command>
1689            <proto><ptype>EGLBoolean</ptype> <name>eglCompositorBindTexWindowEXT</name></proto>
1690            <param><ptype>EGLint</ptype> <name>external_win_id</name></param>
1691        </command>
1692        <command>
1693            <proto><ptype>EGLBoolean</ptype> <name>eglCompositorSetSizeEXT</name></proto>
1694            <param><ptype>EGLint</ptype> <name>external_win_id</name></param>
1695            <param><ptype>EGLint</ptype> <name>width</name></param>
1696            <param><ptype>EGLint</ptype> <name>height</name></param>
1697        </command>
1698        <command>
1699            <proto><ptype>EGLBoolean</ptype> <name>eglCompositorSwapPolicyEXT</name></proto>
1700            <param><ptype>EGLint</ptype> <name>external_win_id</name></param>
1701            <param><ptype>EGLint</ptype> <name>policy</name></param>
1702        </command>
1703    </commands>
1704
1705    <!-- SECTION: EGL API interface definitions. -->
1706    <feature api="egl" name="EGL_VERSION_1_0" number="1.0">
1707        <require>
1708            <enum name="EGL_ALPHA_SIZE"/>
1709            <enum name="EGL_BAD_ACCESS"/>
1710            <enum name="EGL_BAD_ALLOC"/>
1711            <enum name="EGL_BAD_ATTRIBUTE"/>
1712            <enum name="EGL_BAD_CONFIG"/>
1713            <enum name="EGL_BAD_CONTEXT"/>
1714            <enum name="EGL_BAD_CURRENT_SURFACE"/>
1715            <enum name="EGL_BAD_DISPLAY"/>
1716            <enum name="EGL_BAD_MATCH"/>
1717            <enum name="EGL_BAD_NATIVE_PIXMAP"/>
1718            <enum name="EGL_BAD_NATIVE_WINDOW"/>
1719            <enum name="EGL_BAD_PARAMETER"/>
1720            <enum name="EGL_BAD_SURFACE"/>
1721            <enum name="EGL_BLUE_SIZE"/>
1722            <enum name="EGL_BUFFER_SIZE"/>
1723            <enum name="EGL_CONFIG_CAVEAT"/>
1724            <enum name="EGL_CONFIG_ID"/>
1725            <enum name="EGL_CORE_NATIVE_ENGINE"/>
1726            <enum name="EGL_DEPTH_SIZE"/>
1727            <enum name="EGL_DONT_CARE"/>
1728            <enum name="EGL_DRAW"/>
1729            <enum name="EGL_EXTENSIONS"/>
1730            <enum name="EGL_FALSE"/>
1731            <enum name="EGL_GREEN_SIZE"/>
1732            <enum name="EGL_HEIGHT"/>
1733            <enum name="EGL_LARGEST_PBUFFER"/>
1734            <enum name="EGL_LEVEL"/>
1735            <enum name="EGL_MAX_PBUFFER_HEIGHT"/>
1736            <enum name="EGL_MAX_PBUFFER_PIXELS"/>
1737            <enum name="EGL_MAX_PBUFFER_WIDTH"/>
1738            <enum name="EGL_NATIVE_RENDERABLE"/>
1739            <enum name="EGL_NATIVE_VISUAL_ID"/>
1740            <enum name="EGL_NATIVE_VISUAL_TYPE"/>
1741            <enum name="EGL_NONE"/>
1742            <enum name="EGL_NON_CONFORMANT_CONFIG"/>
1743            <enum name="EGL_NOT_INITIALIZED"/>
1744            <enum name="EGL_NO_CONTEXT"/>
1745            <enum name="EGL_NO_DISPLAY"/>
1746            <enum name="EGL_NO_SURFACE"/>
1747            <enum name="EGL_PBUFFER_BIT"/>
1748            <enum name="EGL_PIXMAP_BIT"/>
1749            <enum name="EGL_READ"/>
1750            <enum name="EGL_RED_SIZE"/>
1751            <enum name="EGL_SAMPLES"/>
1752            <enum name="EGL_SAMPLE_BUFFERS"/>
1753            <enum name="EGL_SLOW_CONFIG"/>
1754            <enum name="EGL_STENCIL_SIZE"/>
1755            <enum name="EGL_SUCCESS"/>
1756            <enum name="EGL_SURFACE_TYPE"/>
1757            <enum name="EGL_TRANSPARENT_BLUE_VALUE"/>
1758            <enum name="EGL_TRANSPARENT_GREEN_VALUE"/>
1759            <enum name="EGL_TRANSPARENT_RED_VALUE"/>
1760            <enum name="EGL_TRANSPARENT_RGB"/>
1761            <enum name="EGL_TRANSPARENT_TYPE"/>
1762            <enum name="EGL_TRUE"/>
1763            <enum name="EGL_VENDOR"/>
1764            <enum name="EGL_VERSION"/>
1765            <enum name="EGL_WIDTH"/>
1766            <enum name="EGL_WINDOW_BIT"/>
1767            <command name="eglChooseConfig"/>
1768            <command name="eglCopyBuffers"/>
1769            <command name="eglCreateContext"/>
1770            <command name="eglCreatePbufferSurface"/>
1771            <command name="eglCreatePixmapSurface"/>
1772            <command name="eglCreateWindowSurface"/>
1773            <command name="eglDestroyContext"/>
1774            <command name="eglDestroySurface"/>
1775            <command name="eglGetConfigAttrib"/>
1776            <command name="eglGetConfigs"/>
1777            <command name="eglGetCurrentDisplay"/>
1778            <command name="eglGetCurrentSurface"/>
1779            <command name="eglGetDisplay"/>
1780            <command name="eglGetError"/>
1781            <command name="eglGetProcAddress"/>
1782            <command name="eglInitialize"/>
1783            <command name="eglMakeCurrent"/>
1784            <command name="eglQueryContext"/>
1785            <command name="eglQueryString"/>
1786            <command name="eglQuerySurface"/>
1787            <command name="eglSwapBuffers"/>
1788            <command name="eglTerminate"/>
1789            <command name="eglWaitGL"/>
1790            <command name="eglWaitNative"/>
1791        </require>
1792    </feature>
1793    <feature api="egl" name="EGL_VERSION_1_1" number="1.1">
1794        <require>
1795            <enum name="EGL_BACK_BUFFER"/>
1796            <enum name="EGL_BIND_TO_TEXTURE_RGB"/>
1797            <enum name="EGL_BIND_TO_TEXTURE_RGBA"/>
1798            <enum name="EGL_CONTEXT_LOST"/>
1799            <enum name="EGL_MIN_SWAP_INTERVAL"/>
1800            <enum name="EGL_MAX_SWAP_INTERVAL"/>
1801            <enum name="EGL_MIPMAP_TEXTURE"/>
1802            <enum name="EGL_MIPMAP_LEVEL"/>
1803            <enum name="EGL_NO_TEXTURE"/>
1804            <enum name="EGL_TEXTURE_2D"/>
1805            <enum name="EGL_TEXTURE_FORMAT"/>
1806            <enum name="EGL_TEXTURE_RGB"/>
1807            <enum name="EGL_TEXTURE_RGBA"/>
1808            <enum name="EGL_TEXTURE_TARGET"/>
1809            <command name="eglBindTexImage"/>
1810            <command name="eglReleaseTexImage"/>
1811            <command name="eglSurfaceAttrib"/>
1812            <command name="eglSwapInterval"/>
1813        </require>
1814    </feature>
1815    <feature api="egl" name="EGL_VERSION_1_2" number="1.2">
1816        <require>
1817            <enum name="EGL_ALPHA_FORMAT"/>
1818            <enum name="EGL_ALPHA_FORMAT_NONPRE"/>
1819            <enum name="EGL_ALPHA_FORMAT_PRE"/>
1820            <enum name="EGL_ALPHA_MASK_SIZE"/>
1821            <enum name="EGL_BUFFER_PRESERVED"/>
1822            <enum name="EGL_BUFFER_DESTROYED"/>
1823            <enum name="EGL_CLIENT_APIS"/>
1824            <enum name="EGL_COLORSPACE"/>
1825            <enum name="EGL_COLORSPACE_sRGB"/>
1826            <enum name="EGL_COLORSPACE_LINEAR"/>
1827            <enum name="EGL_COLOR_BUFFER_TYPE"/>
1828            <enum name="EGL_CONTEXT_CLIENT_TYPE"/>
1829            <enum name="EGL_DISPLAY_SCALING"/>
1830            <enum name="EGL_HORIZONTAL_RESOLUTION"/>
1831            <enum name="EGL_LUMINANCE_BUFFER"/>
1832            <enum name="EGL_LUMINANCE_SIZE"/>
1833            <enum name="EGL_OPENGL_ES_BIT"/>
1834            <enum name="EGL_OPENVG_BIT"/>
1835            <enum name="EGL_OPENGL_ES_API"/>
1836            <enum name="EGL_OPENVG_API"/>
1837            <enum name="EGL_OPENVG_IMAGE"/>
1838            <enum name="EGL_PIXEL_ASPECT_RATIO"/>
1839            <enum name="EGL_RENDERABLE_TYPE"/>
1840            <enum name="EGL_RENDER_BUFFER"/>
1841            <enum name="EGL_RGB_BUFFER"/>
1842            <enum name="EGL_SINGLE_BUFFER"/>
1843            <enum name="EGL_SWAP_BEHAVIOR"/>
1844            <enum name="EGL_UNKNOWN"/>
1845            <enum name="EGL_VERTICAL_RESOLUTION"/>
1846            <command name="eglBindAPI"/>
1847            <command name="eglQueryAPI"/>
1848            <command name="eglCreatePbufferFromClientBuffer"/>
1849            <command name="eglReleaseThread"/>
1850            <command name="eglWaitClient"/>
1851        </require>
1852    </feature>
1853    <feature api="egl" name="EGL_VERSION_1_3" number="1.3">
1854        <require>
1855            <enum name="EGL_CONFORMANT"/>
1856            <enum name="EGL_CONTEXT_CLIENT_VERSION"/>
1857            <enum name="EGL_MATCH_NATIVE_PIXMAP"/>
1858            <enum name="EGL_OPENGL_ES2_BIT"/>
1859            <enum name="EGL_VG_ALPHA_FORMAT"/>
1860            <enum name="EGL_VG_ALPHA_FORMAT_NONPRE"/>
1861            <enum name="EGL_VG_ALPHA_FORMAT_PRE"/>
1862            <enum name="EGL_VG_ALPHA_FORMAT_PRE_BIT"/>
1863            <enum name="EGL_VG_COLORSPACE"/>
1864            <enum name="EGL_VG_COLORSPACE_sRGB"/>
1865            <enum name="EGL_VG_COLORSPACE_LINEAR"/>
1866            <enum name="EGL_VG_COLORSPACE_LINEAR_BIT"/>
1867        </require>
1868    </feature>
1869    <feature api="egl" name="EGL_VERSION_1_4" number="1.4">
1870        <require>
1871            <enum name="EGL_DEFAULT_DISPLAY"/>
1872            <enum name="EGL_MULTISAMPLE_RESOLVE_BOX_BIT"/>
1873            <enum name="EGL_MULTISAMPLE_RESOLVE"/>
1874            <enum name="EGL_MULTISAMPLE_RESOLVE_DEFAULT"/>
1875            <enum name="EGL_MULTISAMPLE_RESOLVE_BOX"/>
1876            <enum name="EGL_OPENGL_API"/>
1877            <enum name="EGL_OPENGL_BIT"/>
1878            <enum name="EGL_SWAP_BEHAVIOR_PRESERVED_BIT"/>
1879            <command name="eglGetCurrentContext"/>
1880        </require>
1881    </feature>
1882    <feature api="egl" name="EGL_VERSION_1_5" number="1.5">
1883        <require comment="EGL_KHR_create_context features">
1884            <enum name="EGL_CONTEXT_MAJOR_VERSION"/>
1885            <enum name="EGL_CONTEXT_MINOR_VERSION"/>
1886            <enum name="EGL_CONTEXT_OPENGL_PROFILE_MASK"/>
1887            <enum name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY"/>
1888            <enum name="EGL_NO_RESET_NOTIFICATION"/>
1889            <enum name="EGL_LOSE_CONTEXT_ON_RESET"/>
1890            <enum name="EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT"/>
1891            <enum name="EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT"/>
1892            <enum name="EGL_CONTEXT_OPENGL_DEBUG"/>
1893            <enum name="EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE"/>
1894            <enum name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS"/>
1895            <enum name="EGL_OPENGL_ES3_BIT"/>
1896        </require>
1897        <require comment="EGL_EXT_create_context_robustness">
1898            <enum name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS"/>
1899            <enum name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY"/>
1900        </require>
1901        <require comment="EGL_EXT_client_extensions"/>
1902        <require comment="EGL_KHR_cl_event2">
1903            <enum name="EGL_CL_EVENT_HANDLE"/>
1904            <enum name="EGL_SYNC_CL_EVENT"/>
1905            <enum name="EGL_SYNC_CL_EVENT_COMPLETE"/>
1906        </require>
1907        <require comment="EGL_KHR_fence_sync">
1908            <enum name="EGL_SYNC_PRIOR_COMMANDS_COMPLETE"/>
1909            <enum name="EGL_SYNC_TYPE"/>
1910            <enum name="EGL_SYNC_STATUS"/>
1911            <enum name="EGL_SYNC_CONDITION"/>
1912            <enum name="EGL_SIGNALED"/>
1913            <enum name="EGL_UNSIGNALED"/>
1914            <enum name="EGL_SYNC_FLUSH_COMMANDS_BIT"/>
1915            <enum name="EGL_FOREVER"/>
1916            <enum name="EGL_TIMEOUT_EXPIRED"/>
1917            <enum name="EGL_CONDITION_SATISFIED"/>
1918            <enum name="EGL_NO_SYNC"/>
1919            <enum name="EGL_SYNC_FENCE"/>
1920            <command name="eglCreateSync"/>
1921            <command name="eglDestroySync"/>
1922            <command name="eglClientWaitSync"/>
1923            <command name="eglGetSyncAttrib"/>
1924        </require>
1925        <require comment="EGL_KHR_get_all_proc_addresses"/>
1926        <require comment="EGL_KHR_client_get_all_proc_addresses"/>
1927        <require comment="EGL_KHR_gl_colorspace">
1928            <enum name="EGL_GL_COLORSPACE"/>
1929            <enum name="EGL_GL_COLORSPACE_SRGB"/>
1930            <enum name="EGL_GL_COLORSPACE_LINEAR"/>
1931        </require>
1932        <require comment="EGL_KHR_gl_renderbuffer_image">
1933            <enum name="EGL_GL_RENDERBUFFER"/>
1934        </require>
1935        <require comment="EGL_KHR_gl_texture_2D_image">
1936            <enum name="EGL_GL_TEXTURE_2D"/>
1937            <enum name="EGL_GL_TEXTURE_LEVEL"/>
1938        </require>
1939        <require comment="EGL_KHR_gl_texture_3D_image">
1940            <enum name="EGL_GL_TEXTURE_3D"/>
1941            <enum name="EGL_GL_TEXTURE_ZOFFSET"/>
1942        </require>
1943        <require comment="EGL_KHR_gl_texture_cubemap_image">
1944            <enum name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X"/>
1945            <enum name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X"/>
1946            <enum name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y"/>
1947            <enum name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y"/>
1948            <enum name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z"/>
1949            <enum name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z"/>
1950        </require>
1951        <require comment="EGL_KHR_image_base">
1952            <enum name="EGL_IMAGE_PRESERVED"/>
1953            <enum name="EGL_NO_IMAGE"/>
1954            <command name="eglCreateImage"/>
1955            <command name="eglDestroyImage"/>
1956        </require>
1957        <require comment="EGL_EXT_platform_base">
1958            <command name="eglGetPlatformDisplay"/>
1959            <command name="eglCreatePlatformWindowSurface"/>
1960            <command name="eglCreatePlatformPixmapSurface"/>
1961        </require>
1962        <require comment="EGL_KHR_surfaceless_context - just relaxes an error condition"/>
1963        <require comment="EGL_KHR_wait_sync">
1964            <command name="eglWaitSync"/>
1965        </require>
1966    </feature>
1967
1968    <!-- SECTION: EGL extension interface definitions -->
1969    <extensions>
1970        <extension name="EGL_ANDROID_blob_cache" supported="egl">
1971            <require>
1972                <command name="eglSetBlobCacheFuncsANDROID"/>
1973            </require>
1974        </extension>
1975        <extension name="EGL_ANDROID_create_native_client_buffer" supported="egl">
1976            <require>
1977                <enum name="EGL_NATIVE_BUFFER_USAGE_ANDROID"/>
1978                <enum name="EGL_NATIVE_BUFFER_USAGE_PROTECTED_BIT_ANDROID"/>
1979                <enum name="EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID"/>
1980                <enum name="EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID"/>
1981                <command name="eglCreateNativeClientBufferANDROID"/>
1982            </require>
1983        </extension>
1984        <extension name="EGL_ANDROID_framebuffer_target" supported="egl">
1985            <require>
1986                <enum name="EGL_FRAMEBUFFER_TARGET_ANDROID"/>
1987            </require>
1988        </extension>
1989        <extension name="EGL_ANDROID_front_buffer_auto_refresh" supported="egl">
1990            <require>
1991                <enum name="EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID"/>
1992            </require>
1993        </extension>
1994        <extension name="EGL_ANDROID_image_native_buffer" supported="egl">
1995            <require>
1996                <enum name="EGL_NATIVE_BUFFER_ANDROID"/>
1997            </require>
1998        </extension>
1999        <extension name="EGL_ANDROID_native_fence_sync" supported="egl">
2000            <require>
2001                <enum name="EGL_SYNC_NATIVE_FENCE_ANDROID"/>
2002                <enum name="EGL_SYNC_NATIVE_FENCE_FD_ANDROID"/>
2003                <enum name="EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID"/>
2004                <enum name="EGL_NO_NATIVE_FENCE_FD_ANDROID"/>
2005                <command name="eglDupNativeFenceFDANDROID"/>
2006            </require>
2007        </extension>
2008        <extension name="EGL_ANDROID_presentation_time" supported="egl">
2009            <require>
2010                <command name="eglPresentationTimeANDROID"/>
2011            </require>
2012        </extension>
2013        <extension name="EGL_ANDROID_recordable" supported="egl">
2014            <require>
2015                <enum name="EGL_RECORDABLE_ANDROID"/>
2016            </require>
2017        </extension>
2018        <extension name="EGL_ANGLE_d3d_share_handle_client_buffer" supported="egl">
2019            <require>
2020                <enum name="EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE"/>
2021            </require>
2022        </extension>
2023        <extension name="EGL_ANGLE_device_d3d" supported="egl">
2024            <require>
2025                <enum name="EGL_D3D9_DEVICE_ANGLE"/>
2026                <enum name="EGL_D3D11_DEVICE_ANGLE"/>
2027            </require>
2028        </extension>
2029        <extension name="EGL_ANGLE_query_surface_pointer" supported="egl">
2030            <require>
2031                <command name="eglQuerySurfacePointerANGLE"/>
2032            </require>
2033        </extension>
2034        <extension name="EGL_ANGLE_surface_d3d_texture_2d_share_handle" supported="egl">
2035            <require>
2036                <enum name="EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE"/>
2037            </require>
2038        </extension>
2039        <extension name="EGL_ANGLE_window_fixed_size" supported="egl">
2040            <require>
2041                <enum name="EGL_FIXED_SIZE_ANGLE"/>
2042            </require>
2043        </extension>
2044        <extension name="EGL_ARM_implicit_external_sync" supported="egl">
2045            <require>
2046                <enum name="EGL_SYNC_PRIOR_COMMANDS_IMPLICIT_EXTERNAL_ARM"/>
2047            </require>
2048        </extension>
2049        <extension name="EGL_ARM_pixmap_multisample_discard" supported="egl">
2050            <require>
2051                <enum name="EGL_DISCARD_SAMPLES_ARM"/>
2052            </require>
2053        </extension>
2054        <extension name="EGL_EXT_buffer_age" supported="egl">
2055            <require>
2056                <enum name="EGL_BUFFER_AGE_EXT"/>
2057            </require>
2058        </extension>
2059        <extension name="EGL_EXT_client_extensions" supported="egl"/>
2060        <extension name="EGL_EXT_create_context_robustness" supported="egl">
2061            <require>
2062                <enum name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT"/>
2063                <enum name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT"/>
2064                <enum name="EGL_NO_RESET_NOTIFICATION_EXT"/>
2065                <enum name="EGL_LOSE_CONTEXT_ON_RESET_EXT"/>
2066            </require>
2067        </extension>
2068        <extension name="EGL_EXT_device_base" supported="egl">
2069            <require>
2070                <enum name="EGL_NO_DEVICE_EXT"/>
2071                <enum name="EGL_BAD_DEVICE_EXT"/>
2072                <enum name="EGL_DEVICE_EXT"/>
2073                <command name="eglQueryDeviceAttribEXT"/>
2074                <command name="eglQueryDeviceStringEXT"/>
2075                <command name="eglQueryDevicesEXT"/>
2076                <command name="eglQueryDisplayAttribEXT"/>
2077            </require>
2078        </extension>
2079        <extension name="EGL_EXT_device_drm" supported="egl">
2080            <require>
2081                <enum name="EGL_DRM_DEVICE_FILE_EXT"/>
2082            </require>
2083        </extension>
2084        <extension name="EGL_EXT_device_enumeration" supported="egl">
2085            <require>
2086                <command name="eglQueryDevicesEXT"/>
2087            </require>
2088        </extension>
2089        <extension name="EGL_EXT_device_openwf" supported="egl">
2090            <require>
2091                <enum name="EGL_OPENWF_DEVICE_ID_EXT"/>
2092            </require>
2093        </extension>
2094        <extension name="EGL_EXT_device_query" supported="egl">
2095            <require>
2096                <enum name="EGL_NO_DEVICE_EXT"/>
2097                <enum name="EGL_BAD_DEVICE_EXT"/>
2098                <enum name="EGL_DEVICE_EXT"/>
2099                <command name="eglQueryDeviceAttribEXT"/>
2100                <command name="eglQueryDeviceStringEXT"/>
2101                <command name="eglQueryDisplayAttribEXT"/>
2102            </require>
2103        </extension>
2104        <extension name="EGL_EXT_gl_colorspace_bt2020_linear" supported="egl">
2105            <require>
2106                <enum name="EGL_GL_COLORSPACE_BT2020_LINEAR_EXT"/>
2107            </require>
2108        </extension>
2109        <extension name="EGL_EXT_gl_colorspace_bt2020_pq" supported="egl">
2110            <require>
2111                <enum name="EGL_GL_COLORSPACE_BT2020_PQ_EXT"/>
2112            </require>
2113        </extension>
2114        <extension name="EGL_EXT_gl_colorspace_scrgb" supported="egl">
2115            <require>
2116                <enum name="EGL_GL_COLORSPACE_SCRGB_EXT"/>
2117            </require>
2118        </extension>
2119        <extension name="EGL_EXT_gl_colorspace_scrgb_linear" supported="egl">
2120            <require>
2121                <enum name="EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT"/>
2122            </require>
2123        </extension>
2124        <extension name="EGL_EXT_gl_colorspace_display_p3_linear" supported="egl">
2125            <require>
2126                <enum name="EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT"/>
2127            </require>
2128        </extension>
2129        <extension name="EGL_EXT_gl_colorspace_display_p3" supported="egl">
2130            <require>
2131                <enum name="EGL_GL_COLORSPACE_DISPLAY_P3_EXT"/>
2132            </require>
2133        </extension>
2134        <extension name="EGL_EXT_image_dma_buf_import" supported="egl">
2135            <require>
2136                <enum name="EGL_LINUX_DMA_BUF_EXT"/>
2137                <enum name="EGL_LINUX_DRM_FOURCC_EXT"/>
2138                <enum name="EGL_DMA_BUF_PLANE0_FD_EXT"/>
2139                <enum name="EGL_DMA_BUF_PLANE0_OFFSET_EXT"/>
2140                <enum name="EGL_DMA_BUF_PLANE0_PITCH_EXT"/>
2141                <enum name="EGL_DMA_BUF_PLANE1_FD_EXT"/>
2142                <enum name="EGL_DMA_BUF_PLANE1_OFFSET_EXT"/>
2143                <enum name="EGL_DMA_BUF_PLANE1_PITCH_EXT"/>
2144                <enum name="EGL_DMA_BUF_PLANE2_FD_EXT"/>
2145                <enum name="EGL_DMA_BUF_PLANE2_OFFSET_EXT"/>
2146                <enum name="EGL_DMA_BUF_PLANE2_PITCH_EXT"/>
2147                <enum name="EGL_YUV_COLOR_SPACE_HINT_EXT"/>
2148                <enum name="EGL_SAMPLE_RANGE_HINT_EXT"/>
2149                <enum name="EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT"/>
2150                <enum name="EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT"/>
2151                <enum name="EGL_ITU_REC601_EXT"/>
2152                <enum name="EGL_ITU_REC709_EXT"/>
2153                <enum name="EGL_ITU_REC2020_EXT"/>
2154                <enum name="EGL_YUV_FULL_RANGE_EXT"/>
2155                <enum name="EGL_YUV_NARROW_RANGE_EXT"/>
2156                <enum name="EGL_YUV_CHROMA_SITING_0_EXT"/>
2157                <enum name="EGL_YUV_CHROMA_SITING_0_5_EXT"/>
2158            </require>
2159        </extension>
2160        <extension name="EGL_EXT_image_dma_buf_import_modifiers" supported="egl">
2161            <require>
2162                <enum name="EGL_DMA_BUF_PLANE3_FD_EXT"/>
2163                <enum name="EGL_DMA_BUF_PLANE3_OFFSET_EXT"/>
2164                <enum name="EGL_DMA_BUF_PLANE3_PITCH_EXT"/>
2165                <enum name="EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT"/>
2166                <enum name="EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT"/>
2167                <enum name="EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT"/>
2168                <enum name="EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT"/>
2169                <enum name="EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT"/>
2170                <enum name="EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT"/>
2171                <enum name="EGL_DMA_BUF_PLANE3_MODIFIER_LO_EXT"/>
2172                <enum name="EGL_DMA_BUF_PLANE3_MODIFIER_HI_EXT"/>
2173                <command name="eglQueryDmaBufFormatsEXT"/>
2174                <command name="eglQueryDmaBufModifiersEXT"/>
2175            </require>
2176        </extension>
2177        <extension name="EGL_EXT_multiview_window" supported="egl">
2178            <require>
2179                <enum name="EGL_MULTIVIEW_VIEW_COUNT_EXT"/>
2180            </require>
2181        </extension>
2182        <extension name="EGL_EXT_output_base" supported="egl">
2183            <require>
2184                <type name="EGLOutputLayerEXT"/>
2185                <type name="EGLOutputPortEXT"/>
2186                <enum name="EGL_NO_OUTPUT_LAYER_EXT"/>
2187                <enum name="EGL_NO_OUTPUT_PORT_EXT"/>
2188                <enum name="EGL_BAD_OUTPUT_LAYER_EXT"/>
2189                <enum name="EGL_BAD_OUTPUT_PORT_EXT"/>
2190                <enum name="EGL_SWAP_INTERVAL_EXT"/>
2191                <command name="eglGetOutputLayersEXT"/>
2192                <command name="eglGetOutputPortsEXT"/>
2193                <command name="eglOutputLayerAttribEXT"/>
2194                <command name="eglQueryOutputLayerAttribEXT"/>
2195                <command name="eglQueryOutputLayerStringEXT"/>
2196                <command name="eglOutputPortAttribEXT"/>
2197                <command name="eglQueryOutputPortAttribEXT"/>
2198                <command name="eglQueryOutputPortStringEXT"/>
2199            </require>
2200        </extension>
2201        <extension name="EGL_EXT_output_drm" supported="egl">
2202            <require>
2203                <enum name="EGL_DRM_CRTC_EXT"/>
2204                <enum name="EGL_DRM_PLANE_EXT"/>
2205                <enum name="EGL_DRM_CONNECTOR_EXT"/>
2206            </require>
2207        </extension>
2208        <extension name="EGL_EXT_output_openwf" supported="egl">
2209            <require>
2210                <enum name="EGL_OPENWF_PIPELINE_ID_EXT"/>
2211                <enum name="EGL_OPENWF_PORT_ID_EXT"/>
2212            </require>
2213        </extension>
2214        <extension name="EGL_EXT_pixel_format_float" supported="egl">
2215            <require>
2216                <enum name="EGL_COLOR_COMPONENT_TYPE_EXT"/>
2217                <enum name="EGL_COLOR_COMPONENT_TYPE_FIXED_EXT"/>
2218                <enum name="EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT"/>
2219            </require>
2220        </extension>
2221        <extension name="EGL_EXT_platform_base" supported="egl">
2222            <require>
2223                <command name="eglGetPlatformDisplayEXT"/>
2224                <command name="eglCreatePlatformWindowSurfaceEXT"/>
2225                <command name="eglCreatePlatformPixmapSurfaceEXT"/>
2226            </require>
2227        </extension>
2228        <extension name="EGL_EXT_platform_device" supported="egl">
2229            <require>
2230                <enum name="EGL_PLATFORM_DEVICE_EXT"/>
2231            </require>
2232        </extension>
2233        <extension name="EGL_EXT_platform_wayland" supported="egl">
2234            <require>
2235                <enum name="EGL_PLATFORM_WAYLAND_EXT"/>
2236            </require>
2237        </extension>
2238        <extension name="EGL_EXT_platform_x11" supported="egl">
2239            <require>
2240                <enum name="EGL_PLATFORM_X11_EXT"/>
2241                <enum name="EGL_PLATFORM_X11_SCREEN_EXT"/>
2242            </require>
2243        </extension>
2244        <extension name="EGL_EXT_protected_content" supported="egl">
2245            <require>
2246                <enum name="EGL_PROTECTED_CONTENT_EXT"/>
2247            </require>
2248        </extension>
2249        <extension name="EGL_EXT_protected_surface" supported="egl">
2250            <require>
2251                <enum name="EGL_PROTECTED_CONTENT_EXT"/>
2252            </require>
2253        </extension>
2254        <extension name="EGL_EXT_stream_consumer_egloutput" supported="egl">
2255            <require>
2256                <command name="eglStreamConsumerOutputEXT"/>
2257            </require>
2258        </extension>
2259        <extension name="EGL_EXT_surface_SMPTE2086_metadata" supported="egl">
2260            <require>
2261                <enum name="EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT"/>
2262                <enum name="EGL_SMPTE2086_DISPLAY_PRIMARY_RY_EXT"/>
2263                <enum name="EGL_SMPTE2086_DISPLAY_PRIMARY_GX_EXT"/>
2264                <enum name="EGL_SMPTE2086_DISPLAY_PRIMARY_GY_EXT"/>
2265                <enum name="EGL_SMPTE2086_DISPLAY_PRIMARY_BX_EXT"/>
2266                <enum name="EGL_SMPTE2086_DISPLAY_PRIMARY_BY_EXT"/>
2267                <enum name="EGL_SMPTE2086_WHITE_POINT_X_EXT"/>
2268                <enum name="EGL_SMPTE2086_WHITE_POINT_Y_EXT"/>
2269                <enum name="EGL_SMPTE2086_MAX_LUMINANCE_EXT"/>
2270                <enum name="EGL_SMPTE2086_MIN_LUMINANCE_EXT"/>
2271                <enum name="EGL_METADATA_SCALING_EXT"/>
2272            </require>
2273        </extension>
2274        <extension name="EGL_EXT_swap_buffers_with_damage" supported="egl">
2275            <require>
2276                <command name="eglSwapBuffersWithDamageEXT"/>
2277            </require>
2278        </extension>
2279        <extension name="EGL_EXT_yuv_surface" supported="egl">
2280            <require>
2281                <enum name="EGL_YUV_ORDER_EXT"/>
2282                <enum name="EGL_YUV_NUMBER_OF_PLANES_EXT"/>
2283                <enum name="EGL_YUV_SUBSAMPLE_EXT"/>
2284                <enum name="EGL_YUV_DEPTH_RANGE_EXT"/>
2285                <enum name="EGL_YUV_CSC_STANDARD_EXT"/>
2286                <enum name="EGL_YUV_PLANE_BPP_EXT"/>
2287                <enum name="EGL_YUV_BUFFER_EXT"/>
2288                <enum name="EGL_YUV_ORDER_YUV_EXT"/>
2289                <enum name="EGL_YUV_ORDER_YVU_EXT"/>
2290                <enum name="EGL_YUV_ORDER_YUYV_EXT"/>
2291                <enum name="EGL_YUV_ORDER_UYVY_EXT"/>
2292                <enum name="EGL_YUV_ORDER_YVYU_EXT"/>
2293                <enum name="EGL_YUV_ORDER_VYUY_EXT"/>
2294                <enum name="EGL_YUV_ORDER_AYUV_EXT"/>
2295                <enum name="EGL_YUV_SUBSAMPLE_4_2_0_EXT"/>
2296                <enum name="EGL_YUV_SUBSAMPLE_4_2_2_EXT"/>
2297                <enum name="EGL_YUV_SUBSAMPLE_4_4_4_EXT"/>
2298                <enum name="EGL_YUV_DEPTH_RANGE_LIMITED_EXT"/>
2299                <enum name="EGL_YUV_DEPTH_RANGE_FULL_EXT"/>
2300                <enum name="EGL_YUV_CSC_STANDARD_601_EXT"/>
2301                <enum name="EGL_YUV_CSC_STANDARD_709_EXT"/>
2302                <enum name="EGL_YUV_CSC_STANDARD_2020_EXT"/>
2303                <enum name="EGL_YUV_PLANE_BPP_0_EXT"/>
2304                <enum name="EGL_YUV_PLANE_BPP_8_EXT"/>
2305                <enum name="EGL_YUV_PLANE_BPP_10_EXT"/>
2306            </require>
2307        </extension>
2308        <extension name="EGL_HI_clientpixmap" supported="egl">
2309            <require>
2310                <enum name="EGL_CLIENT_PIXMAP_POINTER_HI"/>
2311                <command name="eglCreatePixmapSurfaceHI"/>
2312            </require>
2313        </extension>
2314        <extension name="EGL_HI_colorformats" supported="egl">
2315            <require>
2316                <enum name="EGL_COLOR_FORMAT_HI"/>
2317                <enum name="EGL_COLOR_RGB_HI"/>
2318                <enum name="EGL_COLOR_RGBA_HI"/>
2319                <enum name="EGL_COLOR_ARGB_HI"/>
2320            </require>
2321        </extension>
2322        <extension name="EGL_IMG_context_priority" supported="egl">
2323            <require>
2324                <enum name="EGL_CONTEXT_PRIORITY_LEVEL_IMG"/>
2325                <enum name="EGL_CONTEXT_PRIORITY_HIGH_IMG"/>
2326                <enum name="EGL_CONTEXT_PRIORITY_MEDIUM_IMG"/>
2327                <enum name="EGL_CONTEXT_PRIORITY_LOW_IMG"/>
2328            </require>
2329        </extension>
2330        <extension name="EGL_IMG_image_plane_attribs" supported="egl">
2331            <require>
2332                <enum name="EGL_NATIVE_BUFFER_MULTIPLANE_SEPARATE_IMG"/>
2333                <enum name="EGL_NATIVE_BUFFER_PLANE_OFFSET_IMG"/>
2334            </require>
2335        </extension>
2336        <extension name="EGL_KHR_cl_event" supported="egl">
2337            <require>
2338                <enum name="EGL_CL_EVENT_HANDLE_KHR"/>
2339                <enum name="EGL_SYNC_CL_EVENT_KHR"/>
2340                <enum name="EGL_SYNC_CL_EVENT_COMPLETE_KHR"/>
2341            </require>
2342        </extension>
2343        <extension name="EGL_KHR_cl_event2" supported="egl">
2344            <require>
2345                <enum name="EGL_CL_EVENT_HANDLE_KHR"/>
2346                <enum name="EGL_SYNC_CL_EVENT_KHR"/>
2347                <enum name="EGL_SYNC_CL_EVENT_COMPLETE_KHR"/>
2348                <command name="eglCreateSync64KHR"/>
2349            </require>
2350        </extension>
2351        <extension name="EGL_KHR_config_attribs" supported="egl">
2352            <require>
2353                <enum name="EGL_CONFORMANT_KHR"/>
2354                <enum name="EGL_VG_COLORSPACE_LINEAR_BIT_KHR"/>
2355                <enum name="EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR"/>
2356            </require>
2357        </extension>
2358        <extension name="EGL_KHR_client_get_all_proc_addresses" supported="egl" comment="Alias of EGL_KHR_get_all_proc_addresses"/>
2359        <extension name="EGL_KHR_context_flush_control" supported="egl">
2360            <require>
2361                <enum name="EGL_CONTEXT_RELEASE_BEHAVIOR_NONE_KHR"/>
2362                <enum name="EGL_CONTEXT_RELEASE_BEHAVIOR_KHR"/>
2363                <enum name="EGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR"/>
2364            </require>
2365        </extension>
2366        <extension name="EGL_KHR_create_context" supported="egl">
2367            <require>
2368                <enum name="EGL_CONTEXT_MAJOR_VERSION_KHR"/>
2369                <enum name="EGL_CONTEXT_MINOR_VERSION_KHR"/>
2370                <enum name="EGL_CONTEXT_FLAGS_KHR"/>
2371                <enum name="EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR"/>
2372                <enum name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR"/>
2373                <enum name="EGL_NO_RESET_NOTIFICATION_KHR"/>
2374                <enum name="EGL_LOSE_CONTEXT_ON_RESET_KHR"/>
2375                <enum name="EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR"/>
2376                <enum name="EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR"/>
2377                <enum name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR"/>
2378                <enum name="EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR"/>
2379                <enum name="EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR"/>
2380                <enum name="EGL_OPENGL_ES3_BIT"/>
2381                <enum name="EGL_OPENGL_ES3_BIT_KHR"/>
2382            </require>
2383        </extension>
2384        <extension name="EGL_KHR_create_context_no_error" supported="egl">
2385            <require>
2386                <enum name="EGL_CONTEXT_OPENGL_NO_ERROR_KHR"/>
2387            </require>
2388        </extension>
2389        <extension name="EGL_KHR_debug" supported="egl">
2390            <require>
2391                    <!-- Explicit dependencies require to get EGLDEBUGPROCKHR dependencies correct -->
2392                <type name="EGLLabelKHR"/>
2393                <type name="EGLObjectKHR"/>
2394                <enum name="EGL_OBJECT_THREAD_KHR"/>
2395                <enum name="EGL_OBJECT_DISPLAY_KHR"/>
2396                <enum name="EGL_OBJECT_CONTEXT_KHR"/>
2397                <enum name="EGL_OBJECT_SURFACE_KHR"/>
2398                <enum name="EGL_OBJECT_IMAGE_KHR"/>
2399                <enum name="EGL_OBJECT_SYNC_KHR"/>
2400                <enum name="EGL_OBJECT_STREAM_KHR"/>
2401                <enum name="EGL_DEBUG_MSG_CRITICAL_KHR"/>
2402                <enum name="EGL_DEBUG_MSG_ERROR_KHR"/>
2403                <enum name="EGL_DEBUG_MSG_WARN_KHR"/>
2404                <enum name="EGL_DEBUG_MSG_INFO_KHR"/>
2405                <enum name="EGL_DEBUG_CALLBACK_KHR"/>
2406                <command name="eglDebugMessageControlKHR"/>
2407                <command name="eglQueryDebugKHR"/>
2408                <command name="eglLabelObjectKHR"/>
2409            </require>
2410        </extension>
2411        <extension name="EGL_KHR_display_reference" supported="egl">
2412            <require>
2413                <enum name="EGL_TRACK_REFERENCES_KHR"/>
2414                <command name="eglQueryDisplayAttribKHR"/>
2415            </require>
2416        </extension>
2417        <extension name="EGL_KHR_fence_sync" protect="KHRONOS_SUPPORT_INT64" supported="egl">
2418            <require>
2419                <!-- Most interfaces also defined by EGL_KHR_reusable sync -->
2420                <enum name="EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR"/>
2421                <enum name="EGL_SYNC_CONDITION_KHR"/>
2422                <enum name="EGL_SYNC_FENCE_KHR"/>
2423                <command name="eglCreateSyncKHR"/>
2424                <command name="eglDestroySyncKHR"/>
2425                <command name="eglClientWaitSyncKHR"/>
2426                <command name="eglGetSyncAttribKHR"/>
2427            </require>
2428        </extension>
2429        <extension name="EGL_KHR_get_all_proc_addresses" supported="egl"/>
2430        <extension name="EGL_KHR_gl_colorspace" supported="egl">
2431            <require>
2432                <enum name="EGL_GL_COLORSPACE_KHR"/>
2433                <enum name="EGL_GL_COLORSPACE_SRGB_KHR"/>
2434                <enum name="EGL_GL_COLORSPACE_LINEAR_KHR"/>
2435            </require>
2436        </extension>
2437        <extension name="EGL_KHR_gl_renderbuffer_image" supported="egl">
2438            <require>
2439                <enum name="EGL_GL_RENDERBUFFER_KHR"/>
2440            </require>
2441        </extension>
2442        <extension name="EGL_KHR_gl_texture_2D_image" supported="egl">
2443            <require>
2444                <enum name="EGL_GL_TEXTURE_2D_KHR"/>
2445                <enum name="EGL_GL_TEXTURE_LEVEL_KHR"/>
2446            </require>
2447        </extension>
2448        <extension name="EGL_KHR_gl_texture_3D_image" supported="egl">
2449            <require>
2450                <enum name="EGL_GL_TEXTURE_3D_KHR"/>
2451                <enum name="EGL_GL_TEXTURE_ZOFFSET_KHR"/>
2452            </require>
2453        </extension>
2454        <extension name="EGL_KHR_gl_texture_cubemap_image" supported="egl">
2455            <require>
2456                <enum name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR"/>
2457                <enum name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR"/>
2458                <enum name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR"/>
2459                <enum name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR"/>
2460                <enum name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR"/>
2461                <enum name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR"/>
2462            </require>
2463        </extension>
2464        <extension name="EGL_KHR_image" supported="egl">
2465            <require>
2466                <enum name="EGL_NATIVE_PIXMAP_KHR"/>
2467                <enum name="EGL_NO_IMAGE_KHR"/>
2468                <command name="eglCreateImageKHR"/>
2469                <command name="eglDestroyImageKHR"/>
2470            </require>
2471        </extension>
2472        <extension name="EGL_KHR_image_base" supported="egl">
2473            <require>
2474                <enum name="EGL_IMAGE_PRESERVED_KHR"/>
2475                <enum name="EGL_NO_IMAGE_KHR"/>
2476                <command name="eglCreateImageKHR"/>
2477                <command name="eglDestroyImageKHR"/>
2478            </require>
2479        </extension>
2480        <extension name="EGL_KHR_image_pixmap" supported="egl">
2481            <require>
2482                <enum name="EGL_NATIVE_PIXMAP_KHR"/>
2483            </require>
2484        </extension>
2485        <extension name="EGL_KHR_lock_surface" supported="egl">
2486            <require>
2487                <enum name="EGL_READ_SURFACE_BIT_KHR"/>
2488                <enum name="EGL_WRITE_SURFACE_BIT_KHR"/>
2489                <enum name="EGL_LOCK_SURFACE_BIT_KHR"/>
2490                <enum name="EGL_OPTIMAL_FORMAT_BIT_KHR"/>
2491                <enum name="EGL_MATCH_FORMAT_KHR"/>
2492                <enum name="EGL_FORMAT_RGB_565_EXACT_KHR"/>
2493                <enum name="EGL_FORMAT_RGB_565_KHR"/>
2494                <enum name="EGL_FORMAT_RGBA_8888_EXACT_KHR"/>
2495                <enum name="EGL_FORMAT_RGBA_8888_KHR"/>
2496                <enum name="EGL_MAP_PRESERVE_PIXELS_KHR"/>
2497                <enum name="EGL_LOCK_USAGE_HINT_KHR"/>
2498                <enum name="EGL_BITMAP_POINTER_KHR"/>
2499                <enum name="EGL_BITMAP_PITCH_KHR"/>
2500                <enum name="EGL_BITMAP_ORIGIN_KHR"/>
2501                <enum name="EGL_BITMAP_PIXEL_RED_OFFSET_KHR"/>
2502                <enum name="EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR"/>
2503                <enum name="EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR"/>
2504                <enum name="EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR"/>
2505                <enum name="EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR"/>
2506                <enum name="EGL_LOWER_LEFT_KHR"/>
2507                <enum name="EGL_UPPER_LEFT_KHR"/>
2508                <command name="eglLockSurfaceKHR"/>
2509                <command name="eglUnlockSurfaceKHR"/>
2510            </require>
2511        </extension>
2512        <extension name="EGL_KHR_lock_surface2" supported="egl">
2513            <require>
2514                <enum name="EGL_BITMAP_PIXEL_SIZE_KHR"/>
2515            </require>
2516        </extension>
2517        <extension name="EGL_KHR_lock_surface3" supported="egl">
2518            <require>
2519                <enum name="EGL_READ_SURFACE_BIT_KHR"/>
2520                <enum name="EGL_WRITE_SURFACE_BIT_KHR"/>
2521                <enum name="EGL_LOCK_SURFACE_BIT_KHR"/>
2522                <enum name="EGL_OPTIMAL_FORMAT_BIT_KHR"/>
2523                <enum name="EGL_MATCH_FORMAT_KHR"/>
2524                <enum name="EGL_FORMAT_RGB_565_EXACT_KHR"/>
2525                <enum name="EGL_FORMAT_RGB_565_KHR"/>
2526                <enum name="EGL_FORMAT_RGBA_8888_EXACT_KHR"/>
2527                <enum name="EGL_FORMAT_RGBA_8888_KHR"/>
2528                <enum name="EGL_MAP_PRESERVE_PIXELS_KHR"/>
2529                <enum name="EGL_LOCK_USAGE_HINT_KHR"/>
2530                <enum name="EGL_BITMAP_PITCH_KHR"/>
2531                <enum name="EGL_BITMAP_ORIGIN_KHR"/>
2532                <enum name="EGL_BITMAP_PIXEL_RED_OFFSET_KHR"/>
2533                <enum name="EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR"/>
2534                <enum name="EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR"/>
2535                <enum name="EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR"/>
2536                <enum name="EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR"/>
2537                <enum name="EGL_BITMAP_PIXEL_SIZE_KHR"/>
2538                <enum name="EGL_BITMAP_POINTER_KHR"/>
2539                <enum name="EGL_LOWER_LEFT_KHR"/>
2540                <enum name="EGL_UPPER_LEFT_KHR"/>
2541                <command name="eglLockSurfaceKHR"/>
2542                <command name="eglUnlockSurfaceKHR"/>
2543                <command name="eglQuerySurface64KHR"/>
2544            </require>
2545        </extension>
2546        <extension name="EGL_KHR_mutable_render_buffer" supported="egl">
2547            <require>
2548                <enum name="EGL_MUTABLE_RENDER_BUFFER_BIT_KHR"/>
2549            </require>
2550        </extension>
2551        <extension name="EGL_KHR_no_config_context" supported="egl">
2552            <require>
2553                <enum name="EGL_NO_CONFIG_KHR"/>
2554            </require>
2555        </extension>
2556        <extension name="EGL_KHR_partial_update" supported="egl">
2557            <require>
2558                <enum name="EGL_BUFFER_AGE_KHR"/>
2559                <command name="eglSetDamageRegionKHR"/>
2560            </require>
2561        </extension>
2562        <extension name="EGL_KHR_platform_android" supported="egl">
2563            <require>
2564                <enum name="EGL_PLATFORM_ANDROID_KHR"/>
2565            </require>
2566        </extension>
2567        <extension name="EGL_KHR_platform_gbm" supported="egl">
2568            <require>
2569                <enum name="EGL_PLATFORM_GBM_KHR"/>
2570            </require>
2571        </extension>
2572        <extension name="EGL_KHR_platform_wayland" supported="egl">
2573            <require>
2574                <enum name="EGL_PLATFORM_WAYLAND_KHR"/>
2575            </require>
2576        </extension>
2577        <extension name="EGL_KHR_platform_x11" supported="egl">
2578            <require>
2579                <enum name="EGL_PLATFORM_X11_KHR"/>
2580                <enum name="EGL_PLATFORM_X11_SCREEN_KHR"/>
2581            </require>
2582        </extension>
2583        <extension name="EGL_KHR_reusable_sync" protect="KHRONOS_SUPPORT_INT64" supported="egl">
2584            <require>
2585                <enum name="EGL_SYNC_STATUS_KHR"/>
2586                <enum name="EGL_SIGNALED_KHR"/>
2587                <enum name="EGL_UNSIGNALED_KHR"/>
2588                <enum name="EGL_TIMEOUT_EXPIRED_KHR"/>
2589                <enum name="EGL_CONDITION_SATISFIED_KHR"/>
2590                <enum name="EGL_SYNC_TYPE_KHR"/>
2591                <enum name="EGL_SYNC_REUSABLE_KHR"/>
2592                <enum name="EGL_SYNC_FLUSH_COMMANDS_BIT_KHR"/>
2593                <enum name="EGL_FOREVER_KHR"/>
2594                <enum name="EGL_NO_SYNC_KHR"/>
2595                <command name="eglCreateSyncKHR"/>
2596                <command name="eglDestroySyncKHR"/>
2597                <command name="eglClientWaitSyncKHR"/>
2598                <command name="eglSignalSyncKHR"/>
2599                <command name="eglGetSyncAttribKHR"/>
2600            </require>
2601        </extension>
2602        <extension name="EGL_KHR_stream" protect="KHRONOS_SUPPORT_INT64" supported="egl">
2603            <require>
2604                <enum name="EGL_NO_STREAM_KHR"/>
2605                <enum name="EGL_CONSUMER_LATENCY_USEC_KHR"/>
2606                <enum name="EGL_PRODUCER_FRAME_KHR"/>
2607                <enum name="EGL_CONSUMER_FRAME_KHR"/>
2608                <enum name="EGL_STREAM_STATE_KHR"/>
2609                <enum name="EGL_STREAM_STATE_CREATED_KHR"/>
2610                <enum name="EGL_STREAM_STATE_CONNECTING_KHR"/>
2611                <enum name="EGL_STREAM_STATE_EMPTY_KHR"/>
2612                <enum name="EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR"/>
2613                <enum name="EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR"/>
2614                <enum name="EGL_STREAM_STATE_DISCONNECTED_KHR"/>
2615                <enum name="EGL_BAD_STREAM_KHR"/>
2616                <enum name="EGL_BAD_STATE_KHR"/>
2617                <command name="eglCreateStreamKHR"/>
2618                <command name="eglDestroyStreamKHR"/>
2619                <command name="eglStreamAttribKHR"/>
2620                <command name="eglQueryStreamKHR"/>
2621                <command name="eglQueryStreamu64KHR"/>
2622            </require>
2623        </extension>
2624        <extension name="EGL_KHR_stream_attrib" protect="KHRONOS_SUPPORT_INT64" supported="egl">
2625            <require>
2626                <enum name="EGL_CONSUMER_LATENCY_USEC_KHR"/>
2627                <enum name="EGL_STREAM_STATE_KHR"/>
2628                <enum name="EGL_STREAM_STATE_CREATED_KHR"/>
2629                <enum name="EGL_STREAM_STATE_CONNECTING_KHR"/>
2630                <command name="eglCreateStreamAttribKHR"/>
2631                <command name="eglSetStreamAttribKHR"/>
2632                <command name="eglQueryStreamAttribKHR"/>
2633                <command name="eglStreamConsumerAcquireAttribKHR"/>
2634                <command name="eglStreamConsumerReleaseAttribKHR"/>
2635            </require>
2636        </extension>
2637        <extension name="EGL_KHR_stream_consumer_gltexture" protect="EGL_KHR_stream" supported="egl">
2638            <require>
2639                <enum name="EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR"/>
2640                <command name="eglStreamConsumerGLTextureExternalKHR"/>
2641                <command name="eglStreamConsumerAcquireKHR"/>
2642                <command name="eglStreamConsumerReleaseKHR"/>
2643            </require>
2644        </extension>
2645        <extension name="EGL_KHR_stream_cross_process_fd" protect="EGL_KHR_stream" supported="egl">
2646            <require>
2647                <enum name="EGL_NO_FILE_DESCRIPTOR_KHR"/>
2648                <command name="eglGetStreamFileDescriptorKHR"/>
2649                <command name="eglCreateStreamFromFileDescriptorKHR"/>
2650            </require>
2651        </extension>
2652        <extension name="EGL_KHR_stream_fifo" protect="EGL_KHR_stream" supported="egl">
2653            <require>
2654                <enum name="EGL_STREAM_FIFO_LENGTH_KHR"/>
2655                <enum name="EGL_STREAM_TIME_NOW_KHR"/>
2656                <enum name="EGL_STREAM_TIME_CONSUMER_KHR"/>
2657                <enum name="EGL_STREAM_TIME_PRODUCER_KHR"/>
2658                <command name="eglQueryStreamTimeKHR"/>
2659            </require>
2660        </extension>
2661        <extension name="EGL_KHR_stream_producer_aldatalocator" protect="EGL_KHR_stream" supported="egl"/>
2662        <extension name="EGL_KHR_stream_producer_eglsurface" protect="EGL_KHR_stream" supported="egl">
2663            <require>
2664                <enum name="EGL_STREAM_BIT_KHR"/>
2665                <command name="eglCreateStreamProducerSurfaceKHR"/>
2666            </require>
2667        </extension>
2668        <extension name="EGL_KHR_surfaceless_context" supported="egl" comment="Just relaxes an error condition"/>
2669        <extension name="EGL_KHR_swap_buffers_with_damage" supported="egl">
2670            <require>
2671                <command name="eglSwapBuffersWithDamageKHR"/>
2672            </require>
2673        </extension>
2674        <extension name="EGL_KHR_vg_parent_image" supported="egl">
2675            <require>
2676                <enum name="EGL_VG_PARENT_IMAGE_KHR"/>
2677            </require>
2678        </extension>
2679        <extension name="EGL_KHR_wait_sync" supported="egl">
2680            <require>
2681                <command name="eglWaitSyncKHR"/>
2682            </require>
2683        </extension>
2684        <extension name="EGL_MESA_drm_image" supported="egl">
2685            <require>
2686                <enum name="EGL_DRM_BUFFER_FORMAT_MESA"/>
2687                <enum name="EGL_DRM_BUFFER_USE_MESA"/>
2688                <enum name="EGL_DRM_BUFFER_FORMAT_ARGB32_MESA"/>
2689                <enum name="EGL_DRM_BUFFER_MESA"/>
2690                <enum name="EGL_DRM_BUFFER_STRIDE_MESA"/>
2691                <enum name="EGL_DRM_BUFFER_USE_SCANOUT_MESA"/>
2692                <enum name="EGL_DRM_BUFFER_USE_SHARE_MESA"/>
2693                <command name="eglCreateDRMImageMESA"/>
2694                <command name="eglExportDRMImageMESA"/>
2695            </require>
2696        </extension>
2697        <extension name="EGL_MESA_image_dma_buf_export" supported="egl">
2698            <require>
2699                <type name="EGLuint64KHR"/>
2700                <command name="eglExportDMABUFImageQueryMESA"/>
2701                <command name="eglExportDMABUFImageMESA"/>
2702            </require>
2703        </extension>
2704        <extension name="EGL_MESA_platform_gbm" supported="egl">
2705            <require>
2706                <enum name="EGL_PLATFORM_GBM_MESA"/>
2707            </require>
2708        </extension>
2709        <extension name="EGL_MESA_platform_surfaceless" supported="egl">
2710            <require>
2711                <enum name="EGL_PLATFORM_SURFACELESS_MESA"/>
2712            </require>
2713        </extension>
2714        <extension name="EGL_NOK_swap_region" supported="egl">
2715            <require>
2716                <command name="eglSwapBuffersRegionNOK"/>
2717            </require>
2718        </extension>
2719        <extension name="EGL_NOK_swap_region2" supported="egl">
2720            <require>
2721                <command name="eglSwapBuffersRegion2NOK"/>
2722            </require>
2723        </extension>
2724        <extension name="EGL_NOK_texture_from_pixmap" supported="egl">
2725            <require>
2726                <enum name="EGL_Y_INVERTED_NOK"/>
2727            </require>
2728        </extension>
2729        <extension name="EGL_NV_3dvision_surface" supported="egl">
2730            <require>
2731                <enum name="EGL_AUTO_STEREO_NV"/>
2732            </require>
2733        </extension>
2734        <extension name="EGL_NV_coverage_sample" supported="egl">
2735            <require>
2736                <enum name="EGL_COVERAGE_BUFFERS_NV"/>
2737                <enum name="EGL_COVERAGE_SAMPLES_NV"/>
2738            </require>
2739        </extension>
2740        <extension name="EGL_NV_coverage_sample_resolve" supported="egl">
2741            <require>
2742                <enum name="EGL_COVERAGE_SAMPLE_RESOLVE_NV"/>
2743                <enum name="EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV"/>
2744                <enum name="EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV"/>
2745            </require>
2746        </extension>
2747        <extension name="EGL_NV_cuda_event" supported="egl">
2748            <require>
2749                <enum name="EGL_CUDA_EVENT_HANDLE_NV"/>
2750                <enum name="EGL_SYNC_CUDA_EVENT_NV"/>
2751                <enum name="EGL_SYNC_CUDA_EVENT_COMPLETE_NV"/>
2752            </require>
2753        </extension>
2754        <extension name="EGL_NV_depth_nonlinear" supported="egl">
2755            <require>
2756                <enum name="EGL_DEPTH_ENCODING_NV"/>
2757                <enum name="EGL_DEPTH_ENCODING_NONE_NV"/>
2758                <enum name="EGL_DEPTH_ENCODING_NONLINEAR_NV"/>
2759            </require>
2760        </extension>
2761        <extension name="EGL_NV_device_cuda" supported="egl">
2762            <require>
2763                <enum name="EGL_CUDA_DEVICE_NV"/>
2764            </require>
2765        </extension>
2766        <extension name="EGL_NV_native_query" supported="egl">
2767            <require>
2768                <command name="eglQueryNativeDisplayNV"/>
2769                <command name="eglQueryNativeWindowNV"/>
2770                <command name="eglQueryNativePixmapNV"/>
2771            </require>
2772        </extension>
2773        <extension name="EGL_NV_post_convert_rounding" supported="egl">
2774            <require>
2775            </require>
2776        </extension>
2777        <extension name="EGL_NV_post_sub_buffer" supported="egl">
2778            <require>
2779                <enum name="EGL_POST_SUB_BUFFER_SUPPORTED_NV"/>
2780                <command name="eglPostSubBufferNV"/>
2781            </require>
2782        </extension>
2783        <extension name="EGL_NV_robustness_video_memory_purge" supported="egl">
2784            <require>
2785                <enum name="EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV"/>
2786            </require>
2787        </extension>
2788        <extension name="EGL_NV_stream_consumer_gltexture_yuv" supported="egl">
2789            <require>
2790                <enum name="EGL_YUV_PLANE0_TEXTURE_UNIT_NV"/>
2791                <enum name="EGL_YUV_PLANE1_TEXTURE_UNIT_NV"/>
2792                <enum name="EGL_YUV_PLANE2_TEXTURE_UNIT_NV"/>
2793                <enum name="EGL_YUV_NUMBER_OF_PLANES_EXT"/>
2794                <enum name="EGL_YUV_BUFFER_EXT"/>
2795                <command name="eglStreamConsumerGLTextureExternalAttribsNV"/>
2796            </require>
2797        </extension>
2798        <extension name="EGL_NV_stream_cross_object" supported="egl">
2799            <require>
2800                <enum name="EGL_STREAM_CROSS_OBJECT_NV"/>
2801            </require>
2802        </extension>
2803        <extension name="EGL_NV_stream_cross_display" supported="egl">
2804            <require>
2805                <enum name="EGL_STREAM_CROSS_DISPLAY_NV"/>
2806            </require>
2807        </extension>
2808        <extension name="EGL_NV_stream_cross_partition" supported="egl">
2809            <require>
2810                <enum name="EGL_STREAM_CROSS_PARTITION_NV"/>
2811            </require>
2812        </extension>
2813        <extension name="EGL_NV_stream_cross_process" supported="egl">
2814            <require>
2815                <enum name="EGL_STREAM_CROSS_PROCESS_NV"/>
2816            </require>
2817        </extension>
2818        <extension name="EGL_NV_stream_cross_system" supported="egl">
2819            <require>
2820                <enum name="EGL_STREAM_CROSS_SYSTEM_NV"/>
2821            </require>
2822        </extension>
2823        <extension name="EGL_NV_stream_fifo_next" supported="egl">
2824            <require>
2825                <enum name="EGL_PENDING_FRAME_NV"/>
2826                <enum name="EGL_STREAM_TIME_PENDING_NV"/>
2827            </require>
2828        </extension>
2829        <extension name="EGL_NV_stream_fifo_synchronous" supported="egl">
2830            <require>
2831                <enum name="EGL_STREAM_FIFO_SYNCHRONOUS_NV"/>
2832            </require>
2833        </extension>
2834        <extension name="EGL_NV_stream_frame_limits" supported="egl">
2835            <require>
2836                <enum name="EGL_PRODUCER_MAX_FRAME_HINT_NV"/>
2837                <enum name="EGL_CONSUMER_MAX_FRAME_HINT_NV"/>
2838            </require>
2839        </extension>
2840        <extension name="EGL_NV_stream_metadata" supported="egl">
2841            <require>
2842                <enum name="EGL_MAX_STREAM_METADATA_BLOCKS_NV"/>
2843                <enum name="EGL_MAX_STREAM_METADATA_BLOCK_SIZE_NV"/>
2844                <enum name="EGL_MAX_STREAM_METADATA_TOTAL_SIZE_NV"/>
2845                <enum name="EGL_PRODUCER_METADATA_NV"/>
2846                <enum name="EGL_CONSUMER_METADATA_NV"/>
2847                <enum name="EGL_PENDING_METADATA_NV"/>
2848                <enum name="EGL_METADATA0_SIZE_NV"/>
2849                <enum name="EGL_METADATA1_SIZE_NV"/>
2850                <enum name="EGL_METADATA2_SIZE_NV"/>
2851                <enum name="EGL_METADATA3_SIZE_NV"/>
2852                <enum name="EGL_METADATA0_TYPE_NV"/>
2853                <enum name="EGL_METADATA1_TYPE_NV"/>
2854                <enum name="EGL_METADATA2_TYPE_NV"/>
2855                <enum name="EGL_METADATA3_TYPE_NV"/>
2856                <command name="eglQueryDisplayAttribNV"/>
2857                <command name="eglSetStreamMetadataNV"/>
2858                <command name="eglQueryStreamMetadataNV"/>
2859            </require>
2860        </extension>
2861        <extension name="EGL_NV_stream_reset" supported="egl">
2862            <require>
2863                <enum name="EGL_SUPPORT_RESET_NV"/>
2864                <enum name="EGL_SUPPORT_REUSE_NV"/>
2865                <command name="eglResetStreamNV"/>
2866            </require>
2867        </extension>
2868        <extension name="EGL_NV_stream_remote" supported="egl">
2869            <require>
2870                <enum name="EGL_STREAM_STATE_INITIALIZING_NV"/>
2871                <enum name="EGL_STREAM_TYPE_NV"/>
2872                <enum name="EGL_STREAM_PROTOCOL_NV"/>
2873                <enum name="EGL_STREAM_ENDPOINT_NV"/>
2874                <enum name="EGL_STREAM_LOCAL_NV"/>
2875                <enum name="EGL_STREAM_PRODUCER_NV"/>
2876                <enum name="EGL_STREAM_CONSUMER_NV"/>
2877            </require>
2878            <require comment="Supported only if EGL_KHR_stream_cross_process_fd is supported">
2879                <enum name="EGL_STREAM_PROTOCOL_FD_NV"/>
2880            </require>
2881        </extension>
2882        <extension name="EGL_NV_stream_socket" supported="egl">
2883            <require>
2884                <enum name="EGL_STREAM_PROTOCOL_SOCKET_NV"/>
2885                <enum name="EGL_SOCKET_HANDLE_NV"/>
2886                <enum name="EGL_SOCKET_TYPE_NV"/>
2887            </require>
2888        </extension>
2889        <extension name="EGL_NV_stream_socket_inet" supported="egl">
2890            <require>
2891                <enum name="EGL_SOCKET_TYPE_INET_NV"/>
2892            </require>
2893        </extension>
2894        <extension name="EGL_NV_stream_socket_unix" supported="egl">
2895            <require>
2896                <enum name="EGL_SOCKET_TYPE_UNIX_NV"/>
2897            </require>
2898        </extension>
2899        <extension name="EGL_NV_stream_sync" supported="egl">
2900            <require>
2901                <enum name="EGL_SYNC_TYPE_KHR"/>
2902                <enum name="EGL_SYNC_NEW_FRAME_NV"/>
2903                <command name="eglCreateStreamSyncNV"/>
2904            </require>
2905        </extension>
2906        <extension name="EGL_NV_sync" protect="KHRONOS_SUPPORT_INT64" supported="egl">
2907            <require>
2908                <enum name="EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV"/>
2909                <enum name="EGL_SYNC_STATUS_NV"/>
2910                <enum name="EGL_SIGNALED_NV"/>
2911                <enum name="EGL_UNSIGNALED_NV"/>
2912                <enum name="EGL_SYNC_FLUSH_COMMANDS_BIT_NV"/>
2913                <enum name="EGL_FOREVER_NV"/>
2914                <enum name="EGL_ALREADY_SIGNALED_NV"/>
2915                <enum name="EGL_TIMEOUT_EXPIRED_NV"/>
2916                <enum name="EGL_CONDITION_SATISFIED_NV"/>
2917                <enum name="EGL_SYNC_TYPE_NV"/>
2918                <enum name="EGL_SYNC_CONDITION_NV"/>
2919                <enum name="EGL_SYNC_FENCE_NV"/>
2920                <enum name="EGL_NO_SYNC_NV"/>
2921                <command name="eglCreateFenceSyncNV"/>
2922                <command name="eglDestroySyncNV"/>
2923                <command name="eglFenceNV"/>
2924                <command name="eglClientWaitSyncNV"/>
2925                <command name="eglSignalSyncNV"/>
2926                <command name="eglGetSyncAttribNV"/>
2927            </require>
2928        </extension>
2929        <extension name="EGL_NV_system_time" protect="KHRONOS_SUPPORT_INT64" supported="egl">
2930            <require>
2931                <command name="eglGetSystemTimeFrequencyNV"/>
2932                <command name="eglGetSystemTimeNV"/>
2933            </require>
2934        </extension>
2935        <extension name="EGL_TIZEN_image_native_buffer" supported="egl">
2936            <require>
2937                <enum name="EGL_NATIVE_BUFFER_TIZEN"/>
2938            </require>
2939        </extension>
2940        <extension name="EGL_TIZEN_image_native_surface" supported="egl">
2941            <require>
2942                <enum name="EGL_NATIVE_SURFACE_TIZEN"/>
2943            </require>
2944        </extension>
2945        <extension name="EGL_EXT_compositor" supported="egl">
2946            <require>
2947                <enum name="EGL_PRIMARY_COMPOSITOR_CONTEXT_EXT"/>
2948                <enum name="EGL_EXTERNAL_REF_ID_EXT"/>
2949                <enum name="EGL_COMPOSITOR_DROP_NEWEST_FRAME_EXT"/>
2950                <enum name="EGL_COMPOSITOR_KEEP_NEWEST_FRAME_EXT"/>
2951
2952                <command name="eglCompositorSetContextListEXT"/>
2953                <command name="eglCompositorSetContextAttributesEXT"/>
2954                <command name="eglCompositorSetWindowListEXT"/>
2955                <command name="eglCompositorSetWindowAttributesEXT"/>
2956                <command name="eglCompositorBindTexWindowEXT"/>
2957                <command name="eglCompositorSetSizeEXT"/>
2958                <command name="eglCompositorSwapPolicyEXT"/>
2959            </require>
2960        </extension>
2961        <extension name="EGL_EXT_surface_CTA861_3_metadata" supported="egl">
2962            <require>
2963                <enum name="EGL_CTA861_3_MAX_CONTENT_LIGHT_LEVEL_EXT"/>
2964                <enum name="EGL_CTA861_3_MAX_FRAME_AVERAGE_LEVEL_EXT"/>
2965            </require>
2966        </extension>
2967        <extension name="EGL_EXT_image_implicit_sync_control" supported="egl">
2968	    <require>
2969	        <enum name="EGL_IMPORT_SYNC_TYPE_EXT"/>
2970		<enum name="EGL_IMPORT_IMPLICIT_SYNC_EXT"/>
2971		<enum name="EGL_IMPORT_EXPLICIT_SYNC_EXT"/>
2972	    </require>
2973	</extension>
2974        <extension name="EGL_EXT_bind_to_front" supported="egl">
2975            <require>
2976                <enum name="EGL_FRONT_BUFFER_EXT"/>
2977            </require>
2978        </extension>
2979    </extensions>
2980</registry>
2981