rayfract
diff src/glew/GL/eglew.h @ 10:1496aae2e7d4
- simplified build by including dependences in the source tree
- added make dep tracking
- added mingw cross-build rules
- added readme & licence
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 31 Jul 2023 18:58:56 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/glew/GL/eglew.h Mon Jul 31 18:58:56 2023 +0300 1.3 @@ -0,0 +1,2618 @@ 1.4 +/* 1.5 +** The OpenGL Extension Wrangler Library 1.6 +** Copyright (C) 2008-2017, Nigel Stewart <nigels[]users sourceforge net> 1.7 +** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org> 1.8 +** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org> 1.9 +** Copyright (C) 2002, Lev Povalahev 1.10 +** All rights reserved. 1.11 +** 1.12 +** Redistribution and use in source and binary forms, with or without 1.13 +** modification, are permitted provided that the following conditions are met: 1.14 +** 1.15 +** * Redistributions of source code must retain the above copyright notice, 1.16 +** this list of conditions and the following disclaimer. 1.17 +** * Redistributions in binary form must reproduce the above copyright notice, 1.18 +** this list of conditions and the following disclaimer in the documentation 1.19 +** and/or other materials provided with the distribution. 1.20 +** * The name of the author may be used to endorse or promote products 1.21 +** derived from this software without specific prior written permission. 1.22 +** 1.23 +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 1.24 +** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1.25 +** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1.26 +** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 1.27 +** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 1.28 +** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 1.29 +** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 1.30 +** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 1.31 +** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 1.32 +** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 1.33 +** THE POSSIBILITY OF SUCH DAMAGE. 1.34 +*/ 1.35 + 1.36 +/* 1.37 + * Mesa 3-D graphics library 1.38 + * Version: 7.0 1.39 + * 1.40 + * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. 1.41 + * 1.42 + * Permission is hereby granted, free of charge, to any person obtaining a 1.43 + * copy of this software and associated documentation files (the "Software"), 1.44 + * to deal in the Software without restriction, including without limitation 1.45 + * the rights to use, copy, modify, merge, publish, distribute, sublicense, 1.46 + * and/or sell copies of the Software, and to permit persons to whom the 1.47 + * Software is furnished to do so, subject to the following conditions: 1.48 + * 1.49 + * The above copyright notice and this permission notice shall be included 1.50 + * in all copies or substantial portions of the Software. 1.51 + * 1.52 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 1.53 + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1.54 + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 1.55 + * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 1.56 + * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 1.57 + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 1.58 + */ 1.59 + 1.60 +/* 1.61 +** Copyright (c) 2007 The Khronos Group Inc. 1.62 +** 1.63 +** Permission is hereby granted, free of charge, to any person obtaining a 1.64 +** copy of this software and/or associated documentation files (the 1.65 +** "Materials"), to deal in the Materials without restriction, including 1.66 +** without limitation the rights to use, copy, modify, merge, publish, 1.67 +** distribute, sublicense, and/or sell copies of the Materials, and to 1.68 +** permit persons to whom the Materials are furnished to do so, subject to 1.69 +** the following conditions: 1.70 +** 1.71 +** The above copyright notice and this permission notice shall be included 1.72 +** in all copies or substantial portions of the Materials. 1.73 +** 1.74 +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 1.75 +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 1.76 +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 1.77 +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 1.78 +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 1.79 +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 1.80 +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 1.81 +*/ 1.82 + 1.83 +#ifndef __eglew_h__ 1.84 +#define __eglew_h__ 1.85 +#define __EGLEW_H__ 1.86 + 1.87 +#ifdef __eglext_h_ 1.88 +#error eglext.h included before eglew.h 1.89 +#endif 1.90 + 1.91 +#if defined(__egl_h_) 1.92 +#error egl.h included before eglew.h 1.93 +#endif 1.94 + 1.95 +#define __eglext_h_ 1.96 + 1.97 +#define __egl_h_ 1.98 + 1.99 +#ifndef EGLAPIENTRY 1.100 +#define EGLAPIENTRY 1.101 +#endif 1.102 +#ifndef EGLAPI 1.103 +#define EGLAPI extern 1.104 +#endif 1.105 + 1.106 +/* EGL Types */ 1.107 +#include <sys/types.h> 1.108 + 1.109 +#include <KHR/khrplatform.h> 1.110 +#include <EGL/eglplatform.h> 1.111 + 1.112 +#include <GL/glew.h> 1.113 + 1.114 +#ifdef __cplusplus 1.115 +extern "C" { 1.116 +#endif 1.117 + 1.118 +typedef int32_t EGLint; 1.119 + 1.120 +typedef unsigned int EGLBoolean; 1.121 +typedef void *EGLDisplay; 1.122 +typedef void *EGLConfig; 1.123 +typedef void *EGLSurface; 1.124 +typedef void *EGLContext; 1.125 +typedef void (*__eglMustCastToProperFunctionPointerType)(void); 1.126 + 1.127 +typedef unsigned int EGLenum; 1.128 +typedef void *EGLClientBuffer; 1.129 + 1.130 +typedef void *EGLSync; 1.131 +typedef intptr_t EGLAttrib; 1.132 +typedef khronos_utime_nanoseconds_t EGLTime; 1.133 +typedef void *EGLImage; 1.134 + 1.135 +typedef void *EGLSyncKHR; 1.136 +typedef intptr_t EGLAttribKHR; 1.137 +typedef void *EGLLabelKHR; 1.138 +typedef void *EGLObjectKHR; 1.139 +typedef void (EGLAPIENTRY *EGLDEBUGPROCKHR)(EGLenum error,const char *command,EGLint messageType,EGLLabelKHR threadLabel,EGLLabelKHR objectLabel,const char* message); 1.140 +typedef khronos_utime_nanoseconds_t EGLTimeKHR; 1.141 +typedef void *EGLImageKHR; 1.142 +typedef void *EGLStreamKHR; 1.143 +typedef khronos_uint64_t EGLuint64KHR; 1.144 +typedef int EGLNativeFileDescriptorKHR; 1.145 +typedef khronos_ssize_t EGLsizeiANDROID; 1.146 +typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize); 1.147 +typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize); 1.148 +typedef void *EGLDeviceEXT; 1.149 +typedef void *EGLOutputLayerEXT; 1.150 +typedef void *EGLOutputPortEXT; 1.151 +typedef void *EGLSyncNV; 1.152 +typedef khronos_utime_nanoseconds_t EGLTimeNV; 1.153 +typedef khronos_utime_nanoseconds_t EGLuint64NV; 1.154 +typedef khronos_stime_nanoseconds_t EGLnsecsANDROID; 1.155 + 1.156 +struct EGLClientPixmapHI; 1.157 + 1.158 +#define EGL_DONT_CARE ((EGLint)-1) 1.159 + 1.160 +#define EGL_NO_CONTEXT ((EGLContext)0) 1.161 +#define EGL_NO_DISPLAY ((EGLDisplay)0) 1.162 +#define EGL_NO_IMAGE ((EGLImage)0) 1.163 +#define EGL_NO_SURFACE ((EGLSurface)0) 1.164 +#define EGL_NO_SYNC ((EGLSync)0) 1.165 + 1.166 +#define EGL_UNKNOWN ((EGLint)-1) 1.167 + 1.168 +#define EGL_DEFAULT_DISPLAY ((EGLNativeDisplayType)0) 1.169 + 1.170 +EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress (const char *procname); 1.171 +/* ---------------------------- EGL_VERSION_1_0 ---------------------------- */ 1.172 + 1.173 +#ifndef EGL_VERSION_1_0 1.174 +#define EGL_VERSION_1_0 1 1.175 + 1.176 +#define EGL_FALSE 0 1.177 +#define EGL_PBUFFER_BIT 0x0001 1.178 +#define EGL_TRUE 1 1.179 +#define EGL_PIXMAP_BIT 0x0002 1.180 +#define EGL_WINDOW_BIT 0x0004 1.181 +#define EGL_SUCCESS 0x3000 1.182 +#define EGL_NOT_INITIALIZED 0x3001 1.183 +#define EGL_BAD_ACCESS 0x3002 1.184 +#define EGL_BAD_ALLOC 0x3003 1.185 +#define EGL_BAD_ATTRIBUTE 0x3004 1.186 +#define EGL_BAD_CONFIG 0x3005 1.187 +#define EGL_BAD_CONTEXT 0x3006 1.188 +#define EGL_BAD_CURRENT_SURFACE 0x3007 1.189 +#define EGL_BAD_DISPLAY 0x3008 1.190 +#define EGL_BAD_MATCH 0x3009 1.191 +#define EGL_BAD_NATIVE_PIXMAP 0x300A 1.192 +#define EGL_BAD_NATIVE_WINDOW 0x300B 1.193 +#define EGL_BAD_PARAMETER 0x300C 1.194 +#define EGL_BAD_SURFACE 0x300D 1.195 +#define EGL_BUFFER_SIZE 0x3020 1.196 +#define EGL_ALPHA_SIZE 0x3021 1.197 +#define EGL_BLUE_SIZE 0x3022 1.198 +#define EGL_GREEN_SIZE 0x3023 1.199 +#define EGL_RED_SIZE 0x3024 1.200 +#define EGL_DEPTH_SIZE 0x3025 1.201 +#define EGL_STENCIL_SIZE 0x3026 1.202 +#define EGL_CONFIG_CAVEAT 0x3027 1.203 +#define EGL_CONFIG_ID 0x3028 1.204 +#define EGL_LEVEL 0x3029 1.205 +#define EGL_MAX_PBUFFER_HEIGHT 0x302A 1.206 +#define EGL_MAX_PBUFFER_PIXELS 0x302B 1.207 +#define EGL_MAX_PBUFFER_WIDTH 0x302C 1.208 +#define EGL_NATIVE_RENDERABLE 0x302D 1.209 +#define EGL_NATIVE_VISUAL_ID 0x302E 1.210 +#define EGL_NATIVE_VISUAL_TYPE 0x302F 1.211 +#define EGL_SAMPLES 0x3031 1.212 +#define EGL_SAMPLE_BUFFERS 0x3032 1.213 +#define EGL_SURFACE_TYPE 0x3033 1.214 +#define EGL_TRANSPARENT_TYPE 0x3034 1.215 +#define EGL_TRANSPARENT_BLUE_VALUE 0x3035 1.216 +#define EGL_TRANSPARENT_GREEN_VALUE 0x3036 1.217 +#define EGL_TRANSPARENT_RED_VALUE 0x3037 1.218 +#define EGL_NONE 0x3038 1.219 +#define EGL_SLOW_CONFIG 0x3050 1.220 +#define EGL_NON_CONFORMANT_CONFIG 0x3051 1.221 +#define EGL_TRANSPARENT_RGB 0x3052 1.222 +#define EGL_VENDOR 0x3053 1.223 +#define EGL_VERSION 0x3054 1.224 +#define EGL_EXTENSIONS 0x3055 1.225 +#define EGL_HEIGHT 0x3056 1.226 +#define EGL_WIDTH 0x3057 1.227 +#define EGL_LARGEST_PBUFFER 0x3058 1.228 +#define EGL_DRAW 0x3059 1.229 +#define EGL_READ 0x305A 1.230 +#define EGL_CORE_NATIVE_ENGINE 0x305B 1.231 + 1.232 +typedef EGLBoolean ( * PFNEGLCHOOSECONFIGPROC) (EGLDisplay dpy, const EGLint * attrib_list, EGLConfig * configs, EGLint config_size, EGLint * num_config); 1.233 +typedef EGLBoolean ( * PFNEGLCOPYBUFFERSPROC) (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target); 1.234 +typedef EGLContext ( * PFNEGLCREATECONTEXTPROC) (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint * attrib_list); 1.235 +typedef EGLSurface ( * PFNEGLCREATEPBUFFERSURFACEPROC) (EGLDisplay dpy, EGLConfig config, const EGLint * attrib_list); 1.236 +typedef EGLSurface ( * PFNEGLCREATEPIXMAPSURFACEPROC) (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint * attrib_list); 1.237 +typedef EGLSurface ( * PFNEGLCREATEWINDOWSURFACEPROC) (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint * attrib_list); 1.238 +typedef EGLBoolean ( * PFNEGLDESTROYCONTEXTPROC) (EGLDisplay dpy, EGLContext ctx); 1.239 +typedef EGLBoolean ( * PFNEGLDESTROYSURFACEPROC) (EGLDisplay dpy, EGLSurface surface); 1.240 +typedef EGLBoolean ( * PFNEGLGETCONFIGATTRIBPROC) (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint * value); 1.241 +typedef EGLBoolean ( * PFNEGLGETCONFIGSPROC) (EGLDisplay dpy, EGLConfig * configs, EGLint config_size, EGLint * num_config); 1.242 +typedef EGLDisplay ( * PFNEGLGETCURRENTDISPLAYPROC) ( void ); 1.243 +typedef EGLSurface ( * PFNEGLGETCURRENTSURFACEPROC) (EGLint readdraw); 1.244 +typedef EGLDisplay ( * PFNEGLGETDISPLAYPROC) (EGLNativeDisplayType display_id); 1.245 +typedef EGLint ( * PFNEGLGETERRORPROC) ( void ); 1.246 +typedef EGLBoolean ( * PFNEGLINITIALIZEPROC) (EGLDisplay dpy, EGLint * major, EGLint * minor); 1.247 +typedef EGLBoolean ( * PFNEGLMAKECURRENTPROC) (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx); 1.248 +typedef EGLBoolean ( * PFNEGLQUERYCONTEXTPROC) (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint * value); 1.249 +typedef const char * ( * PFNEGLQUERYSTRINGPROC) (EGLDisplay dpy, EGLint name); 1.250 +typedef EGLBoolean ( * PFNEGLQUERYSURFACEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint * value); 1.251 +typedef EGLBoolean ( * PFNEGLSWAPBUFFERSPROC) (EGLDisplay dpy, EGLSurface surface); 1.252 +typedef EGLBoolean ( * PFNEGLTERMINATEPROC) (EGLDisplay dpy); 1.253 +typedef EGLBoolean ( * PFNEGLWAITGLPROC) ( void ); 1.254 +typedef EGLBoolean ( * PFNEGLWAITNATIVEPROC) (EGLint engine); 1.255 + 1.256 +#define eglChooseConfig EGLEW_GET_FUN(__eglewChooseConfig) 1.257 +#define eglCopyBuffers EGLEW_GET_FUN(__eglewCopyBuffers) 1.258 +#define eglCreateContext EGLEW_GET_FUN(__eglewCreateContext) 1.259 +#define eglCreatePbufferSurface EGLEW_GET_FUN(__eglewCreatePbufferSurface) 1.260 +#define eglCreatePixmapSurface EGLEW_GET_FUN(__eglewCreatePixmapSurface) 1.261 +#define eglCreateWindowSurface EGLEW_GET_FUN(__eglewCreateWindowSurface) 1.262 +#define eglDestroyContext EGLEW_GET_FUN(__eglewDestroyContext) 1.263 +#define eglDestroySurface EGLEW_GET_FUN(__eglewDestroySurface) 1.264 +#define eglGetConfigAttrib EGLEW_GET_FUN(__eglewGetConfigAttrib) 1.265 +#define eglGetConfigs EGLEW_GET_FUN(__eglewGetConfigs) 1.266 +#define eglGetCurrentDisplay EGLEW_GET_FUN(__eglewGetCurrentDisplay) 1.267 +#define eglGetCurrentSurface EGLEW_GET_FUN(__eglewGetCurrentSurface) 1.268 +#define eglGetDisplay EGLEW_GET_FUN(__eglewGetDisplay) 1.269 +#define eglGetError EGLEW_GET_FUN(__eglewGetError) 1.270 +#define eglInitialize EGLEW_GET_FUN(__eglewInitialize) 1.271 +#define eglMakeCurrent EGLEW_GET_FUN(__eglewMakeCurrent) 1.272 +#define eglQueryContext EGLEW_GET_FUN(__eglewQueryContext) 1.273 +#define eglQueryString EGLEW_GET_FUN(__eglewQueryString) 1.274 +#define eglQuerySurface EGLEW_GET_FUN(__eglewQuerySurface) 1.275 +#define eglSwapBuffers EGLEW_GET_FUN(__eglewSwapBuffers) 1.276 +#define eglTerminate EGLEW_GET_FUN(__eglewTerminate) 1.277 +#define eglWaitGL EGLEW_GET_FUN(__eglewWaitGL) 1.278 +#define eglWaitNative EGLEW_GET_FUN(__eglewWaitNative) 1.279 + 1.280 +#define EGLEW_VERSION_1_0 EGLEW_GET_VAR(__EGLEW_VERSION_1_0) 1.281 + 1.282 +#endif /* EGL_VERSION_1_0 */ 1.283 + 1.284 +/* ---------------------------- EGL_VERSION_1_1 ---------------------------- */ 1.285 + 1.286 +#ifndef EGL_VERSION_1_1 1.287 +#define EGL_VERSION_1_1 1 1.288 + 1.289 +#define EGL_CONTEXT_LOST 0x300E 1.290 +#define EGL_BIND_TO_TEXTURE_RGB 0x3039 1.291 +#define EGL_BIND_TO_TEXTURE_RGBA 0x303A 1.292 +#define EGL_MIN_SWAP_INTERVAL 0x303B 1.293 +#define EGL_MAX_SWAP_INTERVAL 0x303C 1.294 +#define EGL_NO_TEXTURE 0x305C 1.295 +#define EGL_TEXTURE_RGB 0x305D 1.296 +#define EGL_TEXTURE_RGBA 0x305E 1.297 +#define EGL_TEXTURE_2D 0x305F 1.298 +#define EGL_TEXTURE_FORMAT 0x3080 1.299 +#define EGL_TEXTURE_TARGET 0x3081 1.300 +#define EGL_MIPMAP_TEXTURE 0x3082 1.301 +#define EGL_MIPMAP_LEVEL 0x3083 1.302 +#define EGL_BACK_BUFFER 0x3084 1.303 + 1.304 +typedef EGLBoolean ( * PFNEGLBINDTEXIMAGEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint buffer); 1.305 +typedef EGLBoolean ( * PFNEGLRELEASETEXIMAGEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint buffer); 1.306 +typedef EGLBoolean ( * PFNEGLSURFACEATTRIBPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value); 1.307 +typedef EGLBoolean ( * PFNEGLSWAPINTERVALPROC) (EGLDisplay dpy, EGLint interval); 1.308 + 1.309 +#define eglBindTexImage EGLEW_GET_FUN(__eglewBindTexImage) 1.310 +#define eglReleaseTexImage EGLEW_GET_FUN(__eglewReleaseTexImage) 1.311 +#define eglSurfaceAttrib EGLEW_GET_FUN(__eglewSurfaceAttrib) 1.312 +#define eglSwapInterval EGLEW_GET_FUN(__eglewSwapInterval) 1.313 + 1.314 +#define EGLEW_VERSION_1_1 EGLEW_GET_VAR(__EGLEW_VERSION_1_1) 1.315 + 1.316 +#endif /* EGL_VERSION_1_1 */ 1.317 + 1.318 +/* ---------------------------- EGL_VERSION_1_2 ---------------------------- */ 1.319 + 1.320 +#ifndef EGL_VERSION_1_2 1.321 +#define EGL_VERSION_1_2 1 1.322 + 1.323 +#define EGL_OPENGL_ES_BIT 0x0001 1.324 +#define EGL_OPENVG_BIT 0x0002 1.325 +#define EGL_LUMINANCE_SIZE 0x303D 1.326 +#define EGL_ALPHA_MASK_SIZE 0x303E 1.327 +#define EGL_COLOR_BUFFER_TYPE 0x303F 1.328 +#define EGL_RENDERABLE_TYPE 0x3040 1.329 +#define EGL_SINGLE_BUFFER 0x3085 1.330 +#define EGL_RENDER_BUFFER 0x3086 1.331 +#define EGL_COLORSPACE 0x3087 1.332 +#define EGL_ALPHA_FORMAT 0x3088 1.333 +#define EGL_COLORSPACE_LINEAR 0x308A 1.334 +#define EGL_ALPHA_FORMAT_NONPRE 0x308B 1.335 +#define EGL_ALPHA_FORMAT_PRE 0x308C 1.336 +#define EGL_CLIENT_APIS 0x308D 1.337 +#define EGL_RGB_BUFFER 0x308E 1.338 +#define EGL_LUMINANCE_BUFFER 0x308F 1.339 +#define EGL_HORIZONTAL_RESOLUTION 0x3090 1.340 +#define EGL_VERTICAL_RESOLUTION 0x3091 1.341 +#define EGL_PIXEL_ASPECT_RATIO 0x3092 1.342 +#define EGL_SWAP_BEHAVIOR 0x3093 1.343 +#define EGL_BUFFER_PRESERVED 0x3094 1.344 +#define EGL_BUFFER_DESTROYED 0x3095 1.345 +#define EGL_OPENVG_IMAGE 0x3096 1.346 +#define EGL_CONTEXT_CLIENT_TYPE 0x3097 1.347 +#define EGL_OPENGL_ES_API 0x30A0 1.348 +#define EGL_OPENVG_API 0x30A1 1.349 +#define EGL_DISPLAY_SCALING 10000 1.350 + 1.351 +typedef EGLBoolean ( * PFNEGLBINDAPIPROC) (EGLenum api); 1.352 +typedef EGLSurface ( * PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC) (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint * attrib_list); 1.353 +typedef EGLenum ( * PFNEGLQUERYAPIPROC) ( void ); 1.354 +typedef EGLBoolean ( * PFNEGLRELEASETHREADPROC) ( void ); 1.355 +typedef EGLBoolean ( * PFNEGLWAITCLIENTPROC) ( void ); 1.356 + 1.357 +#define eglBindAPI EGLEW_GET_FUN(__eglewBindAPI) 1.358 +#define eglCreatePbufferFromClientBuffer EGLEW_GET_FUN(__eglewCreatePbufferFromClientBuffer) 1.359 +#define eglQueryAPI EGLEW_GET_FUN(__eglewQueryAPI) 1.360 +#define eglReleaseThread EGLEW_GET_FUN(__eglewReleaseThread) 1.361 +#define eglWaitClient EGLEW_GET_FUN(__eglewWaitClient) 1.362 + 1.363 +#define EGLEW_VERSION_1_2 EGLEW_GET_VAR(__EGLEW_VERSION_1_2) 1.364 + 1.365 +#endif /* EGL_VERSION_1_2 */ 1.366 + 1.367 +/* ---------------------------- EGL_VERSION_1_3 ---------------------------- */ 1.368 + 1.369 +#ifndef EGL_VERSION_1_3 1.370 +#define EGL_VERSION_1_3 1 1.371 + 1.372 +#define EGL_OPENGL_ES2_BIT 0x0004 1.373 +#define EGL_VG_COLORSPACE_LINEAR_BIT 0x0020 1.374 +#define EGL_VG_ALPHA_FORMAT_PRE_BIT 0x0040 1.375 +#define EGL_MATCH_NATIVE_PIXMAP 0x3041 1.376 +#define EGL_CONFORMANT 0x3042 1.377 +#define EGL_VG_COLORSPACE 0x3087 1.378 +#define EGL_VG_ALPHA_FORMAT 0x3088 1.379 +#define EGL_VG_COLORSPACE_LINEAR 0x308A 1.380 +#define EGL_VG_ALPHA_FORMAT_NONPRE 0x308B 1.381 +#define EGL_VG_ALPHA_FORMAT_PRE 0x308C 1.382 +#define EGL_CONTEXT_CLIENT_VERSION 0x3098 1.383 + 1.384 +#define EGLEW_VERSION_1_3 EGLEW_GET_VAR(__EGLEW_VERSION_1_3) 1.385 + 1.386 +#endif /* EGL_VERSION_1_3 */ 1.387 + 1.388 +/* ---------------------------- EGL_VERSION_1_4 ---------------------------- */ 1.389 + 1.390 +#ifndef EGL_VERSION_1_4 1.391 +#define EGL_VERSION_1_4 1 1.392 + 1.393 +#define EGL_OPENGL_BIT 0x0008 1.394 +#define EGL_MULTISAMPLE_RESOLVE_BOX_BIT 0x0200 1.395 +#define EGL_SWAP_BEHAVIOR_PRESERVED_BIT 0x0400 1.396 +#define EGL_MULTISAMPLE_RESOLVE 0x3099 1.397 +#define EGL_MULTISAMPLE_RESOLVE_DEFAULT 0x309A 1.398 +#define EGL_MULTISAMPLE_RESOLVE_BOX 0x309B 1.399 +#define EGL_OPENGL_API 0x30A2 1.400 + 1.401 +typedef EGLContext ( * PFNEGLGETCURRENTCONTEXTPROC) ( void ); 1.402 + 1.403 +#define eglGetCurrentContext EGLEW_GET_FUN(__eglewGetCurrentContext) 1.404 + 1.405 +#define EGLEW_VERSION_1_4 EGLEW_GET_VAR(__EGLEW_VERSION_1_4) 1.406 + 1.407 +#endif /* EGL_VERSION_1_4 */ 1.408 + 1.409 +/* ---------------------------- EGL_VERSION_1_5 ---------------------------- */ 1.410 + 1.411 +#ifndef EGL_VERSION_1_5 1.412 +#define EGL_VERSION_1_5 1 1.413 + 1.414 +#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT 0x00000001 1.415 +#define EGL_SYNC_FLUSH_COMMANDS_BIT 0x0001 1.416 +#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT 0x00000002 1.417 +#define EGL_OPENGL_ES3_BIT 0x00000040 1.418 +#define EGL_GL_COLORSPACE_SRGB 0x3089 1.419 +#define EGL_GL_COLORSPACE_LINEAR 0x308A 1.420 +#define EGL_CONTEXT_MAJOR_VERSION 0x3098 1.421 +#define EGL_CL_EVENT_HANDLE 0x309C 1.422 +#define EGL_GL_COLORSPACE 0x309D 1.423 +#define EGL_GL_TEXTURE_2D 0x30B1 1.424 +#define EGL_GL_TEXTURE_3D 0x30B2 1.425 +#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x30B3 1.426 +#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x30B4 1.427 +#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x30B5 1.428 +#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x30B6 1.429 +#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x30B7 1.430 +#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x30B8 1.431 +#define EGL_GL_RENDERBUFFER 0x30B9 1.432 +#define EGL_GL_TEXTURE_LEVEL 0x30BC 1.433 +#define EGL_GL_TEXTURE_ZOFFSET 0x30BD 1.434 +#define EGL_IMAGE_PRESERVED 0x30D2 1.435 +#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE 0x30F0 1.436 +#define EGL_SYNC_STATUS 0x30F1 1.437 +#define EGL_SIGNALED 0x30F2 1.438 +#define EGL_UNSIGNALED 0x30F3 1.439 +#define EGL_TIMEOUT_EXPIRED 0x30F5 1.440 +#define EGL_CONDITION_SATISFIED 0x30F6 1.441 +#define EGL_SYNC_TYPE 0x30F7 1.442 +#define EGL_SYNC_CONDITION 0x30F8 1.443 +#define EGL_SYNC_FENCE 0x30F9 1.444 +#define EGL_CONTEXT_MINOR_VERSION 0x30FB 1.445 +#define EGL_CONTEXT_OPENGL_PROFILE_MASK 0x30FD 1.446 +#define EGL_SYNC_CL_EVENT 0x30FE 1.447 +#define EGL_SYNC_CL_EVENT_COMPLETE 0x30FF 1.448 +#define EGL_CONTEXT_OPENGL_DEBUG 0x31B0 1.449 +#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE 0x31B1 1.450 +#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS 0x31B2 1.451 +#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY 0x31BD 1.452 +#define EGL_NO_RESET_NOTIFICATION 0x31BE 1.453 +#define EGL_LOSE_CONTEXT_ON_RESET 0x31BF 1.454 +#define EGL_FOREVER 0xFFFFFFFFFFFFFFFF 1.455 + 1.456 +typedef EGLint ( * PFNEGLCLIENTWAITSYNCPROC) (EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout); 1.457 +typedef EGLImage ( * PFNEGLCREATEIMAGEPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib * attrib_list); 1.458 +typedef EGLSurface ( * PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC) (EGLDisplay dpy, EGLConfig config, void * native_pixmap, const EGLAttrib * attrib_list); 1.459 +typedef EGLSurface ( * PFNEGLCREATEPLATFORMWINDOWSURFACEPROC) (EGLDisplay dpy, EGLConfig config, void * native_window, const EGLAttrib * attrib_list); 1.460 +typedef EGLSync ( * PFNEGLCREATESYNCPROC) (EGLDisplay dpy, EGLenum type, const EGLAttrib * attrib_list); 1.461 +typedef EGLBoolean ( * PFNEGLDESTROYIMAGEPROC) (EGLDisplay dpy, EGLImage image); 1.462 +typedef EGLBoolean ( * PFNEGLDESTROYSYNCPROC) (EGLDisplay dpy, EGLSync sync); 1.463 +typedef EGLDisplay ( * PFNEGLGETPLATFORMDISPLAYPROC) (EGLenum platform, void * native_display, const EGLAttrib * attrib_list); 1.464 +typedef EGLBoolean ( * PFNEGLGETSYNCATTRIBPROC) (EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib * value); 1.465 +typedef EGLBoolean ( * PFNEGLWAITSYNCPROC) (EGLDisplay dpy, EGLSync sync, EGLint flags); 1.466 + 1.467 +#define eglClientWaitSync EGLEW_GET_FUN(__eglewClientWaitSync) 1.468 +#define eglCreateImage EGLEW_GET_FUN(__eglewCreateImage) 1.469 +#define eglCreatePlatformPixmapSurface EGLEW_GET_FUN(__eglewCreatePlatformPixmapSurface) 1.470 +#define eglCreatePlatformWindowSurface EGLEW_GET_FUN(__eglewCreatePlatformWindowSurface) 1.471 +#define eglCreateSync EGLEW_GET_FUN(__eglewCreateSync) 1.472 +#define eglDestroyImage EGLEW_GET_FUN(__eglewDestroyImage) 1.473 +#define eglDestroySync EGLEW_GET_FUN(__eglewDestroySync) 1.474 +#define eglGetPlatformDisplay EGLEW_GET_FUN(__eglewGetPlatformDisplay) 1.475 +#define eglGetSyncAttrib EGLEW_GET_FUN(__eglewGetSyncAttrib) 1.476 +#define eglWaitSync EGLEW_GET_FUN(__eglewWaitSync) 1.477 + 1.478 +#define EGLEW_VERSION_1_5 EGLEW_GET_VAR(__EGLEW_VERSION_1_5) 1.479 + 1.480 +#endif /* EGL_VERSION_1_5 */ 1.481 + 1.482 +/* ------------------------- EGL_ANDROID_blob_cache ------------------------ */ 1.483 + 1.484 +#ifndef EGL_ANDROID_blob_cache 1.485 +#define EGL_ANDROID_blob_cache 1 1.486 + 1.487 +typedef void ( * PFNEGLSETBLOBCACHEFUNCSANDROIDPROC) (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); 1.488 + 1.489 +#define eglSetBlobCacheFuncsANDROID EGLEW_GET_FUN(__eglewSetBlobCacheFuncsANDROID) 1.490 + 1.491 +#define EGLEW_ANDROID_blob_cache EGLEW_GET_VAR(__EGLEW_ANDROID_blob_cache) 1.492 + 1.493 +#endif /* EGL_ANDROID_blob_cache */ 1.494 + 1.495 +/* ---------------- EGL_ANDROID_create_native_client_buffer ---------------- */ 1.496 + 1.497 +#ifndef EGL_ANDROID_create_native_client_buffer 1.498 +#define EGL_ANDROID_create_native_client_buffer 1 1.499 + 1.500 +#define EGL_NATIVE_BUFFER_USAGE_PROTECTED_BIT_ANDROID 0x00000001 1.501 +#define EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID 0x00000002 1.502 +#define EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID 0x00000004 1.503 +#define EGL_NATIVE_BUFFER_USAGE_ANDROID 0x3143 1.504 + 1.505 +typedef EGLClientBuffer ( * PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC) (const EGLint * attrib_list); 1.506 + 1.507 +#define eglCreateNativeClientBufferANDROID EGLEW_GET_FUN(__eglewCreateNativeClientBufferANDROID) 1.508 + 1.509 +#define EGLEW_ANDROID_create_native_client_buffer EGLEW_GET_VAR(__EGLEW_ANDROID_create_native_client_buffer) 1.510 + 1.511 +#endif /* EGL_ANDROID_create_native_client_buffer */ 1.512 + 1.513 +/* --------------------- EGL_ANDROID_framebuffer_target -------------------- */ 1.514 + 1.515 +#ifndef EGL_ANDROID_framebuffer_target 1.516 +#define EGL_ANDROID_framebuffer_target 1 1.517 + 1.518 +#define EGL_FRAMEBUFFER_TARGET_ANDROID 0x3147 1.519 + 1.520 +#define EGLEW_ANDROID_framebuffer_target EGLEW_GET_VAR(__EGLEW_ANDROID_framebuffer_target) 1.521 + 1.522 +#endif /* EGL_ANDROID_framebuffer_target */ 1.523 + 1.524 +/* ----------------- EGL_ANDROID_front_buffer_auto_refresh ----------------- */ 1.525 + 1.526 +#ifndef EGL_ANDROID_front_buffer_auto_refresh 1.527 +#define EGL_ANDROID_front_buffer_auto_refresh 1 1.528 + 1.529 +#define EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID 0x314C 1.530 + 1.531 +#define EGLEW_ANDROID_front_buffer_auto_refresh EGLEW_GET_VAR(__EGLEW_ANDROID_front_buffer_auto_refresh) 1.532 + 1.533 +#endif /* EGL_ANDROID_front_buffer_auto_refresh */ 1.534 + 1.535 +/* -------------------- EGL_ANDROID_image_native_buffer -------------------- */ 1.536 + 1.537 +#ifndef EGL_ANDROID_image_native_buffer 1.538 +#define EGL_ANDROID_image_native_buffer 1 1.539 + 1.540 +#define EGL_NATIVE_BUFFER_ANDROID 0x3140 1.541 + 1.542 +#define EGLEW_ANDROID_image_native_buffer EGLEW_GET_VAR(__EGLEW_ANDROID_image_native_buffer) 1.543 + 1.544 +#endif /* EGL_ANDROID_image_native_buffer */ 1.545 + 1.546 +/* --------------------- EGL_ANDROID_native_fence_sync --------------------- */ 1.547 + 1.548 +#ifndef EGL_ANDROID_native_fence_sync 1.549 +#define EGL_ANDROID_native_fence_sync 1 1.550 + 1.551 +#define EGL_SYNC_NATIVE_FENCE_ANDROID 0x3144 1.552 +#define EGL_SYNC_NATIVE_FENCE_FD_ANDROID 0x3145 1.553 +#define EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID 0x3146 1.554 + 1.555 +typedef EGLint ( * PFNEGLDUPNATIVEFENCEFDANDROIDPROC) (EGLDisplay dpy, EGLSyncKHR sync); 1.556 + 1.557 +#define eglDupNativeFenceFDANDROID EGLEW_GET_FUN(__eglewDupNativeFenceFDANDROID) 1.558 + 1.559 +#define EGLEW_ANDROID_native_fence_sync EGLEW_GET_VAR(__EGLEW_ANDROID_native_fence_sync) 1.560 + 1.561 +#endif /* EGL_ANDROID_native_fence_sync */ 1.562 + 1.563 +/* --------------------- EGL_ANDROID_presentation_time --------------------- */ 1.564 + 1.565 +#ifndef EGL_ANDROID_presentation_time 1.566 +#define EGL_ANDROID_presentation_time 1 1.567 + 1.568 +typedef EGLBoolean ( * PFNEGLPRESENTATIONTIMEANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLnsecsANDROID time); 1.569 + 1.570 +#define eglPresentationTimeANDROID EGLEW_GET_FUN(__eglewPresentationTimeANDROID) 1.571 + 1.572 +#define EGLEW_ANDROID_presentation_time EGLEW_GET_VAR(__EGLEW_ANDROID_presentation_time) 1.573 + 1.574 +#endif /* EGL_ANDROID_presentation_time */ 1.575 + 1.576 +/* ------------------------- EGL_ANDROID_recordable ------------------------ */ 1.577 + 1.578 +#ifndef EGL_ANDROID_recordable 1.579 +#define EGL_ANDROID_recordable 1 1.580 + 1.581 +#define EGL_RECORDABLE_ANDROID 0x3142 1.582 + 1.583 +#define EGLEW_ANDROID_recordable EGLEW_GET_VAR(__EGLEW_ANDROID_recordable) 1.584 + 1.585 +#endif /* EGL_ANDROID_recordable */ 1.586 + 1.587 +/* ---------------- EGL_ANGLE_d3d_share_handle_client_buffer --------------- */ 1.588 + 1.589 +#ifndef EGL_ANGLE_d3d_share_handle_client_buffer 1.590 +#define EGL_ANGLE_d3d_share_handle_client_buffer 1 1.591 + 1.592 +#define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200 1.593 + 1.594 +#define EGLEW_ANGLE_d3d_share_handle_client_buffer EGLEW_GET_VAR(__EGLEW_ANGLE_d3d_share_handle_client_buffer) 1.595 + 1.596 +#endif /* EGL_ANGLE_d3d_share_handle_client_buffer */ 1.597 + 1.598 +/* -------------------------- EGL_ANGLE_device_d3d ------------------------- */ 1.599 + 1.600 +#ifndef EGL_ANGLE_device_d3d 1.601 +#define EGL_ANGLE_device_d3d 1 1.602 + 1.603 +#define EGL_D3D9_DEVICE_ANGLE 0x33A0 1.604 +#define EGL_D3D11_DEVICE_ANGLE 0x33A1 1.605 + 1.606 +#define EGLEW_ANGLE_device_d3d EGLEW_GET_VAR(__EGLEW_ANGLE_device_d3d) 1.607 + 1.608 +#endif /* EGL_ANGLE_device_d3d */ 1.609 + 1.610 +/* -------------------- EGL_ANGLE_query_surface_pointer -------------------- */ 1.611 + 1.612 +#ifndef EGL_ANGLE_query_surface_pointer 1.613 +#define EGL_ANGLE_query_surface_pointer 1 1.614 + 1.615 +typedef EGLBoolean ( * PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void ** value); 1.616 + 1.617 +#define eglQuerySurfacePointerANGLE EGLEW_GET_FUN(__eglewQuerySurfacePointerANGLE) 1.618 + 1.619 +#define EGLEW_ANGLE_query_surface_pointer EGLEW_GET_VAR(__EGLEW_ANGLE_query_surface_pointer) 1.620 + 1.621 +#endif /* EGL_ANGLE_query_surface_pointer */ 1.622 + 1.623 +/* ------------- EGL_ANGLE_surface_d3d_texture_2d_share_handle ------------- */ 1.624 + 1.625 +#ifndef EGL_ANGLE_surface_d3d_texture_2d_share_handle 1.626 +#define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1 1.627 + 1.628 +#define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200 1.629 + 1.630 +#define EGLEW_ANGLE_surface_d3d_texture_2d_share_handle EGLEW_GET_VAR(__EGLEW_ANGLE_surface_d3d_texture_2d_share_handle) 1.631 + 1.632 +#endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */ 1.633 + 1.634 +/* ---------------------- EGL_ANGLE_window_fixed_size ---------------------- */ 1.635 + 1.636 +#ifndef EGL_ANGLE_window_fixed_size 1.637 +#define EGL_ANGLE_window_fixed_size 1 1.638 + 1.639 +#define EGL_FIXED_SIZE_ANGLE 0x3201 1.640 + 1.641 +#define EGLEW_ANGLE_window_fixed_size EGLEW_GET_VAR(__EGLEW_ANGLE_window_fixed_size) 1.642 + 1.643 +#endif /* EGL_ANGLE_window_fixed_size */ 1.644 + 1.645 +/* --------------------- EGL_ARM_implicit_external_sync -------------------- */ 1.646 + 1.647 +#ifndef EGL_ARM_implicit_external_sync 1.648 +#define EGL_ARM_implicit_external_sync 1 1.649 + 1.650 +#define EGL_SYNC_PRIOR_COMMANDS_IMPLICIT_EXTERNAL_ARM 0x328A 1.651 + 1.652 +#define EGLEW_ARM_implicit_external_sync EGLEW_GET_VAR(__EGLEW_ARM_implicit_external_sync) 1.653 + 1.654 +#endif /* EGL_ARM_implicit_external_sync */ 1.655 + 1.656 +/* ------------------- EGL_ARM_pixmap_multisample_discard ------------------ */ 1.657 + 1.658 +#ifndef EGL_ARM_pixmap_multisample_discard 1.659 +#define EGL_ARM_pixmap_multisample_discard 1 1.660 + 1.661 +#define EGL_DISCARD_SAMPLES_ARM 0x3286 1.662 + 1.663 +#define EGLEW_ARM_pixmap_multisample_discard EGLEW_GET_VAR(__EGLEW_ARM_pixmap_multisample_discard) 1.664 + 1.665 +#endif /* EGL_ARM_pixmap_multisample_discard */ 1.666 + 1.667 +/* --------------------------- EGL_EXT_buffer_age -------------------------- */ 1.668 + 1.669 +#ifndef EGL_EXT_buffer_age 1.670 +#define EGL_EXT_buffer_age 1 1.671 + 1.672 +#define EGL_BUFFER_AGE_EXT 0x313D 1.673 + 1.674 +#define EGLEW_EXT_buffer_age EGLEW_GET_VAR(__EGLEW_EXT_buffer_age) 1.675 + 1.676 +#endif /* EGL_EXT_buffer_age */ 1.677 + 1.678 +/* ----------------------- EGL_EXT_client_extensions ----------------------- */ 1.679 + 1.680 +#ifndef EGL_EXT_client_extensions 1.681 +#define EGL_EXT_client_extensions 1 1.682 + 1.683 +#define EGLEW_EXT_client_extensions EGLEW_GET_VAR(__EGLEW_EXT_client_extensions) 1.684 + 1.685 +#endif /* EGL_EXT_client_extensions */ 1.686 + 1.687 +/* ------------------- EGL_EXT_create_context_robustness ------------------- */ 1.688 + 1.689 +#ifndef EGL_EXT_create_context_robustness 1.690 +#define EGL_EXT_create_context_robustness 1 1.691 + 1.692 +#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF 1.693 +#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138 1.694 +#define EGL_NO_RESET_NOTIFICATION_EXT 0x31BE 1.695 +#define EGL_LOSE_CONTEXT_ON_RESET_EXT 0x31BF 1.696 + 1.697 +#define EGLEW_EXT_create_context_robustness EGLEW_GET_VAR(__EGLEW_EXT_create_context_robustness) 1.698 + 1.699 +#endif /* EGL_EXT_create_context_robustness */ 1.700 + 1.701 +/* -------------------------- EGL_EXT_device_base -------------------------- */ 1.702 + 1.703 +#ifndef EGL_EXT_device_base 1.704 +#define EGL_EXT_device_base 1 1.705 + 1.706 +#define EGL_BAD_DEVICE_EXT 0x322B 1.707 +#define EGL_DEVICE_EXT 0x322C 1.708 + 1.709 +#define EGLEW_EXT_device_base EGLEW_GET_VAR(__EGLEW_EXT_device_base) 1.710 + 1.711 +#endif /* EGL_EXT_device_base */ 1.712 + 1.713 +/* --------------------------- EGL_EXT_device_drm -------------------------- */ 1.714 + 1.715 +#ifndef EGL_EXT_device_drm 1.716 +#define EGL_EXT_device_drm 1 1.717 + 1.718 +#define EGL_DRM_DEVICE_FILE_EXT 0x3233 1.719 + 1.720 +#define EGLEW_EXT_device_drm EGLEW_GET_VAR(__EGLEW_EXT_device_drm) 1.721 + 1.722 +#endif /* EGL_EXT_device_drm */ 1.723 + 1.724 +/* ----------------------- EGL_EXT_device_enumeration ---------------------- */ 1.725 + 1.726 +#ifndef EGL_EXT_device_enumeration 1.727 +#define EGL_EXT_device_enumeration 1 1.728 + 1.729 +typedef EGLBoolean ( * PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT * devices, EGLint * num_devices); 1.730 + 1.731 +#define eglQueryDevicesEXT EGLEW_GET_FUN(__eglewQueryDevicesEXT) 1.732 + 1.733 +#define EGLEW_EXT_device_enumeration EGLEW_GET_VAR(__EGLEW_EXT_device_enumeration) 1.734 + 1.735 +#endif /* EGL_EXT_device_enumeration */ 1.736 + 1.737 +/* ------------------------- EGL_EXT_device_openwf ------------------------- */ 1.738 + 1.739 +#ifndef EGL_EXT_device_openwf 1.740 +#define EGL_EXT_device_openwf 1 1.741 + 1.742 +#define EGL_OPENWF_DEVICE_ID_EXT 0x3237 1.743 + 1.744 +#define EGLEW_EXT_device_openwf EGLEW_GET_VAR(__EGLEW_EXT_device_openwf) 1.745 + 1.746 +#endif /* EGL_EXT_device_openwf */ 1.747 + 1.748 +/* -------------------------- EGL_EXT_device_query ------------------------- */ 1.749 + 1.750 +#ifndef EGL_EXT_device_query 1.751 +#define EGL_EXT_device_query 1 1.752 + 1.753 +#define EGL_BAD_DEVICE_EXT 0x322B 1.754 +#define EGL_DEVICE_EXT 0x322C 1.755 + 1.756 +typedef EGLBoolean ( * PFNEGLQUERYDEVICEATTRIBEXTPROC) (EGLDeviceEXT device, EGLint attribute, EGLAttrib * value); 1.757 +typedef const char * ( * PFNEGLQUERYDEVICESTRINGEXTPROC) (EGLDeviceEXT device, EGLint name); 1.758 +typedef EGLBoolean ( * PFNEGLQUERYDISPLAYATTRIBEXTPROC) (EGLDisplay dpy, EGLint attribute, EGLAttrib * value); 1.759 + 1.760 +#define eglQueryDeviceAttribEXT EGLEW_GET_FUN(__eglewQueryDeviceAttribEXT) 1.761 +#define eglQueryDeviceStringEXT EGLEW_GET_FUN(__eglewQueryDeviceStringEXT) 1.762 +#define eglQueryDisplayAttribEXT EGLEW_GET_FUN(__eglewQueryDisplayAttribEXT) 1.763 + 1.764 +#define EGLEW_EXT_device_query EGLEW_GET_VAR(__EGLEW_EXT_device_query) 1.765 + 1.766 +#endif /* EGL_EXT_device_query */ 1.767 + 1.768 +/* ------------------ EGL_EXT_gl_colorspace_bt2020_linear ------------------ */ 1.769 + 1.770 +#ifndef EGL_EXT_gl_colorspace_bt2020_linear 1.771 +#define EGL_EXT_gl_colorspace_bt2020_linear 1 1.772 + 1.773 +#define EGL_GL_COLORSPACE_BT2020_LINEAR_EXT 0x333F 1.774 + 1.775 +#define EGLEW_EXT_gl_colorspace_bt2020_linear EGLEW_GET_VAR(__EGLEW_EXT_gl_colorspace_bt2020_linear) 1.776 + 1.777 +#endif /* EGL_EXT_gl_colorspace_bt2020_linear */ 1.778 + 1.779 +/* -------------------- EGL_EXT_gl_colorspace_bt2020_pq -------------------- */ 1.780 + 1.781 +#ifndef EGL_EXT_gl_colorspace_bt2020_pq 1.782 +#define EGL_EXT_gl_colorspace_bt2020_pq 1 1.783 + 1.784 +#define EGL_GL_COLORSPACE_BT2020_PQ_EXT 0x3340 1.785 + 1.786 +#define EGLEW_EXT_gl_colorspace_bt2020_pq EGLEW_GET_VAR(__EGLEW_EXT_gl_colorspace_bt2020_pq) 1.787 + 1.788 +#endif /* EGL_EXT_gl_colorspace_bt2020_pq */ 1.789 + 1.790 +/* ------------------- EGL_EXT_gl_colorspace_scrgb_linear ------------------ */ 1.791 + 1.792 +#ifndef EGL_EXT_gl_colorspace_scrgb_linear 1.793 +#define EGL_EXT_gl_colorspace_scrgb_linear 1 1.794 + 1.795 +#define EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT 0x3350 1.796 + 1.797 +#define EGLEW_EXT_gl_colorspace_scrgb_linear EGLEW_GET_VAR(__EGLEW_EXT_gl_colorspace_scrgb_linear) 1.798 + 1.799 +#endif /* EGL_EXT_gl_colorspace_scrgb_linear */ 1.800 + 1.801 +/* ---------------------- EGL_EXT_image_dma_buf_import --------------------- */ 1.802 + 1.803 +#ifndef EGL_EXT_image_dma_buf_import 1.804 +#define EGL_EXT_image_dma_buf_import 1 1.805 + 1.806 +#define EGL_LINUX_DMA_BUF_EXT 0x3270 1.807 +#define EGL_LINUX_DRM_FOURCC_EXT 0x3271 1.808 +#define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272 1.809 +#define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273 1.810 +#define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274 1.811 +#define EGL_DMA_BUF_PLANE1_FD_EXT 0x3275 1.812 +#define EGL_DMA_BUF_PLANE1_OFFSET_EXT 0x3276 1.813 +#define EGL_DMA_BUF_PLANE1_PITCH_EXT 0x3277 1.814 +#define EGL_DMA_BUF_PLANE2_FD_EXT 0x3278 1.815 +#define EGL_DMA_BUF_PLANE2_OFFSET_EXT 0x3279 1.816 +#define EGL_DMA_BUF_PLANE2_PITCH_EXT 0x327A 1.817 +#define EGL_YUV_COLOR_SPACE_HINT_EXT 0x327B 1.818 +#define EGL_SAMPLE_RANGE_HINT_EXT 0x327C 1.819 +#define EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT 0x327D 1.820 +#define EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT 0x327E 1.821 +#define EGL_ITU_REC601_EXT 0x327F 1.822 +#define EGL_ITU_REC709_EXT 0x3280 1.823 +#define EGL_ITU_REC2020_EXT 0x3281 1.824 +#define EGL_YUV_FULL_RANGE_EXT 0x3282 1.825 +#define EGL_YUV_NARROW_RANGE_EXT 0x3283 1.826 +#define EGL_YUV_CHROMA_SITING_0_EXT 0x3284 1.827 +#define EGL_YUV_CHROMA_SITING_0_5_EXT 0x3285 1.828 + 1.829 +#define EGLEW_EXT_image_dma_buf_import EGLEW_GET_VAR(__EGLEW_EXT_image_dma_buf_import) 1.830 + 1.831 +#endif /* EGL_EXT_image_dma_buf_import */ 1.832 + 1.833 +/* ----------------- EGL_EXT_image_dma_buf_import_modifiers ---------------- */ 1.834 + 1.835 +#ifndef EGL_EXT_image_dma_buf_import_modifiers 1.836 +#define EGL_EXT_image_dma_buf_import_modifiers 1 1.837 + 1.838 +#define EGL_DMA_BUF_PLANE3_FD_EXT 0x3440 1.839 +#define EGL_DMA_BUF_PLANE3_OFFSET_EXT 0x3441 1.840 +#define EGL_DMA_BUF_PLANE3_PITCH_EXT 0x3442 1.841 +#define EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT 0x3443 1.842 +#define EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT 0x3444 1.843 +#define EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT 0x3445 1.844 +#define EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT 0x3446 1.845 +#define EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT 0x3447 1.846 +#define EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT 0x3448 1.847 +#define EGL_DMA_BUF_PLANE3_MODIFIER_LO_EXT 0x3449 1.848 +#define EGL_DMA_BUF_PLANE3_MODIFIER_HI_EXT 0x344A 1.849 + 1.850 +typedef EGLBoolean ( * PFNEGLQUERYDMABUFFORMATSEXTPROC) (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats); 1.851 +typedef EGLBoolean ( * PFNEGLQUERYDMABUFMODIFIERSEXTPROC) (EGLDisplay dpy, EGLint format, EGLint max_modifiers, EGLuint64KHR *modifiers, EGLBoolean *external_only, EGLint *num_modifiers); 1.852 + 1.853 +#define eglQueryDmaBufFormatsEXT EGLEW_GET_FUN(__eglewQueryDmaBufFormatsEXT) 1.854 +#define eglQueryDmaBufModifiersEXT EGLEW_GET_FUN(__eglewQueryDmaBufModifiersEXT) 1.855 + 1.856 +#define EGLEW_EXT_image_dma_buf_import_modifiers EGLEW_GET_VAR(__EGLEW_EXT_image_dma_buf_import_modifiers) 1.857 + 1.858 +#endif /* EGL_EXT_image_dma_buf_import_modifiers */ 1.859 + 1.860 +/* ------------------------ EGL_EXT_multiview_window ----------------------- */ 1.861 + 1.862 +#ifndef EGL_EXT_multiview_window 1.863 +#define EGL_EXT_multiview_window 1 1.864 + 1.865 +#define EGL_MULTIVIEW_VIEW_COUNT_EXT 0x3134 1.866 + 1.867 +#define EGLEW_EXT_multiview_window EGLEW_GET_VAR(__EGLEW_EXT_multiview_window) 1.868 + 1.869 +#endif /* EGL_EXT_multiview_window */ 1.870 + 1.871 +/* -------------------------- EGL_EXT_output_base -------------------------- */ 1.872 + 1.873 +#ifndef EGL_EXT_output_base 1.874 +#define EGL_EXT_output_base 1 1.875 + 1.876 +#define EGL_BAD_OUTPUT_LAYER_EXT 0x322D 1.877 +#define EGL_BAD_OUTPUT_PORT_EXT 0x322E 1.878 +#define EGL_SWAP_INTERVAL_EXT 0x322F 1.879 + 1.880 +typedef EGLBoolean ( * PFNEGLGETOUTPUTLAYERSEXTPROC) (EGLDisplay dpy, const EGLAttrib * attrib_list, EGLOutputLayerEXT * layers, EGLint max_layers, EGLint * num_layers); 1.881 +typedef EGLBoolean ( * PFNEGLGETOUTPUTPORTSEXTPROC) (EGLDisplay dpy, const EGLAttrib * attrib_list, EGLOutputPortEXT * ports, EGLint max_ports, EGLint * num_ports); 1.882 +typedef EGLBoolean ( * PFNEGLOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value); 1.883 +typedef EGLBoolean ( * PFNEGLOUTPUTPORTATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value); 1.884 +typedef EGLBoolean ( * PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib * value); 1.885 +typedef const char * ( * PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name); 1.886 +typedef EGLBoolean ( * PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib * value); 1.887 +typedef const char * ( * PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name); 1.888 + 1.889 +#define eglGetOutputLayersEXT EGLEW_GET_FUN(__eglewGetOutputLayersEXT) 1.890 +#define eglGetOutputPortsEXT EGLEW_GET_FUN(__eglewGetOutputPortsEXT) 1.891 +#define eglOutputLayerAttribEXT EGLEW_GET_FUN(__eglewOutputLayerAttribEXT) 1.892 +#define eglOutputPortAttribEXT EGLEW_GET_FUN(__eglewOutputPortAttribEXT) 1.893 +#define eglQueryOutputLayerAttribEXT EGLEW_GET_FUN(__eglewQueryOutputLayerAttribEXT) 1.894 +#define eglQueryOutputLayerStringEXT EGLEW_GET_FUN(__eglewQueryOutputLayerStringEXT) 1.895 +#define eglQueryOutputPortAttribEXT EGLEW_GET_FUN(__eglewQueryOutputPortAttribEXT) 1.896 +#define eglQueryOutputPortStringEXT EGLEW_GET_FUN(__eglewQueryOutputPortStringEXT) 1.897 + 1.898 +#define EGLEW_EXT_output_base EGLEW_GET_VAR(__EGLEW_EXT_output_base) 1.899 + 1.900 +#endif /* EGL_EXT_output_base */ 1.901 + 1.902 +/* --------------------------- EGL_EXT_output_drm -------------------------- */ 1.903 + 1.904 +#ifndef EGL_EXT_output_drm 1.905 +#define EGL_EXT_output_drm 1 1.906 + 1.907 +#define EGL_DRM_CRTC_EXT 0x3234 1.908 +#define EGL_DRM_PLANE_EXT 0x3235 1.909 +#define EGL_DRM_CONNECTOR_EXT 0x3236 1.910 + 1.911 +#define EGLEW_EXT_output_drm EGLEW_GET_VAR(__EGLEW_EXT_output_drm) 1.912 + 1.913 +#endif /* EGL_EXT_output_drm */ 1.914 + 1.915 +/* ------------------------- EGL_EXT_output_openwf ------------------------- */ 1.916 + 1.917 +#ifndef EGL_EXT_output_openwf 1.918 +#define EGL_EXT_output_openwf 1 1.919 + 1.920 +#define EGL_OPENWF_PIPELINE_ID_EXT 0x3238 1.921 +#define EGL_OPENWF_PORT_ID_EXT 0x3239 1.922 + 1.923 +#define EGLEW_EXT_output_openwf EGLEW_GET_VAR(__EGLEW_EXT_output_openwf) 1.924 + 1.925 +#endif /* EGL_EXT_output_openwf */ 1.926 + 1.927 +/* ----------------------- EGL_EXT_pixel_format_float ---------------------- */ 1.928 + 1.929 +#ifndef EGL_EXT_pixel_format_float 1.930 +#define EGL_EXT_pixel_format_float 1 1.931 + 1.932 +#define EGL_COLOR_COMPONENT_TYPE_EXT 0x3339 1.933 +#define EGL_COLOR_COMPONENT_TYPE_FIXED_EXT 0x333A 1.934 +#define EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT 0x333B 1.935 + 1.936 +#define EGLEW_EXT_pixel_format_float EGLEW_GET_VAR(__EGLEW_EXT_pixel_format_float) 1.937 + 1.938 +#endif /* EGL_EXT_pixel_format_float */ 1.939 + 1.940 +/* ------------------------- EGL_EXT_platform_base ------------------------- */ 1.941 + 1.942 +#ifndef EGL_EXT_platform_base 1.943 +#define EGL_EXT_platform_base 1 1.944 + 1.945 +typedef EGLSurface ( * PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void * native_pixmap, const EGLint * attrib_list); 1.946 +typedef EGLSurface ( * PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void * native_window, const EGLint * attrib_list); 1.947 +typedef EGLDisplay ( * PFNEGLGETPLATFORMDISPLAYEXTPROC) (EGLenum platform, void * native_display, const EGLint * attrib_list); 1.948 + 1.949 +#define eglCreatePlatformPixmapSurfaceEXT EGLEW_GET_FUN(__eglewCreatePlatformPixmapSurfaceEXT) 1.950 +#define eglCreatePlatformWindowSurfaceEXT EGLEW_GET_FUN(__eglewCreatePlatformWindowSurfaceEXT) 1.951 +#define eglGetPlatformDisplayEXT EGLEW_GET_FUN(__eglewGetPlatformDisplayEXT) 1.952 + 1.953 +#define EGLEW_EXT_platform_base EGLEW_GET_VAR(__EGLEW_EXT_platform_base) 1.954 + 1.955 +#endif /* EGL_EXT_platform_base */ 1.956 + 1.957 +/* ------------------------ EGL_EXT_platform_device ------------------------ */ 1.958 + 1.959 +#ifndef EGL_EXT_platform_device 1.960 +#define EGL_EXT_platform_device 1 1.961 + 1.962 +#define EGL_PLATFORM_DEVICE_EXT 0x313F 1.963 + 1.964 +#define EGLEW_EXT_platform_device EGLEW_GET_VAR(__EGLEW_EXT_platform_device) 1.965 + 1.966 +#endif /* EGL_EXT_platform_device */ 1.967 + 1.968 +/* ------------------------ EGL_EXT_platform_wayland ----------------------- */ 1.969 + 1.970 +#ifndef EGL_EXT_platform_wayland 1.971 +#define EGL_EXT_platform_wayland 1 1.972 + 1.973 +#define EGL_PLATFORM_WAYLAND_EXT 0x31D8 1.974 + 1.975 +#define EGLEW_EXT_platform_wayland EGLEW_GET_VAR(__EGLEW_EXT_platform_wayland) 1.976 + 1.977 +#endif /* EGL_EXT_platform_wayland */ 1.978 + 1.979 +/* -------------------------- EGL_EXT_platform_x11 ------------------------- */ 1.980 + 1.981 +#ifndef EGL_EXT_platform_x11 1.982 +#define EGL_EXT_platform_x11 1 1.983 + 1.984 +#define EGL_PLATFORM_X11_EXT 0x31D5 1.985 +#define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6 1.986 + 1.987 +#define EGLEW_EXT_platform_x11 EGLEW_GET_VAR(__EGLEW_EXT_platform_x11) 1.988 + 1.989 +#endif /* EGL_EXT_platform_x11 */ 1.990 + 1.991 +/* ----------------------- EGL_EXT_protected_content ----------------------- */ 1.992 + 1.993 +#ifndef EGL_EXT_protected_content 1.994 +#define EGL_EXT_protected_content 1 1.995 + 1.996 +#define EGL_PROTECTED_CONTENT_EXT 0x32C0 1.997 + 1.998 +#define EGLEW_EXT_protected_content EGLEW_GET_VAR(__EGLEW_EXT_protected_content) 1.999 + 1.1000 +#endif /* EGL_EXT_protected_content */ 1.1001 + 1.1002 +/* ----------------------- EGL_EXT_protected_surface ----------------------- */ 1.1003 + 1.1004 +#ifndef EGL_EXT_protected_surface 1.1005 +#define EGL_EXT_protected_surface 1 1.1006 + 1.1007 +#define EGL_PROTECTED_CONTENT_EXT 0x32C0 1.1008 + 1.1009 +#define EGLEW_EXT_protected_surface EGLEW_GET_VAR(__EGLEW_EXT_protected_surface) 1.1010 + 1.1011 +#endif /* EGL_EXT_protected_surface */ 1.1012 + 1.1013 +/* ------------------- EGL_EXT_stream_consumer_egloutput ------------------- */ 1.1014 + 1.1015 +#ifndef EGL_EXT_stream_consumer_egloutput 1.1016 +#define EGL_EXT_stream_consumer_egloutput 1 1.1017 + 1.1018 +typedef EGLBoolean ( * PFNEGLSTREAMCONSUMEROUTPUTEXTPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer); 1.1019 + 1.1020 +#define eglStreamConsumerOutputEXT EGLEW_GET_FUN(__eglewStreamConsumerOutputEXT) 1.1021 + 1.1022 +#define EGLEW_EXT_stream_consumer_egloutput EGLEW_GET_VAR(__EGLEW_EXT_stream_consumer_egloutput) 1.1023 + 1.1024 +#endif /* EGL_EXT_stream_consumer_egloutput */ 1.1025 + 1.1026 +/* ------------------- EGL_EXT_surface_SMPTE2086_metadata ------------------ */ 1.1027 + 1.1028 +#ifndef EGL_EXT_surface_SMPTE2086_metadata 1.1029 +#define EGL_EXT_surface_SMPTE2086_metadata 1 1.1030 + 1.1031 +#define EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT 0x3341 1.1032 +#define EGL_SMPTE2086_DISPLAY_PRIMARY_RY_EXT 0x3342 1.1033 +#define EGL_SMPTE2086_DISPLAY_PRIMARY_GX_EXT 0x3343 1.1034 +#define EGL_SMPTE2086_DISPLAY_PRIMARY_GY_EXT 0x3344 1.1035 +#define EGL_SMPTE2086_DISPLAY_PRIMARY_BX_EXT 0x3345 1.1036 +#define EGL_SMPTE2086_DISPLAY_PRIMARY_BY_EXT 0x3346 1.1037 +#define EGL_SMPTE2086_WHITE_POINT_X_EXT 0x3347 1.1038 +#define EGL_SMPTE2086_WHITE_POINT_Y_EXT 0x3348 1.1039 +#define EGL_SMPTE2086_MAX_LUMINANCE_EXT 0x3349 1.1040 +#define EGL_SMPTE2086_MIN_LUMINANCE_EXT 0x334A 1.1041 + 1.1042 +#define EGLEW_EXT_surface_SMPTE2086_metadata EGLEW_GET_VAR(__EGLEW_EXT_surface_SMPTE2086_metadata) 1.1043 + 1.1044 +#endif /* EGL_EXT_surface_SMPTE2086_metadata */ 1.1045 + 1.1046 +/* -------------------- EGL_EXT_swap_buffers_with_damage ------------------- */ 1.1047 + 1.1048 +#ifndef EGL_EXT_swap_buffers_with_damage 1.1049 +#define EGL_EXT_swap_buffers_with_damage 1 1.1050 + 1.1051 +typedef EGLBoolean ( * PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects); 1.1052 + 1.1053 +#define eglSwapBuffersWithDamageEXT EGLEW_GET_FUN(__eglewSwapBuffersWithDamageEXT) 1.1054 + 1.1055 +#define EGLEW_EXT_swap_buffers_with_damage EGLEW_GET_VAR(__EGLEW_EXT_swap_buffers_with_damage) 1.1056 + 1.1057 +#endif /* EGL_EXT_swap_buffers_with_damage */ 1.1058 + 1.1059 +/* -------------------------- EGL_EXT_yuv_surface -------------------------- */ 1.1060 + 1.1061 +#ifndef EGL_EXT_yuv_surface 1.1062 +#define EGL_EXT_yuv_surface 1 1.1063 + 1.1064 +#define EGL_YUV_BUFFER_EXT 0x3300 1.1065 +#define EGL_YUV_ORDER_EXT 0x3301 1.1066 +#define EGL_YUV_ORDER_YUV_EXT 0x3302 1.1067 +#define EGL_YUV_ORDER_YVU_EXT 0x3303 1.1068 +#define EGL_YUV_ORDER_YUYV_EXT 0x3304 1.1069 +#define EGL_YUV_ORDER_UYVY_EXT 0x3305 1.1070 +#define EGL_YUV_ORDER_YVYU_EXT 0x3306 1.1071 +#define EGL_YUV_ORDER_VYUY_EXT 0x3307 1.1072 +#define EGL_YUV_ORDER_AYUV_EXT 0x3308 1.1073 +#define EGL_YUV_CSC_STANDARD_EXT 0x330A 1.1074 +#define EGL_YUV_CSC_STANDARD_601_EXT 0x330B 1.1075 +#define EGL_YUV_CSC_STANDARD_709_EXT 0x330C 1.1076 +#define EGL_YUV_CSC_STANDARD_2020_EXT 0x330D 1.1077 +#define EGL_YUV_NUMBER_OF_PLANES_EXT 0x3311 1.1078 +#define EGL_YUV_SUBSAMPLE_EXT 0x3312 1.1079 +#define EGL_YUV_SUBSAMPLE_4_2_0_EXT 0x3313 1.1080 +#define EGL_YUV_SUBSAMPLE_4_2_2_EXT 0x3314 1.1081 +#define EGL_YUV_SUBSAMPLE_4_4_4_EXT 0x3315 1.1082 +#define EGL_YUV_DEPTH_RANGE_EXT 0x3317 1.1083 +#define EGL_YUV_DEPTH_RANGE_LIMITED_EXT 0x3318 1.1084 +#define EGL_YUV_DEPTH_RANGE_FULL_EXT 0x3319 1.1085 +#define EGL_YUV_PLANE_BPP_EXT 0x331A 1.1086 +#define EGL_YUV_PLANE_BPP_0_EXT 0x331B 1.1087 +#define EGL_YUV_PLANE_BPP_8_EXT 0x331C 1.1088 +#define EGL_YUV_PLANE_BPP_10_EXT 0x331D 1.1089 + 1.1090 +#define EGLEW_EXT_yuv_surface EGLEW_GET_VAR(__EGLEW_EXT_yuv_surface) 1.1091 + 1.1092 +#endif /* EGL_EXT_yuv_surface */ 1.1093 + 1.1094 +/* -------------------------- EGL_HI_clientpixmap -------------------------- */ 1.1095 + 1.1096 +#ifndef EGL_HI_clientpixmap 1.1097 +#define EGL_HI_clientpixmap 1 1.1098 + 1.1099 +#define EGL_CLIENT_PIXMAP_POINTER_HI 0x8F74 1.1100 + 1.1101 +typedef EGLSurface ( * PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI * pixmap); 1.1102 + 1.1103 +#define eglCreatePixmapSurfaceHI EGLEW_GET_FUN(__eglewCreatePixmapSurfaceHI) 1.1104 + 1.1105 +#define EGLEW_HI_clientpixmap EGLEW_GET_VAR(__EGLEW_HI_clientpixmap) 1.1106 + 1.1107 +#endif /* EGL_HI_clientpixmap */ 1.1108 + 1.1109 +/* -------------------------- EGL_HI_colorformats -------------------------- */ 1.1110 + 1.1111 +#ifndef EGL_HI_colorformats 1.1112 +#define EGL_HI_colorformats 1 1.1113 + 1.1114 +#define EGL_COLOR_FORMAT_HI 0x8F70 1.1115 +#define EGL_COLOR_RGB_HI 0x8F71 1.1116 +#define EGL_COLOR_RGBA_HI 0x8F72 1.1117 +#define EGL_COLOR_ARGB_HI 0x8F73 1.1118 + 1.1119 +#define EGLEW_HI_colorformats EGLEW_GET_VAR(__EGLEW_HI_colorformats) 1.1120 + 1.1121 +#endif /* EGL_HI_colorformats */ 1.1122 + 1.1123 +/* ------------------------ EGL_IMG_context_priority ----------------------- */ 1.1124 + 1.1125 +#ifndef EGL_IMG_context_priority 1.1126 +#define EGL_IMG_context_priority 1 1.1127 + 1.1128 +#define EGL_CONTEXT_PRIORITY_LEVEL_IMG 0x3100 1.1129 +#define EGL_CONTEXT_PRIORITY_HIGH_IMG 0x3101 1.1130 +#define EGL_CONTEXT_PRIORITY_MEDIUM_IMG 0x3102 1.1131 +#define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103 1.1132 + 1.1133 +#define EGLEW_IMG_context_priority EGLEW_GET_VAR(__EGLEW_IMG_context_priority) 1.1134 + 1.1135 +#endif /* EGL_IMG_context_priority */ 1.1136 + 1.1137 +/* ---------------------- EGL_IMG_image_plane_attribs ---------------------- */ 1.1138 + 1.1139 +#ifndef EGL_IMG_image_plane_attribs 1.1140 +#define EGL_IMG_image_plane_attribs 1 1.1141 + 1.1142 +#define EGL_NATIVE_BUFFER_MULTIPLANE_SEPARATE_IMG 0x3105 1.1143 +#define EGL_NATIVE_BUFFER_PLANE_OFFSET_IMG 0x3106 1.1144 + 1.1145 +#define EGLEW_IMG_image_plane_attribs EGLEW_GET_VAR(__EGLEW_IMG_image_plane_attribs) 1.1146 + 1.1147 +#endif /* EGL_IMG_image_plane_attribs */ 1.1148 + 1.1149 +/* ---------------------------- EGL_KHR_cl_event --------------------------- */ 1.1150 + 1.1151 +#ifndef EGL_KHR_cl_event 1.1152 +#define EGL_KHR_cl_event 1 1.1153 + 1.1154 +#define EGL_CL_EVENT_HANDLE_KHR 0x309C 1.1155 +#define EGL_SYNC_CL_EVENT_KHR 0x30FE 1.1156 +#define EGL_SYNC_CL_EVENT_COMPLETE_KHR 0x30FF 1.1157 + 1.1158 +#define EGLEW_KHR_cl_event EGLEW_GET_VAR(__EGLEW_KHR_cl_event) 1.1159 + 1.1160 +#endif /* EGL_KHR_cl_event */ 1.1161 + 1.1162 +/* --------------------------- EGL_KHR_cl_event2 --------------------------- */ 1.1163 + 1.1164 +#ifndef EGL_KHR_cl_event2 1.1165 +#define EGL_KHR_cl_event2 1 1.1166 + 1.1167 +#define EGL_CL_EVENT_HANDLE_KHR 0x309C 1.1168 +#define EGL_SYNC_CL_EVENT_KHR 0x30FE 1.1169 +#define EGL_SYNC_CL_EVENT_COMPLETE_KHR 0x30FF 1.1170 + 1.1171 +typedef EGLSyncKHR ( * PFNEGLCREATESYNC64KHRPROC) (EGLDisplay dpy, EGLenum type, const EGLAttribKHR * attrib_list); 1.1172 + 1.1173 +#define eglCreateSync64KHR EGLEW_GET_FUN(__eglewCreateSync64KHR) 1.1174 + 1.1175 +#define EGLEW_KHR_cl_event2 EGLEW_GET_VAR(__EGLEW_KHR_cl_event2) 1.1176 + 1.1177 +#endif /* EGL_KHR_cl_event2 */ 1.1178 + 1.1179 +/* ----------------- EGL_KHR_client_get_all_proc_addresses ----------------- */ 1.1180 + 1.1181 +#ifndef EGL_KHR_client_get_all_proc_addresses 1.1182 +#define EGL_KHR_client_get_all_proc_addresses 1 1.1183 + 1.1184 +#define EGLEW_KHR_client_get_all_proc_addresses EGLEW_GET_VAR(__EGLEW_KHR_client_get_all_proc_addresses) 1.1185 + 1.1186 +#endif /* EGL_KHR_client_get_all_proc_addresses */ 1.1187 + 1.1188 +/* ------------------------- EGL_KHR_config_attribs ------------------------ */ 1.1189 + 1.1190 +#ifndef EGL_KHR_config_attribs 1.1191 +#define EGL_KHR_config_attribs 1 1.1192 + 1.1193 +#define EGL_VG_COLORSPACE_LINEAR_BIT_KHR 0x0020 1.1194 +#define EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR 0x0040 1.1195 +#define EGL_CONFORMANT_KHR 0x3042 1.1196 + 1.1197 +#define EGLEW_KHR_config_attribs EGLEW_GET_VAR(__EGLEW_KHR_config_attribs) 1.1198 + 1.1199 +#endif /* EGL_KHR_config_attribs */ 1.1200 + 1.1201 +/* --------------------- EGL_KHR_context_flush_control --------------------- */ 1.1202 + 1.1203 +#ifndef EGL_KHR_context_flush_control 1.1204 +#define EGL_KHR_context_flush_control 1 1.1205 + 1.1206 +#define EGL_CONTEXT_RELEASE_BEHAVIOR_NONE_KHR 0 1.1207 +#define EGL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x2097 1.1208 +#define EGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x2098 1.1209 + 1.1210 +#define EGLEW_KHR_context_flush_control EGLEW_GET_VAR(__EGLEW_KHR_context_flush_control) 1.1211 + 1.1212 +#endif /* EGL_KHR_context_flush_control */ 1.1213 + 1.1214 +/* ------------------------- EGL_KHR_create_context ------------------------ */ 1.1215 + 1.1216 +#ifndef EGL_KHR_create_context 1.1217 +#define EGL_KHR_create_context 1 1.1218 + 1.1219 +#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 1.1220 +#define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001 1.1221 +#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 1.1222 +#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002 1.1223 +#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 1.1224 +#define EGL_OPENGL_ES3_BIT 0x00000040 1.1225 +#define EGL_OPENGL_ES3_BIT_KHR 0x00000040 1.1226 +#define EGL_CONTEXT_MAJOR_VERSION_KHR 0x3098 1.1227 +#define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB 1.1228 +#define EGL_CONTEXT_FLAGS_KHR 0x30FC 1.1229 +#define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD 1.1230 +#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD 1.1231 +#define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE 1.1232 +#define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF 1.1233 + 1.1234 +#define EGLEW_KHR_create_context EGLEW_GET_VAR(__EGLEW_KHR_create_context) 1.1235 + 1.1236 +#endif /* EGL_KHR_create_context */ 1.1237 + 1.1238 +/* -------------------- EGL_KHR_create_context_no_error -------------------- */ 1.1239 + 1.1240 +#ifndef EGL_KHR_create_context_no_error 1.1241 +#define EGL_KHR_create_context_no_error 1 1.1242 + 1.1243 +#define EGL_CONTEXT_OPENGL_NO_ERROR_KHR 0x31B3 1.1244 + 1.1245 +#define EGLEW_KHR_create_context_no_error EGLEW_GET_VAR(__EGLEW_KHR_create_context_no_error) 1.1246 + 1.1247 +#endif /* EGL_KHR_create_context_no_error */ 1.1248 + 1.1249 +/* ----------------------------- EGL_KHR_debug ----------------------------- */ 1.1250 + 1.1251 +#ifndef EGL_KHR_debug 1.1252 +#define EGL_KHR_debug 1 1.1253 + 1.1254 +#define EGL_OBJECT_THREAD_KHR 0x33B0 1.1255 +#define EGL_OBJECT_DISPLAY_KHR 0x33B1 1.1256 +#define EGL_OBJECT_CONTEXT_KHR 0x33B2 1.1257 +#define EGL_OBJECT_SURFACE_KHR 0x33B3 1.1258 +#define EGL_OBJECT_IMAGE_KHR 0x33B4 1.1259 +#define EGL_OBJECT_SYNC_KHR 0x33B5 1.1260 +#define EGL_OBJECT_STREAM_KHR 0x33B6 1.1261 +#define EGL_DEBUG_CALLBACK_KHR 0x33B8 1.1262 +#define EGL_DEBUG_MSG_CRITICAL_KHR 0x33B9 1.1263 +#define EGL_DEBUG_MSG_ERROR_KHR 0x33BA 1.1264 +#define EGL_DEBUG_MSG_WARN_KHR 0x33BB 1.1265 +#define EGL_DEBUG_MSG_INFO_KHR 0x33BC 1.1266 + 1.1267 +typedef EGLint ( * PFNEGLDEBUGMESSAGECONTROLKHRPROC) (EGLDEBUGPROCKHR callback, const EGLAttrib * attrib_list); 1.1268 +typedef EGLint ( * PFNEGLLABELOBJECTKHRPROC) (EGLDisplay display, EGLenum objectType, EGLObjectKHR object, EGLLabelKHR label); 1.1269 +typedef EGLBoolean ( * PFNEGLQUERYDEBUGKHRPROC) (EGLint attribute, EGLAttrib * value); 1.1270 + 1.1271 +#define eglDebugMessageControlKHR EGLEW_GET_FUN(__eglewDebugMessageControlKHR) 1.1272 +#define eglLabelObjectKHR EGLEW_GET_FUN(__eglewLabelObjectKHR) 1.1273 +#define eglQueryDebugKHR EGLEW_GET_FUN(__eglewQueryDebugKHR) 1.1274 + 1.1275 +#define EGLEW_KHR_debug EGLEW_GET_VAR(__EGLEW_KHR_debug) 1.1276 + 1.1277 +#endif /* EGL_KHR_debug */ 1.1278 + 1.1279 +/* --------------------------- EGL_KHR_fence_sync -------------------------- */ 1.1280 + 1.1281 +#ifndef EGL_KHR_fence_sync 1.1282 +#define EGL_KHR_fence_sync 1 1.1283 + 1.1284 +#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0x30F0 1.1285 +#define EGL_SYNC_CONDITION_KHR 0x30F8 1.1286 +#define EGL_SYNC_FENCE_KHR 0x30F9 1.1287 + 1.1288 +#define EGLEW_KHR_fence_sync EGLEW_GET_VAR(__EGLEW_KHR_fence_sync) 1.1289 + 1.1290 +#endif /* EGL_KHR_fence_sync */ 1.1291 + 1.1292 +/* --------------------- EGL_KHR_get_all_proc_addresses -------------------- */ 1.1293 + 1.1294 +#ifndef EGL_KHR_get_all_proc_addresses 1.1295 +#define EGL_KHR_get_all_proc_addresses 1 1.1296 + 1.1297 +#define EGLEW_KHR_get_all_proc_addresses EGLEW_GET_VAR(__EGLEW_KHR_get_all_proc_addresses) 1.1298 + 1.1299 +#endif /* EGL_KHR_get_all_proc_addresses */ 1.1300 + 1.1301 +/* ------------------------- EGL_KHR_gl_colorspace ------------------------- */ 1.1302 + 1.1303 +#ifndef EGL_KHR_gl_colorspace 1.1304 +#define EGL_KHR_gl_colorspace 1 1.1305 + 1.1306 +#define EGL_GL_COLORSPACE_SRGB_KHR 0x3089 1.1307 +#define EGL_GL_COLORSPACE_LINEAR_KHR 0x308A 1.1308 +#define EGL_GL_COLORSPACE_KHR 0x309D 1.1309 + 1.1310 +#define EGLEW_KHR_gl_colorspace EGLEW_GET_VAR(__EGLEW_KHR_gl_colorspace) 1.1311 + 1.1312 +#endif /* EGL_KHR_gl_colorspace */ 1.1313 + 1.1314 +/* --------------------- EGL_KHR_gl_renderbuffer_image --------------------- */ 1.1315 + 1.1316 +#ifndef EGL_KHR_gl_renderbuffer_image 1.1317 +#define EGL_KHR_gl_renderbuffer_image 1 1.1318 + 1.1319 +#define EGL_GL_RENDERBUFFER_KHR 0x30B9 1.1320 + 1.1321 +#define EGLEW_KHR_gl_renderbuffer_image EGLEW_GET_VAR(__EGLEW_KHR_gl_renderbuffer_image) 1.1322 + 1.1323 +#endif /* EGL_KHR_gl_renderbuffer_image */ 1.1324 + 1.1325 +/* ---------------------- EGL_KHR_gl_texture_2D_image ---------------------- */ 1.1326 + 1.1327 +#ifndef EGL_KHR_gl_texture_2D_image 1.1328 +#define EGL_KHR_gl_texture_2D_image 1 1.1329 + 1.1330 +#define EGL_GL_TEXTURE_2D_KHR 0x30B1 1.1331 +#define EGL_GL_TEXTURE_LEVEL_KHR 0x30BC 1.1332 + 1.1333 +#define EGLEW_KHR_gl_texture_2D_image EGLEW_GET_VAR(__EGLEW_KHR_gl_texture_2D_image) 1.1334 + 1.1335 +#endif /* EGL_KHR_gl_texture_2D_image */ 1.1336 + 1.1337 +/* ---------------------- EGL_KHR_gl_texture_3D_image ---------------------- */ 1.1338 + 1.1339 +#ifndef EGL_KHR_gl_texture_3D_image 1.1340 +#define EGL_KHR_gl_texture_3D_image 1 1.1341 + 1.1342 +#define EGL_GL_TEXTURE_3D_KHR 0x30B2 1.1343 +#define EGL_GL_TEXTURE_ZOFFSET_KHR 0x30BD 1.1344 + 1.1345 +#define EGLEW_KHR_gl_texture_3D_image EGLEW_GET_VAR(__EGLEW_KHR_gl_texture_3D_image) 1.1346 + 1.1347 +#endif /* EGL_KHR_gl_texture_3D_image */ 1.1348 + 1.1349 +/* -------------------- EGL_KHR_gl_texture_cubemap_image ------------------- */ 1.1350 + 1.1351 +#ifndef EGL_KHR_gl_texture_cubemap_image 1.1352 +#define EGL_KHR_gl_texture_cubemap_image 1 1.1353 + 1.1354 +#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR 0x30B3 1.1355 +#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR 0x30B4 1.1356 +#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR 0x30B5 1.1357 +#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR 0x30B6 1.1358 +#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR 0x30B7 1.1359 +#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR 0x30B8 1.1360 + 1.1361 +#define EGLEW_KHR_gl_texture_cubemap_image EGLEW_GET_VAR(__EGLEW_KHR_gl_texture_cubemap_image) 1.1362 + 1.1363 +#endif /* EGL_KHR_gl_texture_cubemap_image */ 1.1364 + 1.1365 +/* ----------------------------- EGL_KHR_image ----------------------------- */ 1.1366 + 1.1367 +#ifndef EGL_KHR_image 1.1368 +#define EGL_KHR_image 1 1.1369 + 1.1370 +#define EGL_NATIVE_PIXMAP_KHR 0x30B0 1.1371 + 1.1372 +typedef EGLImageKHR ( * PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint * attrib_list); 1.1373 +typedef EGLBoolean ( * PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); 1.1374 + 1.1375 +#define eglCreateImageKHR EGLEW_GET_FUN(__eglewCreateImageKHR) 1.1376 +#define eglDestroyImageKHR EGLEW_GET_FUN(__eglewDestroyImageKHR) 1.1377 + 1.1378 +#define EGLEW_KHR_image EGLEW_GET_VAR(__EGLEW_KHR_image) 1.1379 + 1.1380 +#endif /* EGL_KHR_image */ 1.1381 + 1.1382 +/* --------------------------- EGL_KHR_image_base -------------------------- */ 1.1383 + 1.1384 +#ifndef EGL_KHR_image_base 1.1385 +#define EGL_KHR_image_base 1 1.1386 + 1.1387 +#define EGL_IMAGE_PRESERVED_KHR 0x30D2 1.1388 + 1.1389 +#define EGLEW_KHR_image_base EGLEW_GET_VAR(__EGLEW_KHR_image_base) 1.1390 + 1.1391 +#endif /* EGL_KHR_image_base */ 1.1392 + 1.1393 +/* -------------------------- EGL_KHR_image_pixmap ------------------------- */ 1.1394 + 1.1395 +#ifndef EGL_KHR_image_pixmap 1.1396 +#define EGL_KHR_image_pixmap 1 1.1397 + 1.1398 +#define EGL_NATIVE_PIXMAP_KHR 0x30B0 1.1399 + 1.1400 +#define EGLEW_KHR_image_pixmap EGLEW_GET_VAR(__EGLEW_KHR_image_pixmap) 1.1401 + 1.1402 +#endif /* EGL_KHR_image_pixmap */ 1.1403 + 1.1404 +/* -------------------------- EGL_KHR_lock_surface ------------------------- */ 1.1405 + 1.1406 +#ifndef EGL_KHR_lock_surface 1.1407 +#define EGL_KHR_lock_surface 1 1.1408 + 1.1409 +#define EGL_READ_SURFACE_BIT_KHR 0x0001 1.1410 +#define EGL_WRITE_SURFACE_BIT_KHR 0x0002 1.1411 +#define EGL_LOCK_SURFACE_BIT_KHR 0x0080 1.1412 +#define EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100 1.1413 +#define EGL_MATCH_FORMAT_KHR 0x3043 1.1414 +#define EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0 1.1415 +#define EGL_FORMAT_RGB_565_KHR 0x30C1 1.1416 +#define EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2 1.1417 +#define EGL_FORMAT_RGBA_8888_KHR 0x30C3 1.1418 +#define EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4 1.1419 +#define EGL_LOCK_USAGE_HINT_KHR 0x30C5 1.1420 +#define EGL_BITMAP_POINTER_KHR 0x30C6 1.1421 +#define EGL_BITMAP_PITCH_KHR 0x30C7 1.1422 +#define EGL_BITMAP_ORIGIN_KHR 0x30C8 1.1423 +#define EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9 1.1424 +#define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA 1.1425 +#define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB 1.1426 +#define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC 1.1427 +#define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD 1.1428 +#define EGL_LOWER_LEFT_KHR 0x30CE 1.1429 +#define EGL_UPPER_LEFT_KHR 0x30CF 1.1430 + 1.1431 +typedef EGLBoolean ( * PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint * attrib_list); 1.1432 +typedef EGLBoolean ( * PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface); 1.1433 + 1.1434 +#define eglLockSurfaceKHR EGLEW_GET_FUN(__eglewLockSurfaceKHR) 1.1435 +#define eglUnlockSurfaceKHR EGLEW_GET_FUN(__eglewUnlockSurfaceKHR) 1.1436 + 1.1437 +#define EGLEW_KHR_lock_surface EGLEW_GET_VAR(__EGLEW_KHR_lock_surface) 1.1438 + 1.1439 +#endif /* EGL_KHR_lock_surface */ 1.1440 + 1.1441 +/* ------------------------- EGL_KHR_lock_surface2 ------------------------- */ 1.1442 + 1.1443 +#ifndef EGL_KHR_lock_surface2 1.1444 +#define EGL_KHR_lock_surface2 1 1.1445 + 1.1446 +#define EGL_BITMAP_PIXEL_SIZE_KHR 0x3110 1.1447 + 1.1448 +#define EGLEW_KHR_lock_surface2 EGLEW_GET_VAR(__EGLEW_KHR_lock_surface2) 1.1449 + 1.1450 +#endif /* EGL_KHR_lock_surface2 */ 1.1451 + 1.1452 +/* ------------------------- EGL_KHR_lock_surface3 ------------------------- */ 1.1453 + 1.1454 +#ifndef EGL_KHR_lock_surface3 1.1455 +#define EGL_KHR_lock_surface3 1 1.1456 + 1.1457 +#define EGL_READ_SURFACE_BIT_KHR 0x0001 1.1458 +#define EGL_WRITE_SURFACE_BIT_KHR 0x0002 1.1459 +#define EGL_LOCK_SURFACE_BIT_KHR 0x0080 1.1460 +#define EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100 1.1461 +#define EGL_MATCH_FORMAT_KHR 0x3043 1.1462 +#define EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0 1.1463 +#define EGL_FORMAT_RGB_565_KHR 0x30C1 1.1464 +#define EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2 1.1465 +#define EGL_FORMAT_RGBA_8888_KHR 0x30C3 1.1466 +#define EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4 1.1467 +#define EGL_LOCK_USAGE_HINT_KHR 0x30C5 1.1468 +#define EGL_BITMAP_POINTER_KHR 0x30C6 1.1469 +#define EGL_BITMAP_PITCH_KHR 0x30C7 1.1470 +#define EGL_BITMAP_ORIGIN_KHR 0x30C8 1.1471 +#define EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9 1.1472 +#define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA 1.1473 +#define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB 1.1474 +#define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC 1.1475 +#define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD 1.1476 +#define EGL_LOWER_LEFT_KHR 0x30CE 1.1477 +#define EGL_UPPER_LEFT_KHR 0x30CF 1.1478 +#define EGL_BITMAP_PIXEL_SIZE_KHR 0x3110 1.1479 + 1.1480 +typedef EGLBoolean ( * PFNEGLQUERYSURFACE64KHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR * value); 1.1481 + 1.1482 +#define eglQuerySurface64KHR EGLEW_GET_FUN(__eglewQuerySurface64KHR) 1.1483 + 1.1484 +#define EGLEW_KHR_lock_surface3 EGLEW_GET_VAR(__EGLEW_KHR_lock_surface3) 1.1485 + 1.1486 +#endif /* EGL_KHR_lock_surface3 */ 1.1487 + 1.1488 +/* --------------------- EGL_KHR_mutable_render_buffer --------------------- */ 1.1489 + 1.1490 +#ifndef EGL_KHR_mutable_render_buffer 1.1491 +#define EGL_KHR_mutable_render_buffer 1 1.1492 + 1.1493 +#define EGL_MUTABLE_RENDER_BUFFER_BIT_KHR 0x1000 1.1494 + 1.1495 +#define EGLEW_KHR_mutable_render_buffer EGLEW_GET_VAR(__EGLEW_KHR_mutable_render_buffer) 1.1496 + 1.1497 +#endif /* EGL_KHR_mutable_render_buffer */ 1.1498 + 1.1499 +/* ----------------------- EGL_KHR_no_config_context ----------------------- */ 1.1500 + 1.1501 +#ifndef EGL_KHR_no_config_context 1.1502 +#define EGL_KHR_no_config_context 1 1.1503 + 1.1504 +#define EGLEW_KHR_no_config_context EGLEW_GET_VAR(__EGLEW_KHR_no_config_context) 1.1505 + 1.1506 +#endif /* EGL_KHR_no_config_context */ 1.1507 + 1.1508 +/* ------------------------- EGL_KHR_partial_update ------------------------ */ 1.1509 + 1.1510 +#ifndef EGL_KHR_partial_update 1.1511 +#define EGL_KHR_partial_update 1 1.1512 + 1.1513 +#define EGL_BUFFER_AGE_KHR 0x313D 1.1514 + 1.1515 +typedef EGLBoolean ( * PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects); 1.1516 + 1.1517 +#define eglSetDamageRegionKHR EGLEW_GET_FUN(__eglewSetDamageRegionKHR) 1.1518 + 1.1519 +#define EGLEW_KHR_partial_update EGLEW_GET_VAR(__EGLEW_KHR_partial_update) 1.1520 + 1.1521 +#endif /* EGL_KHR_partial_update */ 1.1522 + 1.1523 +/* ------------------------ EGL_KHR_platform_android ----------------------- */ 1.1524 + 1.1525 +#ifndef EGL_KHR_platform_android 1.1526 +#define EGL_KHR_platform_android 1 1.1527 + 1.1528 +#define EGL_PLATFORM_ANDROID_KHR 0x3141 1.1529 + 1.1530 +#define EGLEW_KHR_platform_android EGLEW_GET_VAR(__EGLEW_KHR_platform_android) 1.1531 + 1.1532 +#endif /* EGL_KHR_platform_android */ 1.1533 + 1.1534 +/* -------------------------- EGL_KHR_platform_gbm ------------------------- */ 1.1535 + 1.1536 +#ifndef EGL_KHR_platform_gbm 1.1537 +#define EGL_KHR_platform_gbm 1 1.1538 + 1.1539 +#define EGL_PLATFORM_GBM_KHR 0x31D7 1.1540 + 1.1541 +#define EGLEW_KHR_platform_gbm EGLEW_GET_VAR(__EGLEW_KHR_platform_gbm) 1.1542 + 1.1543 +#endif /* EGL_KHR_platform_gbm */ 1.1544 + 1.1545 +/* ------------------------ EGL_KHR_platform_wayland ----------------------- */ 1.1546 + 1.1547 +#ifndef EGL_KHR_platform_wayland 1.1548 +#define EGL_KHR_platform_wayland 1 1.1549 + 1.1550 +#define EGL_PLATFORM_WAYLAND_KHR 0x31D8 1.1551 + 1.1552 +#define EGLEW_KHR_platform_wayland EGLEW_GET_VAR(__EGLEW_KHR_platform_wayland) 1.1553 + 1.1554 +#endif /* EGL_KHR_platform_wayland */ 1.1555 + 1.1556 +/* -------------------------- EGL_KHR_platform_x11 ------------------------- */ 1.1557 + 1.1558 +#ifndef EGL_KHR_platform_x11 1.1559 +#define EGL_KHR_platform_x11 1 1.1560 + 1.1561 +#define EGL_PLATFORM_X11_KHR 0x31D5 1.1562 +#define EGL_PLATFORM_X11_SCREEN_KHR 0x31D6 1.1563 + 1.1564 +#define EGLEW_KHR_platform_x11 EGLEW_GET_VAR(__EGLEW_KHR_platform_x11) 1.1565 + 1.1566 +#endif /* EGL_KHR_platform_x11 */ 1.1567 + 1.1568 +/* ------------------------- EGL_KHR_reusable_sync ------------------------- */ 1.1569 + 1.1570 +#ifndef EGL_KHR_reusable_sync 1.1571 +#define EGL_KHR_reusable_sync 1 1.1572 + 1.1573 +#define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001 1.1574 +#define EGL_SYNC_STATUS_KHR 0x30F1 1.1575 +#define EGL_SIGNALED_KHR 0x30F2 1.1576 +#define EGL_UNSIGNALED_KHR 0x30F3 1.1577 +#define EGL_TIMEOUT_EXPIRED_KHR 0x30F5 1.1578 +#define EGL_CONDITION_SATISFIED_KHR 0x30F6 1.1579 +#define EGL_SYNC_TYPE_KHR 0x30F7 1.1580 +#define EGL_SYNC_REUSABLE_KHR 0x30FA 1.1581 +#define EGL_FOREVER_KHR 0xFFFFFFFFFFFFFFFF 1.1582 + 1.1583 +typedef EGLint ( * PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); 1.1584 +typedef EGLSyncKHR ( * PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint * attrib_list); 1.1585 +typedef EGLBoolean ( * PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync); 1.1586 +typedef EGLBoolean ( * PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint * value); 1.1587 +typedef EGLBoolean ( * PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); 1.1588 + 1.1589 +#define eglClientWaitSyncKHR EGLEW_GET_FUN(__eglewClientWaitSyncKHR) 1.1590 +#define eglCreateSyncKHR EGLEW_GET_FUN(__eglewCreateSyncKHR) 1.1591 +#define eglDestroySyncKHR EGLEW_GET_FUN(__eglewDestroySyncKHR) 1.1592 +#define eglGetSyncAttribKHR EGLEW_GET_FUN(__eglewGetSyncAttribKHR) 1.1593 +#define eglSignalSyncKHR EGLEW_GET_FUN(__eglewSignalSyncKHR) 1.1594 + 1.1595 +#define EGLEW_KHR_reusable_sync EGLEW_GET_VAR(__EGLEW_KHR_reusable_sync) 1.1596 + 1.1597 +#endif /* EGL_KHR_reusable_sync */ 1.1598 + 1.1599 +/* ----------------------------- EGL_KHR_stream ---------------------------- */ 1.1600 + 1.1601 +#ifndef EGL_KHR_stream 1.1602 +#define EGL_KHR_stream 1 1.1603 + 1.1604 +#define EGL_CONSUMER_LATENCY_USEC_KHR 0x3210 1.1605 +#define EGL_PRODUCER_FRAME_KHR 0x3212 1.1606 +#define EGL_CONSUMER_FRAME_KHR 0x3213 1.1607 +#define EGL_STREAM_STATE_KHR 0x3214 1.1608 +#define EGL_STREAM_STATE_CREATED_KHR 0x3215 1.1609 +#define EGL_STREAM_STATE_CONNECTING_KHR 0x3216 1.1610 +#define EGL_STREAM_STATE_EMPTY_KHR 0x3217 1.1611 +#define EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR 0x3218 1.1612 +#define EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR 0x3219 1.1613 +#define EGL_STREAM_STATE_DISCONNECTED_KHR 0x321A 1.1614 +#define EGL_BAD_STREAM_KHR 0x321B 1.1615 +#define EGL_BAD_STATE_KHR 0x321C 1.1616 + 1.1617 +typedef EGLStreamKHR ( * PFNEGLCREATESTREAMKHRPROC) (EGLDisplay dpy, const EGLint * attrib_list); 1.1618 +typedef EGLBoolean ( * PFNEGLDESTROYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); 1.1619 +typedef EGLBoolean ( * PFNEGLQUERYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint * value); 1.1620 +typedef EGLBoolean ( * PFNEGLQUERYSTREAMU64KHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR * value); 1.1621 +typedef EGLBoolean ( * PFNEGLSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value); 1.1622 + 1.1623 +#define eglCreateStreamKHR EGLEW_GET_FUN(__eglewCreateStreamKHR) 1.1624 +#define eglDestroyStreamKHR EGLEW_GET_FUN(__eglewDestroyStreamKHR) 1.1625 +#define eglQueryStreamKHR EGLEW_GET_FUN(__eglewQueryStreamKHR) 1.1626 +#define eglQueryStreamu64KHR EGLEW_GET_FUN(__eglewQueryStreamu64KHR) 1.1627 +#define eglStreamAttribKHR EGLEW_GET_FUN(__eglewStreamAttribKHR) 1.1628 + 1.1629 +#define EGLEW_KHR_stream EGLEW_GET_VAR(__EGLEW_KHR_stream) 1.1630 + 1.1631 +#endif /* EGL_KHR_stream */ 1.1632 + 1.1633 +/* ------------------------- EGL_KHR_stream_attrib ------------------------- */ 1.1634 + 1.1635 +#ifndef EGL_KHR_stream_attrib 1.1636 +#define EGL_KHR_stream_attrib 1 1.1637 + 1.1638 +#define EGL_CONSUMER_LATENCY_USEC_KHR 0x3210 1.1639 +#define EGL_STREAM_STATE_KHR 0x3214 1.1640 +#define EGL_STREAM_STATE_CREATED_KHR 0x3215 1.1641 +#define EGL_STREAM_STATE_CONNECTING_KHR 0x3216 1.1642 + 1.1643 +typedef EGLStreamKHR ( * PFNEGLCREATESTREAMATTRIBKHRPROC) (EGLDisplay dpy, const EGLAttrib * attrib_list); 1.1644 +typedef EGLBoolean ( * PFNEGLQUERYSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib * value); 1.1645 +typedef EGLBoolean ( * PFNEGLSETSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib value); 1.1646 +typedef EGLBoolean ( * PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib * attrib_list); 1.1647 +typedef EGLBoolean ( * PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib * attrib_list); 1.1648 + 1.1649 +#define eglCreateStreamAttribKHR EGLEW_GET_FUN(__eglewCreateStreamAttribKHR) 1.1650 +#define eglQueryStreamAttribKHR EGLEW_GET_FUN(__eglewQueryStreamAttribKHR) 1.1651 +#define eglSetStreamAttribKHR EGLEW_GET_FUN(__eglewSetStreamAttribKHR) 1.1652 +#define eglStreamConsumerAcquireAttribKHR EGLEW_GET_FUN(__eglewStreamConsumerAcquireAttribKHR) 1.1653 +#define eglStreamConsumerReleaseAttribKHR EGLEW_GET_FUN(__eglewStreamConsumerReleaseAttribKHR) 1.1654 + 1.1655 +#define EGLEW_KHR_stream_attrib EGLEW_GET_VAR(__EGLEW_KHR_stream_attrib) 1.1656 + 1.1657 +#endif /* EGL_KHR_stream_attrib */ 1.1658 + 1.1659 +/* ------------------- EGL_KHR_stream_consumer_gltexture ------------------- */ 1.1660 + 1.1661 +#ifndef EGL_KHR_stream_consumer_gltexture 1.1662 +#define EGL_KHR_stream_consumer_gltexture 1 1.1663 + 1.1664 +#define EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR 0x321E 1.1665 + 1.1666 +typedef EGLBoolean ( * PFNEGLSTREAMCONSUMERACQUIREKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); 1.1667 +typedef EGLBoolean ( * PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); 1.1668 +typedef EGLBoolean ( * PFNEGLSTREAMCONSUMERRELEASEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); 1.1669 + 1.1670 +#define eglStreamConsumerAcquireKHR EGLEW_GET_FUN(__eglewStreamConsumerAcquireKHR) 1.1671 +#define eglStreamConsumerGLTextureExternalKHR EGLEW_GET_FUN(__eglewStreamConsumerGLTextureExternalKHR) 1.1672 +#define eglStreamConsumerReleaseKHR EGLEW_GET_FUN(__eglewStreamConsumerReleaseKHR) 1.1673 + 1.1674 +#define EGLEW_KHR_stream_consumer_gltexture EGLEW_GET_VAR(__EGLEW_KHR_stream_consumer_gltexture) 1.1675 + 1.1676 +#endif /* EGL_KHR_stream_consumer_gltexture */ 1.1677 + 1.1678 +/* -------------------- EGL_KHR_stream_cross_process_fd -------------------- */ 1.1679 + 1.1680 +#ifndef EGL_KHR_stream_cross_process_fd 1.1681 +#define EGL_KHR_stream_cross_process_fd 1 1.1682 + 1.1683 +typedef EGLStreamKHR ( * PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); 1.1684 +typedef EGLNativeFileDescriptorKHR ( * PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); 1.1685 + 1.1686 +#define eglCreateStreamFromFileDescriptorKHR EGLEW_GET_FUN(__eglewCreateStreamFromFileDescriptorKHR) 1.1687 +#define eglGetStreamFileDescriptorKHR EGLEW_GET_FUN(__eglewGetStreamFileDescriptorKHR) 1.1688 + 1.1689 +#define EGLEW_KHR_stream_cross_process_fd EGLEW_GET_VAR(__EGLEW_KHR_stream_cross_process_fd) 1.1690 + 1.1691 +#endif /* EGL_KHR_stream_cross_process_fd */ 1.1692 + 1.1693 +/* -------------------------- EGL_KHR_stream_fifo -------------------------- */ 1.1694 + 1.1695 +#ifndef EGL_KHR_stream_fifo 1.1696 +#define EGL_KHR_stream_fifo 1 1.1697 + 1.1698 +#define EGL_STREAM_FIFO_LENGTH_KHR 0x31FC 1.1699 +#define EGL_STREAM_TIME_NOW_KHR 0x31FD 1.1700 +#define EGL_STREAM_TIME_CONSUMER_KHR 0x31FE 1.1701 +#define EGL_STREAM_TIME_PRODUCER_KHR 0x31FF 1.1702 + 1.1703 +typedef EGLBoolean ( * PFNEGLQUERYSTREAMTIMEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR * value); 1.1704 + 1.1705 +#define eglQueryStreamTimeKHR EGLEW_GET_FUN(__eglewQueryStreamTimeKHR) 1.1706 + 1.1707 +#define EGLEW_KHR_stream_fifo EGLEW_GET_VAR(__EGLEW_KHR_stream_fifo) 1.1708 + 1.1709 +#endif /* EGL_KHR_stream_fifo */ 1.1710 + 1.1711 +/* ----------------- EGL_KHR_stream_producer_aldatalocator ----------------- */ 1.1712 + 1.1713 +#ifndef EGL_KHR_stream_producer_aldatalocator 1.1714 +#define EGL_KHR_stream_producer_aldatalocator 1 1.1715 + 1.1716 +#define EGLEW_KHR_stream_producer_aldatalocator EGLEW_GET_VAR(__EGLEW_KHR_stream_producer_aldatalocator) 1.1717 + 1.1718 +#endif /* EGL_KHR_stream_producer_aldatalocator */ 1.1719 + 1.1720 +/* ------------------- EGL_KHR_stream_producer_eglsurface ------------------ */ 1.1721 + 1.1722 +#ifndef EGL_KHR_stream_producer_eglsurface 1.1723 +#define EGL_KHR_stream_producer_eglsurface 1 1.1724 + 1.1725 +#define EGL_STREAM_BIT_KHR 0x0800 1.1726 + 1.1727 +typedef EGLSurface ( * PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC) (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint * attrib_list); 1.1728 + 1.1729 +#define eglCreateStreamProducerSurfaceKHR EGLEW_GET_FUN(__eglewCreateStreamProducerSurfaceKHR) 1.1730 + 1.1731 +#define EGLEW_KHR_stream_producer_eglsurface EGLEW_GET_VAR(__EGLEW_KHR_stream_producer_eglsurface) 1.1732 + 1.1733 +#endif /* EGL_KHR_stream_producer_eglsurface */ 1.1734 + 1.1735 +/* ---------------------- EGL_KHR_surfaceless_context ---------------------- */ 1.1736 + 1.1737 +#ifndef EGL_KHR_surfaceless_context 1.1738 +#define EGL_KHR_surfaceless_context 1 1.1739 + 1.1740 +#define EGLEW_KHR_surfaceless_context EGLEW_GET_VAR(__EGLEW_KHR_surfaceless_context) 1.1741 + 1.1742 +#endif /* EGL_KHR_surfaceless_context */ 1.1743 + 1.1744 +/* -------------------- EGL_KHR_swap_buffers_with_damage ------------------- */ 1.1745 + 1.1746 +#ifndef EGL_KHR_swap_buffers_with_damage 1.1747 +#define EGL_KHR_swap_buffers_with_damage 1 1.1748 + 1.1749 +typedef EGLBoolean ( * PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects); 1.1750 + 1.1751 +#define eglSwapBuffersWithDamageKHR EGLEW_GET_FUN(__eglewSwapBuffersWithDamageKHR) 1.1752 + 1.1753 +#define EGLEW_KHR_swap_buffers_with_damage EGLEW_GET_VAR(__EGLEW_KHR_swap_buffers_with_damage) 1.1754 + 1.1755 +#endif /* EGL_KHR_swap_buffers_with_damage */ 1.1756 + 1.1757 +/* ------------------------ EGL_KHR_vg_parent_image ------------------------ */ 1.1758 + 1.1759 +#ifndef EGL_KHR_vg_parent_image 1.1760 +#define EGL_KHR_vg_parent_image 1 1.1761 + 1.1762 +#define EGL_VG_PARENT_IMAGE_KHR 0x30BA 1.1763 + 1.1764 +#define EGLEW_KHR_vg_parent_image EGLEW_GET_VAR(__EGLEW_KHR_vg_parent_image) 1.1765 + 1.1766 +#endif /* EGL_KHR_vg_parent_image */ 1.1767 + 1.1768 +/* --------------------------- EGL_KHR_wait_sync --------------------------- */ 1.1769 + 1.1770 +#ifndef EGL_KHR_wait_sync 1.1771 +#define EGL_KHR_wait_sync 1 1.1772 + 1.1773 +typedef EGLint ( * PFNEGLWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); 1.1774 + 1.1775 +#define eglWaitSyncKHR EGLEW_GET_FUN(__eglewWaitSyncKHR) 1.1776 + 1.1777 +#define EGLEW_KHR_wait_sync EGLEW_GET_VAR(__EGLEW_KHR_wait_sync) 1.1778 + 1.1779 +#endif /* EGL_KHR_wait_sync */ 1.1780 + 1.1781 +/* --------------------------- EGL_MESA_drm_image -------------------------- */ 1.1782 + 1.1783 +#ifndef EGL_MESA_drm_image 1.1784 +#define EGL_MESA_drm_image 1 1.1785 + 1.1786 +#define EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x00000001 1.1787 +#define EGL_DRM_BUFFER_USE_SHARE_MESA 0x00000002 1.1788 +#define EGL_DRM_BUFFER_FORMAT_MESA 0x31D0 1.1789 +#define EGL_DRM_BUFFER_USE_MESA 0x31D1 1.1790 +#define EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2 1.1791 +#define EGL_DRM_BUFFER_MESA 0x31D3 1.1792 +#define EGL_DRM_BUFFER_STRIDE_MESA 0x31D4 1.1793 + 1.1794 +typedef EGLImageKHR ( * PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay dpy, const EGLint * attrib_list); 1.1795 +typedef EGLBoolean ( * PFNEGLEXPORTDRMIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, EGLint * name, EGLint * handle, EGLint * stride); 1.1796 + 1.1797 +#define eglCreateDRMImageMESA EGLEW_GET_FUN(__eglewCreateDRMImageMESA) 1.1798 +#define eglExportDRMImageMESA EGLEW_GET_FUN(__eglewExportDRMImageMESA) 1.1799 + 1.1800 +#define EGLEW_MESA_drm_image EGLEW_GET_VAR(__EGLEW_MESA_drm_image) 1.1801 + 1.1802 +#endif /* EGL_MESA_drm_image */ 1.1803 + 1.1804 +/* --------------------- EGL_MESA_image_dma_buf_export --------------------- */ 1.1805 + 1.1806 +#ifndef EGL_MESA_image_dma_buf_export 1.1807 +#define EGL_MESA_image_dma_buf_export 1 1.1808 + 1.1809 +typedef EGLBoolean ( * PFNEGLEXPORTDMABUFIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int * fds, EGLint * strides, EGLint * offsets); 1.1810 +typedef EGLBoolean ( * PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int * fourcc, int * num_planes, EGLuint64KHR * modifiers); 1.1811 + 1.1812 +#define eglExportDMABUFImageMESA EGLEW_GET_FUN(__eglewExportDMABUFImageMESA) 1.1813 +#define eglExportDMABUFImageQueryMESA EGLEW_GET_FUN(__eglewExportDMABUFImageQueryMESA) 1.1814 + 1.1815 +#define EGLEW_MESA_image_dma_buf_export EGLEW_GET_VAR(__EGLEW_MESA_image_dma_buf_export) 1.1816 + 1.1817 +#endif /* EGL_MESA_image_dma_buf_export */ 1.1818 + 1.1819 +/* ------------------------- EGL_MESA_platform_gbm ------------------------- */ 1.1820 + 1.1821 +#ifndef EGL_MESA_platform_gbm 1.1822 +#define EGL_MESA_platform_gbm 1 1.1823 + 1.1824 +#define EGL_PLATFORM_GBM_MESA 0x31D7 1.1825 + 1.1826 +#define EGLEW_MESA_platform_gbm EGLEW_GET_VAR(__EGLEW_MESA_platform_gbm) 1.1827 + 1.1828 +#endif /* EGL_MESA_platform_gbm */ 1.1829 + 1.1830 +/* --------------------- EGL_MESA_platform_surfaceless --------------------- */ 1.1831 + 1.1832 +#ifndef EGL_MESA_platform_surfaceless 1.1833 +#define EGL_MESA_platform_surfaceless 1 1.1834 + 1.1835 +#define EGL_PLATFORM_SURFACELESS_MESA 0x31DD 1.1836 + 1.1837 +#define EGLEW_MESA_platform_surfaceless EGLEW_GET_VAR(__EGLEW_MESA_platform_surfaceless) 1.1838 + 1.1839 +#endif /* EGL_MESA_platform_surfaceless */ 1.1840 + 1.1841 +/* -------------------------- EGL_NOK_swap_region -------------------------- */ 1.1842 + 1.1843 +#ifndef EGL_NOK_swap_region 1.1844 +#define EGL_NOK_swap_region 1 1.1845 + 1.1846 +typedef EGLBoolean ( * PFNEGLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint * rects); 1.1847 + 1.1848 +#define eglSwapBuffersRegionNOK EGLEW_GET_FUN(__eglewSwapBuffersRegionNOK) 1.1849 + 1.1850 +#define EGLEW_NOK_swap_region EGLEW_GET_VAR(__EGLEW_NOK_swap_region) 1.1851 + 1.1852 +#endif /* EGL_NOK_swap_region */ 1.1853 + 1.1854 +/* -------------------------- EGL_NOK_swap_region2 ------------------------- */ 1.1855 + 1.1856 +#ifndef EGL_NOK_swap_region2 1.1857 +#define EGL_NOK_swap_region2 1 1.1858 + 1.1859 +typedef EGLBoolean ( * PFNEGLSWAPBUFFERSREGION2NOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint * rects); 1.1860 + 1.1861 +#define eglSwapBuffersRegion2NOK EGLEW_GET_FUN(__eglewSwapBuffersRegion2NOK) 1.1862 + 1.1863 +#define EGLEW_NOK_swap_region2 EGLEW_GET_VAR(__EGLEW_NOK_swap_region2) 1.1864 + 1.1865 +#endif /* EGL_NOK_swap_region2 */ 1.1866 + 1.1867 +/* ---------------------- EGL_NOK_texture_from_pixmap ---------------------- */ 1.1868 + 1.1869 +#ifndef EGL_NOK_texture_from_pixmap 1.1870 +#define EGL_NOK_texture_from_pixmap 1 1.1871 + 1.1872 +#define EGL_Y_INVERTED_NOK 0x307F 1.1873 + 1.1874 +#define EGLEW_NOK_texture_from_pixmap EGLEW_GET_VAR(__EGLEW_NOK_texture_from_pixmap) 1.1875 + 1.1876 +#endif /* EGL_NOK_texture_from_pixmap */ 1.1877 + 1.1878 +/* ------------------------ EGL_NV_3dvision_surface ------------------------ */ 1.1879 + 1.1880 +#ifndef EGL_NV_3dvision_surface 1.1881 +#define EGL_NV_3dvision_surface 1 1.1882 + 1.1883 +#define EGL_AUTO_STEREO_NV 0x3136 1.1884 + 1.1885 +#define EGLEW_NV_3dvision_surface EGLEW_GET_VAR(__EGLEW_NV_3dvision_surface) 1.1886 + 1.1887 +#endif /* EGL_NV_3dvision_surface */ 1.1888 + 1.1889 +/* ------------------------- EGL_NV_coverage_sample ------------------------ */ 1.1890 + 1.1891 +#ifndef EGL_NV_coverage_sample 1.1892 +#define EGL_NV_coverage_sample 1 1.1893 + 1.1894 +#define EGL_COVERAGE_BUFFERS_NV 0x30E0 1.1895 +#define EGL_COVERAGE_SAMPLES_NV 0x30E1 1.1896 + 1.1897 +#define EGLEW_NV_coverage_sample EGLEW_GET_VAR(__EGLEW_NV_coverage_sample) 1.1898 + 1.1899 +#endif /* EGL_NV_coverage_sample */ 1.1900 + 1.1901 +/* --------------------- EGL_NV_coverage_sample_resolve -------------------- */ 1.1902 + 1.1903 +#ifndef EGL_NV_coverage_sample_resolve 1.1904 +#define EGL_NV_coverage_sample_resolve 1 1.1905 + 1.1906 +#define EGL_COVERAGE_SAMPLE_RESOLVE_NV 0x3131 1.1907 +#define EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV 0x3132 1.1908 +#define EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV 0x3133 1.1909 + 1.1910 +#define EGLEW_NV_coverage_sample_resolve EGLEW_GET_VAR(__EGLEW_NV_coverage_sample_resolve) 1.1911 + 1.1912 +#endif /* EGL_NV_coverage_sample_resolve */ 1.1913 + 1.1914 +/* --------------------------- EGL_NV_cuda_event --------------------------- */ 1.1915 + 1.1916 +#ifndef EGL_NV_cuda_event 1.1917 +#define EGL_NV_cuda_event 1 1.1918 + 1.1919 +#define EGL_CUDA_EVENT_HANDLE_NV 0x323B 1.1920 +#define EGL_SYNC_CUDA_EVENT_NV 0x323C 1.1921 +#define EGL_SYNC_CUDA_EVENT_COMPLETE_NV 0x323D 1.1922 + 1.1923 +#define EGLEW_NV_cuda_event EGLEW_GET_VAR(__EGLEW_NV_cuda_event) 1.1924 + 1.1925 +#endif /* EGL_NV_cuda_event */ 1.1926 + 1.1927 +/* ------------------------- EGL_NV_depth_nonlinear ------------------------ */ 1.1928 + 1.1929 +#ifndef EGL_NV_depth_nonlinear 1.1930 +#define EGL_NV_depth_nonlinear 1 1.1931 + 1.1932 +#define EGL_DEPTH_ENCODING_NONE_NV 0 1.1933 +#define EGL_DEPTH_ENCODING_NV 0x30E2 1.1934 +#define EGL_DEPTH_ENCODING_NONLINEAR_NV 0x30E3 1.1935 + 1.1936 +#define EGLEW_NV_depth_nonlinear EGLEW_GET_VAR(__EGLEW_NV_depth_nonlinear) 1.1937 + 1.1938 +#endif /* EGL_NV_depth_nonlinear */ 1.1939 + 1.1940 +/* --------------------------- EGL_NV_device_cuda -------------------------- */ 1.1941 + 1.1942 +#ifndef EGL_NV_device_cuda 1.1943 +#define EGL_NV_device_cuda 1 1.1944 + 1.1945 +#define EGL_CUDA_DEVICE_NV 0x323A 1.1946 + 1.1947 +#define EGLEW_NV_device_cuda EGLEW_GET_VAR(__EGLEW_NV_device_cuda) 1.1948 + 1.1949 +#endif /* EGL_NV_device_cuda */ 1.1950 + 1.1951 +/* -------------------------- EGL_NV_native_query -------------------------- */ 1.1952 + 1.1953 +#ifndef EGL_NV_native_query 1.1954 +#define EGL_NV_native_query 1 1.1955 + 1.1956 +typedef EGLBoolean ( * PFNEGLQUERYNATIVEDISPLAYNVPROC) (EGLDisplay dpy, EGLNativeDisplayType * display_id); 1.1957 +typedef EGLBoolean ( * PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType * pixmap); 1.1958 +typedef EGLBoolean ( * PFNEGLQUERYNATIVEWINDOWNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType * window); 1.1959 + 1.1960 +#define eglQueryNativeDisplayNV EGLEW_GET_FUN(__eglewQueryNativeDisplayNV) 1.1961 +#define eglQueryNativePixmapNV EGLEW_GET_FUN(__eglewQueryNativePixmapNV) 1.1962 +#define eglQueryNativeWindowNV EGLEW_GET_FUN(__eglewQueryNativeWindowNV) 1.1963 + 1.1964 +#define EGLEW_NV_native_query EGLEW_GET_VAR(__EGLEW_NV_native_query) 1.1965 + 1.1966 +#endif /* EGL_NV_native_query */ 1.1967 + 1.1968 +/* ---------------------- EGL_NV_post_convert_rounding --------------------- */ 1.1969 + 1.1970 +#ifndef EGL_NV_post_convert_rounding 1.1971 +#define EGL_NV_post_convert_rounding 1 1.1972 + 1.1973 +#define EGLEW_NV_post_convert_rounding EGLEW_GET_VAR(__EGLEW_NV_post_convert_rounding) 1.1974 + 1.1975 +#endif /* EGL_NV_post_convert_rounding */ 1.1976 + 1.1977 +/* ------------------------- EGL_NV_post_sub_buffer ------------------------ */ 1.1978 + 1.1979 +#ifndef EGL_NV_post_sub_buffer 1.1980 +#define EGL_NV_post_sub_buffer 1 1.1981 + 1.1982 +#define EGL_POST_SUB_BUFFER_SUPPORTED_NV 0x30BE 1.1983 + 1.1984 +typedef EGLBoolean ( * PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); 1.1985 + 1.1986 +#define eglPostSubBufferNV EGLEW_GET_FUN(__eglewPostSubBufferNV) 1.1987 + 1.1988 +#define EGLEW_NV_post_sub_buffer EGLEW_GET_VAR(__EGLEW_NV_post_sub_buffer) 1.1989 + 1.1990 +#endif /* EGL_NV_post_sub_buffer */ 1.1991 + 1.1992 +/* ------------------ EGL_NV_robustness_video_memory_purge ----------------- */ 1.1993 + 1.1994 +#ifndef EGL_NV_robustness_video_memory_purge 1.1995 +#define EGL_NV_robustness_video_memory_purge 1 1.1996 + 1.1997 +#define EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV 0x334C 1.1998 + 1.1999 +#define EGLEW_NV_robustness_video_memory_purge EGLEW_GET_VAR(__EGLEW_NV_robustness_video_memory_purge) 1.2000 + 1.2001 +#endif /* EGL_NV_robustness_video_memory_purge */ 1.2002 + 1.2003 +/* ------------------ EGL_NV_stream_consumer_gltexture_yuv ----------------- */ 1.2004 + 1.2005 +#ifndef EGL_NV_stream_consumer_gltexture_yuv 1.2006 +#define EGL_NV_stream_consumer_gltexture_yuv 1 1.2007 + 1.2008 +#define EGL_YUV_BUFFER_EXT 0x3300 1.2009 +#define EGL_YUV_NUMBER_OF_PLANES_EXT 0x3311 1.2010 +#define EGL_YUV_PLANE0_TEXTURE_UNIT_NV 0x332C 1.2011 +#define EGL_YUV_PLANE1_TEXTURE_UNIT_NV 0x332D 1.2012 +#define EGL_YUV_PLANE2_TEXTURE_UNIT_NV 0x332E 1.2013 + 1.2014 +typedef EGLBoolean ( * PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLAttrib *attrib_list); 1.2015 + 1.2016 +#define eglStreamConsumerGLTextureExternalAttribsNV EGLEW_GET_FUN(__eglewStreamConsumerGLTextureExternalAttribsNV) 1.2017 + 1.2018 +#define EGLEW_NV_stream_consumer_gltexture_yuv EGLEW_GET_VAR(__EGLEW_NV_stream_consumer_gltexture_yuv) 1.2019 + 1.2020 +#endif /* EGL_NV_stream_consumer_gltexture_yuv */ 1.2021 + 1.2022 +/* ---------------------- EGL_NV_stream_cross_display ---------------------- */ 1.2023 + 1.2024 +#ifndef EGL_NV_stream_cross_display 1.2025 +#define EGL_NV_stream_cross_display 1 1.2026 + 1.2027 +#define EGL_STREAM_CROSS_DISPLAY_NV 0x334E 1.2028 + 1.2029 +#define EGLEW_NV_stream_cross_display EGLEW_GET_VAR(__EGLEW_NV_stream_cross_display) 1.2030 + 1.2031 +#endif /* EGL_NV_stream_cross_display */ 1.2032 + 1.2033 +/* ----------------------- EGL_NV_stream_cross_object ---------------------- */ 1.2034 + 1.2035 +#ifndef EGL_NV_stream_cross_object 1.2036 +#define EGL_NV_stream_cross_object 1 1.2037 + 1.2038 +#define EGL_STREAM_CROSS_OBJECT_NV 0x334D 1.2039 + 1.2040 +#define EGLEW_NV_stream_cross_object EGLEW_GET_VAR(__EGLEW_NV_stream_cross_object) 1.2041 + 1.2042 +#endif /* EGL_NV_stream_cross_object */ 1.2043 + 1.2044 +/* --------------------- EGL_NV_stream_cross_partition --------------------- */ 1.2045 + 1.2046 +#ifndef EGL_NV_stream_cross_partition 1.2047 +#define EGL_NV_stream_cross_partition 1 1.2048 + 1.2049 +#define EGL_STREAM_CROSS_PARTITION_NV 0x323F 1.2050 + 1.2051 +#define EGLEW_NV_stream_cross_partition EGLEW_GET_VAR(__EGLEW_NV_stream_cross_partition) 1.2052 + 1.2053 +#endif /* EGL_NV_stream_cross_partition */ 1.2054 + 1.2055 +/* ---------------------- EGL_NV_stream_cross_process ---------------------- */ 1.2056 + 1.2057 +#ifndef EGL_NV_stream_cross_process 1.2058 +#define EGL_NV_stream_cross_process 1 1.2059 + 1.2060 +#define EGL_STREAM_CROSS_PROCESS_NV 0x3245 1.2061 + 1.2062 +#define EGLEW_NV_stream_cross_process EGLEW_GET_VAR(__EGLEW_NV_stream_cross_process) 1.2063 + 1.2064 +#endif /* EGL_NV_stream_cross_process */ 1.2065 + 1.2066 +/* ----------------------- EGL_NV_stream_cross_system ---------------------- */ 1.2067 + 1.2068 +#ifndef EGL_NV_stream_cross_system 1.2069 +#define EGL_NV_stream_cross_system 1 1.2070 + 1.2071 +#define EGL_STREAM_CROSS_SYSTEM_NV 0x334F 1.2072 + 1.2073 +#define EGLEW_NV_stream_cross_system EGLEW_GET_VAR(__EGLEW_NV_stream_cross_system) 1.2074 + 1.2075 +#endif /* EGL_NV_stream_cross_system */ 1.2076 + 1.2077 +/* ------------------------ EGL_NV_stream_fifo_next ------------------------ */ 1.2078 + 1.2079 +#ifndef EGL_NV_stream_fifo_next 1.2080 +#define EGL_NV_stream_fifo_next 1 1.2081 + 1.2082 +#define EGL_PENDING_FRAME_NV 0x3329 1.2083 +#define EGL_STREAM_TIME_PENDING_NV 0x332A 1.2084 + 1.2085 +#define EGLEW_NV_stream_fifo_next EGLEW_GET_VAR(__EGLEW_NV_stream_fifo_next) 1.2086 + 1.2087 +#endif /* EGL_NV_stream_fifo_next */ 1.2088 + 1.2089 +/* --------------------- EGL_NV_stream_fifo_synchronous -------------------- */ 1.2090 + 1.2091 +#ifndef EGL_NV_stream_fifo_synchronous 1.2092 +#define EGL_NV_stream_fifo_synchronous 1 1.2093 + 1.2094 +#define EGL_STREAM_FIFO_SYNCHRONOUS_NV 0x3336 1.2095 + 1.2096 +#define EGLEW_NV_stream_fifo_synchronous EGLEW_GET_VAR(__EGLEW_NV_stream_fifo_synchronous) 1.2097 + 1.2098 +#endif /* EGL_NV_stream_fifo_synchronous */ 1.2099 + 1.2100 +/* ----------------------- EGL_NV_stream_frame_limits ---------------------- */ 1.2101 + 1.2102 +#ifndef EGL_NV_stream_frame_limits 1.2103 +#define EGL_NV_stream_frame_limits 1 1.2104 + 1.2105 +#define EGL_PRODUCER_MAX_FRAME_HINT_NV 0x3337 1.2106 +#define EGL_CONSUMER_MAX_FRAME_HINT_NV 0x3338 1.2107 + 1.2108 +#define EGLEW_NV_stream_frame_limits EGLEW_GET_VAR(__EGLEW_NV_stream_frame_limits) 1.2109 + 1.2110 +#endif /* EGL_NV_stream_frame_limits */ 1.2111 + 1.2112 +/* ------------------------- EGL_NV_stream_metadata ------------------------ */ 1.2113 + 1.2114 +#ifndef EGL_NV_stream_metadata 1.2115 +#define EGL_NV_stream_metadata 1 1.2116 + 1.2117 +#define EGL_MAX_STREAM_METADATA_BLOCKS_NV 0x3250 1.2118 +#define EGL_MAX_STREAM_METADATA_BLOCK_SIZE_NV 0x3251 1.2119 +#define EGL_MAX_STREAM_METADATA_TOTAL_SIZE_NV 0x3252 1.2120 +#define EGL_PRODUCER_METADATA_NV 0x3253 1.2121 +#define EGL_CONSUMER_METADATA_NV 0x3254 1.2122 +#define EGL_METADATA0_SIZE_NV 0x3255 1.2123 +#define EGL_METADATA1_SIZE_NV 0x3256 1.2124 +#define EGL_METADATA2_SIZE_NV 0x3257 1.2125 +#define EGL_METADATA3_SIZE_NV 0x3258 1.2126 +#define EGL_METADATA0_TYPE_NV 0x3259 1.2127 +#define EGL_METADATA1_TYPE_NV 0x325A 1.2128 +#define EGL_METADATA2_TYPE_NV 0x325B 1.2129 +#define EGL_METADATA3_TYPE_NV 0x325C 1.2130 +#define EGL_PENDING_METADATA_NV 0x3328 1.2131 + 1.2132 +typedef EGLBoolean ( * PFNEGLQUERYDISPLAYATTRIBNVPROC) (EGLDisplay dpy, EGLint attribute, EGLAttrib * value); 1.2133 +typedef EGLBoolean ( * PFNEGLQUERYSTREAMMETADATANVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum name, EGLint n, EGLint offset, EGLint size, void * data); 1.2134 +typedef EGLBoolean ( * PFNEGLSETSTREAMMETADATANVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLint n, EGLint offset, EGLint size, const void * data); 1.2135 + 1.2136 +#define eglQueryDisplayAttribNV EGLEW_GET_FUN(__eglewQueryDisplayAttribNV) 1.2137 +#define eglQueryStreamMetadataNV EGLEW_GET_FUN(__eglewQueryStreamMetadataNV) 1.2138 +#define eglSetStreamMetadataNV EGLEW_GET_FUN(__eglewSetStreamMetadataNV) 1.2139 + 1.2140 +#define EGLEW_NV_stream_metadata EGLEW_GET_VAR(__EGLEW_NV_stream_metadata) 1.2141 + 1.2142 +#endif /* EGL_NV_stream_metadata */ 1.2143 + 1.2144 +/* -------------------------- EGL_NV_stream_remote ------------------------- */ 1.2145 + 1.2146 +#ifndef EGL_NV_stream_remote 1.2147 +#define EGL_NV_stream_remote 1 1.2148 + 1.2149 +#define EGL_STREAM_STATE_INITIALIZING_NV 0x3240 1.2150 +#define EGL_STREAM_TYPE_NV 0x3241 1.2151 +#define EGL_STREAM_PROTOCOL_NV 0x3242 1.2152 +#define EGL_STREAM_ENDPOINT_NV 0x3243 1.2153 +#define EGL_STREAM_LOCAL_NV 0x3244 1.2154 +#define EGL_STREAM_PROTOCOL_FD_NV 0x3246 1.2155 +#define EGL_STREAM_PRODUCER_NV 0x3247 1.2156 +#define EGL_STREAM_CONSUMER_NV 0x3248 1.2157 + 1.2158 +#define EGLEW_NV_stream_remote EGLEW_GET_VAR(__EGLEW_NV_stream_remote) 1.2159 + 1.2160 +#endif /* EGL_NV_stream_remote */ 1.2161 + 1.2162 +/* -------------------------- EGL_NV_stream_reset -------------------------- */ 1.2163 + 1.2164 +#ifndef EGL_NV_stream_reset 1.2165 +#define EGL_NV_stream_reset 1 1.2166 + 1.2167 +#define EGL_SUPPORT_RESET_NV 0x3334 1.2168 +#define EGL_SUPPORT_REUSE_NV 0x3335 1.2169 + 1.2170 +typedef EGLBoolean ( * PFNEGLRESETSTREAMNVPROC) (EGLDisplay dpy, EGLStreamKHR stream); 1.2171 + 1.2172 +#define eglResetStreamNV EGLEW_GET_FUN(__eglewResetStreamNV) 1.2173 + 1.2174 +#define EGLEW_NV_stream_reset EGLEW_GET_VAR(__EGLEW_NV_stream_reset) 1.2175 + 1.2176 +#endif /* EGL_NV_stream_reset */ 1.2177 + 1.2178 +/* -------------------------- EGL_NV_stream_socket ------------------------- */ 1.2179 + 1.2180 +#ifndef EGL_NV_stream_socket 1.2181 +#define EGL_NV_stream_socket 1 1.2182 + 1.2183 +#define EGL_STREAM_PROTOCOL_SOCKET_NV 0x324B 1.2184 +#define EGL_SOCKET_HANDLE_NV 0x324C 1.2185 +#define EGL_SOCKET_TYPE_NV 0x324D 1.2186 + 1.2187 +#define EGLEW_NV_stream_socket EGLEW_GET_VAR(__EGLEW_NV_stream_socket) 1.2188 + 1.2189 +#endif /* EGL_NV_stream_socket */ 1.2190 + 1.2191 +/* ----------------------- EGL_NV_stream_socket_inet ----------------------- */ 1.2192 + 1.2193 +#ifndef EGL_NV_stream_socket_inet 1.2194 +#define EGL_NV_stream_socket_inet 1 1.2195 + 1.2196 +#define EGL_SOCKET_TYPE_INET_NV 0x324F 1.2197 + 1.2198 +#define EGLEW_NV_stream_socket_inet EGLEW_GET_VAR(__EGLEW_NV_stream_socket_inet) 1.2199 + 1.2200 +#endif /* EGL_NV_stream_socket_inet */ 1.2201 + 1.2202 +/* ----------------------- EGL_NV_stream_socket_unix ----------------------- */ 1.2203 + 1.2204 +#ifndef EGL_NV_stream_socket_unix 1.2205 +#define EGL_NV_stream_socket_unix 1 1.2206 + 1.2207 +#define EGL_SOCKET_TYPE_UNIX_NV 0x324E 1.2208 + 1.2209 +#define EGLEW_NV_stream_socket_unix EGLEW_GET_VAR(__EGLEW_NV_stream_socket_unix) 1.2210 + 1.2211 +#endif /* EGL_NV_stream_socket_unix */ 1.2212 + 1.2213 +/* --------------------------- EGL_NV_stream_sync -------------------------- */ 1.2214 + 1.2215 +#ifndef EGL_NV_stream_sync 1.2216 +#define EGL_NV_stream_sync 1 1.2217 + 1.2218 +#define EGL_SYNC_TYPE_KHR 0x30F7 1.2219 +#define EGL_SYNC_NEW_FRAME_NV 0x321F 1.2220 + 1.2221 +typedef EGLSyncKHR ( * PFNEGLCREATESTREAMSYNCNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint * attrib_list); 1.2222 + 1.2223 +#define eglCreateStreamSyncNV EGLEW_GET_FUN(__eglewCreateStreamSyncNV) 1.2224 + 1.2225 +#define EGLEW_NV_stream_sync EGLEW_GET_VAR(__EGLEW_NV_stream_sync) 1.2226 + 1.2227 +#endif /* EGL_NV_stream_sync */ 1.2228 + 1.2229 +/* ------------------------------ EGL_NV_sync ------------------------------ */ 1.2230 + 1.2231 +#ifndef EGL_NV_sync 1.2232 +#define EGL_NV_sync 1 1.2233 + 1.2234 +#define EGL_SYNC_FLUSH_COMMANDS_BIT_NV 0x0001 1.2235 +#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV 0x30E6 1.2236 +#define EGL_SYNC_STATUS_NV 0x30E7 1.2237 +#define EGL_SIGNALED_NV 0x30E8 1.2238 +#define EGL_UNSIGNALED_NV 0x30E9 1.2239 +#define EGL_ALREADY_SIGNALED_NV 0x30EA 1.2240 +#define EGL_TIMEOUT_EXPIRED_NV 0x30EB 1.2241 +#define EGL_CONDITION_SATISFIED_NV 0x30EC 1.2242 +#define EGL_SYNC_TYPE_NV 0x30ED 1.2243 +#define EGL_SYNC_CONDITION_NV 0x30EE 1.2244 +#define EGL_SYNC_FENCE_NV 0x30EF 1.2245 +#define EGL_FOREVER_NV 0xFFFFFFFFFFFFFFFF 1.2246 + 1.2247 +typedef EGLint ( * PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); 1.2248 +typedef EGLSyncNV ( * PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint * attrib_list); 1.2249 +typedef EGLBoolean ( * PFNEGLDESTROYSYNCNVPROC) (EGLSyncNV sync); 1.2250 +typedef EGLBoolean ( * PFNEGLFENCENVPROC) (EGLSyncNV sync); 1.2251 +typedef EGLBoolean ( * PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLint * value); 1.2252 +typedef EGLBoolean ( * PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV sync, EGLenum mode); 1.2253 + 1.2254 +#define eglClientWaitSyncNV EGLEW_GET_FUN(__eglewClientWaitSyncNV) 1.2255 +#define eglCreateFenceSyncNV EGLEW_GET_FUN(__eglewCreateFenceSyncNV) 1.2256 +#define eglDestroySyncNV EGLEW_GET_FUN(__eglewDestroySyncNV) 1.2257 +#define eglFenceNV EGLEW_GET_FUN(__eglewFenceNV) 1.2258 +#define eglGetSyncAttribNV EGLEW_GET_FUN(__eglewGetSyncAttribNV) 1.2259 +#define eglSignalSyncNV EGLEW_GET_FUN(__eglewSignalSyncNV) 1.2260 + 1.2261 +#define EGLEW_NV_sync EGLEW_GET_VAR(__EGLEW_NV_sync) 1.2262 + 1.2263 +#endif /* EGL_NV_sync */ 1.2264 + 1.2265 +/* --------------------------- EGL_NV_system_time -------------------------- */ 1.2266 + 1.2267 +#ifndef EGL_NV_system_time 1.2268 +#define EGL_NV_system_time 1 1.2269 + 1.2270 +typedef EGLuint64NV ( * PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC) ( void ); 1.2271 +typedef EGLuint64NV ( * PFNEGLGETSYSTEMTIMENVPROC) ( void ); 1.2272 + 1.2273 +#define eglGetSystemTimeFrequencyNV EGLEW_GET_FUN(__eglewGetSystemTimeFrequencyNV) 1.2274 +#define eglGetSystemTimeNV EGLEW_GET_FUN(__eglewGetSystemTimeNV) 1.2275 + 1.2276 +#define EGLEW_NV_system_time EGLEW_GET_VAR(__EGLEW_NV_system_time) 1.2277 + 1.2278 +#endif /* EGL_NV_system_time */ 1.2279 + 1.2280 +/* --------------------- EGL_TIZEN_image_native_buffer --------------------- */ 1.2281 + 1.2282 +#ifndef EGL_TIZEN_image_native_buffer 1.2283 +#define EGL_TIZEN_image_native_buffer 1 1.2284 + 1.2285 +#define EGL_NATIVE_BUFFER_TIZEN 0x32A0 1.2286 + 1.2287 +#define EGLEW_TIZEN_image_native_buffer EGLEW_GET_VAR(__EGLEW_TIZEN_image_native_buffer) 1.2288 + 1.2289 +#endif /* EGL_TIZEN_image_native_buffer */ 1.2290 + 1.2291 +/* --------------------- EGL_TIZEN_image_native_surface -------------------- */ 1.2292 + 1.2293 +#ifndef EGL_TIZEN_image_native_surface 1.2294 +#define EGL_TIZEN_image_native_surface 1 1.2295 + 1.2296 +#define EGL_NATIVE_SURFACE_TIZEN 0x32A1 1.2297 + 1.2298 +#define EGLEW_TIZEN_image_native_surface EGLEW_GET_VAR(__EGLEW_TIZEN_image_native_surface) 1.2299 + 1.2300 +#endif /* EGL_TIZEN_image_native_surface */ 1.2301 + 1.2302 +/* ------------------------------------------------------------------------- */ 1.2303 + 1.2304 +#define EGLEW_FUN_EXPORT GLEW_FUN_EXPORT 1.2305 +#define EGLEW_VAR_EXPORT GLEW_VAR_EXPORT 1.2306 + 1.2307 +EGLEW_FUN_EXPORT PFNEGLCHOOSECONFIGPROC __eglewChooseConfig; 1.2308 +EGLEW_FUN_EXPORT PFNEGLCOPYBUFFERSPROC __eglewCopyBuffers; 1.2309 +EGLEW_FUN_EXPORT PFNEGLCREATECONTEXTPROC __eglewCreateContext; 1.2310 +EGLEW_FUN_EXPORT PFNEGLCREATEPBUFFERSURFACEPROC __eglewCreatePbufferSurface; 1.2311 +EGLEW_FUN_EXPORT PFNEGLCREATEPIXMAPSURFACEPROC __eglewCreatePixmapSurface; 1.2312 +EGLEW_FUN_EXPORT PFNEGLCREATEWINDOWSURFACEPROC __eglewCreateWindowSurface; 1.2313 +EGLEW_FUN_EXPORT PFNEGLDESTROYCONTEXTPROC __eglewDestroyContext; 1.2314 +EGLEW_FUN_EXPORT PFNEGLDESTROYSURFACEPROC __eglewDestroySurface; 1.2315 +EGLEW_FUN_EXPORT PFNEGLGETCONFIGATTRIBPROC __eglewGetConfigAttrib; 1.2316 +EGLEW_FUN_EXPORT PFNEGLGETCONFIGSPROC __eglewGetConfigs; 1.2317 +EGLEW_FUN_EXPORT PFNEGLGETCURRENTDISPLAYPROC __eglewGetCurrentDisplay; 1.2318 +EGLEW_FUN_EXPORT PFNEGLGETCURRENTSURFACEPROC __eglewGetCurrentSurface; 1.2319 +EGLEW_FUN_EXPORT PFNEGLGETDISPLAYPROC __eglewGetDisplay; 1.2320 +EGLEW_FUN_EXPORT PFNEGLGETERRORPROC __eglewGetError; 1.2321 +EGLEW_FUN_EXPORT PFNEGLINITIALIZEPROC __eglewInitialize; 1.2322 +EGLEW_FUN_EXPORT PFNEGLMAKECURRENTPROC __eglewMakeCurrent; 1.2323 +EGLEW_FUN_EXPORT PFNEGLQUERYCONTEXTPROC __eglewQueryContext; 1.2324 +EGLEW_FUN_EXPORT PFNEGLQUERYSTRINGPROC __eglewQueryString; 1.2325 +EGLEW_FUN_EXPORT PFNEGLQUERYSURFACEPROC __eglewQuerySurface; 1.2326 +EGLEW_FUN_EXPORT PFNEGLSWAPBUFFERSPROC __eglewSwapBuffers; 1.2327 +EGLEW_FUN_EXPORT PFNEGLTERMINATEPROC __eglewTerminate; 1.2328 +EGLEW_FUN_EXPORT PFNEGLWAITGLPROC __eglewWaitGL; 1.2329 +EGLEW_FUN_EXPORT PFNEGLWAITNATIVEPROC __eglewWaitNative; 1.2330 + 1.2331 +EGLEW_FUN_EXPORT PFNEGLBINDTEXIMAGEPROC __eglewBindTexImage; 1.2332 +EGLEW_FUN_EXPORT PFNEGLRELEASETEXIMAGEPROC __eglewReleaseTexImage; 1.2333 +EGLEW_FUN_EXPORT PFNEGLSURFACEATTRIBPROC __eglewSurfaceAttrib; 1.2334 +EGLEW_FUN_EXPORT PFNEGLSWAPINTERVALPROC __eglewSwapInterval; 1.2335 + 1.2336 +EGLEW_FUN_EXPORT PFNEGLBINDAPIPROC __eglewBindAPI; 1.2337 +EGLEW_FUN_EXPORT PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC __eglewCreatePbufferFromClientBuffer; 1.2338 +EGLEW_FUN_EXPORT PFNEGLQUERYAPIPROC __eglewQueryAPI; 1.2339 +EGLEW_FUN_EXPORT PFNEGLRELEASETHREADPROC __eglewReleaseThread; 1.2340 +EGLEW_FUN_EXPORT PFNEGLWAITCLIENTPROC __eglewWaitClient; 1.2341 + 1.2342 +EGLEW_FUN_EXPORT PFNEGLGETCURRENTCONTEXTPROC __eglewGetCurrentContext; 1.2343 + 1.2344 +EGLEW_FUN_EXPORT PFNEGLCLIENTWAITSYNCPROC __eglewClientWaitSync; 1.2345 +EGLEW_FUN_EXPORT PFNEGLCREATEIMAGEPROC __eglewCreateImage; 1.2346 +EGLEW_FUN_EXPORT PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC __eglewCreatePlatformPixmapSurface; 1.2347 +EGLEW_FUN_EXPORT PFNEGLCREATEPLATFORMWINDOWSURFACEPROC __eglewCreatePlatformWindowSurface; 1.2348 +EGLEW_FUN_EXPORT PFNEGLCREATESYNCPROC __eglewCreateSync; 1.2349 +EGLEW_FUN_EXPORT PFNEGLDESTROYIMAGEPROC __eglewDestroyImage; 1.2350 +EGLEW_FUN_EXPORT PFNEGLDESTROYSYNCPROC __eglewDestroySync; 1.2351 +EGLEW_FUN_EXPORT PFNEGLGETPLATFORMDISPLAYPROC __eglewGetPlatformDisplay; 1.2352 +EGLEW_FUN_EXPORT PFNEGLGETSYNCATTRIBPROC __eglewGetSyncAttrib; 1.2353 +EGLEW_FUN_EXPORT PFNEGLWAITSYNCPROC __eglewWaitSync; 1.2354 + 1.2355 +EGLEW_FUN_EXPORT PFNEGLSETBLOBCACHEFUNCSANDROIDPROC __eglewSetBlobCacheFuncsANDROID; 1.2356 + 1.2357 +EGLEW_FUN_EXPORT PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC __eglewCreateNativeClientBufferANDROID; 1.2358 + 1.2359 +EGLEW_FUN_EXPORT PFNEGLDUPNATIVEFENCEFDANDROIDPROC __eglewDupNativeFenceFDANDROID; 1.2360 + 1.2361 +EGLEW_FUN_EXPORT PFNEGLPRESENTATIONTIMEANDROIDPROC __eglewPresentationTimeANDROID; 1.2362 + 1.2363 +EGLEW_FUN_EXPORT PFNEGLQUERYSURFACEPOINTERANGLEPROC __eglewQuerySurfacePointerANGLE; 1.2364 + 1.2365 +EGLEW_FUN_EXPORT PFNEGLQUERYDEVICESEXTPROC __eglewQueryDevicesEXT; 1.2366 + 1.2367 +EGLEW_FUN_EXPORT PFNEGLQUERYDEVICEATTRIBEXTPROC __eglewQueryDeviceAttribEXT; 1.2368 +EGLEW_FUN_EXPORT PFNEGLQUERYDEVICESTRINGEXTPROC __eglewQueryDeviceStringEXT; 1.2369 +EGLEW_FUN_EXPORT PFNEGLQUERYDISPLAYATTRIBEXTPROC __eglewQueryDisplayAttribEXT; 1.2370 + 1.2371 +EGLEW_FUN_EXPORT PFNEGLQUERYDMABUFFORMATSEXTPROC __eglewQueryDmaBufFormatsEXT; 1.2372 +EGLEW_FUN_EXPORT PFNEGLQUERYDMABUFMODIFIERSEXTPROC __eglewQueryDmaBufModifiersEXT; 1.2373 + 1.2374 +EGLEW_FUN_EXPORT PFNEGLGETOUTPUTLAYERSEXTPROC __eglewGetOutputLayersEXT; 1.2375 +EGLEW_FUN_EXPORT PFNEGLGETOUTPUTPORTSEXTPROC __eglewGetOutputPortsEXT; 1.2376 +EGLEW_FUN_EXPORT PFNEGLOUTPUTLAYERATTRIBEXTPROC __eglewOutputLayerAttribEXT; 1.2377 +EGLEW_FUN_EXPORT PFNEGLOUTPUTPORTATTRIBEXTPROC __eglewOutputPortAttribEXT; 1.2378 +EGLEW_FUN_EXPORT PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC __eglewQueryOutputLayerAttribEXT; 1.2379 +EGLEW_FUN_EXPORT PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC __eglewQueryOutputLayerStringEXT; 1.2380 +EGLEW_FUN_EXPORT PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC __eglewQueryOutputPortAttribEXT; 1.2381 +EGLEW_FUN_EXPORT PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC __eglewQueryOutputPortStringEXT; 1.2382 + 1.2383 +EGLEW_FUN_EXPORT PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC __eglewCreatePlatformPixmapSurfaceEXT; 1.2384 +EGLEW_FUN_EXPORT PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC __eglewCreatePlatformWindowSurfaceEXT; 1.2385 +EGLEW_FUN_EXPORT PFNEGLGETPLATFORMDISPLAYEXTPROC __eglewGetPlatformDisplayEXT; 1.2386 + 1.2387 +EGLEW_FUN_EXPORT PFNEGLSTREAMCONSUMEROUTPUTEXTPROC __eglewStreamConsumerOutputEXT; 1.2388 + 1.2389 +EGLEW_FUN_EXPORT PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC __eglewSwapBuffersWithDamageEXT; 1.2390 + 1.2391 +EGLEW_FUN_EXPORT PFNEGLCREATEPIXMAPSURFACEHIPROC __eglewCreatePixmapSurfaceHI; 1.2392 + 1.2393 +EGLEW_FUN_EXPORT PFNEGLCREATESYNC64KHRPROC __eglewCreateSync64KHR; 1.2394 + 1.2395 +EGLEW_FUN_EXPORT PFNEGLDEBUGMESSAGECONTROLKHRPROC __eglewDebugMessageControlKHR; 1.2396 +EGLEW_FUN_EXPORT PFNEGLLABELOBJECTKHRPROC __eglewLabelObjectKHR; 1.2397 +EGLEW_FUN_EXPORT PFNEGLQUERYDEBUGKHRPROC __eglewQueryDebugKHR; 1.2398 + 1.2399 +EGLEW_FUN_EXPORT PFNEGLCREATEIMAGEKHRPROC __eglewCreateImageKHR; 1.2400 +EGLEW_FUN_EXPORT PFNEGLDESTROYIMAGEKHRPROC __eglewDestroyImageKHR; 1.2401 + 1.2402 +EGLEW_FUN_EXPORT PFNEGLLOCKSURFACEKHRPROC __eglewLockSurfaceKHR; 1.2403 +EGLEW_FUN_EXPORT PFNEGLUNLOCKSURFACEKHRPROC __eglewUnlockSurfaceKHR; 1.2404 + 1.2405 +EGLEW_FUN_EXPORT PFNEGLQUERYSURFACE64KHRPROC __eglewQuerySurface64KHR; 1.2406 + 1.2407 +EGLEW_FUN_EXPORT PFNEGLSETDAMAGEREGIONKHRPROC __eglewSetDamageRegionKHR; 1.2408 + 1.2409 +EGLEW_FUN_EXPORT PFNEGLCLIENTWAITSYNCKHRPROC __eglewClientWaitSyncKHR; 1.2410 +EGLEW_FUN_EXPORT PFNEGLCREATESYNCKHRPROC __eglewCreateSyncKHR; 1.2411 +EGLEW_FUN_EXPORT PFNEGLDESTROYSYNCKHRPROC __eglewDestroySyncKHR; 1.2412 +EGLEW_FUN_EXPORT PFNEGLGETSYNCATTRIBKHRPROC __eglewGetSyncAttribKHR; 1.2413 +EGLEW_FUN_EXPORT PFNEGLSIGNALSYNCKHRPROC __eglewSignalSyncKHR; 1.2414 + 1.2415 +EGLEW_FUN_EXPORT PFNEGLCREATESTREAMKHRPROC __eglewCreateStreamKHR; 1.2416 +EGLEW_FUN_EXPORT PFNEGLDESTROYSTREAMKHRPROC __eglewDestroyStreamKHR; 1.2417 +EGLEW_FUN_EXPORT PFNEGLQUERYSTREAMKHRPROC __eglewQueryStreamKHR; 1.2418 +EGLEW_FUN_EXPORT PFNEGLQUERYSTREAMU64KHRPROC __eglewQueryStreamu64KHR; 1.2419 +EGLEW_FUN_EXPORT PFNEGLSTREAMATTRIBKHRPROC __eglewStreamAttribKHR; 1.2420 + 1.2421 +EGLEW_FUN_EXPORT PFNEGLCREATESTREAMATTRIBKHRPROC __eglewCreateStreamAttribKHR; 1.2422 +EGLEW_FUN_EXPORT PFNEGLQUERYSTREAMATTRIBKHRPROC __eglewQueryStreamAttribKHR; 1.2423 +EGLEW_FUN_EXPORT PFNEGLSETSTREAMATTRIBKHRPROC __eglewSetStreamAttribKHR; 1.2424 +EGLEW_FUN_EXPORT PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC __eglewStreamConsumerAcquireAttribKHR; 1.2425 +EGLEW_FUN_EXPORT PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC __eglewStreamConsumerReleaseAttribKHR; 1.2426 + 1.2427 +EGLEW_FUN_EXPORT PFNEGLSTREAMCONSUMERACQUIREKHRPROC __eglewStreamConsumerAcquireKHR; 1.2428 +EGLEW_FUN_EXPORT PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC __eglewStreamConsumerGLTextureExternalKHR; 1.2429 +EGLEW_FUN_EXPORT PFNEGLSTREAMCONSUMERRELEASEKHRPROC __eglewStreamConsumerReleaseKHR; 1.2430 + 1.2431 +EGLEW_FUN_EXPORT PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC __eglewCreateStreamFromFileDescriptorKHR; 1.2432 +EGLEW_FUN_EXPORT PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC __eglewGetStreamFileDescriptorKHR; 1.2433 + 1.2434 +EGLEW_FUN_EXPORT PFNEGLQUERYSTREAMTIMEKHRPROC __eglewQueryStreamTimeKHR; 1.2435 + 1.2436 +EGLEW_FUN_EXPORT PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC __eglewCreateStreamProducerSurfaceKHR; 1.2437 + 1.2438 +EGLEW_FUN_EXPORT PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC __eglewSwapBuffersWithDamageKHR; 1.2439 + 1.2440 +EGLEW_FUN_EXPORT PFNEGLWAITSYNCKHRPROC __eglewWaitSyncKHR; 1.2441 + 1.2442 +EGLEW_FUN_EXPORT PFNEGLCREATEDRMIMAGEMESAPROC __eglewCreateDRMImageMESA; 1.2443 +EGLEW_FUN_EXPORT PFNEGLEXPORTDRMIMAGEMESAPROC __eglewExportDRMImageMESA; 1.2444 + 1.2445 +EGLEW_FUN_EXPORT PFNEGLEXPORTDMABUFIMAGEMESAPROC __eglewExportDMABUFImageMESA; 1.2446 +EGLEW_FUN_EXPORT PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC __eglewExportDMABUFImageQueryMESA; 1.2447 + 1.2448 +EGLEW_FUN_EXPORT PFNEGLSWAPBUFFERSREGIONNOKPROC __eglewSwapBuffersRegionNOK; 1.2449 + 1.2450 +EGLEW_FUN_EXPORT PFNEGLSWAPBUFFERSREGION2NOKPROC __eglewSwapBuffersRegion2NOK; 1.2451 + 1.2452 +EGLEW_FUN_EXPORT PFNEGLQUERYNATIVEDISPLAYNVPROC __eglewQueryNativeDisplayNV; 1.2453 +EGLEW_FUN_EXPORT PFNEGLQUERYNATIVEPIXMAPNVPROC __eglewQueryNativePixmapNV; 1.2454 +EGLEW_FUN_EXPORT PFNEGLQUERYNATIVEWINDOWNVPROC __eglewQueryNativeWindowNV; 1.2455 + 1.2456 +EGLEW_FUN_EXPORT PFNEGLPOSTSUBBUFFERNVPROC __eglewPostSubBufferNV; 1.2457 + 1.2458 +EGLEW_FUN_EXPORT PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC __eglewStreamConsumerGLTextureExternalAttribsNV; 1.2459 + 1.2460 +EGLEW_FUN_EXPORT PFNEGLQUERYDISPLAYATTRIBNVPROC __eglewQueryDisplayAttribNV; 1.2461 +EGLEW_FUN_EXPORT PFNEGLQUERYSTREAMMETADATANVPROC __eglewQueryStreamMetadataNV; 1.2462 +EGLEW_FUN_EXPORT PFNEGLSETSTREAMMETADATANVPROC __eglewSetStreamMetadataNV; 1.2463 + 1.2464 +EGLEW_FUN_EXPORT PFNEGLRESETSTREAMNVPROC __eglewResetStreamNV; 1.2465 + 1.2466 +EGLEW_FUN_EXPORT PFNEGLCREATESTREAMSYNCNVPROC __eglewCreateStreamSyncNV; 1.2467 + 1.2468 +EGLEW_FUN_EXPORT PFNEGLCLIENTWAITSYNCNVPROC __eglewClientWaitSyncNV; 1.2469 +EGLEW_FUN_EXPORT PFNEGLCREATEFENCESYNCNVPROC __eglewCreateFenceSyncNV; 1.2470 +EGLEW_FUN_EXPORT PFNEGLDESTROYSYNCNVPROC __eglewDestroySyncNV; 1.2471 +EGLEW_FUN_EXPORT PFNEGLFENCENVPROC __eglewFenceNV; 1.2472 +EGLEW_FUN_EXPORT PFNEGLGETSYNCATTRIBNVPROC __eglewGetSyncAttribNV; 1.2473 +EGLEW_FUN_EXPORT PFNEGLSIGNALSYNCNVPROC __eglewSignalSyncNV; 1.2474 + 1.2475 +EGLEW_FUN_EXPORT PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC __eglewGetSystemTimeFrequencyNV; 1.2476 +EGLEW_FUN_EXPORT PFNEGLGETSYSTEMTIMENVPROC __eglewGetSystemTimeNV; 1.2477 +EGLEW_VAR_EXPORT GLboolean __EGLEW_VERSION_1_0; 1.2478 +EGLEW_VAR_EXPORT GLboolean __EGLEW_VERSION_1_1; 1.2479 +EGLEW_VAR_EXPORT GLboolean __EGLEW_VERSION_1_2; 1.2480 +EGLEW_VAR_EXPORT GLboolean __EGLEW_VERSION_1_3; 1.2481 +EGLEW_VAR_EXPORT GLboolean __EGLEW_VERSION_1_4; 1.2482 +EGLEW_VAR_EXPORT GLboolean __EGLEW_VERSION_1_5; 1.2483 +EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_blob_cache; 1.2484 +EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_create_native_client_buffer; 1.2485 +EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_framebuffer_target; 1.2486 +EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_front_buffer_auto_refresh; 1.2487 +EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_image_native_buffer; 1.2488 +EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_native_fence_sync; 1.2489 +EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_presentation_time; 1.2490 +EGLEW_VAR_EXPORT GLboolean __EGLEW_ANDROID_recordable; 1.2491 +EGLEW_VAR_EXPORT GLboolean __EGLEW_ANGLE_d3d_share_handle_client_buffer; 1.2492 +EGLEW_VAR_EXPORT GLboolean __EGLEW_ANGLE_device_d3d; 1.2493 +EGLEW_VAR_EXPORT GLboolean __EGLEW_ANGLE_query_surface_pointer; 1.2494 +EGLEW_VAR_EXPORT GLboolean __EGLEW_ANGLE_surface_d3d_texture_2d_share_handle; 1.2495 +EGLEW_VAR_EXPORT GLboolean __EGLEW_ANGLE_window_fixed_size; 1.2496 +EGLEW_VAR_EXPORT GLboolean __EGLEW_ARM_implicit_external_sync; 1.2497 +EGLEW_VAR_EXPORT GLboolean __EGLEW_ARM_pixmap_multisample_discard; 1.2498 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_buffer_age; 1.2499 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_client_extensions; 1.2500 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_create_context_robustness; 1.2501 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_device_base; 1.2502 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_device_drm; 1.2503 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_device_enumeration; 1.2504 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_device_openwf; 1.2505 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_device_query; 1.2506 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_gl_colorspace_bt2020_linear; 1.2507 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_gl_colorspace_bt2020_pq; 1.2508 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_gl_colorspace_scrgb_linear; 1.2509 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_image_dma_buf_import; 1.2510 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_image_dma_buf_import_modifiers; 1.2511 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_multiview_window; 1.2512 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_output_base; 1.2513 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_output_drm; 1.2514 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_output_openwf; 1.2515 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_pixel_format_float; 1.2516 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_platform_base; 1.2517 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_platform_device; 1.2518 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_platform_wayland; 1.2519 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_platform_x11; 1.2520 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_protected_content; 1.2521 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_protected_surface; 1.2522 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_stream_consumer_egloutput; 1.2523 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_surface_SMPTE2086_metadata; 1.2524 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_swap_buffers_with_damage; 1.2525 +EGLEW_VAR_EXPORT GLboolean __EGLEW_EXT_yuv_surface; 1.2526 +EGLEW_VAR_EXPORT GLboolean __EGLEW_HI_clientpixmap; 1.2527 +EGLEW_VAR_EXPORT GLboolean __EGLEW_HI_colorformats; 1.2528 +EGLEW_VAR_EXPORT GLboolean __EGLEW_IMG_context_priority; 1.2529 +EGLEW_VAR_EXPORT GLboolean __EGLEW_IMG_image_plane_attribs; 1.2530 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_cl_event; 1.2531 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_cl_event2; 1.2532 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_client_get_all_proc_addresses; 1.2533 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_config_attribs; 1.2534 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_context_flush_control; 1.2535 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_create_context; 1.2536 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_create_context_no_error; 1.2537 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_debug; 1.2538 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_fence_sync; 1.2539 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_get_all_proc_addresses; 1.2540 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_gl_colorspace; 1.2541 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_gl_renderbuffer_image; 1.2542 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_gl_texture_2D_image; 1.2543 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_gl_texture_3D_image; 1.2544 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_gl_texture_cubemap_image; 1.2545 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_image; 1.2546 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_image_base; 1.2547 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_image_pixmap; 1.2548 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_lock_surface; 1.2549 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_lock_surface2; 1.2550 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_lock_surface3; 1.2551 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_mutable_render_buffer; 1.2552 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_no_config_context; 1.2553 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_partial_update; 1.2554 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_platform_android; 1.2555 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_platform_gbm; 1.2556 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_platform_wayland; 1.2557 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_platform_x11; 1.2558 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_reusable_sync; 1.2559 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_stream; 1.2560 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_stream_attrib; 1.2561 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_stream_consumer_gltexture; 1.2562 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_stream_cross_process_fd; 1.2563 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_stream_fifo; 1.2564 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_stream_producer_aldatalocator; 1.2565 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_stream_producer_eglsurface; 1.2566 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_surfaceless_context; 1.2567 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_swap_buffers_with_damage; 1.2568 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_vg_parent_image; 1.2569 +EGLEW_VAR_EXPORT GLboolean __EGLEW_KHR_wait_sync; 1.2570 +EGLEW_VAR_EXPORT GLboolean __EGLEW_MESA_drm_image; 1.2571 +EGLEW_VAR_EXPORT GLboolean __EGLEW_MESA_image_dma_buf_export; 1.2572 +EGLEW_VAR_EXPORT GLboolean __EGLEW_MESA_platform_gbm; 1.2573 +EGLEW_VAR_EXPORT GLboolean __EGLEW_MESA_platform_surfaceless; 1.2574 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NOK_swap_region; 1.2575 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NOK_swap_region2; 1.2576 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NOK_texture_from_pixmap; 1.2577 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_3dvision_surface; 1.2578 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_coverage_sample; 1.2579 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_coverage_sample_resolve; 1.2580 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_cuda_event; 1.2581 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_depth_nonlinear; 1.2582 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_device_cuda; 1.2583 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_native_query; 1.2584 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_post_convert_rounding; 1.2585 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_post_sub_buffer; 1.2586 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_robustness_video_memory_purge; 1.2587 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_consumer_gltexture_yuv; 1.2588 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_cross_display; 1.2589 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_cross_object; 1.2590 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_cross_partition; 1.2591 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_cross_process; 1.2592 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_cross_system; 1.2593 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_fifo_next; 1.2594 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_fifo_synchronous; 1.2595 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_frame_limits; 1.2596 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_metadata; 1.2597 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_remote; 1.2598 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_reset; 1.2599 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_socket; 1.2600 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_socket_inet; 1.2601 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_socket_unix; 1.2602 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_stream_sync; 1.2603 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_sync; 1.2604 +EGLEW_VAR_EXPORT GLboolean __EGLEW_NV_system_time; 1.2605 +EGLEW_VAR_EXPORT GLboolean __EGLEW_TIZEN_image_native_buffer; 1.2606 +EGLEW_VAR_EXPORT GLboolean __EGLEW_TIZEN_image_native_surface; 1.2607 +/* ------------------------------------------------------------------------ */ 1.2608 + 1.2609 +GLEWAPI GLenum GLEWAPIENTRY eglewInit (EGLDisplay display); 1.2610 +GLEWAPI GLboolean GLEWAPIENTRY eglewIsSupported (const char *name); 1.2611 + 1.2612 +#define EGLEW_GET_VAR(x) (*(const GLboolean*)&x) 1.2613 +#define EGLEW_GET_FUN(x) x 1.2614 + 1.2615 +GLEWAPI GLboolean GLEWAPIENTRY eglewGetExtension (const char *name); 1.2616 + 1.2617 +#ifdef __cplusplus 1.2618 +} 1.2619 +#endif 1.2620 + 1.2621 +#endif /* __eglew_h__ */