9 ** Copyright (c) 2013-2016 The Khronos Group Inc.
11 ** Permission is hereby granted, free of charge, to any person obtaining a
12 ** copy of this software and/or associated documentation files (the
13 ** "Materials"), to deal in the Materials without restriction, including
14 ** without limitation the rights to use, copy, modify, merge, publish,
15 ** distribute, sublicense, and/or sell copies of the Materials, and to
16 ** permit persons to whom the Materials are furnished to do so, subject to
17 ** the following conditions:
19 ** The above copyright notice and this permission notice shall be included
20 ** in all copies or substantial portions of the Materials.
22 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
31 ** This header is generated from the Khronos OpenGL / OpenGL ES XML
32 ** API Registry. The current version of the Registry, generator scripts
33 ** used to make the header, and the header can be found at
34 ** http://www.opengl.org/registry/
36 ** Khronos $Revision: 32637 $ on $Date: 2016-04-14 19:17:52 -0700 (Thu, 14 Apr 2016) $
39 #include <EGL/eglplatform.h>
41 #define EGL_EGLEXT_VERSION 20160414
43 /* Generated C header for:
45 * Versions considered: .*
46 * Versions emitted: _nomatch_^
47 * Default extensions included: egl
48 * Additional extensions included: _nomatch_^
49 * Extensions removed: _nomatch_^
52 #ifndef EGL_KHR_cl_event
53 #define EGL_KHR_cl_event 1
54 #define EGL_CL_EVENT_HANDLE_KHR 0x309C
55 #define EGL_SYNC_CL_EVENT_KHR 0x30FE
56 #define EGL_SYNC_CL_EVENT_COMPLETE_KHR 0x30FF
57 #endif /* EGL_KHR_cl_event */
59 #ifndef EGL_KHR_cl_event2
60 #define EGL_KHR_cl_event2 1
61 typedef void *EGLSyncKHR;
62 typedef intptr_t EGLAttribKHR;
63 typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNC64KHRPROC) (EGLDisplay dpy, EGLenum type, const EGLAttribKHR *attrib_list);
64 #ifdef EGL_EGLEXT_PROTOTYPES
65 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSync64KHR (EGLDisplay dpy, EGLenum type, const EGLAttribKHR *attrib_list);
67 #endif /* EGL_KHR_cl_event2 */
69 #ifndef EGL_KHR_client_get_all_proc_addresses
70 #define EGL_KHR_client_get_all_proc_addresses 1
71 #endif /* EGL_KHR_client_get_all_proc_addresses */
73 #ifndef EGL_KHR_config_attribs
74 #define EGL_KHR_config_attribs 1
75 #define EGL_CONFORMANT_KHR 0x3042
76 #define EGL_VG_COLORSPACE_LINEAR_BIT_KHR 0x0020
77 #define EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR 0x0040
78 #endif /* EGL_KHR_config_attribs */
80 #ifndef EGL_KHR_create_context
81 #define EGL_KHR_create_context 1
82 #define EGL_CONTEXT_MAJOR_VERSION_KHR 0x3098
83 #define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB
84 #define EGL_CONTEXT_FLAGS_KHR 0x30FC
85 #define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD
86 #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD
87 #define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE
88 #define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF
89 #define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001
90 #define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002
91 #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004
92 #define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001
93 #define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002
94 #define EGL_OPENGL_ES3_BIT_KHR 0x00000040
95 #endif /* EGL_KHR_create_context */
97 #ifndef EGL_KHR_create_context_no_error
98 #define EGL_KHR_create_context_no_error 1
99 #define EGL_CONTEXT_OPENGL_NO_ERROR_KHR 0x31B3
100 #endif /* EGL_KHR_create_context_no_error */
102 #ifndef EGL_KHR_debug
103 #define EGL_KHR_debug 1
104 typedef void *EGLLabelKHR;
105 typedef void *EGLObjectKHR;
106 typedef void (EGLAPIENTRY *EGLDEBUGPROCKHR)(EGLenum error,const char *command,EGLint messageType,EGLLabelKHR threadLabel,EGLLabelKHR objectLabel,const char* message);
107 #define EGL_OBJECT_THREAD_KHR 0x33B0
108 #define EGL_OBJECT_DISPLAY_KHR 0x33B1
109 #define EGL_OBJECT_CONTEXT_KHR 0x33B2
110 #define EGL_OBJECT_SURFACE_KHR 0x33B3
111 #define EGL_OBJECT_IMAGE_KHR 0x33B4
112 #define EGL_OBJECT_SYNC_KHR 0x33B5
113 #define EGL_OBJECT_STREAM_KHR 0x33B6
114 #define EGL_DEBUG_MSG_CRITICAL_KHR 0x33B9
115 #define EGL_DEBUG_MSG_ERROR_KHR 0x33BA
116 #define EGL_DEBUG_MSG_WARN_KHR 0x33BB
117 #define EGL_DEBUG_MSG_INFO_KHR 0x33BC
118 #define EGL_DEBUG_CALLBACK_KHR 0x33B8
119 typedef EGLint (EGLAPIENTRYP PFNEGLDEBUGMESSAGECONTROLKHRPROC) (EGLDEBUGPROCKHR callback, const EGLAttrib *attrib_list);
120 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEBUGKHRPROC) (EGLint attribute, EGLAttrib *value);
121 typedef EGLint (EGLAPIENTRYP PFNEGLLABELOBJECTKHRPROC) (EGLDisplay display, EGLenum objectType, EGLObjectKHR object, EGLLabelKHR label);
122 #ifdef EGL_EGLEXT_PROTOTYPES
123 EGLAPI EGLint EGLAPIENTRY eglDebugMessageControlKHR (EGLDEBUGPROCKHR callback, const EGLAttrib *attrib_list);
124 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDebugKHR (EGLint attribute, EGLAttrib *value);
125 EGLAPI EGLint EGLAPIENTRY eglLabelObjectKHR (EGLDisplay display, EGLenum objectType, EGLObjectKHR object, EGLLabelKHR label);
127 #endif /* EGL_KHR_debug */
129 #ifndef EGL_KHR_fence_sync
130 #define EGL_KHR_fence_sync 1
131 typedef khronos_utime_nanoseconds_t EGLTimeKHR;
132 #ifdef KHRONOS_SUPPORT_INT64
133 #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0x30F0
134 #define EGL_SYNC_CONDITION_KHR 0x30F8
135 #define EGL_SYNC_FENCE_KHR 0x30F9
136 typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
137 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync);
138 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
139 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
140 #ifdef EGL_EGLEXT_PROTOTYPES
141 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
142 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync);
143 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
144 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
146 #endif /* KHRONOS_SUPPORT_INT64 */
147 #endif /* EGL_KHR_fence_sync */
149 #ifndef EGL_KHR_get_all_proc_addresses
150 #define EGL_KHR_get_all_proc_addresses 1
151 #endif /* EGL_KHR_get_all_proc_addresses */
153 #ifndef EGL_KHR_gl_colorspace
154 #define EGL_KHR_gl_colorspace 1
155 #define EGL_GL_COLORSPACE_KHR 0x309D
156 #define EGL_GL_COLORSPACE_SRGB_KHR 0x3089
157 #define EGL_GL_COLORSPACE_LINEAR_KHR 0x308A
158 #endif /* EGL_KHR_gl_colorspace */
160 #ifndef EGL_KHR_gl_renderbuffer_image
161 #define EGL_KHR_gl_renderbuffer_image 1
162 #define EGL_GL_RENDERBUFFER_KHR 0x30B9
163 #endif /* EGL_KHR_gl_renderbuffer_image */
165 #ifndef EGL_KHR_gl_texture_2D_image
166 #define EGL_KHR_gl_texture_2D_image 1
167 #define EGL_GL_TEXTURE_2D_KHR 0x30B1
168 #define EGL_GL_TEXTURE_LEVEL_KHR 0x30BC
169 #endif /* EGL_KHR_gl_texture_2D_image */
171 #ifndef EGL_KHR_gl_texture_3D_image
172 #define EGL_KHR_gl_texture_3D_image 1
173 #define EGL_GL_TEXTURE_3D_KHR 0x30B2
174 #define EGL_GL_TEXTURE_ZOFFSET_KHR 0x30BD
175 #endif /* EGL_KHR_gl_texture_3D_image */
177 #ifndef EGL_KHR_gl_texture_cubemap_image
178 #define EGL_KHR_gl_texture_cubemap_image 1
179 #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR 0x30B3
180 #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR 0x30B4
181 #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR 0x30B5
182 #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR 0x30B6
183 #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR 0x30B7
184 #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR 0x30B8
185 #endif /* EGL_KHR_gl_texture_cubemap_image */
187 #ifndef EGL_KHR_image
188 #define EGL_KHR_image 1
189 typedef void *EGLImageKHR;
190 #define EGL_NATIVE_PIXMAP_KHR 0x30B0
191 #define EGL_NO_IMAGE_KHR ((EGLImageKHR)0)
192 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
193 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image);
194 #ifdef EGL_EGLEXT_PROTOTYPES
195 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
196 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image);
198 #endif /* EGL_KHR_image */
200 #ifndef EGL_WL_bind_wayland_display
201 #define EGL_WL_bind_wayland_display 1
203 #define EGL_WAYLAND_BUFFER_WL 0x31D5 /* eglCreateImageKHR target */
204 #define EGL_WAYLAND_PLANE_WL 0x31D6 /* eglCreateImageKHR target */
206 #define EGL_WAYLAND_Y_INVERTED_WL 0x31DB /* eglQueryWaylandBufferWL attribute */
208 #define EGL_TEXTURE_Y_U_V_WL 0x31D7
209 #define EGL_TEXTURE_Y_UV_WL 0x31D8
210 #define EGL_TEXTURE_Y_XUXV_WL 0x31D9
214 #ifdef EGL_EGLEXT_PROTOTYPES
215 EGLAPI EGLBoolean EGLAPIENTRY eglBindWaylandDisplayWL(EGLDisplay dpy, struct wl_display *display);
216 EGLAPI EGLBoolean EGLAPIENTRY eglUnbindWaylandDisplayWL(EGLDisplay dpy, struct wl_display *display);
217 EGLAPI EGLBoolean EGLAPIENTRY eglQueryWaylandBufferWL(EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value);
219 typedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDWAYLANDDISPLAYWL) (EGLDisplay dpy, struct wl_display *display);
220 typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNBINDWAYLANDDISPLAYWL) (EGLDisplay dpy, struct wl_display *display);
221 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWL) (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value);
223 #endif /* EGL_WL_bind_wayland_display */
225 #ifndef EGL_WL_create_wayland_buffer_from_image
226 #define EGL_WL_create_wayland_buffer_from_image 1
228 #ifdef EGL_EGLEXT_PROTOTYPES
229 EGLAPI struct wl_buffer * EGLAPIENTRY eglCreateWaylandBufferFromImageWL(EGLDisplay dpy, EGLImageKHR image);
231 typedef struct wl_buffer * (EGLAPIENTRYP PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWL) (EGLDisplay dpy, EGLImageKHR image);
233 #endif /* EGL_WL_create_wayland_buffer_from_image */
235 #ifndef EGL_KHR_image_base
236 #define EGL_KHR_image_base 1
237 #define EGL_IMAGE_PRESERVED_KHR 0x30D2
238 #endif /* EGL_KHR_image_base */
240 #ifndef EGL_KHR_image_pixmap
241 #define EGL_KHR_image_pixmap 1
242 #endif /* EGL_KHR_image_pixmap */
244 #ifndef EGL_KHR_lock_surface
245 #define EGL_KHR_lock_surface 1
246 #define EGL_READ_SURFACE_BIT_KHR 0x0001
247 #define EGL_WRITE_SURFACE_BIT_KHR 0x0002
248 #define EGL_LOCK_SURFACE_BIT_KHR 0x0080
249 #define EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100
250 #define EGL_MATCH_FORMAT_KHR 0x3043
251 #define EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0
252 #define EGL_FORMAT_RGB_565_KHR 0x30C1
253 #define EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2
254 #define EGL_FORMAT_RGBA_8888_KHR 0x30C3
255 #define EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4
256 #define EGL_LOCK_USAGE_HINT_KHR 0x30C5
257 #define EGL_BITMAP_POINTER_KHR 0x30C6
258 #define EGL_BITMAP_PITCH_KHR 0x30C7
259 #define EGL_BITMAP_ORIGIN_KHR 0x30C8
260 #define EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9
261 #define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA
262 #define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB
263 #define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC
264 #define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD
265 #define EGL_LOWER_LEFT_KHR 0x30CE
266 #define EGL_UPPER_LEFT_KHR 0x30CF
267 typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list);
268 typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface);
269 #ifdef EGL_EGLEXT_PROTOTYPES
270 EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list);
271 EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface);
273 #endif /* EGL_KHR_lock_surface */
275 #ifndef EGL_KHR_lock_surface2
276 #define EGL_KHR_lock_surface2 1
277 #define EGL_BITMAP_PIXEL_SIZE_KHR 0x3110
278 #endif /* EGL_KHR_lock_surface2 */
280 #ifndef EGL_KHR_lock_surface3
281 #define EGL_KHR_lock_surface3 1
282 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACE64KHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR *value);
283 #ifdef EGL_EGLEXT_PROTOTYPES
284 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface64KHR (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR *value);
286 #endif /* EGL_KHR_lock_surface3 */
288 #ifndef EGL_KHR_mutable_render_buffer
289 #define EGL_KHR_mutable_render_buffer 1
290 #define EGL_MUTABLE_RENDER_BUFFER_BIT_KHR 0x1000
291 #endif /* EGL_KHR_mutable_render_buffer */
293 #ifndef EGL_KHR_partial_update
294 #define EGL_KHR_partial_update 1
295 #define EGL_BUFFER_AGE_KHR 0x313D
296 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
297 #ifdef EGL_EGLEXT_PROTOTYPES
298 EGLAPI EGLBoolean EGLAPIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
300 #endif /* EGL_KHR_partial_update */
302 #ifndef EGL_KHR_platform_android
303 #define EGL_KHR_platform_android 1
304 #define EGL_PLATFORM_ANDROID_KHR 0x3141
305 #endif /* EGL_KHR_platform_android */
307 #ifndef EGL_KHR_platform_gbm
308 #define EGL_KHR_platform_gbm 1
309 #define EGL_PLATFORM_GBM_KHR 0x31D7
310 #endif /* EGL_KHR_platform_gbm */
312 #ifndef EGL_KHR_platform_wayland
313 #define EGL_KHR_platform_wayland 1
314 #define EGL_PLATFORM_WAYLAND_KHR 0x31D8
315 #endif /* EGL_KHR_platform_wayland */
317 #ifndef EGL_KHR_platform_x11
318 #define EGL_KHR_platform_x11 1
319 #define EGL_PLATFORM_X11_KHR 0x31D5
320 #define EGL_PLATFORM_X11_SCREEN_KHR 0x31D6
321 #endif /* EGL_KHR_platform_x11 */
323 #ifndef EGL_KHR_reusable_sync
324 #define EGL_KHR_reusable_sync 1
325 #ifdef KHRONOS_SUPPORT_INT64
326 #define EGL_SYNC_STATUS_KHR 0x30F1
327 #define EGL_SIGNALED_KHR 0x30F2
328 #define EGL_UNSIGNALED_KHR 0x30F3
329 #define EGL_TIMEOUT_EXPIRED_KHR 0x30F5
330 #define EGL_CONDITION_SATISFIED_KHR 0x30F6
331 #define EGL_SYNC_TYPE_KHR 0x30F7
332 #define EGL_SYNC_REUSABLE_KHR 0x30FA
333 #define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001
334 #define EGL_FOREVER_KHR 0xFFFFFFFFFFFFFFFFull
335 #define EGL_NO_SYNC_KHR ((EGLSyncKHR)0)
336 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
337 #ifdef EGL_EGLEXT_PROTOTYPES
338 EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
340 #endif /* KHRONOS_SUPPORT_INT64 */
341 #endif /* EGL_KHR_reusable_sync */
343 #ifndef EGL_KHR_stream
344 #define EGL_KHR_stream 1
345 typedef void *EGLStreamKHR;
346 typedef khronos_uint64_t EGLuint64KHR;
347 #ifdef KHRONOS_SUPPORT_INT64
348 #define EGL_NO_STREAM_KHR ((EGLStreamKHR)0)
349 #define EGL_CONSUMER_LATENCY_USEC_KHR 0x3210
350 #define EGL_PRODUCER_FRAME_KHR 0x3212
351 #define EGL_CONSUMER_FRAME_KHR 0x3213
352 #define EGL_STREAM_STATE_KHR 0x3214
353 #define EGL_STREAM_STATE_CREATED_KHR 0x3215
354 #define EGL_STREAM_STATE_CONNECTING_KHR 0x3216
355 #define EGL_STREAM_STATE_EMPTY_KHR 0x3217
356 #define EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR 0x3218
357 #define EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR 0x3219
358 #define EGL_STREAM_STATE_DISCONNECTED_KHR 0x321A
359 #define EGL_BAD_STREAM_KHR 0x321B
360 #define EGL_BAD_STATE_KHR 0x321C
361 typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMKHRPROC) (EGLDisplay dpy, const EGLint *attrib_list);
362 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
363 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
364 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value);
365 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMU64KHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value);
366 #ifdef EGL_EGLEXT_PROTOTYPES
367 EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamKHR (EGLDisplay dpy, const EGLint *attrib_list);
368 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream);
369 EGLAPI EGLBoolean EGLAPIENTRY eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
370 EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value);
371 EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value);
373 #endif /* KHRONOS_SUPPORT_INT64 */
374 #endif /* EGL_KHR_stream */
376 #ifndef EGL_KHR_stream_consumer_gltexture
377 #define EGL_KHR_stream_consumer_gltexture 1
378 #ifdef EGL_KHR_stream
379 #define EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR 0x321E
380 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
381 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
382 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERRELEASEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
383 #ifdef EGL_EGLEXT_PROTOTYPES
384 EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalKHR (EGLDisplay dpy, EGLStreamKHR stream);
385 EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireKHR (EGLDisplay dpy, EGLStreamKHR stream);
386 EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLStreamKHR stream);
388 #endif /* EGL_KHR_stream */
389 #endif /* EGL_KHR_stream_consumer_gltexture */
391 #ifndef EGL_KHR_stream_cross_process_fd
392 #define EGL_KHR_stream_cross_process_fd 1
393 typedef int EGLNativeFileDescriptorKHR;
394 #ifdef EGL_KHR_stream
395 #define EGL_NO_FILE_DESCRIPTOR_KHR ((EGLNativeFileDescriptorKHR)(-1))
396 typedef EGLNativeFileDescriptorKHR (EGLAPIENTRYP PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
397 typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor);
398 #ifdef EGL_EGLEXT_PROTOTYPES
399 EGLAPI EGLNativeFileDescriptorKHR EGLAPIENTRY eglGetStreamFileDescriptorKHR (EGLDisplay dpy, EGLStreamKHR stream);
400 EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor);
402 #endif /* EGL_KHR_stream */
403 #endif /* EGL_KHR_stream_cross_process_fd */
405 #ifndef EGL_KHR_stream_fifo
406 #define EGL_KHR_stream_fifo 1
407 #ifdef EGL_KHR_stream
408 #define EGL_STREAM_FIFO_LENGTH_KHR 0x31FC
409 #define EGL_STREAM_TIME_NOW_KHR 0x31FD
410 #define EGL_STREAM_TIME_CONSUMER_KHR 0x31FE
411 #define EGL_STREAM_TIME_PRODUCER_KHR 0x31FF
412 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMTIMEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value);
413 #ifdef EGL_EGLEXT_PROTOTYPES
414 EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamTimeKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value);
416 #endif /* EGL_KHR_stream */
417 #endif /* EGL_KHR_stream_fifo */
419 #ifndef EGL_KHR_stream_producer_aldatalocator
420 #define EGL_KHR_stream_producer_aldatalocator 1
421 #ifdef EGL_KHR_stream
422 #endif /* EGL_KHR_stream */
423 #endif /* EGL_KHR_stream_producer_aldatalocator */
425 #ifndef EGL_KHR_stream_producer_eglsurface
426 #define EGL_KHR_stream_producer_eglsurface 1
427 #ifdef EGL_KHR_stream
428 #define EGL_STREAM_BIT_KHR 0x0800
429 typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC) (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list);
430 #ifdef EGL_EGLEXT_PROTOTYPES
431 EGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list);
433 #endif /* EGL_KHR_stream */
434 #endif /* EGL_KHR_stream_producer_eglsurface */
436 #ifndef EGL_KHR_surfaceless_context
437 #define EGL_KHR_surfaceless_context 1
438 #endif /* EGL_KHR_surfaceless_context */
440 #ifndef EGL_KHR_swap_buffers_with_damage
441 #define EGL_KHR_swap_buffers_with_damage 1
442 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
443 #ifdef EGL_EGLEXT_PROTOTYPES
444 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
446 #endif /* EGL_KHR_swap_buffers_with_damage */
448 #ifndef EGL_KHR_vg_parent_image
449 #define EGL_KHR_vg_parent_image 1
450 #define EGL_VG_PARENT_IMAGE_KHR 0x30BA
451 #endif /* EGL_KHR_vg_parent_image */
453 #ifndef EGL_KHR_wait_sync
454 #define EGL_KHR_wait_sync 1
455 typedef EGLint (EGLAPIENTRYP PFNEGLWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags);
456 #ifdef EGL_EGLEXT_PROTOTYPES
457 EGLAPI EGLint EGLAPIENTRY eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags);
459 #endif /* EGL_KHR_wait_sync */
461 #ifndef EGL_ANDROID_blob_cache
462 #define EGL_ANDROID_blob_cache 1
463 typedef khronos_ssize_t EGLsizeiANDROID;
464 typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize);
465 typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize);
466 typedef void (EGLAPIENTRYP PFNEGLSETBLOBCACHEFUNCSANDROIDPROC) (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get);
467 #ifdef EGL_EGLEXT_PROTOTYPES
468 EGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get);
470 #endif /* EGL_ANDROID_blob_cache */
472 #ifndef EGL_ANDROID_framebuffer_target
473 #define EGL_ANDROID_framebuffer_target 1
474 #define EGL_FRAMEBUFFER_TARGET_ANDROID 0x3147
475 #endif /* EGL_ANDROID_framebuffer_target */
477 #ifndef EGL_ANDROID_image_native_buffer
478 #define EGL_ANDROID_image_native_buffer 1
479 #define EGL_NATIVE_BUFFER_ANDROID 0x3140
480 #endif /* EGL_ANDROID_image_native_buffer */
482 #ifndef EGL_ANDROID_native_fence_sync
483 #define EGL_ANDROID_native_fence_sync 1
484 #define EGL_SYNC_NATIVE_FENCE_ANDROID 0x3144
485 #define EGL_SYNC_NATIVE_FENCE_FD_ANDROID 0x3145
486 #define EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID 0x3146
487 #define EGL_NO_NATIVE_FENCE_FD_ANDROID -1
488 typedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC) (EGLDisplay dpy, EGLSyncKHR sync);
489 #ifdef EGL_EGLEXT_PROTOTYPES
490 EGLAPI EGLint EGLAPIENTRY eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR sync);
492 #endif /* EGL_ANDROID_native_fence_sync */
494 #ifndef EGL_ANDROID_recordable
495 #define EGL_ANDROID_recordable 1
496 #define EGL_RECORDABLE_ANDROID 0x3142
497 #endif /* EGL_ANDROID_recordable */
499 #ifndef EGL_ANGLE_d3d_share_handle_client_buffer
500 #define EGL_ANGLE_d3d_share_handle_client_buffer 1
501 #define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200
502 #endif /* EGL_ANGLE_d3d_share_handle_client_buffer */
504 #ifndef EGL_ANGLE_device_d3d
505 #define EGL_ANGLE_device_d3d 1
506 #define EGL_D3D9_DEVICE_ANGLE 0x33A0
507 #define EGL_D3D11_DEVICE_ANGLE 0x33A1
508 #endif /* EGL_ANGLE_device_d3d */
510 #ifndef EGL_ANGLE_query_surface_pointer
511 #define EGL_ANGLE_query_surface_pointer 1
512 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
513 #ifdef EGL_EGLEXT_PROTOTYPES
514 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
516 #endif /* EGL_ANGLE_query_surface_pointer */
518 #ifndef EGL_ANGLE_surface_d3d_texture_2d_share_handle
519 #define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1
520 #endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */
522 #ifndef EGL_ANGLE_window_fixed_size
523 #define EGL_ANGLE_window_fixed_size 1
524 #define EGL_FIXED_SIZE_ANGLE 0x3201
525 #endif /* EGL_ANGLE_window_fixed_size */
527 #ifndef EGL_ARM_pixmap_multisample_discard
528 #define EGL_ARM_pixmap_multisample_discard 1
529 #define EGL_DISCARD_SAMPLES_ARM 0x3286
530 #endif /* EGL_ARM_pixmap_multisample_discard */
532 #ifndef EGL_EXT_buffer_age
533 #define EGL_EXT_buffer_age 1
534 #define EGL_BUFFER_AGE_EXT 0x313D
535 #endif /* EGL_EXT_buffer_age */
537 #ifndef EGL_EXT_client_extensions
538 #define EGL_EXT_client_extensions 1
539 #endif /* EGL_EXT_client_extensions */
541 #ifndef EGL_EXT_create_context_robustness
542 #define EGL_EXT_create_context_robustness 1
543 #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF
544 #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138
545 #define EGL_NO_RESET_NOTIFICATION_EXT 0x31BE
546 #define EGL_LOSE_CONTEXT_ON_RESET_EXT 0x31BF
547 #endif /* EGL_EXT_create_context_robustness */
549 #ifndef EGL_EXT_device_base
550 #define EGL_EXT_device_base 1
551 typedef void *EGLDeviceEXT;
552 #define EGL_NO_DEVICE_EXT ((EGLDeviceEXT)(0))
553 #define EGL_BAD_DEVICE_EXT 0x322B
554 #define EGL_DEVICE_EXT 0x322C
555 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICEATTRIBEXTPROC) (EGLDeviceEXT device, EGLint attribute, EGLAttrib *value);
556 typedef const char *(EGLAPIENTRYP PFNEGLQUERYDEVICESTRINGEXTPROC) (EGLDeviceEXT device, EGLint name);
557 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devices, EGLint *num_devices);
558 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBEXTPROC) (EGLDisplay dpy, EGLint attribute, EGLAttrib *value);
559 #ifdef EGL_EGLEXT_PROTOTYPES
560 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDeviceAttribEXT (EGLDeviceEXT device, EGLint attribute, EGLAttrib *value);
561 EGLAPI const char *EGLAPIENTRY eglQueryDeviceStringEXT (EGLDeviceEXT device, EGLint name);
562 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint *num_devices);
563 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint attribute, EGLAttrib *value);
565 #endif /* EGL_EXT_device_base */
567 #ifndef EGL_EXT_device_drm
568 #define EGL_EXT_device_drm 1
569 #define EGL_DRM_DEVICE_FILE_EXT 0x3233
570 #endif /* EGL_EXT_device_drm */
572 #ifndef EGL_EXT_device_enumeration
573 #define EGL_EXT_device_enumeration 1
574 #endif /* EGL_EXT_device_enumeration */
576 #ifndef EGL_EXT_device_openwf
577 #define EGL_EXT_device_openwf 1
578 #define EGL_OPENWF_DEVICE_ID_EXT 0x3237
579 #endif /* EGL_EXT_device_openwf */
581 #ifndef EGL_EXT_device_query
582 #define EGL_EXT_device_query 1
583 #endif /* EGL_EXT_device_query */
585 #ifndef EGL_EXT_image_dma_buf_import
586 #define EGL_EXT_image_dma_buf_import 1
587 #define EGL_LINUX_DMA_BUF_EXT 0x3270
588 #define EGL_LINUX_DRM_FOURCC_EXT 0x3271
589 #define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272
590 #define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273
591 #define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274
592 #define EGL_DMA_BUF_PLANE1_FD_EXT 0x3275
593 #define EGL_DMA_BUF_PLANE1_OFFSET_EXT 0x3276
594 #define EGL_DMA_BUF_PLANE1_PITCH_EXT 0x3277
595 #define EGL_DMA_BUF_PLANE2_FD_EXT 0x3278
596 #define EGL_DMA_BUF_PLANE2_OFFSET_EXT 0x3279
597 #define EGL_DMA_BUF_PLANE2_PITCH_EXT 0x327A
598 #define EGL_YUV_COLOR_SPACE_HINT_EXT 0x327B
599 #define EGL_SAMPLE_RANGE_HINT_EXT 0x327C
600 #define EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT 0x327D
601 #define EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT 0x327E
602 #define EGL_ITU_REC601_EXT 0x327F
603 #define EGL_ITU_REC709_EXT 0x3280
604 #define EGL_ITU_REC2020_EXT 0x3281
605 #define EGL_YUV_FULL_RANGE_EXT 0x3282
606 #define EGL_YUV_NARROW_RANGE_EXT 0x3283
607 #define EGL_YUV_CHROMA_SITING_0_EXT 0x3284
608 #define EGL_YUV_CHROMA_SITING_0_5_EXT 0x3285
609 #endif /* EGL_EXT_image_dma_buf_import */
611 #ifndef EGL_EXT_multiview_window
612 #define EGL_EXT_multiview_window 1
613 #define EGL_MULTIVIEW_VIEW_COUNT_EXT 0x3134
614 #endif /* EGL_EXT_multiview_window */
616 #ifndef EGL_EXT_output_base
617 #define EGL_EXT_output_base 1
618 typedef void *EGLOutputLayerEXT;
619 typedef void *EGLOutputPortEXT;
620 #define EGL_NO_OUTPUT_LAYER_EXT ((EGLOutputLayerEXT)0)
621 #define EGL_NO_OUTPUT_PORT_EXT ((EGLOutputPortEXT)0)
622 #define EGL_BAD_OUTPUT_LAYER_EXT 0x322D
623 #define EGL_BAD_OUTPUT_PORT_EXT 0x322E
624 #define EGL_SWAP_INTERVAL_EXT 0x322F
625 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETOUTPUTLAYERSEXTPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputLayerEXT *layers, EGLint max_layers, EGLint *num_layers);
626 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETOUTPUTPORTSEXTPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports, EGLint *num_ports);
627 typedef EGLBoolean (EGLAPIENTRYP PFNEGLOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value);
628 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib *value);
629 typedef const char *(EGLAPIENTRYP PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name);
630 typedef EGLBoolean (EGLAPIENTRYP PFNEGLOUTPUTPORTATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value);
631 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib *value);
632 typedef const char *(EGLAPIENTRYP PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name);
633 #ifdef EGL_EGLEXT_PROTOTYPES
634 EGLAPI EGLBoolean EGLAPIENTRY eglGetOutputLayersEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputLayerEXT *layers, EGLint max_layers, EGLint *num_layers);
635 EGLAPI EGLBoolean EGLAPIENTRY eglGetOutputPortsEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports, EGLint *num_ports);
636 EGLAPI EGLBoolean EGLAPIENTRY eglOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value);
637 EGLAPI EGLBoolean EGLAPIENTRY eglQueryOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib *value);
638 EGLAPI const char *EGLAPIENTRY eglQueryOutputLayerStringEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name);
639 EGLAPI EGLBoolean EGLAPIENTRY eglOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value);
640 EGLAPI EGLBoolean EGLAPIENTRY eglQueryOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib *value);
641 EGLAPI const char *EGLAPIENTRY eglQueryOutputPortStringEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name);
643 #endif /* EGL_EXT_output_base */
645 #ifndef EGL_EXT_output_drm
646 #define EGL_EXT_output_drm 1
647 #define EGL_DRM_CRTC_EXT 0x3234
648 #define EGL_DRM_PLANE_EXT 0x3235
649 #define EGL_DRM_CONNECTOR_EXT 0x3236
650 #endif /* EGL_EXT_output_drm */
652 #ifndef EGL_EXT_output_openwf
653 #define EGL_EXT_output_openwf 1
654 #define EGL_OPENWF_PIPELINE_ID_EXT 0x3238
655 #define EGL_OPENWF_PORT_ID_EXT 0x3239
656 #endif /* EGL_EXT_output_openwf */
658 #ifndef EGL_EXT_platform_base
659 #define EGL_EXT_platform_base 1
660 typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC) (EGLenum platform, void *native_display, const EGLint *attrib_list);
661 typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list);
662 typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list);
663 #ifdef EGL_EGLEXT_PROTOTYPES
664 EGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplayEXT (EGLenum platform, void *native_display, const EGLint *attrib_list);
665 EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list);
666 EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list);
668 #endif /* EGL_EXT_platform_base */
670 #ifndef EGL_EXT_platform_device
671 #define EGL_EXT_platform_device 1
672 #define EGL_PLATFORM_DEVICE_EXT 0x313F
673 #endif /* EGL_EXT_platform_device */
675 #ifndef EGL_EXT_platform_wayland
676 #define EGL_EXT_platform_wayland 1
677 #define EGL_PLATFORM_WAYLAND_EXT 0x31D8
678 #endif /* EGL_EXT_platform_wayland */
680 #ifndef EGL_EXT_platform_x11
681 #define EGL_EXT_platform_x11 1
682 #define EGL_PLATFORM_X11_EXT 0x31D5
683 #define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6
684 #endif /* EGL_EXT_platform_x11 */
686 #ifndef EGL_EXT_protected_content
687 #define EGL_EXT_protected_content 1
688 #define EGL_PROTECTED_CONTENT_EXT 0x32C0
689 #endif /* EGL_EXT_protected_content */
691 #ifndef EGL_EXT_protected_surface
692 #define EGL_EXT_protected_surface 1
693 #endif /* EGL_EXT_protected_surface */
695 #ifndef EGL_EXT_stream_consumer_egloutput
696 #define EGL_EXT_stream_consumer_egloutput 1
697 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMEROUTPUTEXTPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer);
698 #ifdef EGL_EGLEXT_PROTOTYPES
699 EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer);
701 #endif /* EGL_EXT_stream_consumer_egloutput */
703 #ifndef EGL_EXT_swap_buffers_with_damage
704 #define EGL_EXT_swap_buffers_with_damage 1
705 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
706 #ifdef EGL_EGLEXT_PROTOTYPES
707 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
709 #endif /* EGL_EXT_swap_buffers_with_damage */
711 #ifndef EGL_EXT_yuv_surface
712 #define EGL_EXT_yuv_surface 1
713 #define EGL_YUV_ORDER_EXT 0x3301
714 #define EGL_YUV_NUMBER_OF_PLANES_EXT 0x3311
715 #define EGL_YUV_SUBSAMPLE_EXT 0x3312
716 #define EGL_YUV_DEPTH_RANGE_EXT 0x3317
717 #define EGL_YUV_CSC_STANDARD_EXT 0x330A
718 #define EGL_YUV_PLANE_BPP_EXT 0x331A
719 #define EGL_YUV_BUFFER_EXT 0x3300
720 #define EGL_YUV_ORDER_YUV_EXT 0x3302
721 #define EGL_YUV_ORDER_YVU_EXT 0x3303
722 #define EGL_YUV_ORDER_YUYV_EXT 0x3304
723 #define EGL_YUV_ORDER_UYVY_EXT 0x3305
724 #define EGL_YUV_ORDER_YVYU_EXT 0x3306
725 #define EGL_YUV_ORDER_VYUY_EXT 0x3307
726 #define EGL_YUV_ORDER_AYUV_EXT 0x3308
727 #define EGL_YUV_SUBSAMPLE_4_2_0_EXT 0x3313
728 #define EGL_YUV_SUBSAMPLE_4_2_2_EXT 0x3314
729 #define EGL_YUV_SUBSAMPLE_4_4_4_EXT 0x3315
730 #define EGL_YUV_DEPTH_RANGE_LIMITED_EXT 0x3318
731 #define EGL_YUV_DEPTH_RANGE_FULL_EXT 0x3319
732 #define EGL_YUV_CSC_STANDARD_601_EXT 0x330B
733 #define EGL_YUV_CSC_STANDARD_709_EXT 0x330C
734 #define EGL_YUV_CSC_STANDARD_2020_EXT 0x330D
735 #define EGL_YUV_PLANE_BPP_0_EXT 0x331B
736 #define EGL_YUV_PLANE_BPP_8_EXT 0x331C
737 #define EGL_YUV_PLANE_BPP_10_EXT 0x331D
738 #endif /* EGL_EXT_yuv_surface */
740 #ifndef EGL_HI_clientpixmap
741 #define EGL_HI_clientpixmap 1
742 struct EGLClientPixmapHI {
748 #define EGL_CLIENT_PIXMAP_POINTER_HI 0x8F74
749 typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap);
750 #ifdef EGL_EGLEXT_PROTOTYPES
751 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap);
753 #endif /* EGL_HI_clientpixmap */
755 #ifndef EGL_HI_colorformats
756 #define EGL_HI_colorformats 1
757 #define EGL_COLOR_FORMAT_HI 0x8F70
758 #define EGL_COLOR_RGB_HI 0x8F71
759 #define EGL_COLOR_RGBA_HI 0x8F72
760 #define EGL_COLOR_ARGB_HI 0x8F73
761 #endif /* EGL_HI_colorformats */
763 #ifndef EGL_IMG_context_priority
764 #define EGL_IMG_context_priority 1
765 #define EGL_CONTEXT_PRIORITY_LEVEL_IMG 0x3100
766 #define EGL_CONTEXT_PRIORITY_HIGH_IMG 0x3101
767 #define EGL_CONTEXT_PRIORITY_MEDIUM_IMG 0x3102
768 #define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103
769 #endif /* EGL_IMG_context_priority */
771 #ifndef EGL_IMG_image_plane_attribs
772 #define EGL_IMG_image_plane_attribs 1
773 #define EGL_NATIVE_BUFFER_MULTIPLANE_SEPARATE_IMG 0x3105
774 #define EGL_NATIVE_BUFFER_PLANE_OFFSET_IMG 0x3106
775 #endif /* EGL_IMG_image_plane_attribs */
777 #ifndef EGL_MESA_drm_image
778 #define EGL_MESA_drm_image 1
779 #define EGL_DRM_BUFFER_FORMAT_MESA 0x31D0
780 #define EGL_DRM_BUFFER_USE_MESA 0x31D1
781 #define EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2
782 #define EGL_DRM_BUFFER_MESA 0x31D3
783 #define EGL_DRM_BUFFER_STRIDE_MESA 0x31D4
784 #define EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x00000001
785 #define EGL_DRM_BUFFER_USE_SHARE_MESA 0x00000002
786 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay dpy, const EGLint *attrib_list);
787 typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDRMIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride);
788 #ifdef EGL_EGLEXT_PROTOTYPES
789 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint *attrib_list);
790 EGLAPI EGLBoolean EGLAPIENTRY eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride);
792 #endif /* EGL_MESA_drm_image */
794 #ifndef EGL_MESA_image_dma_buf_export
795 #define EGL_MESA_image_dma_buf_export 1
796 typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, EGLuint64KHR *modifiers);
797 typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDMABUFIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets);
798 #ifdef EGL_EGLEXT_PROTOTYPES
799 EGLAPI EGLBoolean EGLAPIENTRY eglExportDMABUFImageQueryMESA (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, EGLuint64KHR *modifiers);
800 EGLAPI EGLBoolean EGLAPIENTRY eglExportDMABUFImageMESA (EGLDisplay dpy, EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets);
802 #endif /* EGL_MESA_image_dma_buf_export */
804 #ifndef EGL_MESA_platform_gbm
805 #define EGL_MESA_platform_gbm 1
806 #define EGL_PLATFORM_GBM_MESA 0x31D7
807 #endif /* EGL_MESA_platform_gbm */
809 #ifndef EGL_NOK_swap_region
810 #define EGL_NOK_swap_region 1
811 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
812 #ifdef EGL_EGLEXT_PROTOTYPES
813 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
815 #endif /* EGL_NOK_swap_region */
817 #ifndef EGL_NOK_swap_region2
818 #define EGL_NOK_swap_region2 1
819 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGION2NOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
820 #ifdef EGL_EGLEXT_PROTOTYPES
821 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
823 #endif /* EGL_NOK_swap_region2 */
825 #ifndef EGL_NOK_texture_from_pixmap
826 #define EGL_NOK_texture_from_pixmap 1
827 #define EGL_Y_INVERTED_NOK 0x307F
828 #endif /* EGL_NOK_texture_from_pixmap */
830 #ifndef EGL_NV_3dvision_surface
831 #define EGL_NV_3dvision_surface 1
832 #define EGL_AUTO_STEREO_NV 0x3136
833 #endif /* EGL_NV_3dvision_surface */
835 #ifndef EGL_NV_coverage_sample
836 #define EGL_NV_coverage_sample 1
837 #define EGL_COVERAGE_BUFFERS_NV 0x30E0
838 #define EGL_COVERAGE_SAMPLES_NV 0x30E1
839 #endif /* EGL_NV_coverage_sample */
841 #ifndef EGL_NV_coverage_sample_resolve
842 #define EGL_NV_coverage_sample_resolve 1
843 #define EGL_COVERAGE_SAMPLE_RESOLVE_NV 0x3131
844 #define EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV 0x3132
845 #define EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV 0x3133
846 #endif /* EGL_NV_coverage_sample_resolve */
848 #ifndef EGL_NV_cuda_event
849 #define EGL_NV_cuda_event 1
850 #define EGL_CUDA_EVENT_HANDLE_NV 0x323B
851 #define EGL_SYNC_CUDA_EVENT_NV 0x323C
852 #define EGL_SYNC_CUDA_EVENT_COMPLETE_NV 0x323D
853 #endif /* EGL_NV_cuda_event */
855 #ifndef EGL_NV_depth_nonlinear
856 #define EGL_NV_depth_nonlinear 1
857 #define EGL_DEPTH_ENCODING_NV 0x30E2
858 #define EGL_DEPTH_ENCODING_NONE_NV 0
859 #define EGL_DEPTH_ENCODING_NONLINEAR_NV 0x30E3
860 #endif /* EGL_NV_depth_nonlinear */
862 #ifndef EGL_NV_device_cuda
863 #define EGL_NV_device_cuda 1
864 #define EGL_CUDA_DEVICE_NV 0x323A
865 #endif /* EGL_NV_device_cuda */
867 #ifndef EGL_NV_native_query
868 #define EGL_NV_native_query 1
869 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEDISPLAYNVPROC) (EGLDisplay dpy, EGLNativeDisplayType *display_id);
870 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEWINDOWNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window);
871 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap);
872 #ifdef EGL_EGLEXT_PROTOTYPES
873 EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeDisplayNV (EGLDisplay dpy, EGLNativeDisplayType *display_id);
874 EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window);
875 EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap);
877 #endif /* EGL_NV_native_query */
879 #ifndef EGL_NV_post_convert_rounding
880 #define EGL_NV_post_convert_rounding 1
881 #endif /* EGL_NV_post_convert_rounding */
883 #ifndef EGL_NV_post_sub_buffer
884 #define EGL_NV_post_sub_buffer 1
885 #define EGL_POST_SUB_BUFFER_SUPPORTED_NV 0x30BE
886 typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
887 #ifdef EGL_EGLEXT_PROTOTYPES
888 EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
890 #endif /* EGL_NV_post_sub_buffer */
892 #ifndef EGL_NV_stream_consumer_gltexture_yuv
893 #define EGL_NV_stream_consumer_gltexture_yuv 1
894 #define EGL_YUV_PLANE0_TEXTURE_UNIT_NV 0x332C
895 #define EGL_YUV_PLANE1_TEXTURE_UNIT_NV 0x332D
896 #define EGL_YUV_PLANE2_TEXTURE_UNIT_NV 0x332E
897 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLAttrib *attrib_list);
898 #ifdef EGL_EGLEXT_PROTOTYPES
899 EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalAttribsNV (EGLDisplay dpy, EGLStreamKHR stream, EGLAttrib *attrib_list);
901 #endif /* EGL_NV_stream_consumer_gltexture_yuv */
903 #ifndef EGL_NV_stream_metadata
904 #define EGL_NV_stream_metadata 1
905 #define EGL_MAX_STREAM_METADATA_BLOCKS_NV 0x3250
906 #define EGL_MAX_STREAM_METADATA_BLOCK_SIZE_NV 0x3251
907 #define EGL_MAX_STREAM_METADATA_TOTAL_SIZE_NV 0x3252
908 #define EGL_PRODUCER_METADATA_NV 0x3253
909 #define EGL_CONSUMER_METADATA_NV 0x3254
910 #define EGL_PENDING_METADATA_NV 0x3328
911 #define EGL_METADATA0_SIZE_NV 0x3255
912 #define EGL_METADATA1_SIZE_NV 0x3256
913 #define EGL_METADATA2_SIZE_NV 0x3257
914 #define EGL_METADATA3_SIZE_NV 0x3258
915 #define EGL_METADATA0_TYPE_NV 0x3259
916 #define EGL_METADATA1_TYPE_NV 0x325A
917 #define EGL_METADATA2_TYPE_NV 0x325B
918 #define EGL_METADATA3_TYPE_NV 0x325C
919 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBNVPROC) (EGLDisplay dpy, EGLint attribute, EGLAttrib *value);
920 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETSTREAMMETADATANVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLint n, EGLint offset, EGLint size, const void *data);
921 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMMETADATANVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum name, EGLint n, EGLint offset, EGLint size, void *data);
922 #ifdef EGL_EGLEXT_PROTOTYPES
923 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribNV (EGLDisplay dpy, EGLint attribute, EGLAttrib *value);
924 EGLAPI EGLBoolean EGLAPIENTRY eglSetStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint n, EGLint offset, EGLint size, const void *data);
925 EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum name, EGLint n, EGLint offset, EGLint size, void *data);
927 #endif /* EGL_NV_stream_metadata */
929 #ifndef EGL_NV_stream_sync
930 #define EGL_NV_stream_sync 1
931 #define EGL_SYNC_NEW_FRAME_NV 0x321F
932 typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESTREAMSYNCNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list);
933 #ifdef EGL_EGLEXT_PROTOTYPES
934 EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateStreamSyncNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list);
936 #endif /* EGL_NV_stream_sync */
939 #define EGL_NV_sync 1
940 typedef void *EGLSyncNV;
941 typedef khronos_utime_nanoseconds_t EGLTimeNV;
942 #ifdef KHRONOS_SUPPORT_INT64
943 #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV 0x30E6
944 #define EGL_SYNC_STATUS_NV 0x30E7
945 #define EGL_SIGNALED_NV 0x30E8
946 #define EGL_UNSIGNALED_NV 0x30E9
947 #define EGL_SYNC_FLUSH_COMMANDS_BIT_NV 0x0001
948 #define EGL_FOREVER_NV 0xFFFFFFFFFFFFFFFFull
949 #define EGL_ALREADY_SIGNALED_NV 0x30EA
950 #define EGL_TIMEOUT_EXPIRED_NV 0x30EB
951 #define EGL_CONDITION_SATISFIED_NV 0x30EC
952 #define EGL_SYNC_TYPE_NV 0x30ED
953 #define EGL_SYNC_CONDITION_NV 0x30EE
954 #define EGL_SYNC_FENCE_NV 0x30EF
955 #define EGL_NO_SYNC_NV ((EGLSyncNV)0)
956 typedef EGLSyncNV (EGLAPIENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
957 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCNVPROC) (EGLSyncNV sync);
958 typedef EGLBoolean (EGLAPIENTRYP PFNEGLFENCENVPROC) (EGLSyncNV sync);
959 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
960 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV sync, EGLenum mode);
961 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLint *value);
962 #ifdef EGL_EGLEXT_PROTOTYPES
963 EGLAPI EGLSyncNV EGLAPIENTRY eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
964 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncNV (EGLSyncNV sync);
965 EGLAPI EGLBoolean EGLAPIENTRY eglFenceNV (EGLSyncNV sync);
966 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
967 EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncNV (EGLSyncNV sync, EGLenum mode);
968 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint *value);
970 #endif /* KHRONOS_SUPPORT_INT64 */
971 #endif /* EGL_NV_sync */
973 #ifndef EGL_NV_system_time
974 #define EGL_NV_system_time 1
975 typedef khronos_utime_nanoseconds_t EGLuint64NV;
976 #ifdef KHRONOS_SUPPORT_INT64
977 typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC) (void);
978 typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC) (void);
979 #ifdef EGL_EGLEXT_PROTOTYPES
980 EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV (void);
981 EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void);
983 #endif /* KHRONOS_SUPPORT_INT64 */
984 #endif /* EGL_NV_system_time */
986 #ifndef EGL_TIZEN_image_native_buffer
987 #define EGL_TIZEN_image_native_buffer 1
988 #define EGL_NATIVE_BUFFER_TIZEN 0x32A0
989 #endif /* EGL_TIZEN_image_native_buffer */
991 #ifndef EGL_TIZEN_image_native_surface
992 #define EGL_TIZEN_image_native_surface 1
993 #define EGL_NATIVE_SURFACE_TIZEN 0x32A1
994 #endif /* EGL_TIZEN_image_native_surface */
996 #ifndef EGL_ARM_implicit_external_sync
997 #define EGL_ARM_implicit_external_sync 1
998 #define EGL_SYNC_PRIOR_COMMANDS_IMPLICIT_EXTERNAL_ARM 0x328A
999 #endif /* EGL_ARM_implicit_external_sync */