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