Cleanup: remove compilation warning in previous commit.
[blender-staging.git] / extern / glew / include / GL / eglew.h
1 /*
2 ** The OpenGL Extension Wrangler Library
3 ** Copyright (C) 2008-2015, Nigel Stewart <nigels[]users sourceforge net>
4 ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
5 ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
6 ** Copyright (C) 2002, Lev Povalahev
7 ** All rights reserved.
8 ** 
9 ** Redistribution and use in source and binary forms, with or without 
10 ** modification, are permitted provided that the following conditions are met:
11 ** 
12 ** * Redistributions of source code must retain the above copyright notice, 
13 **   this list of conditions and the following disclaimer.
14 ** * Redistributions in binary form must reproduce the above copyright notice, 
15 **   this list of conditions and the following disclaimer in the documentation 
16 **   and/or other materials provided with the distribution.
17 ** * The name of the author may be used to endorse or promote products 
18 **   derived from this software without specific prior written permission.
19 **
20 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
21 ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
22 ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
24 ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
25 ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
26 ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 ** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 ** THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33 /*
34  * Mesa 3-D graphics library
35  * Version:  7.0
36  *
37  * Copyright (C) 1999-2007  Brian Paul   All Rights Reserved.
38  *
39  * Permission is hereby granted, free of charge, to any person obtaining a
40  * copy of this software and associated documentation files (the "Software"),
41  * to deal in the Software without restriction, including without limitation
42  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
43  * and/or sell copies of the Software, and to permit persons to whom the
44  * Software is furnished to do so, subject to the following conditions:
45  *
46  * The above copyright notice and this permission notice shall be included
47  * in all copies or substantial portions of the Software.
48  *
49  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
50  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
51  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
52  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
53  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
54  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
55  */
56
57 /*
58 ** Copyright (c) 2007 The Khronos Group Inc.
59 ** 
60 ** Permission is hereby granted, free of charge, to any person obtaining a
61 ** copy of this software and/or associated documentation files (the
62 ** "Materials"), to deal in the Materials without restriction, including
63 ** without limitation the rights to use, copy, modify, merge, publish,
64 ** distribute, sublicense, and/or sell copies of the Materials, and to
65 ** permit persons to whom the Materials are furnished to do so, subject to
66 ** the following conditions:
67 ** 
68 ** The above copyright notice and this permission notice shall be included
69 ** in all copies or substantial portions of the Materials.
70 ** 
71 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
72 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
73 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
74 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
75 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
76 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
77 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
78 */
79
80 #ifndef __eglew_h__
81 #define __eglew_h__
82 #define __EGLEW_H__
83
84 #ifdef __eglext_h_
85 #error eglext.h included before eglew.h
86 #endif
87
88 #if defined(__egl_h_)
89 #error egl.h included before eglew.h
90 #endif
91
92 #define __eglext_h_
93
94 #define __egl_h_
95
96 #ifndef EGLAPIENTRY
97 #define EGLAPIENTRY
98 #endif
99 #ifndef EGLAPI
100 #define EGLAPI extern
101 #endif
102
103 /* EGL Types */
104 #include <sys/types.h>
105
106 #include <KHR/khrplatform.h>
107 #include <EGL/eglplatform.h>
108
109 #include <GL/glew.h>
110
111 #ifdef __cplusplus
112 extern "C" {
113 #endif
114
115 typedef int32_t EGLint;
116
117 typedef unsigned int EGLBoolean;
118 typedef void *EGLDisplay;
119 typedef void *EGLConfig;
120 typedef void *EGLSurface;
121 typedef void *EGLContext;
122 typedef void (*__eglMustCastToProperFunctionPointerType)(void);
123
124 typedef unsigned int EGLenum;
125 typedef void *EGLClientBuffer;
126
127 typedef void *EGLSync;
128 typedef intptr_t EGLAttrib;
129 typedef khronos_utime_nanoseconds_t EGLTime;
130 typedef void *EGLImage;
131
132 typedef void *EGLSyncKHR;
133 typedef intptr_t EGLAttribKHR;
134 typedef void *EGLLabelKHR;
135 typedef void *EGLObjectKHR;
136 typedef void (EGLAPIENTRY  *EGLDEBUGPROCKHR)(EGLenum error,const char *command,EGLint messageType,EGLLabelKHR threadLabel,EGLLabelKHR objectLabel,const char* message);
137 typedef khronos_utime_nanoseconds_t EGLTimeKHR;
138 typedef void *EGLImageKHR;
139 typedef void *EGLStreamKHR;
140 typedef khronos_uint64_t EGLuint64KHR;
141 typedef int EGLNativeFileDescriptorKHR;
142 typedef khronos_ssize_t EGLsizeiANDROID;
143 typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize);
144 typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize);
145 typedef void *EGLDeviceEXT;
146 typedef void *EGLOutputLayerEXT;
147 typedef void *EGLOutputPortEXT;
148 typedef void *EGLSyncNV;
149 typedef khronos_utime_nanoseconds_t EGLTimeNV;
150 typedef khronos_utime_nanoseconds_t EGLuint64NV;
151 typedef khronos_stime_nanoseconds_t EGLnsecsANDROID;
152
153 struct EGLClientPixmapHI;
154
155 #define EGL_DONT_CARE                     ((EGLint)-1)
156
157 #define EGL_NO_CONTEXT                    ((EGLContext)0)
158 #define EGL_NO_DISPLAY                    ((EGLDisplay)0)
159 #define EGL_NO_IMAGE                      ((EGLImage)0)
160 #define EGL_NO_SURFACE                    ((EGLSurface)0)
161 #define EGL_NO_SYNC                       ((EGLSync)0)
162
163 #define EGL_UNKNOWN                       ((EGLint)-1)
164
165 #define EGL_DEFAULT_DISPLAY               ((EGLNativeDisplayType)0)
166
167 EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress (const char *procname);
168 /* ---------------------------- EGL_VERSION_1_0 ---------------------------- */
169
170 #ifndef EGL_VERSION_1_0
171 #define EGL_VERSION_1_0 1
172
173 #define EGL_FALSE 0
174 #define EGL_PBUFFER_BIT 0x0001
175 #define EGL_TRUE 1
176 #define EGL_PIXMAP_BIT 0x0002
177 #define EGL_WINDOW_BIT 0x0004
178 #define EGL_SUCCESS 0x3000
179 #define EGL_NOT_INITIALIZED 0x3001
180 #define EGL_BAD_ACCESS 0x3002
181 #define EGL_BAD_ALLOC 0x3003
182 #define EGL_BAD_ATTRIBUTE 0x3004
183 #define EGL_BAD_CONFIG 0x3005
184 #define EGL_BAD_CONTEXT 0x3006
185 #define EGL_BAD_CURRENT_SURFACE 0x3007
186 #define EGL_BAD_DISPLAY 0x3008
187 #define EGL_BAD_MATCH 0x3009
188 #define EGL_BAD_NATIVE_PIXMAP 0x300A
189 #define EGL_BAD_NATIVE_WINDOW 0x300B
190 #define EGL_BAD_PARAMETER 0x300C
191 #define EGL_BAD_SURFACE 0x300D
192 #define EGL_BUFFER_SIZE 0x3020
193 #define EGL_ALPHA_SIZE 0x3021
194 #define EGL_BLUE_SIZE 0x3022
195 #define EGL_GREEN_SIZE 0x3023
196 #define EGL_RED_SIZE 0x3024
197 #define EGL_DEPTH_SIZE 0x3025
198 #define EGL_STENCIL_SIZE 0x3026
199 #define EGL_CONFIG_CAVEAT 0x3027
200 #define EGL_CONFIG_ID 0x3028
201 #define EGL_LEVEL 0x3029
202 #define EGL_MAX_PBUFFER_HEIGHT 0x302A
203 #define EGL_MAX_PBUFFER_PIXELS 0x302B
204 #define EGL_MAX_PBUFFER_WIDTH 0x302C
205 #define EGL_NATIVE_RENDERABLE 0x302D
206 #define EGL_NATIVE_VISUAL_ID 0x302E
207 #define EGL_NATIVE_VISUAL_TYPE 0x302F
208 #define EGL_SAMPLES 0x3031
209 #define EGL_SAMPLE_BUFFERS 0x3032
210 #define EGL_SURFACE_TYPE 0x3033
211 #define EGL_TRANSPARENT_TYPE 0x3034
212 #define EGL_TRANSPARENT_BLUE_VALUE 0x3035
213 #define EGL_TRANSPARENT_GREEN_VALUE 0x3036
214 #define EGL_TRANSPARENT_RED_VALUE 0x3037
215 #define EGL_NONE 0x3038
216 #define EGL_SLOW_CONFIG 0x3050
217 #define EGL_NON_CONFORMANT_CONFIG 0x3051
218 #define EGL_TRANSPARENT_RGB 0x3052
219 #define EGL_VENDOR 0x3053
220 #define EGL_VERSION 0x3054
221 #define EGL_EXTENSIONS 0x3055
222 #define EGL_HEIGHT 0x3056
223 #define EGL_WIDTH 0x3057
224 #define EGL_LARGEST_PBUFFER 0x3058
225 #define EGL_DRAW 0x3059
226 #define EGL_READ 0x305A
227 #define EGL_CORE_NATIVE_ENGINE 0x305B
228
229 typedef EGLBoolean  ( * PFNEGLCHOOSECONFIGPROC) (EGLDisplay  dpy, const EGLint * attrib_list, EGLConfig * configs, EGLint  config_size, EGLint * num_config);
230 typedef EGLBoolean  ( * PFNEGLCOPYBUFFERSPROC) (EGLDisplay  dpy, EGLSurface  surface, EGLNativePixmapType  target);
231 typedef EGLContext  ( * PFNEGLCREATECONTEXTPROC) (EGLDisplay  dpy, EGLConfig  config, EGLContext  share_context, const EGLint * attrib_list);
232 typedef EGLSurface  ( * PFNEGLCREATEPBUFFERSURFACEPROC) (EGLDisplay  dpy, EGLConfig  config, const EGLint * attrib_list);
233 typedef EGLSurface  ( * PFNEGLCREATEPIXMAPSURFACEPROC) (EGLDisplay  dpy, EGLConfig  config, EGLNativePixmapType  pixmap, const EGLint * attrib_list);
234 typedef EGLSurface  ( * PFNEGLCREATEWINDOWSURFACEPROC) (EGLDisplay  dpy, EGLConfig  config, EGLNativeWindowType  win, const EGLint * attrib_list);
235 typedef EGLBoolean  ( * PFNEGLDESTROYCONTEXTPROC) (EGLDisplay  dpy, EGLContext  ctx);
236 typedef EGLBoolean  ( * PFNEGLDESTROYSURFACEPROC) (EGLDisplay  dpy, EGLSurface  surface);
237 typedef EGLBoolean  ( * PFNEGLGETCONFIGATTRIBPROC) (EGLDisplay  dpy, EGLConfig  config, EGLint  attribute, EGLint * value);
238 typedef EGLBoolean  ( * PFNEGLGETCONFIGSPROC) (EGLDisplay  dpy, EGLConfig * configs, EGLint  config_size, EGLint * num_config);
239 typedef EGLDisplay  ( * PFNEGLGETCURRENTDISPLAYPROC) ( void );
240 typedef EGLSurface  ( * PFNEGLGETCURRENTSURFACEPROC) (EGLint  readdraw);
241 typedef EGLDisplay  ( * PFNEGLGETDISPLAYPROC) (EGLNativeDisplayType  display_id);
242 typedef EGLint  ( * PFNEGLGETERRORPROC) ( void );
243 typedef EGLBoolean  ( * PFNEGLINITIALIZEPROC) (EGLDisplay  dpy, EGLint * major, EGLint * minor);
244 typedef EGLBoolean  ( * PFNEGLMAKECURRENTPROC) (EGLDisplay  dpy, EGLSurface  draw, EGLSurface  read, EGLContext  ctx);
245 typedef EGLBoolean  ( * PFNEGLQUERYCONTEXTPROC) (EGLDisplay  dpy, EGLContext  ctx, EGLint  attribute, EGLint * value);
246 typedef const char * ( * PFNEGLQUERYSTRINGPROC) (EGLDisplay  dpy, EGLint  name);
247 typedef EGLBoolean  ( * PFNEGLQUERYSURFACEPROC) (EGLDisplay  dpy, EGLSurface  surface, EGLint  attribute, EGLint * value);
248 typedef EGLBoolean  ( * PFNEGLSWAPBUFFERSPROC) (EGLDisplay  dpy, EGLSurface  surface);
249 typedef EGLBoolean  ( * PFNEGLTERMINATEPROC) (EGLDisplay  dpy);
250 typedef EGLBoolean  ( * PFNEGLWAITGLPROC) ( void );
251 typedef EGLBoolean  ( * PFNEGLWAITNATIVEPROC) (EGLint  engine);
252
253 #define eglChooseConfig EGLEW_GET_FUN(__eglewChooseConfig)
254 #define eglCopyBuffers EGLEW_GET_FUN(__eglewCopyBuffers)
255 #define eglCreateContext EGLEW_GET_FUN(__eglewCreateContext)
256 #define eglCreatePbufferSurface EGLEW_GET_FUN(__eglewCreatePbufferSurface)
257 #define eglCreatePixmapSurface EGLEW_GET_FUN(__eglewCreatePixmapSurface)
258 #define eglCreateWindowSurface EGLEW_GET_FUN(__eglewCreateWindowSurface)
259 #define eglDestroyContext EGLEW_GET_FUN(__eglewDestroyContext)
260 #define eglDestroySurface EGLEW_GET_FUN(__eglewDestroySurface)
261 #define eglGetConfigAttrib EGLEW_GET_FUN(__eglewGetConfigAttrib)
262 #define eglGetConfigs EGLEW_GET_FUN(__eglewGetConfigs)
263 #define eglGetCurrentDisplay EGLEW_GET_FUN(__eglewGetCurrentDisplay)
264 #define eglGetCurrentSurface EGLEW_GET_FUN(__eglewGetCurrentSurface)
265 #define eglGetDisplay EGLEW_GET_FUN(__eglewGetDisplay)
266 #define eglGetError EGLEW_GET_FUN(__eglewGetError)
267 #define eglInitialize EGLEW_GET_FUN(__eglewInitialize)
268 #define eglMakeCurrent EGLEW_GET_FUN(__eglewMakeCurrent)
269 #define eglQueryContext EGLEW_GET_FUN(__eglewQueryContext)
270 #define eglQueryString EGLEW_GET_FUN(__eglewQueryString)
271 #define eglQuerySurface EGLEW_GET_FUN(__eglewQuerySurface)
272 #define eglSwapBuffers EGLEW_GET_FUN(__eglewSwapBuffers)
273 #define eglTerminate EGLEW_GET_FUN(__eglewTerminate)
274 #define eglWaitGL EGLEW_GET_FUN(__eglewWaitGL)
275 #define eglWaitNative EGLEW_GET_FUN(__eglewWaitNative)
276
277 #define EGLEW_VERSION_1_0 EGLEW_GET_VAR(__EGLEW_VERSION_1_0)
278
279 #endif /* EGL_VERSION_1_0 */
280
281 /* ---------------------------- EGL_VERSION_1_1 ---------------------------- */
282
283 #ifndef EGL_VERSION_1_1
284 #define EGL_VERSION_1_1 1
285
286 #define EGL_CONTEXT_LOST 0x300E
287 #define EGL_BIND_TO_TEXTURE_RGB 0x3039
288 #define EGL_BIND_TO_TEXTURE_RGBA 0x303A
289 #define EGL_MIN_SWAP_INTERVAL 0x303B
290 #define EGL_MAX_SWAP_INTERVAL 0x303C
291 #define EGL_NO_TEXTURE 0x305C
292 #define EGL_TEXTURE_RGB 0x305D
293 #define EGL_TEXTURE_RGBA 0x305E
294 #define EGL_TEXTURE_2D 0x305F
295 #define EGL_TEXTURE_FORMAT 0x3080
296 #define EGL_TEXTURE_TARGET 0x3081
297 #define EGL_MIPMAP_TEXTURE 0x3082
298 #define EGL_MIPMAP_LEVEL 0x3083
299 #define EGL_BACK_BUFFER 0x3084
300
301 typedef EGLBoolean  ( * PFNEGLBINDTEXIMAGEPROC) (EGLDisplay  dpy, EGLSurface  surface, EGLint  buffer);
302 typedef EGLBoolean  ( * PFNEGLRELEASETEXIMAGEPROC) (EGLDisplay  dpy, EGLSurface  surface, EGLint  buffer);
303 typedef EGLBoolean  ( * PFNEGLSURFACEATTRIBPROC) (EGLDisplay  dpy, EGLSurface  surface, EGLint  attribute, EGLint  value);
304 typedef EGLBoolean  ( * PFNEGLSWAPINTERVALPROC) (EGLDisplay  dpy, EGLint  interval);
305
306 #define eglBindTexImage EGLEW_GET_FUN(__eglewBindTexImage)
307 #define eglReleaseTexImage EGLEW_GET_FUN(__eglewReleaseTexImage)
308 #define eglSurfaceAttrib EGLEW_GET_FUN(__eglewSurfaceAttrib)
309 #define eglSwapInterval EGLEW_GET_FUN(__eglewSwapInterval)
310
311 #define EGLEW_VERSION_1_1 EGLEW_GET_VAR(__EGLEW_VERSION_1_1)
312
313 #endif /* EGL_VERSION_1_1 */
314
315 /* ---------------------------- EGL_VERSION_1_2 ---------------------------- */
316
317 #ifndef EGL_VERSION_1_2
318 #define EGL_VERSION_1_2 1
319
320 #define EGL_OPENGL_ES_BIT 0x0001
321 #define EGL_OPENVG_BIT 0x0002
322 #define EGL_LUMINANCE_SIZE 0x303D
323 #define EGL_ALPHA_MASK_SIZE 0x303E
324 #define EGL_COLOR_BUFFER_TYPE 0x303F
325 #define EGL_RENDERABLE_TYPE 0x3040
326 #define EGL_SINGLE_BUFFER 0x3085
327 #define EGL_RENDER_BUFFER 0x3086
328 #define EGL_COLORSPACE 0x3087
329 #define EGL_ALPHA_FORMAT 0x3088
330 #define EGL_COLORSPACE_LINEAR 0x308A
331 #define EGL_ALPHA_FORMAT_NONPRE 0x308B
332 #define EGL_ALPHA_FORMAT_PRE 0x308C
333 #define EGL_CLIENT_APIS 0x308D
334 #define EGL_RGB_BUFFER 0x308E
335 #define EGL_LUMINANCE_BUFFER 0x308F
336 #define EGL_HORIZONTAL_RESOLUTION 0x3090
337 #define EGL_VERTICAL_RESOLUTION 0x3091
338 #define EGL_PIXEL_ASPECT_RATIO 0x3092
339 #define EGL_SWAP_BEHAVIOR 0x3093
340 #define EGL_BUFFER_PRESERVED 0x3094
341 #define EGL_BUFFER_DESTROYED 0x3095
342 #define EGL_OPENVG_IMAGE 0x3096
343 #define EGL_CONTEXT_CLIENT_TYPE 0x3097
344 #define EGL_OPENGL_ES_API 0x30A0
345 #define EGL_OPENVG_API 0x30A1
346 #define EGL_DISPLAY_SCALING 10000
347
348 typedef EGLBoolean  ( * PFNEGLBINDAPIPROC) (EGLenum  api);
349 typedef EGLSurface  ( * PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC) (EGLDisplay  dpy, EGLenum  buftype, EGLClientBuffer  buffer, EGLConfig  config, const EGLint * attrib_list);
350 typedef EGLenum  ( * PFNEGLQUERYAPIPROC) ( void );
351 typedef EGLBoolean  ( * PFNEGLRELEASETHREADPROC) ( void );
352 typedef EGLBoolean  ( * PFNEGLWAITCLIENTPROC) ( void );
353
354 #define eglBindAPI EGLEW_GET_FUN(__eglewBindAPI)
355 #define eglCreatePbufferFromClientBuffer EGLEW_GET_FUN(__eglewCreatePbufferFromClientBuffer)
356 #define eglQueryAPI EGLEW_GET_FUN(__eglewQueryAPI)
357 #define eglReleaseThread EGLEW_GET_FUN(__eglewReleaseThread)
358 #define eglWaitClient EGLEW_GET_FUN(__eglewWaitClient)
359
360 #define EGLEW_VERSION_1_2 EGLEW_GET_VAR(__EGLEW_VERSION_1_2)
361
362 #endif /* EGL_VERSION_1_2 */
363
364 /* ---------------------------- EGL_VERSION_1_3 ---------------------------- */
365
366 #ifndef EGL_VERSION_1_3
367 #define EGL_VERSION_1_3 1
368
369 #define EGL_OPENGL_ES2_BIT 0x0004
370 #define EGL_VG_COLORSPACE_LINEAR_BIT 0x0020
371 #define EGL_VG_ALPHA_FORMAT_PRE_BIT 0x0040
372 #define EGL_MATCH_NATIVE_PIXMAP 0x3041
373 #define EGL_CONFORMANT 0x3042
374 #define EGL_VG_COLORSPACE 0x3087
375 #define EGL_VG_ALPHA_FORMAT 0x3088
376 #define EGL_VG_COLORSPACE_LINEAR 0x308A
377 #define EGL_VG_ALPHA_FORMAT_NONPRE 0x308B
378 #define EGL_VG_ALPHA_FORMAT_PRE 0x308C
379 #define EGL_CONTEXT_CLIENT_VERSION 0x3098
380
381 #define EGLEW_VERSION_1_3 EGLEW_GET_VAR(__EGLEW_VERSION_1_3)
382
383 #endif /* EGL_VERSION_1_3 */
384
385 /* ---------------------------- EGL_VERSION_1_4 ---------------------------- */
386
387 #ifndef EGL_VERSION_1_4
388 #define EGL_VERSION_1_4 1
389
390 #define EGL_OPENGL_BIT 0x0008
391 #define EGL_MULTISAMPLE_RESOLVE_BOX_BIT 0x0200
392 #define EGL_SWAP_BEHAVIOR_PRESERVED_BIT 0x0400
393 #define EGL_MULTISAMPLE_RESOLVE 0x3099
394 #define EGL_MULTISAMPLE_RESOLVE_DEFAULT 0x309A
395 #define EGL_MULTISAMPLE_RESOLVE_BOX 0x309B
396 #define EGL_OPENGL_API 0x30A2
397
398 typedef EGLContext  ( * PFNEGLGETCURRENTCONTEXTPROC) ( void );
399
400 #define eglGetCurrentContext EGLEW_GET_FUN(__eglewGetCurrentContext)
401
402 #define EGLEW_VERSION_1_4 EGLEW_GET_VAR(__EGLEW_VERSION_1_4)
403
404 #endif /* EGL_VERSION_1_4 */
405
406 /* ---------------------------- EGL_VERSION_1_5 ---------------------------- */
407
408 #ifndef EGL_VERSION_1_5
409 #define EGL_VERSION_1_5 1
410
411 #define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT 0x00000001
412 #define EGL_SYNC_FLUSH_COMMANDS_BIT 0x0001
413 #define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT 0x00000002
414 #define EGL_OPENGL_ES3_BIT 0x00000040
415 #define EGL_GL_COLORSPACE_SRGB 0x3089
416 #define EGL_GL_COLORSPACE_LINEAR 0x308A
417 #define EGL_CONTEXT_MAJOR_VERSION 0x3098
418 #define EGL_CL_EVENT_HANDLE 0x309C
419 #define EGL_GL_COLORSPACE 0x309D
420 #define EGL_GL_TEXTURE_2D 0x30B1
421 #define EGL_GL_TEXTURE_3D 0x30B2
422 #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x30B3
423 #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x30B4
424 #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x30B5
425 #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x30B6
426 #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x30B7
427 #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x30B8
428 #define EGL_GL_RENDERBUFFER 0x30B9
429 #define EGL_GL_TEXTURE_LEVEL 0x30BC
430 #define EGL_GL_TEXTURE_ZOFFSET 0x30BD
431 #define EGL_IMAGE_PRESERVED 0x30D2
432 #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE 0x30F0
433 #define EGL_SYNC_STATUS 0x30F1
434 #define EGL_SIGNALED 0x30F2
435 #define EGL_UNSIGNALED 0x30F3
436 #define EGL_TIMEOUT_EXPIRED 0x30F5
437 #define EGL_CONDITION_SATISFIED 0x30F6
438 #define EGL_SYNC_TYPE 0x30F7
439 #define EGL_SYNC_CONDITION 0x30F8
440 #define EGL_SYNC_FENCE 0x30F9
441 #define EGL_CONTEXT_MINOR_VERSION 0x30FB
442 #define EGL_CONTEXT_OPENGL_PROFILE_MASK 0x30FD
443 #define EGL_SYNC_CL_EVENT 0x30FE
444 #define EGL_SYNC_CL_EVENT_COMPLETE 0x30FF
445 #define EGL_CONTEXT_OPENGL_DEBUG 0x31B0
446 #define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE 0x31B1
447 #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS 0x31B2
448 #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY 0x31BD
449 #define EGL_NO_RESET_NOTIFICATION 0x31BE
450 #define EGL_LOSE_CONTEXT_ON_RESET 0x31BF
451 #define EGL_FOREVER 0xFFFFFFFFFFFFFFFF
452
453 typedef EGLint  ( * PFNEGLCLIENTWAITSYNCPROC) (EGLDisplay  dpy, EGLSync  sync, EGLint  flags, EGLTime  timeout);
454 typedef EGLImage  ( * PFNEGLCREATEIMAGEPROC) (EGLDisplay  dpy, EGLContext  ctx, EGLenum  target, EGLClientBuffer  buffer, const EGLAttrib * attrib_list);
455 typedef EGLSurface  ( * PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC) (EGLDisplay  dpy, EGLConfig  config, void * native_pixmap, const EGLAttrib * attrib_list);
456 typedef EGLSurface  ( * PFNEGLCREATEPLATFORMWINDOWSURFACEPROC) (EGLDisplay  dpy, EGLConfig  config, void * native_window, const EGLAttrib * attrib_list);
457 typedef EGLSync  ( * PFNEGLCREATESYNCPROC) (EGLDisplay  dpy, EGLenum  type, const EGLAttrib * attrib_list);
458 typedef EGLBoolean  ( * PFNEGLDESTROYIMAGEPROC) (EGLDisplay  dpy, EGLImage  image);
459 typedef EGLBoolean  ( * PFNEGLDESTROYSYNCPROC) (EGLDisplay  dpy, EGLSync  sync);
460 typedef EGLDisplay  ( * PFNEGLGETPLATFORMDISPLAYPROC) (EGLenum  platform, void * native_display, const EGLAttrib * attrib_list);
461 typedef EGLBoolean  ( * PFNEGLGETSYNCATTRIBPROC) (EGLDisplay  dpy, EGLSync  sync, EGLint  attribute, EGLAttrib * value);
462 typedef EGLBoolean  ( * PFNEGLWAITSYNCPROC) (EGLDisplay  dpy, EGLSync  sync, EGLint  flags);
463
464 #define eglClientWaitSync EGLEW_GET_FUN(__eglewClientWaitSync)
465 #define eglCreateImage EGLEW_GET_FUN(__eglewCreateImage)
466 #define eglCreatePlatformPixmapSurface EGLEW_GET_FUN(__eglewCreatePlatformPixmapSurface)
467 #define eglCreatePlatformWindowSurface EGLEW_GET_FUN(__eglewCreatePlatformWindowSurface)
468 #define eglCreateSync EGLEW_GET_FUN(__eglewCreateSync)
469 #define eglDestroyImage EGLEW_GET_FUN(__eglewDestroyImage)
470 #define eglDestroySync EGLEW_GET_FUN(__eglewDestroySync)
471 #define eglGetPlatformDisplay EGLEW_GET_FUN(__eglewGetPlatformDisplay)
472 #define eglGetSyncAttrib EGLEW_GET_FUN(__eglewGetSyncAttrib)
473 #define eglWaitSync EGLEW_GET_FUN(__eglewWaitSync)
474
475 #define EGLEW_VERSION_1_5 EGLEW_GET_VAR(__EGLEW_VERSION_1_5)
476
477 #endif /* EGL_VERSION_1_5 */
478
479 /* ------------------------- EGL_ANDROID_blob_cache ------------------------ */
480
481 #ifndef EGL_ANDROID_blob_cache
482 #define EGL_ANDROID_blob_cache 1
483
484 typedef void  ( * PFNEGLSETBLOBCACHEFUNCSANDROIDPROC) (EGLDisplay  dpy, EGLSetBlobFuncANDROID  set, EGLGetBlobFuncANDROID  get);
485
486 #define eglSetBlobCacheFuncsANDROID EGLEW_GET_FUN(__eglewSetBlobCacheFuncsANDROID)
487
488 #define EGLEW_ANDROID_blob_cache EGLEW_GET_VAR(__EGLEW_ANDROID_blob_cache)
489
490 #endif /* EGL_ANDROID_blob_cache */
491
492 /* ---------------- EGL_ANDROID_create_native_client_buffer ---------------- */
493
494 #ifndef EGL_ANDROID_create_native_client_buffer
495 #define EGL_ANDROID_create_native_client_buffer 1
496
497 #define EGL_NATIVE_BUFFER_USAGE_PROTECTED_BIT_ANDROID 0x00000001
498 #define EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID 0x00000002
499 #define EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID 0x00000004
500 #define EGL_NATIVE_BUFFER_USAGE_ANDROID 0x3143
501
502 typedef EGLClientBuffer  ( * PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC) (const EGLint * attrib_list);
503
504 #define eglCreateNativeClientBufferANDROID EGLEW_GET_FUN(__eglewCreateNativeClientBufferANDROID)
505
506 #define EGLEW_ANDROID_create_native_client_buffer EGLEW_GET_VAR(__EGLEW_ANDROID_create_native_client_buffer)
507
508 #endif /* EGL_ANDROID_create_native_client_buffer */
509
510 /* --------------------- EGL_ANDROID_framebuffer_target -------------------- */
511
512 #ifndef EGL_ANDROID_framebuffer_target
513 #define EGL_ANDROID_framebuffer_target 1
514
515 #define EGL_FRAMEBUFFER_TARGET_ANDROID 0x3147
516
517 #define EGLEW_ANDROID_framebuffer_target EGLEW_GET_VAR(__EGLEW_ANDROID_framebuffer_target)
518
519 #endif /* EGL_ANDROID_framebuffer_target */
520
521 /* ----------------- EGL_ANDROID_front_buffer_auto_refresh ----------------- */
522
523 #ifndef EGL_ANDROID_front_buffer_auto_refresh
524 #define EGL_ANDROID_front_buffer_auto_refresh 1
525
526 #define EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID 0x314C
527
528 #define EGLEW_ANDROID_front_buffer_auto_refresh EGLEW_GET_VAR(__EGLEW_ANDROID_front_buffer_auto_refresh)
529
530 #endif /* EGL_ANDROID_front_buffer_auto_refresh */
531
532 /* -------------------- EGL_ANDROID_image_native_buffer -------------------- */
533
534 #ifndef EGL_ANDROID_image_native_buffer
535 #define EGL_ANDROID_image_native_buffer 1
536
537 #define EGL_NATIVE_BUFFER_ANDROID 0x3140
538
539 #define EGLEW_ANDROID_image_native_buffer EGLEW_GET_VAR(__EGLEW_ANDROID_image_native_buffer)
540
541 #endif /* EGL_ANDROID_image_native_buffer */
542
543 /* --------------------- EGL_ANDROID_native_fence_sync --------------------- */
544
545 #ifndef EGL_ANDROID_native_fence_sync
546 #define EGL_ANDROID_native_fence_sync 1
547
548 #define EGL_SYNC_NATIVE_FENCE_ANDROID 0x3144
549 #define EGL_SYNC_NATIVE_FENCE_FD_ANDROID 0x3145
550 #define EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID 0x3146
551
552 typedef EGLint  ( * PFNEGLDUPNATIVEFENCEFDANDROIDPROC) (EGLDisplay  dpy, EGLSyncKHR  sync);
553
554 #define eglDupNativeFenceFDANDROID EGLEW_GET_FUN(__eglewDupNativeFenceFDANDROID)
555
556 #define EGLEW_ANDROID_native_fence_sync EGLEW_GET_VAR(__EGLEW_ANDROID_native_fence_sync)
557
558 #endif /* EGL_ANDROID_native_fence_sync */
559
560 /* --------------------- EGL_ANDROID_presentation_time --------------------- */
561
562 #ifndef EGL_ANDROID_presentation_time
563 #define EGL_ANDROID_presentation_time 1
564
565 typedef EGLBoolean  ( * PFNEGLPRESENTATIONTIMEANDROIDPROC) (EGLDisplay  dpy, EGLSurface  surface, EGLnsecsANDROID  time);
566
567 #define eglPresentationTimeANDROID EGLEW_GET_FUN(__eglewPresentationTimeANDROID)
568
569 #define EGLEW_ANDROID_presentation_time EGLEW_GET_VAR(__EGLEW_ANDROID_presentation_time)
570
571 #endif /* EGL_ANDROID_presentation_time */
572
573 /* ------------------------- EGL_ANDROID_recordable ------------------------ */
574
575 #ifndef EGL_ANDROID_recordable
576 #define EGL_ANDROID_recordable 1
577
578 #define EGL_RECORDABLE_ANDROID 0x3142
579
580 #define EGLEW_ANDROID_recordable EGLEW_GET_VAR(__EGLEW_ANDROID_recordable)
581
582 #endif /* EGL_ANDROID_recordable */
583
584 /* ---------------- EGL_ANGLE_d3d_share_handle_client_buffer --------------- */
585
586 #ifndef EGL_ANGLE_d3d_share_handle_client_buffer
587 #define EGL_ANGLE_d3d_share_handle_client_buffer 1
588
589 #define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200
590
591 #define EGLEW_ANGLE_d3d_share_handle_client_buffer EGLEW_GET_VAR(__EGLEW_ANGLE_d3d_share_handle_client_buffer)
592
593 #endif /* EGL_ANGLE_d3d_share_handle_client_buffer */
594
595 /* -------------------------- EGL_ANGLE_device_d3d ------------------------- */
596
597 #ifndef EGL_ANGLE_device_d3d
598 #define EGL_ANGLE_device_d3d 1
599
600 #define EGL_D3D9_DEVICE_ANGLE 0x33A0
601 #define EGL_D3D11_DEVICE_ANGLE 0x33A1
602
603 #define EGLEW_ANGLE_device_d3d EGLEW_GET_VAR(__EGLEW_ANGLE_device_d3d)
604
605 #endif /* EGL_ANGLE_device_d3d */
606
607 /* -------------------- EGL_ANGLE_query_surface_pointer -------------------- */
608
609 #ifndef EGL_ANGLE_query_surface_pointer
610 #define EGL_ANGLE_query_surface_pointer 1
611
612 typedef EGLBoolean  ( * PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay  dpy, EGLSurface  surface, EGLint  attribute, void ** value);
613
614 #define eglQuerySurfacePointerANGLE EGLEW_GET_FUN(__eglewQuerySurfacePointerANGLE)
615
616 #define EGLEW_ANGLE_query_surface_pointer EGLEW_GET_VAR(__EGLEW_ANGLE_query_surface_pointer)
617
618 #endif /* EGL_ANGLE_query_surface_pointer */
619
620 /* ------------- EGL_ANGLE_surface_d3d_texture_2d_share_handle ------------- */
621
622 #ifndef EGL_ANGLE_surface_d3d_texture_2d_share_handle
623 #define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1
624
625 #define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200
626
627 #define EGLEW_ANGLE_surface_d3d_texture_2d_share_handle EGLEW_GET_VAR(__EGLEW_ANGLE_surface_d3d_texture_2d_share_handle)
628
629 #endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */
630
631 /* ---------------------- EGL_ANGLE_window_fixed_size ---------------------- */
632
633 #ifndef EGL_ANGLE_window_fixed_size
634 #define EGL_ANGLE_window_fixed_size 1
635
636 #define EGL_FIXED_SIZE_ANGLE 0x3201
637
638 #define EGLEW_ANGLE_window_fixed_size EGLEW_GET_VAR(__EGLEW_ANGLE_window_fixed_size)
639
640 #endif /* EGL_ANGLE_window_fixed_size */
641
642 /* ------------------- EGL_ARM_pixmap_multisample_discard ------------------ */
643
644 #ifndef EGL_ARM_pixmap_multisample_discard
645 #define EGL_ARM_pixmap_multisample_discard 1
646
647 #define EGL_DISCARD_SAMPLES_ARM 0x3286
648
649 #define EGLEW_ARM_pixmap_multisample_discard EGLEW_GET_VAR(__EGLEW_ARM_pixmap_multisample_discard)
650
651 #endif /* EGL_ARM_pixmap_multisample_discard */
652
653 /* --------------------------- EGL_EXT_buffer_age -------------------------- */
654
655 #ifndef EGL_EXT_buffer_age
656 #define EGL_EXT_buffer_age 1
657
658 #define EGL_BUFFER_AGE_EXT 0x313D
659
660 #define EGLEW_EXT_buffer_age EGLEW_GET_VAR(__EGLEW_EXT_buffer_age)
661
662 #endif /* EGL_EXT_buffer_age */
663
664 /* ----------------------- EGL_EXT_client_extensions ----------------------- */
665
666 #ifndef EGL_EXT_client_extensions
667 #define EGL_EXT_client_extensions 1
668
669 #define EGLEW_EXT_client_extensions EGLEW_GET_VAR(__EGLEW_EXT_client_extensions)
670
671 #endif /* EGL_EXT_client_extensions */
672
673 /* ------------------- EGL_EXT_create_context_robustness ------------------- */
674
675 #ifndef EGL_EXT_create_context_robustness
676 #define EGL_EXT_create_context_robustness 1
677
678 #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF
679 #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138
680 #define EGL_NO_RESET_NOTIFICATION_EXT 0x31BE
681 #define EGL_LOSE_CONTEXT_ON_RESET_EXT 0x31BF
682
683 #define EGLEW_EXT_create_context_robustness EGLEW_GET_VAR(__EGLEW_EXT_create_context_robustness)
684
685 #endif /* EGL_EXT_create_context_robustness */
686
687 /* -------------------------- EGL_EXT_device_base -------------------------- */
688
689 #ifndef EGL_EXT_device_base
690 #define EGL_EXT_device_base 1
691
692 #define EGL_BAD_DEVICE_EXT 0x322B
693 #define EGL_DEVICE_EXT 0x322C
694
695 #define EGLEW_EXT_device_base EGLEW_GET_VAR(__EGLEW_EXT_device_base)
696
697 #endif /* EGL_EXT_device_base */
698
699 /* --------------------------- EGL_EXT_device_drm -------------------------- */
700
701 #ifndef EGL_EXT_device_drm
702 #define EGL_EXT_device_drm 1
703
704 #define EGL_DRM_DEVICE_FILE_EXT 0x3233
705
706 #define EGLEW_EXT_device_drm EGLEW_GET_VAR(__EGLEW_EXT_device_drm)
707
708 #endif /* EGL_EXT_device_drm */
709
710 /* ----------------------- EGL_EXT_device_enumeration ---------------------- */
711
712 #ifndef EGL_EXT_device_enumeration
713 #define EGL_EXT_device_enumeration 1
714
715 typedef EGLBoolean  ( * PFNEGLQUERYDEVICESEXTPROC) (EGLint  max_devices, EGLDeviceEXT * devices, EGLint * num_devices);
716
717 #define eglQueryDevicesEXT EGLEW_GET_FUN(__eglewQueryDevicesEXT)
718
719 #define EGLEW_EXT_device_enumeration EGLEW_GET_VAR(__EGLEW_EXT_device_enumeration)
720
721 #endif /* EGL_EXT_device_enumeration */
722
723 /* ------------------------- EGL_EXT_device_openwf ------------------------- */
724
725 #ifndef EGL_EXT_device_openwf
726 #define EGL_EXT_device_openwf 1
727
728 #define EGL_OPENWF_DEVICE_ID_EXT 0x3237
729
730 #define EGLEW_EXT_device_openwf EGLEW_GET_VAR(__EGLEW_EXT_device_openwf)
731
732 #endif /* EGL_EXT_device_openwf */
733
734 /* -------------------------- EGL_EXT_device_query ------------------------- */
735
736 #ifndef EGL_EXT_device_query
737 #define EGL_EXT_device_query 1
738
739 #define EGL_BAD_DEVICE_EXT 0x322B
740 #define EGL_DEVICE_EXT 0x322C
741
742 typedef EGLBoolean  ( * PFNEGLQUERYDEVICEATTRIBEXTPROC) (EGLDeviceEXT  device, EGLint  attribute, EGLAttrib * value);
743 typedef const char * ( * PFNEGLQUERYDEVICESTRINGEXTPROC) (EGLDeviceEXT  device, EGLint  name);
744 typedef EGLBoolean  ( * PFNEGLQUERYDISPLAYATTRIBEXTPROC) (EGLDisplay  dpy, EGLint  attribute, EGLAttrib * value);
745
746 #define eglQueryDeviceAttribEXT EGLEW_GET_FUN(__eglewQueryDeviceAttribEXT)
747 #define eglQueryDeviceStringEXT EGLEW_GET_FUN(__eglewQueryDeviceStringEXT)
748 #define eglQueryDisplayAttribEXT EGLEW_GET_FUN(__eglewQueryDisplayAttribEXT)
749
750 #define EGLEW_EXT_device_query EGLEW_GET_VAR(__EGLEW_EXT_device_query)
751
752 #endif /* EGL_EXT_device_query */
753
754 /* ---------------------- EGL_EXT_image_dma_buf_import --------------------- */
755
756 #ifndef EGL_EXT_image_dma_buf_import
757 #define EGL_EXT_image_dma_buf_import 1
758
759 #define EGL_LINUX_DMA_BUF_EXT 0x3270
760 #define EGL_LINUX_DRM_FOURCC_EXT 0x3271
761 #define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272
762 #define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273
763 #define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274
764 #define EGL_DMA_BUF_PLANE1_FD_EXT 0x3275
765 #define EGL_DMA_BUF_PLANE1_OFFSET_EXT 0x3276
766 #define EGL_DMA_BUF_PLANE1_PITCH_EXT 0x3277
767 #define EGL_DMA_BUF_PLANE2_FD_EXT 0x3278
768 #define EGL_DMA_BUF_PLANE2_OFFSET_EXT 0x3279
769 #define EGL_DMA_BUF_PLANE2_PITCH_EXT 0x327A
770 #define EGL_YUV_COLOR_SPACE_HINT_EXT 0x327B
771 #define EGL_SAMPLE_RANGE_HINT_EXT 0x327C
772 #define EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT 0x327D
773 #define EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT 0x327E
774 #define EGL_ITU_REC601_EXT 0x327F
775 #define EGL_ITU_REC709_EXT 0x3280
776 #define EGL_ITU_REC2020_EXT 0x3281
777 #define EGL_YUV_FULL_RANGE_EXT 0x3282
778 #define EGL_YUV_NARROW_RANGE_EXT 0x3283
779 #define EGL_YUV_CHROMA_SITING_0_EXT 0x3284
780 #define EGL_YUV_CHROMA_SITING_0_5_EXT 0x3285
781
782 #define EGLEW_EXT_image_dma_buf_import EGLEW_GET_VAR(__EGLEW_EXT_image_dma_buf_import)
783
784 #endif /* EGL_EXT_image_dma_buf_import */
785
786 /* ------------------------ EGL_EXT_multiview_window ----------------------- */
787
788 #ifndef EGL_EXT_multiview_window
789 #define EGL_EXT_multiview_window 1
790
791 #define EGL_MULTIVIEW_VIEW_COUNT_EXT 0x3134
792
793 #define EGLEW_EXT_multiview_window EGLEW_GET_VAR(__EGLEW_EXT_multiview_window)
794
795 #endif /* EGL_EXT_multiview_window */
796
797 /* -------------------------- EGL_EXT_output_base -------------------------- */
798
799 #ifndef EGL_EXT_output_base
800 #define EGL_EXT_output_base 1
801
802 #define EGL_BAD_OUTPUT_LAYER_EXT 0x322D
803 #define EGL_BAD_OUTPUT_PORT_EXT 0x322E
804 #define EGL_SWAP_INTERVAL_EXT 0x322F
805
806 typedef EGLBoolean  ( * PFNEGLGETOUTPUTLAYERSEXTPROC) (EGLDisplay  dpy, const EGLAttrib * attrib_list, EGLOutputLayerEXT * layers, EGLint  max_layers, EGLint * num_layers);
807 typedef EGLBoolean  ( * PFNEGLGETOUTPUTPORTSEXTPROC) (EGLDisplay  dpy, const EGLAttrib * attrib_list, EGLOutputPortEXT * ports, EGLint  max_ports, EGLint * num_ports);
808 typedef EGLBoolean  ( * PFNEGLOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay  dpy, EGLOutputLayerEXT  layer, EGLint  attribute, EGLAttrib  value);
809 typedef EGLBoolean  ( * PFNEGLOUTPUTPORTATTRIBEXTPROC) (EGLDisplay  dpy, EGLOutputPortEXT  port, EGLint  attribute, EGLAttrib  value);
810 typedef EGLBoolean  ( * PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay  dpy, EGLOutputLayerEXT  layer, EGLint  attribute, EGLAttrib * value);
811 typedef const char * ( * PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC) (EGLDisplay  dpy, EGLOutputLayerEXT  layer, EGLint  name);
812 typedef EGLBoolean  ( * PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC) (EGLDisplay  dpy, EGLOutputPortEXT  port, EGLint  attribute, EGLAttrib * value);
813 typedef const char * ( * PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC) (EGLDisplay  dpy, EGLOutputPortEXT  port, EGLint  name);
814
815 #define eglGetOutputLayersEXT EGLEW_GET_FUN(__eglewGetOutputLayersEXT)
816 #define eglGetOutputPortsEXT EGLEW_GET_FUN(__eglewGetOutputPortsEXT)
817 #define eglOutputLayerAttribEXT EGLEW_GET_FUN(__eglewOutputLayerAttribEXT)
818 #define eglOutputPortAttribEXT EGLEW_GET_FUN(__eglewOutputPortAttribEXT)
819 #define eglQueryOutputLayerAttribEXT EGLEW_GET_FUN(__eglewQueryOutputLayerAttribEXT)
820 #define eglQueryOutputLayerStringEXT EGLEW_GET_FUN(__eglewQueryOutputLayerStringEXT)
821 #define eglQueryOutputPortAttribEXT EGLEW_GET_FUN(__eglewQueryOutputPortAttribEXT)
822 #define eglQueryOutputPortStringEXT EGLEW_GET_FUN(__eglewQueryOutputPortStringEXT)
823
824 #define EGLEW_EXT_output_base EGLEW_GET_VAR(__EGLEW_EXT_output_base)
825
826 #endif /* EGL_EXT_output_base */
827
828 /* --------------------------- EGL_EXT_output_drm -------------------------- */
829
830 #ifndef EGL_EXT_output_drm
831 #define EGL_EXT_output_drm 1
832
833 #define EGL_DRM_CRTC_EXT 0x3234
834 #define EGL_DRM_PLANE_EXT 0x3235
835 #define EGL_DRM_CONNECTOR_EXT 0x3236
836
837 #define EGLEW_EXT_output_drm EGLEW_GET_VAR(__EGLEW_EXT_output_drm)
838
839 #endif /* EGL_EXT_output_drm */
840
841 /* ------------------------- EGL_EXT_output_openwf ------------------------- */
842
843 #ifndef EGL_EXT_output_openwf
844 #define EGL_EXT_output_openwf 1
845
846 #define EGL_OPENWF_PIPELINE_ID_EXT 0x3238
847 #define EGL_OPENWF_PORT_ID_EXT 0x3239
848
849 #define EGLEW_EXT_output_openwf EGLEW_GET_VAR(__EGLEW_EXT_output_openwf)
850
851 #endif /* EGL_EXT_output_openwf */
852
853 /* ------------------------- EGL_EXT_platform_base ------------------------- */
854
855 #ifndef EGL_EXT_platform_base
856 #define EGL_EXT_platform_base 1
857
858 typedef EGLSurface  ( * PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC) (EGLDisplay  dpy, EGLConfig  config, void * native_pixmap, const EGLint * attrib_list);
859 typedef EGLSurface  ( * PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC) (EGLDisplay  dpy, EGLConfig  config, void * native_window, const EGLint * attrib_list);
860 typedef EGLDisplay  ( * PFNEGLGETPLATFORMDISPLAYEXTPROC) (EGLenum  platform, void * native_display, const EGLint * attrib_list);
861
862 #define eglCreatePlatformPixmapSurfaceEXT EGLEW_GET_FUN(__eglewCreatePlatformPixmapSurfaceEXT)
863 #define eglCreatePlatformWindowSurfaceEXT EGLEW_GET_FUN(__eglewCreatePlatformWindowSurfaceEXT)
864 #define eglGetPlatformDisplayEXT EGLEW_GET_FUN(__eglewGetPlatformDisplayEXT)
865
866 #define EGLEW_EXT_platform_base EGLEW_GET_VAR(__EGLEW_EXT_platform_base)
867
868 #endif /* EGL_EXT_platform_base */
869
870 /* ------------------------ EGL_EXT_platform_device ------------------------ */
871
872 #ifndef EGL_EXT_platform_device
873 #define EGL_EXT_platform_device 1
874
875 #define EGL_PLATFORM_DEVICE_EXT 0x313F
876
877 #define EGLEW_EXT_platform_device EGLEW_GET_VAR(__EGLEW_EXT_platform_device)
878
879 #endif /* EGL_EXT_platform_device */
880
881 /* ------------------------ EGL_EXT_platform_wayland ----------------------- */
882
883 #ifndef EGL_EXT_platform_wayland
884 #define EGL_EXT_platform_wayland 1
885
886 #define EGL_PLATFORM_WAYLAND_EXT 0x31D8
887
888 #define EGLEW_EXT_platform_wayland EGLEW_GET_VAR(__EGLEW_EXT_platform_wayland)
889
890 #endif /* EGL_EXT_platform_wayland */
891
892 /* -------------------------- EGL_EXT_platform_x11 ------------------------- */
893
894 #ifndef EGL_EXT_platform_x11
895 #define EGL_EXT_platform_x11 1
896
897 #define EGL_PLATFORM_X11_EXT 0x31D5
898 #define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6
899
900 #define EGLEW_EXT_platform_x11 EGLEW_GET_VAR(__EGLEW_EXT_platform_x11)
901
902 #endif /* EGL_EXT_platform_x11 */
903
904 /* ----------------------- EGL_EXT_protected_content ----------------------- */
905
906 #ifndef EGL_EXT_protected_content
907 #define EGL_EXT_protected_content 1
908
909 #define EGL_PROTECTED_CONTENT_EXT 0x32C0
910
911 #define EGLEW_EXT_protected_content EGLEW_GET_VAR(__EGLEW_EXT_protected_content)
912
913 #endif /* EGL_EXT_protected_content */
914
915 /* ----------------------- EGL_EXT_protected_surface ----------------------- */
916
917 #ifndef EGL_EXT_protected_surface
918 #define EGL_EXT_protected_surface 1
919
920 #define EGL_PROTECTED_CONTENT_EXT 0x32C0
921
922 #define EGLEW_EXT_protected_surface EGLEW_GET_VAR(__EGLEW_EXT_protected_surface)
923
924 #endif /* EGL_EXT_protected_surface */
925
926 /* ------------------- EGL_EXT_stream_consumer_egloutput ------------------- */
927
928 #ifndef EGL_EXT_stream_consumer_egloutput
929 #define EGL_EXT_stream_consumer_egloutput 1
930
931 typedef EGLBoolean  ( * PFNEGLSTREAMCONSUMEROUTPUTEXTPROC) (EGLDisplay  dpy, EGLStreamKHR  stream, EGLOutputLayerEXT  layer);
932
933 #define eglStreamConsumerOutputEXT EGLEW_GET_FUN(__eglewStreamConsumerOutputEXT)
934
935 #define EGLEW_EXT_stream_consumer_egloutput EGLEW_GET_VAR(__EGLEW_EXT_stream_consumer_egloutput)
936
937 #endif /* EGL_EXT_stream_consumer_egloutput */
938
939 /* -------------------- EGL_EXT_swap_buffers_with_damage ------------------- */
940
941 #ifndef EGL_EXT_swap_buffers_with_damage
942 #define EGL_EXT_swap_buffers_with_damage 1
943
944 typedef EGLBoolean  ( * PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay  dpy, EGLSurface  surface, EGLint * rects, EGLint  n_rects);
945
946 #define eglSwapBuffersWithDamageEXT EGLEW_GET_FUN(__eglewSwapBuffersWithDamageEXT)
947
948 #define EGLEW_EXT_swap_buffers_with_damage EGLEW_GET_VAR(__EGLEW_EXT_swap_buffers_with_damage)
949
950 #endif /* EGL_EXT_swap_buffers_with_damage */
951
952 /* -------------------------- EGL_EXT_yuv_surface -------------------------- */
953
954 #ifndef EGL_EXT_yuv_surface
955 #define EGL_EXT_yuv_surface 1
956
957 #define EGL_YUV_BUFFER_EXT 0x3300
958 #define EGL_YUV_ORDER_EXT 0x3301
959 #define EGL_YUV_ORDER_YUV_EXT 0x3302
960 #define EGL_YUV_ORDER_YVU_EXT 0x3303
961 #define EGL_YUV_ORDER_YUYV_EXT 0x3304
962 #define EGL_YUV_ORDER_UYVY_EXT 0x3305
963 #define EGL_YUV_ORDER_YVYU_EXT 0x3306
964 #define EGL_YUV_ORDER_VYUY_EXT 0x3307
965 #define EGL_YUV_ORDER_AYUV_EXT 0x3308
966 #define EGL_YUV_CSC_STANDARD_EXT 0x330A
967 #define EGL_YUV_CSC_STANDARD_601_EXT 0x330B
968 #define EGL_YUV_CSC_STANDARD_709_EXT 0x330C
969 #define EGL_YUV_CSC_STANDARD_2020_EXT 0x330D
970 #define EGL_YUV_NUMBER_OF_PLANES_EXT 0x3311
971 #define EGL_YUV_SUBSAMPLE_EXT 0x3312
972 #define EGL_YUV_SUBSAMPLE_4_2_0_EXT 0x3313
973 #define EGL_YUV_SUBSAMPLE_4_2_2_EXT 0x3314
974 #define EGL_YUV_SUBSAMPLE_4_4_4_EXT 0x3315
975 #define EGL_YUV_DEPTH_RANGE_EXT 0x3317
976 #define EGL_YUV_DEPTH_RANGE_LIMITED_EXT 0x3318
977 #define EGL_YUV_DEPTH_RANGE_FULL_EXT 0x3319
978 #define EGL_YUV_PLANE_BPP_EXT 0x331A
979 #define EGL_YUV_PLANE_BPP_0_EXT 0x331B
980 #define EGL_YUV_PLANE_BPP_8_EXT 0x331C
981 #define EGL_YUV_PLANE_BPP_10_EXT 0x331D
982
983 #define EGLEW_EXT_yuv_surface EGLEW_GET_VAR(__EGLEW_EXT_yuv_surface)
984
985 #endif /* EGL_EXT_yuv_surface */
986
987 /* -------------------------- EGL_HI_clientpixmap -------------------------- */
988
989 #ifndef EGL_HI_clientpixmap
990 #define EGL_HI_clientpixmap 1
991
992 #define EGL_CLIENT_PIXMAP_POINTER_HI 0x8F74
993
994 typedef EGLSurface  ( * PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay  dpy, EGLConfig  config, struct EGLClientPixmapHI * pixmap);
995
996 #define eglCreatePixmapSurfaceHI EGLEW_GET_FUN(__eglewCreatePixmapSurfaceHI)
997
998 #define EGLEW_HI_clientpixmap EGLEW_GET_VAR(__EGLEW_HI_clientpixmap)
999
1000 #endif /* EGL_HI_clientpixmap */
1001
1002 /* -------------------------- EGL_HI_colorformats -------------------------- */
1003
1004 #ifndef EGL_HI_colorformats
1005 #define EGL_HI_colorformats 1
1006
1007 #define EGL_COLOR_FORMAT_HI 0x8F70
1008 #define EGL_COLOR_RGB_HI 0x8F71
1009 #define EGL_COLOR_RGBA_HI 0x8F72
1010 #define EGL_COLOR_ARGB_HI 0x8F73
1011
1012 #define EGLEW_HI_colorformats EGLEW_GET_VAR(__EGLEW_HI_colorformats)
1013
1014 #endif /* EGL_HI_colorformats */
1015
1016 /* ------------------------ EGL_IMG_context_priority ----------------------- */
1017
1018 #ifndef EGL_IMG_context_priority
1019 #define EGL_IMG_context_priority 1
1020
1021 #define EGL_CONTEXT_PRIORITY_LEVEL_IMG 0x3100
1022 #define EGL_CONTEXT_PRIORITY_HIGH_IMG 0x3101
1023 #define EGL_CONTEXT_PRIORITY_MEDIUM_IMG 0x3102
1024 #define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103
1025
1026 #define EGLEW_IMG_context_priority EGLEW_GET_VAR(__EGLEW_IMG_context_priority)
1027
1028 #endif /* EGL_IMG_context_priority */
1029
1030 /* ---------------------- EGL_IMG_image_plane_attribs ---------------------- */
1031
1032 #ifndef EGL_IMG_image_plane_attribs
1033 #define EGL_IMG_image_plane_attribs 1
1034
1035 #define EGL_NATIVE_BUFFER_MULTIPLANE_SEPARATE_IMG 0x3105
1036 #define EGL_NATIVE_BUFFER_PLANE_OFFSET_IMG 0x3106
1037
1038 #define EGLEW_IMG_image_plane_attribs EGLEW_GET_VAR(__EGLEW_IMG_image_plane_attribs)
1039
1040 #endif /* EGL_IMG_image_plane_attribs */
1041
1042 /* ---------------------------- EGL_KHR_cl_event --------------------------- */
1043
1044 #ifndef EGL_KHR_cl_event
1045 #define EGL_KHR_cl_event 1
1046
1047 #define EGL_CL_EVENT_HANDLE_KHR 0x309C
1048 #define EGL_SYNC_CL_EVENT_KHR 0x30FE
1049 #define EGL_SYNC_CL_EVENT_COMPLETE_KHR 0x30FF
1050
1051 #define EGLEW_KHR_cl_event EGLEW_GET_VAR(__EGLEW_KHR_cl_event)
1052
1053 #endif /* EGL_KHR_cl_event */
1054
1055 /* --------------------------- EGL_KHR_cl_event2 --------------------------- */
1056
1057 #ifndef EGL_KHR_cl_event2
1058 #define EGL_KHR_cl_event2 1
1059
1060 #define EGL_CL_EVENT_HANDLE_KHR 0x309C
1061 #define EGL_SYNC_CL_EVENT_KHR 0x30FE
1062 #define EGL_SYNC_CL_EVENT_COMPLETE_KHR 0x30FF
1063
1064 typedef EGLSyncKHR  ( * PFNEGLCREATESYNC64KHRPROC) (EGLDisplay  dpy, EGLenum  type, const EGLAttribKHR * attrib_list);
1065
1066 #define eglCreateSync64KHR EGLEW_GET_FUN(__eglewCreateSync64KHR)
1067
1068 #define EGLEW_KHR_cl_event2 EGLEW_GET_VAR(__EGLEW_KHR_cl_event2)
1069
1070 #endif /* EGL_KHR_cl_event2 */
1071
1072 /* ----------------- EGL_KHR_client_get_all_proc_addresses ----------------- */
1073
1074 #ifndef EGL_KHR_client_get_all_proc_addresses
1075 #define EGL_KHR_client_get_all_proc_addresses 1
1076
1077 #define EGLEW_KHR_client_get_all_proc_addresses EGLEW_GET_VAR(__EGLEW_KHR_client_get_all_proc_addresses)
1078
1079 #endif /* EGL_KHR_client_get_all_proc_addresses */
1080
1081 /* ------------------------- EGL_KHR_config_attribs ------------------------ */
1082
1083 #ifndef EGL_KHR_config_attribs
1084 #define EGL_KHR_config_attribs 1
1085
1086 #define EGL_VG_COLORSPACE_LINEAR_BIT_KHR 0x0020
1087 #define EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR 0x0040
1088 #define EGL_CONFORMANT_KHR 0x3042
1089
1090 #define EGLEW_KHR_config_attribs EGLEW_GET_VAR(__EGLEW_KHR_config_attribs)
1091
1092 #endif /* EGL_KHR_config_attribs */
1093
1094 /* ------------------------- EGL_KHR_create_context ------------------------ */
1095
1096 #ifndef EGL_KHR_create_context
1097 #define EGL_KHR_create_context 1
1098
1099 #define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001
1100 #define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001
1101 #define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002
1102 #define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002
1103 #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004
1104 #define EGL_OPENGL_ES3_BIT 0x00000040
1105 #define EGL_OPENGL_ES3_BIT_KHR 0x00000040
1106 #define EGL_CONTEXT_MAJOR_VERSION_KHR 0x3098
1107 #define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB
1108 #define EGL_CONTEXT_FLAGS_KHR 0x30FC
1109 #define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD
1110 #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD
1111 #define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE
1112 #define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF
1113
1114 #define EGLEW_KHR_create_context EGLEW_GET_VAR(__EGLEW_KHR_create_context)
1115
1116 #endif /* EGL_KHR_create_context */
1117
1118 /* -------------------- EGL_KHR_create_context_no_error -------------------- */
1119
1120 #ifndef EGL_KHR_create_context_no_error
1121 #define EGL_KHR_create_context_no_error 1
1122
1123 #define EGL_CONTEXT_OPENGL_NO_ERROR_KHR 0x31B3
1124
1125 #define EGLEW_KHR_create_context_no_error EGLEW_GET_VAR(__EGLEW_KHR_create_context_no_error)
1126
1127 #endif /* EGL_KHR_create_context_no_error */
1128
1129 /* ----------------------------- EGL_KHR_debug ----------------------------- */
1130
1131 #ifndef EGL_KHR_debug
1132 #define EGL_KHR_debug 1
1133
1134 #define EGL_OBJECT_THREAD_KHR 0x33B0
1135 #define EGL_OBJECT_DISPLAY_KHR 0x33B1
1136 #define EGL_OBJECT_CONTEXT_KHR 0x33B2
1137 #define EGL_OBJECT_SURFACE_KHR 0x33B3
1138 #define EGL_OBJECT_IMAGE_KHR 0x33B4
1139 #define EGL_OBJECT_SYNC_KHR 0x33B5
1140 #define EGL_OBJECT_STREAM_KHR 0x33B6
1141 #define EGL_DEBUG_CALLBACK_KHR 0x33B8
1142 #define EGL_DEBUG_MSG_CRITICAL_KHR 0x33B9
1143 #define EGL_DEBUG_MSG_ERROR_KHR 0x33BA
1144 #define EGL_DEBUG_MSG_WARN_KHR 0x33BB
1145 #define EGL_DEBUG_MSG_INFO_KHR 0x33BC
1146
1147 typedef EGLint  ( * PFNEGLDEBUGMESSAGECONTROLKHRPROC) (EGLDEBUGPROCKHR  callback, const EGLAttrib * attrib_list);
1148 typedef EGLint  ( * PFNEGLLABELOBJECTKHRPROC) (EGLDisplay  display, EGLenum  objectType, EGLObjectKHR  object, EGLLabelKHR  label);
1149 typedef EGLBoolean  ( * PFNEGLQUERYDEBUGKHRPROC) (EGLint  attribute, EGLAttrib * value);
1150
1151 #define eglDebugMessageControlKHR EGLEW_GET_FUN(__eglewDebugMessageControlKHR)
1152 #define eglLabelObjectKHR EGLEW_GET_FUN(__eglewLabelObjectKHR)
1153 #define eglQueryDebugKHR EGLEW_GET_FUN(__eglewQueryDebugKHR)
1154
1155 #define EGLEW_KHR_debug EGLEW_GET_VAR(__EGLEW_KHR_debug)
1156
1157 #endif /* EGL_KHR_debug */
1158
1159 /* --------------------------- EGL_KHR_fence_sync -------------------------- */
1160
1161 #ifndef EGL_KHR_fence_sync
1162 #define EGL_KHR_fence_sync 1
1163
1164 #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0x30F0
1165 #define EGL_SYNC_CONDITION_KHR 0x30F8
1166 #define EGL_SYNC_FENCE_KHR 0x30F9
1167
1168 #define EGLEW_KHR_fence_sync EGLEW_GET_VAR(__EGLEW_KHR_fence_sync)
1169
1170 #endif /* EGL_KHR_fence_sync */
1171
1172 /* --------------------- EGL_KHR_get_all_proc_addresses -------------------- */
1173
1174 #ifndef EGL_KHR_get_all_proc_addresses
1175 #define EGL_KHR_get_all_proc_addresses 1
1176
1177 #define EGLEW_KHR_get_all_proc_addresses EGLEW_GET_VAR(__EGLEW_KHR_get_all_proc_addresses)
1178
1179 #endif /* EGL_KHR_get_all_proc_addresses */
1180
1181 /* ------------------------- EGL_KHR_gl_colorspace ------------------------- */
1182
1183 #ifndef EGL_KHR_gl_colorspace
1184 #define EGL_KHR_gl_colorspace 1
1185
1186 #define EGL_GL_COLORSPACE_SRGB_KHR 0x3089
1187 #define EGL_GL_COLORSPACE_LINEAR_KHR 0x308A
1188 #define EGL_GL_COLORSPACE_KHR 0x309D
1189
1190 #define EGLEW_KHR_gl_colorspace EGLEW_GET_VAR(__EGLEW_KHR_gl_colorspace)
1191
1192 #endif /* EGL_KHR_gl_colorspace */
1193
1194 /* --------------------- EGL_KHR_gl_renderbuffer_image --------------------- */
1195
1196 #ifndef EGL_KHR_gl_renderbuffer_image
1197 #define EGL_KHR_gl_renderbuffer_image 1
1198
1199 #define EGL_GL_RENDERBUFFER_KHR 0x30B9
1200
1201 #define EGLEW_KHR_gl_renderbuffer_image EGLEW_GET_VAR(__EGLEW_KHR_gl_renderbuffer_image)
1202
1203 #endif /* EGL_KHR_gl_renderbuffer_image */
1204
1205 /* ---------------------- EGL_KHR_gl_texture_2D_image ---------------------- */
1206
1207 #ifndef EGL_KHR_gl_texture_2D_image
1208 #define EGL_KHR_gl_texture_2D_image 1
1209
1210 #define EGL_GL_TEXTURE_2D_KHR 0x30B1
1211 #define EGL_GL_TEXTURE_LEVEL_KHR 0x30BC
1212
1213 #define EGLEW_KHR_gl_texture_2D_image EGLEW_GET_VAR(__EGLEW_KHR_gl_texture_2D_image)
1214
1215 #endif /* EGL_KHR_gl_texture_2D_image */
1216
1217 /* ---------------------- EGL_KHR_gl_texture_3D_image ---------------------- */
1218
1219 #ifndef EGL_KHR_gl_texture_3D_image
1220 #define EGL_KHR_gl_texture_3D_image 1
1221
1222 #define EGL_GL_TEXTURE_3D_KHR 0x30B2
1223 #define EGL_GL_TEXTURE_ZOFFSET_KHR 0x30BD
1224
1225 #define EGLEW_KHR_gl_texture_3D_image EGLEW_GET_VAR(__EGLEW_KHR_gl_texture_3D_image)
1226
1227 #endif /* EGL_KHR_gl_texture_3D_image */
1228
1229 /* -------------------- EGL_KHR_gl_texture_cubemap_image ------------------- */
1230
1231 #ifndef EGL_KHR_gl_texture_cubemap_image
1232 #define EGL_KHR_gl_texture_cubemap_image 1
1233
1234 #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR 0x30B3
1235 #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR 0x30B4
1236 #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR 0x30B5
1237 #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR 0x30B6
1238 #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR 0x30B7
1239 #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR 0x30B8
1240
1241 #define EGLEW_KHR_gl_texture_cubemap_image EGLEW_GET_VAR(__EGLEW_KHR_gl_texture_cubemap_image)
1242
1243 #endif /* EGL_KHR_gl_texture_cubemap_image */
1244
1245 /* ----------------------------- EGL_KHR_image ----------------------------- */
1246
1247 #ifndef EGL_KHR_image
1248 #define EGL_KHR_image 1
1249
1250 #define EGL_NATIVE_PIXMAP_KHR 0x30B0
1251
1252 typedef EGLImageKHR  ( * PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay  dpy, EGLContext  ctx, EGLenum  target, EGLClientBuffer  buffer, const EGLint * attrib_list);
1253 typedef EGLBoolean  ( * PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay  dpy, EGLImageKHR  image);
1254
1255 #define eglCreateImageKHR EGLEW_GET_FUN(__eglewCreateImageKHR)
1256 #define eglDestroyImageKHR EGLEW_GET_FUN(__eglewDestroyImageKHR)
1257
1258 #define EGLEW_KHR_image EGLEW_GET_VAR(__EGLEW_KHR_image)
1259
1260 #endif /* EGL_KHR_image */
1261
1262 /* --------------------------- EGL_KHR_image_base -------------------------- */
1263
1264 #ifndef EGL_KHR_image_base
1265 #define EGL_KHR_image_base 1
1266
1267 #define EGL_IMAGE_PRESERVED_KHR 0x30D2
1268
1269 #define EGLEW_KHR_image_base EGLEW_GET_VAR(__EGLEW_KHR_image_base)
1270
1271 #endif /* EGL_KHR_image_base */
1272
1273 /* -------------------------- EGL_KHR_image_pixmap ------------------------- */
1274
1275 #ifndef EGL_KHR_image_pixmap
1276 #define EGL_KHR_image_pixmap 1
1277
1278 #define EGL_NATIVE_PIXMAP_KHR 0x30B0
1279
1280 #define EGLEW_KHR_image_pixmap EGLEW_GET_VAR(__EGLEW_KHR_image_pixmap)
1281
1282 #endif /* EGL_KHR_image_pixmap */
1283
1284 /* -------------------------- EGL_KHR_lock_surface ------------------------- */
1285
1286 #ifndef EGL_KHR_lock_surface
1287 #define EGL_KHR_lock_surface 1
1288
1289 #define EGL_READ_SURFACE_BIT_KHR 0x0001
1290 #define EGL_WRITE_SURFACE_BIT_KHR 0x0002
1291 #define EGL_LOCK_SURFACE_BIT_KHR 0x0080
1292 #define EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100
1293 #define EGL_MATCH_FORMAT_KHR 0x3043
1294 #define EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0
1295 #define EGL_FORMAT_RGB_565_KHR 0x30C1
1296 #define EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2
1297 #define EGL_FORMAT_RGBA_8888_KHR 0x30C3
1298 #define EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4
1299 #define EGL_LOCK_USAGE_HINT_KHR 0x30C5
1300 #define EGL_BITMAP_POINTER_KHR 0x30C6
1301 #define EGL_BITMAP_PITCH_KHR 0x30C7
1302 #define EGL_BITMAP_ORIGIN_KHR 0x30C8
1303 #define EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9
1304 #define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA
1305 #define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB
1306 #define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC
1307 #define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD
1308 #define EGL_LOWER_LEFT_KHR 0x30CE
1309 #define EGL_UPPER_LEFT_KHR 0x30CF
1310
1311 typedef EGLBoolean  ( * PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay  dpy, EGLSurface  surface, const EGLint * attrib_list);
1312 typedef EGLBoolean  ( * PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay  dpy, EGLSurface  surface);
1313
1314 #define eglLockSurfaceKHR EGLEW_GET_FUN(__eglewLockSurfaceKHR)
1315 #define eglUnlockSurfaceKHR EGLEW_GET_FUN(__eglewUnlockSurfaceKHR)
1316
1317 #define EGLEW_KHR_lock_surface EGLEW_GET_VAR(__EGLEW_KHR_lock_surface)
1318
1319 #endif /* EGL_KHR_lock_surface */
1320
1321 /* ------------------------- EGL_KHR_lock_surface2 ------------------------- */
1322
1323 #ifndef EGL_KHR_lock_surface2
1324 #define EGL_KHR_lock_surface2 1
1325
1326 #define EGL_BITMAP_PIXEL_SIZE_KHR 0x3110
1327
1328 #define EGLEW_KHR_lock_surface2 EGLEW_GET_VAR(__EGLEW_KHR_lock_surface2)
1329
1330 #endif /* EGL_KHR_lock_surface2 */
1331
1332 /* ------------------------- EGL_KHR_lock_surface3 ------------------------- */
1333
1334 #ifndef EGL_KHR_lock_surface3
1335 #define EGL_KHR_lock_surface3 1
1336
1337 #define EGL_READ_SURFACE_BIT_KHR 0x0001
1338 #define EGL_WRITE_SURFACE_BIT_KHR 0x0002
1339 #define EGL_LOCK_SURFACE_BIT_KHR 0x0080
1340 #define EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100
1341 #define EGL_MATCH_FORMAT_KHR 0x3043
1342 #define EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0
1343 #define EGL_FORMAT_RGB_565_KHR 0x30C1
1344 #define EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2
1345 #define EGL_FORMAT_RGBA_8888_KHR 0x30C3
1346 #define EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4
1347 #define EGL_LOCK_USAGE_HINT_KHR 0x30C5
1348 #define EGL_BITMAP_POINTER_KHR 0x30C6
1349 #define EGL_BITMAP_PITCH_KHR 0x30C7
1350 #define EGL_BITMAP_ORIGIN_KHR 0x30C8
1351 #define EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9
1352 #define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA
1353 #define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB
1354 #define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC
1355 #define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD
1356 #define EGL_LOWER_LEFT_KHR 0x30CE
1357 #define EGL_UPPER_LEFT_KHR 0x30CF
1358 #define EGL_BITMAP_PIXEL_SIZE_KHR 0x3110
1359
1360 typedef EGLBoolean  ( * PFNEGLQUERYSURFACE64KHRPROC) (EGLDisplay  dpy, EGLSurface  surface, EGLint  attribute, EGLAttribKHR * value);
1361
1362 #define eglQuerySurface64KHR EGLEW_GET_FUN(__eglewQuerySurface64KHR)
1363
1364 #define EGLEW_KHR_lock_surface3 EGLEW_GET_VAR(__EGLEW_KHR_lock_surface3)
1365
1366 #endif /* EGL_KHR_lock_surface3 */
1367
1368 /* --------------------- EGL_KHR_mutable_render_buffer --------------------- */
1369
1370 #ifndef EGL_KHR_mutable_render_buffer
1371 #define EGL_KHR_mutable_render_buffer 1
1372
1373 #define EGL_MUTABLE_RENDER_BUFFER_BIT_KHR 0x1000
1374
1375 #define EGLEW_KHR_mutable_render_buffer EGLEW_GET_VAR(__EGLEW_KHR_mutable_render_buffer)
1376
1377 #endif /* EGL_KHR_mutable_render_buffer */
1378
1379 /* ------------------------- EGL_KHR_partial_update ------------------------ */
1380
1381 #ifndef EGL_KHR_partial_update
1382 #define EGL_KHR_partial_update 1
1383
1384 #define EGL_BUFFER_AGE_KHR 0x313D
1385
1386 typedef EGLBoolean  ( * PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay  dpy, EGLSurface  surface, EGLint * rects, EGLint  n_rects);
1387
1388 #define eglSetDamageRegionKHR EGLEW_GET_FUN(__eglewSetDamageRegionKHR)
1389
1390 #define EGLEW_KHR_partial_update EGLEW_GET_VAR(__EGLEW_KHR_partial_update)
1391
1392 #endif /* EGL_KHR_partial_update */
1393
1394 /* ------------------------ EGL_KHR_platform_android ----------------------- */
1395
1396 #ifndef EGL_KHR_platform_android
1397 #define EGL_KHR_platform_android 1
1398
1399 #define EGL_PLATFORM_ANDROID_KHR 0x3141
1400
1401 #define EGLEW_KHR_platform_android EGLEW_GET_VAR(__EGLEW_KHR_platform_android)
1402
1403 #endif /* EGL_KHR_platform_android */
1404
1405 /* -------------------------- EGL_KHR_platform_gbm ------------------------- */
1406
1407 #ifndef EGL_KHR_platform_gbm
1408 #define EGL_KHR_platform_gbm 1
1409
1410 #define EGL_PLATFORM_GBM_KHR 0x31D7
1411
1412 #define EGLEW_KHR_platform_gbm EGLEW_GET_VAR(__EGLEW_KHR_platform_gbm)
1413
1414 #endif /* EGL_KHR_platform_gbm */
1415
1416 /* ------------------------ EGL_KHR_platform_wayland ----------------------- */
1417
1418 #ifndef EGL_KHR_platform_wayland
1419 #define EGL_KHR_platform_wayland 1
1420
1421 #define EGL_PLATFORM_WAYLAND_KHR 0x31D8
1422
1423 #define EGLEW_KHR_platform_wayland EGLEW_GET_VAR(__EGLEW_KHR_platform_wayland)
1424
1425 #endif /* EGL_KHR_platform_wayland */
1426
1427 /* -------------------------- EGL_KHR_platform_x11 ------------------------- */
1428
1429 #ifndef EGL_KHR_platform_x11
1430 #define EGL_KHR_platform_x11 1
1431
1432 #define EGL_PLATFORM_X11_KHR 0x31D5
1433 #define EGL_PLATFORM_X11_SCREEN_KHR 0x31D6
1434
1435 #define EGLEW_KHR_platform_x11 EGLEW_GET_VAR(__EGLEW_KHR_platform_x11)
1436
1437 #endif /* EGL_KHR_platform_x11 */
1438
1439 /* ------------------------- EGL_KHR_reusable_sync ------------------------- */
1440
1441 #ifndef EGL_KHR_reusable_sync
1442 #define EGL_KHR_reusable_sync 1
1443
1444 #define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001
1445 #define EGL_SYNC_STATUS_KHR 0x30F1
1446 #define EGL_SIGNALED_KHR 0x30F2
1447 #define EGL_UNSIGNALED_KHR 0x30F3
1448 #define EGL_TIMEOUT_EXPIRED_KHR 0x30F5
1449 #define EGL_CONDITION_SATISFIED_KHR 0x30F6
1450 #define EGL_SYNC_TYPE_KHR 0x30F7
1451 #define EGL_SYNC_REUSABLE_KHR 0x30FA
1452 #define EGL_FOREVER_KHR 0xFFFFFFFFFFFFFFFF
1453
1454 typedef EGLint  ( * PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay  dpy, EGLSyncKHR  sync, EGLint  flags, EGLTimeKHR  timeout);
1455 typedef EGLSyncKHR  ( * PFNEGLCREATESYNCKHRPROC) (EGLDisplay  dpy, EGLenum  type, const EGLint * attrib_list);
1456 typedef EGLBoolean  ( * PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay  dpy, EGLSyncKHR  sync);
1457 typedef EGLBoolean  ( * PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay  dpy, EGLSyncKHR  sync, EGLint  attribute, EGLint * value);
1458 typedef EGLBoolean  ( * PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay  dpy, EGLSyncKHR  sync, EGLenum  mode);
1459
1460 #define eglClientWaitSyncKHR EGLEW_GET_FUN(__eglewClientWaitSyncKHR)
1461 #define eglCreateSyncKHR EGLEW_GET_FUN(__eglewCreateSyncKHR)
1462 #define eglDestroySyncKHR EGLEW_GET_FUN(__eglewDestroySyncKHR)
1463 #define eglGetSyncAttribKHR EGLEW_GET_FUN(__eglewGetSyncAttribKHR)
1464 #define eglSignalSyncKHR EGLEW_GET_FUN(__eglewSignalSyncKHR)
1465
1466 #define EGLEW_KHR_reusable_sync EGLEW_GET_VAR(__EGLEW_KHR_reusable_sync)
1467
1468 #endif /* EGL_KHR_reusable_sync */
1469
1470 /* ----------------------------- EGL_KHR_stream ---------------------------- */
1471
1472 #ifndef EGL_KHR_stream
1473 #define EGL_KHR_stream 1
1474
1475 #define EGL_CONSUMER_LATENCY_USEC_KHR 0x3210
1476 #define EGL_PRODUCER_FRAME_KHR 0x3212
1477 #define EGL_CONSUMER_FRAME_KHR 0x3213
1478 #define EGL_STREAM_STATE_KHR 0x3214
1479 #define EGL_STREAM_STATE_CREATED_KHR 0x3215
1480 #define EGL_STREAM_STATE_CONNECTING_KHR 0x3216
1481 #define EGL_STREAM_STATE_EMPTY_KHR 0x3217
1482 #define EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR 0x3218
1483 #define EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR 0x3219
1484 #define EGL_STREAM_STATE_DISCONNECTED_KHR 0x321A
1485 #define EGL_BAD_STREAM_KHR 0x321B
1486 #define EGL_BAD_STATE_KHR 0x321C
1487
1488 typedef EGLStreamKHR  ( * PFNEGLCREATESTREAMKHRPROC) (EGLDisplay  dpy, const EGLint * attrib_list);
1489 typedef EGLBoolean  ( * PFNEGLDESTROYSTREAMKHRPROC) (EGLDisplay  dpy, EGLStreamKHR  stream);
1490 typedef EGLBoolean  ( * PFNEGLQUERYSTREAMKHRPROC) (EGLDisplay  dpy, EGLStreamKHR  stream, EGLenum  attribute, EGLint * value);
1491 typedef EGLBoolean  ( * PFNEGLQUERYSTREAMU64KHRPROC) (EGLDisplay  dpy, EGLStreamKHR  stream, EGLenum  attribute, EGLuint64KHR * value);
1492 typedef EGLBoolean  ( * PFNEGLSTREAMATTRIBKHRPROC) (EGLDisplay  dpy, EGLStreamKHR  stream, EGLenum  attribute, EGLint  value);
1493
1494 #define eglCreateStreamKHR EGLEW_GET_FUN(__eglewCreateStreamKHR)
1495 #define eglDestroyStreamKHR EGLEW_GET_FUN(__eglewDestroyStreamKHR)
1496 #define eglQueryStreamKHR EGLEW_GET_FUN(__eglewQueryStreamKHR)
1497 #define eglQueryStreamu64KHR EGLEW_GET_FUN(__eglewQueryStreamu64KHR)
1498 #define eglStreamAttribKHR EGLEW_GET_FUN(__eglewStreamAttribKHR)
1499
1500 #define EGLEW_KHR_stream EGLEW_GET_VAR(__EGLEW_KHR_stream)
1501
1502 #endif /* EGL_KHR_stream */
1503
1504 /* ------------------- EGL_KHR_stream_consumer_gltexture ------------------- */
1505
1506 #ifndef EGL_KHR_stream_consumer_gltexture
1507 #define EGL_KHR_stream_consumer_gltexture 1
1508
1509 #define EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR 0x321E
1510
1511 typedef EGLBoolean  ( * PFNEGLSTREAMCONSUMERACQUIREKHRPROC) (EGLDisplay  dpy, EGLStreamKHR  stream);
1512 typedef EGLBoolean  ( * PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC) (EGLDisplay  dpy, EGLStreamKHR  stream);
1513 typedef EGLBoolean  ( * PFNEGLSTREAMCONSUMERRELEASEKHRPROC) (EGLDisplay  dpy, EGLStreamKHR  stream);
1514
1515 #define eglStreamConsumerAcquireKHR EGLEW_GET_FUN(__eglewStreamConsumerAcquireKHR)
1516 #define eglStreamConsumerGLTextureExternalKHR EGLEW_GET_FUN(__eglewStreamConsumerGLTextureExternalKHR)
1517 #define eglStreamConsumerReleaseKHR EGLEW_GET_FUN(__eglewStreamConsumerReleaseKHR)
1518
1519 #define EGLEW_KHR_stream_consumer_gltexture EGLEW_GET_VAR(__EGLEW_KHR_stream_consumer_gltexture)
1520
1521 #endif /* EGL_KHR_stream_consumer_gltexture */
1522
1523 /* -------------------- EGL_KHR_stream_cross_process_fd -------------------- */
1524
1525 #ifndef EGL_KHR_stream_cross_process_fd
1526 #define EGL_KHR_stream_cross_process_fd 1
1527
1528 typedef EGLStreamKHR  ( * PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC) (EGLDisplay  dpy, EGLNativeFileDescriptorKHR  file_descriptor);
1529 typedef EGLNativeFileDescriptorKHR  ( * PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC) (EGLDisplay  dpy, EGLStreamKHR  stream);
1530
1531 #define eglCreateStreamFromFileDescriptorKHR EGLEW_GET_FUN(__eglewCreateStreamFromFileDescriptorKHR)
1532 #define eglGetStreamFileDescriptorKHR EGLEW_GET_FUN(__eglewGetStreamFileDescriptorKHR)
1533
1534 #define EGLEW_KHR_stream_cross_process_fd EGLEW_GET_VAR(__EGLEW_KHR_stream_cross_process_fd)
1535
1536 #endif /* EGL_KHR_stream_cross_process_fd */
1537
1538 /* -------------------------- EGL_KHR_stream_fifo -------------------------- */
1539
1540 #ifndef EGL_KHR_stream_fifo
1541 #define EGL_KHR_stream_fifo 1
1542
1543 #define EGL_STREAM_FIFO_LENGTH_KHR 0x31FC
1544 #define EGL_STREAM_TIME_NOW_KHR 0x31FD
1545 #define EGL_STREAM_TIME_CONSUMER_KHR 0x31FE
1546 #define EGL_STREAM_TIME_PRODUCER_KHR 0x31FF
1547
1548 typedef EGLBoolean  ( * PFNEGLQUERYSTREAMTIMEKHRPROC) (EGLDisplay  dpy, EGLStreamKHR  stream, EGLenum  attribute, EGLTimeKHR * value);
1549
1550 #define eglQueryStreamTimeKHR EGLEW_GET_FUN(__eglewQueryStreamTimeKHR)
1551
1552 #define EGLEW_KHR_stream_fifo EGLEW_GET_VAR(__EGLEW_KHR_stream_fifo)
1553
1554 #endif /* EGL_KHR_stream_fifo */
1555
1556 /* ----------------- EGL_KHR_stream_producer_aldatalocator ----------------- */
1557
1558 #ifndef EGL_KHR_stream_producer_aldatalocator
1559 #define EGL_KHR_stream_producer_aldatalocator 1
1560
1561 #define EGLEW_KHR_stream_producer_aldatalocator EGLEW_GET_VAR(__EGLEW_KHR_stream_producer_aldatalocator)
1562
1563 #endif /* EGL_KHR_stream_producer_aldatalocator */
1564
1565 /* ------------------- EGL_KHR_stream_producer_eglsurface ------------------ */
1566
1567 #ifndef EGL_KHR_stream_producer_eglsurface
1568 #define EGL_KHR_stream_producer_eglsurface 1
1569
1570 #define EGL_STREAM_BIT_KHR 0x0800
1571
1572 typedef EGLSurface  ( * PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC) (EGLDisplay  dpy, EGLConfig  config, EGLStreamKHR  stream, const EGLint * attrib_list);
1573
1574 #define eglCreateStreamProducerSurfaceKHR EGLEW_GET_FUN(__eglewCreateStreamProducerSurfaceKHR)
1575
1576 #define EGLEW_KHR_stream_producer_eglsurface EGLEW_GET_VAR(__EGLEW_KHR_stream_producer_eglsurface)
1577
1578 #endif /* EGL_KHR_stream_producer_eglsurface */
1579
1580 /* ---------------------- EGL_KHR_surfaceless_context ---------------------- */
1581
1582 #ifndef EGL_KHR_surfaceless_context
1583 #define EGL_KHR_surfaceless_context 1
1584
1585 #define EGLEW_KHR_surfaceless_context EGLEW_GET_VAR(__EGLEW_KHR_surfaceless_context)
1586
1587 #endif /* EGL_KHR_surfaceless_context */
1588
1589 /* -------------------- EGL_KHR_swap_buffers_with_damage ------------------- */
1590
1591 #ifndef EGL_KHR_swap_buffers_with_damage
1592 #define EGL_KHR_swap_buffers_with_damage 1
1593
1594 typedef EGLBoolean  ( * PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay  dpy, EGLSurface  surface, EGLint * rects, EGLint  n_rects);
1595
1596 #define eglSwapBuffersWithDamageKHR EGLEW_GET_FUN(__eglewSwapBuffersWithDamageKHR)
1597
1598 #define EGLEW_KHR_swap_buffers_with_damage EGLEW_GET_VAR(__EGLEW_KHR_swap_buffers_with_damage)
1599
1600 #endif /* EGL_KHR_swap_buffers_with_damage */
1601
1602 /* ------------------------ EGL_KHR_vg_parent_image ------------------------ */
1603
1604 #ifndef EGL_KHR_vg_parent_image
1605 #define EGL_KHR_vg_parent_image 1
1606
1607 #define EGL_VG_PARENT_IMAGE_KHR 0x30BA
1608
1609 #define EGLEW_KHR_vg_parent_image EGLEW_GET_VAR(__EGLEW_KHR_vg_parent_image)
1610
1611 #endif /* EGL_KHR_vg_parent_image */
1612
1613 /* --------------------------- EGL_KHR_wait_sync --------------------------- */
1614
1615 #ifndef EGL_KHR_wait_sync
1616 #define EGL_KHR_wait_sync 1
1617
1618 typedef EGLint  ( * PFNEGLWAITSYNCKHRPROC) (EGLDisplay  dpy, EGLSyncKHR  sync, EGLint  flags);
1619
1620 #define eglWaitSyncKHR EGLEW_GET_FUN(__eglewWaitSyncKHR)
1621
1622 #define EGLEW_KHR_wait_sync EGLEW_GET_VAR(__EGLEW_KHR_wait_sync)
1623
1624 #endif /* EGL_KHR_wait_sync */
1625
1626 /* --------------------------- EGL_MESA_drm_image -------------------------- */
1627
1628 #ifndef EGL_MESA_drm_image
1629 #define EGL_MESA_drm_image 1
1630
1631 #define EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x00000001
1632 #define EGL_DRM_BUFFER_USE_SHARE_MESA 0x00000002
1633 #define EGL_DRM_BUFFER_FORMAT_MESA 0x31D0
1634 #define EGL_DRM_BUFFER_USE_MESA 0x31D1
1635 #define EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2
1636 #define EGL_DRM_BUFFER_MESA 0x31D3
1637 #define EGL_DRM_BUFFER_STRIDE_MESA 0x31D4
1638
1639 typedef EGLImageKHR  ( * PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay  dpy, const EGLint * attrib_list);
1640 typedef EGLBoolean  ( * PFNEGLEXPORTDRMIMAGEMESAPROC) (EGLDisplay  dpy, EGLImageKHR  image, EGLint * name, EGLint * handle, EGLint * stride);
1641
1642 #define eglCreateDRMImageMESA EGLEW_GET_FUN(__eglewCreateDRMImageMESA)
1643 #define eglExportDRMImageMESA EGLEW_GET_FUN(__eglewExportDRMImageMESA)
1644
1645 #define EGLEW_MESA_drm_image EGLEW_GET_VAR(__EGLEW_MESA_drm_image)
1646
1647 #endif /* EGL_MESA_drm_image */
1648
1649 /* --------------------- EGL_MESA_image_dma_buf_export --------------------- */
1650
1651 #ifndef EGL_MESA_image_dma_buf_export
1652 #define EGL_MESA_image_dma_buf_export 1
1653
1654 typedef EGLBoolean  ( * PFNEGLEXPORTDMABUFIMAGEMESAPROC) (EGLDisplay  dpy, EGLImageKHR  image, int * fds, EGLint * strides, EGLint * offsets);
1655 typedef EGLBoolean  ( * PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC) (EGLDisplay  dpy, EGLImageKHR  image, int * fourcc, int * num_planes, EGLuint64KHR * modifiers);
1656
1657 #define eglExportDMABUFImageMESA EGLEW_GET_FUN(__eglewExportDMABUFImageMESA)
1658 #define eglExportDMABUFImageQueryMESA EGLEW_GET_FUN(__eglewExportDMABUFImageQueryMESA)
1659
1660 #define EGLEW_MESA_image_dma_buf_export EGLEW_GET_VAR(__EGLEW_MESA_image_dma_buf_export)
1661
1662 #endif /* EGL_MESA_image_dma_buf_export */
1663
1664 /* ------------------------- EGL_MESA_platform_gbm ------------------------- */
1665
1666 #ifndef EGL_MESA_platform_gbm
1667 #define EGL_MESA_platform_gbm 1
1668
1669 #define EGL_PLATFORM_GBM_MESA 0x31D7
1670
1671 #define EGLEW_MESA_platform_gbm EGLEW_GET_VAR(__EGLEW_MESA_platform_gbm)
1672
1673 #endif /* EGL_MESA_platform_gbm */
1674
1675 /* -------------------------- EGL_NOK_swap_region -------------------------- */
1676
1677 #ifndef EGL_NOK_swap_region
1678 #define EGL_NOK_swap_region 1
1679
1680 typedef EGLBoolean  ( * PFNEGLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay  dpy, EGLSurface  surface, EGLint  numRects, const EGLint * rects);
1681
1682 #define eglSwapBuffersRegionNOK EGLEW_GET_FUN(__eglewSwapBuffersRegionNOK)
1683
1684 #define EGLEW_NOK_swap_region EGLEW_GET_VAR(__EGLEW_NOK_swap_region)
1685
1686 #endif /* EGL_NOK_swap_region */
1687
1688 /* -------------------------- EGL_NOK_swap_region2 ------------------------- */
1689
1690 #ifndef EGL_NOK_swap_region2
1691 #define EGL_NOK_swap_region2 1
1692
1693 typedef EGLBoolean  ( * PFNEGLSWAPBUFFERSREGION2NOKPROC) (EGLDisplay  dpy, EGLSurface  surface, EGLint  numRects, const EGLint * rects);
1694
1695 #define eglSwapBuffersRegion2NOK EGLEW_GET_FUN(__eglewSwapBuffersRegion2NOK)
1696
1697 #define EGLEW_NOK_swap_region2 EGLEW_GET_VAR(__EGLEW_NOK_swap_region2)
1698
1699 #endif /* EGL_NOK_swap_region2 */
1700
1701 /* ---------------------- EGL_NOK_texture_from_pixmap ---------------------- */
1702
1703 #ifndef EGL_NOK_texture_from_pixmap
1704 #define EGL_NOK_texture_from_pixmap 1
1705
1706 #define EGL_Y_INVERTED_NOK 0x307F
1707
1708 #define EGLEW_NOK_texture_from_pixmap EGLEW_GET_VAR(__EGLEW_NOK_texture_from_pixmap)
1709
1710 #endif /* EGL_NOK_texture_from_pixmap */
1711
1712 /* ------------------------ EGL_NV_3dvision_surface ------------------------ */
1713
1714 #ifndef EGL_NV_3dvision_surface
1715 #define EGL_NV_3dvision_surface 1
1716
1717 #define EGL_AUTO_STEREO_NV 0x3136
1718
1719 #define EGLEW_NV_3dvision_surface EGLEW_GET_VAR(__EGLEW_NV_3dvision_surface)
1720
1721 #endif /* EGL_NV_3dvision_surface */
1722
1723 /* ------------------------- EGL_NV_coverage_sample ------------------------ */
1724
1725 #ifndef EGL_NV_coverage_sample
1726 #define EGL_NV_coverage_sample 1
1727
1728 #define EGL_COVERAGE_BUFFERS_NV 0x30E0
1729 #define EGL_COVERAGE_SAMPLES_NV 0x30E1
1730
1731 #define EGLEW_NV_coverage_sample EGLEW_GET_VAR(__EGLEW_NV_coverage_sample)
1732
1733 #endif /* EGL_NV_coverage_sample */
1734
1735 /* --------------------- EGL_NV_coverage_sample_resolve -------------------- */
1736
1737 #ifndef EGL_NV_coverage_sample_resolve
1738 #define EGL_NV_coverage_sample_resolve 1
1739
1740 #define EGL_COVERAGE_SAMPLE_RESOLVE_NV 0x3131
1741 #define EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV 0x3132
1742 #define EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV 0x3133
1743
1744 #define EGLEW_NV_coverage_sample_resolve EGLEW_GET_VAR(__EGLEW_NV_coverage_sample_resolve)
1745
1746 #endif /* EGL_NV_coverage_sample_resolve */
1747
1748 /* --------------------------- EGL_NV_cuda_event --------------------------- */
1749
1750 #ifndef EGL_NV_cuda_event
1751 #define EGL_NV_cuda_event 1
1752
1753 #define EGL_CUDA_EVENT_HANDLE_NV 0x323B
1754 #define EGL_SYNC_CUDA_EVENT_NV 0x323C
1755 #define EGL_SYNC_CUDA_EVENT_COMPLETE_NV 0x323D
1756
1757 #define EGLEW_NV_cuda_event EGLEW_GET_VAR(__EGLEW_NV_cuda_event)
1758
1759 #endif /* EGL_NV_cuda_event */
1760
1761 /* ------------------------- EGL_NV_depth_nonlinear ------------------------ */
1762
1763 #ifndef EGL_NV_depth_nonlinear
1764 #define EGL_NV_depth_nonlinear 1
1765
1766 #define EGL_DEPTH_ENCODING_NONE_NV 0
1767 #define EGL_DEPTH_ENCODING_NV 0x30E2
1768 #define EGL_DEPTH_ENCODING_NONLINEAR_NV 0x30E3
1769
1770 #define EGLEW_NV_depth_nonlinear EGLEW_GET_VAR(__EGLEW_NV_depth_nonlinear)
1771
1772 #endif /* EGL_NV_depth_nonlinear */
1773
1774 /* --------------------------- EGL_NV_device_cuda -------------------------- */
1775
1776 #ifndef EGL_NV_device_cuda
1777 #define EGL_NV_device_cuda 1
1778
1779 #define EGL_CUDA_DEVICE_NV 0x323A
1780
1781 #define EGLEW_NV_device_cuda EGLEW_GET_VAR(__EGLEW_NV_device_cuda)
1782
1783 #endif /* EGL_NV_device_cuda */
1784
1785 /* -------------------------- EGL_NV_native_query -------------------------- */
1786
1787 #ifndef EGL_NV_native_query
1788 #define EGL_NV_native_query 1
1789
1790 typedef EGLBoolean  ( * PFNEGLQUERYNATIVEDISPLAYNVPROC) (EGLDisplay  dpy, EGLNativeDisplayType * display_id);
1791 typedef EGLBoolean  ( * PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay  dpy, EGLSurface  surf, EGLNativePixmapType * pixmap);
1792 typedef EGLBoolean  ( * PFNEGLQUERYNATIVEWINDOWNVPROC) (EGLDisplay  dpy, EGLSurface  surf, EGLNativeWindowType * window);
1793
1794 #define eglQueryNativeDisplayNV EGLEW_GET_FUN(__eglewQueryNativeDisplayNV)
1795 #define eglQueryNativePixmapNV EGLEW_GET_FUN(__eglewQueryNativePixmapNV)
1796 #define eglQueryNativeWindowNV EGLEW_GET_FUN(__eglewQueryNativeWindowNV)
1797
1798 #define EGLEW_NV_native_query EGLEW_GET_VAR(__EGLEW_NV_native_query)
1799
1800 #endif /* EGL_NV_native_query */
1801
1802 /* ---------------------- EGL_NV_post_convert_rounding --------------------- */
1803
1804 #ifndef EGL_NV_post_convert_rounding
1805 #define EGL_NV_post_convert_rounding 1
1806
1807 #define EGLEW_NV_post_convert_rounding EGLEW_GET_VAR(__EGLEW_NV_post_convert_rounding)
1808
1809 #endif /* EGL_NV_post_convert_rounding */
1810
1811 /* ------------------------- EGL_NV_post_sub_buffer ------------------------ */
1812
1813 #ifndef EGL_NV_post_sub_buffer
1814 #define EGL_NV_post_sub_buffer 1
1815
1816 #define EGL_POST_SUB_BUFFER_SUPPORTED_NV 0x30BE
1817
1818 typedef EGLBoolean  ( * PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay  dpy, EGLSurface  surface, EGLint  x, EGLint  y, EGLint  width, EGLint  height);
1819
1820 #define eglPostSubBufferNV EGLEW_GET_FUN(__eglewPostSubBufferNV)
1821
1822 #define EGLEW_NV_post_sub_buffer EGLEW_GET_VAR(__EGLEW_NV_post_sub_buffer)
1823
1824 #endif /* EGL_NV_post_sub_buffer */
1825
1826 /* ------------------ EGL_NV_robustness_video_memory_purge ----------------- */
1827
1828 #ifndef EGL_NV_robustness_video_memory_purge
1829 #define EGL_NV_robustness_video_memory_purge 1
1830
1831 #define EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV 0x334C
1832
1833 #define EGLEW_NV_robustness_video_memory_purge EGLEW_GET_VAR(__EGLEW_NV_robustness_video_memory_purge)
1834
1835 #endif /* EGL_NV_robustness_video_memory_purge */
1836
1837 /* ------------------ EGL_NV_stream_consumer_gltexture_yuv ----------------- */
1838
1839 #ifndef EGL_NV_stream_consumer_gltexture_yuv
1840 #define EGL_NV_stream_consumer_gltexture_yuv 1
1841
1842 #define EGL_YUV_BUFFER_EXT 0x3300
1843 #define EGL_YUV_NUMBER_OF_PLANES_EXT 0x3311
1844 #define EGL_YUV_PLANE0_TEXTURE_UNIT_NV 0x332C
1845 #define EGL_YUV_PLANE1_TEXTURE_UNIT_NV 0x332D
1846 #define EGL_YUV_PLANE2_TEXTURE_UNIT_NV 0x332E
1847
1848 typedef EGLBoolean  ( * PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC) (EGLDisplay  dpy, EGLStreamKHR  stream, EGLAttrib  *attrib_list);
1849
1850 #define eglStreamConsumerGLTextureExternalAttribsNV EGLEW_GET_FUN(__eglewStreamConsumerGLTextureExternalAttribsNV)
1851
1852 #define EGLEW_NV_stream_consumer_gltexture_yuv EGLEW_GET_VAR(__EGLEW_NV_stream_consumer_gltexture_yuv)
1853
1854 #endif /* EGL_NV_stream_consumer_gltexture_yuv */
1855
1856 /* ------------------------- EGL_NV_stream_metadata ------------------------ */
1857
1858 #ifndef EGL_NV_stream_metadata
1859 #define EGL_NV_stream_metadata 1
1860
1861 #define EGL_MAX_STREAM_METADATA_BLOCKS_NV 0x3250
1862 #define EGL_MAX_STREAM_METADATA_BLOCK_SIZE_NV 0x3251
1863 #define EGL_MAX_STREAM_METADATA_TOTAL_SIZE_NV 0x3252
1864 #define EGL_PRODUCER_METADATA_NV 0x3253
1865 #define EGL_CONSUMER_METADATA_NV 0x3254
1866 #define EGL_METADATA0_SIZE_NV 0x3255
1867 #define EGL_METADATA1_SIZE_NV 0x3256
1868 #define EGL_METADATA2_SIZE_NV 0x3257
1869 #define EGL_METADATA3_SIZE_NV 0x3258
1870 #define EGL_METADATA0_TYPE_NV 0x3259
1871 #define EGL_METADATA1_TYPE_NV 0x325A
1872 #define EGL_METADATA2_TYPE_NV 0x325B
1873 #define EGL_METADATA3_TYPE_NV 0x325C
1874 #define EGL_PENDING_METADATA_NV 0x3328
1875
1876 typedef EGLBoolean  ( * PFNEGLQUERYDISPLAYATTRIBNVPROC) (EGLDisplay  dpy, EGLint  attribute, EGLAttrib * value);
1877 typedef EGLBoolean  ( * PFNEGLQUERYSTREAMMETADATANVPROC) (EGLDisplay  dpy, EGLStreamKHR  stream, EGLenum  name, EGLint  n, EGLint  offset, EGLint  size, void * data);
1878 typedef EGLBoolean  ( * PFNEGLSETSTREAMMETADATANVPROC) (EGLDisplay  dpy, EGLStreamKHR  stream, EGLint  n, EGLint  offset, EGLint  size, const void * data);
1879
1880 #define eglQueryDisplayAttribNV EGLEW_GET_FUN(__eglewQueryDisplayAttribNV)
1881 #define eglQueryStreamMetadataNV EGLEW_GET_FUN(__eglewQueryStreamMetadataNV)
1882 #define eglSetStreamMetadataNV EGLEW_GET_FUN(__eglewSetStreamMetadataNV)
1883
1884 #define EGLEW_NV_stream_metadata EGLEW_GET_VAR(__EGLEW_NV_stream_metadata)
1885
1886 #endif /* EGL_NV_stream_metadata */
1887
1888 /* --------------------------- EGL_NV_stream_sync -------------------------- */
1889
1890 #ifndef EGL_NV_stream_sync
1891 #define EGL_NV_stream_sync 1
1892
1893 #define EGL_SYNC_TYPE_KHR 0x30F7
1894 #define EGL_SYNC_NEW_FRAME_NV 0x321F
1895
1896 typedef EGLSyncKHR  ( * PFNEGLCREATESTREAMSYNCNVPROC) (EGLDisplay  dpy, EGLStreamKHR  stream, EGLenum  type, const EGLint * attrib_list);
1897
1898 #define eglCreateStreamSyncNV EGLEW_GET_FUN(__eglewCreateStreamSyncNV)
1899
1900 #define EGLEW_NV_stream_sync EGLEW_GET_VAR(__EGLEW_NV_stream_sync)
1901
1902 #endif /* EGL_NV_stream_sync */
1903
1904 /* ------------------------------ EGL_NV_sync ------------------------------ */
1905
1906 #ifndef EGL_NV_sync
1907 #define EGL_NV_sync 1
1908
1909 #define EGL_SYNC_FLUSH_COMMANDS_BIT_NV 0x0001
1910 #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV 0x30E6
1911 #define EGL_SYNC_STATUS_NV 0x30E7
1912 #define EGL_SIGNALED_NV 0x30E8
1913 #define EGL_UNSIGNALED_NV 0x30E9
1914 #define EGL_ALREADY_SIGNALED_NV 0x30EA
1915 #define EGL_TIMEOUT_EXPIRED_NV 0x30EB
1916 #define EGL_CONDITION_SATISFIED_NV 0x30EC
1917 #define EGL_SYNC_TYPE_NV 0x30ED
1918 #define EGL_SYNC_CONDITION_NV 0x30EE
1919 #define EGL_SYNC_FENCE_NV 0x30EF
1920 #define EGL_FOREVER_NV 0xFFFFFFFFFFFFFFFF
1921
1922 typedef EGLint  ( * PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV  sync, EGLint  flags, EGLTimeNV  timeout);
1923 typedef EGLSyncNV  ( * PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay  dpy, EGLenum  condition, const EGLint * attrib_list);
1924 typedef EGLBoolean  ( * PFNEGLDESTROYSYNCNVPROC) (EGLSyncNV  sync);
1925 typedef EGLBoolean  ( * PFNEGLFENCENVPROC) (EGLSyncNV  sync);
1926 typedef EGLBoolean  ( * PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV  sync, EGLint  attribute, EGLint * value);
1927 typedef EGLBoolean  ( * PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV  sync, EGLenum  mode);
1928
1929 #define eglClientWaitSyncNV EGLEW_GET_FUN(__eglewClientWaitSyncNV)
1930 #define eglCreateFenceSyncNV EGLEW_GET_FUN(__eglewCreateFenceSyncNV)
1931 #define eglDestroySyncNV EGLEW_GET_FUN(__eglewDestroySyncNV)
1932 #define eglFenceNV EGLEW_GET_FUN(__eglewFenceNV)
1933 #define eglGetSyncAttribNV EGLEW_GET_FUN(__eglewGetSyncAttribNV)
1934 #define eglSignalSyncNV EGLEW_GET_FUN(__eglewSignalSyncNV)
1935
1936 #define EGLEW_NV_sync EGLEW_GET_VAR(__EGLEW_NV_sync)
1937
1938 #endif /* EGL_NV_sync */
1939
1940 /* --------------------------- EGL_NV_system_time -------------------------- */
1941
1942 #ifndef EGL_NV_system_time
1943 #define EGL_NV_system_time 1
1944
1945 typedef EGLuint64NV  ( * PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC) ( void );
1946 typedef EGLuint64NV  ( * PFNEGLGETSYSTEMTIMENVPROC) ( void );
1947
1948 #define eglGetSystemTimeFrequencyNV EGLEW_GET_FUN(__eglewGetSystemTimeFrequencyNV)
1949 #define eglGetSystemTimeNV EGLEW_GET_FUN(__eglewGetSystemTimeNV)
1950
1951 #define EGLEW_NV_system_time EGLEW_GET_VAR(__EGLEW_NV_system_time)
1952
1953 #endif /* EGL_NV_system_time */
1954
1955 /* --------------------- EGL_TIZEN_image_native_buffer --------------------- */
1956
1957 #ifndef EGL_TIZEN_image_native_buffer
1958 #define EGL_TIZEN_image_native_buffer 1
1959
1960 #define EGL_NATIVE_BUFFER_TIZEN 0x32A0
1961
1962 #define EGLEW_TIZEN_image_native_buffer EGLEW_GET_VAR(__EGLEW_TIZEN_image_native_buffer)
1963
1964 #endif /* EGL_TIZEN_image_native_buffer */
1965
1966 /* --------------------- EGL_TIZEN_image_native_surface -------------------- */
1967
1968 #ifndef EGL_TIZEN_image_native_surface
1969 #define EGL_TIZEN_image_native_surface 1
1970
1971 #define EGL_NATIVE_SURFACE_TIZEN 0x32A1
1972
1973 #define EGLEW_TIZEN_image_native_surface EGLEW_GET_VAR(__EGLEW_TIZEN_image_native_surface)
1974
1975 #endif /* EGL_TIZEN_image_native_surface */
1976
1977 /* ------------------------------------------------------------------------- */
1978
1979 #define EGLEW_FUN_EXPORT GLEW_FUN_EXPORT
1980 #define EGLEW_VAR_EXPORT GLEW_VAR_EXPORT
1981
1982 EGLEW_FUN_EXPORT PFNEGLCHOOSECONFIGPROC __eglewChooseConfig;
1983 EGLEW_FUN_EXPORT PFNEGLCOPYBUFFERSPROC __eglewCopyBuffers;
1984 EGLEW_FUN_EXPORT PFNEGLCREATECONTEXTPROC __eglewCreateContext;
1985 EGLEW_FUN_EXPORT PFNEGLCREATEPBUFFERSURFACEPROC __eglewCreatePbufferSurface;
1986 EGLEW_FUN_EXPORT PFNEGLCREATEPIXMAPSURFACEPROC __eglewCreatePixmapSurface;
1987 EGLEW_FUN_EXPORT PFNEGLCREATEWINDOWSURFACEPROC __eglewCreateWindowSurface;
1988 EGLEW_FUN_EXPORT PFNEGLDESTROYCONTEXTPROC __eglewDestroyContext;
1989 EGLEW_FUN_EXPORT PFNEGLDESTROYSURFACEPROC __eglewDestroySurface;
1990 EGLEW_FUN_EXPORT PFNEGLGETCONFIGATTRIBPROC __eglewGetConfigAttrib;
1991 EGLEW_FUN_EXPORT PFNEGLGETCONFIGSPROC __eglewGetConfigs;
1992 EGLEW_FUN_EXPORT PFNEGLGETCURRENTDISPLAYPROC __eglewGetCurrentDisplay;
1993 EGLEW_FUN_EXPORT PFNEGLGETCURRENTSURFACEPROC __eglewGetCurrentSurface;
1994 EGLEW_FUN_EXPORT PFNEGLGETDISPLAYPROC __eglewGetDisplay;
1995 EGLEW_FUN_EXPORT PFNEGLGETERRORPROC __eglewGetError;
1996 EGLEW_FUN_EXPORT PFNEGLINITIALIZEPROC __eglewInitialize;
1997 EGLEW_FUN_EXPORT PFNEGLMAKECURRENTPROC __eglewMakeCurrent;
1998 EGLEW_FUN_EXPORT PFNEGLQUERYCONTEXTPROC __eglewQueryContext;
1999 EGLEW_FUN_EXPORT PFNEGLQUERYSTRINGPROC __eglewQueryString;
2000 EGLEW_FUN_EXPORT PFNEGLQUERYSURFACEPROC __eglewQuerySurface;
2001 EGLEW_FUN_EXPORT PFNEGLSWAPBUFFERSPROC __eglewSwapBuffers;
2002 EGLEW_FUN_EXPORT PFNEGLTERMINATEPROC __eglewTerminate;
2003 EGLEW_FUN_EXPORT PFNEGLWAITGLPROC __eglewWaitGL;
2004 EGLEW_FUN_EXPORT PFNEGLWAITNATIVEPROC __eglewWaitNative;
2005
2006 EGLEW_FUN_EXPORT PFNEGLBINDTEXIMAGEPROC __eglewBindTexImage;
2007 EGLEW_FUN_EXPORT PFNEGLRELEASETEXIMAGEPROC __eglewReleaseTexImage;
2008 EGLEW_FUN_EXPORT PFNEGLSURFACEATTRIBPROC __eglewSurfaceAttrib;
2009 EGLEW_FUN_EXPORT PFNEGLSWAPINTERVALPROC __eglewSwapInterval;
2010
2011 EGLEW_FUN_EXPORT PFNEGLBINDAPIPROC __eglewBindAPI;
2012 EGLEW_FUN_EXPORT PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC __eglewCreatePbufferFromClientBuffer;
2013 EGLEW_FUN_EXPORT PFNEGLQUERYAPIPROC __eglewQueryAPI;
2014 EGLEW_FUN_EXPORT PFNEGLRELEASETHREADPROC __eglewReleaseThread;
2015 EGLEW_FUN_EXPORT PFNEGLWAITCLIENTPROC __eglewWaitClient;
2016
2017 EGLEW_FUN_EXPORT PFNEGLGETCURRENTCONTEXTPROC __eglewGetCurrentContext;
2018
2019 EGLEW_FUN_EXPORT PFNEGLCLIENTWAITSYNCPROC __eglewClientWaitSync;
2020 EGLEW_FUN_EXPORT PFNEGLCREATEIMAGEPROC __eglewCreateImage;
2021 EGLEW_FUN_EXPORT PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC __eglewCreatePlatformPixmapSurface;
2022 EGLEW_FUN_EXPORT PFNEGLCREATEPLATFORMWINDOWSURFACEPROC __eglewCreatePlatformWindowSurface;
2023 EGLEW_FUN_EXPORT PFNEGLCREATESYNCPROC __eglewCreateSync;
2024 EGLEW_FUN_EXPORT PFNEGLDESTROYIMAGEPROC __eglewDestroyImage;
2025 EGLEW_FUN_EXPORT PFNEGLDESTROYSYNCPROC __eglewDestroySync;
2026 EGLEW_FUN_EXPORT PFNEGLGETPLATFORMDISPLAYPROC __eglewGetPlatformDisplay;
2027 EGLEW_FUN_EXPORT PFNEGLGETSYNCATTRIBPROC __eglewGetSyncAttrib;
2028 EGLEW_FUN_EXPORT PFNEGLWAITSYNCPROC __eglewWaitSync;
2029
2030 EGLEW_FUN_EXPORT PFNEGLSETBLOBCACHEFUNCSANDROIDPROC __eglewSetBlobCacheFuncsANDROID;
2031
2032 EGLEW_FUN_EXPORT PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC __eglewCreateNativeClientBufferANDROID;
2033
2034 EGLEW_FUN_EXPORT PFNEGLDUPNATIVEFENCEFDANDROIDPROC __eglewDupNativeFenceFDANDROID;
2035
2036 EGLEW_FUN_EXPORT PFNEGLPRESENTATIONTIMEANDROIDPROC __eglewPresentationTimeANDROID;
2037
2038 EGLEW_FUN_EXPORT PFNEGLQUERYSURFACEPOINTERANGLEPROC __eglewQuerySurfacePointerANGLE;
2039
2040 EGLEW_FUN_EXPORT PFNEGLQUERYDEVICESEXTPROC __eglewQueryDevicesEXT;
2041
2042 EGLEW_FUN_EXPORT PFNEGLQUERYDEVICEATTRIBEXTPROC __eglewQueryDeviceAttribEXT;
2043 EGLEW_FUN_EXPORT PFNEGLQUERYDEVICESTRINGEXTPROC __eglewQueryDeviceStringEXT;
2044 EGLEW_FUN_EXPORT PFNEGLQUERYDISPLAYATTRIBEXTPROC __eglewQueryDisplayAttribEXT;
2045
2046 EGLEW_FUN_EXPORT PFNEGLGETOUTPUTLAYERSEXTPROC __eglewGetOutputLayersEXT;
2047 EGLEW_FUN_EXPORT PFNEGLGETOUTPUTPORTSEXTPROC __eglewGetOutputPortsEXT;
2048 EGLEW_FUN_EXPORT PFNEGLOUTPUTLAYERATTRIBEXTPROC __eglewOutputLayerAttribEXT;
2049 EGLEW_FUN_EXPORT PFNEGLOUTPUTPORTATTRIBEXTPROC __eglewOutputPortAttribEXT;
2050 EGLEW_FUN_EXPORT PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC __eglewQueryOutputLayerAttribEXT;
2051 EGLEW_FUN_EXPORT PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC __eglewQueryOutputLayerStringEXT;
2052 EGLEW_FUN_EXPORT PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC __eglewQueryOutputPortAttribEXT;
2053 EGLEW_FUN_EXPORT PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC __eglewQueryOutputPortStringEXT;
2054
2055 EGLEW_FUN_EXPORT PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC __eglewCreatePlatformPixmapSurfaceEXT;
2056 EGLEW_FUN_EXPORT PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC __eglewCreatePlatformWindowSurfaceEXT;
2057 EGLEW_FUN_EXPORT PFNEGLGETPLATFORMDISPLAYEXTPROC __eglewGetPlatformDisplayEXT;
2058
2059 EGLEW_FUN_EXPORT PFNEGLSTREAMCONSUMEROUTPUTEXTPROC __eglewStreamConsumerOutputEXT;
2060
2061 EGLEW_FUN_EXPORT PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC __eglewSwapBuffersWithDamageEXT;
2062
2063 EGLEW_FUN_EXPORT PFNEGLCREATEPIXMAPSURFACEHIPROC __eglewCreatePixmapSurfaceHI;
2064
2065 EGLEW_FUN_EXPORT PFNEGLCREATESYNC64KHRPROC __eglewCreateSync64KHR;
2066
2067 EGLEW_FUN_EXPORT PFNEGLDEBUGMESSAGECONTROLKHRPROC __eglewDebugMessageControlKHR;
2068 EGLEW_FUN_EXPORT PFNEGLLABELOBJECTKHRPROC __eglewLabelObjectKHR;
2069 EGLEW_FUN_EXPORT PFNEGLQUERYDEBUGKHRPROC __eglewQueryDebugKHR;
2070
2071 EGLEW_FUN_EXPORT PFNEGLCREATEIMAGEKHRPROC __eglewCreateImageKHR;
2072 EGLEW_FUN_EXPORT PFNEGLDESTROYIMAGEKHRPROC __eglewDestroyImageKHR;
2073
2074 EGLEW_FUN_EXPORT PFNEGLLOCKSURFACEKHRPROC __eglewLockSurfaceKHR;
2075 EGLEW_FUN_EXPORT PFNEGLUNLOCKSURFACEKHRPROC __eglewUnlockSurfaceKHR;
2076
2077 EGLEW_FUN_EXPORT PFNEGLQUERYSURFACE64KHRPROC __eglewQuerySurface64KHR;
2078
2079 EGLEW_FUN_EXPORT PFNEGLSETDAMAGEREGIONKHRPROC __eglewSetDamageRegionKHR;
2080
2081 EGLEW_FUN_EXPORT PFNEGLCLIENTWAITSYNCKHRPROC __eglewClientWaitSyncKHR;
2082 EGLEW_FUN_EXPORT PFNEGLCREATESYNCKHRPROC __eglewCreateSyncKHR;
2083 EGLEW_FUN_EXPORT PFNEGLDESTROYSYNCKHRPROC __eglewDestroySyncKHR;
2084 EGLEW_FUN_EXPORT PFNEGLGETSYNCATTRIBKHRPROC __eglewGetSyncAttribKHR;
2085 EGLEW_FUN_EXPORT PFNEGLSIGNALSYNCKHRPROC __eglewSignalSyncKHR;
2086
2087 EGLEW_FUN_EXPORT PFNEGLCREATESTREAMKHRPROC __eglewCreateStreamKHR;
2088 EGLEW_FUN_EXPORT PFNEGLDESTROYSTREAMKHRPROC __eglewDestroyStreamKHR;
2089 EGLEW_FUN_EXPORT PFNEGLQUERYSTREAMKHRPROC __eglewQueryStreamKHR;
2090 EGLEW_FUN_EXPORT PFNEGLQUERYSTREAMU64KHRPROC __eglewQueryStreamu64KHR;
2091 EGLEW_FUN_EXPORT PFNEGLSTREAMATTRIBKHRPROC __eglewStreamAttribKHR;
2092
2093 EGLEW_FUN_EXPORT PFNEGLSTREAMCONSUMERACQUIREKHRPROC __eglewStreamConsumerAcquireKHR;
2094 EGLEW_FUN_EXPORT PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC __eglewStreamConsumerGLTextureExternalKHR;
2095 EGLEW_FUN_EXPORT PFNEGLSTREAMCONSUMERRELEASEKHRPROC __eglewStreamConsumerReleaseKHR;
2096
2097 EGLEW_FUN_EXPORT PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC __eglewCreateStreamFromFileDescriptorKHR;
2098 EGLEW_FUN_EXPORT PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC __eglewGetStreamFileDescriptorKHR;
2099
2100 EGLEW_FUN_EXPORT PFNEGLQUERYSTREAMTIMEKHRPROC __eglewQueryStreamTimeKHR;
2101
2102 EGLEW_FUN_EXPORT PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC __eglewCreateStreamProducerSurfaceKHR;
2103
2104 EGLEW_FUN_EXPORT PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC __eglewSwapBuffersWithDamageKHR;
2105
2106 EGLEW_FUN_EXPORT PFNEGLWAITSYNCKHRPROC __eglewWaitSyncKHR;
2107
2108 EGLEW_FUN_EXPORT PFNEGLCREATEDRMIMAGEMESAPROC __eglewCreateDRMImageMESA;
2109 EGLEW_FUN_EXPORT PFNEGLEXPORTDRMIMAGEMESAPROC __eglewExportDRMImageMESA;
2110
2111 EGLEW_FUN_EXPORT PFNEGLEXPORTDMABUFIMAGEMESAPROC __eglewExportDMABUFImageMESA;
2112 EGLEW_FUN_EXPORT PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC __eglewExportDMABUFImageQueryMESA;
2113
2114 EGLEW_FUN_EXPORT PFNEGLSWAPBUFFERSREGIONNOKPROC __eglewSwapBuffersRegionNOK;
2115
2116 EGLEW_FUN_EXPORT PFNEGLSWAPBUFFERSREGION2NOKPROC __eglewSwapBuffersRegion2NOK;
2117
2118 EGLEW_FUN_EXPORT PFNEGLQUERYNATIVEDISPLAYNVPROC __eglewQueryNativeDisplayNV;
2119 EGLEW_FUN_EXPORT PFNEGLQUERYNATIVEPIXMAPNVPROC __eglewQueryNativePixmapNV;
2120 EGLEW_FUN_EXPORT PFNEGLQUERYNATIVEWINDOWNVPROC __eglewQueryNativeWindowNV;
2121
2122 EGLEW_FUN_EXPORT PFNEGLPOSTSUBBUFFERNVPROC __eglewPostSubBufferNV;
2123
2124 EGLEW_FUN_EXPORT PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC __eglewStreamConsumerGLTextureExternalAttribsNV;
2125
2126 EGLEW_FUN_EXPORT PFNEGLQUERYDISPLAYATTRIBNVPROC __eglewQueryDisplayAttribNV;
2127 EGLEW_FUN_EXPORT PFNEGLQUERYSTREAMMETADATANVPROC __eglewQueryStreamMetadataNV;
2128 EGLEW_FUN_EXPORT PFNEGLSETSTREAMMETADATANVPROC __eglewSetStreamMetadataNV;
2129
2130 EGLEW_FUN_EXPORT PFNEGLCREATESTREAMSYNCNVPROC __eglewCreateStreamSyncNV;
2131
2132 EGLEW_FUN_EXPORT PFNEGLCLIENTWAITSYNCNVPROC __eglewClientWaitSyncNV;
2133 EGLEW_FUN_EXPORT PFNEGLCREATEFENCESYNCNVPROC __eglewCreateFenceSyncNV;
2134 EGLEW_FUN_EXPORT PFNEGLDESTROYSYNCNVPROC __eglewDestroySyncNV;
2135 EGLEW_FUN_EXPORT PFNEGLFENCENVPROC __eglewFenceNV;
2136 EGLEW_FUN_EXPORT PFNEGLGETSYNCATTRIBNVPROC __eglewGetSyncAttribNV;
2137 EGLEW_FUN_EXPORT PFNEGLSIGNALSYNCNVPROC __eglewSignalSyncNV;
2138
2139 EGLEW_FUN_EXPORT PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC __eglewGetSystemTimeFrequencyNV;
2140 EGLEW_FUN_EXPORT PFNEGLGETSYSTEMTIMENVPROC __eglewGetSystemTimeNV;
2141 EGLEW_VAR_EXPORT GLboolean __EGLEW_VERSION_1_0;
2142 EGLEW_VAR_EXPORT GLboolean __EGLEW_VERSION_1_1;
2143 EGLEW_VAR_EXPORT GLboolean __EGLEW_VERSION_1_2;
2144 EGLEW_VAR_EXPORT GLboolean __EGLEW_VERSION_1_3;
2145 EGLEW_VAR_EXPORT GLboolean __EGLEW_VERSION_1_4;
2146 EGLEW_VAR_EXPORT GLboolean __EGLEW_VERSION_1_5;
2147 EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_blob_cache;
2148 EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_create_native_client_buffer;
2149 EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_framebuffer_target;
2150 EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_front_buffer_auto_refresh;
2151 EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_image_native_buffer;
2152 EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_native_fence_sync;
2153 EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_presentation_time;
2154 EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_recordable;
2155 EGLEW_VAR_EXPORT GLboolean __EGLEW_ANGLE_d3d_share_handle_client_buffer;
2156 EGLEW_VAR_EXPORT GLboolean __EGLEW_ANGLE_device_d3d;
2157 EGLEW_VAR_EXPORT GLboolean __EGLEW_ANGLE_query_surface_pointer;
2158 EGLEW_VAR_EXPORT GLboolean __EGLEW_ANGLE_surface_d3d_texture_2d_share_handle;
2159 EGLEW_VAR_EXPORT GLboolean __EGLEW_ANGLE_window_fixed_size;
2160 EGLEW_VAR_EXPORT GLboolean __EGLEW_ARM_pixmap_multisample_discard;
2161 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_buffer_age;
2162 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_client_extensions;
2163 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_create_context_robustness;
2164 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_device_base;
2165 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_device_drm;
2166 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_device_enumeration;
2167 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_device_openwf;
2168 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_device_query;
2169 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_image_dma_buf_import;
2170 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_multiview_window;
2171 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_output_base;
2172 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_output_drm;
2173 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_output_openwf;
2174 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_platform_base;
2175 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_platform_device;
2176 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_platform_wayland;
2177 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_platform_x11;
2178 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_protected_content;
2179 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_protected_surface;
2180 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_stream_consumer_egloutput;
2181 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_swap_buffers_with_damage;
2182 EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_yuv_surface;
2183 EGLEW_VAR_EXPORT GLboolean __EGLEW_HI_clientpixmap;
2184 EGLEW_VAR_EXPORT GLboolean __EGLEW_HI_colorformats;
2185 EGLEW_VAR_EXPORT GLboolean __EGLEW_IMG_context_priority;
2186 EGLEW_VAR_EXPORT GLboolean __EGLEW_IMG_image_plane_attribs;
2187 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_cl_event;
2188 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_cl_event2;
2189 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_client_get_all_proc_addresses;
2190 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_config_attribs;
2191 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_create_context;
2192 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_create_context_no_error;
2193 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_debug;
2194 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_fence_sync;
2195 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_get_all_proc_addresses;
2196 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_gl_colorspace;
2197 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_gl_renderbuffer_image;
2198 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_gl_texture_2D_image;
2199 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_gl_texture_3D_image;
2200 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_gl_texture_cubemap_image;
2201 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_image;
2202 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_image_base;
2203 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_image_pixmap;
2204 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_lock_surface;
2205 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_lock_surface2;
2206 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_lock_surface3;
2207 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_mutable_render_buffer;
2208 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_partial_update;
2209 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_platform_android;
2210 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_platform_gbm;
2211 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_platform_wayland;
2212 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_platform_x11;
2213 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_reusable_sync;
2214 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_stream;
2215 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_stream_consumer_gltexture;
2216 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_stream_cross_process_fd;
2217 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_stream_fifo;
2218 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_stream_producer_aldatalocator;
2219 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_stream_producer_eglsurface;
2220 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_surfaceless_context;
2221 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_swap_buffers_with_damage;
2222 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_vg_parent_image;
2223 EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_wait_sync;
2224 EGLEW_VAR_EXPORT GLboolean __EGLEW_MESA_drm_image;
2225 EGLEW_VAR_EXPORT GLboolean __EGLEW_MESA_image_dma_buf_export;
2226 EGLEW_VAR_EXPORT GLboolean __EGLEW_MESA_platform_gbm;
2227 EGLEW_VAR_EXPORT GLboolean __EGLEW_NOK_swap_region;
2228 EGLEW_VAR_EXPORT GLboolean __EGLEW_NOK_swap_region2;
2229 EGLEW_VAR_EXPORT GLboolean __EGLEW_NOK_texture_from_pixmap;
2230 EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_3dvision_surface;
2231 EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_coverage_sample;
2232 EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_coverage_sample_resolve;
2233 EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_cuda_event;
2234 EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_depth_nonlinear;
2235 EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_device_cuda;
2236 EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_native_query;
2237 EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_post_convert_rounding;
2238 EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_post_sub_buffer;
2239 EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_robustness_video_memory_purge;
2240 EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_consumer_gltexture_yuv;
2241 EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_metadata;
2242 EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_sync;
2243 EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_sync;
2244 EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_system_time;
2245 EGLEW_VAR_EXPORT GLboolean __EGLEW_TIZEN_image_native_buffer;
2246 EGLEW_VAR_EXPORT GLboolean __EGLEW_TIZEN_image_native_surface;
2247 /* ------------------------------------------------------------------------ */
2248
2249 GLEWAPI GLenum GLEWAPIENTRY eglewInit (EGLDisplay display);
2250 GLEWAPI GLboolean GLEWAPIENTRY eglewIsSupported (const char *name);
2251
2252 #define EGLEW_GET_VAR(x) (*(const GLboolean*)&x)
2253 #define EGLEW_GET_FUN(x) x
2254
2255 GLEWAPI GLboolean GLEWAPIENTRY eglewGetExtension (const char *name);
2256
2257 #ifdef __cplusplus
2258 }
2259 #endif
2260
2261 #endif /* __eglew_h__ */