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