VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/mesa-11.0.7/EGL/eglext.h@ 61386

最後變更 在這個檔案從61386是 59109,由 vboxsync 提交於 9 年 前

bugref:8087: Additions/x11: support non-root X server: add Khronos GLX and EGL reference header files as taken from Mesa 11.0.7 as preparation for adding X11 guest EGL support.

  • 屬性 svn:eol-style 設為 native
檔案大小: 40.7 KB
 
1#ifndef __eglext_h_
2#define __eglext_h_ 1
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/*
9** Copyright (c) 2013-2014 The Khronos Group Inc.
10**
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:
18**
19** The above copyright notice and this permission notice shall be included
20** in all copies or substantial portions of the Materials.
21**
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.
29*/
30/*
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/
35**
36** Khronos $Revision$ on $Date$
37*/
38
39#include <EGL/eglplatform.h>
40
41#define EGL_EGLEXT_VERSION 20150508
42
43/* Generated C header for:
44 * API: egl
45 * Versions considered: .*
46 * Versions emitted: _nomatch_^
47 * Default extensions included: egl
48 * Additional extensions included: _nomatch_^
49 * Extensions removed: _nomatch_^
50 */
51
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 */
58
59#ifndef EGL_KHR_cl_event2
60#define EGL_KHR_cl_event2 1
61typedef void *EGLSyncKHR;
62typedef intptr_t EGLAttribKHR;
63typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNC64KHRPROC) (EGLDisplay dpy, EGLenum type, const EGLAttribKHR *attrib_list);
64#ifdef EGL_EGLEXT_PROTOTYPES
65EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSync64KHR (EGLDisplay dpy, EGLenum type, const EGLAttribKHR *attrib_list);
66#endif
67#endif /* EGL_KHR_cl_event2 */
68
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 */
72
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 */
79
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 */
96
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 */
101
102#ifndef EGL_KHR_fence_sync
103#define EGL_KHR_fence_sync 1
104typedef khronos_utime_nanoseconds_t EGLTimeKHR;
105#ifdef KHRONOS_SUPPORT_INT64
106#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0x30F0
107#define EGL_SYNC_CONDITION_KHR 0x30F8
108#define EGL_SYNC_FENCE_KHR 0x30F9
109typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
110typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync);
111typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
112typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
113#ifdef EGL_EGLEXT_PROTOTYPES
114EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
115EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync);
116EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
117EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
118#endif
119#endif /* KHRONOS_SUPPORT_INT64 */
120#endif /* EGL_KHR_fence_sync */
121
122#ifndef EGL_KHR_get_all_proc_addresses
123#define EGL_KHR_get_all_proc_addresses 1
124#endif /* EGL_KHR_get_all_proc_addresses */
125
126#ifndef EGL_KHR_gl_colorspace
127#define EGL_KHR_gl_colorspace 1
128#define EGL_GL_COLORSPACE_KHR 0x309D
129#define EGL_GL_COLORSPACE_SRGB_KHR 0x3089
130#define EGL_GL_COLORSPACE_LINEAR_KHR 0x308A
131#endif /* EGL_KHR_gl_colorspace */
132
133#ifndef EGL_KHR_gl_renderbuffer_image
134#define EGL_KHR_gl_renderbuffer_image 1
135#define EGL_GL_RENDERBUFFER_KHR 0x30B9
136#endif /* EGL_KHR_gl_renderbuffer_image */
137
138#ifndef EGL_KHR_gl_texture_2D_image
139#define EGL_KHR_gl_texture_2D_image 1
140#define EGL_GL_TEXTURE_2D_KHR 0x30B1
141#define EGL_GL_TEXTURE_LEVEL_KHR 0x30BC
142#endif /* EGL_KHR_gl_texture_2D_image */
143
144#ifndef EGL_KHR_gl_texture_3D_image
145#define EGL_KHR_gl_texture_3D_image 1
146#define EGL_GL_TEXTURE_3D_KHR 0x30B2
147#define EGL_GL_TEXTURE_ZOFFSET_KHR 0x30BD
148#endif /* EGL_KHR_gl_texture_3D_image */
149
150#ifndef EGL_KHR_gl_texture_cubemap_image
151#define EGL_KHR_gl_texture_cubemap_image 1
152#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR 0x30B3
153#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR 0x30B4
154#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR 0x30B5
155#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR 0x30B6
156#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR 0x30B7
157#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR 0x30B8
158#endif /* EGL_KHR_gl_texture_cubemap_image */
159
160#ifndef EGL_KHR_image
161#define EGL_KHR_image 1
162typedef void *EGLImageKHR;
163#define EGL_NATIVE_PIXMAP_KHR 0x30B0
164#define EGL_NO_IMAGE_KHR ((EGLImageKHR)0)
165typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
166typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image);
167#ifdef EGL_EGLEXT_PROTOTYPES
168EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
169EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image);
170#endif
171#endif /* EGL_KHR_image */
172
173#ifndef EGL_KHR_image_base
174#define EGL_KHR_image_base 1
175#define EGL_IMAGE_PRESERVED_KHR 0x30D2
176#endif /* EGL_KHR_image_base */
177
178#ifndef EGL_KHR_image_pixmap
179#define EGL_KHR_image_pixmap 1
180#endif /* EGL_KHR_image_pixmap */
181
182#ifndef EGL_KHR_lock_surface
183#define EGL_KHR_lock_surface 1
184#define EGL_READ_SURFACE_BIT_KHR 0x0001
185#define EGL_WRITE_SURFACE_BIT_KHR 0x0002
186#define EGL_LOCK_SURFACE_BIT_KHR 0x0080
187#define EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100
188#define EGL_MATCH_FORMAT_KHR 0x3043
189#define EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0
190#define EGL_FORMAT_RGB_565_KHR 0x30C1
191#define EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2
192#define EGL_FORMAT_RGBA_8888_KHR 0x30C3
193#define EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4
194#define EGL_LOCK_USAGE_HINT_KHR 0x30C5
195#define EGL_BITMAP_POINTER_KHR 0x30C6
196#define EGL_BITMAP_PITCH_KHR 0x30C7
197#define EGL_BITMAP_ORIGIN_KHR 0x30C8
198#define EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9
199#define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA
200#define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB
201#define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC
202#define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD
203#define EGL_LOWER_LEFT_KHR 0x30CE
204#define EGL_UPPER_LEFT_KHR 0x30CF
205typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list);
206typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface);
207#ifdef EGL_EGLEXT_PROTOTYPES
208EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list);
209EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface);
210#endif
211#endif /* EGL_KHR_lock_surface */
212
213#ifndef EGL_KHR_lock_surface2
214#define EGL_KHR_lock_surface2 1
215#define EGL_BITMAP_PIXEL_SIZE_KHR 0x3110
216#endif /* EGL_KHR_lock_surface2 */
217
218#ifndef EGL_KHR_lock_surface3
219#define EGL_KHR_lock_surface3 1
220typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACE64KHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR *value);
221#ifdef EGL_EGLEXT_PROTOTYPES
222EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface64KHR (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR *value);
223#endif
224#endif /* EGL_KHR_lock_surface3 */
225
226#ifndef EGL_KHR_partial_update
227#define EGL_KHR_partial_update 1
228#define EGL_BUFFER_AGE_KHR 0x313D
229typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
230#ifdef EGL_EGLEXT_PROTOTYPES
231EGLAPI EGLBoolean EGLAPIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
232#endif
233#endif /* EGL_KHR_partial_update */
234
235#ifndef EGL_KHR_platform_android
236#define EGL_KHR_platform_android 1
237#define EGL_PLATFORM_ANDROID_KHR 0x3141
238#endif /* EGL_KHR_platform_android */
239
240#ifndef EGL_KHR_platform_gbm
241#define EGL_KHR_platform_gbm 1
242#define EGL_PLATFORM_GBM_KHR 0x31D7
243#endif /* EGL_KHR_platform_gbm */
244
245#ifndef EGL_KHR_platform_wayland
246#define EGL_KHR_platform_wayland 1
247#define EGL_PLATFORM_WAYLAND_KHR 0x31D8
248#endif /* EGL_KHR_platform_wayland */
249
250#ifndef EGL_KHR_platform_x11
251#define EGL_KHR_platform_x11 1
252#define EGL_PLATFORM_X11_KHR 0x31D5
253#define EGL_PLATFORM_X11_SCREEN_KHR 0x31D6
254#endif /* EGL_KHR_platform_x11 */
255
256#ifndef EGL_KHR_reusable_sync
257#define EGL_KHR_reusable_sync 1
258#ifdef KHRONOS_SUPPORT_INT64
259#define EGL_SYNC_STATUS_KHR 0x30F1
260#define EGL_SIGNALED_KHR 0x30F2
261#define EGL_UNSIGNALED_KHR 0x30F3
262#define EGL_TIMEOUT_EXPIRED_KHR 0x30F5
263#define EGL_CONDITION_SATISFIED_KHR 0x30F6
264#define EGL_SYNC_TYPE_KHR 0x30F7
265#define EGL_SYNC_REUSABLE_KHR 0x30FA
266#define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001
267#define EGL_FOREVER_KHR 0xFFFFFFFFFFFFFFFFull
268#define EGL_NO_SYNC_KHR ((EGLSyncKHR)0)
269typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
270#ifdef EGL_EGLEXT_PROTOTYPES
271EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
272#endif
273#endif /* KHRONOS_SUPPORT_INT64 */
274#endif /* EGL_KHR_reusable_sync */
275
276#ifndef EGL_KHR_stream
277#define EGL_KHR_stream 1
278typedef void *EGLStreamKHR;
279typedef khronos_uint64_t EGLuint64KHR;
280#ifdef KHRONOS_SUPPORT_INT64
281#define EGL_NO_STREAM_KHR ((EGLStreamKHR)0)
282#define EGL_CONSUMER_LATENCY_USEC_KHR 0x3210
283#define EGL_PRODUCER_FRAME_KHR 0x3212
284#define EGL_CONSUMER_FRAME_KHR 0x3213
285#define EGL_STREAM_STATE_KHR 0x3214
286#define EGL_STREAM_STATE_CREATED_KHR 0x3215
287#define EGL_STREAM_STATE_CONNECTING_KHR 0x3216
288#define EGL_STREAM_STATE_EMPTY_KHR 0x3217
289#define EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR 0x3218
290#define EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR 0x3219
291#define EGL_STREAM_STATE_DISCONNECTED_KHR 0x321A
292#define EGL_BAD_STREAM_KHR 0x321B
293#define EGL_BAD_STATE_KHR 0x321C
294typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMKHRPROC) (EGLDisplay dpy, const EGLint *attrib_list);
295typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
296typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
297typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value);
298typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMU64KHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value);
299#ifdef EGL_EGLEXT_PROTOTYPES
300EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamKHR (EGLDisplay dpy, const EGLint *attrib_list);
301EGLAPI EGLBoolean EGLAPIENTRY eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream);
302EGLAPI EGLBoolean EGLAPIENTRY eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
303EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value);
304EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value);
305#endif
306#endif /* KHRONOS_SUPPORT_INT64 */
307#endif /* EGL_KHR_stream */
308
309#ifndef EGL_KHR_stream_consumer_gltexture
310#define EGL_KHR_stream_consumer_gltexture 1
311#ifdef EGL_KHR_stream
312#define EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR 0x321E
313typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
314typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
315typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERRELEASEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
316#ifdef EGL_EGLEXT_PROTOTYPES
317EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalKHR (EGLDisplay dpy, EGLStreamKHR stream);
318EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireKHR (EGLDisplay dpy, EGLStreamKHR stream);
319EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLStreamKHR stream);
320#endif
321#endif /* EGL_KHR_stream */
322#endif /* EGL_KHR_stream_consumer_gltexture */
323
324#ifndef EGL_KHR_stream_cross_process_fd
325#define EGL_KHR_stream_cross_process_fd 1
326typedef int EGLNativeFileDescriptorKHR;
327#ifdef EGL_KHR_stream
328#define EGL_NO_FILE_DESCRIPTOR_KHR ((EGLNativeFileDescriptorKHR)(-1))
329typedef EGLNativeFileDescriptorKHR (EGLAPIENTRYP PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
330typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor);
331#ifdef EGL_EGLEXT_PROTOTYPES
332EGLAPI EGLNativeFileDescriptorKHR EGLAPIENTRY eglGetStreamFileDescriptorKHR (EGLDisplay dpy, EGLStreamKHR stream);
333EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor);
334#endif
335#endif /* EGL_KHR_stream */
336#endif /* EGL_KHR_stream_cross_process_fd */
337
338#ifndef EGL_KHR_stream_fifo
339#define EGL_KHR_stream_fifo 1
340#ifdef EGL_KHR_stream
341#define EGL_STREAM_FIFO_LENGTH_KHR 0x31FC
342#define EGL_STREAM_TIME_NOW_KHR 0x31FD
343#define EGL_STREAM_TIME_CONSUMER_KHR 0x31FE
344#define EGL_STREAM_TIME_PRODUCER_KHR 0x31FF
345typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMTIMEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value);
346#ifdef EGL_EGLEXT_PROTOTYPES
347EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamTimeKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value);
348#endif
349#endif /* EGL_KHR_stream */
350#endif /* EGL_KHR_stream_fifo */
351
352#ifndef EGL_KHR_stream_producer_aldatalocator
353#define EGL_KHR_stream_producer_aldatalocator 1
354#ifdef EGL_KHR_stream
355#endif /* EGL_KHR_stream */
356#endif /* EGL_KHR_stream_producer_aldatalocator */
357
358#ifndef EGL_KHR_stream_producer_eglsurface
359#define EGL_KHR_stream_producer_eglsurface 1
360#ifdef EGL_KHR_stream
361#define EGL_STREAM_BIT_KHR 0x0800
362typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC) (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list);
363#ifdef EGL_EGLEXT_PROTOTYPES
364EGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list);
365#endif
366#endif /* EGL_KHR_stream */
367#endif /* EGL_KHR_stream_producer_eglsurface */
368
369#ifndef EGL_KHR_surfaceless_context
370#define EGL_KHR_surfaceless_context 1
371#endif /* EGL_KHR_surfaceless_context */
372
373#ifndef EGL_KHR_swap_buffers_with_damage
374#define EGL_KHR_swap_buffers_with_damage 1
375typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
376#ifdef EGL_EGLEXT_PROTOTYPES
377EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
378#endif
379#endif /* EGL_KHR_swap_buffers_with_damage */
380
381#ifndef EGL_KHR_vg_parent_image
382#define EGL_KHR_vg_parent_image 1
383#define EGL_VG_PARENT_IMAGE_KHR 0x30BA
384#endif /* EGL_KHR_vg_parent_image */
385
386#ifndef EGL_KHR_wait_sync
387#define EGL_KHR_wait_sync 1
388typedef EGLint (EGLAPIENTRYP PFNEGLWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags);
389#ifdef EGL_EGLEXT_PROTOTYPES
390EGLAPI EGLint EGLAPIENTRY eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags);
391#endif
392#endif /* EGL_KHR_wait_sync */
393
394#ifndef EGL_ANDROID_blob_cache
395#define EGL_ANDROID_blob_cache 1
396typedef khronos_ssize_t EGLsizeiANDROID;
397typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize);
398typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize);
399typedef void (EGLAPIENTRYP PFNEGLSETBLOBCACHEFUNCSANDROIDPROC) (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get);
400#ifdef EGL_EGLEXT_PROTOTYPES
401EGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get);
402#endif
403#endif /* EGL_ANDROID_blob_cache */
404
405#ifndef EGL_ANDROID_framebuffer_target
406#define EGL_ANDROID_framebuffer_target 1
407#define EGL_FRAMEBUFFER_TARGET_ANDROID 0x3147
408#endif /* EGL_ANDROID_framebuffer_target */
409
410#ifndef EGL_ANDROID_image_native_buffer
411#define EGL_ANDROID_image_native_buffer 1
412#define EGL_NATIVE_BUFFER_ANDROID 0x3140
413#endif /* EGL_ANDROID_image_native_buffer */
414
415#ifndef EGL_ANDROID_native_fence_sync
416#define EGL_ANDROID_native_fence_sync 1
417#define EGL_SYNC_NATIVE_FENCE_ANDROID 0x3144
418#define EGL_SYNC_NATIVE_FENCE_FD_ANDROID 0x3145
419#define EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID 0x3146
420#define EGL_NO_NATIVE_FENCE_FD_ANDROID -1
421typedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC) (EGLDisplay dpy, EGLSyncKHR sync);
422#ifdef EGL_EGLEXT_PROTOTYPES
423EGLAPI EGLint EGLAPIENTRY eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR sync);
424#endif
425#endif /* EGL_ANDROID_native_fence_sync */
426
427#ifndef EGL_ANDROID_recordable
428#define EGL_ANDROID_recordable 1
429#define EGL_RECORDABLE_ANDROID 0x3142
430#endif /* EGL_ANDROID_recordable */
431
432#ifndef EGL_ANGLE_d3d_share_handle_client_buffer
433#define EGL_ANGLE_d3d_share_handle_client_buffer 1
434#define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200
435#endif /* EGL_ANGLE_d3d_share_handle_client_buffer */
436
437#ifndef EGL_ANGLE_device_d3d
438#define EGL_ANGLE_device_d3d 1
439#define EGL_D3D9_DEVICE_ANGLE 0x33A0
440#define EGL_D3D11_DEVICE_ANGLE 0x33A1
441#endif /* EGL_ANGLE_device_d3d */
442
443#ifndef EGL_ANGLE_query_surface_pointer
444#define EGL_ANGLE_query_surface_pointer 1
445typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
446#ifdef EGL_EGLEXT_PROTOTYPES
447EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
448#endif
449#endif /* EGL_ANGLE_query_surface_pointer */
450
451#ifndef EGL_ANGLE_surface_d3d_texture_2d_share_handle
452#define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1
453#endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */
454
455#ifndef EGL_ANGLE_window_fixed_size
456#define EGL_ANGLE_window_fixed_size 1
457#define EGL_FIXED_SIZE_ANGLE 0x3201
458#endif /* EGL_ANGLE_window_fixed_size */
459
460#ifndef EGL_ARM_pixmap_multisample_discard
461#define EGL_ARM_pixmap_multisample_discard 1
462#define EGL_DISCARD_SAMPLES_ARM 0x3286
463#endif /* EGL_ARM_pixmap_multisample_discard */
464
465#ifndef EGL_EXT_buffer_age
466#define EGL_EXT_buffer_age 1
467#define EGL_BUFFER_AGE_EXT 0x313D
468#endif /* EGL_EXT_buffer_age */
469
470#ifndef EGL_EXT_client_extensions
471#define EGL_EXT_client_extensions 1
472#endif /* EGL_EXT_client_extensions */
473
474#ifndef EGL_EXT_create_context_robustness
475#define EGL_EXT_create_context_robustness 1
476#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF
477#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138
478#define EGL_NO_RESET_NOTIFICATION_EXT 0x31BE
479#define EGL_LOSE_CONTEXT_ON_RESET_EXT 0x31BF
480#endif /* EGL_EXT_create_context_robustness */
481
482#ifndef EGL_EXT_device_base
483#define EGL_EXT_device_base 1
484typedef void *EGLDeviceEXT;
485#define EGL_NO_DEVICE_EXT ((EGLDeviceEXT)(0))
486#define EGL_BAD_DEVICE_EXT 0x322B
487#define EGL_DEVICE_EXT 0x322C
488typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICEATTRIBEXTPROC) (EGLDeviceEXT device, EGLint attribute, EGLAttrib *value);
489typedef const char *(EGLAPIENTRYP PFNEGLQUERYDEVICESTRINGEXTPROC) (EGLDeviceEXT device, EGLint name);
490typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devices, EGLint *num_devices);
491typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBEXTPROC) (EGLDisplay dpy, EGLint attribute, EGLAttrib *value);
492#ifdef EGL_EGLEXT_PROTOTYPES
493EGLAPI EGLBoolean EGLAPIENTRY eglQueryDeviceAttribEXT (EGLDeviceEXT device, EGLint attribute, EGLAttrib *value);
494EGLAPI const char *EGLAPIENTRY eglQueryDeviceStringEXT (EGLDeviceEXT device, EGLint name);
495EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint *num_devices);
496EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint attribute, EGLAttrib *value);
497#endif
498#endif /* EGL_EXT_device_base */
499
500#ifndef EGL_EXT_device_drm
501#define EGL_EXT_device_drm 1
502#define EGL_DRM_DEVICE_FILE_EXT 0x3233
503#endif /* EGL_EXT_device_drm */
504
505#ifndef EGL_EXT_device_enumeration
506#define EGL_EXT_device_enumeration 1
507#endif /* EGL_EXT_device_enumeration */
508
509#ifndef EGL_EXT_device_openwf
510#define EGL_EXT_device_openwf 1
511#define EGL_OPENWF_DEVICE_ID_EXT 0x3237
512#endif /* EGL_EXT_device_openwf */
513
514#ifndef EGL_EXT_device_query
515#define EGL_EXT_device_query 1
516#endif /* EGL_EXT_device_query */
517
518#ifndef EGL_EXT_image_dma_buf_import
519#define EGL_EXT_image_dma_buf_import 1
520#define EGL_LINUX_DMA_BUF_EXT 0x3270
521#define EGL_LINUX_DRM_FOURCC_EXT 0x3271
522#define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272
523#define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273
524#define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274
525#define EGL_DMA_BUF_PLANE1_FD_EXT 0x3275
526#define EGL_DMA_BUF_PLANE1_OFFSET_EXT 0x3276
527#define EGL_DMA_BUF_PLANE1_PITCH_EXT 0x3277
528#define EGL_DMA_BUF_PLANE2_FD_EXT 0x3278
529#define EGL_DMA_BUF_PLANE2_OFFSET_EXT 0x3279
530#define EGL_DMA_BUF_PLANE2_PITCH_EXT 0x327A
531#define EGL_YUV_COLOR_SPACE_HINT_EXT 0x327B
532#define EGL_SAMPLE_RANGE_HINT_EXT 0x327C
533#define EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT 0x327D
534#define EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT 0x327E
535#define EGL_ITU_REC601_EXT 0x327F
536#define EGL_ITU_REC709_EXT 0x3280
537#define EGL_ITU_REC2020_EXT 0x3281
538#define EGL_YUV_FULL_RANGE_EXT 0x3282
539#define EGL_YUV_NARROW_RANGE_EXT 0x3283
540#define EGL_YUV_CHROMA_SITING_0_EXT 0x3284
541#define EGL_YUV_CHROMA_SITING_0_5_EXT 0x3285
542#endif /* EGL_EXT_image_dma_buf_import */
543
544#ifndef EGL_EXT_multiview_window
545#define EGL_EXT_multiview_window 1
546#define EGL_MULTIVIEW_VIEW_COUNT_EXT 0x3134
547#endif /* EGL_EXT_multiview_window */
548
549#ifndef EGL_EXT_output_base
550#define EGL_EXT_output_base 1
551typedef void *EGLOutputLayerEXT;
552typedef void *EGLOutputPortEXT;
553#define EGL_NO_OUTPUT_LAYER_EXT ((EGLOutputLayerEXT)0)
554#define EGL_NO_OUTPUT_PORT_EXT ((EGLOutputPortEXT)0)
555#define EGL_BAD_OUTPUT_LAYER_EXT 0x322D
556#define EGL_BAD_OUTPUT_PORT_EXT 0x322E
557#define EGL_SWAP_INTERVAL_EXT 0x322F
558typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETOUTPUTLAYERSEXTPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputLayerEXT *layers, EGLint max_layers, EGLint *num_layers);
559typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETOUTPUTPORTSEXTPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports, EGLint *num_ports);
560typedef EGLBoolean (EGLAPIENTRYP PFNEGLOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value);
561typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib *value);
562typedef const char *(EGLAPIENTRYP PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name);
563typedef EGLBoolean (EGLAPIENTRYP PFNEGLOUTPUTPORTATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value);
564typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib *value);
565typedef const char *(EGLAPIENTRYP PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name);
566#ifdef EGL_EGLEXT_PROTOTYPES
567EGLAPI EGLBoolean EGLAPIENTRY eglGetOutputLayersEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputLayerEXT *layers, EGLint max_layers, EGLint *num_layers);
568EGLAPI EGLBoolean EGLAPIENTRY eglGetOutputPortsEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports, EGLint *num_ports);
569EGLAPI EGLBoolean EGLAPIENTRY eglOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value);
570EGLAPI EGLBoolean EGLAPIENTRY eglQueryOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib *value);
571EGLAPI const char *EGLAPIENTRY eglQueryOutputLayerStringEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name);
572EGLAPI EGLBoolean EGLAPIENTRY eglOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value);
573EGLAPI EGLBoolean EGLAPIENTRY eglQueryOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib *value);
574EGLAPI const char *EGLAPIENTRY eglQueryOutputPortStringEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name);
575#endif
576#endif /* EGL_EXT_output_base */
577
578#ifndef EGL_EXT_output_drm
579#define EGL_EXT_output_drm 1
580#define EGL_DRM_CRTC_EXT 0x3234
581#define EGL_DRM_PLANE_EXT 0x3235
582#define EGL_DRM_CONNECTOR_EXT 0x3236
583#endif /* EGL_EXT_output_drm */
584
585#ifndef EGL_EXT_output_openwf
586#define EGL_EXT_output_openwf 1
587#define EGL_OPENWF_PIPELINE_ID_EXT 0x3238
588#define EGL_OPENWF_PORT_ID_EXT 0x3239
589#endif /* EGL_EXT_output_openwf */
590
591#ifndef EGL_EXT_platform_base
592#define EGL_EXT_platform_base 1
593typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC) (EGLenum platform, void *native_display, const EGLint *attrib_list);
594typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list);
595typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list);
596#ifdef EGL_EGLEXT_PROTOTYPES
597EGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplayEXT (EGLenum platform, void *native_display, const EGLint *attrib_list);
598EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list);
599EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list);
600#endif
601#endif /* EGL_EXT_platform_base */
602
603#ifndef EGL_EXT_platform_device
604#define EGL_EXT_platform_device 1
605#define EGL_PLATFORM_DEVICE_EXT 0x313F
606#endif /* EGL_EXT_platform_device */
607
608#ifndef EGL_EXT_platform_wayland
609#define EGL_EXT_platform_wayland 1
610#define EGL_PLATFORM_WAYLAND_EXT 0x31D8
611#endif /* EGL_EXT_platform_wayland */
612
613#ifndef EGL_EXT_platform_x11
614#define EGL_EXT_platform_x11 1
615#define EGL_PLATFORM_X11_EXT 0x31D5
616#define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6
617#endif /* EGL_EXT_platform_x11 */
618
619#ifndef EGL_EXT_protected_surface
620#define EGL_EXT_protected_surface 1
621#define EGL_PROTECTED_CONTENT_EXT 0x32C0
622#endif /* EGL_EXT_protected_surface */
623
624#ifndef EGL_EXT_stream_consumer_egloutput
625#define EGL_EXT_stream_consumer_egloutput 1
626typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMEROUTPUTEXTPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer);
627#ifdef EGL_EGLEXT_PROTOTYPES
628EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer);
629#endif
630#endif /* EGL_EXT_stream_consumer_egloutput */
631
632#ifndef EGL_EXT_swap_buffers_with_damage
633#define EGL_EXT_swap_buffers_with_damage 1
634typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
635#ifdef EGL_EGLEXT_PROTOTYPES
636EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
637#endif
638#endif /* EGL_EXT_swap_buffers_with_damage */
639
640#ifndef EGL_EXT_yuv_surface
641#define EGL_EXT_yuv_surface 1
642#define EGL_YUV_ORDER_EXT 0x3301
643#define EGL_YUV_NUMBER_OF_PLANES_EXT 0x3311
644#define EGL_YUV_SUBSAMPLE_EXT 0x3312
645#define EGL_YUV_DEPTH_RANGE_EXT 0x3317
646#define EGL_YUV_CSC_STANDARD_EXT 0x330A
647#define EGL_YUV_PLANE_BPP_EXT 0x331A
648#define EGL_YUV_BUFFER_EXT 0x3300
649#define EGL_YUV_ORDER_YUV_EXT 0x3302
650#define EGL_YUV_ORDER_YVU_EXT 0x3303
651#define EGL_YUV_ORDER_YUYV_EXT 0x3304
652#define EGL_YUV_ORDER_UYVY_EXT 0x3305
653#define EGL_YUV_ORDER_YVYU_EXT 0x3306
654#define EGL_YUV_ORDER_VYUY_EXT 0x3307
655#define EGL_YUV_ORDER_AYUV_EXT 0x3308
656#define EGL_YUV_SUBSAMPLE_4_2_0_EXT 0x3313
657#define EGL_YUV_SUBSAMPLE_4_2_2_EXT 0x3314
658#define EGL_YUV_SUBSAMPLE_4_4_4_EXT 0x3315
659#define EGL_YUV_DEPTH_RANGE_LIMITED_EXT 0x3318
660#define EGL_YUV_DEPTH_RANGE_FULL_EXT 0x3319
661#define EGL_YUV_CSC_STANDARD_601_EXT 0x330B
662#define EGL_YUV_CSC_STANDARD_709_EXT 0x330C
663#define EGL_YUV_CSC_STANDARD_2020_EXT 0x330D
664#define EGL_YUV_PLANE_BPP_0_EXT 0x331B
665#define EGL_YUV_PLANE_BPP_8_EXT 0x331C
666#define EGL_YUV_PLANE_BPP_10_EXT 0x331D
667#endif /* EGL_EXT_yuv_surface */
668
669#ifndef EGL_HI_clientpixmap
670#define EGL_HI_clientpixmap 1
671struct EGLClientPixmapHI {
672 void *pData;
673 EGLint iWidth;
674 EGLint iHeight;
675 EGLint iStride;
676};
677#define EGL_CLIENT_PIXMAP_POINTER_HI 0x8F74
678typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap);
679#ifdef EGL_EGLEXT_PROTOTYPES
680EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap);
681#endif
682#endif /* EGL_HI_clientpixmap */
683
684#ifndef EGL_HI_colorformats
685#define EGL_HI_colorformats 1
686#define EGL_COLOR_FORMAT_HI 0x8F70
687#define EGL_COLOR_RGB_HI 0x8F71
688#define EGL_COLOR_RGBA_HI 0x8F72
689#define EGL_COLOR_ARGB_HI 0x8F73
690#endif /* EGL_HI_colorformats */
691
692#ifndef EGL_IMG_context_priority
693#define EGL_IMG_context_priority 1
694#define EGL_CONTEXT_PRIORITY_LEVEL_IMG 0x3100
695#define EGL_CONTEXT_PRIORITY_HIGH_IMG 0x3101
696#define EGL_CONTEXT_PRIORITY_MEDIUM_IMG 0x3102
697#define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103
698#endif /* EGL_IMG_context_priority */
699
700#ifndef EGL_MESA_drm_image
701#define EGL_MESA_drm_image 1
702#define EGL_DRM_BUFFER_FORMAT_MESA 0x31D0
703#define EGL_DRM_BUFFER_USE_MESA 0x31D1
704#define EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2
705#define EGL_DRM_BUFFER_MESA 0x31D3
706#define EGL_DRM_BUFFER_STRIDE_MESA 0x31D4
707#define EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x00000001
708#define EGL_DRM_BUFFER_USE_SHARE_MESA 0x00000002
709typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay dpy, const EGLint *attrib_list);
710typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDRMIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride);
711#ifdef EGL_EGLEXT_PROTOTYPES
712EGLAPI EGLImageKHR EGLAPIENTRY eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint *attrib_list);
713EGLAPI EGLBoolean EGLAPIENTRY eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride);
714#endif
715#endif /* EGL_MESA_drm_image */
716
717#ifndef EGL_MESA_image_dma_buf_export
718#define EGL_MESA_image_dma_buf_export 1
719typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, EGLuint64KHR *modifiers);
720typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDMABUFIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets);
721#ifdef EGL_EGLEXT_PROTOTYPES
722EGLAPI EGLBoolean EGLAPIENTRY eglExportDMABUFImageQueryMESA (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, EGLuint64KHR *modifiers);
723EGLAPI EGLBoolean EGLAPIENTRY eglExportDMABUFImageMESA (EGLDisplay dpy, EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets);
724#endif
725#endif /* EGL_MESA_image_dma_buf_export */
726
727#ifndef EGL_MESA_platform_gbm
728#define EGL_MESA_platform_gbm 1
729#define EGL_PLATFORM_GBM_MESA 0x31D7
730#endif /* EGL_MESA_platform_gbm */
731
732#ifndef EGL_NOK_swap_region
733#define EGL_NOK_swap_region 1
734typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
735#ifdef EGL_EGLEXT_PROTOTYPES
736EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
737#endif
738#endif /* EGL_NOK_swap_region */
739
740#ifndef EGL_NOK_swap_region2
741#define EGL_NOK_swap_region2 1
742typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGION2NOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
743#ifdef EGL_EGLEXT_PROTOTYPES
744EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
745#endif
746#endif /* EGL_NOK_swap_region2 */
747
748#ifndef EGL_NOK_texture_from_pixmap
749#define EGL_NOK_texture_from_pixmap 1
750#define EGL_Y_INVERTED_NOK 0x307F
751#endif /* EGL_NOK_texture_from_pixmap */
752
753#ifndef EGL_NV_3dvision_surface
754#define EGL_NV_3dvision_surface 1
755#define EGL_AUTO_STEREO_NV 0x3136
756#endif /* EGL_NV_3dvision_surface */
757
758#ifndef EGL_NV_coverage_sample
759#define EGL_NV_coverage_sample 1
760#define EGL_COVERAGE_BUFFERS_NV 0x30E0
761#define EGL_COVERAGE_SAMPLES_NV 0x30E1
762#endif /* EGL_NV_coverage_sample */
763
764#ifndef EGL_NV_coverage_sample_resolve
765#define EGL_NV_coverage_sample_resolve 1
766#define EGL_COVERAGE_SAMPLE_RESOLVE_NV 0x3131
767#define EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV 0x3132
768#define EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV 0x3133
769#endif /* EGL_NV_coverage_sample_resolve */
770
771#ifndef EGL_NV_cuda_event
772#define EGL_NV_cuda_event 1
773#define EGL_CUDA_EVENT_HANDLE_NV 0x323B
774#define EGL_SYNC_CUDA_EVENT_NV 0x323C
775#define EGL_SYNC_CUDA_EVENT_COMPLETE_NV 0x323D
776#endif /* EGL_NV_cuda_event */
777
778#ifndef EGL_NV_depth_nonlinear
779#define EGL_NV_depth_nonlinear 1
780#define EGL_DEPTH_ENCODING_NV 0x30E2
781#define EGL_DEPTH_ENCODING_NONE_NV 0
782#define EGL_DEPTH_ENCODING_NONLINEAR_NV 0x30E3
783#endif /* EGL_NV_depth_nonlinear */
784
785#ifndef EGL_NV_device_cuda
786#define EGL_NV_device_cuda 1
787#define EGL_CUDA_DEVICE_NV 0x323A
788#endif /* EGL_NV_device_cuda */
789
790#ifndef EGL_NV_native_query
791#define EGL_NV_native_query 1
792typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEDISPLAYNVPROC) (EGLDisplay dpy, EGLNativeDisplayType *display_id);
793typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEWINDOWNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window);
794typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap);
795#ifdef EGL_EGLEXT_PROTOTYPES
796EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeDisplayNV (EGLDisplay dpy, EGLNativeDisplayType *display_id);
797EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window);
798EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap);
799#endif
800#endif /* EGL_NV_native_query */
801
802#ifndef EGL_NV_post_convert_rounding
803#define EGL_NV_post_convert_rounding 1
804#endif /* EGL_NV_post_convert_rounding */
805
806#ifndef EGL_NV_post_sub_buffer
807#define EGL_NV_post_sub_buffer 1
808#define EGL_POST_SUB_BUFFER_SUPPORTED_NV 0x30BE
809typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
810#ifdef EGL_EGLEXT_PROTOTYPES
811EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
812#endif
813#endif /* EGL_NV_post_sub_buffer */
814
815#ifndef EGL_NV_stream_sync
816#define EGL_NV_stream_sync 1
817#define EGL_SYNC_NEW_FRAME_NV 0x321F
818typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESTREAMSYNCNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list);
819#ifdef EGL_EGLEXT_PROTOTYPES
820EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateStreamSyncNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list);
821#endif
822#endif /* EGL_NV_stream_sync */
823
824#ifndef EGL_NV_sync
825#define EGL_NV_sync 1
826typedef void *EGLSyncNV;
827typedef khronos_utime_nanoseconds_t EGLTimeNV;
828#ifdef KHRONOS_SUPPORT_INT64
829#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV 0x30E6
830#define EGL_SYNC_STATUS_NV 0x30E7
831#define EGL_SIGNALED_NV 0x30E8
832#define EGL_UNSIGNALED_NV 0x30E9
833#define EGL_SYNC_FLUSH_COMMANDS_BIT_NV 0x0001
834#define EGL_FOREVER_NV 0xFFFFFFFFFFFFFFFFull
835#define EGL_ALREADY_SIGNALED_NV 0x30EA
836#define EGL_TIMEOUT_EXPIRED_NV 0x30EB
837#define EGL_CONDITION_SATISFIED_NV 0x30EC
838#define EGL_SYNC_TYPE_NV 0x30ED
839#define EGL_SYNC_CONDITION_NV 0x30EE
840#define EGL_SYNC_FENCE_NV 0x30EF
841#define EGL_NO_SYNC_NV ((EGLSyncNV)0)
842typedef EGLSyncNV (EGLAPIENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
843typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCNVPROC) (EGLSyncNV sync);
844typedef EGLBoolean (EGLAPIENTRYP PFNEGLFENCENVPROC) (EGLSyncNV sync);
845typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
846typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV sync, EGLenum mode);
847typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLint *value);
848#ifdef EGL_EGLEXT_PROTOTYPES
849EGLAPI EGLSyncNV EGLAPIENTRY eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
850EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncNV (EGLSyncNV sync);
851EGLAPI EGLBoolean EGLAPIENTRY eglFenceNV (EGLSyncNV sync);
852EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
853EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncNV (EGLSyncNV sync, EGLenum mode);
854EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint *value);
855#endif
856#endif /* KHRONOS_SUPPORT_INT64 */
857#endif /* EGL_NV_sync */
858
859#ifndef EGL_NV_system_time
860#define EGL_NV_system_time 1
861typedef khronos_utime_nanoseconds_t EGLuint64NV;
862#ifdef KHRONOS_SUPPORT_INT64
863typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC) (void);
864typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC) (void);
865#ifdef EGL_EGLEXT_PROTOTYPES
866EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV (void);
867EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void);
868#endif
869#endif /* KHRONOS_SUPPORT_INT64 */
870#endif /* EGL_NV_system_time */
871
872#ifndef EGL_TIZEN_image_native_buffer
873#define EGL_TIZEN_image_native_buffer 1
874#define EGL_NATIVE_BUFFER_TIZEN 0x32A0
875#endif /* EGL_TIZEN_image_native_buffer */
876
877#ifndef EGL_TIZEN_image_native_surface
878#define EGL_TIZEN_image_native_surface 1
879#define EGL_NATIVE_SURFACE_TIZEN 0x32A1
880#endif /* EGL_TIZEN_image_native_surface */
881
882#include <EGL/eglmesaext.h>
883#include <EGL/eglextchromium.h>
884
885#ifdef __cplusplus
886}
887#endif
888
889#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette