diff options
Diffstat (limited to 'recipes/opengldummy/files/headers/EGL/eglext.h')
-rw-r--r-- | recipes/opengldummy/files/headers/EGL/eglext.h | 628 |
1 files changed, 628 insertions, 0 deletions
diff --git a/recipes/opengldummy/files/headers/EGL/eglext.h b/recipes/opengldummy/files/headers/EGL/eglext.h new file mode 100644 index 0000000..a392b31 --- /dev/null +++ b/recipes/opengldummy/files/headers/EGL/eglext.h | |||
@@ -0,0 +1,628 @@ | |||
1 | #ifndef __eglext_h_ | ||
2 | #define __eglext_h_ 1 | ||
3 | |||
4 | #ifdef __cplusplus | ||
5 | extern "C" { | ||
6 | #endif | ||
7 | |||
8 | /* | ||
9 | ** Copyright (c) 2013 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: 23535 $ on $Date: 2013-10-16 10:29:40 -0700 (Wed, 16 Oct 2013) $ | ||
37 | */ | ||
38 | |||
39 | #include <EGL/eglplatform.h> | ||
40 | |||
41 | #define EGL_EGLEXT_VERSION 20131016 | ||
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_client_get_all_proc_addresses | ||
60 | #define EGL_KHR_client_get_all_proc_addresses 1 | ||
61 | #endif /* EGL_KHR_client_get_all_proc_addresses */ | ||
62 | |||
63 | #ifndef EGL_KHR_config_attribs | ||
64 | #define EGL_KHR_config_attribs 1 | ||
65 | #define EGL_CONFORMANT_KHR 0x3042 | ||
66 | #define EGL_VG_COLORSPACE_LINEAR_BIT_KHR 0x0020 | ||
67 | #define EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR 0x0040 | ||
68 | #endif /* EGL_KHR_config_attribs */ | ||
69 | |||
70 | #ifndef EGL_KHR_create_context | ||
71 | #define EGL_KHR_create_context 1 | ||
72 | #define EGL_CONTEXT_MAJOR_VERSION_KHR 0x3098 | ||
73 | #define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB | ||
74 | #define EGL_CONTEXT_FLAGS_KHR 0x30FC | ||
75 | #define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD | ||
76 | #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD | ||
77 | #define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE | ||
78 | #define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF | ||
79 | #define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001 | ||
80 | #define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002 | ||
81 | #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 | ||
82 | #define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 | ||
83 | #define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 | ||
84 | #define EGL_OPENGL_ES3_BIT_KHR 0x00000040 | ||
85 | #endif /* EGL_KHR_create_context */ | ||
86 | |||
87 | #ifndef EGL_KHR_fence_sync | ||
88 | #define EGL_KHR_fence_sync 1 | ||
89 | #ifdef KHRONOS_SUPPORT_INT64 | ||
90 | #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0x30F0 | ||
91 | #define EGL_SYNC_CONDITION_KHR 0x30F8 | ||
92 | #define EGL_SYNC_FENCE_KHR 0x30F9 | ||
93 | #endif /* KHRONOS_SUPPORT_INT64 */ | ||
94 | #endif /* EGL_KHR_fence_sync */ | ||
95 | |||
96 | #ifndef EGL_KHR_get_all_proc_addresses | ||
97 | #define EGL_KHR_get_all_proc_addresses 1 | ||
98 | #endif /* EGL_KHR_get_all_proc_addresses */ | ||
99 | |||
100 | #ifndef EGL_KHR_gl_renderbuffer_image | ||
101 | #define EGL_KHR_gl_renderbuffer_image 1 | ||
102 | #define EGL_GL_RENDERBUFFER_KHR 0x30B9 | ||
103 | #endif /* EGL_KHR_gl_renderbuffer_image */ | ||
104 | |||
105 | #ifndef EGL_KHR_gl_texture_2D_image | ||
106 | #define EGL_KHR_gl_texture_2D_image 1 | ||
107 | #define EGL_GL_TEXTURE_2D_KHR 0x30B1 | ||
108 | #define EGL_GL_TEXTURE_LEVEL_KHR 0x30BC | ||
109 | #endif /* EGL_KHR_gl_texture_2D_image */ | ||
110 | |||
111 | #ifndef EGL_KHR_gl_texture_3D_image | ||
112 | #define EGL_KHR_gl_texture_3D_image 1 | ||
113 | #define EGL_GL_TEXTURE_3D_KHR 0x30B2 | ||
114 | #define EGL_GL_TEXTURE_ZOFFSET_KHR 0x30BD | ||
115 | #endif /* EGL_KHR_gl_texture_3D_image */ | ||
116 | |||
117 | #ifndef EGL_KHR_gl_texture_cubemap_image | ||
118 | #define EGL_KHR_gl_texture_cubemap_image 1 | ||
119 | #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR 0x30B3 | ||
120 | #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR 0x30B4 | ||
121 | #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR 0x30B5 | ||
122 | #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR 0x30B6 | ||
123 | #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR 0x30B7 | ||
124 | #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR 0x30B8 | ||
125 | #endif /* EGL_KHR_gl_texture_cubemap_image */ | ||
126 | |||
127 | #ifndef EGL_KHR_image | ||
128 | #define EGL_KHR_image 1 | ||
129 | typedef void *EGLImageKHR; | ||
130 | #define EGL_NATIVE_PIXMAP_KHR 0x30B0 | ||
131 | #define EGL_NO_IMAGE_KHR ((EGLImageKHR)0) | ||
132 | typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); | ||
133 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); | ||
134 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
135 | EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); | ||
136 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image); | ||
137 | #endif | ||
138 | #endif /* EGL_KHR_image */ | ||
139 | |||
140 | #ifndef EGL_KHR_image_base | ||
141 | #define EGL_KHR_image_base 1 | ||
142 | #define EGL_IMAGE_PRESERVED_KHR 0x30D2 | ||
143 | #endif /* EGL_KHR_image_base */ | ||
144 | |||
145 | #ifndef EGL_KHR_image_pixmap | ||
146 | #define EGL_KHR_image_pixmap 1 | ||
147 | #endif /* EGL_KHR_image_pixmap */ | ||
148 | |||
149 | #ifndef EGL_KHR_lock_surface | ||
150 | #define EGL_KHR_lock_surface 1 | ||
151 | #define EGL_READ_SURFACE_BIT_KHR 0x0001 | ||
152 | #define EGL_WRITE_SURFACE_BIT_KHR 0x0002 | ||
153 | #define EGL_LOCK_SURFACE_BIT_KHR 0x0080 | ||
154 | #define EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100 | ||
155 | #define EGL_MATCH_FORMAT_KHR 0x3043 | ||
156 | #define EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0 | ||
157 | #define EGL_FORMAT_RGB_565_KHR 0x30C1 | ||
158 | #define EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2 | ||
159 | #define EGL_FORMAT_RGBA_8888_KHR 0x30C3 | ||
160 | #define EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4 | ||
161 | #define EGL_LOCK_USAGE_HINT_KHR 0x30C5 | ||
162 | #define EGL_BITMAP_POINTER_KHR 0x30C6 | ||
163 | #define EGL_BITMAP_PITCH_KHR 0x30C7 | ||
164 | #define EGL_BITMAP_ORIGIN_KHR 0x30C8 | ||
165 | #define EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9 | ||
166 | #define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA | ||
167 | #define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB | ||
168 | #define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC | ||
169 | #define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD | ||
170 | #define EGL_LOWER_LEFT_KHR 0x30CE | ||
171 | #define EGL_UPPER_LEFT_KHR 0x30CF | ||
172 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); | ||
173 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface); | ||
174 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
175 | EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); | ||
176 | EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay display, EGLSurface surface); | ||
177 | #endif | ||
178 | #endif /* EGL_KHR_lock_surface */ | ||
179 | |||
180 | #ifndef EGL_KHR_lock_surface2 | ||
181 | #define EGL_KHR_lock_surface2 1 | ||
182 | #define EGL_BITMAP_PIXEL_SIZE_KHR 0x3110 | ||
183 | #endif /* EGL_KHR_lock_surface2 */ | ||
184 | |||
185 | #ifndef EGL_KHR_reusable_sync | ||
186 | #define EGL_KHR_reusable_sync 1 | ||
187 | typedef void *EGLSyncKHR; | ||
188 | typedef khronos_utime_nanoseconds_t EGLTimeKHR; | ||
189 | #ifdef KHRONOS_SUPPORT_INT64 | ||
190 | #define EGL_SYNC_STATUS_KHR 0x30F1 | ||
191 | #define EGL_SIGNALED_KHR 0x30F2 | ||
192 | #define EGL_UNSIGNALED_KHR 0x30F3 | ||
193 | #define EGL_TIMEOUT_EXPIRED_KHR 0x30F5 | ||
194 | #define EGL_CONDITION_SATISFIED_KHR 0x30F6 | ||
195 | #define EGL_SYNC_TYPE_KHR 0x30F7 | ||
196 | #define EGL_SYNC_REUSABLE_KHR 0x30FA | ||
197 | #define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001 | ||
198 | #define EGL_FOREVER_KHR 0xFFFFFFFFFFFFFFFFull | ||
199 | #define EGL_NO_SYNC_KHR ((EGLSyncKHR)0) | ||
200 | typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); | ||
201 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync); | ||
202 | typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); | ||
203 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); | ||
204 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); | ||
205 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
206 | EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); | ||
207 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync); | ||
208 | EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); | ||
209 | EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); | ||
210 | EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); | ||
211 | #endif | ||
212 | #endif /* KHRONOS_SUPPORT_INT64 */ | ||
213 | #endif /* EGL_KHR_reusable_sync */ | ||
214 | |||
215 | #ifndef EGL_KHR_stream | ||
216 | #define EGL_KHR_stream 1 | ||
217 | typedef void *EGLStreamKHR; | ||
218 | typedef khronos_uint64_t EGLuint64KHR; | ||
219 | #ifdef KHRONOS_SUPPORT_INT64 | ||
220 | #define EGL_NO_STREAM_KHR ((EGLStreamKHR)0) | ||
221 | #define EGL_CONSUMER_LATENCY_USEC_KHR 0x3210 | ||
222 | #define EGL_PRODUCER_FRAME_KHR 0x3212 | ||
223 | #define EGL_CONSUMER_FRAME_KHR 0x3213 | ||
224 | #define EGL_STREAM_STATE_KHR 0x3214 | ||
225 | #define EGL_STREAM_STATE_CREATED_KHR 0x3215 | ||
226 | #define EGL_STREAM_STATE_CONNECTING_KHR 0x3216 | ||
227 | #define EGL_STREAM_STATE_EMPTY_KHR 0x3217 | ||
228 | #define EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR 0x3218 | ||
229 | #define EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR 0x3219 | ||
230 | #define EGL_STREAM_STATE_DISCONNECTED_KHR 0x321A | ||
231 | #define EGL_BAD_STREAM_KHR 0x321B | ||
232 | #define EGL_BAD_STATE_KHR 0x321C | ||
233 | typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMKHRPROC) (EGLDisplay dpy, const EGLint *attrib_list); | ||
234 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); | ||
235 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value); | ||
236 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value); | ||
237 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMU64KHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value); | ||
238 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
239 | EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamKHR (EGLDisplay dpy, const EGLint *attrib_list); | ||
240 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream); | ||
241 | EGLAPI EGLBoolean EGLAPIENTRY eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value); | ||
242 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value); | ||
243 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value); | ||
244 | #endif | ||
245 | #endif /* KHRONOS_SUPPORT_INT64 */ | ||
246 | #endif /* EGL_KHR_stream */ | ||
247 | |||
248 | #ifndef EGL_KHR_stream_consumer_gltexture | ||
249 | #define EGL_KHR_stream_consumer_gltexture 1 | ||
250 | #ifdef EGL_KHR_stream | ||
251 | #define EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR 0x321E | ||
252 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); | ||
253 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); | ||
254 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERRELEASEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); | ||
255 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
256 | EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalKHR (EGLDisplay dpy, EGLStreamKHR stream); | ||
257 | EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireKHR (EGLDisplay dpy, EGLStreamKHR stream); | ||
258 | EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLStreamKHR stream); | ||
259 | #endif | ||
260 | #endif /* EGL_KHR_stream */ | ||
261 | #endif /* EGL_KHR_stream_consumer_gltexture */ | ||
262 | |||
263 | #ifndef EGL_KHR_stream_cross_process_fd | ||
264 | #define EGL_KHR_stream_cross_process_fd 1 | ||
265 | typedef int EGLNativeFileDescriptorKHR; | ||
266 | #ifdef EGL_KHR_stream | ||
267 | #define EGL_NO_FILE_DESCRIPTOR_KHR ((EGLNativeFileDescriptorKHR)(-1)) | ||
268 | typedef EGLNativeFileDescriptorKHR (EGLAPIENTRYP PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); | ||
269 | typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); | ||
270 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
271 | EGLAPI EGLNativeFileDescriptorKHR EGLAPIENTRY eglGetStreamFileDescriptorKHR (EGLDisplay dpy, EGLStreamKHR stream); | ||
272 | EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); | ||
273 | #endif | ||
274 | #endif /* EGL_KHR_stream */ | ||
275 | #endif /* EGL_KHR_stream_cross_process_fd */ | ||
276 | |||
277 | #ifndef EGL_KHR_stream_fifo | ||
278 | #define EGL_KHR_stream_fifo 1 | ||
279 | #ifdef EGL_KHR_stream | ||
280 | #define EGL_STREAM_FIFO_LENGTH_KHR 0x31FC | ||
281 | #define EGL_STREAM_TIME_NOW_KHR 0x31FD | ||
282 | #define EGL_STREAM_TIME_CONSUMER_KHR 0x31FE | ||
283 | #define EGL_STREAM_TIME_PRODUCER_KHR 0x31FF | ||
284 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMTIMEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value); | ||
285 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
286 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamTimeKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value); | ||
287 | #endif | ||
288 | #endif /* EGL_KHR_stream */ | ||
289 | #endif /* EGL_KHR_stream_fifo */ | ||
290 | |||
291 | #ifndef EGL_KHR_stream_producer_aldatalocator | ||
292 | #define EGL_KHR_stream_producer_aldatalocator 1 | ||
293 | #ifdef EGL_KHR_stream | ||
294 | #endif /* EGL_KHR_stream */ | ||
295 | #endif /* EGL_KHR_stream_producer_aldatalocator */ | ||
296 | |||
297 | #ifndef EGL_KHR_stream_producer_eglsurface | ||
298 | #define EGL_KHR_stream_producer_eglsurface 1 | ||
299 | #ifdef EGL_KHR_stream | ||
300 | #define EGL_STREAM_BIT_KHR 0x0800 | ||
301 | typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC) (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list); | ||
302 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
303 | EGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list); | ||
304 | #endif | ||
305 | #endif /* EGL_KHR_stream */ | ||
306 | #endif /* EGL_KHR_stream_producer_eglsurface */ | ||
307 | |||
308 | #ifndef EGL_KHR_surfaceless_context | ||
309 | #define EGL_KHR_surfaceless_context 1 | ||
310 | #endif /* EGL_KHR_surfaceless_context */ | ||
311 | |||
312 | #ifndef EGL_KHR_vg_parent_image | ||
313 | #define EGL_KHR_vg_parent_image 1 | ||
314 | #define EGL_VG_PARENT_IMAGE_KHR 0x30BA | ||
315 | #endif /* EGL_KHR_vg_parent_image */ | ||
316 | |||
317 | #ifndef EGL_KHR_wait_sync | ||
318 | #define EGL_KHR_wait_sync 1 | ||
319 | typedef EGLint (EGLAPIENTRYP PFNEGLWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); | ||
320 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
321 | EGLAPI EGLint EGLAPIENTRY eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); | ||
322 | #endif | ||
323 | #endif /* EGL_KHR_wait_sync */ | ||
324 | |||
325 | #ifndef EGL_ANDROID_blob_cache | ||
326 | #define EGL_ANDROID_blob_cache 1 | ||
327 | typedef khronos_ssize_t EGLsizeiANDROID; | ||
328 | typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize); | ||
329 | typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize); | ||
330 | typedef void (EGLAPIENTRYP PFNEGLSETBLOBCACHEFUNCSANDROIDPROC) (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); | ||
331 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
332 | EGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); | ||
333 | #endif | ||
334 | #endif /* EGL_ANDROID_blob_cache */ | ||
335 | |||
336 | #ifndef EGL_ANDROID_framebuffer_target | ||
337 | #define EGL_ANDROID_framebuffer_target 1 | ||
338 | #define EGL_FRAMEBUFFER_TARGET_ANDROID 0x3147 | ||
339 | #endif /* EGL_ANDROID_framebuffer_target */ | ||
340 | |||
341 | #ifndef EGL_ANDROID_image_native_buffer | ||
342 | #define EGL_ANDROID_image_native_buffer 1 | ||
343 | #define EGL_NATIVE_BUFFER_ANDROID 0x3140 | ||
344 | #endif /* EGL_ANDROID_image_native_buffer */ | ||
345 | |||
346 | #ifndef EGL_ANDROID_native_fence_sync | ||
347 | #define EGL_ANDROID_native_fence_sync 1 | ||
348 | #define EGL_SYNC_NATIVE_FENCE_ANDROID 0x3144 | ||
349 | #define EGL_SYNC_NATIVE_FENCE_FD_ANDROID 0x3145 | ||
350 | #define EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID 0x3146 | ||
351 | #define EGL_NO_NATIVE_FENCE_FD_ANDROID -1 | ||
352 | typedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC) (EGLDisplay dpy, EGLSyncKHR sync); | ||
353 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
354 | EGLAPI EGLint EGLAPIENTRY eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR sync); | ||
355 | #endif | ||
356 | #endif /* EGL_ANDROID_native_fence_sync */ | ||
357 | |||
358 | #ifndef EGL_ANDROID_recordable | ||
359 | #define EGL_ANDROID_recordable 1 | ||
360 | #define EGL_RECORDABLE_ANDROID 0x3142 | ||
361 | #endif /* EGL_ANDROID_recordable */ | ||
362 | |||
363 | #ifndef EGL_ANGLE_d3d_share_handle_client_buffer | ||
364 | #define EGL_ANGLE_d3d_share_handle_client_buffer 1 | ||
365 | #define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200 | ||
366 | #endif /* EGL_ANGLE_d3d_share_handle_client_buffer */ | ||
367 | |||
368 | #ifndef EGL_ANGLE_query_surface_pointer | ||
369 | #define EGL_ANGLE_query_surface_pointer 1 | ||
370 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value); | ||
371 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
372 | EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value); | ||
373 | #endif | ||
374 | #endif /* EGL_ANGLE_query_surface_pointer */ | ||
375 | |||
376 | #ifndef EGL_ANGLE_surface_d3d_texture_2d_share_handle | ||
377 | #define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1 | ||
378 | #endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */ | ||
379 | |||
380 | #ifndef EGL_ARM_pixmap_multisample_discard | ||
381 | #define EGL_ARM_pixmap_multisample_discard 1 | ||
382 | #define EGL_DISCARD_SAMPLES_ARM 0x3286 | ||
383 | #endif /* EGL_ARM_pixmap_multisample_discard */ | ||
384 | |||
385 | #ifndef EGL_EXT_buffer_age | ||
386 | #define EGL_EXT_buffer_age 1 | ||
387 | #define EGL_BUFFER_AGE_EXT 0x313D | ||
388 | #endif /* EGL_EXT_buffer_age */ | ||
389 | |||
390 | #ifndef EGL_EXT_client_extensions | ||
391 | #define EGL_EXT_client_extensions 1 | ||
392 | #endif /* EGL_EXT_client_extensions */ | ||
393 | |||
394 | #ifndef EGL_EXT_create_context_robustness | ||
395 | #define EGL_EXT_create_context_robustness 1 | ||
396 | #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF | ||
397 | #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138 | ||
398 | #define EGL_NO_RESET_NOTIFICATION_EXT 0x31BE | ||
399 | #define EGL_LOSE_CONTEXT_ON_RESET_EXT 0x31BF | ||
400 | #endif /* EGL_EXT_create_context_robustness */ | ||
401 | |||
402 | #ifndef EGL_EXT_image_dma_buf_import | ||
403 | #define EGL_EXT_image_dma_buf_import 1 | ||
404 | #define EGL_LINUX_DMA_BUF_EXT 0x3270 | ||
405 | #define EGL_LINUX_DRM_FOURCC_EXT 0x3271 | ||
406 | #define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272 | ||
407 | #define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273 | ||
408 | #define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274 | ||
409 | #define EGL_DMA_BUF_PLANE1_FD_EXT 0x3275 | ||
410 | #define EGL_DMA_BUF_PLANE1_OFFSET_EXT 0x3276 | ||
411 | #define EGL_DMA_BUF_PLANE1_PITCH_EXT 0x3277 | ||
412 | #define EGL_DMA_BUF_PLANE2_FD_EXT 0x3278 | ||
413 | #define EGL_DMA_BUF_PLANE2_OFFSET_EXT 0x3279 | ||
414 | #define EGL_DMA_BUF_PLANE2_PITCH_EXT 0x327A | ||
415 | #define EGL_YUV_COLOR_SPACE_HINT_EXT 0x327B | ||
416 | #define EGL_SAMPLE_RANGE_HINT_EXT 0x327C | ||
417 | #define EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT 0x327D | ||
418 | #define EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT 0x327E | ||
419 | #define EGL_ITU_REC601_EXT 0x327F | ||
420 | #define EGL_ITU_REC709_EXT 0x3280 | ||
421 | #define EGL_ITU_REC2020_EXT 0x3281 | ||
422 | #define EGL_YUV_FULL_RANGE_EXT 0x3282 | ||
423 | #define EGL_YUV_NARROW_RANGE_EXT 0x3283 | ||
424 | #define EGL_YUV_CHROMA_SITING_0_EXT 0x3284 | ||
425 | #define EGL_YUV_CHROMA_SITING_0_5_EXT 0x3285 | ||
426 | #endif /* EGL_EXT_image_dma_buf_import */ | ||
427 | |||
428 | #ifndef EGL_EXT_multiview_window | ||
429 | #define EGL_EXT_multiview_window 1 | ||
430 | #define EGL_MULTIVIEW_VIEW_COUNT_EXT 0x3134 | ||
431 | #endif /* EGL_EXT_multiview_window */ | ||
432 | |||
433 | #ifndef EGL_EXT_platform_base | ||
434 | #define EGL_EXT_platform_base 1 | ||
435 | typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC) (EGLenum platform, void *native_display, const EGLint *attrib_list); | ||
436 | typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list); | ||
437 | typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list); | ||
438 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
439 | EGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplayEXT (EGLenum platform, void *native_display, const EGLint *attrib_list); | ||
440 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list); | ||
441 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list); | ||
442 | #endif | ||
443 | #endif /* EGL_EXT_platform_base */ | ||
444 | |||
445 | #ifndef EGL_EXT_platform_wayland | ||
446 | #define EGL_EXT_platform_wayland 1 | ||
447 | #define EGL_PLATFORM_WAYLAND_EXT 0x31D8 | ||
448 | #endif /* EGL_EXT_platform_wayland */ | ||
449 | |||
450 | #ifndef EGL_EXT_platform_x11 | ||
451 | #define EGL_EXT_platform_x11 1 | ||
452 | #define EGL_PLATFORM_X11_EXT 0x31D5 | ||
453 | #define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6 | ||
454 | #endif /* EGL_EXT_platform_x11 */ | ||
455 | |||
456 | #ifndef EGL_EXT_swap_buffers_with_damage | ||
457 | #define EGL_EXT_swap_buffers_with_damage 1 | ||
458 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); | ||
459 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
460 | EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); | ||
461 | #endif | ||
462 | #endif /* EGL_EXT_swap_buffers_with_damage */ | ||
463 | |||
464 | #ifndef EGL_HI_clientpixmap | ||
465 | #define EGL_HI_clientpixmap 1 | ||
466 | struct EGLClientPixmapHI { | ||
467 | void *pData; | ||
468 | EGLint iWidth; | ||
469 | EGLint iHeight; | ||
470 | EGLint iStride; | ||
471 | }; | ||
472 | #define EGL_CLIENT_PIXMAP_POINTER_HI 0x8F74 | ||
473 | typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap); | ||
474 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
475 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap); | ||
476 | #endif | ||
477 | #endif /* EGL_HI_clientpixmap */ | ||
478 | |||
479 | #ifndef EGL_HI_colorformats | ||
480 | #define EGL_HI_colorformats 1 | ||
481 | #define EGL_COLOR_FORMAT_HI 0x8F70 | ||
482 | #define EGL_COLOR_RGB_HI 0x8F71 | ||
483 | #define EGL_COLOR_RGBA_HI 0x8F72 | ||
484 | #define EGL_COLOR_ARGB_HI 0x8F73 | ||
485 | #endif /* EGL_HI_colorformats */ | ||
486 | |||
487 | #ifndef EGL_IMG_context_priority | ||
488 | #define EGL_IMG_context_priority 1 | ||
489 | #define EGL_CONTEXT_PRIORITY_LEVEL_IMG 0x3100 | ||
490 | #define EGL_CONTEXT_PRIORITY_HIGH_IMG 0x3101 | ||
491 | #define EGL_CONTEXT_PRIORITY_MEDIUM_IMG 0x3102 | ||
492 | #define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103 | ||
493 | #endif /* EGL_IMG_context_priority */ | ||
494 | |||
495 | #ifndef EGL_MESA_drm_image | ||
496 | #define EGL_MESA_drm_image 1 | ||
497 | #define EGL_DRM_BUFFER_FORMAT_MESA 0x31D0 | ||
498 | #define EGL_DRM_BUFFER_USE_MESA 0x31D1 | ||
499 | #define EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2 | ||
500 | #define EGL_DRM_BUFFER_MESA 0x31D3 | ||
501 | #define EGL_DRM_BUFFER_STRIDE_MESA 0x31D4 | ||
502 | #define EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x00000001 | ||
503 | #define EGL_DRM_BUFFER_USE_SHARE_MESA 0x00000002 | ||
504 | typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay dpy, const EGLint *attrib_list); | ||
505 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDRMIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride); | ||
506 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
507 | EGLAPI EGLImageKHR EGLAPIENTRY eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint *attrib_list); | ||
508 | EGLAPI EGLBoolean EGLAPIENTRY eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride); | ||
509 | #endif | ||
510 | #endif /* EGL_MESA_drm_image */ | ||
511 | |||
512 | #ifndef EGL_MESA_platform_gbm | ||
513 | #define EGL_MESA_platform_gbm 1 | ||
514 | #define EGL_PLATFORM_GBM_MESA 0x31D7 | ||
515 | #endif /* EGL_MESA_platform_gbm */ | ||
516 | |||
517 | #ifndef EGL_NV_3dvision_surface | ||
518 | #define EGL_NV_3dvision_surface 1 | ||
519 | #define EGL_AUTO_STEREO_NV 0x3136 | ||
520 | #endif /* EGL_NV_3dvision_surface */ | ||
521 | |||
522 | #ifndef EGL_NV_coverage_sample | ||
523 | #define EGL_NV_coverage_sample 1 | ||
524 | #define EGL_COVERAGE_BUFFERS_NV 0x30E0 | ||
525 | #define EGL_COVERAGE_SAMPLES_NV 0x30E1 | ||
526 | #endif /* EGL_NV_coverage_sample */ | ||
527 | |||
528 | #ifndef EGL_NV_coverage_sample_resolve | ||
529 | #define EGL_NV_coverage_sample_resolve 1 | ||
530 | #define EGL_COVERAGE_SAMPLE_RESOLVE_NV 0x3131 | ||
531 | #define EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV 0x3132 | ||
532 | #define EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV 0x3133 | ||
533 | #endif /* EGL_NV_coverage_sample_resolve */ | ||
534 | |||
535 | #ifndef EGL_NV_depth_nonlinear | ||
536 | #define EGL_NV_depth_nonlinear 1 | ||
537 | #define EGL_DEPTH_ENCODING_NV 0x30E2 | ||
538 | #define EGL_DEPTH_ENCODING_NONE_NV 0 | ||
539 | #define EGL_DEPTH_ENCODING_NONLINEAR_NV 0x30E3 | ||
540 | #endif /* EGL_NV_depth_nonlinear */ | ||
541 | |||
542 | #ifndef EGL_NV_native_query | ||
543 | #define EGL_NV_native_query 1 | ||
544 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEDISPLAYNVPROC) (EGLDisplay dpy, EGLNativeDisplayType *display_id); | ||
545 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEWINDOWNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window); | ||
546 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap); | ||
547 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
548 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeDisplayNV (EGLDisplay dpy, EGLNativeDisplayType *display_id); | ||
549 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window); | ||
550 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap); | ||
551 | #endif | ||
552 | #endif /* EGL_NV_native_query */ | ||
553 | |||
554 | #ifndef EGL_NV_post_convert_rounding | ||
555 | #define EGL_NV_post_convert_rounding 1 | ||
556 | #endif /* EGL_NV_post_convert_rounding */ | ||
557 | |||
558 | #ifndef EGL_NV_post_sub_buffer | ||
559 | #define EGL_NV_post_sub_buffer 1 | ||
560 | #define EGL_POST_SUB_BUFFER_SUPPORTED_NV 0x30BE | ||
561 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); | ||
562 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
563 | EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); | ||
564 | #endif | ||
565 | #endif /* EGL_NV_post_sub_buffer */ | ||
566 | |||
567 | #ifndef EGL_NV_stream_sync | ||
568 | #define EGL_NV_stream_sync 1 | ||
569 | #define EGL_SYNC_NEW_FRAME_NV 0x321F | ||
570 | typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESTREAMSYNCNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list); | ||
571 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
572 | EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateStreamSyncNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list); | ||
573 | #endif | ||
574 | #endif /* EGL_NV_stream_sync */ | ||
575 | |||
576 | #ifndef EGL_NV_sync | ||
577 | #define EGL_NV_sync 1 | ||
578 | typedef void *EGLSyncNV; | ||
579 | typedef khronos_utime_nanoseconds_t EGLTimeNV; | ||
580 | #ifdef KHRONOS_SUPPORT_INT64 | ||
581 | #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV 0x30E6 | ||
582 | #define EGL_SYNC_STATUS_NV 0x30E7 | ||
583 | #define EGL_SIGNALED_NV 0x30E8 | ||
584 | #define EGL_UNSIGNALED_NV 0x30E9 | ||
585 | #define EGL_SYNC_FLUSH_COMMANDS_BIT_NV 0x0001 | ||
586 | #define EGL_FOREVER_NV 0xFFFFFFFFFFFFFFFFull | ||
587 | #define EGL_ALREADY_SIGNALED_NV 0x30EA | ||
588 | #define EGL_TIMEOUT_EXPIRED_NV 0x30EB | ||
589 | #define EGL_CONDITION_SATISFIED_NV 0x30EC | ||
590 | #define EGL_SYNC_TYPE_NV 0x30ED | ||
591 | #define EGL_SYNC_CONDITION_NV 0x30EE | ||
592 | #define EGL_SYNC_FENCE_NV 0x30EF | ||
593 | #define EGL_NO_SYNC_NV ((EGLSyncNV)0) | ||
594 | typedef EGLSyncNV (EGLAPIENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list); | ||
595 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCNVPROC) (EGLSyncNV sync); | ||
596 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLFENCENVPROC) (EGLSyncNV sync); | ||
597 | typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); | ||
598 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV sync, EGLenum mode); | ||
599 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLint *value); | ||
600 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
601 | EGLAPI EGLSyncNV EGLAPIENTRY eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list); | ||
602 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncNV (EGLSyncNV sync); | ||
603 | EGLAPI EGLBoolean EGLAPIENTRY eglFenceNV (EGLSyncNV sync); | ||
604 | EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); | ||
605 | EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncNV (EGLSyncNV sync, EGLenum mode); | ||
606 | EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint *value); | ||
607 | #endif | ||
608 | #endif /* KHRONOS_SUPPORT_INT64 */ | ||
609 | #endif /* EGL_NV_sync */ | ||
610 | |||
611 | #ifndef EGL_NV_system_time | ||
612 | #define EGL_NV_system_time 1 | ||
613 | typedef khronos_utime_nanoseconds_t EGLuint64NV; | ||
614 | #ifdef KHRONOS_SUPPORT_INT64 | ||
615 | typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC) (void); | ||
616 | typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC) (void); | ||
617 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
618 | EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV (void); | ||
619 | EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void); | ||
620 | #endif | ||
621 | #endif /* KHRONOS_SUPPORT_INT64 */ | ||
622 | #endif /* EGL_NV_system_time */ | ||
623 | |||
624 | #ifdef __cplusplus | ||
625 | } | ||
626 | #endif | ||
627 | |||
628 | #endif | ||