• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<registry>
3    <!--
4    Copyright (c) 2013-2014 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        http://www.opengl.org/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>EGLConfig</name>;</type>
58        <type>typedef void *<name>EGLContext</name>;</type>
59        <type>typedef void *<name>EGLDisplay</name>;</type>
60        <type>typedef void *<name>EGLSurface</name>;</type>
61        <type>typedef void *<name>EGLClientBuffer</name>;</type>
62        <type>typedef void (*<name>__eglMustCastToProperFunctionPointerType</name>)(void);</type>
63        <type>typedef void *<name>EGLImageKHR</name>;</type>
64        <type>typedef void *<name>EGLImage</name>;</type>
65        <type>typedef void *<name>EGLSyncKHR</name>;</type>
66        <type>typedef void *<name>EGLSync</name>;</type>
67        <type requires="khrplatform">typedef khronos_utime_nanoseconds_t <name>EGLTimeKHR</name>;</type>
68        <type requires="khrplatform">typedef khronos_utime_nanoseconds_t <name>EGLTime</name>;</type>
69        <type>typedef void *<name>EGLSyncNV</name>;</type>
70        <type requires="khrplatform">typedef khronos_utime_nanoseconds_t <name>EGLTimeNV</name>;</type>
71        <type requires="khrplatform">typedef khronos_utime_nanoseconds_t <name>EGLuint64NV</name>;</type>
72        <type>typedef void *<name>EGLStreamKHR</name>;</type>
73        <type requires="khrplatform">typedef khronos_uint64_t <name>EGLuint64KHR</name>;</type>
74        <type>typedef int <name>EGLNativeFileDescriptorKHR</name>;</type>
75        <type requires="khrplatform">typedef khronos_ssize_t <name>EGLsizeiANDROID</name>;</type>
76        <type requires="EGLsizeiANDROID">typedef void (*<name>EGLSetBlobFuncANDROID</name>) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize);</type>
77        <type requires="EGLsizeiANDROID">typedef EGLsizeiANDROID (*<name>EGLGetBlobFuncANDROID</name>) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize);</type>
78        <type>struct <name>EGLClientPixmapHI</name> {
79    void  *pData;
80    EGLint iWidth;
81    EGLint iHeight;
82    EGLint iStride;
83};</type>
84    </types>
85
86    <!-- SECTION: EGL enumerant (token) definitions. -->
87
88    <!-- Bitmasks each have their own namespace, as do a few other
89         categories of enumeration -->
90
91    <enums namespace="EGLSurfaceTypeMask" type="bitmask" comment="EGL_SURFACE_TYPE bits">
92        <enum value="0x0001" name="EGL_PBUFFER_BIT"/>
93        <enum value="0x0002" name="EGL_PIXMAP_BIT"/>
94        <enum value="0x0004" name="EGL_WINDOW_BIT"/>
95        <enum value="0x0008" name="EGL_PBUFFER_IMAGE_BIT_TAO" comment="Unreleased TAO extension"/>
96        <enum value="0x0010" name="EGL_PBUFFER_PALETTE_IMAGE_BIT_TAO" comment="Unreleased TAO extension"/>
97        <enum value="0x0020" name="EGL_VG_COLORSPACE_LINEAR_BIT"/>
98        <enum value="0x0020" name="EGL_VG_COLORSPACE_LINEAR_BIT_KHR"/>
99        <enum value="0x0040" name="EGL_VG_ALPHA_FORMAT_PRE_BIT"/>
100        <enum value="0x0040" name="EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR"/>
101        <enum value="0x0080" name="EGL_LOCK_SURFACE_BIT_KHR"/>
102        <enum value="0x0100" name="EGL_OPTIMAL_FORMAT_BIT_KHR"/>
103        <enum value="0x0200" name="EGL_MULTISAMPLE_RESOLVE_BOX_BIT"/>
104        <enum value="0x0400" name="EGL_SWAP_BEHAVIOR_PRESERVED_BIT"/>
105        <enum value="0x0800" name="EGL_STREAM_BIT_KHR"/>
106            <!--
107        <enum value="0x0800"      name="EGL_STREAM_BIT_NV" comment="Draft EGL_NV_stream_producer_eglsurface extension (bug 8064)"/>
108            -->
109    </enums>
110
111    <enums namespace="EGLRenderableTypeMask" type="bitmask" comment="EGL_RENDERABLE_TYPE bits">
112        <enum value="0x0001" name="EGL_OPENGL_ES_BIT"/>
113        <enum value="0x0002" name="EGL_OPENVG_BIT"/>
114        <enum value="0x0004" name="EGL_OPENGL_ES2_BIT"/>
115        <enum value="0x0008" name="EGL_OPENGL_BIT"/>
116        <enum value="0x0010" name="EGL_INTEROP_BIT_KHR" comment="EGL_KHR_interop"/>
117        <enum value="0x0020" name="EGL_OPENMAX_IL_BIT_KHR" comment="EGL_KHR_interop"/>
118        <enum value="0x00000040" name="EGL_OPENGL_ES3_BIT"/>
119        <enum value="0x00000040" name="EGL_OPENGL_ES3_BIT_KHR" alias="EGL_OPENGL_ES3_BIT"/>
120    </enums>
121
122    <enums namespace="EGLLockUsageHintKHRMask" type="bitmask" comment="EGL_LOCK_USAGE_HINT_KHR bits">
123        <enum value="0x0001" name="EGL_READ_SURFACE_BIT_KHR"/>
124        <enum value="0x0002" name="EGL_WRITE_SURFACE_BIT_KHR"/>
125    </enums>
126
127    <enums namespace="EGLSyncFlagsKHR" type="bitmask" comment="Fence/reusable sync wait bits">
128        <enum value="0x0001" name="EGL_SYNC_FLUSH_COMMANDS_BIT"/>
129        <enum value="0x0001" name="EGL_SYNC_FLUSH_COMMANDS_BIT_KHR" alias="EGL_SYNC_FLUSH_COMMANDS_BIT"/>
130        <enum value="0x0001" name="EGL_SYNC_FLUSH_COMMANDS_BIT_NV" alias="EGL_SYNC_FLUSH_COMMANDS_BIT"/>
131    </enums>
132
133    <enums namespace="EGLDRMBufferUseMESAMask" type="bitmask" comment="EGL_DRM_BUFFER_USE_MESA bits">
134        <enum value="0x00000001" name="EGL_DRM_BUFFER_USE_SCANOUT_MESA"/>
135        <enum value="0x00000002" name="EGL_DRM_BUFFER_USE_SHARE_MESA"/>
136    </enums>
137
138    <!-- Should be shared with GL, but aren't aren't since the
139         FORWARD_COMPATIBLE and DEBUG_BIT values are swapped in the
140         corresponding GL enums. Oops :-( -->
141    <enums namespace="EGLContextFlagMask" type="bitmask" comment="EGL_CONTEXT_FLAGS_KHR bits">
142        <enum value="0x00000001" name="EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR"/>
143        <enum value="0x00000002" name="EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR"/>
144        <enum value="0x00000004" name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR"/>
145    </enums>
146
147    <enums namespace="EGLContextProfileMask" type="bitmask" comment="Shared with GL">
148        <enum value="0x00000001" name="EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT"/>
149        <enum value="0x00000001" name="EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR" alias="EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT"/>
150        <enum value="0x00000002" name="EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT"/>
151        <enum value="0x00000002" name="EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR" alias="EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT"/>
152    </enums>
153
154    <!-- The default ("API") enum namespace starts here. While some
155         assigned values may overlap, and different parts of the
156         namespace are reserved for different purposes, it is a single
157         namespace. The "class" attribute indicates some of the reserved
158         purposes but is by no means complete (and cannot be, since many
159         tokens are reused for different purposes in different
160         extensions and API versions). -->
161
162    <enums namespace="EGL" start="0x0000" end="0x2FFF" vendor="ARB"/>
163
164    <enums namespace="EGL" group="Boolean" vendor="ARB">
165        <enum value="0" name="EGL_FALSE"/>
166        <enum value="1" name="EGL_TRUE"/>
167    </enums>
168
169    <enums namespace="EGL" group="SpecialNumbers" vendor="ARB" comment="Tokens whose numeric value is intrinsically meaningful">
170        <enum value="((EGLint)-1)" name="EGL_DONT_CARE"/>
171        <enum value="((EGLint)-1)" name="EGL_UNKNOWN"/>
172        <enum value="-1" name="EGL_NO_NATIVE_FENCE_FD_ANDROID"/>
173        <enum value="0" name="EGL_DEPTH_ENCODING_NONE_NV"/>
174        <enum value="((EGLContext)0)" name="EGL_NO_CONTEXT"/>
175        <enum value="((EGLDisplay)0)" name="EGL_NO_DISPLAY"/>
176        <enum value="((EGLImageKHR)0)" name="EGL_NO_IMAGE_KHR"/>
177        <enum value="((EGLNativeDisplayType)0)" name="EGL_DEFAULT_DISPLAY"/>
178        <enum value="((EGLNativeFileDescriptorKHR)(-1))" name="EGL_NO_FILE_DESCRIPTOR_KHR"/>
179        <enum value="((EGLStreamKHR)0)" name="EGL_NO_STREAM_KHR"/>
180        <enum value="((EGLSurface)0)" name="EGL_NO_SURFACE"/>
181        <enum value="((EGLSync)0)" name="EGL_NO_SYNC"/>
182        <enum value="((EGLSyncKHR)0)" name="EGL_NO_SYNC_KHR" alias="EGL_NO_SYNC"/>
183        <enum value="((EGLSyncNV)0)" name="EGL_NO_SYNC_NV" alias="EGL_NO_SYNC"/>
184        <enum value="10000" name="EGL_DISPLAY_SCALING"/>
185        <enum value="0xFFFFFFFFFFFFFFFF" name="EGL_FOREVER" type="ull"/>
186        <enum value="0xFFFFFFFFFFFFFFFF" name="EGL_FOREVER_KHR" type="ull" alias="EGL_FOREVER"/>
187        <enum value="0xFFFFFFFFFFFFFFFF" name="EGL_FOREVER_NV" type="ull" alias="EGL_FOREVER"/>
188    </enums>
189
190    <enums namespace="EGL" start="0x3000" end="0x305F" vendor="KHR">
191        <enum value="0x3000" name="EGL_SUCCESS"/>
192        <enum value="0x3001" name="EGL_NOT_INITIALIZED"/>
193        <enum value="0x3002" name="EGL_BAD_ACCESS"/>
194        <enum value="0x3003" name="EGL_BAD_ALLOC"/>
195        <enum value="0x3004" name="EGL_BAD_ATTRIBUTE"/>
196        <enum value="0x3005" name="EGL_BAD_CONFIG"/>
197        <enum value="0x3006" name="EGL_BAD_CONTEXT"/>
198        <enum value="0x3007" name="EGL_BAD_CURRENT_SURFACE"/>
199        <enum value="0x3008" name="EGL_BAD_DISPLAY"/>
200        <enum value="0x3009" name="EGL_BAD_MATCH"/>
201        <enum value="0x300A" name="EGL_BAD_NATIVE_PIXMAP"/>
202        <enum value="0x300B" name="EGL_BAD_NATIVE_WINDOW"/>
203        <enum value="0x300C" name="EGL_BAD_PARAMETER"/>
204        <enum value="0x300D" name="EGL_BAD_SURFACE"/>
205        <enum value="0x300E" name="EGL_CONTEXT_LOST"/>
206            <unused start="0x300F" end="0x301F" comment="for additional errors"/>
207        <enum value="0x3020" name="EGL_BUFFER_SIZE"/>
208        <enum value="0x3021" name="EGL_ALPHA_SIZE"/>
209        <enum value="0x3022" name="EGL_BLUE_SIZE"/>
210        <enum value="0x3023" name="EGL_GREEN_SIZE"/>
211        <enum value="0x3024" name="EGL_RED_SIZE"/>
212        <enum value="0x3025" name="EGL_DEPTH_SIZE"/>
213        <enum value="0x3026" name="EGL_STENCIL_SIZE"/>
214        <enum value="0x3027" name="EGL_CONFIG_CAVEAT"/>
215        <enum value="0x3028" name="EGL_CONFIG_ID"/>
216        <enum value="0x3029" name="EGL_LEVEL"/>
217        <enum value="0x302A" name="EGL_MAX_PBUFFER_HEIGHT"/>
218        <enum value="0x302B" name="EGL_MAX_PBUFFER_PIXELS"/>
219        <enum value="0x302C" name="EGL_MAX_PBUFFER_WIDTH"/>
220        <enum value="0x302D" name="EGL_NATIVE_RENDERABLE"/>
221        <enum value="0x302E" name="EGL_NATIVE_VISUAL_ID"/>
222        <enum value="0x302F" name="EGL_NATIVE_VISUAL_TYPE"/>
223        <enum value="0x3031" name="EGL_SAMPLES"/>
224        <enum value="0x3032" name="EGL_SAMPLE_BUFFERS"/>
225        <enum value="0x3033" name="EGL_SURFACE_TYPE"/>
226        <enum value="0x3034" name="EGL_TRANSPARENT_TYPE"/>
227        <enum value="0x3035" name="EGL_TRANSPARENT_BLUE_VALUE"/>
228        <enum value="0x3036" name="EGL_TRANSPARENT_GREEN_VALUE"/>
229        <enum value="0x3037" name="EGL_TRANSPARENT_RED_VALUE"/>
230        <enum value="0x3038" name="EGL_NONE" comment="Attribute list terminator"/>
231        <enum value="0x3039" name="EGL_BIND_TO_TEXTURE_RGB"/>
232        <enum value="0x303A" name="EGL_BIND_TO_TEXTURE_RGBA"/>
233        <enum value="0x303B" name="EGL_MIN_SWAP_INTERVAL"/>
234        <enum value="0x303C" name="EGL_MAX_SWAP_INTERVAL"/>
235        <enum value="0x303D" name="EGL_LUMINANCE_SIZE"/>
236        <enum value="0x303E" name="EGL_ALPHA_MASK_SIZE"/>
237        <enum value="0x303F" name="EGL_COLOR_BUFFER_TYPE"/>
238        <enum value="0x3040" name="EGL_RENDERABLE_TYPE"/>
239        <enum value="0x3041" name="EGL_MATCH_NATIVE_PIXMAP"/>
240        <enum value="0x3042" name="EGL_CONFORMANT"/>
241        <enum value="0x3042" name="EGL_CONFORMANT_KHR"/>
242        <enum value="0x3043" name="EGL_MATCH_FORMAT_KHR"/>
243            <unused start="0x3044" end="0x304F" comment="for additional config attributes"/>
244        <enum value="0x3050" name="EGL_SLOW_CONFIG"/>
245        <enum value="0x3051" name="EGL_NON_CONFORMANT_CONFIG"/>
246        <enum value="0x3052" name="EGL_TRANSPARENT_RGB"/>
247        <enum value="0x3053" name="EGL_VENDOR"/>
248        <enum value="0x3054" name="EGL_VERSION"/>
249        <enum value="0x3055" name="EGL_EXTENSIONS"/>
250        <enum value="0x3056" name="EGL_HEIGHT"/>
251        <enum value="0x3057" name="EGL_WIDTH"/>
252        <enum value="0x3058" name="EGL_LARGEST_PBUFFER"/>
253        <enum value="0x3059" name="EGL_DRAW"/>
254        <enum value="0x305A" name="EGL_READ"/>
255        <enum value="0x305B" name="EGL_CORE_NATIVE_ENGINE"/>
256        <enum value="0x305C" name="EGL_NO_TEXTURE"/>
257        <enum value="0x305D" name="EGL_TEXTURE_RGB"/>
258        <enum value="0x305E" name="EGL_TEXTURE_RGBA"/>
259        <enum value="0x305F" name="EGL_TEXTURE_2D"/>
260    </enums>
261
262    <enums namespace="EGL" start="0x3060-0x306F" vendor="TAO" comment="Reserved for Phil Huxley">
263        <unused start="0x3060" end="0x306F"/>
264    </enums>
265
266    <enums namespace="EGL" start="0x3070-0x307F" vendor="NOK" comment="Reserved for Jani Vaarala">
267        <unused start="0x3070" end="0x307E"/>
268        <enum value="0x307F" name="EGL_Y_INVERTED_NOK"/>
269    </enums>
270
271    <enums namespace="EGL" start="0x3080-0x30AF" vendor="KHR">
272        <enum value="0x3080" name="EGL_TEXTURE_FORMAT"/>
273        <enum value="0x3081" name="EGL_TEXTURE_TARGET"/>
274        <enum value="0x3082" name="EGL_MIPMAP_TEXTURE"/>
275        <enum value="0x3083" name="EGL_MIPMAP_LEVEL"/>
276        <enum value="0x3084" name="EGL_BACK_BUFFER"/>
277        <enum value="0x3085" name="EGL_SINGLE_BUFFER"/>
278        <enum value="0x3086" name="EGL_RENDER_BUFFER"/>
279        <enum value="0x3087" name="EGL_COLORSPACE" alias="EGL_VG_COLORSPACE"/>
280        <enum value="0x3087" name="EGL_VG_COLORSPACE"/>
281        <enum value="0x3088" name="EGL_ALPHA_FORMAT" alias="EGL_VG_ALPHA_FORMAT"/>
282        <enum value="0x3088" name="EGL_VG_ALPHA_FORMAT"/>
283        <enum value="0x3089" name="EGL_COLORSPACE_sRGB"/>
284        <enum value="0x3089" name="EGL_GL_COLORSPACE_SRGB" alias="EGL_COLORSPACE_sRGB"/>
285        <enum value="0x3089" name="EGL_GL_COLORSPACE_SRGB_KHR" alias="EGL_COLORSPACE_sRGB"/>
286        <enum value="0x3089" name="EGL_VG_COLORSPACE_sRGB" alias="EGL_COLORSPACE_sRGB"/>
287        <enum value="0x308A" name="EGL_COLORSPACE_LINEAR"/>
288        <enum value="0x308A" name="EGL_GL_COLORSPACE_LINEAR" alias="EGL_COLORSPACE_LINEAR"/>
289        <enum value="0x308A" name="EGL_GL_COLORSPACE_LINEAR_KHR" alias="EGL_COLORSPACE_LINEAR"/>
290        <enum value="0x308A" name="EGL_VG_COLORSPACE_LINEAR" alias="EGL_COLORSPACE_LINEAR"/>
291        <enum value="0x308B" name="EGL_ALPHA_FORMAT_NONPRE" alias="EGL_VG_ALPHA_FORMAT_NONPRE"/>
292        <enum value="0x308B" name="EGL_VG_ALPHA_FORMAT_NONPRE"/>
293        <enum value="0x308C" name="EGL_ALPHA_FORMAT_PRE" alias="EGL_VG_ALPHA_FORMAT_PRE"/>
294        <enum value="0x308C" name="EGL_VG_ALPHA_FORMAT_PRE"/>
295        <enum value="0x308D" name="EGL_CLIENT_APIS"/>
296        <enum value="0x308E" name="EGL_RGB_BUFFER"/>
297        <enum value="0x308F" name="EGL_LUMINANCE_BUFFER"/>
298        <enum value="0x3090" name="EGL_HORIZONTAL_RESOLUTION"/>
299        <enum value="0x3091" name="EGL_VERTICAL_RESOLUTION"/>
300        <enum value="0x3092" name="EGL_PIXEL_ASPECT_RATIO"/>
301        <enum value="0x3093" name="EGL_SWAP_BEHAVIOR"/>
302        <enum value="0x3094" name="EGL_BUFFER_PRESERVED"/>
303        <enum value="0x3095" name="EGL_BUFFER_DESTROYED"/>
304        <enum value="0x3096" name="EGL_OPENVG_IMAGE"/>
305        <enum value="0x3097" name="EGL_CONTEXT_CLIENT_TYPE"/>
306        <enum value="0x3098" name="EGL_CONTEXT_CLIENT_VERSION"/>
307        <enum value="0x3098" name="EGL_CONTEXT_MAJOR_VERSION" alias="EGL_CONTEXT_CLIENT_VERSION"/>
308        <enum value="0x3098" name="EGL_CONTEXT_MAJOR_VERSION_KHR" alias="EGL_CONTEXT_CLIENT_VERSION"/>
309        <enum value="0x3099" name="EGL_MULTISAMPLE_RESOLVE"/>
310        <enum value="0x309A" name="EGL_MULTISAMPLE_RESOLVE_DEFAULT"/>
311        <enum value="0x309B" name="EGL_MULTISAMPLE_RESOLVE_BOX"/>
312        <enum value="0x309C" name="EGL_CL_EVENT_HANDLE"/>
313        <enum value="0x309C" name="EGL_CL_EVENT_HANDLE_KHR" alias="EGL_CL_EVENT_HANDLE"/>
314        <enum value="0x309D" name="EGL_GL_COLORSPACE"/>
315        <enum value="0x309D" name="EGL_GL_COLORSPACE_KHR" alias="EGL_GL_COLORSPACE"/>
316            <unused start="0x309E" end="0x309F"/>
317        <enum value="0x30A0" name="EGL_OPENGL_ES_API"/>
318        <enum value="0x30A1" name="EGL_OPENVG_API"/>
319        <enum value="0x30A2" name="EGL_OPENGL_API"/>
320            <unused start="0x30A3" end="0x30AF" comment="for additional client API names"/>
321    </enums>
322
323    <enums namespace="EGL" start="0x30B0-0x30BF" vendor="NV" comment="Reserved for Ignacio Llamas">
324        <enum value="0x30B0" name="EGL_NATIVE_PIXMAP_KHR"/>
325        <enum value="0x30B1" name="EGL_GL_TEXTURE_2D"/>
326        <enum value="0x30B1" name="EGL_GL_TEXTURE_2D_KHR" alias="EGL_GL_TEXTURE_2D"/>
327        <enum value="0x30B2" name="EGL_GL_TEXTURE_3D"/>
328        <enum value="0x30B2" name="EGL_GL_TEXTURE_3D_KHR" alias="EGL_GL_TEXTURE_3D"/>
329        <enum value="0x30B3" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X"/>
330        <enum value="0x30B3" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X"/>
331        <enum value="0x30B4" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X"/>
332        <enum value="0x30B4" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X"/>
333        <enum value="0x30B5" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y"/>
334        <enum value="0x30B5" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y"/>
335        <enum value="0x30B6" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y"/>
336        <enum value="0x30B6" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y"/>
337        <enum value="0x30B7" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z"/>
338        <enum value="0x30B7" name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z"/>
339        <enum value="0x30B8" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z"/>
340        <enum value="0x30B8" name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR" alias="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z"/>
341        <enum value="0x30B9" name="EGL_GL_RENDERBUFFER"/>
342        <enum value="0x30B9" name="EGL_GL_RENDERBUFFER_KHR" alias="EGL_GL_RENDERBUFFER"/>
343        <enum value="0x30BA" name="EGL_VG_PARENT_IMAGE_KHR"/>
344        <enum value="0x30BC" name="EGL_GL_TEXTURE_LEVEL"/>
345        <enum value="0x30BC" name="EGL_GL_TEXTURE_LEVEL_KHR" alias="EGL_GL_TEXTURE_LEVEL"/>
346        <enum value="0x30BD" name="EGL_GL_TEXTURE_ZOFFSET"/>
347        <enum value="0x30BD" name="EGL_GL_TEXTURE_ZOFFSET_KHR" alias="EGL_GL_TEXTURE_ZOFFSET"/>
348        <enum value="0x30BE" name="EGL_POST_SUB_BUFFER_SUPPORTED_NV"/>
349        <enum value="0x30BF" name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT" alias="EGL_CONTEXT_OPENGL_ROBUST_ACCESS"/>
350    </enums>
351
352    <enums namespace="EGL" start="0x30C0-0x30CF" vendor="KHR">
353        <enum value="0x30C0" name="EGL_FORMAT_RGB_565_EXACT_KHR"/>
354        <enum value="0x30C1" name="EGL_FORMAT_RGB_565_KHR"/>
355        <enum value="0x30C2" name="EGL_FORMAT_RGBA_8888_EXACT_KHR"/>
356        <enum value="0x30C3" name="EGL_FORMAT_RGBA_8888_KHR"/>
357        <enum value="0x30C4" name="EGL_MAP_PRESERVE_PIXELS_KHR"/>
358        <enum value="0x30C5" name="EGL_LOCK_USAGE_HINT_KHR"/>
359        <enum value="0x30C6" name="EGL_BITMAP_POINTER_KHR"/>
360        <enum value="0x30C7" name="EGL_BITMAP_PITCH_KHR"/>
361        <enum value="0x30C8" name="EGL_BITMAP_ORIGIN_KHR"/>
362        <enum value="0x30C9" name="EGL_BITMAP_PIXEL_RED_OFFSET_KHR"/>
363        <enum value="0x30CA" name="EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR"/>
364        <enum value="0x30CB" name="EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR"/>
365        <enum value="0x30CC" name="EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR"/>
366        <enum value="0x30CD" name="EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR"/>
367        <enum value="0x30CE" name="EGL_LOWER_LEFT_KHR"/>
368        <enum value="0x30CF" name="EGL_UPPER_LEFT_KHR"/>
369    </enums>
370
371    <enums namespace="EGL" start="0x30D0" end="0x30DF" vendor="Symbian" comment="Reserved for Robert Palmer (bug #2545)">
372            <unused start="0x30D0" end="0x30D1"/>
373        <enum value="0x30D2" name="EGL_IMAGE_PRESERVED_KHR"/>
374            <unused start="0x30D3" end="0x30D9"/>
375        <enum value="0x30DA" name="EGL_SHARED_IMAGE_NOK" comment="Unreleased extension"/>
376            <unused start="0x30DB" end="0x30DF"/>
377    </enums>
378
379    <enums namespace="EGL" start="0x30E0" end="0x30EF" vendor="NV" comment="Reserved for Russell Pflughaupt (bug #3314)">
380        <enum value="0x30E0" name="EGL_COVERAGE_BUFFERS_NV"/>
381        <enum value="0x30E1" name="EGL_COVERAGE_SAMPLES_NV"/>
382        <enum value="0x30E2" name="EGL_DEPTH_ENCODING_NV"/>
383        <enum value="0x30E3" name="EGL_DEPTH_ENCODING_NONLINEAR_NV"/>
384            <unused start="0x30E4" end="0x30E5"/>
385        <enum value="0x30E6" name="EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV"/>
386        <enum value="0x30E7" name="EGL_SYNC_STATUS_NV"/>
387        <enum value="0x30E8" name="EGL_SIGNALED_NV"/>
388        <enum value="0x30E9" name="EGL_UNSIGNALED_NV"/>
389        <enum value="0x30EA" name="EGL_ALREADY_SIGNALED_NV"/>
390        <enum value="0x30EB" name="EGL_TIMEOUT_EXPIRED_NV"/>
391        <enum value="0x30EC" name="EGL_CONDITION_SATISFIED_NV"/>
392        <enum value="0x30ED" name="EGL_SYNC_TYPE_NV"/>
393        <enum value="0x30EE" name="EGL_SYNC_CONDITION_NV"/>
394        <enum value="0x30EF" name="EGL_SYNC_FENCE_NV"/>
395    </enums>
396
397    <enums namespace="EGL" start="0x30F0" end="0x30FF" vendor="KHR">
398        <enum value="0x30F0" name="EGL_SYNC_PRIOR_COMMANDS_COMPLETE"/>
399        <enum value="0x30F0" name="EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR" alias="EGL_SYNC_PRIOR_COMMANDS_COMPLETE"/>
400        <enum value="0x30F1" name="EGL_SYNC_STATUS"/>
401        <enum value="0x30F1" name="EGL_SYNC_STATUS_KHR" alias="EGL_SYNC_STATUS"/>
402        <enum value="0x30F2" name="EGL_SIGNALED"/>
403        <enum value="0x30F2" name="EGL_SIGNALED_KHR" alias="EGL_SIGNALED"/>
404        <enum value="0x30F3" name="EGL_UNSIGNALED"/>
405        <enum value="0x30F3" name="EGL_UNSIGNALED_KHR" alias="EGL_UNSIGNALED"/>
406        <enum value="0x30F5" name="EGL_TIMEOUT_EXPIRED"/>
407        <enum value="0x30F5" name="EGL_TIMEOUT_EXPIRED_KHR" alias="EGL_TIMEOUT_EXPIRED"/>
408        <enum value="0x30F6" name="EGL_CONDITION_SATISFIED"/>
409        <enum value="0x30F6" name="EGL_CONDITION_SATISFIED_KHR" alias="EGL_CONDITION_SATISFIED"/>
410        <enum value="0x30F7" name="EGL_SYNC_TYPE"/>
411        <enum value="0x30F7" name="EGL_SYNC_TYPE_KHR" alias="EGL_SYNC_TYPE"/>
412        <enum value="0x30F8" name="EGL_SYNC_CONDITION"/>
413        <enum value="0x30F8" name="EGL_SYNC_CONDITION_KHR" alias="EGL_SYNC_CONDITION"/>
414        <enum value="0x30F9" name="EGL_SYNC_FENCE"/>
415        <enum value="0x30F9" name="EGL_SYNC_FENCE_KHR" alias="EGL_SYNC_FENCE"/>
416        <enum value="0x30FA" name="EGL_SYNC_REUSABLE_KHR"/>
417        <enum value="0x30FB" name="EGL_CONTEXT_MINOR_VERSION"/>
418        <enum value="0x30FB" name="EGL_CONTEXT_MINOR_VERSION_KHR" alias="EGL_CONTEXT_MINOR_VERSION"/>
419        <enum value="0x30FC" name="EGL_CONTEXT_FLAGS_KHR"/>
420        <enum value="0x30FD" name="EGL_CONTEXT_OPENGL_PROFILE_MASK"/>
421        <enum value="0x30FD" name="EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR" alias="EGL_CONTEXT_OPENGL_PROFILE_MASK"/>
422        <enum value="0x30FE" name="EGL_SYNC_CL_EVENT"/>
423        <enum value="0x30FE" name="EGL_SYNC_CL_EVENT_KHR" alias="EGL_SYNC_CL_EVENT"/>
424        <enum value="0x30FF" name="EGL_SYNC_CL_EVENT_COMPLETE"/>
425        <enum value="0x30FF" name="EGL_SYNC_CL_EVENT_COMPLETE_KHR" alias="EGL_SYNC_CL_EVENT_COMPLETE"/>
426    </enums>
427
428    <enums namespace="EGL" start="0x3100" end="0x310F" vendor="IMG" comment="Reserved for Ben Bowman (Khronos bug 4748)">
429        <enum value="0x3100" name="EGL_CONTEXT_PRIORITY_LEVEL_IMG"/>
430        <enum value="0x3101" name="EGL_CONTEXT_PRIORITY_HIGH_IMG"/>
431        <enum value="0x3102" name="EGL_CONTEXT_PRIORITY_MEDIUM_IMG"/>
432        <enum value="0x3103" name="EGL_CONTEXT_PRIORITY_LOW_IMG"/>
433            <unused start="0x3104" end="0x310F"/>
434    </enums>
435
436    <enums namespace="EGL" start="0x3110" end="0x311F" vendor="ATX" comment="Reserved for Tim Renouf, Antix (Khronos bug 4949)">
437        <enum value="0x3110" name="EGL_BITMAP_PIXEL_SIZE_KHR"/>
438            <unused start="0x3111" end="0x311F"/>
439    </enums>
440
441    <enums namespace="EGL" start="0x3120" end="0x312F" vendor="AMD" comment="Reserved for David Garcia (Khronos bug 5149)">
442            <unused start="0x3120" end="0x312F"/>
443    </enums>
444
445    <enums namespace="EGL" start="0x3130" end="0x313F" vendor="NV" comment="Reserved for Greg Prisament (Khronos bug 5166)">
446            <unused start="0x3130"/>
447        <enum value="0x3131" name="EGL_COVERAGE_SAMPLE_RESOLVE_NV"/>
448        <enum value="0x3132" name="EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV"/>
449        <enum value="0x3133" name="EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV"/>
450        <enum value="0x3134" name="EGL_MULTIVIEW_VIEW_COUNT_EXT"/>
451            <unused start="0x3135"/>
452        <enum value="0x3136" name="EGL_AUTO_STEREO_NV"/>
453            <unused start="0x3137"/>
454        <enum value="0x3138" name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT"/>
455            <unused start="0x3139" end="0x313C"/>
456        <enum value="0x313D" name="EGL_BUFFER_AGE_EXT"/>
457            <unused start="0x313E" end="0x313F"/>
458    </enums>
459
460    <enums namespace="EGL" start="0x3140" end="0x314F" vendor="Google" comment="Reserved for Mathias Agopian (Khronos bug 5199)">
461        <enum value="0x3140" name="EGL_NATIVE_BUFFER_ANDROID"/>
462        <enum value="0x3141" name="EGL_PLATFORM_ANDROID_KHR"/>
463        <enum value="0x3142" name="EGL_RECORDABLE_ANDROID"/>
464            <unused start="0x3143"/>
465        <enum value="0x3144" name="EGL_SYNC_NATIVE_FENCE_ANDROID"/>
466        <enum value="0x3145" name="EGL_SYNC_NATIVE_FENCE_FD_ANDROID"/>
467        <enum value="0x3146" name="EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID"/>
468        <enum value="0x3147" name="EGL_FRAMEBUFFER_TARGET_ANDROID"/>
469            <unused start="0x3148" end="0x314F"/>
470    </enums>
471
472    <enums namespace="EGL" start="0x3150" end="0x315F" vendor="NOK" comment="Reserved for Robert Palmer (Khronos bug 5368)">
473            <unused start="0x3150" end="0x315F"/>
474    </enums>
475
476    <enums namespace="EGL" start="0x3160" end="0x316F" vendor="Seaweed" comment="Reserved for Sree Sridharan (Khronos public bug 198)">
477            <unused start="0x3160" end="0x316F"/>
478    </enums>
479
480    <enums namespace="EGL" start="0x3170" end="0x318F" vendor="QNX" comment="Reserved for Joel Pilon (Khronos bug 5834)">
481            <unused start="0x3170" end="0x318F"/>
482    </enums>
483
484    <enums namespace="EGL" start="0x3190" end="0x31AF" vendor="FSL" comment="Reserved for Brian Murray, Freescale (Khronos bug 5939)">
485            <unused start="0x3190" end="0x31AF"/>
486    </enums>
487
488    <enums namespace="EGL" start="0x31B0" end="0x31BF" vendor="KHR" comment="Reserved for Marcus Lorentzon (Khronos bug 6437)">
489        <enum value="0x31B0" name="EGL_CONTEXT_OPENGL_DEBUG"/>
490        <enum value="0x31B1" name="EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE"/>
491        <enum value="0x31B2" name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS"/>
492            <unused start="0x31B3" end="0x31BC" comment="Formerly reserved for EGL_image_stream"/>
493        <enum value="0x31BD" name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR" alias="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY"/>
494        <enum value="0x31BD" name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY"/>
495        <enum value="0x31BE" name="EGL_NO_RESET_NOTIFICATION"/>
496        <enum value="0x31BE" name="EGL_NO_RESET_NOTIFICATION_KHR" alias="EGL_NO_RESET_NOTIFICATION"/>
497        <enum value="0x31BE" name="EGL_NO_RESET_NOTIFICATION_EXT" alias="EGL_NO_RESET_NOTIFICATION"/>
498        <enum value="0x31BF" name="EGL_LOSE_CONTEXT_ON_RESET"/>
499        <enum value="0x31BF" name="EGL_LOSE_CONTEXT_ON_RESET_KHR" alias="EGL_LOSE_CONTEXT_ON_RESET"/>
500        <enum value="0x31BF" name="EGL_LOSE_CONTEXT_ON_RESET_EXT" alias="EGL_LOSE_CONTEXT_ON_RESET"/>
501    </enums>
502
503    <enums namespace="EGL" start="0x31C0" end="0x31CF" vendor="QCOM" comment="Reserved for Maurice Ribble (Khronos bug 6644) - EGL_QCOM_create_image spec TBD">
504            <unused start="0x31C0" end="0x31CF"/>
505    </enums>
506
507    <enums namespace="EGL" start="0x31D0" end="0x31DF" vendor="MESA" comment="Reserved for Kristian H&#248;gsberg (Khronos bug 6757)">
508        <enum value="0x31D0" name="EGL_DRM_BUFFER_FORMAT_MESA"/>
509        <enum value="0x31D1" name="EGL_DRM_BUFFER_USE_MESA"/>
510        <enum value="0x31D2" name="EGL_DRM_BUFFER_FORMAT_ARGB32_MESA"/>
511        <enum value="0x31D3" name="EGL_DRM_BUFFER_MESA"/>
512        <enum value="0x31D4" name="EGL_DRM_BUFFER_STRIDE_MESA"/>
513        <enum value="0x31D5" name="EGL_PLATFORM_X11_KHR"/>
514        <enum value="0x31D5" name="EGL_PLATFORM_X11_EXT" alias="EGL_PLATFORM_X11_KHR"/>
515        <enum value="0x31D6" name="EGL_PLATFORM_X11_SCREEN_KHR"/>
516        <enum value="0x31D6" name="EGL_PLATFORM_X11_SCREEN_EXT" alias="EGL_PLATFORM_X11_SCREEN_KHR"/>
517        <enum value="0x31D7" name="EGL_PLATFORM_GBM_KHR"/>
518        <enum value="0x31D7" name="EGL_PLATFORM_GBM_MESA" alias="EGL_PLATFORM_GBM_KHR"/>
519        <enum value="0x31D8" name="EGL_PLATFORM_WAYLAND_KHR"/>
520        <enum value="0x31D8" name="EGL_PLATFORM_WAYLAND_EXT" alias="EGL_PLATFORM_WAYLAND_KHR"/>
521            <unused start="0x31D9" end="0x31DF"/>
522    </enums>
523
524    <enums namespace="EGL" start="0x31E0" end="0x31EF" vendor="HI" comment="Reserved for Mark Callow (Khronos bug 6799)">
525            <unused start="0x31E0" end="0x31EF"/>
526    </enums>
527
528    <enums namespace="EGL" start="0x31F0" end="0x31FF" vendor="KHR">
529            <unused start="0x31F0" end="0x31FB" comment="Placeholders for draft extensions follow"/>
530        <!--
531            <enum value="0x31F0" name="EGL_IMAGE_USE_AS_OPENGL_ES1_RENDERBUFFER_KHR"        comment="Draft KHR_image_use_gl1_renderbuffer"/>
532            <enum value="0x31F1" name="EGL_IMAGE_USE_AS_OPENGL_ES1_TEXTURE_2D_KHR"          comment="Draft KHR_image_use_gl1_texture_2d"/>
533            <enum value="0x31F2" name="EGL_IMAGE_USE_AS_OPENGL_ES1_TEXTURE_EXTERNAL_KHR"    comment="Draft KHR_image_use_gl1_texture_external"/>
534            <enum value="0x31F3" name="EGL_IMAGE_USE_AS_OPENGL_ES2_RENDERBUFFER_KHR"        comment="Draft KHR_image_use_gl2_renderbuffer"/>
535            <enum value="0x31F4" name="EGL_IMAGE_USE_AS_OPENGL_ES2_TEXTURE_2D_KHR"          comment="Draft KHR_image_use_gl2_texture_2d"/>
536            <enum value="0x31F5" name="EGL_IMAGE_USE_AS_OPENGL_ES2_TEXTURE_EXTERNAL_KHR"    comment="Draft KHR_image_use_gl2_texture_external"/>
537            <enum value="0x31F6" name="EGL_IMAGE_USE_AS_OPENVG_IMAGE_KHR"                   comment="Draft KHR_image_use_vg_vgimage"/>
538            <enum value="0x31F7" name="EGL_STREAM_CONSUMER_ATTACHMENT_MESA"                 comment="Draft EGL_MESA_image_stream_internal"/>
539            <enum value="0x31F8" name="EGL_NO_FORMAT_MESA"                                  comment="Draft EGL_MESA_image_stream_internal"/>
540            <enum value="0x31F9" name="EGL_FORMAT_RGBA8888_MESA"                            comment="Draft EGL_MESA_image_stream_internal"/>
541            <enum value="0x31FA" name="EGL_FORMAT_RGB888_MESA"                              comment="Draft EGL_MESA_image_stream_internal"/>
542            <enum value="0x31FB" name="EGL_FORMAT_RGB565_MESA"                              comment="Draft EGL_MESA_image_stream_internal"/>
543        -->
544        <enum value="0x31FC" name="EGL_STREAM_FIFO_LENGTH_KHR"/>
545        <enum value="0x31FD" name="EGL_STREAM_TIME_NOW_KHR"/>
546        <enum value="0x31FE" name="EGL_STREAM_TIME_CONSUMER_KHR"/>
547        <enum value="0x31FF" name="EGL_STREAM_TIME_PRODUCER_KHR"/>
548    </enums>
549
550    <enums namespace="EGL" start="0x3200" end="0x320F" vendor="ANGLE" comment="Reserved for Daniel Koch, ANGLE Project (Khronos bug 7139)">
551        <enum value="0x3200" name="EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE"/>
552            <unused start="0x3201" end="0x320F"/>
553    </enums>
554
555    <enums namespace="EGL" start="0x3210" end="0x321F" vendor="KHR">
556        <enum value="0x3210" name="EGL_CONSUMER_LATENCY_USEC_KHR"/>
557            <unused start="0x3211"/>
558        <enum value="0x3212" name="EGL_PRODUCER_FRAME_KHR"/>
559        <enum value="0x3213" name="EGL_CONSUMER_FRAME_KHR"/>
560        <enum value="0x3214" name="EGL_STREAM_STATE_KHR"/>
561        <enum value="0x3215" name="EGL_STREAM_STATE_CREATED_KHR"/>
562        <enum value="0x3216" name="EGL_STREAM_STATE_CONNECTING_KHR"/>
563        <enum value="0x3217" name="EGL_STREAM_STATE_EMPTY_KHR"/>
564        <enum value="0x3218" name="EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR"/>
565        <enum value="0x3219" name="EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR"/>
566        <enum value="0x321A" name="EGL_STREAM_STATE_DISCONNECTED_KHR"/>
567        <enum value="0x321B" name="EGL_BAD_STREAM_KHR"/>
568        <enum value="0x321C" name="EGL_BAD_STATE_KHR"/>
569        <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"/>
570        <enum value="0x321E" name="EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR"/>
571        <enum value="0x321F" name="EGL_SYNC_NEW_FRAME_NV"/>
572    </enums>
573
574    <enums namespace="EGL" start="0x3220" end="0x325F" vendor="NV" comment="Reserved for Greg Roth (Bug 8220)">
575            <unused start="0x3220" end="0x325F"/>
576    </enums>
577
578    <enums namespace="EGL" start="0x3260" end="0x326F" vendor="BCOM" comment="Reserved for Gary Sweet, Broadcom (Public bug 620)">
579            <unused start="0x3260" end="0x326F"/>
580    </enums>
581
582    <enums namespace="EGL" start="0x3270" end="0x328F" vendor="ARM" comment="Reserved for Tom Cooksey (Bug 9963)">
583        <enum value="0x3270" name="EGL_LINUX_DMA_BUF_EXT"/>
584        <enum value="0x3271" name="EGL_LINUX_DRM_FOURCC_EXT"/>
585        <enum value="0x3272" name="EGL_DMA_BUF_PLANE0_FD_EXT"/>
586        <enum value="0x3273" name="EGL_DMA_BUF_PLANE0_OFFSET_EXT"/>
587        <enum value="0x3274" name="EGL_DMA_BUF_PLANE0_PITCH_EXT"/>
588        <enum value="0x3275" name="EGL_DMA_BUF_PLANE1_FD_EXT"/>
589        <enum value="0x3276" name="EGL_DMA_BUF_PLANE1_OFFSET_EXT"/>
590        <enum value="0x3277" name="EGL_DMA_BUF_PLANE1_PITCH_EXT"/>
591        <enum value="0x3278" name="EGL_DMA_BUF_PLANE2_FD_EXT"/>
592        <enum value="0x3279" name="EGL_DMA_BUF_PLANE2_OFFSET_EXT"/>
593        <enum value="0x327A" name="EGL_DMA_BUF_PLANE2_PITCH_EXT"/>
594        <enum value="0x327B" name="EGL_YUV_COLOR_SPACE_HINT_EXT"/>
595        <enum value="0x327C" name="EGL_SAMPLE_RANGE_HINT_EXT"/>
596        <enum value="0x327D" name="EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT"/>
597        <enum value="0x327E" name="EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT"/>
598        <enum value="0x327F" name="EGL_ITU_REC601_EXT"/>
599        <enum value="0x3280" name="EGL_ITU_REC709_EXT"/>
600        <enum value="0x3281" name="EGL_ITU_REC2020_EXT"/>
601        <enum value="0x3282" name="EGL_YUV_FULL_RANGE_EXT"/>
602        <enum value="0x3283" name="EGL_YUV_NARROW_RANGE_EXT"/>
603        <enum value="0x3284" name="EGL_YUV_CHROMA_SITING_0_EXT"/>
604        <enum value="0x3285" name="EGL_YUV_CHROMA_SITING_0_5_EXT"/>
605        <enum value="0x3286" name="EGL_DISCARD_SAMPLES_ARM"/>
606            <unused start="0x3287" end="0x328F"/>
607    </enums>
608
609    <enums namespace="EGL" start="0x3290" end="0x329F" vendor="MESA" comment="Reserved for John K&#229;re Alsaker (Public bug 757)">
610            <unused start="0x3290" end="0x329F"/>
611    </enums>
612
613    <enums namespace="EGL" start="0x32A0" end="0x32AF" vendor="Samsung" comment="Reserved for Dongyeon Kim (Public bug 880)">
614            <unused start="0x32A0" end="0x32AF"/>
615    </enums>
616
617    <enums namespace="EGL" start="0x32B0" end="0x32BF" vendor="QCOM" comment="Reserved for Jeff Vigil (Bug 10663) - EGL_QCOM_lock_image spec TBD">
618            <unused start="0x32B0" end="0x32BF"/>
619    </enums>
620
621    <enums namespace="EGL" start="0x32C0" end="0x32CF" vendor="Vivante" comment="Reserved for Yanjun Zhang (Bug 11498)">
622        <enum value="0x32C0" name="EGL_PROTECTED_CONTENT_EXT"/>
623            <unused start="0x32C1" end="0x32CF"/>
624    </enums>
625
626    <enums namespace="EGL" start="0x32D0" end="0x32DF" vendor="QCOM" comment="Reserved for Jeff Vigil (Bug 11735) - EGL_QCOM_gpu_perf spec TBD">
627            <unused start="0x32D0" end="0x32DF"/>
628    </enums>
629
630<!-- Please remember that new enumerant allocations must be obtained by
631     request to the Khronos API registrar (see comments at the top of this
632     file) File requests in the Khronos Bugzilla, EGL project, Registry
633     component. Also note that some EGL enum values are shared with other
634     Khronos APIs, and new ranges should be allocated with such overlaps in
635     mind. -->
636
637<!-- Reservable for future use: 0x32E0-0x3FFF.
638     To generate a new range, allocate multiples of 16 starting at the
639     lowest available point in this block. -->
640    <enums namespace="EGL" start="0x32E0" end="0x3FFF" vendor="KHR">
641            <unused start="0x32E0" end="0x3FFF" comment="Reserved for future use"/>
642    </enums>
643
644    <enums namespace="EGL" start="0x8F70" end="0x8F7F" vendor="HI" comment="For Mark Callow, Khronos bug 4055. Shared with GL.">
645        <enum value="0x8F70" name="EGL_COLOR_FORMAT_HI"/>
646        <enum value="0x8F71" name="EGL_COLOR_RGB_HI"/>
647        <enum value="0x8F72" name="EGL_COLOR_RGBA_HI"/>
648        <enum value="0x8F73" name="EGL_COLOR_ARGB_HI"/>
649        <enum value="0x8F74" name="EGL_CLIENT_PIXMAP_POINTER_HI"/>
650    </enums>
651
652    <!-- SECTION: EGL command definitions. -->
653    <commands namespace="EGL">
654        <command>
655            <proto><ptype>EGLBoolean</ptype> <name>eglBindAPI</name></proto>
656            <param><ptype>EGLenum</ptype> <name>api</name></param>
657        </command>
658        <command>
659            <proto><ptype>EGLBoolean</ptype> <name>eglBindTexImage</name></proto>
660            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
661            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
662            <param><ptype>EGLint</ptype> <name>buffer</name></param>
663        </command>
664        <command>
665            <proto><ptype>EGLBoolean</ptype> <name>eglChooseConfig</name></proto>
666            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
667            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
668            <param><ptype>EGLConfig</ptype> *<name>configs</name></param>
669            <param><ptype>EGLint</ptype> <name>config_size</name></param>
670            <param><ptype>EGLint</ptype> *<name>num_config</name></param>
671        </command>
672        <command>
673            <proto><ptype>EGLint</ptype> <name>eglClientWaitSync</name></proto>
674            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
675            <param><ptype>EGLSync</ptype> <name>sync</name></param>
676            <param><ptype>EGLint</ptype> <name>flags</name></param>
677            <param><ptype>EGLTime</ptype> <name>timeout</name></param>
678        </command>
679        <command>
680            <proto><ptype>EGLint</ptype> <name>eglClientWaitSyncKHR</name></proto>
681            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
682            <param><ptype>EGLSyncKHR</ptype> <name>sync</name></param>
683            <param><ptype>EGLint</ptype> <name>flags</name></param>
684            <param><ptype>EGLTimeKHR</ptype> <name>timeout</name></param>
685            <alias name="eglClientWaitSync"/>
686        </command>
687        <command>
688            <proto><ptype>EGLint</ptype> <name>eglClientWaitSyncNV</name></proto>
689            <param><ptype>EGLSyncNV</ptype> <name>sync</name></param>
690            <param><ptype>EGLint</ptype> <name>flags</name></param>
691            <param><ptype>EGLTimeNV</ptype> <name>timeout</name></param>
692        </command>
693        <command>
694            <proto><ptype>EGLBoolean</ptype> <name>eglCopyBuffers</name></proto>
695            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
696            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
697            <param><ptype>EGLNativePixmapType</ptype> <name>target</name></param>
698        </command>
699        <command>
700            <proto><ptype>EGLContext</ptype> <name>eglCreateContext</name></proto>
701            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
702            <param><ptype>EGLConfig</ptype> <name>config</name></param>
703            <param><ptype>EGLContext</ptype> <name>share_context</name></param>
704            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
705        </command>
706        <command>
707            <proto><ptype>EGLImageKHR</ptype> <name>eglCreateDRMImageMESA</name></proto>
708            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
709            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
710        </command>
711        <command>
712            <proto><ptype>EGLSyncNV</ptype> <name>eglCreateFenceSyncNV</name></proto>
713            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
714            <param><ptype>EGLenum</ptype> <name>condition</name></param>
715            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
716        </command>
717        <command>
718            <proto><ptype>EGLImageKHR</ptype> <name>eglCreateImageKHR</name></proto>
719            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
720            <param><ptype>EGLContext</ptype> <name>ctx</name></param>
721            <param><ptype>EGLenum</ptype> <name>target</name></param>
722            <param><ptype>EGLClientBuffer</ptype> <name>buffer</name></param>
723            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
724        </command>
725        <command>
726            <proto><ptype>EGLSurface</ptype> <name>eglCreatePbufferFromClientBuffer</name></proto>
727            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
728            <param><ptype>EGLenum</ptype> <name>buftype</name></param>
729            <param><ptype>EGLClientBuffer</ptype> <name>buffer</name></param>
730            <param><ptype>EGLConfig</ptype> <name>config</name></param>
731            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
732        </command>
733        <command>
734            <proto><ptype>EGLSurface</ptype> <name>eglCreatePbufferSurface</name></proto>
735            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
736            <param><ptype>EGLConfig</ptype> <name>config</name></param>
737            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
738        </command>
739        <command>
740            <proto><ptype>EGLSurface</ptype> <name>eglCreatePixmapSurface</name></proto>
741            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
742            <param><ptype>EGLConfig</ptype> <name>config</name></param>
743            <param><ptype>EGLNativePixmapType</ptype> <name>pixmap</name></param>
744            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
745        </command>
746        <command>
747            <proto><ptype>EGLSurface</ptype> <name>eglCreatePixmapSurfaceHI</name></proto>
748            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
749            <param><ptype>EGLConfig</ptype> <name>config</name></param>
750            <param>struct <ptype>EGLClientPixmapHI</ptype> *<name>pixmap</name></param>
751        </command>
752        <command>
753            <proto><ptype>EGLSurface</ptype> <name>eglCreatePlatformPixmapSurface</name></proto>
754            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
755            <param><ptype>EGLConfig</ptype> <name>config</name></param>
756            <param>void *<name>native_pixmap</name></param>
757            <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
758        </command>
759        <command>
760            <proto><ptype>EGLSurface</ptype> <name>eglCreatePlatformPixmapSurfaceEXT</name></proto>
761            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
762            <param><ptype>EGLConfig</ptype> <name>config</name></param>
763            <param>void *<name>native_pixmap</name></param>
764            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
765        </command>
766        <command>
767            <proto><ptype>EGLSurface</ptype> <name>eglCreatePlatformWindowSurface</name></proto>
768            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
769            <param><ptype>EGLConfig</ptype> <name>config</name></param>
770            <param>void *<name>native_window</name></param>
771            <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
772        </command>
773        <command>
774            <proto><ptype>EGLSurface</ptype> <name>eglCreatePlatformWindowSurfaceEXT</name></proto>
775            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
776            <param><ptype>EGLConfig</ptype> <name>config</name></param>
777            <param>void *<name>native_window</name></param>
778            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
779        </command>
780        <command>
781            <proto><ptype>EGLStreamKHR</ptype> <name>eglCreateStreamFromFileDescriptorKHR</name></proto>
782            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
783            <param><ptype>EGLNativeFileDescriptorKHR</ptype> <name>file_descriptor</name></param>
784        </command>
785        <command>
786            <proto><ptype>EGLStreamKHR</ptype> <name>eglCreateStreamKHR</name></proto>
787            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
788            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
789        </command>
790        <command>
791            <proto><ptype>EGLSurface</ptype> <name>eglCreateStreamProducerSurfaceKHR</name></proto>
792            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
793            <param><ptype>EGLConfig</ptype> <name>config</name></param>
794            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
795            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
796        </command>
797        <command>
798            <proto><ptype>EGLSyncKHR</ptype> <name>eglCreateStreamSyncNV</name></proto>
799            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
800            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
801            <param><ptype>EGLenum</ptype> <name>type</name></param>
802            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
803        </command>
804        <command>
805            <proto><ptype>EGLSync</ptype> <name>eglCreateSync</name></proto>
806            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
807            <param><ptype>EGLenum</ptype> <name>type</name></param>
808            <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
809        </command>
810        <command>
811            <proto><ptype>EGLSyncKHR</ptype> <name>eglCreateSyncKHR</name></proto>
812            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
813            <param><ptype>EGLenum</ptype> <name>type</name></param>
814            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
815        </command>
816        <command>
817            <proto><ptype>EGLSyncKHR</ptype> <name>eglCreateSync64KHR</name></proto>
818            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
819            <param><ptype>EGLenum</ptype> <name>type</name></param>
820            <param>const <ptype>EGLAttribKHR</ptype> *<name>attrib_list</name></param>
821            <alias name="eglCreateSync"/>
822        </command>
823        <command>
824            <proto><ptype>EGLSurface</ptype> <name>eglCreateWindowSurface</name></proto>
825            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
826            <param><ptype>EGLConfig</ptype> <name>config</name></param>
827            <param><ptype>EGLNativeWindowType</ptype> <name>win</name></param>
828            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
829        </command>
830        <command>
831            <proto><ptype>EGLBoolean</ptype> <name>eglDestroyContext</name></proto>
832            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
833            <param><ptype>EGLContext</ptype> <name>ctx</name></param>
834        </command>
835        <command>
836            <proto><ptype>EGLBoolean</ptype> <name>eglDestroyImageKHR</name></proto>
837            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
838            <param><ptype>EGLImageKHR</ptype> <name>image</name></param>
839        </command>
840        <command>
841            <proto><ptype>EGLBoolean</ptype> <name>eglDestroyStreamKHR</name></proto>
842            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
843            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
844        </command>
845        <command>
846            <proto><ptype>EGLBoolean</ptype> <name>eglDestroySurface</name></proto>
847            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
848            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
849        </command>
850        <command>
851            <proto><ptype>EGLBoolean</ptype> <name>eglDestroySync</name></proto>
852            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
853            <param><ptype>EGLSync</ptype> <name>sync</name></param>
854        </command>
855        <command>
856            <proto><ptype>EGLBoolean</ptype> <name>eglDestroySyncKHR</name></proto>
857            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
858            <param><ptype>EGLSyncKHR</ptype> <name>sync</name></param>
859            <alias name="eglDestroySync"/>
860        </command>
861        <command>
862            <proto><ptype>EGLBoolean</ptype> <name>eglDestroySyncNV</name></proto>
863            <param><ptype>EGLSyncNV</ptype> <name>sync</name></param>
864        </command>
865        <command>
866            <proto><ptype>EGLint</ptype> <name>eglDupNativeFenceFDANDROID</name></proto>
867            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
868            <param><ptype>EGLSyncKHR</ptype> <name>sync</name></param>
869        </command>
870        <command>
871            <proto><ptype>EGLBoolean</ptype> <name>eglExportDRMImageMESA</name></proto>
872            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
873            <param><ptype>EGLImageKHR</ptype> <name>image</name></param>
874            <param><ptype>EGLint</ptype> *<name>name</name></param>
875            <param><ptype>EGLint</ptype> *<name>handle</name></param>
876            <param><ptype>EGLint</ptype> *<name>stride</name></param>
877        </command>
878        <command>
879            <proto><ptype>EGLBoolean</ptype> <name>eglFenceNV</name></proto>
880            <param><ptype>EGLSyncNV</ptype> <name>sync</name></param>
881        </command>
882        <command>
883            <proto><ptype>EGLBoolean</ptype> <name>eglGetConfigAttrib</name></proto>
884            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
885            <param><ptype>EGLConfig</ptype> <name>config</name></param>
886            <param><ptype>EGLint</ptype> <name>attribute</name></param>
887            <param><ptype>EGLint</ptype> *<name>value</name></param>
888        </command>
889        <command>
890            <proto><ptype>EGLBoolean</ptype> <name>eglGetConfigs</name></proto>
891            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
892            <param><ptype>EGLConfig</ptype> *<name>configs</name></param>
893            <param><ptype>EGLint</ptype> <name>config_size</name></param>
894            <param><ptype>EGLint</ptype> *<name>num_config</name></param>
895        </command>
896        <command>
897            <proto><ptype>EGLContext</ptype> <name>eglGetCurrentContext</name></proto>
898        </command>
899        <command>
900            <proto><ptype>EGLDisplay</ptype> <name>eglGetCurrentDisplay</name></proto>
901        </command>
902        <command>
903            <proto><ptype>EGLSurface</ptype> <name>eglGetCurrentSurface</name></proto>
904            <param><ptype>EGLint</ptype> <name>readdraw</name></param>
905        </command>
906        <command>
907            <proto><ptype>EGLDisplay</ptype> <name>eglGetDisplay</name></proto>
908            <param><ptype>EGLNativeDisplayType</ptype> <name>display_id</name></param>
909        </command>
910        <command>
911            <proto><ptype>EGLint</ptype> <name>eglGetError</name></proto>
912        </command>
913        <command>
914            <proto><ptype>EGLDisplay</ptype> <name>eglGetPlatformDisplay</name></proto>
915            <param><ptype>EGLenum</ptype> <name>platform</name></param>
916            <param>void *<name>native_display</name></param>
917            <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
918        </command>
919        <command>
920            <proto><ptype>EGLDisplay</ptype> <name>eglGetPlatformDisplayEXT</name></proto>
921            <param><ptype>EGLenum</ptype> <name>platform</name></param>
922            <param>void *<name>native_display</name></param>
923            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
924        </command>
925        <command>
926            <proto><ptype>__eglMustCastToProperFunctionPointerType</ptype> <name>eglGetProcAddress</name></proto>
927            <param>const char *<name>procname</name></param>
928        </command>
929        <command>
930            <proto><ptype>EGLNativeFileDescriptorKHR</ptype> <name>eglGetStreamFileDescriptorKHR</name></proto>
931            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
932            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
933        </command>
934        <command>
935            <proto><ptype>EGLBoolean</ptype> <name>eglGetSyncAttrib</name></proto>
936            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
937            <param><ptype>EGLSync</ptype> <name>sync</name></param>
938            <param><ptype>EGLint</ptype> <name>attribute</name></param>
939            <param><ptype>EGLAttrib</ptype> *<name>value</name></param>
940        </command>
941        <command>
942            <proto><ptype>EGLBoolean</ptype> <name>eglGetSyncAttribKHR</name></proto>
943            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
944            <param><ptype>EGLSyncKHR</ptype> <name>sync</name></param>
945            <param><ptype>EGLint</ptype> <name>attribute</name></param>
946            <param><ptype>EGLint</ptype> *<name>value</name></param>
947        </command>
948        <command>
949            <proto><ptype>EGLBoolean</ptype> <name>eglGetSyncAttribNV</name></proto>
950            <param><ptype>EGLSyncNV</ptype> <name>sync</name></param>
951            <param><ptype>EGLint</ptype> <name>attribute</name></param>
952            <param><ptype>EGLint</ptype> *<name>value</name></param>
953        </command>
954        <command>
955            <proto><ptype>EGLuint64NV</ptype> <name>eglGetSystemTimeFrequencyNV</name></proto>
956        </command>
957        <command>
958            <proto><ptype>EGLuint64NV</ptype> <name>eglGetSystemTimeNV</name></proto>
959        </command>
960        <command>
961            <proto><ptype>EGLBoolean</ptype> <name>eglInitialize</name></proto>
962            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
963            <param><ptype>EGLint</ptype> *<name>major</name></param>
964            <param><ptype>EGLint</ptype> *<name>minor</name></param>
965        </command>
966        <command>
967            <proto><ptype>EGLBoolean</ptype> <name>eglLockSurfaceKHR</name></proto>
968            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
969            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
970            <param>const <ptype>EGLint</ptype> *<name>attrib_list</name></param>
971        </command>
972        <command>
973            <proto><ptype>EGLBoolean</ptype> <name>eglMakeCurrent</name></proto>
974            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
975            <param><ptype>EGLSurface</ptype> <name>draw</name></param>
976            <param><ptype>EGLSurface</ptype> <name>read</name></param>
977            <param><ptype>EGLContext</ptype> <name>ctx</name></param>
978        </command>
979        <command>
980            <proto><ptype>EGLBoolean</ptype> <name>eglPostSubBufferNV</name></proto>
981            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
982            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
983            <param><ptype>EGLint</ptype> <name>x</name></param>
984            <param><ptype>EGLint</ptype> <name>y</name></param>
985            <param><ptype>EGLint</ptype> <name>width</name></param>
986            <param><ptype>EGLint</ptype> <name>height</name></param>
987        </command>
988        <command>
989            <proto><ptype>EGLenum</ptype> <name>eglQueryAPI</name></proto>
990        </command>
991        <command>
992            <proto><ptype>EGLBoolean</ptype> <name>eglQueryContext</name></proto>
993            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
994            <param><ptype>EGLContext</ptype> <name>ctx</name></param>
995            <param><ptype>EGLint</ptype> <name>attribute</name></param>
996            <param><ptype>EGLint</ptype> *<name>value</name></param>
997        </command>
998        <command>
999            <proto><ptype>EGLBoolean</ptype> <name>eglQueryNativeDisplayNV</name></proto>
1000            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1001            <param><ptype>EGLNativeDisplayType</ptype> *<name>display_id</name></param>
1002        </command>
1003        <command>
1004            <proto><ptype>EGLBoolean</ptype> <name>eglQueryNativePixmapNV</name></proto>
1005            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1006            <param><ptype>EGLSurface</ptype> <name>surf</name></param>
1007            <param><ptype>EGLNativePixmapType</ptype> *<name>pixmap</name></param>
1008        </command>
1009        <command>
1010            <proto><ptype>EGLBoolean</ptype> <name>eglQueryNativeWindowNV</name></proto>
1011            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1012            <param><ptype>EGLSurface</ptype> <name>surf</name></param>
1013            <param><ptype>EGLNativeWindowType</ptype> *<name>window</name></param>
1014        </command>
1015        <command>
1016            <proto><ptype>EGLBoolean</ptype> <name>eglQueryStreamKHR</name></proto>
1017            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1018            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1019            <param><ptype>EGLenum</ptype> <name>attribute</name></param>
1020            <param><ptype>EGLint</ptype> *<name>value</name></param>
1021        </command>
1022        <command>
1023            <proto><ptype>EGLBoolean</ptype> <name>eglQueryStreamTimeKHR</name></proto>
1024            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1025            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1026            <param><ptype>EGLenum</ptype> <name>attribute</name></param>
1027            <param><ptype>EGLTimeKHR</ptype> *<name>value</name></param>
1028        </command>
1029        <command>
1030            <proto><ptype>EGLBoolean</ptype> <name>eglQueryStreamu64KHR</name></proto>
1031            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1032            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1033            <param><ptype>EGLenum</ptype> <name>attribute</name></param>
1034            <param><ptype>EGLuint64KHR</ptype> *<name>value</name></param>
1035        </command>
1036        <command>
1037            <proto>const char *<name>eglQueryString</name></proto>
1038            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1039            <param><ptype>EGLint</ptype> <name>name</name></param>
1040        </command>
1041        <command>
1042            <proto><ptype>EGLBoolean</ptype> <name>eglQuerySurface</name></proto>
1043            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1044            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1045            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1046            <param><ptype>EGLint</ptype> *<name>value</name></param>
1047        </command>
1048        <command>
1049            <proto><ptype>EGLBoolean</ptype> <name>eglQuerySurface64KHR</name></proto>
1050            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1051            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1052            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1053            <param><ptype>EGLAttribKHR</ptype> *<name>value</name></param>
1054        </command>
1055        <command>
1056            <proto><ptype>EGLBoolean</ptype> <name>eglQuerySurfacePointerANGLE</name></proto>
1057            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1058            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1059            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1060            <param>void **<name>value</name></param>
1061        </command>
1062        <command>
1063            <proto><ptype>EGLBoolean</ptype> <name>eglReleaseTexImage</name></proto>
1064            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1065            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1066            <param><ptype>EGLint</ptype> <name>buffer</name></param>
1067        </command>
1068        <command>
1069            <proto><ptype>EGLBoolean</ptype> <name>eglReleaseThread</name></proto>
1070        </command>
1071        <command>
1072            <proto>void <name>eglSetBlobCacheFuncsANDROID</name></proto>
1073            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1074            <param><ptype>EGLSetBlobFuncANDROID</ptype> <name>set</name></param>
1075            <param><ptype>EGLGetBlobFuncANDROID</ptype> <name>get</name></param>
1076        </command>
1077        <command>
1078            <proto><ptype>EGLBoolean</ptype> <name>eglSignalSyncKHR</name></proto>
1079            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1080            <param><ptype>EGLSyncKHR</ptype> <name>sync</name></param>
1081            <param><ptype>EGLenum</ptype> <name>mode</name></param>
1082        </command>
1083        <command>
1084            <proto><ptype>EGLBoolean</ptype> <name>eglSignalSyncNV</name></proto>
1085            <param><ptype>EGLSyncNV</ptype> <name>sync</name></param>
1086            <param><ptype>EGLenum</ptype> <name>mode</name></param>
1087        </command>
1088        <command>
1089            <proto><ptype>EGLBoolean</ptype> <name>eglStreamAttribKHR</name></proto>
1090            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1091            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1092            <param><ptype>EGLenum</ptype> <name>attribute</name></param>
1093            <param><ptype>EGLint</ptype> <name>value</name></param>
1094        </command>
1095        <command>
1096            <proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerAcquireKHR</name></proto>
1097            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1098            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1099        </command>
1100        <command>
1101            <proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerGLTextureExternalKHR</name></proto>
1102            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1103            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1104        </command>
1105        <command>
1106            <proto><ptype>EGLBoolean</ptype> <name>eglStreamConsumerReleaseKHR</name></proto>
1107            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1108            <param><ptype>EGLStreamKHR</ptype> <name>stream</name></param>
1109        </command>
1110        <command>
1111            <proto><ptype>EGLBoolean</ptype> <name>eglSurfaceAttrib</name></proto>
1112            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1113            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1114            <param><ptype>EGLint</ptype> <name>attribute</name></param>
1115            <param><ptype>EGLint</ptype> <name>value</name></param>
1116        </command>
1117        <command>
1118            <proto><ptype>EGLBoolean</ptype> <name>eglSwapBuffers</name></proto>
1119            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1120            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1121        </command>
1122        <command>
1123            <proto><ptype>EGLBoolean</ptype> <name>eglSwapBuffersWithDamageEXT</name></proto>
1124            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1125            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1126            <param><ptype>EGLint</ptype> *<name>rects</name></param>
1127            <param><ptype>EGLint</ptype> <name>n_rects</name></param>
1128        </command>
1129        <command>
1130            <proto><ptype>EGLBoolean</ptype> <name>eglSwapBuffersRegionNOK</name></proto>
1131            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1132            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1133            <param><ptype>EGLint</ptype> <name>numRects</name></param>
1134            <param>const <ptype>EGLint</ptype> *<name>rects</name></param>
1135        </command>
1136        <command>
1137            <proto><ptype>EGLBoolean</ptype> <name>eglSwapBuffersRegion2NOK</name></proto>
1138            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1139            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1140            <param><ptype>EGLint</ptype> <name>numRects</name></param>
1141            <param>const <ptype>EGLint</ptype> *<name>rects</name></param>
1142        </command>
1143        <command>
1144            <proto><ptype>EGLBoolean</ptype> <name>eglSwapInterval</name></proto>
1145            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1146            <param><ptype>EGLint</ptype> <name>interval</name></param>
1147        </command>
1148        <command>
1149            <proto><ptype>EGLBoolean</ptype> <name>eglTerminate</name></proto>
1150            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1151        </command>
1152        <command>
1153            <proto><ptype>EGLBoolean</ptype> <name>eglUnlockSurfaceKHR</name></proto>
1154            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1155            <param><ptype>EGLSurface</ptype> <name>surface</name></param>
1156        </command>
1157        <command>
1158            <proto><ptype>EGLBoolean</ptype> <name>eglWaitClient</name></proto>
1159        </command>
1160        <command>
1161            <proto><ptype>EGLBoolean</ptype> <name>eglWaitGL</name></proto>
1162        </command>
1163        <command>
1164            <proto><ptype>EGLBoolean</ptype> <name>eglWaitNative</name></proto>
1165            <param><ptype>EGLint</ptype> <name>engine</name></param>
1166        </command>
1167        <command>
1168            <proto><ptype>EGLBoolean</ptype> <name>eglWaitSync</name></proto>
1169            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1170            <param><ptype>EGLSync</ptype> <name>sync</name></param>
1171            <param><ptype>EGLint</ptype> <name>flags</name></param>
1172        </command>
1173        <command>
1174            <proto><ptype>EGLint</ptype> <name>eglWaitSyncKHR</name></proto>
1175            <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
1176            <param><ptype>EGLSyncKHR</ptype> <name>sync</name></param>
1177            <param><ptype>EGLint</ptype> <name>flags</name></param>
1178        </command>
1179    </commands>
1180
1181    <!-- SECTION: EGL API interface definitions. -->
1182    <feature api="egl" name="EGL_VERSION_1_0" number="1.0">
1183        <require>
1184            <enum name="EGL_ALPHA_SIZE"/>
1185            <enum name="EGL_BAD_ACCESS"/>
1186            <enum name="EGL_BAD_ALLOC"/>
1187            <enum name="EGL_BAD_ATTRIBUTE"/>
1188            <enum name="EGL_BAD_CONFIG"/>
1189            <enum name="EGL_BAD_CONTEXT"/>
1190            <enum name="EGL_BAD_CURRENT_SURFACE"/>
1191            <enum name="EGL_BAD_DISPLAY"/>
1192            <enum name="EGL_BAD_MATCH"/>
1193            <enum name="EGL_BAD_NATIVE_PIXMAP"/>
1194            <enum name="EGL_BAD_NATIVE_WINDOW"/>
1195            <enum name="EGL_BAD_PARAMETER"/>
1196            <enum name="EGL_BAD_SURFACE"/>
1197            <enum name="EGL_BLUE_SIZE"/>
1198            <enum name="EGL_BUFFER_SIZE"/>
1199            <enum name="EGL_CONFIG_CAVEAT"/>
1200            <enum name="EGL_CONFIG_ID"/>
1201            <enum name="EGL_CORE_NATIVE_ENGINE"/>
1202            <enum name="EGL_DEPTH_SIZE"/>
1203            <enum name="EGL_DONT_CARE"/>
1204            <enum name="EGL_DRAW"/>
1205            <enum name="EGL_EXTENSIONS"/>
1206            <enum name="EGL_FALSE"/>
1207            <enum name="EGL_GREEN_SIZE"/>
1208            <enum name="EGL_HEIGHT"/>
1209            <enum name="EGL_LARGEST_PBUFFER"/>
1210            <enum name="EGL_LEVEL"/>
1211            <enum name="EGL_MAX_PBUFFER_HEIGHT"/>
1212            <enum name="EGL_MAX_PBUFFER_PIXELS"/>
1213            <enum name="EGL_MAX_PBUFFER_WIDTH"/>
1214            <enum name="EGL_NATIVE_RENDERABLE"/>
1215            <enum name="EGL_NATIVE_VISUAL_ID"/>
1216            <enum name="EGL_NATIVE_VISUAL_TYPE"/>
1217            <enum name="EGL_NONE"/>
1218            <enum name="EGL_NON_CONFORMANT_CONFIG"/>
1219            <enum name="EGL_NOT_INITIALIZED"/>
1220            <enum name="EGL_NO_CONTEXT"/>
1221            <enum name="EGL_NO_DISPLAY"/>
1222            <enum name="EGL_NO_SURFACE"/>
1223            <enum name="EGL_PBUFFER_BIT"/>
1224            <enum name="EGL_PIXMAP_BIT"/>
1225            <enum name="EGL_READ"/>
1226            <enum name="EGL_RED_SIZE"/>
1227            <enum name="EGL_SAMPLES"/>
1228            <enum name="EGL_SAMPLE_BUFFERS"/>
1229            <enum name="EGL_SLOW_CONFIG"/>
1230            <enum name="EGL_STENCIL_SIZE"/>
1231            <enum name="EGL_SUCCESS"/>
1232            <enum name="EGL_SURFACE_TYPE"/>
1233            <enum name="EGL_TRANSPARENT_BLUE_VALUE"/>
1234            <enum name="EGL_TRANSPARENT_GREEN_VALUE"/>
1235            <enum name="EGL_TRANSPARENT_RED_VALUE"/>
1236            <enum name="EGL_TRANSPARENT_RGB"/>
1237            <enum name="EGL_TRANSPARENT_TYPE"/>
1238            <enum name="EGL_TRUE"/>
1239            <enum name="EGL_VENDOR"/>
1240            <enum name="EGL_VERSION"/>
1241            <enum name="EGL_WIDTH"/>
1242            <enum name="EGL_WINDOW_BIT"/>
1243            <command name="eglChooseConfig"/>
1244            <command name="eglCopyBuffers"/>
1245            <command name="eglCreateContext"/>
1246            <command name="eglCreatePbufferSurface"/>
1247            <command name="eglCreatePixmapSurface"/>
1248            <command name="eglCreateWindowSurface"/>
1249            <command name="eglDestroyContext"/>
1250            <command name="eglDestroySurface"/>
1251            <command name="eglGetConfigAttrib"/>
1252            <command name="eglGetConfigs"/>
1253            <command name="eglGetCurrentDisplay"/>
1254            <command name="eglGetCurrentSurface"/>
1255            <command name="eglGetDisplay"/>
1256            <command name="eglGetError"/>
1257            <command name="eglGetProcAddress"/>
1258            <command name="eglInitialize"/>
1259            <command name="eglMakeCurrent"/>
1260            <command name="eglQueryContext"/>
1261            <command name="eglQueryString"/>
1262            <command name="eglQuerySurface"/>
1263            <command name="eglSwapBuffers"/>
1264            <command name="eglTerminate"/>
1265            <command name="eglWaitGL"/>
1266            <command name="eglWaitNative"/>
1267        </require>
1268    </feature>
1269    <feature api="egl" name="EGL_VERSION_1_1" number="1.1">
1270        <require>
1271            <enum name="EGL_BACK_BUFFER"/>
1272            <enum name="EGL_BIND_TO_TEXTURE_RGB"/>
1273            <enum name="EGL_BIND_TO_TEXTURE_RGBA"/>
1274            <enum name="EGL_CONTEXT_LOST"/>
1275            <enum name="EGL_MIN_SWAP_INTERVAL"/>
1276            <enum name="EGL_MAX_SWAP_INTERVAL"/>
1277            <enum name="EGL_MIPMAP_TEXTURE"/>
1278            <enum name="EGL_MIPMAP_LEVEL"/>
1279            <enum name="EGL_NO_TEXTURE"/>
1280            <enum name="EGL_TEXTURE_2D"/>
1281            <enum name="EGL_TEXTURE_FORMAT"/>
1282            <enum name="EGL_TEXTURE_RGB"/>
1283            <enum name="EGL_TEXTURE_RGBA"/>
1284            <enum name="EGL_TEXTURE_TARGET"/>
1285            <command name="eglBindTexImage"/>
1286            <command name="eglReleaseTexImage"/>
1287            <command name="eglSurfaceAttrib"/>
1288            <command name="eglSwapInterval"/>
1289        </require>
1290    </feature>
1291    <feature api="egl" name="EGL_VERSION_1_2" number="1.2">
1292        <require>
1293            <enum name="EGL_ALPHA_FORMAT"/>
1294            <enum name="EGL_ALPHA_FORMAT_NONPRE"/>
1295            <enum name="EGL_ALPHA_FORMAT_PRE"/>
1296            <enum name="EGL_ALPHA_MASK_SIZE"/>
1297            <enum name="EGL_BUFFER_PRESERVED"/>
1298            <enum name="EGL_BUFFER_DESTROYED"/>
1299            <enum name="EGL_CLIENT_APIS"/>
1300            <enum name="EGL_COLORSPACE"/>
1301            <enum name="EGL_COLORSPACE_sRGB"/>
1302            <enum name="EGL_COLORSPACE_LINEAR"/>
1303            <enum name="EGL_COLOR_BUFFER_TYPE"/>
1304            <enum name="EGL_CONTEXT_CLIENT_TYPE"/>
1305            <enum name="EGL_DISPLAY_SCALING"/>
1306            <enum name="EGL_HORIZONTAL_RESOLUTION"/>
1307            <enum name="EGL_LUMINANCE_BUFFER"/>
1308            <enum name="EGL_LUMINANCE_SIZE"/>
1309            <enum name="EGL_OPENGL_ES_BIT"/>
1310            <enum name="EGL_OPENVG_BIT"/>
1311            <enum name="EGL_OPENGL_ES_API"/>
1312            <enum name="EGL_OPENVG_API"/>
1313            <enum name="EGL_OPENVG_IMAGE"/>
1314            <enum name="EGL_PIXEL_ASPECT_RATIO"/>
1315            <enum name="EGL_RENDERABLE_TYPE"/>
1316            <enum name="EGL_RENDER_BUFFER"/>
1317            <enum name="EGL_RGB_BUFFER"/>
1318            <enum name="EGL_SINGLE_BUFFER"/>
1319            <enum name="EGL_SWAP_BEHAVIOR"/>
1320            <enum name="EGL_UNKNOWN"/>
1321            <enum name="EGL_VERTICAL_RESOLUTION"/>
1322            <command name="eglBindAPI"/>
1323            <command name="eglQueryAPI"/>
1324            <command name="eglCreatePbufferFromClientBuffer"/>
1325            <command name="eglReleaseThread"/>
1326            <command name="eglWaitClient"/>
1327        </require>
1328    </feature>
1329    <feature api="egl" name="EGL_VERSION_1_3" number="1.3">
1330        <require>
1331            <enum name="EGL_CONFORMANT"/>
1332            <enum name="EGL_CONTEXT_CLIENT_VERSION"/>
1333            <enum name="EGL_MATCH_NATIVE_PIXMAP"/>
1334            <enum name="EGL_OPENGL_ES2_BIT"/>
1335            <enum name="EGL_VG_ALPHA_FORMAT"/>
1336            <enum name="EGL_VG_ALPHA_FORMAT_NONPRE"/>
1337            <enum name="EGL_VG_ALPHA_FORMAT_PRE"/>
1338            <enum name="EGL_VG_ALPHA_FORMAT_PRE_BIT"/>
1339            <enum name="EGL_VG_COLORSPACE"/>
1340            <enum name="EGL_VG_COLORSPACE_sRGB"/>
1341            <enum name="EGL_VG_COLORSPACE_LINEAR"/>
1342            <enum name="EGL_VG_COLORSPACE_LINEAR_BIT"/>
1343        </require>
1344    </feature>
1345    <feature api="egl" name="EGL_VERSION_1_4" number="1.4">
1346        <require>
1347            <enum name="EGL_DEFAULT_DISPLAY"/>
1348            <enum name="EGL_MULTISAMPLE_RESOLVE_BOX_BIT"/>
1349            <enum name="EGL_MULTISAMPLE_RESOLVE"/>
1350            <enum name="EGL_MULTISAMPLE_RESOLVE_DEFAULT"/>
1351            <enum name="EGL_MULTISAMPLE_RESOLVE_BOX"/>
1352            <enum name="EGL_OPENGL_API"/>
1353            <enum name="EGL_OPENGL_BIT"/>
1354            <enum name="EGL_SWAP_BEHAVIOR_PRESERVED_BIT"/>
1355            <command name="eglGetCurrentContext"/>
1356        </require>
1357    </feature>
1358    <feature api="egl" name="EGL_VERSION_1_5" number="1.5">
1359        <require comment="EGL_KHR_create_context features">
1360            <enum name="EGL_CONTEXT_MAJOR_VERSION"/>
1361            <enum name="EGL_CONTEXT_MINOR_VERSION"/>
1362            <enum name="EGL_CONTEXT_OPENGL_PROFILE_MASK"/>
1363            <enum name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY"/>
1364            <enum name="EGL_NO_RESET_NOTIFICATION"/>
1365            <enum name="EGL_LOSE_CONTEXT_ON_RESET"/>
1366            <enum name="EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT"/>
1367            <enum name="EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT"/>
1368            <enum name="EGL_CONTEXT_OPENGL_DEBUG"/>
1369            <enum name="EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE"/>
1370            <enum name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS"/>
1371            <enum name="EGL_OPENGL_ES3_BIT"/>
1372        </require>
1373        <require comment="EGL_EXT_create_context_robustness">
1374            <enum name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS"/>
1375            <enum name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY"/>
1376        </require>
1377        <require comment="EGL_EXT_client_extensions"/>
1378        <require comment="EGL_KHR_cl_event2">
1379            <enum name="EGL_CL_EVENT_HANDLE"/>
1380            <enum name="EGL_SYNC_CL_EVENT"/>
1381            <enum name="EGL_SYNC_CL_EVENT_COMPLETE"/>
1382        </require>
1383        <require comment="EGL_KHR_fence_sync">
1384            <enum name="EGL_SYNC_PRIOR_COMMANDS_COMPLETE"/>
1385            <enum name="EGL_SYNC_TYPE"/>
1386            <enum name="EGL_SYNC_STATUS"/>
1387            <enum name="EGL_SYNC_CONDITION"/>
1388            <enum name="EGL_SIGNALED"/>
1389            <enum name="EGL_UNSIGNALED"/>
1390            <enum name="EGL_SYNC_FLUSH_COMMANDS_BIT"/>
1391            <enum name="EGL_FOREVER"/>
1392            <enum name="EGL_TIMEOUT_EXPIRED"/>
1393            <enum name="EGL_CONDITION_SATISFIED"/>
1394            <enum name="EGL_NO_SYNC"/>
1395            <enum name="EGL_SYNC_FENCE"/>
1396            <command name="eglCreateSync"/>
1397            <command name="eglDestroySync"/>
1398            <command name="eglClientWaitSync"/>
1399            <command name="eglGetSyncAttrib"/>
1400        </require>
1401        <require comment="EGL_KHR_get_all_proc_addresses"/>
1402        <require comment="EGL_KHR_client_get_all_proc_addresses"/>
1403        <require comment="EGL_KHR_gl_colorspace">
1404            <enum name="EGL_GL_COLORSPACE"/>
1405            <enum name="EGL_GL_COLORSPACE_SRGB"/>
1406            <enum name="EGL_GL_COLORSPACE_LINEAR"/>
1407        </require>
1408        <require comment="EGL_KHR_gl_renderbuffer_image">
1409            <enum name="EGL_GL_RENDERBUFFER"/>
1410        </require>
1411        <require comment="EGL_KHR_gl_texture_2D_image">
1412            <enum name="EGL_GL_TEXTURE_2D"/>
1413            <enum name="EGL_GL_TEXTURE_LEVEL"/>
1414        </require>
1415        <require comment="EGL_KHR_gl_texture_3D_image">
1416            <enum name="EGL_GL_TEXTURE_3D"/>
1417            <enum name="EGL_GL_TEXTURE_ZOFFSET"/>
1418        </require>
1419        <require comment="EGL_KHR_gl_texture_cubemap_image">
1420            <enum name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X"/>
1421            <enum name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X"/>
1422            <enum name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y"/>
1423            <enum name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y"/>
1424            <enum name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z"/>
1425            <enum name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z"/>
1426        </require>
1427        <require comment="EGL_EXT_platform_base">
1428            <command name="eglGetPlatformDisplay"/>
1429            <command name="eglCreatePlatformWindowSurface"/>
1430            <command name="eglCreatePlatformPixmapSurface"/>
1431        </require>
1432        <require comment="EGL_KHR_surfaceless_context - just relaxes an error condition"/>
1433        <require comment="EGL_KHR_wait_sync">
1434            <command name="eglWaitSync"/>
1435        </require>
1436    </feature>
1437
1438    <!-- SECTION: EGL extension interface definitions -->
1439    <extensions>
1440        <extension name="EGL_ANDROID_blob_cache" supported="egl">
1441            <require>
1442                <command name="eglSetBlobCacheFuncsANDROID"/>
1443            </require>
1444        </extension>
1445        <extension name="EGL_ANDROID_framebuffer_target" supported="egl">
1446            <require>
1447                <enum name="EGL_FRAMEBUFFER_TARGET_ANDROID"/>
1448            </require>
1449        </extension>
1450        <extension name="EGL_ANDROID_image_native_buffer" supported="egl">
1451            <require>
1452                <enum name="EGL_NATIVE_BUFFER_ANDROID"/>
1453            </require>
1454        </extension>
1455        <extension name="EGL_ANDROID_native_fence_sync" supported="egl">
1456            <require>
1457                <enum name="EGL_SYNC_NATIVE_FENCE_ANDROID"/>
1458                <enum name="EGL_SYNC_NATIVE_FENCE_FD_ANDROID"/>
1459                <enum name="EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID"/>
1460                <enum name="EGL_NO_NATIVE_FENCE_FD_ANDROID"/>
1461                <command name="eglDupNativeFenceFDANDROID"/>
1462            </require>
1463        </extension>
1464        <extension name="EGL_ANDROID_recordable" supported="egl">
1465            <require>
1466                <enum name="EGL_RECORDABLE_ANDROID"/>
1467            </require>
1468        </extension>
1469        <extension name="EGL_ANGLE_d3d_share_handle_client_buffer" supported="egl">
1470            <require>
1471                <enum name="EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE"/>
1472            </require>
1473        </extension>
1474        <extension name="EGL_ANGLE_query_surface_pointer" supported="egl">
1475            <require>
1476                <command name="eglQuerySurfacePointerANGLE"/>
1477            </require>
1478        </extension>
1479        <extension name="EGL_ANGLE_surface_d3d_texture_2d_share_handle" supported="egl">
1480            <require>
1481                <enum name="EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE"/>
1482            </require>
1483        </extension>
1484        <extension name="EGL_ARM_pixmap_multisample_discard" supported="egl">
1485            <require>
1486                <enum name="EGL_DISCARD_SAMPLES_ARM"/>
1487            </require>
1488        </extension>
1489        <extension name="EGL_EXT_buffer_age" supported="egl">
1490            <require>
1491                <enum name="EGL_BUFFER_AGE_EXT"/>
1492            </require>
1493        </extension>
1494        <extension name="EGL_EXT_client_extensions" supported="egl"/>
1495        <extension name="EGL_EXT_create_context_robustness" supported="egl">
1496            <require>
1497                <enum name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT"/>
1498                <enum name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT"/>
1499                <enum name="EGL_NO_RESET_NOTIFICATION_EXT"/>
1500                <enum name="EGL_LOSE_CONTEXT_ON_RESET_EXT"/>
1501            </require>
1502        </extension>
1503        <extension name="EGL_EXT_image_dma_buf_import" supported="egl">
1504            <require>
1505                <enum name="EGL_LINUX_DMA_BUF_EXT"/>
1506                <enum name="EGL_LINUX_DRM_FOURCC_EXT"/>
1507                <enum name="EGL_DMA_BUF_PLANE0_FD_EXT"/>
1508                <enum name="EGL_DMA_BUF_PLANE0_OFFSET_EXT"/>
1509                <enum name="EGL_DMA_BUF_PLANE0_PITCH_EXT"/>
1510                <enum name="EGL_DMA_BUF_PLANE1_FD_EXT"/>
1511                <enum name="EGL_DMA_BUF_PLANE1_OFFSET_EXT"/>
1512                <enum name="EGL_DMA_BUF_PLANE1_PITCH_EXT"/>
1513                <enum name="EGL_DMA_BUF_PLANE2_FD_EXT"/>
1514                <enum name="EGL_DMA_BUF_PLANE2_OFFSET_EXT"/>
1515                <enum name="EGL_DMA_BUF_PLANE2_PITCH_EXT"/>
1516                <enum name="EGL_YUV_COLOR_SPACE_HINT_EXT"/>
1517                <enum name="EGL_SAMPLE_RANGE_HINT_EXT"/>
1518                <enum name="EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT"/>
1519                <enum name="EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT"/>
1520                <enum name="EGL_ITU_REC601_EXT"/>
1521                <enum name="EGL_ITU_REC709_EXT"/>
1522                <enum name="EGL_ITU_REC2020_EXT"/>
1523                <enum name="EGL_YUV_FULL_RANGE_EXT"/>
1524                <enum name="EGL_YUV_NARROW_RANGE_EXT"/>
1525                <enum name="EGL_YUV_CHROMA_SITING_0_EXT"/>
1526                <enum name="EGL_YUV_CHROMA_SITING_0_5_EXT"/>
1527            </require>
1528        </extension>
1529        <extension name="EGL_EXT_multiview_window" supported="egl">
1530            <require>
1531                <enum name="EGL_MULTIVIEW_VIEW_COUNT_EXT"/>
1532            </require>
1533        </extension>
1534        <extension name="EGL_EXT_platform_base" supported="egl">
1535            <require>
1536                <command name="eglGetPlatformDisplayEXT"/>
1537                <command name="eglCreatePlatformWindowSurfaceEXT"/>
1538                <command name="eglCreatePlatformPixmapSurfaceEXT"/>
1539            </require>
1540        </extension>
1541        <extension name="EGL_EXT_platform_wayland" supported="egl">
1542            <require>
1543                <enum name="EGL_PLATFORM_WAYLAND_EXT"/>
1544            </require>
1545        </extension>
1546        <extension name="EGL_EXT_platform_x11" supported="egl">
1547            <require>
1548                <enum name="EGL_PLATFORM_X11_EXT"/>
1549                <enum name="EGL_PLATFORM_X11_SCREEN_EXT"/>
1550            </require>
1551        </extension>
1552        <extension name="EGL_EXT_protected_surface" supported="egl">
1553            <require>
1554                <enum name="EGL_PROTECTED_CONTENT_EXT"/>
1555            </require>
1556        </extension>
1557        <extension name="EGL_EXT_swap_buffers_with_damage" supported="egl">
1558            <require>
1559                <command name="eglSwapBuffersWithDamageEXT"/>
1560            </require>
1561        </extension>
1562        <extension name="EGL_HI_clientpixmap" supported="egl">
1563            <require>
1564                <enum name="EGL_CLIENT_PIXMAP_POINTER_HI"/>
1565                <command name="eglCreatePixmapSurfaceHI"/>
1566            </require>
1567        </extension>
1568        <extension name="EGL_HI_colorformats" supported="egl">
1569            <require>
1570                <enum name="EGL_COLOR_FORMAT_HI"/>
1571                <enum name="EGL_COLOR_RGB_HI"/>
1572                <enum name="EGL_COLOR_RGBA_HI"/>
1573                <enum name="EGL_COLOR_ARGB_HI"/>
1574            </require>
1575        </extension>
1576        <extension name="EGL_IMG_context_priority" supported="egl">
1577            <require>
1578                <enum name="EGL_CONTEXT_PRIORITY_LEVEL_IMG"/>
1579                <enum name="EGL_CONTEXT_PRIORITY_HIGH_IMG"/>
1580                <enum name="EGL_CONTEXT_PRIORITY_MEDIUM_IMG"/>
1581                <enum name="EGL_CONTEXT_PRIORITY_LOW_IMG"/>
1582            </require>
1583        </extension>
1584        <extension name="EGL_KHR_cl_event" supported="egl">
1585            <require>
1586                <enum name="EGL_CL_EVENT_HANDLE_KHR"/>
1587                <enum name="EGL_SYNC_CL_EVENT_KHR"/>
1588                <enum name="EGL_SYNC_CL_EVENT_COMPLETE_KHR"/>
1589            </require>
1590        </extension>
1591        <extension name="EGL_KHR_cl_event2" supported="egl">
1592            <require>
1593                <enum name="EGL_CL_EVENT_HANDLE_KHR"/>
1594                <enum name="EGL_SYNC_CL_EVENT_KHR"/>
1595                <enum name="EGL_SYNC_CL_EVENT_COMPLETE_KHR"/>
1596                <command name="eglCreateSync64KHR"/>
1597            </require>
1598        </extension>
1599        <extension name="EGL_KHR_config_attribs" supported="egl">
1600            <require>
1601                <enum name="EGL_CONFORMANT_KHR"/>
1602                <enum name="EGL_VG_COLORSPACE_LINEAR_BIT_KHR"/>
1603                <enum name="EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR"/>
1604            </require>
1605        </extension>
1606        <extension name="EGL_KHR_client_get_all_proc_addresses" supported="egl" comment="Alias of EGL_KHR_get_all_proc_addresses"/>
1607        <extension name="EGL_KHR_create_context" supported="egl">
1608            <require>
1609                <enum name="EGL_CONTEXT_MAJOR_VERSION_KHR"/>
1610                <enum name="EGL_CONTEXT_MINOR_VERSION_KHR"/>
1611                <enum name="EGL_CONTEXT_FLAGS_KHR"/>
1612                <enum name="EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR"/>
1613                <enum name="EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR"/>
1614                <enum name="EGL_NO_RESET_NOTIFICATION_KHR"/>
1615                <enum name="EGL_LOSE_CONTEXT_ON_RESET_KHR"/>
1616                <enum name="EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR"/>
1617                <enum name="EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR"/>
1618                <enum name="EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR"/>
1619                <enum name="EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR"/>
1620                <enum name="EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR"/>
1621                <enum name="EGL_OPENGL_ES3_BIT"/>
1622                <enum name="EGL_OPENGL_ES3_BIT_KHR"/>
1623            </require>
1624        </extension>
1625        <extension name="EGL_KHR_fence_sync" protect="KHRONOS_SUPPORT_INT64" supported="egl">
1626            <require>
1627                <!-- @ Most interfaces defined by EGL_KHR_reusable sync -->
1628                <enum name="EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR"/>
1629                <enum name="EGL_SYNC_CONDITION_KHR"/>
1630                <enum name="EGL_SYNC_FENCE_KHR"/>
1631            </require>
1632        </extension>
1633        <extension name="EGL_KHR_get_all_proc_addresses" supported="egl"/>
1634        <extension name="EGL_KHR_gl_colorspace" supported="egl">
1635            <require>
1636                <enum name="EGL_GL_COLORSPACE_KHR"/>
1637                <enum name="EGL_GL_COLORSPACE_SRGB_KHR"/>
1638                <enum name="EGL_GL_COLORSPACE_LINEAR_KHR"/>
1639            </require>
1640        </extension>
1641        <extension name="EGL_KHR_gl_renderbuffer_image" supported="egl">
1642            <require>
1643                <enum name="EGL_GL_RENDERBUFFER_KHR"/>
1644            </require>
1645        </extension>
1646        <extension name="EGL_KHR_gl_texture_2D_image" supported="egl">
1647            <require>
1648                <enum name="EGL_GL_TEXTURE_2D_KHR"/>
1649                <enum name="EGL_GL_TEXTURE_LEVEL_KHR"/>
1650            </require>
1651        </extension>
1652        <extension name="EGL_KHR_gl_texture_3D_image" supported="egl">
1653            <require>
1654                <enum name="EGL_GL_TEXTURE_3D_KHR"/>
1655                <enum name="EGL_GL_TEXTURE_ZOFFSET_KHR"/>
1656            </require>
1657        </extension>
1658        <extension name="EGL_KHR_gl_texture_cubemap_image" supported="egl">
1659            <require>
1660                <enum name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR"/>
1661                <enum name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR"/>
1662                <enum name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR"/>
1663                <enum name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR"/>
1664                <enum name="EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR"/>
1665                <enum name="EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR"/>
1666            </require>
1667        </extension>
1668        <extension name="EGL_KHR_image" supported="egl">
1669            <require>
1670                <enum name="EGL_NATIVE_PIXMAP_KHR"/>
1671                <enum name="EGL_NO_IMAGE_KHR"/>
1672                <command name="eglCreateImageKHR"/>
1673                <command name="eglDestroyImageKHR"/>
1674            </require>
1675        </extension>
1676        <extension name="EGL_KHR_image_base" supported="egl">
1677            <require>
1678                <enum name="EGL_IMAGE_PRESERVED_KHR"/>
1679                <enum name="EGL_NO_IMAGE_KHR"/>
1680                <command name="eglCreateImageKHR"/>
1681                <command name="eglDestroyImageKHR"/>
1682            </require>
1683        </extension>
1684        <extension name="EGL_KHR_image_pixmap" supported="egl">
1685            <require>
1686                <enum name="EGL_NATIVE_PIXMAP_KHR"/>
1687            </require>
1688        </extension>
1689        <extension name="EGL_KHR_lock_surface" supported="egl">
1690            <require>
1691                <enum name="EGL_READ_SURFACE_BIT_KHR"/>
1692                <enum name="EGL_WRITE_SURFACE_BIT_KHR"/>
1693                <enum name="EGL_LOCK_SURFACE_BIT_KHR"/>
1694                <enum name="EGL_OPTIMAL_FORMAT_BIT_KHR"/>
1695                <enum name="EGL_MATCH_FORMAT_KHR"/>
1696                <enum name="EGL_FORMAT_RGB_565_EXACT_KHR"/>
1697                <enum name="EGL_FORMAT_RGB_565_KHR"/>
1698                <enum name="EGL_FORMAT_RGBA_8888_EXACT_KHR"/>
1699                <enum name="EGL_FORMAT_RGBA_8888_KHR"/>
1700                <enum name="EGL_MAP_PRESERVE_PIXELS_KHR"/>
1701                <enum name="EGL_LOCK_USAGE_HINT_KHR"/>
1702                <enum name="EGL_BITMAP_POINTER_KHR"/>
1703                <enum name="EGL_BITMAP_PITCH_KHR"/>
1704                <enum name="EGL_BITMAP_ORIGIN_KHR"/>
1705                <enum name="EGL_BITMAP_PIXEL_RED_OFFSET_KHR"/>
1706                <enum name="EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR"/>
1707                <enum name="EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR"/>
1708                <enum name="EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR"/>
1709                <enum name="EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR"/>
1710                <enum name="EGL_LOWER_LEFT_KHR"/>
1711                <enum name="EGL_UPPER_LEFT_KHR"/>
1712                <command name="eglLockSurfaceKHR"/>
1713                <command name="eglUnlockSurfaceKHR"/>
1714            </require>
1715        </extension>
1716        <extension name="EGL_KHR_lock_surface2" supported="egl">
1717            <require>
1718                <enum name="EGL_BITMAP_PIXEL_SIZE_KHR"/>
1719            </require>
1720        </extension>
1721        <extension name="EGL_KHR_lock_surface3" supported="egl">
1722            <require>
1723                <enum name="EGL_READ_SURFACE_BIT_KHR"/>
1724                <enum name="EGL_WRITE_SURFACE_BIT_KHR"/>
1725                <enum name="EGL_LOCK_SURFACE_BIT_KHR"/>
1726                <enum name="EGL_OPTIMAL_FORMAT_BIT_KHR"/>
1727                <enum name="EGL_MATCH_FORMAT_KHR"/>
1728                <enum name="EGL_FORMAT_RGB_565_EXACT_KHR"/>
1729                <enum name="EGL_FORMAT_RGB_565_KHR"/>
1730                <enum name="EGL_FORMAT_RGBA_8888_EXACT_KHR"/>
1731                <enum name="EGL_FORMAT_RGBA_8888_KHR"/>
1732                <enum name="EGL_MAP_PRESERVE_PIXELS_KHR"/>
1733                <enum name="EGL_LOCK_USAGE_HINT_KHR"/>
1734                <enum name="EGL_BITMAP_PITCH_KHR"/>
1735                <enum name="EGL_BITMAP_ORIGIN_KHR"/>
1736                <enum name="EGL_BITMAP_PIXEL_RED_OFFSET_KHR"/>
1737                <enum name="EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR"/>
1738                <enum name="EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR"/>
1739                <enum name="EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR"/>
1740                <enum name="EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR"/>
1741                <enum name="EGL_BITMAP_PIXEL_SIZE_KHR"/>
1742                <enum name="EGL_BITMAP_POINTER_KHR"/>
1743                <enum name="EGL_LOWER_LEFT_KHR"/>
1744                <enum name="EGL_UPPER_LEFT_KHR"/>
1745                <command name="eglLockSurfaceKHR"/>
1746                <command name="eglUnlockSurfaceKHR"/>
1747                <command name="eglQuerySurface64KHR"/>
1748            </require>
1749        </extension>
1750        <extension name="EGL_KHR_platform_android" supported="egl">
1751            <require>
1752                <enum name="EGL_PLATFORM_ANDROID_KHR"/>
1753            </require>
1754        </extension>
1755        <extension name="EGL_KHR_platform_gbm" supported="egl">
1756            <require>
1757                <enum name="EGL_PLATFORM_GBM_KHR"/>
1758            </require>
1759        </extension>
1760        <extension name="EGL_KHR_platform_wayland" supported="egl">
1761            <require>
1762                <enum name="EGL_PLATFORM_WAYLAND_KHR"/>
1763            </require>
1764        </extension>
1765        <extension name="EGL_KHR_platform_x11" supported="egl">
1766            <require>
1767                <enum name="EGL_PLATFORM_X11_KHR"/>
1768                <enum name="EGL_PLATFORM_X11_SCREEN_KHR"/>
1769            </require>
1770        </extension>
1771        <extension name="EGL_KHR_reusable_sync" protect="KHRONOS_SUPPORT_INT64" supported="egl">
1772            <require>
1773                <enum name="EGL_SYNC_STATUS_KHR"/>
1774                <enum name="EGL_SIGNALED_KHR"/>
1775                <enum name="EGL_UNSIGNALED_KHR"/>
1776                <enum name="EGL_TIMEOUT_EXPIRED_KHR"/>
1777                <enum name="EGL_CONDITION_SATISFIED_KHR"/>
1778                <enum name="EGL_SYNC_TYPE_KHR"/>
1779                <enum name="EGL_SYNC_REUSABLE_KHR"/>
1780                <enum name="EGL_SYNC_FLUSH_COMMANDS_BIT_KHR"/>
1781                <enum name="EGL_FOREVER_KHR"/>
1782                <enum name="EGL_NO_SYNC_KHR"/>
1783                <command name="eglCreateSyncKHR"/>
1784                <command name="eglDestroySyncKHR"/>
1785                <command name="eglClientWaitSyncKHR"/>
1786                <command name="eglSignalSyncKHR"/>
1787                <command name="eglGetSyncAttribKHR"/>
1788            </require>
1789        </extension>
1790        <extension name="EGL_KHR_stream" protect="KHRONOS_SUPPORT_INT64" supported="egl">
1791            <require>
1792                <enum name="EGL_NO_STREAM_KHR"/>
1793                <enum name="EGL_CONSUMER_LATENCY_USEC_KHR"/>
1794                <enum name="EGL_PRODUCER_FRAME_KHR"/>
1795                <enum name="EGL_CONSUMER_FRAME_KHR"/>
1796                <enum name="EGL_STREAM_STATE_KHR"/>
1797                <enum name="EGL_STREAM_STATE_CREATED_KHR"/>
1798                <enum name="EGL_STREAM_STATE_CONNECTING_KHR"/>
1799                <enum name="EGL_STREAM_STATE_EMPTY_KHR"/>
1800                <enum name="EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR"/>
1801                <enum name="EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR"/>
1802                <enum name="EGL_STREAM_STATE_DISCONNECTED_KHR"/>
1803                <enum name="EGL_BAD_STREAM_KHR"/>
1804                <enum name="EGL_BAD_STATE_KHR"/>
1805                <command name="eglCreateStreamKHR"/>
1806                <command name="eglDestroyStreamKHR"/>
1807                <command name="eglStreamAttribKHR"/>
1808                <command name="eglQueryStreamKHR"/>
1809                <command name="eglQueryStreamu64KHR"/>
1810            </require>
1811        </extension>
1812        <extension name="EGL_KHR_stream_consumer_gltexture" protect="EGL_KHR_stream" supported="egl">
1813            <require>
1814                <enum name="EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR"/>
1815                <command name="eglStreamConsumerGLTextureExternalKHR"/>
1816                <command name="eglStreamConsumerAcquireKHR"/>
1817                <command name="eglStreamConsumerReleaseKHR"/>
1818            </require>
1819        </extension>
1820        <extension name="EGL_KHR_stream_cross_process_fd" protect="EGL_KHR_stream" supported="egl">
1821            <require>
1822                <enum name="EGL_NO_FILE_DESCRIPTOR_KHR"/>
1823                <command name="eglGetStreamFileDescriptorKHR"/>
1824                <command name="eglCreateStreamFromFileDescriptorKHR"/>
1825            </require>
1826        </extension>
1827        <extension name="EGL_KHR_stream_fifo" protect="EGL_KHR_stream" supported="egl">
1828            <require>
1829                <enum name="EGL_STREAM_FIFO_LENGTH_KHR"/>
1830                <enum name="EGL_STREAM_TIME_NOW_KHR"/>
1831                <enum name="EGL_STREAM_TIME_CONSUMER_KHR"/>
1832                <enum name="EGL_STREAM_TIME_PRODUCER_KHR"/>
1833                <command name="eglQueryStreamTimeKHR"/>
1834            </require>
1835        </extension>
1836        <extension name="EGL_KHR_stream_producer_aldatalocator" protect="EGL_KHR_stream" supported="egl"/>
1837        <extension name="EGL_KHR_stream_producer_eglsurface" protect="EGL_KHR_stream" supported="egl">
1838            <require>
1839                <enum name="EGL_STREAM_BIT_KHR"/>
1840                <command name="eglCreateStreamProducerSurfaceKHR"/>
1841            </require>
1842        </extension>
1843        <extension name="EGL_KHR_surfaceless_context" supported="egl" comment="Just relaxes an error condition"/>
1844        <extension name="EGL_KHR_vg_parent_image" supported="egl">
1845            <require>
1846                <enum name="EGL_VG_PARENT_IMAGE_KHR"/>
1847            </require>
1848        </extension>
1849        <extension name="EGL_KHR_wait_sync" supported="egl">
1850            <require>
1851                <command name="eglWaitSyncKHR"/>
1852            </require>
1853        </extension>
1854        <extension name="EGL_MESA_drm_image" supported="egl">
1855            <require>
1856                <enum name="EGL_DRM_BUFFER_FORMAT_MESA"/>
1857                <enum name="EGL_DRM_BUFFER_USE_MESA"/>
1858                <enum name="EGL_DRM_BUFFER_FORMAT_ARGB32_MESA"/>
1859                <enum name="EGL_DRM_BUFFER_MESA"/>
1860                <enum name="EGL_DRM_BUFFER_STRIDE_MESA"/>
1861                <enum name="EGL_DRM_BUFFER_USE_SCANOUT_MESA"/>
1862                <enum name="EGL_DRM_BUFFER_USE_SHARE_MESA"/>
1863                <command name="eglCreateDRMImageMESA"/>
1864                <command name="eglExportDRMImageMESA"/>
1865            </require>
1866        </extension>
1867        <extension name="EGL_MESA_platform_gbm" supported="egl">
1868            <require>
1869                <enum name="EGL_PLATFORM_GBM_MESA"/>
1870            </require>
1871        </extension>
1872        <extension name="EGL_NOK_swap_region" supported="egl">
1873            <require>
1874                <command name="eglSwapBuffersRegionNOK"/>
1875            </require>
1876        </extension>
1877        <extension name="EGL_NOK_swap_region2" supported="egl">
1878            <require>
1879                <command name="eglSwapBuffersRegion2NOK"/>
1880            </require>
1881        </extension>
1882        <extension name="EGL_NOK_texture_from_pixmap" supported="egl">
1883            <require>
1884                <enum name="EGL_Y_INVERTED_NOK"/>
1885            </require>
1886        </extension>
1887        <extension name="EGL_NV_3dvision_surface" supported="egl">
1888            <require>
1889                <enum name="EGL_AUTO_STEREO_NV"/>
1890            </require>
1891        </extension>
1892        <extension name="EGL_NV_coverage_sample" supported="egl">
1893            <require>
1894                <enum name="EGL_COVERAGE_BUFFERS_NV"/>
1895                <enum name="EGL_COVERAGE_SAMPLES_NV"/>
1896            </require>
1897        </extension>
1898        <extension name="EGL_NV_coverage_sample_resolve" supported="egl">
1899            <require>
1900                <enum name="EGL_COVERAGE_SAMPLE_RESOLVE_NV"/>
1901                <enum name="EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV"/>
1902                <enum name="EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV"/>
1903            </require>
1904        </extension>
1905        <extension name="EGL_NV_depth_nonlinear" supported="egl">
1906            <require>
1907                <enum name="EGL_DEPTH_ENCODING_NV"/>
1908                <enum name="EGL_DEPTH_ENCODING_NONE_NV"/>
1909                <enum name="EGL_DEPTH_ENCODING_NONLINEAR_NV"/>
1910            </require>
1911        </extension>
1912        <extension name="EGL_NV_native_query" supported="egl">
1913            <require>
1914                <command name="eglQueryNativeDisplayNV"/>
1915                <command name="eglQueryNativeWindowNV"/>
1916                <command name="eglQueryNativePixmapNV"/>
1917            </require>
1918        </extension>
1919        <extension name="EGL_NV_post_convert_rounding" supported="egl">
1920            <require>
1921            </require>
1922        </extension>
1923        <extension name="EGL_NV_post_sub_buffer" supported="egl">
1924            <require>
1925                <enum name="EGL_POST_SUB_BUFFER_SUPPORTED_NV"/>
1926                <command name="eglPostSubBufferNV"/>
1927            </require>
1928        </extension>
1929        <extension name="EGL_NV_stream_sync" supported="egl">
1930            <require>
1931                <enum name="EGL_SYNC_TYPE_KHR"/>
1932                <enum name="EGL_SYNC_NEW_FRAME_NV"/>
1933                <command name="eglCreateStreamSyncNV"/>
1934            </require>
1935        </extension>
1936        <extension name="EGL_NV_sync" protect="KHRONOS_SUPPORT_INT64" supported="egl">
1937            <require>
1938                <enum name="EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV"/>
1939                <enum name="EGL_SYNC_STATUS_NV"/>
1940                <enum name="EGL_SIGNALED_NV"/>
1941                <enum name="EGL_UNSIGNALED_NV"/>
1942                <enum name="EGL_SYNC_FLUSH_COMMANDS_BIT_NV"/>
1943                <enum name="EGL_FOREVER_NV"/>
1944                <enum name="EGL_ALREADY_SIGNALED_NV"/>
1945                <enum name="EGL_TIMEOUT_EXPIRED_NV"/>
1946                <enum name="EGL_CONDITION_SATISFIED_NV"/>
1947                <enum name="EGL_SYNC_TYPE_NV"/>
1948                <enum name="EGL_SYNC_CONDITION_NV"/>
1949                <enum name="EGL_SYNC_FENCE_NV"/>
1950                <enum name="EGL_NO_SYNC_NV"/>
1951                <command name="eglCreateFenceSyncNV"/>
1952                <command name="eglDestroySyncNV"/>
1953                <command name="eglFenceNV"/>
1954                <command name="eglClientWaitSyncNV"/>
1955                <command name="eglSignalSyncNV"/>
1956                <command name="eglGetSyncAttribNV"/>
1957            </require>
1958        </extension>
1959        <extension name="EGL_NV_system_time" protect="KHRONOS_SUPPORT_INT64" supported="egl">
1960            <require>
1961                <command name="eglGetSystemTimeFrequencyNV"/>
1962                <command name="eglGetSystemTimeNV"/>
1963            </require>
1964        </extension>
1965    </extensions>
1966</registry>
1967