From 04fe4a98321de2384bfa227be3544178a63d8571 Mon Sep 17 00:00:00 2001 From: Justin Webb Date: Fri, 9 Apr 2021 20:38:13 +0200 Subject: [PATCH] Initial 2021 cleanup/refactor. (#1) --- .gitattributes | 2 + .gitignore | 1 + CMakeLists.txt | 56 +- README.md | 5 + build.sh | 43 + include/EGL/egl.h | 107 +- include/EGL/eglext.h | 559 +- include/EGL/eglplatform.h | 106 +- include/GL/glcorearb.h | 2773 +- include/GL/glext.h | 1080 +- include/GL/glx.h | 259 - include/GL/glxext.h | 96 +- include/GL/wgl.h | 75 +- include/GL/wglext.h | 75 +- include/GLES/1.0/gl.h | 584 + include/GLES/egl.h | 7 +- include/GLES/gl.h | 435 +- include/GLES/glext.h | 1522 +- include/GLES/glplatform.h | 15 +- include/GLES2/gl2.h | 47 +- include/GLES2/gl2ext.h | 1090 +- include/GLES2/gl2platform.h | 15 +- include/GLES3/gl3.h | 59 +- include/GLES3/gl31.h | 49 +- include/GLES3/gl32.h | 51 +- include/GLES3/gl3platform.h | 15 +- include/KHR/khrplatform.h | 30 +- include/wrangle-egl.h | 230 +- include/wrangle-gl.h | 868 +- include/wrangle-gles.h | 765 +- include/wrangle-glx.h | 34 +- include/wrangle-wgl.h | 26 +- include/wrangle.h | 25 +- khronos/.gitignore | 1 - khronos/license.txt | 22 - khronos/repository/api/EGL/egl.h | 303 - khronos/repository/api/EGL/eglext.h | 950 - khronos/repository/api/GL/glcorearb.h | 3621 -- khronos/repository/api/GL/glext.h | 12050 ---- khronos/repository/api/GL/glx.h | 259 - khronos/repository/api/GL/glxext.h | 926 - khronos/repository/api/GL/wgl.h | 931 - khronos/repository/api/GL/wglext.h | 840 - khronos/repository/api/GLES/gl.h | 588 - khronos/repository/api/GLES/glext.h | 953 - khronos/repository/api/GLES2/gl2.h | 673 - khronos/repository/api/GLES2/gl2ext.h | 2946 - khronos/repository/api/GLES3/gl3.h | 1209 - khronos/repository/api/GLES3/gl31.h | 1524 - khronos/repository/api/diag.txt | 4071 -- khronos/repository/api/egl.xml | 2495 - khronos/repository/api/genheaders.py | 578 - khronos/repository/api/gl.xml | 46232 ---------------- khronos/repository/api/glx.xml | 2161 - khronos/repository/api/readme.pdf | Bin 130102 -> 0 bytes khronos/repository/api/reg.py | 1162 - khronos/repository/api/registry.rnc | 288 - khronos/repository/api/wgl.xml | 1967 - khronos/update-registry.sh | 40 - khronos/update-repository.readme | 4 - khronos/update-repository.sh | 54 - projects/cmake/visual-studio-androidpp.cmake | 6 - projects/regenerate.cmd | 23 - report.txt | 0 src/generator/.gitignore | 3 + src/generator/Generator.cs | 182 +- src/generator/GeneratorEGL.cs | 44 +- src/generator/GeneratorGL.cs | 50 +- src/generator/GeneratorGLES.cs | 44 +- src/generator/GeneratorWGL.cs | 46 +- src/generator/Program.cs | 50 +- src/generator/Properties/AssemblyInfo.cs | 36 - src/generator/wrangle-gl-generator.csproj | 62 +- .../wrangle-gl-generator.csproj.user | 6 - src/generator/wrangle-gl-generator.sln | 22 - src/wrangle-egl.cpp | 1927 +- src/wrangle-gl.cpp | 7994 ++- src/wrangle-gles.cpp | 6376 ++- src/wrangle-glx.cpp | 50 +- src/wrangle-wgl.cpp | 32 +- tests/test-egl.cpp | 297 +- tests/test-wgl.cpp | 31 +- 82 files changed, 21755 insertions(+), 93478 deletions(-) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 README.md create mode 100644 build.sh delete mode 100644 include/GL/glx.h create mode 100644 include/GLES/1.0/gl.h delete mode 100644 khronos/.gitignore delete mode 100644 khronos/license.txt delete mode 100644 khronos/repository/api/EGL/egl.h delete mode 100644 khronos/repository/api/EGL/eglext.h delete mode 100644 khronos/repository/api/GL/glcorearb.h delete mode 100644 khronos/repository/api/GL/glext.h delete mode 100644 khronos/repository/api/GL/glx.h delete mode 100644 khronos/repository/api/GL/glxext.h delete mode 100644 khronos/repository/api/GL/wgl.h delete mode 100644 khronos/repository/api/GL/wglext.h delete mode 100644 khronos/repository/api/GLES/gl.h delete mode 100644 khronos/repository/api/GLES/glext.h delete mode 100644 khronos/repository/api/GLES2/gl2.h delete mode 100644 khronos/repository/api/GLES2/gl2ext.h delete mode 100644 khronos/repository/api/GLES3/gl3.h delete mode 100644 khronos/repository/api/GLES3/gl31.h delete mode 100644 khronos/repository/api/diag.txt delete mode 100644 khronos/repository/api/egl.xml delete mode 100644 khronos/repository/api/genheaders.py delete mode 100644 khronos/repository/api/gl.xml delete mode 100644 khronos/repository/api/glx.xml delete mode 100644 khronos/repository/api/readme.pdf delete mode 100644 khronos/repository/api/reg.py delete mode 100644 khronos/repository/api/registry.rnc delete mode 100644 khronos/repository/api/wgl.xml delete mode 100644 khronos/update-registry.sh delete mode 100644 khronos/update-repository.readme delete mode 100644 khronos/update-repository.sh delete mode 100644 projects/cmake/visual-studio-androidpp.cmake delete mode 100644 projects/regenerate.cmd create mode 100644 report.txt create mode 100644 src/generator/.gitignore delete mode 100644 src/generator/Properties/AssemblyInfo.cs delete mode 100644 src/generator/wrangle-gl-generator.csproj.user delete mode 100644 src/generator/wrangle-gl-generator.sln diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..efdba87 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +* text=auto +*.sh text eol=lf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..796b96d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/build diff --git a/CMakeLists.txt b/CMakeLists.txt index 157ac05..027aa59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,43 +1,52 @@ - cmake_minimum_required (VERSION 3.2) project (wrangle-gl) -include_directories ("include") - # test-egl -add_executable ("test-egl" - "include/wrangle.h" - "include/wrangle-egl.h" - "include/wrangle-gl.h" - "include/wrangle-gles.h" +include_directories ("include") + +add_executable ("test-egl" + "include/wrangle.h" + "include/wrangle-egl.h" "src/wrangle-egl.cpp" - "src/wrangle-gl.cpp" - "src/wrangle-gles.cpp" "tests/test-egl.cpp") target_compile_options ("test-egl" - PUBLIC "-DGLEW_USE_EGL" - PUBLIC "-DGLEW_USE_OPENGL_ES") + PUBLIC "-DGLEW_USE_EGL") -target_link_libraries ("test-egl" - "${CMAKE_CURRENT_SOURCE_DIR}/khronos/emulator/ARM/libEGL.lib" - "${CMAKE_CURRENT_SOURCE_DIR}/khronos/emulator/ARM/libGLESv2.lib") -#configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/khronos/emulator/AMD/x86/libEGL.dll" "${CMAKE_CURRENT_BINARY_DIR}/libEGL.dll" COPYONLY) -#configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/khronos/emulator/AMD/x86/libGLESv2.dll" "${CMAKE_CURRENT_BINARY_DIR}/libGLESv2.dll" COPYONLY) +if(WIN32) + # https://developer.arm.com/-/media/Files/downloads/open-gl-es-emulator/3.0.4/Mali_OpenGL_ES_Emulator-v3.0.4-2-g8d905-Windows-64bit.zip?revision=89a52b4d-c891-4abc-be58-50db8c20bff9?product=OpenGL%20ES%20Emulator,64-bit,,Windows,3.0.4 + #target_link_libraries ("test-egl" + # "${CMAKE_CURRENT_SOURCE_DIR}/khronos/emulator/ARM/libEGL.lib" + # "${CMAKE_CURRENT_SOURCE_DIR}/khronos/emulator/ARM/libGLESv2.lib") + #configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/khronos/emulator/AMD/x86/libEGL.dll" "${CMAKE_CURRENT_BINARY_DIR}/libEGL.dll" COPYONLY) + #configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/khronos/emulator/AMD/x86/libGLESv2.dll" "${CMAKE_CURRENT_BINARY_DIR}/libGLESv2.dll" COPYONLY) +else() + find_package(OpenGL REQUIRED COMPONENTS EGL) + if(NOT OPENGL_FOUND) + message(SEND_ERROR "Error: No OpenGL found.") + endif() + target_link_libraries ("test-egl" + "${OPENGL_egl_LIBRARY}" + "${OPENGL_opengl_LIBRARY}" + dl) +endif() -set_target_properties("test-egl" PROPERTIES +if(WIN32) +set_target_properties("test-egl" PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:WINDOWS" LINK_FLAGS_RELWITHDEBINFO "/SUBSYSTEM:WINDOWS" LINK_FLAGS_RELEASE "/SUBSYSTEM:WINDOWS" LINK_FLAGS_MINSIZEREL "/SUBSYSTEM:WINDOWS") +endif() -# test-wgl +# test-wgl (Windows only) -add_executable ("test-wgl" - "include/wrangle.h" - "include/wrangle-wgl.h" +if(WIN32) +add_executable ("test-wgl" + "include/wrangle.h" + "include/wrangle-wgl.h" "include/wrangle-gl.h" "include/wrangle-gles.h" "src/wrangle-wgl.cpp" @@ -49,8 +58,9 @@ target_compile_options ("test-wgl" PUBLIC "-DGLEW_USE_WGL" PUBLIC "-DGLEW_USE_OPENGL_ES") -set_target_properties("test-wgl" PROPERTIES +set_target_properties("test-wgl" PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:WINDOWS" LINK_FLAGS_RELWITHDEBINFO "/SUBSYSTEM:WINDOWS" LINK_FLAGS_RELEASE "/SUBSYSTEM:WINDOWS" LINK_FLAGS_MINSIZEREL "/SUBSYSTEM:WINDOWS") +endif() diff --git a/README.md b/README.md new file mode 100644 index 0000000..73ec5dd --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# wrangle-gl + +Mobile-focused extension wrangling for [Khronos APIs](https://www.khronos.org/registry/) (OpenGL, OpenGL-ES, EGL, etc). + +Similar concept to [The OpenGL Extension Wrangler Library](http://glew.sourceforge.net). diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..cda622b --- /dev/null +++ b/build.sh @@ -0,0 +1,43 @@ +#!/bin/bash +set -x + +rm -Rf build include/GL include/GLES include/GLES2 include/GLES3 include/EGL include/KHR + +# OpenGL and OpenGL-ES +git clone --depth=1 https://github.com/KhronosGroup/OpenGL-Registry.git opengl-registry +cp -R opengl-registry/api/GL include +cp -R opengl-registry/api/GLES include +cp -R opengl-registry/api/GLES2 include +cp -R opengl-registry/api/GLES3 include +cp -R opengl-registry/xml/*.xml . +rm -Rf opengl-registry + +# EGL +git clone --depth=1 https://github.com/KhronosGroup/EGL-Registry.git egl-registry +cp -R egl-registry/api/EGL include +cp -R egl-registry/api/KHR include +cp -R egl-registry/api/*.xml . +rm -Rf egl-registry + +# Generate wrangle-gl headers/sources. +rm -f include/wrangle-*.h +rm -f src/wrangle-*.cpp +pushd src/generator +dotnet build +popd +src/generator/bin/Debug/netcoreapp3.1/wrangle-gl-generator.exe +cp ./wrangle-*.h include/ +cp ./wrangle-*.cpp src/ +rm -f ./wrangle-*.h ./wrangle-*.cpp ./*.xml + +mkdir -p build/ninja +pushd build/ninja +cmake ../.. -G "Ninja" -DCMAKE_BUILD_TYPE=Debug +cmake --build . --target test-egl +popd + +#mkdir -p build/vstudio-win32 +#pushd build/vstudio-win32 +#cmake .. -G "Visual Studio 16 2019" -A "Win32" -DCMAKE_BUILD_TYPE=Debug +#cmake --build . --target test-wgl +#popd diff --git a/include/EGL/egl.h b/include/EGL/egl.h index 92d59a5..fd835d9 100644 --- a/include/EGL/egl.h +++ b/include/EGL/egl.h @@ -6,39 +6,24 @@ extern "C" { #endif /* -** Copyright (c) 2013-2015 The Khronos Group Inc. +** Copyright 2013-2020 The Khronos Group Inc. +** SPDX-License-Identifier: Apache-2.0 ** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts +** This header is generated from the Khronos EGL XML API Registry. +** The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ +** http://www.khronos.org/registry/egl ** -** Khronos $Revision: 32097 $ on $Date: 2015-10-09 01:17:05 -0700 (Fri, 09 Oct 2015) $ +** Khronos $Git commit SHA1: 5a9a7e3fcb $ on $Git commit date: 2020-08-24 11:05:32 -0700 $ */ #include -/* Generated on date 20151009 */ +#ifndef EGL_EGL_PROTOTYPES +#define EGL_EGL_PROTOTYPES 1 +#endif + +/* Generated on date 20201001 */ /* Generated C header for: * API: egl @@ -78,7 +63,7 @@ typedef void (*__eglMustCastToProperFunctionPointerType)(void); #define EGL_CONFIG_ID 0x3028 #define EGL_CORE_NATIVE_ENGINE 0x305B #define EGL_DEPTH_SIZE 0x3025 -#define EGL_DONT_CARE ((EGLint)-1) +#define EGL_DONT_CARE EGL_CAST(EGLint,-1) #define EGL_DRAW 0x3059 #define EGL_EXTENSIONS 0x3055 #define EGL_FALSE 0 @@ -95,9 +80,9 @@ typedef void (*__eglMustCastToProperFunctionPointerType)(void); #define EGL_NONE 0x3038 #define EGL_NON_CONFORMANT_CONFIG 0x3051 #define EGL_NOT_INITIALIZED 0x3001 -#define EGL_NO_CONTEXT ((EGLContext)0) -#define EGL_NO_DISPLAY ((EGLDisplay)0) -#define EGL_NO_SURFACE ((EGLSurface)0) +#define EGL_NO_CONTEXT EGL_CAST(EGLContext,0) +#define EGL_NO_DISPLAY EGL_CAST(EGLDisplay,0) +#define EGL_NO_SURFACE EGL_CAST(EGLSurface,0) #define EGL_PBUFFER_BIT 0x0001 #define EGL_PIXMAP_BIT 0x0002 #define EGL_READ 0x305A @@ -118,6 +103,31 @@ typedef void (*__eglMustCastToProperFunctionPointerType)(void); #define EGL_VERSION 0x3054 #define EGL_WIDTH 0x3057 #define EGL_WINDOW_BIT 0x0004 +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCHOOSECONFIGPROC) (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOPYBUFFERSPROC) (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target); +typedef EGLContext (EGLAPIENTRYP PFNEGLCREATECONTEXTPROC) (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list); +typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPBUFFERSURFACEPROC) (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list); +typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEPROC) (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list); +typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEWINDOWSURFACEPROC) (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYCONTEXTPROC) (EGLDisplay dpy, EGLContext ctx); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSURFACEPROC) (EGLDisplay dpy, EGLSurface surface); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETCONFIGATTRIBPROC) (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETCONFIGSPROC) (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config); +typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETCURRENTDISPLAYPROC) (void); +typedef EGLSurface (EGLAPIENTRYP PFNEGLGETCURRENTSURFACEPROC) (EGLint readdraw); +typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETDISPLAYPROC) (EGLNativeDisplayType display_id); +typedef EGLint (EGLAPIENTRYP PFNEGLGETERRORPROC) (void); +typedef __eglMustCastToProperFunctionPointerType (EGLAPIENTRYP PFNEGLGETPROCADDRESSPROC) (const char *procname); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLINITIALIZEPROC) (EGLDisplay dpy, EGLint *major, EGLint *minor); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLMAKECURRENTPROC) (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYCONTEXTPROC) (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value); +typedef const char *(EGLAPIENTRYP PFNEGLQUERYSTRINGPROC) (EGLDisplay dpy, EGLint name); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSPROC) (EGLDisplay dpy, EGLSurface surface); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLTERMINATEPROC) (EGLDisplay dpy); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLWAITGLPROC) (void); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLWAITNATIVEPROC) (EGLint engine); +#if EGL_EGL_PROTOTYPES EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config); EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target); EGLAPI EGLContext EGLAPIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list); @@ -142,6 +152,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers (EGLDisplay dpy, EGLSurface surface EGLAPI EGLBoolean EGLAPIENTRY eglTerminate (EGLDisplay dpy); EGLAPI EGLBoolean EGLAPIENTRY eglWaitGL (void); EGLAPI EGLBoolean EGLAPIENTRY eglWaitNative (EGLint engine); +#endif #endif /* EGL_VERSION_1_0 */ #ifndef EGL_VERSION_1_1 @@ -160,10 +171,16 @@ EGLAPI EGLBoolean EGLAPIENTRY eglWaitNative (EGLint engine); #define EGL_TEXTURE_RGB 0x305D #define EGL_TEXTURE_RGBA 0x305E #define EGL_TEXTURE_TARGET 0x3081 +typedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDTEXIMAGEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint buffer); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLRELEASETEXIMAGEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint buffer); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSURFACEATTRIBPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPINTERVALPROC) (EGLDisplay dpy, EGLint interval); +#if EGL_EGL_PROTOTYPES EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer); EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer); EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value); EGLAPI EGLBoolean EGLAPIENTRY eglSwapInterval (EGLDisplay dpy, EGLint interval); +#endif #endif /* EGL_VERSION_1_1 */ #ifndef EGL_VERSION_1_2 @@ -197,13 +214,20 @@ typedef void *EGLClientBuffer; #define EGL_RGB_BUFFER 0x308E #define EGL_SINGLE_BUFFER 0x3085 #define EGL_SWAP_BEHAVIOR 0x3093 -#define EGL_UNKNOWN ((EGLint)-1) +#define EGL_UNKNOWN EGL_CAST(EGLint,-1) #define EGL_VERTICAL_RESOLUTION 0x3091 +typedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDAPIPROC) (EGLenum api); +typedef EGLenum (EGLAPIENTRYP PFNEGLQUERYAPIPROC) (void); +typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC) (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLRELEASETHREADPROC) (void); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLWAITCLIENTPROC) (void); +#if EGL_EGL_PROTOTYPES EGLAPI EGLBoolean EGLAPIENTRY eglBindAPI (EGLenum api); EGLAPI EGLenum EGLAPIENTRY eglQueryAPI (void); EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list); EGLAPI EGLBoolean EGLAPIENTRY eglReleaseThread (void); EGLAPI EGLBoolean EGLAPIENTRY eglWaitClient (void); +#endif #endif /* EGL_VERSION_1_2 */ #ifndef EGL_VERSION_1_3 @@ -224,7 +248,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglWaitClient (void); #ifndef EGL_VERSION_1_4 #define EGL_VERSION_1_4 1 -#define EGL_DEFAULT_DISPLAY ((EGLNativeDisplayType)0) +#define EGL_DEFAULT_DISPLAY EGL_CAST(EGLNativeDisplayType,0) #define EGL_MULTISAMPLE_RESOLVE_BOX_BIT 0x0200 #define EGL_MULTISAMPLE_RESOLVE 0x3099 #define EGL_MULTISAMPLE_RESOLVE_DEFAULT 0x309A @@ -232,7 +256,10 @@ EGLAPI EGLBoolean EGLAPIENTRY eglWaitClient (void); #define EGL_OPENGL_API 0x30A2 #define EGL_OPENGL_BIT 0x0008 #define EGL_SWAP_BEHAVIOR_PRESERVED_BIT 0x0400 +typedef EGLContext (EGLAPIENTRYP PFNEGLGETCURRENTCONTEXTPROC) (void); +#if EGL_EGL_PROTOTYPES EGLAPI EGLContext EGLAPIENTRY eglGetCurrentContext (void); +#endif #endif /* EGL_VERSION_1_4 */ #ifndef EGL_VERSION_1_5 @@ -266,7 +293,7 @@ typedef void *EGLImage; #define EGL_FOREVER 0xFFFFFFFFFFFFFFFFull #define EGL_TIMEOUT_EXPIRED 0x30F5 #define EGL_CONDITION_SATISFIED 0x30F6 -#define EGL_NO_SYNC ((EGLSync)0) +#define EGL_NO_SYNC EGL_CAST(EGLSync,0) #define EGL_SYNC_FENCE 0x30F9 #define EGL_GL_COLORSPACE 0x309D #define EGL_GL_COLORSPACE_SRGB 0x3089 @@ -283,7 +310,18 @@ typedef void *EGLImage; #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x30B7 #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x30B8 #define EGL_IMAGE_PRESERVED 0x30D2 -#define EGL_NO_IMAGE ((EGLImage)0) +#define EGL_NO_IMAGE EGL_CAST(EGLImage,0) +typedef EGLSync (EGLAPIENTRYP PFNEGLCREATESYNCPROC) (EGLDisplay dpy, EGLenum type, const EGLAttrib *attrib_list); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCPROC) (EGLDisplay dpy, EGLSync sync); +typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCPROC) (EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBPROC) (EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib *value); +typedef EGLImage (EGLAPIENTRYP PFNEGLCREATEIMAGEPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEPROC) (EGLDisplay dpy, EGLImage image); +typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYPROC) (EGLenum platform, void *native_display, const EGLAttrib *attrib_list); +typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMWINDOWSURFACEPROC) (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list); +typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC) (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLWAITSYNCPROC) (EGLDisplay dpy, EGLSync sync, EGLint flags); +#if EGL_EGL_PROTOTYPES EGLAPI EGLSync EGLAPIENTRY eglCreateSync (EGLDisplay dpy, EGLenum type, const EGLAttrib *attrib_list); EGLAPI EGLBoolean EGLAPIENTRY eglDestroySync (EGLDisplay dpy, EGLSync sync); EGLAPI EGLint EGLAPIENTRY eglClientWaitSync (EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout); @@ -294,6 +332,7 @@ EGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplay (EGLenum platform, void *nat EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurface (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list); EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurface (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list); EGLAPI EGLBoolean EGLAPIENTRY eglWaitSync (EGLDisplay dpy, EGLSync sync, EGLint flags); +#endif #endif /* EGL_VERSION_1_5 */ #ifdef __cplusplus diff --git a/include/EGL/eglext.h b/include/EGL/eglext.h index 8d08497..8c81099 100644 --- a/include/EGL/eglext.h +++ b/include/EGL/eglext.h @@ -6,39 +6,20 @@ extern "C" { #endif /* -** Copyright (c) 2013-2015 The Khronos Group Inc. +** Copyright 2013-2020 The Khronos Group Inc. +** SPDX-License-Identifier: Apache-2.0 ** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts +** This header is generated from the Khronos EGL XML API Registry. +** The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ +** http://www.khronos.org/registry/egl ** -** Khronos $Revision: 32097 $ on $Date: 2015-10-09 01:17:05 -0700 (Fri, 09 Oct 2015) $ +** Khronos $Git commit SHA1: 5a9a7e3fcb $ on $Git commit date: 2020-08-24 11:05:32 -0700 $ */ #include -#define EGL_EGLEXT_VERSION 20151009 +#define EGL_EGLEXT_VERSION 20201001 /* Generated C header for: * API: egl @@ -77,6 +58,13 @@ EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSync64KHR (EGLDisplay dpy, EGLenum type, #define EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR 0x0040 #endif /* EGL_KHR_config_attribs */ +#ifndef EGL_KHR_context_flush_control +#define EGL_KHR_context_flush_control 1 +#define EGL_CONTEXT_RELEASE_BEHAVIOR_NONE_KHR 0 +#define EGL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x2097 +#define EGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x2098 +#endif /* EGL_KHR_context_flush_control */ + #ifndef EGL_KHR_create_context #define EGL_KHR_create_context 1 #define EGL_CONTEXT_MAJOR_VERSION_KHR 0x3098 @@ -126,6 +114,15 @@ EGLAPI EGLint EGLAPIENTRY eglLabelObjectKHR (EGLDisplay display, EGLenum objectT #endif #endif /* EGL_KHR_debug */ +#ifndef EGL_KHR_display_reference +#define EGL_KHR_display_reference 1 +#define EGL_TRACK_REFERENCES_KHR 0x3352 +typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBKHRPROC) (EGLDisplay dpy, EGLint name, EGLAttrib *value); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribKHR (EGLDisplay dpy, EGLint name, EGLAttrib *value); +#endif +#endif /* EGL_KHR_display_reference */ + #ifndef EGL_KHR_fence_sync #define EGL_KHR_fence_sync 1 typedef khronos_utime_nanoseconds_t EGLTimeKHR; @@ -188,7 +185,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sy #define EGL_KHR_image 1 typedef void *EGLImageKHR; #define EGL_NATIVE_PIXMAP_KHR 0x30B0 -#define EGL_NO_IMAGE_KHR ((EGLImageKHR)0) +#define EGL_NO_IMAGE_KHR EGL_CAST(EGLImageKHR,0) typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); #ifdef EGL_EGLEXT_PROTOTYPES @@ -250,6 +247,16 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface64KHR (EGLDisplay dpy, EGLSurface s #endif #endif /* EGL_KHR_lock_surface3 */ +#ifndef EGL_KHR_mutable_render_buffer +#define EGL_KHR_mutable_render_buffer 1 +#define EGL_MUTABLE_RENDER_BUFFER_BIT_KHR 0x1000 +#endif /* EGL_KHR_mutable_render_buffer */ + +#ifndef EGL_KHR_no_config_context +#define EGL_KHR_no_config_context 1 +#define EGL_NO_CONFIG_KHR EGL_CAST(EGLConfig,0) +#endif /* EGL_KHR_no_config_context */ + #ifndef EGL_KHR_partial_update #define EGL_KHR_partial_update 1 #define EGL_BUFFER_AGE_KHR 0x313D @@ -292,7 +299,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface #define EGL_SYNC_REUSABLE_KHR 0x30FA #define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001 #define EGL_FOREVER_KHR 0xFFFFFFFFFFFFFFFFull -#define EGL_NO_SYNC_KHR ((EGLSyncKHR)0) +#define EGL_NO_SYNC_KHR EGL_CAST(EGLSyncKHR,0) typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); #ifdef EGL_EGLEXT_PROTOTYPES EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); @@ -305,7 +312,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, typedef void *EGLStreamKHR; typedef khronos_uint64_t EGLuint64KHR; #ifdef KHRONOS_SUPPORT_INT64 -#define EGL_NO_STREAM_KHR ((EGLStreamKHR)0) +#define EGL_NO_STREAM_KHR EGL_CAST(EGLStreamKHR,0) #define EGL_CONSUMER_LATENCY_USEC_KHR 0x3210 #define EGL_PRODUCER_FRAME_KHR 0x3212 #define EGL_CONSUMER_FRAME_KHR 0x3213 @@ -333,6 +340,24 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR #endif /* KHRONOS_SUPPORT_INT64 */ #endif /* EGL_KHR_stream */ +#ifndef EGL_KHR_stream_attrib +#define EGL_KHR_stream_attrib 1 +#ifdef KHRONOS_SUPPORT_INT64 +typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMATTRIBKHRPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib value); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib *value); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamAttribKHR (EGLDisplay dpy, const EGLAttrib *attrib_list); +EGLAPI EGLBoolean EGLAPIENTRY eglSetStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib value); +EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib *value); +EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); +EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); +#endif +#endif /* KHRONOS_SUPPORT_INT64 */ +#endif /* EGL_KHR_stream_attrib */ + #ifndef EGL_KHR_stream_consumer_gltexture #define EGL_KHR_stream_consumer_gltexture 1 #ifdef EGL_KHR_stream @@ -352,7 +377,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLSt #define EGL_KHR_stream_cross_process_fd 1 typedef int EGLNativeFileDescriptorKHR; #ifdef EGL_KHR_stream -#define EGL_NO_FILE_DESCRIPTOR_KHR ((EGLNativeFileDescriptorKHR)(-1)) +#define EGL_NO_FILE_DESCRIPTOR_KHR EGL_CAST(EGLNativeFileDescriptorKHR,-1) typedef EGLNativeFileDescriptorKHR (EGLAPIENTRYP PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); #ifdef EGL_EGLEXT_PROTOTYPES @@ -399,9 +424,9 @@ EGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, #ifndef EGL_KHR_swap_buffers_with_damage #define EGL_KHR_swap_buffers_with_damage 1 -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); #ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); +EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); #endif #endif /* EGL_KHR_swap_buffers_with_damage */ @@ -418,6 +443,10 @@ EGLAPI EGLint EGLAPIENTRY eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLin #endif #endif /* EGL_KHR_wait_sync */ +#ifndef EGL_ANDROID_GLES_layers +#define EGL_ANDROID_GLES_layers 1 +#endif /* EGL_ANDROID_GLES_layers */ + #ifndef EGL_ANDROID_blob_cache #define EGL_ANDROID_blob_cache 1 typedef khronos_ssize_t EGLsizeiANDROID; @@ -429,11 +458,69 @@ EGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID (EGLDisplay dpy, EGLSetBlobF #endif #endif /* EGL_ANDROID_blob_cache */ +#ifndef EGL_ANDROID_create_native_client_buffer +#define EGL_ANDROID_create_native_client_buffer 1 +#define EGL_NATIVE_BUFFER_USAGE_ANDROID 0x3143 +#define EGL_NATIVE_BUFFER_USAGE_PROTECTED_BIT_ANDROID 0x00000001 +#define EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID 0x00000002 +#define EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID 0x00000004 +typedef EGLClientBuffer (EGLAPIENTRYP PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC) (const EGLint *attrib_list); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLClientBuffer EGLAPIENTRY eglCreateNativeClientBufferANDROID (const EGLint *attrib_list); +#endif +#endif /* EGL_ANDROID_create_native_client_buffer */ + #ifndef EGL_ANDROID_framebuffer_target #define EGL_ANDROID_framebuffer_target 1 #define EGL_FRAMEBUFFER_TARGET_ANDROID 0x3147 #endif /* EGL_ANDROID_framebuffer_target */ +#ifndef EGL_ANDROID_front_buffer_auto_refresh +#define EGL_ANDROID_front_buffer_auto_refresh 1 +#define EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID 0x314C +#endif /* EGL_ANDROID_front_buffer_auto_refresh */ + +#ifndef EGL_ANDROID_get_frame_timestamps +#define EGL_ANDROID_get_frame_timestamps 1 +typedef khronos_stime_nanoseconds_t EGLnsecsANDROID; +#define EGL_TIMESTAMP_PENDING_ANDROID EGL_CAST(EGLnsecsANDROID,-2) +#define EGL_TIMESTAMP_INVALID_ANDROID EGL_CAST(EGLnsecsANDROID,-1) +#define EGL_TIMESTAMPS_ANDROID 0x3430 +#define EGL_COMPOSITE_DEADLINE_ANDROID 0x3431 +#define EGL_COMPOSITE_INTERVAL_ANDROID 0x3432 +#define EGL_COMPOSITE_TO_PRESENT_LATENCY_ANDROID 0x3433 +#define EGL_REQUESTED_PRESENT_TIME_ANDROID 0x3434 +#define EGL_RENDERING_COMPLETE_TIME_ANDROID 0x3435 +#define EGL_COMPOSITION_LATCH_TIME_ANDROID 0x3436 +#define EGL_FIRST_COMPOSITION_START_TIME_ANDROID 0x3437 +#define EGL_LAST_COMPOSITION_START_TIME_ANDROID 0x3438 +#define EGL_FIRST_COMPOSITION_GPU_FINISHED_TIME_ANDROID 0x3439 +#define EGL_DISPLAY_PRESENT_TIME_ANDROID 0x343A +#define EGL_DEQUEUE_READY_TIME_ANDROID 0x343B +#define EGL_READS_DONE_TIME_ANDROID 0x343C +typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLint name); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETCOMPOSITORTIMINGANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numTimestamps, const EGLint *names, EGLnsecsANDROID *values); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETNEXTFRAMEIDANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR *frameId); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLint timestamp); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETFRAMETIMESTAMPSANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR frameId, EGLint numTimestamps, const EGLint *timestamps, EGLnsecsANDROID *values); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLBoolean EGLAPIENTRY eglGetCompositorTimingSupportedANDROID (EGLDisplay dpy, EGLSurface surface, EGLint name); +EGLAPI EGLBoolean EGLAPIENTRY eglGetCompositorTimingANDROID (EGLDisplay dpy, EGLSurface surface, EGLint numTimestamps, const EGLint *names, EGLnsecsANDROID *values); +EGLAPI EGLBoolean EGLAPIENTRY eglGetNextFrameIdANDROID (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR *frameId); +EGLAPI EGLBoolean EGLAPIENTRY eglGetFrameTimestampSupportedANDROID (EGLDisplay dpy, EGLSurface surface, EGLint timestamp); +EGLAPI EGLBoolean EGLAPIENTRY eglGetFrameTimestampsANDROID (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR frameId, EGLint numTimestamps, const EGLint *timestamps, EGLnsecsANDROID *values); +#endif +#endif /* EGL_ANDROID_get_frame_timestamps */ + +#ifndef EGL_ANDROID_get_native_client_buffer +#define EGL_ANDROID_get_native_client_buffer 1 +struct AHardwareBuffer; +typedef EGLClientBuffer (EGLAPIENTRYP PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC) (const struct AHardwareBuffer *buffer); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLClientBuffer EGLAPIENTRY eglGetNativeClientBufferANDROID (const struct AHardwareBuffer *buffer); +#endif +#endif /* EGL_ANDROID_get_native_client_buffer */ + #ifndef EGL_ANDROID_image_native_buffer #define EGL_ANDROID_image_native_buffer 1 #define EGL_NATIVE_BUFFER_ANDROID 0x3140 @@ -451,6 +538,14 @@ EGLAPI EGLint EGLAPIENTRY eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR #endif #endif /* EGL_ANDROID_native_fence_sync */ +#ifndef EGL_ANDROID_presentation_time +#define EGL_ANDROID_presentation_time 1 +typedef EGLBoolean (EGLAPIENTRYP PFNEGLPRESENTATIONTIMEANDROIDPROC) (EGLDisplay dpy, EGLSurface surface, EGLnsecsANDROID time); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLBoolean EGLAPIENTRY eglPresentationTimeANDROID (EGLDisplay dpy, EGLSurface surface, EGLnsecsANDROID time); +#endif +#endif /* EGL_ANDROID_presentation_time */ + #ifndef EGL_ANDROID_recordable #define EGL_ANDROID_recordable 1 #define EGL_RECORDABLE_ANDROID 0x3142 @@ -479,16 +574,40 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSu #define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1 #endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */ +#ifndef EGL_ANGLE_sync_control_rate +#define EGL_ANGLE_sync_control_rate 1 +typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETMSCRATEANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *numerator, EGLint *denominator); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLBoolean EGLAPIENTRY eglGetMscRateANGLE(EGLDisplay dpy, EGLSurface surface, EGLint *numerator, EGLint *denominator); +#endif +#endif /* EGL_ANGLE_sync_control_rate */ + #ifndef EGL_ANGLE_window_fixed_size #define EGL_ANGLE_window_fixed_size 1 #define EGL_FIXED_SIZE_ANGLE 0x3201 #endif /* EGL_ANGLE_window_fixed_size */ +#ifndef EGL_ARM_image_format +#define EGL_ARM_image_format 1 +#define EGL_COLOR_COMPONENT_TYPE_UNSIGNED_INTEGER_ARM 0x3287 +#define EGL_COLOR_COMPONENT_TYPE_INTEGER_ARM 0x3288 +#endif /* EGL_ARM_image_format */ + +#ifndef EGL_ARM_implicit_external_sync +#define EGL_ARM_implicit_external_sync 1 +#define EGL_SYNC_PRIOR_COMMANDS_IMPLICIT_EXTERNAL_ARM 0x328A +#endif /* EGL_ARM_implicit_external_sync */ + #ifndef EGL_ARM_pixmap_multisample_discard #define EGL_ARM_pixmap_multisample_discard 1 #define EGL_DISCARD_SAMPLES_ARM 0x3286 #endif /* EGL_ARM_pixmap_multisample_discard */ +#ifndef EGL_EXT_bind_to_front +#define EGL_EXT_bind_to_front 1 +#define EGL_FRONT_BUFFER_EXT 0x3464 +#endif /* EGL_EXT_bind_to_front */ + #ifndef EGL_EXT_buffer_age #define EGL_EXT_buffer_age 1 #define EGL_BUFFER_AGE_EXT 0x313D @@ -498,6 +617,40 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSu #define EGL_EXT_client_extensions 1 #endif /* EGL_EXT_client_extensions */ +#ifndef EGL_EXT_client_sync +#define EGL_EXT_client_sync 1 +#define EGL_SYNC_CLIENT_EXT 0x3364 +#define EGL_SYNC_CLIENT_SIGNAL_EXT 0x3365 +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCLIENTSIGNALSYNCEXTPROC) (EGLDisplay dpy, EGLSync sync, const EGLAttrib *attrib_list); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLBoolean EGLAPIENTRY eglClientSignalSyncEXT (EGLDisplay dpy, EGLSync sync, const EGLAttrib *attrib_list); +#endif +#endif /* EGL_EXT_client_sync */ + +#ifndef EGL_EXT_compositor +#define EGL_EXT_compositor 1 +#define EGL_PRIMARY_COMPOSITOR_CONTEXT_EXT 0x3460 +#define EGL_EXTERNAL_REF_ID_EXT 0x3461 +#define EGL_COMPOSITOR_DROP_NEWEST_FRAME_EXT 0x3462 +#define EGL_COMPOSITOR_KEEP_NEWEST_FRAME_EXT 0x3463 +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC) (const EGLint *external_ref_ids, EGLint num_entries); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC) (EGLint external_ref_id, const EGLint *context_attributes, EGLint num_entries); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC) (EGLint external_ref_id, const EGLint *external_win_ids, EGLint num_entries); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC) (EGLint external_win_id, const EGLint *window_attributes, EGLint num_entries); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC) (EGLint external_win_id); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETSIZEEXTPROC) (EGLint external_win_id, EGLint width, EGLint height); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSWAPPOLICYEXTPROC) (EGLint external_win_id, EGLint policy); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetContextListEXT (const EGLint *external_ref_ids, EGLint num_entries); +EGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetContextAttributesEXT (EGLint external_ref_id, const EGLint *context_attributes, EGLint num_entries); +EGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetWindowListEXT (EGLint external_ref_id, const EGLint *external_win_ids, EGLint num_entries); +EGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetWindowAttributesEXT (EGLint external_win_id, const EGLint *window_attributes, EGLint num_entries); +EGLAPI EGLBoolean EGLAPIENTRY eglCompositorBindTexWindowEXT (EGLint external_win_id); +EGLAPI EGLBoolean EGLAPIENTRY eglCompositorSetSizeEXT (EGLint external_win_id, EGLint width, EGLint height); +EGLAPI EGLBoolean EGLAPIENTRY eglCompositorSwapPolicyEXT (EGLint external_win_id, EGLint policy); +#endif +#endif /* EGL_EXT_compositor */ + #ifndef EGL_EXT_create_context_robustness #define EGL_EXT_create_context_robustness 1 #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF @@ -509,7 +662,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSu #ifndef EGL_EXT_device_base #define EGL_EXT_device_base 1 typedef void *EGLDeviceEXT; -#define EGL_NO_DEVICE_EXT ((EGLDeviceEXT)(0)) +#define EGL_NO_DEVICE_EXT EGL_CAST(EGLDeviceEXT,0) #define EGL_BAD_DEVICE_EXT 0x322B #define EGL_DEVICE_EXT 0x322C typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICEATTRIBEXTPROC) (EGLDeviceEXT device, EGLint attribute, EGLAttrib *value); @@ -527,6 +680,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint a #ifndef EGL_EXT_device_drm #define EGL_EXT_device_drm 1 #define EGL_DRM_DEVICE_FILE_EXT 0x3233 +#define EGL_DRM_MASTER_FD_EXT 0x333C #endif /* EGL_EXT_device_drm */ #ifndef EGL_EXT_device_enumeration @@ -542,6 +696,46 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint a #define EGL_EXT_device_query 1 #endif /* EGL_EXT_device_query */ +#ifndef EGL_EXT_device_query_name +#define EGL_EXT_device_query_name 1 +#define EGL_RENDERER_EXT 0x335F +#endif /* EGL_EXT_device_query_name */ + +#ifndef EGL_EXT_gl_colorspace_bt2020_linear +#define EGL_EXT_gl_colorspace_bt2020_linear 1 +#define EGL_GL_COLORSPACE_BT2020_LINEAR_EXT 0x333F +#endif /* EGL_EXT_gl_colorspace_bt2020_linear */ + +#ifndef EGL_EXT_gl_colorspace_bt2020_pq +#define EGL_EXT_gl_colorspace_bt2020_pq 1 +#define EGL_GL_COLORSPACE_BT2020_PQ_EXT 0x3340 +#endif /* EGL_EXT_gl_colorspace_bt2020_pq */ + +#ifndef EGL_EXT_gl_colorspace_display_p3 +#define EGL_EXT_gl_colorspace_display_p3 1 +#define EGL_GL_COLORSPACE_DISPLAY_P3_EXT 0x3363 +#endif /* EGL_EXT_gl_colorspace_display_p3 */ + +#ifndef EGL_EXT_gl_colorspace_display_p3_linear +#define EGL_EXT_gl_colorspace_display_p3_linear 1 +#define EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT 0x3362 +#endif /* EGL_EXT_gl_colorspace_display_p3_linear */ + +#ifndef EGL_EXT_gl_colorspace_display_p3_passthrough +#define EGL_EXT_gl_colorspace_display_p3_passthrough 1 +#define EGL_GL_COLORSPACE_DISPLAY_P3_PASSTHROUGH_EXT 0x3490 +#endif /* EGL_EXT_gl_colorspace_display_p3_passthrough */ + +#ifndef EGL_EXT_gl_colorspace_scrgb +#define EGL_EXT_gl_colorspace_scrgb 1 +#define EGL_GL_COLORSPACE_SCRGB_EXT 0x3351 +#endif /* EGL_EXT_gl_colorspace_scrgb */ + +#ifndef EGL_EXT_gl_colorspace_scrgb_linear +#define EGL_EXT_gl_colorspace_scrgb_linear 1 +#define EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT 0x3350 +#endif /* EGL_EXT_gl_colorspace_scrgb_linear */ + #ifndef EGL_EXT_image_dma_buf_import #define EGL_EXT_image_dma_buf_import 1 #define EGL_LINUX_DMA_BUF_EXT 0x3270 @@ -568,6 +762,39 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint a #define EGL_YUV_CHROMA_SITING_0_5_EXT 0x3285 #endif /* EGL_EXT_image_dma_buf_import */ +#ifndef EGL_EXT_image_dma_buf_import_modifiers +#define EGL_EXT_image_dma_buf_import_modifiers 1 +#define EGL_DMA_BUF_PLANE3_FD_EXT 0x3440 +#define EGL_DMA_BUF_PLANE3_OFFSET_EXT 0x3441 +#define EGL_DMA_BUF_PLANE3_PITCH_EXT 0x3442 +#define EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT 0x3443 +#define EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT 0x3444 +#define EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT 0x3445 +#define EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT 0x3446 +#define EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT 0x3447 +#define EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT 0x3448 +#define EGL_DMA_BUF_PLANE3_MODIFIER_LO_EXT 0x3449 +#define EGL_DMA_BUF_PLANE3_MODIFIER_HI_EXT 0x344A +typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDMABUFFORMATSEXTPROC) (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDMABUFMODIFIERSEXTPROC) (EGLDisplay dpy, EGLint format, EGLint max_modifiers, EGLuint64KHR *modifiers, EGLBoolean *external_only, EGLint *num_modifiers); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLBoolean EGLAPIENTRY eglQueryDmaBufFormatsEXT (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats); +EGLAPI EGLBoolean EGLAPIENTRY eglQueryDmaBufModifiersEXT (EGLDisplay dpy, EGLint format, EGLint max_modifiers, EGLuint64KHR *modifiers, EGLBoolean *external_only, EGLint *num_modifiers); +#endif +#endif /* EGL_EXT_image_dma_buf_import_modifiers */ + +#ifndef EGL_EXT_image_gl_colorspace +#define EGL_EXT_image_gl_colorspace 1 +#define EGL_GL_COLORSPACE_DEFAULT_EXT 0x314D +#endif /* EGL_EXT_image_gl_colorspace */ + +#ifndef EGL_EXT_image_implicit_sync_control +#define EGL_EXT_image_implicit_sync_control 1 +#define EGL_IMPORT_SYNC_TYPE_EXT 0x3470 +#define EGL_IMPORT_IMPLICIT_SYNC_EXT 0x3471 +#define EGL_IMPORT_EXPLICIT_SYNC_EXT 0x3472 +#endif /* EGL_EXT_image_implicit_sync_control */ + #ifndef EGL_EXT_multiview_window #define EGL_EXT_multiview_window 1 #define EGL_MULTIVIEW_VIEW_COUNT_EXT 0x3134 @@ -577,8 +804,8 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint a #define EGL_EXT_output_base 1 typedef void *EGLOutputLayerEXT; typedef void *EGLOutputPortEXT; -#define EGL_NO_OUTPUT_LAYER_EXT ((EGLOutputLayerEXT)0) -#define EGL_NO_OUTPUT_PORT_EXT ((EGLOutputPortEXT)0) +#define EGL_NO_OUTPUT_LAYER_EXT EGL_CAST(EGLOutputLayerEXT,0) +#define EGL_NO_OUTPUT_PORT_EXT EGL_CAST(EGLOutputPortEXT,0) #define EGL_BAD_OUTPUT_LAYER_EXT 0x322D #define EGL_BAD_OUTPUT_PORT_EXT 0x322E #define EGL_SWAP_INTERVAL_EXT 0x322F @@ -615,6 +842,13 @@ EGLAPI const char *EGLAPIENTRY eglQueryOutputPortStringEXT (EGLDisplay dpy, EGLO #define EGL_OPENWF_PORT_ID_EXT 0x3239 #endif /* EGL_EXT_output_openwf */ +#ifndef EGL_EXT_pixel_format_float +#define EGL_EXT_pixel_format_float 1 +#define EGL_COLOR_COMPONENT_TYPE_EXT 0x3339 +#define EGL_COLOR_COMPONENT_TYPE_FIXED_EXT 0x333A +#define EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT 0x333B +#endif /* EGL_EXT_pixel_format_float */ + #ifndef EGL_EXT_platform_base #define EGL_EXT_platform_base 1 typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC) (EGLenum platform, void *native_display, const EGLint *attrib_list); @@ -643,9 +877,19 @@ EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, #define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6 #endif /* EGL_EXT_platform_x11 */ +#ifndef EGL_EXT_platform_xcb +#define EGL_EXT_platform_xcb 1 +#define EGL_PLATFORM_XCB_EXT 0x31DC +#define EGL_PLATFORM_XCB_SCREEN_EXT 0x31DE +#endif /* EGL_EXT_platform_xcb */ + +#ifndef EGL_EXT_protected_content +#define EGL_EXT_protected_content 1 +#define EGL_PROTECTED_CONTENT_EXT 0x32C0 +#endif /* EGL_EXT_protected_content */ + #ifndef EGL_EXT_protected_surface #define EGL_EXT_protected_surface 1 -#define EGL_PROTECTED_CONTENT_EXT 0x32C0 #endif /* EGL_EXT_protected_surface */ #ifndef EGL_EXT_stream_consumer_egloutput @@ -656,14 +900,43 @@ EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStr #endif #endif /* EGL_EXT_stream_consumer_egloutput */ +#ifndef EGL_EXT_surface_CTA861_3_metadata +#define EGL_EXT_surface_CTA861_3_metadata 1 +#define EGL_CTA861_3_MAX_CONTENT_LIGHT_LEVEL_EXT 0x3360 +#define EGL_CTA861_3_MAX_FRAME_AVERAGE_LEVEL_EXT 0x3361 +#endif /* EGL_EXT_surface_CTA861_3_metadata */ + +#ifndef EGL_EXT_surface_SMPTE2086_metadata +#define EGL_EXT_surface_SMPTE2086_metadata 1 +#define EGL_SMPTE2086_DISPLAY_PRIMARY_RX_EXT 0x3341 +#define EGL_SMPTE2086_DISPLAY_PRIMARY_RY_EXT 0x3342 +#define EGL_SMPTE2086_DISPLAY_PRIMARY_GX_EXT 0x3343 +#define EGL_SMPTE2086_DISPLAY_PRIMARY_GY_EXT 0x3344 +#define EGL_SMPTE2086_DISPLAY_PRIMARY_BX_EXT 0x3345 +#define EGL_SMPTE2086_DISPLAY_PRIMARY_BY_EXT 0x3346 +#define EGL_SMPTE2086_WHITE_POINT_X_EXT 0x3347 +#define EGL_SMPTE2086_WHITE_POINT_Y_EXT 0x3348 +#define EGL_SMPTE2086_MAX_LUMINANCE_EXT 0x3349 +#define EGL_SMPTE2086_MIN_LUMINANCE_EXT 0x334A +#define EGL_METADATA_SCALING_EXT 50000 +#endif /* EGL_EXT_surface_SMPTE2086_metadata */ + #ifndef EGL_EXT_swap_buffers_with_damage #define EGL_EXT_swap_buffers_with_damage 1 -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); #ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); +EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); #endif #endif /* EGL_EXT_swap_buffers_with_damage */ +#ifndef EGL_EXT_sync_reuse +#define EGL_EXT_sync_reuse 1 +typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNSIGNALSYNCEXTPROC) (EGLDisplay dpy, EGLSync sync, const EGLAttrib *attrib_list); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLBoolean EGLAPIENTRY eglUnsignalSyncEXT (EGLDisplay dpy, EGLSync sync, const EGLAttrib *attrib_list); +#endif +#endif /* EGL_EXT_sync_reuse */ + #ifndef EGL_EXT_yuv_surface #define EGL_EXT_yuv_surface 1 #define EGL_YUV_ORDER_EXT 0x3301 @@ -724,6 +997,12 @@ EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfi #define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103 #endif /* EGL_IMG_context_priority */ +#ifndef EGL_IMG_image_plane_attribs +#define EGL_IMG_image_plane_attribs 1 +#define EGL_NATIVE_BUFFER_MULTIPLANE_SEPARATE_IMG 0x3105 +#define EGL_NATIVE_BUFFER_PLANE_OFFSET_IMG 0x3106 +#endif /* EGL_IMG_image_plane_attribs */ + #ifndef EGL_MESA_drm_image #define EGL_MESA_drm_image 1 #define EGL_DRM_BUFFER_FORMAT_MESA 0x31D0 @@ -733,6 +1012,7 @@ EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfi #define EGL_DRM_BUFFER_STRIDE_MESA 0x31D4 #define EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x00000001 #define EGL_DRM_BUFFER_USE_SHARE_MESA 0x00000002 +#define EGL_DRM_BUFFER_USE_CURSOR_MESA 0x00000004 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay dpy, const EGLint *attrib_list); typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDRMIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride); #ifdef EGL_EGLEXT_PROTOTYPES @@ -756,6 +1036,21 @@ EGLAPI EGLBoolean EGLAPIENTRY eglExportDMABUFImageMESA (EGLDisplay dpy, EGLImage #define EGL_PLATFORM_GBM_MESA 0x31D7 #endif /* EGL_MESA_platform_gbm */ +#ifndef EGL_MESA_platform_surfaceless +#define EGL_MESA_platform_surfaceless 1 +#define EGL_PLATFORM_SURFACELESS_MESA 0x31DD +#endif /* EGL_MESA_platform_surfaceless */ + +#ifndef EGL_MESA_query_driver +#define EGL_MESA_query_driver 1 +typedef char *(EGLAPIENTRYP PFNEGLGETDISPLAYDRIVERCONFIGPROC) (EGLDisplay dpy); +typedef const char *(EGLAPIENTRYP PFNEGLGETDISPLAYDRIVERNAMEPROC) (EGLDisplay dpy); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI char *EGLAPIENTRY eglGetDisplayDriverConfig (EGLDisplay dpy); +EGLAPI const char *EGLAPIENTRY eglGetDisplayDriverName (EGLDisplay dpy); +#endif +#endif /* EGL_MESA_query_driver */ + #ifndef EGL_NOK_swap_region #define EGL_NOK_swap_region 1 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); @@ -782,6 +1077,11 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurfa #define EGL_AUTO_STEREO_NV 0x3136 #endif /* EGL_NV_3dvision_surface */ +#ifndef EGL_NV_context_priority_realtime +#define EGL_NV_context_priority_realtime 1 +#define EGL_CONTEXT_PRIORITY_REALTIME_NV 0x3357 +#endif /* EGL_NV_context_priority_realtime */ + #ifndef EGL_NV_coverage_sample #define EGL_NV_coverage_sample 1 #define EGL_COVERAGE_BUFFERS_NV 0x30E0 @@ -839,17 +1139,101 @@ EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface sur #endif #endif /* EGL_NV_post_sub_buffer */ +#ifndef EGL_NV_quadruple_buffer +#define EGL_NV_quadruple_buffer 1 +#define EGL_QUADRUPLE_BUFFER_NV 0x3231 +#endif /* EGL_NV_quadruple_buffer */ + +#ifndef EGL_NV_robustness_video_memory_purge +#define EGL_NV_robustness_video_memory_purge 1 +#define EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV 0x334C +#endif /* EGL_NV_robustness_video_memory_purge */ + +#ifndef EGL_NV_stream_consumer_eglimage +#define EGL_NV_stream_consumer_eglimage 1 +#define EGL_STREAM_CONSUMER_IMAGE_NV 0x3373 +#define EGL_STREAM_IMAGE_ADD_NV 0x3374 +#define EGL_STREAM_IMAGE_REMOVE_NV 0x3375 +#define EGL_STREAM_IMAGE_AVAILABLE_NV 0x3376 +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, EGLuint64KHR *modifiers, EGLAttrib *attrib_list); +typedef EGLint (EGLAPIENTRYP PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMACQUIREIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMRELEASEIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLBoolean EGLAPIENTRY eglStreamImageConsumerConnectNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, EGLuint64KHR *modifiers, EGLAttrib *attrib_list); +EGLAPI EGLint EGLAPIENTRY eglQueryStreamConsumerEventNV (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux); +EGLAPI EGLBoolean EGLAPIENTRY eglStreamAcquireImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync); +EGLAPI EGLBoolean EGLAPIENTRY eglStreamReleaseImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync); +#endif +#endif /* EGL_NV_stream_consumer_eglimage */ + #ifndef EGL_NV_stream_consumer_gltexture_yuv #define EGL_NV_stream_consumer_gltexture_yuv 1 #define EGL_YUV_PLANE0_TEXTURE_UNIT_NV 0x332C #define EGL_YUV_PLANE1_TEXTURE_UNIT_NV 0x332D #define EGL_YUV_PLANE2_TEXTURE_UNIT_NV 0x332E -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLAttrib *attrib_list); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); #ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalAttribsNV (EGLDisplay dpy, EGLStreamKHR stream, EGLAttrib *attrib_list); +EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalAttribsNV (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib *attrib_list); #endif #endif /* EGL_NV_stream_consumer_gltexture_yuv */ +#ifndef EGL_NV_stream_cross_display +#define EGL_NV_stream_cross_display 1 +#define EGL_STREAM_CROSS_DISPLAY_NV 0x334E +#endif /* EGL_NV_stream_cross_display */ + +#ifndef EGL_NV_stream_cross_object +#define EGL_NV_stream_cross_object 1 +#define EGL_STREAM_CROSS_OBJECT_NV 0x334D +#endif /* EGL_NV_stream_cross_object */ + +#ifndef EGL_NV_stream_cross_partition +#define EGL_NV_stream_cross_partition 1 +#define EGL_STREAM_CROSS_PARTITION_NV 0x323F +#endif /* EGL_NV_stream_cross_partition */ + +#ifndef EGL_NV_stream_cross_process +#define EGL_NV_stream_cross_process 1 +#define EGL_STREAM_CROSS_PROCESS_NV 0x3245 +#endif /* EGL_NV_stream_cross_process */ + +#ifndef EGL_NV_stream_cross_system +#define EGL_NV_stream_cross_system 1 +#define EGL_STREAM_CROSS_SYSTEM_NV 0x334F +#endif /* EGL_NV_stream_cross_system */ + +#ifndef EGL_NV_stream_dma +#define EGL_NV_stream_dma 1 +#define EGL_STREAM_DMA_NV 0x3371 +#define EGL_STREAM_DMA_SERVER_NV 0x3372 +#endif /* EGL_NV_stream_dma */ + +#ifndef EGL_NV_stream_fifo_next +#define EGL_NV_stream_fifo_next 1 +#define EGL_PENDING_FRAME_NV 0x3329 +#define EGL_STREAM_TIME_PENDING_NV 0x332A +#endif /* EGL_NV_stream_fifo_next */ + +#ifndef EGL_NV_stream_fifo_synchronous +#define EGL_NV_stream_fifo_synchronous 1 +#define EGL_STREAM_FIFO_SYNCHRONOUS_NV 0x3336 +#endif /* EGL_NV_stream_fifo_synchronous */ + +#ifndef EGL_NV_stream_flush +#define EGL_NV_stream_flush 1 +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMFLUSHNVPROC) (EGLDisplay dpy, EGLStreamKHR stream); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLBoolean EGLAPIENTRY eglStreamFlushNV (EGLDisplay dpy, EGLStreamKHR stream); +#endif +#endif /* EGL_NV_stream_flush */ + +#ifndef EGL_NV_stream_frame_limits +#define EGL_NV_stream_frame_limits 1 +#define EGL_PRODUCER_MAX_FRAME_HINT_NV 0x3337 +#define EGL_CONSUMER_MAX_FRAME_HINT_NV 0x3338 +#endif /* EGL_NV_stream_frame_limits */ + #ifndef EGL_NV_stream_metadata #define EGL_NV_stream_metadata 1 #define EGL_MAX_STREAM_METADATA_BLOCKS_NV 0x3250 @@ -876,6 +1260,60 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamMetadataNV (EGLDisplay dpy, EGLStrea #endif #endif /* EGL_NV_stream_metadata */ +#ifndef EGL_NV_stream_origin +#define EGL_NV_stream_origin 1 +#define EGL_STREAM_FRAME_ORIGIN_X_NV 0x3366 +#define EGL_STREAM_FRAME_ORIGIN_Y_NV 0x3367 +#define EGL_STREAM_FRAME_MAJOR_AXIS_NV 0x3368 +#define EGL_CONSUMER_AUTO_ORIENTATION_NV 0x3369 +#define EGL_PRODUCER_AUTO_ORIENTATION_NV 0x336A +#define EGL_LEFT_NV 0x336B +#define EGL_RIGHT_NV 0x336C +#define EGL_TOP_NV 0x336D +#define EGL_BOTTOM_NV 0x336E +#define EGL_X_AXIS_NV 0x336F +#define EGL_Y_AXIS_NV 0x3370 +#endif /* EGL_NV_stream_origin */ + +#ifndef EGL_NV_stream_remote +#define EGL_NV_stream_remote 1 +#define EGL_STREAM_STATE_INITIALIZING_NV 0x3240 +#define EGL_STREAM_TYPE_NV 0x3241 +#define EGL_STREAM_PROTOCOL_NV 0x3242 +#define EGL_STREAM_ENDPOINT_NV 0x3243 +#define EGL_STREAM_LOCAL_NV 0x3244 +#define EGL_STREAM_PRODUCER_NV 0x3247 +#define EGL_STREAM_CONSUMER_NV 0x3248 +#define EGL_STREAM_PROTOCOL_FD_NV 0x3246 +#endif /* EGL_NV_stream_remote */ + +#ifndef EGL_NV_stream_reset +#define EGL_NV_stream_reset 1 +#define EGL_SUPPORT_RESET_NV 0x3334 +#define EGL_SUPPORT_REUSE_NV 0x3335 +typedef EGLBoolean (EGLAPIENTRYP PFNEGLRESETSTREAMNVPROC) (EGLDisplay dpy, EGLStreamKHR stream); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLBoolean EGLAPIENTRY eglResetStreamNV (EGLDisplay dpy, EGLStreamKHR stream); +#endif +#endif /* EGL_NV_stream_reset */ + +#ifndef EGL_NV_stream_socket +#define EGL_NV_stream_socket 1 +#define EGL_STREAM_PROTOCOL_SOCKET_NV 0x324B +#define EGL_SOCKET_HANDLE_NV 0x324C +#define EGL_SOCKET_TYPE_NV 0x324D +#endif /* EGL_NV_stream_socket */ + +#ifndef EGL_NV_stream_socket_inet +#define EGL_NV_stream_socket_inet 1 +#define EGL_SOCKET_TYPE_INET_NV 0x324F +#endif /* EGL_NV_stream_socket_inet */ + +#ifndef EGL_NV_stream_socket_unix +#define EGL_NV_stream_socket_unix 1 +#define EGL_SOCKET_TYPE_UNIX_NV 0x324E +#endif /* EGL_NV_stream_socket_unix */ + #ifndef EGL_NV_stream_sync #define EGL_NV_stream_sync 1 #define EGL_SYNC_NEW_FRAME_NV 0x321F @@ -902,7 +1340,7 @@ typedef khronos_utime_nanoseconds_t EGLTimeNV; #define EGL_SYNC_TYPE_NV 0x30ED #define EGL_SYNC_CONDITION_NV 0x30EE #define EGL_SYNC_FENCE_NV 0x30EF -#define EGL_NO_SYNC_NV ((EGLSyncNV)0) +#define EGL_NO_SYNC_NV EGL_CAST(EGLSyncNV,0) typedef EGLSyncNV (EGLAPIENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list); typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCNVPROC) (EGLSyncNV sync); typedef EGLBoolean (EGLAPIENTRYP PFNEGLFENCENVPROC) (EGLSyncNV sync); @@ -933,6 +1371,11 @@ EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void); #endif /* KHRONOS_SUPPORT_INT64 */ #endif /* EGL_NV_system_time */ +#ifndef EGL_NV_triple_buffer +#define EGL_NV_triple_buffer 1 +#define EGL_TRIPLE_BUFFER_NV 0x3230 +#endif /* EGL_NV_triple_buffer */ + #ifndef EGL_TIZEN_image_native_buffer #define EGL_TIZEN_image_native_buffer 1 #define EGL_NATIVE_BUFFER_TIZEN 0x32A0 @@ -943,6 +1386,40 @@ EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void); #define EGL_NATIVE_SURFACE_TIZEN 0x32A1 #endif /* EGL_TIZEN_image_native_surface */ +#ifndef EGL_WL_bind_wayland_display +#define EGL_WL_bind_wayland_display 1 +#define PFNEGLBINDWAYLANDDISPLAYWL PFNEGLBINDWAYLANDDISPLAYWLPROC +#define PFNEGLUNBINDWAYLANDDISPLAYWL PFNEGLUNBINDWAYLANDDISPLAYWLPROC +#define PFNEGLQUERYWAYLANDBUFFERWL PFNEGLQUERYWAYLANDBUFFERWLPROC +struct wl_display; +struct wl_resource; +#define EGL_WAYLAND_BUFFER_WL 0x31D5 +#define EGL_WAYLAND_PLANE_WL 0x31D6 +#define EGL_TEXTURE_Y_U_V_WL 0x31D7 +#define EGL_TEXTURE_Y_UV_WL 0x31D8 +#define EGL_TEXTURE_Y_XUXV_WL 0x31D9 +#define EGL_TEXTURE_EXTERNAL_WL 0x31DA +#define EGL_WAYLAND_Y_INVERTED_WL 0x31DB +typedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDWAYLANDDISPLAYWLPROC) (EGLDisplay dpy, struct wl_display *display); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNBINDWAYLANDDISPLAYWLPROC) (EGLDisplay dpy, struct wl_display *display); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWLPROC) (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLBoolean EGLAPIENTRY eglBindWaylandDisplayWL (EGLDisplay dpy, struct wl_display *display); +EGLAPI EGLBoolean EGLAPIENTRY eglUnbindWaylandDisplayWL (EGLDisplay dpy, struct wl_display *display); +EGLAPI EGLBoolean EGLAPIENTRY eglQueryWaylandBufferWL (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value); +#endif +#endif /* EGL_WL_bind_wayland_display */ + +#ifndef EGL_WL_create_wayland_buffer_from_image +#define EGL_WL_create_wayland_buffer_from_image 1 +#define PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWL PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC +struct wl_buffer; +typedef struct wl_buffer *(EGLAPIENTRYP PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC) (EGLDisplay dpy, EGLImageKHR image); +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI struct wl_buffer *EGLAPIENTRY eglCreateWaylandBufferFromImageWL (EGLDisplay dpy, EGLImageKHR image); +#endif +#endif /* EGL_WL_create_wayland_buffer_from_image */ + #ifdef __cplusplus } #endif diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h index 1284089..1edbafa 100644 --- a/include/EGL/eglplatform.h +++ b/include/EGL/eglplatform.h @@ -2,36 +2,17 @@ #define __eglplatform_h_ /* -** Copyright (c) 2007-2013 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +** Copyright 2007-2020 The Khronos Group Inc. +** SPDX-License-Identifier: Apache-2.0 */ /* Platform-specific types and definitions for egl.h - * $Revision: 30994 $ on $Date: 2015-04-30 13:36:48 -0700 (Thu, 30 Apr 2015) $ * * Adopters may modify khrplatform.h and this file to suit their platform. * You are encouraged to submit all modifications to the Khronos group so that * they can be included in future versions of this file. Please submit changes - * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) - * by filing a bug against product "EGL" component "Registry". + * by filing an issue or pull request on the public Khronos EGL Registry, at + * https://www.github.com/KhronosGroup/EGL-Registry/ */ #include @@ -67,7 +48,13 @@ * implementations. */ -#if defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) /* Win32 and WinCE */ +#if defined(EGL_NO_PLATFORM_SPECIFIC_TYPES) + +typedef void *EGLNativeDisplayType; +typedef void *EGLNativePixmapType; +typedef void *EGLNativeWindowType; + +#elif defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) /* Win32 and WinCE */ #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN 1 #endif @@ -77,23 +64,52 @@ typedef HDC EGLNativeDisplayType; typedef HBITMAP EGLNativePixmapType; typedef HWND EGLNativeWindowType; -#elif defined(__APPLE__) || defined(__WINSCW__) || defined(__SYMBIAN32__) /* Symbian */ +#elif defined(__EMSCRIPTEN__) + +typedef int EGLNativeDisplayType; +typedef int EGLNativePixmapType; +typedef int EGLNativeWindowType; + +#elif defined(__WINSCW__) || defined(__SYMBIAN32__) /* Symbian */ typedef int EGLNativeDisplayType; -typedef void *EGLNativeWindowType; typedef void *EGLNativePixmapType; +typedef void *EGLNativeWindowType; -#elif defined(__ANDROID__) || defined(ANDROID) +#elif defined(WL_EGL_PLATFORM) -#include +typedef struct wl_display *EGLNativeDisplayType; +typedef struct wl_egl_pixmap *EGLNativePixmapType; +typedef struct wl_egl_window *EGLNativeWindowType; +#elif defined(__GBM__) + +typedef struct gbm_device *EGLNativeDisplayType; +typedef struct gbm_bo *EGLNativePixmapType; +typedef void *EGLNativeWindowType; + +#elif defined(__ANDROID__) || defined(ANDROID) + +struct ANativeWindow; struct egl_native_pixmap_t; -typedef struct ANativeWindow* EGLNativeWindowType; -typedef struct egl_native_pixmap_t* EGLNativePixmapType; typedef void* EGLNativeDisplayType; +typedef struct egl_native_pixmap_t* EGLNativePixmapType; +typedef struct ANativeWindow* EGLNativeWindowType; + +#elif defined(USE_OZONE) -#elif defined(__unix__) +typedef intptr_t EGLNativeDisplayType; +typedef intptr_t EGLNativePixmapType; +typedef intptr_t EGLNativeWindowType; + +#elif defined(__unix__) && defined(EGL_NO_X11) + +typedef void *EGLNativeDisplayType; +typedef khronos_uintptr_t EGLNativePixmapType; +typedef khronos_uintptr_t EGLNativeWindowType; + +#elif defined(__unix__) || defined(USE_X11) /* X11 (tentative) */ #include @@ -103,6 +119,26 @@ typedef Display *EGLNativeDisplayType; typedef Pixmap EGLNativePixmapType; typedef Window EGLNativeWindowType; +#elif defined(__APPLE__) + +typedef int EGLNativeDisplayType; +typedef void *EGLNativePixmapType; +typedef void *EGLNativeWindowType; + +#elif defined(__HAIKU__) + +#include + +typedef void *EGLNativeDisplayType; +typedef khronos_uintptr_t EGLNativePixmapType; +typedef khronos_uintptr_t EGLNativeWindowType; + +#elif defined(__Fuchsia__) + +typedef void *EGLNativeDisplayType; +typedef khronos_uintptr_t EGLNativePixmapType; +typedef khronos_uintptr_t EGLNativeWindowType; + #else #error "Platform not recognized" #endif @@ -122,4 +158,12 @@ typedef EGLNativeWindowType NativeWindowType; */ typedef khronos_int32_t EGLint; + +/* C++ / C typecast macros for special EGL handle values */ +#if defined(__cplusplus) +#define EGL_CAST(type, value) (static_cast(value)) +#else +#define EGL_CAST(type, value) ((type) (value)) +#endif + #endif /* __eglplatform_h */ diff --git a/include/GL/glcorearb.h b/include/GL/glcorearb.h index 6166c67..65d7eb0 100644 --- a/include/GL/glcorearb.h +++ b/include/GL/glcorearb.h @@ -1,39 +1,18 @@ -#ifndef __glcorearb_h_ -#define __glcorearb_h_ 1 +#ifndef __gl_glcorearb_h_ +#define __gl_glcorearb_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright (c) 2013-2015 The Khronos Group Inc. +** Copyright 2013-2020 The Khronos Group Inc. +** SPDX-License-Identifier: MIT ** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision: 32155 $ on $Date: 2015-10-22 23:25:39 -0400 (Thu, 22 Oct 2015) $ +** https://github.com/KhronosGroup/OpenGL-Registry */ #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) @@ -81,118 +60,15 @@ extern "C" { #define GL_VERSION_1_0 1 typedef void GLvoid; typedef unsigned int GLenum; -typedef float GLfloat; +#include +typedef khronos_float_t GLfloat; typedef int GLint; typedef int GLsizei; typedef unsigned int GLbitfield; typedef double GLdouble; typedef unsigned int GLuint; typedef unsigned char GLboolean; -typedef unsigned char GLubyte; -typedef void (APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); -typedef void (APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width); -typedef void (APIENTRYP PFNGLPOINTSIZEPROC) (GLfloat size); -typedef void (APIENTRYP PFNGLPOLYGONMODEPROC) (GLenum face, GLenum mode); -typedef void (APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLTEXIMAGE1DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLDRAWBUFFERPROC) (GLenum buf); -typedef void (APIENTRYP PFNGLCLEARPROC) (GLbitfield mask); -typedef void (APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -typedef void (APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s); -typedef void (APIENTRYP PFNGLCLEARDEPTHPROC) (GLdouble depth); -typedef void (APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask); -typedef void (APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -typedef void (APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag); -typedef void (APIENTRYP PFNGLDISABLEPROC) (GLenum cap); -typedef void (APIENTRYP PFNGLENABLEPROC) (GLenum cap); -typedef void (APIENTRYP PFNGLFINISHPROC) (void); -typedef void (APIENTRYP PFNGLFLUSHPROC) (void); -typedef void (APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor); -typedef void (APIENTRYP PFNGLLOGICOPPROC) (GLenum opcode); -typedef void (APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); -typedef void (APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass); -typedef void (APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func); -typedef void (APIENTRYP PFNGLPIXELSTOREFPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLREADBUFFERPROC) (GLenum src); -typedef void (APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); -typedef void (APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data); -typedef void (APIENTRYP PFNGLGETDOUBLEVPROC) (GLenum pname, GLdouble *data); -typedef GLenum (APIENTRYP PFNGLGETERRORPROC) (void); -typedef void (APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data); -typedef void (APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data); -typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGPROC) (GLenum name); -typedef void (APIENTRYP PFNGLGETTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, void *pixels); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERFVPROC) (GLenum target, GLint level, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERIVPROC) (GLenum target, GLint level, GLenum pname, GLint *params); -typedef GLboolean (APIENTRYP PFNGLISENABLEDPROC) (GLenum cap); -typedef void (APIENTRYP PFNGLDEPTHRANGEPROC) (GLdouble near, GLdouble far); -typedef void (APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCullFace (GLenum mode); -GLAPI void APIENTRY glFrontFace (GLenum mode); -GLAPI void APIENTRY glHint (GLenum target, GLenum mode); -GLAPI void APIENTRY glLineWidth (GLfloat width); -GLAPI void APIENTRY glPointSize (GLfloat size); -GLAPI void APIENTRY glPolygonMode (GLenum face, GLenum mode); -GLAPI void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); -GLAPI void APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); -GLAPI void APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glDrawBuffer (GLenum buf); -GLAPI void APIENTRY glClear (GLbitfield mask); -GLAPI void APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GLAPI void APIENTRY glClearStencil (GLint s); -GLAPI void APIENTRY glClearDepth (GLdouble depth); -GLAPI void APIENTRY glStencilMask (GLuint mask); -GLAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -GLAPI void APIENTRY glDepthMask (GLboolean flag); -GLAPI void APIENTRY glDisable (GLenum cap); -GLAPI void APIENTRY glEnable (GLenum cap); -GLAPI void APIENTRY glFinish (void); -GLAPI void APIENTRY glFlush (void); -GLAPI void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); -GLAPI void APIENTRY glLogicOp (GLenum opcode); -GLAPI void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); -GLAPI void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); -GLAPI void APIENTRY glDepthFunc (GLenum func); -GLAPI void APIENTRY glPixelStoref (GLenum pname, GLfloat param); -GLAPI void APIENTRY glPixelStorei (GLenum pname, GLint param); -GLAPI void APIENTRY glReadBuffer (GLenum src); -GLAPI void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); -GLAPI void APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); -GLAPI void APIENTRY glGetDoublev (GLenum pname, GLdouble *data); -GLAPI GLenum APIENTRY glGetError (void); -GLAPI void APIENTRY glGetFloatv (GLenum pname, GLfloat *data); -GLAPI void APIENTRY glGetIntegerv (GLenum pname, GLint *data); -GLAPI const GLubyte *APIENTRY glGetString (GLenum name); -GLAPI void APIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, void *pixels); -GLAPI void APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params); -GLAPI GLboolean APIENTRY glIsEnabled (GLenum cap); -GLAPI void APIENTRY glDepthRange (GLdouble near, GLdouble far); -GLAPI void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); -#endif -#endif /* GL_VERSION_1_0 */ - -#ifndef GL_VERSION_1_1 -#define GL_VERSION_1_1 1 -typedef float GLclampf; -typedef double GLclampd; +typedef khronos_uint8_t GLubyte; #define GL_DEPTH_BUFFER_BIT 0x00000100 #define GL_STENCIL_BUFFER_BIT 0x00000400 #define GL_COLOR_BUFFER_BIT 0x00004000 @@ -274,7 +150,6 @@ typedef double GLclampd; #define GL_BLEND_SRC 0x0BE1 #define GL_BLEND 0x0BE2 #define GL_LOGIC_OP_MODE 0x0BF0 -#define GL_COLOR_LOGIC_OP 0x0BF2 #define GL_DRAW_BUFFER 0x0C01 #define GL_READ_BUFFER 0x0C02 #define GL_SCISSOR_BOX 0x0C10 @@ -302,21 +177,9 @@ typedef double GLclampd; #define GL_SUBPIXEL_BITS 0x0D50 #define GL_TEXTURE_1D 0x0DE0 #define GL_TEXTURE_2D 0x0DE1 -#define GL_POLYGON_OFFSET_UNITS 0x2A00 -#define GL_POLYGON_OFFSET_POINT 0x2A01 -#define GL_POLYGON_OFFSET_LINE 0x2A02 -#define GL_POLYGON_OFFSET_FILL 0x8037 -#define GL_POLYGON_OFFSET_FACTOR 0x8038 -#define GL_TEXTURE_BINDING_1D 0x8068 -#define GL_TEXTURE_BINDING_2D 0x8069 #define GL_TEXTURE_WIDTH 0x1000 #define GL_TEXTURE_HEIGHT 0x1001 -#define GL_TEXTURE_INTERNAL_FORMAT 0x1003 #define GL_TEXTURE_BORDER_COLOR 0x1004 -#define GL_TEXTURE_RED_SIZE 0x805C -#define GL_TEXTURE_GREEN_SIZE 0x805D -#define GL_TEXTURE_BLUE_SIZE 0x805E -#define GL_TEXTURE_ALPHA_SIZE 0x805F #define GL_DONT_CARE 0x1100 #define GL_FASTEST 0x1101 #define GL_NICEST 0x1102 @@ -327,7 +190,6 @@ typedef double GLclampd; #define GL_INT 0x1404 #define GL_UNSIGNED_INT 0x1405 #define GL_FLOAT 0x1406 -#define GL_DOUBLE 0x140A #define GL_STACK_OVERFLOW 0x0503 #define GL_STACK_UNDERFLOW 0x0504 #define GL_CLEAR 0x1500 @@ -379,9 +241,127 @@ typedef double GLclampd; #define GL_TEXTURE_MIN_FILTER 0x2801 #define GL_TEXTURE_WRAP_S 0x2802 #define GL_TEXTURE_WRAP_T 0x2803 +#define GL_REPEAT 0x2901 +typedef void (APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); +typedef void (APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); +typedef void (APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); +typedef void (APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width); +typedef void (APIENTRYP PFNGLPOINTSIZEPROC) (GLfloat size); +typedef void (APIENTRYP PFNGLPOLYGONMODEPROC) (GLenum face, GLenum mode); +typedef void (APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLTEXIMAGE1DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLDRAWBUFFERPROC) (GLenum buf); +typedef void (APIENTRYP PFNGLCLEARPROC) (GLbitfield mask); +typedef void (APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +typedef void (APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s); +typedef void (APIENTRYP PFNGLCLEARDEPTHPROC) (GLdouble depth); +typedef void (APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask); +typedef void (APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +typedef void (APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag); +typedef void (APIENTRYP PFNGLDISABLEPROC) (GLenum cap); +typedef void (APIENTRYP PFNGLENABLEPROC) (GLenum cap); +typedef void (APIENTRYP PFNGLFINISHPROC) (void); +typedef void (APIENTRYP PFNGLFLUSHPROC) (void); +typedef void (APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor); +typedef void (APIENTRYP PFNGLLOGICOPPROC) (GLenum opcode); +typedef void (APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); +typedef void (APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass); +typedef void (APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func); +typedef void (APIENTRYP PFNGLPIXELSTOREFPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLREADBUFFERPROC) (GLenum src); +typedef void (APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); +typedef void (APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data); +typedef void (APIENTRYP PFNGLGETDOUBLEVPROC) (GLenum pname, GLdouble *data); +typedef GLenum (APIENTRYP PFNGLGETERRORPROC) (void); +typedef void (APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data); +typedef void (APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data); +typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGPROC) (GLenum name); +typedef void (APIENTRYP PFNGLGETTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, void *pixels); +typedef void (APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERFVPROC) (GLenum target, GLint level, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERIVPROC) (GLenum target, GLint level, GLenum pname, GLint *params); +typedef GLboolean (APIENTRYP PFNGLISENABLEDPROC) (GLenum cap); +typedef void (APIENTRYP PFNGLDEPTHRANGEPROC) (GLdouble n, GLdouble f); +typedef void (APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCullFace (GLenum mode); +GLAPI void APIENTRY glFrontFace (GLenum mode); +GLAPI void APIENTRY glHint (GLenum target, GLenum mode); +GLAPI void APIENTRY glLineWidth (GLfloat width); +GLAPI void APIENTRY glPointSize (GLfloat size); +GLAPI void APIENTRY glPolygonMode (GLenum face, GLenum mode); +GLAPI void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); +GLAPI void APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); +GLAPI void APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glDrawBuffer (GLenum buf); +GLAPI void APIENTRY glClear (GLbitfield mask); +GLAPI void APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GLAPI void APIENTRY glClearStencil (GLint s); +GLAPI void APIENTRY glClearDepth (GLdouble depth); +GLAPI void APIENTRY glStencilMask (GLuint mask); +GLAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +GLAPI void APIENTRY glDepthMask (GLboolean flag); +GLAPI void APIENTRY glDisable (GLenum cap); +GLAPI void APIENTRY glEnable (GLenum cap); +GLAPI void APIENTRY glFinish (void); +GLAPI void APIENTRY glFlush (void); +GLAPI void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); +GLAPI void APIENTRY glLogicOp (GLenum opcode); +GLAPI void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); +GLAPI void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); +GLAPI void APIENTRY glDepthFunc (GLenum func); +GLAPI void APIENTRY glPixelStoref (GLenum pname, GLfloat param); +GLAPI void APIENTRY glPixelStorei (GLenum pname, GLint param); +GLAPI void APIENTRY glReadBuffer (GLenum src); +GLAPI void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); +GLAPI void APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); +GLAPI void APIENTRY glGetDoublev (GLenum pname, GLdouble *data); +GLAPI GLenum APIENTRY glGetError (void); +GLAPI void APIENTRY glGetFloatv (GLenum pname, GLfloat *data); +GLAPI void APIENTRY glGetIntegerv (GLenum pname, GLint *data); +GLAPI const GLubyte *APIENTRY glGetString (GLenum name); +GLAPI void APIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, void *pixels); +GLAPI void APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params); +GLAPI GLboolean APIENTRY glIsEnabled (GLenum cap); +GLAPI void APIENTRY glDepthRange (GLdouble n, GLdouble f); +GLAPI void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); +#endif +#endif /* GL_VERSION_1_0 */ + +#ifndef GL_VERSION_1_1 +#define GL_VERSION_1_1 1 +typedef khronos_float_t GLclampf; +typedef double GLclampd; +#define GL_COLOR_LOGIC_OP 0x0BF2 +#define GL_POLYGON_OFFSET_UNITS 0x2A00 +#define GL_POLYGON_OFFSET_POINT 0x2A01 +#define GL_POLYGON_OFFSET_LINE 0x2A02 +#define GL_POLYGON_OFFSET_FILL 0x8037 +#define GL_POLYGON_OFFSET_FACTOR 0x8038 +#define GL_TEXTURE_BINDING_1D 0x8068 +#define GL_TEXTURE_BINDING_2D 0x8069 +#define GL_TEXTURE_INTERNAL_FORMAT 0x1003 +#define GL_TEXTURE_RED_SIZE 0x805C +#define GL_TEXTURE_GREEN_SIZE 0x805D +#define GL_TEXTURE_BLUE_SIZE 0x805E +#define GL_TEXTURE_ALPHA_SIZE 0x805F +#define GL_DOUBLE 0x140A #define GL_PROXY_TEXTURE_1D 0x8063 #define GL_PROXY_TEXTURE_2D 0x8064 -#define GL_REPEAT 0x2901 #define GL_R3_G3_B2 0x2A10 #define GL_RGB4 0x804F #define GL_RGB5 0x8050 @@ -580,15 +560,17 @@ GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *i #define GL_TEXTURE_DEPTH_SIZE 0x884A #define GL_TEXTURE_COMPARE_MODE 0x884C #define GL_TEXTURE_COMPARE_FUNC 0x884D -#define GL_FUNC_ADD 0x8006 -#define GL_FUNC_SUBTRACT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT 0x800B -#define GL_MIN 0x8007 -#define GL_MAX 0x8008 +#define GL_BLEND_COLOR 0x8005 +#define GL_BLEND_EQUATION 0x8009 #define GL_CONSTANT_COLOR 0x8001 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 #define GL_CONSTANT_ALPHA 0x8003 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 +#define GL_FUNC_ADD 0x8006 +#define GL_FUNC_REVERSE_SUBTRACT 0x800B +#define GL_FUNC_SUBTRACT 0x800A +#define GL_MIN 0x8007 +#define GL_MAX 0x8008 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount); @@ -613,9 +595,8 @@ GLAPI void APIENTRY glBlendEquation (GLenum mode); #ifndef GL_VERSION_1_5 #define GL_VERSION_1_5 1 -#include -typedef ptrdiff_t GLsizeiptr; -typedef ptrdiff_t GLintptr; +typedef khronos_ssize_t GLsizeiptr; +typedef khronos_intptr_t GLintptr; #define GL_BUFFER_SIZE 0x8764 #define GL_BUFFER_USAGE 0x8765 #define GL_QUERY_COUNTER_BITS 0x8864 @@ -689,9 +670,9 @@ GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **par #ifndef GL_VERSION_2_0 #define GL_VERSION_2_0 1 typedef char GLchar; -typedef short GLshort; -typedef signed char GLbyte; -typedef unsigned short GLushort; +typedef khronos_int16_t GLshort; +typedef khronos_int8_t GLbyte; +typedef khronos_uint16_t GLushort; #define GL_BLEND_EQUATION_RGB 0x8009 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 @@ -998,7 +979,7 @@ GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboole #ifndef GL_VERSION_3_0 #define GL_VERSION_3_0 1 -typedef unsigned short GLhalf; +typedef khronos_uint16_t GLhalf; #define GL_COMPARE_REF_TO_TEXTURE 0x884E #define GL_CLIP_DISTANCE0 0x3000 #define GL_CLIP_DISTANCE1 0x3001 @@ -1496,45 +1477,8 @@ GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIn #ifndef GL_VERSION_3_2 #define GL_VERSION_3_2 1 typedef struct __GLsync *GLsync; -#ifndef GLEXT_64_TYPES_DEFINED -/* This code block is duplicated in glxext.h, so must be protected */ -#define GLEXT_64_TYPES_DEFINED -/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ -/* (as used in the GL_EXT_timer_query extension). */ -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -#include -#elif defined(__sun__) || defined(__digital__) -#include -#if defined(__STDC__) -#if defined(__arch64__) || defined(_LP64) -typedef long int int64_t; -typedef unsigned long int uint64_t; -#else -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#endif /* __arch64__ */ -#endif /* __STDC__ */ -#elif defined( __VMS ) || defined(__sgi) -#include -#elif defined(__SCO__) || defined(__USLC__) -#include -#elif defined(__UNIXOS2__) || defined(__SOL64__) -typedef long int int32_t; -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#elif defined(_WIN32) && defined(__GNUC__) -#include -#elif defined(_WIN32) -typedef __int32 int32_t; -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -#else -/* Fallback if nothing above works */ -#include -#endif -#endif -typedef uint64_t GLuint64; -typedef int64_t GLint64; +typedef khronos_uint64_t GLuint64; +typedef khronos_int64_t GLint64; #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 #define GL_LINES_ADJACENCY 0x000A @@ -1610,7 +1554,7 @@ typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data); -typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values); typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); @@ -1630,7 +1574,7 @@ GLAPI void APIENTRY glDeleteSync (GLsync sync); GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); -GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values); GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level); @@ -1826,8 +1770,8 @@ typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name); typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name); typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); -typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); -typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); +typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); +typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices); typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params); typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values); @@ -1873,8 +1817,8 @@ GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *pa GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name); GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name); GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); -GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); -GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); +GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); +GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices); GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params); GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values); @@ -1932,7 +1876,7 @@ GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pna #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F #define GL_UNDEFINED_VERTEX 0x8260 typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); -typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length); typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); @@ -2021,7 +1965,7 @@ typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfl typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data); #ifdef GL_GLEXT_PROTOTYPES GLAPI void APIENTRY glReleaseShaderCompiler (void); -GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length); GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f); GLAPI void APIENTRY glClearDepthf (GLfloat d); @@ -2228,7 +2172,7 @@ GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data) typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); -typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params); typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers); @@ -2241,7 +2185,7 @@ typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum m GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); -GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params); GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers); @@ -2521,7 +2465,7 @@ typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect); typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); +typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params); typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level); typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); @@ -2533,7 +2477,7 @@ typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params); typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); -typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); +typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params); typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name); typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); @@ -2565,7 +2509,7 @@ GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect); GLAPI void APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param); GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); +GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params); GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level); GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length); @@ -2577,7 +2521,7 @@ GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params); GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name); GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); -GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); +GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params); GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name); GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name); GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); @@ -2895,6 +2839,42 @@ GLAPI void APIENTRY glTextureBarrier (void); #endif #endif /* GL_VERSION_4_5 */ +#ifndef GL_VERSION_4_6 +#define GL_VERSION_4_6 1 +#define GL_SHADER_BINARY_FORMAT_SPIR_V 0x9551 +#define GL_SPIR_V_BINARY 0x9552 +#define GL_PARAMETER_BUFFER 0x80EE +#define GL_PARAMETER_BUFFER_BINDING 0x80EF +#define GL_CONTEXT_FLAG_NO_ERROR_BIT 0x00000008 +#define GL_VERTICES_SUBMITTED 0x82EE +#define GL_PRIMITIVES_SUBMITTED 0x82EF +#define GL_VERTEX_SHADER_INVOCATIONS 0x82F0 +#define GL_TESS_CONTROL_SHADER_PATCHES 0x82F1 +#define GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2 +#define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3 +#define GL_FRAGMENT_SHADER_INVOCATIONS 0x82F4 +#define GL_COMPUTE_SHADER_INVOCATIONS 0x82F5 +#define GL_CLIPPING_INPUT_PRIMITIVES 0x82F6 +#define GL_CLIPPING_OUTPUT_PRIMITIVES 0x82F7 +#define GL_POLYGON_OFFSET_CLAMP 0x8E1B +#define GL_SPIR_V_EXTENSIONS 0x9553 +#define GL_NUM_SPIR_V_EXTENSIONS 0x9554 +#define GL_TEXTURE_MAX_ANISOTROPY 0x84FE +#define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF +#define GL_TRANSFORM_FEEDBACK_OVERFLOW 0x82EC +#define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED +typedef void (APIENTRYP PFNGLSPECIALIZESHADERPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPPROC) (GLfloat factor, GLfloat units, GLfloat clamp); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSpecializeShader (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); +GLAPI void APIENTRY glMultiDrawArraysIndirectCount (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp); +#endif +#endif /* GL_VERSION_4_6 */ + #ifndef GL_ARB_ES2_compatibility #define GL_ARB_ES2_compatibility 1 #endif /* GL_ARB_ES2_compatibility */ @@ -2903,6 +2883,17 @@ GLAPI void APIENTRY glTextureBarrier (void); #define GL_ARB_ES3_1_compatibility 1 #endif /* GL_ARB_ES3_1_compatibility */ +#ifndef GL_ARB_ES3_2_compatibility +#define GL_ARB_ES3_2_compatibility 1 +#define GL_PRIMITIVE_BOUNDING_BOX_ARB 0x92BE +#define GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB 0x9381 +#define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB 0x9382 +typedef void (APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXARBPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPrimitiveBoundingBoxARB (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); +#endif +#endif /* GL_ARB_ES3_2_compatibility */ + #ifndef GL_ARB_ES3_compatibility #define GL_ARB_ES3_compatibility 1 #endif /* GL_ARB_ES3_compatibility */ @@ -2917,7 +2908,7 @@ GLAPI void APIENTRY glTextureBarrier (void); #ifndef GL_ARB_bindless_texture #define GL_ARB_bindless_texture 1 -typedef uint64_t GLuint64EXT; +typedef khronos_uint64_t GLuint64EXT; #define GL_UNSIGNED_INT64_ARB 0x140F typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture); typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler); @@ -3102,6 +3093,16 @@ GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum d #define GL_ARB_draw_indirect 1 #endif /* GL_ARB_draw_indirect */ +#ifndef GL_ARB_draw_instanced +#define GL_ARB_draw_instanced 1 +typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); +typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount); +GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +#endif +#endif /* GL_ARB_draw_instanced */ + #ifndef GL_ARB_enhanced_layouts #define GL_ARB_enhanced_layouts 1 #endif /* GL_ARB_enhanced_layouts */ @@ -3122,6 +3123,10 @@ GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum d #define GL_ARB_fragment_layer_viewport 1 #endif /* GL_ARB_fragment_layer_viewport */ +#ifndef GL_ARB_fragment_shader_interlock +#define GL_ARB_fragment_shader_interlock 1 +#endif /* GL_ARB_fragment_shader_interlock */ + #ifndef GL_ARB_framebuffer_no_attachments #define GL_ARB_framebuffer_no_attachments 1 #endif /* GL_ARB_framebuffer_no_attachments */ @@ -3134,6 +3139,38 @@ GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum d #define GL_ARB_framebuffer_sRGB 1 #endif /* GL_ARB_framebuffer_sRGB */ +#ifndef GL_ARB_geometry_shader4 +#define GL_ARB_geometry_shader4 1 +#define GL_LINES_ADJACENCY_ARB 0x000A +#define GL_LINE_STRIP_ADJACENCY_ARB 0x000B +#define GL_TRIANGLES_ADJACENCY_ARB 0x000C +#define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D +#define GL_PROGRAM_POINT_SIZE_ARB 0x8642 +#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29 +#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9 +#define GL_GEOMETRY_SHADER_ARB 0x8DD9 +#define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA +#define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB +#define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC +#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD +#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE +#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF +#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0 +#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1 +typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value); +GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level); +GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); +#endif +#endif /* GL_ARB_geometry_shader4 */ + #ifndef GL_ARB_get_program_binary #define GL_ARB_get_program_binary 1 #endif /* GL_ARB_get_program_binary */ @@ -3142,6 +3179,16 @@ GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum d #define GL_ARB_get_texture_sub_image 1 #endif /* GL_ARB_get_texture_sub_image */ +#ifndef GL_ARB_gl_spirv +#define GL_ARB_gl_spirv 1 +#define GL_SHADER_BINARY_FORMAT_SPIR_V_ARB 0x9551 +#define GL_SPIR_V_BINARY_ARB 0x9552 +typedef void (APIENTRYP PFNGLSPECIALIZESHADERARBPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSpecializeShaderARB (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); +#endif +#endif /* GL_ARB_gl_spirv */ + #ifndef GL_ARB_gpu_shader5 #define GL_ARB_gpu_shader5 1 #endif /* GL_ARB_gpu_shader5 */ @@ -3150,28 +3197,120 @@ GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum d #define GL_ARB_gpu_shader_fp64 1 #endif /* GL_ARB_gpu_shader_fp64 */ +#ifndef GL_ARB_gpu_shader_int64 +#define GL_ARB_gpu_shader_int64 1 +#define GL_INT64_ARB 0x140E +#define GL_INT64_VEC2_ARB 0x8FE9 +#define GL_INT64_VEC3_ARB 0x8FEA +#define GL_INT64_VEC4_ARB 0x8FEB +#define GL_UNSIGNED_INT64_VEC2_ARB 0x8FF5 +#define GL_UNSIGNED_INT64_VEC3_ARB 0x8FF6 +#define GL_UNSIGNED_INT64_VEC4_ARB 0x8FF7 +typedef void (APIENTRYP PFNGLUNIFORM1I64ARBPROC) (GLint location, GLint64 x); +typedef void (APIENTRYP PFNGLUNIFORM2I64ARBPROC) (GLint location, GLint64 x, GLint64 y); +typedef void (APIENTRYP PFNGLUNIFORM3I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z); +typedef void (APIENTRYP PFNGLUNIFORM4I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); +typedef void (APIENTRYP PFNGLUNIFORM1I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); +typedef void (APIENTRYP PFNGLUNIFORM2I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); +typedef void (APIENTRYP PFNGLUNIFORM3I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); +typedef void (APIENTRYP PFNGLUNIFORM4I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); +typedef void (APIENTRYP PFNGLUNIFORM1UI64ARBPROC) (GLint location, GLuint64 x); +typedef void (APIENTRYP PFNGLUNIFORM2UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y); +typedef void (APIENTRYP PFNGLUNIFORM3UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z); +typedef void (APIENTRYP PFNGLUNIFORM4UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); +typedef void (APIENTRYP PFNGLUNIFORM1UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); +typedef void (APIENTRYP PFNGLUNIFORM2UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); +typedef void (APIENTRYP PFNGLUNIFORM3UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); +typedef void (APIENTRYP PFNGLUNIFORM4UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); +typedef void (APIENTRYP PFNGLGETUNIFORMI64VARBPROC) (GLuint program, GLint location, GLint64 *params); +typedef void (APIENTRYP PFNGLGETUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLuint64 *params); +typedef void (APIENTRYP PFNGLGETNUNIFORMI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint64 *params); +typedef void (APIENTRYP PFNGLGETNUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64ARBPROC) (GLuint program, GLint location, GLint64 x); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64ARBPROC) (GLuint program, GLint location, GLuint64 x); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glUniform1i64ARB (GLint location, GLint64 x); +GLAPI void APIENTRY glUniform2i64ARB (GLint location, GLint64 x, GLint64 y); +GLAPI void APIENTRY glUniform3i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z); +GLAPI void APIENTRY glUniform4i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); +GLAPI void APIENTRY glUniform1i64vARB (GLint location, GLsizei count, const GLint64 *value); +GLAPI void APIENTRY glUniform2i64vARB (GLint location, GLsizei count, const GLint64 *value); +GLAPI void APIENTRY glUniform3i64vARB (GLint location, GLsizei count, const GLint64 *value); +GLAPI void APIENTRY glUniform4i64vARB (GLint location, GLsizei count, const GLint64 *value); +GLAPI void APIENTRY glUniform1ui64ARB (GLint location, GLuint64 x); +GLAPI void APIENTRY glUniform2ui64ARB (GLint location, GLuint64 x, GLuint64 y); +GLAPI void APIENTRY glUniform3ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z); +GLAPI void APIENTRY glUniform4ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); +GLAPI void APIENTRY glUniform1ui64vARB (GLint location, GLsizei count, const GLuint64 *value); +GLAPI void APIENTRY glUniform2ui64vARB (GLint location, GLsizei count, const GLuint64 *value); +GLAPI void APIENTRY glUniform3ui64vARB (GLint location, GLsizei count, const GLuint64 *value); +GLAPI void APIENTRY glUniform4ui64vARB (GLint location, GLsizei count, const GLuint64 *value); +GLAPI void APIENTRY glGetUniformi64vARB (GLuint program, GLint location, GLint64 *params); +GLAPI void APIENTRY glGetUniformui64vARB (GLuint program, GLint location, GLuint64 *params); +GLAPI void APIENTRY glGetnUniformi64vARB (GLuint program, GLint location, GLsizei bufSize, GLint64 *params); +GLAPI void APIENTRY glGetnUniformui64vARB (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params); +GLAPI void APIENTRY glProgramUniform1i64ARB (GLuint program, GLint location, GLint64 x); +GLAPI void APIENTRY glProgramUniform2i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y); +GLAPI void APIENTRY glProgramUniform3i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z); +GLAPI void APIENTRY glProgramUniform4i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); +GLAPI void APIENTRY glProgramUniform1i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); +GLAPI void APIENTRY glProgramUniform2i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); +GLAPI void APIENTRY glProgramUniform3i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); +GLAPI void APIENTRY glProgramUniform4i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); +GLAPI void APIENTRY glProgramUniform1ui64ARB (GLuint program, GLint location, GLuint64 x); +GLAPI void APIENTRY glProgramUniform2ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y); +GLAPI void APIENTRY glProgramUniform3ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z); +GLAPI void APIENTRY glProgramUniform4ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); +GLAPI void APIENTRY glProgramUniform1ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); +GLAPI void APIENTRY glProgramUniform2ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); +GLAPI void APIENTRY glProgramUniform3ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); +GLAPI void APIENTRY glProgramUniform4ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); +#endif +#endif /* GL_ARB_gpu_shader_int64 */ + #ifndef GL_ARB_half_float_vertex #define GL_ARB_half_float_vertex 1 #endif /* GL_ARB_half_float_vertex */ #ifndef GL_ARB_imaging #define GL_ARB_imaging 1 -#define GL_BLEND_COLOR 0x8005 -#define GL_BLEND_EQUATION 0x8009 #endif /* GL_ARB_imaging */ #ifndef GL_ARB_indirect_parameters #define GL_ARB_indirect_parameters 1 #define GL_PARAMETER_BUFFER_ARB 0x80EE #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); #ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); #endif #endif /* GL_ARB_indirect_parameters */ +#ifndef GL_ARB_instanced_arrays +#define GL_ARB_instanced_arrays 1 +#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE +typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor); +#endif +#endif /* GL_ARB_instanced_arrays */ + #ifndef GL_ARB_internalformat_query #define GL_ARB_internalformat_query 1 #endif /* GL_ARB_internalformat_query */ @@ -3179,6 +3318,25 @@ GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum typ #ifndef GL_ARB_internalformat_query2 #define GL_ARB_internalformat_query2 1 #define GL_SRGB_DECODE_ARB 0x8299 +#define GL_VIEW_CLASS_EAC_R11 0x9383 +#define GL_VIEW_CLASS_EAC_RG11 0x9384 +#define GL_VIEW_CLASS_ETC2_RGB 0x9385 +#define GL_VIEW_CLASS_ETC2_RGBA 0x9386 +#define GL_VIEW_CLASS_ETC2_EAC_RGBA 0x9387 +#define GL_VIEW_CLASS_ASTC_4x4_RGBA 0x9388 +#define GL_VIEW_CLASS_ASTC_5x4_RGBA 0x9389 +#define GL_VIEW_CLASS_ASTC_5x5_RGBA 0x938A +#define GL_VIEW_CLASS_ASTC_6x5_RGBA 0x938B +#define GL_VIEW_CLASS_ASTC_6x6_RGBA 0x938C +#define GL_VIEW_CLASS_ASTC_8x5_RGBA 0x938D +#define GL_VIEW_CLASS_ASTC_8x6_RGBA 0x938E +#define GL_VIEW_CLASS_ASTC_8x8_RGBA 0x938F +#define GL_VIEW_CLASS_ASTC_10x5_RGBA 0x9390 +#define GL_VIEW_CLASS_ASTC_10x6_RGBA 0x9391 +#define GL_VIEW_CLASS_ASTC_10x8_RGBA 0x9392 +#define GL_VIEW_CLASS_ASTC_10x10_RGBA 0x9393 +#define GL_VIEW_CLASS_ASTC_12x10_RGBA 0x9394 +#define GL_VIEW_CLASS_ASTC_12x12_RGBA 0x9395 #endif /* GL_ARB_internalformat_query2 */ #ifndef GL_ARB_invalidate_subdata @@ -3205,6 +3363,16 @@ GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum typ #define GL_ARB_occlusion_query2 1 #endif /* GL_ARB_occlusion_query2 */ +#ifndef GL_ARB_parallel_shader_compile +#define GL_ARB_parallel_shader_compile 1 +#define GL_MAX_SHADER_COMPILER_THREADS_ARB 0x91B0 +#define GL_COMPLETION_STATUS_ARB 0x91B1 +typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSARBPROC) (GLuint count); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMaxShaderCompilerThreadsARB (GLuint count); +#endif +#endif /* GL_ARB_parallel_shader_compile */ + #ifndef GL_ARB_pipeline_statistics_query #define GL_ARB_pipeline_statistics_query 1 #define GL_VERTICES_SUBMITTED_ARB 0x82EE @@ -3219,6 +3387,22 @@ GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum typ #define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7 #endif /* GL_ARB_pipeline_statistics_query */ +#ifndef GL_ARB_pixel_buffer_object +#define GL_ARB_pixel_buffer_object 1 +#define GL_PIXEL_PACK_BUFFER_ARB 0x88EB +#define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC +#define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED +#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF +#endif /* GL_ARB_pixel_buffer_object */ + +#ifndef GL_ARB_polygon_offset_clamp +#define GL_ARB_polygon_offset_clamp 1 +#endif /* GL_ARB_polygon_offset_clamp */ + +#ifndef GL_ARB_post_depth_coverage +#define GL_ARB_post_depth_coverage 1 +#endif /* GL_ARB_post_depth_coverage */ + #ifndef GL_ARB_program_interface_query #define GL_ARB_program_interface_query 1 #endif /* GL_ARB_program_interface_query */ @@ -3268,6 +3452,26 @@ GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei #define GL_ARB_robustness_isolation 1 #endif /* GL_ARB_robustness_isolation */ +#ifndef GL_ARB_sample_locations +#define GL_ARB_sample_locations 1 +#define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB 0x933D +#define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB 0x933E +#define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB 0x933F +#define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB 0x9340 +#define GL_SAMPLE_LOCATION_ARB 0x8E50 +#define GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB 0x9341 +#define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB 0x9342 +#define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB 0x9343 +typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLEVALUATEDEPTHVALUESARBPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFramebufferSampleLocationsfvARB (GLenum target, GLuint start, GLsizei count, const GLfloat *v); +GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvARB (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); +GLAPI void APIENTRY glEvaluateDepthValuesARB (void); +#endif +#endif /* GL_ARB_sample_locations */ + #ifndef GL_ARB_sample_shading #define GL_ARB_sample_shading 1 #define GL_SAMPLE_SHADING_ARB 0x8C36 @@ -3294,14 +3498,26 @@ GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value); #define GL_ARB_separate_shader_objects 1 #endif /* GL_ARB_separate_shader_objects */ +#ifndef GL_ARB_shader_atomic_counter_ops +#define GL_ARB_shader_atomic_counter_ops 1 +#endif /* GL_ARB_shader_atomic_counter_ops */ + #ifndef GL_ARB_shader_atomic_counters #define GL_ARB_shader_atomic_counters 1 #endif /* GL_ARB_shader_atomic_counters */ +#ifndef GL_ARB_shader_ballot +#define GL_ARB_shader_ballot 1 +#endif /* GL_ARB_shader_ballot */ + #ifndef GL_ARB_shader_bit_encoding #define GL_ARB_shader_bit_encoding 1 #endif /* GL_ARB_shader_bit_encoding */ +#ifndef GL_ARB_shader_clock +#define GL_ARB_shader_clock 1 +#endif /* GL_ARB_shader_clock */ + #ifndef GL_ARB_shader_draw_parameters #define GL_ARB_shader_draw_parameters 1 #endif /* GL_ARB_shader_draw_parameters */ @@ -3338,6 +3554,10 @@ GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value); #define GL_ARB_shader_texture_image_samples 1 #endif /* GL_ARB_shader_texture_image_samples */ +#ifndef GL_ARB_shader_viewport_layer_array +#define GL_ARB_shader_viewport_layer_array 1 +#endif /* GL_ARB_shader_viewport_layer_array */ + #ifndef GL_ARB_shading_language_420pack #define GL_ARB_shading_language_420pack 1 #endif /* GL_ARB_shading_language_420pack */ @@ -3400,6 +3620,18 @@ GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xo #endif #endif /* GL_ARB_sparse_texture */ +#ifndef GL_ARB_sparse_texture2 +#define GL_ARB_sparse_texture2 1 +#endif /* GL_ARB_sparse_texture2 */ + +#ifndef GL_ARB_sparse_texture_clamp +#define GL_ARB_sparse_texture_clamp 1 +#endif /* GL_ARB_sparse_texture_clamp */ + +#ifndef GL_ARB_spirv_extensions +#define GL_ARB_spirv_extensions 1 +#endif /* GL_ARB_spirv_extensions */ + #ifndef GL_ARB_stencil_texturing #define GL_ARB_stencil_texturing 1 #endif /* GL_ARB_stencil_texturing */ @@ -3416,6 +3648,24 @@ GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xo #define GL_ARB_texture_barrier 1 #endif /* GL_ARB_texture_barrier */ +#ifndef GL_ARB_texture_border_clamp +#define GL_ARB_texture_border_clamp 1 +#define GL_CLAMP_TO_BORDER_ARB 0x812D +#endif /* GL_ARB_texture_border_clamp */ + +#ifndef GL_ARB_texture_buffer_object +#define GL_ARB_texture_buffer_object 1 +#define GL_TEXTURE_BUFFER_ARB 0x8C2A +#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B +#define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C +#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D +#define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E +typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer); +#endif +#endif /* GL_ARB_texture_buffer_object */ + #ifndef GL_ARB_texture_buffer_object_rgb32 #define GL_ARB_texture_buffer_object_rgb32 1 #endif /* GL_ARB_texture_buffer_object_rgb32 */ @@ -3447,6 +3697,16 @@ GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xo #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F #endif /* GL_ARB_texture_cube_map_array */ +#ifndef GL_ARB_texture_filter_anisotropic +#define GL_ARB_texture_filter_anisotropic 1 +#endif /* GL_ARB_texture_filter_anisotropic */ + +#ifndef GL_ARB_texture_filter_minmax +#define GL_ARB_texture_filter_minmax 1 +#define GL_TEXTURE_REDUCTION_MODE_ARB 0x9366 +#define GL_WEIGHTED_AVERAGE_ARB 0x9367 +#endif /* GL_ARB_texture_filter_minmax */ + #ifndef GL_ARB_texture_gather #define GL_ARB_texture_gather 1 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E @@ -3458,10 +3718,19 @@ GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xo #define GL_ARB_texture_mirror_clamp_to_edge 1 #endif /* GL_ARB_texture_mirror_clamp_to_edge */ +#ifndef GL_ARB_texture_mirrored_repeat +#define GL_ARB_texture_mirrored_repeat 1 +#define GL_MIRRORED_REPEAT_ARB 0x8370 +#endif /* GL_ARB_texture_mirrored_repeat */ + #ifndef GL_ARB_texture_multisample #define GL_ARB_texture_multisample 1 #endif /* GL_ARB_texture_multisample */ +#ifndef GL_ARB_texture_non_power_of_two +#define GL_ARB_texture_non_power_of_two 1 +#endif /* GL_ARB_texture_non_power_of_two */ + #ifndef GL_ARB_texture_query_levels #define GL_ARB_texture_query_levels 1 #endif /* GL_ARB_texture_query_levels */ @@ -3550,8 +3819,42 @@ GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xo #ifndef GL_ARB_viewport_array #define GL_ARB_viewport_array 1 +typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYDVNVPROC) (GLuint first, GLsizei count, const GLdouble *v); +typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDDNVPROC) (GLuint index, GLdouble n, GLdouble f); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDepthRangeArraydvNV (GLuint first, GLsizei count, const GLdouble *v); +GLAPI void APIENTRY glDepthRangeIndexeddNV (GLuint index, GLdouble n, GLdouble f); +#endif #endif /* GL_ARB_viewport_array */ +#ifndef GL_KHR_blend_equation_advanced +#define GL_KHR_blend_equation_advanced 1 +#define GL_MULTIPLY_KHR 0x9294 +#define GL_SCREEN_KHR 0x9295 +#define GL_OVERLAY_KHR 0x9296 +#define GL_DARKEN_KHR 0x9297 +#define GL_LIGHTEN_KHR 0x9298 +#define GL_COLORDODGE_KHR 0x9299 +#define GL_COLORBURN_KHR 0x929A +#define GL_HARDLIGHT_KHR 0x929B +#define GL_SOFTLIGHT_KHR 0x929C +#define GL_DIFFERENCE_KHR 0x929E +#define GL_EXCLUSION_KHR 0x92A0 +#define GL_HSL_HUE_KHR 0x92AD +#define GL_HSL_SATURATION_KHR 0x92AE +#define GL_HSL_COLOR_KHR 0x92AF +#define GL_HSL_LUMINOSITY_KHR 0x92B0 +typedef void (APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendBarrierKHR (void); +#endif +#endif /* GL_KHR_blend_equation_advanced */ + +#ifndef GL_KHR_blend_equation_advanced_coherent +#define GL_KHR_blend_equation_advanced_coherent 1 +#define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285 +#endif /* GL_KHR_blend_equation_advanced_coherent */ + #ifndef GL_KHR_context_flush_control #define GL_KHR_context_flush_control 1 #endif /* GL_KHR_context_flush_control */ @@ -3565,6 +3868,16 @@ GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xo #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008 #endif /* GL_KHR_no_error */ +#ifndef GL_KHR_parallel_shader_compile +#define GL_KHR_parallel_shader_compile 1 +#define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0 +#define GL_COMPLETION_STATUS_KHR 0x91B1 +typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count); +#endif +#endif /* GL_KHR_parallel_shader_compile */ + #ifndef GL_KHR_robust_buffer_access_behavior #define GL_KHR_robust_buffer_access_behavior 1 #endif /* GL_KHR_robust_buffer_access_behavior */ @@ -3574,6 +3887,22 @@ GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xo #define GL_CONTEXT_ROBUST_ACCESS 0x90F3 #endif /* GL_KHR_robustness */ +#ifndef GL_KHR_shader_subgroup +#define GL_KHR_shader_subgroup 1 +#define GL_SUBGROUP_SIZE_KHR 0x9532 +#define GL_SUBGROUP_SUPPORTED_STAGES_KHR 0x9533 +#define GL_SUBGROUP_SUPPORTED_FEATURES_KHR 0x9534 +#define GL_SUBGROUP_QUAD_ALL_STAGES_KHR 0x9535 +#define GL_SUBGROUP_FEATURE_BASIC_BIT_KHR 0x00000001 +#define GL_SUBGROUP_FEATURE_VOTE_BIT_KHR 0x00000002 +#define GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR 0x00000004 +#define GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR 0x00000008 +#define GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR 0x00000010 +#define GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR 0x00000020 +#define GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR 0x00000040 +#define GL_SUBGROUP_FEATURE_QUAD_BIT_KHR 0x00000080 +#endif /* GL_KHR_shader_subgroup */ + #ifndef GL_KHR_texture_compression_astc_hdr #define GL_KHR_texture_compression_astc_hdr 1 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 @@ -3614,6 +3943,2012 @@ GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xo #define GL_KHR_texture_compression_astc_sliced_3d 1 #endif /* GL_KHR_texture_compression_astc_sliced_3d */ +#ifndef GL_AMD_framebuffer_multisample_advanced +#define GL_AMD_framebuffer_multisample_advanced 1 +#define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2 +#define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3 +#define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4 +#define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5 +#define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6 +#define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7 +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +#endif +#endif /* GL_AMD_framebuffer_multisample_advanced */ + +#ifndef GL_AMD_performance_monitor +#define GL_AMD_performance_monitor 1 +#define GL_COUNTER_TYPE_AMD 0x8BC0 +#define GL_COUNTER_RANGE_AMD 0x8BC1 +#define GL_UNSIGNED_INT64_AMD 0x8BC2 +#define GL_PERCENTAGE_AMD 0x8BC3 +#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 +#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 +#define GL_PERFMON_RESULT_AMD 0x8BC6 +typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); +typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); +typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); +typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); +typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); +typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); +typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); +typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); +typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); +typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); +typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); +GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); +GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); +GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); +GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data); +GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); +GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); +GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); +GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor); +GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor); +GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); +#endif +#endif /* GL_AMD_performance_monitor */ + +#ifndef GL_APPLE_rgb_422 +#define GL_APPLE_rgb_422 1 +#define GL_RGB_422_APPLE 0x8A1F +#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA +#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB +#define GL_RGB_RAW_422_APPLE 0x8A51 +#endif /* GL_APPLE_rgb_422 */ + +#ifndef GL_EXT_EGL_image_storage +#define GL_EXT_EGL_image_storage 1 +typedef void *GLeglImageOES; +typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list); +typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list); +GLAPI void APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list); +#endif +#endif /* GL_EXT_EGL_image_storage */ + +#ifndef GL_EXT_EGL_sync +#define GL_EXT_EGL_sync 1 +#endif /* GL_EXT_EGL_sync */ + +#ifndef GL_EXT_debug_label +#define GL_EXT_debug_label 1 +#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F +#define GL_PROGRAM_OBJECT_EXT 0x8B40 +#define GL_SHADER_OBJECT_EXT 0x8B48 +#define GL_BUFFER_OBJECT_EXT 0x9151 +#define GL_QUERY_OBJECT_EXT 0x9153 +#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 +typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); +typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label); +GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); +#endif +#endif /* GL_EXT_debug_label */ + +#ifndef GL_EXT_debug_marker +#define GL_EXT_debug_marker 1 +typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); +typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); +typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); +GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); +GLAPI void APIENTRY glPopGroupMarkerEXT (void); +#endif +#endif /* GL_EXT_debug_marker */ + +#ifndef GL_EXT_direct_state_access +#define GL_EXT_direct_state_access 1 +#define GL_PROGRAM_MATRIX_EXT 0x8E2D +#define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E +#define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F +typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m); +typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m); +typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m); +typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m); +typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode); +typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode); +typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode); +typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); +typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); +typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); +typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture); +typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param); +typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params); +typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params); +typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); +typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); +typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); +typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); +typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data); +typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data); +typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data); +typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index); +typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index); +typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index); +typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data); +typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img); +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img); +typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); +typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); +typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); +typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); +typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); +typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); +typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access); +typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer); +typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params); +typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); +typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params); +typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params); +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params); +typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params); +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params); +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params); +typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index); +typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index); +typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params); +typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params); +typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params); +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params); +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params); +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string); +typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); +typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target); +typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target); +typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); +typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs); +typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); +typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer); +typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array); +typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array); +typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index); +typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index); +typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param); +typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param); +typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param); +typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param); +typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); +typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); +typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); +typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); +typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); +typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); +typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m); +GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m); +GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m); +GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m); +GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode); +GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +GLAPI void APIENTRY glMatrixPopEXT (GLenum mode); +GLAPI void APIENTRY glMatrixPushEXT (GLenum mode); +GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask); +GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask); +GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param); +GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param); +GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); +GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); +GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); +GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params); +GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture); +GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer); +GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param); +GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param); +GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param); +GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params); +GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param); +GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param); +GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params); +GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params); +GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params); +GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param); +GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param); +GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); +GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); +GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); +GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params); +GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index); +GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index); +GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data); +GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data); +GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data); +GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index); +GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index); +GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index); +GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data); +GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data); +GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img); +GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img); +GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m); +GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m); +GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m); +GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m); +GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); +GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); +GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access); +GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer); +GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params); +GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); +GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0); +GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); +GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0); +GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1); +GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); +GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); +GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); +GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params); +GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params); +GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params); +GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params); +GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0); +GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1); +GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); +GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params); +GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); +GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params); +GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params); +GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params); +GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params); +GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params); +GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params); +GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index); +GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index); +GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params); +GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params); +GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params); +GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string); +GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params); +GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params); +GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params); +GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params); +GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string); +GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); +GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params); +GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); +GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target); +GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); +GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); +GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target); +GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target); +GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode); +GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs); +GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode); +GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params); +GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); +GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); +GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); +GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer); +GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer); +GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array); +GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array); +GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index); +GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index); +GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param); +GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param); +GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param); +GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param); +GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); +GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length); +GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); +GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); +GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); +GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param); +GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params); +GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x); +GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y); +GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); +GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); +GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); +GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); +GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex); +GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor); +GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); +GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor); +#endif +#endif /* GL_EXT_direct_state_access */ + +#ifndef GL_EXT_draw_instanced +#define GL_EXT_draw_instanced 1 +typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); +typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); +GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +#endif +#endif /* GL_EXT_draw_instanced */ + +#ifndef GL_EXT_multiview_tessellation_geometry_shader +#define GL_EXT_multiview_tessellation_geometry_shader 1 +#endif /* GL_EXT_multiview_tessellation_geometry_shader */ + +#ifndef GL_EXT_multiview_texture_multisample +#define GL_EXT_multiview_texture_multisample 1 +#endif /* GL_EXT_multiview_texture_multisample */ + +#ifndef GL_EXT_multiview_timer_query +#define GL_EXT_multiview_timer_query 1 +#endif /* GL_EXT_multiview_timer_query */ + +#ifndef GL_EXT_polygon_offset_clamp +#define GL_EXT_polygon_offset_clamp 1 +#define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B +typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp); +#endif +#endif /* GL_EXT_polygon_offset_clamp */ + +#ifndef GL_EXT_post_depth_coverage +#define GL_EXT_post_depth_coverage 1 +#endif /* GL_EXT_post_depth_coverage */ + +#ifndef GL_EXT_raster_multisample +#define GL_EXT_raster_multisample 1 +#define GL_RASTER_MULTISAMPLE_EXT 0x9327 +#define GL_RASTER_SAMPLES_EXT 0x9328 +#define GL_MAX_RASTER_SAMPLES_EXT 0x9329 +#define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A +#define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B +#define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C +typedef void (APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations); +#endif +#endif /* GL_EXT_raster_multisample */ + +#ifndef GL_EXT_separate_shader_objects +#define GL_EXT_separate_shader_objects 1 +#define GL_ACTIVE_PROGRAM_EXT 0x8B8D +typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program); +typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program); +typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program); +GLAPI void APIENTRY glActiveProgramEXT (GLuint program); +GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string); +#endif +#endif /* GL_EXT_separate_shader_objects */ + +#ifndef GL_EXT_shader_framebuffer_fetch +#define GL_EXT_shader_framebuffer_fetch 1 +#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 +#endif /* GL_EXT_shader_framebuffer_fetch */ + +#ifndef GL_EXT_shader_framebuffer_fetch_non_coherent +#define GL_EXT_shader_framebuffer_fetch_non_coherent 1 +typedef void (APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFramebufferFetchBarrierEXT (void); +#endif +#endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */ + +#ifndef GL_EXT_shader_integer_mix +#define GL_EXT_shader_integer_mix 1 +#endif /* GL_EXT_shader_integer_mix */ + +#ifndef GL_EXT_texture_compression_s3tc +#define GL_EXT_texture_compression_s3tc 1 +#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 +#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 +#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 +#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 +#endif /* GL_EXT_texture_compression_s3tc */ + +#ifndef GL_EXT_texture_filter_minmax +#define GL_EXT_texture_filter_minmax 1 +#define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366 +#define GL_WEIGHTED_AVERAGE_EXT 0x9367 +#endif /* GL_EXT_texture_filter_minmax */ + +#ifndef GL_EXT_texture_sRGB_R8 +#define GL_EXT_texture_sRGB_R8 1 +#define GL_SR8_EXT 0x8FBD +#endif /* GL_EXT_texture_sRGB_R8 */ + +#ifndef GL_EXT_texture_sRGB_RG8 +#define GL_EXT_texture_sRGB_RG8 1 +#define GL_SRG8_EXT 0x8FBE +#endif /* GL_EXT_texture_sRGB_RG8 */ + +#ifndef GL_EXT_texture_sRGB_decode +#define GL_EXT_texture_sRGB_decode 1 +#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 +#define GL_DECODE_EXT 0x8A49 +#define GL_SKIP_DECODE_EXT 0x8A4A +#endif /* GL_EXT_texture_sRGB_decode */ + +#ifndef GL_EXT_texture_shadow_lod +#define GL_EXT_texture_shadow_lod 1 +#endif /* GL_EXT_texture_shadow_lod */ + +#ifndef GL_EXT_window_rectangles +#define GL_EXT_window_rectangles 1 +#define GL_INCLUSIVE_EXT 0x8F10 +#define GL_EXCLUSIVE_EXT 0x8F11 +#define GL_WINDOW_RECTANGLE_EXT 0x8F12 +#define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13 +#define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14 +#define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15 +typedef void (APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box); +#endif +#endif /* GL_EXT_window_rectangles */ + +#ifndef GL_INTEL_blackhole_render +#define GL_INTEL_blackhole_render 1 +#define GL_BLACKHOLE_RENDER_INTEL 0x83FC +#endif /* GL_INTEL_blackhole_render */ + +#ifndef GL_INTEL_conservative_rasterization +#define GL_INTEL_conservative_rasterization 1 +#define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE +#endif /* GL_INTEL_conservative_rasterization */ + +#ifndef GL_INTEL_framebuffer_CMAA +#define GL_INTEL_framebuffer_CMAA 1 +typedef void (APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void); +#endif +#endif /* GL_INTEL_framebuffer_CMAA */ + +#ifndef GL_INTEL_performance_query +#define GL_INTEL_performance_query 1 +#define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000 +#define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001 +#define GL_PERFQUERY_WAIT_INTEL 0x83FB +#define GL_PERFQUERY_FLUSH_INTEL 0x83FA +#define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9 +#define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0 +#define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1 +#define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2 +#define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3 +#define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4 +#define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5 +#define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8 +#define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9 +#define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA +#define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB +#define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC +#define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD +#define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE +#define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF +#define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500 +typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle); +typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle); +typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle); +typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle); +typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId); +typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId); +typedef void (APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); +typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten); +typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId); +typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle); +GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle); +GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle); +GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle); +GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId); +GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId); +GLAPI void APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); +GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten); +GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId); +GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); +#endif +#endif /* GL_INTEL_performance_query */ + +#ifndef GL_MESA_framebuffer_flip_x +#define GL_MESA_framebuffer_flip_x 1 +#define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC +#endif /* GL_MESA_framebuffer_flip_x */ + +#ifndef GL_MESA_framebuffer_flip_y +#define GL_MESA_framebuffer_flip_y 1 +#define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB +typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIMESAPROC) (GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC) (GLenum target, GLenum pname, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFramebufferParameteriMESA (GLenum target, GLenum pname, GLint param); +GLAPI void APIENTRY glGetFramebufferParameterivMESA (GLenum target, GLenum pname, GLint *params); +#endif +#endif /* GL_MESA_framebuffer_flip_y */ + +#ifndef GL_MESA_framebuffer_swap_xy +#define GL_MESA_framebuffer_swap_xy 1 +#define GL_FRAMEBUFFER_SWAP_XY_MESA 0x8BBD +#endif /* GL_MESA_framebuffer_swap_xy */ + +#ifndef GL_NV_bindless_multi_draw_indirect +#define GL_NV_bindless_multi_draw_indirect 1 +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); +GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); +#endif +#endif /* GL_NV_bindless_multi_draw_indirect */ + +#ifndef GL_NV_bindless_multi_draw_indirect_count +#define GL_NV_bindless_multi_draw_indirect_count 1 +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); +GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessCountNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); +#endif +#endif /* GL_NV_bindless_multi_draw_indirect_count */ + +#ifndef GL_NV_bindless_texture +#define GL_NV_bindless_texture 1 +typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture); +typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler); +typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); +typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle); +typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); +typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access); +typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle); +typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value); +typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); +typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); +typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture); +GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler); +GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle); +GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle); +GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); +GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access); +GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle); +GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value); +GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value); +GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value); +GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values); +GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle); +GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle); +#endif +#endif /* GL_NV_bindless_texture */ + +#ifndef GL_NV_blend_equation_advanced +#define GL_NV_blend_equation_advanced 1 +#define GL_BLEND_OVERLAP_NV 0x9281 +#define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 +#define GL_BLUE_NV 0x1905 +#define GL_COLORBURN_NV 0x929A +#define GL_COLORDODGE_NV 0x9299 +#define GL_CONJOINT_NV 0x9284 +#define GL_CONTRAST_NV 0x92A1 +#define GL_DARKEN_NV 0x9297 +#define GL_DIFFERENCE_NV 0x929E +#define GL_DISJOINT_NV 0x9283 +#define GL_DST_ATOP_NV 0x928F +#define GL_DST_IN_NV 0x928B +#define GL_DST_NV 0x9287 +#define GL_DST_OUT_NV 0x928D +#define GL_DST_OVER_NV 0x9289 +#define GL_EXCLUSION_NV 0x92A0 +#define GL_GREEN_NV 0x1904 +#define GL_HARDLIGHT_NV 0x929B +#define GL_HARDMIX_NV 0x92A9 +#define GL_HSL_COLOR_NV 0x92AF +#define GL_HSL_HUE_NV 0x92AD +#define GL_HSL_LUMINOSITY_NV 0x92B0 +#define GL_HSL_SATURATION_NV 0x92AE +#define GL_INVERT_OVG_NV 0x92B4 +#define GL_INVERT_RGB_NV 0x92A3 +#define GL_LIGHTEN_NV 0x9298 +#define GL_LINEARBURN_NV 0x92A5 +#define GL_LINEARDODGE_NV 0x92A4 +#define GL_LINEARLIGHT_NV 0x92A7 +#define GL_MINUS_CLAMPED_NV 0x92B3 +#define GL_MINUS_NV 0x929F +#define GL_MULTIPLY_NV 0x9294 +#define GL_OVERLAY_NV 0x9296 +#define GL_PINLIGHT_NV 0x92A8 +#define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 +#define GL_PLUS_CLAMPED_NV 0x92B1 +#define GL_PLUS_DARKER_NV 0x9292 +#define GL_PLUS_NV 0x9291 +#define GL_RED_NV 0x1903 +#define GL_SCREEN_NV 0x9295 +#define GL_SOFTLIGHT_NV 0x929C +#define GL_SRC_ATOP_NV 0x928E +#define GL_SRC_IN_NV 0x928A +#define GL_SRC_NV 0x9286 +#define GL_SRC_OUT_NV 0x928C +#define GL_SRC_OVER_NV 0x9288 +#define GL_UNCORRELATED_NV 0x9282 +#define GL_VIVIDLIGHT_NV 0x92A6 +#define GL_XOR_NV 0x1506 +typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value); +typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value); +GLAPI void APIENTRY glBlendBarrierNV (void); +#endif +#endif /* GL_NV_blend_equation_advanced */ + +#ifndef GL_NV_blend_equation_advanced_coherent +#define GL_NV_blend_equation_advanced_coherent 1 +#define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 +#endif /* GL_NV_blend_equation_advanced_coherent */ + +#ifndef GL_NV_blend_minmax_factor +#define GL_NV_blend_minmax_factor 1 +#define GL_FACTOR_MIN_AMD 0x901C +#define GL_FACTOR_MAX_AMD 0x901D +#endif /* GL_NV_blend_minmax_factor */ + +#ifndef GL_NV_clip_space_w_scaling +#define GL_NV_clip_space_w_scaling 1 +#define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C +#define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D +#define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E +typedef void (APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff); +#endif +#endif /* GL_NV_clip_space_w_scaling */ + +#ifndef GL_NV_command_list +#define GL_NV_command_list 1 +#define GL_TERMINATE_SEQUENCE_COMMAND_NV 0x0000 +#define GL_NOP_COMMAND_NV 0x0001 +#define GL_DRAW_ELEMENTS_COMMAND_NV 0x0002 +#define GL_DRAW_ARRAYS_COMMAND_NV 0x0003 +#define GL_DRAW_ELEMENTS_STRIP_COMMAND_NV 0x0004 +#define GL_DRAW_ARRAYS_STRIP_COMMAND_NV 0x0005 +#define GL_DRAW_ELEMENTS_INSTANCED_COMMAND_NV 0x0006 +#define GL_DRAW_ARRAYS_INSTANCED_COMMAND_NV 0x0007 +#define GL_ELEMENT_ADDRESS_COMMAND_NV 0x0008 +#define GL_ATTRIBUTE_ADDRESS_COMMAND_NV 0x0009 +#define GL_UNIFORM_ADDRESS_COMMAND_NV 0x000A +#define GL_BLEND_COLOR_COMMAND_NV 0x000B +#define GL_STENCIL_REF_COMMAND_NV 0x000C +#define GL_LINE_WIDTH_COMMAND_NV 0x000D +#define GL_POLYGON_OFFSET_COMMAND_NV 0x000E +#define GL_ALPHA_REF_COMMAND_NV 0x000F +#define GL_VIEWPORT_COMMAND_NV 0x0010 +#define GL_SCISSOR_COMMAND_NV 0x0011 +#define GL_FRONT_FACE_COMMAND_NV 0x0012 +typedef void (APIENTRYP PFNGLCREATESTATESNVPROC) (GLsizei n, GLuint *states); +typedef void (APIENTRYP PFNGLDELETESTATESNVPROC) (GLsizei n, const GLuint *states); +typedef GLboolean (APIENTRYP PFNGLISSTATENVPROC) (GLuint state); +typedef void (APIENTRYP PFNGLSTATECAPTURENVPROC) (GLuint state, GLenum mode); +typedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size); +typedef GLushort (APIENTRYP PFNGLGETSTAGEINDEXNVPROC) (GLenum shadertype); +typedef void (APIENTRYP PFNGLDRAWCOMMANDSNVPROC) (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count); +typedef void (APIENTRYP PFNGLDRAWCOMMANDSADDRESSNVPROC) (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count); +typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESNVPROC) (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); +typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC) (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); +typedef void (APIENTRYP PFNGLCREATECOMMANDLISTSNVPROC) (GLsizei n, GLuint *lists); +typedef void (APIENTRYP PFNGLDELETECOMMANDLISTSNVPROC) (GLsizei n, const GLuint *lists); +typedef GLboolean (APIENTRYP PFNGLISCOMMANDLISTNVPROC) (GLuint list); +typedef void (APIENTRYP PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC) (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); +typedef void (APIENTRYP PFNGLCOMMANDLISTSEGMENTSNVPROC) (GLuint list, GLuint segments); +typedef void (APIENTRYP PFNGLCOMPILECOMMANDLISTNVPROC) (GLuint list); +typedef void (APIENTRYP PFNGLCALLCOMMANDLISTNVPROC) (GLuint list); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCreateStatesNV (GLsizei n, GLuint *states); +GLAPI void APIENTRY glDeleteStatesNV (GLsizei n, const GLuint *states); +GLAPI GLboolean APIENTRY glIsStateNV (GLuint state); +GLAPI void APIENTRY glStateCaptureNV (GLuint state, GLenum mode); +GLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size); +GLAPI GLushort APIENTRY glGetStageIndexNV (GLenum shadertype); +GLAPI void APIENTRY glDrawCommandsNV (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count); +GLAPI void APIENTRY glDrawCommandsAddressNV (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count); +GLAPI void APIENTRY glDrawCommandsStatesNV (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); +GLAPI void APIENTRY glDrawCommandsStatesAddressNV (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); +GLAPI void APIENTRY glCreateCommandListsNV (GLsizei n, GLuint *lists); +GLAPI void APIENTRY glDeleteCommandListsNV (GLsizei n, const GLuint *lists); +GLAPI GLboolean APIENTRY glIsCommandListNV (GLuint list); +GLAPI void APIENTRY glListDrawCommandsStatesClientNV (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); +GLAPI void APIENTRY glCommandListSegmentsNV (GLuint list, GLuint segments); +GLAPI void APIENTRY glCompileCommandListNV (GLuint list); +GLAPI void APIENTRY glCallCommandListNV (GLuint list); +#endif +#endif /* GL_NV_command_list */ + +#ifndef GL_NV_compute_shader_derivatives +#define GL_NV_compute_shader_derivatives 1 +#endif /* GL_NV_compute_shader_derivatives */ + +#ifndef GL_NV_conditional_render +#define GL_NV_conditional_render 1 +#define GL_QUERY_WAIT_NV 0x8E13 +#define GL_QUERY_NO_WAIT_NV 0x8E14 +#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15 +#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 +typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode); +typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode); +GLAPI void APIENTRY glEndConditionalRenderNV (void); +#endif +#endif /* GL_NV_conditional_render */ + +#ifndef GL_NV_conservative_raster +#define GL_NV_conservative_raster 1 +#define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346 +#define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347 +#define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348 +#define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349 +typedef void (APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits); +#endif +#endif /* GL_NV_conservative_raster */ + +#ifndef GL_NV_conservative_raster_dilate +#define GL_NV_conservative_raster_dilate 1 +#define GL_CONSERVATIVE_RASTER_DILATE_NV 0x9379 +#define GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV 0x937A +#define GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV 0x937B +typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERFNVPROC) (GLenum pname, GLfloat value); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glConservativeRasterParameterfNV (GLenum pname, GLfloat value); +#endif +#endif /* GL_NV_conservative_raster_dilate */ + +#ifndef GL_NV_conservative_raster_pre_snap +#define GL_NV_conservative_raster_pre_snap 1 +#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550 +#endif /* GL_NV_conservative_raster_pre_snap */ + +#ifndef GL_NV_conservative_raster_pre_snap_triangles +#define GL_NV_conservative_raster_pre_snap_triangles 1 +#define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D +#define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E +#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F +typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param); +#endif +#endif /* GL_NV_conservative_raster_pre_snap_triangles */ + +#ifndef GL_NV_conservative_raster_underestimation +#define GL_NV_conservative_raster_underestimation 1 +#endif /* GL_NV_conservative_raster_underestimation */ + +#ifndef GL_NV_depth_buffer_float +#define GL_NV_depth_buffer_float 1 +#define GL_DEPTH_COMPONENT32F_NV 0x8DAB +#define GL_DEPTH32F_STENCIL8_NV 0x8DAC +#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD +#define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF +typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar); +typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth); +typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar); +GLAPI void APIENTRY glClearDepthdNV (GLdouble depth); +GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax); +#endif +#endif /* GL_NV_depth_buffer_float */ + +#ifndef GL_NV_draw_vulkan_image +#define GL_NV_draw_vulkan_image 1 +typedef void (APIENTRY *GLVULKANPROCNV)(void); +typedef void (APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); +typedef GLVULKANPROCNV (APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name); +typedef void (APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); +typedef void (APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); +typedef void (APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); +GLAPI GLVULKANPROCNV APIENTRY glGetVkProcAddrNV (const GLchar *name); +GLAPI void APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore); +GLAPI void APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore); +GLAPI void APIENTRY glSignalVkFenceNV (GLuint64 vkFence); +#endif +#endif /* GL_NV_draw_vulkan_image */ + +#ifndef GL_NV_fill_rectangle +#define GL_NV_fill_rectangle 1 +#define GL_FILL_RECTANGLE_NV 0x933C +#endif /* GL_NV_fill_rectangle */ + +#ifndef GL_NV_fragment_coverage_to_color +#define GL_NV_fragment_coverage_to_color 1 +#define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD +#define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE +typedef void (APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFragmentCoverageColorNV (GLuint color); +#endif +#endif /* GL_NV_fragment_coverage_to_color */ + +#ifndef GL_NV_fragment_shader_barycentric +#define GL_NV_fragment_shader_barycentric 1 +#endif /* GL_NV_fragment_shader_barycentric */ + +#ifndef GL_NV_fragment_shader_interlock +#define GL_NV_fragment_shader_interlock 1 +#endif /* GL_NV_fragment_shader_interlock */ + +#ifndef GL_NV_framebuffer_mixed_samples +#define GL_NV_framebuffer_mixed_samples 1 +#define GL_COVERAGE_MODULATION_TABLE_NV 0x9331 +#define GL_COLOR_SAMPLES_NV 0x8E20 +#define GL_DEPTH_SAMPLES_NV 0x932D +#define GL_STENCIL_SAMPLES_NV 0x932E +#define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F +#define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330 +#define GL_COVERAGE_MODULATION_NV 0x9332 +#define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333 +typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v); +typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufSize, GLfloat *v); +typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v); +GLAPI void APIENTRY glGetCoverageModulationTableNV (GLsizei bufSize, GLfloat *v); +GLAPI void APIENTRY glCoverageModulationNV (GLenum components); +#endif +#endif /* GL_NV_framebuffer_mixed_samples */ + +#ifndef GL_NV_framebuffer_multisample_coverage +#define GL_NV_framebuffer_multisample_coverage 1 +#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB +#define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10 +#define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11 +#define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12 +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); +#endif +#endif /* GL_NV_framebuffer_multisample_coverage */ + +#ifndef GL_NV_geometry_shader_passthrough +#define GL_NV_geometry_shader_passthrough 1 +#endif /* GL_NV_geometry_shader_passthrough */ + +#ifndef GL_NV_gpu_shader5 +#define GL_NV_gpu_shader5 1 +typedef khronos_int64_t GLint64EXT; +#define GL_INT64_NV 0x140E +#define GL_UNSIGNED_INT64_NV 0x140F +#define GL_INT8_NV 0x8FE0 +#define GL_INT8_VEC2_NV 0x8FE1 +#define GL_INT8_VEC3_NV 0x8FE2 +#define GL_INT8_VEC4_NV 0x8FE3 +#define GL_INT16_NV 0x8FE4 +#define GL_INT16_VEC2_NV 0x8FE5 +#define GL_INT16_VEC3_NV 0x8FE6 +#define GL_INT16_VEC4_NV 0x8FE7 +#define GL_INT64_VEC2_NV 0x8FE9 +#define GL_INT64_VEC3_NV 0x8FEA +#define GL_INT64_VEC4_NV 0x8FEB +#define GL_UNSIGNED_INT8_NV 0x8FEC +#define GL_UNSIGNED_INT8_VEC2_NV 0x8FED +#define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE +#define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF +#define GL_UNSIGNED_INT16_NV 0x8FF0 +#define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1 +#define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2 +#define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3 +#define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 +#define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 +#define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 +#define GL_FLOAT16_NV 0x8FF8 +#define GL_FLOAT16_VEC2_NV 0x8FF9 +#define GL_FLOAT16_VEC3_NV 0x8FFA +#define GL_FLOAT16_VEC4_NV 0x8FFB +typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x); +typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y); +typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x); +typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y); +typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x); +GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y); +GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x); +GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y); +GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params); +GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x); +GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); +GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x); +GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); +GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +#endif +#endif /* GL_NV_gpu_shader5 */ + +#ifndef GL_NV_internalformat_sample_query +#define GL_NV_internalformat_sample_query 1 +#define GL_MULTISAMPLES_NV 0x9371 +#define GL_SUPERSAMPLE_SCALE_X_NV 0x9372 +#define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373 +#define GL_CONFORMANT_NV 0x9374 +typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params); +#endif +#endif /* GL_NV_internalformat_sample_query */ + +#ifndef GL_NV_memory_attachment +#define GL_NV_memory_attachment 1 +#define GL_ATTACHED_MEMORY_OBJECT_NV 0x95A4 +#define GL_ATTACHED_MEMORY_OFFSET_NV 0x95A5 +#define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6 +#define GL_MEMORY_ATTACHABLE_SIZE_NV 0x95A7 +#define GL_MEMORY_ATTACHABLE_NV 0x95A8 +#define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9 +#define GL_DETACHED_TEXTURES_NV 0x95AA +#define GL_DETACHED_BUFFERS_NV 0x95AB +#define GL_MAX_DETACHED_TEXTURES_NV 0x95AC +#define GL_MAX_DETACHED_BUFFERS_NV 0x95AD +typedef void (APIENTRYP PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params); +typedef void (APIENTRYP PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) (GLuint memory, GLenum pname); +typedef void (APIENTRYP PFNGLTEXATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLBUFFERATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXTUREATTACHMEMORYNVPROC) (GLuint texture, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) (GLuint buffer, GLuint memory, GLuint64 offset); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params); +GLAPI void APIENTRY glResetMemoryObjectParameterNV (GLuint memory, GLenum pname); +GLAPI void APIENTRY glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset); +#endif +#endif /* GL_NV_memory_attachment */ + +#ifndef GL_NV_memory_object_sparse +#define GL_NV_memory_object_sparse 1 +typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTMEMNVPROC) (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +GLAPI void APIENTRY glTexPageCommitmentMemNV (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +GLAPI void APIENTRY glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +GLAPI void APIENTRY glTexturePageCommitmentMemNV (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +#endif +#endif /* GL_NV_memory_object_sparse */ + +#ifndef GL_NV_mesh_shader +#define GL_NV_mesh_shader 1 +#define GL_MESH_SHADER_NV 0x9559 +#define GL_TASK_SHADER_NV 0x955A +#define GL_MAX_MESH_UNIFORM_BLOCKS_NV 0x8E60 +#define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61 +#define GL_MAX_MESH_IMAGE_UNIFORMS_NV 0x8E62 +#define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63 +#define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64 +#define GL_MAX_MESH_ATOMIC_COUNTERS_NV 0x8E65 +#define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66 +#define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67 +#define GL_MAX_TASK_UNIFORM_BLOCKS_NV 0x8E68 +#define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69 +#define GL_MAX_TASK_IMAGE_UNIFORMS_NV 0x8E6A +#define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B +#define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C +#define GL_MAX_TASK_ATOMIC_COUNTERS_NV 0x8E6D +#define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E +#define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F +#define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2 +#define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3 +#define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV 0x9536 +#define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV 0x9537 +#define GL_MAX_MESH_OUTPUT_VERTICES_NV 0x9538 +#define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV 0x9539 +#define GL_MAX_TASK_OUTPUT_COUNT_NV 0x953A +#define GL_MAX_DRAW_MESH_TASKS_COUNT_NV 0x953D +#define GL_MAX_MESH_VIEWS_NV 0x9557 +#define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF +#define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543 +#define GL_MAX_MESH_WORK_GROUP_SIZE_NV 0x953B +#define GL_MAX_TASK_WORK_GROUP_SIZE_NV 0x953C +#define GL_MESH_WORK_GROUP_SIZE_NV 0x953E +#define GL_TASK_WORK_GROUP_SIZE_NV 0x953F +#define GL_MESH_VERTICES_OUT_NV 0x9579 +#define GL_MESH_PRIMITIVES_OUT_NV 0x957A +#define GL_MESH_OUTPUT_TYPE_NV 0x957B +#define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C +#define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D +#define GL_REFERENCED_BY_MESH_SHADER_NV 0x95A0 +#define GL_REFERENCED_BY_TASK_SHADER_NV 0x95A1 +#define GL_MESH_SHADER_BIT_NV 0x00000040 +#define GL_TASK_SHADER_BIT_NV 0x00000080 +#define GL_MESH_SUBROUTINE_NV 0x957C +#define GL_TASK_SUBROUTINE_NV 0x957D +#define GL_MESH_SUBROUTINE_UNIFORM_NV 0x957E +#define GL_TASK_SUBROUTINE_UNIFORM_NV 0x957F +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F +typedef void (APIENTRYP PFNGLDRAWMESHTASKSNVPROC) (GLuint first, GLuint count); +typedef void (APIENTRYP PFNGLDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect); +typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect, GLsizei drawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawMeshTasksNV (GLuint first, GLuint count); +GLAPI void APIENTRY glDrawMeshTasksIndirectNV (GLintptr indirect); +GLAPI void APIENTRY glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +#endif +#endif /* GL_NV_mesh_shader */ + +#ifndef GL_NV_path_rendering +#define GL_NV_path_rendering 1 +#define GL_PATH_FORMAT_SVG_NV 0x9070 +#define GL_PATH_FORMAT_PS_NV 0x9071 +#define GL_STANDARD_FONT_NAME_NV 0x9072 +#define GL_SYSTEM_FONT_NAME_NV 0x9073 +#define GL_FILE_NAME_NV 0x9074 +#define GL_PATH_STROKE_WIDTH_NV 0x9075 +#define GL_PATH_END_CAPS_NV 0x9076 +#define GL_PATH_INITIAL_END_CAP_NV 0x9077 +#define GL_PATH_TERMINAL_END_CAP_NV 0x9078 +#define GL_PATH_JOIN_STYLE_NV 0x9079 +#define GL_PATH_MITER_LIMIT_NV 0x907A +#define GL_PATH_DASH_CAPS_NV 0x907B +#define GL_PATH_INITIAL_DASH_CAP_NV 0x907C +#define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D +#define GL_PATH_DASH_OFFSET_NV 0x907E +#define GL_PATH_CLIENT_LENGTH_NV 0x907F +#define GL_PATH_FILL_MODE_NV 0x9080 +#define GL_PATH_FILL_MASK_NV 0x9081 +#define GL_PATH_FILL_COVER_MODE_NV 0x9082 +#define GL_PATH_STROKE_COVER_MODE_NV 0x9083 +#define GL_PATH_STROKE_MASK_NV 0x9084 +#define GL_COUNT_UP_NV 0x9088 +#define GL_COUNT_DOWN_NV 0x9089 +#define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A +#define GL_CONVEX_HULL_NV 0x908B +#define GL_BOUNDING_BOX_NV 0x908D +#define GL_TRANSLATE_X_NV 0x908E +#define GL_TRANSLATE_Y_NV 0x908F +#define GL_TRANSLATE_2D_NV 0x9090 +#define GL_TRANSLATE_3D_NV 0x9091 +#define GL_AFFINE_2D_NV 0x9092 +#define GL_AFFINE_3D_NV 0x9094 +#define GL_TRANSPOSE_AFFINE_2D_NV 0x9096 +#define GL_TRANSPOSE_AFFINE_3D_NV 0x9098 +#define GL_UTF8_NV 0x909A +#define GL_UTF16_NV 0x909B +#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C +#define GL_PATH_COMMAND_COUNT_NV 0x909D +#define GL_PATH_COORD_COUNT_NV 0x909E +#define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F +#define GL_PATH_COMPUTED_LENGTH_NV 0x90A0 +#define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1 +#define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2 +#define GL_SQUARE_NV 0x90A3 +#define GL_ROUND_NV 0x90A4 +#define GL_TRIANGULAR_NV 0x90A5 +#define GL_BEVEL_NV 0x90A6 +#define GL_MITER_REVERT_NV 0x90A7 +#define GL_MITER_TRUNCATE_NV 0x90A8 +#define GL_SKIP_MISSING_GLYPH_NV 0x90A9 +#define GL_USE_MISSING_GLYPH_NV 0x90AA +#define GL_PATH_ERROR_POSITION_NV 0x90AB +#define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD +#define GL_ADJACENT_PAIRS_NV 0x90AE +#define GL_FIRST_TO_REST_NV 0x90AF +#define GL_PATH_GEN_MODE_NV 0x90B0 +#define GL_PATH_GEN_COEFF_NV 0x90B1 +#define GL_PATH_GEN_COMPONENTS_NV 0x90B3 +#define GL_PATH_STENCIL_FUNC_NV 0x90B7 +#define GL_PATH_STENCIL_REF_NV 0x90B8 +#define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9 +#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD +#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE +#define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF +#define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4 +#define GL_MOVE_TO_RESETS_NV 0x90B5 +#define GL_MOVE_TO_CONTINUES_NV 0x90B6 +#define GL_CLOSE_PATH_NV 0x00 +#define GL_MOVE_TO_NV 0x02 +#define GL_RELATIVE_MOVE_TO_NV 0x03 +#define GL_LINE_TO_NV 0x04 +#define GL_RELATIVE_LINE_TO_NV 0x05 +#define GL_HORIZONTAL_LINE_TO_NV 0x06 +#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07 +#define GL_VERTICAL_LINE_TO_NV 0x08 +#define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09 +#define GL_QUADRATIC_CURVE_TO_NV 0x0A +#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B +#define GL_CUBIC_CURVE_TO_NV 0x0C +#define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D +#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E +#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F +#define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10 +#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11 +#define GL_SMALL_CCW_ARC_TO_NV 0x12 +#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13 +#define GL_SMALL_CW_ARC_TO_NV 0x14 +#define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15 +#define GL_LARGE_CCW_ARC_TO_NV 0x16 +#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17 +#define GL_LARGE_CW_ARC_TO_NV 0x18 +#define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19 +#define GL_RESTART_PATH_NV 0xF0 +#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2 +#define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4 +#define GL_RECT_NV 0xF6 +#define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8 +#define GL_CIRCULAR_CW_ARC_TO_NV 0xFA +#define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC +#define GL_ARC_TO_NV 0xFE +#define GL_RELATIVE_ARC_TO_NV 0xFF +#define GL_BOLD_BIT_NV 0x01 +#define GL_ITALIC_BIT_NV 0x02 +#define GL_GLYPH_WIDTH_BIT_NV 0x01 +#define GL_GLYPH_HEIGHT_BIT_NV 0x02 +#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04 +#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08 +#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10 +#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20 +#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40 +#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80 +#define GL_GLYPH_HAS_KERNING_BIT_NV 0x100 +#define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000 +#define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000 +#define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000 +#define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000 +#define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000 +#define GL_FONT_ASCENDER_BIT_NV 0x00200000 +#define GL_FONT_DESCENDER_BIT_NV 0x00400000 +#define GL_FONT_HEIGHT_BIT_NV 0x00800000 +#define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000 +#define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000 +#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000 +#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000 +#define GL_FONT_HAS_KERNING_BIT_NV 0x10000000 +#define GL_ROUNDED_RECT_NV 0xE8 +#define GL_RELATIVE_ROUNDED_RECT_NV 0xE9 +#define GL_ROUNDED_RECT2_NV 0xEA +#define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB +#define GL_ROUNDED_RECT4_NV 0xEC +#define GL_RELATIVE_ROUNDED_RECT4_NV 0xED +#define GL_ROUNDED_RECT8_NV 0xEE +#define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF +#define GL_RELATIVE_RECT_NV 0xF7 +#define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368 +#define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369 +#define GL_FONT_UNAVAILABLE_NV 0x936A +#define GL_FONT_UNINTELLIGIBLE_NV 0x936B +#define GL_CONIC_CURVE_TO_NV 0x1A +#define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B +#define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000 +#define GL_STANDARD_FONT_FORMAT_NV 0x936C +#define GL_PATH_PROJECTION_NV 0x1701 +#define GL_PATH_MODELVIEW_NV 0x1700 +#define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3 +#define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6 +#define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36 +#define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3 +#define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4 +#define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7 +#define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38 +#define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4 +#define GL_FRAGMENT_INPUT_NV 0x936D +typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range); +typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range); +typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path); +typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); +typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); +typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); +typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); +typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString); +typedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); +typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); +typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); +typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath); +typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); +typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); +typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value); +typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value); +typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value); +typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value); +typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray); +typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask); +typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units); +typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask); +typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask); +typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); +typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); +typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func); +typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode); +typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode); +typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); +typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); +typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value); +typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value); +typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands); +typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords); +typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray); +typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); +typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); +typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); +typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y); +typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y); +typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments); +typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); +typedef void (APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); +typedef void (APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); +typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); +typedef void (APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); +typedef void (APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); +typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); +typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); +typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode); +typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); +typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); +typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount); +typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); +typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); +typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); +typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range); +GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range); +GLAPI GLboolean APIENTRY glIsPathNV (GLuint path); +GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); +GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); +GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); +GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); +GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString); +GLAPI void APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); +GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); +GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); +GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath); +GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); +GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); +GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value); +GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value); +GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value); +GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value); +GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray); +GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask); +GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units); +GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask); +GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask); +GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); +GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); +GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func); +GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode); +GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode); +GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); +GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); +GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value); +GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value); +GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands); +GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords); +GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray); +GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); +GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); +GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); +GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y); +GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y); +GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments); +GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); +GLAPI void APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m); +GLAPI void APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m); +GLAPI void APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); +GLAPI void APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m); +GLAPI void APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m); +GLAPI void APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); +GLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); +GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode); +GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); +GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); +GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount); +GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); +GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); +GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); +GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params); +#endif +#endif /* GL_NV_path_rendering */ + +#ifndef GL_NV_path_rendering_shared_edge +#define GL_NV_path_rendering_shared_edge 1 +#define GL_SHARED_EDGE_NV 0xC0 +#endif /* GL_NV_path_rendering_shared_edge */ + +#ifndef GL_NV_primitive_shading_rate +#define GL_NV_primitive_shading_rate 1 +#define GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV 0x95B1 +#define GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV 0x95B2 +#endif /* GL_NV_primitive_shading_rate */ + +#ifndef GL_NV_representative_fragment_test +#define GL_NV_representative_fragment_test 1 +#define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F +#endif /* GL_NV_representative_fragment_test */ + +#ifndef GL_NV_sample_locations +#define GL_NV_sample_locations 1 +#define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D +#define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E +#define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F +#define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340 +#define GL_SAMPLE_LOCATION_NV 0x8E50 +#define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341 +#define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342 +#define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343 +typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v); +GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); +GLAPI void APIENTRY glResolveDepthValuesNV (void); +#endif +#endif /* GL_NV_sample_locations */ + +#ifndef GL_NV_sample_mask_override_coverage +#define GL_NV_sample_mask_override_coverage 1 +#endif /* GL_NV_sample_mask_override_coverage */ + +#ifndef GL_NV_scissor_exclusive +#define GL_NV_scissor_exclusive 1 +#define GL_SCISSOR_TEST_EXCLUSIVE_NV 0x9555 +#define GL_SCISSOR_BOX_EXCLUSIVE_NV 0x9556 +typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVENVPROC) (GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVEARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glScissorExclusiveNV (GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glScissorExclusiveArrayvNV (GLuint first, GLsizei count, const GLint *v); +#endif +#endif /* GL_NV_scissor_exclusive */ + +#ifndef GL_NV_shader_atomic_counters +#define GL_NV_shader_atomic_counters 1 +#endif /* GL_NV_shader_atomic_counters */ + +#ifndef GL_NV_shader_atomic_float +#define GL_NV_shader_atomic_float 1 +#endif /* GL_NV_shader_atomic_float */ + +#ifndef GL_NV_shader_atomic_float64 +#define GL_NV_shader_atomic_float64 1 +#endif /* GL_NV_shader_atomic_float64 */ + +#ifndef GL_NV_shader_atomic_fp16_vector +#define GL_NV_shader_atomic_fp16_vector 1 +#endif /* GL_NV_shader_atomic_fp16_vector */ + +#ifndef GL_NV_shader_atomic_int64 +#define GL_NV_shader_atomic_int64 1 +#endif /* GL_NV_shader_atomic_int64 */ + +#ifndef GL_NV_shader_buffer_load +#define GL_NV_shader_buffer_load 1 +#define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D +#define GL_GPU_ADDRESS_NV 0x8F34 +#define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35 +typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access); +typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target); +typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target); +typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access); +typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer); +typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer); +typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params); +typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params); +typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result); +typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value); +typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access); +GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target); +GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target); +GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access); +GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer); +GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer); +GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params); +GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params); +GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result); +GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value); +GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params); +GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value); +GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +#endif +#endif /* GL_NV_shader_buffer_load */ + +#ifndef GL_NV_shader_buffer_store +#define GL_NV_shader_buffer_store 1 +#define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010 +#endif /* GL_NV_shader_buffer_store */ + +#ifndef GL_NV_shader_subgroup_partitioned +#define GL_NV_shader_subgroup_partitioned 1 +#define GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV 0x00000100 +#endif /* GL_NV_shader_subgroup_partitioned */ + +#ifndef GL_NV_shader_texture_footprint +#define GL_NV_shader_texture_footprint 1 +#endif /* GL_NV_shader_texture_footprint */ + +#ifndef GL_NV_shader_thread_group +#define GL_NV_shader_thread_group 1 +#define GL_WARP_SIZE_NV 0x9339 +#define GL_WARPS_PER_SM_NV 0x933A +#define GL_SM_COUNT_NV 0x933B +#endif /* GL_NV_shader_thread_group */ + +#ifndef GL_NV_shader_thread_shuffle +#define GL_NV_shader_thread_shuffle 1 +#endif /* GL_NV_shader_thread_shuffle */ + +#ifndef GL_NV_shading_rate_image +#define GL_NV_shading_rate_image 1 +#define GL_SHADING_RATE_IMAGE_NV 0x9563 +#define GL_SHADING_RATE_NO_INVOCATIONS_NV 0x9564 +#define GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV 0x9565 +#define GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV 0x9566 +#define GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV 0x9567 +#define GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV 0x9568 +#define GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV 0x9569 +#define GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV 0x956A +#define GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV 0x956B +#define GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV 0x956C +#define GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV 0x956D +#define GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV 0x956E +#define GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV 0x956F +#define GL_SHADING_RATE_IMAGE_BINDING_NV 0x955B +#define GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV 0x955C +#define GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV 0x955D +#define GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV 0x955E +#define GL_MAX_COARSE_FRAGMENT_SAMPLES_NV 0x955F +#define GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV 0x95AE +#define GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV 0x95AF +#define GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV 0x95B0 +typedef void (APIENTRYP PFNGLBINDSHADINGRATEIMAGENVPROC) (GLuint texture); +typedef void (APIENTRYP PFNGLGETSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint entry, GLenum *rate); +typedef void (APIENTRYP PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC) (GLenum rate, GLuint samples, GLuint index, GLint *location); +typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEBARRIERNVPROC) (GLboolean synchronize); +typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates); +typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERNVPROC) (GLenum order); +typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC) (GLenum rate, GLuint samples, const GLint *locations); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBindShadingRateImageNV (GLuint texture); +GLAPI void APIENTRY glGetShadingRateImagePaletteNV (GLuint viewport, GLuint entry, GLenum *rate); +GLAPI void APIENTRY glGetShadingRateSampleLocationivNV (GLenum rate, GLuint samples, GLuint index, GLint *location); +GLAPI void APIENTRY glShadingRateImageBarrierNV (GLboolean synchronize); +GLAPI void APIENTRY glShadingRateImagePaletteNV (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates); +GLAPI void APIENTRY glShadingRateSampleOrderNV (GLenum order); +GLAPI void APIENTRY glShadingRateSampleOrderCustomNV (GLenum rate, GLuint samples, const GLint *locations); +#endif +#endif /* GL_NV_shading_rate_image */ + +#ifndef GL_NV_stereo_view_rendering +#define GL_NV_stereo_view_rendering 1 +#endif /* GL_NV_stereo_view_rendering */ + +#ifndef GL_NV_texture_barrier +#define GL_NV_texture_barrier 1 +typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTextureBarrierNV (void); +#endif +#endif /* GL_NV_texture_barrier */ + +#ifndef GL_NV_texture_rectangle_compressed +#define GL_NV_texture_rectangle_compressed 1 +#endif /* GL_NV_texture_rectangle_compressed */ + +#ifndef GL_NV_uniform_buffer_unified_memory +#define GL_NV_uniform_buffer_unified_memory 1 +#define GL_UNIFORM_BUFFER_UNIFIED_NV 0x936E +#define GL_UNIFORM_BUFFER_ADDRESS_NV 0x936F +#define GL_UNIFORM_BUFFER_LENGTH_NV 0x9370 +#endif /* GL_NV_uniform_buffer_unified_memory */ + +#ifndef GL_NV_vertex_attrib_integer_64bit +#define GL_NV_vertex_attrib_integer_64bit 1 +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params); +typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x); +GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y); +GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); +GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v); +GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v); +GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v); +GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v); +GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x); +GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y); +GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v); +GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v); +GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v); +GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v); +GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params); +GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params); +GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride); +#endif +#endif /* GL_NV_vertex_attrib_integer_64bit */ + +#ifndef GL_NV_vertex_buffer_unified_memory +#define GL_NV_vertex_buffer_unified_memory 1 +#define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E +#define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F +#define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20 +#define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21 +#define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22 +#define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23 +#define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24 +#define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25 +#define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26 +#define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27 +#define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28 +#define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29 +#define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A +#define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B +#define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C +#define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D +#define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E +#define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F +#define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30 +#define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31 +#define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32 +#define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33 +#define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40 +#define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41 +#define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42 +typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); +typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride); +typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); +typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); +GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride); +GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride); +GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride); +GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride); +GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride); +GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride); +GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride); +GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride); +GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); +GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride); +GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result); +#endif +#endif /* GL_NV_vertex_buffer_unified_memory */ + +#ifndef GL_NV_viewport_array2 +#define GL_NV_viewport_array2 1 +#endif /* GL_NV_viewport_array2 */ + +#ifndef GL_NV_viewport_swizzle +#define GL_NV_viewport_swizzle 1 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357 +#define GL_VIEWPORT_SWIZZLE_X_NV 0x9358 +#define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359 +#define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A +#define GL_VIEWPORT_SWIZZLE_W_NV 0x935B +typedef void (APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); +#endif +#endif /* GL_NV_viewport_swizzle */ + +#ifndef GL_OVR_multiview +#define GL_OVR_multiview 1 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632 +#define GL_MAX_VIEWS_OVR 0x9631 +#define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); +#endif +#endif /* GL_OVR_multiview */ + +#ifndef GL_OVR_multiview2 +#define GL_OVR_multiview2 1 +#endif /* GL_OVR_multiview2 */ + #ifdef __cplusplus } #endif diff --git a/include/GL/glext.h b/include/GL/glext.h index ea6c7c3..51cc6e2 100644 --- a/include/GL/glext.h +++ b/include/GL/glext.h @@ -1,39 +1,18 @@ -#ifndef __glext_h_ -#define __glext_h_ 1 +#ifndef __gl_glext_h_ +#define __gl_glext_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright (c) 2013-2015 The Khronos Group Inc. +** Copyright 2013-2020 The Khronos Group Inc. +** SPDX-License-Identifier: MIT ** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision: 32155 $ on $Date: 2015-10-22 23:25:39 -0400 (Thu, 22 Oct 2015) $ +** https://github.com/KhronosGroup/OpenGL-Registry */ #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) @@ -53,7 +32,9 @@ extern "C" { #define GLAPI extern #endif -#define GL_GLEXT_VERSION 20151022 +#define GL_GLEXT_VERSION 20210306 + +#include /* Generated C header for: * API: gl @@ -355,15 +336,17 @@ GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m); #define GL_TEXTURE_FILTER_CONTROL 0x8500 #define GL_DEPTH_TEXTURE_MODE 0x884B #define GL_COMPARE_R_TO_TEXTURE 0x884E -#define GL_FUNC_ADD 0x8006 -#define GL_FUNC_SUBTRACT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT 0x800B -#define GL_MIN 0x8007 -#define GL_MAX 0x8008 +#define GL_BLEND_COLOR 0x8005 +#define GL_BLEND_EQUATION 0x8009 #define GL_CONSTANT_COLOR 0x8001 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 #define GL_CONSTANT_ALPHA 0x8003 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 +#define GL_FUNC_ADD 0x8006 +#define GL_FUNC_REVERSE_SUBTRACT 0x800B +#define GL_FUNC_SUBTRACT 0x800A +#define GL_MIN 0x8007 +#define GL_MAX 0x8008 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount); @@ -464,9 +447,8 @@ GLAPI void APIENTRY glBlendEquation (GLenum mode); #ifndef GL_VERSION_1_5 #define GL_VERSION_1_5 1 -#include -typedef ptrdiff_t GLsizeiptr; -typedef ptrdiff_t GLintptr; +typedef khronos_ssize_t GLsizeiptr; +typedef khronos_intptr_t GLintptr; #define GL_BUFFER_SIZE 0x8764 #define GL_BUFFER_USAGE 0x8765 #define GL_QUERY_COUNTER_BITS 0x8864 @@ -879,7 +861,7 @@ GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboole #ifndef GL_VERSION_3_0 #define GL_VERSION_3_0 1 -typedef unsigned short GLhalf; +typedef khronos_uint16_t GLhalf; #define GL_COMPARE_REF_TO_TEXTURE 0x884E #define GL_CLIP_DISTANCE0 0x3000 #define GL_CLIP_DISTANCE1 0x3001 @@ -1383,45 +1365,8 @@ GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIn #ifndef GL_VERSION_3_2 #define GL_VERSION_3_2 1 typedef struct __GLsync *GLsync; -#ifndef GLEXT_64_TYPES_DEFINED -/* This code block is duplicated in glxext.h, so must be protected */ -#define GLEXT_64_TYPES_DEFINED -/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ -/* (as used in the GL_EXT_timer_query extension). */ -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -#include -#elif defined(__sun__) || defined(__digital__) -#include -#if defined(__STDC__) -#if defined(__arch64__) || defined(_LP64) -typedef long int int64_t; -typedef unsigned long int uint64_t; -#else -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#endif /* __arch64__ */ -#endif /* __STDC__ */ -#elif defined( __VMS ) || defined(__sgi) -#include -#elif defined(__SCO__) || defined(__USLC__) -#include -#elif defined(__UNIXOS2__) || defined(__SOL64__) -typedef long int int32_t; -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#elif defined(_WIN32) && defined(__GNUC__) -#include -#elif defined(_WIN32) -typedef __int32 int32_t; -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -#else -/* Fallback if nothing above works */ -#include -#endif -#endif -typedef uint64_t GLuint64; -typedef int64_t GLint64; +typedef khronos_uint64_t GLuint64; +typedef khronos_int64_t GLint64; #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 #define GL_LINES_ADJACENCY 0x000A @@ -1497,7 +1442,7 @@ typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data); -typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values); typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); @@ -1517,7 +1462,7 @@ GLAPI void APIENTRY glDeleteSync (GLsync sync); GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); -GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values); GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level); @@ -1773,8 +1718,8 @@ typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name); typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name); typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); -typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); -typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); +typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); +typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices); typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params); typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values); @@ -1820,8 +1765,8 @@ GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *pa GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name); GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name); GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); -GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); -GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); +GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); +GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices); GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params); GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values); @@ -1879,7 +1824,7 @@ GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pna #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F #define GL_UNDEFINED_VERTEX 0x8260 typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); -typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length); typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); @@ -1968,7 +1913,7 @@ typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfl typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data); #ifdef GL_GLEXT_PROTOTYPES GLAPI void APIENTRY glReleaseShaderCompiler (void); -GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length); GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f); GLAPI void APIENTRY glClearDepthf (GLfloat d); @@ -2175,7 +2120,7 @@ GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data) typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); -typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params); typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers); @@ -2188,7 +2133,7 @@ typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum m GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); -GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params); GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers); @@ -2469,7 +2414,7 @@ typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect); typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); +typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params); typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level); typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); @@ -2481,7 +2426,7 @@ typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params); typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); -typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); +typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params); typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name); typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); @@ -2513,7 +2458,7 @@ GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect); GLAPI void APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param); GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); +GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params); GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level); GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length); @@ -2525,7 +2470,7 @@ GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params); GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name); GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); -GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); +GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params); GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name); GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name); GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); @@ -2617,6 +2562,18 @@ GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLui #define GL_LOSE_CONTEXT_ON_RESET 0x8252 #define GL_NO_RESET_NOTIFICATION 0x8261 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004 +#define GL_COLOR_TABLE 0x80D0 +#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 +#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 +#define GL_PROXY_COLOR_TABLE 0x80D3 +#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 +#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 +#define GL_CONVOLUTION_1D 0x8010 +#define GL_CONVOLUTION_2D 0x8011 +#define GL_SEPARABLE_2D 0x8012 +#define GL_HISTOGRAM 0x8024 +#define GL_PROXY_HISTOGRAM 0x8025 +#define GL_MINMAX 0x802E #define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth); @@ -2867,6 +2824,42 @@ GLAPI void APIENTRY glTextureBarrier (void); #endif #endif /* GL_VERSION_4_5 */ +#ifndef GL_VERSION_4_6 +#define GL_VERSION_4_6 1 +#define GL_SHADER_BINARY_FORMAT_SPIR_V 0x9551 +#define GL_SPIR_V_BINARY 0x9552 +#define GL_PARAMETER_BUFFER 0x80EE +#define GL_PARAMETER_BUFFER_BINDING 0x80EF +#define GL_CONTEXT_FLAG_NO_ERROR_BIT 0x00000008 +#define GL_VERTICES_SUBMITTED 0x82EE +#define GL_PRIMITIVES_SUBMITTED 0x82EF +#define GL_VERTEX_SHADER_INVOCATIONS 0x82F0 +#define GL_TESS_CONTROL_SHADER_PATCHES 0x82F1 +#define GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2 +#define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3 +#define GL_FRAGMENT_SHADER_INVOCATIONS 0x82F4 +#define GL_COMPUTE_SHADER_INVOCATIONS 0x82F5 +#define GL_CLIPPING_INPUT_PRIMITIVES 0x82F6 +#define GL_CLIPPING_OUTPUT_PRIMITIVES 0x82F7 +#define GL_POLYGON_OFFSET_CLAMP 0x8E1B +#define GL_SPIR_V_EXTENSIONS 0x9553 +#define GL_NUM_SPIR_V_EXTENSIONS 0x9554 +#define GL_TEXTURE_MAX_ANISOTROPY 0x84FE +#define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF +#define GL_TRANSFORM_FEEDBACK_OVERFLOW 0x82EC +#define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED +typedef void (APIENTRYP PFNGLSPECIALIZESHADERPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPPROC) (GLfloat factor, GLfloat units, GLfloat clamp); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSpecializeShader (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); +GLAPI void APIENTRY glMultiDrawArraysIndirectCount (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp); +#endif +#endif /* GL_VERSION_4_6 */ + #ifndef GL_ARB_ES2_compatibility #define GL_ARB_ES2_compatibility 1 #endif /* GL_ARB_ES2_compatibility */ @@ -2900,7 +2893,7 @@ GLAPI void APIENTRY glPrimitiveBoundingBoxARB (GLfloat minX, GLfloat minY, GLflo #ifndef GL_ARB_bindless_texture #define GL_ARB_bindless_texture 1 -typedef uint64_t GLuint64EXT; +typedef khronos_uint64_t GLuint64EXT; #define GL_UNSIGNED_INT64_ARB 0x140F typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture); typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler); @@ -3355,6 +3348,16 @@ GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachmen #define GL_ARB_get_texture_sub_image 1 #endif /* GL_ARB_get_texture_sub_image */ +#ifndef GL_ARB_gl_spirv +#define GL_ARB_gl_spirv 1 +#define GL_SHADER_BINARY_FORMAT_SPIR_V_ARB 0x9551 +#define GL_SPIR_V_BINARY_ARB 0x9552 +typedef void (APIENTRYP PFNGLSPECIALIZESHADERARBPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSpecializeShaderARB (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue); +#endif +#endif /* GL_ARB_gl_spirv */ + #ifndef GL_ARB_gpu_shader5 #define GL_ARB_gpu_shader5 1 #endif /* GL_ARB_gpu_shader5 */ @@ -3450,7 +3453,7 @@ GLAPI void APIENTRY glProgramUniform4ui64vARB (GLuint program, GLint location, G #ifndef GL_ARB_half_float_pixel #define GL_ARB_half_float_pixel 1 -typedef unsigned short GLhalfARB; +typedef khronos_uint16_t GLhalfARB; #define GL_HALF_FLOAT_ARB 0x140B #endif /* GL_ARB_half_float_pixel */ @@ -3460,11 +3463,6 @@ typedef unsigned short GLhalfARB; #ifndef GL_ARB_imaging #define GL_ARB_imaging 1 -#define GL_BLEND_COLOR 0x8005 -#define GL_BLEND_EQUATION 0x8009 -#define GL_CONVOLUTION_1D 0x8010 -#define GL_CONVOLUTION_2D 0x8011 -#define GL_SEPARABLE_2D 0x8012 #define GL_CONVOLUTION_BORDER_MODE 0x8013 #define GL_CONVOLUTION_FILTER_SCALE 0x8014 #define GL_CONVOLUTION_FILTER_BIAS 0x8015 @@ -3482,8 +3480,6 @@ typedef unsigned short GLhalfARB; #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 -#define GL_HISTOGRAM 0x8024 -#define GL_PROXY_HISTOGRAM 0x8025 #define GL_HISTOGRAM_WIDTH 0x8026 #define GL_HISTOGRAM_FORMAT 0x8027 #define GL_HISTOGRAM_RED_SIZE 0x8028 @@ -3492,7 +3488,6 @@ typedef unsigned short GLhalfARB; #define GL_HISTOGRAM_ALPHA_SIZE 0x802B #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C #define GL_HISTOGRAM_SINK 0x802D -#define GL_MINMAX 0x802E #define GL_MINMAX_FORMAT 0x802F #define GL_MINMAX_SINK 0x8030 #define GL_TABLE_TOO_LARGE 0x8031 @@ -3507,12 +3502,6 @@ typedef unsigned short GLhalfARB; #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB -#define GL_COLOR_TABLE 0x80D0 -#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 -#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 -#define GL_PROXY_COLOR_TABLE 0x80D3 -#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 -#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 #define GL_COLOR_TABLE_SCALE 0x80D6 #define GL_COLOR_TABLE_BIAS 0x80D7 #define GL_COLOR_TABLE_FORMAT 0x80D8 @@ -3598,11 +3587,11 @@ GLAPI void APIENTRY glResetMinmax (GLenum target); #define GL_ARB_indirect_parameters 1 #define GL_PARAMETER_BUFFER_ARB 0x80EE #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); #ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); #endif #endif /* GL_ARB_indirect_parameters */ @@ -3622,6 +3611,25 @@ GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor); #ifndef GL_ARB_internalformat_query2 #define GL_ARB_internalformat_query2 1 #define GL_SRGB_DECODE_ARB 0x8299 +#define GL_VIEW_CLASS_EAC_R11 0x9383 +#define GL_VIEW_CLASS_EAC_RG11 0x9384 +#define GL_VIEW_CLASS_ETC2_RGB 0x9385 +#define GL_VIEW_CLASS_ETC2_RGBA 0x9386 +#define GL_VIEW_CLASS_ETC2_EAC_RGBA 0x9387 +#define GL_VIEW_CLASS_ASTC_4x4_RGBA 0x9388 +#define GL_VIEW_CLASS_ASTC_5x4_RGBA 0x9389 +#define GL_VIEW_CLASS_ASTC_5x5_RGBA 0x938A +#define GL_VIEW_CLASS_ASTC_6x5_RGBA 0x938B +#define GL_VIEW_CLASS_ASTC_6x6_RGBA 0x938C +#define GL_VIEW_CLASS_ASTC_8x5_RGBA 0x938D +#define GL_VIEW_CLASS_ASTC_8x6_RGBA 0x938E +#define GL_VIEW_CLASS_ASTC_8x8_RGBA 0x938F +#define GL_VIEW_CLASS_ASTC_10x5_RGBA 0x9390 +#define GL_VIEW_CLASS_ASTC_10x6_RGBA 0x9391 +#define GL_VIEW_CLASS_ASTC_10x8_RGBA 0x9392 +#define GL_VIEW_CLASS_ASTC_10x10_RGBA 0x9393 +#define GL_VIEW_CLASS_ASTC_12x10_RGBA 0x9394 +#define GL_VIEW_CLASS_ASTC_12x12_RGBA 0x9395 #endif /* GL_ARB_internalformat_query2 */ #ifndef GL_ARB_invalidate_subdata @@ -3879,6 +3887,10 @@ GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params); #define GL_COORD_REPLACE_ARB 0x8862 #endif /* GL_ARB_point_sprite */ +#ifndef GL_ARB_polygon_offset_clamp +#define GL_ARB_polygon_offset_clamp 1 +#endif /* GL_ARB_polygon_offset_clamp */ + #ifndef GL_ARB_post_depth_coverage #define GL_ARB_post_depth_coverage 1 #endif /* GL_ARB_post_depth_coverage */ @@ -4277,6 +4289,10 @@ GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xo #define GL_ARB_sparse_texture_clamp 1 #endif /* GL_ARB_sparse_texture_clamp */ +#ifndef GL_ARB_spirv_extensions +#define GL_ARB_spirv_extensions 1 +#endif /* GL_ARB_spirv_extensions */ + #ifndef GL_ARB_stencil_texturing #define GL_ARB_stencil_texturing 1 #endif /* GL_ARB_stencil_texturing */ @@ -4429,6 +4445,10 @@ GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void #define GL_DOT3_RGBA_ARB 0x86AF #endif /* GL_ARB_texture_env_dot3 */ +#ifndef GL_ARB_texture_filter_anisotropic +#define GL_ARB_texture_filter_anisotropic 1 +#endif /* GL_ARB_texture_filter_anisotropic */ + #ifndef GL_ARB_texture_filter_minmax #define GL_ARB_texture_filter_minmax 1 #define GL_TEXTURE_REDUCTION_MODE_ARB 0x9366 @@ -4657,8 +4677,8 @@ GLAPI void APIENTRY glVertexBlendARB (GLint count); #ifndef GL_ARB_vertex_buffer_object #define GL_ARB_vertex_buffer_object 1 -typedef ptrdiff_t GLsizeiptrARB; -typedef ptrdiff_t GLintptrARB; +typedef khronos_ssize_t GLsizeiptrARB; +typedef khronos_intptr_t GLintptrARB; #define GL_BUFFER_SIZE_ARB 0x8764 #define GL_BUFFER_USAGE_ARB 0x8765 #define GL_ARRAY_BUFFER_ARB 0x8892 @@ -4853,6 +4873,12 @@ GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcha #ifndef GL_ARB_viewport_array #define GL_ARB_viewport_array 1 +typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYDVNVPROC) (GLuint first, GLsizei count, const GLdouble *v); +typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDDNVPROC) (GLuint index, GLdouble n, GLdouble f); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDepthRangeArraydvNV (GLuint first, GLsizei count, const GLdouble *v); +GLAPI void APIENTRY glDepthRangeIndexeddNV (GLuint index, GLdouble n, GLdouble f); +#endif #endif /* GL_ARB_viewport_array */ #ifndef GL_ARB_window_pos @@ -4934,6 +4960,16 @@ GLAPI void APIENTRY glBlendBarrierKHR (void); #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008 #endif /* GL_KHR_no_error */ +#ifndef GL_KHR_parallel_shader_compile +#define GL_KHR_parallel_shader_compile 1 +#define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0 +#define GL_COMPLETION_STATUS_KHR 0x91B1 +typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count); +#endif +#endif /* GL_KHR_parallel_shader_compile */ + #ifndef GL_KHR_robust_buffer_access_behavior #define GL_KHR_robust_buffer_access_behavior 1 #endif /* GL_KHR_robust_buffer_access_behavior */ @@ -4943,6 +4979,22 @@ GLAPI void APIENTRY glBlendBarrierKHR (void); #define GL_CONTEXT_ROBUST_ACCESS 0x90F3 #endif /* GL_KHR_robustness */ +#ifndef GL_KHR_shader_subgroup +#define GL_KHR_shader_subgroup 1 +#define GL_SUBGROUP_SIZE_KHR 0x9532 +#define GL_SUBGROUP_SUPPORTED_STAGES_KHR 0x9533 +#define GL_SUBGROUP_SUPPORTED_FEATURES_KHR 0x9534 +#define GL_SUBGROUP_QUAD_ALL_STAGES_KHR 0x9535 +#define GL_SUBGROUP_FEATURE_BASIC_BIT_KHR 0x00000001 +#define GL_SUBGROUP_FEATURE_VOTE_BIT_KHR 0x00000002 +#define GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR 0x00000004 +#define GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR 0x00000008 +#define GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR 0x00000010 +#define GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR 0x00000020 +#define GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR 0x00000040 +#define GL_SUBGROUP_FEATURE_QUAD_BIT_KHR 0x00000080 +#endif /* GL_KHR_shader_subgroup */ + #ifndef GL_KHR_texture_compression_astc_hdr #define GL_KHR_texture_compression_astc_hdr 1 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 @@ -5049,7 +5101,7 @@ GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords); #ifndef GL_OES_fixed_point #define GL_OES_fixed_point 1 -typedef GLint GLfixed; +typedef khronos_int32_t GLfixed; #define GL_FIXED_OES 0x140C typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref); typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); @@ -5345,12 +5397,12 @@ typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severi typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf); typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam); -typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message); +typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufSize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message); #ifdef GL_GLEXT_PROTOTYPES GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf); GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam); -GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message); +GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufSize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message); #endif #endif /* GL_AMD_debug_output */ @@ -5374,13 +5426,68 @@ GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRG #endif #endif /* GL_AMD_draw_buffers_blend */ +#ifndef GL_AMD_framebuffer_multisample_advanced +#define GL_AMD_framebuffer_multisample_advanced 1 +#define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2 +#define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3 +#define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4 +#define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5 +#define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6 +#define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7 +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +#endif +#endif /* GL_AMD_framebuffer_multisample_advanced */ + +#ifndef GL_AMD_framebuffer_sample_positions +#define GL_AMD_framebuffer_sample_positions 1 +#define GL_SUBSAMPLE_DISTANCE_AMD 0x883F +#define GL_PIXELS_PER_SAMPLE_PATTERN_X_AMD 0x91AE +#define GL_PIXELS_PER_SAMPLE_PATTERN_Y_AMD 0x91AF +#define GL_ALL_PIXELS_AMD 0xFFFFFFFF +typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values); +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC) (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values); +typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC) (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFramebufferSamplePositionsfvAMD (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values); +GLAPI void APIENTRY glNamedFramebufferSamplePositionsfvAMD (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values); +GLAPI void APIENTRY glGetFramebufferParameterfvAMD (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values); +GLAPI void APIENTRY glGetNamedFramebufferParameterfvAMD (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values); +#endif +#endif /* GL_AMD_framebuffer_sample_positions */ + #ifndef GL_AMD_gcn_shader #define GL_AMD_gcn_shader 1 #endif /* GL_AMD_gcn_shader */ +#ifndef GL_AMD_gpu_shader_half_float +#define GL_AMD_gpu_shader_half_float 1 +#define GL_FLOAT16_NV 0x8FF8 +#define GL_FLOAT16_VEC2_NV 0x8FF9 +#define GL_FLOAT16_VEC3_NV 0x8FFA +#define GL_FLOAT16_VEC4_NV 0x8FFB +#define GL_FLOAT16_MAT2_AMD 0x91C5 +#define GL_FLOAT16_MAT3_AMD 0x91C6 +#define GL_FLOAT16_MAT4_AMD 0x91C7 +#define GL_FLOAT16_MAT2x3_AMD 0x91C8 +#define GL_FLOAT16_MAT2x4_AMD 0x91C9 +#define GL_FLOAT16_MAT3x2_AMD 0x91CA +#define GL_FLOAT16_MAT3x4_AMD 0x91CB +#define GL_FLOAT16_MAT4x2_AMD 0x91CC +#define GL_FLOAT16_MAT4x3_AMD 0x91CD +#endif /* GL_AMD_gpu_shader_half_float */ + +#ifndef GL_AMD_gpu_shader_int16 +#define GL_AMD_gpu_shader_int16 1 +#endif /* GL_AMD_gpu_shader_int16 */ + #ifndef GL_AMD_gpu_shader_int64 #define GL_AMD_gpu_shader_int64 1 -typedef int64_t GLint64EXT; +typedef khronos_int64_t GLint64EXT; #define GL_INT64_NV 0x140E #define GL_UNSIGNED_INT64_NV 0x140F #define GL_INT8_NV 0x8FE0 @@ -5405,10 +5512,6 @@ typedef int64_t GLint64EXT; #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 -#define GL_FLOAT16_NV 0x8FF8 -#define GL_FLOAT16_VEC2_NV 0x8FF9 -#define GL_FLOAT16_VEC3_NV 0x8FFA -#define GL_FLOAT16_VEC4_NV 0x8FFB typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x); typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y); typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); @@ -5581,7 +5684,6 @@ GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname #ifndef GL_AMD_sample_positions #define GL_AMD_sample_positions 1 -#define GL_SUBSAMPLE_DISTANCE_AMD 0x883F typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val); #ifdef GL_GLEXT_PROTOTYPES GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val); @@ -5596,6 +5698,22 @@ GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLf #define GL_AMD_shader_atomic_counter_ops 1 #endif /* GL_AMD_shader_atomic_counter_ops */ +#ifndef GL_AMD_shader_ballot +#define GL_AMD_shader_ballot 1 +#endif /* GL_AMD_shader_ballot */ + +#ifndef GL_AMD_shader_explicit_vertex_parameter +#define GL_AMD_shader_explicit_vertex_parameter 1 +#endif /* GL_AMD_shader_explicit_vertex_parameter */ + +#ifndef GL_AMD_shader_gpu_shader_half_float_fetch +#define GL_AMD_shader_gpu_shader_half_float_fetch 1 +#endif /* GL_AMD_shader_gpu_shader_half_float_fetch */ + +#ifndef GL_AMD_shader_image_load_store_lod +#define GL_AMD_shader_image_load_store_lod 1 +#endif /* GL_AMD_shader_image_load_store_lod */ + #ifndef GL_AMD_shader_stencil_export #define GL_AMD_shader_stencil_export 1 #endif /* GL_AMD_shader_stencil_export */ @@ -5635,6 +5753,10 @@ GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value); #endif #endif /* GL_AMD_stencil_operation_extended */ +#ifndef GL_AMD_texture_gather_bias_lod +#define GL_AMD_texture_gather_bias_lod 1 +#endif /* GL_AMD_texture_gather_bias_lod */ + #ifndef GL_AMD_texture_texture4 #define GL_AMD_texture_texture4 1 #endif /* GL_AMD_texture_texture4 */ @@ -6335,6 +6457,21 @@ GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param); #define GL_422_REV_AVERAGE_EXT 0x80CF #endif /* GL_EXT_422_pixels */ +#ifndef GL_EXT_EGL_image_storage +#define GL_EXT_EGL_image_storage 1 +typedef void *GLeglImageOES; +typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list); +typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list); +GLAPI void APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list); +#endif +#endif /* GL_EXT_EGL_image_storage */ + +#ifndef GL_EXT_EGL_sync +#define GL_EXT_EGL_sync 1 +#endif /* GL_EXT_EGL_sync */ + #ifndef GL_EXT_abgr #define GL_EXT_abgr 1 #define GL_ABGR_EXT 0x8000 @@ -7186,6 +7323,17 @@ GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint en #endif #endif /* GL_EXT_draw_range_elements */ +#ifndef GL_EXT_external_buffer +#define GL_EXT_external_buffer 1 +typedef void *GLeglClientBufferEXT; +typedef void (APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +GLAPI void APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +#endif +#endif /* GL_EXT_external_buffer */ + #ifndef GL_EXT_fog_coord #define GL_EXT_fog_coord 1 #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450 @@ -7529,6 +7677,89 @@ GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode); #endif #endif /* GL_EXT_light_texture */ +#ifndef GL_EXT_memory_object +#define GL_EXT_memory_object 1 +#define GL_TEXTURE_TILING_EXT 0x9580 +#define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581 +#define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B +#define GL_NUM_TILING_TYPES_EXT 0x9582 +#define GL_TILING_TYPES_EXT 0x9583 +#define GL_OPTIMAL_TILING_EXT 0x9584 +#define GL_LINEAR_TILING_EXT 0x9585 +#define GL_NUM_DEVICE_UUIDS_EXT 0x9596 +#define GL_DEVICE_UUID_EXT 0x9597 +#define GL_DRIVER_UUID_EXT 0x9598 +#define GL_UUID_SIZE_EXT 16 +typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) (GLenum pname, GLubyte *data); +typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) (GLenum target, GLuint index, GLubyte *data); +typedef void (APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) (GLsizei n, const GLuint *memoryObjects); +typedef GLboolean (APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) (GLuint memoryObject); +typedef void (APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) (GLsizei n, GLuint *memoryObjects); +typedef void (APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXSTORAGEMEM1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM1DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGetUnsignedBytevEXT (GLenum pname, GLubyte *data); +GLAPI void APIENTRY glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte *data); +GLAPI void APIENTRY glDeleteMemoryObjectsEXT (GLsizei n, const GLuint *memoryObjects); +GLAPI GLboolean APIENTRY glIsMemoryObjectEXT (GLuint memoryObject); +GLAPI void APIENTRY glCreateMemoryObjectsEXT (GLsizei n, GLuint *memoryObjects); +GLAPI void APIENTRY glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint *params); +GLAPI void APIENTRY glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint *params); +GLAPI void APIENTRY glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glTexStorageMem1DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glTextureStorageMem1DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset); +#endif +#endif /* GL_EXT_memory_object */ + +#ifndef GL_EXT_memory_object_fd +#define GL_EXT_memory_object_fd 1 +#define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586 +typedef void (APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, GLint fd); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd); +#endif +#endif /* GL_EXT_memory_object_fd */ + +#ifndef GL_EXT_memory_object_win32 +#define GL_EXT_memory_object_win32 1 +#define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587 +#define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588 +#define GL_DEVICE_LUID_EXT 0x9599 +#define GL_DEVICE_NODE_MASK_EXT 0x959A +#define GL_LUID_SIZE_EXT 8 +#define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589 +#define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A +#define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B +#define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C +typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, void *handle); +typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, const void *name); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle); +GLAPI void APIENTRY glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name); +#endif +#endif /* GL_EXT_memory_object_win32 */ + #ifndef GL_EXT_misc_attribute #define GL_EXT_misc_attribute 1 #endif /* GL_EXT_misc_attribute */ @@ -7570,6 +7801,18 @@ GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern); #endif #endif /* GL_EXT_multisample */ +#ifndef GL_EXT_multiview_tessellation_geometry_shader +#define GL_EXT_multiview_tessellation_geometry_shader 1 +#endif /* GL_EXT_multiview_tessellation_geometry_shader */ + +#ifndef GL_EXT_multiview_texture_multisample +#define GL_EXT_multiview_texture_multisample 1 +#endif /* GL_EXT_multiview_texture_multisample */ + +#ifndef GL_EXT_multiview_timer_query +#define GL_EXT_multiview_timer_query 1 +#endif /* GL_EXT_multiview_timer_query */ + #ifndef GL_EXT_packed_depth_stencil #define GL_EXT_packed_depth_stencil 1 #define GL_DEPTH_STENCIL_EXT 0x84F9 @@ -7770,6 +8013,55 @@ GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei #endif #endif /* GL_EXT_secondary_color */ +#ifndef GL_EXT_semaphore +#define GL_EXT_semaphore 1 +#define GL_LAYOUT_GENERAL_EXT 0x958D +#define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E +#define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F +#define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590 +#define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591 +#define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592 +#define GL_LAYOUT_TRANSFER_DST_EXT 0x9593 +#define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530 +#define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531 +typedef void (APIENTRYP PFNGLGENSEMAPHORESEXTPROC) (GLsizei n, GLuint *semaphores); +typedef void (APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) (GLsizei n, const GLuint *semaphores); +typedef GLboolean (APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore); +typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, const GLuint64 *params); +typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, GLuint64 *params); +typedef void (APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts); +typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGenSemaphoresEXT (GLsizei n, GLuint *semaphores); +GLAPI void APIENTRY glDeleteSemaphoresEXT (GLsizei n, const GLuint *semaphores); +GLAPI GLboolean APIENTRY glIsSemaphoreEXT (GLuint semaphore); +GLAPI void APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 *params); +GLAPI void APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 *params); +GLAPI void APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts); +GLAPI void APIENTRY glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts); +#endif +#endif /* GL_EXT_semaphore */ + +#ifndef GL_EXT_semaphore_fd +#define GL_EXT_semaphore_fd 1 +typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLint fd); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd); +#endif +#endif /* GL_EXT_semaphore_fd */ + +#ifndef GL_EXT_semaphore_win32 +#define GL_EXT_semaphore_win32 1 +#define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594 +#define GL_D3D12_FENCE_VALUE_EXT 0x9595 +typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handleType, void *handle); +typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) (GLuint semaphore, GLenum handleType, const void *name); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle); +GLAPI void APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name); +#endif +#endif /* GL_EXT_semaphore_win32 */ + #ifndef GL_EXT_separate_shader_objects #define GL_EXT_separate_shader_objects 1 #define GL_ACTIVE_PROGRAM_EXT 0x8B8D @@ -7790,6 +8082,19 @@ GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *strin #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA #endif /* GL_EXT_separate_specular_color */ +#ifndef GL_EXT_shader_framebuffer_fetch +#define GL_EXT_shader_framebuffer_fetch 1 +#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 +#endif /* GL_EXT_shader_framebuffer_fetch */ + +#ifndef GL_EXT_shader_framebuffer_fetch_non_coherent +#define GL_EXT_shader_framebuffer_fetch_non_coherent 1 +typedef void (APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFramebufferFetchBarrierEXT (void); +#endif +#endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */ + #ifndef GL_EXT_shader_image_load_formatted #define GL_EXT_shader_image_load_formatted 1 #endif /* GL_EXT_shader_image_load_formatted */ @@ -8090,6 +8395,8 @@ GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint #ifndef GL_EXT_texture_filter_minmax #define GL_EXT_texture_filter_minmax 1 +#define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366 +#define GL_WEIGHTED_AVERAGE_EXT 0x9367 #endif /* GL_EXT_texture_filter_minmax */ #ifndef GL_EXT_texture_integer @@ -8224,6 +8531,16 @@ GLAPI void APIENTRY glTextureNormalEXT (GLenum mode); #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F #endif /* GL_EXT_texture_sRGB */ +#ifndef GL_EXT_texture_sRGB_R8 +#define GL_EXT_texture_sRGB_R8 1 +#define GL_SR8_EXT 0x8FBD +#endif /* GL_EXT_texture_sRGB_R8 */ + +#ifndef GL_EXT_texture_sRGB_RG8 +#define GL_EXT_texture_sRGB_RG8 1 +#define GL_SRG8_EXT 0x8FBE +#endif /* GL_EXT_texture_sRGB_RG8 */ + #ifndef GL_EXT_texture_sRGB_decode #define GL_EXT_texture_sRGB_decode 1 #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 @@ -8231,6 +8548,10 @@ GLAPI void APIENTRY glTextureNormalEXT (GLenum mode); #define GL_SKIP_DECODE_EXT 0x8A4A #endif /* GL_EXT_texture_sRGB_decode */ +#ifndef GL_EXT_texture_shadow_lod +#define GL_EXT_texture_shadow_lod 1 +#endif /* GL_EXT_texture_shadow_lod */ + #ifndef GL_EXT_texture_shared_exponent #define GL_EXT_texture_shared_exponent 1 #define GL_RGB9_E5_EXT 0x8C3D @@ -8636,6 +8957,30 @@ GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei s #endif #endif /* GL_EXT_vertex_weighting */ +#ifndef GL_EXT_win32_keyed_mutex +#define GL_EXT_win32_keyed_mutex 1 +typedef GLboolean (APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key, GLuint timeout); +typedef GLboolean (APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLboolean APIENTRY glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout); +GLAPI GLboolean APIENTRY glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key); +#endif +#endif /* GL_EXT_win32_keyed_mutex */ + +#ifndef GL_EXT_window_rectangles +#define GL_EXT_window_rectangles 1 +#define GL_INCLUSIVE_EXT 0x8F10 +#define GL_EXCLUSIVE_EXT 0x8F11 +#define GL_WINDOW_RECTANGLE_EXT 0x8F12 +#define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13 +#define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14 +#define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15 +typedef void (APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box); +#endif +#endif /* GL_EXT_window_rectangles */ + #ifndef GL_EXT_x11_sync_object #define GL_EXT_x11_sync_object 1 #define GL_SYNC_X11_FENCE_EXT 0x90E1 @@ -8813,6 +9158,16 @@ GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRG #define GL_INTERLACE_READ_INGR 0x8568 #endif /* GL_INGR_interlace_read */ +#ifndef GL_INTEL_blackhole_render +#define GL_INTEL_blackhole_render 1 +#define GL_BLACKHOLE_RENDER_INTEL 0x83FC +#endif /* GL_INTEL_blackhole_render */ + +#ifndef GL_INTEL_conservative_rasterization +#define GL_INTEL_conservative_rasterization 1 +#define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE +#endif /* GL_INTEL_conservative_rasterization */ + #ifndef GL_INTEL_fragment_shader_ordering #define GL_INTEL_fragment_shader_ordering 1 #endif /* GL_INTEL_fragment_shader_ordering */ @@ -8889,7 +9244,7 @@ typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle); typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId); typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId); typedef void (APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); -typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); +typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten); typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId); typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); #ifdef GL_GLEXT_PROTOTYPES @@ -8900,7 +9255,7 @@ GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle); GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId); GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId); GLAPI void APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); -GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); +GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten); GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId); GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); #endif @@ -8916,11 +9271,37 @@ GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLen #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E #endif /* GL_MESAX_texture_stack */ +#ifndef GL_MESA_framebuffer_flip_x +#define GL_MESA_framebuffer_flip_x 1 +#define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC +#endif /* GL_MESA_framebuffer_flip_x */ + +#ifndef GL_MESA_framebuffer_flip_y +#define GL_MESA_framebuffer_flip_y 1 +#define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB +typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIMESAPROC) (GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC) (GLenum target, GLenum pname, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFramebufferParameteriMESA (GLenum target, GLenum pname, GLint param); +GLAPI void APIENTRY glGetFramebufferParameterivMESA (GLenum target, GLenum pname, GLint *params); +#endif +#endif /* GL_MESA_framebuffer_flip_y */ + +#ifndef GL_MESA_framebuffer_swap_xy +#define GL_MESA_framebuffer_swap_xy 1 +#define GL_FRAMEBUFFER_SWAP_XY_MESA 0x8BBD +#endif /* GL_MESA_framebuffer_swap_xy */ + #ifndef GL_MESA_pack_invert #define GL_MESA_pack_invert 1 #define GL_PACK_INVERT_MESA 0x8758 #endif /* GL_MESA_pack_invert */ +#ifndef GL_MESA_program_binary_formats +#define GL_MESA_program_binary_formats 1 +#define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F +#endif /* GL_MESA_program_binary_formats */ + #ifndef GL_MESA_resize_buffers #define GL_MESA_resize_buffers 1 typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void); @@ -8929,6 +9310,17 @@ GLAPI void APIENTRY glResizeBuffersMESA (void); #endif #endif /* GL_MESA_resize_buffers */ +#ifndef GL_MESA_shader_integer_functions +#define GL_MESA_shader_integer_functions 1 +#endif /* GL_MESA_shader_integer_functions */ + +#ifndef GL_MESA_tile_raster_order +#define GL_MESA_tile_raster_order 1 +#define GL_TILE_RASTER_ORDER_FIXED_MESA 0x8BB8 +#define GL_TILE_RASTER_ORDER_INCREASING_X_MESA 0x8BB9 +#define GL_TILE_RASTER_ORDER_INCREASING_Y_MESA 0x8BBA +#endif /* GL_MESA_tile_raster_order */ + #ifndef GL_MESA_window_pos #define GL_MESA_window_pos 1 typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y); @@ -8990,6 +9382,10 @@ GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v); #define GL_YCBCR_MESA 0x8757 #endif /* GL_MESA_ycbcr_texture */ +#ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers +#define GL_NVX_blend_equation_advanced_multi_draw_buffers 1 +#endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */ + #ifndef GL_NVX_conditional_render #define GL_NVX_conditional_render 1 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id); @@ -9009,6 +9405,65 @@ GLAPI void APIENTRY glEndConditionalRenderNVX (void); #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B #endif /* GL_NVX_gpu_memory_info */ +#ifndef GL_NVX_gpu_multicast2 +#define GL_NVX_gpu_multicast2 1 +#define GL_UPLOAD_GPU_MASK_NVX 0x954A +typedef void (APIENTRYP PFNGLUPLOADGPUMASKNVXPROC) (GLbitfield mask); +typedef void (APIENTRYP PFNGLMULTICASTVIEWPORTARRAYVNVXPROC) (GLuint gpu, GLuint first, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTICASTVIEWPORTPOSITIONWSCALENVXPROC) (GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff); +typedef void (APIENTRYP PFNGLMULTICASTSCISSORARRAYVNVXPROC) (GLuint gpu, GLuint first, GLsizei count, const GLint *v); +typedef GLuint (APIENTRYP PFNGLASYNCCOPYBUFFERSUBDATANVXPROC) (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *fenceValueArray, GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray); +typedef GLuint (APIENTRYP PFNGLASYNCCOPYIMAGESUBDATANVXPROC) (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *waitValueArray, GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glUploadGpuMaskNVX (GLbitfield mask); +GLAPI void APIENTRY glMulticastViewportArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLfloat *v); +GLAPI void APIENTRY glMulticastViewportPositionWScaleNVX (GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff); +GLAPI void APIENTRY glMulticastScissorArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLint *v); +GLAPI GLuint APIENTRY glAsyncCopyBufferSubDataNVX (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *fenceValueArray, GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray); +GLAPI GLuint APIENTRY glAsyncCopyImageSubDataNVX (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *waitValueArray, GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray); +#endif +#endif /* GL_NVX_gpu_multicast2 */ + +#ifndef GL_NVX_linked_gpu_multicast +#define GL_NVX_linked_gpu_multicast 1 +#define GL_LGPU_SEPARATE_STORAGE_BIT_NVX 0x0800 +#define GL_MAX_LGPU_GPUS_NVX 0x92BA +typedef void (APIENTRYP PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); +typedef void (APIENTRYP PFNGLLGPUCOPYIMAGESUBDATANVXPROC) (GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); +typedef void (APIENTRYP PFNGLLGPUINTERLOCKNVXPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glLGPUNamedBufferSubDataNVX (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); +GLAPI void APIENTRY glLGPUCopyImageSubDataNVX (GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); +GLAPI void APIENTRY glLGPUInterlockNVX (void); +#endif +#endif /* GL_NVX_linked_gpu_multicast */ + +#ifndef GL_NVX_progress_fence +#define GL_NVX_progress_fence 1 +typedef GLuint (APIENTRYP PFNGLCREATEPROGRESSFENCENVXPROC) (void); +typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREUI64NVXPROC) (GLuint signalGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray); +typedef void (APIENTRYP PFNGLWAITSEMAPHOREUI64NVXPROC) (GLuint waitGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray); +typedef void (APIENTRYP PFNGLCLIENTWAITSEMAPHOREUI64NVXPROC) (GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLuint APIENTRY glCreateProgressFenceNVX (void); +GLAPI void APIENTRY glSignalSemaphoreui64NVX (GLuint signalGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray); +GLAPI void APIENTRY glWaitSemaphoreui64NVX (GLuint waitGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray); +GLAPI void APIENTRY glClientWaitSemaphoreui64NVX (GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray); +#endif +#endif /* GL_NVX_progress_fence */ + +#ifndef GL_NV_alpha_to_coverage_dither_control +#define GL_NV_alpha_to_coverage_dither_control 1 +#define GL_ALPHA_TO_COVERAGE_DITHER_DEFAULT_NV 0x934D +#define GL_ALPHA_TO_COVERAGE_DITHER_ENABLE_NV 0x934E +#define GL_ALPHA_TO_COVERAGE_DITHER_DISABLE_NV 0x934F +#define GL_ALPHA_TO_COVERAGE_DITHER_MODE_NV 0x92BF +typedef void (APIENTRYP PFNGLALPHATOCOVERAGEDITHERCONTROLNVPROC) (GLenum mode); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glAlphaToCoverageDitherControlNV (GLenum mode); +#endif +#endif /* GL_NV_alpha_to_coverage_dither_control */ + #ifndef GL_NV_bindless_multi_draw_indirect #define GL_NV_bindless_multi_draw_indirect 1 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); @@ -9125,10 +9580,25 @@ GLAPI void APIENTRY glBlendBarrierNV (void); #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 #endif /* GL_NV_blend_equation_advanced_coherent */ +#ifndef GL_NV_blend_minmax_factor +#define GL_NV_blend_minmax_factor 1 +#endif /* GL_NV_blend_minmax_factor */ + #ifndef GL_NV_blend_square #define GL_NV_blend_square 1 #endif /* GL_NV_blend_square */ +#ifndef GL_NV_clip_space_w_scaling +#define GL_NV_clip_space_w_scaling 1 +#define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C +#define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D +#define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E +typedef void (APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff); +#endif +#endif /* GL_NV_clip_space_w_scaling */ + #ifndef GL_NV_command_list #define GL_NV_command_list 1 #define GL_TERMINATE_SEQUENCE_COMMAND_NV 0x0000 @@ -9194,6 +9664,10 @@ GLAPI void APIENTRY glCallCommandListNV (GLuint list); #define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC #endif /* GL_NV_compute_program5 */ +#ifndef GL_NV_compute_shader_derivatives +#define GL_NV_compute_shader_derivatives 1 +#endif /* GL_NV_compute_shader_derivatives */ + #ifndef GL_NV_conditional_render #define GL_NV_conditional_render 1 #define GL_QUERY_WAIT_NV 0x8E13 @@ -9231,6 +9705,26 @@ GLAPI void APIENTRY glConservativeRasterParameterfNV (GLenum pname, GLfloat valu #endif #endif /* GL_NV_conservative_raster_dilate */ +#ifndef GL_NV_conservative_raster_pre_snap +#define GL_NV_conservative_raster_pre_snap 1 +#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550 +#endif /* GL_NV_conservative_raster_pre_snap */ + +#ifndef GL_NV_conservative_raster_pre_snap_triangles +#define GL_NV_conservative_raster_pre_snap_triangles 1 +#define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D +#define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E +#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F +typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param); +#endif +#endif /* GL_NV_conservative_raster_pre_snap_triangles */ + +#ifndef GL_NV_conservative_raster_underestimation +#define GL_NV_conservative_raster_underestimation 1 +#endif /* GL_NV_conservative_raster_underestimation */ + #ifndef GL_NV_copy_depth_to_color #define GL_NV_copy_depth_to_color 1 #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E @@ -9280,6 +9774,23 @@ GLAPI void APIENTRY glDrawTextureNV (GLuint texture, GLuint sampler, GLfloat x0, #endif #endif /* GL_NV_draw_texture */ +#ifndef GL_NV_draw_vulkan_image +#define GL_NV_draw_vulkan_image 1 +typedef void (APIENTRY *GLVULKANPROCNV)(void); +typedef void (APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); +typedef GLVULKANPROCNV (APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name); +typedef void (APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); +typedef void (APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); +typedef void (APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); +GLAPI GLVULKANPROCNV APIENTRY glGetVkProcAddrNV (const GLchar *name); +GLAPI void APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore); +GLAPI void APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore); +GLAPI void APIENTRY glSignalVkFenceNV (GLuint64 vkFence); +#endif +#endif /* GL_NV_draw_vulkan_image */ + #ifndef GL_NV_evaluators #define GL_NV_evaluators 1 #define GL_EVAL_2D_NV 0x86C0 @@ -9455,6 +9966,10 @@ GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, cons #define GL_NV_fragment_program_option 1 #endif /* GL_NV_fragment_program_option */ +#ifndef GL_NV_fragment_shader_barycentric +#define GL_NV_fragment_shader_barycentric 1 +#endif /* GL_NV_fragment_shader_barycentric */ + #ifndef GL_NV_fragment_shader_interlock #define GL_NV_fragment_shader_interlock 1 #endif /* GL_NV_fragment_shader_interlock */ @@ -9470,11 +9985,11 @@ GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, cons #define GL_COVERAGE_MODULATION_NV 0x9332 #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333 typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v); -typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v); +typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufSize, GLfloat *v); typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components); #ifdef GL_GLEXT_PROTOTYPES GLAPI void APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v); -GLAPI void APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v); +GLAPI void APIENTRY glGetCoverageModulationTableNV (GLsizei bufSize, GLfloat *v); GLAPI void APIENTRY glCoverageModulationNV (GLenum components); #endif #endif /* GL_NV_framebuffer_mixed_samples */ @@ -9514,6 +10029,41 @@ GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachmen #define GL_NV_geometry_shader_passthrough 1 #endif /* GL_NV_geometry_shader_passthrough */ +#ifndef GL_NV_gpu_multicast +#define GL_NV_gpu_multicast 1 +#define GL_PER_GPU_STORAGE_BIT_NV 0x0800 +#define GL_MULTICAST_GPUS_NV 0x92BA +#define GL_RENDER_GPU_MASK_NV 0x9558 +#define GL_PER_GPU_STORAGE_NV 0x9548 +#define GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9549 +typedef void (APIENTRYP PFNGLRENDERGPUMASKNVPROC) (GLbitfield mask); +typedef void (APIENTRYP PFNGLMULTICASTBUFFERSUBDATANVPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); +typedef void (APIENTRYP PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC) (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +typedef void (APIENTRYP PFNGLMULTICASTCOPYIMAGESUBDATANVPROC) (GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); +typedef void (APIENTRYP PFNGLMULTICASTBLITFRAMEBUFFERNVPROC) (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +typedef void (APIENTRYP PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTICASTBARRIERNVPROC) (void); +typedef void (APIENTRYP PFNGLMULTICASTWAITSYNCNVPROC) (GLuint signalGpu, GLbitfield waitGpuMask); +typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint *params); +typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint64 *params); +typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glRenderGpuMaskNV (GLbitfield mask); +GLAPI void APIENTRY glMulticastBufferSubDataNV (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); +GLAPI void APIENTRY glMulticastCopyBufferSubDataNV (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +GLAPI void APIENTRY glMulticastCopyImageSubDataNV (GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); +GLAPI void APIENTRY glMulticastBlitFramebufferNV (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +GLAPI void APIENTRY glMulticastFramebufferSampleLocationsfvNV (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); +GLAPI void APIENTRY glMulticastBarrierNV (void); +GLAPI void APIENTRY glMulticastWaitSyncNV (GLuint signalGpu, GLbitfield waitGpuMask); +GLAPI void APIENTRY glMulticastGetQueryObjectivNV (GLuint gpu, GLuint id, GLenum pname, GLint *params); +GLAPI void APIENTRY glMulticastGetQueryObjectuivNV (GLuint gpu, GLuint id, GLenum pname, GLuint *params); +GLAPI void APIENTRY glMulticastGetQueryObjecti64vNV (GLuint gpu, GLuint id, GLenum pname, GLint64 *params); +GLAPI void APIENTRY glMulticastGetQueryObjectui64vNV (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params); +#endif +#endif /* GL_NV_gpu_multicast */ + #ifndef GL_NV_gpu_program4 #define GL_NV_gpu_program4 1 #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904 @@ -9692,9 +10242,9 @@ GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfN #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372 #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373 #define GL_CONFORMANT_NV 0x9374 -typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); +typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params); #ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); +GLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params); #endif #endif /* GL_NV_internalformat_sample_query */ @@ -9704,6 +10254,110 @@ GLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum interna #define GL_MAX_SPOT_EXPONENT_NV 0x8505 #endif /* GL_NV_light_max_exponent */ +#ifndef GL_NV_memory_attachment +#define GL_NV_memory_attachment 1 +#define GL_ATTACHED_MEMORY_OBJECT_NV 0x95A4 +#define GL_ATTACHED_MEMORY_OFFSET_NV 0x95A5 +#define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6 +#define GL_MEMORY_ATTACHABLE_SIZE_NV 0x95A7 +#define GL_MEMORY_ATTACHABLE_NV 0x95A8 +#define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9 +#define GL_DETACHED_TEXTURES_NV 0x95AA +#define GL_DETACHED_BUFFERS_NV 0x95AB +#define GL_MAX_DETACHED_TEXTURES_NV 0x95AC +#define GL_MAX_DETACHED_BUFFERS_NV 0x95AD +typedef void (APIENTRYP PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params); +typedef void (APIENTRYP PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) (GLuint memory, GLenum pname); +typedef void (APIENTRYP PFNGLTEXATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLBUFFERATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXTUREATTACHMEMORYNVPROC) (GLuint texture, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) (GLuint buffer, GLuint memory, GLuint64 offset); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params); +GLAPI void APIENTRY glResetMemoryObjectParameterNV (GLuint memory, GLenum pname); +GLAPI void APIENTRY glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset); +GLAPI void APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset); +#endif +#endif /* GL_NV_memory_attachment */ + +#ifndef GL_NV_memory_object_sparse +#define GL_NV_memory_object_sparse 1 +typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTMEMNVPROC) (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +GLAPI void APIENTRY glTexPageCommitmentMemNV (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +GLAPI void APIENTRY glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +GLAPI void APIENTRY glTexturePageCommitmentMemNV (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +#endif +#endif /* GL_NV_memory_object_sparse */ + +#ifndef GL_NV_mesh_shader +#define GL_NV_mesh_shader 1 +#define GL_MESH_SHADER_NV 0x9559 +#define GL_TASK_SHADER_NV 0x955A +#define GL_MAX_MESH_UNIFORM_BLOCKS_NV 0x8E60 +#define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61 +#define GL_MAX_MESH_IMAGE_UNIFORMS_NV 0x8E62 +#define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63 +#define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64 +#define GL_MAX_MESH_ATOMIC_COUNTERS_NV 0x8E65 +#define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66 +#define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67 +#define GL_MAX_TASK_UNIFORM_BLOCKS_NV 0x8E68 +#define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69 +#define GL_MAX_TASK_IMAGE_UNIFORMS_NV 0x8E6A +#define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B +#define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C +#define GL_MAX_TASK_ATOMIC_COUNTERS_NV 0x8E6D +#define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E +#define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F +#define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2 +#define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3 +#define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV 0x9536 +#define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV 0x9537 +#define GL_MAX_MESH_OUTPUT_VERTICES_NV 0x9538 +#define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV 0x9539 +#define GL_MAX_TASK_OUTPUT_COUNT_NV 0x953A +#define GL_MAX_DRAW_MESH_TASKS_COUNT_NV 0x953D +#define GL_MAX_MESH_VIEWS_NV 0x9557 +#define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF +#define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543 +#define GL_MAX_MESH_WORK_GROUP_SIZE_NV 0x953B +#define GL_MAX_TASK_WORK_GROUP_SIZE_NV 0x953C +#define GL_MESH_WORK_GROUP_SIZE_NV 0x953E +#define GL_TASK_WORK_GROUP_SIZE_NV 0x953F +#define GL_MESH_VERTICES_OUT_NV 0x9579 +#define GL_MESH_PRIMITIVES_OUT_NV 0x957A +#define GL_MESH_OUTPUT_TYPE_NV 0x957B +#define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C +#define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D +#define GL_REFERENCED_BY_MESH_SHADER_NV 0x95A0 +#define GL_REFERENCED_BY_TASK_SHADER_NV 0x95A1 +#define GL_MESH_SHADER_BIT_NV 0x00000040 +#define GL_TASK_SHADER_BIT_NV 0x00000080 +#define GL_MESH_SUBROUTINE_NV 0x957C +#define GL_TASK_SUBROUTINE_NV 0x957D +#define GL_MESH_SUBROUTINE_UNIFORM_NV 0x957E +#define GL_TASK_SUBROUTINE_UNIFORM_NV 0x957F +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F +typedef void (APIENTRYP PFNGLDRAWMESHTASKSNVPROC) (GLuint first, GLuint count); +typedef void (APIENTRYP PFNGLDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect); +typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect, GLsizei drawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawMeshTasksNV (GLuint first, GLuint count); +GLAPI void APIENTRY glDrawMeshTasksIndirectNV (GLintptr indirect); +GLAPI void APIENTRY glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +#endif +#endif /* GL_NV_mesh_shader */ + #ifndef GL_NV_multisample_coverage #define GL_NV_multisample_coverage 1 #endif /* GL_NV_multisample_coverage */ @@ -9981,11 +10635,11 @@ typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenu typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode); typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); +typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount); typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); -typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); +typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params); typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs); typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs); typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode); @@ -10046,11 +10700,11 @@ GLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode); GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); +GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount); GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); -GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); +GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params); GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs); GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs); GLAPI void APIENTRY glPathFogGenNV (GLenum genMode); @@ -10131,6 +10785,38 @@ GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index); #endif #endif /* GL_NV_primitive_restart */ +#ifndef GL_NV_primitive_shading_rate +#define GL_NV_primitive_shading_rate 1 +#define GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV 0x95B1 +#define GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV 0x95B2 +#endif /* GL_NV_primitive_shading_rate */ + +#ifndef GL_NV_query_resource +#define GL_NV_query_resource 1 +#define GL_QUERY_RESOURCE_TYPE_VIDMEM_ALLOC_NV 0x9540 +#define GL_QUERY_RESOURCE_MEMTYPE_VIDMEM_NV 0x9542 +#define GL_QUERY_RESOURCE_SYS_RESERVED_NV 0x9544 +#define GL_QUERY_RESOURCE_TEXTURE_NV 0x9545 +#define GL_QUERY_RESOURCE_RENDERBUFFER_NV 0x9546 +#define GL_QUERY_RESOURCE_BUFFEROBJECT_NV 0x9547 +typedef GLint (APIENTRYP PFNGLQUERYRESOURCENVPROC) (GLenum queryType, GLint tagId, GLuint count, GLint *buffer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLint APIENTRY glQueryResourceNV (GLenum queryType, GLint tagId, GLuint count, GLint *buffer); +#endif +#endif /* GL_NV_query_resource */ + +#ifndef GL_NV_query_resource_tag +#define GL_NV_query_resource_tag 1 +typedef void (APIENTRYP PFNGLGENQUERYRESOURCETAGNVPROC) (GLsizei n, GLint *tagIds); +typedef void (APIENTRYP PFNGLDELETEQUERYRESOURCETAGNVPROC) (GLsizei n, const GLint *tagIds); +typedef void (APIENTRYP PFNGLQUERYRESOURCETAGNVPROC) (GLint tagId, const GLchar *tagString); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGenQueryResourceTagNV (GLsizei n, GLint *tagIds); +GLAPI void APIENTRY glDeleteQueryResourceTagNV (GLsizei n, const GLint *tagIds); +GLAPI void APIENTRY glQueryResourceTagNV (GLint tagId, const GLchar *tagString); +#endif +#endif /* GL_NV_query_resource_tag */ + #ifndef GL_NV_register_combiners #define GL_NV_register_combiners 1 #define GL_REGISTER_COMBINERS_NV 0x8522 @@ -10223,6 +10909,16 @@ GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, #endif #endif /* GL_NV_register_combiners2 */ +#ifndef GL_NV_representative_fragment_test +#define GL_NV_representative_fragment_test 1 +#define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F +#endif /* GL_NV_representative_fragment_test */ + +#ifndef GL_NV_robustness_video_memory_purge +#define GL_NV_robustness_video_memory_purge 1 +#define GL_PURGED_CONTEXT_RESET_NV 0x92BB +#endif /* GL_NV_robustness_video_memory_purge */ + #ifndef GL_NV_sample_locations #define GL_NV_sample_locations 1 #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D @@ -10247,6 +10943,18 @@ GLAPI void APIENTRY glResolveDepthValuesNV (void); #define GL_NV_sample_mask_override_coverage 1 #endif /* GL_NV_sample_mask_override_coverage */ +#ifndef GL_NV_scissor_exclusive +#define GL_NV_scissor_exclusive 1 +#define GL_SCISSOR_TEST_EXCLUSIVE_NV 0x9555 +#define GL_SCISSOR_BOX_EXCLUSIVE_NV 0x9556 +typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVENVPROC) (GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVEARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glScissorExclusiveNV (GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glScissorExclusiveArrayvNV (GLuint first, GLsizei count, const GLint *v); +#endif +#endif /* GL_NV_scissor_exclusive */ + #ifndef GL_NV_shader_atomic_counters #define GL_NV_shader_atomic_counters 1 #endif /* GL_NV_shader_atomic_counters */ @@ -10255,6 +10963,10 @@ GLAPI void APIENTRY glResolveDepthValuesNV (void); #define GL_NV_shader_atomic_float 1 #endif /* GL_NV_shader_atomic_float */ +#ifndef GL_NV_shader_atomic_float64 +#define GL_NV_shader_atomic_float64 1 +#endif /* GL_NV_shader_atomic_float64 */ + #ifndef GL_NV_shader_atomic_fp16_vector #define GL_NV_shader_atomic_fp16_vector 1 #endif /* GL_NV_shader_atomic_fp16_vector */ @@ -10307,6 +11019,15 @@ GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLs #define GL_NV_shader_storage_buffer_object 1 #endif /* GL_NV_shader_storage_buffer_object */ +#ifndef GL_NV_shader_subgroup_partitioned +#define GL_NV_shader_subgroup_partitioned 1 +#define GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV 0x00000100 +#endif /* GL_NV_shader_subgroup_partitioned */ + +#ifndef GL_NV_shader_texture_footprint +#define GL_NV_shader_texture_footprint 1 +#endif /* GL_NV_shader_texture_footprint */ + #ifndef GL_NV_shader_thread_group #define GL_NV_shader_thread_group 1 #define GL_WARP_SIZE_NV 0x9339 @@ -10318,6 +11039,51 @@ GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLs #define GL_NV_shader_thread_shuffle 1 #endif /* GL_NV_shader_thread_shuffle */ +#ifndef GL_NV_shading_rate_image +#define GL_NV_shading_rate_image 1 +#define GL_SHADING_RATE_IMAGE_NV 0x9563 +#define GL_SHADING_RATE_NO_INVOCATIONS_NV 0x9564 +#define GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV 0x9565 +#define GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV 0x9566 +#define GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV 0x9567 +#define GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV 0x9568 +#define GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV 0x9569 +#define GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV 0x956A +#define GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV 0x956B +#define GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV 0x956C +#define GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV 0x956D +#define GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV 0x956E +#define GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV 0x956F +#define GL_SHADING_RATE_IMAGE_BINDING_NV 0x955B +#define GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV 0x955C +#define GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV 0x955D +#define GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV 0x955E +#define GL_MAX_COARSE_FRAGMENT_SAMPLES_NV 0x955F +#define GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV 0x95AE +#define GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV 0x95AF +#define GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV 0x95B0 +typedef void (APIENTRYP PFNGLBINDSHADINGRATEIMAGENVPROC) (GLuint texture); +typedef void (APIENTRYP PFNGLGETSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint entry, GLenum *rate); +typedef void (APIENTRYP PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC) (GLenum rate, GLuint samples, GLuint index, GLint *location); +typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEBARRIERNVPROC) (GLboolean synchronize); +typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates); +typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERNVPROC) (GLenum order); +typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC) (GLenum rate, GLuint samples, const GLint *locations); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBindShadingRateImageNV (GLuint texture); +GLAPI void APIENTRY glGetShadingRateImagePaletteNV (GLuint viewport, GLuint entry, GLenum *rate); +GLAPI void APIENTRY glGetShadingRateSampleLocationivNV (GLenum rate, GLuint samples, GLuint index, GLint *location); +GLAPI void APIENTRY glShadingRateImageBarrierNV (GLboolean synchronize); +GLAPI void APIENTRY glShadingRateImagePaletteNV (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates); +GLAPI void APIENTRY glShadingRateSampleOrderNV (GLenum order); +GLAPI void APIENTRY glShadingRateSampleOrderCustomNV (GLenum rate, GLuint samples, const GLint *locations); +#endif +#endif /* GL_NV_shading_rate_image */ + +#ifndef GL_NV_stereo_view_rendering +#define GL_NV_stereo_view_rendering 1 +#endif /* GL_NV_stereo_view_rendering */ + #ifndef GL_NV_tessellation_program5 #define GL_NV_tessellation_program5 1 #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8 @@ -10394,6 +11160,10 @@ GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenu #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8 #endif /* GL_NV_texture_rectangle */ +#ifndef GL_NV_texture_rectangle_compressed +#define GL_NV_texture_rectangle_compressed 1 +#endif /* GL_NV_texture_rectangle_compressed */ + #ifndef GL_NV_texture_shader #define GL_NV_texture_shader 1 #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C @@ -10497,6 +11267,23 @@ GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenu #define GL_FORCE_BLUE_TO_ONE_NV 0x8860 #endif /* GL_NV_texture_shader3 */ +#ifndef GL_NV_timeline_semaphore +#define GL_NV_timeline_semaphore 1 +#define GL_TIMELINE_SEMAPHORE_VALUE_NV 0x9595 +#define GL_SEMAPHORE_TYPE_NV 0x95B3 +#define GL_SEMAPHORE_TYPE_BINARY_NV 0x95B4 +#define GL_SEMAPHORE_TYPE_TIMELINE_NV 0x95B5 +#define GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV 0x95B6 +typedef void (APIENTRYP PFNGLCREATESEMAPHORESNVPROC) (GLsizei n, GLuint *semaphores); +typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCreateSemaphoresNV (GLsizei n, GLuint *semaphores); +GLAPI void APIENTRY glSemaphoreParameterivNV (GLuint semaphore, GLenum pname, const GLint *params); +GLAPI void APIENTRY glGetSemaphoreParameterivNV (GLuint semaphore, GLenum pname, GLint *params); +#endif +#endif /* GL_NV_timeline_semaphore */ + #ifndef GL_NV_transform_feedback #define GL_NV_transform_feedback 1 #define GL_BACK_PRIMARY_COLOR_NV 0x8C77 @@ -10602,7 +11389,7 @@ typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface); typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface); -typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei count, GLsizei *length, GLint *values); typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access); typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces); typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces); @@ -10613,13 +11400,21 @@ GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSu GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface); GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface); -GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei count, GLsizei *length, GLint *values); GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access); GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces); GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces); #endif #endif /* GL_NV_vdpau_interop */ +#ifndef GL_NV_vdpau_interop2 +#define GL_NV_vdpau_interop2 1 +typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACEWITHPICTURESTRUCTURENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames, GLboolean isFrameStructure); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceWithPictureStructureNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames, GLboolean isFrameStructure); +#endif +#endif /* GL_NV_vdpau_interop2 */ + #ifndef GL_NV_vertex_array_range #define GL_NV_vertex_array_range 1 #define GL_VERTEX_ARRAY_RANGE_NV 0x851D @@ -11088,6 +11883,26 @@ GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot #define GL_NV_viewport_array2 1 #endif /* GL_NV_viewport_array2 */ +#ifndef GL_NV_viewport_swizzle +#define GL_NV_viewport_swizzle 1 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357 +#define GL_VIEWPORT_SWIZZLE_X_NV 0x9358 +#define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359 +#define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A +#define GL_VIEWPORT_SWIZZLE_W_NV 0x935B +typedef void (APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); +#endif +#endif /* GL_NV_viewport_swizzle */ + #ifndef GL_OML_interlace #define GL_OML_interlace 1 #define GL_INTERLACE_OML 0x8980 @@ -11115,6 +11930,7 @@ GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632 #define GL_MAX_VIEWS_OVR 0x9631 +#define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); #ifdef GL_GLEXT_PROTOTYPES GLAPI void APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); diff --git a/include/GL/glx.h b/include/GL/glx.h deleted file mode 100644 index 9051af0..0000000 --- a/include/GL/glx.h +++ /dev/null @@ -1,259 +0,0 @@ -#ifndef __glx_h_ -#define __glx_h_ 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2013-2015 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts -** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ -*/ - -/* Generated on date 20150715 */ - -/* Generated C header for: - * API: glx - * Versions considered: .* - * Versions emitted: .* - * Default extensions included: None - * Additional extensions included: _nomatch_^ - * Extensions removed: _nomatch_^ - */ - -#ifndef GLX_VERSION_1_0 -#define GLX_VERSION_1_0 1 -typedef struct __GLXcontextRec *GLXContext; -typedef XID GLXDrawable; -typedef XID GLXPixmap; -#define GLX_EXTENSION_NAME "GLX" -#define GLX_PbufferClobber 0 -#define GLX_BufferSwapComplete 1 -#define __GLX_NUMBER_EVENTS 17 -#define GLX_BAD_SCREEN 1 -#define GLX_BAD_ATTRIBUTE 2 -#define GLX_NO_EXTENSION 3 -#define GLX_BAD_VISUAL 4 -#define GLX_BAD_CONTEXT 5 -#define GLX_BAD_VALUE 6 -#define GLX_BAD_ENUM 7 -#define GLX_USE_GL 1 -#define GLX_BUFFER_SIZE 2 -#define GLX_LEVEL 3 -#define GLX_RGBA 4 -#define GLX_DOUBLEBUFFER 5 -#define GLX_STEREO 6 -#define GLX_AUX_BUFFERS 7 -#define GLX_RED_SIZE 8 -#define GLX_GREEN_SIZE 9 -#define GLX_BLUE_SIZE 10 -#define GLX_ALPHA_SIZE 11 -#define GLX_DEPTH_SIZE 12 -#define GLX_STENCIL_SIZE 13 -#define GLX_ACCUM_RED_SIZE 14 -#define GLX_ACCUM_GREEN_SIZE 15 -#define GLX_ACCUM_BLUE_SIZE 16 -#define GLX_ACCUM_ALPHA_SIZE 17 -typedef XVisualInfo *( *PFNGLXCHOOSEVISUALPROC) (Display *dpy, int screen, int *attribList); -typedef GLXContext ( *PFNGLXCREATECONTEXTPROC) (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct); -typedef void ( *PFNGLXDESTROYCONTEXTPROC) (Display *dpy, GLXContext ctx); -typedef Bool ( *PFNGLXMAKECURRENTPROC) (Display *dpy, GLXDrawable drawable, GLXContext ctx); -typedef void ( *PFNGLXCOPYCONTEXTPROC) (Display *dpy, GLXContext src, GLXContext dst, unsigned long mask); -typedef void ( *PFNGLXSWAPBUFFERSPROC) (Display *dpy, GLXDrawable drawable); -typedef GLXPixmap ( *PFNGLXCREATEGLXPIXMAPPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap); -typedef void ( *PFNGLXDESTROYGLXPIXMAPPROC) (Display *dpy, GLXPixmap pixmap); -typedef Bool ( *PFNGLXQUERYEXTENSIONPROC) (Display *dpy, int *errorb, int *event); -typedef Bool ( *PFNGLXQUERYVERSIONPROC) (Display *dpy, int *maj, int *min); -typedef Bool ( *PFNGLXISDIRECTPROC) (Display *dpy, GLXContext ctx); -typedef int ( *PFNGLXGETCONFIGPROC) (Display *dpy, XVisualInfo *visual, int attrib, int *value); -typedef GLXContext ( *PFNGLXGETCURRENTCONTEXTPROC) (void); -typedef GLXDrawable ( *PFNGLXGETCURRENTDRAWABLEPROC) (void); -typedef void ( *PFNGLXWAITGLPROC) (void); -typedef void ( *PFNGLXWAITXPROC) (void); -typedef void ( *PFNGLXUSEXFONTPROC) (Font font, int first, int count, int list); -#ifdef GLX_GLXEXT_PROTOTYPES -XVisualInfo *glXChooseVisual (Display *dpy, int screen, int *attribList); -GLXContext glXCreateContext (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct); -void glXDestroyContext (Display *dpy, GLXContext ctx); -Bool glXMakeCurrent (Display *dpy, GLXDrawable drawable, GLXContext ctx); -void glXCopyContext (Display *dpy, GLXContext src, GLXContext dst, unsigned long mask); -void glXSwapBuffers (Display *dpy, GLXDrawable drawable); -GLXPixmap glXCreateGLXPixmap (Display *dpy, XVisualInfo *visual, Pixmap pixmap); -void glXDestroyGLXPixmap (Display *dpy, GLXPixmap pixmap); -Bool glXQueryExtension (Display *dpy, int *errorb, int *event); -Bool glXQueryVersion (Display *dpy, int *maj, int *min); -Bool glXIsDirect (Display *dpy, GLXContext ctx); -int glXGetConfig (Display *dpy, XVisualInfo *visual, int attrib, int *value); -GLXContext glXGetCurrentContext (void); -GLXDrawable glXGetCurrentDrawable (void); -void glXWaitGL (void); -void glXWaitX (void); -void glXUseXFont (Font font, int first, int count, int list); -#endif -#endif /* GLX_VERSION_1_0 */ - -#ifndef GLX_VERSION_1_1 -#define GLX_VERSION_1_1 1 -#define GLX_VENDOR 0x1 -#define GLX_VERSION 0x2 -#define GLX_EXTENSIONS 0x3 -typedef const char *( *PFNGLXQUERYEXTENSIONSSTRINGPROC) (Display *dpy, int screen); -typedef const char *( *PFNGLXQUERYSERVERSTRINGPROC) (Display *dpy, int screen, int name); -typedef const char *( *PFNGLXGETCLIENTSTRINGPROC) (Display *dpy, int name); -#ifdef GLX_GLXEXT_PROTOTYPES -const char *glXQueryExtensionsString (Display *dpy, int screen); -const char *glXQueryServerString (Display *dpy, int screen, int name); -const char *glXGetClientString (Display *dpy, int name); -#endif -#endif /* GLX_VERSION_1_1 */ - -#ifndef GLX_VERSION_1_2 -#define GLX_VERSION_1_2 1 -typedef Display *( *PFNGLXGETCURRENTDISPLAYPROC) (void); -#ifdef GLX_GLXEXT_PROTOTYPES -Display *glXGetCurrentDisplay (void); -#endif -#endif /* GLX_VERSION_1_2 */ - -#ifndef GLX_VERSION_1_3 -#define GLX_VERSION_1_3 1 -typedef XID GLXContextID; -typedef struct __GLXFBConfigRec *GLXFBConfig; -typedef XID GLXWindow; -typedef XID GLXPbuffer; -#define GLX_WINDOW_BIT 0x00000001 -#define GLX_PIXMAP_BIT 0x00000002 -#define GLX_PBUFFER_BIT 0x00000004 -#define GLX_RGBA_BIT 0x00000001 -#define GLX_COLOR_INDEX_BIT 0x00000002 -#define GLX_PBUFFER_CLOBBER_MASK 0x08000000 -#define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 -#define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 -#define GLX_BACK_LEFT_BUFFER_BIT 0x00000004 -#define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008 -#define GLX_AUX_BUFFERS_BIT 0x00000010 -#define GLX_DEPTH_BUFFER_BIT 0x00000020 -#define GLX_STENCIL_BUFFER_BIT 0x00000040 -#define GLX_ACCUM_BUFFER_BIT 0x00000080 -#define GLX_CONFIG_CAVEAT 0x20 -#define GLX_X_VISUAL_TYPE 0x22 -#define GLX_TRANSPARENT_TYPE 0x23 -#define GLX_TRANSPARENT_INDEX_VALUE 0x24 -#define GLX_TRANSPARENT_RED_VALUE 0x25 -#define GLX_TRANSPARENT_GREEN_VALUE 0x26 -#define GLX_TRANSPARENT_BLUE_VALUE 0x27 -#define GLX_TRANSPARENT_ALPHA_VALUE 0x28 -#define GLX_DONT_CARE 0xFFFFFFFF -#define GLX_NONE 0x8000 -#define GLX_SLOW_CONFIG 0x8001 -#define GLX_TRUE_COLOR 0x8002 -#define GLX_DIRECT_COLOR 0x8003 -#define GLX_PSEUDO_COLOR 0x8004 -#define GLX_STATIC_COLOR 0x8005 -#define GLX_GRAY_SCALE 0x8006 -#define GLX_STATIC_GRAY 0x8007 -#define GLX_TRANSPARENT_RGB 0x8008 -#define GLX_TRANSPARENT_INDEX 0x8009 -#define GLX_VISUAL_ID 0x800B -#define GLX_SCREEN 0x800C -#define GLX_NON_CONFORMANT_CONFIG 0x800D -#define GLX_DRAWABLE_TYPE 0x8010 -#define GLX_RENDER_TYPE 0x8011 -#define GLX_X_RENDERABLE 0x8012 -#define GLX_FBCONFIG_ID 0x8013 -#define GLX_RGBA_TYPE 0x8014 -#define GLX_COLOR_INDEX_TYPE 0x8015 -#define GLX_MAX_PBUFFER_WIDTH 0x8016 -#define GLX_MAX_PBUFFER_HEIGHT 0x8017 -#define GLX_MAX_PBUFFER_PIXELS 0x8018 -#define GLX_PRESERVED_CONTENTS 0x801B -#define GLX_LARGEST_PBUFFER 0x801C -#define GLX_WIDTH 0x801D -#define GLX_HEIGHT 0x801E -#define GLX_EVENT_MASK 0x801F -#define GLX_DAMAGED 0x8020 -#define GLX_SAVED 0x8021 -#define GLX_WINDOW 0x8022 -#define GLX_PBUFFER 0x8023 -#define GLX_PBUFFER_HEIGHT 0x8040 -#define GLX_PBUFFER_WIDTH 0x8041 -typedef GLXFBConfig *( *PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements); -typedef GLXFBConfig *( *PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements); -typedef int ( *PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value); -typedef XVisualInfo *( *PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config); -typedef GLXWindow ( *PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list); -typedef void ( *PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win); -typedef GLXPixmap ( *PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); -typedef void ( *PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap); -typedef GLXPbuffer ( *PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list); -typedef void ( *PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf); -typedef void ( *PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); -typedef GLXContext ( *PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); -typedef Bool ( *PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); -typedef GLXDrawable ( *PFNGLXGETCURRENTREADDRAWABLEPROC) (void); -typedef int ( *PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value); -typedef void ( *PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask); -typedef void ( *PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask); -#ifdef GLX_GLXEXT_PROTOTYPES -GLXFBConfig *glXGetFBConfigs (Display *dpy, int screen, int *nelements); -GLXFBConfig *glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements); -int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value); -XVisualInfo *glXGetVisualFromFBConfig (Display *dpy, GLXFBConfig config); -GLXWindow glXCreateWindow (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list); -void glXDestroyWindow (Display *dpy, GLXWindow win); -GLXPixmap glXCreatePixmap (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); -void glXDestroyPixmap (Display *dpy, GLXPixmap pixmap); -GLXPbuffer glXCreatePbuffer (Display *dpy, GLXFBConfig config, const int *attrib_list); -void glXDestroyPbuffer (Display *dpy, GLXPbuffer pbuf); -void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); -GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); -Bool glXMakeContextCurrent (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); -GLXDrawable glXGetCurrentReadDrawable (void); -int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value); -void glXSelectEvent (Display *dpy, GLXDrawable draw, unsigned long event_mask); -void glXGetSelectedEvent (Display *dpy, GLXDrawable draw, unsigned long *event_mask); -#endif -#endif /* GLX_VERSION_1_3 */ - -#ifndef GLX_VERSION_1_4 -#define GLX_VERSION_1_4 1 -typedef void ( *__GLXextFuncPtr)(void); -#define GLX_SAMPLE_BUFFERS 100000 -#define GLX_SAMPLES 100001 -typedef __GLXextFuncPtr ( *PFNGLXGETPROCADDRESSPROC) (const GLubyte *procName); -#ifdef GLX_GLXEXT_PROTOTYPES -__GLXextFuncPtr glXGetProcAddress (const GLubyte *procName); -#endif -#endif /* GLX_VERSION_1_4 */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/include/GL/glxext.h b/include/GL/glxext.h index 227045a..e397eed 100644 --- a/include/GL/glxext.h +++ b/include/GL/glxext.h @@ -1,42 +1,21 @@ -#ifndef __glxext_h_ -#define __glxext_h_ 1 +#ifndef __glx_glxext_h_ +#define __glx_glxext_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright (c) 2013-2015 The Khronos Group Inc. +** Copyright 2013-2020 The Khronos Group Inc. +** SPDX-License-Identifier: MIT ** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision: 31597 $ on $Date: 2015-06-25 16:32:35 -0400 (Thu, 25 Jun 2015) $ +** https://github.com/KhronosGroup/OpenGL-Registry */ -#define GLX_GLXEXT_VERSION 20150623 +#define GLX_GLXEXT_VERSION 20200929 /* Generated C header for: * API: glx @@ -178,6 +157,11 @@ GLXContext glXCreateContextAttribsARB (Display *dpy, GLXFBConfig config, GLXCont #endif #endif /* GLX_ARB_create_context */ +#ifndef GLX_ARB_create_context_no_error +#define GLX_ARB_create_context_no_error 1 +#define GLX_CONTEXT_OPENGL_NO_ERROR_ARB 0x31B3 +#endif /* GLX_ARB_create_context_no_error */ + #ifndef GLX_ARB_create_context_profile #define GLX_ARB_create_context_profile 1 #define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 @@ -277,6 +261,14 @@ void glXBlitContextFramebufferAMD (GLXContext dstCtx, GLint srcX0, GLint srcY0, #define GLX_BACK_BUFFER_AGE_EXT 0x20F4 #endif /* GLX_EXT_buffer_age */ +#ifndef GLX_EXT_context_priority +#define GLX_EXT_context_priority 1 +#define GLX_CONTEXT_PRIORITY_LEVEL_EXT 0x3100 +#define GLX_CONTEXT_PRIORITY_HIGH_EXT 0x3101 +#define GLX_CONTEXT_PRIORITY_MEDIUM_EXT 0x3102 +#define GLX_CONTEXT_PRIORITY_LOW_EXT 0x3103 +#endif /* GLX_EXT_context_priority */ + #ifndef GLX_EXT_create_context_es2_profile #define GLX_EXT_create_context_es2_profile 1 #define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 @@ -298,6 +290,10 @@ void glXBlitContextFramebufferAMD (GLXContext dstCtx, GLint srcX0, GLint srcY0, #define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2 #endif /* GLX_EXT_framebuffer_sRGB */ +#ifndef GLX_EXT_get_drawable_type +#define GLX_EXT_get_drawable_type 1 +#endif /* GLX_EXT_get_drawable_type */ + #ifndef GLX_EXT_import_context #define GLX_EXT_import_context 1 #define GLX_SHARE_CONTEXT_EXT 0x800A @@ -317,6 +313,15 @@ void glXFreeContextEXT (Display *dpy, GLXContext context); #endif #endif /* GLX_EXT_import_context */ +#ifndef GLX_EXT_libglvnd +#define GLX_EXT_libglvnd 1 +#define GLX_VENDOR_NAMES_EXT 0x20F6 +#endif /* GLX_EXT_libglvnd */ + +#ifndef GLX_EXT_no_config_context +#define GLX_EXT_no_config_context 1 +#endif /* GLX_EXT_no_config_context */ + #ifndef GLX_EXT_stereo_tree #define GLX_EXT_stereo_tree 1 typedef struct { @@ -464,7 +469,6 @@ GLXPixmap glXCreateGLXPixmapMESA (Display *dpy, XVisualInfo *visual, Pixmap pixm #define GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA 0x818B #define GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA 0x818C #define GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA 0x818D -#define GLX_RENDERER_ID_MESA 0x818E typedef Bool ( *PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC) (int attribute, unsigned int *value); typedef const char *( *PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC) (int attribute); typedef Bool ( *PFNGLXQUERYRENDERERINTEGERMESAPROC) (Display *dpy, int screen, int renderer, int attribute, unsigned int *value); @@ -489,12 +493,22 @@ Bool glXReleaseBuffersMESA (Display *dpy, GLXDrawable drawable); #define GLX_MESA_set_3dfx_mode 1 #define GLX_3DFX_WINDOW_MODE_MESA 0x1 #define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2 -typedef Bool ( *PFNGLXSET3DFXMODEMESAPROC) (int mode); +typedef GLboolean ( *PFNGLXSET3DFXMODEMESAPROC) (GLint mode); #ifdef GLX_GLXEXT_PROTOTYPES -Bool glXSet3DfxModeMESA (int mode); +GLboolean glXSet3DfxModeMESA (GLint mode); #endif #endif /* GLX_MESA_set_3dfx_mode */ +#ifndef GLX_MESA_swap_control +#define GLX_MESA_swap_control 1 +typedef int ( *PFNGLXGETSWAPINTERVALMESAPROC) (void); +typedef int ( *PFNGLXSWAPINTERVALMESAPROC) (unsigned int interval); +#ifdef GLX_GLXEXT_PROTOTYPES +int glXGetSwapIntervalMESA (void); +int glXSwapIntervalMESA (unsigned int interval); +#endif +#endif /* GLX_MESA_swap_control */ + #ifndef GLX_NV_copy_buffer #define GLX_NV_copy_buffer 1 typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); @@ -526,6 +540,15 @@ Bool glXDelayBeforeSwapNV (Display *dpy, GLXDrawable drawable, GLfloat seconds); #define GLX_FLOAT_COMPONENTS_NV 0x20B0 #endif /* GLX_NV_float_buffer */ +#ifndef GLX_NV_multigpu_context +#define GLX_NV_multigpu_context 1 +#define GLX_CONTEXT_MULTIGPU_ATTRIB_NV 0x20AA +#define GLX_CONTEXT_MULTIGPU_ATTRIB_SINGLE_NV 0x20AB +#define GLX_CONTEXT_MULTIGPU_ATTRIB_AFR_NV 0x20AC +#define GLX_CONTEXT_MULTIGPU_ATTRIB_MULTICAST_NV 0x20AD +#define GLX_CONTEXT_MULTIGPU_ATTRIB_MULTI_DISPLAY_MULTICAST_NV 0x20AE +#endif /* GLX_NV_multigpu_context */ + #ifndef GLX_NV_multisample_coverage #define GLX_NV_multisample_coverage 1 #define GLX_COVERAGE_SAMPLES_NV 100001 @@ -543,6 +566,11 @@ int glXBindVideoDeviceNV (Display *dpy, unsigned int video_slot, unsigned int vi #endif #endif /* GLX_NV_present_video */ +#ifndef GLX_NV_robustness_video_memory_purge +#define GLX_NV_robustness_video_memory_purge 1 +#define GLX_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV 0x20F7 +#endif /* GLX_NV_robustness_video_memory_purge */ + #ifndef GLX_NV_swap_group #define GLX_NV_swap_group 1 typedef Bool ( *PFNGLXJOINSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable, GLuint group); @@ -809,13 +837,13 @@ int glXQueryHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int si #define GLX_PBUFFER_SGIX 0x8023 typedef GLXPbufferSGIX ( *PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list); typedef void ( *PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf); -typedef int ( *PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value); +typedef void ( *PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value); typedef void ( *PFNGLXSELECTEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long mask); typedef void ( *PFNGLXGETSELECTEDEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long *mask); #ifdef GLX_GLXEXT_PROTOTYPES GLXPbufferSGIX glXCreateGLXPbufferSGIX (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list); void glXDestroyGLXPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuf); -int glXQueryGLXPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value); +void glXQueryGLXPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value); void glXSelectEventSGIX (Display *dpy, GLXDrawable drawable, unsigned long mask); void glXGetSelectedEventSGIX (Display *dpy, GLXDrawable drawable, unsigned long *mask); #endif @@ -913,9 +941,9 @@ int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int *count); #ifndef GLX_SUN_get_transparent_index #define GLX_SUN_get_transparent_index 1 -typedef Status ( *PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex); +typedef Status ( *PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex); #ifdef GLX_GLXEXT_PROTOTYPES -Status glXGetTransparentIndexSUN (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex); +Status glXGetTransparentIndexSUN (Display *dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex); #endif #endif /* GLX_SUN_get_transparent_index */ diff --git a/include/GL/wgl.h b/include/GL/wgl.h index b03a4ba..da02dbf 100644 --- a/include/GL/wgl.h +++ b/include/GL/wgl.h @@ -1,39 +1,18 @@ -#ifndef __wgl_h_ -#define __wgl_h_ 1 +#ifndef __wgl_wgl_h_ +#define __wgl_wgl_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright (c) 2013-2015 The Khronos Group Inc. +** Copyright 2013-2020 The Khronos Group Inc. +** SPDX-License-Identifier: MIT ** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ +** https://github.com/KhronosGroup/OpenGL-Registry */ #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) @@ -41,7 +20,7 @@ extern "C" { #include #endif -/* Generated on date 20150715 */ +/* Generated on date 20200813 */ /* Generated C header for: * API: wgl @@ -183,6 +162,11 @@ HGLRC WINAPI wglCreateContextAttribsARB (HDC hDC, HGLRC hShareContext, const int #endif #endif /* WGL_ARB_create_context */ +#ifndef WGL_ARB_create_context_no_error +#define WGL_ARB_create_context_no_error 1 +#define WGL_CONTEXT_OPENGL_NO_ERROR_ARB 0x31B3 +#endif /* WGL_ARB_create_context_no_error */ + #ifndef WGL_ARB_create_context_profile #define WGL_ARB_create_context_profile 1 #define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126 @@ -406,7 +390,7 @@ BOOL WINAPI wglSetStereoEmitterState3DL (HDC hDC, UINT uState); #define WGL_GPU_NUM_RB_AMD 0x21A7 #define WGL_GPU_NUM_SPI_AMD 0x21A8 typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT *ids); -typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, int property, GLenum dataType, UINT size, void *data); +typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, INT property, GLenum dataType, UINT size, void *data); typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc); typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id); typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, HGLRC hShareContext, const int *attribList); @@ -416,7 +400,7 @@ typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void); typedef VOID (WINAPI * PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC) (HGLRC dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); #ifdef WGL_WGLEXT_PROTOTYPES UINT WINAPI wglGetGPUIDsAMD (UINT maxCount, UINT *ids); -INT WINAPI wglGetGPUInfoAMD (UINT id, int property, GLenum dataType, UINT size, void *data); +INT WINAPI wglGetGPUInfoAMD (UINT id, INT property, GLenum dataType, UINT size, void *data); UINT WINAPI wglGetContextGPUIDAMD (HGLRC hglrc); HGLRC WINAPI wglCreateAssociatedContextAMD (UINT id); HGLRC WINAPI wglCreateAssociatedContextAttribsAMD (UINT id, HGLRC hShareContext, const int *attribList); @@ -432,6 +416,18 @@ VOID WINAPI wglBlitContextFramebufferAMD (HGLRC dstCtx, GLint srcX0, GLint srcY0 #define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0 #endif /* WGL_ATI_pixel_format_float */ +#ifndef WGL_ATI_render_texture_rectangle +#define WGL_ATI_render_texture_rectangle 1 +#define WGL_TEXTURE_RECTANGLE_ATI 0x21A5 +#endif /* WGL_ATI_render_texture_rectangle */ + +#ifndef WGL_EXT_colorspace +#define WGL_EXT_colorspace 1 +#define WGL_COLORSPACE_EXT 0x309D +#define WGL_COLORSPACE_SRGB_EXT 0x3089 +#define WGL_COLORSPACE_LINEAR_EXT 0x308A +#endif /* WGL_EXT_colorspace */ + #ifndef WGL_EXT_create_context_es2_profile #define WGL_EXT_create_context_es2_profile 1 #define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 @@ -791,6 +787,15 @@ BOOL WINAPI wglDeleteDCNV (HDC hdc); #endif #endif /* WGL_NV_gpu_affinity */ +#ifndef WGL_NV_multigpu_context +#define WGL_NV_multigpu_context 1 +#define WGL_CONTEXT_MULTIGPU_ATTRIB_NV 0x20AA +#define WGL_CONTEXT_MULTIGPU_ATTRIB_SINGLE_NV 0x20AB +#define WGL_CONTEXT_MULTIGPU_ATTRIB_AFR_NV 0x20AC +#define WGL_CONTEXT_MULTIGPU_ATTRIB_MULTICAST_NV 0x20AD +#define WGL_CONTEXT_MULTIGPU_ATTRIB_MULTI_DISPLAY_MULTICAST_NV 0x20AE +#endif /* WGL_NV_multigpu_context */ + #ifndef WGL_NV_multisample_coverage #define WGL_NV_multisample_coverage 1 #define WGL_COVERAGE_SAMPLES_NV 0x2042 @@ -801,12 +806,12 @@ BOOL WINAPI wglDeleteDCNV (HDC hdc); #define WGL_NV_present_video 1 DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV); #define WGL_NUM_VIDEO_SLOTS_NV 0x20F0 -typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList); -typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); +typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDc, HVIDEOOUTPUTDEVICENV *phDeviceList); +typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int *piValue); #ifdef WGL_WGLEXT_PROTOTYPES -int WINAPI wglEnumerateVideoDevicesNV (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList); -BOOL WINAPI wglBindVideoDeviceNV (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); +int WINAPI wglEnumerateVideoDevicesNV (HDC hDc, HVIDEOOUTPUTDEVICENV *phDeviceList); +BOOL WINAPI wglBindVideoDeviceNV (HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); BOOL WINAPI wglQueryCurrentContextNV (int iAttribute, int *piValue); #endif #endif /* WGL_NV_present_video */ @@ -911,14 +916,14 @@ BOOL WINAPI wglGetVideoInfoNV (HPVIDEODEV hpVideoDevice, unsigned long *pulCount typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc); typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32 *numerator, INT32 *denominator); typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); -typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); +typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc); #ifdef WGL_WGLEXT_PROTOTYPES BOOL WINAPI wglGetSyncValuesOML (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc); BOOL WINAPI wglGetMscRateOML (HDC hdc, INT32 *numerator, INT32 *denominator); INT64 WINAPI wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); -INT64 WINAPI wglSwapLayerBuffersMscOML (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); +INT64 WINAPI wglSwapLayerBuffersMscOML (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); BOOL WINAPI wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); BOOL WINAPI wglWaitForSbcOML (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc); #endif diff --git a/include/GL/wglext.h b/include/GL/wglext.h index 912e31c..70a2613 100644 --- a/include/GL/wglext.h +++ b/include/GL/wglext.h @@ -1,39 +1,18 @@ -#ifndef __wglext_h_ -#define __wglext_h_ 1 +#ifndef __wgl_wglext_h_ +#define __wgl_wglext_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright (c) 2013-2015 The Khronos Group Inc. +** Copyright 2013-2020 The Khronos Group Inc. +** SPDX-License-Identifier: MIT ** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision: 31597 $ on $Date: 2015-06-25 16:32:35 -0400 (Thu, 25 Jun 2015) $ +** https://github.com/KhronosGroup/OpenGL-Registry */ #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) @@ -41,7 +20,7 @@ extern "C" { #include #endif -#define WGL_WGLEXT_VERSION 20150623 +#define WGL_WGLEXT_VERSION 20200813 /* Generated C header for: * API: wgl @@ -92,6 +71,11 @@ HGLRC WINAPI wglCreateContextAttribsARB (HDC hDC, HGLRC hShareContext, const int #endif #endif /* WGL_ARB_create_context */ +#ifndef WGL_ARB_create_context_no_error +#define WGL_ARB_create_context_no_error 1 +#define WGL_CONTEXT_OPENGL_NO_ERROR_ARB 0x31B3 +#endif /* WGL_ARB_create_context_no_error */ + #ifndef WGL_ARB_create_context_profile #define WGL_ARB_create_context_profile 1 #define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126 @@ -315,7 +299,7 @@ BOOL WINAPI wglSetStereoEmitterState3DL (HDC hDC, UINT uState); #define WGL_GPU_NUM_RB_AMD 0x21A7 #define WGL_GPU_NUM_SPI_AMD 0x21A8 typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT *ids); -typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, int property, GLenum dataType, UINT size, void *data); +typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, INT property, GLenum dataType, UINT size, void *data); typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc); typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id); typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, HGLRC hShareContext, const int *attribList); @@ -325,7 +309,7 @@ typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void); typedef VOID (WINAPI * PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC) (HGLRC dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); #ifdef WGL_WGLEXT_PROTOTYPES UINT WINAPI wglGetGPUIDsAMD (UINT maxCount, UINT *ids); -INT WINAPI wglGetGPUInfoAMD (UINT id, int property, GLenum dataType, UINT size, void *data); +INT WINAPI wglGetGPUInfoAMD (UINT id, INT property, GLenum dataType, UINT size, void *data); UINT WINAPI wglGetContextGPUIDAMD (HGLRC hglrc); HGLRC WINAPI wglCreateAssociatedContextAMD (UINT id); HGLRC WINAPI wglCreateAssociatedContextAttribsAMD (UINT id, HGLRC hShareContext, const int *attribList); @@ -341,6 +325,18 @@ VOID WINAPI wglBlitContextFramebufferAMD (HGLRC dstCtx, GLint srcX0, GLint srcY0 #define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0 #endif /* WGL_ATI_pixel_format_float */ +#ifndef WGL_ATI_render_texture_rectangle +#define WGL_ATI_render_texture_rectangle 1 +#define WGL_TEXTURE_RECTANGLE_ATI 0x21A5 +#endif /* WGL_ATI_render_texture_rectangle */ + +#ifndef WGL_EXT_colorspace +#define WGL_EXT_colorspace 1 +#define WGL_COLORSPACE_EXT 0x309D +#define WGL_COLORSPACE_SRGB_EXT 0x3089 +#define WGL_COLORSPACE_LINEAR_EXT 0x308A +#endif /* WGL_EXT_colorspace */ + #ifndef WGL_EXT_create_context_es2_profile #define WGL_EXT_create_context_es2_profile 1 #define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 @@ -700,6 +696,15 @@ BOOL WINAPI wglDeleteDCNV (HDC hdc); #endif #endif /* WGL_NV_gpu_affinity */ +#ifndef WGL_NV_multigpu_context +#define WGL_NV_multigpu_context 1 +#define WGL_CONTEXT_MULTIGPU_ATTRIB_NV 0x20AA +#define WGL_CONTEXT_MULTIGPU_ATTRIB_SINGLE_NV 0x20AB +#define WGL_CONTEXT_MULTIGPU_ATTRIB_AFR_NV 0x20AC +#define WGL_CONTEXT_MULTIGPU_ATTRIB_MULTICAST_NV 0x20AD +#define WGL_CONTEXT_MULTIGPU_ATTRIB_MULTI_DISPLAY_MULTICAST_NV 0x20AE +#endif /* WGL_NV_multigpu_context */ + #ifndef WGL_NV_multisample_coverage #define WGL_NV_multisample_coverage 1 #define WGL_COVERAGE_SAMPLES_NV 0x2042 @@ -710,12 +715,12 @@ BOOL WINAPI wglDeleteDCNV (HDC hdc); #define WGL_NV_present_video 1 DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV); #define WGL_NUM_VIDEO_SLOTS_NV 0x20F0 -typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList); -typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); +typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDc, HVIDEOOUTPUTDEVICENV *phDeviceList); +typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int *piValue); #ifdef WGL_WGLEXT_PROTOTYPES -int WINAPI wglEnumerateVideoDevicesNV (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList); -BOOL WINAPI wglBindVideoDeviceNV (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); +int WINAPI wglEnumerateVideoDevicesNV (HDC hDc, HVIDEOOUTPUTDEVICENV *phDeviceList); +BOOL WINAPI wglBindVideoDeviceNV (HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); BOOL WINAPI wglQueryCurrentContextNV (int iAttribute, int *piValue); #endif #endif /* WGL_NV_present_video */ @@ -820,14 +825,14 @@ BOOL WINAPI wglGetVideoInfoNV (HPVIDEODEV hpVideoDevice, unsigned long *pulCount typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc); typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32 *numerator, INT32 *denominator); typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); -typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); +typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc); #ifdef WGL_WGLEXT_PROTOTYPES BOOL WINAPI wglGetSyncValuesOML (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc); BOOL WINAPI wglGetMscRateOML (HDC hdc, INT32 *numerator, INT32 *denominator); INT64 WINAPI wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); -INT64 WINAPI wglSwapLayerBuffersMscOML (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); +INT64 WINAPI wglSwapLayerBuffersMscOML (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); BOOL WINAPI wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); BOOL WINAPI wglWaitForSbcOML (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc); #endif diff --git a/include/GLES/1.0/gl.h b/include/GLES/1.0/gl.h new file mode 100644 index 0000000..4154822 --- /dev/null +++ b/include/GLES/1.0/gl.h @@ -0,0 +1,584 @@ +#ifndef __gl_h_ +#define __gl_h_ + +#ifdef __cplusplus +extern "C" { +#endif + +/* +** License Applicability. Except to the extent portions of this file are +** made subject to an alternative license as permitted in the SGI Free +** Software License B, Version 1.0 (the "License"), the contents of this +** file are subject only to the provisions of the License. You may not use +** this file except in compliance with the License. You may obtain a copy +** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 +** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: +** +** http://oss.sgi.com/projects/FreeB +** +** Note that, as provided in the License, the Software is distributed on an +** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS +** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND +** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A +** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. +** +** Original Code. The Original Code is: OpenGL Sample Implementation, +** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, +** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. +** Copyright in any portions created by third parties is as indicated +** elsewhere herein. All Rights Reserved. +** +** Additional Notice Provisions: The application programming interfaces +** established by SGI in conjunction with the Original Code are The +** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released +** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version +** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X +** Window System(R) (Version 1.3), released October 19, 1998. This software +** was created using the OpenGL(R) version 1.2.1 Sample Implementation +** published by SGI, but has not been independently verified as being +** compliant with the OpenGL(R) version 1.2.1 Specification. +*/ + +#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) +#define WIN32_LEAN_AND_MEAN 1 +#include +#endif + +#ifndef APIENTRY +#define APIENTRY +#endif +#ifndef GLAPI +#define GLAPI extern +#endif + +typedef unsigned int GLenum; +typedef unsigned char GLboolean; +typedef unsigned int GLbitfield; +typedef signed char GLbyte; +typedef short GLshort; +typedef int GLint; +typedef int GLsizei; +typedef unsigned char GLubyte; +typedef unsigned short GLushort; +typedef unsigned int GLuint; +typedef float GLfloat; +typedef float GLclampf; +typedef void GLvoid; +typedef int GLintptrARB; +typedef int GLsizeiptrARB; +typedef int GLfixed; +typedef int GLclampx; +/* Internal convenience typedefs */ +typedef void (*_GLfuncptr)(); + +/*************************************************************/ + +/* Extensions */ +#define GL_OES_VERSION_1_0 1 +#define GL_OES_read_format 1 +#define GL_OES_compressed_paletted_texture 1 + +/* ClearBufferMask */ +#define GL_DEPTH_BUFFER_BIT 0x00000100 +#define GL_STENCIL_BUFFER_BIT 0x00000400 +#define GL_COLOR_BUFFER_BIT 0x00004000 + +/* Boolean */ +#define GL_FALSE 0 +#define GL_TRUE 1 + +/* BeginMode */ +#define GL_POINTS 0x0000 +#define GL_LINES 0x0001 +#define GL_LINE_LOOP 0x0002 +#define GL_LINE_STRIP 0x0003 +#define GL_TRIANGLES 0x0004 +#define GL_TRIANGLE_STRIP 0x0005 +#define GL_TRIANGLE_FAN 0x0006 + +/* AlphaFunction */ +#define GL_NEVER 0x0200 +#define GL_LESS 0x0201 +#define GL_EQUAL 0x0202 +#define GL_LEQUAL 0x0203 +#define GL_GREATER 0x0204 +#define GL_NOTEQUAL 0x0205 +#define GL_GEQUAL 0x0206 +#define GL_ALWAYS 0x0207 + +/* BlendingFactorDest */ +#define GL_ZERO 0 +#define GL_ONE 1 +#define GL_SRC_COLOR 0x0300 +#define GL_ONE_MINUS_SRC_COLOR 0x0301 +#define GL_SRC_ALPHA 0x0302 +#define GL_ONE_MINUS_SRC_ALPHA 0x0303 +#define GL_DST_ALPHA 0x0304 +#define GL_ONE_MINUS_DST_ALPHA 0x0305 + +/* BlendingFactorSrc */ +/* GL_ZERO */ +/* GL_ONE */ +#define GL_DST_COLOR 0x0306 +#define GL_ONE_MINUS_DST_COLOR 0x0307 +#define GL_SRC_ALPHA_SATURATE 0x0308 +/* GL_SRC_ALPHA */ +/* GL_ONE_MINUS_SRC_ALPHA */ +/* GL_DST_ALPHA */ +/* GL_ONE_MINUS_DST_ALPHA */ + +/* ColorMaterialFace */ +/* GL_FRONT_AND_BACK */ + +/* ColorMaterialParameter */ +/* GL_AMBIENT_AND_DIFFUSE */ + +/* ColorPointerType */ +/* GL_UNSIGNED_BYTE */ +/* GL_FLOAT */ +/* GL_FIXED */ + +/* CullFaceMode */ +#define GL_FRONT 0x0404 +#define GL_BACK 0x0405 +#define GL_FRONT_AND_BACK 0x0408 + +/* DepthFunction */ +/* GL_NEVER */ +/* GL_LESS */ +/* GL_EQUAL */ +/* GL_LEQUAL */ +/* GL_GREATER */ +/* GL_NOTEQUAL */ +/* GL_GEQUAL */ +/* GL_ALWAYS */ + +/* EnableCap */ +#define GL_FOG 0x0B60 +#define GL_LIGHTING 0x0B50 +#define GL_TEXTURE_2D 0x0DE1 +#define GL_CULL_FACE 0x0B44 +#define GL_ALPHA_TEST 0x0BC0 +#define GL_BLEND 0x0BE2 +#define GL_COLOR_LOGIC_OP 0x0BF2 +#define GL_DITHER 0x0BD0 +#define GL_STENCIL_TEST 0x0B90 +#define GL_DEPTH_TEST 0x0B71 +/* GL_LIGHT0 */ +/* GL_LIGHT1 */ +/* GL_LIGHT2 */ +/* GL_LIGHT3 */ +/* GL_LIGHT4 */ +/* GL_LIGHT5 */ +/* GL_LIGHT6 */ +/* GL_LIGHT7 */ +#define GL_POINT_SMOOTH 0x0B10 +#define GL_LINE_SMOOTH 0x0B20 +#define GL_SCISSOR_TEST 0x0C11 +#define GL_COLOR_MATERIAL 0x0B57 +#define GL_NORMALIZE 0x0BA1 +#define GL_RESCALE_NORMAL 0x803A +#define GL_POLYGON_OFFSET_FILL 0x8037 +#define GL_VERTEX_ARRAY 0x8074 +#define GL_NORMAL_ARRAY 0x8075 +#define GL_COLOR_ARRAY 0x8076 +#define GL_TEXTURE_COORD_ARRAY 0x8078 +#define GL_MULTISAMPLE 0x809D +#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E +#define GL_SAMPLE_ALPHA_TO_ONE 0x809F +#define GL_SAMPLE_COVERAGE 0x80A0 + +/* ErrorCode */ +#define GL_NO_ERROR 0 +#define GL_INVALID_ENUM 0x0500 +#define GL_INVALID_VALUE 0x0501 +#define GL_INVALID_OPERATION 0x0502 +#define GL_STACK_OVERFLOW 0x0503 +#define GL_STACK_UNDERFLOW 0x0504 +#define GL_OUT_OF_MEMORY 0x0505 + +/* FogMode */ +/* GL_LINEAR */ +#define GL_EXP 0x0800 +#define GL_EXP2 0x0801 + +/* FogParameter */ +#define GL_FOG_DENSITY 0x0B62 +#define GL_FOG_START 0x0B63 +#define GL_FOG_END 0x0B64 +#define GL_FOG_MODE 0x0B65 +#define GL_FOG_COLOR 0x0B66 + +/* FrontFaceDirection */ +#define GL_CW 0x0900 +#define GL_CCW 0x0901 + +/* GetPName */ +#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 +#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 +#define GL_ALIASED_POINT_SIZE_RANGE 0x846D +#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E +#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A +#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B +#define GL_MAX_LIGHTS 0x0D31 +#define GL_MAX_TEXTURE_SIZE 0x0D33 +#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 +#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 +#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 +#define GL_MAX_VIEWPORT_DIMS 0x0D3A +#define GL_MAX_ELEMENTS_VERTICES 0x80E8 +#define GL_MAX_ELEMENTS_INDICES 0x80E9 +#define GL_MAX_TEXTURE_UNITS 0x84E2 +#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 +#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 +#define GL_SUBPIXEL_BITS 0x0D50 +#define GL_RED_BITS 0x0D52 +#define GL_GREEN_BITS 0x0D53 +#define GL_BLUE_BITS 0x0D54 +#define GL_ALPHA_BITS 0x0D55 +#define GL_DEPTH_BITS 0x0D56 +#define GL_STENCIL_BITS 0x0D57 + +/* HintMode */ +#define GL_DONT_CARE 0x1100 +#define GL_FASTEST 0x1101 +#define GL_NICEST 0x1102 + +/* HintTarget */ +#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 +#define GL_POINT_SMOOTH_HINT 0x0C51 +#define GL_LINE_SMOOTH_HINT 0x0C52 +#define GL_POLYGON_SMOOTH_HINT 0x0C53 +#define GL_FOG_HINT 0x0C54 + +/* LightModelParameter */ +#define GL_LIGHT_MODEL_AMBIENT 0x0B53 +#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 + +/* LightParameter */ +#define GL_AMBIENT 0x1200 +#define GL_DIFFUSE 0x1201 +#define GL_SPECULAR 0x1202 +#define GL_POSITION 0x1203 +#define GL_SPOT_DIRECTION 0x1204 +#define GL_SPOT_EXPONENT 0x1205 +#define GL_SPOT_CUTOFF 0x1206 +#define GL_CONSTANT_ATTENUATION 0x1207 +#define GL_LINEAR_ATTENUATION 0x1208 +#define GL_QUADRATIC_ATTENUATION 0x1209 + +/* DataType */ +#define GL_BYTE 0x1400 +#define GL_UNSIGNED_BYTE 0x1401 +#define GL_SHORT 0x1402 +#define GL_UNSIGNED_SHORT 0x1403 +#define GL_FLOAT 0x1406 +#define GL_FIXED 0x140C + +/* LogicOp */ +#define GL_CLEAR 0x1500 +#define GL_AND 0x1501 +#define GL_AND_REVERSE 0x1502 +#define GL_COPY 0x1503 +#define GL_AND_INVERTED 0x1504 +#define GL_NOOP 0x1505 +#define GL_XOR 0x1506 +#define GL_OR 0x1507 +#define GL_NOR 0x1508 +#define GL_EQUIV 0x1509 +#define GL_INVERT 0x150A +#define GL_OR_REVERSE 0x150B +#define GL_COPY_INVERTED 0x150C +#define GL_OR_INVERTED 0x150D +#define GL_NAND 0x150E +#define GL_SET 0x150F + +/* MaterialFace */ +/* GL_FRONT_AND_BACK */ + +/* MaterialParameter */ +#define GL_EMISSION 0x1600 +#define GL_SHININESS 0x1601 +#define GL_AMBIENT_AND_DIFFUSE 0x1602 +/* GL_AMBIENT */ +/* GL_DIFFUSE */ +/* GL_SPECULAR */ + +/* MatrixMode */ +#define GL_MODELVIEW 0x1700 +#define GL_PROJECTION 0x1701 +#define GL_TEXTURE 0x1702 + +/* NormalPointerType */ +/* GL_BYTE */ +/* GL_SHORT */ +/* GL_FLOAT */ +/* GL_FIXED */ + +/* PixelFormat */ +#define GL_ALPHA 0x1906 +#define GL_RGB 0x1907 +#define GL_RGBA 0x1908 +#define GL_LUMINANCE 0x1909 +#define GL_LUMINANCE_ALPHA 0x190A + +/* PixelStoreParameter */ +#define GL_UNPACK_ALIGNMENT 0x0CF5 +#define GL_PACK_ALIGNMENT 0x0D05 + +/* PixelType */ +/* GL_UNSIGNED_BYTE */ +#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 +#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 +#define GL_UNSIGNED_SHORT_5_6_5 0x8363 + +/* ShadingModel */ +#define GL_FLAT 0x1D00 +#define GL_SMOOTH 0x1D01 + +/* StencilFunction */ +/* GL_NEVER */ +/* GL_LESS */ +/* GL_EQUAL */ +/* GL_LEQUAL */ +/* GL_GREATER */ +/* GL_NOTEQUAL */ +/* GL_GEQUAL */ +/* GL_ALWAYS */ + +/* StencilOp */ +/* GL_ZERO */ +#define GL_KEEP 0x1E00 +#define GL_REPLACE 0x1E01 +#define GL_INCR 0x1E02 +#define GL_DECR 0x1E03 +/* GL_INVERT */ + +/* StringName */ +#define GL_VENDOR 0x1F00 +#define GL_RENDERER 0x1F01 +#define GL_VERSION 0x1F02 +#define GL_EXTENSIONS 0x1F03 + +/* TexCoordPointerType */ +/* GL_SHORT */ +/* GL_FLOAT */ +/* GL_FIXED */ +/* GL_BYTE */ + +/* TextureEnvMode */ +#define GL_MODULATE 0x2100 +#define GL_DECAL 0x2101 +/* GL_BLEND */ +#define GL_ADD 0x0104 +/* GL_REPLACE */ + +/* TextureEnvParameter */ +#define GL_TEXTURE_ENV_MODE 0x2200 +#define GL_TEXTURE_ENV_COLOR 0x2201 + +/* TextureEnvTarget */ +#define GL_TEXTURE_ENV 0x2300 + +/* TextureMagFilter */ +#define GL_NEAREST 0x2600 +#define GL_LINEAR 0x2601 + +/* TextureMinFilter */ +/* GL_NEAREST */ +/* GL_LINEAR */ +#define GL_NEAREST_MIPMAP_NEAREST 0x2700 +#define GL_LINEAR_MIPMAP_NEAREST 0x2701 +#define GL_NEAREST_MIPMAP_LINEAR 0x2702 +#define GL_LINEAR_MIPMAP_LINEAR 0x2703 + +/* TextureParameterName */ +#define GL_TEXTURE_MAG_FILTER 0x2800 +#define GL_TEXTURE_MIN_FILTER 0x2801 +#define GL_TEXTURE_WRAP_S 0x2802 +#define GL_TEXTURE_WRAP_T 0x2803 + +/* TextureTarget */ +/* GL_TEXTURE_2D */ + +/* TextureUnit */ +#define GL_TEXTURE0 0x84C0 +#define GL_TEXTURE1 0x84C1 +#define GL_TEXTURE2 0x84C2 +#define GL_TEXTURE3 0x84C3 +#define GL_TEXTURE4 0x84C4 +#define GL_TEXTURE5 0x84C5 +#define GL_TEXTURE6 0x84C6 +#define GL_TEXTURE7 0x84C7 +#define GL_TEXTURE8 0x84C8 +#define GL_TEXTURE9 0x84C9 +#define GL_TEXTURE10 0x84CA +#define GL_TEXTURE11 0x84CB +#define GL_TEXTURE12 0x84CC +#define GL_TEXTURE13 0x84CD +#define GL_TEXTURE14 0x84CE +#define GL_TEXTURE15 0x84CF +#define GL_TEXTURE16 0x84D0 +#define GL_TEXTURE17 0x84D1 +#define GL_TEXTURE18 0x84D2 +#define GL_TEXTURE19 0x84D3 +#define GL_TEXTURE20 0x84D4 +#define GL_TEXTURE21 0x84D5 +#define GL_TEXTURE22 0x84D6 +#define GL_TEXTURE23 0x84D7 +#define GL_TEXTURE24 0x84D8 +#define GL_TEXTURE25 0x84D9 +#define GL_TEXTURE26 0x84DA +#define GL_TEXTURE27 0x84DB +#define GL_TEXTURE28 0x84DC +#define GL_TEXTURE29 0x84DD +#define GL_TEXTURE30 0x84DE +#define GL_TEXTURE31 0x84DF + +/* TextureWrapMode */ +#define GL_REPEAT 0x2901 +#define GL_CLAMP_TO_EDGE 0x812F + +/* PixelInternalFormat */ +#define GL_PALETTE4_RGB8_OES 0x8B90 +#define GL_PALETTE4_RGBA8_OES 0x8B91 +#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 +#define GL_PALETTE4_RGBA4_OES 0x8B93 +#define GL_PALETTE4_RGB5_A1_OES 0x8B94 +#define GL_PALETTE8_RGB8_OES 0x8B95 +#define GL_PALETTE8_RGBA8_OES 0x8B96 +#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 +#define GL_PALETTE8_RGBA4_OES 0x8B98 +#define GL_PALETTE8_RGB5_A1_OES 0x8B99 + +/* VertexPointerType */ +/* GL_SHORT */ +/* GL_FLOAT */ +/* GL_FIXED */ +/* GL_BYTE */ + +/* LightName */ +#define GL_LIGHT0 0x4000 +#define GL_LIGHT1 0x4001 +#define GL_LIGHT2 0x4002 +#define GL_LIGHT3 0x4003 +#define GL_LIGHT4 0x4004 +#define GL_LIGHT5 0x4005 +#define GL_LIGHT6 0x4006 +#define GL_LIGHT7 0x4007 + + +/*************************************************************/ + +GLAPI void APIENTRY glActiveTexture (GLenum texture); +GLAPI void APIENTRY glAlphaFunc (GLenum func, GLclampf ref); +GLAPI void APIENTRY glAlphaFuncx (GLenum func, GLclampx ref); +GLAPI void APIENTRY glBindTexture (GLenum target, GLuint texture); +GLAPI void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); +GLAPI void APIENTRY glClear (GLbitfield mask); +GLAPI void APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); +GLAPI void APIENTRY glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); +GLAPI void APIENTRY glClearDepthf (GLclampf depth); +GLAPI void APIENTRY glClearDepthx (GLclampx depth); +GLAPI void APIENTRY glClearStencil (GLint s); +GLAPI void APIENTRY glClientActiveTexture (GLenum texture); +GLAPI void APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GLAPI void APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +GLAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +GLAPI void APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); +GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); +GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); +GLAPI void APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +GLAPI void APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glCullFace (GLenum mode); +GLAPI void APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); +GLAPI void APIENTRY glDepthFunc (GLenum func); +GLAPI void APIENTRY glDepthMask (GLboolean flag); +GLAPI void APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar); +GLAPI void APIENTRY glDepthRangex (GLclampx zNear, GLclampx zFar); +GLAPI void APIENTRY glDisable (GLenum cap); +GLAPI void APIENTRY glDisableClientState (GLenum array); +GLAPI void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); +GLAPI void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); +GLAPI void APIENTRY glEnable (GLenum cap); +GLAPI void APIENTRY glEnableClientState (GLenum array); +GLAPI void APIENTRY glFinish (void); +GLAPI void APIENTRY glFlush (void); +GLAPI void APIENTRY glFogf (GLenum pname, GLfloat param); +GLAPI void APIENTRY glFogfv (GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glFogx (GLenum pname, GLfixed param); +GLAPI void APIENTRY glFogxv (GLenum pname, const GLfixed *params); +GLAPI void APIENTRY glFrontFace (GLenum mode); +GLAPI void APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); +GLAPI void APIENTRY glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); +GLAPI void APIENTRY glGenTextures (GLsizei n, GLuint *textures); +GLAPI GLenum APIENTRY glGetError (void); +GLAPI void APIENTRY glGetIntegerv (GLenum pname, GLint *params); +GLAPI const GLubyte * APIENTRY glGetString (GLenum name); +GLAPI void APIENTRY glHint (GLenum target, GLenum mode); +GLAPI void APIENTRY glLightModelf (GLenum pname, GLfloat param); +GLAPI void APIENTRY glLightModelfv (GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glLightModelx (GLenum pname, GLfixed param); +GLAPI void APIENTRY glLightModelxv (GLenum pname, const GLfixed *params); +GLAPI void APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param); +GLAPI void APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glLightx (GLenum light, GLenum pname, GLfixed param); +GLAPI void APIENTRY glLightxv (GLenum light, GLenum pname, const GLfixed *params); +GLAPI void APIENTRY glLineWidth (GLfloat width); +GLAPI void APIENTRY glLineWidthx (GLfixed width); +GLAPI void APIENTRY glLoadIdentity (void); +GLAPI void APIENTRY glLoadMatrixf (const GLfloat *m); +GLAPI void APIENTRY glLoadMatrixx (const GLfixed *m); +GLAPI void APIENTRY glLogicOp (GLenum opcode); +GLAPI void APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param); +GLAPI void APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glMaterialx (GLenum face, GLenum pname, GLfixed param); +GLAPI void APIENTRY glMaterialxv (GLenum face, GLenum pname, const GLfixed *params); +GLAPI void APIENTRY glMatrixMode (GLenum mode); +GLAPI void APIENTRY glMultMatrixf (const GLfloat *m); +GLAPI void APIENTRY glMultMatrixx (const GLfixed *m); +GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +GLAPI void APIENTRY glMultiTexCoord4x (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); +GLAPI void APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz); +GLAPI void APIENTRY glNormal3x (GLfixed nx, GLfixed ny, GLfixed nz); +GLAPI void APIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer); +GLAPI void APIENTRY glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); +GLAPI void APIENTRY glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); +GLAPI void APIENTRY glPixelStorei (GLenum pname, GLint param); +GLAPI void APIENTRY glPointSize (GLfloat size); +GLAPI void APIENTRY glPointSizex (GLfixed size); +GLAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); +GLAPI void APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units); +GLAPI void APIENTRY glPopMatrix (void); +GLAPI void APIENTRY glPushMatrix (void); +GLAPI void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); +GLAPI void APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glRotatex (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); +GLAPI void APIENTRY glSampleCoverage (GLclampf value, GLboolean invert); +GLAPI void APIENTRY glSampleCoveragex (GLclampx value, GLboolean invert); +GLAPI void APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glScalex (GLfixed x, GLfixed y, GLfixed z); +GLAPI void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glShadeModel (GLenum mode); +GLAPI void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); +GLAPI void APIENTRY glStencilMask (GLuint mask); +GLAPI void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); +GLAPI void APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); +GLAPI void APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param); +GLAPI void APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glTexEnvx (GLenum target, GLenum pname, GLfixed param); +GLAPI void APIENTRY glTexEnvxv (GLenum target, GLenum pname, const GLfixed *params); +GLAPI void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); +GLAPI void APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); +GLAPI void APIENTRY glTexParameterx (GLenum target, GLenum pname, GLfixed param); +GLAPI void APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); +GLAPI void APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glTranslatex (GLfixed x, GLfixed y, GLfixed z); +GLAPI void APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); +GLAPI void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); + +#ifdef __cplusplus +} +#endif + +#endif /* __gl_h_ */ diff --git a/include/GLES/egl.h b/include/GLES/egl.h index 5778e00..4f8903d 100644 --- a/include/GLES/egl.h +++ b/include/GLES/egl.h @@ -1,9 +1,12 @@ +/* +** Copyright 2008-2020 The Khronos Group Inc. +** SPDX-License-Identifier: Apache-2.0 +*/ + /* * Skeleton egl.h to provide compatibility for early GLES 1.0 * applications. Several early implementations included gl.h * in egl.h leading applications to include only egl.h - * - * $Revision: 6252 $ on $Date:: 2008-08-06 16:35:08 -0700 #$ */ #ifndef __legacy_egl_h_ diff --git a/include/GLES/gl.h b/include/GLES/gl.h index 5b8d85a..2153011 100644 --- a/include/GLES/gl.h +++ b/include/GLES/gl.h @@ -1,58 +1,62 @@ -#ifndef __gl_h_ -#define __gl_h_ - -/* $Revision: 10601 $ on $Date:: 2010-03-04 22:15:27 -0800 #$ */ - -#include +#ifndef __gles1_gl_h_ +#define __gles1_gl_h_ 1 #ifdef __cplusplus extern "C" { #endif /* - * This document is licensed under the SGI Free Software B License Version - * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . - */ - -typedef void GLvoid; -typedef char GLchar; -typedef unsigned int GLenum; -typedef unsigned char GLboolean; -typedef unsigned int GLbitfield; -typedef khronos_int8_t GLbyte; -typedef short GLshort; -typedef int GLint; -typedef int GLsizei; -typedef khronos_uint8_t GLubyte; -typedef unsigned short GLushort; -typedef unsigned int GLuint; -typedef khronos_float_t GLfloat; -typedef khronos_float_t GLclampf; -typedef khronos_int32_t GLfixed; -typedef khronos_int32_t GLclampx; - -typedef khronos_intptr_t GLintptr; -typedef khronos_ssize_t GLsizeiptr; +** Copyright 2013-2020 The Khronos Group Inc. +** SPDX-License-Identifier: MIT +** +** This header is generated from the Khronos OpenGL / OpenGL ES XML +** API Registry. The current version of the Registry, generator scripts +** used to make the header, and the header can be found at +** https://github.com/KhronosGroup/OpenGL-Registry +*/ +#include -/*************************************************************/ +/* Generated on date 20210107 */ -/* OpenGL ES core versions */ -#define GL_VERSION_ES_CM_1_0 1 -#define GL_VERSION_ES_CL_1_0 1 -#define GL_VERSION_ES_CM_1_1 1 -#define GL_VERSION_ES_CL_1_1 1 +/* Generated C header for: + * API: gles1 + * Profile: common + * Versions considered: .* + * Versions emitted: .* + * Default extensions included: None + * Additional extensions included: ^(GL_OES_read_format|GL_OES_compressed_paletted_texture|GL_OES_point_size_array|GL_OES_point_sprite)$ + * Extensions removed: _nomatch_^ + */ -/* ClearBufferMask */ +#ifndef GL_VERSION_ES_CM_1_0 +#define GL_VERSION_ES_CM_1_0 1 +#include +typedef khronos_int8_t GLbyte; +typedef khronos_float_t GLclampf; +typedef khronos_int16_t GLshort; +typedef khronos_uint16_t GLushort; +typedef void GLvoid; +typedef unsigned int GLenum; +typedef khronos_float_t GLfloat; +typedef khronos_int32_t GLfixed; +typedef unsigned int GLuint; +typedef khronos_ssize_t GLsizeiptr; +typedef khronos_intptr_t GLintptr; +typedef unsigned int GLbitfield; +typedef int GLint; +typedef khronos_uint8_t GLubyte; +typedef unsigned char GLboolean; +typedef int GLsizei; +typedef khronos_int32_t GLclampx; +#define GL_VERSION_ES_CL_1_0 1 +#define GL_VERSION_ES_CM_1_1 1 +#define GL_VERSION_ES_CL_1_1 1 #define GL_DEPTH_BUFFER_BIT 0x00000100 #define GL_STENCIL_BUFFER_BIT 0x00000400 #define GL_COLOR_BUFFER_BIT 0x00004000 - -/* Boolean */ #define GL_FALSE 0 #define GL_TRUE 1 - -/* BeginMode */ #define GL_POINTS 0x0000 #define GL_LINES 0x0001 #define GL_LINE_LOOP 0x0002 @@ -60,8 +64,6 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_TRIANGLES 0x0004 #define GL_TRIANGLE_STRIP 0x0005 #define GL_TRIANGLE_FAN 0x0006 - -/* AlphaFunction */ #define GL_NEVER 0x0200 #define GL_LESS 0x0201 #define GL_EQUAL 0x0202 @@ -70,8 +72,6 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_NOTEQUAL 0x0205 #define GL_GEQUAL 0x0206 #define GL_ALWAYS 0x0207 - -/* BlendingFactorDest */ #define GL_ZERO 0 #define GL_ONE 1 #define GL_SRC_COLOR 0x0300 @@ -80,53 +80,18 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_ONE_MINUS_SRC_ALPHA 0x0303 #define GL_DST_ALPHA 0x0304 #define GL_ONE_MINUS_DST_ALPHA 0x0305 - -/* BlendingFactorSrc */ -/* GL_ZERO */ -/* GL_ONE */ #define GL_DST_COLOR 0x0306 #define GL_ONE_MINUS_DST_COLOR 0x0307 #define GL_SRC_ALPHA_SATURATE 0x0308 -/* GL_SRC_ALPHA */ -/* GL_ONE_MINUS_SRC_ALPHA */ -/* GL_DST_ALPHA */ -/* GL_ONE_MINUS_DST_ALPHA */ - -/* ClipPlaneName */ #define GL_CLIP_PLANE0 0x3000 #define GL_CLIP_PLANE1 0x3001 #define GL_CLIP_PLANE2 0x3002 #define GL_CLIP_PLANE3 0x3003 #define GL_CLIP_PLANE4 0x3004 #define GL_CLIP_PLANE5 0x3005 - -/* ColorMaterialFace */ -/* GL_FRONT_AND_BACK */ - -/* ColorMaterialParameter */ -/* GL_AMBIENT_AND_DIFFUSE */ - -/* ColorPointerType */ -/* GL_UNSIGNED_BYTE */ -/* GL_FLOAT */ -/* GL_FIXED */ - -/* CullFaceMode */ #define GL_FRONT 0x0404 #define GL_BACK 0x0405 #define GL_FRONT_AND_BACK 0x0408 - -/* DepthFunction */ -/* GL_NEVER */ -/* GL_LESS */ -/* GL_EQUAL */ -/* GL_LEQUAL */ -/* GL_GREATER */ -/* GL_NOTEQUAL */ -/* GL_GEQUAL */ -/* GL_ALWAYS */ - -/* EnableCap */ #define GL_FOG 0x0B60 #define GL_LIGHTING 0x0B50 #define GL_TEXTURE_2D 0x0DE1 @@ -137,21 +102,12 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_DITHER 0x0BD0 #define GL_STENCIL_TEST 0x0B90 #define GL_DEPTH_TEST 0x0B71 -/* GL_LIGHT0 */ -/* GL_LIGHT1 */ -/* GL_LIGHT2 */ -/* GL_LIGHT3 */ -/* GL_LIGHT4 */ -/* GL_LIGHT5 */ -/* GL_LIGHT6 */ -/* GL_LIGHT7 */ #define GL_POINT_SMOOTH 0x0B10 #define GL_LINE_SMOOTH 0x0B20 #define GL_SCISSOR_TEST 0x0C11 #define GL_COLOR_MATERIAL 0x0B57 #define GL_NORMALIZE 0x0BA1 #define GL_RESCALE_NORMAL 0x803A -#define GL_POLYGON_OFFSET_FILL 0x8037 #define GL_VERTEX_ARRAY 0x8074 #define GL_NORMAL_ARRAY 0x8075 #define GL_COLOR_ARRAY 0x8076 @@ -160,8 +116,6 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E #define GL_SAMPLE_ALPHA_TO_ONE 0x809F #define GL_SAMPLE_COVERAGE 0x80A0 - -/* ErrorCode */ #define GL_NO_ERROR 0 #define GL_INVALID_ENUM 0x0500 #define GL_INVALID_VALUE 0x0501 @@ -169,24 +123,15 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_STACK_OVERFLOW 0x0503 #define GL_STACK_UNDERFLOW 0x0504 #define GL_OUT_OF_MEMORY 0x0505 - -/* FogMode */ -/* GL_LINEAR */ #define GL_EXP 0x0800 #define GL_EXP2 0x0801 - -/* FogParameter */ #define GL_FOG_DENSITY 0x0B62 #define GL_FOG_START 0x0B63 #define GL_FOG_END 0x0B64 #define GL_FOG_MODE 0x0B65 #define GL_FOG_COLOR 0x0B66 - -/* FrontFaceDirection */ #define GL_CW 0x0900 #define GL_CCW 0x0901 - -/* GetPName */ #define GL_CURRENT_COLOR 0x0B00 #define GL_CURRENT_NORMAL 0x0B02 #define GL_CURRENT_TEXTURE_COORDS 0x0B03 @@ -229,11 +174,8 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_BLEND_SRC 0x0BE1 #define GL_LOGIC_OP_MODE 0x0BF0 #define GL_SCISSOR_BOX 0x0C10 -#define GL_SCISSOR_TEST 0x0C11 #define GL_COLOR_CLEAR_VALUE 0x0C22 #define GL_COLOR_WRITEMASK 0x0C23 -#define GL_UNPACK_ALIGNMENT 0x0CF5 -#define GL_PACK_ALIGNMENT 0x0D05 #define GL_MAX_LIGHTS 0x0D31 #define GL_MAX_CLIP_PLANES 0x0D32 #define GL_MAX_TEXTURE_SIZE 0x0D33 @@ -272,33 +214,18 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_SAMPLES 0x80A9 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA #define GL_SAMPLE_COVERAGE_INVERT 0x80AB - -/* GetTextureParameter */ -/* GL_TEXTURE_MAG_FILTER */ -/* GL_TEXTURE_MIN_FILTER */ -/* GL_TEXTURE_WRAP_S */ -/* GL_TEXTURE_WRAP_T */ - #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 - -/* HintMode */ #define GL_DONT_CARE 0x1100 #define GL_FASTEST 0x1101 #define GL_NICEST 0x1102 - -/* HintTarget */ #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 #define GL_POINT_SMOOTH_HINT 0x0C51 #define GL_LINE_SMOOTH_HINT 0x0C52 #define GL_FOG_HINT 0x0C54 #define GL_GENERATE_MIPMAP_HINT 0x8192 - -/* LightModelParameter */ #define GL_LIGHT_MODEL_AMBIENT 0x0B53 #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 - -/* LightParameter */ #define GL_AMBIENT 0x1200 #define GL_DIFFUSE 0x1201 #define GL_SPECULAR 0x1202 @@ -309,16 +236,12 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_CONSTANT_ATTENUATION 0x1207 #define GL_LINEAR_ATTENUATION 0x1208 #define GL_QUADRATIC_ATTENUATION 0x1209 - -/* DataType */ #define GL_BYTE 0x1400 #define GL_UNSIGNED_BYTE 0x1401 #define GL_SHORT 0x1402 #define GL_UNSIGNED_SHORT 0x1403 #define GL_FLOAT 0x1406 #define GL_FIXED 0x140C - -/* LogicOp */ #define GL_CLEAR 0x1500 #define GL_AND 0x1501 #define GL_AND_REVERSE 0x1502 @@ -335,117 +258,49 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_OR_INVERTED 0x150D #define GL_NAND 0x150E #define GL_SET 0x150F - -/* MaterialFace */ -/* GL_FRONT_AND_BACK */ - -/* MaterialParameter */ #define GL_EMISSION 0x1600 #define GL_SHININESS 0x1601 #define GL_AMBIENT_AND_DIFFUSE 0x1602 -/* GL_AMBIENT */ -/* GL_DIFFUSE */ -/* GL_SPECULAR */ - -/* MatrixMode */ #define GL_MODELVIEW 0x1700 #define GL_PROJECTION 0x1701 #define GL_TEXTURE 0x1702 - -/* NormalPointerType */ -/* GL_BYTE */ -/* GL_SHORT */ -/* GL_FLOAT */ -/* GL_FIXED */ - -/* PixelFormat */ #define GL_ALPHA 0x1906 #define GL_RGB 0x1907 #define GL_RGBA 0x1908 #define GL_LUMINANCE 0x1909 #define GL_LUMINANCE_ALPHA 0x190A - -/* PixelStoreParameter */ #define GL_UNPACK_ALIGNMENT 0x0CF5 #define GL_PACK_ALIGNMENT 0x0D05 - -/* PixelType */ -/* GL_UNSIGNED_BYTE */ #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 #define GL_UNSIGNED_SHORT_5_6_5 0x8363 - -/* ShadingModel */ #define GL_FLAT 0x1D00 #define GL_SMOOTH 0x1D01 - -/* StencilFunction */ -/* GL_NEVER */ -/* GL_LESS */ -/* GL_EQUAL */ -/* GL_LEQUAL */ -/* GL_GREATER */ -/* GL_NOTEQUAL */ -/* GL_GEQUAL */ -/* GL_ALWAYS */ - -/* StencilOp */ -/* GL_ZERO */ #define GL_KEEP 0x1E00 #define GL_REPLACE 0x1E01 #define GL_INCR 0x1E02 #define GL_DECR 0x1E03 -/* GL_INVERT */ - -/* StringName */ #define GL_VENDOR 0x1F00 #define GL_RENDERER 0x1F01 #define GL_VERSION 0x1F02 #define GL_EXTENSIONS 0x1F03 - -/* TexCoordPointerType */ -/* GL_SHORT */ -/* GL_FLOAT */ -/* GL_FIXED */ -/* GL_BYTE */ - -/* TextureEnvMode */ #define GL_MODULATE 0x2100 #define GL_DECAL 0x2101 -/* GL_BLEND */ #define GL_ADD 0x0104 -/* GL_REPLACE */ - -/* TextureEnvParameter */ #define GL_TEXTURE_ENV_MODE 0x2200 #define GL_TEXTURE_ENV_COLOR 0x2201 - -/* TextureEnvTarget */ #define GL_TEXTURE_ENV 0x2300 - -/* TextureMagFilter */ #define GL_NEAREST 0x2600 #define GL_LINEAR 0x2601 - -/* TextureMinFilter */ -/* GL_NEAREST */ -/* GL_LINEAR */ #define GL_NEAREST_MIPMAP_NEAREST 0x2700 #define GL_LINEAR_MIPMAP_NEAREST 0x2701 #define GL_NEAREST_MIPMAP_LINEAR 0x2702 #define GL_LINEAR_MIPMAP_LINEAR 0x2703 - -/* TextureParameterName */ #define GL_TEXTURE_MAG_FILTER 0x2800 #define GL_TEXTURE_MIN_FILTER 0x2801 #define GL_TEXTURE_WRAP_S 0x2802 #define GL_TEXTURE_WRAP_T 0x2803 #define GL_GENERATE_MIPMAP 0x8191 - -/* TextureTarget */ -/* GL_TEXTURE_2D */ - -/* TextureUnit */ #define GL_TEXTURE0 0x84C0 #define GL_TEXTURE1 0x84C1 #define GL_TEXTURE2 0x84C2 @@ -480,18 +335,8 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_TEXTURE31 0x84DF #define GL_ACTIVE_TEXTURE 0x84E0 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 - -/* TextureWrapMode */ #define GL_REPEAT 0x2901 #define GL_CLAMP_TO_EDGE 0x812F - -/* VertexPointerType */ -/* GL_SHORT */ -/* GL_FLOAT */ -/* GL_FIXED */ -/* GL_BYTE */ - -/* LightName */ #define GL_LIGHT0 0x4000 #define GL_LIGHT1 0x4001 #define GL_LIGHT2 0x4002 @@ -500,25 +345,18 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_LIGHT5 0x4005 #define GL_LIGHT6 0x4006 #define GL_LIGHT7 0x4007 - -/* Buffer Objects */ #define GL_ARRAY_BUFFER 0x8892 #define GL_ELEMENT_ARRAY_BUFFER 0x8893 - -#define GL_ARRAY_BUFFER_BINDING 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 -#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 -#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 -#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 +#define GL_ARRAY_BUFFER_BINDING 0x8894 +#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 +#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 +#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 +#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A - #define GL_STATIC_DRAW 0x88E4 #define GL_DYNAMIC_DRAW 0x88E8 - #define GL_BUFFER_SIZE 0x8764 #define GL_BUFFER_USAGE 0x8765 - -/* Texture combine + dot3 */ #define GL_SUBTRACT 0x84E7 #define GL_COMBINE 0x8570 #define GL_COMBINE_RGB 0x8571 @@ -535,75 +373,29 @@ typedef khronos_ssize_t GLsizeiptr; #define GL_OPERAND0_ALPHA 0x8598 #define GL_OPERAND1_ALPHA 0x8599 #define GL_OPERAND2_ALPHA 0x859A - #define GL_ALPHA_SCALE 0x0D1C - #define GL_SRC0_RGB 0x8580 #define GL_SRC1_RGB 0x8581 #define GL_SRC2_RGB 0x8582 #define GL_SRC0_ALPHA 0x8588 #define GL_SRC1_ALPHA 0x8589 #define GL_SRC2_ALPHA 0x858A - #define GL_DOT3_RGB 0x86AE #define GL_DOT3_RGBA 0x86AF - -/*------------------------------------------------------------------------* - * required OES extension tokens - *------------------------------------------------------------------------*/ - -/* OES_read_format */ -#ifndef GL_OES_read_format -#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B -#endif - -/* GL_OES_compressed_paletted_texture */ -#ifndef GL_OES_compressed_paletted_texture -#define GL_PALETTE4_RGB8_OES 0x8B90 -#define GL_PALETTE4_RGBA8_OES 0x8B91 -#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 -#define GL_PALETTE4_RGBA4_OES 0x8B93 -#define GL_PALETTE4_RGB5_A1_OES 0x8B94 -#define GL_PALETTE8_RGB8_OES 0x8B95 -#define GL_PALETTE8_RGBA8_OES 0x8B96 -#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 -#define GL_PALETTE8_RGBA4_OES 0x8B98 -#define GL_PALETTE8_RGB5_A1_OES 0x8B99 -#endif - -/* OES_point_size_array */ -#ifndef GL_OES_point_size_array -#define GL_POINT_SIZE_ARRAY_OES 0x8B9C -#define GL_POINT_SIZE_ARRAY_TYPE_OES 0x898A -#define GL_POINT_SIZE_ARRAY_STRIDE_OES 0x898B -#define GL_POINT_SIZE_ARRAY_POINTER_OES 0x898C -#define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES 0x8B9F -#endif - -/* GL_OES_point_sprite */ -#ifndef GL_OES_point_sprite -#define GL_POINT_SPRITE_OES 0x8861 -#define GL_COORD_REPLACE_OES 0x8862 -#endif - -/*************************************************************/ - -/* Available only in Common profile */ -GL_API void GL_APIENTRY glAlphaFunc (GLenum func, GLclampf ref); -GL_API void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -GL_API void GL_APIENTRY glClearDepthf (GLclampf depth); -GL_API void GL_APIENTRY glClipPlanef (GLenum plane, const GLfloat *equation); +GL_API void GL_APIENTRY glAlphaFunc (GLenum func, GLfloat ref); +GL_API void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GL_API void GL_APIENTRY glClearDepthf (GLfloat d); +GL_API void GL_APIENTRY glClipPlanef (GLenum p, const GLfloat *eqn); GL_API void GL_APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GL_API void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar); +GL_API void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); GL_API void GL_APIENTRY glFogf (GLenum pname, GLfloat param); GL_API void GL_APIENTRY glFogfv (GLenum pname, const GLfloat *params); -GL_API void GL_APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); -GL_API void GL_APIENTRY glGetClipPlanef (GLenum pname, GLfloat eqn[4]); -GL_API void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *params); +GL_API void GL_APIENTRY glFrustumf (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); +GL_API void GL_APIENTRY glGetClipPlanef (GLenum plane, GLfloat *equation); +GL_API void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data); GL_API void GL_APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params); GL_API void GL_APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params); -GL_API void GL_APIENTRY glGetTexEnvfv (GLenum env, GLenum pname, GLfloat *params); +GL_API void GL_APIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params); GL_API void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); GL_API void GL_APIENTRY glLightModelf (GLenum pname, GLfloat param); GL_API void GL_APIENTRY glLightModelfv (GLenum pname, const GLfloat *params); @@ -616,7 +408,7 @@ GL_API void GL_APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat * GL_API void GL_APIENTRY glMultMatrixf (const GLfloat *m); GL_API void GL_APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); GL_API void GL_APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz); -GL_API void GL_APIENTRY glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); +GL_API void GL_APIENTRY glOrthof (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); GL_API void GL_APIENTRY glPointParameterf (GLenum pname, GLfloat param); GL_API void GL_APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params); GL_API void GL_APIENTRY glPointSize (GLfloat size); @@ -628,27 +420,25 @@ GL_API void GL_APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat * GL_API void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); GL_API void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); GL_API void GL_APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z); - -/* Available in both Common and Common-Lite profiles */ GL_API void GL_APIENTRY glActiveTexture (GLenum texture); -GL_API void GL_APIENTRY glAlphaFuncx (GLenum func, GLclampx ref); +GL_API void GL_APIENTRY glAlphaFuncx (GLenum func, GLfixed ref); GL_API void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); GL_API void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); GL_API void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); -GL_API void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); -GL_API void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); +GL_API void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); +GL_API void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); GL_API void GL_APIENTRY glClear (GLbitfield mask); -GL_API void GL_APIENTRY glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); -GL_API void GL_APIENTRY glClearDepthx (GLclampx depth); +GL_API void GL_APIENTRY glClearColorx (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +GL_API void GL_APIENTRY glClearDepthx (GLfixed depth); GL_API void GL_APIENTRY glClearStencil (GLint s); GL_API void GL_APIENTRY glClientActiveTexture (GLenum texture); GL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation); GL_API void GL_APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); GL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); GL_API void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -GL_API void GL_APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -GL_API void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); -GL_API void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); +GL_API void GL_APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer); +GL_API void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); +GL_API void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); GL_API void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); GL_API void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); GL_API void GL_APIENTRY glCullFace (GLenum mode); @@ -656,33 +446,33 @@ GL_API void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); GL_API void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); GL_API void GL_APIENTRY glDepthFunc (GLenum func); GL_API void GL_APIENTRY glDepthMask (GLboolean flag); -GL_API void GL_APIENTRY glDepthRangex (GLclampx zNear, GLclampx zFar); +GL_API void GL_APIENTRY glDepthRangex (GLfixed n, GLfixed f); GL_API void GL_APIENTRY glDisable (GLenum cap); GL_API void GL_APIENTRY glDisableClientState (GLenum array); GL_API void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); -GL_API void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); +GL_API void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); GL_API void GL_APIENTRY glEnable (GLenum cap); GL_API void GL_APIENTRY glEnableClientState (GLenum array); GL_API void GL_APIENTRY glFinish (void); GL_API void GL_APIENTRY glFlush (void); GL_API void GL_APIENTRY glFogx (GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glFogxv (GLenum pname, const GLfixed *params); +GL_API void GL_APIENTRY glFogxv (GLenum pname, const GLfixed *param); GL_API void GL_APIENTRY glFrontFace (GLenum mode); -GL_API void GL_APIENTRY glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); -GL_API void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *params); +GL_API void GL_APIENTRY glFrustumx (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +GL_API void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); GL_API void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); -GL_API void GL_APIENTRY glGetClipPlanex (GLenum pname, GLfixed eqn[4]); +GL_API void GL_APIENTRY glGetClipPlanex (GLenum plane, GLfixed *equation); GL_API void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); GL_API void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); GL_API GLenum GL_APIENTRY glGetError (void); GL_API void GL_APIENTRY glGetFixedv (GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *params); +GL_API void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data); GL_API void GL_APIENTRY glGetLightxv (GLenum light, GLenum pname, GLfixed *params); GL_API void GL_APIENTRY glGetMaterialxv (GLenum face, GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glGetPointerv (GLenum pname, GLvoid **params); -GL_API const GLubyte * GL_APIENTRY glGetString (GLenum name); -GL_API void GL_APIENTRY glGetTexEnviv (GLenum env, GLenum pname, GLint *params); -GL_API void GL_APIENTRY glGetTexEnvxv (GLenum env, GLenum pname, GLfixed *params); +GL_API void GL_APIENTRY glGetPointerv (GLenum pname, void **params); +GL_API const GLubyte *GL_APIENTRY glGetString (GLenum name); +GL_API void GL_APIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params); +GL_API void GL_APIENTRY glGetTexEnvxv (GLenum target, GLenum pname, GLfixed *params); GL_API void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); GL_API void GL_APIENTRY glGetTexParameterxv (GLenum target, GLenum pname, GLfixed *params); GL_API void GL_APIENTRY glHint (GLenum target, GLenum mode); @@ -690,7 +480,7 @@ GL_API GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); GL_API GLboolean GL_APIENTRY glIsEnabled (GLenum cap); GL_API GLboolean GL_APIENTRY glIsTexture (GLuint texture); GL_API void GL_APIENTRY glLightModelx (GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glLightModelxv (GLenum pname, const GLfixed *params); +GL_API void GL_APIENTRY glLightModelxv (GLenum pname, const GLfixed *param); GL_API void GL_APIENTRY glLightx (GLenum light, GLenum pname, GLfixed param); GL_API void GL_APIENTRY glLightxv (GLenum light, GLenum pname, const GLfixed *params); GL_API void GL_APIENTRY glLineWidthx (GLfixed width); @@ -698,13 +488,13 @@ GL_API void GL_APIENTRY glLoadIdentity (void); GL_API void GL_APIENTRY glLoadMatrixx (const GLfixed *m); GL_API void GL_APIENTRY glLogicOp (GLenum opcode); GL_API void GL_APIENTRY glMaterialx (GLenum face, GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glMaterialxv (GLenum face, GLenum pname, const GLfixed *params); +GL_API void GL_APIENTRY glMaterialxv (GLenum face, GLenum pname, const GLfixed *param); GL_API void GL_APIENTRY glMatrixMode (GLenum mode); GL_API void GL_APIENTRY glMultMatrixx (const GLfixed *m); -GL_API void GL_APIENTRY glMultiTexCoord4x (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); +GL_API void GL_APIENTRY glMultiTexCoord4x (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); GL_API void GL_APIENTRY glNormal3x (GLfixed nx, GLfixed ny, GLfixed nz); -GL_API void GL_APIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer); -GL_API void GL_APIENTRY glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); +GL_API void GL_APIENTRY glNormalPointer (GLenum type, GLsizei stride, const void *pointer); +GL_API void GL_APIENTRY glOrthox (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); GL_API void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); GL_API void GL_APIENTRY glPointParameterx (GLenum pname, GLfixed param); GL_API void GL_APIENTRY glPointParameterxv (GLenum pname, const GLfixed *params); @@ -712,9 +502,9 @@ GL_API void GL_APIENTRY glPointSizex (GLfixed size); GL_API void GL_APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units); GL_API void GL_APIENTRY glPopMatrix (void); GL_API void GL_APIENTRY glPushMatrix (void); -GL_API void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); +GL_API void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); GL_API void GL_APIENTRY glRotatex (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); -GL_API void GL_APIENTRY glSampleCoverage (GLclampf value, GLboolean invert); +GL_API void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); GL_API void GL_APIENTRY glSampleCoveragex (GLclampx value, GLboolean invert); GL_API void GL_APIENTRY glScalex (GLfixed x, GLfixed y, GLfixed z); GL_API void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); @@ -722,49 +512,60 @@ GL_API void GL_APIENTRY glShadeModel (GLenum mode); GL_API void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); GL_API void GL_APIENTRY glStencilMask (GLuint mask); GL_API void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); -GL_API void GL_APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); +GL_API void GL_APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const void *pointer); GL_API void GL_APIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param); GL_API void GL_APIENTRY glTexEnvx (GLenum target, GLenum pname, GLfixed param); GL_API void GL_APIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params); GL_API void GL_APIENTRY glTexEnvxv (GLenum target, GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); +GL_API void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); GL_API void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); GL_API void GL_APIENTRY glTexParameterx (GLenum target, GLenum pname, GLfixed param); GL_API void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); GL_API void GL_APIENTRY glTexParameterxv (GLenum target, GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); +GL_API void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); GL_API void GL_APIENTRY glTranslatex (GLfixed x, GLfixed y, GLfixed z); -GL_API void GL_APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); +GL_API void GL_APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const void *pointer); GL_API void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); +#endif /* GL_VERSION_ES_CM_1_0 */ -/*------------------------------------------------------------------------* - * Required OES extension functions - *------------------------------------------------------------------------*/ - -/* GL_OES_read_format */ -#ifndef GL_OES_read_format -#define GL_OES_read_format 1 -#endif - -/* GL_OES_compressed_paletted_texture */ #ifndef GL_OES_compressed_paletted_texture #define GL_OES_compressed_paletted_texture 1 -#endif +#define GL_PALETTE4_RGB8_OES 0x8B90 +#define GL_PALETTE4_RGBA8_OES 0x8B91 +#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 +#define GL_PALETTE4_RGBA4_OES 0x8B93 +#define GL_PALETTE4_RGB5_A1_OES 0x8B94 +#define GL_PALETTE8_RGB8_OES 0x8B95 +#define GL_PALETTE8_RGBA8_OES 0x8B96 +#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 +#define GL_PALETTE8_RGBA4_OES 0x8B98 +#define GL_PALETTE8_RGB5_A1_OES 0x8B99 +#endif /* GL_OES_compressed_paletted_texture */ -/* GL_OES_point_size_array */ #ifndef GL_OES_point_size_array #define GL_OES_point_size_array 1 -GL_API void GL_APIENTRY glPointSizePointerOES (GLenum type, GLsizei stride, const GLvoid *pointer); -#endif +#define GL_POINT_SIZE_ARRAY_OES 0x8B9C +#define GL_POINT_SIZE_ARRAY_TYPE_OES 0x898A +#define GL_POINT_SIZE_ARRAY_STRIDE_OES 0x898B +#define GL_POINT_SIZE_ARRAY_POINTER_OES 0x898C +#define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES 0x8B9F +GL_API void GL_APIENTRY glPointSizePointerOES (GLenum type, GLsizei stride, const void *pointer); +#endif /* GL_OES_point_size_array */ -/* GL_OES_point_sprite */ #ifndef GL_OES_point_sprite #define GL_OES_point_sprite 1 -#endif +#define GL_POINT_SPRITE_OES 0x8861 +#define GL_COORD_REPLACE_OES 0x8862 +#endif /* GL_OES_point_sprite */ + +#ifndef GL_OES_read_format +#define GL_OES_read_format 1 +#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A +#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B +#endif /* GL_OES_read_format */ #ifdef __cplusplus } #endif -#endif /* __gl_h_ */ - +#endif diff --git a/include/GLES/glext.h b/include/GLES/glext.h index 67092fd..61a6363 100644 --- a/include/GLES/glext.h +++ b/include/GLES/glext.h @@ -1,623 +1,118 @@ -#ifndef __glext_h_ -#define __glext_h_ - -/* $Revision: 20798 $ on $Date:: 2013-03-07 01:19:34 -0800 #$ */ +#ifndef __gles1_glext_h_ +#define __gles1_glext_h_ 1 #ifdef __cplusplus extern "C" { #endif /* - * This document is licensed under the SGI Free Software B License Version - * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . - */ +** Copyright 2013-2020 The Khronos Group Inc. +** SPDX-License-Identifier: MIT +** +** This header is generated from the Khronos OpenGL / OpenGL ES XML +** API Registry. The current version of the Registry, generator scripts +** used to make the header, and the header can be found at +** https://github.com/KhronosGroup/OpenGL-Registry +*/ #ifndef GL_APIENTRYP -# define GL_APIENTRYP GL_APIENTRY* -#endif - -/*------------------------------------------------------------------------* - * OES extension tokens - *------------------------------------------------------------------------*/ - -/* GL_OES_blend_equation_separate */ -#ifndef GL_OES_blend_equation_separate -/* BLEND_EQUATION_RGB_OES same as BLEND_EQUATION_OES */ -#define GL_BLEND_EQUATION_RGB_OES 0x8009 -#define GL_BLEND_EQUATION_ALPHA_OES 0x883D -#endif - -/* GL_OES_blend_func_separate */ -#ifndef GL_OES_blend_func_separate -#define GL_BLEND_DST_RGB_OES 0x80C8 -#define GL_BLEND_SRC_RGB_OES 0x80C9 -#define GL_BLEND_DST_ALPHA_OES 0x80CA -#define GL_BLEND_SRC_ALPHA_OES 0x80CB +#define GL_APIENTRYP GL_APIENTRY* #endif -/* GL_OES_blend_subtract */ -#ifndef GL_OES_blend_subtract -#define GL_BLEND_EQUATION_OES 0x8009 -#define GL_FUNC_ADD_OES 0x8006 -#define GL_FUNC_SUBTRACT_OES 0x800A -#define GL_FUNC_REVERSE_SUBTRACT_OES 0x800B -#endif - -/* GL_OES_compressed_ETC1_RGB8_texture */ -#ifndef GL_OES_compressed_ETC1_RGB8_texture -#define GL_ETC1_RGB8_OES 0x8D64 -#endif - -/* GL_OES_depth24 */ -#ifndef GL_OES_depth24 -#define GL_DEPTH_COMPONENT24_OES 0x81A6 -#endif +/* Generated on date 20210107 */ -/* GL_OES_depth32 */ -#ifndef GL_OES_depth32 -#define GL_DEPTH_COMPONENT32_OES 0x81A7 -#endif +/* Generated C header for: + * API: gles1 + * Profile: common + * Versions considered: .* + * Versions emitted: _nomatch_^ + * Default extensions included: gles1 + * Additional extensions included: _nomatch_^ + * Extensions removed: ^(GL_OES_read_format|GL_OES_compressed_paletted_texture|GL_OES_point_size_array|GL_OES_point_sprite)$ + */ -/* GL_OES_draw_texture */ -#ifndef GL_OES_draw_texture -#define GL_TEXTURE_CROP_RECT_OES 0x8B9D -#endif +#ifndef GL_KHR_debug +#define GL_KHR_debug 1 +#endif /* GL_KHR_debug */ -/* GL_OES_EGL_image */ #ifndef GL_OES_EGL_image -typedef void* GLeglImageOES; +#define GL_OES_EGL_image 1 +typedef void *GLeglImageOES; +typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); +typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); +#ifdef GL_GLEXT_PROTOTYPES +GL_API void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); +GL_API void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); #endif +#endif /* GL_OES_EGL_image */ -/* GL_OES_EGL_image_external */ #ifndef GL_OES_EGL_image_external -/* GLeglImageOES defined in GL_OES_EGL_image already. */ -#define GL_TEXTURE_EXTERNAL_OES 0x8D65 -#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 -#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 -#endif - -/* GL_OES_element_index_uint */ -#ifndef GL_OES_element_index_uint -#define GL_UNSIGNED_INT 0x1405 -#endif - -/* GL_OES_fixed_point */ -#ifndef GL_OES_fixed_point -#define GL_FIXED_OES 0x140C -#endif - -/* GL_OES_framebuffer_object */ -#ifndef GL_OES_framebuffer_object -#define GL_NONE_OES 0 -#define GL_FRAMEBUFFER_OES 0x8D40 -#define GL_RENDERBUFFER_OES 0x8D41 -#define GL_RGBA4_OES 0x8056 -#define GL_RGB5_A1_OES 0x8057 -#define GL_RGB565_OES 0x8D62 -#define GL_DEPTH_COMPONENT16_OES 0x81A5 -#define GL_RENDERBUFFER_WIDTH_OES 0x8D42 -#define GL_RENDERBUFFER_HEIGHT_OES 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT_OES 0x8D44 -#define GL_RENDERBUFFER_RED_SIZE_OES 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE_OES 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE_OES 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE_OES 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE_OES 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE_OES 0x8D55 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES 0x8CD2 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES 0x8CD3 -#define GL_COLOR_ATTACHMENT0_OES 0x8CE0 -#define GL_DEPTH_ATTACHMENT_OES 0x8D00 -#define GL_STENCIL_ATTACHMENT_OES 0x8D20 -#define GL_FRAMEBUFFER_COMPLETE_OES 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES 0x8CD9 -#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES 0x8CDA -#define GL_FRAMEBUFFER_UNSUPPORTED_OES 0x8CDD -#define GL_FRAMEBUFFER_BINDING_OES 0x8CA6 -#define GL_RENDERBUFFER_BINDING_OES 0x8CA7 -#define GL_MAX_RENDERBUFFER_SIZE_OES 0x84E8 -#define GL_INVALID_FRAMEBUFFER_OPERATION_OES 0x0506 -#endif - -/* GL_OES_mapbuffer */ -#ifndef GL_OES_mapbuffer -#define GL_WRITE_ONLY_OES 0x88B9 -#define GL_BUFFER_ACCESS_OES 0x88BB -#define GL_BUFFER_MAPPED_OES 0x88BC -#define GL_BUFFER_MAP_POINTER_OES 0x88BD -#endif - -/* GL_OES_matrix_get */ -#ifndef GL_OES_matrix_get -#define GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES 0x898D -#define GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES 0x898E -#define GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES 0x898F -#endif - -/* GL_OES_matrix_palette */ -#ifndef GL_OES_matrix_palette -#define GL_MAX_VERTEX_UNITS_OES 0x86A4 -#define GL_MAX_PALETTE_MATRICES_OES 0x8842 -#define GL_MATRIX_PALETTE_OES 0x8840 -#define GL_MATRIX_INDEX_ARRAY_OES 0x8844 -#define GL_WEIGHT_ARRAY_OES 0x86AD -#define GL_CURRENT_PALETTE_MATRIX_OES 0x8843 -#define GL_MATRIX_INDEX_ARRAY_SIZE_OES 0x8846 -#define GL_MATRIX_INDEX_ARRAY_TYPE_OES 0x8847 -#define GL_MATRIX_INDEX_ARRAY_STRIDE_OES 0x8848 -#define GL_MATRIX_INDEX_ARRAY_POINTER_OES 0x8849 -#define GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES 0x8B9E -#define GL_WEIGHT_ARRAY_SIZE_OES 0x86AB -#define GL_WEIGHT_ARRAY_TYPE_OES 0x86A9 -#define GL_WEIGHT_ARRAY_STRIDE_OES 0x86AA -#define GL_WEIGHT_ARRAY_POINTER_OES 0x86AC -#define GL_WEIGHT_ARRAY_BUFFER_BINDING_OES 0x889E -#endif - -/* GL_OES_packed_depth_stencil */ -#ifndef GL_OES_packed_depth_stencil -#define GL_DEPTH_STENCIL_OES 0x84F9 -#define GL_UNSIGNED_INT_24_8_OES 0x84FA -#define GL_DEPTH24_STENCIL8_OES 0x88F0 -#endif - -/* GL_OES_required_internalformat */ -/* No new tokens introduced by this extension. */ - -/* GL_OES_rgb8_rgba8 */ -#ifndef GL_OES_rgb8_rgba8 -#define GL_RGB8_OES 0x8051 -#define GL_RGBA8_OES 0x8058 -#endif - -/* GL_OES_stencil1 */ -#ifndef GL_OES_stencil1 -#define GL_STENCIL_INDEX1_OES 0x8D46 -#endif - -/* GL_OES_stencil4 */ -#ifndef GL_OES_stencil4 -#define GL_STENCIL_INDEX4_OES 0x8D47 -#endif - -/* GL_OES_stencil8 */ -#ifndef GL_OES_stencil8 -#define GL_STENCIL_INDEX8_OES 0x8D48 -#endif - -/* GL_OES_stencil_wrap */ -#ifndef GL_OES_stencil_wrap -#define GL_INCR_WRAP_OES 0x8507 -#define GL_DECR_WRAP_OES 0x8508 -#endif - -/* GL_OES_texture_cube_map */ -#ifndef GL_OES_texture_cube_map -#define GL_NORMAL_MAP_OES 0x8511 -#define GL_REFLECTION_MAP_OES 0x8512 -#define GL_TEXTURE_CUBE_MAP_OES 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP_OES 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES 0x851A -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES 0x851C -#define GL_TEXTURE_GEN_MODE_OES 0x2500 -#define GL_TEXTURE_GEN_STR_OES 0x8D60 -#endif - -/* GL_OES_texture_mirrored_repeat */ -#ifndef GL_OES_texture_mirrored_repeat -#define GL_MIRRORED_REPEAT_OES 0x8370 -#endif - -/* GL_OES_vertex_array_object */ -#ifndef GL_OES_vertex_array_object -#define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 -#endif - -/*------------------------------------------------------------------------* - * AMD extension tokens - *------------------------------------------------------------------------*/ - -/* GL_AMD_compressed_3DC_texture */ -#ifndef GL_AMD_compressed_3DC_texture -#define GL_3DC_X_AMD 0x87F9 -#define GL_3DC_XY_AMD 0x87FA -#endif - -/* GL_AMD_compressed_ATC_texture */ -#ifndef GL_AMD_compressed_ATC_texture -#define GL_ATC_RGB_AMD 0x8C92 -#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 -#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE -#endif - -/*------------------------------------------------------------------------* - * APPLE extension tokens - *------------------------------------------------------------------------*/ - -/* GL_APPLE_copy_texture_levels */ -/* No new tokens introduced by this extension. */ - -/* GL_APPLE_framebuffer_multisample */ -#ifndef GL_APPLE_framebuffer_multisample -#define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 -#define GL_MAX_SAMPLES_APPLE 0x8D57 -#define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 -#define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 -#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 -#define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA -#endif - -/* GL_APPLE_sync */ -#ifndef GL_APPLE_sync - -/* These types are defined with reference to - * in the Apple extension spec, but here we use the Khronos - * portable types in khrplatform.h, and assume those types - * are always defined. - * If any other extensions using these types are defined, - * the typedefs must move out of this block and be shared. - */ -typedef khronos_int64_t GLint64; -typedef khronos_uint64_t GLuint64; -typedef struct __GLsync *GLsync; - -#define GL_SYNC_OBJECT_APPLE 0x8A53 -#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 -#define GL_OBJECT_TYPE_APPLE 0x9112 -#define GL_SYNC_CONDITION_APPLE 0x9113 -#define GL_SYNC_STATUS_APPLE 0x9114 -#define GL_SYNC_FLAGS_APPLE 0x9115 -#define GL_SYNC_FENCE_APPLE 0x9116 -#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 -#define GL_UNSIGNALED_APPLE 0x9118 -#define GL_SIGNALED_APPLE 0x9119 -#define GL_ALREADY_SIGNALED_APPLE 0x911A -#define GL_TIMEOUT_EXPIRED_APPLE 0x911B -#define GL_CONDITION_SATISFIED_APPLE 0x911C -#define GL_WAIT_FAILED_APPLE 0x911D -#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 -#define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull -#endif - -/* GL_APPLE_texture_2D_limited_npot */ -/* No new tokens introduced by this extension. */ - -/* GL_APPLE_texture_format_BGRA8888 */ -#ifndef GL_APPLE_texture_format_BGRA8888 -#define GL_BGRA_EXT 0x80E1 -#endif - -/* GL_APPLE_texture_max_level */ -#ifndef GL_APPLE_texture_max_level -#define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D -#endif - -/*------------------------------------------------------------------------* - * ARM extension tokens - *------------------------------------------------------------------------*/ - -/* GL_ARM_rgba8 */ -/* No new tokens introduced by this extension. */ - -/*------------------------------------------------------------------------* - * EXT extension tokens - *------------------------------------------------------------------------*/ - -/* GL_EXT_blend_minmax */ -#ifndef GL_EXT_blend_minmax -#define GL_MIN_EXT 0x8007 -#define GL_MAX_EXT 0x8008 -#endif - -/* GL_EXT_discard_framebuffer */ -#ifndef GL_EXT_discard_framebuffer -#define GL_COLOR_EXT 0x1800 -#define GL_DEPTH_EXT 0x1801 -#define GL_STENCIL_EXT 0x1802 -#endif - -/* GL_EXT_map_buffer_range */ -#ifndef GL_EXT_map_buffer_range -#define GL_MAP_READ_BIT_EXT 0x0001 -#define GL_MAP_WRITE_BIT_EXT 0x0002 -#define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 -#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 -#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 -#define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 -#endif - -/* GL_EXT_multisampled_render_to_texture */ -#ifndef GL_EXT_multisampled_render_to_texture -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C -/* reuse values from GL_EXT_framebuffer_multisample (desktop extension) */ -#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 -#define GL_MAX_SAMPLES_EXT 0x8D57 -#endif - -/* GL_EXT_multi_draw_arrays */ -/* No new tokens introduced by this extension. */ - -/* GL_EXT_read_format_bgra */ -#ifndef GL_EXT_read_format_bgra -#define GL_BGRA_EXT 0x80E1 -#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 -#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 -#endif - -/* GL_EXT_robustness */ -#ifndef GL_EXT_robustness -/* reuse GL_NO_ERROR */ -#define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 -#define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 -#define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 -#define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 -#define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 -#define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 -#define GL_NO_RESET_NOTIFICATION_EXT 0x8261 -#endif - -/* GL_EXT_sRGB */ -#ifndef GL_EXT_sRGB -#define GL_SRGB_EXT 0x8C40 -#define GL_SRGB_ALPHA_EXT 0x8C42 -#define GL_SRGB8_ALPHA8_EXT 0x8C43 -#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 -#endif - -/* GL_EXT_texture_compression_dxt1 */ -#ifndef GL_EXT_texture_compression_dxt1 -#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 -#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 -#endif - -/* GL_EXT_texture_filter_anisotropic */ -#ifndef GL_EXT_texture_filter_anisotropic -#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE -#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF -#endif - -/* GL_EXT_texture_format_BGRA8888 */ -#ifndef GL_EXT_texture_format_BGRA8888 -#define GL_BGRA_EXT 0x80E1 -#endif - -/* GL_EXT_texture_lod_bias */ -#ifndef GL_EXT_texture_lod_bias -#define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD -#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 -#define GL_TEXTURE_LOD_BIAS_EXT 0x8501 -#endif - -/* GL_EXT_texture_storage */ -#ifndef GL_EXT_texture_storage -#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F -#define GL_ALPHA8_EXT 0x803C -#define GL_LUMINANCE8_EXT 0x8040 -#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 -#define GL_RGBA32F_EXT 0x8814 -#define GL_RGB32F_EXT 0x8815 -#define GL_ALPHA32F_EXT 0x8816 -#define GL_LUMINANCE32F_EXT 0x8818 -#define GL_LUMINANCE_ALPHA32F_EXT 0x8819 -/* reuse GL_RGBA16F_EXT */ -#define GL_RGB16F_EXT 0x881B -#define GL_ALPHA16F_EXT 0x881C -#define GL_LUMINANCE16F_EXT 0x881E -#define GL_LUMINANCE_ALPHA16F_EXT 0x881F -#define GL_RGB10_A2_EXT 0x8059 -#define GL_RGB10_EXT 0x8052 -#define GL_BGRA8_EXT 0x93A1 -#endif - -/*------------------------------------------------------------------------* - * IMG extension tokens - *------------------------------------------------------------------------*/ - -/* GL_IMG_read_format */ -#ifndef GL_IMG_read_format -#define GL_BGRA_IMG 0x80E1 -#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 -#endif - -/* GL_IMG_texture_compression_pvrtc */ -#ifndef GL_IMG_texture_compression_pvrtc -#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 -#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 -#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 -#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 -#endif - -/* GL_IMG_texture_env_enhanced_fixed_function */ -#ifndef GL_IMG_texture_env_enhanced_fixed_function -#define GL_MODULATE_COLOR_IMG 0x8C04 -#define GL_RECIP_ADD_SIGNED_ALPHA_IMG 0x8C05 -#define GL_TEXTURE_ALPHA_MODULATE_IMG 0x8C06 -#define GL_FACTOR_ALPHA_MODULATE_IMG 0x8C07 -#define GL_FRAGMENT_ALPHA_MODULATE_IMG 0x8C08 -#define GL_ADD_BLEND_IMG 0x8C09 -#define GL_DOT3_RGBA_IMG 0x86AF -#endif - -/* GL_IMG_user_clip_plane */ -#ifndef GL_IMG_user_clip_plane -#define GL_CLIP_PLANE0_IMG 0x3000 -#define GL_CLIP_PLANE1_IMG 0x3001 -#define GL_CLIP_PLANE2_IMG 0x3002 -#define GL_CLIP_PLANE3_IMG 0x3003 -#define GL_CLIP_PLANE4_IMG 0x3004 -#define GL_CLIP_PLANE5_IMG 0x3005 -#define GL_MAX_CLIP_PLANES_IMG 0x0D32 -#endif - -/* GL_IMG_multisampled_render_to_texture */ -#ifndef GL_IMG_multisampled_render_to_texture -#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 -#define GL_MAX_SAMPLES_IMG 0x9135 -#define GL_TEXTURE_SAMPLES_IMG 0x9136 -#endif - -/*------------------------------------------------------------------------* - * NV extension tokens - *------------------------------------------------------------------------*/ - -/* GL_NV_fence */ -#ifndef GL_NV_fence -#define GL_ALL_COMPLETED_NV 0x84F2 -#define GL_FENCE_STATUS_NV 0x84F3 -#define GL_FENCE_CONDITION_NV 0x84F4 -#endif - -/*------------------------------------------------------------------------* - * QCOM extension tokens - *------------------------------------------------------------------------*/ - -/* GL_QCOM_driver_control */ -/* No new tokens introduced by this extension. */ - -/* GL_QCOM_extended_get */ -#ifndef GL_QCOM_extended_get -#define GL_TEXTURE_WIDTH_QCOM 0x8BD2 -#define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 -#define GL_TEXTURE_DEPTH_QCOM 0x8BD4 -#define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 -#define GL_TEXTURE_FORMAT_QCOM 0x8BD6 -#define GL_TEXTURE_TYPE_QCOM 0x8BD7 -#define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 -#define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 -#define GL_TEXTURE_TARGET_QCOM 0x8BDA -#define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB -#define GL_STATE_RESTORE 0x8BDC -#endif - -/* GL_QCOM_extended_get2 */ -/* No new tokens introduced by this extension. */ - -/* GL_QCOM_perfmon_global_mode */ -#ifndef GL_QCOM_perfmon_global_mode -#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 -#endif - -/* GL_QCOM_writeonly_rendering */ -#ifndef GL_QCOM_writeonly_rendering -#define GL_WRITEONLY_RENDERING_QCOM 0x8823 -#endif - -/* GL_QCOM_tiled_rendering */ -#ifndef GL_QCOM_tiled_rendering -#define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 -#define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 -#define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 -#define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 -#define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 -#define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 -#define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 -#define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 -#define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 -#define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 -#define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 -#define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 -#define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 -#define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 -#define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 -#define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 -#define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 -#define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 -#define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 -#define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 -#define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 -#define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 -#define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 -#define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 -#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 -#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 -#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 -#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 -#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 -#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 -#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 -#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 -#endif - -/*------------------------------------------------------------------------* - * End of extension tokens, start of corresponding extension functions - *------------------------------------------------------------------------*/ - -/*------------------------------------------------------------------------* - * OES extension functions - *------------------------------------------------------------------------*/ +#define GL_OES_EGL_image_external 1 +#define GL_TEXTURE_EXTERNAL_OES 0x8D65 +#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 +#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 +#endif /* GL_OES_EGL_image_external */ -/* GL_OES_blend_equation_separate */ #ifndef GL_OES_blend_equation_separate #define GL_OES_blend_equation_separate 1 +#define GL_BLEND_EQUATION_RGB_OES 0x8009 +#define GL_BLEND_EQUATION_ALPHA_OES 0x883D +typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEOESPROC) (GLenum modeRGB, GLenum modeAlpha); #ifdef GL_GLEXT_PROTOTYPES GL_API void GL_APIENTRY glBlendEquationSeparateOES (GLenum modeRGB, GLenum modeAlpha); #endif -typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEOESPROC) (GLenum modeRGB, GLenum modeAlpha); -#endif +#endif /* GL_OES_blend_equation_separate */ -/* GL_OES_blend_func_separate */ #ifndef GL_OES_blend_func_separate #define GL_OES_blend_func_separate 1 +#define GL_BLEND_DST_RGB_OES 0x80C8 +#define GL_BLEND_SRC_RGB_OES 0x80C9 +#define GL_BLEND_DST_ALPHA_OES 0x80CA +#define GL_BLEND_SRC_ALPHA_OES 0x80CB +typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); #ifdef GL_GLEXT_PROTOTYPES GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); #endif -typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -#endif +#endif /* GL_OES_blend_func_separate */ -/* GL_OES_blend_subtract */ #ifndef GL_OES_blend_subtract #define GL_OES_blend_subtract 1 +#define GL_BLEND_EQUATION_OES 0x8009 +#define GL_FUNC_ADD_OES 0x8006 +#define GL_FUNC_SUBTRACT_OES 0x800A +#define GL_FUNC_REVERSE_SUBTRACT_OES 0x800B +typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONOESPROC) (GLenum mode); #ifdef GL_GLEXT_PROTOTYPES GL_API void GL_APIENTRY glBlendEquationOES (GLenum mode); #endif -typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONOESPROC) (GLenum mode); -#endif +#endif /* GL_OES_blend_subtract */ -/* GL_OES_byte_coordinates */ #ifndef GL_OES_byte_coordinates #define GL_OES_byte_coordinates 1 -#endif +#endif /* GL_OES_byte_coordinates */ + +#ifndef GL_OES_compressed_ETC1_RGB8_sub_texture +#define GL_OES_compressed_ETC1_RGB8_sub_texture 1 +#endif /* GL_OES_compressed_ETC1_RGB8_sub_texture */ -/* GL_OES_compressed_ETC1_RGB8_texture */ #ifndef GL_OES_compressed_ETC1_RGB8_texture #define GL_OES_compressed_ETC1_RGB8_texture 1 -#endif +#define GL_ETC1_RGB8_OES 0x8D64 +#endif /* GL_OES_compressed_ETC1_RGB8_texture */ -/* GL_OES_depth24 */ #ifndef GL_OES_depth24 #define GL_OES_depth24 1 -#endif +#define GL_DEPTH_COMPONENT24_OES 0x81A6 +#endif /* GL_OES_depth24 */ -/* GL_OES_depth32 */ #ifndef GL_OES_depth32 #define GL_OES_depth32 1 -#endif +#define GL_DEPTH_COMPONENT32_OES 0x81A7 +#endif /* GL_OES_depth32 */ -/* GL_OES_draw_texture */ #ifndef GL_OES_draw_texture #define GL_OES_draw_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glDrawTexsOES (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); -GL_API void GL_APIENTRY glDrawTexiOES (GLint x, GLint y, GLint z, GLint width, GLint height); -GL_API void GL_APIENTRY glDrawTexxOES (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); -GL_API void GL_APIENTRY glDrawTexsvOES (const GLshort *coords); -GL_API void GL_APIENTRY glDrawTexivOES (const GLint *coords); -GL_API void GL_APIENTRY glDrawTexxvOES (const GLfixed *coords); -GL_API void GL_APIENTRY glDrawTexfOES (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); -GL_API void GL_APIENTRY glDrawTexfvOES (const GLfloat *coords); -#endif +#define GL_TEXTURE_CROP_RECT_OES 0x8B9D typedef void (GL_APIENTRYP PFNGLDRAWTEXSOESPROC) (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); typedef void (GL_APIENTRYP PFNGLDRAWTEXIOESPROC) (GLint x, GLint y, GLint z, GLint width, GLint height); typedef void (GL_APIENTRYP PFNGLDRAWTEXXOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); @@ -626,349 +121,444 @@ typedef void (GL_APIENTRYP PFNGLDRAWTEXIVOESPROC) (const GLint *coords); typedef void (GL_APIENTRYP PFNGLDRAWTEXXVOESPROC) (const GLfixed *coords); typedef void (GL_APIENTRYP PFNGLDRAWTEXFOESPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); typedef void (GL_APIENTRYP PFNGLDRAWTEXFVOESPROC) (const GLfloat *coords); -#endif - -/* GL_OES_EGL_image */ -#ifndef GL_OES_EGL_image -#define GL_OES_EGL_image 1 #ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); -GL_API void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); -#endif -typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); -typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); -#endif - -/* GL_OES_EGL_image_external */ -#ifndef GL_OES_EGL_image_external -#define GL_OES_EGL_image_external 1 -/* glEGLImageTargetTexture2DOES defined in GL_OES_EGL_image already. */ +GL_API void GL_APIENTRY glDrawTexsOES (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); +GL_API void GL_APIENTRY glDrawTexiOES (GLint x, GLint y, GLint z, GLint width, GLint height); +GL_API void GL_APIENTRY glDrawTexxOES (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); +GL_API void GL_APIENTRY glDrawTexsvOES (const GLshort *coords); +GL_API void GL_APIENTRY glDrawTexivOES (const GLint *coords); +GL_API void GL_APIENTRY glDrawTexxvOES (const GLfixed *coords); +GL_API void GL_APIENTRY glDrawTexfOES (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); +GL_API void GL_APIENTRY glDrawTexfvOES (const GLfloat *coords); #endif +#endif /* GL_OES_draw_texture */ -/* GL_OES_element_index_uint */ #ifndef GL_OES_element_index_uint #define GL_OES_element_index_uint 1 -#endif +#define GL_UNSIGNED_INT 0x1405 +#endif /* GL_OES_element_index_uint */ -/* GL_OES_extended_matrix_palette */ #ifndef GL_OES_extended_matrix_palette #define GL_OES_extended_matrix_palette 1 -#endif +#endif /* GL_OES_extended_matrix_palette */ -/* GL_OES_fbo_render_mipmap */ #ifndef GL_OES_fbo_render_mipmap #define GL_OES_fbo_render_mipmap 1 -#endif +#endif /* GL_OES_fbo_render_mipmap */ -/* GL_OES_fixed_point */ #ifndef GL_OES_fixed_point #define GL_OES_fixed_point 1 -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glAlphaFuncxOES (GLenum func, GLclampx ref); -GL_API void GL_APIENTRY glClearColorxOES (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); -GL_API void GL_APIENTRY glClearDepthxOES (GLclampx depth); -GL_API void GL_APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation); -GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -GL_API void GL_APIENTRY glDepthRangexOES (GLclampx zNear, GLclampx zFar); -GL_API void GL_APIENTRY glFogxOES (GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glFogxvOES (GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glFrustumxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); -GL_API void GL_APIENTRY glGetClipPlanexOES (GLenum pname, GLfixed eqn[4]); -GL_API void GL_APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glGetLightxvOES (GLenum light, GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glGetMaterialxvOES (GLenum face, GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glGetTexEnvxvOES (GLenum env, GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glLightModelxOES (GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glLineWidthxOES (GLfixed width); -GL_API void GL_APIENTRY glLoadMatrixxOES (const GLfixed *m); -GL_API void GL_APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glMultMatrixxOES (const GLfixed *m); -GL_API void GL_APIENTRY glMultiTexCoord4xOES (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); -GL_API void GL_APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz); -GL_API void GL_APIENTRY glOrthoxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); -GL_API void GL_APIENTRY glPointParameterxOES (GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glPointSizexOES (GLfixed size); -GL_API void GL_APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units); -GL_API void GL_APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); -GL_API void GL_APIENTRY glSampleCoveragexOES (GLclampx value, GLboolean invert); -GL_API void GL_APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z); -GL_API void GL_APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z); -#endif -typedef void (GL_APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLclampx ref); -typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); -typedef void (GL_APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLclampx depth); +#define GL_FIXED_OES 0x140C +typedef void (GL_APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref); +typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +typedef void (GL_APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth); typedef void (GL_APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation); typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -typedef void (GL_APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLclampx zNear, GLclampx zFar); +typedef void (GL_APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f); typedef void (GL_APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param); -typedef void (GL_APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *params); -typedef void (GL_APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); -typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum pname, GLfixed eqn[4]); +typedef void (GL_APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param); +typedef void (GL_APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation); typedef void (GL_APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params); -typedef void (GL_APIENTRYP PFNGLGETLIGHTXVOESPROC) (GLenum light, GLenum pname, GLfixed *params); -typedef void (GL_APIENTRYP PFNGLGETMATERIALXVOESPROC) (GLenum face, GLenum pname, GLfixed *params); -typedef void (GL_APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum env, GLenum pname, GLfixed *params); +typedef void (GL_APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params); typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params); typedef void (GL_APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param); -typedef void (GL_APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *params); +typedef void (GL_APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param); typedef void (GL_APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param); typedef void (GL_APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params); typedef void (GL_APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width); typedef void (GL_APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m); typedef void (GL_APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param); -typedef void (GL_APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *params); +typedef void (GL_APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param); typedef void (GL_APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m); -typedef void (GL_APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); +typedef void (GL_APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); typedef void (GL_APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz); -typedef void (GL_APIENTRYP PFNGLORTHOXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); -typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXOESPROC) (GLenum pname, GLfixed param); +typedef void (GL_APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params); typedef void (GL_APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size); typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units); typedef void (GL_APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); -typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEXOESPROC) (GLclampx value, GLboolean invert); typedef void (GL_APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z); typedef void (GL_APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param); typedef void (GL_APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params); typedef void (GL_APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param); typedef void (GL_APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params); typedef void (GL_APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z); +typedef void (GL_APIENTRYP PFNGLGETLIGHTXVOESPROC) (GLenum light, GLenum pname, GLfixed *params); +typedef void (GL_APIENTRYP PFNGLGETMATERIALXVOESPROC) (GLenum face, GLenum pname, GLfixed *params); +typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXOESPROC) (GLenum pname, GLfixed param); +typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEXOESPROC) (GLclampx value, GLboolean invert); +typedef void (GL_APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params); +typedef void (GL_APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param); +typedef void (GL_APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params); +#ifdef GL_GLEXT_PROTOTYPES +GL_API void GL_APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref); +GL_API void GL_APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +GL_API void GL_APIENTRY glClearDepthxOES (GLfixed depth); +GL_API void GL_APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation); +GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +GL_API void GL_APIENTRY glDepthRangexOES (GLfixed n, GLfixed f); +GL_API void GL_APIENTRY glFogxOES (GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glFogxvOES (GLenum pname, const GLfixed *param); +GL_API void GL_APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +GL_API void GL_APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation); +GL_API void GL_APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params); +GL_API void GL_APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params); +GL_API void GL_APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params); +GL_API void GL_APIENTRY glLightModelxOES (GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param); +GL_API void GL_APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params); +GL_API void GL_APIENTRY glLineWidthxOES (GLfixed width); +GL_API void GL_APIENTRY glLoadMatrixxOES (const GLfixed *m); +GL_API void GL_APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param); +GL_API void GL_APIENTRY glMultMatrixxOES (const GLfixed *m); +GL_API void GL_APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); +GL_API void GL_APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz); +GL_API void GL_APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +GL_API void GL_APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params); +GL_API void GL_APIENTRY glPointSizexOES (GLfixed size); +GL_API void GL_APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units); +GL_API void GL_APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); +GL_API void GL_APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z); +GL_API void GL_APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params); +GL_API void GL_APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params); +GL_API void GL_APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z); +GL_API void GL_APIENTRY glGetLightxvOES (GLenum light, GLenum pname, GLfixed *params); +GL_API void GL_APIENTRY glGetMaterialxvOES (GLenum face, GLenum pname, GLfixed *params); +GL_API void GL_APIENTRY glPointParameterxOES (GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glSampleCoveragexOES (GLclampx value, GLboolean invert); +GL_API void GL_APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params); +GL_API void GL_APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params); #endif +#endif /* GL_OES_fixed_point */ -/* GL_OES_framebuffer_object */ #ifndef GL_OES_framebuffer_object #define GL_OES_framebuffer_object 1 +#define GL_NONE_OES 0 +#define GL_FRAMEBUFFER_OES 0x8D40 +#define GL_RENDERBUFFER_OES 0x8D41 +#define GL_RGBA4_OES 0x8056 +#define GL_RGB5_A1_OES 0x8057 +#define GL_RGB565_OES 0x8D62 +#define GL_DEPTH_COMPONENT16_OES 0x81A5 +#define GL_RENDERBUFFER_WIDTH_OES 0x8D42 +#define GL_RENDERBUFFER_HEIGHT_OES 0x8D43 +#define GL_RENDERBUFFER_INTERNAL_FORMAT_OES 0x8D44 +#define GL_RENDERBUFFER_RED_SIZE_OES 0x8D50 +#define GL_RENDERBUFFER_GREEN_SIZE_OES 0x8D51 +#define GL_RENDERBUFFER_BLUE_SIZE_OES 0x8D52 +#define GL_RENDERBUFFER_ALPHA_SIZE_OES 0x8D53 +#define GL_RENDERBUFFER_DEPTH_SIZE_OES 0x8D54 +#define GL_RENDERBUFFER_STENCIL_SIZE_OES 0x8D55 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES 0x8CD0 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES 0x8CD1 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES 0x8CD2 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES 0x8CD3 +#define GL_COLOR_ATTACHMENT0_OES 0x8CE0 +#define GL_DEPTH_ATTACHMENT_OES 0x8D00 +#define GL_STENCIL_ATTACHMENT_OES 0x8D20 +#define GL_FRAMEBUFFER_COMPLETE_OES 0x8CD5 +#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES 0x8CD6 +#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES 0x8CD7 +#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES 0x8CD9 +#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES 0x8CDA +#define GL_FRAMEBUFFER_UNSUPPORTED_OES 0x8CDD +#define GL_FRAMEBUFFER_BINDING_OES 0x8CA6 +#define GL_RENDERBUFFER_BINDING_OES 0x8CA7 +#define GL_MAX_RENDERBUFFER_SIZE_OES 0x84E8 +#define GL_INVALID_FRAMEBUFFER_OPERATION_OES 0x0506 +typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFEROESPROC) (GLuint renderbuffer); +typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFEROESPROC) (GLenum target, GLuint renderbuffer); +typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSOESPROC) (GLsizei n, const GLuint *renderbuffers); +typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSOESPROC) (GLsizei n, GLuint *renderbuffers); +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVOESPROC) (GLenum target, GLenum pname, GLint *params); +typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFEROESPROC) (GLuint framebuffer); +typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFEROESPROC) (GLenum target, GLuint framebuffer); +typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSOESPROC) (GLsizei n, const GLuint *framebuffers); +typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSOESPROC) (GLsizei n, GLuint *framebuffers); +typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSOESPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEROESPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVOESPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPOESPROC) (GLenum target); #ifdef GL_GLEXT_PROTOTYPES GL_API GLboolean GL_APIENTRY glIsRenderbufferOES (GLuint renderbuffer); GL_API void GL_APIENTRY glBindRenderbufferOES (GLenum target, GLuint renderbuffer); -GL_API void GL_APIENTRY glDeleteRenderbuffersOES (GLsizei n, const GLuint* renderbuffers); -GL_API void GL_APIENTRY glGenRenderbuffersOES (GLsizei n, GLuint* renderbuffers); +GL_API void GL_APIENTRY glDeleteRenderbuffersOES (GLsizei n, const GLuint *renderbuffers); +GL_API void GL_APIENTRY glGenRenderbuffersOES (GLsizei n, GLuint *renderbuffers); GL_API void GL_APIENTRY glRenderbufferStorageOES (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -GL_API void GL_APIENTRY glGetRenderbufferParameterivOES (GLenum target, GLenum pname, GLint* params); +GL_API void GL_APIENTRY glGetRenderbufferParameterivOES (GLenum target, GLenum pname, GLint *params); GL_API GLboolean GL_APIENTRY glIsFramebufferOES (GLuint framebuffer); GL_API void GL_APIENTRY glBindFramebufferOES (GLenum target, GLuint framebuffer); -GL_API void GL_APIENTRY glDeleteFramebuffersOES (GLsizei n, const GLuint* framebuffers); -GL_API void GL_APIENTRY glGenFramebuffersOES (GLsizei n, GLuint* framebuffers); +GL_API void GL_APIENTRY glDeleteFramebuffersOES (GLsizei n, const GLuint *framebuffers); +GL_API void GL_APIENTRY glGenFramebuffersOES (GLsizei n, GLuint *framebuffers); GL_API GLenum GL_APIENTRY glCheckFramebufferStatusOES (GLenum target); GL_API void GL_APIENTRY glFramebufferRenderbufferOES (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); GL_API void GL_APIENTRY glFramebufferTexture2DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GL_API void GL_APIENTRY glGetFramebufferAttachmentParameterivOES (GLenum target, GLenum attachment, GLenum pname, GLint* params); +GL_API void GL_APIENTRY glGetFramebufferAttachmentParameterivOES (GLenum target, GLenum attachment, GLenum pname, GLint *params); GL_API void GL_APIENTRY glGenerateMipmapOES (GLenum target); #endif -typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFEROESPROC) (GLuint renderbuffer); -typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFEROESPROC) (GLenum target, GLuint renderbuffer); -typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSOESPROC) (GLsizei n, const GLuint* renderbuffers); -typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSOESPROC) (GLsizei n, GLuint* renderbuffers); -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVOESPROC) (GLenum target, GLenum pname, GLint* params); -typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFEROESPROC) (GLuint framebuffer); -typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFEROESPROC) (GLenum target, GLuint framebuffer); -typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSOESPROC) (GLsizei n, const GLuint* framebuffers); -typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSOESPROC) (GLsizei n, GLuint* framebuffers); -typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSOESPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEROESPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVOESPROC) (GLenum target, GLenum attachment, GLenum pname, GLint* params); -typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPOESPROC) (GLenum target); -#endif +#endif /* GL_OES_framebuffer_object */ -/* GL_OES_mapbuffer */ #ifndef GL_OES_mapbuffer #define GL_OES_mapbuffer 1 +#define GL_WRITE_ONLY_OES 0x88B9 +#define GL_BUFFER_ACCESS_OES 0x88BB +#define GL_BUFFER_MAPPED_OES 0x88BC +#define GL_BUFFER_MAP_POINTER_OES 0x88BD +typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); +typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params); #ifdef GL_GLEXT_PROTOTYPES -GL_API void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); +GL_API void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); GL_API GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); -GL_API void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, GLvoid ** params); -#endif -typedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); -typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, GLvoid ** params); +GL_API void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params); #endif +#endif /* GL_OES_mapbuffer */ -/* GL_OES_matrix_get */ #ifndef GL_OES_matrix_get #define GL_OES_matrix_get 1 -#endif +#define GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES 0x898D +#define GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES 0x898E +#define GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES 0x898F +#endif /* GL_OES_matrix_get */ -/* GL_OES_matrix_palette */ #ifndef GL_OES_matrix_palette #define GL_OES_matrix_palette 1 +#define GL_MAX_VERTEX_UNITS_OES 0x86A4 +#define GL_MAX_PALETTE_MATRICES_OES 0x8842 +#define GL_MATRIX_PALETTE_OES 0x8840 +#define GL_MATRIX_INDEX_ARRAY_OES 0x8844 +#define GL_WEIGHT_ARRAY_OES 0x86AD +#define GL_CURRENT_PALETTE_MATRIX_OES 0x8843 +#define GL_MATRIX_INDEX_ARRAY_SIZE_OES 0x8846 +#define GL_MATRIX_INDEX_ARRAY_TYPE_OES 0x8847 +#define GL_MATRIX_INDEX_ARRAY_STRIDE_OES 0x8848 +#define GL_MATRIX_INDEX_ARRAY_POINTER_OES 0x8849 +#define GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES 0x8B9E +#define GL_WEIGHT_ARRAY_SIZE_OES 0x86AB +#define GL_WEIGHT_ARRAY_TYPE_OES 0x86A9 +#define GL_WEIGHT_ARRAY_STRIDE_OES 0x86AA +#define GL_WEIGHT_ARRAY_POINTER_OES 0x86AC +#define GL_WEIGHT_ARRAY_BUFFER_BINDING_OES 0x889E +typedef void (GL_APIENTRYP PFNGLCURRENTPALETTEMATRIXOESPROC) (GLuint matrixpaletteindex); +typedef void (GL_APIENTRYP PFNGLLOADPALETTEFROMMODELVIEWMATRIXOESPROC) (void); +typedef void (GL_APIENTRYP PFNGLMATRIXINDEXPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (GL_APIENTRYP PFNGLWEIGHTPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); #ifdef GL_GLEXT_PROTOTYPES GL_API void GL_APIENTRY glCurrentPaletteMatrixOES (GLuint matrixpaletteindex); GL_API void GL_APIENTRY glLoadPaletteFromModelViewMatrixOES (void); -GL_API void GL_APIENTRY glMatrixIndexPointerOES (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -GL_API void GL_APIENTRY glWeightPointerOES (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -#endif -typedef void (GL_APIENTRYP PFNGLCURRENTPALETTEMATRIXOESPROC) (GLuint matrixpaletteindex); -typedef void (GL_APIENTRYP PFNGLLOADPALETTEFROMMODELVIEWMATRIXOESPROC) (void); -typedef void (GL_APIENTRYP PFNGLMATRIXINDEXPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (GL_APIENTRYP PFNGLWEIGHTPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); +GL_API void GL_APIENTRY glMatrixIndexPointerOES (GLint size, GLenum type, GLsizei stride, const void *pointer); +GL_API void GL_APIENTRY glWeightPointerOES (GLint size, GLenum type, GLsizei stride, const void *pointer); #endif +#endif /* GL_OES_matrix_palette */ -/* GL_OES_packed_depth_stencil */ #ifndef GL_OES_packed_depth_stencil #define GL_OES_packed_depth_stencil 1 -#endif - -/* GL_OES_required_internalformat */ -#ifndef GL_OES_required_internalformat -#define GL_OES_required_internalformat 1 -#endif +#define GL_DEPTH_STENCIL_OES 0x84F9 +#define GL_UNSIGNED_INT_24_8_OES 0x84FA +#define GL_DEPTH24_STENCIL8_OES 0x88F0 +#endif /* GL_OES_packed_depth_stencil */ -/* GL_OES_query_matrix */ #ifndef GL_OES_query_matrix #define GL_OES_query_matrix 1 +typedef GLbitfield (GL_APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent); #ifdef GL_GLEXT_PROTOTYPES -GL_API GLbitfield GL_APIENTRY glQueryMatrixxOES (GLfixed mantissa[16], GLint exponent[16]); -#endif -typedef GLbitfield (GL_APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed mantissa[16], GLint exponent[16]); +GL_API GLbitfield GL_APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent); #endif +#endif /* GL_OES_query_matrix */ + +#ifndef GL_OES_required_internalformat +#define GL_OES_required_internalformat 1 +#define GL_ALPHA8_OES 0x803C +#define GL_LUMINANCE4_ALPHA4_OES 0x8043 +#define GL_LUMINANCE8_ALPHA8_OES 0x8045 +#define GL_LUMINANCE8_OES 0x8040 +#define GL_RGB8_OES 0x8051 +#define GL_RGBA8_OES 0x8058 +#define GL_RGB10_EXT 0x8052 +#define GL_RGB10_A2_EXT 0x8059 +#endif /* GL_OES_required_internalformat */ -/* GL_OES_rgb8_rgba8 */ #ifndef GL_OES_rgb8_rgba8 #define GL_OES_rgb8_rgba8 1 -#endif +#endif /* GL_OES_rgb8_rgba8 */ -/* GL_OES_single_precision */ #ifndef GL_OES_single_precision #define GL_OES_single_precision 1 +typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth); +typedef void (GL_APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation); +typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f); +typedef void (GL_APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); +typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation); +typedef void (GL_APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); #ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glDepthRangefOES (GLclampf zNear, GLclampf zFar); -GL_API void GL_APIENTRY glFrustumfOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); -GL_API void GL_APIENTRY glOrthofOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); -GL_API void GL_APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation); -GL_API void GL_APIENTRY glGetClipPlanefOES (GLenum pname, GLfloat eqn[4]); GL_API void GL_APIENTRY glClearDepthfOES (GLclampf depth); +GL_API void GL_APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation); +GL_API void GL_APIENTRY glDepthRangefOES (GLclampf n, GLclampf f); +GL_API void GL_APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); +GL_API void GL_APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation); +GL_API void GL_APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); #endif -typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf zNear, GLclampf zFar); -typedef void (GL_APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); -typedef void (GL_APIENTRYP PFNGLORTHOFOESPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); -typedef void (GL_APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation); -typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum pname, GLfloat eqn[4]); -typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth); -#endif +#endif /* GL_OES_single_precision */ -/* GL_OES_stencil1 */ #ifndef GL_OES_stencil1 #define GL_OES_stencil1 1 -#endif +#define GL_STENCIL_INDEX1_OES 0x8D46 +#endif /* GL_OES_stencil1 */ -/* GL_OES_stencil4 */ #ifndef GL_OES_stencil4 #define GL_OES_stencil4 1 -#endif +#define GL_STENCIL_INDEX4_OES 0x8D47 +#endif /* GL_OES_stencil4 */ -/* GL_OES_stencil8 */ #ifndef GL_OES_stencil8 #define GL_OES_stencil8 1 -#endif +#define GL_STENCIL_INDEX8_OES 0x8D48 +#endif /* GL_OES_stencil8 */ -/* GL_OES_stencil_wrap */ #ifndef GL_OES_stencil_wrap #define GL_OES_stencil_wrap 1 -#endif +#define GL_INCR_WRAP_OES 0x8507 +#define GL_DECR_WRAP_OES 0x8508 +#endif /* GL_OES_stencil_wrap */ + +#ifndef GL_OES_surfaceless_context +#define GL_OES_surfaceless_context 1 +#define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219 +#endif /* GL_OES_surfaceless_context */ -/* GL_OES_texture_cube_map */ #ifndef GL_OES_texture_cube_map #define GL_OES_texture_cube_map 1 +#define GL_NORMAL_MAP_OES 0x8511 +#define GL_REFLECTION_MAP_OES 0x8512 +#define GL_TEXTURE_CUBE_MAP_OES 0x8513 +#define GL_TEXTURE_BINDING_CUBE_MAP_OES 0x8514 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES 0x8515 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES 0x8516 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES 0x8517 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES 0x8518 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES 0x8519 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES 0x851A +#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES 0x851C +#define GL_TEXTURE_GEN_MODE_OES 0x2500 +#define GL_TEXTURE_GEN_STR_OES 0x8D60 +typedef void (GL_APIENTRYP PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLTEXGENFVOESPROC) (GLenum coord, GLenum pname, const GLfloat *params); +typedef void (GL_APIENTRYP PFNGLTEXGENIOESPROC) (GLenum coord, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLTEXGENIVOESPROC) (GLenum coord, GLenum pname, const GLint *params); +typedef void (GL_APIENTRYP PFNGLGETTEXGENFVOESPROC) (GLenum coord, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETTEXGENIVOESPROC) (GLenum coord, GLenum pname, GLint *params); #ifdef GL_GLEXT_PROTOTYPES GL_API void GL_APIENTRY glTexGenfOES (GLenum coord, GLenum pname, GLfloat param); GL_API void GL_APIENTRY glTexGenfvOES (GLenum coord, GLenum pname, const GLfloat *params); GL_API void GL_APIENTRY glTexGeniOES (GLenum coord, GLenum pname, GLint param); GL_API void GL_APIENTRY glTexGenivOES (GLenum coord, GLenum pname, const GLint *params); -GL_API void GL_APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params); GL_API void GL_APIENTRY glGetTexGenfvOES (GLenum coord, GLenum pname, GLfloat *params); GL_API void GL_APIENTRY glGetTexGenivOES (GLenum coord, GLenum pname, GLint *params); -GL_API void GL_APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params); -#endif -typedef void (GL_APIENTRYP PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param); -typedef void (GL_APIENTRYP PFNGLTEXGENFVOESPROC) (GLenum coord, GLenum pname, const GLfloat *params); -typedef void (GL_APIENTRYP PFNGLTEXGENIOESPROC) (GLenum coord, GLenum pname, GLint param); -typedef void (GL_APIENTRYP PFNGLTEXGENIVOESPROC) (GLenum coord, GLenum pname, const GLint *params); -typedef void (GL_APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param); -typedef void (GL_APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params); -typedef void (GL_APIENTRYP PFNGLGETTEXGENFVOESPROC) (GLenum coord, GLenum pname, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLGETTEXGENIVOESPROC) (GLenum coord, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params); #endif +#endif /* GL_OES_texture_cube_map */ -/* GL_OES_texture_env_crossbar */ #ifndef GL_OES_texture_env_crossbar #define GL_OES_texture_env_crossbar 1 -#endif +#endif /* GL_OES_texture_env_crossbar */ -/* GL_OES_texture_mirrored_repeat */ #ifndef GL_OES_texture_mirrored_repeat #define GL_OES_texture_mirrored_repeat 1 -#endif +#define GL_MIRRORED_REPEAT_OES 0x8370 +#endif /* GL_OES_texture_mirrored_repeat */ + +#ifndef GL_OES_texture_npot +#define GL_OES_texture_npot 1 +#endif /* GL_OES_texture_npot */ -/* GL_OES_vertex_array_object */ #ifndef GL_OES_vertex_array_object #define GL_OES_vertex_array_object 1 +#define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 +typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); +typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); +typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); +typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); #ifdef GL_GLEXT_PROTOTYPES GL_API void GL_APIENTRY glBindVertexArrayOES (GLuint array); GL_API void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); GL_API void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); GL_API GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); #endif -typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); -typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); -typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); -typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); -#endif +#endif /* GL_OES_vertex_array_object */ -/*------------------------------------------------------------------------* - * AMD extension functions - *------------------------------------------------------------------------*/ - -/* GL_AMD_compressed_3DC_texture */ #ifndef GL_AMD_compressed_3DC_texture #define GL_AMD_compressed_3DC_texture 1 -#endif +#define GL_3DC_X_AMD 0x87F9 +#define GL_3DC_XY_AMD 0x87FA +#endif /* GL_AMD_compressed_3DC_texture */ -/* GL_AMD_compressed_ATC_texture */ #ifndef GL_AMD_compressed_ATC_texture #define GL_AMD_compressed_ATC_texture 1 -#endif - -/*------------------------------------------------------------------------* - * APPLE extension functions - *------------------------------------------------------------------------*/ +#define GL_ATC_RGB_AMD 0x8C92 +#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 +#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE +#endif /* GL_AMD_compressed_ATC_texture */ -/* GL_APPLE_copy_texture_levels */ #ifndef GL_APPLE_copy_texture_levels #define GL_APPLE_copy_texture_levels 1 +typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); #ifdef GL_GLEXT_PROTOTYPES GL_API void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); #endif -typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); -#endif +#endif /* GL_APPLE_copy_texture_levels */ -/* GL_APPLE_framebuffer_multisample */ #ifndef GL_APPLE_framebuffer_multisample #define GL_APPLE_framebuffer_multisample 1 -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum, GLsizei, GLenum, GLsizei, GLsizei); -GL_API void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); -#endif /* GL_GLEXT_PROTOTYPES */ +#define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 +#define GL_MAX_SAMPLES_APPLE 0x8D57 +#define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 +#define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 +#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 +#define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GL_API void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GL_API void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); #endif +#endif /* GL_APPLE_framebuffer_multisample */ -/* GL_APPLE_sync */ #ifndef GL_APPLE_sync #define GL_APPLE_sync 1 +typedef struct __GLsync *GLsync; +typedef khronos_uint64_t GLuint64; +typedef khronos_int64_t GLint64; +#define GL_SYNC_OBJECT_APPLE 0x8A53 +#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 +#define GL_OBJECT_TYPE_APPLE 0x9112 +#define GL_SYNC_CONDITION_APPLE 0x9113 +#define GL_SYNC_STATUS_APPLE 0x9114 +#define GL_SYNC_FLAGS_APPLE 0x9115 +#define GL_SYNC_FENCE_APPLE 0x9116 +#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 +#define GL_UNSIGNALED_APPLE 0x9118 +#define GL_SIGNALED_APPLE 0x9119 +#define GL_ALREADY_SIGNALED_APPLE 0x911A +#define GL_TIMEOUT_EXPIRED_APPLE 0x911B +#define GL_CONDITION_SATISFIED_APPLE 0x911C +#define GL_WAIT_FAILED_APPLE 0x911D +#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 +#define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull +typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags); +typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); +typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); +typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params); +typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values); #ifdef GL_GLEXT_PROTOTYPES GL_API GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags); GL_API GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); @@ -976,140 +566,185 @@ GL_API void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); GL_API GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); GL_API void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); GL_API void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params); -GL_API void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -#endif -typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags); -typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); -typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); -typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params); -typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +GL_API void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values); #endif +#endif /* GL_APPLE_sync */ -/* GL_APPLE_texture_2D_limited_npot */ #ifndef GL_APPLE_texture_2D_limited_npot #define GL_APPLE_texture_2D_limited_npot 1 -#endif +#endif /* GL_APPLE_texture_2D_limited_npot */ -/* GL_APPLE_texture_format_BGRA8888 */ #ifndef GL_APPLE_texture_format_BGRA8888 #define GL_APPLE_texture_format_BGRA8888 1 -#endif +#define GL_BGRA_EXT 0x80E1 +#define GL_BGRA8_EXT 0x93A1 +#endif /* GL_APPLE_texture_format_BGRA8888 */ -/* GL_APPLE_texture_max_level */ #ifndef GL_APPLE_texture_max_level #define GL_APPLE_texture_max_level 1 -#endif +#define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D +#endif /* GL_APPLE_texture_max_level */ -/*------------------------------------------------------------------------* - * ARM extension functions - *------------------------------------------------------------------------*/ - -/* GL_ARM_rgba8 */ #ifndef GL_ARM_rgba8 #define GL_ARM_rgba8 1 -#endif +#endif /* GL_ARM_rgba8 */ -/*------------------------------------------------------------------------* - * EXT extension functions - *------------------------------------------------------------------------*/ - -/* GL_EXT_blend_minmax */ #ifndef GL_EXT_blend_minmax #define GL_EXT_blend_minmax 1 +#define GL_MIN_EXT 0x8007 +#define GL_MAX_EXT 0x8008 +#endif /* GL_EXT_blend_minmax */ + +#ifndef GL_EXT_debug_marker +#define GL_EXT_debug_marker 1 +typedef char GLchar; +typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); +typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); +typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GL_API void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); +GL_API void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); +GL_API void GL_APIENTRY glPopGroupMarkerEXT (void); #endif +#endif /* GL_EXT_debug_marker */ -/* GL_EXT_discard_framebuffer */ #ifndef GL_EXT_discard_framebuffer #define GL_EXT_discard_framebuffer 1 +#define GL_COLOR_EXT 0x1800 +#define GL_DEPTH_EXT 0x1801 +#define GL_STENCIL_EXT 0x1802 +typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); #ifdef GL_GLEXT_PROTOTYPES GL_API void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments); #endif -typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); -#endif +#endif /* GL_EXT_discard_framebuffer */ -/* GL_EXT_map_buffer_range */ #ifndef GL_EXT_map_buffer_range #define GL_EXT_map_buffer_range 1 +#define GL_MAP_READ_BIT_EXT 0x0001 +#define GL_MAP_WRITE_BIT_EXT 0x0002 +#define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 +#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 +#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 +#define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 +typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length); #ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY *glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +GL_API void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); GL_API void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); #endif -typedef void* (GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length); +#endif /* GL_EXT_map_buffer_range */ + +#ifndef GL_EXT_multi_draw_arrays +#define GL_EXT_multi_draw_arrays 1 +typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); +#ifdef GL_GLEXT_PROTOTYPES +GL_API void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); +GL_API void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); #endif +#endif /* GL_EXT_multi_draw_arrays */ -/* GL_EXT_multisampled_render_to_texture */ #ifndef GL_EXT_multisampled_render_to_texture #define GL_EXT_multisampled_render_to_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum, GLsizei, GLenum, GLsizei, GLsizei); -GL_API void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum, GLenum, GLenum, GLuint, GLint, GLsizei); -#endif +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C +#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 +#define GL_MAX_SAMPLES_EXT 0x8D57 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); -#endif - -/* GL_EXT_multi_draw_arrays */ -#ifndef GL_EXT_multi_draw_arrays -#define GL_EXT_multi_draw_arrays 1 #ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glMultiDrawArraysEXT (GLenum, const GLint *, const GLsizei *, GLsizei); -GL_API void GL_APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); -typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); +GL_API void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GL_API void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); #endif +#endif /* GL_EXT_multisampled_render_to_texture */ -/* GL_EXT_read_format_bgra */ #ifndef GL_EXT_read_format_bgra #define GL_EXT_read_format_bgra 1 -#endif +#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 +#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 +#endif /* GL_EXT_read_format_bgra */ -/* GL_EXT_robustness */ #ifndef GL_EXT_robustness #define GL_EXT_robustness 1 +#define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 +#define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 +#define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 +#define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 +#define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 +#define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 +#define GL_NO_RESET_NOTIFICATION_EXT 0x8261 +typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); +typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); +typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); #ifdef GL_GLEXT_PROTOTYPES GL_API GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void); GL_API void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -GL_API void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, float *params); +GL_API void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); GL_API void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params); #endif -typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); -typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, float *params); -typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); -#endif +#endif /* GL_EXT_robustness */ -/* GL_EXT_sRGB */ #ifndef GL_EXT_sRGB #define GL_EXT_sRGB 1 -#endif +#define GL_SRGB_EXT 0x8C40 +#define GL_SRGB_ALPHA_EXT 0x8C42 +#define GL_SRGB8_ALPHA8_EXT 0x8C43 +#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 +#endif /* GL_EXT_sRGB */ -/* GL_EXT_texture_compression_dxt1 */ #ifndef GL_EXT_texture_compression_dxt1 #define GL_EXT_texture_compression_dxt1 1 -#endif +#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 +#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 +#endif /* GL_EXT_texture_compression_dxt1 */ -/* GL_EXT_texture_filter_anisotropic */ #ifndef GL_EXT_texture_filter_anisotropic #define GL_EXT_texture_filter_anisotropic 1 -#endif +#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE +#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF +#endif /* GL_EXT_texture_filter_anisotropic */ -/* GL_EXT_texture_format_BGRA8888 */ #ifndef GL_EXT_texture_format_BGRA8888 #define GL_EXT_texture_format_BGRA8888 1 -#endif +#endif /* GL_EXT_texture_format_BGRA8888 */ -/* GL_EXT_texture_lod_bias */ #ifndef GL_EXT_texture_lod_bias #define GL_EXT_texture_lod_bias 1 -#endif +#define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD +#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 +#define GL_TEXTURE_LOD_BIAS_EXT 0x8501 +#endif /* GL_EXT_texture_lod_bias */ -/* GL_EXT_texture_storage */ #ifndef GL_EXT_texture_storage #define GL_EXT_texture_storage 1 +#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F +#define GL_ALPHA8_EXT 0x803C +#define GL_LUMINANCE8_EXT 0x8040 +#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 +#define GL_RGBA32F_EXT 0x8814 +#define GL_RGB32F_EXT 0x8815 +#define GL_ALPHA32F_EXT 0x8816 +#define GL_LUMINANCE32F_EXT 0x8818 +#define GL_LUMINANCE_ALPHA32F_EXT 0x8819 +#define GL_RGBA16F_EXT 0x881A +#define GL_RGB16F_EXT 0x881B +#define GL_ALPHA16F_EXT 0x881C +#define GL_LUMINANCE16F_EXT 0x881E +#define GL_LUMINANCE_ALPHA16F_EXT 0x881F +#define GL_R8_EXT 0x8229 +#define GL_RG8_EXT 0x822B +#define GL_R32F_EXT 0x822E +#define GL_RG32F_EXT 0x8230 +#define GL_R16F_EXT 0x822D +#define GL_RG16F_EXT 0x822F +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); #ifdef GL_GLEXT_PROTOTYPES GL_API void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); GL_API void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); @@ -1118,71 +753,69 @@ GL_API void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GL GL_API void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); GL_API void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); #endif -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -#endif +#endif /* GL_EXT_texture_storage */ -/*------------------------------------------------------------------------* - * IMG extension functions - *------------------------------------------------------------------------*/ +#ifndef GL_IMG_multisampled_render_to_texture +#define GL_IMG_multisampled_render_to_texture 1 +#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 +#define GL_MAX_SAMPLES_IMG 0x9135 +#define GL_TEXTURE_SAMPLES_IMG 0x9136 +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); +#ifdef GL_GLEXT_PROTOTYPES +GL_API void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GL_API void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); +#endif +#endif /* GL_IMG_multisampled_render_to_texture */ -/* GL_IMG_read_format */ #ifndef GL_IMG_read_format #define GL_IMG_read_format 1 -#endif +#define GL_BGRA_IMG 0x80E1 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 +#endif /* GL_IMG_read_format */ -/* GL_IMG_texture_compression_pvrtc */ #ifndef GL_IMG_texture_compression_pvrtc #define GL_IMG_texture_compression_pvrtc 1 -#endif +#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 +#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 +#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 +#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 +#endif /* GL_IMG_texture_compression_pvrtc */ -/* GL_IMG_texture_env_enhanced_fixed_function */ #ifndef GL_IMG_texture_env_enhanced_fixed_function #define GL_IMG_texture_env_enhanced_fixed_function 1 -#endif +#define GL_MODULATE_COLOR_IMG 0x8C04 +#define GL_RECIP_ADD_SIGNED_ALPHA_IMG 0x8C05 +#define GL_TEXTURE_ALPHA_MODULATE_IMG 0x8C06 +#define GL_FACTOR_ALPHA_MODULATE_IMG 0x8C07 +#define GL_FRAGMENT_ALPHA_MODULATE_IMG 0x8C08 +#define GL_ADD_BLEND_IMG 0x8C09 +#define GL_DOT3_RGBA_IMG 0x86AF +#endif /* GL_IMG_texture_env_enhanced_fixed_function */ -/* GL_IMG_user_clip_plane */ #ifndef GL_IMG_user_clip_plane #define GL_IMG_user_clip_plane 1 -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glClipPlanefIMG (GLenum, const GLfloat *); -GL_API void GL_APIENTRY glClipPlanexIMG (GLenum, const GLfixed *); -#endif +#define GL_CLIP_PLANE0_IMG 0x3000 +#define GL_CLIP_PLANE1_IMG 0x3001 +#define GL_CLIP_PLANE2_IMG 0x3002 +#define GL_CLIP_PLANE3_IMG 0x3003 +#define GL_CLIP_PLANE4_IMG 0x3004 +#define GL_CLIP_PLANE5_IMG 0x3005 +#define GL_MAX_CLIP_PLANES_IMG 0x0D32 typedef void (GL_APIENTRYP PFNGLCLIPPLANEFIMGPROC) (GLenum p, const GLfloat *eqn); typedef void (GL_APIENTRYP PFNGLCLIPPLANEXIMGPROC) (GLenum p, const GLfixed *eqn); -#endif - -/* GL_IMG_multisampled_render_to_texture */ -#ifndef GL_IMG_multisampled_render_to_texture -#define GL_IMG_multisampled_render_to_texture 1 #ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum, GLsizei, GLenum, GLsizei, GLsizei); -GL_API void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum, GLenum, GLenum, GLuint, GLint, GLsizei); -#endif -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); +GL_API void GL_APIENTRY glClipPlanefIMG (GLenum p, const GLfloat *eqn); +GL_API void GL_APIENTRY glClipPlanexIMG (GLenum p, const GLfixed *eqn); #endif +#endif /* GL_IMG_user_clip_plane */ -/*------------------------------------------------------------------------* - * NV extension functions - *------------------------------------------------------------------------*/ - -/* NV_fence */ #ifndef GL_NV_fence #define GL_NV_fence 1 -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glDeleteFencesNV (GLsizei, const GLuint *); -GL_API void GL_APIENTRY glGenFencesNV (GLsizei, GLuint *); -GL_API GLboolean GL_APIENTRY glIsFenceNV (GLuint); -GL_API GLboolean GL_APIENTRY glTestFenceNV (GLuint); -GL_API void GL_APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *); -GL_API void GL_APIENTRY glFinishFenceNV (GLuint); -GL_API void GL_APIENTRY glSetFenceNV (GLuint, GLenum); -#endif +#define GL_ALL_COMPLETED_NV 0x84F2 +#define GL_FENCE_STATUS_NV 0x84F3 +#define GL_FENCE_CONDITION_NV 0x84F4 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); @@ -1190,30 +823,52 @@ typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); +#ifdef GL_GLEXT_PROTOTYPES +GL_API void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); +GL_API void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); +GL_API GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); +GL_API GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); +GL_API void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); +GL_API void GL_APIENTRY glFinishFenceNV (GLuint fence); +GL_API void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); #endif +#endif /* GL_NV_fence */ -/*------------------------------------------------------------------------* - * QCOM extension functions - *------------------------------------------------------------------------*/ - -/* GL_QCOM_driver_control */ #ifndef GL_QCOM_driver_control #define GL_QCOM_driver_control 1 +typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); +typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); +typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); +typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); #ifdef GL_GLEXT_PROTOTYPES GL_API void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls); GL_API void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); GL_API void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); GL_API void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); #endif -typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); -typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); -typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); -typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); -#endif +#endif /* GL_QCOM_driver_control */ -/* GL_QCOM_extended_get */ #ifndef GL_QCOM_extended_get #define GL_QCOM_extended_get 1 +#define GL_TEXTURE_WIDTH_QCOM 0x8BD2 +#define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 +#define GL_TEXTURE_DEPTH_QCOM 0x8BD4 +#define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 +#define GL_TEXTURE_FORMAT_QCOM 0x8BD6 +#define GL_TEXTURE_TYPE_QCOM 0x8BD7 +#define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 +#define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 +#define GL_TEXTURE_TARGET_QCOM 0x8BDA +#define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB +#define GL_STATE_RESTORE 0x8BDC +typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); +typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); +typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); +typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); +typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); +typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params); #ifdef GL_GLEXT_PROTOTYPES GL_API void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures); GL_API void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); @@ -1221,58 +876,79 @@ GL_API void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint GL_API void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); GL_API void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); GL_API void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param); -GL_API void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels); -GL_API void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, GLvoid **params); -#endif -typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); -typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); -typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); -typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); -typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); -typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels); -typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, GLvoid **params); +GL_API void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); +GL_API void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params); #endif +#endif /* GL_QCOM_extended_get */ -/* GL_QCOM_extended_get2 */ #ifndef GL_QCOM_extended_get2 #define GL_QCOM_extended_get2 1 +typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); +typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); +typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); #ifdef GL_GLEXT_PROTOTYPES GL_API void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders); GL_API void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms); GL_API GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); GL_API void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length); #endif -typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); -typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); -typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); -#endif +#endif /* GL_QCOM_extended_get2 */ -/* GL_QCOM_perfmon_global_mode */ #ifndef GL_QCOM_perfmon_global_mode #define GL_QCOM_perfmon_global_mode 1 -#endif - -/* GL_QCOM_writeonly_rendering */ -#ifndef GL_QCOM_writeonly_rendering -#define GL_QCOM_writeonly_rendering 1 -#endif +#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 +#endif /* GL_QCOM_perfmon_global_mode */ -/* GL_QCOM_tiled_rendering */ #ifndef GL_QCOM_tiled_rendering #define GL_QCOM_tiled_rendering 1 +#define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 +#define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 +#define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 +#define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 +#define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 +#define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 +#define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 +#define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 +#define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 +#define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 +#define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 +#define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 +#define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 +#define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 +#define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 +#define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 +#define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 +#define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 +#define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 +#define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 +#define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 +#define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 +#define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 +#define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 +#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 +#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 +#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 +#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 +#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 +#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 +#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 +#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 +typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); +typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); #ifdef GL_GLEXT_PROTOTYPES GL_API void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); GL_API void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); #endif -typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); -typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); -#endif +#endif /* GL_QCOM_tiled_rendering */ + +#ifndef GL_QCOM_writeonly_rendering +#define GL_QCOM_writeonly_rendering 1 +#define GL_WRITEONLY_RENDERING_QCOM 0x8823 +#endif /* GL_QCOM_writeonly_rendering */ #ifdef __cplusplus } #endif -#endif /* __glext_h_ */ - +#endif diff --git a/include/GLES/glplatform.h b/include/GLES/glplatform.h index 2db6ee2..3155ef2 100644 --- a/include/GLES/glplatform.h +++ b/include/GLES/glplatform.h @@ -1,20 +1,17 @@ #ifndef __glplatform_h_ #define __glplatform_h_ -/* $Revision: 10601 $ on $Date:: 2010-03-04 22:15:27 -0800 #$ */ - /* - * This document is licensed under the SGI Free Software B License Version - * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . - */ +** Copyright 2017-2020 The Khronos Group Inc. +** SPDX-License-Identifier: Apache-2.0 +*/ /* Platform-specific types and definitions for OpenGL ES 1.X gl.h * * Adopters may modify khrplatform.h and this file to suit their platform. - * You are encouraged to submit all modifications to the Khronos group so that - * they can be included in future versions of this file. Please submit changes - * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) - * by filing a bug against product "OpenGL-ES" component "Registry". + * Please contribute modifications back to Khronos as pull requests on the + * public github repository: + * https://github.com/KhronosGroup/OpenGL-Registry */ #include diff --git a/include/GLES2/gl2.h b/include/GLES2/gl2.h index e29a789..55e4b76 100644 --- a/include/GLES2/gl2.h +++ b/include/GLES2/gl2.h @@ -1,39 +1,18 @@ -#ifndef __gl2_h_ -#define __gl2_h_ 1 +#ifndef __gles2_gl2_h_ +#define __gles2_gl2_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright (c) 2013-2015 The Khronos Group Inc. +** Copyright 2013-2020 The Khronos Group Inc. +** SPDX-License-Identifier: MIT ** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision: 32120 $ on $Date: 2015-10-15 04:27:13 -0700 (Thu, 15 Oct 2015) $ +** https://github.com/KhronosGroup/OpenGL-Registry */ #include @@ -42,7 +21,11 @@ extern "C" { #define GL_APIENTRYP GL_APIENTRY* #endif -/* Generated on date 20151015 */ +#ifndef GL_GLES_PROTOTYPES +#define GL_GLES_PROTOTYPES 1 +#endif + +/* Generated on date 20210306 */ /* Generated C header for: * API: gles2 @@ -60,8 +43,8 @@ extern "C" { typedef khronos_int8_t GLbyte; typedef khronos_float_t GLclampf; typedef khronos_int32_t GLfixed; -typedef short GLshort; -typedef unsigned short GLushort; +typedef khronos_int16_t GLshort; +typedef khronos_uint16_t GLushort; typedef void GLvoid; typedef struct __GLsync *GLsync; typedef khronos_int64_t GLint64; @@ -475,7 +458,7 @@ typedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length); typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); @@ -520,7 +503,7 @@ typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GL typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); typedef void (GL_APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES +#if GL_GLES_PROTOTYPES GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); @@ -618,7 +601,7 @@ GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length); GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); diff --git a/include/GLES2/gl2ext.h b/include/GLES2/gl2ext.h index 2d05596..cc0cc49 100644 --- a/include/GLES2/gl2ext.h +++ b/include/GLES2/gl2ext.h @@ -1,46 +1,25 @@ -#ifndef __gl2ext_h_ -#define __gl2ext_h_ 1 +#ifndef __gles2_gl2ext_h_ +#define __gles2_gl2ext_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright (c) 2013-2015 The Khronos Group Inc. +** Copyright 2013-2020 The Khronos Group Inc. +** SPDX-License-Identifier: MIT ** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision: 32120 $ on $Date: 2015-10-15 04:27:13 -0700 (Thu, 15 Oct 2015) $ +** https://github.com/KhronosGroup/OpenGL-Registry */ #ifndef GL_APIENTRYP #define GL_APIENTRYP GL_APIENTRY* #endif -/* Generated on date 20151015 */ +/* Generated on date 20210306 */ /* Generated C header for: * API: gles2 @@ -161,6 +140,16 @@ GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params); #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008 #endif /* GL_KHR_no_error */ +#ifndef GL_KHR_parallel_shader_compile +#define GL_KHR_parallel_shader_compile 1 +#define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0 +#define GL_COMPLETION_STATUS_KHR 0x91B1 +typedef void (GL_APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count); +#endif +#endif /* GL_KHR_parallel_shader_compile */ + #ifndef GL_KHR_robust_buffer_access_behavior #define GL_KHR_robust_buffer_access_behavior 1 #endif /* GL_KHR_robust_buffer_access_behavior */ @@ -189,6 +178,22 @@ GL_APICALL void GL_APIENTRY glGetnUniformuivKHR (GLuint program, GLint location, #endif #endif /* GL_KHR_robustness */ +#ifndef GL_KHR_shader_subgroup +#define GL_KHR_shader_subgroup 1 +#define GL_SUBGROUP_SIZE_KHR 0x9532 +#define GL_SUBGROUP_SUPPORTED_STAGES_KHR 0x9533 +#define GL_SUBGROUP_SUPPORTED_FEATURES_KHR 0x9534 +#define GL_SUBGROUP_QUAD_ALL_STAGES_KHR 0x9535 +#define GL_SUBGROUP_FEATURE_BASIC_BIT_KHR 0x00000001 +#define GL_SUBGROUP_FEATURE_VOTE_BIT_KHR 0x00000002 +#define GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR 0x00000004 +#define GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR 0x00000008 +#define GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR 0x00000010 +#define GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR 0x00000020 +#define GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR 0x00000040 +#define GL_SUBGROUP_FEATURE_QUAD_BIT_KHR 0x00000080 +#endif /* GL_KHR_shader_subgroup */ + #ifndef GL_KHR_texture_compression_astc_hdr #define GL_KHR_texture_compression_astc_hdr 1 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 @@ -326,12 +331,12 @@ GL_APICALL GLboolean GL_APIENTRY glIsEnablediOES (GLenum target, GLuint index); typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); +typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexOES (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); +GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); #endif #endif /* GL_OES_draw_elements_base_vertex */ @@ -752,6 +757,34 @@ GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); #define GL_INT_10_10_10_2_OES 0x8DF7 #endif /* GL_OES_vertex_type_10_10_10_2 */ +#ifndef GL_OES_viewport_array +#define GL_OES_viewport_array 1 +#define GL_MAX_VIEWPORTS_OES 0x825B +#define GL_VIEWPORT_SUBPIXEL_BITS_OES 0x825C +#define GL_VIEWPORT_BOUNDS_RANGE_OES 0x825D +#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES 0x825F +typedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVOESPROC) (GLuint first, GLsizei count, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFOESPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); +typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVOESPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLSCISSORARRAYVOESPROC) (GLuint first, GLsizei count, const GLint *v); +typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDOESPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVOESPROC) (GLuint index, const GLint *v); +typedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVOESPROC) (GLuint first, GLsizei count, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFOESPROC) (GLuint index, GLfloat n, GLfloat f); +typedef void (GL_APIENTRYP PFNGLGETFLOATI_VOESPROC) (GLenum target, GLuint index, GLfloat *data); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glViewportArrayvOES (GLuint first, GLsizei count, const GLfloat *v); +GL_APICALL void GL_APIENTRY glViewportIndexedfOES (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); +GL_APICALL void GL_APIENTRY glViewportIndexedfvOES (GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glScissorArrayvOES (GLuint first, GLsizei count, const GLint *v); +GL_APICALL void GL_APIENTRY glScissorIndexedOES (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glScissorIndexedvOES (GLuint index, const GLint *v); +GL_APICALL void GL_APIENTRY glDepthRangeArrayfvOES (GLuint first, GLsizei count, const GLfloat *v); +GL_APICALL void GL_APIENTRY glDepthRangeIndexedfOES (GLuint index, GLfloat n, GLfloat f); +GL_APICALL void GL_APIENTRY glGetFloati_vOES (GLenum target, GLuint index, GLfloat *data); +#endif +#endif /* GL_OES_viewport_array */ + #ifndef GL_AMD_compressed_3DC_texture #define GL_AMD_compressed_3DC_texture 1 #define GL_3DC_X_AMD 0x87F9 @@ -765,6 +798,22 @@ GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE #endif /* GL_AMD_compressed_ATC_texture */ +#ifndef GL_AMD_framebuffer_multisample_advanced +#define GL_AMD_framebuffer_multisample_advanced 1 +#define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2 +#define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3 +#define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4 +#define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5 +#define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6 +#define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7 +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +#endif +#endif /* GL_AMD_framebuffer_multisample_advanced */ + #ifndef GL_AMD_performance_monitor #define GL_AMD_performance_monitor 1 #define GL_COUNTER_TYPE_AMD 0x8BC0 @@ -878,9 +927,9 @@ GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint div #ifndef GL_ANGLE_translated_shader_source #define GL_ANGLE_translated_shader_source 1 #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 -typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); +typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); #ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); +GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); #endif #endif /* GL_ANGLE_translated_shader_source */ @@ -958,7 +1007,7 @@ typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params); -typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags); GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); @@ -966,7 +1015,7 @@ GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params); -GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values); #endif #endif /* GL_APPLE_sync */ @@ -1013,6 +1062,11 @@ GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei #define GL_ARM_shader_framebuffer_fetch_depth_stencil 1 #endif /* GL_ARM_shader_framebuffer_fetch_depth_stencil */ +#ifndef GL_ARM_texture_unnormalized_coordinates +#define GL_ARM_texture_unnormalized_coordinates 1 +#define GL_TEXTURE_UNNORMALIZED_COORDINATES_ARM 0x8F6A +#endif /* GL_ARM_texture_unnormalized_coordinates */ + #ifndef GL_DMP_program_binary #define GL_DMP_program_binary 1 #define GL_SMAPHS30_PROGRAM_BINARY_DMP 0x9251 @@ -1025,6 +1079,20 @@ GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei #define GL_SHADER_BINARY_DMP 0x9250 #endif /* GL_DMP_shader_binary */ +#ifndef GL_EXT_EGL_image_array +#define GL_EXT_EGL_image_array 1 +#endif /* GL_EXT_EGL_image_array */ + +#ifndef GL_EXT_EGL_image_storage +#define GL_EXT_EGL_image_storage 1 +typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list); +typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list); +GL_APICALL void GL_APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list); +#endif +#endif /* GL_EXT_EGL_image_storage */ + #ifndef GL_EXT_YUV_target #define GL_EXT_YUV_target 1 #define GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT 0x8BE7 @@ -1086,6 +1154,45 @@ GL_APICALL void GL_APIENTRY glBufferStorageEXT (GLenum target, GLsizeiptr size, #endif #endif /* GL_EXT_buffer_storage */ +#ifndef GL_EXT_clear_texture +#define GL_EXT_clear_texture 1 +typedef void (GL_APIENTRYP PFNGLCLEARTEXIMAGEEXTPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); +typedef void (GL_APIENTRYP PFNGLCLEARTEXSUBIMAGEEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glClearTexImageEXT (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); +GL_APICALL void GL_APIENTRY glClearTexSubImageEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); +#endif +#endif /* GL_EXT_clear_texture */ + +#ifndef GL_EXT_clip_control +#define GL_EXT_clip_control 1 +#define GL_LOWER_LEFT_EXT 0x8CA1 +#define GL_UPPER_LEFT_EXT 0x8CA2 +#define GL_NEGATIVE_ONE_TO_ONE_EXT 0x935E +#define GL_ZERO_TO_ONE_EXT 0x935F +#define GL_CLIP_ORIGIN_EXT 0x935C +#define GL_CLIP_DEPTH_MODE_EXT 0x935D +typedef void (GL_APIENTRYP PFNGLCLIPCONTROLEXTPROC) (GLenum origin, GLenum depth); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glClipControlEXT (GLenum origin, GLenum depth); +#endif +#endif /* GL_EXT_clip_control */ + +#ifndef GL_EXT_clip_cull_distance +#define GL_EXT_clip_cull_distance 1 +#define GL_MAX_CLIP_DISTANCES_EXT 0x0D32 +#define GL_MAX_CULL_DISTANCES_EXT 0x82F9 +#define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT 0x82FA +#define GL_CLIP_DISTANCE0_EXT 0x3000 +#define GL_CLIP_DISTANCE1_EXT 0x3001 +#define GL_CLIP_DISTANCE2_EXT 0x3002 +#define GL_CLIP_DISTANCE3_EXT 0x3003 +#define GL_CLIP_DISTANCE4_EXT 0x3004 +#define GL_CLIP_DISTANCE5_EXT 0x3005 +#define GL_CLIP_DISTANCE6_EXT 0x3006 +#define GL_CLIP_DISTANCE7_EXT 0x3007 +#endif /* GL_EXT_clip_cull_distance */ + #ifndef GL_EXT_color_buffer_float #define GL_EXT_color_buffer_float 1 #endif /* GL_EXT_color_buffer_float */ @@ -1100,6 +1207,10 @@ GL_APICALL void GL_APIENTRY glBufferStorageEXT (GLenum target, GLsizeiptr size, #define GL_UNSIGNED_NORMALIZED_EXT 0x8C17 #endif /* GL_EXT_color_buffer_half_float */ +#ifndef GL_EXT_conservative_depth +#define GL_EXT_conservative_depth 1 +#endif /* GL_EXT_conservative_depth */ + #ifndef GL_EXT_copy_image #define GL_EXT_copy_image 1 typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAEXTPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); @@ -1137,6 +1248,11 @@ GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void); #endif #endif /* GL_EXT_debug_marker */ +#ifndef GL_EXT_depth_clamp +#define GL_EXT_depth_clamp 1 +#define GL_DEPTH_CLAMP_EXT 0x864F +#endif /* GL_EXT_depth_clamp */ + #ifndef GL_EXT_discard_framebuffer #define GL_EXT_discard_framebuffer 1 #define GL_COLOR_EXT 0x1800 @@ -1168,6 +1284,7 @@ typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pnam typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params); typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params); typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64VEXTPROC) (GLenum pname, GLint64 *data); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids); GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids); @@ -1180,6 +1297,7 @@ GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLin GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params); GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params); GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params); +GL_APICALL void GL_APIENTRY glGetInteger64vEXT (GLenum pname, GLint64 *data); #endif #endif /* GL_EXT_disjoint_timer_query */ @@ -1252,12 +1370,10 @@ GL_APICALL GLboolean GL_APIENTRY glIsEnablediEXT (GLenum target, GLuint index); typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); #endif #endif /* GL_EXT_draw_elements_base_vertex */ @@ -1271,6 +1387,27 @@ GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei cou #endif #endif /* GL_EXT_draw_instanced */ +#ifndef GL_EXT_draw_transform_feedback +#define GL_EXT_draw_transform_feedback 1 +typedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKEXTPROC) (GLenum mode, GLuint id); +typedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC) (GLenum mode, GLuint id, GLsizei instancecount); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDrawTransformFeedbackEXT (GLenum mode, GLuint id); +GL_APICALL void GL_APIENTRY glDrawTransformFeedbackInstancedEXT (GLenum mode, GLuint id, GLsizei instancecount); +#endif +#endif /* GL_EXT_draw_transform_feedback */ + +#ifndef GL_EXT_external_buffer +#define GL_EXT_external_buffer 1 +typedef void *GLeglClientBufferEXT; +typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +GL_APICALL void GL_APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +#endif +#endif /* GL_EXT_external_buffer */ + #ifndef GL_EXT_float_blend #define GL_EXT_float_blend 1 #endif /* GL_EXT_float_blend */ @@ -1349,6 +1486,85 @@ GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr #endif #endif /* GL_EXT_map_buffer_range */ +#ifndef GL_EXT_memory_object +#define GL_EXT_memory_object 1 +#define GL_TEXTURE_TILING_EXT 0x9580 +#define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581 +#define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B +#define GL_NUM_TILING_TYPES_EXT 0x9582 +#define GL_TILING_TYPES_EXT 0x9583 +#define GL_OPTIMAL_TILING_EXT 0x9584 +#define GL_LINEAR_TILING_EXT 0x9585 +#define GL_NUM_DEVICE_UUIDS_EXT 0x9596 +#define GL_DEVICE_UUID_EXT 0x9597 +#define GL_DRIVER_UUID_EXT 0x9598 +#define GL_UUID_SIZE_EXT 16 +typedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) (GLenum pname, GLubyte *data); +typedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) (GLenum target, GLuint index, GLubyte *data); +typedef void (GL_APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) (GLsizei n, const GLuint *memoryObjects); +typedef GLboolean (GL_APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) (GLuint memoryObject); +typedef void (GL_APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) (GLsizei n, GLuint *memoryObjects); +typedef void (GL_APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, const GLint *params); +typedef void (GL_APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glGetUnsignedBytevEXT (GLenum pname, GLubyte *data); +GL_APICALL void GL_APIENTRY glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte *data); +GL_APICALL void GL_APIENTRY glDeleteMemoryObjectsEXT (GLsizei n, const GLuint *memoryObjects); +GL_APICALL GLboolean GL_APIENTRY glIsMemoryObjectEXT (GLuint memoryObject); +GL_APICALL void GL_APIENTRY glCreateMemoryObjectsEXT (GLsizei n, GLuint *memoryObjects); +GL_APICALL void GL_APIENTRY glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint *params); +GL_APICALL void GL_APIENTRY glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +GL_APICALL void GL_APIENTRY glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GL_APICALL void GL_APIENTRY glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +GL_APICALL void GL_APIENTRY glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GL_APICALL void GL_APIENTRY glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); +GL_APICALL void GL_APIENTRY glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +GL_APICALL void GL_APIENTRY glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GL_APICALL void GL_APIENTRY glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +GL_APICALL void GL_APIENTRY glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GL_APICALL void GL_APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); +#endif +#endif /* GL_EXT_memory_object */ + +#ifndef GL_EXT_memory_object_fd +#define GL_EXT_memory_object_fd 1 +#define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586 +typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, GLint fd); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd); +#endif +#endif /* GL_EXT_memory_object_fd */ + +#ifndef GL_EXT_memory_object_win32 +#define GL_EXT_memory_object_win32 1 +#define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587 +#define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588 +#define GL_DEVICE_LUID_EXT 0x9599 +#define GL_DEVICE_NODE_MASK_EXT 0x959A +#define GL_LUID_SIZE_EXT 8 +#define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589 +#define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A +#define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B +#define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C +typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, void *handle); +typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, const void *name); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle); +GL_APICALL void GL_APIENTRY glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name); +#endif +#endif /* GL_EXT_memory_object_win32 */ + #ifndef GL_EXT_multi_draw_arrays #define GL_EXT_multi_draw_arrays 1 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); @@ -1389,6 +1605,10 @@ GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, #endif #endif /* GL_EXT_multisampled_render_to_texture */ +#ifndef GL_EXT_multisampled_render_to_texture2 +#define GL_EXT_multisampled_render_to_texture2 1 +#endif /* GL_EXT_multisampled_render_to_texture2 */ + #ifndef GL_EXT_multiview_draw_buffers #define GL_EXT_multiview_draw_buffers 1 #define GL_COLOR_ATTACHMENT_EXT 0x90F0 @@ -1406,12 +1626,33 @@ GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLi #endif #endif /* GL_EXT_multiview_draw_buffers */ +#ifndef GL_EXT_multiview_tessellation_geometry_shader +#define GL_EXT_multiview_tessellation_geometry_shader 1 +#endif /* GL_EXT_multiview_tessellation_geometry_shader */ + +#ifndef GL_EXT_multiview_texture_multisample +#define GL_EXT_multiview_texture_multisample 1 +#endif /* GL_EXT_multiview_texture_multisample */ + +#ifndef GL_EXT_multiview_timer_query +#define GL_EXT_multiview_timer_query 1 +#endif /* GL_EXT_multiview_timer_query */ + #ifndef GL_EXT_occlusion_query_boolean #define GL_EXT_occlusion_query_boolean 1 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A #endif /* GL_EXT_occlusion_query_boolean */ +#ifndef GL_EXT_polygon_offset_clamp +#define GL_EXT_polygon_offset_clamp 1 +#define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B +typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp); +#endif +#endif /* GL_EXT_polygon_offset_clamp */ + #ifndef GL_EXT_post_depth_coverage #define GL_EXT_post_depth_coverage 1 #endif /* GL_EXT_post_depth_coverage */ @@ -1425,6 +1666,12 @@ GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat min #endif #endif /* GL_EXT_primitive_bounding_box */ +#ifndef GL_EXT_protected_textures +#define GL_EXT_protected_textures 1 +#define GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT 0x00000010 +#define GL_TEXTURE_PROTECTED_EXT 0x8BFA +#endif /* GL_EXT_protected_textures */ + #ifndef GL_EXT_pvrtc_sRGB #define GL_EXT_pvrtc_sRGB 1 #define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54 @@ -1499,6 +1746,55 @@ GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 #endif /* GL_EXT_sRGB_write_control */ +#ifndef GL_EXT_semaphore +#define GL_EXT_semaphore 1 +#define GL_LAYOUT_GENERAL_EXT 0x958D +#define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E +#define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F +#define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590 +#define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591 +#define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592 +#define GL_LAYOUT_TRANSFER_DST_EXT 0x9593 +#define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530 +#define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531 +typedef void (GL_APIENTRYP PFNGLGENSEMAPHORESEXTPROC) (GLsizei n, GLuint *semaphores); +typedef void (GL_APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) (GLsizei n, const GLuint *semaphores); +typedef GLboolean (GL_APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore); +typedef void (GL_APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, const GLuint64 *params); +typedef void (GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, GLuint64 *params); +typedef void (GL_APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts); +typedef void (GL_APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glGenSemaphoresEXT (GLsizei n, GLuint *semaphores); +GL_APICALL void GL_APIENTRY glDeleteSemaphoresEXT (GLsizei n, const GLuint *semaphores); +GL_APICALL GLboolean GL_APIENTRY glIsSemaphoreEXT (GLuint semaphore); +GL_APICALL void GL_APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 *params); +GL_APICALL void GL_APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 *params); +GL_APICALL void GL_APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts); +GL_APICALL void GL_APIENTRY glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts); +#endif +#endif /* GL_EXT_semaphore */ + +#ifndef GL_EXT_semaphore_fd +#define GL_EXT_semaphore_fd 1 +typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLint fd); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd); +#endif +#endif /* GL_EXT_semaphore_fd */ + +#ifndef GL_EXT_semaphore_win32 +#define GL_EXT_semaphore_win32 1 +#define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594 +#define GL_D3D12_FENCE_VALUE_EXT 0x9595 +typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handleType, void *handle); +typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) (GLuint semaphore, GLenum handleType, const void *name); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle); +GL_APICALL void GL_APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name); +#endif +#endif /* GL_EXT_semaphore_win32 */ + #ifndef GL_EXT_separate_shader_objects #define GL_EXT_separate_shader_objects 1 #define GL_ACTIVE_PROGRAM_EXT 0x8259 @@ -1604,6 +1900,18 @@ GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLin #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 #endif /* GL_EXT_shader_framebuffer_fetch */ +#ifndef GL_EXT_shader_framebuffer_fetch_non_coherent +#define GL_EXT_shader_framebuffer_fetch_non_coherent 1 +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glFramebufferFetchBarrierEXT (void); +#endif +#endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */ + +#ifndef GL_EXT_shader_group_vote +#define GL_EXT_shader_group_vote 1 +#endif /* GL_EXT_shader_group_vote */ + #ifndef GL_EXT_shader_implicit_conversions #define GL_EXT_shader_implicit_conversions 1 #endif /* GL_EXT_shader_implicit_conversions */ @@ -1616,6 +1924,10 @@ GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLin #define GL_EXT_shader_io_blocks 1 #endif /* GL_EXT_shader_io_blocks */ +#ifndef GL_EXT_shader_non_constant_global_initializers +#define GL_EXT_shader_non_constant_global_initializers 1 +#endif /* GL_EXT_shader_non_constant_global_initializers */ + #ifndef GL_EXT_shader_pixel_local_storage #define GL_EXT_shader_pixel_local_storage 1 #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63 @@ -1623,6 +1935,21 @@ GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLin #define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64 #endif /* GL_EXT_shader_pixel_local_storage */ +#ifndef GL_EXT_shader_pixel_local_storage2 +#define GL_EXT_shader_pixel_local_storage2 1 +#define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT 0x9650 +#define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT 0x9651 +#define GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT 0x9652 +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target, GLsizei size); +typedef GLsizei (GL_APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target); +typedef void (GL_APIENTRYP PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC) (GLsizei offset, GLsizei n, const GLuint *values); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glFramebufferPixelLocalStorageSizeEXT (GLuint target, GLsizei size); +GL_APICALL GLsizei GL_APIENTRY glGetFramebufferPixelLocalStorageSizeEXT (GLuint target); +GL_APICALL void GL_APIENTRY glClearPixelLocalStorageuiEXT (GLsizei offset, GLsizei n, const GLuint *values); +#endif +#endif /* GL_EXT_shader_pixel_local_storage2 */ + #ifndef GL_EXT_shader_texture_lod #define GL_EXT_shader_texture_lod 1 #endif /* GL_EXT_shader_texture_lod */ @@ -1656,6 +1983,10 @@ GL_APICALL void GL_APIENTRY glTexPageCommitmentEXT (GLenum target, GLint level, #endif #endif /* GL_EXT_sparse_texture */ +#ifndef GL_EXT_sparse_texture2 +#define GL_EXT_sparse_texture2 1 +#endif /* GL_EXT_sparse_texture2 */ + #ifndef GL_EXT_tessellation_point_size #define GL_EXT_tessellation_point_size 1 #endif /* GL_EXT_tessellation_point_size */ @@ -1759,18 +2090,47 @@ GL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target, GLenum internalf #endif #endif /* GL_EXT_texture_buffer */ +#ifndef GL_EXT_texture_compression_astc_decode_mode +#define GL_EXT_texture_compression_astc_decode_mode 1 +#define GL_TEXTURE_ASTC_DECODE_PRECISION_EXT 0x8F69 +#endif /* GL_EXT_texture_compression_astc_decode_mode */ + +#ifndef GL_EXT_texture_compression_bptc +#define GL_EXT_texture_compression_bptc 1 +#define GL_COMPRESSED_RGBA_BPTC_UNORM_EXT 0x8E8C +#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT 0x8E8D +#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT 0x8E8E +#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT 0x8E8F +#endif /* GL_EXT_texture_compression_bptc */ + #ifndef GL_EXT_texture_compression_dxt1 #define GL_EXT_texture_compression_dxt1 1 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 #endif /* GL_EXT_texture_compression_dxt1 */ +#ifndef GL_EXT_texture_compression_rgtc +#define GL_EXT_texture_compression_rgtc 1 +#define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB +#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC +#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD +#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE +#endif /* GL_EXT_texture_compression_rgtc */ + #ifndef GL_EXT_texture_compression_s3tc #define GL_EXT_texture_compression_s3tc 1 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 #endif /* GL_EXT_texture_compression_s3tc */ +#ifndef GL_EXT_texture_compression_s3tc_srgb +#define GL_EXT_texture_compression_s3tc_srgb 1 +#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C +#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D +#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E +#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F +#endif /* GL_EXT_texture_compression_s3tc_srgb */ + #ifndef GL_EXT_texture_cube_map_array #define GL_EXT_texture_cube_map_array 1 #define GL_TEXTURE_CUBE_MAP_ARRAY_EXT 0x9009 @@ -1792,12 +2152,24 @@ GL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target, GLenum internalf #ifndef GL_EXT_texture_filter_minmax #define GL_EXT_texture_filter_minmax 1 +#define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366 +#define GL_WEIGHTED_AVERAGE_EXT 0x9367 #endif /* GL_EXT_texture_filter_minmax */ #ifndef GL_EXT_texture_format_BGRA8888 #define GL_EXT_texture_format_BGRA8888 1 #endif /* GL_EXT_texture_format_BGRA8888 */ +#ifndef GL_EXT_texture_format_sRGB_override +#define GL_EXT_texture_format_sRGB_override 1 +#define GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT 0x8FBF +#endif /* GL_EXT_texture_format_sRGB_override */ + +#ifndef GL_EXT_texture_mirror_clamp_to_edge +#define GL_EXT_texture_mirror_clamp_to_edge 1 +#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 +#endif /* GL_EXT_texture_mirror_clamp_to_edge */ + #ifndef GL_EXT_texture_norm16 #define GL_EXT_texture_norm16 1 #define GL_R16_EXT 0x822A @@ -1807,6 +2179,10 @@ GL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target, GLenum internalf #define GL_RGB16_SNORM_EXT 0x8F9A #endif /* GL_EXT_texture_norm16 */ +#ifndef GL_EXT_texture_query_lod +#define GL_EXT_texture_query_lod 1 +#endif /* GL_EXT_texture_query_lod */ + #ifndef GL_EXT_texture_rg #define GL_EXT_texture_rg 1 #define GL_RED_EXT 0x1903 @@ -1832,6 +2208,10 @@ GL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target, GLenum internalf #define GL_SKIP_DECODE_EXT 0x8A4A #endif /* GL_EXT_texture_sRGB_decode */ +#ifndef GL_EXT_texture_shadow_lod +#define GL_EXT_texture_shadow_lod 1 +#endif /* GL_EXT_texture_shadow_lod */ + #ifndef GL_EXT_texture_storage #define GL_EXT_texture_storage 1 #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F @@ -1888,11 +2268,67 @@ GL_APICALL void GL_APIENTRY glTextureViewEXT (GLuint texture, GLenum target, GLu #define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4 #endif /* GL_EXT_unpack_subimage */ +#ifndef GL_EXT_win32_keyed_mutex +#define GL_EXT_win32_keyed_mutex 1 +typedef GLboolean (GL_APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key, GLuint timeout); +typedef GLboolean (GL_APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL GLboolean GL_APIENTRY glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout); +GL_APICALL GLboolean GL_APIENTRY glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key); +#endif +#endif /* GL_EXT_win32_keyed_mutex */ + +#ifndef GL_EXT_window_rectangles +#define GL_EXT_window_rectangles 1 +#define GL_INCLUSIVE_EXT 0x8F10 +#define GL_EXCLUSIVE_EXT 0x8F11 +#define GL_WINDOW_RECTANGLE_EXT 0x8F12 +#define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13 +#define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14 +#define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15 +typedef void (GL_APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box); +#endif +#endif /* GL_EXT_window_rectangles */ + #ifndef GL_FJ_shader_binary_GCCSO #define GL_FJ_shader_binary_GCCSO 1 #define GL_GCCSO_SHADER_BINARY_FJ 0x9260 #endif /* GL_FJ_shader_binary_GCCSO */ +#ifndef GL_IMG_bindless_texture +#define GL_IMG_bindless_texture 1 +typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLEIMGPROC) (GLuint texture); +typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEIMGPROC) (GLuint texture, GLuint sampler); +typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64IMGPROC) (GLint location, GLuint64 value); +typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VIMGPROC) (GLint location, GLsizei count, const GLuint64 *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC) (GLuint program, GLint location, GLuint64 value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleIMG (GLuint texture); +GL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleIMG (GLuint texture, GLuint sampler); +GL_APICALL void GL_APIENTRY glUniformHandleui64IMG (GLint location, GLuint64 value); +GL_APICALL void GL_APIENTRY glUniformHandleui64vIMG (GLint location, GLsizei count, const GLuint64 *value); +GL_APICALL void GL_APIENTRY glProgramUniformHandleui64IMG (GLuint program, GLint location, GLuint64 value); +GL_APICALL void GL_APIENTRY glProgramUniformHandleui64vIMG (GLuint program, GLint location, GLsizei count, const GLuint64 *values); +#endif +#endif /* GL_IMG_bindless_texture */ + +#ifndef GL_IMG_framebuffer_downsample +#define GL_IMG_framebuffer_downsample 1 +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG 0x913C +#define GL_NUM_DOWNSAMPLE_SCALES_IMG 0x913D +#define GL_DOWNSAMPLE_SCALES_IMG 0x913E +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG 0x913F +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); +GL_APICALL void GL_APIENTRY glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); +#endif +#endif /* GL_IMG_framebuffer_downsample */ + #ifndef GL_IMG_multisampled_render_to_texture #define GL_IMG_multisampled_render_to_texture 1 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 @@ -1944,6 +2380,16 @@ GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, #define GL_CUBIC_MIPMAP_LINEAR_IMG 0x913B #endif /* GL_IMG_texture_filter_cubic */ +#ifndef GL_INTEL_blackhole_render +#define GL_INTEL_blackhole_render 1 +#define GL_BLACKHOLE_RENDER_INTEL 0x83FC +#endif /* GL_INTEL_blackhole_render */ + +#ifndef GL_INTEL_conservative_rasterization +#define GL_INTEL_conservative_rasterization 1 +#define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE +#endif /* GL_INTEL_conservative_rasterization */ + #ifndef GL_INTEL_framebuffer_CMAA #define GL_INTEL_framebuffer_CMAA 1 typedef void (GL_APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void); @@ -1981,7 +2427,7 @@ typedef void (GL_APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle); typedef void (GL_APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId); typedef void (GL_APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId); typedef void (GL_APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); -typedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); +typedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten); typedef void (GL_APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId); typedef void (GL_APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); #ifdef GL_GLEXT_PROTOTYPES @@ -1992,12 +2438,46 @@ GL_APICALL void GL_APIENTRY glEndPerfQueryINTEL (GLuint queryHandle); GL_APICALL void GL_APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId); GL_APICALL void GL_APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId); GL_APICALL void GL_APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); -GL_APICALL void GL_APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); +GL_APICALL void GL_APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten); GL_APICALL void GL_APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId); GL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); #endif #endif /* GL_INTEL_performance_query */ +#ifndef GL_MESA_framebuffer_flip_x +#define GL_MESA_framebuffer_flip_x 1 +#define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC +#endif /* GL_MESA_framebuffer_flip_x */ + +#ifndef GL_MESA_framebuffer_flip_y +#define GL_MESA_framebuffer_flip_y 1 +#define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPARAMETERIMESAPROC) (GLenum target, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC) (GLenum target, GLenum pname, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glFramebufferParameteriMESA (GLenum target, GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glGetFramebufferParameterivMESA (GLenum target, GLenum pname, GLint *params); +#endif +#endif /* GL_MESA_framebuffer_flip_y */ + +#ifndef GL_MESA_framebuffer_swap_xy +#define GL_MESA_framebuffer_swap_xy 1 +#define GL_FRAMEBUFFER_SWAP_XY_MESA 0x8BBD +#endif /* GL_MESA_framebuffer_swap_xy */ + +#ifndef GL_MESA_program_binary_formats +#define GL_MESA_program_binary_formats 1 +#define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F +#endif /* GL_MESA_program_binary_formats */ + +#ifndef GL_MESA_shader_integer_functions +#define GL_MESA_shader_integer_functions 1 +#endif /* GL_MESA_shader_integer_functions */ + +#ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers +#define GL_NVX_blend_equation_advanced_multi_draw_buffers 1 +#endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */ + #ifndef GL_NV_bindless_texture #define GL_NV_bindless_texture 1 typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture); @@ -2094,6 +2574,27 @@ GL_APICALL void GL_APIENTRY glBlendBarrierNV (void); #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 #endif /* GL_NV_blend_equation_advanced_coherent */ +#ifndef GL_NV_blend_minmax_factor +#define GL_NV_blend_minmax_factor 1 +#define GL_FACTOR_MIN_AMD 0x901C +#define GL_FACTOR_MAX_AMD 0x901D +#endif /* GL_NV_blend_minmax_factor */ + +#ifndef GL_NV_clip_space_w_scaling +#define GL_NV_clip_space_w_scaling 1 +#define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C +#define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D +#define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E +typedef void (GL_APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff); +#endif +#endif /* GL_NV_clip_space_w_scaling */ + +#ifndef GL_NV_compute_shader_derivatives +#define GL_NV_compute_shader_derivatives 1 +#endif /* GL_NV_compute_shader_derivatives */ + #ifndef GL_NV_conditional_render #define GL_NV_conditional_render 1 #define GL_QUERY_WAIT_NV 0x8E13 @@ -2120,6 +2621,22 @@ GL_APICALL void GL_APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybit #endif #endif /* GL_NV_conservative_raster */ +#ifndef GL_NV_conservative_raster_pre_snap +#define GL_NV_conservative_raster_pre_snap 1 +#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550 +#endif /* GL_NV_conservative_raster_pre_snap */ + +#ifndef GL_NV_conservative_raster_pre_snap_triangles +#define GL_NV_conservative_raster_pre_snap_triangles 1 +#define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D +#define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E +#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F +typedef void (GL_APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param); +#endif +#endif /* GL_NV_conservative_raster_pre_snap_triangles */ + #ifndef GL_NV_copy_buffer #define GL_NV_copy_buffer 1 #define GL_COPY_READ_BUFFER_NV 0x8F36 @@ -2205,6 +2722,23 @@ GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei coun #endif #endif /* GL_NV_draw_instanced */ +#ifndef GL_NV_draw_vulkan_image +#define GL_NV_draw_vulkan_image 1 +typedef void (GL_APIENTRY *GLVULKANPROCNV)(void); +typedef void (GL_APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); +typedef GLVULKANPROCNV (GL_APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name); +typedef void (GL_APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); +typedef void (GL_APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); +typedef void (GL_APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); +GL_APICALL GLVULKANPROCNV GL_APIENTRY glGetVkProcAddrNV (const GLchar *name); +GL_APICALL void GL_APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore); +GL_APICALL void GL_APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore); +GL_APICALL void GL_APIENTRY glSignalVkFenceNV (GLuint64 vkFence); +#endif +#endif /* GL_NV_draw_vulkan_image */ + #ifndef GL_NV_explicit_attrib_location #define GL_NV_explicit_attrib_location 1 #endif /* GL_NV_explicit_attrib_location */ @@ -2252,6 +2786,10 @@ GL_APICALL void GL_APIENTRY glFragmentCoverageColorNV (GLuint color); #endif #endif /* GL_NV_fragment_coverage_to_color */ +#ifndef GL_NV_fragment_shader_barycentric +#define GL_NV_fragment_shader_barycentric 1 +#endif /* GL_NV_fragment_shader_barycentric */ + #ifndef GL_NV_fragment_shader_interlock #define GL_NV_fragment_shader_interlock 1 #endif /* GL_NV_fragment_shader_interlock */ @@ -2279,11 +2817,11 @@ GL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint #define GL_COVERAGE_MODULATION_NV 0x9332 #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333 typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v); +typedef void (GL_APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufSize, GLfloat *v); typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v); -GL_APICALL void GL_APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v); +GL_APICALL void GL_APIENTRY glGetCoverageModulationTableNV (GLsizei bufSize, GLfloat *v); GL_APICALL void GL_APIENTRY glCoverageModulationNV (GLenum components); #endif #endif /* GL_NV_framebuffer_mixed_samples */ @@ -2307,6 +2845,109 @@ GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, G #define GL_NV_geometry_shader_passthrough 1 #endif /* GL_NV_geometry_shader_passthrough */ +#ifndef GL_NV_gpu_shader5 +#define GL_NV_gpu_shader5 1 +typedef khronos_int64_t GLint64EXT; +typedef khronos_uint64_t GLuint64EXT; +#define GL_INT64_NV 0x140E +#define GL_UNSIGNED_INT64_NV 0x140F +#define GL_INT8_NV 0x8FE0 +#define GL_INT8_VEC2_NV 0x8FE1 +#define GL_INT8_VEC3_NV 0x8FE2 +#define GL_INT8_VEC4_NV 0x8FE3 +#define GL_INT16_NV 0x8FE4 +#define GL_INT16_VEC2_NV 0x8FE5 +#define GL_INT16_VEC3_NV 0x8FE6 +#define GL_INT16_VEC4_NV 0x8FE7 +#define GL_INT64_VEC2_NV 0x8FE9 +#define GL_INT64_VEC3_NV 0x8FEA +#define GL_INT64_VEC4_NV 0x8FEB +#define GL_UNSIGNED_INT8_NV 0x8FEC +#define GL_UNSIGNED_INT8_VEC2_NV 0x8FED +#define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE +#define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF +#define GL_UNSIGNED_INT16_NV 0x8FF0 +#define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1 +#define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2 +#define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3 +#define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 +#define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 +#define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 +#define GL_FLOAT16_NV 0x8FF8 +#define GL_FLOAT16_VEC2_NV 0x8FF9 +#define GL_FLOAT16_VEC3_NV 0x8FFA +#define GL_FLOAT16_VEC4_NV 0x8FFB +#define GL_PATCHES 0x000E +typedef void (GL_APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x); +typedef void (GL_APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y); +typedef void (GL_APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +typedef void (GL_APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +typedef void (GL_APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x); +typedef void (GL_APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y); +typedef void (GL_APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +typedef void (GL_APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +typedef void (GL_APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glUniform1i64NV (GLint location, GLint64EXT x); +GL_APICALL void GL_APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y); +GL_APICALL void GL_APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +GL_APICALL void GL_APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +GL_APICALL void GL_APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x); +GL_APICALL void GL_APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y); +GL_APICALL void GL_APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +GL_APICALL void GL_APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +GL_APICALL void GL_APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GL_APICALL void GL_APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GL_APICALL void GL_APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GL_APICALL void GL_APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GL_APICALL void GL_APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params); +GL_APICALL void GL_APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x); +GL_APICALL void GL_APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); +GL_APICALL void GL_APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +GL_APICALL void GL_APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +GL_APICALL void GL_APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x); +GL_APICALL void GL_APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); +GL_APICALL void GL_APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +GL_APICALL void GL_APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +GL_APICALL void GL_APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +GL_APICALL void GL_APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +GL_APICALL void GL_APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +GL_APICALL void GL_APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +#endif +#endif /* GL_NV_gpu_shader5 */ + #ifndef GL_NV_image_formats #define GL_NV_image_formats 1 #endif /* GL_NV_image_formats */ @@ -2328,12 +2969,116 @@ GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint diviso #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372 #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373 #define GL_CONFORMANT_NV 0x9374 -typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params); #ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); +GL_APICALL void GL_APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params); #endif #endif /* GL_NV_internalformat_sample_query */ +#ifndef GL_NV_memory_attachment +#define GL_NV_memory_attachment 1 +#define GL_ATTACHED_MEMORY_OBJECT_NV 0x95A4 +#define GL_ATTACHED_MEMORY_OFFSET_NV 0x95A5 +#define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6 +#define GL_MEMORY_ATTACHABLE_SIZE_NV 0x95A7 +#define GL_MEMORY_ATTACHABLE_NV 0x95A8 +#define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9 +#define GL_DETACHED_TEXTURES_NV 0x95AA +#define GL_DETACHED_BUFFERS_NV 0x95AB +#define GL_MAX_DETACHED_TEXTURES_NV 0x95AC +#define GL_MAX_DETACHED_BUFFERS_NV 0x95AD +typedef void (GL_APIENTRYP PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params); +typedef void (GL_APIENTRYP PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) (GLuint memory, GLenum pname); +typedef void (GL_APIENTRYP PFNGLTEXATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLBUFFERATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXTUREATTACHMEMORYNVPROC) (GLuint texture, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) (GLuint buffer, GLuint memory, GLuint64 offset); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params); +GL_APICALL void GL_APIENTRY glResetMemoryObjectParameterNV (GLuint memory, GLenum pname); +GL_APICALL void GL_APIENTRY glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset); +GL_APICALL void GL_APIENTRY glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset); +GL_APICALL void GL_APIENTRY glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset); +GL_APICALL void GL_APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset); +#endif +#endif /* GL_NV_memory_attachment */ + +#ifndef GL_NV_memory_object_sparse +#define GL_NV_memory_object_sparse 1 +typedef void (GL_APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +typedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTMEMNVPROC) (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +typedef void (GL_APIENTRYP PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +GL_APICALL void GL_APIENTRY glTexPageCommitmentMemNV (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +GL_APICALL void GL_APIENTRY glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +GL_APICALL void GL_APIENTRY glTexturePageCommitmentMemNV (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +#endif +#endif /* GL_NV_memory_object_sparse */ + +#ifndef GL_NV_mesh_shader +#define GL_NV_mesh_shader 1 +#define GL_MESH_SHADER_NV 0x9559 +#define GL_TASK_SHADER_NV 0x955A +#define GL_MAX_MESH_UNIFORM_BLOCKS_NV 0x8E60 +#define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61 +#define GL_MAX_MESH_IMAGE_UNIFORMS_NV 0x8E62 +#define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63 +#define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64 +#define GL_MAX_MESH_ATOMIC_COUNTERS_NV 0x8E65 +#define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66 +#define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67 +#define GL_MAX_TASK_UNIFORM_BLOCKS_NV 0x8E68 +#define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69 +#define GL_MAX_TASK_IMAGE_UNIFORMS_NV 0x8E6A +#define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B +#define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C +#define GL_MAX_TASK_ATOMIC_COUNTERS_NV 0x8E6D +#define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E +#define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F +#define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2 +#define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3 +#define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV 0x9536 +#define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV 0x9537 +#define GL_MAX_MESH_OUTPUT_VERTICES_NV 0x9538 +#define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV 0x9539 +#define GL_MAX_TASK_OUTPUT_COUNT_NV 0x953A +#define GL_MAX_DRAW_MESH_TASKS_COUNT_NV 0x953D +#define GL_MAX_MESH_VIEWS_NV 0x9557 +#define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF +#define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543 +#define GL_MAX_MESH_WORK_GROUP_SIZE_NV 0x953B +#define GL_MAX_TASK_WORK_GROUP_SIZE_NV 0x953C +#define GL_MESH_WORK_GROUP_SIZE_NV 0x953E +#define GL_TASK_WORK_GROUP_SIZE_NV 0x953F +#define GL_MESH_VERTICES_OUT_NV 0x9579 +#define GL_MESH_PRIMITIVES_OUT_NV 0x957A +#define GL_MESH_OUTPUT_TYPE_NV 0x957B +#define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C +#define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D +#define GL_REFERENCED_BY_MESH_SHADER_NV 0x95A0 +#define GL_REFERENCED_BY_TASK_SHADER_NV 0x95A1 +#define GL_MESH_SHADER_BIT_NV 0x00000040 +#define GL_TASK_SHADER_BIT_NV 0x00000080 +#define GL_MESH_SUBROUTINE_NV 0x957C +#define GL_TASK_SUBROUTINE_NV 0x957D +#define GL_MESH_SUBROUTINE_UNIFORM_NV 0x957E +#define GL_TASK_SUBROUTINE_UNIFORM_NV 0x957F +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F +typedef void (GL_APIENTRYP PFNGLDRAWMESHTASKSNVPROC) (GLuint first, GLuint count); +typedef void (GL_APIENTRYP PFNGLDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect); +typedef void (GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect, GLsizei drawcount, GLsizei stride); +typedef void (GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDrawMeshTasksNV (GLuint first, GLuint count); +GL_APICALL void GL_APIENTRY glDrawMeshTasksIndirectNV (GLintptr indirect); +GL_APICALL void GL_APIENTRY glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride); +GL_APICALL void GL_APIENTRY glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +#endif +#endif /* GL_NV_mesh_shader */ + #ifndef GL_NV_non_square_matrices #define GL_NV_non_square_matrices 1 #define GL_FLOAT_MAT2x3_NV 0x8B65 @@ -2360,6 +3105,7 @@ GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei coun #ifndef GL_NV_path_rendering #define GL_NV_path_rendering 1 +typedef double GLdouble; #define GL_PATH_FORMAT_SVG_NV 0x9070 #define GL_PATH_FORMAT_PS_NV 0x9071 #define GL_STANDARD_FONT_NAME_NV 0x9072 @@ -2565,11 +3311,30 @@ typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GL typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode); typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); +typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount); typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); typedef GLenum (GL_APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); typedef void (GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +typedef void (GL_APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode); +typedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); +typedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); +typedef void (GL_APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m); +typedef void (GL_APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m); +typedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); +typedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); +typedef void (GL_APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m); +typedef void (GL_APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m); +typedef void (GL_APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +typedef void (GL_APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode); +typedef void (GL_APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode); +typedef void (GL_APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); +typedef void (GL_APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); +typedef void (GL_APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +typedef void (GL_APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); +typedef void (GL_APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +typedef void (GL_APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL GLuint GL_APIENTRY glGenPathsNV (GLsizei range); GL_APICALL void GL_APIENTRY glDeletePathsNV (GLuint path, GLsizei range); @@ -2623,11 +3388,30 @@ GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fi GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode); GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); +GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount); GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); GL_APICALL GLenum GL_APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); GL_APICALL void GL_APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); -GL_APICALL void GL_APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params); +GL_APICALL void GL_APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +GL_APICALL void GL_APIENTRY glMatrixLoadIdentityEXT (GLenum mode); +GL_APICALL void GL_APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m); +GL_APICALL void GL_APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m); +GL_APICALL void GL_APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m); +GL_APICALL void GL_APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m); +GL_APICALL void GL_APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m); +GL_APICALL void GL_APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m); +GL_APICALL void GL_APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m); +GL_APICALL void GL_APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m); +GL_APICALL void GL_APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +GL_APICALL void GL_APIENTRY glMatrixPopEXT (GLenum mode); +GL_APICALL void GL_APIENTRY glMatrixPushEXT (GLenum mode); +GL_APICALL void GL_APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); +GL_APICALL void GL_APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); +GL_APICALL void GL_APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +GL_APICALL void GL_APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); +GL_APICALL void GL_APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +GL_APICALL void GL_APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); #endif #endif /* GL_NV_path_rendering */ @@ -2636,6 +3420,14 @@ GL_APICALL void GL_APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum pro #define GL_SHARED_EDGE_NV 0xC0 #endif /* GL_NV_path_rendering_shared_edge */ +#ifndef GL_NV_pixel_buffer_object +#define GL_NV_pixel_buffer_object 1 +#define GL_PIXEL_PACK_BUFFER_NV 0x88EB +#define GL_PIXEL_UNPACK_BUFFER_NV 0x88EC +#define GL_PIXEL_PACK_BUFFER_BINDING_NV 0x88ED +#define GL_PIXEL_UNPACK_BUFFER_BINDING_NV 0x88EF +#endif /* GL_NV_pixel_buffer_object */ + #ifndef GL_NV_polygon_mode #define GL_NV_polygon_mode 1 #define GL_POLYGON_MODE_NV 0x0B40 @@ -2650,6 +3442,12 @@ GL_APICALL void GL_APIENTRY glPolygonModeNV (GLenum face, GLenum mode); #endif #endif /* GL_NV_polygon_mode */ +#ifndef GL_NV_primitive_shading_rate +#define GL_NV_primitive_shading_rate 1 +#define GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV 0x95B1 +#define GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV 0x95B2 +#endif /* GL_NV_primitive_shading_rate */ + #ifndef GL_NV_read_buffer #define GL_NV_read_buffer 1 #define GL_READ_BUFFER_NV 0x0C02 @@ -2675,6 +3473,11 @@ GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode); #define GL_NV_read_stencil 1 #endif /* GL_NV_read_stencil */ +#ifndef GL_NV_representative_fragment_test +#define GL_NV_representative_fragment_test 1 +#define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F +#endif /* GL_NV_representative_fragment_test */ + #ifndef GL_NV_sRGB_formats #define GL_NV_sRGB_formats 1 #define GL_SLUMINANCE_NV 0x8C46 @@ -2713,10 +3516,76 @@ GL_APICALL void GL_APIENTRY glResolveDepthValuesNV (void); #define GL_NV_sample_mask_override_coverage 1 #endif /* GL_NV_sample_mask_override_coverage */ +#ifndef GL_NV_scissor_exclusive +#define GL_NV_scissor_exclusive 1 +#define GL_SCISSOR_TEST_EXCLUSIVE_NV 0x9555 +#define GL_SCISSOR_BOX_EXCLUSIVE_NV 0x9556 +typedef void (GL_APIENTRYP PFNGLSCISSOREXCLUSIVENVPROC) (GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSCISSOREXCLUSIVEARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glScissorExclusiveNV (GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glScissorExclusiveArrayvNV (GLuint first, GLsizei count, const GLint *v); +#endif +#endif /* GL_NV_scissor_exclusive */ + +#ifndef GL_NV_shader_atomic_fp16_vector +#define GL_NV_shader_atomic_fp16_vector 1 +#endif /* GL_NV_shader_atomic_fp16_vector */ + #ifndef GL_NV_shader_noperspective_interpolation #define GL_NV_shader_noperspective_interpolation 1 #endif /* GL_NV_shader_noperspective_interpolation */ +#ifndef GL_NV_shader_subgroup_partitioned +#define GL_NV_shader_subgroup_partitioned 1 +#define GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV 0x00000100 +#endif /* GL_NV_shader_subgroup_partitioned */ + +#ifndef GL_NV_shader_texture_footprint +#define GL_NV_shader_texture_footprint 1 +#endif /* GL_NV_shader_texture_footprint */ + +#ifndef GL_NV_shading_rate_image +#define GL_NV_shading_rate_image 1 +#define GL_SHADING_RATE_IMAGE_NV 0x9563 +#define GL_SHADING_RATE_NO_INVOCATIONS_NV 0x9564 +#define GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV 0x9565 +#define GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV 0x9566 +#define GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV 0x9567 +#define GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV 0x9568 +#define GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV 0x9569 +#define GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV 0x956A +#define GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV 0x956B +#define GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV 0x956C +#define GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV 0x956D +#define GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV 0x956E +#define GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV 0x956F +#define GL_SHADING_RATE_IMAGE_BINDING_NV 0x955B +#define GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV 0x955C +#define GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV 0x955D +#define GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV 0x955E +#define GL_MAX_COARSE_FRAGMENT_SAMPLES_NV 0x955F +#define GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV 0x95AE +#define GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV 0x95AF +#define GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV 0x95B0 +typedef void (GL_APIENTRYP PFNGLBINDSHADINGRATEIMAGENVPROC) (GLuint texture); +typedef void (GL_APIENTRYP PFNGLGETSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint entry, GLenum *rate); +typedef void (GL_APIENTRYP PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC) (GLenum rate, GLuint samples, GLuint index, GLint *location); +typedef void (GL_APIENTRYP PFNGLSHADINGRATEIMAGEBARRIERNVPROC) (GLboolean synchronize); +typedef void (GL_APIENTRYP PFNGLSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates); +typedef void (GL_APIENTRYP PFNGLSHADINGRATESAMPLEORDERNVPROC) (GLenum order); +typedef void (GL_APIENTRYP PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC) (GLenum rate, GLuint samples, const GLint *locations); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glBindShadingRateImageNV (GLuint texture); +GL_APICALL void GL_APIENTRY glGetShadingRateImagePaletteNV (GLuint viewport, GLuint entry, GLenum *rate); +GL_APICALL void GL_APIENTRY glGetShadingRateSampleLocationivNV (GLenum rate, GLuint samples, GLuint index, GLint *location); +GL_APICALL void GL_APIENTRY glShadingRateImageBarrierNV (GLboolean synchronize); +GL_APICALL void GL_APIENTRY glShadingRateImagePaletteNV (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates); +GL_APICALL void GL_APIENTRY glShadingRateSampleOrderNV (GLenum order); +GL_APICALL void GL_APIENTRY glShadingRateSampleOrderCustomNV (GLenum rate, GLuint samples, const GLint *locations); +#endif +#endif /* GL_NV_shading_rate_image */ + #ifndef GL_NV_shadow_samplers_array #define GL_NV_shadow_samplers_array 1 #define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4 @@ -2727,6 +3596,10 @@ GL_APICALL void GL_APIENTRY glResolveDepthValuesNV (void); #define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5 #endif /* GL_NV_shadow_samplers_cube */ +#ifndef GL_NV_stereo_view_rendering +#define GL_NV_stereo_view_rendering 1 +#endif /* GL_NV_stereo_view_rendering */ + #ifndef GL_NV_texture_border_clamp #define GL_NV_texture_border_clamp 1 #define GL_TEXTURE_BORDER_COLOR_NV 0x1004 @@ -2741,6 +3614,23 @@ GL_APICALL void GL_APIENTRY glResolveDepthValuesNV (void); #define GL_NV_texture_npot_2D_mipmap 1 #endif /* GL_NV_texture_npot_2D_mipmap */ +#ifndef GL_NV_timeline_semaphore +#define GL_NV_timeline_semaphore 1 +#define GL_TIMELINE_SEMAPHORE_VALUE_NV 0x9595 +#define GL_SEMAPHORE_TYPE_NV 0x95B3 +#define GL_SEMAPHORE_TYPE_BINARY_NV 0x95B4 +#define GL_SEMAPHORE_TYPE_TIMELINE_NV 0x95B5 +#define GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV 0x95B6 +typedef void (GL_APIENTRYP PFNGLCREATESEMAPHORESNVPROC) (GLsizei n, GLuint *semaphores); +typedef void (GL_APIENTRYP PFNGLSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, const GLint *params); +typedef void (GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glCreateSemaphoresNV (GLsizei n, GLuint *semaphores); +GL_APICALL void GL_APIENTRY glSemaphoreParameterivNV (GLuint semaphore, GLenum pname, const GLint *params); +GL_APICALL void GL_APIENTRY glGetSemaphoreParameterivNV (GLuint semaphore, GLenum pname, GLint *params); +#endif +#endif /* GL_NV_timeline_semaphore */ + #ifndef GL_NV_viewport_array #define GL_NV_viewport_array 1 #define GL_MAX_VIEWPORTS_NV 0x825B @@ -2779,11 +3669,32 @@ GL_APICALL GLboolean GL_APIENTRY glIsEnablediNV (GLenum target, GLuint index); #define GL_NV_viewport_array2 1 #endif /* GL_NV_viewport_array2 */ +#ifndef GL_NV_viewport_swizzle +#define GL_NV_viewport_swizzle 1 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357 +#define GL_VIEWPORT_SWIZZLE_X_NV 0x9358 +#define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359 +#define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A +#define GL_VIEWPORT_SWIZZLE_W_NV 0x935B +typedef void (GL_APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); +#endif +#endif /* GL_NV_viewport_swizzle */ + #ifndef GL_OVR_multiview #define GL_OVR_multiview 1 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632 #define GL_MAX_VIEWS_OVR 0x9631 +#define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); @@ -2802,6 +3713,10 @@ GL_APICALL void GL_APIENTRY glFramebufferTextureMultisampleMultiviewOVR (GLenum #endif #endif /* GL_OVR_multiview_multisampled_render_to_texture */ +#ifndef GL_QCOM_YUV_texture_gather +#define GL_QCOM_YUV_texture_gather 1 +#endif /* GL_QCOM_YUV_texture_gather */ + #ifndef GL_QCOM_alpha_test #define GL_QCOM_alpha_test 1 #define GL_ALPHA_TEST_QCOM 0x0BC0 @@ -2882,11 +3797,96 @@ GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLe #endif #endif /* GL_QCOM_extended_get2 */ +#ifndef GL_QCOM_frame_extrapolation +#define GL_QCOM_frame_extrapolation 1 +typedef void (GL_APIENTRYP PFNGLEXTRAPOLATETEX2DQCOMPROC) (GLuint src1, GLuint src2, GLuint output, GLfloat scaleFactor); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glExtrapolateTex2DQCOM (GLuint src1, GLuint src2, GLuint output, GLfloat scaleFactor); +#endif +#endif /* GL_QCOM_frame_extrapolation */ + +#ifndef GL_QCOM_framebuffer_foveated +#define GL_QCOM_framebuffer_foveated 1 +#define GL_FOVEATION_ENABLE_BIT_QCOM 0x00000001 +#define GL_FOVEATION_SCALED_BIN_METHOD_BIT_QCOM 0x00000002 +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC) (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint *providedFeatures); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC) (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glFramebufferFoveationConfigQCOM (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint *providedFeatures); +GL_APICALL void GL_APIENTRY glFramebufferFoveationParametersQCOM (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); +#endif +#endif /* GL_QCOM_framebuffer_foveated */ + +#ifndef GL_QCOM_motion_estimation +#define GL_QCOM_motion_estimation 1 +#define GL_MOTION_ESTIMATION_SEARCH_BLOCK_X_QCOM 0x8C90 +#define GL_MOTION_ESTIMATION_SEARCH_BLOCK_Y_QCOM 0x8C91 +typedef void (GL_APIENTRYP PFNGLTEXESTIMATEMOTIONQCOMPROC) (GLuint ref, GLuint target, GLuint output); +typedef void (GL_APIENTRYP PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC) (GLuint ref, GLuint target, GLuint output, GLuint mask); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glTexEstimateMotionQCOM (GLuint ref, GLuint target, GLuint output); +GL_APICALL void GL_APIENTRY glTexEstimateMotionRegionsQCOM (GLuint ref, GLuint target, GLuint output, GLuint mask); +#endif +#endif /* GL_QCOM_motion_estimation */ + #ifndef GL_QCOM_perfmon_global_mode #define GL_QCOM_perfmon_global_mode 1 #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 #endif /* GL_QCOM_perfmon_global_mode */ +#ifndef GL_QCOM_shader_framebuffer_fetch_noncoherent +#define GL_QCOM_shader_framebuffer_fetch_noncoherent 1 +#define GL_FRAMEBUFFER_FETCH_NONCOHERENT_QCOM 0x96A2 +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glFramebufferFetchBarrierQCOM (void); +#endif +#endif /* GL_QCOM_shader_framebuffer_fetch_noncoherent */ + +#ifndef GL_QCOM_shader_framebuffer_fetch_rate +#define GL_QCOM_shader_framebuffer_fetch_rate 1 +#endif /* GL_QCOM_shader_framebuffer_fetch_rate */ + +#ifndef GL_QCOM_shading_rate +#define GL_QCOM_shading_rate 1 +#define GL_SHADING_RATE_QCOM 0x96A4 +#define GL_SHADING_RATE_PRESERVE_ASPECT_RATIO_QCOM 0x96A5 +#define GL_SHADING_RATE_1X1_PIXELS_QCOM 0x96A6 +#define GL_SHADING_RATE_1X2_PIXELS_QCOM 0x96A7 +#define GL_SHADING_RATE_2X1_PIXELS_QCOM 0x96A8 +#define GL_SHADING_RATE_2X2_PIXELS_QCOM 0x96A9 +#define GL_SHADING_RATE_4X2_PIXELS_QCOM 0x96AC +#define GL_SHADING_RATE_4X4_PIXELS_QCOM 0x96AE +typedef void (GL_APIENTRYP PFNGLSHADINGRATEQCOMPROC) (GLenum rate); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glShadingRateQCOM (GLenum rate); +#endif +#endif /* GL_QCOM_shading_rate */ + +#ifndef GL_QCOM_texture_foveated +#define GL_QCOM_texture_foveated 1 +#define GL_TEXTURE_FOVEATED_FEATURE_BITS_QCOM 0x8BFB +#define GL_TEXTURE_FOVEATED_MIN_PIXEL_DENSITY_QCOM 0x8BFC +#define GL_TEXTURE_FOVEATED_FEATURE_QUERY_QCOM 0x8BFD +#define GL_TEXTURE_FOVEATED_NUM_FOCAL_POINTS_QUERY_QCOM 0x8BFE +#define GL_FRAMEBUFFER_INCOMPLETE_FOVEATION_QCOM 0x8BFF +typedef void (GL_APIENTRYP PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC) (GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glTextureFoveationParametersQCOM (GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); +#endif +#endif /* GL_QCOM_texture_foveated */ + +#ifndef GL_QCOM_texture_foveated2 +#define GL_QCOM_texture_foveated2 1 +#define GL_TEXTURE_FOVEATED_CUTOFF_DENSITY_QCOM 0x96A0 +#endif /* GL_QCOM_texture_foveated2 */ + +#ifndef GL_QCOM_texture_foveated_subsampled_layout +#define GL_QCOM_texture_foveated_subsampled_layout 1 +#define GL_FOVEATION_SUBSAMPLED_LAYOUT_METHOD_BIT_QCOM 0x00000004 +#define GL_MAX_SHADER_SUBSAMPLED_IMAGE_UNITS_QCOM 0x8FA1 +#endif /* GL_QCOM_texture_foveated_subsampled_layout */ + #ifndef GL_QCOM_tiled_rendering #define GL_QCOM_tiled_rendering 1 #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 diff --git a/include/GLES2/gl2platform.h b/include/GLES2/gl2platform.h index 89d4d44..5bcce6d 100644 --- a/include/GLES2/gl2platform.h +++ b/include/GLES2/gl2platform.h @@ -1,20 +1,17 @@ #ifndef __gl2platform_h_ #define __gl2platform_h_ -/* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */ - /* - * This document is licensed under the SGI Free Software B License Version - * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . - */ +** Copyright 2017-2020 The Khronos Group Inc. +** SPDX-License-Identifier: Apache-2.0 +*/ /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h * * Adopters may modify khrplatform.h and this file to suit their platform. - * You are encouraged to submit all modifications to the Khronos group so that - * they can be included in future versions of this file. Please submit changes - * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) - * by filing a bug against product "OpenGL-ES" component "Registry". + * Please contribute modifications back to Khronos as pull requests on the + * public github repository: + * https://github.com/KhronosGroup/OpenGL-Registry */ #include diff --git a/include/GLES3/gl3.h b/include/GLES3/gl3.h index 383230f..6bb4d8f 100644 --- a/include/GLES3/gl3.h +++ b/include/GLES3/gl3.h @@ -1,39 +1,18 @@ -#ifndef __gl3_h_ -#define __gl3_h_ 1 +#ifndef __gles2_gl3_h_ +#define __gles2_gl3_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright (c) 2013-2015 The Khronos Group Inc. +** Copyright 2013-2020 The Khronos Group Inc. +** SPDX-License-Identifier: MIT ** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision: 32120 $ on $Date: 2015-10-15 04:27:13 -0700 (Thu, 15 Oct 2015) $ +** https://github.com/KhronosGroup/OpenGL-Registry */ #include @@ -42,7 +21,11 @@ extern "C" { #define GL_APIENTRYP GL_APIENTRY* #endif -/* Generated on date 20151015 */ +#ifndef GL_GLES_PROTOTYPES +#define GL_GLES_PROTOTYPES 1 +#endif + +/* Generated on date 20210107 */ /* Generated C header for: * API: gles2 @@ -60,8 +43,8 @@ extern "C" { typedef khronos_int8_t GLbyte; typedef khronos_float_t GLclampf; typedef khronos_int32_t GLfixed; -typedef short GLshort; -typedef unsigned short GLushort; +typedef khronos_int16_t GLshort; +typedef khronos_uint16_t GLushort; typedef void GLvoid; typedef struct __GLsync *GLsync; typedef khronos_int64_t GLint64; @@ -475,7 +458,7 @@ typedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length); typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); @@ -520,7 +503,7 @@ typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GL typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); typedef void (GL_APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES +#if GL_GLES_PROTOTYPES GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); @@ -618,7 +601,7 @@ GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length); GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); @@ -668,7 +651,7 @@ GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei #ifndef GL_ES_VERSION_3_0 #define GL_ES_VERSION_3_0 1 -typedef unsigned short GLhalf; +typedef khronos_uint16_t GLhalf; #define GL_READ_BUFFER 0x0C02 #define GL_UNPACK_ROW_LENGTH 0x0CF2 #define GL_UNPACK_SKIP_ROWS 0x0CF3 @@ -1066,7 +1049,7 @@ typedef void (GL_APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (GL_APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (GL_APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data); -typedef void (GL_APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +typedef void (GL_APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values); typedef void (GL_APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); typedef void (GL_APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers); @@ -1093,8 +1076,8 @@ typedef void (GL_APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsiz typedef void (GL_APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES +typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params); +#if GL_GLES_PROTOTYPES GL_APICALL void GL_APIENTRY glReadBuffer (GLenum src); GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); GL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); @@ -1171,7 +1154,7 @@ GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync); GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); GL_APICALL void GL_APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); -GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values); GL_APICALL void GL_APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); GL_APICALL void GL_APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); GL_APICALL void GL_APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); @@ -1198,7 +1181,7 @@ GL_APICALL void GL_APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numA GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); GL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); GL_APICALL void GL_APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params); #endif #endif /* GL_ES_VERSION_3_0 */ diff --git a/include/GLES3/gl31.h b/include/GLES3/gl31.h index 922a20a..502d6fe 100644 --- a/include/GLES3/gl31.h +++ b/include/GLES3/gl31.h @@ -1,39 +1,18 @@ -#ifndef __gl31_h_ -#define __gl31_h_ 1 +#ifndef __gles2_gl31_h_ +#define __gles2_gl31_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright (c) 2013-2015 The Khronos Group Inc. +** Copyright 2013-2020 The Khronos Group Inc. +** SPDX-License-Identifier: MIT ** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ +** https://github.com/KhronosGroup/OpenGL-Registry */ #include @@ -42,7 +21,11 @@ extern "C" { #define GL_APIENTRYP GL_APIENTRY* #endif -/* Generated on date 20151015 */ +#ifndef GL_GLES_PROTOTYPES +#define GL_GLES_PROTOTYPES 1 +#endif + +/* Generated on date 20191013 */ /* Generated C header for: * API: gles2 @@ -60,8 +43,8 @@ extern "C" { typedef khronos_int8_t GLbyte; typedef khronos_float_t GLclampf; typedef khronos_int32_t GLfixed; -typedef short GLshort; -typedef unsigned short GLushort; +typedef khronos_int16_t GLshort; +typedef khronos_uint16_t GLushort; typedef void GLvoid; typedef struct __GLsync *GLsync; typedef khronos_int64_t GLint64; @@ -520,7 +503,7 @@ typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GL typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); typedef void (GL_APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES +#if GL_GLES_PROTOTYPES GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); @@ -668,7 +651,7 @@ GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei #ifndef GL_ES_VERSION_3_0 #define GL_ES_VERSION_3_0 1 -typedef unsigned short GLhalf; +typedef khronos_uint16_t GLhalf; #define GL_READ_BUFFER 0x0C02 #define GL_UNPACK_ROW_LENGTH 0x0CF2 #define GL_UNPACK_SKIP_ROWS 0x0CF3 @@ -1094,7 +1077,7 @@ typedef void (GL_APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GL typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES +#if GL_GLES_PROTOTYPES GL_APICALL void GL_APIENTRY glReadBuffer (GLenum src); GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); GL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); @@ -1445,7 +1428,7 @@ typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLi typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex); typedef void (GL_APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor); -#ifdef GL_GLEXT_PROTOTYPES +#if GL_GLES_PROTOTYPES GL_APICALL void GL_APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); GL_APICALL void GL_APIENTRY glDispatchComputeIndirect (GLintptr indirect); GL_APICALL void GL_APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect); diff --git a/include/GLES3/gl32.h b/include/GLES3/gl32.h index 21bded5..ae56b0e 100644 --- a/include/GLES3/gl32.h +++ b/include/GLES3/gl32.h @@ -1,39 +1,18 @@ -#ifndef __gl32_h_ -#define __gl32_h_ 1 +#ifndef __gles2_gl32_h_ +#define __gles2_gl32_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright (c) 2013-2015 The Khronos Group Inc. +** Copyright 2013-2020 The Khronos Group Inc. +** SPDX-License-Identifier: MIT ** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ +** https://github.com/KhronosGroup/OpenGL-Registry */ #include @@ -42,7 +21,11 @@ extern "C" { #define GL_APIENTRYP GL_APIENTRY* #endif -/* Generated on date 20151015 */ +#ifndef GL_GLES_PROTOTYPES +#define GL_GLES_PROTOTYPES 1 +#endif + +/* Generated on date 20191013 */ /* Generated C header for: * API: gles2 @@ -60,8 +43,8 @@ extern "C" { typedef khronos_int8_t GLbyte; typedef khronos_float_t GLclampf; typedef khronos_int32_t GLfixed; -typedef short GLshort; -typedef unsigned short GLushort; +typedef khronos_int16_t GLshort; +typedef khronos_uint16_t GLushort; typedef void GLvoid; typedef struct __GLsync *GLsync; typedef khronos_int64_t GLint64; @@ -520,7 +503,7 @@ typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GL typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); typedef void (GL_APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES +#if GL_GLES_PROTOTYPES GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); @@ -668,7 +651,7 @@ GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei #ifndef GL_ES_VERSION_3_0 #define GL_ES_VERSION_3_0 1 -typedef unsigned short GLhalf; +typedef khronos_uint16_t GLhalf; #define GL_READ_BUFFER 0x0C02 #define GL_UNPACK_ROW_LENGTH 0x0CF2 #define GL_UNPACK_SKIP_ROWS 0x0CF3 @@ -1094,7 +1077,7 @@ typedef void (GL_APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GL typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES +#if GL_GLES_PROTOTYPES GL_APICALL void GL_APIENTRY glReadBuffer (GLenum src); GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); GL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); @@ -1445,7 +1428,7 @@ typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLi typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex); typedef void (GL_APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor); -#ifdef GL_GLEXT_PROTOTYPES +#if GL_GLES_PROTOTYPES GL_APICALL void GL_APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); GL_APICALL void GL_APIENTRY glDispatchComputeIndirect (GLintptr indirect); GL_APICALL void GL_APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect); @@ -1770,7 +1753,7 @@ typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GL typedef void (GL_APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer); typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -#ifdef GL_GLEXT_PROTOTYPES +#if GL_GLES_PROTOTYPES GL_APICALL void GL_APIENTRY glBlendBarrier (void); GL_APICALL void GL_APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); GL_APICALL void GL_APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); diff --git a/include/GLES3/gl3platform.h b/include/GLES3/gl3platform.h index b1e869d..8699212 100644 --- a/include/GLES3/gl3platform.h +++ b/include/GLES3/gl3platform.h @@ -1,20 +1,17 @@ #ifndef __gl3platform_h_ #define __gl3platform_h_ -/* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */ - /* - * This document is licensed under the SGI Free Software B License Version - * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . - */ +** Copyright 2017-2020 The Khronos Group Inc. +** SPDX-License-Identifier: Apache-2.0 +*/ /* Platform-specific types and definitions for OpenGL ES 3.X gl3.h * * Adopters may modify khrplatform.h and this file to suit their platform. - * You are encouraged to submit all modifications to the Khronos group so that - * they can be included in future versions of this file. Please submit changes - * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) - * by filing a bug against product "OpenGL-ES" component "Registry". + * Please contribute modifications back to Khronos as pull requests on the + * public github repository: + * https://github.com/KhronosGroup/OpenGL-Registry */ #include diff --git a/include/KHR/khrplatform.h b/include/KHR/khrplatform.h index c9e6f17..dd22d92 100644 --- a/include/KHR/khrplatform.h +++ b/include/KHR/khrplatform.h @@ -2,7 +2,7 @@ #define __khrplatform_h_ /* -** Copyright (c) 2008-2009 The Khronos Group Inc. +** Copyright (c) 2008-2018 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the @@ -26,18 +26,16 @@ /* Khronos platform-specific types and definitions. * - * $Revision: 23298 $ on $Date: 2013-09-30 17:07:13 -0700 (Mon, 30 Sep 2013) $ + * The master copy of khrplatform.h is maintained in the Khronos EGL + * Registry repository at https://github.com/KhronosGroup/EGL-Registry + * The last semantic modification to khrplatform.h was at commit ID: + * 67a3e0864c2d75ea5287b9f3d2eb74a745936692 * * Adopters may modify this file to suit their platform. Adopters are * encouraged to submit platform specific modifications to the Khronos * group so that they can be included in future versions of this file. - * Please submit changes by sending them to the public Khronos Bugzilla - * (http://khronos.org/bugzilla) by filing a bug against product - * "Khronos (general)" component "Registry". - * - * A predefined template which fills in some of the bug fields can be - * reached using http://tinyurl.com/khrplatform-h-bugreport, but you - * must create a Bugzilla login first. + * Please submit changes by filing pull requests or issues on + * the EGL Registry repository linked above. * * * See the Implementer's Guidelines for information about where this file @@ -92,15 +90,25 @@ * int arg2) KHRONOS_APIATTRIBUTES; */ +#if defined(__SCITECH_SNAP__) && !defined(KHRONOS_STATIC) +# define KHRONOS_STATIC 1 +#endif + /*------------------------------------------------------------------------- * Definition of KHRONOS_APICALL *------------------------------------------------------------------------- * This precedes the return type of the function in the function prototype. */ -#if defined(_WIN32) && !defined(__SCITECH_SNAP__) +#if defined(KHRONOS_STATIC) + /* If the preprocessor constant KHRONOS_STATIC is defined, make the + * header compatible with static linking. */ +# define KHRONOS_APICALL +#elif defined(_WIN32) # define KHRONOS_APICALL __declspec(dllimport) #elif defined (__SYMBIAN32__) # define KHRONOS_APICALL IMPORT_C +#elif defined(__ANDROID__) +# define KHRONOS_APICALL __attribute__((visibility("default"))) #else # define KHRONOS_APICALL #endif @@ -223,7 +231,7 @@ typedef signed short int khronos_int16_t; typedef unsigned short int khronos_uint16_t; /* - * Types that differ between LLP64 and LP64 architectures - in LLP64, + * Types that differ between LLP64 and LP64 architectures - in LLP64, * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears * to be the only LLP64 architecture in current use. */ diff --git a/include/wrangle-egl.h b/include/wrangle-egl.h index 8ec0c5c..132c70e 100644 --- a/include/wrangle-egl.h +++ b/include/wrangle-egl.h @@ -20,7 +20,7 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #if defined(__GNUC__) -#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 +#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 #pragma GCC diagnostic push // push/pop not available before GCC 4.6 #endif #pragma GCC diagnostic ignored "-Wunused-function" @@ -39,47 +39,73 @@ enum GLEW_EGL_FeatureSet GLEW_EGL_VERSION_1_4, GLEW_EGL_VERSION_1_5, GLEW_EGL_ANDROID_blob_cache, + GLEW_EGL_ANDROID_create_native_client_buffer, GLEW_EGL_ANDROID_framebuffer_target, + GLEW_EGL_ANDROID_get_native_client_buffer, + GLEW_EGL_ANDROID_front_buffer_auto_refresh, GLEW_EGL_ANDROID_image_native_buffer, GLEW_EGL_ANDROID_native_fence_sync, + GLEW_EGL_ANDROID_presentation_time, + GLEW_EGL_ANDROID_get_frame_timestamps, GLEW_EGL_ANDROID_recordable, + GLEW_EGL_ANDROID_GLES_layers, GLEW_EGL_ANGLE_d3d_share_handle_client_buffer, GLEW_EGL_ANGLE_device_d3d, GLEW_EGL_ANGLE_query_surface_pointer, GLEW_EGL_ANGLE_surface_d3d_texture_2d_share_handle, + GLEW_EGL_ANGLE_sync_control_rate, GLEW_EGL_ANGLE_window_fixed_size, + GLEW_EGL_ARM_implicit_external_sync, GLEW_EGL_ARM_pixmap_multisample_discard, GLEW_EGL_EXT_buffer_age, GLEW_EGL_EXT_client_extensions, + GLEW_EGL_EXT_client_sync, GLEW_EGL_EXT_create_context_robustness, GLEW_EGL_EXT_device_base, GLEW_EGL_EXT_device_drm, GLEW_EGL_EXT_device_enumeration, GLEW_EGL_EXT_device_openwf, GLEW_EGL_EXT_device_query, + GLEW_EGL_EXT_gl_colorspace_bt2020_linear, + GLEW_EGL_EXT_gl_colorspace_bt2020_pq, + GLEW_EGL_EXT_gl_colorspace_scrgb, + GLEW_EGL_EXT_gl_colorspace_scrgb_linear, + GLEW_EGL_EXT_gl_colorspace_display_p3_linear, + GLEW_EGL_EXT_gl_colorspace_display_p3, + GLEW_EGL_EXT_gl_colorspace_display_p3_passthrough, GLEW_EGL_EXT_image_dma_buf_import, + GLEW_EGL_EXT_image_dma_buf_import_modifiers, + GLEW_EGL_EXT_image_gl_colorspace, GLEW_EGL_EXT_multiview_window, GLEW_EGL_EXT_output_base, GLEW_EGL_EXT_output_drm, GLEW_EGL_EXT_output_openwf, + GLEW_EGL_EXT_pixel_format_float, GLEW_EGL_EXT_platform_base, GLEW_EGL_EXT_platform_device, GLEW_EGL_EXT_platform_wayland, GLEW_EGL_EXT_platform_x11, + GLEW_EGL_EXT_platform_xcb, + GLEW_EGL_EXT_protected_content, GLEW_EGL_EXT_protected_surface, GLEW_EGL_EXT_stream_consumer_egloutput, + GLEW_EGL_EXT_surface_SMPTE2086_metadata, GLEW_EGL_EXT_swap_buffers_with_damage, + GLEW_EGL_EXT_sync_reuse, GLEW_EGL_EXT_yuv_surface, GLEW_EGL_HI_clientpixmap, GLEW_EGL_HI_colorformats, GLEW_EGL_IMG_context_priority, + GLEW_EGL_IMG_image_plane_attribs, GLEW_EGL_KHR_cl_event, GLEW_EGL_KHR_cl_event2, GLEW_EGL_KHR_config_attribs, GLEW_EGL_KHR_client_get_all_proc_addresses, + GLEW_EGL_KHR_context_flush_control, GLEW_EGL_KHR_create_context, GLEW_EGL_KHR_create_context_no_error, GLEW_EGL_KHR_debug, + GLEW_EGL_KHR_display_reference, GLEW_EGL_KHR_fence_sync, GLEW_EGL_KHR_get_all_proc_addresses, GLEW_EGL_KHR_gl_colorspace, @@ -93,6 +119,8 @@ enum GLEW_EGL_FeatureSet GLEW_EGL_KHR_lock_surface, GLEW_EGL_KHR_lock_surface2, GLEW_EGL_KHR_lock_surface3, + GLEW_EGL_KHR_mutable_render_buffer, + GLEW_EGL_KHR_no_config_context, GLEW_EGL_KHR_partial_update, GLEW_EGL_KHR_platform_android, GLEW_EGL_KHR_platform_gbm, @@ -100,6 +128,7 @@ enum GLEW_EGL_FeatureSet GLEW_EGL_KHR_platform_x11, GLEW_EGL_KHR_reusable_sync, GLEW_EGL_KHR_stream, + GLEW_EGL_KHR_stream_attrib, GLEW_EGL_KHR_stream_consumer_gltexture, GLEW_EGL_KHR_stream_cross_process_fd, GLEW_EGL_KHR_stream_fifo, @@ -112,11 +141,14 @@ enum GLEW_EGL_FeatureSet GLEW_EGL_MESA_drm_image, GLEW_EGL_MESA_image_dma_buf_export, GLEW_EGL_MESA_platform_gbm, + GLEW_EGL_MESA_platform_surfaceless, + GLEW_EGL_MESA_query_driver, GLEW_EGL_NOK_swap_region, GLEW_EGL_NOK_swap_region2, GLEW_EGL_NOK_texture_from_pixmap, GLEW_EGL_NV_3dvision_surface, GLEW_EGL_NV_coverage_sample, + GLEW_EGL_NV_context_priority_realtime, GLEW_EGL_NV_coverage_sample_resolve, GLEW_EGL_NV_cuda_event, GLEW_EGL_NV_depth_nonlinear, @@ -124,13 +156,41 @@ enum GLEW_EGL_FeatureSet GLEW_EGL_NV_native_query, GLEW_EGL_NV_post_convert_rounding, GLEW_EGL_NV_post_sub_buffer, + GLEW_EGL_NV_quadruple_buffer, + GLEW_EGL_NV_robustness_video_memory_purge, GLEW_EGL_NV_stream_consumer_gltexture_yuv, + GLEW_EGL_NV_stream_cross_object, + GLEW_EGL_NV_stream_cross_display, + GLEW_EGL_NV_stream_cross_partition, + GLEW_EGL_NV_stream_cross_process, + GLEW_EGL_NV_stream_cross_system, + GLEW_EGL_NV_stream_dma, + GLEW_EGL_NV_stream_consumer_eglimage, + GLEW_EGL_NV_stream_fifo_next, + GLEW_EGL_NV_stream_fifo_synchronous, + GLEW_EGL_NV_stream_flush, + GLEW_EGL_NV_stream_frame_limits, GLEW_EGL_NV_stream_metadata, + GLEW_EGL_NV_stream_reset, + GLEW_EGL_NV_stream_remote, + GLEW_EGL_NV_stream_socket, + GLEW_EGL_NV_stream_socket_inet, + GLEW_EGL_NV_stream_socket_unix, GLEW_EGL_NV_stream_sync, GLEW_EGL_NV_sync, GLEW_EGL_NV_system_time, + GLEW_EGL_NV_triple_buffer, GLEW_EGL_TIZEN_image_native_buffer, GLEW_EGL_TIZEN_image_native_surface, + GLEW_EGL_EXT_compositor, + GLEW_EGL_EXT_surface_CTA861_3_metadata, + GLEW_EGL_EXT_image_implicit_sync_control, + GLEW_EGL_EXT_bind_to_front, + GLEW_EGL_NV_stream_origin, + GLEW_EGL_WL_bind_wayland_display, + GLEW_EGL_WL_create_wayland_buffer_from_image, + GLEW_EGL_ARM_image_format, + GLEW_EGL_EXT_device_query_name, GLEW_EGL_FeatureSetCount }; @@ -183,8 +243,18 @@ typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMWINDOWSURFACEPROC) /* eglCr typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC) /* eglCreatePlatformPixmapSurface */ (EGLDisplay dpy, EGLConfig config, void * native_pixmap, const EGLAttrib * attrib_list); typedef EGLBoolean (EGLAPIENTRYP PFNEGLWAITSYNCPROC) /* eglWaitSync */ (EGLDisplay dpy, EGLSync sync, EGLint flags); typedef void (EGLAPIENTRYP PFNEGLSETBLOBCACHEFUNCSANDROIDPROC) /* eglSetBlobCacheFuncsANDROID */ (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); +typedef EGLClientBuffer (EGLAPIENTRYP PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC) /* eglCreateNativeClientBufferANDROID */ (const EGLint * attrib_list); +typedef EGLClientBuffer (EGLAPIENTRYP PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC) /* eglGetNativeClientBufferANDROID */ (const struct AHardwareBuffer * buffer); typedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC) /* eglDupNativeFenceFDANDROID */ (EGLDisplay dpy, EGLSyncKHR sync); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLPRESENTATIONTIMEANDROIDPROC) /* eglPresentationTimeANDROID */ (EGLDisplay dpy, EGLSurface surface, EGLnsecsANDROID time); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC) /* eglGetCompositorTimingSupportedANDROID */ (EGLDisplay dpy, EGLSurface surface, EGLint name); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETCOMPOSITORTIMINGANDROIDPROC) /* eglGetCompositorTimingANDROID */ (EGLDisplay dpy, EGLSurface surface, EGLint numTimestamps, const EGLint * names, EGLnsecsANDROID * values); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETNEXTFRAMEIDANDROIDPROC) /* eglGetNextFrameIdANDROID */ (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR * frameId); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC) /* eglGetFrameTimestampSupportedANDROID */ (EGLDisplay dpy, EGLSurface surface, EGLint timestamp); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETFRAMETIMESTAMPSANDROIDPROC) /* eglGetFrameTimestampsANDROID */ (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR frameId, EGLint numTimestamps, const EGLint * timestamps, EGLnsecsANDROID * values); typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) /* eglQuerySurfacePointerANGLE */ (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void ** value); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETMSCRATEANGLEPROC) /* eglGetMscRateANGLE */ (EGLDisplay dpy, EGLSurface surface, EGLint * numerator, EGLint * denominator); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCLIENTSIGNALSYNCEXTPROC) /* eglClientSignalSyncEXT */ (EGLDisplay dpy, EGLSync sync, const EGLAttrib * attrib_list); typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICEATTRIBEXTPROC) /* eglQueryDeviceAttribEXT */ (EGLDeviceEXT device, EGLint attribute, EGLAttrib * value); typedef const char * (EGLAPIENTRYP PFNEGLQUERYDEVICESTRINGEXTPROC) /* eglQueryDeviceStringEXT */ (EGLDeviceEXT device, EGLint name); typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) /* eglQueryDevicesEXT */ (EGLint max_devices, EGLDeviceEXT * devices, EGLint * num_devices); @@ -193,6 +263,8 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) /* eglQueryDevicesEX typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICEATTRIBEXTPROC) /* eglQueryDeviceAttribEXT */ (EGLDeviceEXT device, EGLint attribute, EGLAttrib * value); typedef const char * (EGLAPIENTRYP PFNEGLQUERYDEVICESTRINGEXTPROC) /* eglQueryDeviceStringEXT */ (EGLDeviceEXT device, EGLint name); typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBEXTPROC) /* eglQueryDisplayAttribEXT */ (EGLDisplay dpy, EGLint attribute, EGLAttrib * value); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDMABUFFORMATSEXTPROC) /* eglQueryDmaBufFormatsEXT */ (EGLDisplay dpy, EGLint max_formats, EGLint * formats, EGLint * num_formats); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDMABUFMODIFIERSEXTPROC) /* eglQueryDmaBufModifiersEXT */ (EGLDisplay dpy, EGLint format, EGLint max_modifiers, EGLuint64KHR * modifiers, EGLBoolean * external_only, EGLint * num_modifiers); typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETOUTPUTLAYERSEXTPROC) /* eglGetOutputLayersEXT */ (EGLDisplay dpy, const EGLAttrib * attrib_list, EGLOutputLayerEXT * layers, EGLint max_layers, EGLint * num_layers); typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETOUTPUTPORTSEXTPROC) /* eglGetOutputPortsEXT */ (EGLDisplay dpy, const EGLAttrib * attrib_list, EGLOutputPortEXT * ports, EGLint max_ports, EGLint * num_ports); typedef EGLBoolean (EGLAPIENTRYP PFNEGLOUTPUTLAYERATTRIBEXTPROC) /* eglOutputLayerAttribEXT */ (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value); @@ -205,12 +277,14 @@ typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC) /* eglGetPlatf typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC) /* eglCreatePlatformWindowSurfaceEXT */ (EGLDisplay dpy, EGLConfig config, void * native_window, const EGLint * attrib_list); typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC) /* eglCreatePlatformPixmapSurfaceEXT */ (EGLDisplay dpy, EGLConfig config, void * native_pixmap, const EGLint * attrib_list); typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMEROUTPUTEXTPROC) /* eglStreamConsumerOutputEXT */ (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) /* eglSwapBuffersWithDamageEXT */ (EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) /* eglSwapBuffersWithDamageEXT */ (EGLDisplay dpy, EGLSurface surface, const EGLint * rects, EGLint n_rects); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNSIGNALSYNCEXTPROC) /* eglUnsignalSyncEXT */ (EGLDisplay dpy, EGLSync sync, const EGLAttrib * attrib_list); typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEHIPROC) /* eglCreatePixmapSurfaceHI */ (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI * pixmap); typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNC64KHRPROC) /* eglCreateSync64KHR */ (EGLDisplay dpy, EGLenum type, const EGLAttribKHR * attrib_list); typedef EGLint (EGLAPIENTRYP PFNEGLDEBUGMESSAGECONTROLKHRPROC) /* eglDebugMessageControlKHR */ (EGLDEBUGPROCKHR callback, const EGLAttrib * attrib_list); typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEBUGKHRPROC) /* eglQueryDebugKHR */ (EGLint attribute, EGLAttrib * value); typedef EGLint (EGLAPIENTRYP PFNEGLLABELOBJECTKHRPROC) /* eglLabelObjectKHR */ (EGLDisplay display, EGLenum objectType, EGLObjectKHR object, EGLLabelKHR label); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBKHRPROC) /* eglQueryDisplayAttribKHR */ (EGLDisplay dpy, EGLint name, EGLAttrib * value); typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) /* eglCreateSyncKHR */ (EGLDisplay dpy, EGLenum type, const EGLint * attrib_list); typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) /* eglDestroySyncKHR */ (EGLDisplay dpy, EGLSyncKHR sync); typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) /* eglClientWaitSyncKHR */ (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); @@ -235,6 +309,11 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSTREAMKHRPROC) /* eglDestroyStream typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMATTRIBKHRPROC) /* eglStreamAttribKHR */ (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value); typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMKHRPROC) /* eglQueryStreamKHR */ (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint * value); typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMU64KHRPROC) /* eglQueryStreamu64KHR */ (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR * value); +typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMATTRIBKHRPROC) /* eglCreateStreamAttribKHR */ (EGLDisplay dpy, const EGLAttrib * attrib_list); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETSTREAMATTRIBKHRPROC) /* eglSetStreamAttribKHR */ (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib value); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMATTRIBKHRPROC) /* eglQueryStreamAttribKHR */ (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib * value); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC) /* eglStreamConsumerAcquireAttribKHR */ (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib * attrib_list); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC) /* eglStreamConsumerReleaseAttribKHR */ (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib * attrib_list); typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC) /* eglStreamConsumerGLTextureExternalKHR */ (EGLDisplay dpy, EGLStreamKHR stream); typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREKHRPROC) /* eglStreamConsumerAcquireKHR */ (EGLDisplay dpy, EGLStreamKHR stream); typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERRELEASEKHRPROC) /* eglStreamConsumerReleaseKHR */ (EGLDisplay dpy, EGLStreamKHR stream); @@ -242,22 +321,30 @@ typedef EGLNativeFileDescriptorKHR (EGLAPIENTRYP PFNEGLGETSTREAMFILEDESCRIPTORKH typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC) /* eglCreateStreamFromFileDescriptorKHR */ (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMTIMEKHRPROC) /* eglQueryStreamTimeKHR */ (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR * value); typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC) /* eglCreateStreamProducerSurfaceKHR */ (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint * attrib_list); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) /* eglSwapBuffersWithDamageKHR */ (EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) /* eglSwapBuffersWithDamageKHR */ (EGLDisplay dpy, EGLSurface surface, const EGLint * rects, EGLint n_rects); typedef EGLint (EGLAPIENTRYP PFNEGLWAITSYNCKHRPROC) /* eglWaitSyncKHR */ (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEDRMIMAGEMESAPROC) /* eglCreateDRMImageMESA */ (EGLDisplay dpy, const EGLint * attrib_list); typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDRMIMAGEMESAPROC) /* eglExportDRMImageMESA */ (EGLDisplay dpy, EGLImageKHR image, EGLint * name, EGLint * handle, EGLint * stride); typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC) /* eglExportDMABUFImageQueryMESA */ (EGLDisplay dpy, EGLImageKHR image, int * fourcc, int * num_planes, EGLuint64KHR * modifiers); typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDMABUFIMAGEMESAPROC) /* eglExportDMABUFImageMESA */ (EGLDisplay dpy, EGLImageKHR image, int * fds, EGLint * strides, EGLint * offsets); +typedef char * (EGLAPIENTRYP PFNEGLGETDISPLAYDRIVERCONFIGPROC) /* eglGetDisplayDriverConfig */ (EGLDisplay dpy); +typedef const char * (EGLAPIENTRYP PFNEGLGETDISPLAYDRIVERNAMEPROC) /* eglGetDisplayDriverName */ (EGLDisplay dpy); typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOKPROC) /* eglSwapBuffersRegionNOK */ (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint * rects); typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGION2NOKPROC) /* eglSwapBuffersRegion2NOK */ (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint * rects); typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEDISPLAYNVPROC) /* eglQueryNativeDisplayNV */ (EGLDisplay dpy, EGLNativeDisplayType * display_id); typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEWINDOWNVPROC) /* eglQueryNativeWindowNV */ (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType * window); typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEPIXMAPNVPROC) /* eglQueryNativePixmapNV */ (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType * pixmap); typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) /* eglPostSubBufferNV */ (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC) /* eglStreamConsumerGLTextureExternalAttribsNV */ (EGLDisplay dpy, EGLStreamKHR stream, EGLAttrib * attrib_list); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC) /* eglStreamConsumerGLTextureExternalAttribsNV */ (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib * attrib_list); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC) /* eglStreamImageConsumerConnectNV */ (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, EGLuint64KHR * modifiers, EGLAttrib * attrib_list); +typedef EGLint (EGLAPIENTRYP PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC) /* eglQueryStreamConsumerEventNV */ (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum * event, EGLAttrib * aux); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMACQUIREIMAGENVPROC) /* eglStreamAcquireImageNV */ (EGLDisplay dpy, EGLStreamKHR stream, EGLImage * pImage, EGLSync sync); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMRELEASEIMAGENVPROC) /* eglStreamReleaseImageNV */ (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMFLUSHNVPROC) /* eglStreamFlushNV */ (EGLDisplay dpy, EGLStreamKHR stream); typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBNVPROC) /* eglQueryDisplayAttribNV */ (EGLDisplay dpy, EGLint attribute, EGLAttrib * value); typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETSTREAMMETADATANVPROC) /* eglSetStreamMetadataNV */ (EGLDisplay dpy, EGLStreamKHR stream, EGLint n, EGLint offset, EGLint size, const void * data); typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMMETADATANVPROC) /* eglQueryStreamMetadataNV */ (EGLDisplay dpy, EGLStreamKHR stream, EGLenum name, EGLint n, EGLint offset, EGLint size, void * data); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLRESETSTREAMNVPROC) /* eglResetStreamNV */ (EGLDisplay dpy, EGLStreamKHR stream); typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESTREAMSYNCNVPROC) /* eglCreateStreamSyncNV */ (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint * attrib_list); typedef EGLSyncNV (EGLAPIENTRYP PFNEGLCREATEFENCESYNCNVPROC) /* eglCreateFenceSyncNV */ (EGLDisplay dpy, EGLenum condition, const EGLint * attrib_list); typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCNVPROC) /* eglDestroySyncNV */ (EGLSyncNV sync); @@ -267,6 +354,17 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCNVPROC) /* eglSignalSyncNV */ ( typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) /* eglGetSyncAttribNV */ (EGLSyncNV sync, EGLint attribute, EGLint * value); typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC) /* eglGetSystemTimeFrequencyNV */ (); typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC) /* eglGetSystemTimeNV */ (); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC) /* eglCompositorSetContextListEXT */ (const EGLint * external_ref_ids, EGLint num_entries); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC) /* eglCompositorSetContextAttributesEXT */ (EGLint external_ref_id, const EGLint * context_attributes, EGLint num_entries); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC) /* eglCompositorSetWindowListEXT */ (EGLint external_ref_id, const EGLint * external_win_ids, EGLint num_entries); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC) /* eglCompositorSetWindowAttributesEXT */ (EGLint external_win_id, const EGLint * window_attributes, EGLint num_entries); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC) /* eglCompositorBindTexWindowEXT */ (EGLint external_win_id); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSETSIZEEXTPROC) /* eglCompositorSetSizeEXT */ (EGLint external_win_id, EGLint width, EGLint height); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOMPOSITORSWAPPOLICYEXTPROC) /* eglCompositorSwapPolicyEXT */ (EGLint external_win_id, EGLint policy); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDWAYLANDDISPLAYWLPROC) /* eglBindWaylandDisplayWL */ (EGLDisplay dpy, struct wl_display * display); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNBINDWAYLANDDISPLAYWLPROC) /* eglUnbindWaylandDisplayWL */ (EGLDisplay dpy, struct wl_display * display); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWLPROC) /* eglQueryWaylandBufferWL */ (EGLDisplay dpy, struct wl_resource * buffer, EGLint attribute, EGLint * value); +typedef struct wl_buffer * (EGLAPIENTRYP PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC) /* eglCreateWaylandBufferFromImageWL */ (EGLDisplay dpy, EGLImageKHR image); //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -314,12 +412,24 @@ namespace glew PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC m_eglCreatePlatformPixmapSurface; PFNEGLWAITSYNCPROC m_eglWaitSync; PFNEGLSETBLOBCACHEFUNCSANDROIDPROC m_eglSetBlobCacheFuncsANDROID; + PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC m_eglCreateNativeClientBufferANDROID; + PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC m_eglGetNativeClientBufferANDROID; PFNEGLDUPNATIVEFENCEFDANDROIDPROC m_eglDupNativeFenceFDANDROID; + PFNEGLPRESENTATIONTIMEANDROIDPROC m_eglPresentationTimeANDROID; + PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC m_eglGetCompositorTimingSupportedANDROID; + PFNEGLGETCOMPOSITORTIMINGANDROIDPROC m_eglGetCompositorTimingANDROID; + PFNEGLGETNEXTFRAMEIDANDROIDPROC m_eglGetNextFrameIdANDROID; + PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC m_eglGetFrameTimestampSupportedANDROID; + PFNEGLGETFRAMETIMESTAMPSANDROIDPROC m_eglGetFrameTimestampsANDROID; PFNEGLQUERYSURFACEPOINTERANGLEPROC m_eglQuerySurfacePointerANGLE; + PFNEGLGETMSCRATEANGLEPROC m_eglGetMscRateANGLE; + PFNEGLCLIENTSIGNALSYNCEXTPROC m_eglClientSignalSyncEXT; PFNEGLQUERYDEVICEATTRIBEXTPROC m_eglQueryDeviceAttribEXT; PFNEGLQUERYDEVICESTRINGEXTPROC m_eglQueryDeviceStringEXT; PFNEGLQUERYDEVICESEXTPROC m_eglQueryDevicesEXT; PFNEGLQUERYDISPLAYATTRIBEXTPROC m_eglQueryDisplayAttribEXT; + PFNEGLQUERYDMABUFFORMATSEXTPROC m_eglQueryDmaBufFormatsEXT; + PFNEGLQUERYDMABUFMODIFIERSEXTPROC m_eglQueryDmaBufModifiersEXT; PFNEGLGETOUTPUTLAYERSEXTPROC m_eglGetOutputLayersEXT; PFNEGLGETOUTPUTPORTSEXTPROC m_eglGetOutputPortsEXT; PFNEGLOUTPUTLAYERATTRIBEXTPROC m_eglOutputLayerAttribEXT; @@ -333,11 +443,13 @@ namespace glew PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC m_eglCreatePlatformPixmapSurfaceEXT; PFNEGLSTREAMCONSUMEROUTPUTEXTPROC m_eglStreamConsumerOutputEXT; PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC m_eglSwapBuffersWithDamageEXT; + PFNEGLUNSIGNALSYNCEXTPROC m_eglUnsignalSyncEXT; PFNEGLCREATEPIXMAPSURFACEHIPROC m_eglCreatePixmapSurfaceHI; PFNEGLCREATESYNC64KHRPROC m_eglCreateSync64KHR; PFNEGLDEBUGMESSAGECONTROLKHRPROC m_eglDebugMessageControlKHR; PFNEGLQUERYDEBUGKHRPROC m_eglQueryDebugKHR; PFNEGLLABELOBJECTKHRPROC m_eglLabelObjectKHR; + PFNEGLQUERYDISPLAYATTRIBKHRPROC m_eglQueryDisplayAttribKHR; PFNEGLCREATESYNCKHRPROC m_eglCreateSyncKHR; PFNEGLDESTROYSYNCKHRPROC m_eglDestroySyncKHR; PFNEGLCLIENTWAITSYNCKHRPROC m_eglClientWaitSyncKHR; @@ -354,6 +466,11 @@ namespace glew PFNEGLSTREAMATTRIBKHRPROC m_eglStreamAttribKHR; PFNEGLQUERYSTREAMKHRPROC m_eglQueryStreamKHR; PFNEGLQUERYSTREAMU64KHRPROC m_eglQueryStreamu64KHR; + PFNEGLCREATESTREAMATTRIBKHRPROC m_eglCreateStreamAttribKHR; + PFNEGLSETSTREAMATTRIBKHRPROC m_eglSetStreamAttribKHR; + PFNEGLQUERYSTREAMATTRIBKHRPROC m_eglQueryStreamAttribKHR; + PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC m_eglStreamConsumerAcquireAttribKHR; + PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC m_eglStreamConsumerReleaseAttribKHR; PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC m_eglStreamConsumerGLTextureExternalKHR; PFNEGLSTREAMCONSUMERACQUIREKHRPROC m_eglStreamConsumerAcquireKHR; PFNEGLSTREAMCONSUMERRELEASEKHRPROC m_eglStreamConsumerReleaseKHR; @@ -367,6 +484,8 @@ namespace glew PFNEGLEXPORTDRMIMAGEMESAPROC m_eglExportDRMImageMESA; PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC m_eglExportDMABUFImageQueryMESA; PFNEGLEXPORTDMABUFIMAGEMESAPROC m_eglExportDMABUFImageMESA; + PFNEGLGETDISPLAYDRIVERCONFIGPROC m_eglGetDisplayDriverConfig; + PFNEGLGETDISPLAYDRIVERNAMEPROC m_eglGetDisplayDriverName; PFNEGLSWAPBUFFERSREGIONNOKPROC m_eglSwapBuffersRegionNOK; PFNEGLSWAPBUFFERSREGION2NOKPROC m_eglSwapBuffersRegion2NOK; PFNEGLQUERYNATIVEDISPLAYNVPROC m_eglQueryNativeDisplayNV; @@ -374,9 +493,15 @@ namespace glew PFNEGLQUERYNATIVEPIXMAPNVPROC m_eglQueryNativePixmapNV; PFNEGLPOSTSUBBUFFERNVPROC m_eglPostSubBufferNV; PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC m_eglStreamConsumerGLTextureExternalAttribsNV; + PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC m_eglStreamImageConsumerConnectNV; + PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC m_eglQueryStreamConsumerEventNV; + PFNEGLSTREAMACQUIREIMAGENVPROC m_eglStreamAcquireImageNV; + PFNEGLSTREAMRELEASEIMAGENVPROC m_eglStreamReleaseImageNV; + PFNEGLSTREAMFLUSHNVPROC m_eglStreamFlushNV; PFNEGLQUERYDISPLAYATTRIBNVPROC m_eglQueryDisplayAttribNV; PFNEGLSETSTREAMMETADATANVPROC m_eglSetStreamMetadataNV; PFNEGLQUERYSTREAMMETADATANVPROC m_eglQueryStreamMetadataNV; + PFNEGLRESETSTREAMNVPROC m_eglResetStreamNV; PFNEGLCREATESTREAMSYNCNVPROC m_eglCreateStreamSyncNV; PFNEGLCREATEFENCESYNCNVPROC m_eglCreateFenceSyncNV; PFNEGLDESTROYSYNCNVPROC m_eglDestroySyncNV; @@ -386,6 +511,17 @@ namespace glew PFNEGLGETSYNCATTRIBNVPROC m_eglGetSyncAttribNV; PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC m_eglGetSystemTimeFrequencyNV; PFNEGLGETSYSTEMTIMENVPROC m_eglGetSystemTimeNV; + PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC m_eglCompositorSetContextListEXT; + PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC m_eglCompositorSetContextAttributesEXT; + PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC m_eglCompositorSetWindowListEXT; + PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC m_eglCompositorSetWindowAttributesEXT; + PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC m_eglCompositorBindTexWindowEXT; + PFNEGLCOMPOSITORSETSIZEEXTPROC m_eglCompositorSetSizeEXT; + PFNEGLCOMPOSITORSWAPPOLICYEXTPROC m_eglCompositorSwapPolicyEXT; + PFNEGLBINDWAYLANDDISPLAYWLPROC m_eglBindWaylandDisplayWL; + PFNEGLUNBINDWAYLANDDISPLAYWLPROC m_eglUnbindWaylandDisplayWL; + PFNEGLQUERYWAYLANDBUFFERWLPROC m_eglQueryWaylandBufferWL; + PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC m_eglCreateWaylandBufferFromImageWL; }; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -466,12 +602,24 @@ GLEW_API EGLSurface GLEW_APIENTRY _glew_egl_eglCreatePlatformWindowSurface (EGLD GLEW_API EGLSurface GLEW_APIENTRY _glew_egl_eglCreatePlatformPixmapSurface (EGLDisplay dpy, EGLConfig config, void * native_pixmap, const EGLAttrib * attrib_list); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglWaitSync (EGLDisplay dpy, EGLSync sync, EGLint flags); GLEW_API void GLEW_APIENTRY _glew_egl_eglSetBlobCacheFuncsANDROID (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); +GLEW_API EGLClientBuffer GLEW_APIENTRY _glew_egl_eglCreateNativeClientBufferANDROID (const EGLint * attrib_list); +GLEW_API EGLClientBuffer GLEW_APIENTRY _glew_egl_eglGetNativeClientBufferANDROID (const struct AHardwareBuffer * buffer); GLEW_API EGLint GLEW_APIENTRY _glew_egl_eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR sync); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglPresentationTimeANDROID (EGLDisplay dpy, EGLSurface surface, EGLnsecsANDROID time); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglGetCompositorTimingSupportedANDROID (EGLDisplay dpy, EGLSurface surface, EGLint name); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglGetCompositorTimingANDROID (EGLDisplay dpy, EGLSurface surface, EGLint numTimestamps, const EGLint * names, EGLnsecsANDROID * values); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglGetNextFrameIdANDROID (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR * frameId); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglGetFrameTimestampSupportedANDROID (EGLDisplay dpy, EGLSurface surface, EGLint timestamp); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglGetFrameTimestampsANDROID (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR frameId, EGLint numTimestamps, const EGLint * timestamps, EGLnsecsANDROID * values); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void ** value); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglGetMscRateANGLE (EGLDisplay dpy, EGLSurface surface, EGLint * numerator, EGLint * denominator); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglClientSignalSyncEXT (EGLDisplay dpy, EGLSync sync, const EGLAttrib * attrib_list); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryDeviceAttribEXT (EGLDeviceEXT device, EGLint attribute, EGLAttrib * value); GLEW_API const char * GLEW_APIENTRY _glew_egl_eglQueryDeviceStringEXT (EGLDeviceEXT device, EGLint name); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT * devices, EGLint * num_devices); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint attribute, EGLAttrib * value); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryDmaBufFormatsEXT (EGLDisplay dpy, EGLint max_formats, EGLint * formats, EGLint * num_formats); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryDmaBufModifiersEXT (EGLDisplay dpy, EGLint format, EGLint max_modifiers, EGLuint64KHR * modifiers, EGLBoolean * external_only, EGLint * num_modifiers); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglGetOutputLayersEXT (EGLDisplay dpy, const EGLAttrib * attrib_list, EGLOutputLayerEXT * layers, EGLint max_layers, EGLint * num_layers); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglGetOutputPortsEXT (EGLDisplay dpy, const EGLAttrib * attrib_list, EGLOutputPortEXT * ports, EGLint max_ports, EGLint * num_ports); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value); @@ -484,12 +632,14 @@ GLEW_API EGLDisplay GLEW_APIENTRY _glew_egl_eglGetPlatformDisplayEXT (EGLenum pl GLEW_API EGLSurface GLEW_APIENTRY _glew_egl_eglCreatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void * native_window, const EGLint * attrib_list); GLEW_API EGLSurface GLEW_APIENTRY _glew_egl_eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void * native_pixmap, const EGLint * attrib_list); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer); -GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, const EGLint * rects, EGLint n_rects); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglUnsignalSyncEXT (EGLDisplay dpy, EGLSync sync, const EGLAttrib * attrib_list); GLEW_API EGLSurface GLEW_APIENTRY _glew_egl_eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI * pixmap); GLEW_API EGLSyncKHR GLEW_APIENTRY _glew_egl_eglCreateSync64KHR (EGLDisplay dpy, EGLenum type, const EGLAttribKHR * attrib_list); GLEW_API EGLint GLEW_APIENTRY _glew_egl_eglDebugMessageControlKHR (EGLDEBUGPROCKHR callback, const EGLAttrib * attrib_list); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryDebugKHR (EGLint attribute, EGLAttrib * value); GLEW_API EGLint GLEW_APIENTRY _glew_egl_eglLabelObjectKHR (EGLDisplay display, EGLenum objectType, EGLObjectKHR object, EGLLabelKHR label); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryDisplayAttribKHR (EGLDisplay dpy, EGLint name, EGLAttrib * value); GLEW_API EGLSyncKHR GLEW_APIENTRY _glew_egl_eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint * attrib_list); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync); GLEW_API EGLint GLEW_APIENTRY _glew_egl_eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); @@ -506,6 +656,11 @@ GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglDestroyStreamKHR (EGLDisplay dpy, GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint * value); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR * value); +GLEW_API EGLStreamKHR GLEW_APIENTRY _glew_egl_eglCreateStreamAttribKHR (EGLDisplay dpy, const EGLAttrib * attrib_list); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglSetStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib value); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib * value); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglStreamConsumerAcquireAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib * attrib_list); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglStreamConsumerReleaseAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib * attrib_list); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglStreamConsumerGLTextureExternalKHR (EGLDisplay dpy, EGLStreamKHR stream); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglStreamConsumerAcquireKHR (EGLDisplay dpy, EGLStreamKHR stream); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLStreamKHR stream); @@ -513,22 +668,30 @@ GLEW_API EGLNativeFileDescriptorKHR GLEW_APIENTRY _glew_egl_eglGetStreamFileDesc GLEW_API EGLStreamKHR GLEW_APIENTRY _glew_egl_eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryStreamTimeKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR * value); GLEW_API EGLSurface GLEW_APIENTRY _glew_egl_eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint * attrib_list); -GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, const EGLint * rects, EGLint n_rects); GLEW_API EGLint GLEW_APIENTRY _glew_egl_eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); GLEW_API EGLImageKHR GLEW_APIENTRY _glew_egl_eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint * attrib_list); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint * name, EGLint * handle, EGLint * stride); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglExportDMABUFImageQueryMESA (EGLDisplay dpy, EGLImageKHR image, int * fourcc, int * num_planes, EGLuint64KHR * modifiers); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglExportDMABUFImageMESA (EGLDisplay dpy, EGLImageKHR image, int * fds, EGLint * strides, EGLint * offsets); +GLEW_API char * GLEW_APIENTRY _glew_egl_eglGetDisplayDriverConfig (EGLDisplay dpy); +GLEW_API const char * GLEW_APIENTRY _glew_egl_eglGetDisplayDriverName (EGLDisplay dpy); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint * rects); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint * rects); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryNativeDisplayNV (EGLDisplay dpy, EGLNativeDisplayType * display_id); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType * window); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType * pixmap); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); -GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglStreamConsumerGLTextureExternalAttribsNV (EGLDisplay dpy, EGLStreamKHR stream, EGLAttrib * attrib_list); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglStreamConsumerGLTextureExternalAttribsNV (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib * attrib_list); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglStreamImageConsumerConnectNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, EGLuint64KHR * modifiers, EGLAttrib * attrib_list); +GLEW_API EGLint GLEW_APIENTRY _glew_egl_eglQueryStreamConsumerEventNV (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum * event, EGLAttrib * aux); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglStreamAcquireImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage * pImage, EGLSync sync); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglStreamReleaseImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglStreamFlushNV (EGLDisplay dpy, EGLStreamKHR stream); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryDisplayAttribNV (EGLDisplay dpy, EGLint attribute, EGLAttrib * value); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglSetStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint n, EGLint offset, EGLint size, const void * data); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum name, EGLint n, EGLint offset, EGLint size, void * data); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglResetStreamNV (EGLDisplay dpy, EGLStreamKHR stream); GLEW_API EGLSyncKHR GLEW_APIENTRY _glew_egl_eglCreateStreamSyncNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint * attrib_list); GLEW_API EGLSyncNV GLEW_APIENTRY _glew_egl_eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint * attrib_list); GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglDestroySyncNV (EGLSyncNV sync); @@ -538,6 +701,17 @@ GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglSignalSyncNV (EGLSyncNV sync, EGL GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint * value); GLEW_API EGLuint64NV GLEW_APIENTRY _glew_egl_eglGetSystemTimeFrequencyNV (); GLEW_API EGLuint64NV GLEW_APIENTRY _glew_egl_eglGetSystemTimeNV (); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglCompositorSetContextListEXT (const EGLint * external_ref_ids, EGLint num_entries); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglCompositorSetContextAttributesEXT (EGLint external_ref_id, const EGLint * context_attributes, EGLint num_entries); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglCompositorSetWindowListEXT (EGLint external_ref_id, const EGLint * external_win_ids, EGLint num_entries); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglCompositorSetWindowAttributesEXT (EGLint external_win_id, const EGLint * window_attributes, EGLint num_entries); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglCompositorBindTexWindowEXT (EGLint external_win_id); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglCompositorSetSizeEXT (EGLint external_win_id, EGLint width, EGLint height); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglCompositorSwapPolicyEXT (EGLint external_win_id, EGLint policy); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglBindWaylandDisplayWL (EGLDisplay dpy, struct wl_display * display); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglUnbindWaylandDisplayWL (EGLDisplay dpy, struct wl_display * display); +GLEW_API EGLBoolean GLEW_APIENTRY _glew_egl_eglQueryWaylandBufferWL (EGLDisplay dpy, struct wl_resource * buffer, EGLint attribute, EGLint * value); +GLEW_API struct wl_buffer * GLEW_APIENTRY _glew_egl_eglCreateWaylandBufferFromImageWL (EGLDisplay dpy, EGLImageKHR image); //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -564,12 +738,24 @@ GLEW_API EGLuint64NV GLEW_APIENTRY _glew_egl_eglGetSystemTimeNV (); #define eglCreatePlatformPixmapSurface _glew_egl_eglCreatePlatformPixmapSurface #define eglWaitSync _glew_egl_eglWaitSync #define eglSetBlobCacheFuncsANDROID _glew_egl_eglSetBlobCacheFuncsANDROID +#define eglCreateNativeClientBufferANDROID _glew_egl_eglCreateNativeClientBufferANDROID +#define eglGetNativeClientBufferANDROID _glew_egl_eglGetNativeClientBufferANDROID #define eglDupNativeFenceFDANDROID _glew_egl_eglDupNativeFenceFDANDROID +#define eglPresentationTimeANDROID _glew_egl_eglPresentationTimeANDROID +#define eglGetCompositorTimingSupportedANDROID _glew_egl_eglGetCompositorTimingSupportedANDROID +#define eglGetCompositorTimingANDROID _glew_egl_eglGetCompositorTimingANDROID +#define eglGetNextFrameIdANDROID _glew_egl_eglGetNextFrameIdANDROID +#define eglGetFrameTimestampSupportedANDROID _glew_egl_eglGetFrameTimestampSupportedANDROID +#define eglGetFrameTimestampsANDROID _glew_egl_eglGetFrameTimestampsANDROID #define eglQuerySurfacePointerANGLE _glew_egl_eglQuerySurfacePointerANGLE +#define eglGetMscRateANGLE _glew_egl_eglGetMscRateANGLE +#define eglClientSignalSyncEXT _glew_egl_eglClientSignalSyncEXT #define eglQueryDeviceAttribEXT _glew_egl_eglQueryDeviceAttribEXT #define eglQueryDeviceStringEXT _glew_egl_eglQueryDeviceStringEXT #define eglQueryDevicesEXT _glew_egl_eglQueryDevicesEXT #define eglQueryDisplayAttribEXT _glew_egl_eglQueryDisplayAttribEXT +#define eglQueryDmaBufFormatsEXT _glew_egl_eglQueryDmaBufFormatsEXT +#define eglQueryDmaBufModifiersEXT _glew_egl_eglQueryDmaBufModifiersEXT #define eglGetOutputLayersEXT _glew_egl_eglGetOutputLayersEXT #define eglGetOutputPortsEXT _glew_egl_eglGetOutputPortsEXT #define eglOutputLayerAttribEXT _glew_egl_eglOutputLayerAttribEXT @@ -583,11 +769,13 @@ GLEW_API EGLuint64NV GLEW_APIENTRY _glew_egl_eglGetSystemTimeNV (); #define eglCreatePlatformPixmapSurfaceEXT _glew_egl_eglCreatePlatformPixmapSurfaceEXT #define eglStreamConsumerOutputEXT _glew_egl_eglStreamConsumerOutputEXT #define eglSwapBuffersWithDamageEXT _glew_egl_eglSwapBuffersWithDamageEXT +#define eglUnsignalSyncEXT _glew_egl_eglUnsignalSyncEXT #define eglCreatePixmapSurfaceHI _glew_egl_eglCreatePixmapSurfaceHI #define eglCreateSync64KHR _glew_egl_eglCreateSync64KHR #define eglDebugMessageControlKHR _glew_egl_eglDebugMessageControlKHR #define eglQueryDebugKHR _glew_egl_eglQueryDebugKHR #define eglLabelObjectKHR _glew_egl_eglLabelObjectKHR +#define eglQueryDisplayAttribKHR _glew_egl_eglQueryDisplayAttribKHR #define eglCreateSyncKHR _glew_egl_eglCreateSyncKHR #define eglDestroySyncKHR _glew_egl_eglDestroySyncKHR #define eglClientWaitSyncKHR _glew_egl_eglClientWaitSyncKHR @@ -604,6 +792,11 @@ GLEW_API EGLuint64NV GLEW_APIENTRY _glew_egl_eglGetSystemTimeNV (); #define eglStreamAttribKHR _glew_egl_eglStreamAttribKHR #define eglQueryStreamKHR _glew_egl_eglQueryStreamKHR #define eglQueryStreamu64KHR _glew_egl_eglQueryStreamu64KHR +#define eglCreateStreamAttribKHR _glew_egl_eglCreateStreamAttribKHR +#define eglSetStreamAttribKHR _glew_egl_eglSetStreamAttribKHR +#define eglQueryStreamAttribKHR _glew_egl_eglQueryStreamAttribKHR +#define eglStreamConsumerAcquireAttribKHR _glew_egl_eglStreamConsumerAcquireAttribKHR +#define eglStreamConsumerReleaseAttribKHR _glew_egl_eglStreamConsumerReleaseAttribKHR #define eglStreamConsumerGLTextureExternalKHR _glew_egl_eglStreamConsumerGLTextureExternalKHR #define eglStreamConsumerAcquireKHR _glew_egl_eglStreamConsumerAcquireKHR #define eglStreamConsumerReleaseKHR _glew_egl_eglStreamConsumerReleaseKHR @@ -617,6 +810,8 @@ GLEW_API EGLuint64NV GLEW_APIENTRY _glew_egl_eglGetSystemTimeNV (); #define eglExportDRMImageMESA _glew_egl_eglExportDRMImageMESA #define eglExportDMABUFImageQueryMESA _glew_egl_eglExportDMABUFImageQueryMESA #define eglExportDMABUFImageMESA _glew_egl_eglExportDMABUFImageMESA +#define eglGetDisplayDriverConfig _glew_egl_eglGetDisplayDriverConfig +#define eglGetDisplayDriverName _glew_egl_eglGetDisplayDriverName #define eglSwapBuffersRegionNOK _glew_egl_eglSwapBuffersRegionNOK #define eglSwapBuffersRegion2NOK _glew_egl_eglSwapBuffersRegion2NOK #define eglQueryNativeDisplayNV _glew_egl_eglQueryNativeDisplayNV @@ -624,9 +819,15 @@ GLEW_API EGLuint64NV GLEW_APIENTRY _glew_egl_eglGetSystemTimeNV (); #define eglQueryNativePixmapNV _glew_egl_eglQueryNativePixmapNV #define eglPostSubBufferNV _glew_egl_eglPostSubBufferNV #define eglStreamConsumerGLTextureExternalAttribsNV _glew_egl_eglStreamConsumerGLTextureExternalAttribsNV +#define eglStreamImageConsumerConnectNV _glew_egl_eglStreamImageConsumerConnectNV +#define eglQueryStreamConsumerEventNV _glew_egl_eglQueryStreamConsumerEventNV +#define eglStreamAcquireImageNV _glew_egl_eglStreamAcquireImageNV +#define eglStreamReleaseImageNV _glew_egl_eglStreamReleaseImageNV +#define eglStreamFlushNV _glew_egl_eglStreamFlushNV #define eglQueryDisplayAttribNV _glew_egl_eglQueryDisplayAttribNV #define eglSetStreamMetadataNV _glew_egl_eglSetStreamMetadataNV #define eglQueryStreamMetadataNV _glew_egl_eglQueryStreamMetadataNV +#define eglResetStreamNV _glew_egl_eglResetStreamNV #define eglCreateStreamSyncNV _glew_egl_eglCreateStreamSyncNV #define eglCreateFenceSyncNV _glew_egl_eglCreateFenceSyncNV #define eglDestroySyncNV _glew_egl_eglDestroySyncNV @@ -636,13 +837,24 @@ GLEW_API EGLuint64NV GLEW_APIENTRY _glew_egl_eglGetSystemTimeNV (); #define eglGetSyncAttribNV _glew_egl_eglGetSyncAttribNV #define eglGetSystemTimeFrequencyNV _glew_egl_eglGetSystemTimeFrequencyNV #define eglGetSystemTimeNV _glew_egl_eglGetSystemTimeNV +#define eglCompositorSetContextListEXT _glew_egl_eglCompositorSetContextListEXT +#define eglCompositorSetContextAttributesEXT _glew_egl_eglCompositorSetContextAttributesEXT +#define eglCompositorSetWindowListEXT _glew_egl_eglCompositorSetWindowListEXT +#define eglCompositorSetWindowAttributesEXT _glew_egl_eglCompositorSetWindowAttributesEXT +#define eglCompositorBindTexWindowEXT _glew_egl_eglCompositorBindTexWindowEXT +#define eglCompositorSetSizeEXT _glew_egl_eglCompositorSetSizeEXT +#define eglCompositorSwapPolicyEXT _glew_egl_eglCompositorSwapPolicyEXT +#define eglBindWaylandDisplayWL _glew_egl_eglBindWaylandDisplayWL +#define eglUnbindWaylandDisplayWL _glew_egl_eglUnbindWaylandDisplayWL +#define eglQueryWaylandBufferWL _glew_egl_eglQueryWaylandBufferWL +#define eglCreateWaylandBufferFromImageWL _glew_egl_eglCreateWaylandBufferFromImageWL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUC__ -#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 +#if defined(__GNUC__) +#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 #pragma GCC diagnostic pop // push/pop not available before GCC 4.6 #endif #endif diff --git a/include/wrangle-gl.h b/include/wrangle-gl.h index 87f7a68..29c0156 100644 --- a/include/wrangle-gl.h +++ b/include/wrangle-gl.h @@ -33,7 +33,7 @@ // GLAPI is defined to 'extern' in // Prevents duplicate 'extern' on GLEW_EXTERN_C GLAPI definitions. #ifndef GLAPI -#define GLAPI +#define GLAPI #endif //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -70,7 +70,7 @@ typedef void* GLeglImageOES; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #if defined(__GNUC__) -#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 +#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 #pragma GCC diagnostic push // push/pop not available before GCC 4.6 #endif #pragma GCC diagnostic ignored "-Wunused-function" @@ -100,6 +100,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_VERSION_4_3, GLEW_GL_VERSION_4_4, GLEW_GL_VERSION_4_5, + GLEW_GL_VERSION_4_6, GLEW_GL_ES_VERSION_2_0, GLEW_GL_ES_VERSION_3_0, GLEW_GL_ES_VERSION_3_1, @@ -114,7 +115,11 @@ enum GLEW_GL_FeatureSet GLEW_GL_AMD_debug_output, GLEW_GL_AMD_depth_clamp_separate, GLEW_GL_AMD_draw_buffers_blend, + GLEW_GL_AMD_framebuffer_multisample_advanced, + GLEW_GL_AMD_framebuffer_sample_positions, GLEW_GL_AMD_gcn_shader, + GLEW_GL_AMD_gpu_shader_half_float, + GLEW_GL_AMD_gpu_shader_int16, GLEW_GL_AMD_gpu_shader_int64, GLEW_GL_AMD_interleaved_elements, GLEW_GL_AMD_multi_draw_indirect, @@ -127,10 +132,15 @@ enum GLEW_GL_FeatureSet GLEW_GL_AMD_sample_positions, GLEW_GL_AMD_seamless_cubemap_per_texture, GLEW_GL_AMD_shader_atomic_counter_ops, + GLEW_GL_AMD_shader_ballot, + GLEW_GL_AMD_shader_gpu_shader_half_float_fetch, + GLEW_GL_AMD_shader_image_load_store_lod, GLEW_GL_AMD_shader_stencil_export, GLEW_GL_AMD_shader_trinary_minmax, + GLEW_GL_AMD_shader_explicit_vertex_parameter, GLEW_GL_AMD_sparse_texture, GLEW_GL_AMD_stencil_operation_extended, + GLEW_GL_AMD_texture_gather_bias_lod, GLEW_GL_AMD_texture_texture4, GLEW_GL_AMD_transform_feedback3_lines_triangles, GLEW_GL_AMD_transform_feedback4, @@ -221,6 +231,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_ARB_geometry_shader4, GLEW_GL_ARB_get_program_binary, GLEW_GL_ARB_get_texture_sub_image, + GLEW_GL_ARB_gl_spirv, GLEW_GL_ARB_gpu_shader5, GLEW_GL_ARB_gpu_shader_fp64, GLEW_GL_ARB_gpu_shader_int64, @@ -246,6 +257,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_ARB_pixel_buffer_object, GLEW_GL_ARB_point_parameters, GLEW_GL_ARB_point_sprite, + GLEW_GL_ARB_polygon_offset_clamp, GLEW_GL_ARB_post_depth_coverage, GLEW_GL_ARB_program_interface_query, GLEW_GL_ARB_provoking_vertex, @@ -286,6 +298,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_ARB_sparse_texture, GLEW_GL_ARB_sparse_texture2, GLEW_GL_ARB_sparse_texture_clamp, + GLEW_GL_ARB_spirv_extensions, GLEW_GL_ARB_stencil_texturing, GLEW_GL_ARB_sync, GLEW_GL_ARB_tessellation_shader, @@ -303,6 +316,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_ARB_texture_env_combine, GLEW_GL_ARB_texture_env_crossbar, GLEW_GL_ARB_texture_env_dot3, + GLEW_GL_ARB_texture_filter_anisotropic, GLEW_GL_ARB_texture_filter_minmax, GLEW_GL_ARB_texture_float, GLEW_GL_ARB_texture_gather, @@ -344,6 +358,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_ARM_rgba8, GLEW_GL_ARM_shader_framebuffer_fetch, GLEW_GL_ARM_shader_framebuffer_fetch_depth_stencil, + GLEW_GL_ARM_texture_unnormalized_coordinates, GLEW_GL_ATI_draw_buffers, GLEW_GL_ATI_element_array, GLEW_GL_ATI_envmap_bumpmap, @@ -363,6 +378,9 @@ enum GLEW_GL_FeatureSet GLEW_GL_DMP_program_binary, GLEW_GL_DMP_shader_binary, GLEW_GL_EXT_422_pixels, + GLEW_GL_EXT_EGL_image_array, + GLEW_GL_EXT_EGL_image_storage, + GLEW_GL_EXT_EGL_sync, GLEW_GL_EXT_YUV_target, GLEW_GL_EXT_abgr, GLEW_GL_EXT_base_instance, @@ -376,12 +394,16 @@ enum GLEW_GL_FeatureSet GLEW_GL_EXT_blend_minmax, GLEW_GL_EXT_blend_subtract, GLEW_GL_EXT_buffer_storage, + GLEW_GL_EXT_clear_texture, + GLEW_GL_EXT_clip_control, + GLEW_GL_EXT_clip_cull_distance, GLEW_GL_EXT_clip_volume_hint, GLEW_GL_EXT_cmyka, GLEW_GL_EXT_color_buffer_float, GLEW_GL_EXT_color_buffer_half_float, GLEW_GL_EXT_color_subtable, GLEW_GL_EXT_compiled_vertex_array, + GLEW_GL_EXT_conservative_depth, GLEW_GL_EXT_convolution, GLEW_GL_EXT_coordinate_frame, GLEW_GL_EXT_copy_image, @@ -390,6 +412,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_EXT_debug_label, GLEW_GL_EXT_debug_marker, GLEW_GL_EXT_depth_bounds_test, + GLEW_GL_EXT_depth_clamp, GLEW_GL_EXT_direct_state_access, GLEW_GL_EXT_discard_framebuffer, GLEW_GL_EXT_disjoint_timer_query, @@ -399,6 +422,8 @@ enum GLEW_GL_FeatureSet GLEW_GL_EXT_draw_elements_base_vertex, GLEW_GL_EXT_draw_instanced, GLEW_GL_EXT_draw_range_elements, + GLEW_GL_EXT_draw_transform_feedback, + GLEW_GL_EXT_external_buffer, GLEW_GL_EXT_float_blend, GLEW_GL_EXT_fog_coord, GLEW_GL_EXT_framebuffer_blit, @@ -420,13 +445,20 @@ enum GLEW_GL_FeatureSet GLEW_GL_EXT_instanced_arrays, GLEW_GL_EXT_light_texture, GLEW_GL_EXT_map_buffer_range, + GLEW_GL_EXT_memory_object, + GLEW_GL_EXT_memory_object_fd, + GLEW_GL_EXT_memory_object_win32, GLEW_GL_EXT_misc_attribute, GLEW_GL_EXT_multi_draw_arrays, GLEW_GL_EXT_multi_draw_indirect, GLEW_GL_EXT_multisample, GLEW_GL_EXT_multisampled_compatibility, GLEW_GL_EXT_multisampled_render_to_texture, + GLEW_GL_EXT_multisampled_render_to_texture2, GLEW_GL_EXT_multiview_draw_buffers, + GLEW_GL_EXT_multiview_tessellation_geometry_shader, + GLEW_GL_EXT_multiview_texture_multisample, + GLEW_GL_EXT_multiview_timer_query, GLEW_GL_EXT_occlusion_query_boolean, GLEW_GL_EXT_packed_depth_stencil, GLEW_GL_EXT_packed_float, @@ -440,6 +472,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_EXT_polygon_offset_clamp, GLEW_GL_EXT_post_depth_coverage, GLEW_GL_EXT_primitive_bounding_box, + GLEW_GL_EXT_protected_textures, GLEW_GL_EXT_provoking_vertex, GLEW_GL_EXT_pvrtc_sRGB, GLEW_GL_EXT_raster_multisample, @@ -447,18 +480,25 @@ enum GLEW_GL_FeatureSet GLEW_GL_EXT_render_snorm, GLEW_GL_EXT_rescale_normal, GLEW_GL_EXT_robustness, + GLEW_GL_EXT_semaphore, + GLEW_GL_EXT_semaphore_fd, + GLEW_GL_EXT_semaphore_win32, GLEW_GL_EXT_sRGB, GLEW_GL_EXT_sRGB_write_control, GLEW_GL_EXT_secondary_color, GLEW_GL_EXT_separate_shader_objects, GLEW_GL_EXT_separate_specular_color, GLEW_GL_EXT_shader_framebuffer_fetch, + GLEW_GL_EXT_shader_framebuffer_fetch_non_coherent, + GLEW_GL_EXT_shader_group_vote, GLEW_GL_EXT_shader_image_load_formatted, GLEW_GL_EXT_shader_image_load_store, GLEW_GL_EXT_shader_implicit_conversions, GLEW_GL_EXT_shader_integer_mix, GLEW_GL_EXT_shader_io_blocks, + GLEW_GL_EXT_shader_non_constant_global_initializers, GLEW_GL_EXT_shader_pixel_local_storage, + GLEW_GL_EXT_shader_pixel_local_storage2, GLEW_GL_EXT_shader_texture_lod, GLEW_GL_EXT_shadow_funcs, GLEW_GL_EXT_shadow_samplers, @@ -477,10 +517,13 @@ enum GLEW_GL_FeatureSet GLEW_GL_EXT_texture_border_clamp, GLEW_GL_EXT_texture_buffer, GLEW_GL_EXT_texture_buffer_object, + GLEW_GL_EXT_texture_compression_astc_decode_mode, + GLEW_GL_EXT_texture_compression_bptc, GLEW_GL_EXT_texture_compression_dxt1, GLEW_GL_EXT_texture_compression_latc, GLEW_GL_EXT_texture_compression_rgtc, GLEW_GL_EXT_texture_compression_s3tc, + GLEW_GL_EXT_texture_compression_s3tc_srgb, GLEW_GL_EXT_texture_cube_map, GLEW_GL_EXT_texture_cube_map_array, GLEW_GL_EXT_texture_env_add, @@ -489,12 +532,15 @@ enum GLEW_GL_FeatureSet GLEW_GL_EXT_texture_filter_anisotropic, GLEW_GL_EXT_texture_filter_minmax, GLEW_GL_EXT_texture_format_BGRA8888, + GLEW_GL_EXT_texture_format_sRGB_override, GLEW_GL_EXT_texture_integer, GLEW_GL_EXT_texture_lod_bias, GLEW_GL_EXT_texture_mirror_clamp, + GLEW_GL_EXT_texture_mirror_clamp_to_edge, GLEW_GL_EXT_texture_norm16, GLEW_GL_EXT_texture_object, GLEW_GL_EXT_texture_perturb_normal, + GLEW_GL_EXT_texture_query_lod, GLEW_GL_EXT_texture_rg, GLEW_GL_EXT_texture_sRGB, GLEW_GL_EXT_texture_sRGB_R8, @@ -506,6 +552,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_EXT_texture_swizzle, GLEW_GL_EXT_texture_type_2_10_10_10_REV, GLEW_GL_EXT_texture_view, + GLEW_GL_NV_timeline_semaphore, GLEW_GL_EXT_timer_query, GLEW_GL_EXT_transform_feedback, GLEW_GL_EXT_unpack_subimage, @@ -514,6 +561,8 @@ enum GLEW_GL_FeatureSet GLEW_GL_EXT_vertex_attrib_64bit, GLEW_GL_EXT_vertex_shader, GLEW_GL_EXT_vertex_weighting, + GLEW_GL_EXT_win32_keyed_mutex, + GLEW_GL_EXT_window_rectangles, GLEW_GL_EXT_x11_sync_object, GLEW_GL_FJ_shader_binary_GCCSO, GLEW_GL_GREMEDY_frame_terminator, @@ -528,6 +577,8 @@ enum GLEW_GL_FeatureSet GLEW_GL_IBM_static_data, GLEW_GL_IBM_texture_mirrored_repeat, GLEW_GL_IBM_vertex_array_lists, + GLEW_GL_IMG_bindless_texture, + GLEW_GL_IMG_framebuffer_downsample, GLEW_GL_IMG_multisampled_render_to_texture, GLEW_GL_IMG_program_binary, GLEW_GL_IMG_read_format, @@ -538,9 +589,11 @@ enum GLEW_GL_FeatureSet GLEW_GL_INGR_blend_func_separate, GLEW_GL_INGR_color_clamp, GLEW_GL_INGR_interlace_read, + GLEW_GL_INTEL_conservative_rasterization, GLEW_GL_INTEL_fragment_shader_ordering, GLEW_GL_INTEL_framebuffer_CMAA, GLEW_GL_INTEL_map_texture, + GLEW_GL_INTEL_blackhole_render, GLEW_GL_INTEL_parallel_arrays, GLEW_GL_INTEL_performance_query, GLEW_GL_KHR_blend_equation_advanced, @@ -550,27 +603,44 @@ enum GLEW_GL_FeatureSet GLEW_GL_KHR_no_error, GLEW_GL_KHR_robust_buffer_access_behavior, GLEW_GL_KHR_robustness, + GLEW_GL_KHR_shader_subgroup, GLEW_GL_KHR_texture_compression_astc_hdr, GLEW_GL_KHR_texture_compression_astc_ldr, GLEW_GL_KHR_texture_compression_astc_sliced_3d, + GLEW_GL_KHR_parallel_shader_compile, GLEW_GL_MESAX_texture_stack, + GLEW_GL_MESA_framebuffer_flip_x, + GLEW_GL_MESA_framebuffer_flip_y, + GLEW_GL_MESA_framebuffer_swap_xy, GLEW_GL_MESA_pack_invert, + GLEW_GL_MESA_program_binary_formats, GLEW_GL_MESA_resize_buffers, + GLEW_GL_MESA_shader_integer_functions, + GLEW_GL_MESA_tile_raster_order, GLEW_GL_MESA_window_pos, GLEW_GL_MESA_ycbcr_texture, + GLEW_GL_NVX_blend_equation_advanced_multi_draw_buffers, GLEW_GL_NVX_conditional_render, GLEW_GL_NVX_gpu_memory_info, + GLEW_GL_NVX_linked_gpu_multicast, + GLEW_GL_NV_alpha_to_coverage_dither_control, GLEW_GL_NV_bindless_multi_draw_indirect, GLEW_GL_NV_bindless_multi_draw_indirect_count, GLEW_GL_NV_bindless_texture, GLEW_GL_NV_blend_equation_advanced, GLEW_GL_NV_blend_equation_advanced_coherent, + GLEW_GL_NV_blend_minmax_factor, GLEW_GL_NV_blend_square, + GLEW_GL_NV_clip_space_w_scaling, GLEW_GL_NV_command_list, GLEW_GL_NV_compute_program5, + GLEW_GL_NV_compute_shader_derivatives, GLEW_GL_NV_conditional_render, GLEW_GL_NV_conservative_raster, GLEW_GL_NV_conservative_raster_dilate, + GLEW_GL_NV_conservative_raster_pre_snap, + GLEW_GL_NV_conservative_raster_pre_snap_triangles, + GLEW_GL_NV_conservative_raster_underestimation, GLEW_GL_NV_copy_buffer, GLEW_GL_NV_copy_depth_to_color, GLEW_GL_NV_copy_image, @@ -582,6 +652,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_NV_draw_buffers, GLEW_GL_NV_draw_instanced, GLEW_GL_NV_draw_texture, + GLEW_GL_NV_draw_vulkan_image, GLEW_GL_NV_evaluators, GLEW_GL_NV_explicit_attrib_location, GLEW_GL_NV_explicit_multisample, @@ -595,6 +666,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_NV_fragment_program2, GLEW_GL_NV_fragment_program4, GLEW_GL_NV_fragment_program_option, + GLEW_GL_NV_fragment_shader_barycentric, GLEW_GL_NV_fragment_shader_interlock, GLEW_GL_NV_framebuffer_blit, GLEW_GL_NV_framebuffer_mixed_samples, @@ -613,6 +685,12 @@ enum GLEW_GL_FeatureSet GLEW_GL_NV_instanced_arrays, GLEW_GL_NV_internalformat_sample_query, GLEW_GL_NV_light_max_exponent, + GLEW_GL_NV_gpu_multicast, + GLEW_GL_NVX_gpu_multicast2, + GLEW_GL_NVX_progress_fence, + GLEW_GL_NV_memory_attachment, + GLEW_GL_NV_memory_object_sparse, + GLEW_GL_NV_mesh_shader, GLEW_GL_NV_multisample_coverage, GLEW_GL_NV_multisample_filter_hint, GLEW_GL_NV_non_square_matrices, @@ -623,10 +701,14 @@ enum GLEW_GL_FeatureSet GLEW_GL_NV_path_rendering, GLEW_GL_NV_path_rendering_shared_edge, GLEW_GL_NV_pixel_data_range, + GLEW_GL_NV_pixel_buffer_object, GLEW_GL_NV_point_sprite, GLEW_GL_NV_polygon_mode, GLEW_GL_NV_present_video, GLEW_GL_NV_primitive_restart, + GLEW_GL_NV_primitive_shading_rate, + GLEW_GL_NV_query_resource, + GLEW_GL_NV_query_resource_tag, GLEW_GL_NV_read_buffer, GLEW_GL_NV_read_buffer_front, GLEW_GL_NV_read_depth, @@ -634,21 +716,29 @@ enum GLEW_GL_FeatureSet GLEW_GL_NV_read_stencil, GLEW_GL_NV_register_combiners, GLEW_GL_NV_register_combiners2, + GLEW_GL_NV_representative_fragment_test, + GLEW_GL_NV_robustness_video_memory_purge, GLEW_GL_NV_sRGB_formats, GLEW_GL_NV_sample_locations, GLEW_GL_NV_sample_mask_override_coverage, + GLEW_GL_NV_scissor_exclusive, GLEW_GL_NV_shader_atomic_counters, GLEW_GL_NV_shader_atomic_float, + GLEW_GL_NV_shader_atomic_float64, GLEW_GL_NV_shader_atomic_fp16_vector, GLEW_GL_NV_shader_atomic_int64, GLEW_GL_NV_shader_buffer_load, GLEW_GL_NV_shader_buffer_store, GLEW_GL_NV_shader_noperspective_interpolation, GLEW_GL_NV_shader_storage_buffer_object, + GLEW_GL_NV_shader_subgroup_partitioned, + GLEW_GL_NV_shader_texture_footprint, GLEW_GL_NV_shader_thread_group, GLEW_GL_NV_shader_thread_shuffle, + GLEW_GL_NV_shading_rate_image, GLEW_GL_NV_shadow_samplers_array, GLEW_GL_NV_shadow_samplers_cube, + GLEW_GL_NV_stereo_view_rendering, GLEW_GL_NV_tessellation_program5, GLEW_GL_NV_texgen_emboss, GLEW_GL_NV_texgen_reflection, @@ -661,6 +751,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_NV_texture_multisample, GLEW_GL_NV_texture_npot_2D_mipmap, GLEW_GL_NV_texture_rectangle, + GLEW_GL_NV_texture_rectangle_compressed, GLEW_GL_NV_texture_shader, GLEW_GL_NV_texture_shader2, GLEW_GL_NV_texture_shader3, @@ -668,6 +759,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_NV_transform_feedback2, GLEW_GL_NV_uniform_buffer_unified_memory, GLEW_GL_NV_vdpau_interop, + GLEW_GL_NV_vdpau_interop2, GLEW_GL_NV_vertex_array_range, GLEW_GL_NV_vertex_array_range2, GLEW_GL_NV_vertex_attrib_integer_64bit, @@ -681,6 +773,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_NV_video_capture, GLEW_GL_NV_viewport_array, GLEW_GL_NV_viewport_array2, + GLEW_GL_NV_viewport_swizzle, GLEW_GL_OES_EGL_image, GLEW_GL_OES_EGL_image_external, GLEW_GL_OES_EGL_image_external_essl3, @@ -737,6 +830,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_OES_vertex_array_object, GLEW_GL_OES_vertex_half_float, GLEW_GL_OES_vertex_type_10_10_10_2, + GLEW_GL_OES_viewport_array, GLEW_GL_OML_interlace, GLEW_GL_OML_resample, GLEW_GL_OML_subsample, @@ -750,9 +844,19 @@ enum GLEW_GL_FeatureSet GLEW_GL_QCOM_driver_control, GLEW_GL_QCOM_extended_get, GLEW_GL_QCOM_extended_get2, + GLEW_GL_QCOM_framebuffer_foveated, + GLEW_GL_QCOM_motion_estimation, + GLEW_GL_QCOM_frame_extrapolation, + GLEW_GL_QCOM_texture_foveated, + GLEW_GL_QCOM_texture_foveated2, + GLEW_GL_QCOM_texture_foveated_subsampled_layout, GLEW_GL_QCOM_perfmon_global_mode, + GLEW_GL_QCOM_shader_framebuffer_fetch_noncoherent, + GLEW_GL_QCOM_shader_framebuffer_fetch_rate, + GLEW_GL_QCOM_shading_rate, GLEW_GL_QCOM_tiled_rendering, GLEW_GL_QCOM_writeonly_rendering, + GLEW_GL_QCOM_YUV_texture_gather, GLEW_GL_REND_screen_coordinates, GLEW_GL_S3_s3tc, GLEW_GL_SGIS_detail_texture, @@ -821,6 +925,7 @@ enum GLEW_GL_FeatureSet GLEW_GL_VIV_shader_binary, GLEW_GL_WIN_phong_shading, GLEW_GL_WIN_specular_fog, + GLEW_GL_EXT_texture_shadow_lod, GLEW_GL_FeatureSetCount }; @@ -874,7 +979,7 @@ GLEW_EXTERN_C GLAPI void APIENTRY glGetTexParameteriv (GLenum target, GLenum pna GLEW_EXTERN_C GLAPI void APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat * params); GLEW_EXTERN_C GLAPI void APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint * params); GLEW_EXTERN_C GLAPI GLboolean APIENTRY glIsEnabled (GLenum cap); -GLEW_EXTERN_C GLAPI void APIENTRY glDepthRange (GLdouble near, GLdouble far); +GLEW_EXTERN_C GLAPI void APIENTRY glDepthRange (GLdouble n, GLdouble f); GLEW_EXTERN_C GLAPI void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); GLEW_EXTERN_C GLAPI void APIENTRY glNewList (GLuint list, GLenum mode); GLEW_EXTERN_C GLAPI void APIENTRY glEndList (); @@ -1489,7 +1594,7 @@ typedef void (APIENTRYP PFNGLDELETESYNCPROC) /* glDeleteSync */ (GLsync sync); typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) /* glClientWaitSync */ (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (APIENTRYP PFNGLWAITSYNCPROC) /* glWaitSync */ (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) /* glGetInteger64v */ (GLenum pname, GLint64 * data); -typedef void (APIENTRYP PFNGLGETSYNCIVPROC) /* glGetSynciv */ (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); +typedef void (APIENTRYP PFNGLGETSYNCIVPROC) /* glGetSynciv */ (GLsync sync, GLenum pname, GLsizei count, GLsizei * length, GLint * values); typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) /* glGetInteger64i_v */ (GLenum target, GLuint index, GLint64 * data); typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) /* glGetBufferParameteri64v */ (GLenum target, GLenum pname, GLint64 * params); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) /* glFramebufferTexture */ (GLenum target, GLenum attachment, GLuint texture, GLint level); @@ -1583,8 +1688,8 @@ typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) /* glGetUniformdv */ (GLuint prog typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) /* glGetSubroutineUniformLocation */ (GLuint program, GLenum shadertype, const GLchar * name); typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) /* glGetSubroutineIndex */ (GLuint program, GLenum shadertype, const GLchar * name); typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) /* glGetActiveSubroutineUniformiv */ (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint * values); -typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) /* glGetActiveSubroutineUniformName */ (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name); -typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) /* glGetActiveSubroutineName */ (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name); +typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) /* glGetActiveSubroutineUniformName */ (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); +typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) /* glGetActiveSubroutineName */ (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) /* glUniformSubroutinesuiv */ (GLenum shadertype, GLsizei count, const GLuint * indices); typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) /* glGetUniformSubroutineuiv */ (GLenum shadertype, GLint location, GLuint * params); typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) /* glGetProgramStageiv */ (GLuint program, GLenum shadertype, GLenum pname, GLint * values); @@ -1602,7 +1707,7 @@ typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) /* glBeginQueryIndexed */ (G typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) /* glEndQueryIndexed */ (GLenum target, GLuint index); typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) /* glGetQueryIndexediv */ (GLenum target, GLuint index, GLenum pname, GLint * params); typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) /* glReleaseShaderCompiler */ (); -typedef void (APIENTRYP PFNGLSHADERBINARYPROC) /* glShaderBinary */ (GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length); +typedef void (APIENTRYP PFNGLSHADERBINARYPROC) /* glShaderBinary */ (GLsizei count, const GLuint * shaders, GLenum binaryFormat, const void * binary, GLsizei length); typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) /* glGetShaderPrecisionFormat */ (GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) /* glDepthRangef */ (GLfloat n, GLfloat f); typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) /* glClearDepthf */ (GLfloat d); @@ -1617,6 +1722,7 @@ typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) /* glDeleteProgramPipel typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) /* glGenProgramPipelines */ (GLsizei n, GLuint * pipelines); typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) /* glIsProgramPipeline */ (GLuint pipeline); typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) /* glGetProgramPipelineiv */ (GLuint pipeline, GLenum pname, GLint * params); +typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) /* glProgramParameteri */ (GLuint program, GLenum pname, GLint value); typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) /* glProgramUniform1i */ (GLuint program, GLint location, GLint v0); typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) /* glProgramUniform1iv */ (GLuint program, GLint location, GLsizei count, const GLint * value); typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) /* glProgramUniform1f */ (GLuint program, GLint location, GLfloat v0); @@ -1692,7 +1798,7 @@ typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) /* glGetDoublei_v */ (GLenum targ typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) /* glDrawArraysInstancedBaseInstance */ (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) /* glDrawElementsInstancedBaseInstance */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLuint baseinstance); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) /* glDrawElementsInstancedBaseVertexBaseInstance */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); -typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) /* glGetInternalformativ */ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params); +typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) /* glGetInternalformativ */ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint * params); typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) /* glGetActiveAtomicCounterBufferiv */ (GLuint program, GLuint bufferIndex, GLenum pname, GLint * params); typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) /* glBindImageTexture */ (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) /* glMemoryBarrier */ (GLbitfield barriers); @@ -1708,7 +1814,7 @@ typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) /* glDispatchComputeIn typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) /* glCopyImageSubData */ (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) /* glFramebufferParameteri */ (GLenum target, GLenum pname, GLint param); typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) /* glGetFramebufferParameteriv */ (GLenum target, GLenum pname, GLint * params); -typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) /* glGetInternalformati64v */ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 * params); +typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) /* glGetInternalformati64v */ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 * params); typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) /* glInvalidateTexSubImage */ (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) /* glInvalidateTexImage */ (GLuint texture, GLint level); typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) /* glInvalidateBufferSubData */ (GLuint buffer, GLintptr offset, GLsizeiptr length); @@ -1720,7 +1826,7 @@ typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) /* glMultiDrawElemen typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) /* glGetProgramInterfaceiv */ (GLuint program, GLenum programInterface, GLenum pname, GLint * params); typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) /* glGetProgramResourceIndex */ (GLuint program, GLenum programInterface, const GLchar * name); typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) /* glGetProgramResourceName */ (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); -typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) /* glGetProgramResourceiv */ (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) /* glGetProgramResourceiv */ (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei count, GLsizei * length, GLint * params); typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) /* glGetProgramResourceLocation */ (GLuint program, GLenum programInterface, const GLchar * name); typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) /* glGetProgramResourceLocationIndex */ (GLuint program, GLenum programInterface, const GLchar * name); typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) /* glShaderStorageBlockBinding */ (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); @@ -1745,7 +1851,6 @@ typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) /* glGetObjectLabel */ (GLenum typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) /* glObjectPtrLabel */ (const void * ptr, GLsizei length, const GLchar * label); typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) /* glGetObjectPtrLabel */ (const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label); typedef void (APIENTRYP PFNGLGETPOINTERVPROC) /* glGetPointerv */ (GLenum pname, void ** params); -typedef void (APIENTRYP PFNGLGETPOINTERVPROC) /* glGetPointerv */ (GLenum pname, void ** params); typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) /* glBufferStorage */ (GLenum target, GLsizeiptr size, const void * data, GLbitfield flags); typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) /* glClearTexImage */ (GLuint texture, GLint level, GLenum format, GLenum type, const void * data); typedef void (APIENTRYP PFNGLCLEARTEXSUBIMAGEPROC) /* glClearTexSubImage */ (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); @@ -1877,6 +1982,10 @@ typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERPROC) /* glGetnSeparableFilter * typedef void (APIENTRYP PFNGLGETNHISTOGRAMPROC) /* glGetnHistogram */ (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void * values); typedef void (APIENTRYP PFNGLGETNMINMAXPROC) /* glGetnMinmax */ (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void * values); typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) /* glTextureBarrier */ (); +typedef void (APIENTRYP PFNGLSPECIALIZESHADERPROC) /* glSpecializeShader */ (GLuint shader, const GLchar * pEntryPoint, GLuint numSpecializationConstants, const GLuint * pConstantIndex, const GLuint * pConstantValue); +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC) /* glMultiDrawArraysIndirectCount */ (GLenum mode, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC) /* glMultiDrawElementsIndirectCount */ (GLenum mode, GLenum type, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPPROC) /* glPolygonOffsetClamp */ (GLfloat factor, GLfloat units, GLfloat clamp); typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) /* glActiveTexture */ (GLenum texture); typedef void (APIENTRYP PFNGLATTACHSHADERPROC) /* glAttachShader */ (GLuint program, GLuint shader); typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) /* glBindAttribLocation */ (GLuint program, GLuint index, const GLchar * name); @@ -1948,7 +2057,7 @@ typedef void (APIENTRYP PFNGLPOLYGONOFFSETPROC) /* glPolygonOffset */ (GLfloat f typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) /* glReleaseShaderCompiler */ (); typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) /* glRenderbufferStorage */ (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) /* glSampleCoverage */ (GLfloat value, GLboolean invert); -typedef void (APIENTRYP PFNGLSHADERBINARYPROC) /* glShaderBinary */ (GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length); +typedef void (APIENTRYP PFNGLSHADERBINARYPROC) /* glShaderBinary */ (GLsizei count, const GLuint * shaders, GLenum binaryFormat, const void * binary, GLsizei length); typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) /* glShaderSource */ (GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length); typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) /* glStencilFuncSeparate */ (GLenum face, GLenum func, GLint ref, GLuint mask); typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) /* glStencilMaskSeparate */ (GLenum face, GLuint mask); @@ -2059,7 +2168,7 @@ typedef void (APIENTRYP PFNGLDELETESYNCPROC) /* glDeleteSync */ (GLsync sync); typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) /* glClientWaitSync */ (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (APIENTRYP PFNGLWAITSYNCPROC) /* glWaitSync */ (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) /* glGetInteger64v */ (GLenum pname, GLint64 * data); -typedef void (APIENTRYP PFNGLGETSYNCIVPROC) /* glGetSynciv */ (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); +typedef void (APIENTRYP PFNGLGETSYNCIVPROC) /* glGetSynciv */ (GLsync sync, GLenum pname, GLsizei count, GLsizei * length, GLint * values); typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) /* glGetInteger64i_v */ (GLenum target, GLuint index, GLint64 * data); typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) /* glGetBufferParameteri64v */ (GLenum target, GLenum pname, GLint64 * params); typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) /* glGenSamplers */ (GLsizei count, GLuint * samplers); @@ -2086,7 +2195,7 @@ typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) /* glInvalidateFramebuff typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) /* glInvalidateSubFramebuffer */ (GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) /* glTexStorage2D */ (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) /* glTexStorage3D */ (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) /* glGetInternalformativ */ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params); +typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) /* glGetInternalformativ */ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint * params); typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) /* glDispatchCompute */ (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) /* glDispatchComputeIndirect */ (GLintptr indirect); typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) /* glDrawArraysIndirect */ (GLenum mode, const void * indirect); @@ -2096,7 +2205,7 @@ typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) /* glGetFramebufferP typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) /* glGetProgramInterfaceiv */ (GLuint program, GLenum programInterface, GLenum pname, GLint * params); typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) /* glGetProgramResourceIndex */ (GLuint program, GLenum programInterface, const GLchar * name); typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) /* glGetProgramResourceName */ (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); -typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) /* glGetProgramResourceiv */ (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) /* glGetProgramResourceiv */ (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei count, GLsizei * length, GLint * params); typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) /* glGetProgramResourceLocation */ (GLuint program, GLenum programInterface, const GLchar * name); typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) /* glUseProgramStages */ (GLuint pipeline, GLbitfield stages, GLuint program); typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) /* glActiveShaderProgram */ (GLuint pipeline, GLuint program); @@ -2201,11 +2310,17 @@ typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) /* glTbufferMask3DFX */ (GLuin typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) /* glDebugMessageEnableAMD */ (GLenum category, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) /* glDebugMessageInsertAMD */ (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar * buf); typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) /* glDebugMessageCallbackAMD */ (GLDEBUGPROCAMD callback, void * userParam); -typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) /* glGetDebugMessageLogAMD */ (GLuint count, GLsizei bufsize, GLenum * categories, GLuint * severities, GLuint * ids, GLsizei * lengths, GLchar * message); +typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) /* glGetDebugMessageLogAMD */ (GLuint count, GLsizei bufSize, GLenum * categories, GLuint * severities, GLuint * ids, GLsizei * lengths, GLchar * message); typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) /* glBlendFuncIndexedAMD */ (GLuint buf, GLenum src, GLenum dst); typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) /* glBlendFuncSeparateIndexedAMD */ (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) /* glBlendEquationIndexedAMD */ (GLuint buf, GLenum mode); typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) /* glBlendEquationSeparateIndexedAMD */ (GLuint buf, GLenum modeRGB, GLenum modeAlpha); +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) /* glRenderbufferStorageMultisampleAdvancedAMD */ (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) /* glNamedRenderbufferStorageMultisampleAdvancedAMD */ (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) /* glFramebufferSamplePositionsfvAMD */ (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat * values); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) /* glNamedFramebufferSamplePositionsfvAMD */ (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat * values); +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC) /* glGetFramebufferParameterfvAMD */ (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat * values); +typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC) /* glGetNamedFramebufferParameterfvAMD */ (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat * values); typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) /* glUniform1i64NV */ (GLint location, GLint64EXT x); typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) /* glUniform2i64NV */ (GLint location, GLint64EXT x, GLint64EXT y); typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) /* glUniform3i64NV */ (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); @@ -2269,7 +2384,7 @@ typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) /* glRende typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) /* glDrawArraysInstancedANGLE */ (GLenum mode, GLint first, GLsizei count, GLsizei primcount); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) /* glDrawElementsInstancedANGLE */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) /* glVertexAttribDivisorANGLE */ (GLuint index, GLuint divisor); -typedef void (APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) /* glGetTranslatedShaderSourceANGLE */ (GLuint shader, GLsizei bufsize, GLsizei * length, GLchar * source); +typedef void (APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) /* glGetTranslatedShaderSourceANGLE */ (GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source); typedef void (APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) /* glCopyTextureLevelsAPPLE */ (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) /* glElementPointerAPPLE */ (GLenum type, const void * pointer); typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) /* glDrawElementArrayAPPLE */ (GLenum mode, GLint first, GLsizei count); @@ -2297,7 +2412,7 @@ typedef void (APIENTRYP PFNGLDELETESYNCAPPLEPROC) /* glDeleteSyncAPPLE */ (GLsyn typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) /* glClientWaitSyncAPPLE */ (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (APIENTRYP PFNGLWAITSYNCAPPLEPROC) /* glWaitSyncAPPLE */ (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) /* glGetInteger64vAPPLE */ (GLenum pname, GLint64 * params); -typedef void (APIENTRYP PFNGLGETSYNCIVAPPLEPROC) /* glGetSyncivAPPLE */ (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); +typedef void (APIENTRYP PFNGLGETSYNCIVAPPLEPROC) /* glGetSyncivAPPLE */ (GLsync sync, GLenum pname, GLsizei count, GLsizei * length, GLint * values); typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) /* glTextureRangeAPPLE */ (GLenum target, GLsizei length, const void * pointer); typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) /* glGetTexParameterPointervAPPLE */ (GLenum target, GLenum pname, void ** params); typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) /* glBindVertexArrayAPPLE */ (GLuint array); @@ -2315,7 +2430,7 @@ typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) /* glMapVertexAttrib1fA typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) /* glMapVertexAttrib2dAPPLE */ (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points); typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) /* glMapVertexAttrib2fAPPLE */ (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points); typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) /* glReleaseShaderCompiler */ (); -typedef void (APIENTRYP PFNGLSHADERBINARYPROC) /* glShaderBinary */ (GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length); +typedef void (APIENTRYP PFNGLSHADERBINARYPROC) /* glShaderBinary */ (GLsizei count, const GLuint * shaders, GLenum binaryFormat, const void * binary, GLsizei length); typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) /* glGetShaderPrecisionFormat */ (GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) /* glDepthRangef */ (GLfloat n, GLfloat f); typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) /* glClearDepthf */ (GLfloat d); @@ -2519,6 +2634,7 @@ typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) /* glProgramBinary */ (GLuint pr typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) /* glProgramParameteri */ (GLuint program, GLenum pname, GLint value); typedef void (APIENTRYP PFNGLGETTEXTURESUBIMAGEPROC) /* glGetTextureSubImage */ (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void * pixels); typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) /* glGetCompressedTextureSubImage */ (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void * pixels); +typedef void (APIENTRYP PFNGLSPECIALIZESHADERARBPROC) /* glSpecializeShaderARB */ (GLuint shader, const GLchar * pEntryPoint, GLuint numSpecializationConstants, const GLuint * pConstantIndex, const GLuint * pConstantValue); typedef void (APIENTRYP PFNGLUNIFORM1DPROC) /* glUniform1d */ (GLint location, GLdouble x); typedef void (APIENTRYP PFNGLUNIFORM2DPROC) /* glUniform2d */ (GLint location, GLdouble x, GLdouble y); typedef void (APIENTRYP PFNGLUNIFORM3DPROC) /* glUniform3d */ (GLint location, GLdouble x, GLdouble y, GLdouble z); @@ -2607,11 +2723,11 @@ typedef void (APIENTRYP PFNGLHISTOGRAMPROC) /* glHistogram */ (GLenum target, GL typedef void (APIENTRYP PFNGLMINMAXPROC) /* glMinmax */ (GLenum target, GLenum internalformat, GLboolean sink); typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) /* glResetHistogram */ (GLenum target); typedef void (APIENTRYP PFNGLRESETMINMAXPROC) /* glResetMinmax */ (GLenum target); -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) /* glMultiDrawArraysIndirectCountARB */ (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) /* glMultiDrawElementsIndirectCountARB */ (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) /* glMultiDrawArraysIndirectCountARB */ (GLenum mode, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) /* glMultiDrawElementsIndirectCountARB */ (GLenum mode, GLenum type, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) /* glVertexAttribDivisorARB */ (GLuint index, GLuint divisor); -typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) /* glGetInternalformativ */ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params); -typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) /* glGetInternalformati64v */ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 * params); +typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) /* glGetInternalformativ */ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint * params); +typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) /* glGetInternalformati64v */ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 * params); typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) /* glInvalidateTexSubImage */ (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) /* glInvalidateTexImage */ (GLuint texture, GLint level); typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) /* glInvalidateBufferSubData */ (GLuint buffer, GLintptr offset, GLsizeiptr length); @@ -2679,10 +2795,11 @@ typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) /* glGetQueryObjectuivARB typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSARBPROC) /* glMaxShaderCompilerThreadsARB */ (GLuint count); typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) /* glPointParameterfARB */ (GLenum pname, GLfloat param); typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) /* glPointParameterfvARB */ (GLenum pname, const GLfloat * params); +typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPPROC) /* glPolygonOffsetClamp */ (GLfloat factor, GLfloat units, GLfloat clamp); typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) /* glGetProgramInterfaceiv */ (GLuint program, GLenum programInterface, GLenum pname, GLint * params); typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) /* glGetProgramResourceIndex */ (GLuint program, GLenum programInterface, const GLchar * name); typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) /* glGetProgramResourceName */ (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); -typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) /* glGetProgramResourceiv */ (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) /* glGetProgramResourceiv */ (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei count, GLsizei * length, GLint * params); typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) /* glGetProgramResourceLocation */ (GLuint program, GLenum programInterface, const GLchar * name); typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) /* glGetProgramResourceLocationIndex */ (GLuint program, GLenum programInterface, const GLchar * name); typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) /* glProvokingVertex */ (GLenum mode); @@ -2732,6 +2849,7 @@ typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) /* glDeleteProgramPipel typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) /* glGenProgramPipelines */ (GLsizei n, GLuint * pipelines); typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) /* glIsProgramPipeline */ (GLuint pipeline); typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) /* glGetProgramPipelineiv */ (GLuint pipeline, GLenum pname, GLint * params); +typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) /* glProgramParameteri */ (GLuint program, GLenum pname, GLint value); typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) /* glProgramUniform1i */ (GLuint program, GLint location, GLint v0); typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) /* glProgramUniform1iv */ (GLuint program, GLint location, GLsizei count, const GLint * value); typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) /* glProgramUniform1f */ (GLuint program, GLint location, GLfloat v0); @@ -2830,8 +2948,8 @@ typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) /* glShaderStorageBl typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) /* glGetSubroutineUniformLocation */ (GLuint program, GLenum shadertype, const GLchar * name); typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) /* glGetSubroutineIndex */ (GLuint program, GLenum shadertype, const GLchar * name); typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) /* glGetActiveSubroutineUniformiv */ (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint * values); -typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) /* glGetActiveSubroutineUniformName */ (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name); -typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) /* glGetActiveSubroutineName */ (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name); +typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) /* glGetActiveSubroutineUniformName */ (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); +typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) /* glGetActiveSubroutineName */ (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) /* glUniformSubroutinesuiv */ (GLenum shadertype, GLsizei count, const GLuint * indices); typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) /* glGetUniformSubroutineuiv */ (GLenum shadertype, GLint location, GLuint * params); typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) /* glGetProgramStageiv */ (GLuint program, GLenum shadertype, GLenum pname, GLint * values); @@ -2851,7 +2969,7 @@ typedef void (APIENTRYP PFNGLDELETESYNCPROC) /* glDeleteSync */ (GLsync sync); typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) /* glClientWaitSync */ (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (APIENTRYP PFNGLWAITSYNCPROC) /* glWaitSync */ (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) /* glGetInteger64v */ (GLenum pname, GLint64 * data); -typedef void (APIENTRYP PFNGLGETSYNCIVPROC) /* glGetSynciv */ (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); +typedef void (APIENTRYP PFNGLGETSYNCIVPROC) /* glGetSynciv */ (GLsync sync, GLenum pname, GLsizei count, GLsizei * length, GLint * values); typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) /* glPatchParameteri */ (GLenum pname, GLint value); typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) /* glPatchParameterfv */ (GLenum pname, const GLfloat * values); typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) /* glTextureBarrier */ (); @@ -3101,6 +3219,8 @@ typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) /* glDepthRangeArrayv */ (GLu typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) /* glDepthRangeIndexed */ (GLuint index, GLdouble n, GLdouble f); typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) /* glGetFloati_v */ (GLenum target, GLuint index, GLfloat * data); typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) /* glGetDoublei_v */ (GLenum target, GLuint index, GLdouble * data); +typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYDVNVPROC) /* glDepthRangeArraydvNV */ (GLuint first, GLsizei count, const GLdouble * v); +typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDDNVPROC) /* glDepthRangeIndexeddNV */ (GLuint index, GLdouble n, GLdouble f); typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) /* glWindowPos2dARB */ (GLdouble x, GLdouble y); typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) /* glWindowPos2dvARB */ (const GLdouble * v); typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) /* glWindowPos2fARB */ (GLfloat x, GLfloat y); @@ -3205,6 +3325,8 @@ typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) /* glNormalStream3dvATI */ typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) /* glClientActiveVertexStreamATI */ (GLenum stream); typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) /* glVertexBlendEnviATI */ (GLenum pname, GLint param); typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) /* glVertexBlendEnvfATI */ (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) /* glEGLImageTargetTexStorageEXT */ (GLenum target, GLeglImageOES image, const GLint* attrib_list); +typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) /* glEGLImageTargetTextureStorageEXT */ (GLuint texture, GLeglImageOES image, const GLint* attrib_list); typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC) /* glDrawArraysInstancedBaseInstanceEXT */ (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC) /* glDrawElementsInstancedBaseInstanceEXT */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLuint baseinstance); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC) /* glDrawElementsInstancedBaseVertexBaseInstanceEXT */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); @@ -3220,6 +3342,9 @@ typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXEXTPROC) /* glGetFragDataIndexEXT typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) /* glBlendFuncSeparateEXT */ (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) /* glBlendEquationEXT */ (GLenum mode); typedef void (APIENTRYP PFNGLBUFFERSTORAGEEXTPROC) /* glBufferStorageEXT */ (GLenum target, GLsizeiptr size, const void * data, GLbitfield flags); +typedef void (APIENTRYP PFNGLCLEARTEXIMAGEEXTPROC) /* glClearTexImageEXT */ (GLuint texture, GLint level, GLenum format, GLenum type, const void * data); +typedef void (APIENTRYP PFNGLCLEARTEXSUBIMAGEEXTPROC) /* glClearTexSubImageEXT */ (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); +typedef void (APIENTRYP PFNGLCLIPCONTROLEXTPROC) /* glClipControlEXT */ (GLenum origin, GLenum depth); typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) /* glColorSubTableEXT */ (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void * data); typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) /* glCopyColorSubTableEXT */ (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) /* glLockArraysEXT */ (GLint first, GLsizei count); @@ -3540,6 +3665,7 @@ typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) /* glGetQueryObjectivEXT * typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) /* glGetQueryObjectuivEXT */ (GLuint id, GLenum pname, GLuint * params); typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) /* glGetQueryObjecti64vEXT */ (GLuint id, GLenum pname, GLint64 * params); typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) /* glGetQueryObjectui64vEXT */ (GLuint id, GLenum pname, GLuint64 * params); +typedef void (APIENTRYP PFNGLGETINTEGER64VEXTPROC) /* glGetInteger64vEXT */ (GLenum pname, GLint64 * data); typedef void (APIENTRYP PFNGLDRAWBUFFERSEXTPROC) /* glDrawBuffersEXT */ (GLsizei n, const GLenum * bufs); typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) /* glColorMaskIndexedEXT */ (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) /* glGetBooleanIndexedvEXT */ (GLenum target, GLuint index, GLboolean * data); @@ -3558,10 +3684,14 @@ typedef GLboolean (APIENTRYP PFNGLISENABLEDIEXTPROC) /* glIsEnablediEXT */ (GLen typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXEXTPROC) /* glDrawElementsBaseVertexEXT */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex); typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC) /* glDrawRangeElementsBaseVertexEXT */ (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC) /* glDrawElementsInstancedBaseVertexEXT */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) /* glMultiDrawElementsBaseVertexEXT */ (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, const GLint * basevertex); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) /* glMultiDrawElementsBaseVertexEXT */ (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount, const GLint * basevertex); typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) /* glDrawArraysInstancedEXT */ (GLenum mode, GLint start, GLsizei count, GLsizei primcount); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) /* glDrawElementsInstancedEXT */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) /* glDrawRangeElementsEXT */ (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices); +typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKEXTPROC) /* glDrawTransformFeedbackEXT */ (GLenum mode, GLuint id); +typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC) /* glDrawTransformFeedbackInstancedEXT */ (GLenum mode, GLuint id, GLsizei instancecount); +typedef void (APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) /* glBufferStorageExternalEXT */ (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) /* glNamedBufferStorageExternalEXT */ (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) /* glFogCoordfEXT */ (GLfloat coord); typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) /* glFogCoordfvEXT */ (const GLfloat * coord); typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) /* glFogCoorddEXT */ (GLdouble coord); @@ -3621,6 +3751,28 @@ typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) /* glTextureLightEXT */ (GLenu typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) /* glTextureMaterialEXT */ (GLenum face, GLenum mode); typedef void * (APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) /* glMapBufferRangeEXT */ (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) /* glFlushMappedBufferRangeEXT */ (GLenum target, GLintptr offset, GLsizeiptr length); +typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) /* glGetUnsignedBytevEXT */ (GLenum pname, GLubyte * data); +typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) /* glGetUnsignedBytei_vEXT */ (GLenum target, GLuint index, GLubyte * data); +typedef void (APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) /* glDeleteMemoryObjectsEXT */ (GLsizei n, const GLuint * memoryObjects); +typedef GLboolean (APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) /* glIsMemoryObjectEXT */ (GLuint memoryObject); +typedef void (APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) /* glCreateMemoryObjectsEXT */ (GLsizei n, GLuint * memoryObjects); +typedef void (APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) /* glMemoryObjectParameterivEXT */ (GLuint memoryObject, GLenum pname, const GLint * params); +typedef void (APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) /* glGetMemoryObjectParameterivEXT */ (GLuint memoryObject, GLenum pname, GLint * params); +typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) /* glTexStorageMem2DEXT */ (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) /* glTexStorageMem2DMultisampleEXT */ (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) /* glTexStorageMem3DEXT */ (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) /* glTexStorageMem3DMultisampleEXT */ (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) /* glBufferStorageMemEXT */ (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) /* glTextureStorageMem2DEXT */ (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) /* glTextureStorageMem2DMultisampleEXT */ (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) /* glTextureStorageMem3DEXT */ (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) /* glTextureStorageMem3DMultisampleEXT */ (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) /* glNamedBufferStorageMemEXT */ (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXSTORAGEMEM1DEXTPROC) /* glTexStorageMem1DEXT */ (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM1DEXTPROC) /* glTextureStorageMem1DEXT */ (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) /* glImportMemoryFdEXT */ (GLuint memory, GLuint64 size, GLenum handleType, GLint fd); +typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) /* glImportMemoryWin32HandleEXT */ (GLuint memory, GLuint64 size, GLenum handleType, void * handle); +typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) /* glImportMemoryWin32NameEXT */ (GLuint memory, GLuint64 size, GLenum handleType, const void * name); typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) /* glMultiDrawArraysEXT */ (GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) /* glMultiDrawElementsEXT */ (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount); typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC) /* glMultiDrawArraysIndirectEXT */ (GLenum mode, const void * indirect, GLsizei drawcount, GLsizei stride); @@ -3660,6 +3812,18 @@ typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) /* glGetGraphicsRe typedef void (APIENTRYP PFNGLREADNPIXELSEXTPROC) /* glReadnPixelsEXT */ (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); typedef void (APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) /* glGetnUniformfvEXT */ (GLuint program, GLint location, GLsizei bufSize, GLfloat * params); typedef void (APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) /* glGetnUniformivEXT */ (GLuint program, GLint location, GLsizei bufSize, GLint * params); +typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) /* glGetUnsignedBytevEXT */ (GLenum pname, GLubyte * data); +typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) /* glGetUnsignedBytei_vEXT */ (GLenum target, GLuint index, GLubyte * data); +typedef void (APIENTRYP PFNGLGENSEMAPHORESEXTPROC) /* glGenSemaphoresEXT */ (GLsizei n, GLuint * semaphores); +typedef void (APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) /* glDeleteSemaphoresEXT */ (GLsizei n, const GLuint * semaphores); +typedef GLboolean (APIENTRYP PFNGLISSEMAPHOREEXTPROC) /* glIsSemaphoreEXT */ (GLuint semaphore); +typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) /* glSemaphoreParameterui64vEXT */ (GLuint semaphore, GLenum pname, const GLuint64 * params); +typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) /* glGetSemaphoreParameterui64vEXT */ (GLuint semaphore, GLenum pname, GLuint64 * params); +typedef void (APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) /* glWaitSemaphoreEXT */ (GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * srcLayouts); +typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) /* glSignalSemaphoreEXT */ (GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * dstLayouts); +typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) /* glImportSemaphoreFdEXT */ (GLuint semaphore, GLenum handleType, GLint fd); +typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) /* glImportSemaphoreWin32HandleEXT */ (GLuint semaphore, GLenum handleType, void * handle); +typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) /* glImportSemaphoreWin32NameEXT */ (GLuint semaphore, GLenum handleType, const void * name); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) /* glSecondaryColor3bEXT */ (GLbyte red, GLbyte green, GLbyte blue); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) /* glSecondaryColor3bvEXT */ (const GLbyte * v); typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) /* glSecondaryColor3dEXT */ (GLdouble red, GLdouble green, GLdouble blue); @@ -3718,15 +3882,18 @@ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) /* glProgramUniform1uivE typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) /* glProgramUniform2uivEXT */ (GLuint program, GLint location, GLsizei count, const GLuint * value); typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) /* glProgramUniform3uivEXT */ (GLuint program, GLint location, GLsizei count, const GLuint * value); typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) /* glProgramUniform4uivEXT */ (GLuint program, GLint location, GLsizei count, const GLuint * value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) /* glProgramUniformMatrix4fvEXT */ (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) /* glProgramUniformMatrix2x3fvEXT */ (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) /* glProgramUniformMatrix3x2fvEXT */ (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) /* glProgramUniformMatrix2x4fvEXT */ (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) /* glProgramUniformMatrix4x2fvEXT */ (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) /* glProgramUniformMatrix3x4fvEXT */ (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) /* glProgramUniformMatrix4x3fvEXT */ (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +typedef void (APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) /* glFramebufferFetchBarrierEXT */ (); typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) /* glBindImageTextureEXT */ (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format); typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) /* glMemoryBarrierEXT */ (GLbitfield barriers); +typedef void (APIENTRYP PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) /* glFramebufferPixelLocalStorageSizeEXT */ (GLuint target, GLsizei size); +typedef GLsizei (APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) /* glGetFramebufferPixelLocalStorageSizeEXT */ (GLuint target); +typedef void (APIENTRYP PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC) /* glClearPixelLocalStorageuiEXT */ (GLsizei offset, GLsizei n, const GLuint * values); typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTEXTPROC) /* glTexPageCommitmentEXT */ (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) /* glStencilClearTagEXT */ (GLsizei stencilTagBits, GLuint stencilClearTag); typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) /* glActiveStencilFaceEXT */ (GLenum face); @@ -3747,7 +3914,6 @@ typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVEXTPROC) /* glGetSamplerPara typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) /* glTexBufferEXT */ (GLenum target, GLenum internalformat, GLuint buffer); typedef void (APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) /* glTexBufferRangeEXT */ (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) /* glTexBufferEXT */ (GLenum target, GLenum internalformat, GLuint buffer); -typedef void (APIENTRYP PFNGLRASTERSAMPLESEXTPROC) /* glRasterSamplesEXT */ (GLuint samples, GLboolean fixedsamplelocations); typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) /* glTexParameterIivEXT */ (GLenum target, GLenum pname, const GLint * params); typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) /* glTexParameterIuivEXT */ (GLenum target, GLenum pname, const GLuint * params); typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) /* glGetTexParameterIivEXT */ (GLenum target, GLenum pname, GLint * params); @@ -3768,6 +3934,9 @@ typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) /* glTextureStorage1DEXT * typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) /* glTextureStorage2DEXT */ (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) /* glTextureStorage3DEXT */ (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); typedef void (APIENTRYP PFNGLTEXTUREVIEWEXTPROC) /* glTextureViewEXT */ (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); +typedef void (APIENTRYP PFNGLCREATESEMAPHORESNVPROC) /* glCreateSemaphoresNV */ (GLsizei n, GLuint * semaphores); +typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERIVNVPROC) /* glSemaphoreParameterivNV */ (GLuint semaphore, GLenum pname, const GLint * params); +typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERIVNVPROC) /* glGetSemaphoreParameterivNV */ (GLuint semaphore, GLenum pname, GLint * params); typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) /* glGetQueryObjecti64vEXT */ (GLuint id, GLenum pname, GLint64 * params); typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) /* glGetQueryObjectui64vEXT */ (GLuint id, GLenum pname, GLuint64 * params); typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) /* glBeginTransformFeedbackEXT */ (GLenum primitiveMode); @@ -3841,6 +4010,9 @@ typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) /* glGetLocalConstan typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) /* glVertexWeightfEXT */ (GLfloat weight); typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) /* glVertexWeightfvEXT */ (const GLfloat * weight); typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) /* glVertexWeightPointerEXT */ (GLint size, GLenum type, GLsizei stride, const void * pointer); +typedef GLboolean (APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) /* glAcquireKeyedMutexWin32EXT */ (GLuint memory, GLuint64 key, GLuint timeout); +typedef GLboolean (APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) /* glReleaseKeyedMutexWin32EXT */ (GLuint memory, GLuint64 key); +typedef void (APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) /* glWindowRectanglesEXT */ (GLenum mode, GLsizei count, const GLint * box); typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) /* glImportSyncEXT */ (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags); typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) /* glFrameTerminatorGREMEDY */ (); typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) /* glStringMarkerGREMEDY */ (GLsizei len, const void * string); @@ -3861,6 +4033,14 @@ typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) /* glIndexPointerListIBM * typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) /* glNormalPointerListIBM */ (GLenum type, GLint stride, const void ** pointer, GLint ptrstride); typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) /* glTexCoordPointerListIBM */ (GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) /* glVertexPointerListIBM */ (GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); +typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEIMGPROC) /* glGetTextureHandleIMG */ (GLuint texture); +typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEIMGPROC) /* glGetTextureSamplerHandleIMG */ (GLuint texture, GLuint sampler); +typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64IMGPROC) /* glUniformHandleui64IMG */ (GLint location, GLuint64 value); +typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VIMGPROC) /* glUniformHandleui64vIMG */ (GLint location, GLsizei count, const GLuint64 * value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC) /* glProgramUniformHandleui64IMG */ (GLuint program, GLint location, GLuint64 value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC) /* glProgramUniformHandleui64vIMG */ (GLuint program, GLint location, GLsizei count, const GLuint64 * values); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) /* glFramebufferTexture2DDownsampleIMG */ (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) /* glFramebufferTextureLayerDownsampleIMG */ (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) /* glRenderbufferStorageMultisampleIMG */ (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) /* glFramebufferTexture2DMultisampleIMG */ (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) /* glBlendFuncSeparateINGR */ (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); @@ -3879,7 +4059,7 @@ typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) /* glEndPerfQueryINTEL */ (G typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) /* glGetFirstPerfQueryIdINTEL */ (GLuint * queryId); typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) /* glGetNextPerfQueryIdINTEL */ (GLuint queryId, GLuint * nextQueryId); typedef void (APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) /* glGetPerfCounterInfoINTEL */ (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue); -typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) /* glGetPerfQueryDataINTEL */ (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid * data, GLuint * bytesWritten); +typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) /* glGetPerfQueryDataINTEL */ (GLuint queryHandle, GLuint flags, GLsizei dataSize, void * data, GLuint * bytesWritten); typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) /* glGetPerfQueryIdByNameINTEL */ (GLchar * queryName, GLuint * queryId); typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) /* glGetPerfQueryInfoINTEL */ (GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask); typedef void (APIENTRYP PFNGLBLENDBARRIERKHRPROC) /* glBlendBarrierKHR */ (); @@ -3915,6 +4095,9 @@ typedef void (APIENTRYP PFNGLREADNPIXELSKHRPROC) /* glReadnPixelsKHR */ (GLint x typedef void (APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) /* glGetnUniformfvKHR */ (GLuint program, GLint location, GLsizei bufSize, GLfloat * params); typedef void (APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) /* glGetnUniformivKHR */ (GLuint program, GLint location, GLsizei bufSize, GLint * params); typedef void (APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) /* glGetnUniformuivKHR */ (GLuint program, GLint location, GLsizei bufSize, GLuint * params); +typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) /* glMaxShaderCompilerThreadsKHR */ (GLuint count); +typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIMESAPROC) /* glFramebufferParameteriMESA */ (GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC) /* glGetFramebufferParameterivMESA */ (GLenum target, GLenum pname, GLint * params); typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) /* glResizeBuffersMESA */ (); typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) /* glWindowPos2dMESA */ (GLdouble x, GLdouble y); typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) /* glWindowPos2dvMESA */ (const GLdouble * v); @@ -3942,6 +4125,10 @@ typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) /* glWindowPos4sMESA */ (GLsho typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) /* glWindowPos4svMESA */ (const GLshort * v); typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) /* glBeginConditionalRenderNVX */ (GLuint id); typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVXPROC) /* glEndConditionalRenderNVX */ (); +typedef void (APIENTRYP PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC) /* glLGPUNamedBufferSubDataNVX */ (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); +typedef void (APIENTRYP PFNGLLGPUCOPYIMAGESUBDATANVXPROC) /* glLGPUCopyImageSubDataNVX */ (GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); +typedef void (APIENTRYP PFNGLLGPUINTERLOCKNVXPROC) /* glLGPUInterlockNVX */ (); +typedef void (APIENTRYP PFNGLALPHATOCOVERAGEDITHERCONTROLNVPROC) /* glAlphaToCoverageDitherControlNV */ (GLenum mode); typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) /* glMultiDrawArraysIndirectBindlessNV */ (GLenum mode, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) /* glMultiDrawElementsIndirectBindlessNV */ (GLenum mode, GLenum type, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC) /* glMultiDrawArraysIndirectBindlessCountNV */ (GLenum mode, const void * indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); @@ -3961,6 +4148,7 @@ typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) /* glIsTextureH typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) /* glIsImageHandleResidentNV */ (GLuint64 handle); typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) /* glBlendParameteriNV */ (GLenum pname, GLint value); typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) /* glBlendBarrierNV */ (); +typedef void (APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) /* glViewportPositionWScaleNV */ (GLuint index, GLfloat xcoeff, GLfloat ycoeff); typedef void (APIENTRYP PFNGLCREATESTATESNVPROC) /* glCreateStatesNV */ (GLsizei n, GLuint * states); typedef void (APIENTRYP PFNGLDELETESTATESNVPROC) /* glDeleteStatesNV */ (GLsizei n, const GLuint * states); typedef GLboolean (APIENTRYP PFNGLISSTATENVPROC) /* glIsStateNV */ (GLuint state); @@ -3982,6 +4170,7 @@ typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) /* glBeginConditional typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) /* glEndConditionalRenderNV */ (); typedef void (APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) /* glSubpixelPrecisionBiasNV */ (GLuint xbits, GLuint ybits); typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERFNVPROC) /* glConservativeRasterParameterfNV */ (GLenum pname, GLfloat value); +typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) /* glConservativeRasterParameteriNV */ (GLenum pname, GLint param); typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) /* glCopyBufferSubDataNV */ (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATANVPROC) /* glCopyImageSubDataNV */ (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); typedef void (APIENTRYP PFNGLCOVERAGEMASKNVPROC) /* glCoverageMaskNV */ (GLboolean mask); @@ -3993,6 +4182,11 @@ typedef void (APIENTRYP PFNGLDRAWBUFFERSNVPROC) /* glDrawBuffersNV */ (GLsizei n typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) /* glDrawArraysInstancedNV */ (GLenum mode, GLint first, GLsizei count, GLsizei primcount); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) /* glDrawElementsInstancedNV */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); typedef void (APIENTRYP PFNGLDRAWTEXTURENVPROC) /* glDrawTextureNV */ (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); +typedef void (APIENTRYP PFNGLDRAWVKIMAGENVPROC) /* glDrawVkImageNV */ (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); +typedef GLVULKANPROCNV (APIENTRYP PFNGLGETVKPROCADDRNVPROC) /* glGetVkProcAddrNV */ (const GLchar * name); +typedef void (APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) /* glWaitVkSemaphoreNV */ (GLuint64 vkSemaphore); +typedef void (APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) /* glSignalVkSemaphoreNV */ (GLuint64 vkSemaphore); +typedef void (APIENTRYP PFNGLSIGNALVKFENCENVPROC) /* glSignalVkFenceNV */ (GLuint64 vkFence); typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) /* glMapControlPointsNV */ (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void * points); typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) /* glMapParameterivNV */ (GLenum target, GLenum pname, const GLint * params); typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) /* glMapParameterfvNV */ (GLenum target, GLenum pname, const GLfloat * params); @@ -4022,7 +4216,7 @@ typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) /* glGetProgramNa typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) /* glBlitFramebufferNV */ (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); typedef void (APIENTRYP PFNGLRASTERSAMPLESEXTPROC) /* glRasterSamplesEXT */ (GLuint samples, GLboolean fixedsamplelocations); typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) /* glCoverageModulationTableNV */ (GLsizei n, const GLfloat * v); -typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) /* glGetCoverageModulationTableNV */ (GLsizei bufsize, GLfloat * v); +typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) /* glGetCoverageModulationTableNV */ (GLsizei bufSize, GLfloat * v); typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) /* glCoverageModulationNV */ (GLenum components); typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) /* glRenderbufferStorageMultisampleNV */ (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) /* glRenderbufferStorageMultisampleCoverageNV */ (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); @@ -4128,7 +4322,43 @@ typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) /* glVertexAttribs2hvNV */ typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) /* glVertexAttribs3hvNV */ (GLuint index, GLsizei n, const GLhalfNV * v); typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) /* glVertexAttribs4hvNV */ (GLuint index, GLsizei n, const GLhalfNV * v); typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) /* glVertexAttribDivisorNV */ (GLuint index, GLuint divisor); -typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) /* glGetInternalformatSampleivNV */ (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint * params); +typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) /* glGetInternalformatSampleivNV */ (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint * params); +typedef void (APIENTRYP PFNGLRENDERGPUMASKNVPROC) /* glRenderGpuMaskNV */ (GLbitfield mask); +typedef void (APIENTRYP PFNGLMULTICASTBUFFERSUBDATANVPROC) /* glMulticastBufferSubDataNV */ (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); +typedef void (APIENTRYP PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC) /* glMulticastCopyBufferSubDataNV */ (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +typedef void (APIENTRYP PFNGLMULTICASTCOPYIMAGESUBDATANVPROC) /* glMulticastCopyImageSubDataNV */ (GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); +typedef void (APIENTRYP PFNGLMULTICASTBLITFRAMEBUFFERNVPROC) /* glMulticastBlitFramebufferNV */ (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +typedef void (APIENTRYP PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) /* glMulticastFramebufferSampleLocationsfvNV */ (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v); +typedef void (APIENTRYP PFNGLMULTICASTBARRIERNVPROC) /* glMulticastBarrierNV */ (); +typedef void (APIENTRYP PFNGLMULTICASTWAITSYNCNVPROC) /* glMulticastWaitSyncNV */ (GLuint signalGpu, GLbitfield waitGpuMask); +typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTIVNVPROC) /* glMulticastGetQueryObjectivNV */ (GLuint gpu, GLuint id, GLenum pname, GLint * params); +typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC) /* glMulticastGetQueryObjectuivNV */ (GLuint gpu, GLuint id, GLenum pname, GLuint * params); +typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC) /* glMulticastGetQueryObjecti64vNV */ (GLuint gpu, GLuint id, GLenum pname, GLint64 * params); +typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC) /* glMulticastGetQueryObjectui64vNV */ (GLuint gpu, GLuint id, GLenum pname, GLuint64 * params); +typedef void (APIENTRYP PFNGLUPLOADGPUMASKNVXPROC) /* glUploadGpuMaskNVX */ (GLbitfield mask); +typedef void (APIENTRYP PFNGLMULTICASTVIEWPORTARRAYVNVXPROC) /* glMulticastViewportArrayvNVX */ (GLuint gpu, GLuint first, GLsizei count, const GLfloat * v); +typedef void (APIENTRYP PFNGLMULTICASTVIEWPORTPOSITIONWSCALENVXPROC) /* glMulticastViewportPositionWScaleNVX */ (GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff); +typedef void (APIENTRYP PFNGLMULTICASTSCISSORARRAYVNVXPROC) /* glMulticastScissorArrayvNVX */ (GLuint gpu, GLuint first, GLsizei count, const GLint * v); +typedef GLuint (APIENTRYP PFNGLASYNCCOPYBUFFERSUBDATANVXPROC) /* glAsyncCopyBufferSubDataNVX */ (GLsizei waitSemaphoreCount, const GLuint * waitSemaphoreArray, const GLuint64 * fenceValueArray, GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size, GLsizei signalSemaphoreCount, const GLuint * signalSemaphoreArray, const GLuint64 * signalValueArray); +typedef GLuint (APIENTRYP PFNGLASYNCCOPYIMAGESUBDATANVXPROC) /* glAsyncCopyImageSubDataNVX */ (GLsizei waitSemaphoreCount, const GLuint * waitSemaphoreArray, const GLuint64 * waitValueArray, GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth, GLsizei signalSemaphoreCount, const GLuint * signalSemaphoreArray, const GLuint64 * signalValueArray); +typedef GLuint (APIENTRYP PFNGLCREATEPROGRESSFENCENVXPROC) /* glCreateProgressFenceNVX */ (); +typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREUI64NVXPROC) /* glSignalSemaphoreui64NVX */ (GLuint signalGpu, GLsizei fenceObjectCount, const GLuint * semaphoreArray, const GLuint64 * fenceValueArray); +typedef void (APIENTRYP PFNGLWAITSEMAPHOREUI64NVXPROC) /* glWaitSemaphoreui64NVX */ (GLuint waitGpu, GLsizei fenceObjectCount, const GLuint * semaphoreArray, const GLuint64 * fenceValueArray); +typedef void (APIENTRYP PFNGLCLIENTWAITSEMAPHOREUI64NVXPROC) /* glClientWaitSemaphoreui64NVX */ (GLsizei fenceObjectCount, const GLuint * semaphoreArray, const GLuint64 * fenceValueArray); +typedef void (APIENTRYP PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) /* glGetMemoryObjectDetachedResourcesuivNV */ (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint * params); +typedef void (APIENTRYP PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) /* glResetMemoryObjectParameterNV */ (GLuint memory, GLenum pname); +typedef void (APIENTRYP PFNGLTEXATTACHMEMORYNVPROC) /* glTexAttachMemoryNV */ (GLenum target, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLBUFFERATTACHMEMORYNVPROC) /* glBufferAttachMemoryNV */ (GLenum target, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLTEXTUREATTACHMEMORYNVPROC) /* glTextureAttachMemoryNV */ (GLuint texture, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) /* glNamedBufferAttachMemoryNV */ (GLuint buffer, GLuint memory, GLuint64 offset); +typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) /* glBufferPageCommitmentMemNV */ (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTMEMNVPROC) /* glTexPageCommitmentMemNV */ (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) /* glNamedBufferPageCommitmentMemNV */ (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) /* glTexturePageCommitmentMemNV */ (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +typedef void (APIENTRYP PFNGLDRAWMESHTASKSNVPROC) /* glDrawMeshTasksNV */ (GLuint first, GLuint count); +typedef void (APIENTRYP PFNGLDRAWMESHTASKSINDIRECTNVPROC) /* glDrawMeshTasksIndirectNV */ (GLintptr indirect); +typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) /* glMultiDrawMeshTasksIndirectNV */ (GLintptr indirect, GLsizei drawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) /* glMultiDrawMeshTasksIndirectCountNV */ (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) /* glUniformMatrix2x3fvNV */ (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) /* glUniformMatrix3x2fvNV */ (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) /* glUniformMatrix2x4fvNV */ (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); @@ -4197,11 +4427,11 @@ typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) /* glStencilThenCov typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) /* glStencilThenCoverStrokePathNV */ (GLuint path, GLint reference, GLuint mask, GLenum coverMode); typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) /* glStencilThenCoverFillPathInstancedNV */ (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) /* glStencilThenCoverStrokePathInstancedNV */ (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); -typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) /* glPathGlyphIndexRangeNV */ (GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); +typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) /* glPathGlyphIndexRangeNV */ (GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint * baseAndCount); typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) /* glPathGlyphIndexArrayNV */ (GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) /* glPathMemoryGlyphIndexArrayNV */ (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void * fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) /* glProgramPathFragmentInputGenNV */ (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat * coeffs); -typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) /* glGetProgramResourcefvNV */ (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLfloat * params); +typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) /* glGetProgramResourcefvNV */ (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei count, GLsizei * length, GLfloat * params); typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) /* glPathColorGenNV */ (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat * coeffs); typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) /* glPathTexGenNV */ (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat * coeffs); typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) /* glPathFogGenNV */ (GLenum genMode); @@ -4209,6 +4439,25 @@ typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) /* glGetPathColorGenivNV * typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) /* glGetPathColorGenfvNV */ (GLenum color, GLenum pname, GLfloat * value); typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) /* glGetPathTexGenivNV */ (GLenum texCoordSet, GLenum pname, GLint * value); typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) /* glGetPathTexGenfvNV */ (GLenum texCoordSet, GLenum pname, GLfloat * value); +typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) /* glMatrixFrustumEXT */ (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) /* glMatrixLoadIdentityEXT */ (GLenum mode); +typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) /* glMatrixLoadTransposefEXT */ (GLenum mode, const GLfloat * m); +typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) /* glMatrixLoadTransposedEXT */ (GLenum mode, const GLdouble * m); +typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) /* glMatrixLoadfEXT */ (GLenum mode, const GLfloat * m); +typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) /* glMatrixLoaddEXT */ (GLenum mode, const GLdouble * m); +typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) /* glMatrixMultTransposefEXT */ (GLenum mode, const GLfloat * m); +typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) /* glMatrixMultTransposedEXT */ (GLenum mode, const GLdouble * m); +typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) /* glMatrixMultfEXT */ (GLenum mode, const GLfloat * m); +typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) /* glMatrixMultdEXT */ (GLenum mode, const GLdouble * m); +typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) /* glMatrixOrthoEXT */ (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) /* glMatrixPopEXT */ (GLenum mode); +typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) /* glMatrixPushEXT */ (GLenum mode); +typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) /* glMatrixRotatefEXT */ (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) /* glMatrixRotatedEXT */ (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) /* glMatrixScalefEXT */ (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) /* glMatrixScaledEXT */ (GLenum mode, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) /* glMatrixTranslatefEXT */ (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) /* glMatrixTranslatedEXT */ (GLenum mode, GLdouble x, GLdouble y, GLdouble z); typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) /* glPixelDataRangeNV */ (GLenum target, GLsizei length, const void * pointer); typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) /* glFlushPixelDataRangeNV */ (GLenum target); typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) /* glPointParameteriNV */ (GLenum pname, GLint param); @@ -4222,6 +4471,10 @@ typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) /* glGetVideoi64vNV */ (GLuint typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) /* glGetVideoui64vNV */ (GLuint video_slot, GLenum pname, GLuint64EXT * params); typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) /* glPrimitiveRestartNV */ (); typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) /* glPrimitiveRestartIndexNV */ (GLuint index); +typedef GLint (APIENTRYP PFNGLQUERYRESOURCENVPROC) /* glQueryResourceNV */ (GLenum queryType, GLint tagId, GLuint count, GLint * buffer); +typedef void (APIENTRYP PFNGLGENQUERYRESOURCETAGNVPROC) /* glGenQueryResourceTagNV */ (GLsizei n, GLint * tagIds); +typedef void (APIENTRYP PFNGLDELETEQUERYRESOURCETAGNVPROC) /* glDeleteQueryResourceTagNV */ (GLsizei n, const GLint * tagIds); +typedef void (APIENTRYP PFNGLQUERYRESOURCETAGNVPROC) /* glQueryResourceTagNV */ (GLint tagId, const GLchar * tagString); typedef void (APIENTRYP PFNGLREADBUFFERNVPROC) /* glReadBufferNV */ (GLenum mode); typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) /* glCombinerParameterfvNV */ (GLenum pname, const GLfloat * params); typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) /* glCombinerParameterfNV */ (GLenum pname, GLfloat param); @@ -4241,6 +4494,8 @@ typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) /* glGetCombiner typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) /* glFramebufferSampleLocationsfvNV */ (GLenum target, GLuint start, GLsizei count, const GLfloat * v); typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) /* glNamedFramebufferSampleLocationsfvNV */ (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v); typedef void (APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) /* glResolveDepthValuesNV */ (); +typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVENVPROC) /* glScissorExclusiveNV */ (GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVEARRAYVNVPROC) /* glScissorExclusiveArrayvNV */ (GLuint first, GLsizei count, const GLint * v); typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) /* glMakeBufferResidentNV */ (GLenum target, GLenum access); typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) /* glMakeBufferNonResidentNV */ (GLenum target); typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) /* glIsBufferResidentNV */ (GLenum target); @@ -4255,6 +4510,13 @@ typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) /* glUniformui64vNV */ (GLint l typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) /* glGetUniformui64vNV */ (GLuint program, GLint location, GLuint64EXT * params); typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) /* glProgramUniformui64NV */ (GLuint program, GLint location, GLuint64EXT value); typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) /* glProgramUniformui64vNV */ (GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); +typedef void (APIENTRYP PFNGLBINDSHADINGRATEIMAGENVPROC) /* glBindShadingRateImageNV */ (GLuint texture); +typedef void (APIENTRYP PFNGLGETSHADINGRATEIMAGEPALETTENVPROC) /* glGetShadingRateImagePaletteNV */ (GLuint viewport, GLuint entry, GLenum * rate); +typedef void (APIENTRYP PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC) /* glGetShadingRateSampleLocationivNV */ (GLenum rate, GLuint samples, GLuint index, GLint * location); +typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEBARRIERNVPROC) /* glShadingRateImageBarrierNV */ (GLboolean synchronize); +typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEPALETTENVPROC) /* glShadingRateImagePaletteNV */ (GLuint viewport, GLuint first, GLsizei count, const GLenum * rates); +typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERNVPROC) /* glShadingRateSampleOrderNV */ (GLenum order); +typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC) /* glShadingRateSampleOrderCustomNV */ (GLenum rate, GLuint samples, const GLint * locations); typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) /* glTextureBarrierNV */ (); typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) /* glTexImage2DMultisampleCoverageNV */ (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) /* glTexImage3DMultisampleCoverageNV */ (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); @@ -4287,10 +4549,11 @@ typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) /* glV typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) /* glVDPAURegisterOutputSurfaceNV */ (const void * vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint * textureNames); typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) /* glVDPAUIsSurfaceNV */ (GLvdpauSurfaceNV surface); typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) /* glVDPAUUnregisterSurfaceNV */ (GLvdpauSurfaceNV surface); -typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) /* glVDPAUGetSurfaceivNV */ (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); +typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) /* glVDPAUGetSurfaceivNV */ (GLvdpauSurfaceNV surface, GLenum pname, GLsizei count, GLsizei * length, GLint * values); typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) /* glVDPAUSurfaceAccessNV */ (GLvdpauSurfaceNV surface, GLenum access); typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) /* glVDPAUMapSurfacesNV */ (GLsizei numSurfaces, const GLvdpauSurfaceNV * surfaces); typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) /* glVDPAUUnmapSurfacesNV */ (GLsizei numSurface, const GLvdpauSurfaceNV * surfaces); +typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACEWITHPICTURESTRUCTURENVPROC) /* glVDPAURegisterVideoSurfaceWithPictureStructureNV */ (const void * vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint * textureNames, GLboolean isFrameStructure); typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) /* glFlushVertexArrayRangeNV */ (); typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) /* glVertexArrayRangeNV */ (GLsizei length, const void * pointer); typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) /* glVertexAttribL1i64NV */ (GLuint index, GLint64EXT x); @@ -4435,6 +4698,7 @@ typedef void (APIENTRYP PFNGLGETFLOATI_VNVPROC) /* glGetFloati_vNV */ (GLenum ta typedef void (APIENTRYP PFNGLENABLEINVPROC) /* glEnableiNV */ (GLenum target, GLuint index); typedef void (APIENTRYP PFNGLDISABLEINVPROC) /* glDisableiNV */ (GLenum target, GLuint index); typedef GLboolean (APIENTRYP PFNGLISENABLEDINVPROC) /* glIsEnablediNV */ (GLenum target, GLuint index); +typedef void (APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) /* glViewportSwizzleNV */ (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) /* glEGLImageTargetTexture2DOES */ (GLenum target, GLeglImageOES image); typedef void (APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) /* glEGLImageTargetRenderbufferStorageOES */ (GLenum target, GLeglImageOES image); typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) /* glMultiTexCoord1bOES */ (GLenum texture, GLbyte s); @@ -4471,7 +4735,7 @@ typedef GLboolean (APIENTRYP PFNGLISENABLEDIOESPROC) /* glIsEnablediOES */ (GLen typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) /* glDrawElementsBaseVertexOES */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex); typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) /* glDrawRangeElementsBaseVertexOES */ (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex); typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) /* glDrawElementsInstancedBaseVertexOES */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXOESPROC) /* glMultiDrawElementsBaseVertexOES */ (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, const GLint * basevertex); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) /* glMultiDrawElementsBaseVertexEXT */ (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount, const GLint * basevertex); typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) /* glAlphaFuncxOES */ (GLenum func, GLfixed ref); typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) /* glClearColorxOES */ (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) /* glClearDepthxOES */ (GLfixed depth); @@ -4613,6 +4877,18 @@ typedef void (APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) /* glBindVertexArrayOES */ typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) /* glDeleteVertexArraysOES */ (GLsizei n, const GLuint * arrays); typedef void (APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) /* glGenVertexArraysOES */ (GLsizei n, GLuint * arrays); typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYOESPROC) /* glIsVertexArrayOES */ (GLuint array); +typedef void (APIENTRYP PFNGLVIEWPORTARRAYVOESPROC) /* glViewportArrayvOES */ (GLuint first, GLsizei count, const GLfloat * v); +typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFOESPROC) /* glViewportIndexedfOES */ (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); +typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVOESPROC) /* glViewportIndexedfvOES */ (GLuint index, const GLfloat * v); +typedef void (APIENTRYP PFNGLSCISSORARRAYVOESPROC) /* glScissorArrayvOES */ (GLuint first, GLsizei count, const GLint * v); +typedef void (APIENTRYP PFNGLSCISSORINDEXEDOESPROC) /* glScissorIndexedOES */ (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLSCISSORINDEXEDVOESPROC) /* glScissorIndexedvOES */ (GLuint index, const GLint * v); +typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYFVOESPROC) /* glDepthRangeArrayfvOES */ (GLuint first, GLsizei count, const GLfloat * v); +typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDFOESPROC) /* glDepthRangeIndexedfOES */ (GLuint index, GLfloat n, GLfloat f); +typedef void (APIENTRYP PFNGLGETFLOATI_VOESPROC) /* glGetFloati_vOES */ (GLenum target, GLuint index, GLfloat * data); +typedef void (APIENTRYP PFNGLENABLEIOESPROC) /* glEnableiOES */ (GLenum target, GLuint index); +typedef void (APIENTRYP PFNGLDISABLEIOESPROC) /* glDisableiOES */ (GLenum target, GLuint index); +typedef GLboolean (APIENTRYP PFNGLISENABLEDIOESPROC) /* glIsEnablediOES */ (GLenum target, GLuint index); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) /* glFramebufferTextureMultiviewOVR */ (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC) /* glFramebufferTextureMultisampleMultiviewOVR */ (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews); typedef void (APIENTRYP PFNGLHINTPGIPROC) /* glHintPGI */ (GLenum target, GLint mode); @@ -4633,6 +4909,14 @@ typedef void (APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) /* glExtGetShadersQCOM */ (G typedef void (APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) /* glExtGetProgramsQCOM */ (GLuint * programs, GLint maxPrograms, GLint * numPrograms); typedef GLboolean (APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) /* glExtIsProgramBinaryQCOM */ (GLuint program); typedef void (APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) /* glExtGetProgramBinarySourceQCOM */ (GLuint program, GLenum shadertype, GLchar * source, GLint * length); +typedef void (APIENTRYP PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC) /* glFramebufferFoveationConfigQCOM */ (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint * providedFeatures); +typedef void (APIENTRYP PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC) /* glFramebufferFoveationParametersQCOM */ (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); +typedef void (APIENTRYP PFNGLTEXESTIMATEMOTIONQCOMPROC) /* glTexEstimateMotionQCOM */ (GLuint ref, GLuint target, GLuint output); +typedef void (APIENTRYP PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC) /* glTexEstimateMotionRegionsQCOM */ (GLuint ref, GLuint target, GLuint output, GLuint mask); +typedef void (APIENTRYP PFNGLEXTRAPOLATETEX2DQCOMPROC) /* glExtrapolateTex2DQCOM */ (GLuint src1, GLuint src2, GLuint output, GLfloat scaleFactor); +typedef void (APIENTRYP PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC) /* glTextureFoveationParametersQCOM */ (GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); +typedef void (APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC) /* glFramebufferFetchBarrierQCOM */ (); +typedef void (APIENTRYP PFNGLSHADINGRATEQCOMPROC) /* glShadingRateQCOM */ (GLenum rate); typedef void (APIENTRYP PFNGLSTARTTILINGQCOMPROC) /* glStartTilingQCOM */ (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); typedef void (APIENTRYP PFNGLENDTILINGQCOMPROC) /* glEndTilingQCOM */ (GLbitfield preserveMask); typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) /* glDetailTexFuncSGIS */ (GLenum target, GLsizei n, const GLfloat * points); @@ -5534,6 +5818,10 @@ namespace glew PFNGLGETNHISTOGRAMPROC m_glGetnHistogram; PFNGLGETNMINMAXPROC m_glGetnMinmax; PFNGLTEXTUREBARRIERPROC m_glTextureBarrier; + PFNGLSPECIALIZESHADERPROC m_glSpecializeShader; + PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC m_glMultiDrawArraysIndirectCount; + PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC m_glMultiDrawElementsIndirectCount; + PFNGLPOLYGONOFFSETCLAMPPROC m_glPolygonOffsetClamp; PFNGLBLENDFUNCPROC m_glBlendFunc; PFNGLCLEARPROC m_glClear; PFNGLCLEARCOLORPROC m_glClearColor; @@ -5583,6 +5871,12 @@ namespace glew PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC m_glBlendFuncSeparateIndexedAMD; PFNGLBLENDEQUATIONINDEXEDAMDPROC m_glBlendEquationIndexedAMD; PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC m_glBlendEquationSeparateIndexedAMD; + PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC m_glRenderbufferStorageMultisampleAdvancedAMD; + PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC m_glNamedRenderbufferStorageMultisampleAdvancedAMD; + PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC m_glFramebufferSamplePositionsfvAMD; + PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC m_glNamedFramebufferSamplePositionsfvAMD; + PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC m_glGetFramebufferParameterfvAMD; + PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC m_glGetNamedFramebufferParameterfvAMD; PFNGLUNIFORM1I64NVPROC m_glUniform1i64NV; PFNGLUNIFORM2I64NVPROC m_glUniform2i64NV; PFNGLUNIFORM3I64NVPROC m_glUniform3i64NV; @@ -5745,6 +6039,7 @@ namespace glew PFNGLFRAMEBUFFERTEXTUREARBPROC m_glFramebufferTextureARB; PFNGLFRAMEBUFFERTEXTURELAYERARBPROC m_glFramebufferTextureLayerARB; PFNGLFRAMEBUFFERTEXTUREFACEARBPROC m_glFramebufferTextureFaceARB; + PFNGLSPECIALIZESHADERARBPROC m_glSpecializeShaderARB; PFNGLUNIFORM1I64ARBPROC m_glUniform1i64ARB; PFNGLUNIFORM2I64ARBPROC m_glUniform2i64ARB; PFNGLUNIFORM3I64ARBPROC m_glUniform3i64ARB; @@ -6019,6 +6314,8 @@ namespace glew PFNGLBINDATTRIBLOCATIONARBPROC m_glBindAttribLocationARB; PFNGLGETACTIVEATTRIBARBPROC m_glGetActiveAttribARB; PFNGLGETATTRIBLOCATIONARBPROC m_glGetAttribLocationARB; + PFNGLDEPTHRANGEARRAYDVNVPROC m_glDepthRangeArraydvNV; + PFNGLDEPTHRANGEINDEXEDDNVPROC m_glDepthRangeIndexeddNV; PFNGLWINDOWPOS2DARBPROC m_glWindowPos2dARB; PFNGLWINDOWPOS2DVARBPROC m_glWindowPos2dvARB; PFNGLWINDOWPOS2FARBPROC m_glWindowPos2fARB; @@ -6123,6 +6420,8 @@ namespace glew PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC m_glClientActiveVertexStreamATI; PFNGLVERTEXBLENDENVIATIPROC m_glVertexBlendEnviATI; PFNGLVERTEXBLENDENVFATIPROC m_glVertexBlendEnvfATI; + PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC m_glEGLImageTargetTexStorageEXT; + PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC m_glEGLImageTargetTextureStorageEXT; PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC m_glDrawArraysInstancedBaseInstanceEXT; PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC m_glDrawElementsInstancedBaseInstanceEXT; PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC m_glDrawElementsInstancedBaseVertexBaseInstanceEXT; @@ -6138,6 +6437,9 @@ namespace glew PFNGLBLENDFUNCSEPARATEEXTPROC m_glBlendFuncSeparateEXT; PFNGLBLENDEQUATIONEXTPROC m_glBlendEquationEXT; PFNGLBUFFERSTORAGEEXTPROC m_glBufferStorageEXT; + PFNGLCLEARTEXIMAGEEXTPROC m_glClearTexImageEXT; + PFNGLCLEARTEXSUBIMAGEEXTPROC m_glClearTexSubImageEXT; + PFNGLCLIPCONTROLEXTPROC m_glClipControlEXT; PFNGLCOLORSUBTABLEEXTPROC m_glColorSubTableEXT; PFNGLCOPYCOLORSUBTABLEEXTPROC m_glCopyColorSubTableEXT; PFNGLLOCKARRAYSEXTPROC m_glLockArraysEXT; @@ -6458,6 +6760,7 @@ namespace glew PFNGLGETQUERYOBJECTUIVEXTPROC m_glGetQueryObjectuivEXT; PFNGLGETQUERYOBJECTI64VEXTPROC m_glGetQueryObjecti64vEXT; PFNGLGETQUERYOBJECTUI64VEXTPROC m_glGetQueryObjectui64vEXT; + PFNGLGETINTEGER64VEXTPROC m_glGetInteger64vEXT; PFNGLDRAWBUFFERSEXTPROC m_glDrawBuffersEXT; PFNGLCOLORMASKINDEXEDEXTPROC m_glColorMaskIndexedEXT; PFNGLENABLEIEXTPROC m_glEnableiEXT; @@ -6475,6 +6778,10 @@ namespace glew PFNGLDRAWARRAYSINSTANCEDEXTPROC m_glDrawArraysInstancedEXT; PFNGLDRAWELEMENTSINSTANCEDEXTPROC m_glDrawElementsInstancedEXT; PFNGLDRAWRANGEELEMENTSEXTPROC m_glDrawRangeElementsEXT; + PFNGLDRAWTRANSFORMFEEDBACKEXTPROC m_glDrawTransformFeedbackEXT; + PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC m_glDrawTransformFeedbackInstancedEXT; + PFNGLBUFFERSTORAGEEXTERNALEXTPROC m_glBufferStorageExternalEXT; + PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC m_glNamedBufferStorageExternalEXT; PFNGLFOGCOORDFEXTPROC m_glFogCoordfEXT; PFNGLFOGCOORDFVEXTPROC m_glFogCoordfvEXT; PFNGLFOGCOORDDEXTPROC m_glFogCoorddEXT; @@ -6531,6 +6838,28 @@ namespace glew PFNGLTEXTUREMATERIALEXTPROC m_glTextureMaterialEXT; PFNGLMAPBUFFERRANGEEXTPROC m_glMapBufferRangeEXT; PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC m_glFlushMappedBufferRangeEXT; + PFNGLGETUNSIGNEDBYTEVEXTPROC m_glGetUnsignedBytevEXT; + PFNGLGETUNSIGNEDBYTEI_VEXTPROC m_glGetUnsignedBytei_vEXT; + PFNGLDELETEMEMORYOBJECTSEXTPROC m_glDeleteMemoryObjectsEXT; + PFNGLISMEMORYOBJECTEXTPROC m_glIsMemoryObjectEXT; + PFNGLCREATEMEMORYOBJECTSEXTPROC m_glCreateMemoryObjectsEXT; + PFNGLMEMORYOBJECTPARAMETERIVEXTPROC m_glMemoryObjectParameterivEXT; + PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC m_glGetMemoryObjectParameterivEXT; + PFNGLTEXSTORAGEMEM2DEXTPROC m_glTexStorageMem2DEXT; + PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC m_glTexStorageMem2DMultisampleEXT; + PFNGLTEXSTORAGEMEM3DEXTPROC m_glTexStorageMem3DEXT; + PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC m_glTexStorageMem3DMultisampleEXT; + PFNGLBUFFERSTORAGEMEMEXTPROC m_glBufferStorageMemEXT; + PFNGLTEXTURESTORAGEMEM2DEXTPROC m_glTextureStorageMem2DEXT; + PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC m_glTextureStorageMem2DMultisampleEXT; + PFNGLTEXTURESTORAGEMEM3DEXTPROC m_glTextureStorageMem3DEXT; + PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC m_glTextureStorageMem3DMultisampleEXT; + PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC m_glNamedBufferStorageMemEXT; + PFNGLTEXSTORAGEMEM1DEXTPROC m_glTexStorageMem1DEXT; + PFNGLTEXTURESTORAGEMEM1DEXTPROC m_glTextureStorageMem1DEXT; + PFNGLIMPORTMEMORYFDEXTPROC m_glImportMemoryFdEXT; + PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC m_glImportMemoryWin32HandleEXT; + PFNGLIMPORTMEMORYWIN32NAMEEXTPROC m_glImportMemoryWin32NameEXT; PFNGLMULTIDRAWARRAYSEXTPROC m_glMultiDrawArraysEXT; PFNGLMULTIDRAWELEMENTSEXTPROC m_glMultiDrawElementsEXT; PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC m_glMultiDrawArraysIndirectEXT; @@ -6562,6 +6891,16 @@ namespace glew PFNGLREADNPIXELSEXTPROC m_glReadnPixelsEXT; PFNGLGETNUNIFORMFVEXTPROC m_glGetnUniformfvEXT; PFNGLGETNUNIFORMIVEXTPROC m_glGetnUniformivEXT; + PFNGLGENSEMAPHORESEXTPROC m_glGenSemaphoresEXT; + PFNGLDELETESEMAPHORESEXTPROC m_glDeleteSemaphoresEXT; + PFNGLISSEMAPHOREEXTPROC m_glIsSemaphoreEXT; + PFNGLSEMAPHOREPARAMETERUI64VEXTPROC m_glSemaphoreParameterui64vEXT; + PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC m_glGetSemaphoreParameterui64vEXT; + PFNGLWAITSEMAPHOREEXTPROC m_glWaitSemaphoreEXT; + PFNGLSIGNALSEMAPHOREEXTPROC m_glSignalSemaphoreEXT; + PFNGLIMPORTSEMAPHOREFDEXTPROC m_glImportSemaphoreFdEXT; + PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC m_glImportSemaphoreWin32HandleEXT; + PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC m_glImportSemaphoreWin32NameEXT; PFNGLSECONDARYCOLOR3BEXTPROC m_glSecondaryColor3bEXT; PFNGLSECONDARYCOLOR3BVEXTPROC m_glSecondaryColor3bvEXT; PFNGLSECONDARYCOLOR3DEXTPROC m_glSecondaryColor3dEXT; @@ -6592,8 +6931,12 @@ namespace glew PFNGLISPROGRAMPIPELINEEXTPROC m_glIsProgramPipelineEXT; PFNGLUSEPROGRAMSTAGESEXTPROC m_glUseProgramStagesEXT; PFNGLVALIDATEPROGRAMPIPELINEEXTPROC m_glValidateProgramPipelineEXT; + PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC m_glFramebufferFetchBarrierEXT; PFNGLBINDIMAGETEXTUREEXTPROC m_glBindImageTextureEXT; PFNGLMEMORYBARRIEREXTPROC m_glMemoryBarrierEXT; + PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC m_glFramebufferPixelLocalStorageSizeEXT; + PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC m_glGetFramebufferPixelLocalStorageSizeEXT; + PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC m_glClearPixelLocalStorageuiEXT; PFNGLTEXPAGECOMMITMENTEXTPROC m_glTexPageCommitmentEXT; PFNGLSTENCILCLEARTAGEXTPROC m_glStencilClearTagEXT; PFNGLACTIVESTENCILFACEEXTPROC m_glActiveStencilFaceEXT; @@ -6626,6 +6969,9 @@ namespace glew PFNGLTEXSTORAGE2DEXTPROC m_glTexStorage2DEXT; PFNGLTEXSTORAGE3DEXTPROC m_glTexStorage3DEXT; PFNGLTEXTUREVIEWEXTPROC m_glTextureViewEXT; + PFNGLCREATESEMAPHORESNVPROC m_glCreateSemaphoresNV; + PFNGLSEMAPHOREPARAMETERIVNVPROC m_glSemaphoreParameterivNV; + PFNGLGETSEMAPHOREPARAMETERIVNVPROC m_glGetSemaphoreParameterivNV; PFNGLBEGINTRANSFORMFEEDBACKEXTPROC m_glBeginTransformFeedbackEXT; PFNGLENDTRANSFORMFEEDBACKEXTPROC m_glEndTransformFeedbackEXT; PFNGLBINDBUFFERRANGEEXTPROC m_glBindBufferRangeEXT; @@ -6697,6 +7043,9 @@ namespace glew PFNGLVERTEXWEIGHTFEXTPROC m_glVertexWeightfEXT; PFNGLVERTEXWEIGHTFVEXTPROC m_glVertexWeightfvEXT; PFNGLVERTEXWEIGHTPOINTEREXTPROC m_glVertexWeightPointerEXT; + PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC m_glAcquireKeyedMutexWin32EXT; + PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC m_glReleaseKeyedMutexWin32EXT; + PFNGLWINDOWRECTANGLESEXTPROC m_glWindowRectanglesEXT; PFNGLIMPORTSYNCEXTPROC m_glImportSyncEXT; PFNGLFRAMETERMINATORGREMEDYPROC m_glFrameTerminatorGREMEDY; PFNGLSTRINGMARKERGREMEDYPROC m_glStringMarkerGREMEDY; @@ -6717,6 +7066,14 @@ namespace glew PFNGLNORMALPOINTERLISTIBMPROC m_glNormalPointerListIBM; PFNGLTEXCOORDPOINTERLISTIBMPROC m_glTexCoordPointerListIBM; PFNGLVERTEXPOINTERLISTIBMPROC m_glVertexPointerListIBM; + PFNGLGETTEXTUREHANDLEIMGPROC m_glGetTextureHandleIMG; + PFNGLGETTEXTURESAMPLERHANDLEIMGPROC m_glGetTextureSamplerHandleIMG; + PFNGLUNIFORMHANDLEUI64IMGPROC m_glUniformHandleui64IMG; + PFNGLUNIFORMHANDLEUI64VIMGPROC m_glUniformHandleui64vIMG; + PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC m_glProgramUniformHandleui64IMG; + PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC m_glProgramUniformHandleui64vIMG; + PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC m_glFramebufferTexture2DDownsampleIMG; + PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC m_glFramebufferTextureLayerDownsampleIMG; PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC m_glRenderbufferStorageMultisampleIMG; PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC m_glFramebufferTexture2DMultisampleIMG; PFNGLBLENDFUNCSEPARATEINGRPROC m_glBlendFuncSeparateINGR; @@ -6755,6 +7112,9 @@ namespace glew PFNGLGETNUNIFORMFVKHRPROC m_glGetnUniformfvKHR; PFNGLGETNUNIFORMIVKHRPROC m_glGetnUniformivKHR; PFNGLGETNUNIFORMUIVKHRPROC m_glGetnUniformuivKHR; + PFNGLMAXSHADERCOMPILERTHREADSKHRPROC m_glMaxShaderCompilerThreadsKHR; + PFNGLFRAMEBUFFERPARAMETERIMESAPROC m_glFramebufferParameteriMESA; + PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC m_glGetFramebufferParameterivMESA; PFNGLRESIZEBUFFERSMESAPROC m_glResizeBuffersMESA; PFNGLWINDOWPOS2DMESAPROC m_glWindowPos2dMESA; PFNGLWINDOWPOS2DVMESAPROC m_glWindowPos2dvMESA; @@ -6782,6 +7142,10 @@ namespace glew PFNGLWINDOWPOS4SVMESAPROC m_glWindowPos4svMESA; PFNGLBEGINCONDITIONALRENDERNVXPROC m_glBeginConditionalRenderNVX; PFNGLENDCONDITIONALRENDERNVXPROC m_glEndConditionalRenderNVX; + PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC m_glLGPUNamedBufferSubDataNVX; + PFNGLLGPUCOPYIMAGESUBDATANVXPROC m_glLGPUCopyImageSubDataNVX; + PFNGLLGPUINTERLOCKNVXPROC m_glLGPUInterlockNVX; + PFNGLALPHATOCOVERAGEDITHERCONTROLNVPROC m_glAlphaToCoverageDitherControlNV; PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC m_glMultiDrawArraysIndirectBindlessNV; PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC m_glMultiDrawElementsIndirectBindlessNV; PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC m_glMultiDrawArraysIndirectBindlessCountNV; @@ -6801,6 +7165,7 @@ namespace glew PFNGLISIMAGEHANDLERESIDENTNVPROC m_glIsImageHandleResidentNV; PFNGLBLENDPARAMETERINVPROC m_glBlendParameteriNV; PFNGLBLENDBARRIERNVPROC m_glBlendBarrierNV; + PFNGLVIEWPORTPOSITIONWSCALENVPROC m_glViewportPositionWScaleNV; PFNGLCREATESTATESNVPROC m_glCreateStatesNV; PFNGLDELETESTATESNVPROC m_glDeleteStatesNV; PFNGLISSTATENVPROC m_glIsStateNV; @@ -6822,6 +7187,7 @@ namespace glew PFNGLENDCONDITIONALRENDERNVPROC m_glEndConditionalRenderNV; PFNGLSUBPIXELPRECISIONBIASNVPROC m_glSubpixelPrecisionBiasNV; PFNGLCONSERVATIVERASTERPARAMETERFNVPROC m_glConservativeRasterParameterfNV; + PFNGLCONSERVATIVERASTERPARAMETERINVPROC m_glConservativeRasterParameteriNV; PFNGLCOPYBUFFERSUBDATANVPROC m_glCopyBufferSubDataNV; PFNGLCOPYIMAGESUBDATANVPROC m_glCopyImageSubDataNV; PFNGLCOVERAGEMASKNVPROC m_glCoverageMaskNV; @@ -6833,6 +7199,11 @@ namespace glew PFNGLDRAWARRAYSINSTANCEDNVPROC m_glDrawArraysInstancedNV; PFNGLDRAWELEMENTSINSTANCEDNVPROC m_glDrawElementsInstancedNV; PFNGLDRAWTEXTURENVPROC m_glDrawTextureNV; + PFNGLDRAWVKIMAGENVPROC m_glDrawVkImageNV; + PFNGLGETVKPROCADDRNVPROC m_glGetVkProcAddrNV; + PFNGLWAITVKSEMAPHORENVPROC m_glWaitVkSemaphoreNV; + PFNGLSIGNALVKSEMAPHORENVPROC m_glSignalVkSemaphoreNV; + PFNGLSIGNALVKFENCENVPROC m_glSignalVkFenceNV; PFNGLMAPCONTROLPOINTSNVPROC m_glMapControlPointsNV; PFNGLMAPPARAMETERIVNVPROC m_glMapParameterivNV; PFNGLMAPPARAMETERFVNVPROC m_glMapParameterfvNV; @@ -6933,6 +7304,42 @@ namespace glew PFNGLVERTEXATTRIBS4HVNVPROC m_glVertexAttribs4hvNV; PFNGLVERTEXATTRIBDIVISORNVPROC m_glVertexAttribDivisorNV; PFNGLGETINTERNALFORMATSAMPLEIVNVPROC m_glGetInternalformatSampleivNV; + PFNGLRENDERGPUMASKNVPROC m_glRenderGpuMaskNV; + PFNGLMULTICASTBUFFERSUBDATANVPROC m_glMulticastBufferSubDataNV; + PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC m_glMulticastCopyBufferSubDataNV; + PFNGLMULTICASTCOPYIMAGESUBDATANVPROC m_glMulticastCopyImageSubDataNV; + PFNGLMULTICASTBLITFRAMEBUFFERNVPROC m_glMulticastBlitFramebufferNV; + PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC m_glMulticastFramebufferSampleLocationsfvNV; + PFNGLMULTICASTBARRIERNVPROC m_glMulticastBarrierNV; + PFNGLMULTICASTWAITSYNCNVPROC m_glMulticastWaitSyncNV; + PFNGLMULTICASTGETQUERYOBJECTIVNVPROC m_glMulticastGetQueryObjectivNV; + PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC m_glMulticastGetQueryObjectuivNV; + PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC m_glMulticastGetQueryObjecti64vNV; + PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC m_glMulticastGetQueryObjectui64vNV; + PFNGLUPLOADGPUMASKNVXPROC m_glUploadGpuMaskNVX; + PFNGLMULTICASTVIEWPORTARRAYVNVXPROC m_glMulticastViewportArrayvNVX; + PFNGLMULTICASTVIEWPORTPOSITIONWSCALENVXPROC m_glMulticastViewportPositionWScaleNVX; + PFNGLMULTICASTSCISSORARRAYVNVXPROC m_glMulticastScissorArrayvNVX; + PFNGLASYNCCOPYBUFFERSUBDATANVXPROC m_glAsyncCopyBufferSubDataNVX; + PFNGLASYNCCOPYIMAGESUBDATANVXPROC m_glAsyncCopyImageSubDataNVX; + PFNGLCREATEPROGRESSFENCENVXPROC m_glCreateProgressFenceNVX; + PFNGLSIGNALSEMAPHOREUI64NVXPROC m_glSignalSemaphoreui64NVX; + PFNGLWAITSEMAPHOREUI64NVXPROC m_glWaitSemaphoreui64NVX; + PFNGLCLIENTWAITSEMAPHOREUI64NVXPROC m_glClientWaitSemaphoreui64NVX; + PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC m_glGetMemoryObjectDetachedResourcesuivNV; + PFNGLRESETMEMORYOBJECTPARAMETERNVPROC m_glResetMemoryObjectParameterNV; + PFNGLTEXATTACHMEMORYNVPROC m_glTexAttachMemoryNV; + PFNGLBUFFERATTACHMEMORYNVPROC m_glBufferAttachMemoryNV; + PFNGLTEXTUREATTACHMEMORYNVPROC m_glTextureAttachMemoryNV; + PFNGLNAMEDBUFFERATTACHMEMORYNVPROC m_glNamedBufferAttachMemoryNV; + PFNGLBUFFERPAGECOMMITMENTMEMNVPROC m_glBufferPageCommitmentMemNV; + PFNGLTEXPAGECOMMITMENTMEMNVPROC m_glTexPageCommitmentMemNV; + PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC m_glNamedBufferPageCommitmentMemNV; + PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC m_glTexturePageCommitmentMemNV; + PFNGLDRAWMESHTASKSNVPROC m_glDrawMeshTasksNV; + PFNGLDRAWMESHTASKSINDIRECTNVPROC m_glDrawMeshTasksIndirectNV; + PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC m_glMultiDrawMeshTasksIndirectNV; + PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC m_glMultiDrawMeshTasksIndirectCountNV; PFNGLUNIFORMMATRIX2X3FVNVPROC m_glUniformMatrix2x3fvNV; PFNGLUNIFORMMATRIX3X2FVNVPROC m_glUniformMatrix3x2fvNV; PFNGLUNIFORMMATRIX2X4FVNVPROC m_glUniformMatrix2x4fvNV; @@ -7026,6 +7433,10 @@ namespace glew PFNGLGETVIDEOUI64VNVPROC m_glGetVideoui64vNV; PFNGLPRIMITIVERESTARTNVPROC m_glPrimitiveRestartNV; PFNGLPRIMITIVERESTARTINDEXNVPROC m_glPrimitiveRestartIndexNV; + PFNGLQUERYRESOURCENVPROC m_glQueryResourceNV; + PFNGLGENQUERYRESOURCETAGNVPROC m_glGenQueryResourceTagNV; + PFNGLDELETEQUERYRESOURCETAGNVPROC m_glDeleteQueryResourceTagNV; + PFNGLQUERYRESOURCETAGNVPROC m_glQueryResourceTagNV; PFNGLREADBUFFERNVPROC m_glReadBufferNV; PFNGLCOMBINERPARAMETERFVNVPROC m_glCombinerParameterfvNV; PFNGLCOMBINERPARAMETERFNVPROC m_glCombinerParameterfNV; @@ -7045,6 +7456,8 @@ namespace glew PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC m_glFramebufferSampleLocationsfvNV; PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC m_glNamedFramebufferSampleLocationsfvNV; PFNGLRESOLVEDEPTHVALUESNVPROC m_glResolveDepthValuesNV; + PFNGLSCISSOREXCLUSIVENVPROC m_glScissorExclusiveNV; + PFNGLSCISSOREXCLUSIVEARRAYVNVPROC m_glScissorExclusiveArrayvNV; PFNGLMAKEBUFFERRESIDENTNVPROC m_glMakeBufferResidentNV; PFNGLMAKEBUFFERNONRESIDENTNVPROC m_glMakeBufferNonResidentNV; PFNGLISBUFFERRESIDENTNVPROC m_glIsBufferResidentNV; @@ -7058,6 +7471,13 @@ namespace glew PFNGLUNIFORMUI64VNVPROC m_glUniformui64vNV; PFNGLPROGRAMUNIFORMUI64NVPROC m_glProgramUniformui64NV; PFNGLPROGRAMUNIFORMUI64VNVPROC m_glProgramUniformui64vNV; + PFNGLBINDSHADINGRATEIMAGENVPROC m_glBindShadingRateImageNV; + PFNGLGETSHADINGRATEIMAGEPALETTENVPROC m_glGetShadingRateImagePaletteNV; + PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC m_glGetShadingRateSampleLocationivNV; + PFNGLSHADINGRATEIMAGEBARRIERNVPROC m_glShadingRateImageBarrierNV; + PFNGLSHADINGRATEIMAGEPALETTENVPROC m_glShadingRateImagePaletteNV; + PFNGLSHADINGRATESAMPLEORDERNVPROC m_glShadingRateSampleOrderNV; + PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC m_glShadingRateSampleOrderCustomNV; PFNGLTEXTUREBARRIERNVPROC m_glTextureBarrierNV; PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC m_glTexImage2DMultisampleCoverageNV; PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC m_glTexImage3DMultisampleCoverageNV; @@ -7094,6 +7514,7 @@ namespace glew PFNGLVDPAUSURFACEACCESSNVPROC m_glVDPAUSurfaceAccessNV; PFNGLVDPAUMAPSURFACESNVPROC m_glVDPAUMapSurfacesNV; PFNGLVDPAUUNMAPSURFACESNVPROC m_glVDPAUUnmapSurfacesNV; + PFNGLVDPAUREGISTERVIDEOSURFACEWITHPICTURESTRUCTURENVPROC m_glVDPAURegisterVideoSurfaceWithPictureStructureNV; PFNGLFLUSHVERTEXARRAYRANGENVPROC m_glFlushVertexArrayRangeNV; PFNGLVERTEXARRAYRANGENVPROC m_glVertexArrayRangeNV; PFNGLVERTEXATTRIBL1I64NVPROC m_glVertexAttribL1i64NV; @@ -7238,6 +7659,7 @@ namespace glew PFNGLENABLEINVPROC m_glEnableiNV; PFNGLDISABLEINVPROC m_glDisableiNV; PFNGLISENABLEDINVPROC m_glIsEnablediNV; + PFNGLVIEWPORTSWIZZLENVPROC m_glViewportSwizzleNV; PFNGLEGLIMAGETARGETTEXTURE2DOESPROC m_glEGLImageTargetTexture2DOES; PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC m_glEGLImageTargetRenderbufferStorageOES; PFNGLMULTITEXCOORD1BOESPROC m_glMultiTexCoord1bOES; @@ -7274,7 +7696,6 @@ namespace glew PFNGLDRAWELEMENTSBASEVERTEXOESPROC m_glDrawElementsBaseVertexOES; PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC m_glDrawRangeElementsBaseVertexOES; PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC m_glDrawElementsInstancedBaseVertexOES; - PFNGLMULTIDRAWELEMENTSBASEVERTEXOESPROC m_glMultiDrawElementsBaseVertexOES; PFNGLALPHAFUNCXOESPROC m_glAlphaFuncxOES; PFNGLCLEARCOLORXOESPROC m_glClearColorxOES; PFNGLCLEARDEPTHXOESPROC m_glClearDepthxOES; @@ -7416,6 +7837,15 @@ namespace glew PFNGLDELETEVERTEXARRAYSOESPROC m_glDeleteVertexArraysOES; PFNGLGENVERTEXARRAYSOESPROC m_glGenVertexArraysOES; PFNGLISVERTEXARRAYOESPROC m_glIsVertexArrayOES; + PFNGLVIEWPORTARRAYVOESPROC m_glViewportArrayvOES; + PFNGLVIEWPORTINDEXEDFOESPROC m_glViewportIndexedfOES; + PFNGLVIEWPORTINDEXEDFVOESPROC m_glViewportIndexedfvOES; + PFNGLSCISSORARRAYVOESPROC m_glScissorArrayvOES; + PFNGLSCISSORINDEXEDOESPROC m_glScissorIndexedOES; + PFNGLSCISSORINDEXEDVOESPROC m_glScissorIndexedvOES; + PFNGLDEPTHRANGEARRAYFVOESPROC m_glDepthRangeArrayfvOES; + PFNGLDEPTHRANGEINDEXEDFOESPROC m_glDepthRangeIndexedfOES; + PFNGLGETFLOATI_VOESPROC m_glGetFloati_vOES; PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC m_glFramebufferTextureMultiviewOVR; PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC m_glFramebufferTextureMultisampleMultiviewOVR; PFNGLHINTPGIPROC m_glHintPGI; @@ -7436,6 +7866,14 @@ namespace glew PFNGLEXTGETPROGRAMSQCOMPROC m_glExtGetProgramsQCOM; PFNGLEXTISPROGRAMBINARYQCOMPROC m_glExtIsProgramBinaryQCOM; PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC m_glExtGetProgramBinarySourceQCOM; + PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC m_glFramebufferFoveationConfigQCOM; + PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC m_glFramebufferFoveationParametersQCOM; + PFNGLTEXESTIMATEMOTIONQCOMPROC m_glTexEstimateMotionQCOM; + PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC m_glTexEstimateMotionRegionsQCOM; + PFNGLEXTRAPOLATETEX2DQCOMPROC m_glExtrapolateTex2DQCOM; + PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC m_glTextureFoveationParametersQCOM; + PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC m_glFramebufferFetchBarrierQCOM; + PFNGLSHADINGRATEQCOMPROC m_glShadingRateQCOM; PFNGLSTARTTILINGQCOMPROC m_glStartTilingQCOM; PFNGLENDTILINGQCOMPROC m_glEndTilingQCOM; PFNGLDETAILTEXFUNCSGISPROC m_glDetailTexFuncSGIS; @@ -7982,7 +8420,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glDeleteSync (GLsync sync); GLEW_API GLenum GLEW_APIENTRY _glew_gl_glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); GLEW_API void GLEW_APIENTRY _glew_gl_glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); GLEW_API void GLEW_APIENTRY _glew_gl_glGetInteger64v (GLenum pname, GLint64 * data); -GLEW_API void GLEW_APIENTRY _glew_gl_glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetSynciv (GLsync sync, GLenum pname, GLsizei count, GLsizei * length, GLint * values); GLEW_API void GLEW_APIENTRY _glew_gl_glGetInteger64i_v (GLenum target, GLuint index, GLint64 * data); GLEW_API void GLEW_APIENTRY _glew_gl_glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 * params); GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level); @@ -8076,8 +8514,8 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glGetUniformdv (GLuint program, GLint locat GLEW_API GLint GLEW_APIENTRY _glew_gl_glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar * name); GLEW_API GLuint GLEW_APIENTRY _glew_gl_glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar * name); GLEW_API void GLEW_APIENTRY _glew_gl_glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint * values); -GLEW_API void GLEW_APIENTRY _glew_gl_glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name); -GLEW_API void GLEW_APIENTRY _glew_gl_glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); GLEW_API void GLEW_APIENTRY _glew_gl_glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint * indices); GLEW_API void GLEW_APIENTRY _glew_gl_glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint * params); GLEW_API void GLEW_APIENTRY _glew_gl_glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint * values); @@ -8095,7 +8533,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glBeginQueryIndexed (GLenum target, GLuint GLEW_API void GLEW_APIENTRY _glew_gl_glEndQueryIndexed (GLenum target, GLuint index); GLEW_API void GLEW_APIENTRY _glew_gl_glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint * params); GLEW_API void GLEW_APIENTRY _glew_gl_glReleaseShaderCompiler (); -GLEW_API void GLEW_APIENTRY _glew_gl_glShaderBinary (GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length); +GLEW_API void GLEW_APIENTRY _glew_gl_glShaderBinary (GLsizei count, const GLuint * shaders, GLenum binaryFormat, const void * binary, GLsizei length); GLEW_API void GLEW_APIENTRY _glew_gl_glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); GLEW_API void GLEW_APIENTRY _glew_gl_glDepthRangef (GLfloat n, GLfloat f); GLEW_API void GLEW_APIENTRY _glew_gl_glClearDepthf (GLfloat d); @@ -8185,7 +8623,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glGetDoublei_v (GLenum target, GLuint index GLEW_API void GLEW_APIENTRY _glew_gl_glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLuint baseinstance); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); -GLEW_API void GLEW_APIENTRY _glew_gl_glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint * params); GLEW_API void GLEW_APIENTRY _glew_gl_glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint * params); GLEW_API void GLEW_APIENTRY _glew_gl_glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); GLEW_API void GLEW_APIENTRY _glew_gl_glMemoryBarrier (GLbitfield barriers); @@ -8201,7 +8639,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glDispatchComputeIndirect (GLintptr indirec GLEW_API void GLEW_APIENTRY _glew_gl_glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferParameteri (GLenum target, GLenum pname, GLint param); GLEW_API void GLEW_APIENTRY _glew_gl_glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint * params); -GLEW_API void GLEW_APIENTRY _glew_gl_glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 * params); GLEW_API void GLEW_APIENTRY _glew_gl_glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); GLEW_API void GLEW_APIENTRY _glew_gl_glInvalidateTexImage (GLuint texture, GLint level); GLEW_API void GLEW_APIENTRY _glew_gl_glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length); @@ -8213,7 +8651,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawElementsIndirect (GLenum mode, G GLEW_API void GLEW_APIENTRY _glew_gl_glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint * params); GLEW_API GLuint GLEW_APIENTRY _glew_gl_glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar * name); GLEW_API void GLEW_APIENTRY _glew_gl_glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); -GLEW_API void GLEW_APIENTRY _glew_gl_glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei count, GLsizei * length, GLint * params); GLEW_API GLint GLEW_APIENTRY _glew_gl_glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar * name); GLEW_API GLint GLEW_APIENTRY _glew_gl_glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar * name); GLEW_API void GLEW_APIENTRY _glew_gl_glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); @@ -8368,17 +8806,27 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glGetnSeparableFilter (GLenum target, GLenu GLEW_API void GLEW_APIENTRY _glew_gl_glGetnHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void * values); GLEW_API void GLEW_APIENTRY _glew_gl_glGetnMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void * values); GLEW_API void GLEW_APIENTRY _glew_gl_glTextureBarrier (); +GLEW_API void GLEW_APIENTRY _glew_gl_glSpecializeShader (GLuint shader, const GLchar * pEntryPoint, GLuint numSpecializationConstants, const GLuint * pConstantIndex, const GLuint * pConstantValue); +GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawArraysIndirectCount (GLenum mode, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLEW_API void GLEW_APIENTRY _glew_gl_glPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp); GLEW_API void GLEW_APIENTRY _glew_gl_glBlendBarrier (); GLEW_API void GLEW_APIENTRY _glew_gl_glPrimitiveBoundingBox (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); GLEW_API void GLEW_APIENTRY _glew_gl_glTbufferMask3DFX (GLuint mask); GLEW_API void GLEW_APIENTRY _glew_gl_glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); GLEW_API void GLEW_APIENTRY _glew_gl_glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar * buf); GLEW_API void GLEW_APIENTRY _glew_gl_glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void * userParam); -GLEW_API GLuint GLEW_APIENTRY _glew_gl_glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum * categories, GLuint * severities, GLuint * ids, GLsizei * lengths, GLchar * message); +GLEW_API GLuint GLEW_APIENTRY _glew_gl_glGetDebugMessageLogAMD (GLuint count, GLsizei bufSize, GLenum * categories, GLuint * severities, GLuint * ids, GLsizei * lengths, GLchar * message); GLEW_API void GLEW_APIENTRY _glew_gl_glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst); GLEW_API void GLEW_APIENTRY _glew_gl_glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); GLEW_API void GLEW_APIENTRY _glew_gl_glBlendEquationIndexedAMD (GLuint buf, GLenum mode); GLEW_API void GLEW_APIENTRY _glew_gl_glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha); +GLEW_API void GLEW_APIENTRY _glew_gl_glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +GLEW_API void GLEW_APIENTRY _glew_gl_glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferSamplePositionsfvAMD (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat * values); +GLEW_API void GLEW_APIENTRY _glew_gl_glNamedFramebufferSamplePositionsfvAMD (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat * values); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetFramebufferParameterfvAMD (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat * values); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetNamedFramebufferParameterfvAMD (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat * values); GLEW_API void GLEW_APIENTRY _glew_gl_glUniform1i64NV (GLint location, GLint64EXT x); GLEW_API void GLEW_APIENTRY _glew_gl_glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y); GLEW_API void GLEW_APIENTRY _glew_gl_glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); @@ -8442,7 +8890,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glRenderbufferStorageMultisampleANGLE (GLen GLEW_API void GLEW_APIENTRY _glew_gl_glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); GLEW_API void GLEW_APIENTRY _glew_gl_glVertexAttribDivisorANGLE (GLuint index, GLuint divisor); -GLEW_API void GLEW_APIENTRY _glew_gl_glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei * length, GLchar * source); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source); GLEW_API void GLEW_APIENTRY _glew_gl_glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); GLEW_API void GLEW_APIENTRY _glew_gl_glElementPointerAPPLE (GLenum type, const void * pointer); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count); @@ -8470,7 +8918,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glDeleteSyncAPPLE (GLsync sync); GLEW_API GLenum GLEW_APIENTRY _glew_gl_glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); GLEW_API void GLEW_APIENTRY _glew_gl_glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); GLEW_API void GLEW_APIENTRY _glew_gl_glGetInteger64vAPPLE (GLenum pname, GLint64 * params); -GLEW_API void GLEW_APIENTRY _glew_gl_glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei count, GLsizei * length, GLint * values); GLEW_API void GLEW_APIENTRY _glew_gl_glTextureRangeAPPLE (GLenum target, GLsizei length, const void * pointer); GLEW_API void GLEW_APIENTRY _glew_gl_glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, void ** params); GLEW_API void GLEW_APIENTRY _glew_gl_glBindVertexArrayAPPLE (GLuint array); @@ -8541,6 +8989,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glProgramParameteriARB (GLuint program, GLe GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level); GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); +GLEW_API void GLEW_APIENTRY _glew_gl_glSpecializeShaderARB (GLuint shader, const GLchar * pEntryPoint, GLuint numSpecializationConstants, const GLuint * pConstantIndex, const GLuint * pConstantValue); GLEW_API void GLEW_APIENTRY _glew_gl_glUniform1i64ARB (GLint location, GLint64 x); GLEW_API void GLEW_APIENTRY _glew_gl_glUniform2i64ARB (GLint location, GLint64 x, GLint64 y); GLEW_API void GLEW_APIENTRY _glew_gl_glUniform3i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z); @@ -8609,8 +9058,8 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glHistogram (GLenum target, GLsizei width, GLEW_API void GLEW_APIENTRY _glew_gl_glMinmax (GLenum target, GLenum internalformat, GLboolean sink); GLEW_API void GLEW_APIENTRY _glew_gl_glResetHistogram (GLenum target); GLEW_API void GLEW_APIENTRY _glew_gl_glResetMinmax (GLenum target); -GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawArraysIndirectCountARB (GLenum mode, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); GLEW_API void GLEW_APIENTRY _glew_gl_glVertexAttribDivisorARB (GLuint index, GLuint divisor); GLEW_API void GLEW_APIENTRY _glew_gl_glCurrentPaletteMatrixARB (GLint index); GLEW_API void GLEW_APIENTRY _glew_gl_glMatrixIndexubvARB (GLint size, const GLubyte * indices); @@ -8815,6 +9264,8 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glGetVertexAttribPointervARB (GLuint index, GLEW_API void GLEW_APIENTRY _glew_gl_glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB * name); GLEW_API void GLEW_APIENTRY _glew_gl_glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); GLEW_API GLint GLEW_APIENTRY _glew_gl_glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB * name); +GLEW_API void GLEW_APIENTRY _glew_gl_glDepthRangeArraydvNV (GLuint first, GLsizei count, const GLdouble * v); +GLEW_API void GLEW_APIENTRY _glew_gl_glDepthRangeIndexeddNV (GLuint index, GLdouble n, GLdouble f); GLEW_API void GLEW_APIENTRY _glew_gl_glWindowPos2dARB (GLdouble x, GLdouble y); GLEW_API void GLEW_APIENTRY _glew_gl_glWindowPos2dvARB (const GLdouble * v); GLEW_API void GLEW_APIENTRY _glew_gl_glWindowPos2fARB (GLfloat x, GLfloat y); @@ -8919,6 +9370,8 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glNormalStream3dvATI (GLenum stream, const GLEW_API void GLEW_APIENTRY _glew_gl_glClientActiveVertexStreamATI (GLenum stream); GLEW_API void GLEW_APIENTRY _glew_gl_glVertexBlendEnviATI (GLenum pname, GLint param); GLEW_API void GLEW_APIENTRY _glew_gl_glVertexBlendEnvfATI (GLenum pname, GLfloat param); +GLEW_API void GLEW_APIENTRY _glew_gl_glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list); +GLEW_API void GLEW_APIENTRY _glew_gl_glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawArraysInstancedBaseInstanceEXT (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawElementsInstancedBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLuint baseinstance); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawElementsInstancedBaseVertexBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); @@ -8934,6 +9387,9 @@ GLEW_API GLint GLEW_APIENTRY _glew_gl_glGetFragDataIndexEXT (GLuint program, con GLEW_API void GLEW_APIENTRY _glew_gl_glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); GLEW_API void GLEW_APIENTRY _glew_gl_glBlendEquationEXT (GLenum mode); GLEW_API void GLEW_APIENTRY _glew_gl_glBufferStorageEXT (GLenum target, GLsizeiptr size, const void * data, GLbitfield flags); +GLEW_API void GLEW_APIENTRY _glew_gl_glClearTexImageEXT (GLuint texture, GLint level, GLenum format, GLenum type, const void * data); +GLEW_API void GLEW_APIENTRY _glew_gl_glClearTexSubImageEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); +GLEW_API void GLEW_APIENTRY _glew_gl_glClipControlEXT (GLenum origin, GLenum depth); GLEW_API void GLEW_APIENTRY _glew_gl_glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void * data); GLEW_API void GLEW_APIENTRY _glew_gl_glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); GLEW_API void GLEW_APIENTRY _glew_gl_glLockArraysEXT (GLint first, GLsizei count); @@ -9254,6 +9710,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glGetQueryObjectivEXT (GLuint id, GLenum pn GLEW_API void GLEW_APIENTRY _glew_gl_glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint * params); GLEW_API void GLEW_APIENTRY _glew_gl_glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 * params); GLEW_API void GLEW_APIENTRY _glew_gl_glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetInteger64vEXT (GLenum pname, GLint64 * data); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawBuffersEXT (GLsizei n, const GLenum * bufs); GLEW_API void GLEW_APIENTRY _glew_gl_glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); GLEW_API void GLEW_APIENTRY _glew_gl_glEnableiEXT (GLenum target, GLuint index); @@ -9267,10 +9724,14 @@ GLEW_API GLboolean GLEW_APIENTRY _glew_gl_glIsEnablediEXT (GLenum target, GLuint GLEW_API void GLEW_APIENTRY _glew_gl_glDrawElementsBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawRangeElementsBaseVertexEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawElementsInstancedBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex); -GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, const GLint * basevertex); +GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount, const GLint * basevertex); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices); +GLEW_API void GLEW_APIENTRY _glew_gl_glDrawTransformFeedbackEXT (GLenum mode, GLuint id); +GLEW_API void GLEW_APIENTRY _glew_gl_glDrawTransformFeedbackInstancedEXT (GLenum mode, GLuint id, GLsizei instancecount); +GLEW_API void GLEW_APIENTRY _glew_gl_glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +GLEW_API void GLEW_APIENTRY _glew_gl_glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); GLEW_API void GLEW_APIENTRY _glew_gl_glFogCoordfEXT (GLfloat coord); GLEW_API void GLEW_APIENTRY _glew_gl_glFogCoordfvEXT (const GLfloat * coord); GLEW_API void GLEW_APIENTRY _glew_gl_glFogCoorddEXT (GLdouble coord); @@ -9327,6 +9788,28 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glTextureLightEXT (GLenum pname); GLEW_API void GLEW_APIENTRY _glew_gl_glTextureMaterialEXT (GLenum face, GLenum mode); GLEW_API void * GLEW_APIENTRY _glew_gl_glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); GLEW_API void GLEW_APIENTRY _glew_gl_glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetUnsignedBytevEXT (GLenum pname, GLubyte * data); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte * data); +GLEW_API void GLEW_APIENTRY _glew_gl_glDeleteMemoryObjectsEXT (GLsizei n, const GLuint * memoryObjects); +GLEW_API GLboolean GLEW_APIENTRY _glew_gl_glIsMemoryObjectEXT (GLuint memoryObject); +GLEW_API void GLEW_APIENTRY _glew_gl_glCreateMemoryObjectsEXT (GLsizei n, GLuint * memoryObjects); +GLEW_API void GLEW_APIENTRY _glew_gl_glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glTexStorageMem1DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glTextureStorageMem1DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd); +GLEW_API void GLEW_APIENTRY _glew_gl_glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void * handle); +GLEW_API void GLEW_APIENTRY _glew_gl_glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void * name); GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawArraysEXT (GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawElementsEXT (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount); GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawArraysIndirectEXT (GLenum mode, const void * indirect, GLsizei drawcount, GLsizei stride); @@ -9358,6 +9841,16 @@ GLEW_API GLenum GLEW_APIENTRY _glew_gl_glGetGraphicsResetStatusEXT (); GLEW_API void GLEW_APIENTRY _glew_gl_glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); GLEW_API void GLEW_APIENTRY _glew_gl_glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat * params); GLEW_API void GLEW_APIENTRY _glew_gl_glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glGenSemaphoresEXT (GLsizei n, GLuint * semaphores); +GLEW_API void GLEW_APIENTRY _glew_gl_glDeleteSemaphoresEXT (GLsizei n, const GLuint * semaphores); +GLEW_API GLboolean GLEW_APIENTRY _glew_gl_glIsSemaphoreEXT (GLuint semaphore); +GLEW_API void GLEW_APIENTRY _glew_gl_glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * srcLayouts); +GLEW_API void GLEW_APIENTRY _glew_gl_glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * dstLayouts); +GLEW_API void GLEW_APIENTRY _glew_gl_glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd); +GLEW_API void GLEW_APIENTRY _glew_gl_glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void * handle); +GLEW_API void GLEW_APIENTRY _glew_gl_glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void * name); GLEW_API void GLEW_APIENTRY _glew_gl_glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue); GLEW_API void GLEW_APIENTRY _glew_gl_glSecondaryColor3bvEXT (const GLbyte * v); GLEW_API void GLEW_APIENTRY _glew_gl_glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue); @@ -9388,8 +9881,12 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glGetProgramPipelineivEXT (GLuint pipeline, GLEW_API GLboolean GLEW_APIENTRY _glew_gl_glIsProgramPipelineEXT (GLuint pipeline); GLEW_API void GLEW_APIENTRY _glew_gl_glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program); GLEW_API void GLEW_APIENTRY _glew_gl_glValidateProgramPipelineEXT (GLuint pipeline); +GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferFetchBarrierEXT (); GLEW_API void GLEW_APIENTRY _glew_gl_glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format); GLEW_API void GLEW_APIENTRY _glew_gl_glMemoryBarrierEXT (GLbitfield barriers); +GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferPixelLocalStorageSizeEXT (GLuint target, GLsizei size); +GLEW_API GLsizei GLEW_APIENTRY _glew_gl_glGetFramebufferPixelLocalStorageSizeEXT (GLuint target); +GLEW_API void GLEW_APIENTRY _glew_gl_glClearPixelLocalStorageuiEXT (GLsizei offset, GLsizei n, const GLuint * values); GLEW_API void GLEW_APIENTRY _glew_gl_glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); GLEW_API void GLEW_APIENTRY _glew_gl_glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag); GLEW_API void GLEW_APIENTRY _glew_gl_glActiveStencilFaceEXT (GLenum face); @@ -9422,6 +9919,9 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glTexStorage1DEXT (GLenum target, GLsizei l GLEW_API void GLEW_APIENTRY _glew_gl_glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); GLEW_API void GLEW_APIENTRY _glew_gl_glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); GLEW_API void GLEW_APIENTRY _glew_gl_glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); +GLEW_API void GLEW_APIENTRY _glew_gl_glCreateSemaphoresNV (GLsizei n, GLuint * semaphores); +GLEW_API void GLEW_APIENTRY _glew_gl_glSemaphoreParameterivNV (GLuint semaphore, GLenum pname, const GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetSemaphoreParameterivNV (GLuint semaphore, GLenum pname, GLint * params); GLEW_API void GLEW_APIENTRY _glew_gl_glBeginTransformFeedbackEXT (GLenum primitiveMode); GLEW_API void GLEW_APIENTRY _glew_gl_glEndTransformFeedbackEXT (); GLEW_API void GLEW_APIENTRY _glew_gl_glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); @@ -9493,6 +9993,9 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glGetLocalConstantFloatvEXT (GLuint id, GLe GLEW_API void GLEW_APIENTRY _glew_gl_glVertexWeightfEXT (GLfloat weight); GLEW_API void GLEW_APIENTRY _glew_gl_glVertexWeightfvEXT (const GLfloat * weight); GLEW_API void GLEW_APIENTRY _glew_gl_glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void * pointer); +GLEW_API GLboolean GLEW_APIENTRY _glew_gl_glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout); +GLEW_API GLboolean GLEW_APIENTRY _glew_gl_glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key); +GLEW_API void GLEW_APIENTRY _glew_gl_glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint * box); GLEW_API GLsync GLEW_APIENTRY _glew_gl_glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags); GLEW_API void GLEW_APIENTRY _glew_gl_glFrameTerminatorGREMEDY (); GLEW_API void GLEW_APIENTRY _glew_gl_glStringMarkerGREMEDY (GLsizei len, const void * string); @@ -9513,6 +10016,14 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glIndexPointerListIBM (GLenum type, GLint s GLEW_API void GLEW_APIENTRY _glew_gl_glNormalPointerListIBM (GLenum type, GLint stride, const void ** pointer, GLint ptrstride); GLEW_API void GLEW_APIENTRY _glew_gl_glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); GLEW_API void GLEW_APIENTRY _glew_gl_glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); +GLEW_API GLuint64 GLEW_APIENTRY _glew_gl_glGetTextureHandleIMG (GLuint texture); +GLEW_API GLuint64 GLEW_APIENTRY _glew_gl_glGetTextureSamplerHandleIMG (GLuint texture, GLuint sampler); +GLEW_API void GLEW_APIENTRY _glew_gl_glUniformHandleui64IMG (GLint location, GLuint64 value); +GLEW_API void GLEW_APIENTRY _glew_gl_glUniformHandleui64vIMG (GLint location, GLsizei count, const GLuint64 * value); +GLEW_API void GLEW_APIENTRY _glew_gl_glProgramUniformHandleui64IMG (GLuint program, GLint location, GLuint64 value); +GLEW_API void GLEW_APIENTRY _glew_gl_glProgramUniformHandleui64vIMG (GLuint program, GLint location, GLsizei count, const GLuint64 * values); +GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); +GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); GLEW_API void GLEW_APIENTRY _glew_gl_glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); GLEW_API void GLEW_APIENTRY _glew_gl_glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); @@ -9531,7 +10042,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glEndPerfQueryINTEL (GLuint queryHandle); GLEW_API void GLEW_APIENTRY _glew_gl_glGetFirstPerfQueryIdINTEL (GLuint * queryId); GLEW_API void GLEW_APIENTRY _glew_gl_glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint * nextQueryId); GLEW_API void GLEW_APIENTRY _glew_gl_glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue); -GLEW_API void GLEW_APIENTRY _glew_gl_glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid * data, GLuint * bytesWritten); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void * data, GLuint * bytesWritten); GLEW_API void GLEW_APIENTRY _glew_gl_glGetPerfQueryIdByNameINTEL (GLchar * queryName, GLuint * queryId); GLEW_API void GLEW_APIENTRY _glew_gl_glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask); GLEW_API void GLEW_APIENTRY _glew_gl_glBlendBarrierKHR (); @@ -9551,6 +10062,9 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReadnPixelsKHR (GLint x, GLint y, GLsizei GLEW_API void GLEW_APIENTRY _glew_gl_glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat * params); GLEW_API void GLEW_APIENTRY _glew_gl_glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint * params); GLEW_API void GLEW_APIENTRY _glew_gl_glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glMaxShaderCompilerThreadsKHR (GLuint count); +GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferParameteriMESA (GLenum target, GLenum pname, GLint param); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetFramebufferParameterivMESA (GLenum target, GLenum pname, GLint * params); GLEW_API void GLEW_APIENTRY _glew_gl_glResizeBuffersMESA (); GLEW_API void GLEW_APIENTRY _glew_gl_glWindowPos2dMESA (GLdouble x, GLdouble y); GLEW_API void GLEW_APIENTRY _glew_gl_glWindowPos2dvMESA (const GLdouble * v); @@ -9578,6 +10092,10 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glWindowPos4sMESA (GLshort x, GLshort y, GL GLEW_API void GLEW_APIENTRY _glew_gl_glWindowPos4svMESA (const GLshort * v); GLEW_API void GLEW_APIENTRY _glew_gl_glBeginConditionalRenderNVX (GLuint id); GLEW_API void GLEW_APIENTRY _glew_gl_glEndConditionalRenderNVX (); +GLEW_API void GLEW_APIENTRY _glew_gl_glLGPUNamedBufferSubDataNVX (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); +GLEW_API void GLEW_APIENTRY _glew_gl_glLGPUCopyImageSubDataNVX (GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); +GLEW_API void GLEW_APIENTRY _glew_gl_glLGPUInterlockNVX (); +GLEW_API void GLEW_APIENTRY _glew_gl_glAlphaToCoverageDitherControlNV (GLenum mode); GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void * indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); @@ -9597,6 +10115,7 @@ GLEW_API GLboolean GLEW_APIENTRY _glew_gl_glIsTextureHandleResidentNV (GLuint64 GLEW_API GLboolean GLEW_APIENTRY _glew_gl_glIsImageHandleResidentNV (GLuint64 handle); GLEW_API void GLEW_APIENTRY _glew_gl_glBlendParameteriNV (GLenum pname, GLint value); GLEW_API void GLEW_APIENTRY _glew_gl_glBlendBarrierNV (); +GLEW_API void GLEW_APIENTRY _glew_gl_glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff); GLEW_API void GLEW_APIENTRY _glew_gl_glCreateStatesNV (GLsizei n, GLuint * states); GLEW_API void GLEW_APIENTRY _glew_gl_glDeleteStatesNV (GLsizei n, const GLuint * states); GLEW_API GLboolean GLEW_APIENTRY _glew_gl_glIsStateNV (GLuint state); @@ -9618,6 +10137,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glBeginConditionalRenderNV (GLuint id, GLen GLEW_API void GLEW_APIENTRY _glew_gl_glEndConditionalRenderNV (); GLEW_API void GLEW_APIENTRY _glew_gl_glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits); GLEW_API void GLEW_APIENTRY _glew_gl_glConservativeRasterParameterfNV (GLenum pname, GLfloat value); +GLEW_API void GLEW_APIENTRY _glew_gl_glConservativeRasterParameteriNV (GLenum pname, GLint param); GLEW_API void GLEW_APIENTRY _glew_gl_glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); GLEW_API void GLEW_APIENTRY _glew_gl_glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); GLEW_API void GLEW_APIENTRY _glew_gl_glCoverageMaskNV (GLboolean mask); @@ -9629,6 +10149,11 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glDrawBuffersNV (GLsizei n, const GLenum * GLEW_API void GLEW_APIENTRY _glew_gl_glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawTextureNV (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); +GLEW_API void GLEW_APIENTRY _glew_gl_glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); +GLEW_API GLVULKANPROCNV GLEW_APIENTRY _glew_gl_glGetVkProcAddrNV (const GLchar * name); +GLEW_API void GLEW_APIENTRY _glew_gl_glWaitVkSemaphoreNV (GLuint64 vkSemaphore); +GLEW_API void GLEW_APIENTRY _glew_gl_glSignalVkSemaphoreNV (GLuint64 vkSemaphore); +GLEW_API void GLEW_APIENTRY _glew_gl_glSignalVkFenceNV (GLuint64 vkFence); GLEW_API void GLEW_APIENTRY _glew_gl_glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void * points); GLEW_API void GLEW_APIENTRY _glew_gl_glMapParameterivNV (GLenum target, GLenum pname, const GLint * params); GLEW_API void GLEW_APIENTRY _glew_gl_glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat * params); @@ -9657,7 +10182,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glGetProgramNamedParameterfvNV (GLuint id, GLEW_API void GLEW_APIENTRY _glew_gl_glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte * name, GLdouble * params); GLEW_API void GLEW_APIENTRY _glew_gl_glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); GLEW_API void GLEW_APIENTRY _glew_gl_glCoverageModulationTableNV (GLsizei n, const GLfloat * v); -GLEW_API void GLEW_APIENTRY _glew_gl_glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat * v); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetCoverageModulationTableNV (GLsizei bufSize, GLfloat * v); GLEW_API void GLEW_APIENTRY _glew_gl_glCoverageModulationNV (GLenum components); GLEW_API void GLEW_APIENTRY _glew_gl_glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); GLEW_API void GLEW_APIENTRY _glew_gl_glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); @@ -9728,7 +10253,43 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glVertexAttribs2hvNV (GLuint index, GLsizei GLEW_API void GLEW_APIENTRY _glew_gl_glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV * v); GLEW_API void GLEW_APIENTRY _glew_gl_glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV * v); GLEW_API void GLEW_APIENTRY _glew_gl_glVertexAttribDivisorNV (GLuint index, GLuint divisor); -GLEW_API void GLEW_APIENTRY _glew_gl_glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glRenderGpuMaskNV (GLbitfield mask); +GLEW_API void GLEW_APIENTRY _glew_gl_glMulticastBufferSubDataNV (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); +GLEW_API void GLEW_APIENTRY _glew_gl_glMulticastCopyBufferSubDataNV (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +GLEW_API void GLEW_APIENTRY _glew_gl_glMulticastCopyImageSubDataNV (GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); +GLEW_API void GLEW_APIENTRY _glew_gl_glMulticastBlitFramebufferNV (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +GLEW_API void GLEW_APIENTRY _glew_gl_glMulticastFramebufferSampleLocationsfvNV (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v); +GLEW_API void GLEW_APIENTRY _glew_gl_glMulticastBarrierNV (); +GLEW_API void GLEW_APIENTRY _glew_gl_glMulticastWaitSyncNV (GLuint signalGpu, GLbitfield waitGpuMask); +GLEW_API void GLEW_APIENTRY _glew_gl_glMulticastGetQueryObjectivNV (GLuint gpu, GLuint id, GLenum pname, GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glMulticastGetQueryObjectuivNV (GLuint gpu, GLuint id, GLenum pname, GLuint * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glMulticastGetQueryObjecti64vNV (GLuint gpu, GLuint id, GLenum pname, GLint64 * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glMulticastGetQueryObjectui64vNV (GLuint gpu, GLuint id, GLenum pname, GLuint64 * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glUploadGpuMaskNVX (GLbitfield mask); +GLEW_API void GLEW_APIENTRY _glew_gl_glMulticastViewportArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLfloat * v); +GLEW_API void GLEW_APIENTRY _glew_gl_glMulticastViewportPositionWScaleNVX (GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff); +GLEW_API void GLEW_APIENTRY _glew_gl_glMulticastScissorArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLint * v); +GLEW_API GLuint GLEW_APIENTRY _glew_gl_glAsyncCopyBufferSubDataNVX (GLsizei waitSemaphoreCount, const GLuint * waitSemaphoreArray, const GLuint64 * fenceValueArray, GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size, GLsizei signalSemaphoreCount, const GLuint * signalSemaphoreArray, const GLuint64 * signalValueArray); +GLEW_API GLuint GLEW_APIENTRY _glew_gl_glAsyncCopyImageSubDataNVX (GLsizei waitSemaphoreCount, const GLuint * waitSemaphoreArray, const GLuint64 * waitValueArray, GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth, GLsizei signalSemaphoreCount, const GLuint * signalSemaphoreArray, const GLuint64 * signalValueArray); +GLEW_API GLuint GLEW_APIENTRY _glew_gl_glCreateProgressFenceNVX (); +GLEW_API void GLEW_APIENTRY _glew_gl_glSignalSemaphoreui64NVX (GLuint signalGpu, GLsizei fenceObjectCount, const GLuint * semaphoreArray, const GLuint64 * fenceValueArray); +GLEW_API void GLEW_APIENTRY _glew_gl_glWaitSemaphoreui64NVX (GLuint waitGpu, GLsizei fenceObjectCount, const GLuint * semaphoreArray, const GLuint64 * fenceValueArray); +GLEW_API void GLEW_APIENTRY _glew_gl_glClientWaitSemaphoreui64NVX (GLsizei fenceObjectCount, const GLuint * semaphoreArray, const GLuint64 * fenceValueArray); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glResetMemoryObjectParameterNV (GLuint memory, GLenum pname); +GLEW_API void GLEW_APIENTRY _glew_gl_glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gl_glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +GLEW_API void GLEW_APIENTRY _glew_gl_glTexPageCommitmentMemNV (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +GLEW_API void GLEW_APIENTRY _glew_gl_glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +GLEW_API void GLEW_APIENTRY _glew_gl_glTexturePageCommitmentMemNV (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +GLEW_API void GLEW_APIENTRY _glew_gl_glDrawMeshTasksNV (GLuint first, GLuint count); +GLEW_API void GLEW_APIENTRY _glew_gl_glDrawMeshTasksIndirectNV (GLintptr indirect); +GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride); +GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); GLEW_API void GLEW_APIENTRY _glew_gl_glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); GLEW_API void GLEW_APIENTRY _glew_gl_glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); GLEW_API void GLEW_APIENTRY _glew_gl_glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); @@ -9797,11 +10358,11 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glStencilThenCoverFillPathNV (GLuint path, GLEW_API void GLEW_APIENTRY _glew_gl_glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode); GLEW_API void GLEW_APIENTRY _glew_gl_glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); GLEW_API void GLEW_APIENTRY _glew_gl_glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); -GLEW_API GLenum GLEW_APIENTRY _glew_gl_glPathGlyphIndexRangeNV (GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); +GLEW_API GLenum GLEW_APIENTRY _glew_gl_glPathGlyphIndexRangeNV (GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint * baseAndCount); GLEW_API GLenum GLEW_APIENTRY _glew_gl_glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); GLEW_API GLenum GLEW_APIENTRY _glew_gl_glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void * fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); GLEW_API void GLEW_APIENTRY _glew_gl_glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat * coeffs); -GLEW_API void GLEW_APIENTRY _glew_gl_glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLfloat * params); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei count, GLsizei * length, GLfloat * params); GLEW_API void GLEW_APIENTRY _glew_gl_glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat * coeffs); GLEW_API void GLEW_APIENTRY _glew_gl_glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat * coeffs); GLEW_API void GLEW_APIENTRY _glew_gl_glPathFogGenNV (GLenum genMode); @@ -9822,6 +10383,10 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glGetVideoi64vNV (GLuint video_slot, GLenum GLEW_API void GLEW_APIENTRY _glew_gl_glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT * params); GLEW_API void GLEW_APIENTRY _glew_gl_glPrimitiveRestartNV (); GLEW_API void GLEW_APIENTRY _glew_gl_glPrimitiveRestartIndexNV (GLuint index); +GLEW_API GLint GLEW_APIENTRY _glew_gl_glQueryResourceNV (GLenum queryType, GLint tagId, GLuint count, GLint * buffer); +GLEW_API void GLEW_APIENTRY _glew_gl_glGenQueryResourceTagNV (GLsizei n, GLint * tagIds); +GLEW_API void GLEW_APIENTRY _glew_gl_glDeleteQueryResourceTagNV (GLsizei n, const GLint * tagIds); +GLEW_API void GLEW_APIENTRY _glew_gl_glQueryResourceTagNV (GLint tagId, const GLchar * tagString); GLEW_API void GLEW_APIENTRY _glew_gl_glReadBufferNV (GLenum mode); GLEW_API void GLEW_APIENTRY _glew_gl_glCombinerParameterfvNV (GLenum pname, const GLfloat * params); GLEW_API void GLEW_APIENTRY _glew_gl_glCombinerParameterfNV (GLenum pname, GLfloat param); @@ -9841,6 +10406,8 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glGetCombinerStageParameterfvNV (GLenum sta GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat * v); GLEW_API void GLEW_APIENTRY _glew_gl_glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v); GLEW_API void GLEW_APIENTRY _glew_gl_glResolveDepthValuesNV (); +GLEW_API void GLEW_APIENTRY _glew_gl_glScissorExclusiveNV (GLint x, GLint y, GLsizei width, GLsizei height); +GLEW_API void GLEW_APIENTRY _glew_gl_glScissorExclusiveArrayvNV (GLuint first, GLsizei count, const GLint * v); GLEW_API void GLEW_APIENTRY _glew_gl_glMakeBufferResidentNV (GLenum target, GLenum access); GLEW_API void GLEW_APIENTRY _glew_gl_glMakeBufferNonResidentNV (GLenum target); GLEW_API GLboolean GLEW_APIENTRY _glew_gl_glIsBufferResidentNV (GLenum target); @@ -9854,6 +10421,13 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glUniformui64NV (GLint location, GLuint64EX GLEW_API void GLEW_APIENTRY _glew_gl_glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT * value); GLEW_API void GLEW_APIENTRY _glew_gl_glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value); GLEW_API void GLEW_APIENTRY _glew_gl_glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gl_glBindShadingRateImageNV (GLuint texture); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetShadingRateImagePaletteNV (GLuint viewport, GLuint entry, GLenum * rate); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetShadingRateSampleLocationivNV (GLenum rate, GLuint samples, GLuint index, GLint * location); +GLEW_API void GLEW_APIENTRY _glew_gl_glShadingRateImageBarrierNV (GLboolean synchronize); +GLEW_API void GLEW_APIENTRY _glew_gl_glShadingRateImagePaletteNV (GLuint viewport, GLuint first, GLsizei count, const GLenum * rates); +GLEW_API void GLEW_APIENTRY _glew_gl_glShadingRateSampleOrderNV (GLenum order); +GLEW_API void GLEW_APIENTRY _glew_gl_glShadingRateSampleOrderCustomNV (GLenum rate, GLuint samples, const GLint * locations); GLEW_API void GLEW_APIENTRY _glew_gl_glTextureBarrierNV (); GLEW_API void GLEW_APIENTRY _glew_gl_glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); GLEW_API void GLEW_APIENTRY _glew_gl_glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); @@ -9886,10 +10460,11 @@ GLEW_API GLvdpauSurfaceNV GLEW_APIENTRY _glew_gl_glVDPAURegisterVideoSurfaceNV ( GLEW_API GLvdpauSurfaceNV GLEW_APIENTRY _glew_gl_glVDPAURegisterOutputSurfaceNV (const void * vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint * textureNames); GLEW_API GLboolean GLEW_APIENTRY _glew_gl_glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface); GLEW_API void GLEW_APIENTRY _glew_gl_glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface); -GLEW_API void GLEW_APIENTRY _glew_gl_glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); +GLEW_API void GLEW_APIENTRY _glew_gl_glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei count, GLsizei * length, GLint * values); GLEW_API void GLEW_APIENTRY _glew_gl_glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access); GLEW_API void GLEW_APIENTRY _glew_gl_glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV * surfaces); GLEW_API void GLEW_APIENTRY _glew_gl_glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV * surfaces); +GLEW_API GLvdpauSurfaceNV GLEW_APIENTRY _glew_gl_glVDPAURegisterVideoSurfaceWithPictureStructureNV (const void * vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint * textureNames, GLboolean isFrameStructure); GLEW_API void GLEW_APIENTRY _glew_gl_glFlushVertexArrayRangeNV (); GLEW_API void GLEW_APIENTRY _glew_gl_glVertexArrayRangeNV (GLsizei length, const void * pointer); GLEW_API void GLEW_APIENTRY _glew_gl_glVertexAttribL1i64NV (GLuint index, GLint64EXT x); @@ -10034,6 +10609,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glGetFloati_vNV (GLenum target, GLuint inde GLEW_API void GLEW_APIENTRY _glew_gl_glEnableiNV (GLenum target, GLuint index); GLEW_API void GLEW_APIENTRY _glew_gl_glDisableiNV (GLenum target, GLuint index); GLEW_API GLboolean GLEW_APIENTRY _glew_gl_glIsEnablediNV (GLenum target, GLuint index); +GLEW_API void GLEW_APIENTRY _glew_gl_glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); GLEW_API void GLEW_APIENTRY _glew_gl_glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); GLEW_API void GLEW_APIENTRY _glew_gl_glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); GLEW_API void GLEW_APIENTRY _glew_gl_glMultiTexCoord1bOES (GLenum texture, GLbyte s); @@ -10070,7 +10646,6 @@ GLEW_API GLboolean GLEW_APIENTRY _glew_gl_glIsEnablediOES (GLenum target, GLuint GLEW_API void GLEW_APIENTRY _glew_gl_glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex); GLEW_API void GLEW_APIENTRY _glew_gl_glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex); -GLEW_API void GLEW_APIENTRY _glew_gl_glMultiDrawElementsBaseVertexOES (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, const GLint * basevertex); GLEW_API void GLEW_APIENTRY _glew_gl_glAlphaFuncxOES (GLenum func, GLfixed ref); GLEW_API void GLEW_APIENTRY _glew_gl_glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); GLEW_API void GLEW_APIENTRY _glew_gl_glClearDepthxOES (GLfixed depth); @@ -10212,6 +10787,15 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glBindVertexArrayOES (GLuint array); GLEW_API void GLEW_APIENTRY _glew_gl_glDeleteVertexArraysOES (GLsizei n, const GLuint * arrays); GLEW_API void GLEW_APIENTRY _glew_gl_glGenVertexArraysOES (GLsizei n, GLuint * arrays); GLEW_API GLboolean GLEW_APIENTRY _glew_gl_glIsVertexArrayOES (GLuint array); +GLEW_API void GLEW_APIENTRY _glew_gl_glViewportArrayvOES (GLuint first, GLsizei count, const GLfloat * v); +GLEW_API void GLEW_APIENTRY _glew_gl_glViewportIndexedfOES (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); +GLEW_API void GLEW_APIENTRY _glew_gl_glViewportIndexedfvOES (GLuint index, const GLfloat * v); +GLEW_API void GLEW_APIENTRY _glew_gl_glScissorArrayvOES (GLuint first, GLsizei count, const GLint * v); +GLEW_API void GLEW_APIENTRY _glew_gl_glScissorIndexedOES (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); +GLEW_API void GLEW_APIENTRY _glew_gl_glScissorIndexedvOES (GLuint index, const GLint * v); +GLEW_API void GLEW_APIENTRY _glew_gl_glDepthRangeArrayfvOES (GLuint first, GLsizei count, const GLfloat * v); +GLEW_API void GLEW_APIENTRY _glew_gl_glDepthRangeIndexedfOES (GLuint index, GLfloat n, GLfloat f); +GLEW_API void GLEW_APIENTRY _glew_gl_glGetFloati_vOES (GLenum target, GLuint index, GLfloat * data); GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferTextureMultisampleMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews); GLEW_API void GLEW_APIENTRY _glew_gl_glHintPGI (GLenum target, GLint mode); @@ -10232,6 +10816,14 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glExtGetShadersQCOM (GLuint * shaders, GLin GLEW_API void GLEW_APIENTRY _glew_gl_glExtGetProgramsQCOM (GLuint * programs, GLint maxPrograms, GLint * numPrograms); GLEW_API GLboolean GLEW_APIENTRY _glew_gl_glExtIsProgramBinaryQCOM (GLuint program); GLEW_API void GLEW_APIENTRY _glew_gl_glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar * source, GLint * length); +GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferFoveationConfigQCOM (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint * providedFeatures); +GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferFoveationParametersQCOM (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); +GLEW_API void GLEW_APIENTRY _glew_gl_glTexEstimateMotionQCOM (GLuint ref, GLuint target, GLuint output); +GLEW_API void GLEW_APIENTRY _glew_gl_glTexEstimateMotionRegionsQCOM (GLuint ref, GLuint target, GLuint output, GLuint mask); +GLEW_API void GLEW_APIENTRY _glew_gl_glExtrapolateTex2DQCOM (GLuint src1, GLuint src2, GLuint output, GLfloat scaleFactor); +GLEW_API void GLEW_APIENTRY _glew_gl_glTextureFoveationParametersQCOM (GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); +GLEW_API void GLEW_APIENTRY _glew_gl_glFramebufferFetchBarrierQCOM (); +GLEW_API void GLEW_APIENTRY _glew_gl_glShadingRateQCOM (GLenum rate); GLEW_API void GLEW_APIENTRY _glew_gl_glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); GLEW_API void GLEW_APIENTRY _glew_gl_glEndTilingQCOM (GLbitfield preserveMask); GLEW_API void GLEW_APIENTRY _glew_gl_glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat * points); @@ -11112,6 +11704,10 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glGetnHistogram _glew_gl_glGetnHistogram #define glGetnMinmax _glew_gl_glGetnMinmax #define glTextureBarrier _glew_gl_glTextureBarrier +#define glSpecializeShader _glew_gl_glSpecializeShader +#define glMultiDrawArraysIndirectCount _glew_gl_glMultiDrawArraysIndirectCount +#define glMultiDrawElementsIndirectCount _glew_gl_glMultiDrawElementsIndirectCount +#define glPolygonOffsetClamp _glew_gl_glPolygonOffsetClamp #define glBlendBarrier _glew_gl_glBlendBarrier #define glPrimitiveBoundingBox _glew_gl_glPrimitiveBoundingBox #define glTbufferMask3DFX _glew_gl_glTbufferMask3DFX @@ -11123,6 +11719,12 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glBlendFuncSeparateIndexedAMD _glew_gl_glBlendFuncSeparateIndexedAMD #define glBlendEquationIndexedAMD _glew_gl_glBlendEquationIndexedAMD #define glBlendEquationSeparateIndexedAMD _glew_gl_glBlendEquationSeparateIndexedAMD +#define glRenderbufferStorageMultisampleAdvancedAMD _glew_gl_glRenderbufferStorageMultisampleAdvancedAMD +#define glNamedRenderbufferStorageMultisampleAdvancedAMD _glew_gl_glNamedRenderbufferStorageMultisampleAdvancedAMD +#define glFramebufferSamplePositionsfvAMD _glew_gl_glFramebufferSamplePositionsfvAMD +#define glNamedFramebufferSamplePositionsfvAMD _glew_gl_glNamedFramebufferSamplePositionsfvAMD +#define glGetFramebufferParameterfvAMD _glew_gl_glGetFramebufferParameterfvAMD +#define glGetNamedFramebufferParameterfvAMD _glew_gl_glGetNamedFramebufferParameterfvAMD #define glUniform1i64NV _glew_gl_glUniform1i64NV #define glUniform2i64NV _glew_gl_glUniform2i64NV #define glUniform3i64NV _glew_gl_glUniform3i64NV @@ -11285,6 +11887,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glFramebufferTextureARB _glew_gl_glFramebufferTextureARB #define glFramebufferTextureLayerARB _glew_gl_glFramebufferTextureLayerARB #define glFramebufferTextureFaceARB _glew_gl_glFramebufferTextureFaceARB +#define glSpecializeShaderARB _glew_gl_glSpecializeShaderARB #define glUniform1i64ARB _glew_gl_glUniform1i64ARB #define glUniform2i64ARB _glew_gl_glUniform2i64ARB #define glUniform3i64ARB _glew_gl_glUniform3i64ARB @@ -11559,6 +12162,8 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glBindAttribLocationARB _glew_gl_glBindAttribLocationARB #define glGetActiveAttribARB _glew_gl_glGetActiveAttribARB #define glGetAttribLocationARB _glew_gl_glGetAttribLocationARB +#define glDepthRangeArraydvNV _glew_gl_glDepthRangeArraydvNV +#define glDepthRangeIndexeddNV _glew_gl_glDepthRangeIndexeddNV #define glWindowPos2dARB _glew_gl_glWindowPos2dARB #define glWindowPos2dvARB _glew_gl_glWindowPos2dvARB #define glWindowPos2fARB _glew_gl_glWindowPos2fARB @@ -11663,6 +12268,8 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glClientActiveVertexStreamATI _glew_gl_glClientActiveVertexStreamATI #define glVertexBlendEnviATI _glew_gl_glVertexBlendEnviATI #define glVertexBlendEnvfATI _glew_gl_glVertexBlendEnvfATI +#define glEGLImageTargetTexStorageEXT _glew_gl_glEGLImageTargetTexStorageEXT +#define glEGLImageTargetTextureStorageEXT _glew_gl_glEGLImageTargetTextureStorageEXT #define glDrawArraysInstancedBaseInstanceEXT _glew_gl_glDrawArraysInstancedBaseInstanceEXT #define glDrawElementsInstancedBaseInstanceEXT _glew_gl_glDrawElementsInstancedBaseInstanceEXT #define glDrawElementsInstancedBaseVertexBaseInstanceEXT _glew_gl_glDrawElementsInstancedBaseVertexBaseInstanceEXT @@ -11678,6 +12285,9 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glBlendFuncSeparateEXT _glew_gl_glBlendFuncSeparateEXT #define glBlendEquationEXT _glew_gl_glBlendEquationEXT #define glBufferStorageEXT _glew_gl_glBufferStorageEXT +#define glClearTexImageEXT _glew_gl_glClearTexImageEXT +#define glClearTexSubImageEXT _glew_gl_glClearTexSubImageEXT +#define glClipControlEXT _glew_gl_glClipControlEXT #define glColorSubTableEXT _glew_gl_glColorSubTableEXT #define glCopyColorSubTableEXT _glew_gl_glCopyColorSubTableEXT #define glLockArraysEXT _glew_gl_glLockArraysEXT @@ -11998,6 +12608,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glGetQueryObjectuivEXT _glew_gl_glGetQueryObjectuivEXT #define glGetQueryObjecti64vEXT _glew_gl_glGetQueryObjecti64vEXT #define glGetQueryObjectui64vEXT _glew_gl_glGetQueryObjectui64vEXT +#define glGetInteger64vEXT _glew_gl_glGetInteger64vEXT #define glDrawBuffersEXT _glew_gl_glDrawBuffersEXT #define glColorMaskIndexedEXT _glew_gl_glColorMaskIndexedEXT #define glEnableiEXT _glew_gl_glEnableiEXT @@ -12015,6 +12626,10 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glDrawArraysInstancedEXT _glew_gl_glDrawArraysInstancedEXT #define glDrawElementsInstancedEXT _glew_gl_glDrawElementsInstancedEXT #define glDrawRangeElementsEXT _glew_gl_glDrawRangeElementsEXT +#define glDrawTransformFeedbackEXT _glew_gl_glDrawTransformFeedbackEXT +#define glDrawTransformFeedbackInstancedEXT _glew_gl_glDrawTransformFeedbackInstancedEXT +#define glBufferStorageExternalEXT _glew_gl_glBufferStorageExternalEXT +#define glNamedBufferStorageExternalEXT _glew_gl_glNamedBufferStorageExternalEXT #define glFogCoordfEXT _glew_gl_glFogCoordfEXT #define glFogCoordfvEXT _glew_gl_glFogCoordfvEXT #define glFogCoorddEXT _glew_gl_glFogCoorddEXT @@ -12071,6 +12686,28 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glTextureMaterialEXT _glew_gl_glTextureMaterialEXT #define glMapBufferRangeEXT _glew_gl_glMapBufferRangeEXT #define glFlushMappedBufferRangeEXT _glew_gl_glFlushMappedBufferRangeEXT +#define glGetUnsignedBytevEXT _glew_gl_glGetUnsignedBytevEXT +#define glGetUnsignedBytei_vEXT _glew_gl_glGetUnsignedBytei_vEXT +#define glDeleteMemoryObjectsEXT _glew_gl_glDeleteMemoryObjectsEXT +#define glIsMemoryObjectEXT _glew_gl_glIsMemoryObjectEXT +#define glCreateMemoryObjectsEXT _glew_gl_glCreateMemoryObjectsEXT +#define glMemoryObjectParameterivEXT _glew_gl_glMemoryObjectParameterivEXT +#define glGetMemoryObjectParameterivEXT _glew_gl_glGetMemoryObjectParameterivEXT +#define glTexStorageMem2DEXT _glew_gl_glTexStorageMem2DEXT +#define glTexStorageMem2DMultisampleEXT _glew_gl_glTexStorageMem2DMultisampleEXT +#define glTexStorageMem3DEXT _glew_gl_glTexStorageMem3DEXT +#define glTexStorageMem3DMultisampleEXT _glew_gl_glTexStorageMem3DMultisampleEXT +#define glBufferStorageMemEXT _glew_gl_glBufferStorageMemEXT +#define glTextureStorageMem2DEXT _glew_gl_glTextureStorageMem2DEXT +#define glTextureStorageMem2DMultisampleEXT _glew_gl_glTextureStorageMem2DMultisampleEXT +#define glTextureStorageMem3DEXT _glew_gl_glTextureStorageMem3DEXT +#define glTextureStorageMem3DMultisampleEXT _glew_gl_glTextureStorageMem3DMultisampleEXT +#define glNamedBufferStorageMemEXT _glew_gl_glNamedBufferStorageMemEXT +#define glTexStorageMem1DEXT _glew_gl_glTexStorageMem1DEXT +#define glTextureStorageMem1DEXT _glew_gl_glTextureStorageMem1DEXT +#define glImportMemoryFdEXT _glew_gl_glImportMemoryFdEXT +#define glImportMemoryWin32HandleEXT _glew_gl_glImportMemoryWin32HandleEXT +#define glImportMemoryWin32NameEXT _glew_gl_glImportMemoryWin32NameEXT #define glMultiDrawArraysEXT _glew_gl_glMultiDrawArraysEXT #define glMultiDrawElementsEXT _glew_gl_glMultiDrawElementsEXT #define glMultiDrawArraysIndirectEXT _glew_gl_glMultiDrawArraysIndirectEXT @@ -12102,6 +12739,16 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glReadnPixelsEXT _glew_gl_glReadnPixelsEXT #define glGetnUniformfvEXT _glew_gl_glGetnUniformfvEXT #define glGetnUniformivEXT _glew_gl_glGetnUniformivEXT +#define glGenSemaphoresEXT _glew_gl_glGenSemaphoresEXT +#define glDeleteSemaphoresEXT _glew_gl_glDeleteSemaphoresEXT +#define glIsSemaphoreEXT _glew_gl_glIsSemaphoreEXT +#define glSemaphoreParameterui64vEXT _glew_gl_glSemaphoreParameterui64vEXT +#define glGetSemaphoreParameterui64vEXT _glew_gl_glGetSemaphoreParameterui64vEXT +#define glWaitSemaphoreEXT _glew_gl_glWaitSemaphoreEXT +#define glSignalSemaphoreEXT _glew_gl_glSignalSemaphoreEXT +#define glImportSemaphoreFdEXT _glew_gl_glImportSemaphoreFdEXT +#define glImportSemaphoreWin32HandleEXT _glew_gl_glImportSemaphoreWin32HandleEXT +#define glImportSemaphoreWin32NameEXT _glew_gl_glImportSemaphoreWin32NameEXT #define glSecondaryColor3bEXT _glew_gl_glSecondaryColor3bEXT #define glSecondaryColor3bvEXT _glew_gl_glSecondaryColor3bvEXT #define glSecondaryColor3dEXT _glew_gl_glSecondaryColor3dEXT @@ -12132,8 +12779,12 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glIsProgramPipelineEXT _glew_gl_glIsProgramPipelineEXT #define glUseProgramStagesEXT _glew_gl_glUseProgramStagesEXT #define glValidateProgramPipelineEXT _glew_gl_glValidateProgramPipelineEXT +#define glFramebufferFetchBarrierEXT _glew_gl_glFramebufferFetchBarrierEXT #define glBindImageTextureEXT _glew_gl_glBindImageTextureEXT #define glMemoryBarrierEXT _glew_gl_glMemoryBarrierEXT +#define glFramebufferPixelLocalStorageSizeEXT _glew_gl_glFramebufferPixelLocalStorageSizeEXT +#define glGetFramebufferPixelLocalStorageSizeEXT _glew_gl_glGetFramebufferPixelLocalStorageSizeEXT +#define glClearPixelLocalStorageuiEXT _glew_gl_glClearPixelLocalStorageuiEXT #define glTexPageCommitmentEXT _glew_gl_glTexPageCommitmentEXT #define glStencilClearTagEXT _glew_gl_glStencilClearTagEXT #define glActiveStencilFaceEXT _glew_gl_glActiveStencilFaceEXT @@ -12166,6 +12817,9 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glTexStorage2DEXT _glew_gl_glTexStorage2DEXT #define glTexStorage3DEXT _glew_gl_glTexStorage3DEXT #define glTextureViewEXT _glew_gl_glTextureViewEXT +#define glCreateSemaphoresNV _glew_gl_glCreateSemaphoresNV +#define glSemaphoreParameterivNV _glew_gl_glSemaphoreParameterivNV +#define glGetSemaphoreParameterivNV _glew_gl_glGetSemaphoreParameterivNV #define glBeginTransformFeedbackEXT _glew_gl_glBeginTransformFeedbackEXT #define glEndTransformFeedbackEXT _glew_gl_glEndTransformFeedbackEXT #define glBindBufferRangeEXT _glew_gl_glBindBufferRangeEXT @@ -12237,6 +12891,9 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glVertexWeightfEXT _glew_gl_glVertexWeightfEXT #define glVertexWeightfvEXT _glew_gl_glVertexWeightfvEXT #define glVertexWeightPointerEXT _glew_gl_glVertexWeightPointerEXT +#define glAcquireKeyedMutexWin32EXT _glew_gl_glAcquireKeyedMutexWin32EXT +#define glReleaseKeyedMutexWin32EXT _glew_gl_glReleaseKeyedMutexWin32EXT +#define glWindowRectanglesEXT _glew_gl_glWindowRectanglesEXT #define glImportSyncEXT _glew_gl_glImportSyncEXT #define glFrameTerminatorGREMEDY _glew_gl_glFrameTerminatorGREMEDY #define glStringMarkerGREMEDY _glew_gl_glStringMarkerGREMEDY @@ -12257,6 +12914,14 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glNormalPointerListIBM _glew_gl_glNormalPointerListIBM #define glTexCoordPointerListIBM _glew_gl_glTexCoordPointerListIBM #define glVertexPointerListIBM _glew_gl_glVertexPointerListIBM +#define glGetTextureHandleIMG _glew_gl_glGetTextureHandleIMG +#define glGetTextureSamplerHandleIMG _glew_gl_glGetTextureSamplerHandleIMG +#define glUniformHandleui64IMG _glew_gl_glUniformHandleui64IMG +#define glUniformHandleui64vIMG _glew_gl_glUniformHandleui64vIMG +#define glProgramUniformHandleui64IMG _glew_gl_glProgramUniformHandleui64IMG +#define glProgramUniformHandleui64vIMG _glew_gl_glProgramUniformHandleui64vIMG +#define glFramebufferTexture2DDownsampleIMG _glew_gl_glFramebufferTexture2DDownsampleIMG +#define glFramebufferTextureLayerDownsampleIMG _glew_gl_glFramebufferTextureLayerDownsampleIMG #define glRenderbufferStorageMultisampleIMG _glew_gl_glRenderbufferStorageMultisampleIMG #define glFramebufferTexture2DMultisampleIMG _glew_gl_glFramebufferTexture2DMultisampleIMG #define glBlendFuncSeparateINGR _glew_gl_glBlendFuncSeparateINGR @@ -12295,6 +12960,9 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glGetnUniformfvKHR _glew_gl_glGetnUniformfvKHR #define glGetnUniformivKHR _glew_gl_glGetnUniformivKHR #define glGetnUniformuivKHR _glew_gl_glGetnUniformuivKHR +#define glMaxShaderCompilerThreadsKHR _glew_gl_glMaxShaderCompilerThreadsKHR +#define glFramebufferParameteriMESA _glew_gl_glFramebufferParameteriMESA +#define glGetFramebufferParameterivMESA _glew_gl_glGetFramebufferParameterivMESA #define glResizeBuffersMESA _glew_gl_glResizeBuffersMESA #define glWindowPos2dMESA _glew_gl_glWindowPos2dMESA #define glWindowPos2dvMESA _glew_gl_glWindowPos2dvMESA @@ -12322,6 +12990,10 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glWindowPos4svMESA _glew_gl_glWindowPos4svMESA #define glBeginConditionalRenderNVX _glew_gl_glBeginConditionalRenderNVX #define glEndConditionalRenderNVX _glew_gl_glEndConditionalRenderNVX +#define glLGPUNamedBufferSubDataNVX _glew_gl_glLGPUNamedBufferSubDataNVX +#define glLGPUCopyImageSubDataNVX _glew_gl_glLGPUCopyImageSubDataNVX +#define glLGPUInterlockNVX _glew_gl_glLGPUInterlockNVX +#define glAlphaToCoverageDitherControlNV _glew_gl_glAlphaToCoverageDitherControlNV #define glMultiDrawArraysIndirectBindlessNV _glew_gl_glMultiDrawArraysIndirectBindlessNV #define glMultiDrawElementsIndirectBindlessNV _glew_gl_glMultiDrawElementsIndirectBindlessNV #define glMultiDrawArraysIndirectBindlessCountNV _glew_gl_glMultiDrawArraysIndirectBindlessCountNV @@ -12341,6 +13013,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glIsImageHandleResidentNV _glew_gl_glIsImageHandleResidentNV #define glBlendParameteriNV _glew_gl_glBlendParameteriNV #define glBlendBarrierNV _glew_gl_glBlendBarrierNV +#define glViewportPositionWScaleNV _glew_gl_glViewportPositionWScaleNV #define glCreateStatesNV _glew_gl_glCreateStatesNV #define glDeleteStatesNV _glew_gl_glDeleteStatesNV #define glIsStateNV _glew_gl_glIsStateNV @@ -12362,6 +13035,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glEndConditionalRenderNV _glew_gl_glEndConditionalRenderNV #define glSubpixelPrecisionBiasNV _glew_gl_glSubpixelPrecisionBiasNV #define glConservativeRasterParameterfNV _glew_gl_glConservativeRasterParameterfNV +#define glConservativeRasterParameteriNV _glew_gl_glConservativeRasterParameteriNV #define glCopyBufferSubDataNV _glew_gl_glCopyBufferSubDataNV #define glCopyImageSubDataNV _glew_gl_glCopyImageSubDataNV #define glCoverageMaskNV _glew_gl_glCoverageMaskNV @@ -12373,6 +13047,11 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glDrawArraysInstancedNV _glew_gl_glDrawArraysInstancedNV #define glDrawElementsInstancedNV _glew_gl_glDrawElementsInstancedNV #define glDrawTextureNV _glew_gl_glDrawTextureNV +#define glDrawVkImageNV _glew_gl_glDrawVkImageNV +#define glGetVkProcAddrNV _glew_gl_glGetVkProcAddrNV +#define glWaitVkSemaphoreNV _glew_gl_glWaitVkSemaphoreNV +#define glSignalVkSemaphoreNV _glew_gl_glSignalVkSemaphoreNV +#define glSignalVkFenceNV _glew_gl_glSignalVkFenceNV #define glMapControlPointsNV _glew_gl_glMapControlPointsNV #define glMapParameterivNV _glew_gl_glMapParameterivNV #define glMapParameterfvNV _glew_gl_glMapParameterfvNV @@ -12473,6 +13152,42 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glVertexAttribs4hvNV _glew_gl_glVertexAttribs4hvNV #define glVertexAttribDivisorNV _glew_gl_glVertexAttribDivisorNV #define glGetInternalformatSampleivNV _glew_gl_glGetInternalformatSampleivNV +#define glRenderGpuMaskNV _glew_gl_glRenderGpuMaskNV +#define glMulticastBufferSubDataNV _glew_gl_glMulticastBufferSubDataNV +#define glMulticastCopyBufferSubDataNV _glew_gl_glMulticastCopyBufferSubDataNV +#define glMulticastCopyImageSubDataNV _glew_gl_glMulticastCopyImageSubDataNV +#define glMulticastBlitFramebufferNV _glew_gl_glMulticastBlitFramebufferNV +#define glMulticastFramebufferSampleLocationsfvNV _glew_gl_glMulticastFramebufferSampleLocationsfvNV +#define glMulticastBarrierNV _glew_gl_glMulticastBarrierNV +#define glMulticastWaitSyncNV _glew_gl_glMulticastWaitSyncNV +#define glMulticastGetQueryObjectivNV _glew_gl_glMulticastGetQueryObjectivNV +#define glMulticastGetQueryObjectuivNV _glew_gl_glMulticastGetQueryObjectuivNV +#define glMulticastGetQueryObjecti64vNV _glew_gl_glMulticastGetQueryObjecti64vNV +#define glMulticastGetQueryObjectui64vNV _glew_gl_glMulticastGetQueryObjectui64vNV +#define glUploadGpuMaskNVX _glew_gl_glUploadGpuMaskNVX +#define glMulticastViewportArrayvNVX _glew_gl_glMulticastViewportArrayvNVX +#define glMulticastViewportPositionWScaleNVX _glew_gl_glMulticastViewportPositionWScaleNVX +#define glMulticastScissorArrayvNVX _glew_gl_glMulticastScissorArrayvNVX +#define glAsyncCopyBufferSubDataNVX _glew_gl_glAsyncCopyBufferSubDataNVX +#define glAsyncCopyImageSubDataNVX _glew_gl_glAsyncCopyImageSubDataNVX +#define glCreateProgressFenceNVX _glew_gl_glCreateProgressFenceNVX +#define glSignalSemaphoreui64NVX _glew_gl_glSignalSemaphoreui64NVX +#define glWaitSemaphoreui64NVX _glew_gl_glWaitSemaphoreui64NVX +#define glClientWaitSemaphoreui64NVX _glew_gl_glClientWaitSemaphoreui64NVX +#define glGetMemoryObjectDetachedResourcesuivNV _glew_gl_glGetMemoryObjectDetachedResourcesuivNV +#define glResetMemoryObjectParameterNV _glew_gl_glResetMemoryObjectParameterNV +#define glTexAttachMemoryNV _glew_gl_glTexAttachMemoryNV +#define glBufferAttachMemoryNV _glew_gl_glBufferAttachMemoryNV +#define glTextureAttachMemoryNV _glew_gl_glTextureAttachMemoryNV +#define glNamedBufferAttachMemoryNV _glew_gl_glNamedBufferAttachMemoryNV +#define glBufferPageCommitmentMemNV _glew_gl_glBufferPageCommitmentMemNV +#define glTexPageCommitmentMemNV _glew_gl_glTexPageCommitmentMemNV +#define glNamedBufferPageCommitmentMemNV _glew_gl_glNamedBufferPageCommitmentMemNV +#define glTexturePageCommitmentMemNV _glew_gl_glTexturePageCommitmentMemNV +#define glDrawMeshTasksNV _glew_gl_glDrawMeshTasksNV +#define glDrawMeshTasksIndirectNV _glew_gl_glDrawMeshTasksIndirectNV +#define glMultiDrawMeshTasksIndirectNV _glew_gl_glMultiDrawMeshTasksIndirectNV +#define glMultiDrawMeshTasksIndirectCountNV _glew_gl_glMultiDrawMeshTasksIndirectCountNV #define glUniformMatrix2x3fvNV _glew_gl_glUniformMatrix2x3fvNV #define glUniformMatrix3x2fvNV _glew_gl_glUniformMatrix3x2fvNV #define glUniformMatrix2x4fvNV _glew_gl_glUniformMatrix2x4fvNV @@ -12566,6 +13281,10 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glGetVideoui64vNV _glew_gl_glGetVideoui64vNV #define glPrimitiveRestartNV _glew_gl_glPrimitiveRestartNV #define glPrimitiveRestartIndexNV _glew_gl_glPrimitiveRestartIndexNV +#define glQueryResourceNV _glew_gl_glQueryResourceNV +#define glGenQueryResourceTagNV _glew_gl_glGenQueryResourceTagNV +#define glDeleteQueryResourceTagNV _glew_gl_glDeleteQueryResourceTagNV +#define glQueryResourceTagNV _glew_gl_glQueryResourceTagNV #define glReadBufferNV _glew_gl_glReadBufferNV #define glCombinerParameterfvNV _glew_gl_glCombinerParameterfvNV #define glCombinerParameterfNV _glew_gl_glCombinerParameterfNV @@ -12585,6 +13304,8 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glFramebufferSampleLocationsfvNV _glew_gl_glFramebufferSampleLocationsfvNV #define glNamedFramebufferSampleLocationsfvNV _glew_gl_glNamedFramebufferSampleLocationsfvNV #define glResolveDepthValuesNV _glew_gl_glResolveDepthValuesNV +#define glScissorExclusiveNV _glew_gl_glScissorExclusiveNV +#define glScissorExclusiveArrayvNV _glew_gl_glScissorExclusiveArrayvNV #define glMakeBufferResidentNV _glew_gl_glMakeBufferResidentNV #define glMakeBufferNonResidentNV _glew_gl_glMakeBufferNonResidentNV #define glIsBufferResidentNV _glew_gl_glIsBufferResidentNV @@ -12598,6 +13319,13 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glUniformui64vNV _glew_gl_glUniformui64vNV #define glProgramUniformui64NV _glew_gl_glProgramUniformui64NV #define glProgramUniformui64vNV _glew_gl_glProgramUniformui64vNV +#define glBindShadingRateImageNV _glew_gl_glBindShadingRateImageNV +#define glGetShadingRateImagePaletteNV _glew_gl_glGetShadingRateImagePaletteNV +#define glGetShadingRateSampleLocationivNV _glew_gl_glGetShadingRateSampleLocationivNV +#define glShadingRateImageBarrierNV _glew_gl_glShadingRateImageBarrierNV +#define glShadingRateImagePaletteNV _glew_gl_glShadingRateImagePaletteNV +#define glShadingRateSampleOrderNV _glew_gl_glShadingRateSampleOrderNV +#define glShadingRateSampleOrderCustomNV _glew_gl_glShadingRateSampleOrderCustomNV #define glTextureBarrierNV _glew_gl_glTextureBarrierNV #define glTexImage2DMultisampleCoverageNV _glew_gl_glTexImage2DMultisampleCoverageNV #define glTexImage3DMultisampleCoverageNV _glew_gl_glTexImage3DMultisampleCoverageNV @@ -12634,6 +13362,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glVDPAUSurfaceAccessNV _glew_gl_glVDPAUSurfaceAccessNV #define glVDPAUMapSurfacesNV _glew_gl_glVDPAUMapSurfacesNV #define glVDPAUUnmapSurfacesNV _glew_gl_glVDPAUUnmapSurfacesNV +#define glVDPAURegisterVideoSurfaceWithPictureStructureNV _glew_gl_glVDPAURegisterVideoSurfaceWithPictureStructureNV #define glFlushVertexArrayRangeNV _glew_gl_glFlushVertexArrayRangeNV #define glVertexArrayRangeNV _glew_gl_glVertexArrayRangeNV #define glVertexAttribL1i64NV _glew_gl_glVertexAttribL1i64NV @@ -12778,6 +13507,7 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glEnableiNV _glew_gl_glEnableiNV #define glDisableiNV _glew_gl_glDisableiNV #define glIsEnablediNV _glew_gl_glIsEnablediNV +#define glViewportSwizzleNV _glew_gl_glViewportSwizzleNV #define glEGLImageTargetTexture2DOES _glew_gl_glEGLImageTargetTexture2DOES #define glEGLImageTargetRenderbufferStorageOES _glew_gl_glEGLImageTargetRenderbufferStorageOES #define glMultiTexCoord1bOES _glew_gl_glMultiTexCoord1bOES @@ -12814,7 +13544,6 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glDrawElementsBaseVertexOES _glew_gl_glDrawElementsBaseVertexOES #define glDrawRangeElementsBaseVertexOES _glew_gl_glDrawRangeElementsBaseVertexOES #define glDrawElementsInstancedBaseVertexOES _glew_gl_glDrawElementsInstancedBaseVertexOES -#define glMultiDrawElementsBaseVertexOES _glew_gl_glMultiDrawElementsBaseVertexOES #define glAlphaFuncxOES _glew_gl_glAlphaFuncxOES #define glClearColorxOES _glew_gl_glClearColorxOES #define glClearDepthxOES _glew_gl_glClearDepthxOES @@ -12956,6 +13685,15 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glDeleteVertexArraysOES _glew_gl_glDeleteVertexArraysOES #define glGenVertexArraysOES _glew_gl_glGenVertexArraysOES #define glIsVertexArrayOES _glew_gl_glIsVertexArrayOES +#define glViewportArrayvOES _glew_gl_glViewportArrayvOES +#define glViewportIndexedfOES _glew_gl_glViewportIndexedfOES +#define glViewportIndexedfvOES _glew_gl_glViewportIndexedfvOES +#define glScissorArrayvOES _glew_gl_glScissorArrayvOES +#define glScissorIndexedOES _glew_gl_glScissorIndexedOES +#define glScissorIndexedvOES _glew_gl_glScissorIndexedvOES +#define glDepthRangeArrayfvOES _glew_gl_glDepthRangeArrayfvOES +#define glDepthRangeIndexedfOES _glew_gl_glDepthRangeIndexedfOES +#define glGetFloati_vOES _glew_gl_glGetFloati_vOES #define glFramebufferTextureMultiviewOVR _glew_gl_glFramebufferTextureMultiviewOVR #define glFramebufferTextureMultisampleMultiviewOVR _glew_gl_glFramebufferTextureMultisampleMultiviewOVR #define glHintPGI _glew_gl_glHintPGI @@ -12976,6 +13714,14 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 #define glExtGetProgramsQCOM _glew_gl_glExtGetProgramsQCOM #define glExtIsProgramBinaryQCOM _glew_gl_glExtIsProgramBinaryQCOM #define glExtGetProgramBinarySourceQCOM _glew_gl_glExtGetProgramBinarySourceQCOM +#define glFramebufferFoveationConfigQCOM _glew_gl_glFramebufferFoveationConfigQCOM +#define glFramebufferFoveationParametersQCOM _glew_gl_glFramebufferFoveationParametersQCOM +#define glTexEstimateMotionQCOM _glew_gl_glTexEstimateMotionQCOM +#define glTexEstimateMotionRegionsQCOM _glew_gl_glTexEstimateMotionRegionsQCOM +#define glExtrapolateTex2DQCOM _glew_gl_glExtrapolateTex2DQCOM +#define glTextureFoveationParametersQCOM _glew_gl_glTextureFoveationParametersQCOM +#define glFramebufferFetchBarrierQCOM _glew_gl_glFramebufferFetchBarrierQCOM +#define glShadingRateQCOM _glew_gl_glShadingRateQCOM #define glStartTilingQCOM _glew_gl_glStartTilingQCOM #define glEndTilingQCOM _glew_gl_glEndTilingQCOM #define glDetailTexFuncSGIS _glew_gl_glDetailTexFuncSGIS @@ -13118,8 +13864,8 @@ GLEW_API void GLEW_APIENTRY _glew_gl_glReplacementCodeuiTexCoord2fColor4fNormal3 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUC__ -#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 +#if defined(__GNUC__) +#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 #pragma GCC diagnostic pop // push/pop not available before GCC 4.6 #endif #endif diff --git a/include/wrangle-gles.h b/include/wrangle-gles.h index 9761d0b..63790b1 100644 --- a/include/wrangle-gles.h +++ b/include/wrangle-gles.h @@ -60,7 +60,7 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #if defined(__GNUC__) -#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 +#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 #pragma GCC diagnostic push // push/pop not available before GCC 4.6 #endif #pragma GCC diagnostic ignored "-Wunused-function" @@ -78,6 +78,7 @@ enum GLEW_GLES_FeatureSet GLEW_GL_ES_VERSION_3_2, GLEW_GL_AMD_compressed_3DC_texture, GLEW_GL_AMD_compressed_ATC_texture, + GLEW_GL_AMD_framebuffer_multisample_advanced, GLEW_GL_AMD_performance_monitor, GLEW_GL_AMD_program_binary_Z400, GLEW_GL_ANDROID_extension_pack_es31a, @@ -105,65 +106,99 @@ enum GLEW_GLES_FeatureSet GLEW_GL_ARM_rgba8, GLEW_GL_ARM_shader_framebuffer_fetch, GLEW_GL_ARM_shader_framebuffer_fetch_depth_stencil, + GLEW_GL_ARM_texture_unnormalized_coordinates, GLEW_GL_DMP_program_binary, GLEW_GL_DMP_shader_binary, + GLEW_GL_EXT_EGL_image_array, + GLEW_GL_EXT_EGL_image_storage, GLEW_GL_EXT_YUV_target, GLEW_GL_EXT_base_instance, GLEW_GL_EXT_blend_func_extended, GLEW_GL_EXT_blend_minmax, GLEW_GL_EXT_buffer_storage, + GLEW_GL_EXT_clear_texture, + GLEW_GL_EXT_clip_control, + GLEW_GL_EXT_clip_cull_distance, GLEW_GL_EXT_color_buffer_float, GLEW_GL_EXT_color_buffer_half_float, + GLEW_GL_EXT_conservative_depth, GLEW_GL_EXT_copy_image, GLEW_GL_EXT_debug_label, GLEW_GL_EXT_debug_marker, + GLEW_GL_EXT_depth_clamp, GLEW_GL_EXT_discard_framebuffer, GLEW_GL_EXT_disjoint_timer_query, GLEW_GL_EXT_draw_buffers, GLEW_GL_EXT_draw_buffers_indexed, GLEW_GL_EXT_draw_elements_base_vertex, GLEW_GL_EXT_draw_instanced, + GLEW_GL_EXT_draw_transform_feedback, + GLEW_GL_EXT_external_buffer, GLEW_GL_EXT_float_blend, GLEW_GL_EXT_geometry_point_size, GLEW_GL_EXT_geometry_shader, GLEW_GL_EXT_gpu_shader5, GLEW_GL_EXT_instanced_arrays, GLEW_GL_EXT_map_buffer_range, + GLEW_GL_EXT_memory_object, + GLEW_GL_EXT_memory_object_fd, + GLEW_GL_EXT_memory_object_win32, GLEW_GL_EXT_multi_draw_arrays, GLEW_GL_EXT_multi_draw_indirect, GLEW_GL_EXT_multisampled_compatibility, GLEW_GL_EXT_multisampled_render_to_texture, + GLEW_GL_EXT_multisampled_render_to_texture2, GLEW_GL_EXT_multiview_draw_buffers, + GLEW_GL_EXT_multiview_tessellation_geometry_shader, + GLEW_GL_EXT_multiview_texture_multisample, + GLEW_GL_EXT_multiview_timer_query, GLEW_GL_EXT_occlusion_query_boolean, + GLEW_GL_EXT_polygon_offset_clamp, GLEW_GL_EXT_post_depth_coverage, GLEW_GL_EXT_primitive_bounding_box, + GLEW_GL_EXT_protected_textures, GLEW_GL_EXT_pvrtc_sRGB, GLEW_GL_EXT_raster_multisample, GLEW_GL_EXT_read_format_bgra, GLEW_GL_EXT_render_snorm, GLEW_GL_EXT_robustness, + GLEW_GL_EXT_semaphore, + GLEW_GL_EXT_semaphore_fd, + GLEW_GL_EXT_semaphore_win32, GLEW_GL_EXT_sRGB, GLEW_GL_EXT_sRGB_write_control, GLEW_GL_EXT_separate_shader_objects, GLEW_GL_EXT_shader_framebuffer_fetch, + GLEW_GL_EXT_shader_framebuffer_fetch_non_coherent, + GLEW_GL_EXT_shader_group_vote, GLEW_GL_EXT_shader_implicit_conversions, GLEW_GL_EXT_shader_integer_mix, GLEW_GL_EXT_shader_io_blocks, + GLEW_GL_EXT_shader_non_constant_global_initializers, GLEW_GL_EXT_shader_pixel_local_storage, + GLEW_GL_EXT_shader_pixel_local_storage2, GLEW_GL_EXT_shader_texture_lod, GLEW_GL_EXT_shadow_samplers, GLEW_GL_EXT_sparse_texture, + GLEW_GL_EXT_sparse_texture2, GLEW_GL_EXT_tessellation_point_size, GLEW_GL_EXT_tessellation_shader, GLEW_GL_EXT_texture_border_clamp, GLEW_GL_EXT_texture_buffer, + GLEW_GL_EXT_texture_compression_astc_decode_mode, + GLEW_GL_EXT_texture_compression_bptc, GLEW_GL_EXT_texture_compression_dxt1, + GLEW_GL_EXT_texture_compression_rgtc, GLEW_GL_EXT_texture_compression_s3tc, + GLEW_GL_EXT_texture_compression_s3tc_srgb, GLEW_GL_EXT_texture_cube_map_array, GLEW_GL_EXT_texture_filter_anisotropic, GLEW_GL_EXT_texture_filter_minmax, GLEW_GL_EXT_texture_format_BGRA8888, + GLEW_GL_EXT_texture_format_sRGB_override, + GLEW_GL_EXT_texture_mirror_clamp_to_edge, GLEW_GL_EXT_texture_norm16, + GLEW_GL_EXT_texture_query_lod, GLEW_GL_EXT_texture_rg, GLEW_GL_EXT_texture_sRGB_R8, GLEW_GL_EXT_texture_sRGB_RG8, @@ -171,8 +206,13 @@ enum GLEW_GLES_FeatureSet GLEW_GL_EXT_texture_storage, GLEW_GL_EXT_texture_type_2_10_10_10_REV, GLEW_GL_EXT_texture_view, + GLEW_GL_NV_timeline_semaphore, GLEW_GL_EXT_unpack_subimage, + GLEW_GL_EXT_win32_keyed_mutex, + GLEW_GL_EXT_window_rectangles, GLEW_GL_FJ_shader_binary_GCCSO, + GLEW_GL_IMG_bindless_texture, + GLEW_GL_IMG_framebuffer_downsample, GLEW_GL_IMG_multisampled_render_to_texture, GLEW_GL_IMG_program_binary, GLEW_GL_IMG_read_format, @@ -180,7 +220,9 @@ enum GLEW_GLES_FeatureSet GLEW_GL_IMG_texture_compression_pvrtc, GLEW_GL_IMG_texture_compression_pvrtc2, GLEW_GL_IMG_texture_filter_cubic, + GLEW_GL_INTEL_conservative_rasterization, GLEW_GL_INTEL_framebuffer_CMAA, + GLEW_GL_INTEL_blackhole_render, GLEW_GL_INTEL_performance_query, GLEW_GL_KHR_blend_equation_advanced, GLEW_GL_KHR_blend_equation_advanced_coherent, @@ -189,53 +231,82 @@ enum GLEW_GLES_FeatureSet GLEW_GL_KHR_no_error, GLEW_GL_KHR_robust_buffer_access_behavior, GLEW_GL_KHR_robustness, + GLEW_GL_KHR_shader_subgroup, GLEW_GL_KHR_texture_compression_astc_hdr, GLEW_GL_KHR_texture_compression_astc_ldr, GLEW_GL_KHR_texture_compression_astc_sliced_3d, + GLEW_GL_KHR_parallel_shader_compile, + GLEW_GL_MESA_framebuffer_flip_x, + GLEW_GL_MESA_framebuffer_flip_y, + GLEW_GL_MESA_framebuffer_swap_xy, + GLEW_GL_MESA_program_binary_formats, + GLEW_GL_MESA_shader_integer_functions, + GLEW_GL_NVX_blend_equation_advanced_multi_draw_buffers, GLEW_GL_NV_bindless_texture, GLEW_GL_NV_blend_equation_advanced, GLEW_GL_NV_blend_equation_advanced_coherent, + GLEW_GL_NV_blend_minmax_factor, + GLEW_GL_NV_clip_space_w_scaling, + GLEW_GL_NV_compute_shader_derivatives, GLEW_GL_NV_conditional_render, GLEW_GL_NV_conservative_raster, + GLEW_GL_NV_conservative_raster_pre_snap, + GLEW_GL_NV_conservative_raster_pre_snap_triangles, GLEW_GL_NV_copy_buffer, GLEW_GL_NV_coverage_sample, GLEW_GL_NV_depth_nonlinear, GLEW_GL_NV_draw_buffers, GLEW_GL_NV_draw_instanced, + GLEW_GL_NV_draw_vulkan_image, GLEW_GL_NV_explicit_attrib_location, GLEW_GL_NV_fbo_color_attachments, GLEW_GL_NV_fence, GLEW_GL_NV_fill_rectangle, GLEW_GL_NV_fragment_coverage_to_color, + GLEW_GL_NV_fragment_shader_barycentric, GLEW_GL_NV_fragment_shader_interlock, GLEW_GL_NV_framebuffer_blit, GLEW_GL_NV_framebuffer_mixed_samples, GLEW_GL_NV_framebuffer_multisample, GLEW_GL_NV_generate_mipmap_sRGB, GLEW_GL_NV_geometry_shader_passthrough, + GLEW_GL_NV_gpu_shader5, GLEW_GL_NV_image_formats, GLEW_GL_NV_instanced_arrays, GLEW_GL_NV_internalformat_sample_query, + GLEW_GL_NV_memory_attachment, + GLEW_GL_NV_memory_object_sparse, + GLEW_GL_NV_mesh_shader, GLEW_GL_NV_non_square_matrices, GLEW_GL_NV_path_rendering, GLEW_GL_NV_path_rendering_shared_edge, + GLEW_GL_NV_pixel_buffer_object, GLEW_GL_NV_polygon_mode, + GLEW_GL_NV_primitive_shading_rate, GLEW_GL_NV_read_buffer, GLEW_GL_NV_read_buffer_front, GLEW_GL_NV_read_depth, GLEW_GL_NV_read_depth_stencil, GLEW_GL_NV_read_stencil, + GLEW_GL_NV_representative_fragment_test, GLEW_GL_NV_sRGB_formats, GLEW_GL_NV_sample_locations, GLEW_GL_NV_sample_mask_override_coverage, + GLEW_GL_NV_scissor_exclusive, + GLEW_GL_NV_shader_atomic_fp16_vector, GLEW_GL_NV_shader_noperspective_interpolation, + GLEW_GL_NV_shader_subgroup_partitioned, + GLEW_GL_NV_shader_texture_footprint, + GLEW_GL_NV_shading_rate_image, GLEW_GL_NV_shadow_samplers_array, GLEW_GL_NV_shadow_samplers_cube, + GLEW_GL_NV_stereo_view_rendering, GLEW_GL_NV_texture_border_clamp, GLEW_GL_NV_texture_compression_s3tc_update, GLEW_GL_NV_texture_npot_2D_mipmap, GLEW_GL_NV_viewport_array, GLEW_GL_NV_viewport_array2, + GLEW_GL_NV_viewport_swizzle, GLEW_GL_OES_EGL_image, GLEW_GL_OES_EGL_image_external, GLEW_GL_OES_EGL_image_external_essl3, @@ -287,6 +358,7 @@ enum GLEW_GLES_FeatureSet GLEW_GL_OES_vertex_array_object, GLEW_GL_OES_vertex_half_float, GLEW_GL_OES_vertex_type_10_10_10_2, + GLEW_GL_OES_viewport_array, GLEW_GL_OVR_multiview, GLEW_GL_OVR_multiview2, GLEW_GL_OVR_multiview_multisampled_render_to_texture, @@ -295,10 +367,21 @@ enum GLEW_GLES_FeatureSet GLEW_GL_QCOM_driver_control, GLEW_GL_QCOM_extended_get, GLEW_GL_QCOM_extended_get2, + GLEW_GL_QCOM_framebuffer_foveated, + GLEW_GL_QCOM_motion_estimation, + GLEW_GL_QCOM_frame_extrapolation, + GLEW_GL_QCOM_texture_foveated, + GLEW_GL_QCOM_texture_foveated2, + GLEW_GL_QCOM_texture_foveated_subsampled_layout, GLEW_GL_QCOM_perfmon_global_mode, + GLEW_GL_QCOM_shader_framebuffer_fetch_noncoherent, + GLEW_GL_QCOM_shader_framebuffer_fetch_rate, + GLEW_GL_QCOM_shading_rate, GLEW_GL_QCOM_tiled_rendering, GLEW_GL_QCOM_writeonly_rendering, + GLEW_GL_QCOM_YUV_texture_gather, GLEW_GL_VIV_shader_binary, + GLEW_GL_EXT_texture_shadow_lod, GLEW_GLES_FeatureSetCount }; @@ -403,7 +486,7 @@ GLEW_EXTERN_C GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (); GLEW_EXTERN_C GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); GLEW_EXTERN_C GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); GLEW_EXTERN_C GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -GLEW_EXTERN_C GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length); +GLEW_EXTERN_C GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint * shaders, GLenum binaryFormat, const void * binary, GLsizei length); GLEW_EXTERN_C GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length); GLEW_EXTERN_C GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); GLEW_EXTERN_C GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); @@ -524,7 +607,7 @@ typedef void (GL_APIENTRYP PFNGLDELETESYNCPROC) /* glDeleteSync */ (GLsync sync) typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCPROC) /* glClientWaitSync */ (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (GL_APIENTRYP PFNGLWAITSYNCPROC) /* glWaitSync */ (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (GL_APIENTRYP PFNGLGETINTEGER64VPROC) /* glGetInteger64v */ (GLenum pname, GLint64 * data); -typedef void (GL_APIENTRYP PFNGLGETSYNCIVPROC) /* glGetSynciv */ (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); +typedef void (GL_APIENTRYP PFNGLGETSYNCIVPROC) /* glGetSynciv */ (GLsync sync, GLenum pname, GLsizei count, GLsizei * length, GLint * values); typedef void (GL_APIENTRYP PFNGLGETINTEGER64I_VPROC) /* glGetInteger64i_v */ (GLenum target, GLuint index, GLint64 * data); typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) /* glGetBufferParameteri64v */ (GLenum target, GLenum pname, GLint64 * params); typedef void (GL_APIENTRYP PFNGLGENSAMPLERSPROC) /* glGenSamplers */ (GLsizei count, GLuint * samplers); @@ -551,7 +634,7 @@ typedef void (GL_APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) /* glInvalidateFrameb typedef void (GL_APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) /* glInvalidateSubFramebuffer */ (GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DPROC) /* glTexStorage2D */ (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DPROC) /* glTexStorage3D */ (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVPROC) /* glGetInternalformativ */ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVPROC) /* glGetInternalformativ */ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint * params); typedef void (GL_APIENTRYP PFNGLDISPATCHCOMPUTEPROC) /* glDispatchCompute */ (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); typedef void (GL_APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) /* glDispatchComputeIndirect */ (GLintptr indirect); typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) /* glDrawArraysIndirect */ (GLenum mode, const void * indirect); @@ -561,7 +644,7 @@ typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) /* glGetFramebuff typedef void (GL_APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) /* glGetProgramInterfaceiv */ (GLuint program, GLenum programInterface, GLenum pname, GLint * params); typedef GLuint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) /* glGetProgramResourceIndex */ (GLuint program, GLenum programInterface, const GLchar * name); typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) /* glGetProgramResourceName */ (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) /* glGetProgramResourceiv */ (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) /* glGetProgramResourceiv */ (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei count, GLsizei * length, GLint * params); typedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) /* glGetProgramResourceLocation */ (GLuint program, GLenum programInterface, const GLchar * name); typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) /* glUseProgramStages */ (GLuint pipeline, GLbitfield stages, GLuint program); typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) /* glActiveShaderProgram */ (GLuint pipeline, GLuint program); @@ -664,6 +747,8 @@ typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) /* glGetSamplerPara typedef void (GL_APIENTRYP PFNGLTEXBUFFERPROC) /* glTexBuffer */ (GLenum target, GLenum internalformat, GLuint buffer); typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEPROC) /* glTexBufferRange */ (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) /* glTexStorage3DMultisample */ (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) /* glRenderbufferStorageMultisampleAdvancedAMD */ (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) /* glNamedRenderbufferStorageMultisampleAdvancedAMD */ (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) /* glGetPerfMonitorGroupsAMD */ (GLint * numGroups, GLsizei groupsSize, GLuint * groups); typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) /* glGetPerfMonitorCountersAMD */ (GLuint group, GLint * numCounters, GLint * maxActiveCounters, GLsizei counterSize, GLuint * counters); typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) /* glGetPerfMonitorGroupStringAMD */ (GLuint group, GLsizei bufSize, GLsizei * length, GLchar * groupString); @@ -680,7 +765,7 @@ typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) /* glRe typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) /* glDrawArraysInstancedANGLE */ (GLenum mode, GLint first, GLsizei count, GLsizei primcount); typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) /* glDrawElementsInstancedANGLE */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) /* glVertexAttribDivisorANGLE */ (GLuint index, GLuint divisor); -typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) /* glGetTranslatedShaderSourceANGLE */ (GLuint shader, GLsizei bufsize, GLsizei * length, GLchar * source); +typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) /* glGetTranslatedShaderSourceANGLE */ (GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source); typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) /* glCopyTextureLevelsAPPLE */ (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) /* glRenderbufferStorageMultisampleAPPLE */ (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) /* glResolveMultisampleFramebufferAPPLE */ (); @@ -690,7 +775,9 @@ typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) /* glDeleteSyncAPPLE */ (GL typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) /* glClientWaitSyncAPPLE */ (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) /* glWaitSyncAPPLE */ (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) /* glGetInteger64vAPPLE */ (GLenum pname, GLint64 * params); -typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) /* glGetSyncivAPPLE */ (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); +typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) /* glGetSyncivAPPLE */ (GLsync sync, GLenum pname, GLsizei count, GLsizei * length, GLint * values); +typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) /* glEGLImageTargetTexStorageEXT */ (GLenum target, GLeglImageOES image, const GLint* attrib_list); +typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) /* glEGLImageTargetTextureStorageEXT */ (GLuint texture, GLeglImageOES image, const GLint* attrib_list); typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC) /* glDrawArraysInstancedBaseInstanceEXT */ (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC) /* glDrawElementsInstancedBaseInstanceEXT */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLuint baseinstance); typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC) /* glDrawElementsInstancedBaseVertexBaseInstanceEXT */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); @@ -699,6 +786,9 @@ typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) /* glBindFragDataLo typedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC) /* glGetProgramResourceLocationIndexEXT */ (GLuint program, GLenum programInterface, const GLchar * name); typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXTPROC) /* glGetFragDataIndexEXT */ (GLuint program, const GLchar * name); typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTPROC) /* glBufferStorageEXT */ (GLenum target, GLsizeiptr size, const void * data, GLbitfield flags); +typedef void (GL_APIENTRYP PFNGLCLEARTEXIMAGEEXTPROC) /* glClearTexImageEXT */ (GLuint texture, GLint level, GLenum format, GLenum type, const void * data); +typedef void (GL_APIENTRYP PFNGLCLEARTEXSUBIMAGEEXTPROC) /* glClearTexSubImageEXT */ (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); +typedef void (GL_APIENTRYP PFNGLCLIPCONTROLEXTPROC) /* glClipControlEXT */ (GLenum origin, GLenum depth); typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAEXTPROC) /* glCopyImageSubDataEXT */ (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) /* glLabelObjectEXT */ (GLenum type, GLuint object, GLsizei length, const GLchar * label); typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) /* glGetObjectLabelEXT */ (GLenum type, GLuint object, GLsizei bufSize, GLsizei * length, GLchar * label); @@ -717,6 +807,7 @@ typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) /* glGetQueryObjectivEX typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) /* glGetQueryObjectuivEXT */ (GLuint id, GLenum pname, GLuint * params); typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) /* glGetQueryObjecti64vEXT */ (GLuint id, GLenum pname, GLint64 * params); typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) /* glGetQueryObjectui64vEXT */ (GLuint id, GLenum pname, GLuint64 * params); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64VEXTPROC) /* glGetInteger64vEXT */ (GLenum pname, GLint64 * data); typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) /* glDrawBuffersEXT */ (GLsizei n, const GLenum * bufs); typedef void (GL_APIENTRYP PFNGLENABLEIEXTPROC) /* glEnableiEXT */ (GLenum target, GLuint index); typedef void (GL_APIENTRYP PFNGLDISABLEIEXTPROC) /* glDisableiEXT */ (GLenum target, GLuint index); @@ -729,15 +820,39 @@ typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIEXTPROC) /* glIsEnablediEXT */ (G typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXEXTPROC) /* glDrawElementsBaseVertexEXT */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex); typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC) /* glDrawRangeElementsBaseVertexEXT */ (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex); typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC) /* glDrawElementsInstancedBaseVertexEXT */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex); -typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) /* glMultiDrawElementsBaseVertexEXT */ (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, const GLint * basevertex); +typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) /* glMultiDrawElementsBaseVertexEXT */ (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount, const GLint * basevertex); typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) /* glDrawArraysInstancedEXT */ (GLenum mode, GLint start, GLsizei count, GLsizei primcount); typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) /* glDrawElementsInstancedEXT */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKEXTPROC) /* glDrawTransformFeedbackEXT */ (GLenum mode, GLuint id); +typedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC) /* glDrawTransformFeedbackInstancedEXT */ (GLenum mode, GLuint id, GLsizei instancecount); +typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) /* glBufferStorageExternalEXT */ (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) /* glNamedBufferStorageExternalEXT */ (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) /* glFramebufferTextureEXT */ (GLenum target, GLenum attachment, GLuint texture, GLint level); typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) /* glDrawArraysInstancedEXT */ (GLenum mode, GLint start, GLsizei count, GLsizei primcount); typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) /* glDrawElementsInstancedEXT */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) /* glVertexAttribDivisorEXT */ (GLuint index, GLuint divisor); typedef void * (GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) /* glMapBufferRangeEXT */ (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) /* glFlushMappedBufferRangeEXT */ (GLenum target, GLintptr offset, GLsizeiptr length); +typedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) /* glGetUnsignedBytevEXT */ (GLenum pname, GLubyte * data); +typedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) /* glGetUnsignedBytei_vEXT */ (GLenum target, GLuint index, GLubyte * data); +typedef void (GL_APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) /* glDeleteMemoryObjectsEXT */ (GLsizei n, const GLuint * memoryObjects); +typedef GLboolean (GL_APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) /* glIsMemoryObjectEXT */ (GLuint memoryObject); +typedef void (GL_APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) /* glCreateMemoryObjectsEXT */ (GLsizei n, GLuint * memoryObjects); +typedef void (GL_APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) /* glMemoryObjectParameterivEXT */ (GLuint memoryObject, GLenum pname, const GLint * params); +typedef void (GL_APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) /* glGetMemoryObjectParameterivEXT */ (GLuint memoryObject, GLenum pname, GLint * params); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) /* glTexStorageMem2DEXT */ (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) /* glTexStorageMem2DMultisampleEXT */ (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) /* glTexStorageMem3DEXT */ (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) /* glTexStorageMem3DMultisampleEXT */ (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) /* glBufferStorageMemEXT */ (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) /* glTextureStorageMem2DEXT */ (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) /* glTextureStorageMem2DMultisampleEXT */ (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) /* glTextureStorageMem3DEXT */ (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) /* glTextureStorageMem3DMultisampleEXT */ (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) /* glNamedBufferStorageMemEXT */ (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) /* glImportMemoryFdEXT */ (GLuint memory, GLuint64 size, GLenum handleType, GLint fd); +typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) /* glImportMemoryWin32HandleEXT */ (GLuint memory, GLuint64 size, GLenum handleType, void * handle); +typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) /* glImportMemoryWin32NameEXT */ (GLuint memory, GLuint64 size, GLenum handleType, const void * name); typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) /* glMultiDrawArraysEXT */ (GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) /* glMultiDrawElementsEXT */ (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount); typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC) /* glMultiDrawArraysIndirectEXT */ (GLenum mode, const void * indirect, GLsizei drawcount, GLsizei stride); @@ -754,12 +869,25 @@ typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) /* glBeginQueryEXT */ (GLenum typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) /* glEndQueryEXT */ (GLenum target); typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) /* glGetQueryivEXT */ (GLenum target, GLenum pname, GLint * params); typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) /* glGetQueryObjectuivEXT */ (GLuint id, GLenum pname, GLuint * params); +typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) /* glPolygonOffsetClampEXT */ (GLfloat factor, GLfloat units, GLfloat clamp); typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXEXTPROC) /* glPrimitiveBoundingBoxEXT */ (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); typedef void (GL_APIENTRYP PFNGLRASTERSAMPLESEXTPROC) /* glRasterSamplesEXT */ (GLuint samples, GLboolean fixedsamplelocations); typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) /* glGetGraphicsResetStatusEXT */ (); typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) /* glReadnPixelsEXT */ (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) /* glGetnUniformfvEXT */ (GLuint program, GLint location, GLsizei bufSize, GLfloat * params); typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) /* glGetnUniformivEXT */ (GLuint program, GLint location, GLsizei bufSize, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) /* glGetUnsignedBytevEXT */ (GLenum pname, GLubyte * data); +typedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) /* glGetUnsignedBytei_vEXT */ (GLenum target, GLuint index, GLubyte * data); +typedef void (GL_APIENTRYP PFNGLGENSEMAPHORESEXTPROC) /* glGenSemaphoresEXT */ (GLsizei n, GLuint * semaphores); +typedef void (GL_APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) /* glDeleteSemaphoresEXT */ (GLsizei n, const GLuint * semaphores); +typedef GLboolean (GL_APIENTRYP PFNGLISSEMAPHOREEXTPROC) /* glIsSemaphoreEXT */ (GLuint semaphore); +typedef void (GL_APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) /* glSemaphoreParameterui64vEXT */ (GLuint semaphore, GLenum pname, const GLuint64 * params); +typedef void (GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) /* glGetSemaphoreParameterui64vEXT */ (GLuint semaphore, GLenum pname, GLuint64 * params); +typedef void (GL_APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) /* glWaitSemaphoreEXT */ (GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * srcLayouts); +typedef void (GL_APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) /* glSignalSemaphoreEXT */ (GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * dstLayouts); +typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) /* glImportSemaphoreFdEXT */ (GLuint semaphore, GLenum handleType, GLint fd); +typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) /* glImportSemaphoreWin32HandleEXT */ (GLuint semaphore, GLenum handleType, void * handle); +typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) /* glImportSemaphoreWin32NameEXT */ (GLuint semaphore, GLenum handleType, const void * name); typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) /* glActiveShaderProgramEXT */ (GLuint pipeline, GLuint program); typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) /* glBindProgramPipelineEXT */ (GLuint pipeline); typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) /* glCreateShaderProgramvEXT */ (GLenum type, GLsizei count, const GLchar ** strings); @@ -798,13 +926,16 @@ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) /* glProgramUniform1u typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) /* glProgramUniform2uivEXT */ (GLuint program, GLint location, GLsizei count, const GLuint * value); typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) /* glProgramUniform3uivEXT */ (GLuint program, GLint location, GLsizei count, const GLuint * value); typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) /* glProgramUniform4uivEXT */ (GLuint program, GLint location, GLsizei count, const GLuint * value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) /* glProgramUniformMatrix4fvEXT */ (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) /* glProgramUniformMatrix2x3fvEXT */ (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) /* glProgramUniformMatrix3x2fvEXT */ (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) /* glProgramUniformMatrix2x4fvEXT */ (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) /* glProgramUniformMatrix4x2fvEXT */ (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) /* glProgramUniformMatrix3x4fvEXT */ (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) /* glProgramUniformMatrix4x3fvEXT */ (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) /* glFramebufferFetchBarrierEXT */ (); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) /* glFramebufferPixelLocalStorageSizeEXT */ (GLuint target, GLsizei size); +typedef GLsizei (GL_APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) /* glGetFramebufferPixelLocalStorageSizeEXT */ (GLuint target); +typedef void (GL_APIENTRYP PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC) /* glClearPixelLocalStorageuiEXT */ (GLsizei offset, GLsizei n, const GLuint * values); typedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTEXTPROC) /* glTexPageCommitmentEXT */ (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIEXTPROC) /* glPatchParameteriEXT */ (GLenum pname, GLint value); typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) /* glTexParameterIivEXT */ (GLenum target, GLenum pname, const GLint * params); @@ -817,7 +948,6 @@ typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVEXTPROC) /* glGetSamplerPa typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVEXTPROC) /* glGetSamplerParameterIuivEXT */ (GLuint sampler, GLenum pname, GLuint * params); typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) /* glTexBufferEXT */ (GLenum target, GLenum internalformat, GLuint buffer); typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) /* glTexBufferRangeEXT */ (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (GL_APIENTRYP PFNGLRASTERSAMPLESEXTPROC) /* glRasterSamplesEXT */ (GLuint samples, GLboolean fixedsamplelocations); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) /* glTexStorage1DEXT */ (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) /* glTexStorage2DEXT */ (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) /* glTexStorage3DEXT */ (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); @@ -825,6 +955,20 @@ typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) /* glTextureStorage1DEX typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) /* glTextureStorage2DEXT */ (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) /* glTextureStorage3DEXT */ (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWEXTPROC) /* glTextureViewEXT */ (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); +typedef void (GL_APIENTRYP PFNGLCREATESEMAPHORESNVPROC) /* glCreateSemaphoresNV */ (GLsizei n, GLuint * semaphores); +typedef void (GL_APIENTRYP PFNGLSEMAPHOREPARAMETERIVNVPROC) /* glSemaphoreParameterivNV */ (GLuint semaphore, GLenum pname, const GLint * params); +typedef void (GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERIVNVPROC) /* glGetSemaphoreParameterivNV */ (GLuint semaphore, GLenum pname, GLint * params); +typedef GLboolean (GL_APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) /* glAcquireKeyedMutexWin32EXT */ (GLuint memory, GLuint64 key, GLuint timeout); +typedef GLboolean (GL_APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) /* glReleaseKeyedMutexWin32EXT */ (GLuint memory, GLuint64 key); +typedef void (GL_APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) /* glWindowRectanglesEXT */ (GLenum mode, GLsizei count, const GLint * box); +typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLEIMGPROC) /* glGetTextureHandleIMG */ (GLuint texture); +typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEIMGPROC) /* glGetTextureSamplerHandleIMG */ (GLuint texture, GLuint sampler); +typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64IMGPROC) /* glUniformHandleui64IMG */ (GLint location, GLuint64 value); +typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VIMGPROC) /* glUniformHandleui64vIMG */ (GLint location, GLsizei count, const GLuint64 * value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC) /* glProgramUniformHandleui64IMG */ (GLuint program, GLint location, GLuint64 value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC) /* glProgramUniformHandleui64vIMG */ (GLuint program, GLint location, GLsizei count, const GLuint64 * values); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) /* glFramebufferTexture2DDownsampleIMG */ (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) /* glFramebufferTextureLayerDownsampleIMG */ (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) /* glRenderbufferStorageMultisampleIMG */ (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) /* glFramebufferTexture2DMultisampleIMG */ (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); typedef void (GL_APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) /* glApplyFramebufferAttachmentCMAAINTEL */ (); @@ -835,7 +979,7 @@ typedef void (GL_APIENTRYP PFNGLENDPERFQUERYINTELPROC) /* glEndPerfQueryINTEL */ typedef void (GL_APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) /* glGetFirstPerfQueryIdINTEL */ (GLuint * queryId); typedef void (GL_APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) /* glGetNextPerfQueryIdINTEL */ (GLuint queryId, GLuint * nextQueryId); typedef void (GL_APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) /* glGetPerfCounterInfoINTEL */ (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue); -typedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) /* glGetPerfQueryDataINTEL */ (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid * data, GLuint * bytesWritten); +typedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) /* glGetPerfQueryDataINTEL */ (GLuint queryHandle, GLuint flags, GLsizei dataSize, void * data, GLuint * bytesWritten); typedef void (GL_APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) /* glGetPerfQueryIdByNameINTEL */ (GLchar * queryName, GLuint * queryId); typedef void (GL_APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) /* glGetPerfQueryInfoINTEL */ (GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask); typedef void (GL_APIENTRYP PFNGLBLENDBARRIERKHRPROC) /* glBlendBarrierKHR */ (); @@ -855,6 +999,9 @@ typedef void (GL_APIENTRYP PFNGLREADNPIXELSKHRPROC) /* glReadnPixelsKHR */ (GLin typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) /* glGetnUniformfvKHR */ (GLuint program, GLint location, GLsizei bufSize, GLfloat * params); typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) /* glGetnUniformivKHR */ (GLuint program, GLint location, GLsizei bufSize, GLint * params); typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) /* glGetnUniformuivKHR */ (GLuint program, GLint location, GLsizei bufSize, GLuint * params); +typedef void (GL_APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) /* glMaxShaderCompilerThreadsKHR */ (GLuint count); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPARAMETERIMESAPROC) /* glFramebufferParameteriMESA */ (GLenum target, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC) /* glGetFramebufferParameterivMESA */ (GLenum target, GLenum pname, GLint * params); typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) /* glGetTextureHandleNV */ (GLuint texture); typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) /* glGetTextureSamplerHandleNV */ (GLuint texture, GLuint sampler); typedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) /* glMakeTextureHandleResidentNV */ (GLuint64 handle); @@ -870,15 +1017,22 @@ typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) /* glIsTextu typedef GLboolean (GL_APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) /* glIsImageHandleResidentNV */ (GLuint64 handle); typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) /* glBlendParameteriNV */ (GLenum pname, GLint value); typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) /* glBlendBarrierNV */ (); +typedef void (GL_APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) /* glViewportPositionWScaleNV */ (GLuint index, GLfloat xcoeff, GLfloat ycoeff); typedef void (GL_APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) /* glBeginConditionalRenderNV */ (GLuint id, GLenum mode); typedef void (GL_APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) /* glEndConditionalRenderNV */ (); typedef void (GL_APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) /* glSubpixelPrecisionBiasNV */ (GLuint xbits, GLuint ybits); +typedef void (GL_APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) /* glConservativeRasterParameteriNV */ (GLenum pname, GLint param); typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) /* glCopyBufferSubDataNV */ (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) /* glCoverageMaskNV */ (GLboolean mask); typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) /* glCoverageOperationNV */ (GLenum operation); typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) /* glDrawBuffersNV */ (GLsizei n, const GLenum * bufs); typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) /* glDrawArraysInstancedNV */ (GLenum mode, GLint first, GLsizei count, GLsizei primcount); typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) /* glDrawElementsInstancedNV */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLDRAWVKIMAGENVPROC) /* glDrawVkImageNV */ (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); +typedef GLVULKANPROCNV (GL_APIENTRYP PFNGLGETVKPROCADDRNVPROC) /* glGetVkProcAddrNV */ (const GLchar * name); +typedef void (GL_APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) /* glWaitVkSemaphoreNV */ (GLuint64 vkSemaphore); +typedef void (GL_APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) /* glSignalVkSemaphoreNV */ (GLuint64 vkSemaphore); +typedef void (GL_APIENTRYP PFNGLSIGNALVKFENCENVPROC) /* glSignalVkFenceNV */ (GLuint64 vkFence); typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) /* glDeleteFencesNV */ (GLsizei n, const GLuint * fences); typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) /* glGenFencesNV */ (GLsizei n, GLuint * fences); typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) /* glIsFenceNV */ (GLuint fence); @@ -890,11 +1044,58 @@ typedef void (GL_APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) /* glFragmentCovera typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) /* glBlitFramebufferNV */ (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); typedef void (GL_APIENTRYP PFNGLRASTERSAMPLESEXTPROC) /* glRasterSamplesEXT */ (GLuint samples, GLboolean fixedsamplelocations); typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) /* glCoverageModulationTableNV */ (GLsizei n, const GLfloat * v); -typedef void (GL_APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) /* glGetCoverageModulationTableNV */ (GLsizei bufsize, GLfloat * v); +typedef void (GL_APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) /* glGetCoverageModulationTableNV */ (GLsizei bufSize, GLfloat * v); typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) /* glCoverageModulationNV */ (GLenum components); typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) /* glRenderbufferStorageMultisampleNV */ (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLUNIFORM1I64NVPROC) /* glUniform1i64NV */ (GLint location, GLint64EXT x); +typedef void (GL_APIENTRYP PFNGLUNIFORM2I64NVPROC) /* glUniform2i64NV */ (GLint location, GLint64EXT x, GLint64EXT y); +typedef void (GL_APIENTRYP PFNGLUNIFORM3I64NVPROC) /* glUniform3i64NV */ (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +typedef void (GL_APIENTRYP PFNGLUNIFORM4I64NVPROC) /* glUniform4i64NV */ (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +typedef void (GL_APIENTRYP PFNGLUNIFORM1I64VNVPROC) /* glUniform1i64vNV */ (GLint location, GLsizei count, const GLint64EXT * value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2I64VNVPROC) /* glUniform2i64vNV */ (GLint location, GLsizei count, const GLint64EXT * value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3I64VNVPROC) /* glUniform3i64vNV */ (GLint location, GLsizei count, const GLint64EXT * value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4I64VNVPROC) /* glUniform4i64vNV */ (GLint location, GLsizei count, const GLint64EXT * value); +typedef void (GL_APIENTRYP PFNGLUNIFORM1UI64NVPROC) /* glUniform1ui64NV */ (GLint location, GLuint64EXT x); +typedef void (GL_APIENTRYP PFNGLUNIFORM2UI64NVPROC) /* glUniform2ui64NV */ (GLint location, GLuint64EXT x, GLuint64EXT y); +typedef void (GL_APIENTRYP PFNGLUNIFORM3UI64NVPROC) /* glUniform3ui64NV */ (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +typedef void (GL_APIENTRYP PFNGLUNIFORM4UI64NVPROC) /* glUniform4ui64NV */ (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +typedef void (GL_APIENTRYP PFNGLUNIFORM1UI64VNVPROC) /* glUniform1ui64vNV */ (GLint location, GLsizei count, const GLuint64EXT * value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2UI64VNVPROC) /* glUniform2ui64vNV */ (GLint location, GLsizei count, const GLuint64EXT * value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3UI64VNVPROC) /* glUniform3ui64vNV */ (GLint location, GLsizei count, const GLuint64EXT * value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4UI64VNVPROC) /* glUniform4ui64vNV */ (GLint location, GLsizei count, const GLuint64EXT * value); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMI64VNVPROC) /* glGetUniformi64vNV */ (GLuint program, GLint location, GLint64EXT * params); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) /* glProgramUniform1i64NV */ (GLuint program, GLint location, GLint64EXT x); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) /* glProgramUniform2i64NV */ (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) /* glProgramUniform3i64NV */ (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) /* glProgramUniform4i64NV */ (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) /* glProgramUniform1i64vNV */ (GLuint program, GLint location, GLsizei count, const GLint64EXT * value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) /* glProgramUniform2i64vNV */ (GLuint program, GLint location, GLsizei count, const GLint64EXT * value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) /* glProgramUniform3i64vNV */ (GLuint program, GLint location, GLsizei count, const GLint64EXT * value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) /* glProgramUniform4i64vNV */ (GLuint program, GLint location, GLsizei count, const GLint64EXT * value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) /* glProgramUniform1ui64NV */ (GLuint program, GLint location, GLuint64EXT x); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) /* glProgramUniform2ui64NV */ (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) /* glProgramUniform3ui64NV */ (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) /* glProgramUniform4ui64NV */ (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) /* glProgramUniform1ui64vNV */ (GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) /* glProgramUniform2ui64vNV */ (GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) /* glProgramUniform3ui64vNV */ (GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) /* glProgramUniform4ui64vNV */ (GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) /* glVertexAttribDivisorNV */ (GLuint index, GLuint divisor); -typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) /* glGetInternalformatSampleivNV */ (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) /* glGetInternalformatSampleivNV */ (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) /* glGetMemoryObjectDetachedResourcesuivNV */ (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint * params); +typedef void (GL_APIENTRYP PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) /* glResetMemoryObjectParameterNV */ (GLuint memory, GLenum pname); +typedef void (GL_APIENTRYP PFNGLTEXATTACHMEMORYNVPROC) /* glTexAttachMemoryNV */ (GLenum target, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLBUFFERATTACHMEMORYNVPROC) /* glBufferAttachMemoryNV */ (GLenum target, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLTEXTUREATTACHMEMORYNVPROC) /* glTextureAttachMemoryNV */ (GLuint texture, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) /* glNamedBufferAttachMemoryNV */ (GLuint buffer, GLuint memory, GLuint64 offset); +typedef void (GL_APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) /* glBufferPageCommitmentMemNV */ (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +typedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTMEMNVPROC) /* glTexPageCommitmentMemNV */ (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) /* glNamedBufferPageCommitmentMemNV */ (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +typedef void (GL_APIENTRYP PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) /* glTexturePageCommitmentMemNV */ (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +typedef void (GL_APIENTRYP PFNGLDRAWMESHTASKSNVPROC) /* glDrawMeshTasksNV */ (GLuint first, GLuint count); +typedef void (GL_APIENTRYP PFNGLDRAWMESHTASKSINDIRECTNVPROC) /* glDrawMeshTasksIndirectNV */ (GLintptr indirect); +typedef void (GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) /* glMultiDrawMeshTasksIndirectNV */ (GLintptr indirect, GLsizei drawcount, GLsizei stride); +typedef void (GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) /* glMultiDrawMeshTasksIndirectCountNV */ (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) /* glUniformMatrix2x3fvNV */ (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) /* glUniformMatrix3x2fvNV */ (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) /* glUniformMatrix2x4fvNV */ (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); @@ -953,16 +1154,25 @@ typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) /* glStencilThen typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) /* glStencilThenCoverStrokePathNV */ (GLuint path, GLint reference, GLuint mask, GLenum coverMode); typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) /* glStencilThenCoverFillPathInstancedNV */ (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) /* glStencilThenCoverStrokePathInstancedNV */ (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); -typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) /* glPathGlyphIndexRangeNV */ (GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); +typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) /* glPathGlyphIndexRangeNV */ (GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint * baseAndCount); typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) /* glPathGlyphIndexArrayNV */ (GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); typedef GLenum (GL_APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) /* glPathMemoryGlyphIndexArrayNV */ (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void * fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); typedef void (GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) /* glProgramPathFragmentInputGenNV */ (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat * coeffs); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) /* glGetProgramResourcefvNV */ (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLfloat * params); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) /* glGetProgramResourcefvNV */ (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei count, GLsizei * length, GLfloat * params); typedef void (GL_APIENTRYP PFNGLPOLYGONMODENVPROC) /* glPolygonModeNV */ (GLenum face, GLenum mode); typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) /* glReadBufferNV */ (GLenum mode); typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) /* glFramebufferSampleLocationsfvNV */ (GLenum target, GLuint start, GLsizei count, const GLfloat * v); typedef void (GL_APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) /* glNamedFramebufferSampleLocationsfvNV */ (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v); typedef void (GL_APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) /* glResolveDepthValuesNV */ (); +typedef void (GL_APIENTRYP PFNGLSCISSOREXCLUSIVENVPROC) /* glScissorExclusiveNV */ (GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSCISSOREXCLUSIVEARRAYVNVPROC) /* glScissorExclusiveArrayvNV */ (GLuint first, GLsizei count, const GLint * v); +typedef void (GL_APIENTRYP PFNGLBINDSHADINGRATEIMAGENVPROC) /* glBindShadingRateImageNV */ (GLuint texture); +typedef void (GL_APIENTRYP PFNGLGETSHADINGRATEIMAGEPALETTENVPROC) /* glGetShadingRateImagePaletteNV */ (GLuint viewport, GLuint entry, GLenum * rate); +typedef void (GL_APIENTRYP PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC) /* glGetShadingRateSampleLocationivNV */ (GLenum rate, GLuint samples, GLuint index, GLint * location); +typedef void (GL_APIENTRYP PFNGLSHADINGRATEIMAGEBARRIERNVPROC) /* glShadingRateImageBarrierNV */ (GLboolean synchronize); +typedef void (GL_APIENTRYP PFNGLSHADINGRATEIMAGEPALETTENVPROC) /* glShadingRateImagePaletteNV */ (GLuint viewport, GLuint first, GLsizei count, const GLenum * rates); +typedef void (GL_APIENTRYP PFNGLSHADINGRATESAMPLEORDERNVPROC) /* glShadingRateSampleOrderNV */ (GLenum order); +typedef void (GL_APIENTRYP PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC) /* glShadingRateSampleOrderCustomNV */ (GLenum rate, GLuint samples, const GLint * locations); typedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVNVPROC) /* glViewportArrayvNV */ (GLuint first, GLsizei count, const GLfloat * v); typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFNVPROC) /* glViewportIndexedfNV */ (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVNVPROC) /* glViewportIndexedfvNV */ (GLuint index, const GLfloat * v); @@ -975,6 +1185,7 @@ typedef void (GL_APIENTRYP PFNGLGETFLOATI_VNVPROC) /* glGetFloati_vNV */ (GLenum typedef void (GL_APIENTRYP PFNGLENABLEINVPROC) /* glEnableiNV */ (GLenum target, GLuint index); typedef void (GL_APIENTRYP PFNGLDISABLEINVPROC) /* glDisableiNV */ (GLenum target, GLuint index); typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDINVPROC) /* glIsEnablediNV */ (GLenum target, GLuint index); +typedef void (GL_APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) /* glViewportSwizzleNV */ (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) /* glEGLImageTargetTexture2DOES */ (GLenum target, GLeglImageOES image); typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) /* glEGLImageTargetRenderbufferStorageOES */ (GLenum target, GLeglImageOES image); typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAOESPROC) /* glCopyImageSubDataOES */ (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); @@ -989,7 +1200,7 @@ typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIOESPROC) /* glIsEnablediOES */ (G typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) /* glDrawElementsBaseVertexOES */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex); typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) /* glDrawRangeElementsBaseVertexOES */ (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex); typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) /* glDrawElementsInstancedBaseVertexOES */ (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex); -typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXOESPROC) /* glMultiDrawElementsBaseVertexOES */ (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, const GLint * basevertex); +typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) /* glMultiDrawElementsBaseVertexEXT */ (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount, const GLint * basevertex); typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREOESPROC) /* glFramebufferTextureOES */ (GLenum target, GLenum attachment, GLuint texture, GLint level); typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) /* glGetProgramBinaryOES */ (GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary); typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) /* glProgramBinaryOES */ (GLuint program, GLenum binaryFormat, const void * binary, GLint length); @@ -1021,6 +1232,18 @@ typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) /* glBindVertexArrayOES typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) /* glDeleteVertexArraysOES */ (GLsizei n, const GLuint * arrays); typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) /* glGenVertexArraysOES */ (GLsizei n, GLuint * arrays); typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) /* glIsVertexArrayOES */ (GLuint array); +typedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVOESPROC) /* glViewportArrayvOES */ (GLuint first, GLsizei count, const GLfloat * v); +typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFOESPROC) /* glViewportIndexedfOES */ (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); +typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVOESPROC) /* glViewportIndexedfvOES */ (GLuint index, const GLfloat * v); +typedef void (GL_APIENTRYP PFNGLSCISSORARRAYVOESPROC) /* glScissorArrayvOES */ (GLuint first, GLsizei count, const GLint * v); +typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDOESPROC) /* glScissorIndexedOES */ (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVOESPROC) /* glScissorIndexedvOES */ (GLuint index, const GLint * v); +typedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVOESPROC) /* glDepthRangeArrayfvOES */ (GLuint first, GLsizei count, const GLfloat * v); +typedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFOESPROC) /* glDepthRangeIndexedfOES */ (GLuint index, GLfloat n, GLfloat f); +typedef void (GL_APIENTRYP PFNGLGETFLOATI_VOESPROC) /* glGetFloati_vOES */ (GLenum target, GLuint index, GLfloat * data); +typedef void (GL_APIENTRYP PFNGLENABLEIOESPROC) /* glEnableiOES */ (GLenum target, GLuint index); +typedef void (GL_APIENTRYP PFNGLDISABLEIOESPROC) /* glDisableiOES */ (GLenum target, GLuint index); +typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIOESPROC) /* glIsEnablediOES */ (GLenum target, GLuint index); typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) /* glFramebufferTextureMultiviewOVR */ (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC) /* glFramebufferTextureMultisampleMultiviewOVR */ (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews); typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) /* glAlphaFuncQCOM */ (GLenum func, GLclampf ref); @@ -1040,6 +1263,14 @@ typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) /* glExtGetShadersQCOM */ typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) /* glExtGetProgramsQCOM */ (GLuint * programs, GLint maxPrograms, GLint * numPrograms); typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) /* glExtIsProgramBinaryQCOM */ (GLuint program); typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) /* glExtGetProgramBinarySourceQCOM */ (GLuint program, GLenum shadertype, GLchar * source, GLint * length); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC) /* glFramebufferFoveationConfigQCOM */ (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint * providedFeatures); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC) /* glFramebufferFoveationParametersQCOM */ (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); +typedef void (GL_APIENTRYP PFNGLTEXESTIMATEMOTIONQCOMPROC) /* glTexEstimateMotionQCOM */ (GLuint ref, GLuint target, GLuint output); +typedef void (GL_APIENTRYP PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC) /* glTexEstimateMotionRegionsQCOM */ (GLuint ref, GLuint target, GLuint output, GLuint mask); +typedef void (GL_APIENTRYP PFNGLEXTRAPOLATETEX2DQCOMPROC) /* glExtrapolateTex2DQCOM */ (GLuint src1, GLuint src2, GLuint output, GLfloat scaleFactor); +typedef void (GL_APIENTRYP PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC) /* glTextureFoveationParametersQCOM */ (GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC) /* glFramebufferFetchBarrierQCOM */ (); +typedef void (GL_APIENTRYP PFNGLSHADINGRATEQCOMPROC) /* glShadingRateQCOM */ (GLenum rate); typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) /* glStartTilingQCOM */ (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) /* glEndTilingQCOM */ (GLbitfield preserveMask); @@ -1284,6 +1515,8 @@ namespace glew PFNGLTEXBUFFERPROC m_glTexBuffer; PFNGLTEXBUFFERRANGEPROC m_glTexBufferRange; PFNGLTEXSTORAGE3DMULTISAMPLEPROC m_glTexStorage3DMultisample; + PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC m_glRenderbufferStorageMultisampleAdvancedAMD; + PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC m_glNamedRenderbufferStorageMultisampleAdvancedAMD; PFNGLGETPERFMONITORGROUPSAMDPROC m_glGetPerfMonitorGroupsAMD; PFNGLGETPERFMONITORCOUNTERSAMDPROC m_glGetPerfMonitorCountersAMD; PFNGLGETPERFMONITORGROUPSTRINGAMDPROC m_glGetPerfMonitorGroupStringAMD; @@ -1311,6 +1544,8 @@ namespace glew PFNGLWAITSYNCAPPLEPROC m_glWaitSyncAPPLE; PFNGLGETINTEGER64VAPPLEPROC m_glGetInteger64vAPPLE; PFNGLGETSYNCIVAPPLEPROC m_glGetSyncivAPPLE; + PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC m_glEGLImageTargetTexStorageEXT; + PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC m_glEGLImageTargetTextureStorageEXT; PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC m_glDrawArraysInstancedBaseInstanceEXT; PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC m_glDrawElementsInstancedBaseInstanceEXT; PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC m_glDrawElementsInstancedBaseVertexBaseInstanceEXT; @@ -1319,6 +1554,9 @@ namespace glew PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC m_glGetProgramResourceLocationIndexEXT; PFNGLGETFRAGDATAINDEXEXTPROC m_glGetFragDataIndexEXT; PFNGLBUFFERSTORAGEEXTPROC m_glBufferStorageEXT; + PFNGLCLEARTEXIMAGEEXTPROC m_glClearTexImageEXT; + PFNGLCLEARTEXSUBIMAGEEXTPROC m_glClearTexSubImageEXT; + PFNGLCLIPCONTROLEXTPROC m_glClipControlEXT; PFNGLCOPYIMAGESUBDATAEXTPROC m_glCopyImageSubDataEXT; PFNGLLABELOBJECTEXTPROC m_glLabelObjectEXT; PFNGLGETOBJECTLABELEXTPROC m_glGetObjectLabelEXT; @@ -1337,6 +1575,7 @@ namespace glew PFNGLGETQUERYOBJECTUIVEXTPROC m_glGetQueryObjectuivEXT; PFNGLGETQUERYOBJECTI64VEXTPROC m_glGetQueryObjecti64vEXT; PFNGLGETQUERYOBJECTUI64VEXTPROC m_glGetQueryObjectui64vEXT; + PFNGLGETINTEGER64VEXTPROC m_glGetInteger64vEXT; PFNGLDRAWBUFFERSEXTPROC m_glDrawBuffersEXT; PFNGLENABLEIEXTPROC m_glEnableiEXT; PFNGLDISABLEIEXTPROC m_glDisableiEXT; @@ -1352,10 +1591,34 @@ namespace glew PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC m_glMultiDrawElementsBaseVertexEXT; PFNGLDRAWARRAYSINSTANCEDEXTPROC m_glDrawArraysInstancedEXT; PFNGLDRAWELEMENTSINSTANCEDEXTPROC m_glDrawElementsInstancedEXT; + PFNGLDRAWTRANSFORMFEEDBACKEXTPROC m_glDrawTransformFeedbackEXT; + PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC m_glDrawTransformFeedbackInstancedEXT; + PFNGLBUFFERSTORAGEEXTERNALEXTPROC m_glBufferStorageExternalEXT; + PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC m_glNamedBufferStorageExternalEXT; PFNGLFRAMEBUFFERTEXTUREEXTPROC m_glFramebufferTextureEXT; PFNGLVERTEXATTRIBDIVISOREXTPROC m_glVertexAttribDivisorEXT; PFNGLMAPBUFFERRANGEEXTPROC m_glMapBufferRangeEXT; PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC m_glFlushMappedBufferRangeEXT; + PFNGLGETUNSIGNEDBYTEVEXTPROC m_glGetUnsignedBytevEXT; + PFNGLGETUNSIGNEDBYTEI_VEXTPROC m_glGetUnsignedBytei_vEXT; + PFNGLDELETEMEMORYOBJECTSEXTPROC m_glDeleteMemoryObjectsEXT; + PFNGLISMEMORYOBJECTEXTPROC m_glIsMemoryObjectEXT; + PFNGLCREATEMEMORYOBJECTSEXTPROC m_glCreateMemoryObjectsEXT; + PFNGLMEMORYOBJECTPARAMETERIVEXTPROC m_glMemoryObjectParameterivEXT; + PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC m_glGetMemoryObjectParameterivEXT; + PFNGLTEXSTORAGEMEM2DEXTPROC m_glTexStorageMem2DEXT; + PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC m_glTexStorageMem2DMultisampleEXT; + PFNGLTEXSTORAGEMEM3DEXTPROC m_glTexStorageMem3DEXT; + PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC m_glTexStorageMem3DMultisampleEXT; + PFNGLBUFFERSTORAGEMEMEXTPROC m_glBufferStorageMemEXT; + PFNGLTEXTURESTORAGEMEM2DEXTPROC m_glTextureStorageMem2DEXT; + PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC m_glTextureStorageMem2DMultisampleEXT; + PFNGLTEXTURESTORAGEMEM3DEXTPROC m_glTextureStorageMem3DEXT; + PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC m_glTextureStorageMem3DMultisampleEXT; + PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC m_glNamedBufferStorageMemEXT; + PFNGLIMPORTMEMORYFDEXTPROC m_glImportMemoryFdEXT; + PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC m_glImportMemoryWin32HandleEXT; + PFNGLIMPORTMEMORYWIN32NAMEEXTPROC m_glImportMemoryWin32NameEXT; PFNGLMULTIDRAWARRAYSEXTPROC m_glMultiDrawArraysEXT; PFNGLMULTIDRAWELEMENTSEXTPROC m_glMultiDrawElementsEXT; PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC m_glMultiDrawArraysIndirectEXT; @@ -1365,12 +1628,23 @@ namespace glew PFNGLREADBUFFERINDEXEDEXTPROC m_glReadBufferIndexedEXT; PFNGLDRAWBUFFERSINDEXEDEXTPROC m_glDrawBuffersIndexedEXT; PFNGLGETINTEGERI_VEXTPROC m_glGetIntegeri_vEXT; + PFNGLPOLYGONOFFSETCLAMPEXTPROC m_glPolygonOffsetClampEXT; PFNGLPRIMITIVEBOUNDINGBOXEXTPROC m_glPrimitiveBoundingBoxEXT; PFNGLRASTERSAMPLESEXTPROC m_glRasterSamplesEXT; PFNGLGETGRAPHICSRESETSTATUSEXTPROC m_glGetGraphicsResetStatusEXT; PFNGLREADNPIXELSEXTPROC m_glReadnPixelsEXT; PFNGLGETNUNIFORMFVEXTPROC m_glGetnUniformfvEXT; PFNGLGETNUNIFORMIVEXTPROC m_glGetnUniformivEXT; + PFNGLGENSEMAPHORESEXTPROC m_glGenSemaphoresEXT; + PFNGLDELETESEMAPHORESEXTPROC m_glDeleteSemaphoresEXT; + PFNGLISSEMAPHOREEXTPROC m_glIsSemaphoreEXT; + PFNGLSEMAPHOREPARAMETERUI64VEXTPROC m_glSemaphoreParameterui64vEXT; + PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC m_glGetSemaphoreParameterui64vEXT; + PFNGLWAITSEMAPHOREEXTPROC m_glWaitSemaphoreEXT; + PFNGLSIGNALSEMAPHOREEXTPROC m_glSignalSemaphoreEXT; + PFNGLIMPORTSEMAPHOREFDEXTPROC m_glImportSemaphoreFdEXT; + PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC m_glImportSemaphoreWin32HandleEXT; + PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC m_glImportSemaphoreWin32NameEXT; PFNGLACTIVESHADERPROGRAMEXTPROC m_glActiveShaderProgramEXT; PFNGLBINDPROGRAMPIPELINEEXTPROC m_glBindProgramPipelineEXT; PFNGLCREATESHADERPROGRAMVEXTPROC m_glCreateShaderProgramvEXT; @@ -1415,6 +1689,10 @@ namespace glew PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC m_glProgramUniformMatrix4x2fvEXT; PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC m_glProgramUniformMatrix3x4fvEXT; PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC m_glProgramUniformMatrix4x3fvEXT; + PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC m_glFramebufferFetchBarrierEXT; + PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC m_glFramebufferPixelLocalStorageSizeEXT; + PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC m_glGetFramebufferPixelLocalStorageSizeEXT; + PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC m_glClearPixelLocalStorageuiEXT; PFNGLTEXPAGECOMMITMENTEXTPROC m_glTexPageCommitmentEXT; PFNGLPATCHPARAMETERIEXTPROC m_glPatchParameteriEXT; PFNGLTEXPARAMETERIIVEXTPROC m_glTexParameterIivEXT; @@ -1434,6 +1712,20 @@ namespace glew PFNGLTEXTURESTORAGE2DEXTPROC m_glTextureStorage2DEXT; PFNGLTEXTURESTORAGE3DEXTPROC m_glTextureStorage3DEXT; PFNGLTEXTUREVIEWEXTPROC m_glTextureViewEXT; + PFNGLCREATESEMAPHORESNVPROC m_glCreateSemaphoresNV; + PFNGLSEMAPHOREPARAMETERIVNVPROC m_glSemaphoreParameterivNV; + PFNGLGETSEMAPHOREPARAMETERIVNVPROC m_glGetSemaphoreParameterivNV; + PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC m_glAcquireKeyedMutexWin32EXT; + PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC m_glReleaseKeyedMutexWin32EXT; + PFNGLWINDOWRECTANGLESEXTPROC m_glWindowRectanglesEXT; + PFNGLGETTEXTUREHANDLEIMGPROC m_glGetTextureHandleIMG; + PFNGLGETTEXTURESAMPLERHANDLEIMGPROC m_glGetTextureSamplerHandleIMG; + PFNGLUNIFORMHANDLEUI64IMGPROC m_glUniformHandleui64IMG; + PFNGLUNIFORMHANDLEUI64VIMGPROC m_glUniformHandleui64vIMG; + PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC m_glProgramUniformHandleui64IMG; + PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC m_glProgramUniformHandleui64vIMG; + PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC m_glFramebufferTexture2DDownsampleIMG; + PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC m_glFramebufferTextureLayerDownsampleIMG; PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC m_glRenderbufferStorageMultisampleIMG; PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC m_glFramebufferTexture2DMultisampleIMG; PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC m_glApplyFramebufferAttachmentCMAAINTEL; @@ -1464,6 +1756,9 @@ namespace glew PFNGLGETNUNIFORMFVKHRPROC m_glGetnUniformfvKHR; PFNGLGETNUNIFORMIVKHRPROC m_glGetnUniformivKHR; PFNGLGETNUNIFORMUIVKHRPROC m_glGetnUniformuivKHR; + PFNGLMAXSHADERCOMPILERTHREADSKHRPROC m_glMaxShaderCompilerThreadsKHR; + PFNGLFRAMEBUFFERPARAMETERIMESAPROC m_glFramebufferParameteriMESA; + PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC m_glGetFramebufferParameterivMESA; PFNGLGETTEXTUREHANDLENVPROC m_glGetTextureHandleNV; PFNGLGETTEXTURESAMPLERHANDLENVPROC m_glGetTextureSamplerHandleNV; PFNGLMAKETEXTUREHANDLERESIDENTNVPROC m_glMakeTextureHandleResidentNV; @@ -1479,15 +1774,22 @@ namespace glew PFNGLISIMAGEHANDLERESIDENTNVPROC m_glIsImageHandleResidentNV; PFNGLBLENDPARAMETERINVPROC m_glBlendParameteriNV; PFNGLBLENDBARRIERNVPROC m_glBlendBarrierNV; + PFNGLVIEWPORTPOSITIONWSCALENVPROC m_glViewportPositionWScaleNV; PFNGLBEGINCONDITIONALRENDERNVPROC m_glBeginConditionalRenderNV; PFNGLENDCONDITIONALRENDERNVPROC m_glEndConditionalRenderNV; PFNGLSUBPIXELPRECISIONBIASNVPROC m_glSubpixelPrecisionBiasNV; + PFNGLCONSERVATIVERASTERPARAMETERINVPROC m_glConservativeRasterParameteriNV; PFNGLCOPYBUFFERSUBDATANVPROC m_glCopyBufferSubDataNV; PFNGLCOVERAGEMASKNVPROC m_glCoverageMaskNV; PFNGLCOVERAGEOPERATIONNVPROC m_glCoverageOperationNV; PFNGLDRAWBUFFERSNVPROC m_glDrawBuffersNV; PFNGLDRAWARRAYSINSTANCEDNVPROC m_glDrawArraysInstancedNV; PFNGLDRAWELEMENTSINSTANCEDNVPROC m_glDrawElementsInstancedNV; + PFNGLDRAWVKIMAGENVPROC m_glDrawVkImageNV; + PFNGLGETVKPROCADDRNVPROC m_glGetVkProcAddrNV; + PFNGLWAITVKSEMAPHORENVPROC m_glWaitVkSemaphoreNV; + PFNGLSIGNALVKSEMAPHORENVPROC m_glSignalVkSemaphoreNV; + PFNGLSIGNALVKFENCENVPROC m_glSignalVkFenceNV; PFNGLDELETEFENCESNVPROC m_glDeleteFencesNV; PFNGLGENFENCESNVPROC m_glGenFencesNV; PFNGLISFENCENVPROC m_glIsFenceNV; @@ -1501,8 +1803,55 @@ namespace glew PFNGLGETCOVERAGEMODULATIONTABLENVPROC m_glGetCoverageModulationTableNV; PFNGLCOVERAGEMODULATIONNVPROC m_glCoverageModulationNV; PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC m_glRenderbufferStorageMultisampleNV; + PFNGLUNIFORM1I64NVPROC m_glUniform1i64NV; + PFNGLUNIFORM2I64NVPROC m_glUniform2i64NV; + PFNGLUNIFORM3I64NVPROC m_glUniform3i64NV; + PFNGLUNIFORM4I64NVPROC m_glUniform4i64NV; + PFNGLUNIFORM1I64VNVPROC m_glUniform1i64vNV; + PFNGLUNIFORM2I64VNVPROC m_glUniform2i64vNV; + PFNGLUNIFORM3I64VNVPROC m_glUniform3i64vNV; + PFNGLUNIFORM4I64VNVPROC m_glUniform4i64vNV; + PFNGLUNIFORM1UI64NVPROC m_glUniform1ui64NV; + PFNGLUNIFORM2UI64NVPROC m_glUniform2ui64NV; + PFNGLUNIFORM3UI64NVPROC m_glUniform3ui64NV; + PFNGLUNIFORM4UI64NVPROC m_glUniform4ui64NV; + PFNGLUNIFORM1UI64VNVPROC m_glUniform1ui64vNV; + PFNGLUNIFORM2UI64VNVPROC m_glUniform2ui64vNV; + PFNGLUNIFORM3UI64VNVPROC m_glUniform3ui64vNV; + PFNGLUNIFORM4UI64VNVPROC m_glUniform4ui64vNV; + PFNGLGETUNIFORMI64VNVPROC m_glGetUniformi64vNV; + PFNGLPROGRAMUNIFORM1I64NVPROC m_glProgramUniform1i64NV; + PFNGLPROGRAMUNIFORM2I64NVPROC m_glProgramUniform2i64NV; + PFNGLPROGRAMUNIFORM3I64NVPROC m_glProgramUniform3i64NV; + PFNGLPROGRAMUNIFORM4I64NVPROC m_glProgramUniform4i64NV; + PFNGLPROGRAMUNIFORM1I64VNVPROC m_glProgramUniform1i64vNV; + PFNGLPROGRAMUNIFORM2I64VNVPROC m_glProgramUniform2i64vNV; + PFNGLPROGRAMUNIFORM3I64VNVPROC m_glProgramUniform3i64vNV; + PFNGLPROGRAMUNIFORM4I64VNVPROC m_glProgramUniform4i64vNV; + PFNGLPROGRAMUNIFORM1UI64NVPROC m_glProgramUniform1ui64NV; + PFNGLPROGRAMUNIFORM2UI64NVPROC m_glProgramUniform2ui64NV; + PFNGLPROGRAMUNIFORM3UI64NVPROC m_glProgramUniform3ui64NV; + PFNGLPROGRAMUNIFORM4UI64NVPROC m_glProgramUniform4ui64NV; + PFNGLPROGRAMUNIFORM1UI64VNVPROC m_glProgramUniform1ui64vNV; + PFNGLPROGRAMUNIFORM2UI64VNVPROC m_glProgramUniform2ui64vNV; + PFNGLPROGRAMUNIFORM3UI64VNVPROC m_glProgramUniform3ui64vNV; + PFNGLPROGRAMUNIFORM4UI64VNVPROC m_glProgramUniform4ui64vNV; PFNGLVERTEXATTRIBDIVISORNVPROC m_glVertexAttribDivisorNV; PFNGLGETINTERNALFORMATSAMPLEIVNVPROC m_glGetInternalformatSampleivNV; + PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC m_glGetMemoryObjectDetachedResourcesuivNV; + PFNGLRESETMEMORYOBJECTPARAMETERNVPROC m_glResetMemoryObjectParameterNV; + PFNGLTEXATTACHMEMORYNVPROC m_glTexAttachMemoryNV; + PFNGLBUFFERATTACHMEMORYNVPROC m_glBufferAttachMemoryNV; + PFNGLTEXTUREATTACHMEMORYNVPROC m_glTextureAttachMemoryNV; + PFNGLNAMEDBUFFERATTACHMEMORYNVPROC m_glNamedBufferAttachMemoryNV; + PFNGLBUFFERPAGECOMMITMENTMEMNVPROC m_glBufferPageCommitmentMemNV; + PFNGLTEXPAGECOMMITMENTMEMNVPROC m_glTexPageCommitmentMemNV; + PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC m_glNamedBufferPageCommitmentMemNV; + PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC m_glTexturePageCommitmentMemNV; + PFNGLDRAWMESHTASKSNVPROC m_glDrawMeshTasksNV; + PFNGLDRAWMESHTASKSINDIRECTNVPROC m_glDrawMeshTasksIndirectNV; + PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC m_glMultiDrawMeshTasksIndirectNV; + PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC m_glMultiDrawMeshTasksIndirectCountNV; PFNGLUNIFORMMATRIX2X3FVNVPROC m_glUniformMatrix2x3fvNV; PFNGLUNIFORMMATRIX3X2FVNVPROC m_glUniformMatrix3x2fvNV; PFNGLUNIFORMMATRIX2X4FVNVPROC m_glUniformMatrix2x4fvNV; @@ -1571,6 +1920,15 @@ namespace glew PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC m_glFramebufferSampleLocationsfvNV; PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC m_glNamedFramebufferSampleLocationsfvNV; PFNGLRESOLVEDEPTHVALUESNVPROC m_glResolveDepthValuesNV; + PFNGLSCISSOREXCLUSIVENVPROC m_glScissorExclusiveNV; + PFNGLSCISSOREXCLUSIVEARRAYVNVPROC m_glScissorExclusiveArrayvNV; + PFNGLBINDSHADINGRATEIMAGENVPROC m_glBindShadingRateImageNV; + PFNGLGETSHADINGRATEIMAGEPALETTENVPROC m_glGetShadingRateImagePaletteNV; + PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC m_glGetShadingRateSampleLocationivNV; + PFNGLSHADINGRATEIMAGEBARRIERNVPROC m_glShadingRateImageBarrierNV; + PFNGLSHADINGRATEIMAGEPALETTENVPROC m_glShadingRateImagePaletteNV; + PFNGLSHADINGRATESAMPLEORDERNVPROC m_glShadingRateSampleOrderNV; + PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC m_glShadingRateSampleOrderCustomNV; PFNGLVIEWPORTARRAYVNVPROC m_glViewportArrayvNV; PFNGLVIEWPORTINDEXEDFNVPROC m_glViewportIndexedfNV; PFNGLVIEWPORTINDEXEDFVNVPROC m_glViewportIndexedfvNV; @@ -1583,6 +1941,7 @@ namespace glew PFNGLENABLEINVPROC m_glEnableiNV; PFNGLDISABLEINVPROC m_glDisableiNV; PFNGLISENABLEDINVPROC m_glIsEnablediNV; + PFNGLVIEWPORTSWIZZLENVPROC m_glViewportSwizzleNV; PFNGLEGLIMAGETARGETTEXTURE2DOESPROC m_glEGLImageTargetTexture2DOES; PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC m_glEGLImageTargetRenderbufferStorageOES; PFNGLCOPYIMAGESUBDATAOESPROC m_glCopyImageSubDataOES; @@ -1597,7 +1956,6 @@ namespace glew PFNGLDRAWELEMENTSBASEVERTEXOESPROC m_glDrawElementsBaseVertexOES; PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC m_glDrawRangeElementsBaseVertexOES; PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC m_glDrawElementsInstancedBaseVertexOES; - PFNGLMULTIDRAWELEMENTSBASEVERTEXOESPROC m_glMultiDrawElementsBaseVertexOES; PFNGLFRAMEBUFFERTEXTUREOESPROC m_glFramebufferTextureOES; PFNGLGETPROGRAMBINARYOESPROC m_glGetProgramBinaryOES; PFNGLPROGRAMBINARYOESPROC m_glProgramBinaryOES; @@ -1629,6 +1987,15 @@ namespace glew PFNGLDELETEVERTEXARRAYSOESPROC m_glDeleteVertexArraysOES; PFNGLGENVERTEXARRAYSOESPROC m_glGenVertexArraysOES; PFNGLISVERTEXARRAYOESPROC m_glIsVertexArrayOES; + PFNGLVIEWPORTARRAYVOESPROC m_glViewportArrayvOES; + PFNGLVIEWPORTINDEXEDFOESPROC m_glViewportIndexedfOES; + PFNGLVIEWPORTINDEXEDFVOESPROC m_glViewportIndexedfvOES; + PFNGLSCISSORARRAYVOESPROC m_glScissorArrayvOES; + PFNGLSCISSORINDEXEDOESPROC m_glScissorIndexedOES; + PFNGLSCISSORINDEXEDVOESPROC m_glScissorIndexedvOES; + PFNGLDEPTHRANGEARRAYFVOESPROC m_glDepthRangeArrayfvOES; + PFNGLDEPTHRANGEINDEXEDFOESPROC m_glDepthRangeIndexedfOES; + PFNGLGETFLOATI_VOESPROC m_glGetFloati_vOES; PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC m_glFramebufferTextureMultiviewOVR; PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC m_glFramebufferTextureMultisampleMultiviewOVR; PFNGLALPHAFUNCQCOMPROC m_glAlphaFuncQCOM; @@ -1648,6 +2015,14 @@ namespace glew PFNGLEXTGETPROGRAMSQCOMPROC m_glExtGetProgramsQCOM; PFNGLEXTISPROGRAMBINARYQCOMPROC m_glExtIsProgramBinaryQCOM; PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC m_glExtGetProgramBinarySourceQCOM; + PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC m_glFramebufferFoveationConfigQCOM; + PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC m_glFramebufferFoveationParametersQCOM; + PFNGLTEXESTIMATEMOTIONQCOMPROC m_glTexEstimateMotionQCOM; + PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC m_glTexEstimateMotionRegionsQCOM; + PFNGLEXTRAPOLATETEX2DQCOMPROC m_glExtrapolateTex2DQCOM; + PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC m_glTextureFoveationParametersQCOM; + PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC m_glFramebufferFetchBarrierQCOM; + PFNGLSHADINGRATEQCOMPROC m_glShadingRateQCOM; PFNGLSTARTTILINGQCOMPROC m_glStartTilingQCOM; PFNGLENDTILINGQCOMPROC m_glEndTilingQCOM; }; @@ -1783,7 +2158,7 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glDeleteSync (GLsync sync); GLEW_API GLenum GLEW_APIENTRY _glew_gles_glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); GLEW_API void GLEW_APIENTRY _glew_gles_glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); GLEW_API void GLEW_APIENTRY _glew_gles_glGetInteger64v (GLenum pname, GLint64 * data); -GLEW_API void GLEW_APIENTRY _glew_gles_glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetSynciv (GLsync sync, GLenum pname, GLsizei count, GLsizei * length, GLint * values); GLEW_API void GLEW_APIENTRY _glew_gles_glGetInteger64i_v (GLenum target, GLuint index, GLint64 * data); GLEW_API void GLEW_APIENTRY _glew_gles_glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 * params); GLEW_API void GLEW_APIENTRY _glew_gles_glGenSamplers (GLsizei count, GLuint * samplers); @@ -1810,7 +2185,7 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glInvalidateFramebuffer (GLenum target, G GLEW_API void GLEW_APIENTRY _glew_gles_glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height); GLEW_API void GLEW_APIENTRY _glew_gles_glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); GLEW_API void GLEW_APIENTRY _glew_gles_glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -GLEW_API void GLEW_APIENTRY _glew_gles_glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint * params); GLEW_API void GLEW_APIENTRY _glew_gles_glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); GLEW_API void GLEW_APIENTRY _glew_gles_glDispatchComputeIndirect (GLintptr indirect); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawArraysIndirect (GLenum mode, const void * indirect); @@ -1820,7 +2195,7 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glGetFramebufferParameteriv (GLenum targe GLEW_API void GLEW_APIENTRY _glew_gles_glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint * params); GLEW_API GLuint GLEW_APIENTRY _glew_gles_glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar * name); GLEW_API void GLEW_APIENTRY _glew_gles_glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); -GLEW_API void GLEW_APIENTRY _glew_gles_glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei count, GLsizei * length, GLint * params); GLEW_API GLint GLEW_APIENTRY _glew_gles_glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar * name); GLEW_API void GLEW_APIENTRY _glew_gles_glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program); GLEW_API void GLEW_APIENTRY _glew_gles_glActiveShaderProgram (GLuint pipeline, GLuint program); @@ -1923,6 +2298,8 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glGetSamplerParameterIuiv (GLuint sampler GLEW_API void GLEW_APIENTRY _glew_gles_glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer); GLEW_API void GLEW_APIENTRY _glew_gles_glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); GLEW_API void GLEW_APIENTRY _glew_gles_glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +GLEW_API void GLEW_APIENTRY _glew_gles_glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); +GLEW_API void GLEW_APIENTRY _glew_gles_glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); GLEW_API void GLEW_APIENTRY _glew_gles_glGetPerfMonitorGroupsAMD (GLint * numGroups, GLsizei groupsSize, GLuint * groups); GLEW_API void GLEW_APIENTRY _glew_gles_glGetPerfMonitorCountersAMD (GLuint group, GLint * numCounters, GLint * maxActiveCounters, GLsizei counterSize, GLuint * counters); GLEW_API void GLEW_APIENTRY _glew_gles_glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei * length, GLchar * groupString); @@ -1939,7 +2316,7 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glRenderbufferStorageMultisampleANGLE (GL GLEW_API void GLEW_APIENTRY _glew_gles_glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); GLEW_API void GLEW_APIENTRY _glew_gles_glVertexAttribDivisorANGLE (GLuint index, GLuint divisor); -GLEW_API void GLEW_APIENTRY _glew_gles_glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei * length, GLchar * source); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source); GLEW_API void GLEW_APIENTRY _glew_gles_glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); GLEW_API void GLEW_APIENTRY _glew_gles_glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); GLEW_API void GLEW_APIENTRY _glew_gles_glResolveMultisampleFramebufferAPPLE (); @@ -1949,7 +2326,9 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glDeleteSyncAPPLE (GLsync sync); GLEW_API GLenum GLEW_APIENTRY _glew_gles_glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); GLEW_API void GLEW_APIENTRY _glew_gles_glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); GLEW_API void GLEW_APIENTRY _glew_gles_glGetInteger64vAPPLE (GLenum pname, GLint64 * params); -GLEW_API void GLEW_APIENTRY _glew_gles_glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei count, GLsizei * length, GLint * values); +GLEW_API void GLEW_APIENTRY _glew_gles_glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list); +GLEW_API void GLEW_APIENTRY _glew_gles_glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawArraysInstancedBaseInstanceEXT (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawElementsInstancedBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLuint baseinstance); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawElementsInstancedBaseVertexBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); @@ -1958,6 +2337,9 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glBindFragDataLocationEXT (GLuint program GLEW_API GLint GLEW_APIENTRY _glew_gles_glGetProgramResourceLocationIndexEXT (GLuint program, GLenum programInterface, const GLchar * name); GLEW_API GLint GLEW_APIENTRY _glew_gles_glGetFragDataIndexEXT (GLuint program, const GLchar * name); GLEW_API void GLEW_APIENTRY _glew_gles_glBufferStorageEXT (GLenum target, GLsizeiptr size, const void * data, GLbitfield flags); +GLEW_API void GLEW_APIENTRY _glew_gles_glClearTexImageEXT (GLuint texture, GLint level, GLenum format, GLenum type, const void * data); +GLEW_API void GLEW_APIENTRY _glew_gles_glClearTexSubImageEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); +GLEW_API void GLEW_APIENTRY _glew_gles_glClipControlEXT (GLenum origin, GLenum depth); GLEW_API void GLEW_APIENTRY _glew_gles_glCopyImageSubDataEXT (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); GLEW_API void GLEW_APIENTRY _glew_gles_glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar * label); GLEW_API void GLEW_APIENTRY _glew_gles_glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei * length, GLchar * label); @@ -1976,6 +2358,7 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glGetQueryObjectivEXT (GLuint id, GLenum GLEW_API void GLEW_APIENTRY _glew_gles_glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint * params); GLEW_API void GLEW_APIENTRY _glew_gles_glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 * params); GLEW_API void GLEW_APIENTRY _glew_gles_glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetInteger64vEXT (GLenum pname, GLint64 * data); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawBuffersEXT (GLsizei n, const GLenum * bufs); GLEW_API void GLEW_APIENTRY _glew_gles_glEnableiEXT (GLenum target, GLuint index); GLEW_API void GLEW_APIENTRY _glew_gles_glDisableiEXT (GLenum target, GLuint index); @@ -1988,13 +2371,37 @@ GLEW_API GLboolean GLEW_APIENTRY _glew_gles_glIsEnablediEXT (GLenum target, GLui GLEW_API void GLEW_APIENTRY _glew_gles_glDrawElementsBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawRangeElementsBaseVertexEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawElementsInstancedBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex); -GLEW_API void GLEW_APIENTRY _glew_gles_glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, const GLint * basevertex); +GLEW_API void GLEW_APIENTRY _glew_gles_glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount, const GLint * basevertex); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); +GLEW_API void GLEW_APIENTRY _glew_gles_glDrawTransformFeedbackEXT (GLenum mode, GLuint id); +GLEW_API void GLEW_APIENTRY _glew_gles_glDrawTransformFeedbackInstancedEXT (GLenum mode, GLuint id, GLsizei instancecount); +GLEW_API void GLEW_APIENTRY _glew_gles_glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); +GLEW_API void GLEW_APIENTRY _glew_gles_glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); GLEW_API void GLEW_APIENTRY _glew_gles_glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level); GLEW_API void GLEW_APIENTRY _glew_gles_glVertexAttribDivisorEXT (GLuint index, GLuint divisor); GLEW_API void * GLEW_APIENTRY _glew_gles_glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); GLEW_API void GLEW_APIENTRY _glew_gles_glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetUnsignedBytevEXT (GLenum pname, GLubyte * data); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte * data); +GLEW_API void GLEW_APIENTRY _glew_gles_glDeleteMemoryObjectsEXT (GLsizei n, const GLuint * memoryObjects); +GLEW_API GLboolean GLEW_APIENTRY _glew_gles_glIsMemoryObjectEXT (GLuint memoryObject); +GLEW_API void GLEW_APIENTRY _glew_gles_glCreateMemoryObjectsEXT (GLsizei n, GLuint * memoryObjects); +GLEW_API void GLEW_APIENTRY _glew_gles_glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gles_glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gles_glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gles_glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gles_glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gles_glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gles_glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gles_glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gles_glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gles_glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gles_glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd); +GLEW_API void GLEW_APIENTRY _glew_gles_glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void * handle); +GLEW_API void GLEW_APIENTRY _glew_gles_glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void * name); GLEW_API void GLEW_APIENTRY _glew_gles_glMultiDrawArraysEXT (GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); GLEW_API void GLEW_APIENTRY _glew_gles_glMultiDrawElementsEXT (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount); GLEW_API void GLEW_APIENTRY _glew_gles_glMultiDrawArraysIndirectEXT (GLenum mode, const void * indirect, GLsizei drawcount, GLsizei stride); @@ -2004,12 +2411,23 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glFramebufferTexture2DMultisampleEXT (GLe GLEW_API void GLEW_APIENTRY _glew_gles_glReadBufferIndexedEXT (GLenum src, GLint index); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawBuffersIndexedEXT (GLint n, const GLenum * location, const GLint * indices); GLEW_API void GLEW_APIENTRY _glew_gles_glGetIntegeri_vEXT (GLenum target, GLuint index, GLint * data); +GLEW_API void GLEW_APIENTRY _glew_gles_glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp); GLEW_API void GLEW_APIENTRY _glew_gles_glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); GLEW_API void GLEW_APIENTRY _glew_gles_glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations); GLEW_API GLenum GLEW_APIENTRY _glew_gles_glGetGraphicsResetStatusEXT (); GLEW_API void GLEW_APIENTRY _glew_gles_glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); GLEW_API void GLEW_APIENTRY _glew_gles_glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat * params); GLEW_API void GLEW_APIENTRY _glew_gles_glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glGenSemaphoresEXT (GLsizei n, GLuint * semaphores); +GLEW_API void GLEW_APIENTRY _glew_gles_glDeleteSemaphoresEXT (GLsizei n, const GLuint * semaphores); +GLEW_API GLboolean GLEW_APIENTRY _glew_gles_glIsSemaphoreEXT (GLuint semaphore); +GLEW_API void GLEW_APIENTRY _glew_gles_glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * srcLayouts); +GLEW_API void GLEW_APIENTRY _glew_gles_glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * dstLayouts); +GLEW_API void GLEW_APIENTRY _glew_gles_glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd); +GLEW_API void GLEW_APIENTRY _glew_gles_glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void * handle); +GLEW_API void GLEW_APIENTRY _glew_gles_glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void * name); GLEW_API void GLEW_APIENTRY _glew_gles_glActiveShaderProgramEXT (GLuint pipeline, GLuint program); GLEW_API void GLEW_APIENTRY _glew_gles_glBindProgramPipelineEXT (GLuint pipeline); GLEW_API GLuint GLEW_APIENTRY _glew_gles_glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar ** strings); @@ -2054,6 +2472,10 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniformMatrix2x4fvEXT (GLuint pr GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glFramebufferFetchBarrierEXT (); +GLEW_API void GLEW_APIENTRY _glew_gles_glFramebufferPixelLocalStorageSizeEXT (GLuint target, GLsizei size); +GLEW_API GLsizei GLEW_APIENTRY _glew_gles_glGetFramebufferPixelLocalStorageSizeEXT (GLuint target); +GLEW_API void GLEW_APIENTRY _glew_gles_glClearPixelLocalStorageuiEXT (GLsizei offset, GLsizei n, const GLuint * values); GLEW_API void GLEW_APIENTRY _glew_gles_glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); GLEW_API void GLEW_APIENTRY _glew_gles_glPatchParameteriEXT (GLenum pname, GLint value); GLEW_API void GLEW_APIENTRY _glew_gles_glTexParameterIivEXT (GLenum target, GLenum pname, const GLint * params); @@ -2073,6 +2495,20 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glTextureStorage1DEXT (GLuint texture, GL GLEW_API void GLEW_APIENTRY _glew_gles_glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); GLEW_API void GLEW_APIENTRY _glew_gles_glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); GLEW_API void GLEW_APIENTRY _glew_gles_glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); +GLEW_API void GLEW_APIENTRY _glew_gles_glCreateSemaphoresNV (GLsizei n, GLuint * semaphores); +GLEW_API void GLEW_APIENTRY _glew_gles_glSemaphoreParameterivNV (GLuint semaphore, GLenum pname, const GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetSemaphoreParameterivNV (GLuint semaphore, GLenum pname, GLint * params); +GLEW_API GLboolean GLEW_APIENTRY _glew_gles_glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout); +GLEW_API GLboolean GLEW_APIENTRY _glew_gles_glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key); +GLEW_API void GLEW_APIENTRY _glew_gles_glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint * box); +GLEW_API GLuint64 GLEW_APIENTRY _glew_gles_glGetTextureHandleIMG (GLuint texture); +GLEW_API GLuint64 GLEW_APIENTRY _glew_gles_glGetTextureSamplerHandleIMG (GLuint texture, GLuint sampler); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniformHandleui64IMG (GLint location, GLuint64 value); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniformHandleui64vIMG (GLint location, GLsizei count, const GLuint64 * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniformHandleui64IMG (GLuint program, GLint location, GLuint64 value); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniformHandleui64vIMG (GLuint program, GLint location, GLsizei count, const GLuint64 * values); +GLEW_API void GLEW_APIENTRY _glew_gles_glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); +GLEW_API void GLEW_APIENTRY _glew_gles_glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); GLEW_API void GLEW_APIENTRY _glew_gles_glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); GLEW_API void GLEW_APIENTRY _glew_gles_glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); GLEW_API void GLEW_APIENTRY _glew_gles_glApplyFramebufferAttachmentCMAAINTEL (); @@ -2083,7 +2519,7 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndPerfQueryINTEL (GLuint queryHandle); GLEW_API void GLEW_APIENTRY _glew_gles_glGetFirstPerfQueryIdINTEL (GLuint * queryId); GLEW_API void GLEW_APIENTRY _glew_gles_glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint * nextQueryId); GLEW_API void GLEW_APIENTRY _glew_gles_glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue); -GLEW_API void GLEW_APIENTRY _glew_gles_glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid * data, GLuint * bytesWritten); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void * data, GLuint * bytesWritten); GLEW_API void GLEW_APIENTRY _glew_gles_glGetPerfQueryIdByNameINTEL (GLchar * queryName, GLuint * queryId); GLEW_API void GLEW_APIENTRY _glew_gles_glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask); GLEW_API void GLEW_APIENTRY _glew_gles_glBlendBarrierKHR (); @@ -2103,6 +2539,9 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glReadnPixelsKHR (GLint x, GLint y, GLsiz GLEW_API void GLEW_APIENTRY _glew_gles_glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat * params); GLEW_API void GLEW_APIENTRY _glew_gles_glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint * params); GLEW_API void GLEW_APIENTRY _glew_gles_glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glMaxShaderCompilerThreadsKHR (GLuint count); +GLEW_API void GLEW_APIENTRY _glew_gles_glFramebufferParameteriMESA (GLenum target, GLenum pname, GLint param); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetFramebufferParameterivMESA (GLenum target, GLenum pname, GLint * params); GLEW_API GLuint64 GLEW_APIENTRY _glew_gles_glGetTextureHandleNV (GLuint texture); GLEW_API GLuint64 GLEW_APIENTRY _glew_gles_glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler); GLEW_API void GLEW_APIENTRY _glew_gles_glMakeTextureHandleResidentNV (GLuint64 handle); @@ -2118,15 +2557,22 @@ GLEW_API GLboolean GLEW_APIENTRY _glew_gles_glIsTextureHandleResidentNV (GLuint6 GLEW_API GLboolean GLEW_APIENTRY _glew_gles_glIsImageHandleResidentNV (GLuint64 handle); GLEW_API void GLEW_APIENTRY _glew_gles_glBlendParameteriNV (GLenum pname, GLint value); GLEW_API void GLEW_APIENTRY _glew_gles_glBlendBarrierNV (); +GLEW_API void GLEW_APIENTRY _glew_gles_glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff); GLEW_API void GLEW_APIENTRY _glew_gles_glBeginConditionalRenderNV (GLuint id, GLenum mode); GLEW_API void GLEW_APIENTRY _glew_gles_glEndConditionalRenderNV (); GLEW_API void GLEW_APIENTRY _glew_gles_glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits); +GLEW_API void GLEW_APIENTRY _glew_gles_glConservativeRasterParameteriNV (GLenum pname, GLint param); GLEW_API void GLEW_APIENTRY _glew_gles_glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); GLEW_API void GLEW_APIENTRY _glew_gles_glCoverageMaskNV (GLboolean mask); GLEW_API void GLEW_APIENTRY _glew_gles_glCoverageOperationNV (GLenum operation); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawBuffersNV (GLsizei n, const GLenum * bufs); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); +GLEW_API void GLEW_APIENTRY _glew_gles_glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); +GLEW_API GLVULKANPROCNV GLEW_APIENTRY _glew_gles_glGetVkProcAddrNV (const GLchar * name); +GLEW_API void GLEW_APIENTRY _glew_gles_glWaitVkSemaphoreNV (GLuint64 vkSemaphore); +GLEW_API void GLEW_APIENTRY _glew_gles_glSignalVkSemaphoreNV (GLuint64 vkSemaphore); +GLEW_API void GLEW_APIENTRY _glew_gles_glSignalVkFenceNV (GLuint64 vkFence); GLEW_API void GLEW_APIENTRY _glew_gles_glDeleteFencesNV (GLsizei n, const GLuint * fences); GLEW_API void GLEW_APIENTRY _glew_gles_glGenFencesNV (GLsizei n, GLuint * fences); GLEW_API GLboolean GLEW_APIENTRY _glew_gles_glIsFenceNV (GLuint fence); @@ -2137,11 +2583,58 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glSetFenceNV (GLuint fence, GLenum condit GLEW_API void GLEW_APIENTRY _glew_gles_glFragmentCoverageColorNV (GLuint color); GLEW_API void GLEW_APIENTRY _glew_gles_glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); GLEW_API void GLEW_APIENTRY _glew_gles_glCoverageModulationTableNV (GLsizei n, const GLfloat * v); -GLEW_API void GLEW_APIENTRY _glew_gles_glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat * v); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetCoverageModulationTableNV (GLsizei bufSize, GLfloat * v); GLEW_API void GLEW_APIENTRY _glew_gles_glCoverageModulationNV (GLenum components); GLEW_API void GLEW_APIENTRY _glew_gles_glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform1i64NV (GLint location, GLint64EXT x); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform1ui64NV (GLint location, GLuint64EXT x); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); +GLEW_API void GLEW_APIENTRY _glew_gles_glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); GLEW_API void GLEW_APIENTRY _glew_gles_glVertexAttribDivisorNV (GLuint index, GLuint divisor); -GLEW_API void GLEW_APIENTRY _glew_gles_glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glResetMemoryObjectParameterNV (GLuint memory, GLenum pname); +GLEW_API void GLEW_APIENTRY _glew_gles_glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gles_glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gles_glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gles_glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset); +GLEW_API void GLEW_APIENTRY _glew_gles_glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +GLEW_API void GLEW_APIENTRY _glew_gles_glTexPageCommitmentMemNV (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +GLEW_API void GLEW_APIENTRY _glew_gles_glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); +GLEW_API void GLEW_APIENTRY _glew_gles_glTexturePageCommitmentMemNV (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); +GLEW_API void GLEW_APIENTRY _glew_gles_glDrawMeshTasksNV (GLuint first, GLuint count); +GLEW_API void GLEW_APIENTRY _glew_gles_glDrawMeshTasksIndirectNV (GLintptr indirect); +GLEW_API void GLEW_APIENTRY _glew_gles_glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride); +GLEW_API void GLEW_APIENTRY _glew_gles_glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); GLEW_API void GLEW_APIENTRY _glew_gles_glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); GLEW_API void GLEW_APIENTRY _glew_gles_glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); GLEW_API void GLEW_APIENTRY _glew_gles_glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); @@ -2200,16 +2693,44 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glStencilThenCoverFillPathNV (GLuint path GLEW_API void GLEW_APIENTRY _glew_gles_glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode); GLEW_API void GLEW_APIENTRY _glew_gles_glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); GLEW_API void GLEW_APIENTRY _glew_gles_glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); -GLEW_API GLenum GLEW_APIENTRY _glew_gles_glPathGlyphIndexRangeNV (GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); +GLEW_API GLenum GLEW_APIENTRY _glew_gles_glPathGlyphIndexRangeNV (GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint * baseAndCount); GLEW_API GLenum GLEW_APIENTRY _glew_gles_glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); GLEW_API GLenum GLEW_APIENTRY _glew_gles_glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void * fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); GLEW_API void GLEW_APIENTRY _glew_gles_glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat * coeffs); -GLEW_API void GLEW_APIENTRY _glew_gles_glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLfloat * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei count, GLsizei * length, GLfloat * params); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixLoadIdentityEXT (GLenum mode); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixLoadTransposefEXT (GLenum mode, const GLfloat * m); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixLoadTransposedEXT (GLenum mode, const GLdouble * m); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixLoadfEXT (GLenum mode, const GLfloat * m); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixLoaddEXT (GLenum mode, const GLdouble * m); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixMultTransposefEXT (GLenum mode, const GLfloat * m); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixMultTransposedEXT (GLenum mode, const GLdouble * m); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixMultfEXT (GLenum mode, const GLfloat * m); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixMultdEXT (GLenum mode, const GLdouble * m); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixPopEXT (GLenum mode); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixPushEXT (GLenum mode); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +GLEW_API void GLEW_APIENTRY _glew_gles_glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); GLEW_API void GLEW_APIENTRY _glew_gles_glPolygonModeNV (GLenum face, GLenum mode); GLEW_API void GLEW_APIENTRY _glew_gles_glReadBufferNV (GLenum mode); GLEW_API void GLEW_APIENTRY _glew_gles_glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat * v); GLEW_API void GLEW_APIENTRY _glew_gles_glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v); GLEW_API void GLEW_APIENTRY _glew_gles_glResolveDepthValuesNV (); +GLEW_API void GLEW_APIENTRY _glew_gles_glScissorExclusiveNV (GLint x, GLint y, GLsizei width, GLsizei height); +GLEW_API void GLEW_APIENTRY _glew_gles_glScissorExclusiveArrayvNV (GLuint first, GLsizei count, const GLint * v); +GLEW_API void GLEW_APIENTRY _glew_gles_glBindShadingRateImageNV (GLuint texture); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetShadingRateImagePaletteNV (GLuint viewport, GLuint entry, GLenum * rate); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetShadingRateSampleLocationivNV (GLenum rate, GLuint samples, GLuint index, GLint * location); +GLEW_API void GLEW_APIENTRY _glew_gles_glShadingRateImageBarrierNV (GLboolean synchronize); +GLEW_API void GLEW_APIENTRY _glew_gles_glShadingRateImagePaletteNV (GLuint viewport, GLuint first, GLsizei count, const GLenum * rates); +GLEW_API void GLEW_APIENTRY _glew_gles_glShadingRateSampleOrderNV (GLenum order); +GLEW_API void GLEW_APIENTRY _glew_gles_glShadingRateSampleOrderCustomNV (GLenum rate, GLuint samples, const GLint * locations); GLEW_API void GLEW_APIENTRY _glew_gles_glViewportArrayvNV (GLuint first, GLsizei count, const GLfloat * v); GLEW_API void GLEW_APIENTRY _glew_gles_glViewportIndexedfNV (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); GLEW_API void GLEW_APIENTRY _glew_gles_glViewportIndexedfvNV (GLuint index, const GLfloat * v); @@ -2222,6 +2743,7 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glGetFloati_vNV (GLenum target, GLuint in GLEW_API void GLEW_APIENTRY _glew_gles_glEnableiNV (GLenum target, GLuint index); GLEW_API void GLEW_APIENTRY _glew_gles_glDisableiNV (GLenum target, GLuint index); GLEW_API GLboolean GLEW_APIENTRY _glew_gles_glIsEnablediNV (GLenum target, GLuint index); +GLEW_API void GLEW_APIENTRY _glew_gles_glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); GLEW_API void GLEW_APIENTRY _glew_gles_glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); GLEW_API void GLEW_APIENTRY _glew_gles_glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); GLEW_API void GLEW_APIENTRY _glew_gles_glCopyImageSubDataOES (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); @@ -2236,7 +2758,6 @@ GLEW_API GLboolean GLEW_APIENTRY _glew_gles_glIsEnablediOES (GLenum target, GLui GLEW_API void GLEW_APIENTRY _glew_gles_glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex); GLEW_API void GLEW_APIENTRY _glew_gles_glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex); -GLEW_API void GLEW_APIENTRY _glew_gles_glMultiDrawElementsBaseVertexOES (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, const GLint * basevertex); GLEW_API void GLEW_APIENTRY _glew_gles_glFramebufferTextureOES (GLenum target, GLenum attachment, GLuint texture, GLint level); GLEW_API void GLEW_APIENTRY _glew_gles_glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary); GLEW_API void GLEW_APIENTRY _glew_gles_glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void * binary, GLint length); @@ -2268,6 +2789,15 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glBindVertexArrayOES (GLuint array); GLEW_API void GLEW_APIENTRY _glew_gles_glDeleteVertexArraysOES (GLsizei n, const GLuint * arrays); GLEW_API void GLEW_APIENTRY _glew_gles_glGenVertexArraysOES (GLsizei n, GLuint * arrays); GLEW_API GLboolean GLEW_APIENTRY _glew_gles_glIsVertexArrayOES (GLuint array); +GLEW_API void GLEW_APIENTRY _glew_gles_glViewportArrayvOES (GLuint first, GLsizei count, const GLfloat * v); +GLEW_API void GLEW_APIENTRY _glew_gles_glViewportIndexedfOES (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); +GLEW_API void GLEW_APIENTRY _glew_gles_glViewportIndexedfvOES (GLuint index, const GLfloat * v); +GLEW_API void GLEW_APIENTRY _glew_gles_glScissorArrayvOES (GLuint first, GLsizei count, const GLint * v); +GLEW_API void GLEW_APIENTRY _glew_gles_glScissorIndexedOES (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); +GLEW_API void GLEW_APIENTRY _glew_gles_glScissorIndexedvOES (GLuint index, const GLint * v); +GLEW_API void GLEW_APIENTRY _glew_gles_glDepthRangeArrayfvOES (GLuint first, GLsizei count, const GLfloat * v); +GLEW_API void GLEW_APIENTRY _glew_gles_glDepthRangeIndexedfOES (GLuint index, GLfloat n, GLfloat f); +GLEW_API void GLEW_APIENTRY _glew_gles_glGetFloati_vOES (GLenum target, GLuint index, GLfloat * data); GLEW_API void GLEW_APIENTRY _glew_gles_glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); GLEW_API void GLEW_APIENTRY _glew_gles_glFramebufferTextureMultisampleMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews); GLEW_API void GLEW_APIENTRY _glew_gles_glAlphaFuncQCOM (GLenum func, GLclampf ref); @@ -2287,6 +2817,14 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glExtGetShadersQCOM (GLuint * shaders, GL GLEW_API void GLEW_APIENTRY _glew_gles_glExtGetProgramsQCOM (GLuint * programs, GLint maxPrograms, GLint * numPrograms); GLEW_API GLboolean GLEW_APIENTRY _glew_gles_glExtIsProgramBinaryQCOM (GLuint program); GLEW_API void GLEW_APIENTRY _glew_gles_glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar * source, GLint * length); +GLEW_API void GLEW_APIENTRY _glew_gles_glFramebufferFoveationConfigQCOM (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint * providedFeatures); +GLEW_API void GLEW_APIENTRY _glew_gles_glFramebufferFoveationParametersQCOM (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); +GLEW_API void GLEW_APIENTRY _glew_gles_glTexEstimateMotionQCOM (GLuint ref, GLuint target, GLuint output); +GLEW_API void GLEW_APIENTRY _glew_gles_glTexEstimateMotionRegionsQCOM (GLuint ref, GLuint target, GLuint output, GLuint mask); +GLEW_API void GLEW_APIENTRY _glew_gles_glExtrapolateTex2DQCOM (GLuint src1, GLuint src2, GLuint output, GLfloat scaleFactor); +GLEW_API void GLEW_APIENTRY _glew_gles_glTextureFoveationParametersQCOM (GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); +GLEW_API void GLEW_APIENTRY _glew_gles_glFramebufferFetchBarrierQCOM (); +GLEW_API void GLEW_APIENTRY _glew_gles_glShadingRateQCOM (GLenum rate); GLEW_API void GLEW_APIENTRY _glew_gles_glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask); @@ -2510,6 +3048,8 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glTexBuffer _glew_gles_glTexBuffer #define glTexBufferRange _glew_gles_glTexBufferRange #define glTexStorage3DMultisample _glew_gles_glTexStorage3DMultisample +#define glRenderbufferStorageMultisampleAdvancedAMD _glew_gles_glRenderbufferStorageMultisampleAdvancedAMD +#define glNamedRenderbufferStorageMultisampleAdvancedAMD _glew_gles_glNamedRenderbufferStorageMultisampleAdvancedAMD #define glGetPerfMonitorGroupsAMD _glew_gles_glGetPerfMonitorGroupsAMD #define glGetPerfMonitorCountersAMD _glew_gles_glGetPerfMonitorCountersAMD #define glGetPerfMonitorGroupStringAMD _glew_gles_glGetPerfMonitorGroupStringAMD @@ -2537,6 +3077,8 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glWaitSyncAPPLE _glew_gles_glWaitSyncAPPLE #define glGetInteger64vAPPLE _glew_gles_glGetInteger64vAPPLE #define glGetSyncivAPPLE _glew_gles_glGetSyncivAPPLE +#define glEGLImageTargetTexStorageEXT _glew_gles_glEGLImageTargetTexStorageEXT +#define glEGLImageTargetTextureStorageEXT _glew_gles_glEGLImageTargetTextureStorageEXT #define glDrawArraysInstancedBaseInstanceEXT _glew_gles_glDrawArraysInstancedBaseInstanceEXT #define glDrawElementsInstancedBaseInstanceEXT _glew_gles_glDrawElementsInstancedBaseInstanceEXT #define glDrawElementsInstancedBaseVertexBaseInstanceEXT _glew_gles_glDrawElementsInstancedBaseVertexBaseInstanceEXT @@ -2545,6 +3087,9 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glGetProgramResourceLocationIndexEXT _glew_gles_glGetProgramResourceLocationIndexEXT #define glGetFragDataIndexEXT _glew_gles_glGetFragDataIndexEXT #define glBufferStorageEXT _glew_gles_glBufferStorageEXT +#define glClearTexImageEXT _glew_gles_glClearTexImageEXT +#define glClearTexSubImageEXT _glew_gles_glClearTexSubImageEXT +#define glClipControlEXT _glew_gles_glClipControlEXT #define glCopyImageSubDataEXT _glew_gles_glCopyImageSubDataEXT #define glLabelObjectEXT _glew_gles_glLabelObjectEXT #define glGetObjectLabelEXT _glew_gles_glGetObjectLabelEXT @@ -2563,6 +3108,7 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glGetQueryObjectuivEXT _glew_gles_glGetQueryObjectuivEXT #define glGetQueryObjecti64vEXT _glew_gles_glGetQueryObjecti64vEXT #define glGetQueryObjectui64vEXT _glew_gles_glGetQueryObjectui64vEXT +#define glGetInteger64vEXT _glew_gles_glGetInteger64vEXT #define glDrawBuffersEXT _glew_gles_glDrawBuffersEXT #define glEnableiEXT _glew_gles_glEnableiEXT #define glDisableiEXT _glew_gles_glDisableiEXT @@ -2578,10 +3124,34 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glMultiDrawElementsBaseVertexEXT _glew_gles_glMultiDrawElementsBaseVertexEXT #define glDrawArraysInstancedEXT _glew_gles_glDrawArraysInstancedEXT #define glDrawElementsInstancedEXT _glew_gles_glDrawElementsInstancedEXT +#define glDrawTransformFeedbackEXT _glew_gles_glDrawTransformFeedbackEXT +#define glDrawTransformFeedbackInstancedEXT _glew_gles_glDrawTransformFeedbackInstancedEXT +#define glBufferStorageExternalEXT _glew_gles_glBufferStorageExternalEXT +#define glNamedBufferStorageExternalEXT _glew_gles_glNamedBufferStorageExternalEXT #define glFramebufferTextureEXT _glew_gles_glFramebufferTextureEXT #define glVertexAttribDivisorEXT _glew_gles_glVertexAttribDivisorEXT #define glMapBufferRangeEXT _glew_gles_glMapBufferRangeEXT #define glFlushMappedBufferRangeEXT _glew_gles_glFlushMappedBufferRangeEXT +#define glGetUnsignedBytevEXT _glew_gles_glGetUnsignedBytevEXT +#define glGetUnsignedBytei_vEXT _glew_gles_glGetUnsignedBytei_vEXT +#define glDeleteMemoryObjectsEXT _glew_gles_glDeleteMemoryObjectsEXT +#define glIsMemoryObjectEXT _glew_gles_glIsMemoryObjectEXT +#define glCreateMemoryObjectsEXT _glew_gles_glCreateMemoryObjectsEXT +#define glMemoryObjectParameterivEXT _glew_gles_glMemoryObjectParameterivEXT +#define glGetMemoryObjectParameterivEXT _glew_gles_glGetMemoryObjectParameterivEXT +#define glTexStorageMem2DEXT _glew_gles_glTexStorageMem2DEXT +#define glTexStorageMem2DMultisampleEXT _glew_gles_glTexStorageMem2DMultisampleEXT +#define glTexStorageMem3DEXT _glew_gles_glTexStorageMem3DEXT +#define glTexStorageMem3DMultisampleEXT _glew_gles_glTexStorageMem3DMultisampleEXT +#define glBufferStorageMemEXT _glew_gles_glBufferStorageMemEXT +#define glTextureStorageMem2DEXT _glew_gles_glTextureStorageMem2DEXT +#define glTextureStorageMem2DMultisampleEXT _glew_gles_glTextureStorageMem2DMultisampleEXT +#define glTextureStorageMem3DEXT _glew_gles_glTextureStorageMem3DEXT +#define glTextureStorageMem3DMultisampleEXT _glew_gles_glTextureStorageMem3DMultisampleEXT +#define glNamedBufferStorageMemEXT _glew_gles_glNamedBufferStorageMemEXT +#define glImportMemoryFdEXT _glew_gles_glImportMemoryFdEXT +#define glImportMemoryWin32HandleEXT _glew_gles_glImportMemoryWin32HandleEXT +#define glImportMemoryWin32NameEXT _glew_gles_glImportMemoryWin32NameEXT #define glMultiDrawArraysEXT _glew_gles_glMultiDrawArraysEXT #define glMultiDrawElementsEXT _glew_gles_glMultiDrawElementsEXT #define glMultiDrawArraysIndirectEXT _glew_gles_glMultiDrawArraysIndirectEXT @@ -2591,12 +3161,23 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glReadBufferIndexedEXT _glew_gles_glReadBufferIndexedEXT #define glDrawBuffersIndexedEXT _glew_gles_glDrawBuffersIndexedEXT #define glGetIntegeri_vEXT _glew_gles_glGetIntegeri_vEXT +#define glPolygonOffsetClampEXT _glew_gles_glPolygonOffsetClampEXT #define glPrimitiveBoundingBoxEXT _glew_gles_glPrimitiveBoundingBoxEXT #define glRasterSamplesEXT _glew_gles_glRasterSamplesEXT #define glGetGraphicsResetStatusEXT _glew_gles_glGetGraphicsResetStatusEXT #define glReadnPixelsEXT _glew_gles_glReadnPixelsEXT #define glGetnUniformfvEXT _glew_gles_glGetnUniformfvEXT #define glGetnUniformivEXT _glew_gles_glGetnUniformivEXT +#define glGenSemaphoresEXT _glew_gles_glGenSemaphoresEXT +#define glDeleteSemaphoresEXT _glew_gles_glDeleteSemaphoresEXT +#define glIsSemaphoreEXT _glew_gles_glIsSemaphoreEXT +#define glSemaphoreParameterui64vEXT _glew_gles_glSemaphoreParameterui64vEXT +#define glGetSemaphoreParameterui64vEXT _glew_gles_glGetSemaphoreParameterui64vEXT +#define glWaitSemaphoreEXT _glew_gles_glWaitSemaphoreEXT +#define glSignalSemaphoreEXT _glew_gles_glSignalSemaphoreEXT +#define glImportSemaphoreFdEXT _glew_gles_glImportSemaphoreFdEXT +#define glImportSemaphoreWin32HandleEXT _glew_gles_glImportSemaphoreWin32HandleEXT +#define glImportSemaphoreWin32NameEXT _glew_gles_glImportSemaphoreWin32NameEXT #define glActiveShaderProgramEXT _glew_gles_glActiveShaderProgramEXT #define glBindProgramPipelineEXT _glew_gles_glBindProgramPipelineEXT #define glCreateShaderProgramvEXT _glew_gles_glCreateShaderProgramvEXT @@ -2641,6 +3222,10 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glProgramUniformMatrix4x2fvEXT _glew_gles_glProgramUniformMatrix4x2fvEXT #define glProgramUniformMatrix3x4fvEXT _glew_gles_glProgramUniformMatrix3x4fvEXT #define glProgramUniformMatrix4x3fvEXT _glew_gles_glProgramUniformMatrix4x3fvEXT +#define glFramebufferFetchBarrierEXT _glew_gles_glFramebufferFetchBarrierEXT +#define glFramebufferPixelLocalStorageSizeEXT _glew_gles_glFramebufferPixelLocalStorageSizeEXT +#define glGetFramebufferPixelLocalStorageSizeEXT _glew_gles_glGetFramebufferPixelLocalStorageSizeEXT +#define glClearPixelLocalStorageuiEXT _glew_gles_glClearPixelLocalStorageuiEXT #define glTexPageCommitmentEXT _glew_gles_glTexPageCommitmentEXT #define glPatchParameteriEXT _glew_gles_glPatchParameteriEXT #define glTexParameterIivEXT _glew_gles_glTexParameterIivEXT @@ -2660,6 +3245,20 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glTextureStorage2DEXT _glew_gles_glTextureStorage2DEXT #define glTextureStorage3DEXT _glew_gles_glTextureStorage3DEXT #define glTextureViewEXT _glew_gles_glTextureViewEXT +#define glCreateSemaphoresNV _glew_gles_glCreateSemaphoresNV +#define glSemaphoreParameterivNV _glew_gles_glSemaphoreParameterivNV +#define glGetSemaphoreParameterivNV _glew_gles_glGetSemaphoreParameterivNV +#define glAcquireKeyedMutexWin32EXT _glew_gles_glAcquireKeyedMutexWin32EXT +#define glReleaseKeyedMutexWin32EXT _glew_gles_glReleaseKeyedMutexWin32EXT +#define glWindowRectanglesEXT _glew_gles_glWindowRectanglesEXT +#define glGetTextureHandleIMG _glew_gles_glGetTextureHandleIMG +#define glGetTextureSamplerHandleIMG _glew_gles_glGetTextureSamplerHandleIMG +#define glUniformHandleui64IMG _glew_gles_glUniformHandleui64IMG +#define glUniformHandleui64vIMG _glew_gles_glUniformHandleui64vIMG +#define glProgramUniformHandleui64IMG _glew_gles_glProgramUniformHandleui64IMG +#define glProgramUniformHandleui64vIMG _glew_gles_glProgramUniformHandleui64vIMG +#define glFramebufferTexture2DDownsampleIMG _glew_gles_glFramebufferTexture2DDownsampleIMG +#define glFramebufferTextureLayerDownsampleIMG _glew_gles_glFramebufferTextureLayerDownsampleIMG #define glRenderbufferStorageMultisampleIMG _glew_gles_glRenderbufferStorageMultisampleIMG #define glFramebufferTexture2DMultisampleIMG _glew_gles_glFramebufferTexture2DMultisampleIMG #define glApplyFramebufferAttachmentCMAAINTEL _glew_gles_glApplyFramebufferAttachmentCMAAINTEL @@ -2690,6 +3289,9 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glGetnUniformfvKHR _glew_gles_glGetnUniformfvKHR #define glGetnUniformivKHR _glew_gles_glGetnUniformivKHR #define glGetnUniformuivKHR _glew_gles_glGetnUniformuivKHR +#define glMaxShaderCompilerThreadsKHR _glew_gles_glMaxShaderCompilerThreadsKHR +#define glFramebufferParameteriMESA _glew_gles_glFramebufferParameteriMESA +#define glGetFramebufferParameterivMESA _glew_gles_glGetFramebufferParameterivMESA #define glGetTextureHandleNV _glew_gles_glGetTextureHandleNV #define glGetTextureSamplerHandleNV _glew_gles_glGetTextureSamplerHandleNV #define glMakeTextureHandleResidentNV _glew_gles_glMakeTextureHandleResidentNV @@ -2705,15 +3307,22 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glIsImageHandleResidentNV _glew_gles_glIsImageHandleResidentNV #define glBlendParameteriNV _glew_gles_glBlendParameteriNV #define glBlendBarrierNV _glew_gles_glBlendBarrierNV +#define glViewportPositionWScaleNV _glew_gles_glViewportPositionWScaleNV #define glBeginConditionalRenderNV _glew_gles_glBeginConditionalRenderNV #define glEndConditionalRenderNV _glew_gles_glEndConditionalRenderNV #define glSubpixelPrecisionBiasNV _glew_gles_glSubpixelPrecisionBiasNV +#define glConservativeRasterParameteriNV _glew_gles_glConservativeRasterParameteriNV #define glCopyBufferSubDataNV _glew_gles_glCopyBufferSubDataNV #define glCoverageMaskNV _glew_gles_glCoverageMaskNV #define glCoverageOperationNV _glew_gles_glCoverageOperationNV #define glDrawBuffersNV _glew_gles_glDrawBuffersNV #define glDrawArraysInstancedNV _glew_gles_glDrawArraysInstancedNV #define glDrawElementsInstancedNV _glew_gles_glDrawElementsInstancedNV +#define glDrawVkImageNV _glew_gles_glDrawVkImageNV +#define glGetVkProcAddrNV _glew_gles_glGetVkProcAddrNV +#define glWaitVkSemaphoreNV _glew_gles_glWaitVkSemaphoreNV +#define glSignalVkSemaphoreNV _glew_gles_glSignalVkSemaphoreNV +#define glSignalVkFenceNV _glew_gles_glSignalVkFenceNV #define glDeleteFencesNV _glew_gles_glDeleteFencesNV #define glGenFencesNV _glew_gles_glGenFencesNV #define glIsFenceNV _glew_gles_glIsFenceNV @@ -2727,8 +3336,55 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glGetCoverageModulationTableNV _glew_gles_glGetCoverageModulationTableNV #define glCoverageModulationNV _glew_gles_glCoverageModulationNV #define glRenderbufferStorageMultisampleNV _glew_gles_glRenderbufferStorageMultisampleNV +#define glUniform1i64NV _glew_gles_glUniform1i64NV +#define glUniform2i64NV _glew_gles_glUniform2i64NV +#define glUniform3i64NV _glew_gles_glUniform3i64NV +#define glUniform4i64NV _glew_gles_glUniform4i64NV +#define glUniform1i64vNV _glew_gles_glUniform1i64vNV +#define glUniform2i64vNV _glew_gles_glUniform2i64vNV +#define glUniform3i64vNV _glew_gles_glUniform3i64vNV +#define glUniform4i64vNV _glew_gles_glUniform4i64vNV +#define glUniform1ui64NV _glew_gles_glUniform1ui64NV +#define glUniform2ui64NV _glew_gles_glUniform2ui64NV +#define glUniform3ui64NV _glew_gles_glUniform3ui64NV +#define glUniform4ui64NV _glew_gles_glUniform4ui64NV +#define glUniform1ui64vNV _glew_gles_glUniform1ui64vNV +#define glUniform2ui64vNV _glew_gles_glUniform2ui64vNV +#define glUniform3ui64vNV _glew_gles_glUniform3ui64vNV +#define glUniform4ui64vNV _glew_gles_glUniform4ui64vNV +#define glGetUniformi64vNV _glew_gles_glGetUniformi64vNV +#define glProgramUniform1i64NV _glew_gles_glProgramUniform1i64NV +#define glProgramUniform2i64NV _glew_gles_glProgramUniform2i64NV +#define glProgramUniform3i64NV _glew_gles_glProgramUniform3i64NV +#define glProgramUniform4i64NV _glew_gles_glProgramUniform4i64NV +#define glProgramUniform1i64vNV _glew_gles_glProgramUniform1i64vNV +#define glProgramUniform2i64vNV _glew_gles_glProgramUniform2i64vNV +#define glProgramUniform3i64vNV _glew_gles_glProgramUniform3i64vNV +#define glProgramUniform4i64vNV _glew_gles_glProgramUniform4i64vNV +#define glProgramUniform1ui64NV _glew_gles_glProgramUniform1ui64NV +#define glProgramUniform2ui64NV _glew_gles_glProgramUniform2ui64NV +#define glProgramUniform3ui64NV _glew_gles_glProgramUniform3ui64NV +#define glProgramUniform4ui64NV _glew_gles_glProgramUniform4ui64NV +#define glProgramUniform1ui64vNV _glew_gles_glProgramUniform1ui64vNV +#define glProgramUniform2ui64vNV _glew_gles_glProgramUniform2ui64vNV +#define glProgramUniform3ui64vNV _glew_gles_glProgramUniform3ui64vNV +#define glProgramUniform4ui64vNV _glew_gles_glProgramUniform4ui64vNV #define glVertexAttribDivisorNV _glew_gles_glVertexAttribDivisorNV #define glGetInternalformatSampleivNV _glew_gles_glGetInternalformatSampleivNV +#define glGetMemoryObjectDetachedResourcesuivNV _glew_gles_glGetMemoryObjectDetachedResourcesuivNV +#define glResetMemoryObjectParameterNV _glew_gles_glResetMemoryObjectParameterNV +#define glTexAttachMemoryNV _glew_gles_glTexAttachMemoryNV +#define glBufferAttachMemoryNV _glew_gles_glBufferAttachMemoryNV +#define glTextureAttachMemoryNV _glew_gles_glTextureAttachMemoryNV +#define glNamedBufferAttachMemoryNV _glew_gles_glNamedBufferAttachMemoryNV +#define glBufferPageCommitmentMemNV _glew_gles_glBufferPageCommitmentMemNV +#define glTexPageCommitmentMemNV _glew_gles_glTexPageCommitmentMemNV +#define glNamedBufferPageCommitmentMemNV _glew_gles_glNamedBufferPageCommitmentMemNV +#define glTexturePageCommitmentMemNV _glew_gles_glTexturePageCommitmentMemNV +#define glDrawMeshTasksNV _glew_gles_glDrawMeshTasksNV +#define glDrawMeshTasksIndirectNV _glew_gles_glDrawMeshTasksIndirectNV +#define glMultiDrawMeshTasksIndirectNV _glew_gles_glMultiDrawMeshTasksIndirectNV +#define glMultiDrawMeshTasksIndirectCountNV _glew_gles_glMultiDrawMeshTasksIndirectCountNV #define glUniformMatrix2x3fvNV _glew_gles_glUniformMatrix2x3fvNV #define glUniformMatrix3x2fvNV _glew_gles_glUniformMatrix3x2fvNV #define glUniformMatrix2x4fvNV _glew_gles_glUniformMatrix2x4fvNV @@ -2792,11 +3448,39 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glPathMemoryGlyphIndexArrayNV _glew_gles_glPathMemoryGlyphIndexArrayNV #define glProgramPathFragmentInputGenNV _glew_gles_glProgramPathFragmentInputGenNV #define glGetProgramResourcefvNV _glew_gles_glGetProgramResourcefvNV +#define glMatrixFrustumEXT _glew_gles_glMatrixFrustumEXT +#define glMatrixLoadIdentityEXT _glew_gles_glMatrixLoadIdentityEXT +#define glMatrixLoadTransposefEXT _glew_gles_glMatrixLoadTransposefEXT +#define glMatrixLoadTransposedEXT _glew_gles_glMatrixLoadTransposedEXT +#define glMatrixLoadfEXT _glew_gles_glMatrixLoadfEXT +#define glMatrixLoaddEXT _glew_gles_glMatrixLoaddEXT +#define glMatrixMultTransposefEXT _glew_gles_glMatrixMultTransposefEXT +#define glMatrixMultTransposedEXT _glew_gles_glMatrixMultTransposedEXT +#define glMatrixMultfEXT _glew_gles_glMatrixMultfEXT +#define glMatrixMultdEXT _glew_gles_glMatrixMultdEXT +#define glMatrixOrthoEXT _glew_gles_glMatrixOrthoEXT +#define glMatrixPopEXT _glew_gles_glMatrixPopEXT +#define glMatrixPushEXT _glew_gles_glMatrixPushEXT +#define glMatrixRotatefEXT _glew_gles_glMatrixRotatefEXT +#define glMatrixRotatedEXT _glew_gles_glMatrixRotatedEXT +#define glMatrixScalefEXT _glew_gles_glMatrixScalefEXT +#define glMatrixScaledEXT _glew_gles_glMatrixScaledEXT +#define glMatrixTranslatefEXT _glew_gles_glMatrixTranslatefEXT +#define glMatrixTranslatedEXT _glew_gles_glMatrixTranslatedEXT #define glPolygonModeNV _glew_gles_glPolygonModeNV #define glReadBufferNV _glew_gles_glReadBufferNV #define glFramebufferSampleLocationsfvNV _glew_gles_glFramebufferSampleLocationsfvNV #define glNamedFramebufferSampleLocationsfvNV _glew_gles_glNamedFramebufferSampleLocationsfvNV #define glResolveDepthValuesNV _glew_gles_glResolveDepthValuesNV +#define glScissorExclusiveNV _glew_gles_glScissorExclusiveNV +#define glScissorExclusiveArrayvNV _glew_gles_glScissorExclusiveArrayvNV +#define glBindShadingRateImageNV _glew_gles_glBindShadingRateImageNV +#define glGetShadingRateImagePaletteNV _glew_gles_glGetShadingRateImagePaletteNV +#define glGetShadingRateSampleLocationivNV _glew_gles_glGetShadingRateSampleLocationivNV +#define glShadingRateImageBarrierNV _glew_gles_glShadingRateImageBarrierNV +#define glShadingRateImagePaletteNV _glew_gles_glShadingRateImagePaletteNV +#define glShadingRateSampleOrderNV _glew_gles_glShadingRateSampleOrderNV +#define glShadingRateSampleOrderCustomNV _glew_gles_glShadingRateSampleOrderCustomNV #define glViewportArrayvNV _glew_gles_glViewportArrayvNV #define glViewportIndexedfNV _glew_gles_glViewportIndexedfNV #define glViewportIndexedfvNV _glew_gles_glViewportIndexedfvNV @@ -2809,6 +3493,7 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glEnableiNV _glew_gles_glEnableiNV #define glDisableiNV _glew_gles_glDisableiNV #define glIsEnablediNV _glew_gles_glIsEnablediNV +#define glViewportSwizzleNV _glew_gles_glViewportSwizzleNV #define glEGLImageTargetTexture2DOES _glew_gles_glEGLImageTargetTexture2DOES #define glEGLImageTargetRenderbufferStorageOES _glew_gles_glEGLImageTargetRenderbufferStorageOES #define glCopyImageSubDataOES _glew_gles_glCopyImageSubDataOES @@ -2823,7 +3508,6 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glDrawElementsBaseVertexOES _glew_gles_glDrawElementsBaseVertexOES #define glDrawRangeElementsBaseVertexOES _glew_gles_glDrawRangeElementsBaseVertexOES #define glDrawElementsInstancedBaseVertexOES _glew_gles_glDrawElementsInstancedBaseVertexOES -#define glMultiDrawElementsBaseVertexOES _glew_gles_glMultiDrawElementsBaseVertexOES #define glFramebufferTextureOES _glew_gles_glFramebufferTextureOES #define glGetProgramBinaryOES _glew_gles_glGetProgramBinaryOES #define glProgramBinaryOES _glew_gles_glProgramBinaryOES @@ -2855,6 +3539,15 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glDeleteVertexArraysOES _glew_gles_glDeleteVertexArraysOES #define glGenVertexArraysOES _glew_gles_glGenVertexArraysOES #define glIsVertexArrayOES _glew_gles_glIsVertexArrayOES +#define glViewportArrayvOES _glew_gles_glViewportArrayvOES +#define glViewportIndexedfOES _glew_gles_glViewportIndexedfOES +#define glViewportIndexedfvOES _glew_gles_glViewportIndexedfvOES +#define glScissorArrayvOES _glew_gles_glScissorArrayvOES +#define glScissorIndexedOES _glew_gles_glScissorIndexedOES +#define glScissorIndexedvOES _glew_gles_glScissorIndexedvOES +#define glDepthRangeArrayfvOES _glew_gles_glDepthRangeArrayfvOES +#define glDepthRangeIndexedfOES _glew_gles_glDepthRangeIndexedfOES +#define glGetFloati_vOES _glew_gles_glGetFloati_vOES #define glFramebufferTextureMultiviewOVR _glew_gles_glFramebufferTextureMultiviewOVR #define glFramebufferTextureMultisampleMultiviewOVR _glew_gles_glFramebufferTextureMultisampleMultiviewOVR #define glAlphaFuncQCOM _glew_gles_glAlphaFuncQCOM @@ -2874,6 +3567,14 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) #define glExtGetProgramsQCOM _glew_gles_glExtGetProgramsQCOM #define glExtIsProgramBinaryQCOM _glew_gles_glExtIsProgramBinaryQCOM #define glExtGetProgramBinarySourceQCOM _glew_gles_glExtGetProgramBinarySourceQCOM +#define glFramebufferFoveationConfigQCOM _glew_gles_glFramebufferFoveationConfigQCOM +#define glFramebufferFoveationParametersQCOM _glew_gles_glFramebufferFoveationParametersQCOM +#define glTexEstimateMotionQCOM _glew_gles_glTexEstimateMotionQCOM +#define glTexEstimateMotionRegionsQCOM _glew_gles_glTexEstimateMotionRegionsQCOM +#define glExtrapolateTex2DQCOM _glew_gles_glExtrapolateTex2DQCOM +#define glTextureFoveationParametersQCOM _glew_gles_glTextureFoveationParametersQCOM +#define glFramebufferFetchBarrierQCOM _glew_gles_glFramebufferFetchBarrierQCOM +#define glShadingRateQCOM _glew_gles_glShadingRateQCOM #define glStartTilingQCOM _glew_gles_glStartTilingQCOM #define glEndTilingQCOM _glew_gles_glEndTilingQCOM @@ -2881,8 +3582,8 @@ GLEW_API void GLEW_APIENTRY _glew_gles_glEndTilingQCOM (GLbitfield preserveMask) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUC__ -#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 +#if defined(__GNUC__) +#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 #pragma GCC diagnostic pop // push/pop not available before GCC 4.6 #endif #endif diff --git a/include/wrangle-glx.h b/include/wrangle-glx.h index c9678ad..42648b4 100644 --- a/include/wrangle-glx.h +++ b/include/wrangle-glx.h @@ -20,7 +20,7 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #if defined(__GNUC__) -#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 +#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 #pragma GCC diagnostic push // push/pop not available before GCC 4.6 #endif #pragma GCC diagnostic ignored "-Wunused-function" @@ -41,6 +41,7 @@ enum GLEW_GLX_FeatureSet GLEW_GLX_AMD_gpu_association, GLEW_GLX_ARB_context_flush_control, GLEW_GLX_ARB_create_context, + GLEW_GLX_ARB_create_context_no_error, GLEW_GLX_ARB_create_context_profile, GLEW_GLX_ARB_create_context_robustness, GLEW_GLX_ARB_fbconfig_float, @@ -51,11 +52,15 @@ enum GLEW_GLX_FeatureSet GLEW_GLX_ARB_robustness_share_group_isolation, GLEW_GLX_ARB_vertex_buffer_object, GLEW_GLX_EXT_buffer_age, + GLEW_GLX_EXT_context_priority, GLEW_GLX_EXT_create_context_es_profile, GLEW_GLX_EXT_create_context_es2_profile, GLEW_GLX_EXT_fbconfig_packed_float, GLEW_GLX_EXT_framebuffer_sRGB, + GLEW_GLX_EXT_get_drawable_type, GLEW_GLX_EXT_import_context, + GLEW_GLX_EXT_libglvnd, + GLEW_GLX_EXT_no_config_context, GLEW_GLX_EXT_stereo_tree, GLEW_GLX_EXT_swap_control, GLEW_GLX_EXT_swap_control_tear, @@ -69,12 +74,14 @@ enum GLEW_GLX_FeatureSet GLEW_GLX_MESA_query_renderer, GLEW_GLX_MESA_release_buffers, GLEW_GLX_MESA_set_3dfx_mode, + GLEW_GLX_MESA_swap_control, GLEW_GLX_NV_copy_buffer, GLEW_GLX_NV_copy_image, GLEW_GLX_NV_delay_before_swap, GLEW_GLX_NV_float_buffer, GLEW_GLX_NV_multisample_coverage, GLEW_GLX_NV_present_video, + GLEW_GLX_NV_robustness_video_memory_purge, GLEW_GLX_NV_swap_group, GLEW_GLX_NV_video_capture, GLEW_GLX_NV_video_out, @@ -97,6 +104,7 @@ enum GLEW_GLX_FeatureSet GLEW_GLX_SGIX_video_source, GLEW_GLX_SGIX_visual_select_group, GLEW_GLX_SUN_get_transparent_index, + GLEW_GLX_NV_multigpu_context, GLEW_GLX_FeatureSetCount }; @@ -170,7 +178,9 @@ typedef const char * ( PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC) /* glXQueryCurr typedef Bool ( PFNGLXQUERYRENDERERINTEGERMESAPROC) /* glXQueryRendererIntegerMESA */ (Display * dpy, int screen, int renderer, int attribute, unsigned int * value); typedef const char * ( PFNGLXQUERYRENDERERSTRINGMESAPROC) /* glXQueryRendererStringMESA */ (Display * dpy, int screen, int renderer, int attribute); typedef Bool ( PFNGLXRELEASEBUFFERSMESAPROC) /* glXReleaseBuffersMESA */ (Display * dpy, GLXDrawable drawable); -typedef Bool ( PFNGLXSET3DFXMODEMESAPROC) /* glXSet3DfxModeMESA */ (int mode); +typedef GLboolean ( PFNGLXSET3DFXMODEMESAPROC) /* glXSet3DfxModeMESA */ (GLint mode); +typedef int ( PFNGLXGETSWAPINTERVALMESAPROC) /* glXGetSwapIntervalMESA */ (); +typedef int ( PFNGLXSWAPINTERVALMESAPROC) /* glXSwapIntervalMESA */ (unsigned int interval); typedef void ( PFNGLXCOPYBUFFERSUBDATANVPROC) /* glXCopyBufferSubDataNV */ (Display * dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); typedef void ( PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) /* glXNamedCopyBufferSubDataNV */ (Display * dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); typedef void ( PFNGLXCOPYIMAGESUBDATANVPROC) /* glXCopyImageSubDataNV */ (Display * dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); @@ -222,7 +232,7 @@ typedef int ( PFNGLXHYPERPIPEATTRIBSGIXPROC) /* glXHyperpipeAttribSGIX */ (Displ typedef int ( PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) /* glXQueryHyperpipeAttribSGIX */ (Display * dpy, int timeSlice, int attrib, int size, void * returnAttribList); typedef GLXPbufferSGIX ( PFNGLXCREATEGLXPBUFFERSGIXPROC) /* glXCreateGLXPbufferSGIX */ (Display * dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int * attrib_list); typedef void ( PFNGLXDESTROYGLXPBUFFERSGIXPROC) /* glXDestroyGLXPbufferSGIX */ (Display * dpy, GLXPbufferSGIX pbuf); -typedef int ( PFNGLXQUERYGLXPBUFFERSGIXPROC) /* glXQueryGLXPbufferSGIX */ (Display * dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int * value); +typedef void ( PFNGLXQUERYGLXPBUFFERSGIXPROC) /* glXQueryGLXPbufferSGIX */ (Display * dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int * value); typedef void ( PFNGLXSELECTEVENTSGIXPROC) /* glXSelectEventSGIX */ (Display * dpy, GLXDrawable drawable, unsigned long mask); typedef void ( PFNGLXGETSELECTEDEVENTSGIXPROC) /* glXGetSelectedEventSGIX */ (Display * dpy, GLXDrawable drawable, unsigned long * mask); typedef void ( PFNGLXBINDSWAPBARRIERSGIXPROC) /* glXBindSwapBarrierSGIX */ (Display * dpy, GLXDrawable drawable, int barrier); @@ -235,7 +245,7 @@ typedef int ( PFNGLXQUERYCHANNELDELTASSGIXPROC) /* glXQueryChannelDeltasSGIX */ typedef int ( PFNGLXCHANNELRECTSYNCSGIXPROC) /* glXChannelRectSyncSGIX */ (Display * display, int screen, int channel, GLenum synctype); typedef GLXVideoSourceSGIX ( PFNGLXCREATEGLXVIDEOSOURCESGIXPROC) /* glXCreateGLXVideoSourceSGIX */ (Display * display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode); typedef void ( PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC) /* glXDestroyGLXVideoSourceSGIX */ (Display * dpy, GLXVideoSourceSGIX glxvideosource); -typedef Status ( PFNGLXGETTRANSPARENTINDEXSUNPROC) /* glXGetTransparentIndexSUN */ (Display * dpy, Window overlay, Window underlay, long * pTransparentIndex); +typedef Status ( PFNGLXGETTRANSPARENTINDEXSUNPROC) /* glXGetTransparentIndexSUN */ (Display * dpy, Window overlay, Window underlay, unsigned long * pTransparentIndex); //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -312,6 +322,8 @@ namespace glew PFNGLXQUERYRENDERERSTRINGMESAPROC m_glXQueryRendererStringMESA; PFNGLXRELEASEBUFFERSMESAPROC m_glXReleaseBuffersMESA; PFNGLXSET3DFXMODEMESAPROC m_glXSet3DfxModeMESA; + PFNGLXGETSWAPINTERVALMESAPROC m_glXGetSwapIntervalMESA; + PFNGLXSWAPINTERVALMESAPROC m_glXSwapIntervalMESA; PFNGLXCOPYBUFFERSUBDATANVPROC m_glXCopyBufferSubDataNV; PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC m_glXNamedCopyBufferSubDataNV; PFNGLXCOPYIMAGESUBDATANVPROC m_glXCopyImageSubDataNV; @@ -483,7 +495,9 @@ GLEW_API const char * GLEW_APIENTRY _glew_glx_glXQueryCurrentRendererStringMESA GLEW_API Bool GLEW_APIENTRY _glew_glx_glXQueryRendererIntegerMESA (Display * dpy, int screen, int renderer, int attribute, unsigned int * value); GLEW_API const char * GLEW_APIENTRY _glew_glx_glXQueryRendererStringMESA (Display * dpy, int screen, int renderer, int attribute); GLEW_API Bool GLEW_APIENTRY _glew_glx_glXReleaseBuffersMESA (Display * dpy, GLXDrawable drawable); -GLEW_API Bool GLEW_APIENTRY _glew_glx_glXSet3DfxModeMESA (int mode); +GLEW_API GLboolean GLEW_APIENTRY _glew_glx_glXSet3DfxModeMESA (GLint mode); +GLEW_API int GLEW_APIENTRY _glew_glx_glXGetSwapIntervalMESA (); +GLEW_API int GLEW_APIENTRY _glew_glx_glXSwapIntervalMESA (unsigned int interval); GLEW_API void GLEW_APIENTRY _glew_glx_glXCopyBufferSubDataNV (Display * dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); GLEW_API void GLEW_APIENTRY _glew_glx_glXNamedCopyBufferSubDataNV (Display * dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); GLEW_API void GLEW_APIENTRY _glew_glx_glXCopyImageSubDataNV (Display * dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); @@ -535,7 +549,7 @@ GLEW_API int GLEW_APIENTRY _glew_glx_glXHyperpipeAttribSGIX (Display * dpy, int GLEW_API int GLEW_APIENTRY _glew_glx_glXQueryHyperpipeAttribSGIX (Display * dpy, int timeSlice, int attrib, int size, void * returnAttribList); GLEW_API GLXPbufferSGIX GLEW_APIENTRY _glew_glx_glXCreateGLXPbufferSGIX (Display * dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int * attrib_list); GLEW_API void GLEW_APIENTRY _glew_glx_glXDestroyGLXPbufferSGIX (Display * dpy, GLXPbufferSGIX pbuf); -GLEW_API int GLEW_APIENTRY _glew_glx_glXQueryGLXPbufferSGIX (Display * dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int * value); +GLEW_API void GLEW_APIENTRY _glew_glx_glXQueryGLXPbufferSGIX (Display * dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int * value); GLEW_API void GLEW_APIENTRY _glew_glx_glXSelectEventSGIX (Display * dpy, GLXDrawable drawable, unsigned long mask); GLEW_API void GLEW_APIENTRY _glew_glx_glXGetSelectedEventSGIX (Display * dpy, GLXDrawable drawable, unsigned long * mask); GLEW_API void GLEW_APIENTRY _glew_glx_glXBindSwapBarrierSGIX (Display * dpy, GLXDrawable drawable, int barrier); @@ -548,7 +562,7 @@ GLEW_API int GLEW_APIENTRY _glew_glx_glXQueryChannelDeltasSGIX (Display * displa GLEW_API int GLEW_APIENTRY _glew_glx_glXChannelRectSyncSGIX (Display * display, int screen, int channel, GLenum synctype); GLEW_API GLXVideoSourceSGIX GLEW_APIENTRY _glew_glx_glXCreateGLXVideoSourceSGIX (Display * display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode); GLEW_API void GLEW_APIENTRY _glew_glx_glXDestroyGLXVideoSourceSGIX (Display * dpy, GLXVideoSourceSGIX glxvideosource); -GLEW_API Status GLEW_APIENTRY _glew_glx_glXGetTransparentIndexSUN (Display * dpy, Window overlay, Window underlay, long * pTransparentIndex); +GLEW_API Status GLEW_APIENTRY _glew_glx_glXGetTransparentIndexSUN (Display * dpy, Window overlay, Window underlay, unsigned long * pTransparentIndex); //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -604,6 +618,8 @@ GLEW_API Status GLEW_APIENTRY _glew_glx_glXGetTransparentIndexSUN (Display * dpy #define glXQueryRendererStringMESA _glew_glx_glXQueryRendererStringMESA #define glXReleaseBuffersMESA _glew_glx_glXReleaseBuffersMESA #define glXSet3DfxModeMESA _glew_glx_glXSet3DfxModeMESA +#define glXGetSwapIntervalMESA _glew_glx_glXGetSwapIntervalMESA +#define glXSwapIntervalMESA _glew_glx_glXSwapIntervalMESA #define glXCopyBufferSubDataNV _glew_glx_glXCopyBufferSubDataNV #define glXNamedCopyBufferSubDataNV _glew_glx_glXNamedCopyBufferSubDataNV #define glXCopyImageSubDataNV _glew_glx_glXCopyImageSubDataNV @@ -674,8 +690,8 @@ GLEW_API Status GLEW_APIENTRY _glew_glx_glXGetTransparentIndexSUN (Display * dpy //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUC__ -#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 +#if defined(__GNUC__) +#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 #pragma GCC diagnostic pop // push/pop not available before GCC 4.6 #endif #endif diff --git a/include/wrangle-wgl.h b/include/wrangle-wgl.h index fbe5374..f72d060 100644 --- a/include/wrangle-wgl.h +++ b/include/wrangle-wgl.h @@ -36,7 +36,7 @@ typedef void GLvoid; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #if defined(__GNUC__) -#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 +#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 #pragma GCC diagnostic push // push/pop not available before GCC 4.6 #endif #pragma GCC diagnostic ignored "-Wunused-function" @@ -55,6 +55,7 @@ enum GLEW_WGL_FeatureSet GLEW_WGL_ARB_buffer_region, GLEW_WGL_ARB_context_flush_control, GLEW_WGL_ARB_create_context, + GLEW_WGL_ARB_create_context_no_error, GLEW_WGL_ARB_create_context_profile, GLEW_WGL_ARB_create_context_robustness, GLEW_WGL_ARB_extensions_string, @@ -68,6 +69,8 @@ enum GLEW_WGL_FeatureSet GLEW_WGL_ARB_robustness_application_isolation, GLEW_WGL_ARB_robustness_share_group_isolation, GLEW_WGL_ATI_pixel_format_float, + GLEW_WGL_ATI_render_texture_rectangle, + GLEW_WGL_EXT_colorspace, GLEW_WGL_EXT_create_context_es_profile, GLEW_WGL_EXT_create_context_es2_profile, GLEW_WGL_EXT_depth_float, @@ -102,6 +105,7 @@ enum GLEW_WGL_FeatureSet GLEW_WGL_NV_video_output, GLEW_WGL_NV_vertex_array_range, GLEW_WGL_OML_sync_control, + GLEW_WGL_NV_multigpu_context, GLEW_WGL_FeatureSetCount }; @@ -137,7 +141,7 @@ GLEW_EXTERN WINGDIAPI BOOL WINAPI wglUseFontOutlinesA (HDC hDC, DWORD first, DWO GLEW_EXTERN WINGDIAPI BOOL WINAPI wglUseFontOutlinesW (HDC hDC, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf); typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) /* wglSetStereoEmitterState3DL */ (HDC hDC, UINT uState); typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) /* wglGetGPUIDsAMD */ (UINT maxCount, UINT * ids); -typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) /* wglGetGPUInfoAMD */ (UINT id, int property, GLenum dataType, UINT size, void * data); +typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) /* wglGetGPUInfoAMD */ (UINT id, INT property, GLenum dataType, UINT size, void * data); typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) /* wglGetContextGPUIDAMD */ (HGLRC hglrc); typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) /* wglCreateAssociatedContextAMD */ (UINT id); typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) /* wglCreateAssociatedContextAttribsAMD */ (UINT id, HGLRC hShareContext, const int * attribList); @@ -226,8 +230,8 @@ typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) /* wglEnumGpuDevicesNV */ (HG typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) /* wglCreateAffinityDCNV */ (const HGPUNV * phGpuList); typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) /* wglEnumGpusFromAffinityDCNV */ (HDC hAffinityDC, UINT iGpuIndex, HGPUNV * hGpu); typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) /* wglDeleteDCNV */ (HDC hdc); -typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) /* wglEnumerateVideoDevicesNV */ (HDC hDC, HVIDEOOUTPUTDEVICENV * phDeviceList); -typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) /* wglBindVideoDeviceNV */ (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int * piAttribList); +typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) /* wglEnumerateVideoDevicesNV */ (HDC hDc, HVIDEOOUTPUTDEVICENV * phDeviceList); +typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) /* wglBindVideoDeviceNV */ (HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int * piAttribList); typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) /* wglQueryCurrentContextNV */ (int iAttribute, int * piValue); typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) /* wglJoinSwapGroupNV */ (HDC hDC, GLuint group); typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) /* wglBindSwapBarrierNV */ (GLuint group, GLuint barrier); @@ -251,7 +255,7 @@ typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) /* wglFreeMemoryNV */ (void * poi typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) /* wglGetSyncValuesOML */ (HDC hdc, INT64 * ust, INT64 * msc, INT64 * sbc); typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) /* wglGetMscRateOML */ (HDC hdc, INT32 * numerator, INT32 * denominator); typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) /* wglSwapBuffersMscOML */ (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); -typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) /* wglSwapLayerBuffersMscOML */ (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); +typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) /* wglSwapLayerBuffersMscOML */ (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) /* wglWaitForMscOML */ (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 * ust, INT64 * msc, INT64 * sbc); typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) /* wglWaitForSbcOML */ (HDC hdc, INT64 target_sbc, INT64 * ust, INT64 * msc, INT64 * sbc); @@ -458,7 +462,7 @@ namespace glew GLEW_API BOOL GLEW_APIENTRY _glew_wgl_wglSetStereoEmitterState3DL (HDC hDC, UINT uState); GLEW_API UINT GLEW_APIENTRY _glew_wgl_wglGetGPUIDsAMD (UINT maxCount, UINT * ids); -GLEW_API INT GLEW_APIENTRY _glew_wgl_wglGetGPUInfoAMD (UINT id, int property, GLenum dataType, UINT size, void * data); +GLEW_API INT GLEW_APIENTRY _glew_wgl_wglGetGPUInfoAMD (UINT id, INT property, GLenum dataType, UINT size, void * data); GLEW_API UINT GLEW_APIENTRY _glew_wgl_wglGetContextGPUIDAMD (HGLRC hglrc); GLEW_API HGLRC GLEW_APIENTRY _glew_wgl_wglCreateAssociatedContextAMD (UINT id); GLEW_API HGLRC GLEW_APIENTRY _glew_wgl_wglCreateAssociatedContextAttribsAMD (UINT id, HGLRC hShareContext, const int * attribList); @@ -547,8 +551,8 @@ GLEW_API BOOL GLEW_APIENTRY _glew_wgl_wglEnumGpuDevicesNV (HGPUNV hGpu, UINT iDe GLEW_API HDC GLEW_APIENTRY _glew_wgl_wglCreateAffinityDCNV (const HGPUNV * phGpuList); GLEW_API BOOL GLEW_APIENTRY _glew_wgl_wglEnumGpusFromAffinityDCNV (HDC hAffinityDC, UINT iGpuIndex, HGPUNV * hGpu); GLEW_API BOOL GLEW_APIENTRY _glew_wgl_wglDeleteDCNV (HDC hdc); -GLEW_API int GLEW_APIENTRY _glew_wgl_wglEnumerateVideoDevicesNV (HDC hDC, HVIDEOOUTPUTDEVICENV * phDeviceList); -GLEW_API BOOL GLEW_APIENTRY _glew_wgl_wglBindVideoDeviceNV (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int * piAttribList); +GLEW_API int GLEW_APIENTRY _glew_wgl_wglEnumerateVideoDevicesNV (HDC hDc, HVIDEOOUTPUTDEVICENV * phDeviceList); +GLEW_API BOOL GLEW_APIENTRY _glew_wgl_wglBindVideoDeviceNV (HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int * piAttribList); GLEW_API BOOL GLEW_APIENTRY _glew_wgl_wglQueryCurrentContextNV (int iAttribute, int * piValue); GLEW_API BOOL GLEW_APIENTRY _glew_wgl_wglJoinSwapGroupNV (HDC hDC, GLuint group); GLEW_API BOOL GLEW_APIENTRY _glew_wgl_wglBindSwapBarrierNV (GLuint group, GLuint barrier); @@ -572,7 +576,7 @@ GLEW_API void GLEW_APIENTRY _glew_wgl_wglFreeMemoryNV (void * pointer); GLEW_API BOOL GLEW_APIENTRY _glew_wgl_wglGetSyncValuesOML (HDC hdc, INT64 * ust, INT64 * msc, INT64 * sbc); GLEW_API BOOL GLEW_APIENTRY _glew_wgl_wglGetMscRateOML (HDC hdc, INT32 * numerator, INT32 * denominator); GLEW_API INT64 GLEW_APIENTRY _glew_wgl_wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); -GLEW_API INT64 GLEW_APIENTRY _glew_wgl_wglSwapLayerBuffersMscOML (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); +GLEW_API INT64 GLEW_APIENTRY _glew_wgl_wglSwapLayerBuffersMscOML (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); GLEW_API BOOL GLEW_APIENTRY _glew_wgl_wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 * ust, INT64 * msc, INT64 * sbc); GLEW_API BOOL GLEW_APIENTRY _glew_wgl_wglWaitForSbcOML (HDC hdc, INT64 target_sbc, INT64 * ust, INT64 * msc, INT64 * sbc); @@ -704,8 +708,8 @@ GLEW_API BOOL GLEW_APIENTRY _glew_wgl_wglWaitForSbcOML (HDC hdc, INT64 target_sb //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUC__ -#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 +#if defined(__GNUC__) +#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 #pragma GCC diagnostic pop // push/pop not available before GCC 4.6 #endif #endif diff --git a/include/wrangle.h b/include/wrangle.h index bf318d6..e330eee 100644 --- a/include/wrangle.h +++ b/include/wrangle.h @@ -50,7 +50,7 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -#if (_WIN32 || GLEW_USE_WGL) +#if GLEW_USE_WGL #if !defined (GLEW_USE_WGL) #define GLEW_USE_WGL 1 #endif @@ -60,11 +60,11 @@ #if !defined (glewGetProcAddress) #define glewGetProcAddress(proc) wglGetProcAddress((LPCSTR)proc) #endif -#elif __ANDROID__ || GLEW_USE_EGL +#elif GLEW_USE_EGL #if !defined (GLEW_USE_EGL) #define GLEW_USE_EGL 1 #endif - #include + #include #define EGL_SHARED_LIBRARY "libEGL.so" GLEW_EXTERN_C EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress (const char *procname); #if !defined (glewGetProcAddress) @@ -81,7 +81,7 @@ #define glewGetProcAddress(proc) dlGetProcAddress(OPENGL_FRAMEWORK,(const char *)proc) #else #error Unrecognised Apple target. - #endif + #endif #endif #endif @@ -93,12 +93,9 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -// /System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL -// /System/Library/Frameworks/OpenGLES.framework/OpenGLES - -#if defined(__APPLE__) || GLEW_USE_EGL +#if defined(__APPLE__) || defined(__linux__) #include -static inline void *dlGetProcAddress (const char *library, const char *symbol) +static void *dlGetProcAddress (const char *library, const char *symbol) { static void *image = NULL; void *addr = NULL; @@ -119,7 +116,7 @@ static inline void *dlGetProcAddress (const char *library, const char *symbol) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #if GLEW_USE_EGL -static inline __eglMustCastToProperFunctionPointerType _eglGetProcAddress (const char *procname) +static __eglMustCastToProperFunctionPointerType EGLAPIENTRY _eglGetProcAddress (const char *procname) { __eglMustCastToProperFunctionPointerType fp = NULL; @@ -128,12 +125,12 @@ static inline __eglMustCastToProperFunctionPointerType _eglGetProcAddress (const fp = eglGetProcAddress (procname); } - // + // // Sometimes we don't even receive valid addresses for base spec functions using eglGetProcAddress. // It seems this is isolated to early PowerVR and Mali drivers, but we workaround it by probing the EGL library directly. - // + // - if (procname && !fp && (memcmp (procname, "egl", sizeof (char) * 3) == 0)) + if (procname && !fp && (procname[0] == 'e' && procname[1] == 'g' && procname[2] == 'l')) { fp = (__eglMustCastToProperFunctionPointerType) dlGetProcAddress (EGL_SHARED_LIBRARY, procname); } @@ -161,7 +158,7 @@ static inline __eglMustCastToProperFunctionPointerType _eglGetProcAddress (const #if !defined(GLEW_ASSERT) && (defined(_DEBUG) || defined(DEBUG)) #if defined(__GNUC__) || defined(__clang__) #define GLEW_ASSERT(X) if(!(X)) { __builtin_trap (); } -#elif WIN32 +#elif defined(_MSC_VER) #define GLEW_ASSERT(X) if(!(X)) { __debugbreak (); } #endif #endif diff --git a/khronos/.gitignore b/khronos/.gitignore deleted file mode 100644 index 0d20b64..0000000 --- a/khronos/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.pyc diff --git a/khronos/license.txt b/khronos/license.txt deleted file mode 100644 index 6948f59..0000000 --- a/khronos/license.txt +++ /dev/null @@ -1,22 +0,0 @@ -/* -** Copyright (c) 2008-2009 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ \ No newline at end of file diff --git a/khronos/repository/api/EGL/egl.h b/khronos/repository/api/EGL/egl.h deleted file mode 100644 index 39156ea..0000000 --- a/khronos/repository/api/EGL/egl.h +++ /dev/null @@ -1,303 +0,0 @@ -#ifndef __egl_h_ -#define __egl_h_ 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2013-2015 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts -** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ -*/ - -#include - -/* Generated on date 20151103 */ - -/* Generated C header for: - * API: egl - * Versions considered: .* - * Versions emitted: .* - * Default extensions included: None - * Additional extensions included: _nomatch_^ - * Extensions removed: _nomatch_^ - */ - -#ifndef EGL_VERSION_1_0 -#define EGL_VERSION_1_0 1 -typedef unsigned int EGLBoolean; -typedef void *EGLDisplay; -#include -#include -typedef void *EGLConfig; -typedef void *EGLSurface; -typedef void *EGLContext; -typedef void (*__eglMustCastToProperFunctionPointerType)(void); -#define EGL_ALPHA_SIZE 0x3021 -#define EGL_BAD_ACCESS 0x3002 -#define EGL_BAD_ALLOC 0x3003 -#define EGL_BAD_ATTRIBUTE 0x3004 -#define EGL_BAD_CONFIG 0x3005 -#define EGL_BAD_CONTEXT 0x3006 -#define EGL_BAD_CURRENT_SURFACE 0x3007 -#define EGL_BAD_DISPLAY 0x3008 -#define EGL_BAD_MATCH 0x3009 -#define EGL_BAD_NATIVE_PIXMAP 0x300A -#define EGL_BAD_NATIVE_WINDOW 0x300B -#define EGL_BAD_PARAMETER 0x300C -#define EGL_BAD_SURFACE 0x300D -#define EGL_BLUE_SIZE 0x3022 -#define EGL_BUFFER_SIZE 0x3020 -#define EGL_CONFIG_CAVEAT 0x3027 -#define EGL_CONFIG_ID 0x3028 -#define EGL_CORE_NATIVE_ENGINE 0x305B -#define EGL_DEPTH_SIZE 0x3025 -#define EGL_DONT_CARE ((EGLint)-1) -#define EGL_DRAW 0x3059 -#define EGL_EXTENSIONS 0x3055 -#define EGL_FALSE 0 -#define EGL_GREEN_SIZE 0x3023 -#define EGL_HEIGHT 0x3056 -#define EGL_LARGEST_PBUFFER 0x3058 -#define EGL_LEVEL 0x3029 -#define EGL_MAX_PBUFFER_HEIGHT 0x302A -#define EGL_MAX_PBUFFER_PIXELS 0x302B -#define EGL_MAX_PBUFFER_WIDTH 0x302C -#define EGL_NATIVE_RENDERABLE 0x302D -#define EGL_NATIVE_VISUAL_ID 0x302E -#define EGL_NATIVE_VISUAL_TYPE 0x302F -#define EGL_NONE 0x3038 -#define EGL_NON_CONFORMANT_CONFIG 0x3051 -#define EGL_NOT_INITIALIZED 0x3001 -#define EGL_NO_CONTEXT ((EGLContext)0) -#define EGL_NO_DISPLAY ((EGLDisplay)0) -#define EGL_NO_SURFACE ((EGLSurface)0) -#define EGL_PBUFFER_BIT 0x0001 -#define EGL_PIXMAP_BIT 0x0002 -#define EGL_READ 0x305A -#define EGL_RED_SIZE 0x3024 -#define EGL_SAMPLES 0x3031 -#define EGL_SAMPLE_BUFFERS 0x3032 -#define EGL_SLOW_CONFIG 0x3050 -#define EGL_STENCIL_SIZE 0x3026 -#define EGL_SUCCESS 0x3000 -#define EGL_SURFACE_TYPE 0x3033 -#define EGL_TRANSPARENT_BLUE_VALUE 0x3035 -#define EGL_TRANSPARENT_GREEN_VALUE 0x3036 -#define EGL_TRANSPARENT_RED_VALUE 0x3037 -#define EGL_TRANSPARENT_RGB 0x3052 -#define EGL_TRANSPARENT_TYPE 0x3034 -#define EGL_TRUE 1 -#define EGL_VENDOR 0x3053 -#define EGL_VERSION 0x3054 -#define EGL_WIDTH 0x3057 -#define EGL_WINDOW_BIT 0x0004 -EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config); -EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target); -EGLAPI EGLContext EGLAPIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list); -EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list); -EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list); -EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list); -EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx); -EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface); -EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value); -EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs (EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config); -EGLAPI EGLDisplay EGLAPIENTRY eglGetCurrentDisplay (void); -EGLAPI EGLSurface EGLAPIENTRY eglGetCurrentSurface (EGLint readdraw); -EGLAPI EGLDisplay EGLAPIENTRY eglGetDisplay (EGLNativeDisplayType display_id); -EGLAPI EGLint EGLAPIENTRY eglGetError (void); -EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress (const char *procname); -EGLAPI EGLBoolean EGLAPIENTRY eglInitialize (EGLDisplay dpy, EGLint *major, EGLint *minor); -EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx); -EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value); -EGLAPI const char *EGLAPIENTRY eglQueryString (EGLDisplay dpy, EGLint name); -EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value); -EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers (EGLDisplay dpy, EGLSurface surface); -EGLAPI EGLBoolean EGLAPIENTRY eglTerminate (EGLDisplay dpy); -EGLAPI EGLBoolean EGLAPIENTRY eglWaitGL (void); -EGLAPI EGLBoolean EGLAPIENTRY eglWaitNative (EGLint engine); -#endif /* EGL_VERSION_1_0 */ - -#ifndef EGL_VERSION_1_1 -#define EGL_VERSION_1_1 1 -#define EGL_BACK_BUFFER 0x3084 -#define EGL_BIND_TO_TEXTURE_RGB 0x3039 -#define EGL_BIND_TO_TEXTURE_RGBA 0x303A -#define EGL_CONTEXT_LOST 0x300E -#define EGL_MIN_SWAP_INTERVAL 0x303B -#define EGL_MAX_SWAP_INTERVAL 0x303C -#define EGL_MIPMAP_TEXTURE 0x3082 -#define EGL_MIPMAP_LEVEL 0x3083 -#define EGL_NO_TEXTURE 0x305C -#define EGL_TEXTURE_2D 0x305F -#define EGL_TEXTURE_FORMAT 0x3080 -#define EGL_TEXTURE_RGB 0x305D -#define EGL_TEXTURE_RGBA 0x305E -#define EGL_TEXTURE_TARGET 0x3081 -EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer); -EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer); -EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value); -EGLAPI EGLBoolean EGLAPIENTRY eglSwapInterval (EGLDisplay dpy, EGLint interval); -#endif /* EGL_VERSION_1_1 */ - -#ifndef EGL_VERSION_1_2 -#define EGL_VERSION_1_2 1 -typedef unsigned int EGLenum; -typedef void *EGLClientBuffer; -#define EGL_ALPHA_FORMAT 0x3088 -#define EGL_ALPHA_FORMAT_NONPRE 0x308B -#define EGL_ALPHA_FORMAT_PRE 0x308C -#define EGL_ALPHA_MASK_SIZE 0x303E -#define EGL_BUFFER_PRESERVED 0x3094 -#define EGL_BUFFER_DESTROYED 0x3095 -#define EGL_CLIENT_APIS 0x308D -#define EGL_COLORSPACE 0x3087 -#define EGL_COLORSPACE_sRGB 0x3089 -#define EGL_COLORSPACE_LINEAR 0x308A -#define EGL_COLOR_BUFFER_TYPE 0x303F -#define EGL_CONTEXT_CLIENT_TYPE 0x3097 -#define EGL_DISPLAY_SCALING 10000 -#define EGL_HORIZONTAL_RESOLUTION 0x3090 -#define EGL_LUMINANCE_BUFFER 0x308F -#define EGL_LUMINANCE_SIZE 0x303D -#define EGL_OPENGL_ES_BIT 0x0001 -#define EGL_OPENVG_BIT 0x0002 -#define EGL_OPENGL_ES_API 0x30A0 -#define EGL_OPENVG_API 0x30A1 -#define EGL_OPENVG_IMAGE 0x3096 -#define EGL_PIXEL_ASPECT_RATIO 0x3092 -#define EGL_RENDERABLE_TYPE 0x3040 -#define EGL_RENDER_BUFFER 0x3086 -#define EGL_RGB_BUFFER 0x308E -#define EGL_SINGLE_BUFFER 0x3085 -#define EGL_SWAP_BEHAVIOR 0x3093 -#define EGL_UNKNOWN ((EGLint)-1) -#define EGL_VERTICAL_RESOLUTION 0x3091 -EGLAPI EGLBoolean EGLAPIENTRY eglBindAPI (EGLenum api); -EGLAPI EGLenum EGLAPIENTRY eglQueryAPI (void); -EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list); -EGLAPI EGLBoolean EGLAPIENTRY eglReleaseThread (void); -EGLAPI EGLBoolean EGLAPIENTRY eglWaitClient (void); -#endif /* EGL_VERSION_1_2 */ - -#ifndef EGL_VERSION_1_3 -#define EGL_VERSION_1_3 1 -#define EGL_CONFORMANT 0x3042 -#define EGL_CONTEXT_CLIENT_VERSION 0x3098 -#define EGL_MATCH_NATIVE_PIXMAP 0x3041 -#define EGL_OPENGL_ES2_BIT 0x0004 -#define EGL_VG_ALPHA_FORMAT 0x3088 -#define EGL_VG_ALPHA_FORMAT_NONPRE 0x308B -#define EGL_VG_ALPHA_FORMAT_PRE 0x308C -#define EGL_VG_ALPHA_FORMAT_PRE_BIT 0x0040 -#define EGL_VG_COLORSPACE 0x3087 -#define EGL_VG_COLORSPACE_sRGB 0x3089 -#define EGL_VG_COLORSPACE_LINEAR 0x308A -#define EGL_VG_COLORSPACE_LINEAR_BIT 0x0020 -#endif /* EGL_VERSION_1_3 */ - -#ifndef EGL_VERSION_1_4 -#define EGL_VERSION_1_4 1 -#define EGL_DEFAULT_DISPLAY ((EGLNativeDisplayType)0) -#define EGL_MULTISAMPLE_RESOLVE_BOX_BIT 0x0200 -#define EGL_MULTISAMPLE_RESOLVE 0x3099 -#define EGL_MULTISAMPLE_RESOLVE_DEFAULT 0x309A -#define EGL_MULTISAMPLE_RESOLVE_BOX 0x309B -#define EGL_OPENGL_API 0x30A2 -#define EGL_OPENGL_BIT 0x0008 -#define EGL_SWAP_BEHAVIOR_PRESERVED_BIT 0x0400 -EGLAPI EGLContext EGLAPIENTRY eglGetCurrentContext (void); -#endif /* EGL_VERSION_1_4 */ - -#ifndef EGL_VERSION_1_5 -#define EGL_VERSION_1_5 1 -typedef void *EGLSync; -typedef intptr_t EGLAttrib; -typedef khronos_utime_nanoseconds_t EGLTime; -typedef void *EGLImage; -#define EGL_CONTEXT_MAJOR_VERSION 0x3098 -#define EGL_CONTEXT_MINOR_VERSION 0x30FB -#define EGL_CONTEXT_OPENGL_PROFILE_MASK 0x30FD -#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY 0x31BD -#define EGL_NO_RESET_NOTIFICATION 0x31BE -#define EGL_LOSE_CONTEXT_ON_RESET 0x31BF -#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT 0x00000001 -#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT 0x00000002 -#define EGL_CONTEXT_OPENGL_DEBUG 0x31B0 -#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE 0x31B1 -#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS 0x31B2 -#define EGL_OPENGL_ES3_BIT 0x00000040 -#define EGL_CL_EVENT_HANDLE 0x309C -#define EGL_SYNC_CL_EVENT 0x30FE -#define EGL_SYNC_CL_EVENT_COMPLETE 0x30FF -#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE 0x30F0 -#define EGL_SYNC_TYPE 0x30F7 -#define EGL_SYNC_STATUS 0x30F1 -#define EGL_SYNC_CONDITION 0x30F8 -#define EGL_SIGNALED 0x30F2 -#define EGL_UNSIGNALED 0x30F3 -#define EGL_SYNC_FLUSH_COMMANDS_BIT 0x0001 -#define EGL_FOREVER 0xFFFFFFFFFFFFFFFFull -#define EGL_TIMEOUT_EXPIRED 0x30F5 -#define EGL_CONDITION_SATISFIED 0x30F6 -#define EGL_NO_SYNC ((EGLSync)0) -#define EGL_SYNC_FENCE 0x30F9 -#define EGL_GL_COLORSPACE 0x309D -#define EGL_GL_COLORSPACE_SRGB 0x3089 -#define EGL_GL_COLORSPACE_LINEAR 0x308A -#define EGL_GL_RENDERBUFFER 0x30B9 -#define EGL_GL_TEXTURE_2D 0x30B1 -#define EGL_GL_TEXTURE_LEVEL 0x30BC -#define EGL_GL_TEXTURE_3D 0x30B2 -#define EGL_GL_TEXTURE_ZOFFSET 0x30BD -#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x30B3 -#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x30B4 -#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x30B5 -#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x30B6 -#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x30B7 -#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x30B8 -#define EGL_IMAGE_PRESERVED 0x30D2 -#define EGL_NO_IMAGE ((EGLImage)0) -EGLAPI EGLSync EGLAPIENTRY eglCreateSync (EGLDisplay dpy, EGLenum type, const EGLAttrib *attrib_list); -EGLAPI EGLBoolean EGLAPIENTRY eglDestroySync (EGLDisplay dpy, EGLSync sync); -EGLAPI EGLint EGLAPIENTRY eglClientWaitSync (EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout); -EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttrib (EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib *value); -EGLAPI EGLImage EGLAPIENTRY eglCreateImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list); -EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImage (EGLDisplay dpy, EGLImage image); -EGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplay (EGLenum platform, void *native_display, const EGLAttrib *attrib_list); -EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurface (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list); -EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurface (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLAttrib *attrib_list); -EGLAPI EGLBoolean EGLAPIENTRY eglWaitSync (EGLDisplay dpy, EGLSync sync, EGLint flags); -#endif /* EGL_VERSION_1_5 */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/khronos/repository/api/EGL/eglext.h b/khronos/repository/api/EGL/eglext.h deleted file mode 100644 index 29eda08..0000000 --- a/khronos/repository/api/EGL/eglext.h +++ /dev/null @@ -1,950 +0,0 @@ -#ifndef __eglext_h_ -#define __eglext_h_ 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2013-2015 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts -** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ -*/ - -#include - -#define EGL_EGLEXT_VERSION 20151103 - -/* Generated C header for: - * API: egl - * Versions considered: .* - * Versions emitted: _nomatch_^ - * Default extensions included: egl - * Additional extensions included: _nomatch_^ - * Extensions removed: _nomatch_^ - */ - -#ifndef EGL_KHR_cl_event -#define EGL_KHR_cl_event 1 -#define EGL_CL_EVENT_HANDLE_KHR 0x309C -#define EGL_SYNC_CL_EVENT_KHR 0x30FE -#define EGL_SYNC_CL_EVENT_COMPLETE_KHR 0x30FF -#endif /* EGL_KHR_cl_event */ - -#ifndef EGL_KHR_cl_event2 -#define EGL_KHR_cl_event2 1 -typedef void *EGLSyncKHR; -typedef intptr_t EGLAttribKHR; -typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNC64KHRPROC) (EGLDisplay dpy, EGLenum type, const EGLAttribKHR *attrib_list); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSync64KHR (EGLDisplay dpy, EGLenum type, const EGLAttribKHR *attrib_list); -#endif -#endif /* EGL_KHR_cl_event2 */ - -#ifndef EGL_KHR_client_get_all_proc_addresses -#define EGL_KHR_client_get_all_proc_addresses 1 -#endif /* EGL_KHR_client_get_all_proc_addresses */ - -#ifndef EGL_KHR_config_attribs -#define EGL_KHR_config_attribs 1 -#define EGL_CONFORMANT_KHR 0x3042 -#define EGL_VG_COLORSPACE_LINEAR_BIT_KHR 0x0020 -#define EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR 0x0040 -#endif /* EGL_KHR_config_attribs */ - -#ifndef EGL_KHR_create_context -#define EGL_KHR_create_context 1 -#define EGL_CONTEXT_MAJOR_VERSION_KHR 0x3098 -#define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB -#define EGL_CONTEXT_FLAGS_KHR 0x30FC -#define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD -#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD -#define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE -#define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF -#define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001 -#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002 -#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 -#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 -#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 -#define EGL_OPENGL_ES3_BIT_KHR 0x00000040 -#endif /* EGL_KHR_create_context */ - -#ifndef EGL_KHR_create_context_no_error -#define EGL_KHR_create_context_no_error 1 -#define EGL_CONTEXT_OPENGL_NO_ERROR_KHR 0x31B3 -#endif /* EGL_KHR_create_context_no_error */ - -#ifndef EGL_KHR_debug -#define EGL_KHR_debug 1 -typedef void *EGLLabelKHR; -typedef void *EGLObjectKHR; -typedef void (EGLAPIENTRY *EGLDEBUGPROCKHR)(EGLenum error,const char *command,EGLint messageType,EGLLabelKHR threadLabel,EGLLabelKHR objectLabel,const char* message); -#define EGL_OBJECT_THREAD_KHR 0x33B0 -#define EGL_OBJECT_DISPLAY_KHR 0x33B1 -#define EGL_OBJECT_CONTEXT_KHR 0x33B2 -#define EGL_OBJECT_SURFACE_KHR 0x33B3 -#define EGL_OBJECT_IMAGE_KHR 0x33B4 -#define EGL_OBJECT_SYNC_KHR 0x33B5 -#define EGL_OBJECT_STREAM_KHR 0x33B6 -#define EGL_DEBUG_MSG_CRITICAL_KHR 0x33B9 -#define EGL_DEBUG_MSG_ERROR_KHR 0x33BA -#define EGL_DEBUG_MSG_WARN_KHR 0x33BB -#define EGL_DEBUG_MSG_INFO_KHR 0x33BC -#define EGL_DEBUG_CALLBACK_KHR 0x33B8 -typedef EGLint (EGLAPIENTRYP PFNEGLDEBUGMESSAGECONTROLKHRPROC) (EGLDEBUGPROCKHR callback, const EGLAttrib *attrib_list); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEBUGKHRPROC) (EGLint attribute, EGLAttrib *value); -typedef EGLint (EGLAPIENTRYP PFNEGLLABELOBJECTKHRPROC) (EGLDisplay display, EGLenum objectType, EGLObjectKHR object, EGLLabelKHR label); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLint EGLAPIENTRY eglDebugMessageControlKHR (EGLDEBUGPROCKHR callback, const EGLAttrib *attrib_list); -EGLAPI EGLBoolean EGLAPIENTRY eglQueryDebugKHR (EGLint attribute, EGLAttrib *value); -EGLAPI EGLint EGLAPIENTRY eglLabelObjectKHR (EGLDisplay display, EGLenum objectType, EGLObjectKHR object, EGLLabelKHR label); -#endif -#endif /* EGL_KHR_debug */ - -#ifndef EGL_KHR_fence_sync -#define EGL_KHR_fence_sync 1 -typedef khronos_utime_nanoseconds_t EGLTimeKHR; -#ifdef KHRONOS_SUPPORT_INT64 -#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0x30F0 -#define EGL_SYNC_CONDITION_KHR 0x30F8 -#define EGL_SYNC_FENCE_KHR 0x30F9 -typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync); -typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); -EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync); -EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); -EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); -#endif -#endif /* KHRONOS_SUPPORT_INT64 */ -#endif /* EGL_KHR_fence_sync */ - -#ifndef EGL_KHR_get_all_proc_addresses -#define EGL_KHR_get_all_proc_addresses 1 -#endif /* EGL_KHR_get_all_proc_addresses */ - -#ifndef EGL_KHR_gl_colorspace -#define EGL_KHR_gl_colorspace 1 -#define EGL_GL_COLORSPACE_KHR 0x309D -#define EGL_GL_COLORSPACE_SRGB_KHR 0x3089 -#define EGL_GL_COLORSPACE_LINEAR_KHR 0x308A -#endif /* EGL_KHR_gl_colorspace */ - -#ifndef EGL_KHR_gl_renderbuffer_image -#define EGL_KHR_gl_renderbuffer_image 1 -#define EGL_GL_RENDERBUFFER_KHR 0x30B9 -#endif /* EGL_KHR_gl_renderbuffer_image */ - -#ifndef EGL_KHR_gl_texture_2D_image -#define EGL_KHR_gl_texture_2D_image 1 -#define EGL_GL_TEXTURE_2D_KHR 0x30B1 -#define EGL_GL_TEXTURE_LEVEL_KHR 0x30BC -#endif /* EGL_KHR_gl_texture_2D_image */ - -#ifndef EGL_KHR_gl_texture_3D_image -#define EGL_KHR_gl_texture_3D_image 1 -#define EGL_GL_TEXTURE_3D_KHR 0x30B2 -#define EGL_GL_TEXTURE_ZOFFSET_KHR 0x30BD -#endif /* EGL_KHR_gl_texture_3D_image */ - -#ifndef EGL_KHR_gl_texture_cubemap_image -#define EGL_KHR_gl_texture_cubemap_image 1 -#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR 0x30B3 -#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR 0x30B4 -#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR 0x30B5 -#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR 0x30B6 -#define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR 0x30B7 -#define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR 0x30B8 -#endif /* EGL_KHR_gl_texture_cubemap_image */ - -#ifndef EGL_KHR_image -#define EGL_KHR_image 1 -typedef void *EGLImageKHR; -#define EGL_NATIVE_PIXMAP_KHR 0x30B0 -#define EGL_NO_IMAGE_KHR ((EGLImageKHR)0) -typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); -EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image); -#endif -#endif /* EGL_KHR_image */ - -#ifndef EGL_KHR_image_base -#define EGL_KHR_image_base 1 -#define EGL_IMAGE_PRESERVED_KHR 0x30D2 -#endif /* EGL_KHR_image_base */ - -#ifndef EGL_KHR_image_pixmap -#define EGL_KHR_image_pixmap 1 -#endif /* EGL_KHR_image_pixmap */ - -#ifndef EGL_KHR_lock_surface -#define EGL_KHR_lock_surface 1 -#define EGL_READ_SURFACE_BIT_KHR 0x0001 -#define EGL_WRITE_SURFACE_BIT_KHR 0x0002 -#define EGL_LOCK_SURFACE_BIT_KHR 0x0080 -#define EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100 -#define EGL_MATCH_FORMAT_KHR 0x3043 -#define EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0 -#define EGL_FORMAT_RGB_565_KHR 0x30C1 -#define EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2 -#define EGL_FORMAT_RGBA_8888_KHR 0x30C3 -#define EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4 -#define EGL_LOCK_USAGE_HINT_KHR 0x30C5 -#define EGL_BITMAP_POINTER_KHR 0x30C6 -#define EGL_BITMAP_PITCH_KHR 0x30C7 -#define EGL_BITMAP_ORIGIN_KHR 0x30C8 -#define EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9 -#define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA -#define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB -#define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC -#define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD -#define EGL_LOWER_LEFT_KHR 0x30CE -#define EGL_UPPER_LEFT_KHR 0x30CF -typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay dpy, EGLSurface surface); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *attrib_list); -EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface); -#endif -#endif /* EGL_KHR_lock_surface */ - -#ifndef EGL_KHR_lock_surface2 -#define EGL_KHR_lock_surface2 1 -#define EGL_BITMAP_PIXEL_SIZE_KHR 0x3110 -#endif /* EGL_KHR_lock_surface2 */ - -#ifndef EGL_KHR_lock_surface3 -#define EGL_KHR_lock_surface3 1 -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACE64KHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR *value); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface64KHR (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR *value); -#endif -#endif /* EGL_KHR_lock_surface3 */ - -#ifndef EGL_KHR_partial_update -#define EGL_KHR_partial_update 1 -#define EGL_BUFFER_AGE_KHR 0x313D -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); -#endif -#endif /* EGL_KHR_partial_update */ - -#ifndef EGL_KHR_platform_android -#define EGL_KHR_platform_android 1 -#define EGL_PLATFORM_ANDROID_KHR 0x3141 -#endif /* EGL_KHR_platform_android */ - -#ifndef EGL_KHR_platform_gbm -#define EGL_KHR_platform_gbm 1 -#define EGL_PLATFORM_GBM_KHR 0x31D7 -#endif /* EGL_KHR_platform_gbm */ - -#ifndef EGL_KHR_platform_wayland -#define EGL_KHR_platform_wayland 1 -#define EGL_PLATFORM_WAYLAND_KHR 0x31D8 -#endif /* EGL_KHR_platform_wayland */ - -#ifndef EGL_KHR_platform_x11 -#define EGL_KHR_platform_x11 1 -#define EGL_PLATFORM_X11_KHR 0x31D5 -#define EGL_PLATFORM_X11_SCREEN_KHR 0x31D6 -#endif /* EGL_KHR_platform_x11 */ - -#ifndef EGL_KHR_reusable_sync -#define EGL_KHR_reusable_sync 1 -#ifdef KHRONOS_SUPPORT_INT64 -#define EGL_SYNC_STATUS_KHR 0x30F1 -#define EGL_SIGNALED_KHR 0x30F2 -#define EGL_UNSIGNALED_KHR 0x30F3 -#define EGL_TIMEOUT_EXPIRED_KHR 0x30F5 -#define EGL_CONDITION_SATISFIED_KHR 0x30F6 -#define EGL_SYNC_TYPE_KHR 0x30F7 -#define EGL_SYNC_REUSABLE_KHR 0x30FA -#define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001 -#define EGL_FOREVER_KHR 0xFFFFFFFFFFFFFFFFull -#define EGL_NO_SYNC_KHR ((EGLSyncKHR)0) -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); -#endif -#endif /* KHRONOS_SUPPORT_INT64 */ -#endif /* EGL_KHR_reusable_sync */ - -#ifndef EGL_KHR_stream -#define EGL_KHR_stream 1 -typedef void *EGLStreamKHR; -typedef khronos_uint64_t EGLuint64KHR; -#ifdef KHRONOS_SUPPORT_INT64 -#define EGL_NO_STREAM_KHR ((EGLStreamKHR)0) -#define EGL_CONSUMER_LATENCY_USEC_KHR 0x3210 -#define EGL_PRODUCER_FRAME_KHR 0x3212 -#define EGL_CONSUMER_FRAME_KHR 0x3213 -#define EGL_STREAM_STATE_KHR 0x3214 -#define EGL_STREAM_STATE_CREATED_KHR 0x3215 -#define EGL_STREAM_STATE_CONNECTING_KHR 0x3216 -#define EGL_STREAM_STATE_EMPTY_KHR 0x3217 -#define EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR 0x3218 -#define EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR 0x3219 -#define EGL_STREAM_STATE_DISCONNECTED_KHR 0x321A -#define EGL_BAD_STREAM_KHR 0x321B -#define EGL_BAD_STATE_KHR 0x321C -typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMKHRPROC) (EGLDisplay dpy, const EGLint *attrib_list); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMU64KHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamKHR (EGLDisplay dpy, const EGLint *attrib_list); -EGLAPI EGLBoolean EGLAPIENTRY eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream); -EGLAPI EGLBoolean EGLAPIENTRY eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value); -EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value); -EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value); -#endif -#endif /* KHRONOS_SUPPORT_INT64 */ -#endif /* EGL_KHR_stream */ - -#ifndef EGL_KHR_stream_consumer_gltexture -#define EGL_KHR_stream_consumer_gltexture 1 -#ifdef EGL_KHR_stream -#define EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR 0x321E -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERRELEASEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalKHR (EGLDisplay dpy, EGLStreamKHR stream); -EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireKHR (EGLDisplay dpy, EGLStreamKHR stream); -EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLStreamKHR stream); -#endif -#endif /* EGL_KHR_stream */ -#endif /* EGL_KHR_stream_consumer_gltexture */ - -#ifndef EGL_KHR_stream_cross_process_fd -#define EGL_KHR_stream_cross_process_fd 1 -typedef int EGLNativeFileDescriptorKHR; -#ifdef EGL_KHR_stream -#define EGL_NO_FILE_DESCRIPTOR_KHR ((EGLNativeFileDescriptorKHR)(-1)) -typedef EGLNativeFileDescriptorKHR (EGLAPIENTRYP PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); -typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLNativeFileDescriptorKHR EGLAPIENTRY eglGetStreamFileDescriptorKHR (EGLDisplay dpy, EGLStreamKHR stream); -EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); -#endif -#endif /* EGL_KHR_stream */ -#endif /* EGL_KHR_stream_cross_process_fd */ - -#ifndef EGL_KHR_stream_fifo -#define EGL_KHR_stream_fifo 1 -#ifdef EGL_KHR_stream -#define EGL_STREAM_FIFO_LENGTH_KHR 0x31FC -#define EGL_STREAM_TIME_NOW_KHR 0x31FD -#define EGL_STREAM_TIME_CONSUMER_KHR 0x31FE -#define EGL_STREAM_TIME_PRODUCER_KHR 0x31FF -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMTIMEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamTimeKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value); -#endif -#endif /* EGL_KHR_stream */ -#endif /* EGL_KHR_stream_fifo */ - -#ifndef EGL_KHR_stream_producer_aldatalocator -#define EGL_KHR_stream_producer_aldatalocator 1 -#ifdef EGL_KHR_stream -#endif /* EGL_KHR_stream */ -#endif /* EGL_KHR_stream_producer_aldatalocator */ - -#ifndef EGL_KHR_stream_producer_eglsurface -#define EGL_KHR_stream_producer_eglsurface 1 -#ifdef EGL_KHR_stream -#define EGL_STREAM_BIT_KHR 0x0800 -typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC) (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list); -#endif -#endif /* EGL_KHR_stream */ -#endif /* EGL_KHR_stream_producer_eglsurface */ - -#ifndef EGL_KHR_surfaceless_context -#define EGL_KHR_surfaceless_context 1 -#endif /* EGL_KHR_surfaceless_context */ - -#ifndef EGL_KHR_swap_buffers_with_damage -#define EGL_KHR_swap_buffers_with_damage 1 -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); -#endif -#endif /* EGL_KHR_swap_buffers_with_damage */ - -#ifndef EGL_KHR_vg_parent_image -#define EGL_KHR_vg_parent_image 1 -#define EGL_VG_PARENT_IMAGE_KHR 0x30BA -#endif /* EGL_KHR_vg_parent_image */ - -#ifndef EGL_KHR_wait_sync -#define EGL_KHR_wait_sync 1 -typedef EGLint (EGLAPIENTRYP PFNEGLWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLint EGLAPIENTRY eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); -#endif -#endif /* EGL_KHR_wait_sync */ - -#ifndef EGL_ANDROID_blob_cache -#define EGL_ANDROID_blob_cache 1 -typedef khronos_ssize_t EGLsizeiANDROID; -typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize); -typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize); -typedef void (EGLAPIENTRYP PFNEGLSETBLOBCACHEFUNCSANDROIDPROC) (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); -#endif -#endif /* EGL_ANDROID_blob_cache */ - -#ifndef EGL_ANDROID_framebuffer_target -#define EGL_ANDROID_framebuffer_target 1 -#define EGL_FRAMEBUFFER_TARGET_ANDROID 0x3147 -#endif /* EGL_ANDROID_framebuffer_target */ - -#ifndef EGL_ANDROID_image_native_buffer -#define EGL_ANDROID_image_native_buffer 1 -#define EGL_NATIVE_BUFFER_ANDROID 0x3140 -#endif /* EGL_ANDROID_image_native_buffer */ - -#ifndef EGL_ANDROID_native_fence_sync -#define EGL_ANDROID_native_fence_sync 1 -#define EGL_SYNC_NATIVE_FENCE_ANDROID 0x3144 -#define EGL_SYNC_NATIVE_FENCE_FD_ANDROID 0x3145 -#define EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID 0x3146 -#define EGL_NO_NATIVE_FENCE_FD_ANDROID -1 -typedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC) (EGLDisplay dpy, EGLSyncKHR sync); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLint EGLAPIENTRY eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR sync); -#endif -#endif /* EGL_ANDROID_native_fence_sync */ - -#ifndef EGL_ANDROID_recordable -#define EGL_ANDROID_recordable 1 -#define EGL_RECORDABLE_ANDROID 0x3142 -#endif /* EGL_ANDROID_recordable */ - -#ifndef EGL_ANGLE_d3d_share_handle_client_buffer -#define EGL_ANGLE_d3d_share_handle_client_buffer 1 -#define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200 -#endif /* EGL_ANGLE_d3d_share_handle_client_buffer */ - -#ifndef EGL_ANGLE_device_d3d -#define EGL_ANGLE_device_d3d 1 -#define EGL_D3D9_DEVICE_ANGLE 0x33A0 -#define EGL_D3D11_DEVICE_ANGLE 0x33A1 -#endif /* EGL_ANGLE_device_d3d */ - -#ifndef EGL_ANGLE_query_surface_pointer -#define EGL_ANGLE_query_surface_pointer 1 -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value); -#endif -#endif /* EGL_ANGLE_query_surface_pointer */ - -#ifndef EGL_ANGLE_surface_d3d_texture_2d_share_handle -#define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1 -#endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */ - -#ifndef EGL_ANGLE_window_fixed_size -#define EGL_ANGLE_window_fixed_size 1 -#define EGL_FIXED_SIZE_ANGLE 0x3201 -#endif /* EGL_ANGLE_window_fixed_size */ - -#ifndef EGL_ARM_pixmap_multisample_discard -#define EGL_ARM_pixmap_multisample_discard 1 -#define EGL_DISCARD_SAMPLES_ARM 0x3286 -#endif /* EGL_ARM_pixmap_multisample_discard */ - -#ifndef EGL_EXT_buffer_age -#define EGL_EXT_buffer_age 1 -#define EGL_BUFFER_AGE_EXT 0x313D -#endif /* EGL_EXT_buffer_age */ - -#ifndef EGL_EXT_client_extensions -#define EGL_EXT_client_extensions 1 -#endif /* EGL_EXT_client_extensions */ - -#ifndef EGL_EXT_create_context_robustness -#define EGL_EXT_create_context_robustness 1 -#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF -#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138 -#define EGL_NO_RESET_NOTIFICATION_EXT 0x31BE -#define EGL_LOSE_CONTEXT_ON_RESET_EXT 0x31BF -#endif /* EGL_EXT_create_context_robustness */ - -#ifndef EGL_EXT_device_base -#define EGL_EXT_device_base 1 -typedef void *EGLDeviceEXT; -#define EGL_NO_DEVICE_EXT ((EGLDeviceEXT)(0)) -#define EGL_BAD_DEVICE_EXT 0x322B -#define EGL_DEVICE_EXT 0x322C -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICEATTRIBEXTPROC) (EGLDeviceEXT device, EGLint attribute, EGLAttrib *value); -typedef const char *(EGLAPIENTRYP PFNEGLQUERYDEVICESTRINGEXTPROC) (EGLDeviceEXT device, EGLint name); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devices, EGLint *num_devices); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBEXTPROC) (EGLDisplay dpy, EGLint attribute, EGLAttrib *value); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglQueryDeviceAttribEXT (EGLDeviceEXT device, EGLint attribute, EGLAttrib *value); -EGLAPI const char *EGLAPIENTRY eglQueryDeviceStringEXT (EGLDeviceEXT device, EGLint name); -EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint *num_devices); -EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint attribute, EGLAttrib *value); -#endif -#endif /* EGL_EXT_device_base */ - -#ifndef EGL_EXT_device_drm -#define EGL_EXT_device_drm 1 -#define EGL_DRM_DEVICE_FILE_EXT 0x3233 -#endif /* EGL_EXT_device_drm */ - -#ifndef EGL_EXT_device_enumeration -#define EGL_EXT_device_enumeration 1 -#endif /* EGL_EXT_device_enumeration */ - -#ifndef EGL_EXT_device_openwf -#define EGL_EXT_device_openwf 1 -#define EGL_OPENWF_DEVICE_ID_EXT 0x3237 -#endif /* EGL_EXT_device_openwf */ - -#ifndef EGL_EXT_device_query -#define EGL_EXT_device_query 1 -#endif /* EGL_EXT_device_query */ - -#ifndef EGL_EXT_image_dma_buf_import -#define EGL_EXT_image_dma_buf_import 1 -#define EGL_LINUX_DMA_BUF_EXT 0x3270 -#define EGL_LINUX_DRM_FOURCC_EXT 0x3271 -#define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272 -#define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273 -#define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274 -#define EGL_DMA_BUF_PLANE1_FD_EXT 0x3275 -#define EGL_DMA_BUF_PLANE1_OFFSET_EXT 0x3276 -#define EGL_DMA_BUF_PLANE1_PITCH_EXT 0x3277 -#define EGL_DMA_BUF_PLANE2_FD_EXT 0x3278 -#define EGL_DMA_BUF_PLANE2_OFFSET_EXT 0x3279 -#define EGL_DMA_BUF_PLANE2_PITCH_EXT 0x327A -#define EGL_YUV_COLOR_SPACE_HINT_EXT 0x327B -#define EGL_SAMPLE_RANGE_HINT_EXT 0x327C -#define EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT 0x327D -#define EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT 0x327E -#define EGL_ITU_REC601_EXT 0x327F -#define EGL_ITU_REC709_EXT 0x3280 -#define EGL_ITU_REC2020_EXT 0x3281 -#define EGL_YUV_FULL_RANGE_EXT 0x3282 -#define EGL_YUV_NARROW_RANGE_EXT 0x3283 -#define EGL_YUV_CHROMA_SITING_0_EXT 0x3284 -#define EGL_YUV_CHROMA_SITING_0_5_EXT 0x3285 -#endif /* EGL_EXT_image_dma_buf_import */ - -#ifndef EGL_EXT_multiview_window -#define EGL_EXT_multiview_window 1 -#define EGL_MULTIVIEW_VIEW_COUNT_EXT 0x3134 -#endif /* EGL_EXT_multiview_window */ - -#ifndef EGL_EXT_output_base -#define EGL_EXT_output_base 1 -typedef void *EGLOutputLayerEXT; -typedef void *EGLOutputPortEXT; -#define EGL_NO_OUTPUT_LAYER_EXT ((EGLOutputLayerEXT)0) -#define EGL_NO_OUTPUT_PORT_EXT ((EGLOutputPortEXT)0) -#define EGL_BAD_OUTPUT_LAYER_EXT 0x322D -#define EGL_BAD_OUTPUT_PORT_EXT 0x322E -#define EGL_SWAP_INTERVAL_EXT 0x322F -typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETOUTPUTLAYERSEXTPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputLayerEXT *layers, EGLint max_layers, EGLint *num_layers); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETOUTPUTPORTSEXTPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports, EGLint *num_ports); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib *value); -typedef const char *(EGLAPIENTRYP PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC) (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLOUTPUTPORTATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib *value); -typedef const char *(EGLAPIENTRYP PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC) (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglGetOutputLayersEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputLayerEXT *layers, EGLint max_layers, EGLint *num_layers); -EGLAPI EGLBoolean EGLAPIENTRY eglGetOutputPortsEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports, EGLint *num_ports); -EGLAPI EGLBoolean EGLAPIENTRY eglOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value); -EGLAPI EGLBoolean EGLAPIENTRY eglQueryOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib *value); -EGLAPI const char *EGLAPIENTRY eglQueryOutputLayerStringEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name); -EGLAPI EGLBoolean EGLAPIENTRY eglOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value); -EGLAPI EGLBoolean EGLAPIENTRY eglQueryOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib *value); -EGLAPI const char *EGLAPIENTRY eglQueryOutputPortStringEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name); -#endif -#endif /* EGL_EXT_output_base */ - -#ifndef EGL_EXT_output_drm -#define EGL_EXT_output_drm 1 -#define EGL_DRM_CRTC_EXT 0x3234 -#define EGL_DRM_PLANE_EXT 0x3235 -#define EGL_DRM_CONNECTOR_EXT 0x3236 -#endif /* EGL_EXT_output_drm */ - -#ifndef EGL_EXT_output_openwf -#define EGL_EXT_output_openwf 1 -#define EGL_OPENWF_PIPELINE_ID_EXT 0x3238 -#define EGL_OPENWF_PORT_ID_EXT 0x3239 -#endif /* EGL_EXT_output_openwf */ - -#ifndef EGL_EXT_platform_base -#define EGL_EXT_platform_base 1 -typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC) (EGLenum platform, void *native_display, const EGLint *attrib_list); -typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list); -typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplayEXT (EGLenum platform, void *native_display, const EGLint *attrib_list); -EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list); -EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list); -#endif -#endif /* EGL_EXT_platform_base */ - -#ifndef EGL_EXT_platform_device -#define EGL_EXT_platform_device 1 -#define EGL_PLATFORM_DEVICE_EXT 0x313F -#endif /* EGL_EXT_platform_device */ - -#ifndef EGL_EXT_platform_wayland -#define EGL_EXT_platform_wayland 1 -#define EGL_PLATFORM_WAYLAND_EXT 0x31D8 -#endif /* EGL_EXT_platform_wayland */ - -#ifndef EGL_EXT_platform_x11 -#define EGL_EXT_platform_x11 1 -#define EGL_PLATFORM_X11_EXT 0x31D5 -#define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6 -#endif /* EGL_EXT_platform_x11 */ - -#ifndef EGL_EXT_protected_surface -#define EGL_EXT_protected_surface 1 -#define EGL_PROTECTED_CONTENT_EXT 0x32C0 -#endif /* EGL_EXT_protected_surface */ - -#ifndef EGL_EXT_stream_consumer_egloutput -#define EGL_EXT_stream_consumer_egloutput 1 -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMEROUTPUTEXTPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer); -#endif -#endif /* EGL_EXT_stream_consumer_egloutput */ - -#ifndef EGL_EXT_swap_buffers_with_damage -#define EGL_EXT_swap_buffers_with_damage 1 -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); -#endif -#endif /* EGL_EXT_swap_buffers_with_damage */ - -#ifndef EGL_EXT_yuv_surface -#define EGL_EXT_yuv_surface 1 -#define EGL_YUV_ORDER_EXT 0x3301 -#define EGL_YUV_NUMBER_OF_PLANES_EXT 0x3311 -#define EGL_YUV_SUBSAMPLE_EXT 0x3312 -#define EGL_YUV_DEPTH_RANGE_EXT 0x3317 -#define EGL_YUV_CSC_STANDARD_EXT 0x330A -#define EGL_YUV_PLANE_BPP_EXT 0x331A -#define EGL_YUV_BUFFER_EXT 0x3300 -#define EGL_YUV_ORDER_YUV_EXT 0x3302 -#define EGL_YUV_ORDER_YVU_EXT 0x3303 -#define EGL_YUV_ORDER_YUYV_EXT 0x3304 -#define EGL_YUV_ORDER_UYVY_EXT 0x3305 -#define EGL_YUV_ORDER_YVYU_EXT 0x3306 -#define EGL_YUV_ORDER_VYUY_EXT 0x3307 -#define EGL_YUV_ORDER_AYUV_EXT 0x3308 -#define EGL_YUV_SUBSAMPLE_4_2_0_EXT 0x3313 -#define EGL_YUV_SUBSAMPLE_4_2_2_EXT 0x3314 -#define EGL_YUV_SUBSAMPLE_4_4_4_EXT 0x3315 -#define EGL_YUV_DEPTH_RANGE_LIMITED_EXT 0x3318 -#define EGL_YUV_DEPTH_RANGE_FULL_EXT 0x3319 -#define EGL_YUV_CSC_STANDARD_601_EXT 0x330B -#define EGL_YUV_CSC_STANDARD_709_EXT 0x330C -#define EGL_YUV_CSC_STANDARD_2020_EXT 0x330D -#define EGL_YUV_PLANE_BPP_0_EXT 0x331B -#define EGL_YUV_PLANE_BPP_8_EXT 0x331C -#define EGL_YUV_PLANE_BPP_10_EXT 0x331D -#endif /* EGL_EXT_yuv_surface */ - -#ifndef EGL_HI_clientpixmap -#define EGL_HI_clientpixmap 1 -struct EGLClientPixmapHI { - void *pData; - EGLint iWidth; - EGLint iHeight; - EGLint iStride; -}; -#define EGL_CLIENT_PIXMAP_POINTER_HI 0x8F74 -typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap); -#endif -#endif /* EGL_HI_clientpixmap */ - -#ifndef EGL_HI_colorformats -#define EGL_HI_colorformats 1 -#define EGL_COLOR_FORMAT_HI 0x8F70 -#define EGL_COLOR_RGB_HI 0x8F71 -#define EGL_COLOR_RGBA_HI 0x8F72 -#define EGL_COLOR_ARGB_HI 0x8F73 -#endif /* EGL_HI_colorformats */ - -#ifndef EGL_IMG_context_priority -#define EGL_IMG_context_priority 1 -#define EGL_CONTEXT_PRIORITY_LEVEL_IMG 0x3100 -#define EGL_CONTEXT_PRIORITY_HIGH_IMG 0x3101 -#define EGL_CONTEXT_PRIORITY_MEDIUM_IMG 0x3102 -#define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103 -#endif /* EGL_IMG_context_priority */ - -#ifndef EGL_MESA_drm_image -#define EGL_MESA_drm_image 1 -#define EGL_DRM_BUFFER_FORMAT_MESA 0x31D0 -#define EGL_DRM_BUFFER_USE_MESA 0x31D1 -#define EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2 -#define EGL_DRM_BUFFER_MESA 0x31D3 -#define EGL_DRM_BUFFER_STRIDE_MESA 0x31D4 -#define EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x00000001 -#define EGL_DRM_BUFFER_USE_SHARE_MESA 0x00000002 -typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay dpy, const EGLint *attrib_list); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDRMIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLImageKHR EGLAPIENTRY eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint *attrib_list); -EGLAPI EGLBoolean EGLAPIENTRY eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride); -#endif -#endif /* EGL_MESA_drm_image */ - -#ifndef EGL_MESA_image_dma_buf_export -#define EGL_MESA_image_dma_buf_export 1 -typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, EGLuint64KHR *modifiers); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDMABUFIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglExportDMABUFImageQueryMESA (EGLDisplay dpy, EGLImageKHR image, int *fourcc, int *num_planes, EGLuint64KHR *modifiers); -EGLAPI EGLBoolean EGLAPIENTRY eglExportDMABUFImageMESA (EGLDisplay dpy, EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets); -#endif -#endif /* EGL_MESA_image_dma_buf_export */ - -#ifndef EGL_MESA_platform_gbm -#define EGL_MESA_platform_gbm 1 -#define EGL_PLATFORM_GBM_MESA 0x31D7 -#endif /* EGL_MESA_platform_gbm */ - -#ifndef EGL_NOK_swap_region -#define EGL_NOK_swap_region 1 -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); -#endif -#endif /* EGL_NOK_swap_region */ - -#ifndef EGL_NOK_swap_region2 -#define EGL_NOK_swap_region2 1 -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGION2NOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); -#endif -#endif /* EGL_NOK_swap_region2 */ - -#ifndef EGL_NOK_texture_from_pixmap -#define EGL_NOK_texture_from_pixmap 1 -#define EGL_Y_INVERTED_NOK 0x307F -#endif /* EGL_NOK_texture_from_pixmap */ - -#ifndef EGL_NV_3dvision_surface -#define EGL_NV_3dvision_surface 1 -#define EGL_AUTO_STEREO_NV 0x3136 -#endif /* EGL_NV_3dvision_surface */ - -#ifndef EGL_NV_coverage_sample -#define EGL_NV_coverage_sample 1 -#define EGL_COVERAGE_BUFFERS_NV 0x30E0 -#define EGL_COVERAGE_SAMPLES_NV 0x30E1 -#endif /* EGL_NV_coverage_sample */ - -#ifndef EGL_NV_coverage_sample_resolve -#define EGL_NV_coverage_sample_resolve 1 -#define EGL_COVERAGE_SAMPLE_RESOLVE_NV 0x3131 -#define EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV 0x3132 -#define EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV 0x3133 -#endif /* EGL_NV_coverage_sample_resolve */ - -#ifndef EGL_NV_cuda_event -#define EGL_NV_cuda_event 1 -#define EGL_CUDA_EVENT_HANDLE_NV 0x323B -#define EGL_SYNC_CUDA_EVENT_NV 0x323C -#define EGL_SYNC_CUDA_EVENT_COMPLETE_NV 0x323D -#endif /* EGL_NV_cuda_event */ - -#ifndef EGL_NV_depth_nonlinear -#define EGL_NV_depth_nonlinear 1 -#define EGL_DEPTH_ENCODING_NV 0x30E2 -#define EGL_DEPTH_ENCODING_NONE_NV 0 -#define EGL_DEPTH_ENCODING_NONLINEAR_NV 0x30E3 -#endif /* EGL_NV_depth_nonlinear */ - -#ifndef EGL_NV_device_cuda -#define EGL_NV_device_cuda 1 -#define EGL_CUDA_DEVICE_NV 0x323A -#endif /* EGL_NV_device_cuda */ - -#ifndef EGL_NV_native_query -#define EGL_NV_native_query 1 -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEDISPLAYNVPROC) (EGLDisplay dpy, EGLNativeDisplayType *display_id); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEWINDOWNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeDisplayNV (EGLDisplay dpy, EGLNativeDisplayType *display_id); -EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window); -EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap); -#endif -#endif /* EGL_NV_native_query */ - -#ifndef EGL_NV_post_convert_rounding -#define EGL_NV_post_convert_rounding 1 -#endif /* EGL_NV_post_convert_rounding */ - -#ifndef EGL_NV_post_sub_buffer -#define EGL_NV_post_sub_buffer 1 -#define EGL_POST_SUB_BUFFER_SUPPORTED_NV 0x30BE -typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); -#endif -#endif /* EGL_NV_post_sub_buffer */ - -#ifndef EGL_NV_stream_consumer_gltexture_yuv -#define EGL_NV_stream_consumer_gltexture_yuv 1 -#define EGL_YUV_PLANE0_TEXTURE_UNIT_NV 0x332C -#define EGL_YUV_PLANE1_TEXTURE_UNIT_NV 0x332D -#define EGL_YUV_PLANE2_TEXTURE_UNIT_NV 0x332E -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLAttrib *attrib_list); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalAttribsNV (EGLDisplay dpy, EGLStreamKHR stream, EGLAttrib *attrib_list); -#endif -#endif /* EGL_NV_stream_consumer_gltexture_yuv */ - -#ifndef EGL_NV_stream_metadata -#define EGL_NV_stream_metadata 1 -#define EGL_MAX_STREAM_METADATA_BLOCKS_NV 0x3250 -#define EGL_MAX_STREAM_METADATA_BLOCK_SIZE_NV 0x3251 -#define EGL_MAX_STREAM_METADATA_TOTAL_SIZE_NV 0x3252 -#define EGL_PRODUCER_METADATA_NV 0x3253 -#define EGL_CONSUMER_METADATA_NV 0x3254 -#define EGL_PENDING_METADATA_NV 0x3328 -#define EGL_METADATA0_SIZE_NV 0x3255 -#define EGL_METADATA1_SIZE_NV 0x3256 -#define EGL_METADATA2_SIZE_NV 0x3257 -#define EGL_METADATA3_SIZE_NV 0x3258 -#define EGL_METADATA0_TYPE_NV 0x3259 -#define EGL_METADATA1_TYPE_NV 0x325A -#define EGL_METADATA2_TYPE_NV 0x325B -#define EGL_METADATA3_TYPE_NV 0x325C -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDISPLAYATTRIBNVPROC) (EGLDisplay dpy, EGLint attribute, EGLAttrib *value); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETSTREAMMETADATANVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLint n, EGLint offset, EGLint size, const void *data); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMMETADATANVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum name, EGLint n, EGLint offset, EGLint size, void *data); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribNV (EGLDisplay dpy, EGLint attribute, EGLAttrib *value); -EGLAPI EGLBoolean EGLAPIENTRY eglSetStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint n, EGLint offset, EGLint size, const void *data); -EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum name, EGLint n, EGLint offset, EGLint size, void *data); -#endif -#endif /* EGL_NV_stream_metadata */ - -#ifndef EGL_NV_stream_sync -#define EGL_NV_stream_sync 1 -#define EGL_SYNC_NEW_FRAME_NV 0x321F -typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESTREAMSYNCNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateStreamSyncNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list); -#endif -#endif /* EGL_NV_stream_sync */ - -#ifndef EGL_NV_sync -#define EGL_NV_sync 1 -typedef void *EGLSyncNV; -typedef khronos_utime_nanoseconds_t EGLTimeNV; -#ifdef KHRONOS_SUPPORT_INT64 -#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV 0x30E6 -#define EGL_SYNC_STATUS_NV 0x30E7 -#define EGL_SIGNALED_NV 0x30E8 -#define EGL_UNSIGNALED_NV 0x30E9 -#define EGL_SYNC_FLUSH_COMMANDS_BIT_NV 0x0001 -#define EGL_FOREVER_NV 0xFFFFFFFFFFFFFFFFull -#define EGL_ALREADY_SIGNALED_NV 0x30EA -#define EGL_TIMEOUT_EXPIRED_NV 0x30EB -#define EGL_CONDITION_SATISFIED_NV 0x30EC -#define EGL_SYNC_TYPE_NV 0x30ED -#define EGL_SYNC_CONDITION_NV 0x30EE -#define EGL_SYNC_FENCE_NV 0x30EF -#define EGL_NO_SYNC_NV ((EGLSyncNV)0) -typedef EGLSyncNV (EGLAPIENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCNVPROC) (EGLSyncNV sync); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLFENCENVPROC) (EGLSyncNV sync); -typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV sync, EGLenum mode); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLint *value); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLSyncNV EGLAPIENTRY eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list); -EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncNV (EGLSyncNV sync); -EGLAPI EGLBoolean EGLAPIENTRY eglFenceNV (EGLSyncNV sync); -EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); -EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncNV (EGLSyncNV sync, EGLenum mode); -EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint *value); -#endif -#endif /* KHRONOS_SUPPORT_INT64 */ -#endif /* EGL_NV_sync */ - -#ifndef EGL_NV_system_time -#define EGL_NV_system_time 1 -typedef khronos_utime_nanoseconds_t EGLuint64NV; -#ifdef KHRONOS_SUPPORT_INT64 -typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC) (void); -typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC) (void); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV (void); -EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void); -#endif -#endif /* KHRONOS_SUPPORT_INT64 */ -#endif /* EGL_NV_system_time */ - -#ifndef EGL_TIZEN_image_native_buffer -#define EGL_TIZEN_image_native_buffer 1 -#define EGL_NATIVE_BUFFER_TIZEN 0x32A0 -#endif /* EGL_TIZEN_image_native_buffer */ - -#ifndef EGL_TIZEN_image_native_surface -#define EGL_TIZEN_image_native_surface 1 -#define EGL_NATIVE_SURFACE_TIZEN 0x32A1 -#endif /* EGL_TIZEN_image_native_surface */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/khronos/repository/api/GL/glcorearb.h b/khronos/repository/api/GL/glcorearb.h deleted file mode 100644 index 7661df0..0000000 --- a/khronos/repository/api/GL/glcorearb.h +++ /dev/null @@ -1,3621 +0,0 @@ -#ifndef __glcorearb_h_ -#define __glcorearb_h_ 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2013-2015 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts -** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ -*/ - -#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) -#ifndef WIN32_LEAN_AND_MEAN -#define WIN32_LEAN_AND_MEAN 1 -#endif -#include -#endif - -#ifndef APIENTRY -#define APIENTRY -#endif -#ifndef APIENTRYP -#define APIENTRYP APIENTRY * -#endif -#ifndef GLAPI -#define GLAPI extern -#endif - -/* glcorearb.h is for use with OpenGL core profile implementations. -** It should should be placed in the same directory as gl.h and -** included as . -** -** glcorearb.h includes only APIs in the latest OpenGL core profile -** implementation together with APIs in newer ARB extensions which -** can be supported by the core profile. It does not, and never will -** include functionality removed from the core profile, such as -** fixed-function vertex and fragment processing. -** -** Do not #include both and either of or -** in the same source file. -*/ - -/* Generated C header for: - * API: gl - * Profile: core - * Versions considered: .* - * Versions emitted: .* - * Default extensions included: glcore - * Additional extensions included: _nomatch_^ - * Extensions removed: _nomatch_^ - */ - -#ifndef GL_VERSION_1_0 -#define GL_VERSION_1_0 1 -typedef void GLvoid; -typedef unsigned int GLenum; -typedef float GLfloat; -typedef int GLint; -typedef int GLsizei; -typedef unsigned int GLbitfield; -typedef double GLdouble; -typedef unsigned int GLuint; -typedef unsigned char GLboolean; -typedef unsigned char GLubyte; -typedef void (APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); -typedef void (APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width); -typedef void (APIENTRYP PFNGLPOINTSIZEPROC) (GLfloat size); -typedef void (APIENTRYP PFNGLPOLYGONMODEPROC) (GLenum face, GLenum mode); -typedef void (APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLTEXIMAGE1DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLDRAWBUFFERPROC) (GLenum buf); -typedef void (APIENTRYP PFNGLCLEARPROC) (GLbitfield mask); -typedef void (APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -typedef void (APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s); -typedef void (APIENTRYP PFNGLCLEARDEPTHPROC) (GLdouble depth); -typedef void (APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask); -typedef void (APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -typedef void (APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag); -typedef void (APIENTRYP PFNGLDISABLEPROC) (GLenum cap); -typedef void (APIENTRYP PFNGLENABLEPROC) (GLenum cap); -typedef void (APIENTRYP PFNGLFINISHPROC) (void); -typedef void (APIENTRYP PFNGLFLUSHPROC) (void); -typedef void (APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor); -typedef void (APIENTRYP PFNGLLOGICOPPROC) (GLenum opcode); -typedef void (APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); -typedef void (APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass); -typedef void (APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func); -typedef void (APIENTRYP PFNGLPIXELSTOREFPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLREADBUFFERPROC) (GLenum src); -typedef void (APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); -typedef void (APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data); -typedef void (APIENTRYP PFNGLGETDOUBLEVPROC) (GLenum pname, GLdouble *data); -typedef GLenum (APIENTRYP PFNGLGETERRORPROC) (void); -typedef void (APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data); -typedef void (APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data); -typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGPROC) (GLenum name); -typedef void (APIENTRYP PFNGLGETTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, void *pixels); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERFVPROC) (GLenum target, GLint level, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERIVPROC) (GLenum target, GLint level, GLenum pname, GLint *params); -typedef GLboolean (APIENTRYP PFNGLISENABLEDPROC) (GLenum cap); -typedef void (APIENTRYP PFNGLDEPTHRANGEPROC) (GLdouble near, GLdouble far); -typedef void (APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCullFace (GLenum mode); -GLAPI void APIENTRY glFrontFace (GLenum mode); -GLAPI void APIENTRY glHint (GLenum target, GLenum mode); -GLAPI void APIENTRY glLineWidth (GLfloat width); -GLAPI void APIENTRY glPointSize (GLfloat size); -GLAPI void APIENTRY glPolygonMode (GLenum face, GLenum mode); -GLAPI void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); -GLAPI void APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); -GLAPI void APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glDrawBuffer (GLenum buf); -GLAPI void APIENTRY glClear (GLbitfield mask); -GLAPI void APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GLAPI void APIENTRY glClearStencil (GLint s); -GLAPI void APIENTRY glClearDepth (GLdouble depth); -GLAPI void APIENTRY glStencilMask (GLuint mask); -GLAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -GLAPI void APIENTRY glDepthMask (GLboolean flag); -GLAPI void APIENTRY glDisable (GLenum cap); -GLAPI void APIENTRY glEnable (GLenum cap); -GLAPI void APIENTRY glFinish (void); -GLAPI void APIENTRY glFlush (void); -GLAPI void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); -GLAPI void APIENTRY glLogicOp (GLenum opcode); -GLAPI void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); -GLAPI void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); -GLAPI void APIENTRY glDepthFunc (GLenum func); -GLAPI void APIENTRY glPixelStoref (GLenum pname, GLfloat param); -GLAPI void APIENTRY glPixelStorei (GLenum pname, GLint param); -GLAPI void APIENTRY glReadBuffer (GLenum src); -GLAPI void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); -GLAPI void APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); -GLAPI void APIENTRY glGetDoublev (GLenum pname, GLdouble *data); -GLAPI GLenum APIENTRY glGetError (void); -GLAPI void APIENTRY glGetFloatv (GLenum pname, GLfloat *data); -GLAPI void APIENTRY glGetIntegerv (GLenum pname, GLint *data); -GLAPI const GLubyte *APIENTRY glGetString (GLenum name); -GLAPI void APIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, void *pixels); -GLAPI void APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params); -GLAPI GLboolean APIENTRY glIsEnabled (GLenum cap); -GLAPI void APIENTRY glDepthRange (GLdouble near, GLdouble far); -GLAPI void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); -#endif -#endif /* GL_VERSION_1_0 */ - -#ifndef GL_VERSION_1_1 -#define GL_VERSION_1_1 1 -typedef float GLclampf; -typedef double GLclampd; -#define GL_DEPTH_BUFFER_BIT 0x00000100 -#define GL_STENCIL_BUFFER_BIT 0x00000400 -#define GL_COLOR_BUFFER_BIT 0x00004000 -#define GL_FALSE 0 -#define GL_TRUE 1 -#define GL_POINTS 0x0000 -#define GL_LINES 0x0001 -#define GL_LINE_LOOP 0x0002 -#define GL_LINE_STRIP 0x0003 -#define GL_TRIANGLES 0x0004 -#define GL_TRIANGLE_STRIP 0x0005 -#define GL_TRIANGLE_FAN 0x0006 -#define GL_QUADS 0x0007 -#define GL_NEVER 0x0200 -#define GL_LESS 0x0201 -#define GL_EQUAL 0x0202 -#define GL_LEQUAL 0x0203 -#define GL_GREATER 0x0204 -#define GL_NOTEQUAL 0x0205 -#define GL_GEQUAL 0x0206 -#define GL_ALWAYS 0x0207 -#define GL_ZERO 0 -#define GL_ONE 1 -#define GL_SRC_COLOR 0x0300 -#define GL_ONE_MINUS_SRC_COLOR 0x0301 -#define GL_SRC_ALPHA 0x0302 -#define GL_ONE_MINUS_SRC_ALPHA 0x0303 -#define GL_DST_ALPHA 0x0304 -#define GL_ONE_MINUS_DST_ALPHA 0x0305 -#define GL_DST_COLOR 0x0306 -#define GL_ONE_MINUS_DST_COLOR 0x0307 -#define GL_SRC_ALPHA_SATURATE 0x0308 -#define GL_NONE 0 -#define GL_FRONT_LEFT 0x0400 -#define GL_FRONT_RIGHT 0x0401 -#define GL_BACK_LEFT 0x0402 -#define GL_BACK_RIGHT 0x0403 -#define GL_FRONT 0x0404 -#define GL_BACK 0x0405 -#define GL_LEFT 0x0406 -#define GL_RIGHT 0x0407 -#define GL_FRONT_AND_BACK 0x0408 -#define GL_NO_ERROR 0 -#define GL_INVALID_ENUM 0x0500 -#define GL_INVALID_VALUE 0x0501 -#define GL_INVALID_OPERATION 0x0502 -#define GL_OUT_OF_MEMORY 0x0505 -#define GL_CW 0x0900 -#define GL_CCW 0x0901 -#define GL_POINT_SIZE 0x0B11 -#define GL_POINT_SIZE_RANGE 0x0B12 -#define GL_POINT_SIZE_GRANULARITY 0x0B13 -#define GL_LINE_SMOOTH 0x0B20 -#define GL_LINE_WIDTH 0x0B21 -#define GL_LINE_WIDTH_RANGE 0x0B22 -#define GL_LINE_WIDTH_GRANULARITY 0x0B23 -#define GL_POLYGON_MODE 0x0B40 -#define GL_POLYGON_SMOOTH 0x0B41 -#define GL_CULL_FACE 0x0B44 -#define GL_CULL_FACE_MODE 0x0B45 -#define GL_FRONT_FACE 0x0B46 -#define GL_DEPTH_RANGE 0x0B70 -#define GL_DEPTH_TEST 0x0B71 -#define GL_DEPTH_WRITEMASK 0x0B72 -#define GL_DEPTH_CLEAR_VALUE 0x0B73 -#define GL_DEPTH_FUNC 0x0B74 -#define GL_STENCIL_TEST 0x0B90 -#define GL_STENCIL_CLEAR_VALUE 0x0B91 -#define GL_STENCIL_FUNC 0x0B92 -#define GL_STENCIL_VALUE_MASK 0x0B93 -#define GL_STENCIL_FAIL 0x0B94 -#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 -#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 -#define GL_STENCIL_REF 0x0B97 -#define GL_STENCIL_WRITEMASK 0x0B98 -#define GL_VIEWPORT 0x0BA2 -#define GL_DITHER 0x0BD0 -#define GL_BLEND_DST 0x0BE0 -#define GL_BLEND_SRC 0x0BE1 -#define GL_BLEND 0x0BE2 -#define GL_LOGIC_OP_MODE 0x0BF0 -#define GL_COLOR_LOGIC_OP 0x0BF2 -#define GL_DRAW_BUFFER 0x0C01 -#define GL_READ_BUFFER 0x0C02 -#define GL_SCISSOR_BOX 0x0C10 -#define GL_SCISSOR_TEST 0x0C11 -#define GL_COLOR_CLEAR_VALUE 0x0C22 -#define GL_COLOR_WRITEMASK 0x0C23 -#define GL_DOUBLEBUFFER 0x0C32 -#define GL_STEREO 0x0C33 -#define GL_LINE_SMOOTH_HINT 0x0C52 -#define GL_POLYGON_SMOOTH_HINT 0x0C53 -#define GL_UNPACK_SWAP_BYTES 0x0CF0 -#define GL_UNPACK_LSB_FIRST 0x0CF1 -#define GL_UNPACK_ROW_LENGTH 0x0CF2 -#define GL_UNPACK_SKIP_ROWS 0x0CF3 -#define GL_UNPACK_SKIP_PIXELS 0x0CF4 -#define GL_UNPACK_ALIGNMENT 0x0CF5 -#define GL_PACK_SWAP_BYTES 0x0D00 -#define GL_PACK_LSB_FIRST 0x0D01 -#define GL_PACK_ROW_LENGTH 0x0D02 -#define GL_PACK_SKIP_ROWS 0x0D03 -#define GL_PACK_SKIP_PIXELS 0x0D04 -#define GL_PACK_ALIGNMENT 0x0D05 -#define GL_MAX_TEXTURE_SIZE 0x0D33 -#define GL_MAX_VIEWPORT_DIMS 0x0D3A -#define GL_SUBPIXEL_BITS 0x0D50 -#define GL_TEXTURE_1D 0x0DE0 -#define GL_TEXTURE_2D 0x0DE1 -#define GL_POLYGON_OFFSET_UNITS 0x2A00 -#define GL_POLYGON_OFFSET_POINT 0x2A01 -#define GL_POLYGON_OFFSET_LINE 0x2A02 -#define GL_POLYGON_OFFSET_FILL 0x8037 -#define GL_POLYGON_OFFSET_FACTOR 0x8038 -#define GL_TEXTURE_BINDING_1D 0x8068 -#define GL_TEXTURE_BINDING_2D 0x8069 -#define GL_TEXTURE_WIDTH 0x1000 -#define GL_TEXTURE_HEIGHT 0x1001 -#define GL_TEXTURE_INTERNAL_FORMAT 0x1003 -#define GL_TEXTURE_BORDER_COLOR 0x1004 -#define GL_TEXTURE_RED_SIZE 0x805C -#define GL_TEXTURE_GREEN_SIZE 0x805D -#define GL_TEXTURE_BLUE_SIZE 0x805E -#define GL_TEXTURE_ALPHA_SIZE 0x805F -#define GL_DONT_CARE 0x1100 -#define GL_FASTEST 0x1101 -#define GL_NICEST 0x1102 -#define GL_BYTE 0x1400 -#define GL_UNSIGNED_BYTE 0x1401 -#define GL_SHORT 0x1402 -#define GL_UNSIGNED_SHORT 0x1403 -#define GL_INT 0x1404 -#define GL_UNSIGNED_INT 0x1405 -#define GL_FLOAT 0x1406 -#define GL_DOUBLE 0x140A -#define GL_STACK_OVERFLOW 0x0503 -#define GL_STACK_UNDERFLOW 0x0504 -#define GL_CLEAR 0x1500 -#define GL_AND 0x1501 -#define GL_AND_REVERSE 0x1502 -#define GL_COPY 0x1503 -#define GL_AND_INVERTED 0x1504 -#define GL_NOOP 0x1505 -#define GL_XOR 0x1506 -#define GL_OR 0x1507 -#define GL_NOR 0x1508 -#define GL_EQUIV 0x1509 -#define GL_INVERT 0x150A -#define GL_OR_REVERSE 0x150B -#define GL_COPY_INVERTED 0x150C -#define GL_OR_INVERTED 0x150D -#define GL_NAND 0x150E -#define GL_SET 0x150F -#define GL_TEXTURE 0x1702 -#define GL_COLOR 0x1800 -#define GL_DEPTH 0x1801 -#define GL_STENCIL 0x1802 -#define GL_STENCIL_INDEX 0x1901 -#define GL_DEPTH_COMPONENT 0x1902 -#define GL_RED 0x1903 -#define GL_GREEN 0x1904 -#define GL_BLUE 0x1905 -#define GL_ALPHA 0x1906 -#define GL_RGB 0x1907 -#define GL_RGBA 0x1908 -#define GL_POINT 0x1B00 -#define GL_LINE 0x1B01 -#define GL_FILL 0x1B02 -#define GL_KEEP 0x1E00 -#define GL_REPLACE 0x1E01 -#define GL_INCR 0x1E02 -#define GL_DECR 0x1E03 -#define GL_VENDOR 0x1F00 -#define GL_RENDERER 0x1F01 -#define GL_VERSION 0x1F02 -#define GL_EXTENSIONS 0x1F03 -#define GL_NEAREST 0x2600 -#define GL_LINEAR 0x2601 -#define GL_NEAREST_MIPMAP_NEAREST 0x2700 -#define GL_LINEAR_MIPMAP_NEAREST 0x2701 -#define GL_NEAREST_MIPMAP_LINEAR 0x2702 -#define GL_LINEAR_MIPMAP_LINEAR 0x2703 -#define GL_TEXTURE_MAG_FILTER 0x2800 -#define GL_TEXTURE_MIN_FILTER 0x2801 -#define GL_TEXTURE_WRAP_S 0x2802 -#define GL_TEXTURE_WRAP_T 0x2803 -#define GL_PROXY_TEXTURE_1D 0x8063 -#define GL_PROXY_TEXTURE_2D 0x8064 -#define GL_REPEAT 0x2901 -#define GL_R3_G3_B2 0x2A10 -#define GL_RGB4 0x804F -#define GL_RGB5 0x8050 -#define GL_RGB8 0x8051 -#define GL_RGB10 0x8052 -#define GL_RGB12 0x8053 -#define GL_RGB16 0x8054 -#define GL_RGBA2 0x8055 -#define GL_RGBA4 0x8056 -#define GL_RGB5_A1 0x8057 -#define GL_RGBA8 0x8058 -#define GL_RGB10_A2 0x8059 -#define GL_RGBA12 0x805A -#define GL_RGBA16 0x805B -#define GL_VERTEX_ARRAY 0x8074 -typedef void (APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count); -typedef void (APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices); -typedef void (APIENTRYP PFNGLGETPOINTERVPROC) (GLenum pname, void **params); -typedef void (APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units); -typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture); -typedef void (APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures); -typedef void (APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures); -typedef GLboolean (APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); -GLAPI void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); -GLAPI void APIENTRY glGetPointerv (GLenum pname, void **params); -GLAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); -GLAPI void APIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -GLAPI void APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -GLAPI void APIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -GLAPI void APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glBindTexture (GLenum target, GLuint texture); -GLAPI void APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); -GLAPI void APIENTRY glGenTextures (GLsizei n, GLuint *textures); -GLAPI GLboolean APIENTRY glIsTexture (GLuint texture); -#endif -#endif /* GL_VERSION_1_1 */ - -#ifndef GL_VERSION_1_2 -#define GL_VERSION_1_2 1 -#define GL_UNSIGNED_BYTE_3_3_2 0x8032 -#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 -#define GL_UNSIGNED_INT_8_8_8_8 0x8035 -#define GL_UNSIGNED_INT_10_10_10_2 0x8036 -#define GL_TEXTURE_BINDING_3D 0x806A -#define GL_PACK_SKIP_IMAGES 0x806B -#define GL_PACK_IMAGE_HEIGHT 0x806C -#define GL_UNPACK_SKIP_IMAGES 0x806D -#define GL_UNPACK_IMAGE_HEIGHT 0x806E -#define GL_TEXTURE_3D 0x806F -#define GL_PROXY_TEXTURE_3D 0x8070 -#define GL_TEXTURE_DEPTH 0x8071 -#define GL_TEXTURE_WRAP_R 0x8072 -#define GL_MAX_3D_TEXTURE_SIZE 0x8073 -#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 -#define GL_UNSIGNED_SHORT_5_6_5 0x8363 -#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 -#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 -#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 -#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 -#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 -#define GL_BGR 0x80E0 -#define GL_BGRA 0x80E1 -#define GL_MAX_ELEMENTS_VERTICES 0x80E8 -#define GL_MAX_ELEMENTS_INDICES 0x80E9 -#define GL_CLAMP_TO_EDGE 0x812F -#define GL_TEXTURE_MIN_LOD 0x813A -#define GL_TEXTURE_MAX_LOD 0x813B -#define GL_TEXTURE_BASE_LEVEL 0x813C -#define GL_TEXTURE_MAX_LEVEL 0x813D -#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 -#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 -#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 -#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 -#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); -typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); -GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -#endif -#endif /* GL_VERSION_1_2 */ - -#ifndef GL_VERSION_1_3 -#define GL_VERSION_1_3 1 -#define GL_TEXTURE0 0x84C0 -#define GL_TEXTURE1 0x84C1 -#define GL_TEXTURE2 0x84C2 -#define GL_TEXTURE3 0x84C3 -#define GL_TEXTURE4 0x84C4 -#define GL_TEXTURE5 0x84C5 -#define GL_TEXTURE6 0x84C6 -#define GL_TEXTURE7 0x84C7 -#define GL_TEXTURE8 0x84C8 -#define GL_TEXTURE9 0x84C9 -#define GL_TEXTURE10 0x84CA -#define GL_TEXTURE11 0x84CB -#define GL_TEXTURE12 0x84CC -#define GL_TEXTURE13 0x84CD -#define GL_TEXTURE14 0x84CE -#define GL_TEXTURE15 0x84CF -#define GL_TEXTURE16 0x84D0 -#define GL_TEXTURE17 0x84D1 -#define GL_TEXTURE18 0x84D2 -#define GL_TEXTURE19 0x84D3 -#define GL_TEXTURE20 0x84D4 -#define GL_TEXTURE21 0x84D5 -#define GL_TEXTURE22 0x84D6 -#define GL_TEXTURE23 0x84D7 -#define GL_TEXTURE24 0x84D8 -#define GL_TEXTURE25 0x84D9 -#define GL_TEXTURE26 0x84DA -#define GL_TEXTURE27 0x84DB -#define GL_TEXTURE28 0x84DC -#define GL_TEXTURE29 0x84DD -#define GL_TEXTURE30 0x84DE -#define GL_TEXTURE31 0x84DF -#define GL_ACTIVE_TEXTURE 0x84E0 -#define GL_MULTISAMPLE 0x809D -#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE 0x809F -#define GL_SAMPLE_COVERAGE 0x80A0 -#define GL_SAMPLE_BUFFERS 0x80A8 -#define GL_SAMPLES 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT 0x80AB -#define GL_TEXTURE_CUBE_MAP 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C -#define GL_COMPRESSED_RGB 0x84ED -#define GL_COMPRESSED_RGBA 0x84EE -#define GL_TEXTURE_COMPRESSION_HINT 0x84EF -#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 -#define GL_TEXTURE_COMPRESSED 0x86A1 -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 -#define GL_CLAMP_TO_BORDER 0x812D -typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glActiveTexture (GLenum texture); -GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); -GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img); -#endif -#endif /* GL_VERSION_1_3 */ - -#ifndef GL_VERSION_1_4 -#define GL_VERSION_1_4 1 -#define GL_BLEND_DST_RGB 0x80C8 -#define GL_BLEND_SRC_RGB 0x80C9 -#define GL_BLEND_DST_ALPHA 0x80CA -#define GL_BLEND_SRC_ALPHA 0x80CB -#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 -#define GL_DEPTH_COMPONENT16 0x81A5 -#define GL_DEPTH_COMPONENT24 0x81A6 -#define GL_DEPTH_COMPONENT32 0x81A7 -#define GL_MIRRORED_REPEAT 0x8370 -#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD -#define GL_TEXTURE_LOD_BIAS 0x8501 -#define GL_INCR_WRAP 0x8507 -#define GL_DECR_WRAP 0x8508 -#define GL_TEXTURE_DEPTH_SIZE 0x884A -#define GL_TEXTURE_COMPARE_MODE 0x884C -#define GL_TEXTURE_COMPARE_FUNC 0x884D -#define GL_FUNC_ADD 0x8006 -#define GL_FUNC_SUBTRACT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT 0x800B -#define GL_MIN 0x8007 -#define GL_MAX 0x8008 -#define GL_CONSTANT_COLOR 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 -#define GL_CONSTANT_ALPHA 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); -GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount); -GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param); -GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param); -GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params); -GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GLAPI void APIENTRY glBlendEquation (GLenum mode); -#endif -#endif /* GL_VERSION_1_4 */ - -#ifndef GL_VERSION_1_5 -#define GL_VERSION_1_5 1 -#include -typedef ptrdiff_t GLsizeiptr; -typedef ptrdiff_t GLintptr; -#define GL_BUFFER_SIZE 0x8764 -#define GL_BUFFER_USAGE 0x8765 -#define GL_QUERY_COUNTER_BITS 0x8864 -#define GL_CURRENT_QUERY 0x8865 -#define GL_QUERY_RESULT 0x8866 -#define GL_QUERY_RESULT_AVAILABLE 0x8867 -#define GL_ARRAY_BUFFER 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER 0x8893 -#define GL_ARRAY_BUFFER_BINDING 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F -#define GL_READ_ONLY 0x88B8 -#define GL_WRITE_ONLY 0x88B9 -#define GL_READ_WRITE 0x88BA -#define GL_BUFFER_ACCESS 0x88BB -#define GL_BUFFER_MAPPED 0x88BC -#define GL_BUFFER_MAP_POINTER 0x88BD -#define GL_STREAM_DRAW 0x88E0 -#define GL_STREAM_READ 0x88E1 -#define GL_STREAM_COPY 0x88E2 -#define GL_STATIC_DRAW 0x88E4 -#define GL_STATIC_READ 0x88E5 -#define GL_STATIC_COPY 0x88E6 -#define GL_DYNAMIC_DRAW 0x88E8 -#define GL_DYNAMIC_READ 0x88E9 -#define GL_DYNAMIC_COPY 0x88EA -#define GL_SAMPLES_PASSED 0x8914 -#define GL_SRC1_ALPHA 0x8589 -typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); -typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); -typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id); -typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); -typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target); -typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); -typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); -typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); -typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage); -typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); -typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data); -typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access); -typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target); -typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids); -GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids); -GLAPI GLboolean APIENTRY glIsQuery (GLuint id); -GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id); -GLAPI void APIENTRY glEndQuery (GLenum target); -GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params); -GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer); -GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); -GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); -GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer); -GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); -GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); -GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data); -GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access); -GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target); -GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params); -#endif -#endif /* GL_VERSION_1_5 */ - -#ifndef GL_VERSION_2_0 -#define GL_VERSION_2_0 1 -typedef char GLchar; -typedef short GLshort; -typedef signed char GLbyte; -typedef unsigned short GLushort; -#define GL_BLEND_EQUATION_RGB 0x8009 -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 -#define GL_CURRENT_VERTEX_ATTRIB 0x8626 -#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 -#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 -#define GL_STENCIL_BACK_FUNC 0x8800 -#define GL_STENCIL_BACK_FAIL 0x8801 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 -#define GL_MAX_DRAW_BUFFERS 0x8824 -#define GL_DRAW_BUFFER0 0x8825 -#define GL_DRAW_BUFFER1 0x8826 -#define GL_DRAW_BUFFER2 0x8827 -#define GL_DRAW_BUFFER3 0x8828 -#define GL_DRAW_BUFFER4 0x8829 -#define GL_DRAW_BUFFER5 0x882A -#define GL_DRAW_BUFFER6 0x882B -#define GL_DRAW_BUFFER7 0x882C -#define GL_DRAW_BUFFER8 0x882D -#define GL_DRAW_BUFFER9 0x882E -#define GL_DRAW_BUFFER10 0x882F -#define GL_DRAW_BUFFER11 0x8830 -#define GL_DRAW_BUFFER12 0x8831 -#define GL_DRAW_BUFFER13 0x8832 -#define GL_DRAW_BUFFER14 0x8833 -#define GL_DRAW_BUFFER15 0x8834 -#define GL_BLEND_EQUATION_ALPHA 0x883D -#define GL_MAX_VERTEX_ATTRIBS 0x8869 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A -#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 -#define GL_FRAGMENT_SHADER 0x8B30 -#define GL_VERTEX_SHADER 0x8B31 -#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 -#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A -#define GL_MAX_VARYING_FLOATS 0x8B4B -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D -#define GL_SHADER_TYPE 0x8B4F -#define GL_FLOAT_VEC2 0x8B50 -#define GL_FLOAT_VEC3 0x8B51 -#define GL_FLOAT_VEC4 0x8B52 -#define GL_INT_VEC2 0x8B53 -#define GL_INT_VEC3 0x8B54 -#define GL_INT_VEC4 0x8B55 -#define GL_BOOL 0x8B56 -#define GL_BOOL_VEC2 0x8B57 -#define GL_BOOL_VEC3 0x8B58 -#define GL_BOOL_VEC4 0x8B59 -#define GL_FLOAT_MAT2 0x8B5A -#define GL_FLOAT_MAT3 0x8B5B -#define GL_FLOAT_MAT4 0x8B5C -#define GL_SAMPLER_1D 0x8B5D -#define GL_SAMPLER_2D 0x8B5E -#define GL_SAMPLER_3D 0x8B5F -#define GL_SAMPLER_CUBE 0x8B60 -#define GL_SAMPLER_1D_SHADOW 0x8B61 -#define GL_SAMPLER_2D_SHADOW 0x8B62 -#define GL_DELETE_STATUS 0x8B80 -#define GL_COMPILE_STATUS 0x8B81 -#define GL_LINK_STATUS 0x8B82 -#define GL_VALIDATE_STATUS 0x8B83 -#define GL_INFO_LOG_LENGTH 0x8B84 -#define GL_ATTACHED_SHADERS 0x8B85 -#define GL_ACTIVE_UNIFORMS 0x8B86 -#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 -#define GL_SHADER_SOURCE_LENGTH 0x8B88 -#define GL_ACTIVE_ATTRIBUTES 0x8B89 -#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B -#define GL_SHADING_LANGUAGE_VERSION 0x8B8C -#define GL_CURRENT_PROGRAM 0x8B8D -#define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 -#define GL_LOWER_LEFT 0x8CA1 -#define GL_UPPER_LEFT 0x8CA2 -#define GL_STENCIL_BACK_REF 0x8CA3 -#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 -#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 -typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); -typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); -typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); -typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); -typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); -typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); -typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void); -typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); -typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); -typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); -typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); -typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); -typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); -typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); -typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer); -typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); -typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader); -typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); -typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); -typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); -typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); -typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); -typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); -typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); -GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs); -GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); -GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); -GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader); -GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); -GLAPI void APIENTRY glCompileShader (GLuint shader); -GLAPI GLuint APIENTRY glCreateProgram (void); -GLAPI GLuint APIENTRY glCreateShader (GLenum type); -GLAPI void APIENTRY glDeleteProgram (GLuint program); -GLAPI void APIENTRY glDeleteShader (GLuint shader); -GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader); -GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index); -GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index); -GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); -GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); -GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); -GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); -GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); -GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); -GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params); -GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); -GLAPI GLboolean APIENTRY glIsProgram (GLuint program); -GLAPI GLboolean APIENTRY glIsShader (GLuint shader); -GLAPI void APIENTRY glLinkProgram (GLuint program); -GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); -GLAPI void APIENTRY glUseProgram (GLuint program); -GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0); -GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); -GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -GLAPI void APIENTRY glUniform1i (GLint location, GLint v0); -GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); -GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); -GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glValidateProgram (GLuint program); -GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x); -GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); -GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x); -GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y); -GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); -GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y); -GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z); -GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v); -GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v); -GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v); -GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v); -GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v); -GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v); -GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); -#endif -#endif /* GL_VERSION_2_0 */ - -#ifndef GL_VERSION_2_1 -#define GL_VERSION_2_1 1 -#define GL_PIXEL_PACK_BUFFER 0x88EB -#define GL_PIXEL_UNPACK_BUFFER 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF -#define GL_FLOAT_MAT2x3 0x8B65 -#define GL_FLOAT_MAT2x4 0x8B66 -#define GL_FLOAT_MAT3x2 0x8B67 -#define GL_FLOAT_MAT3x4 0x8B68 -#define GL_FLOAT_MAT4x2 0x8B69 -#define GL_FLOAT_MAT4x3 0x8B6A -#define GL_SRGB 0x8C40 -#define GL_SRGB8 0x8C41 -#define GL_SRGB_ALPHA 0x8C42 -#define GL_SRGB8_ALPHA8 0x8C43 -#define GL_COMPRESSED_SRGB 0x8C48 -#define GL_COMPRESSED_SRGB_ALPHA 0x8C49 -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -#endif -#endif /* GL_VERSION_2_1 */ - -#ifndef GL_VERSION_3_0 -#define GL_VERSION_3_0 1 -typedef unsigned short GLhalf; -#define GL_COMPARE_REF_TO_TEXTURE 0x884E -#define GL_CLIP_DISTANCE0 0x3000 -#define GL_CLIP_DISTANCE1 0x3001 -#define GL_CLIP_DISTANCE2 0x3002 -#define GL_CLIP_DISTANCE3 0x3003 -#define GL_CLIP_DISTANCE4 0x3004 -#define GL_CLIP_DISTANCE5 0x3005 -#define GL_CLIP_DISTANCE6 0x3006 -#define GL_CLIP_DISTANCE7 0x3007 -#define GL_MAX_CLIP_DISTANCES 0x0D32 -#define GL_MAJOR_VERSION 0x821B -#define GL_MINOR_VERSION 0x821C -#define GL_NUM_EXTENSIONS 0x821D -#define GL_CONTEXT_FLAGS 0x821E -#define GL_COMPRESSED_RED 0x8225 -#define GL_COMPRESSED_RG 0x8226 -#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001 -#define GL_RGBA32F 0x8814 -#define GL_RGB32F 0x8815 -#define GL_RGBA16F 0x881A -#define GL_RGB16F 0x881B -#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD -#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF -#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 -#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 -#define GL_CLAMP_READ_COLOR 0x891C -#define GL_FIXED_ONLY 0x891D -#define GL_MAX_VARYING_COMPONENTS 0x8B4B -#define GL_TEXTURE_1D_ARRAY 0x8C18 -#define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19 -#define GL_TEXTURE_2D_ARRAY 0x8C1A -#define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B -#define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C -#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D -#define GL_R11F_G11F_B10F 0x8C3A -#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B -#define GL_RGB9_E5 0x8C3D -#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E -#define GL_TEXTURE_SHARED_SIZE 0x8C3F -#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 -#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 -#define GL_PRIMITIVES_GENERATED 0x8C87 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 -#define GL_RASTERIZER_DISCARD 0x8C89 -#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B -#define GL_INTERLEAVED_ATTRIBS 0x8C8C -#define GL_SEPARATE_ATTRIBS 0x8C8D -#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F -#define GL_RGBA32UI 0x8D70 -#define GL_RGB32UI 0x8D71 -#define GL_RGBA16UI 0x8D76 -#define GL_RGB16UI 0x8D77 -#define GL_RGBA8UI 0x8D7C -#define GL_RGB8UI 0x8D7D -#define GL_RGBA32I 0x8D82 -#define GL_RGB32I 0x8D83 -#define GL_RGBA16I 0x8D88 -#define GL_RGB16I 0x8D89 -#define GL_RGBA8I 0x8D8E -#define GL_RGB8I 0x8D8F -#define GL_RED_INTEGER 0x8D94 -#define GL_GREEN_INTEGER 0x8D95 -#define GL_BLUE_INTEGER 0x8D96 -#define GL_RGB_INTEGER 0x8D98 -#define GL_RGBA_INTEGER 0x8D99 -#define GL_BGR_INTEGER 0x8D9A -#define GL_BGRA_INTEGER 0x8D9B -#define GL_SAMPLER_1D_ARRAY 0x8DC0 -#define GL_SAMPLER_2D_ARRAY 0x8DC1 -#define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3 -#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 -#define GL_SAMPLER_CUBE_SHADOW 0x8DC5 -#define GL_UNSIGNED_INT_VEC2 0x8DC6 -#define GL_UNSIGNED_INT_VEC3 0x8DC7 -#define GL_UNSIGNED_INT_VEC4 0x8DC8 -#define GL_INT_SAMPLER_1D 0x8DC9 -#define GL_INT_SAMPLER_2D 0x8DCA -#define GL_INT_SAMPLER_3D 0x8DCB -#define GL_INT_SAMPLER_CUBE 0x8DCC -#define GL_INT_SAMPLER_1D_ARRAY 0x8DCE -#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF -#define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1 -#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 -#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 -#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 -#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6 -#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 -#define GL_QUERY_WAIT 0x8E13 -#define GL_QUERY_NO_WAIT 0x8E14 -#define GL_QUERY_BY_REGION_WAIT 0x8E15 -#define GL_QUERY_BY_REGION_NO_WAIT 0x8E16 -#define GL_BUFFER_ACCESS_FLAGS 0x911F -#define GL_BUFFER_MAP_LENGTH 0x9120 -#define GL_BUFFER_MAP_OFFSET 0x9121 -#define GL_DEPTH_COMPONENT32F 0x8CAC -#define GL_DEPTH32F_STENCIL8 0x8CAD -#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD -#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 -#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 -#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 -#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 -#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 -#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 -#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 -#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 -#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 -#define GL_FRAMEBUFFER_DEFAULT 0x8218 -#define GL_FRAMEBUFFER_UNDEFINED 0x8219 -#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A -#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 -#define GL_DEPTH_STENCIL 0x84F9 -#define GL_UNSIGNED_INT_24_8 0x84FA -#define GL_DEPTH24_STENCIL8 0x88F0 -#define GL_TEXTURE_STENCIL_SIZE 0x88F1 -#define GL_TEXTURE_RED_TYPE 0x8C10 -#define GL_TEXTURE_GREEN_TYPE 0x8C11 -#define GL_TEXTURE_BLUE_TYPE 0x8C12 -#define GL_TEXTURE_ALPHA_TYPE 0x8C13 -#define GL_TEXTURE_DEPTH_TYPE 0x8C16 -#define GL_UNSIGNED_NORMALIZED 0x8C17 -#define GL_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_RENDERBUFFER_BINDING 0x8CA7 -#define GL_READ_FRAMEBUFFER 0x8CA8 -#define GL_DRAW_FRAMEBUFFER 0x8CA9 -#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA -#define GL_RENDERBUFFER_SAMPLES 0x8CAB -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 -#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB -#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC -#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD -#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF -#define GL_COLOR_ATTACHMENT0 0x8CE0 -#define GL_COLOR_ATTACHMENT1 0x8CE1 -#define GL_COLOR_ATTACHMENT2 0x8CE2 -#define GL_COLOR_ATTACHMENT3 0x8CE3 -#define GL_COLOR_ATTACHMENT4 0x8CE4 -#define GL_COLOR_ATTACHMENT5 0x8CE5 -#define GL_COLOR_ATTACHMENT6 0x8CE6 -#define GL_COLOR_ATTACHMENT7 0x8CE7 -#define GL_COLOR_ATTACHMENT8 0x8CE8 -#define GL_COLOR_ATTACHMENT9 0x8CE9 -#define GL_COLOR_ATTACHMENT10 0x8CEA -#define GL_COLOR_ATTACHMENT11 0x8CEB -#define GL_COLOR_ATTACHMENT12 0x8CEC -#define GL_COLOR_ATTACHMENT13 0x8CED -#define GL_COLOR_ATTACHMENT14 0x8CEE -#define GL_COLOR_ATTACHMENT15 0x8CEF -#define GL_COLOR_ATTACHMENT16 0x8CF0 -#define GL_COLOR_ATTACHMENT17 0x8CF1 -#define GL_COLOR_ATTACHMENT18 0x8CF2 -#define GL_COLOR_ATTACHMENT19 0x8CF3 -#define GL_COLOR_ATTACHMENT20 0x8CF4 -#define GL_COLOR_ATTACHMENT21 0x8CF5 -#define GL_COLOR_ATTACHMENT22 0x8CF6 -#define GL_COLOR_ATTACHMENT23 0x8CF7 -#define GL_COLOR_ATTACHMENT24 0x8CF8 -#define GL_COLOR_ATTACHMENT25 0x8CF9 -#define GL_COLOR_ATTACHMENT26 0x8CFA -#define GL_COLOR_ATTACHMENT27 0x8CFB -#define GL_COLOR_ATTACHMENT28 0x8CFC -#define GL_COLOR_ATTACHMENT29 0x8CFD -#define GL_COLOR_ATTACHMENT30 0x8CFE -#define GL_COLOR_ATTACHMENT31 0x8CFF -#define GL_DEPTH_ATTACHMENT 0x8D00 -#define GL_STENCIL_ATTACHMENT 0x8D20 -#define GL_FRAMEBUFFER 0x8D40 -#define GL_RENDERBUFFER 0x8D41 -#define GL_RENDERBUFFER_WIDTH 0x8D42 -#define GL_RENDERBUFFER_HEIGHT 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 -#define GL_STENCIL_INDEX1 0x8D46 -#define GL_STENCIL_INDEX4 0x8D47 -#define GL_STENCIL_INDEX8 0x8D48 -#define GL_STENCIL_INDEX16 0x8D49 -#define GL_RENDERBUFFER_RED_SIZE 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 -#define GL_MAX_SAMPLES 0x8D57 -#define GL_FRAMEBUFFER_SRGB 0x8DB9 -#define GL_HALF_FLOAT 0x140B -#define GL_MAP_READ_BIT 0x0001 -#define GL_MAP_WRITE_BIT 0x0002 -#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 -#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 -#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 -#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 -#define GL_COMPRESSED_RED_RGTC1 0x8DBB -#define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC -#define GL_COMPRESSED_RG_RGTC2 0x8DBD -#define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE -#define GL_RG 0x8227 -#define GL_RG_INTEGER 0x8228 -#define GL_R8 0x8229 -#define GL_R16 0x822A -#define GL_RG8 0x822B -#define GL_RG16 0x822C -#define GL_R16F 0x822D -#define GL_R32F 0x822E -#define GL_RG16F 0x822F -#define GL_RG32F 0x8230 -#define GL_R8I 0x8231 -#define GL_R8UI 0x8232 -#define GL_R16I 0x8233 -#define GL_R16UI 0x8234 -#define GL_R32I 0x8235 -#define GL_R32UI 0x8236 -#define GL_RG8I 0x8237 -#define GL_RG8UI 0x8238 -#define GL_RG16I 0x8239 -#define GL_RG16UI 0x823A -#define GL_RG32I 0x823B -#define GL_RG32UI 0x823C -#define GL_VERTEX_ARRAY_BINDING 0x85B5 -typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data); -typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data); -typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index); -typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index); -typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index); -typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode); -typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); -typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); -typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp); -typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode); -typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void); -typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params); -typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name); -typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0); -typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1); -typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); -typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); -typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); -typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index); -typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); -typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers); -typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); -typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); -typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); -typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers); -typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); -typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target); -typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); -typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array); -typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays); -typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); -typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data); -GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data); -GLAPI void APIENTRY glEnablei (GLenum target, GLuint index); -GLAPI void APIENTRY glDisablei (GLenum target, GLuint index); -GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index); -GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode); -GLAPI void APIENTRY glEndTransformFeedback (void); -GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); -GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); -GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp); -GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode); -GLAPI void APIENTRY glEndConditionalRender (void); -GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params); -GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x); -GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y); -GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z); -GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); -GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x); -GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y); -GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z); -GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v); -GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v); -GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v); -GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params); -GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name); -GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name); -GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0); -GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); -GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); -GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params); -GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params); -GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value); -GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value); -GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value); -GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index); -GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer); -GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); -GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); -GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); -GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer); -GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); -GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); -GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); -GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target); -GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); -GLAPI void APIENTRY glGenerateMipmap (GLenum target); -GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); -GLAPI void APIENTRY glBindVertexArray (GLuint array); -GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays); -GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays); -GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array); -#endif -#endif /* GL_VERSION_3_0 */ - -#ifndef GL_VERSION_3_1 -#define GL_VERSION_3_1 1 -#define GL_SAMPLER_2D_RECT 0x8B63 -#define GL_SAMPLER_2D_RECT_SHADOW 0x8B64 -#define GL_SAMPLER_BUFFER 0x8DC2 -#define GL_INT_SAMPLER_2D_RECT 0x8DCD -#define GL_INT_SAMPLER_BUFFER 0x8DD0 -#define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5 -#define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8 -#define GL_TEXTURE_BUFFER 0x8C2A -#define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B -#define GL_TEXTURE_BINDING_BUFFER 0x8C2C -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D -#define GL_TEXTURE_RECTANGLE 0x84F5 -#define GL_TEXTURE_BINDING_RECTANGLE 0x84F6 -#define GL_PROXY_TEXTURE_RECTANGLE 0x84F7 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8 -#define GL_R8_SNORM 0x8F94 -#define GL_RG8_SNORM 0x8F95 -#define GL_RGB8_SNORM 0x8F96 -#define GL_RGBA8_SNORM 0x8F97 -#define GL_R16_SNORM 0x8F98 -#define GL_RG16_SNORM 0x8F99 -#define GL_RGB16_SNORM 0x8F9A -#define GL_RGBA16_SNORM 0x8F9B -#define GL_SIGNED_NORMALIZED 0x8F9C -#define GL_PRIMITIVE_RESTART 0x8F9D -#define GL_PRIMITIVE_RESTART_INDEX 0x8F9E -#define GL_COPY_READ_BUFFER 0x8F36 -#define GL_COPY_WRITE_BUFFER 0x8F37 -#define GL_UNIFORM_BUFFER 0x8A11 -#define GL_UNIFORM_BUFFER_BINDING 0x8A28 -#define GL_UNIFORM_BUFFER_START 0x8A29 -#define GL_UNIFORM_BUFFER_SIZE 0x8A2A -#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B -#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C -#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D -#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E -#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F -#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 -#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 -#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32 -#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 -#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 -#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 -#define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 -#define GL_UNIFORM_TYPE 0x8A37 -#define GL_UNIFORM_SIZE 0x8A38 -#define GL_UNIFORM_NAME_LENGTH 0x8A39 -#define GL_UNIFORM_BLOCK_INDEX 0x8A3A -#define GL_UNIFORM_OFFSET 0x8A3B -#define GL_UNIFORM_ARRAY_STRIDE 0x8A3C -#define GL_UNIFORM_MATRIX_STRIDE 0x8A3D -#define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E -#define GL_UNIFORM_BLOCK_BINDING 0x8A3F -#define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 -#define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 -#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 -#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 -#define GL_INVALID_INDEX 0xFFFFFFFFu -typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); -typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); -typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer); -typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index); -typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); -typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName); -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); -typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); -GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); -GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer); -GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index); -GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); -GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); -GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName); -GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); -GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); -#endif -#endif /* GL_VERSION_3_1 */ - -#ifndef GL_VERSION_3_2 -#define GL_VERSION_3_2 1 -typedef struct __GLsync *GLsync; -#ifndef GLEXT_64_TYPES_DEFINED -/* This code block is duplicated in glxext.h, so must be protected */ -#define GLEXT_64_TYPES_DEFINED -/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ -/* (as used in the GL_EXT_timer_query extension). */ -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -#include -#elif defined(__sun__) || defined(__digital__) -#include -#if defined(__STDC__) -#if defined(__arch64__) || defined(_LP64) -typedef long int int64_t; -typedef unsigned long int uint64_t; -#else -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#endif /* __arch64__ */ -#endif /* __STDC__ */ -#elif defined( __VMS ) || defined(__sgi) -#include -#elif defined(__SCO__) || defined(__USLC__) -#include -#elif defined(__UNIXOS2__) || defined(__SOL64__) -typedef long int int32_t; -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#elif defined(_WIN32) && defined(__GNUC__) -#include -#elif defined(_WIN32) -typedef __int32 int32_t; -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -#else -/* Fallback if nothing above works */ -#include -#endif -#endif -typedef uint64_t GLuint64; -typedef int64_t GLint64; -#define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 -#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 -#define GL_LINES_ADJACENCY 0x000A -#define GL_LINE_STRIP_ADJACENCY 0x000B -#define GL_TRIANGLES_ADJACENCY 0x000C -#define GL_TRIANGLE_STRIP_ADJACENCY 0x000D -#define GL_PROGRAM_POINT_SIZE 0x8642 -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8 -#define GL_GEOMETRY_SHADER 0x8DD9 -#define GL_GEOMETRY_VERTICES_OUT 0x8916 -#define GL_GEOMETRY_INPUT_TYPE 0x8917 -#define GL_GEOMETRY_OUTPUT_TYPE 0x8918 -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 -#define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 -#define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123 -#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124 -#define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 -#define GL_CONTEXT_PROFILE_MASK 0x9126 -#define GL_DEPTH_CLAMP 0x864F -#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C -#define GL_FIRST_VERTEX_CONVENTION 0x8E4D -#define GL_LAST_VERTEX_CONVENTION 0x8E4E -#define GL_PROVOKING_VERTEX 0x8E4F -#define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F -#define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 -#define GL_OBJECT_TYPE 0x9112 -#define GL_SYNC_CONDITION 0x9113 -#define GL_SYNC_STATUS 0x9114 -#define GL_SYNC_FLAGS 0x9115 -#define GL_SYNC_FENCE 0x9116 -#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 -#define GL_UNSIGNALED 0x9118 -#define GL_SIGNALED 0x9119 -#define GL_ALREADY_SIGNALED 0x911A -#define GL_TIMEOUT_EXPIRED 0x911B -#define GL_CONDITION_SATISFIED 0x911C -#define GL_WAIT_FAILED 0x911D -#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull -#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 -#define GL_SAMPLE_POSITION 0x8E50 -#define GL_SAMPLE_MASK 0x8E51 -#define GL_SAMPLE_MASK_VALUE 0x8E52 -#define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 -#define GL_TEXTURE_2D_MULTISAMPLE 0x9100 -#define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101 -#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 -#define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103 -#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 -#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105 -#define GL_TEXTURE_SAMPLES 0x9106 -#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 -#define GL_SAMPLER_2D_MULTISAMPLE 0x9108 -#define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 -#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A -#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B -#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C -#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D -#define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E -#define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F -#define GL_MAX_INTEGER_SAMPLES 0x9110 -typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); -typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); -typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode); -typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags); -typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync); -typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); -typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data); -typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); -typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val); -typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); -GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); -GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); -GLAPI void APIENTRY glProvokingVertex (GLenum mode); -GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags); -GLAPI GLboolean APIENTRY glIsSync (GLsync sync); -GLAPI void APIENTRY glDeleteSync (GLsync sync); -GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); -GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); -GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); -GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); -GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); -GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level); -GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val); -GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask); -#endif -#endif /* GL_VERSION_3_2 */ - -#ifndef GL_VERSION_3_3 -#define GL_VERSION_3_3 1 -#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE -#define GL_SRC1_COLOR 0x88F9 -#define GL_ONE_MINUS_SRC1_COLOR 0x88FA -#define GL_ONE_MINUS_SRC1_ALPHA 0x88FB -#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC -#define GL_ANY_SAMPLES_PASSED 0x8C2F -#define GL_SAMPLER_BINDING 0x8919 -#define GL_RGB10_A2UI 0x906F -#define GL_TEXTURE_SWIZZLE_R 0x8E42 -#define GL_TEXTURE_SWIZZLE_G 0x8E43 -#define GL_TEXTURE_SWIZZLE_B 0x8E44 -#define GL_TEXTURE_SWIZZLE_A 0x8E45 -#define GL_TEXTURE_SWIZZLE_RGBA 0x8E46 -#define GL_TIME_ELAPSED 0x88BF -#define GL_TIMESTAMP 0x8E28 -#define GL_INT_2_10_10_10_REV 0x8D9F -typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); -typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers); -typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers); -typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler); -typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler); -typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param); -typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param); -typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param); -typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param); -typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params); -typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); -GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name); -GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); -GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers); -GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler); -GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler); -GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); -GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param); -GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); -GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param); -GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param); -GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param); -GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params); -GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target); -GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params); -GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params); -GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor); -GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); -GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); -GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); -GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); -GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -#endif -#endif /* GL_VERSION_3_3 */ - -#ifndef GL_VERSION_4_0 -#define GL_VERSION_4_0 1 -#define GL_SAMPLE_SHADING 0x8C36 -#define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37 -#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E -#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F -#define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A -#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B -#define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C -#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D -#define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E -#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F -#define GL_DRAW_INDIRECT_BUFFER 0x8F3F -#define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 -#define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F -#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A -#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B -#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C -#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D -#define GL_MAX_VERTEX_STREAMS 0x8E71 -#define GL_DOUBLE_VEC2 0x8FFC -#define GL_DOUBLE_VEC3 0x8FFD -#define GL_DOUBLE_VEC4 0x8FFE -#define GL_DOUBLE_MAT2 0x8F46 -#define GL_DOUBLE_MAT3 0x8F47 -#define GL_DOUBLE_MAT4 0x8F48 -#define GL_DOUBLE_MAT2x3 0x8F49 -#define GL_DOUBLE_MAT2x4 0x8F4A -#define GL_DOUBLE_MAT3x2 0x8F4B -#define GL_DOUBLE_MAT3x4 0x8F4C -#define GL_DOUBLE_MAT4x2 0x8F4D -#define GL_DOUBLE_MAT4x3 0x8F4E -#define GL_ACTIVE_SUBROUTINES 0x8DE5 -#define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6 -#define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47 -#define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48 -#define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49 -#define GL_MAX_SUBROUTINES 0x8DE7 -#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8 -#define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A -#define GL_COMPATIBLE_SUBROUTINES 0x8E4B -#define GL_PATCHES 0x000E -#define GL_PATCH_VERTICES 0x8E72 -#define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73 -#define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74 -#define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75 -#define GL_TESS_GEN_MODE 0x8E76 -#define GL_TESS_GEN_SPACING 0x8E77 -#define GL_TESS_GEN_VERTEX_ORDER 0x8E78 -#define GL_TESS_GEN_POINT_MODE 0x8E79 -#define GL_ISOLINES 0x8E7A -#define GL_FRACTIONAL_ODD 0x8E7B -#define GL_FRACTIONAL_EVEN 0x8E7C -#define GL_MAX_PATCH_VERTICES 0x8E7D -#define GL_MAX_TESS_GEN_LEVEL 0x8E7E -#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F -#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80 -#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81 -#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82 -#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83 -#define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84 -#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85 -#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86 -#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89 -#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A -#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C -#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D -#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E -#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F -#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1 -#define GL_TESS_EVALUATION_SHADER 0x8E87 -#define GL_TESS_CONTROL_SHADER 0x8E88 -#define GL_TRANSFORM_FEEDBACK 0x8E22 -#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23 -#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24 -#define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 -#define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70 -typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value); -typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode); -typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst); -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect); -typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect); -typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x); -typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params); -typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name); -typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name); -typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); -typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); -typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); -typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices); -typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values); -typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value); -typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values); -typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id); -typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids); -typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids); -typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id); -typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void); -typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void); -typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id); -typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream); -typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id); -typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index); -typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMinSampleShading (GLfloat value); -GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode); -GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst); -GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect); -GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect); -GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x); -GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y); -GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params); -GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name); -GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name); -GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); -GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); -GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); -GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices); -GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params); -GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values); -GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value); -GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values); -GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id); -GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids); -GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids); -GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id); -GLAPI void APIENTRY glPauseTransformFeedback (void); -GLAPI void APIENTRY glResumeTransformFeedback (void); -GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id); -GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream); -GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id); -GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index); -GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params); -#endif -#endif /* GL_VERSION_4_0 */ - -#ifndef GL_VERSION_4_1 -#define GL_VERSION_4_1 1 -#define GL_FIXED 0x140C -#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B -#define GL_LOW_FLOAT 0x8DF0 -#define GL_MEDIUM_FLOAT 0x8DF1 -#define GL_HIGH_FLOAT 0x8DF2 -#define GL_LOW_INT 0x8DF3 -#define GL_MEDIUM_INT 0x8DF4 -#define GL_HIGH_INT 0x8DF5 -#define GL_SHADER_COMPILER 0x8DFA -#define GL_SHADER_BINARY_FORMATS 0x8DF8 -#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 -#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB -#define GL_MAX_VARYING_VECTORS 0x8DFC -#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD -#define GL_RGB565 0x8D62 -#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 -#define GL_PROGRAM_BINARY_LENGTH 0x8741 -#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE -#define GL_PROGRAM_BINARY_FORMATS 0x87FF -#define GL_VERTEX_SHADER_BIT 0x00000001 -#define GL_FRAGMENT_SHADER_BIT 0x00000002 -#define GL_GEOMETRY_SHADER_BIT 0x00000004 -#define GL_TESS_CONTROL_SHADER_BIT 0x00000008 -#define GL_TESS_EVALUATION_SHADER_BIT 0x00000010 -#define GL_ALL_SHADER_BITS 0xFFFFFFFF -#define GL_PROGRAM_SEPARABLE 0x8258 -#define GL_ACTIVE_PROGRAM 0x8259 -#define GL_PROGRAM_PIPELINE_BINDING 0x825A -#define GL_MAX_VIEWPORTS 0x825B -#define GL_VIEWPORT_SUBPIXEL_BITS 0x825C -#define GL_VIEWPORT_BOUNDS_RANGE 0x825D -#define GL_LAYER_PROVOKING_VERTEX 0x825E -#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F -#define GL_UNDEFINED_VERTEX 0x8260 -typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); -typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); -typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); -typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); -typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); -typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); -typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value); -typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program); -typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program); -typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings); -typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline); -typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines); -typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines); -typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline); -typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline); -typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); -typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v); -typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v); -typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f); -typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data); -typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glReleaseShaderCompiler (void); -GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); -GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); -GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f); -GLAPI void APIENTRY glClearDepthf (GLfloat d); -GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); -GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); -GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value); -GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program); -GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program); -GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings); -GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline); -GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines); -GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines); -GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline); -GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params); -GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0); -GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0); -GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0); -GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0); -GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1); -GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1); -GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1); -GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1); -GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); -GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); -GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline); -GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x); -GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y); -GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params); -GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v); -GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); -GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v); -GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); -GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v); -GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v); -GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f); -GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data); -GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data); -#endif -#endif /* GL_VERSION_4_1 */ - -#ifndef GL_VERSION_4_2 -#define GL_VERSION_4_2 1 -#define GL_COPY_READ_BUFFER_BINDING 0x8F36 -#define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 -#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 -#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 -#define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127 -#define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128 -#define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129 -#define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A -#define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B -#define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C -#define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D -#define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E -#define GL_NUM_SAMPLE_COUNTS 0x9380 -#define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC -#define GL_ATOMIC_COUNTER_BUFFER 0x92C0 -#define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1 -#define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2 -#define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3 -#define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4 -#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5 -#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB -#define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC -#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD -#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE -#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF -#define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0 -#define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1 -#define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2 -#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3 -#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4 -#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5 -#define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6 -#define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7 -#define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8 -#define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC -#define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9 -#define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA -#define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB -#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001 -#define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002 -#define GL_UNIFORM_BARRIER_BIT 0x00000004 -#define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008 -#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020 -#define GL_COMMAND_BARRIER_BIT 0x00000040 -#define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080 -#define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100 -#define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200 -#define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400 -#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800 -#define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000 -#define GL_ALL_BARRIER_BITS 0xFFFFFFFF -#define GL_MAX_IMAGE_UNITS 0x8F38 -#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39 -#define GL_IMAGE_BINDING_NAME 0x8F3A -#define GL_IMAGE_BINDING_LEVEL 0x8F3B -#define GL_IMAGE_BINDING_LAYERED 0x8F3C -#define GL_IMAGE_BINDING_LAYER 0x8F3D -#define GL_IMAGE_BINDING_ACCESS 0x8F3E -#define GL_IMAGE_1D 0x904C -#define GL_IMAGE_2D 0x904D -#define GL_IMAGE_3D 0x904E -#define GL_IMAGE_2D_RECT 0x904F -#define GL_IMAGE_CUBE 0x9050 -#define GL_IMAGE_BUFFER 0x9051 -#define GL_IMAGE_1D_ARRAY 0x9052 -#define GL_IMAGE_2D_ARRAY 0x9053 -#define GL_IMAGE_CUBE_MAP_ARRAY 0x9054 -#define GL_IMAGE_2D_MULTISAMPLE 0x9055 -#define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056 -#define GL_INT_IMAGE_1D 0x9057 -#define GL_INT_IMAGE_2D 0x9058 -#define GL_INT_IMAGE_3D 0x9059 -#define GL_INT_IMAGE_2D_RECT 0x905A -#define GL_INT_IMAGE_CUBE 0x905B -#define GL_INT_IMAGE_BUFFER 0x905C -#define GL_INT_IMAGE_1D_ARRAY 0x905D -#define GL_INT_IMAGE_2D_ARRAY 0x905E -#define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F -#define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060 -#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061 -#define GL_UNSIGNED_INT_IMAGE_1D 0x9062 -#define GL_UNSIGNED_INT_IMAGE_2D 0x9063 -#define GL_UNSIGNED_INT_IMAGE_3D 0x9064 -#define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065 -#define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066 -#define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067 -#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068 -#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069 -#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A -#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B -#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C -#define GL_MAX_IMAGE_SAMPLES 0x906D -#define GL_IMAGE_BINDING_FORMAT 0x906E -#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7 -#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8 -#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9 -#define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA -#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB -#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC -#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD -#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE -#define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF -#define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C -#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D -#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E -#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F -#define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F -typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); -typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); -typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); -typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); -typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); -typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers); -typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount); -typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); -GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); -GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); -GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); -GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); -GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); -GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers); -GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount); -GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount); -#endif -#endif /* GL_VERSION_4_2 */ - -#ifndef GL_VERSION_4_3 -#define GL_VERSION_4_3 1 -typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); -#define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9 -#define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E -#define GL_COMPRESSED_RGB8_ETC2 0x9274 -#define GL_COMPRESSED_SRGB8_ETC2 0x9275 -#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 -#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 -#define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 -#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 -#define GL_COMPRESSED_R11_EAC 0x9270 -#define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 -#define GL_COMPRESSED_RG11_EAC 0x9272 -#define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 -#define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 -#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A -#define GL_MAX_ELEMENT_INDEX 0x8D6B -#define GL_COMPUTE_SHADER 0x91B9 -#define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB -#define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC -#define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD -#define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262 -#define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263 -#define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264 -#define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265 -#define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266 -#define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB -#define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE -#define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF -#define GL_COMPUTE_WORK_GROUP_SIZE 0x8267 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED -#define GL_DISPATCH_INDIRECT_BUFFER 0x90EE -#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF -#define GL_COMPUTE_SHADER_BIT 0x00000020 -#define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 -#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 -#define GL_DEBUG_CALLBACK_FUNCTION 0x8244 -#define GL_DEBUG_CALLBACK_USER_PARAM 0x8245 -#define GL_DEBUG_SOURCE_API 0x8246 -#define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247 -#define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248 -#define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249 -#define GL_DEBUG_SOURCE_APPLICATION 0x824A -#define GL_DEBUG_SOURCE_OTHER 0x824B -#define GL_DEBUG_TYPE_ERROR 0x824C -#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D -#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E -#define GL_DEBUG_TYPE_PORTABILITY 0x824F -#define GL_DEBUG_TYPE_PERFORMANCE 0x8250 -#define GL_DEBUG_TYPE_OTHER 0x8251 -#define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143 -#define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144 -#define GL_DEBUG_LOGGED_MESSAGES 0x9145 -#define GL_DEBUG_SEVERITY_HIGH 0x9146 -#define GL_DEBUG_SEVERITY_MEDIUM 0x9147 -#define GL_DEBUG_SEVERITY_LOW 0x9148 -#define GL_DEBUG_TYPE_MARKER 0x8268 -#define GL_DEBUG_TYPE_PUSH_GROUP 0x8269 -#define GL_DEBUG_TYPE_POP_GROUP 0x826A -#define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B -#define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C -#define GL_DEBUG_GROUP_STACK_DEPTH 0x826D -#define GL_BUFFER 0x82E0 -#define GL_SHADER 0x82E1 -#define GL_PROGRAM 0x82E2 -#define GL_QUERY 0x82E3 -#define GL_PROGRAM_PIPELINE 0x82E4 -#define GL_SAMPLER 0x82E6 -#define GL_MAX_LABEL_LENGTH 0x82E8 -#define GL_DEBUG_OUTPUT 0x92E0 -#define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 -#define GL_MAX_UNIFORM_LOCATIONS 0x826E -#define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310 -#define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311 -#define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312 -#define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313 -#define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314 -#define GL_MAX_FRAMEBUFFER_WIDTH 0x9315 -#define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316 -#define GL_MAX_FRAMEBUFFER_LAYERS 0x9317 -#define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318 -#define GL_INTERNALFORMAT_SUPPORTED 0x826F -#define GL_INTERNALFORMAT_PREFERRED 0x8270 -#define GL_INTERNALFORMAT_RED_SIZE 0x8271 -#define GL_INTERNALFORMAT_GREEN_SIZE 0x8272 -#define GL_INTERNALFORMAT_BLUE_SIZE 0x8273 -#define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274 -#define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275 -#define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276 -#define GL_INTERNALFORMAT_SHARED_SIZE 0x8277 -#define GL_INTERNALFORMAT_RED_TYPE 0x8278 -#define GL_INTERNALFORMAT_GREEN_TYPE 0x8279 -#define GL_INTERNALFORMAT_BLUE_TYPE 0x827A -#define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B -#define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C -#define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D -#define GL_MAX_WIDTH 0x827E -#define GL_MAX_HEIGHT 0x827F -#define GL_MAX_DEPTH 0x8280 -#define GL_MAX_LAYERS 0x8281 -#define GL_MAX_COMBINED_DIMENSIONS 0x8282 -#define GL_COLOR_COMPONENTS 0x8283 -#define GL_DEPTH_COMPONENTS 0x8284 -#define GL_STENCIL_COMPONENTS 0x8285 -#define GL_COLOR_RENDERABLE 0x8286 -#define GL_DEPTH_RENDERABLE 0x8287 -#define GL_STENCIL_RENDERABLE 0x8288 -#define GL_FRAMEBUFFER_RENDERABLE 0x8289 -#define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A -#define GL_FRAMEBUFFER_BLEND 0x828B -#define GL_READ_PIXELS 0x828C -#define GL_READ_PIXELS_FORMAT 0x828D -#define GL_READ_PIXELS_TYPE 0x828E -#define GL_TEXTURE_IMAGE_FORMAT 0x828F -#define GL_TEXTURE_IMAGE_TYPE 0x8290 -#define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291 -#define GL_GET_TEXTURE_IMAGE_TYPE 0x8292 -#define GL_MIPMAP 0x8293 -#define GL_MANUAL_GENERATE_MIPMAP 0x8294 -#define GL_AUTO_GENERATE_MIPMAP 0x8295 -#define GL_COLOR_ENCODING 0x8296 -#define GL_SRGB_READ 0x8297 -#define GL_SRGB_WRITE 0x8298 -#define GL_FILTER 0x829A -#define GL_VERTEX_TEXTURE 0x829B -#define GL_TESS_CONTROL_TEXTURE 0x829C -#define GL_TESS_EVALUATION_TEXTURE 0x829D -#define GL_GEOMETRY_TEXTURE 0x829E -#define GL_FRAGMENT_TEXTURE 0x829F -#define GL_COMPUTE_TEXTURE 0x82A0 -#define GL_TEXTURE_SHADOW 0x82A1 -#define GL_TEXTURE_GATHER 0x82A2 -#define GL_TEXTURE_GATHER_SHADOW 0x82A3 -#define GL_SHADER_IMAGE_LOAD 0x82A4 -#define GL_SHADER_IMAGE_STORE 0x82A5 -#define GL_SHADER_IMAGE_ATOMIC 0x82A6 -#define GL_IMAGE_TEXEL_SIZE 0x82A7 -#define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8 -#define GL_IMAGE_PIXEL_FORMAT 0x82A9 -#define GL_IMAGE_PIXEL_TYPE 0x82AA -#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC -#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD -#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE -#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF -#define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1 -#define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2 -#define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3 -#define GL_CLEAR_BUFFER 0x82B4 -#define GL_TEXTURE_VIEW 0x82B5 -#define GL_VIEW_COMPATIBILITY_CLASS 0x82B6 -#define GL_FULL_SUPPORT 0x82B7 -#define GL_CAVEAT_SUPPORT 0x82B8 -#define GL_IMAGE_CLASS_4_X_32 0x82B9 -#define GL_IMAGE_CLASS_2_X_32 0x82BA -#define GL_IMAGE_CLASS_1_X_32 0x82BB -#define GL_IMAGE_CLASS_4_X_16 0x82BC -#define GL_IMAGE_CLASS_2_X_16 0x82BD -#define GL_IMAGE_CLASS_1_X_16 0x82BE -#define GL_IMAGE_CLASS_4_X_8 0x82BF -#define GL_IMAGE_CLASS_2_X_8 0x82C0 -#define GL_IMAGE_CLASS_1_X_8 0x82C1 -#define GL_IMAGE_CLASS_11_11_10 0x82C2 -#define GL_IMAGE_CLASS_10_10_10_2 0x82C3 -#define GL_VIEW_CLASS_128_BITS 0x82C4 -#define GL_VIEW_CLASS_96_BITS 0x82C5 -#define GL_VIEW_CLASS_64_BITS 0x82C6 -#define GL_VIEW_CLASS_48_BITS 0x82C7 -#define GL_VIEW_CLASS_32_BITS 0x82C8 -#define GL_VIEW_CLASS_24_BITS 0x82C9 -#define GL_VIEW_CLASS_16_BITS 0x82CA -#define GL_VIEW_CLASS_8_BITS 0x82CB -#define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC -#define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD -#define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE -#define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF -#define GL_VIEW_CLASS_RGTC1_RED 0x82D0 -#define GL_VIEW_CLASS_RGTC2_RG 0x82D1 -#define GL_VIEW_CLASS_BPTC_UNORM 0x82D2 -#define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3 -#define GL_UNIFORM 0x92E1 -#define GL_UNIFORM_BLOCK 0x92E2 -#define GL_PROGRAM_INPUT 0x92E3 -#define GL_PROGRAM_OUTPUT 0x92E4 -#define GL_BUFFER_VARIABLE 0x92E5 -#define GL_SHADER_STORAGE_BLOCK 0x92E6 -#define GL_VERTEX_SUBROUTINE 0x92E8 -#define GL_TESS_CONTROL_SUBROUTINE 0x92E9 -#define GL_TESS_EVALUATION_SUBROUTINE 0x92EA -#define GL_GEOMETRY_SUBROUTINE 0x92EB -#define GL_FRAGMENT_SUBROUTINE 0x92EC -#define GL_COMPUTE_SUBROUTINE 0x92ED -#define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE -#define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF -#define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0 -#define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1 -#define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2 -#define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3 -#define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4 -#define GL_ACTIVE_RESOURCES 0x92F5 -#define GL_MAX_NAME_LENGTH 0x92F6 -#define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7 -#define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8 -#define GL_NAME_LENGTH 0x92F9 -#define GL_TYPE 0x92FA -#define GL_ARRAY_SIZE 0x92FB -#define GL_OFFSET 0x92FC -#define GL_BLOCK_INDEX 0x92FD -#define GL_ARRAY_STRIDE 0x92FE -#define GL_MATRIX_STRIDE 0x92FF -#define GL_IS_ROW_MAJOR 0x9300 -#define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301 -#define GL_BUFFER_BINDING 0x9302 -#define GL_BUFFER_DATA_SIZE 0x9303 -#define GL_NUM_ACTIVE_VARIABLES 0x9304 -#define GL_ACTIVE_VARIABLES 0x9305 -#define GL_REFERENCED_BY_VERTEX_SHADER 0x9306 -#define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307 -#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308 -#define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309 -#define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A -#define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B -#define GL_TOP_LEVEL_ARRAY_SIZE 0x930C -#define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D -#define GL_LOCATION 0x930E -#define GL_LOCATION_INDEX 0x930F -#define GL_IS_PER_PATCH 0x92E7 -#define GL_SHADER_STORAGE_BUFFER 0x90D2 -#define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3 -#define GL_SHADER_STORAGE_BUFFER_START 0x90D4 -#define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5 -#define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6 -#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7 -#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8 -#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9 -#define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA -#define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB -#define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC -#define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD -#define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE -#define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF -#define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000 -#define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39 -#define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA -#define GL_TEXTURE_BUFFER_OFFSET 0x919D -#define GL_TEXTURE_BUFFER_SIZE 0x919E -#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F -#define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB -#define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC -#define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD -#define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE -#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF -#define GL_VERTEX_ATTRIB_BINDING 0x82D4 -#define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5 -#define GL_VERTEX_BINDING_DIVISOR 0x82D6 -#define GL_VERTEX_BINDING_OFFSET 0x82D7 -#define GL_VERTEX_BINDING_STRIDE 0x82D8 -#define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9 -#define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA -#define GL_VERTEX_BINDING_BUFFER 0x8F4F -typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data); -typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); -typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); -typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect); -typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); -typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); -typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); -typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); -typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); -typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); -typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params); -typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); -typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); -typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); -typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name); -typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); -typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); -typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); -typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex); -typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor); -typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); -typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); -typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam); -typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); -typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); -typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void); -typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); -typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); -typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label); -typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data); -GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); -GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); -GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect); -GLAPI void APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); -GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param); -GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); -GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); -GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level); -GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length); -GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer); -GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments); -GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); -GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); -GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params); -GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name); -GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); -GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); -GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name); -GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name); -GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); -GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); -GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex); -GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor); -GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); -GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); -GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam); -GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); -GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message); -GLAPI void APIENTRY glPopDebugGroup (void); -GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); -GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); -GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label); -GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); -#endif -#endif /* GL_VERSION_4_3 */ - -#ifndef GL_VERSION_4_4 -#define GL_VERSION_4_4 1 -#define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5 -#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221 -#define GL_TEXTURE_BUFFER_BINDING 0x8C2A -#define GL_MAP_PERSISTENT_BIT 0x0040 -#define GL_MAP_COHERENT_BIT 0x0080 -#define GL_DYNAMIC_STORAGE_BIT 0x0100 -#define GL_CLIENT_STORAGE_BIT 0x0200 -#define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000 -#define GL_BUFFER_IMMUTABLE_STORAGE 0x821F -#define GL_BUFFER_STORAGE_FLAGS 0x8220 -#define GL_CLEAR_TEXTURE 0x9365 -#define GL_LOCATION_COMPONENT 0x934A -#define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B -#define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C -#define GL_QUERY_BUFFER 0x9192 -#define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000 -#define GL_QUERY_BUFFER_BINDING 0x9193 -#define GL_QUERY_RESULT_NO_WAIT 0x9194 -#define GL_MIRROR_CLAMP_TO_EDGE 0x8743 -typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); -typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); -typedef void (APIENTRYP PFNGLCLEARTEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); -typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers); -typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes); -typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures); -typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers); -typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures); -typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); -GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); -GLAPI void APIENTRY glClearTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); -GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers); -GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes); -GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures); -GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers); -GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures); -GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); -#endif -#endif /* GL_VERSION_4_4 */ - -#ifndef GL_VERSION_4_5 -#define GL_VERSION_4_5 1 -#define GL_CONTEXT_LOST 0x0507 -#define GL_NEGATIVE_ONE_TO_ONE 0x935E -#define GL_ZERO_TO_ONE 0x935F -#define GL_CLIP_ORIGIN 0x935C -#define GL_CLIP_DEPTH_MODE 0x935D -#define GL_QUERY_WAIT_INVERTED 0x8E17 -#define GL_QUERY_NO_WAIT_INVERTED 0x8E18 -#define GL_QUERY_BY_REGION_WAIT_INVERTED 0x8E19 -#define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A -#define GL_MAX_CULL_DISTANCES 0x82F9 -#define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA -#define GL_TEXTURE_TARGET 0x1006 -#define GL_QUERY_TARGET 0x82EA -#define GL_GUILTY_CONTEXT_RESET 0x8253 -#define GL_INNOCENT_CONTEXT_RESET 0x8254 -#define GL_UNKNOWN_CONTEXT_RESET 0x8255 -#define GL_RESET_NOTIFICATION_STRATEGY 0x8256 -#define GL_LOSE_CONTEXT_ON_RESET 0x8252 -#define GL_NO_RESET_NOTIFICATION 0x8261 -#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004 -#define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB -#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC -typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth); -typedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids); -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer); -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param); -typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param); -typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param); -typedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers); -typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); -typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); -typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); -typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); -typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); -typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access); -typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); -typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params); -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params); -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); -typedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC) (GLuint framebuffer, GLenum src); -typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments); -typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value); -typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value); -typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value); -typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -typedef void (APIENTRYP PFNGLBLITNAMEDFRAMEBUFFERPROC) (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target); -typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param); -typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLCREATERENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); -typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures); -typedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer); -typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFPROC) (GLuint texture, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, const GLfloat *param); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIPROC) (GLuint texture, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, const GLuint *params); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, const GLint *param); -typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPPROC) (GLuint texture); -typedef void (APIENTRYP PFNGLBINDTEXTUREUNITPROC) (GLuint unit, GLuint texture); -typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLsizei bufSize, void *pixels); -typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVPROC) (GLuint texture, GLint level, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVPROC) (GLuint texture, GLint level, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLCREATEVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); -typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index); -typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index); -typedef void (APIENTRYP PFNGLVERTEXARRAYELEMENTBUFFERPROC) (GLuint vaobj, GLuint buffer); -typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERSPROC) (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); -typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBBINDINGPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex); -typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBIFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBLFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -typedef void (APIENTRYP PFNGLVERTEXARRAYBINDINGDIVISORPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor); -typedef void (APIENTRYP PFNGLGETVERTEXARRAYIVPROC) (GLuint vaobj, GLenum pname, GLint *param); -typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXEDIVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param); -typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXED64IVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param); -typedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers); -typedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines); -typedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids); -typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -typedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers); -typedef void (APIENTRYP PFNGLGETTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels); -typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void); -typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, void *pixels); -typedef void (APIENTRYP PFNGLGETNTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); -typedef void (APIENTRYP PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); -typedef void (APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); -typedef void (APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); -typedef void (APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); -typedef void (APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth); -GLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids); -GLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer); -GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param); -GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param); -GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param); -GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers); -GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); -GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); -GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); -GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -GLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); -GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); -GLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access); -GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); -GLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer); -GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length); -GLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params); -GLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params); -GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); -GLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers); -GLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -GLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param); -GLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); -GLAPI void APIENTRY glNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); -GLAPI void APIENTRY glNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf); -GLAPI void APIENTRY glNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs); -GLAPI void APIENTRY glNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src); -GLAPI void APIENTRY glInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments); -GLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value); -GLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value); -GLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value); -GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -GLAPI void APIENTRY glBlitNamedFramebuffer (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -GLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target); -GLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param); -GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); -GLAPI void APIENTRY glCreateRenderbuffers (GLsizei n, GLuint *renderbuffers); -GLAPI void APIENTRY glNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params); -GLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures); -GLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer); -GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -GLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width); -GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -GLAPI void APIENTRY glTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -GLAPI void APIENTRY glTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -GLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -GLAPI void APIENTRY glCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glTextureParameterf (GLuint texture, GLenum pname, GLfloat param); -GLAPI void APIENTRY glTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param); -GLAPI void APIENTRY glTextureParameteri (GLuint texture, GLenum pname, GLint param); -GLAPI void APIENTRY glTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params); -GLAPI void APIENTRY glTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params); -GLAPI void APIENTRY glTextureParameteriv (GLuint texture, GLenum pname, const GLint *param); -GLAPI void APIENTRY glGenerateTextureMipmap (GLuint texture); -GLAPI void APIENTRY glBindTextureUnit (GLuint unit, GLuint texture); -GLAPI void APIENTRY glGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); -GLAPI void APIENTRY glGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels); -GLAPI void APIENTRY glGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params); -GLAPI void APIENTRY glGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params); -GLAPI void APIENTRY glCreateVertexArrays (GLsizei n, GLuint *arrays); -GLAPI void APIENTRY glDisableVertexArrayAttrib (GLuint vaobj, GLuint index); -GLAPI void APIENTRY glEnableVertexArrayAttrib (GLuint vaobj, GLuint index); -GLAPI void APIENTRY glVertexArrayElementBuffer (GLuint vaobj, GLuint buffer); -GLAPI void APIENTRY glVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -GLAPI void APIENTRY glVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); -GLAPI void APIENTRY glVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex); -GLAPI void APIENTRY glVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -GLAPI void APIENTRY glVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -GLAPI void APIENTRY glVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -GLAPI void APIENTRY glVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor); -GLAPI void APIENTRY glGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param); -GLAPI void APIENTRY glGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param); -GLAPI void APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param); -GLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers); -GLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines); -GLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids); -GLAPI void APIENTRY glGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -GLAPI void APIENTRY glGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -GLAPI void APIENTRY glGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -GLAPI void APIENTRY glGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -GLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers); -GLAPI void APIENTRY glGetTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels); -GLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels); -GLAPI GLenum APIENTRY glGetGraphicsResetStatus (void); -GLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels); -GLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); -GLAPI void APIENTRY glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); -GLAPI void APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); -GLAPI void APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params); -GLAPI void APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params); -GLAPI void APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -GLAPI void APIENTRY glTextureBarrier (void); -#endif -#endif /* GL_VERSION_4_5 */ - -#ifndef GL_ARB_ES2_compatibility -#define GL_ARB_ES2_compatibility 1 -#endif /* GL_ARB_ES2_compatibility */ - -#ifndef GL_ARB_ES3_1_compatibility -#define GL_ARB_ES3_1_compatibility 1 -#endif /* GL_ARB_ES3_1_compatibility */ - -#ifndef GL_ARB_ES3_compatibility -#define GL_ARB_ES3_compatibility 1 -#endif /* GL_ARB_ES3_compatibility */ - -#ifndef GL_ARB_arrays_of_arrays -#define GL_ARB_arrays_of_arrays 1 -#endif /* GL_ARB_arrays_of_arrays */ - -#ifndef GL_ARB_base_instance -#define GL_ARB_base_instance 1 -#endif /* GL_ARB_base_instance */ - -#ifndef GL_ARB_bindless_texture -#define GL_ARB_bindless_texture 1 -typedef uint64_t GLuint64EXT; -#define GL_UNSIGNED_INT64_ARB 0x140F -typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture); -typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler); -typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle); -typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle); -typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); -typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access); -typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle); -typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value); -typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); -typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle); -typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture); -GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler); -GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle); -GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle); -GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); -GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access); -GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle); -GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value); -GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value); -GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value); -GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values); -GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle); -GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle); -GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x); -GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v); -GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params); -#endif -#endif /* GL_ARB_bindless_texture */ - -#ifndef GL_ARB_blend_func_extended -#define GL_ARB_blend_func_extended 1 -#endif /* GL_ARB_blend_func_extended */ - -#ifndef GL_ARB_buffer_storage -#define GL_ARB_buffer_storage 1 -#endif /* GL_ARB_buffer_storage */ - -#ifndef GL_ARB_cl_event -#define GL_ARB_cl_event 1 -struct _cl_context; -struct _cl_event; -#define GL_SYNC_CL_EVENT_ARB 0x8240 -#define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241 -typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags); -#endif -#endif /* GL_ARB_cl_event */ - -#ifndef GL_ARB_clear_buffer_object -#define GL_ARB_clear_buffer_object 1 -#endif /* GL_ARB_clear_buffer_object */ - -#ifndef GL_ARB_clear_texture -#define GL_ARB_clear_texture 1 -#endif /* GL_ARB_clear_texture */ - -#ifndef GL_ARB_clip_control -#define GL_ARB_clip_control 1 -#endif /* GL_ARB_clip_control */ - -#ifndef GL_ARB_compressed_texture_pixel_storage -#define GL_ARB_compressed_texture_pixel_storage 1 -#endif /* GL_ARB_compressed_texture_pixel_storage */ - -#ifndef GL_ARB_compute_shader -#define GL_ARB_compute_shader 1 -#endif /* GL_ARB_compute_shader */ - -#ifndef GL_ARB_compute_variable_group_size -#define GL_ARB_compute_variable_group_size 1 -#define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344 -#define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB -#define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345 -#define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF -typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDispatchComputeGroupSizeARB (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z); -#endif -#endif /* GL_ARB_compute_variable_group_size */ - -#ifndef GL_ARB_conditional_render_inverted -#define GL_ARB_conditional_render_inverted 1 -#endif /* GL_ARB_conditional_render_inverted */ - -#ifndef GL_ARB_conservative_depth -#define GL_ARB_conservative_depth 1 -#endif /* GL_ARB_conservative_depth */ - -#ifndef GL_ARB_copy_buffer -#define GL_ARB_copy_buffer 1 -#endif /* GL_ARB_copy_buffer */ - -#ifndef GL_ARB_copy_image -#define GL_ARB_copy_image 1 -#endif /* GL_ARB_copy_image */ - -#ifndef GL_ARB_cull_distance -#define GL_ARB_cull_distance 1 -#endif /* GL_ARB_cull_distance */ - -#ifndef GL_ARB_debug_output -#define GL_ARB_debug_output 1 -typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); -#define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242 -#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243 -#define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244 -#define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245 -#define GL_DEBUG_SOURCE_API_ARB 0x8246 -#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247 -#define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248 -#define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249 -#define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A -#define GL_DEBUG_SOURCE_OTHER_ARB 0x824B -#define GL_DEBUG_TYPE_ERROR_ARB 0x824C -#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D -#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E -#define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F -#define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250 -#define GL_DEBUG_TYPE_OTHER_ARB 0x8251 -#define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143 -#define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144 -#define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145 -#define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146 -#define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147 -#define GL_DEBUG_SEVERITY_LOW_ARB 0x9148 -typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); -typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); -typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam); -typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); -GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); -GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam); -GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); -#endif -#endif /* GL_ARB_debug_output */ - -#ifndef GL_ARB_depth_buffer_float -#define GL_ARB_depth_buffer_float 1 -#endif /* GL_ARB_depth_buffer_float */ - -#ifndef GL_ARB_depth_clamp -#define GL_ARB_depth_clamp 1 -#endif /* GL_ARB_depth_clamp */ - -#ifndef GL_ARB_derivative_control -#define GL_ARB_derivative_control 1 -#endif /* GL_ARB_derivative_control */ - -#ifndef GL_ARB_direct_state_access -#define GL_ARB_direct_state_access 1 -#endif /* GL_ARB_direct_state_access */ - -#ifndef GL_ARB_draw_buffers_blend -#define GL_ARB_draw_buffers_blend 1 -typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode); -typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst); -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode); -GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst); -GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -#endif -#endif /* GL_ARB_draw_buffers_blend */ - -#ifndef GL_ARB_draw_elements_base_vertex -#define GL_ARB_draw_elements_base_vertex 1 -#endif /* GL_ARB_draw_elements_base_vertex */ - -#ifndef GL_ARB_draw_indirect -#define GL_ARB_draw_indirect 1 -#endif /* GL_ARB_draw_indirect */ - -#ifndef GL_ARB_enhanced_layouts -#define GL_ARB_enhanced_layouts 1 -#endif /* GL_ARB_enhanced_layouts */ - -#ifndef GL_ARB_explicit_attrib_location -#define GL_ARB_explicit_attrib_location 1 -#endif /* GL_ARB_explicit_attrib_location */ - -#ifndef GL_ARB_explicit_uniform_location -#define GL_ARB_explicit_uniform_location 1 -#endif /* GL_ARB_explicit_uniform_location */ - -#ifndef GL_ARB_fragment_coord_conventions -#define GL_ARB_fragment_coord_conventions 1 -#endif /* GL_ARB_fragment_coord_conventions */ - -#ifndef GL_ARB_fragment_layer_viewport -#define GL_ARB_fragment_layer_viewport 1 -#endif /* GL_ARB_fragment_layer_viewport */ - -#ifndef GL_ARB_framebuffer_no_attachments -#define GL_ARB_framebuffer_no_attachments 1 -#endif /* GL_ARB_framebuffer_no_attachments */ - -#ifndef GL_ARB_framebuffer_object -#define GL_ARB_framebuffer_object 1 -#endif /* GL_ARB_framebuffer_object */ - -#ifndef GL_ARB_framebuffer_sRGB -#define GL_ARB_framebuffer_sRGB 1 -#endif /* GL_ARB_framebuffer_sRGB */ - -#ifndef GL_ARB_get_program_binary -#define GL_ARB_get_program_binary 1 -#endif /* GL_ARB_get_program_binary */ - -#ifndef GL_ARB_get_texture_sub_image -#define GL_ARB_get_texture_sub_image 1 -#endif /* GL_ARB_get_texture_sub_image */ - -#ifndef GL_ARB_gpu_shader5 -#define GL_ARB_gpu_shader5 1 -#endif /* GL_ARB_gpu_shader5 */ - -#ifndef GL_ARB_gpu_shader_fp64 -#define GL_ARB_gpu_shader_fp64 1 -#endif /* GL_ARB_gpu_shader_fp64 */ - -#ifndef GL_ARB_half_float_vertex -#define GL_ARB_half_float_vertex 1 -#endif /* GL_ARB_half_float_vertex */ - -#ifndef GL_ARB_imaging -#define GL_ARB_imaging 1 -#define GL_BLEND_COLOR 0x8005 -#define GL_BLEND_EQUATION 0x8009 -#endif /* GL_ARB_imaging */ - -#ifndef GL_ARB_indirect_parameters -#define GL_ARB_indirect_parameters 1 -#define GL_PARAMETER_BUFFER_ARB 0x80EE -#define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -#endif -#endif /* GL_ARB_indirect_parameters */ - -#ifndef GL_ARB_internalformat_query -#define GL_ARB_internalformat_query 1 -#endif /* GL_ARB_internalformat_query */ - -#ifndef GL_ARB_internalformat_query2 -#define GL_ARB_internalformat_query2 1 -#define GL_SRGB_DECODE_ARB 0x8299 -#endif /* GL_ARB_internalformat_query2 */ - -#ifndef GL_ARB_invalidate_subdata -#define GL_ARB_invalidate_subdata 1 -#endif /* GL_ARB_invalidate_subdata */ - -#ifndef GL_ARB_map_buffer_alignment -#define GL_ARB_map_buffer_alignment 1 -#endif /* GL_ARB_map_buffer_alignment */ - -#ifndef GL_ARB_map_buffer_range -#define GL_ARB_map_buffer_range 1 -#endif /* GL_ARB_map_buffer_range */ - -#ifndef GL_ARB_multi_bind -#define GL_ARB_multi_bind 1 -#endif /* GL_ARB_multi_bind */ - -#ifndef GL_ARB_multi_draw_indirect -#define GL_ARB_multi_draw_indirect 1 -#endif /* GL_ARB_multi_draw_indirect */ - -#ifndef GL_ARB_occlusion_query2 -#define GL_ARB_occlusion_query2 1 -#endif /* GL_ARB_occlusion_query2 */ - -#ifndef GL_ARB_pipeline_statistics_query -#define GL_ARB_pipeline_statistics_query 1 -#define GL_VERTICES_SUBMITTED_ARB 0x82EE -#define GL_PRIMITIVES_SUBMITTED_ARB 0x82EF -#define GL_VERTEX_SHADER_INVOCATIONS_ARB 0x82F0 -#define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1 -#define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2 -#define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3 -#define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4 -#define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5 -#define GL_CLIPPING_INPUT_PRIMITIVES_ARB 0x82F6 -#define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7 -#endif /* GL_ARB_pipeline_statistics_query */ - -#ifndef GL_ARB_program_interface_query -#define GL_ARB_program_interface_query 1 -#endif /* GL_ARB_program_interface_query */ - -#ifndef GL_ARB_provoking_vertex -#define GL_ARB_provoking_vertex 1 -#endif /* GL_ARB_provoking_vertex */ - -#ifndef GL_ARB_query_buffer_object -#define GL_ARB_query_buffer_object 1 -#endif /* GL_ARB_query_buffer_object */ - -#ifndef GL_ARB_robust_buffer_access_behavior -#define GL_ARB_robust_buffer_access_behavior 1 -#endif /* GL_ARB_robust_buffer_access_behavior */ - -#ifndef GL_ARB_robustness -#define GL_ARB_robustness 1 -#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004 -#define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 -#define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 -#define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254 -#define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 -#define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 -#define GL_NO_RESET_NOTIFICATION_ARB 0x8261 -typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void); -typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img); -typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img); -typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); -typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); -typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); -typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void); -GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img); -GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img); -GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); -GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params); -GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params); -GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); -#endif -#endif /* GL_ARB_robustness */ - -#ifndef GL_ARB_robustness_isolation -#define GL_ARB_robustness_isolation 1 -#endif /* GL_ARB_robustness_isolation */ - -#ifndef GL_ARB_sample_shading -#define GL_ARB_sample_shading 1 -#define GL_SAMPLE_SHADING_ARB 0x8C36 -#define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37 -typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value); -#endif -#endif /* GL_ARB_sample_shading */ - -#ifndef GL_ARB_sampler_objects -#define GL_ARB_sampler_objects 1 -#endif /* GL_ARB_sampler_objects */ - -#ifndef GL_ARB_seamless_cube_map -#define GL_ARB_seamless_cube_map 1 -#endif /* GL_ARB_seamless_cube_map */ - -#ifndef GL_ARB_seamless_cubemap_per_texture -#define GL_ARB_seamless_cubemap_per_texture 1 -#endif /* GL_ARB_seamless_cubemap_per_texture */ - -#ifndef GL_ARB_separate_shader_objects -#define GL_ARB_separate_shader_objects 1 -#endif /* GL_ARB_separate_shader_objects */ - -#ifndef GL_ARB_shader_atomic_counters -#define GL_ARB_shader_atomic_counters 1 -#endif /* GL_ARB_shader_atomic_counters */ - -#ifndef GL_ARB_shader_bit_encoding -#define GL_ARB_shader_bit_encoding 1 -#endif /* GL_ARB_shader_bit_encoding */ - -#ifndef GL_ARB_shader_draw_parameters -#define GL_ARB_shader_draw_parameters 1 -#endif /* GL_ARB_shader_draw_parameters */ - -#ifndef GL_ARB_shader_group_vote -#define GL_ARB_shader_group_vote 1 -#endif /* GL_ARB_shader_group_vote */ - -#ifndef GL_ARB_shader_image_load_store -#define GL_ARB_shader_image_load_store 1 -#endif /* GL_ARB_shader_image_load_store */ - -#ifndef GL_ARB_shader_image_size -#define GL_ARB_shader_image_size 1 -#endif /* GL_ARB_shader_image_size */ - -#ifndef GL_ARB_shader_precision -#define GL_ARB_shader_precision 1 -#endif /* GL_ARB_shader_precision */ - -#ifndef GL_ARB_shader_stencil_export -#define GL_ARB_shader_stencil_export 1 -#endif /* GL_ARB_shader_stencil_export */ - -#ifndef GL_ARB_shader_storage_buffer_object -#define GL_ARB_shader_storage_buffer_object 1 -#endif /* GL_ARB_shader_storage_buffer_object */ - -#ifndef GL_ARB_shader_subroutine -#define GL_ARB_shader_subroutine 1 -#endif /* GL_ARB_shader_subroutine */ - -#ifndef GL_ARB_shader_texture_image_samples -#define GL_ARB_shader_texture_image_samples 1 -#endif /* GL_ARB_shader_texture_image_samples */ - -#ifndef GL_ARB_shading_language_420pack -#define GL_ARB_shading_language_420pack 1 -#endif /* GL_ARB_shading_language_420pack */ - -#ifndef GL_ARB_shading_language_include -#define GL_ARB_shading_language_include 1 -#define GL_SHADER_INCLUDE_ARB 0x8DAE -#define GL_NAMED_STRING_LENGTH_ARB 0x8DE9 -#define GL_NAMED_STRING_TYPE_ARB 0x8DEA -typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string); -typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name); -typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length); -typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name); -typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string); -typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string); -GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name); -GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length); -GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name); -GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string); -GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params); -#endif -#endif /* GL_ARB_shading_language_include */ - -#ifndef GL_ARB_shading_language_packing -#define GL_ARB_shading_language_packing 1 -#endif /* GL_ARB_shading_language_packing */ - -#ifndef GL_ARB_sparse_buffer -#define GL_ARB_sparse_buffer 1 -#define GL_SPARSE_STORAGE_BIT_ARB 0x0400 -#define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8 -typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit); -typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); -typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit); -GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); -GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); -#endif -#endif /* GL_ARB_sparse_buffer */ - -#ifndef GL_ARB_sparse_texture -#define GL_ARB_sparse_texture 1 -#define GL_TEXTURE_SPARSE_ARB 0x91A6 -#define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7 -#define GL_NUM_SPARSE_LEVELS_ARB 0x91AA -#define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8 -#define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195 -#define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196 -#define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197 -#define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198 -#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199 -#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A -#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9 -typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); -#endif -#endif /* GL_ARB_sparse_texture */ - -#ifndef GL_ARB_stencil_texturing -#define GL_ARB_stencil_texturing 1 -#endif /* GL_ARB_stencil_texturing */ - -#ifndef GL_ARB_sync -#define GL_ARB_sync 1 -#endif /* GL_ARB_sync */ - -#ifndef GL_ARB_tessellation_shader -#define GL_ARB_tessellation_shader 1 -#endif /* GL_ARB_tessellation_shader */ - -#ifndef GL_ARB_texture_barrier -#define GL_ARB_texture_barrier 1 -#endif /* GL_ARB_texture_barrier */ - -#ifndef GL_ARB_texture_buffer_object_rgb32 -#define GL_ARB_texture_buffer_object_rgb32 1 -#endif /* GL_ARB_texture_buffer_object_rgb32 */ - -#ifndef GL_ARB_texture_buffer_range -#define GL_ARB_texture_buffer_range 1 -#endif /* GL_ARB_texture_buffer_range */ - -#ifndef GL_ARB_texture_compression_bptc -#define GL_ARB_texture_compression_bptc 1 -#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C -#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D -#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E -#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F -#endif /* GL_ARB_texture_compression_bptc */ - -#ifndef GL_ARB_texture_compression_rgtc -#define GL_ARB_texture_compression_rgtc 1 -#endif /* GL_ARB_texture_compression_rgtc */ - -#ifndef GL_ARB_texture_cube_map_array -#define GL_ARB_texture_cube_map_array 1 -#define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A -#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B -#define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C -#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D -#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E -#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F -#endif /* GL_ARB_texture_cube_map_array */ - -#ifndef GL_ARB_texture_gather -#define GL_ARB_texture_gather 1 -#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E -#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F -#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F -#endif /* GL_ARB_texture_gather */ - -#ifndef GL_ARB_texture_mirror_clamp_to_edge -#define GL_ARB_texture_mirror_clamp_to_edge 1 -#endif /* GL_ARB_texture_mirror_clamp_to_edge */ - -#ifndef GL_ARB_texture_multisample -#define GL_ARB_texture_multisample 1 -#endif /* GL_ARB_texture_multisample */ - -#ifndef GL_ARB_texture_query_levels -#define GL_ARB_texture_query_levels 1 -#endif /* GL_ARB_texture_query_levels */ - -#ifndef GL_ARB_texture_query_lod -#define GL_ARB_texture_query_lod 1 -#endif /* GL_ARB_texture_query_lod */ - -#ifndef GL_ARB_texture_rg -#define GL_ARB_texture_rg 1 -#endif /* GL_ARB_texture_rg */ - -#ifndef GL_ARB_texture_rgb10_a2ui -#define GL_ARB_texture_rgb10_a2ui 1 -#endif /* GL_ARB_texture_rgb10_a2ui */ - -#ifndef GL_ARB_texture_stencil8 -#define GL_ARB_texture_stencil8 1 -#endif /* GL_ARB_texture_stencil8 */ - -#ifndef GL_ARB_texture_storage -#define GL_ARB_texture_storage 1 -#endif /* GL_ARB_texture_storage */ - -#ifndef GL_ARB_texture_storage_multisample -#define GL_ARB_texture_storage_multisample 1 -#endif /* GL_ARB_texture_storage_multisample */ - -#ifndef GL_ARB_texture_swizzle -#define GL_ARB_texture_swizzle 1 -#endif /* GL_ARB_texture_swizzle */ - -#ifndef GL_ARB_texture_view -#define GL_ARB_texture_view 1 -#endif /* GL_ARB_texture_view */ - -#ifndef GL_ARB_timer_query -#define GL_ARB_timer_query 1 -#endif /* GL_ARB_timer_query */ - -#ifndef GL_ARB_transform_feedback2 -#define GL_ARB_transform_feedback2 1 -#endif /* GL_ARB_transform_feedback2 */ - -#ifndef GL_ARB_transform_feedback3 -#define GL_ARB_transform_feedback3 1 -#endif /* GL_ARB_transform_feedback3 */ - -#ifndef GL_ARB_transform_feedback_instanced -#define GL_ARB_transform_feedback_instanced 1 -#endif /* GL_ARB_transform_feedback_instanced */ - -#ifndef GL_ARB_transform_feedback_overflow_query -#define GL_ARB_transform_feedback_overflow_query 1 -#define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC -#define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED -#endif /* GL_ARB_transform_feedback_overflow_query */ - -#ifndef GL_ARB_uniform_buffer_object -#define GL_ARB_uniform_buffer_object 1 -#endif /* GL_ARB_uniform_buffer_object */ - -#ifndef GL_ARB_vertex_array_bgra -#define GL_ARB_vertex_array_bgra 1 -#endif /* GL_ARB_vertex_array_bgra */ - -#ifndef GL_ARB_vertex_array_object -#define GL_ARB_vertex_array_object 1 -#endif /* GL_ARB_vertex_array_object */ - -#ifndef GL_ARB_vertex_attrib_64bit -#define GL_ARB_vertex_attrib_64bit 1 -#endif /* GL_ARB_vertex_attrib_64bit */ - -#ifndef GL_ARB_vertex_attrib_binding -#define GL_ARB_vertex_attrib_binding 1 -#endif /* GL_ARB_vertex_attrib_binding */ - -#ifndef GL_ARB_vertex_type_10f_11f_11f_rev -#define GL_ARB_vertex_type_10f_11f_11f_rev 1 -#endif /* GL_ARB_vertex_type_10f_11f_11f_rev */ - -#ifndef GL_ARB_vertex_type_2_10_10_10_rev -#define GL_ARB_vertex_type_2_10_10_10_rev 1 -#endif /* GL_ARB_vertex_type_2_10_10_10_rev */ - -#ifndef GL_ARB_viewport_array -#define GL_ARB_viewport_array 1 -#endif /* GL_ARB_viewport_array */ - -#ifndef GL_KHR_context_flush_control -#define GL_KHR_context_flush_control 1 -#endif /* GL_KHR_context_flush_control */ - -#ifndef GL_KHR_debug -#define GL_KHR_debug 1 -#endif /* GL_KHR_debug */ - -#ifndef GL_KHR_no_error -#define GL_KHR_no_error 1 -#define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008 -#endif /* GL_KHR_no_error */ - -#ifndef GL_KHR_robust_buffer_access_behavior -#define GL_KHR_robust_buffer_access_behavior 1 -#endif /* GL_KHR_robust_buffer_access_behavior */ - -#ifndef GL_KHR_robustness -#define GL_KHR_robustness 1 -#define GL_CONTEXT_ROBUST_ACCESS 0x90F3 -#endif /* GL_KHR_robustness */ - -#ifndef GL_KHR_texture_compression_astc_hdr -#define GL_KHR_texture_compression_astc_hdr 1 -#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 -#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 -#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 -#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 -#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 -#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 -#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 -#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 -#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 -#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 -#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA -#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB -#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC -#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD -#endif /* GL_KHR_texture_compression_astc_hdr */ - -#ifndef GL_KHR_texture_compression_astc_ldr -#define GL_KHR_texture_compression_astc_ldr 1 -#endif /* GL_KHR_texture_compression_astc_ldr */ - -#ifndef GL_KHR_texture_compression_astc_sliced_3d -#define GL_KHR_texture_compression_astc_sliced_3d 1 -#endif /* GL_KHR_texture_compression_astc_sliced_3d */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/khronos/repository/api/GL/glext.h b/khronos/repository/api/GL/glext.h deleted file mode 100644 index 595ea0e..0000000 --- a/khronos/repository/api/GL/glext.h +++ /dev/null @@ -1,12050 +0,0 @@ -#ifndef __glext_h_ -#define __glext_h_ 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2013-2015 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts -** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ -*/ - -#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) -#ifndef WIN32_LEAN_AND_MEAN -#define WIN32_LEAN_AND_MEAN 1 -#endif -#include -#endif - -#ifndef APIENTRY -#define APIENTRY -#endif -#ifndef APIENTRYP -#define APIENTRYP APIENTRY * -#endif -#ifndef GLAPI -#define GLAPI extern -#endif - -#define GL_GLEXT_VERSION 20151103 - -/* Generated C header for: - * API: gl - * Profile: compatibility - * Versions considered: .* - * Versions emitted: 1\.[2-9]|[234]\.[0-9] - * Default extensions included: gl - * Additional extensions included: _nomatch_^ - * Extensions removed: _nomatch_^ - */ - -#ifndef GL_VERSION_1_2 -#define GL_VERSION_1_2 1 -#define GL_UNSIGNED_BYTE_3_3_2 0x8032 -#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 -#define GL_UNSIGNED_INT_8_8_8_8 0x8035 -#define GL_UNSIGNED_INT_10_10_10_2 0x8036 -#define GL_TEXTURE_BINDING_3D 0x806A -#define GL_PACK_SKIP_IMAGES 0x806B -#define GL_PACK_IMAGE_HEIGHT 0x806C -#define GL_UNPACK_SKIP_IMAGES 0x806D -#define GL_UNPACK_IMAGE_HEIGHT 0x806E -#define GL_TEXTURE_3D 0x806F -#define GL_PROXY_TEXTURE_3D 0x8070 -#define GL_TEXTURE_DEPTH 0x8071 -#define GL_TEXTURE_WRAP_R 0x8072 -#define GL_MAX_3D_TEXTURE_SIZE 0x8073 -#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 -#define GL_UNSIGNED_SHORT_5_6_5 0x8363 -#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 -#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 -#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 -#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 -#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 -#define GL_BGR 0x80E0 -#define GL_BGRA 0x80E1 -#define GL_MAX_ELEMENTS_VERTICES 0x80E8 -#define GL_MAX_ELEMENTS_INDICES 0x80E9 -#define GL_CLAMP_TO_EDGE 0x812F -#define GL_TEXTURE_MIN_LOD 0x813A -#define GL_TEXTURE_MAX_LOD 0x813B -#define GL_TEXTURE_BASE_LEVEL 0x813C -#define GL_TEXTURE_MAX_LEVEL 0x813D -#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 -#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 -#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 -#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 -#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E -#define GL_RESCALE_NORMAL 0x803A -#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 -#define GL_SINGLE_COLOR 0x81F9 -#define GL_SEPARATE_SPECULAR_COLOR 0x81FA -#define GL_ALIASED_POINT_SIZE_RANGE 0x846D -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); -typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); -GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -#endif -#endif /* GL_VERSION_1_2 */ - -#ifndef GL_VERSION_1_3 -#define GL_VERSION_1_3 1 -#define GL_TEXTURE0 0x84C0 -#define GL_TEXTURE1 0x84C1 -#define GL_TEXTURE2 0x84C2 -#define GL_TEXTURE3 0x84C3 -#define GL_TEXTURE4 0x84C4 -#define GL_TEXTURE5 0x84C5 -#define GL_TEXTURE6 0x84C6 -#define GL_TEXTURE7 0x84C7 -#define GL_TEXTURE8 0x84C8 -#define GL_TEXTURE9 0x84C9 -#define GL_TEXTURE10 0x84CA -#define GL_TEXTURE11 0x84CB -#define GL_TEXTURE12 0x84CC -#define GL_TEXTURE13 0x84CD -#define GL_TEXTURE14 0x84CE -#define GL_TEXTURE15 0x84CF -#define GL_TEXTURE16 0x84D0 -#define GL_TEXTURE17 0x84D1 -#define GL_TEXTURE18 0x84D2 -#define GL_TEXTURE19 0x84D3 -#define GL_TEXTURE20 0x84D4 -#define GL_TEXTURE21 0x84D5 -#define GL_TEXTURE22 0x84D6 -#define GL_TEXTURE23 0x84D7 -#define GL_TEXTURE24 0x84D8 -#define GL_TEXTURE25 0x84D9 -#define GL_TEXTURE26 0x84DA -#define GL_TEXTURE27 0x84DB -#define GL_TEXTURE28 0x84DC -#define GL_TEXTURE29 0x84DD -#define GL_TEXTURE30 0x84DE -#define GL_TEXTURE31 0x84DF -#define GL_ACTIVE_TEXTURE 0x84E0 -#define GL_MULTISAMPLE 0x809D -#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE 0x809F -#define GL_SAMPLE_COVERAGE 0x80A0 -#define GL_SAMPLE_BUFFERS 0x80A8 -#define GL_SAMPLES 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT 0x80AB -#define GL_TEXTURE_CUBE_MAP 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C -#define GL_COMPRESSED_RGB 0x84ED -#define GL_COMPRESSED_RGBA 0x84EE -#define GL_TEXTURE_COMPRESSION_HINT 0x84EF -#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 -#define GL_TEXTURE_COMPRESSED 0x86A1 -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 -#define GL_CLAMP_TO_BORDER 0x812D -#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 -#define GL_MAX_TEXTURE_UNITS 0x84E2 -#define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 -#define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 -#define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 -#define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 -#define GL_MULTISAMPLE_BIT 0x20000000 -#define GL_NORMAL_MAP 0x8511 -#define GL_REFLECTION_MAP 0x8512 -#define GL_COMPRESSED_ALPHA 0x84E9 -#define GL_COMPRESSED_LUMINANCE 0x84EA -#define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB -#define GL_COMPRESSED_INTENSITY 0x84EC -#define GL_COMBINE 0x8570 -#define GL_COMBINE_RGB 0x8571 -#define GL_COMBINE_ALPHA 0x8572 -#define GL_SOURCE0_RGB 0x8580 -#define GL_SOURCE1_RGB 0x8581 -#define GL_SOURCE2_RGB 0x8582 -#define GL_SOURCE0_ALPHA 0x8588 -#define GL_SOURCE1_ALPHA 0x8589 -#define GL_SOURCE2_ALPHA 0x858A -#define GL_OPERAND0_RGB 0x8590 -#define GL_OPERAND1_RGB 0x8591 -#define GL_OPERAND2_RGB 0x8592 -#define GL_OPERAND0_ALPHA 0x8598 -#define GL_OPERAND1_ALPHA 0x8599 -#define GL_OPERAND2_ALPHA 0x859A -#define GL_RGB_SCALE 0x8573 -#define GL_ADD_SIGNED 0x8574 -#define GL_INTERPOLATE 0x8575 -#define GL_SUBTRACT 0x84E7 -#define GL_CONSTANT 0x8576 -#define GL_PRIMARY_COLOR 0x8577 -#define GL_PREVIOUS 0x8578 -#define GL_DOT3_RGB 0x86AE -#define GL_DOT3_RGBA 0x86AF -typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img); -typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m); -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m); -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m); -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glActiveTexture (GLenum texture); -GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); -GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img); -GLAPI void APIENTRY glClientActiveTexture (GLenum texture); -GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s); -GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v); -GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s); -GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v); -GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s); -GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v); -GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s); -GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v); -GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t); -GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v); -GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t); -GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v); -GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t); -GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v); -GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t); -GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v); -GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r); -GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v); -GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r); -GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v); -GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r); -GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v); -GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r); -GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v); -GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v); -GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v); -GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q); -GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v); -GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v); -GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m); -GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m); -GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m); -GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m); -#endif -#endif /* GL_VERSION_1_3 */ - -#ifndef GL_VERSION_1_4 -#define GL_VERSION_1_4 1 -#define GL_BLEND_DST_RGB 0x80C8 -#define GL_BLEND_SRC_RGB 0x80C9 -#define GL_BLEND_DST_ALPHA 0x80CA -#define GL_BLEND_SRC_ALPHA 0x80CB -#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 -#define GL_DEPTH_COMPONENT16 0x81A5 -#define GL_DEPTH_COMPONENT24 0x81A6 -#define GL_DEPTH_COMPONENT32 0x81A7 -#define GL_MIRRORED_REPEAT 0x8370 -#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD -#define GL_TEXTURE_LOD_BIAS 0x8501 -#define GL_INCR_WRAP 0x8507 -#define GL_DECR_WRAP 0x8508 -#define GL_TEXTURE_DEPTH_SIZE 0x884A -#define GL_TEXTURE_COMPARE_MODE 0x884C -#define GL_TEXTURE_COMPARE_FUNC 0x884D -#define GL_POINT_SIZE_MIN 0x8126 -#define GL_POINT_SIZE_MAX 0x8127 -#define GL_POINT_DISTANCE_ATTENUATION 0x8129 -#define GL_GENERATE_MIPMAP 0x8191 -#define GL_GENERATE_MIPMAP_HINT 0x8192 -#define GL_FOG_COORDINATE_SOURCE 0x8450 -#define GL_FOG_COORDINATE 0x8451 -#define GL_FRAGMENT_DEPTH 0x8452 -#define GL_CURRENT_FOG_COORDINATE 0x8453 -#define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 -#define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455 -#define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456 -#define GL_FOG_COORDINATE_ARRAY 0x8457 -#define GL_COLOR_SUM 0x8458 -#define GL_CURRENT_SECONDARY_COLOR 0x8459 -#define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A -#define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B -#define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C -#define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D -#define GL_SECONDARY_COLOR_ARRAY 0x845E -#define GL_TEXTURE_FILTER_CONTROL 0x8500 -#define GL_DEPTH_TEXTURE_MODE 0x884B -#define GL_COMPARE_R_TO_TEXTURE 0x884E -#define GL_FUNC_ADD 0x8006 -#define GL_FUNC_SUBTRACT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT 0x800B -#define GL_MIN 0x8007 -#define GL_MAX 0x8008 -#define GL_CONSTANT_COLOR 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 -#define GL_CONSTANT_ALPHA 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord); -typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord); -typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord); -typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord); -typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); -typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y); -typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); -GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount); -GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param); -GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param); -GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params); -GLAPI void APIENTRY glFogCoordf (GLfloat coord); -GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord); -GLAPI void APIENTRY glFogCoordd (GLdouble coord); -GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord); -GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer); -GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue); -GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v); -GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue); -GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v); -GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue); -GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v); -GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue); -GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v); -GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue); -GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v); -GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue); -GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v); -GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue); -GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v); -GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue); -GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v); -GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer); -GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y); -GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v); -GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y); -GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v); -GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y); -GLAPI void APIENTRY glWindowPos2iv (const GLint *v); -GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y); -GLAPI void APIENTRY glWindowPos2sv (const GLshort *v); -GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v); -GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v); -GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z); -GLAPI void APIENTRY glWindowPos3iv (const GLint *v); -GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z); -GLAPI void APIENTRY glWindowPos3sv (const GLshort *v); -GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GLAPI void APIENTRY glBlendEquation (GLenum mode); -#endif -#endif /* GL_VERSION_1_4 */ - -#ifndef GL_VERSION_1_5 -#define GL_VERSION_1_5 1 -#include -typedef ptrdiff_t GLsizeiptr; -typedef ptrdiff_t GLintptr; -#define GL_BUFFER_SIZE 0x8764 -#define GL_BUFFER_USAGE 0x8765 -#define GL_QUERY_COUNTER_BITS 0x8864 -#define GL_CURRENT_QUERY 0x8865 -#define GL_QUERY_RESULT 0x8866 -#define GL_QUERY_RESULT_AVAILABLE 0x8867 -#define GL_ARRAY_BUFFER 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER 0x8893 -#define GL_ARRAY_BUFFER_BINDING 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F -#define GL_READ_ONLY 0x88B8 -#define GL_WRITE_ONLY 0x88B9 -#define GL_READ_WRITE 0x88BA -#define GL_BUFFER_ACCESS 0x88BB -#define GL_BUFFER_MAPPED 0x88BC -#define GL_BUFFER_MAP_POINTER 0x88BD -#define GL_STREAM_DRAW 0x88E0 -#define GL_STREAM_READ 0x88E1 -#define GL_STREAM_COPY 0x88E2 -#define GL_STATIC_DRAW 0x88E4 -#define GL_STATIC_READ 0x88E5 -#define GL_STATIC_COPY 0x88E6 -#define GL_DYNAMIC_DRAW 0x88E8 -#define GL_DYNAMIC_READ 0x88E9 -#define GL_DYNAMIC_COPY 0x88EA -#define GL_SAMPLES_PASSED 0x8914 -#define GL_SRC1_ALPHA 0x8589 -#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 -#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 -#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 -#define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 -#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A -#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B -#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C -#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D -#define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E -#define GL_FOG_COORD_SRC 0x8450 -#define GL_FOG_COORD 0x8451 -#define GL_CURRENT_FOG_COORD 0x8453 -#define GL_FOG_COORD_ARRAY_TYPE 0x8454 -#define GL_FOG_COORD_ARRAY_STRIDE 0x8455 -#define GL_FOG_COORD_ARRAY_POINTER 0x8456 -#define GL_FOG_COORD_ARRAY 0x8457 -#define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D -#define GL_SRC0_RGB 0x8580 -#define GL_SRC1_RGB 0x8581 -#define GL_SRC2_RGB 0x8582 -#define GL_SRC0_ALPHA 0x8588 -#define GL_SRC2_ALPHA 0x858A -typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); -typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); -typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id); -typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); -typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target); -typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); -typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); -typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); -typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage); -typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); -typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data); -typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access); -typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target); -typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids); -GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids); -GLAPI GLboolean APIENTRY glIsQuery (GLuint id); -GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id); -GLAPI void APIENTRY glEndQuery (GLenum target); -GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params); -GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer); -GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); -GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); -GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer); -GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); -GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); -GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data); -GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access); -GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target); -GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params); -#endif -#endif /* GL_VERSION_1_5 */ - -#ifndef GL_VERSION_2_0 -#define GL_VERSION_2_0 1 -typedef char GLchar; -#define GL_BLEND_EQUATION_RGB 0x8009 -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 -#define GL_CURRENT_VERTEX_ATTRIB 0x8626 -#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 -#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 -#define GL_STENCIL_BACK_FUNC 0x8800 -#define GL_STENCIL_BACK_FAIL 0x8801 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 -#define GL_MAX_DRAW_BUFFERS 0x8824 -#define GL_DRAW_BUFFER0 0x8825 -#define GL_DRAW_BUFFER1 0x8826 -#define GL_DRAW_BUFFER2 0x8827 -#define GL_DRAW_BUFFER3 0x8828 -#define GL_DRAW_BUFFER4 0x8829 -#define GL_DRAW_BUFFER5 0x882A -#define GL_DRAW_BUFFER6 0x882B -#define GL_DRAW_BUFFER7 0x882C -#define GL_DRAW_BUFFER8 0x882D -#define GL_DRAW_BUFFER9 0x882E -#define GL_DRAW_BUFFER10 0x882F -#define GL_DRAW_BUFFER11 0x8830 -#define GL_DRAW_BUFFER12 0x8831 -#define GL_DRAW_BUFFER13 0x8832 -#define GL_DRAW_BUFFER14 0x8833 -#define GL_DRAW_BUFFER15 0x8834 -#define GL_BLEND_EQUATION_ALPHA 0x883D -#define GL_MAX_VERTEX_ATTRIBS 0x8869 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A -#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 -#define GL_FRAGMENT_SHADER 0x8B30 -#define GL_VERTEX_SHADER 0x8B31 -#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 -#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A -#define GL_MAX_VARYING_FLOATS 0x8B4B -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D -#define GL_SHADER_TYPE 0x8B4F -#define GL_FLOAT_VEC2 0x8B50 -#define GL_FLOAT_VEC3 0x8B51 -#define GL_FLOAT_VEC4 0x8B52 -#define GL_INT_VEC2 0x8B53 -#define GL_INT_VEC3 0x8B54 -#define GL_INT_VEC4 0x8B55 -#define GL_BOOL 0x8B56 -#define GL_BOOL_VEC2 0x8B57 -#define GL_BOOL_VEC3 0x8B58 -#define GL_BOOL_VEC4 0x8B59 -#define GL_FLOAT_MAT2 0x8B5A -#define GL_FLOAT_MAT3 0x8B5B -#define GL_FLOAT_MAT4 0x8B5C -#define GL_SAMPLER_1D 0x8B5D -#define GL_SAMPLER_2D 0x8B5E -#define GL_SAMPLER_3D 0x8B5F -#define GL_SAMPLER_CUBE 0x8B60 -#define GL_SAMPLER_1D_SHADOW 0x8B61 -#define GL_SAMPLER_2D_SHADOW 0x8B62 -#define GL_DELETE_STATUS 0x8B80 -#define GL_COMPILE_STATUS 0x8B81 -#define GL_LINK_STATUS 0x8B82 -#define GL_VALIDATE_STATUS 0x8B83 -#define GL_INFO_LOG_LENGTH 0x8B84 -#define GL_ATTACHED_SHADERS 0x8B85 -#define GL_ACTIVE_UNIFORMS 0x8B86 -#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 -#define GL_SHADER_SOURCE_LENGTH 0x8B88 -#define GL_ACTIVE_ATTRIBUTES 0x8B89 -#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B -#define GL_SHADING_LANGUAGE_VERSION 0x8B8C -#define GL_CURRENT_PROGRAM 0x8B8D -#define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 -#define GL_LOWER_LEFT 0x8CA1 -#define GL_UPPER_LEFT 0x8CA2 -#define GL_STENCIL_BACK_REF 0x8CA3 -#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 -#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 -#define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 -#define GL_POINT_SPRITE 0x8861 -#define GL_COORD_REPLACE 0x8862 -#define GL_MAX_TEXTURE_COORDS 0x8871 -typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); -typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); -typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); -typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); -typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); -typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); -typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void); -typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); -typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); -typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); -typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); -typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); -typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); -typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); -typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer); -typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); -typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader); -typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); -typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); -typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); -typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); -typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); -typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); -typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); -GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs); -GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); -GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); -GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader); -GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); -GLAPI void APIENTRY glCompileShader (GLuint shader); -GLAPI GLuint APIENTRY glCreateProgram (void); -GLAPI GLuint APIENTRY glCreateShader (GLenum type); -GLAPI void APIENTRY glDeleteProgram (GLuint program); -GLAPI void APIENTRY glDeleteShader (GLuint shader); -GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader); -GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index); -GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index); -GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); -GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); -GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); -GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); -GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); -GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); -GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params); -GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); -GLAPI GLboolean APIENTRY glIsProgram (GLuint program); -GLAPI GLboolean APIENTRY glIsShader (GLuint shader); -GLAPI void APIENTRY glLinkProgram (GLuint program); -GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); -GLAPI void APIENTRY glUseProgram (GLuint program); -GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0); -GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); -GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -GLAPI void APIENTRY glUniform1i (GLint location, GLint v0); -GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); -GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); -GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glValidateProgram (GLuint program); -GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x); -GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); -GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x); -GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y); -GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); -GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y); -GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z); -GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v); -GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v); -GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v); -GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v); -GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v); -GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v); -GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); -#endif -#endif /* GL_VERSION_2_0 */ - -#ifndef GL_VERSION_2_1 -#define GL_VERSION_2_1 1 -#define GL_PIXEL_PACK_BUFFER 0x88EB -#define GL_PIXEL_UNPACK_BUFFER 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF -#define GL_FLOAT_MAT2x3 0x8B65 -#define GL_FLOAT_MAT2x4 0x8B66 -#define GL_FLOAT_MAT3x2 0x8B67 -#define GL_FLOAT_MAT3x4 0x8B68 -#define GL_FLOAT_MAT4x2 0x8B69 -#define GL_FLOAT_MAT4x3 0x8B6A -#define GL_SRGB 0x8C40 -#define GL_SRGB8 0x8C41 -#define GL_SRGB_ALPHA 0x8C42 -#define GL_SRGB8_ALPHA8 0x8C43 -#define GL_COMPRESSED_SRGB 0x8C48 -#define GL_COMPRESSED_SRGB_ALPHA 0x8C49 -#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F -#define GL_SLUMINANCE_ALPHA 0x8C44 -#define GL_SLUMINANCE8_ALPHA8 0x8C45 -#define GL_SLUMINANCE 0x8C46 -#define GL_SLUMINANCE8 0x8C47 -#define GL_COMPRESSED_SLUMINANCE 0x8C4A -#define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -#endif -#endif /* GL_VERSION_2_1 */ - -#ifndef GL_VERSION_3_0 -#define GL_VERSION_3_0 1 -typedef unsigned short GLhalf; -#define GL_COMPARE_REF_TO_TEXTURE 0x884E -#define GL_CLIP_DISTANCE0 0x3000 -#define GL_CLIP_DISTANCE1 0x3001 -#define GL_CLIP_DISTANCE2 0x3002 -#define GL_CLIP_DISTANCE3 0x3003 -#define GL_CLIP_DISTANCE4 0x3004 -#define GL_CLIP_DISTANCE5 0x3005 -#define GL_CLIP_DISTANCE6 0x3006 -#define GL_CLIP_DISTANCE7 0x3007 -#define GL_MAX_CLIP_DISTANCES 0x0D32 -#define GL_MAJOR_VERSION 0x821B -#define GL_MINOR_VERSION 0x821C -#define GL_NUM_EXTENSIONS 0x821D -#define GL_CONTEXT_FLAGS 0x821E -#define GL_COMPRESSED_RED 0x8225 -#define GL_COMPRESSED_RG 0x8226 -#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001 -#define GL_RGBA32F 0x8814 -#define GL_RGB32F 0x8815 -#define GL_RGBA16F 0x881A -#define GL_RGB16F 0x881B -#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD -#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF -#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 -#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 -#define GL_CLAMP_READ_COLOR 0x891C -#define GL_FIXED_ONLY 0x891D -#define GL_MAX_VARYING_COMPONENTS 0x8B4B -#define GL_TEXTURE_1D_ARRAY 0x8C18 -#define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19 -#define GL_TEXTURE_2D_ARRAY 0x8C1A -#define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B -#define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C -#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D -#define GL_R11F_G11F_B10F 0x8C3A -#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B -#define GL_RGB9_E5 0x8C3D -#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E -#define GL_TEXTURE_SHARED_SIZE 0x8C3F -#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 -#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 -#define GL_PRIMITIVES_GENERATED 0x8C87 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 -#define GL_RASTERIZER_DISCARD 0x8C89 -#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B -#define GL_INTERLEAVED_ATTRIBS 0x8C8C -#define GL_SEPARATE_ATTRIBS 0x8C8D -#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F -#define GL_RGBA32UI 0x8D70 -#define GL_RGB32UI 0x8D71 -#define GL_RGBA16UI 0x8D76 -#define GL_RGB16UI 0x8D77 -#define GL_RGBA8UI 0x8D7C -#define GL_RGB8UI 0x8D7D -#define GL_RGBA32I 0x8D82 -#define GL_RGB32I 0x8D83 -#define GL_RGBA16I 0x8D88 -#define GL_RGB16I 0x8D89 -#define GL_RGBA8I 0x8D8E -#define GL_RGB8I 0x8D8F -#define GL_RED_INTEGER 0x8D94 -#define GL_GREEN_INTEGER 0x8D95 -#define GL_BLUE_INTEGER 0x8D96 -#define GL_RGB_INTEGER 0x8D98 -#define GL_RGBA_INTEGER 0x8D99 -#define GL_BGR_INTEGER 0x8D9A -#define GL_BGRA_INTEGER 0x8D9B -#define GL_SAMPLER_1D_ARRAY 0x8DC0 -#define GL_SAMPLER_2D_ARRAY 0x8DC1 -#define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3 -#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 -#define GL_SAMPLER_CUBE_SHADOW 0x8DC5 -#define GL_UNSIGNED_INT_VEC2 0x8DC6 -#define GL_UNSIGNED_INT_VEC3 0x8DC7 -#define GL_UNSIGNED_INT_VEC4 0x8DC8 -#define GL_INT_SAMPLER_1D 0x8DC9 -#define GL_INT_SAMPLER_2D 0x8DCA -#define GL_INT_SAMPLER_3D 0x8DCB -#define GL_INT_SAMPLER_CUBE 0x8DCC -#define GL_INT_SAMPLER_1D_ARRAY 0x8DCE -#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF -#define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1 -#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 -#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 -#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 -#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6 -#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 -#define GL_QUERY_WAIT 0x8E13 -#define GL_QUERY_NO_WAIT 0x8E14 -#define GL_QUERY_BY_REGION_WAIT 0x8E15 -#define GL_QUERY_BY_REGION_NO_WAIT 0x8E16 -#define GL_BUFFER_ACCESS_FLAGS 0x911F -#define GL_BUFFER_MAP_LENGTH 0x9120 -#define GL_BUFFER_MAP_OFFSET 0x9121 -#define GL_DEPTH_COMPONENT32F 0x8CAC -#define GL_DEPTH32F_STENCIL8 0x8CAD -#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD -#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 -#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 -#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 -#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 -#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 -#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 -#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 -#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 -#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 -#define GL_FRAMEBUFFER_DEFAULT 0x8218 -#define GL_FRAMEBUFFER_UNDEFINED 0x8219 -#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A -#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 -#define GL_DEPTH_STENCIL 0x84F9 -#define GL_UNSIGNED_INT_24_8 0x84FA -#define GL_DEPTH24_STENCIL8 0x88F0 -#define GL_TEXTURE_STENCIL_SIZE 0x88F1 -#define GL_TEXTURE_RED_TYPE 0x8C10 -#define GL_TEXTURE_GREEN_TYPE 0x8C11 -#define GL_TEXTURE_BLUE_TYPE 0x8C12 -#define GL_TEXTURE_ALPHA_TYPE 0x8C13 -#define GL_TEXTURE_DEPTH_TYPE 0x8C16 -#define GL_UNSIGNED_NORMALIZED 0x8C17 -#define GL_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_RENDERBUFFER_BINDING 0x8CA7 -#define GL_READ_FRAMEBUFFER 0x8CA8 -#define GL_DRAW_FRAMEBUFFER 0x8CA9 -#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA -#define GL_RENDERBUFFER_SAMPLES 0x8CAB -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 -#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB -#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC -#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD -#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF -#define GL_COLOR_ATTACHMENT0 0x8CE0 -#define GL_COLOR_ATTACHMENT1 0x8CE1 -#define GL_COLOR_ATTACHMENT2 0x8CE2 -#define GL_COLOR_ATTACHMENT3 0x8CE3 -#define GL_COLOR_ATTACHMENT4 0x8CE4 -#define GL_COLOR_ATTACHMENT5 0x8CE5 -#define GL_COLOR_ATTACHMENT6 0x8CE6 -#define GL_COLOR_ATTACHMENT7 0x8CE7 -#define GL_COLOR_ATTACHMENT8 0x8CE8 -#define GL_COLOR_ATTACHMENT9 0x8CE9 -#define GL_COLOR_ATTACHMENT10 0x8CEA -#define GL_COLOR_ATTACHMENT11 0x8CEB -#define GL_COLOR_ATTACHMENT12 0x8CEC -#define GL_COLOR_ATTACHMENT13 0x8CED -#define GL_COLOR_ATTACHMENT14 0x8CEE -#define GL_COLOR_ATTACHMENT15 0x8CEF -#define GL_COLOR_ATTACHMENT16 0x8CF0 -#define GL_COLOR_ATTACHMENT17 0x8CF1 -#define GL_COLOR_ATTACHMENT18 0x8CF2 -#define GL_COLOR_ATTACHMENT19 0x8CF3 -#define GL_COLOR_ATTACHMENT20 0x8CF4 -#define GL_COLOR_ATTACHMENT21 0x8CF5 -#define GL_COLOR_ATTACHMENT22 0x8CF6 -#define GL_COLOR_ATTACHMENT23 0x8CF7 -#define GL_COLOR_ATTACHMENT24 0x8CF8 -#define GL_COLOR_ATTACHMENT25 0x8CF9 -#define GL_COLOR_ATTACHMENT26 0x8CFA -#define GL_COLOR_ATTACHMENT27 0x8CFB -#define GL_COLOR_ATTACHMENT28 0x8CFC -#define GL_COLOR_ATTACHMENT29 0x8CFD -#define GL_COLOR_ATTACHMENT30 0x8CFE -#define GL_COLOR_ATTACHMENT31 0x8CFF -#define GL_DEPTH_ATTACHMENT 0x8D00 -#define GL_STENCIL_ATTACHMENT 0x8D20 -#define GL_FRAMEBUFFER 0x8D40 -#define GL_RENDERBUFFER 0x8D41 -#define GL_RENDERBUFFER_WIDTH 0x8D42 -#define GL_RENDERBUFFER_HEIGHT 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 -#define GL_STENCIL_INDEX1 0x8D46 -#define GL_STENCIL_INDEX4 0x8D47 -#define GL_STENCIL_INDEX8 0x8D48 -#define GL_STENCIL_INDEX16 0x8D49 -#define GL_RENDERBUFFER_RED_SIZE 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 -#define GL_MAX_SAMPLES 0x8D57 -#define GL_INDEX 0x8222 -#define GL_TEXTURE_LUMINANCE_TYPE 0x8C14 -#define GL_TEXTURE_INTENSITY_TYPE 0x8C15 -#define GL_FRAMEBUFFER_SRGB 0x8DB9 -#define GL_HALF_FLOAT 0x140B -#define GL_MAP_READ_BIT 0x0001 -#define GL_MAP_WRITE_BIT 0x0002 -#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 -#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 -#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 -#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 -#define GL_COMPRESSED_RED_RGTC1 0x8DBB -#define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC -#define GL_COMPRESSED_RG_RGTC2 0x8DBD -#define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE -#define GL_RG 0x8227 -#define GL_RG_INTEGER 0x8228 -#define GL_R8 0x8229 -#define GL_R16 0x822A -#define GL_RG8 0x822B -#define GL_RG16 0x822C -#define GL_R16F 0x822D -#define GL_R32F 0x822E -#define GL_RG16F 0x822F -#define GL_RG32F 0x8230 -#define GL_R8I 0x8231 -#define GL_R8UI 0x8232 -#define GL_R16I 0x8233 -#define GL_R16UI 0x8234 -#define GL_R32I 0x8235 -#define GL_R32UI 0x8236 -#define GL_RG8I 0x8237 -#define GL_RG8UI 0x8238 -#define GL_RG16I 0x8239 -#define GL_RG16UI 0x823A -#define GL_RG32I 0x823B -#define GL_RG32UI 0x823C -#define GL_VERTEX_ARRAY_BINDING 0x85B5 -#define GL_CLAMP_VERTEX_COLOR 0x891A -#define GL_CLAMP_FRAGMENT_COLOR 0x891B -#define GL_ALPHA_INTEGER 0x8D97 -typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data); -typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data); -typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index); -typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index); -typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index); -typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode); -typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); -typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); -typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp); -typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode); -typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void); -typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params); -typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name); -typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0); -typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1); -typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); -typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); -typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); -typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index); -typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); -typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers); -typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); -typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); -typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); -typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers); -typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); -typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target); -typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); -typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array); -typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays); -typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); -typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data); -GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data); -GLAPI void APIENTRY glEnablei (GLenum target, GLuint index); -GLAPI void APIENTRY glDisablei (GLenum target, GLuint index); -GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index); -GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode); -GLAPI void APIENTRY glEndTransformFeedback (void); -GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); -GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); -GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp); -GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode); -GLAPI void APIENTRY glEndConditionalRender (void); -GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params); -GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x); -GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y); -GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z); -GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); -GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x); -GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y); -GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z); -GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v); -GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v); -GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v); -GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params); -GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name); -GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name); -GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0); -GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); -GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); -GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params); -GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params); -GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value); -GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value); -GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value); -GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index); -GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer); -GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); -GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); -GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); -GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer); -GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); -GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); -GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); -GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target); -GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); -GLAPI void APIENTRY glGenerateMipmap (GLenum target); -GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); -GLAPI void APIENTRY glBindVertexArray (GLuint array); -GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays); -GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays); -GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array); -#endif -#endif /* GL_VERSION_3_0 */ - -#ifndef GL_VERSION_3_1 -#define GL_VERSION_3_1 1 -#define GL_SAMPLER_2D_RECT 0x8B63 -#define GL_SAMPLER_2D_RECT_SHADOW 0x8B64 -#define GL_SAMPLER_BUFFER 0x8DC2 -#define GL_INT_SAMPLER_2D_RECT 0x8DCD -#define GL_INT_SAMPLER_BUFFER 0x8DD0 -#define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5 -#define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8 -#define GL_TEXTURE_BUFFER 0x8C2A -#define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B -#define GL_TEXTURE_BINDING_BUFFER 0x8C2C -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D -#define GL_TEXTURE_RECTANGLE 0x84F5 -#define GL_TEXTURE_BINDING_RECTANGLE 0x84F6 -#define GL_PROXY_TEXTURE_RECTANGLE 0x84F7 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8 -#define GL_R8_SNORM 0x8F94 -#define GL_RG8_SNORM 0x8F95 -#define GL_RGB8_SNORM 0x8F96 -#define GL_RGBA8_SNORM 0x8F97 -#define GL_R16_SNORM 0x8F98 -#define GL_RG16_SNORM 0x8F99 -#define GL_RGB16_SNORM 0x8F9A -#define GL_RGBA16_SNORM 0x8F9B -#define GL_SIGNED_NORMALIZED 0x8F9C -#define GL_PRIMITIVE_RESTART 0x8F9D -#define GL_PRIMITIVE_RESTART_INDEX 0x8F9E -#define GL_COPY_READ_BUFFER 0x8F36 -#define GL_COPY_WRITE_BUFFER 0x8F37 -#define GL_UNIFORM_BUFFER 0x8A11 -#define GL_UNIFORM_BUFFER_BINDING 0x8A28 -#define GL_UNIFORM_BUFFER_START 0x8A29 -#define GL_UNIFORM_BUFFER_SIZE 0x8A2A -#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B -#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C -#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D -#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E -#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F -#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 -#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 -#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32 -#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 -#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 -#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 -#define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 -#define GL_UNIFORM_TYPE 0x8A37 -#define GL_UNIFORM_SIZE 0x8A38 -#define GL_UNIFORM_NAME_LENGTH 0x8A39 -#define GL_UNIFORM_BLOCK_INDEX 0x8A3A -#define GL_UNIFORM_OFFSET 0x8A3B -#define GL_UNIFORM_ARRAY_STRIDE 0x8A3C -#define GL_UNIFORM_MATRIX_STRIDE 0x8A3D -#define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E -#define GL_UNIFORM_BLOCK_BINDING 0x8A3F -#define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 -#define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 -#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 -#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 -#define GL_INVALID_INDEX 0xFFFFFFFFu -typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); -typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); -typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer); -typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index); -typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); -typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName); -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); -typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); -GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); -GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer); -GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index); -GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); -GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); -GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName); -GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); -GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); -#endif -#endif /* GL_VERSION_3_1 */ - -#ifndef GL_VERSION_3_2 -#define GL_VERSION_3_2 1 -typedef struct __GLsync *GLsync; -#ifndef GLEXT_64_TYPES_DEFINED -/* This code block is duplicated in glxext.h, so must be protected */ -#define GLEXT_64_TYPES_DEFINED -/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ -/* (as used in the GL_EXT_timer_query extension). */ -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -#include -#elif defined(__sun__) || defined(__digital__) -#include -#if defined(__STDC__) -#if defined(__arch64__) || defined(_LP64) -typedef long int int64_t; -typedef unsigned long int uint64_t; -#else -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#endif /* __arch64__ */ -#endif /* __STDC__ */ -#elif defined( __VMS ) || defined(__sgi) -#include -#elif defined(__SCO__) || defined(__USLC__) -#include -#elif defined(__UNIXOS2__) || defined(__SOL64__) -typedef long int int32_t; -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#elif defined(_WIN32) && defined(__GNUC__) -#include -#elif defined(_WIN32) -typedef __int32 int32_t; -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -#else -/* Fallback if nothing above works */ -#include -#endif -#endif -typedef uint64_t GLuint64; -typedef int64_t GLint64; -#define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 -#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 -#define GL_LINES_ADJACENCY 0x000A -#define GL_LINE_STRIP_ADJACENCY 0x000B -#define GL_TRIANGLES_ADJACENCY 0x000C -#define GL_TRIANGLE_STRIP_ADJACENCY 0x000D -#define GL_PROGRAM_POINT_SIZE 0x8642 -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8 -#define GL_GEOMETRY_SHADER 0x8DD9 -#define GL_GEOMETRY_VERTICES_OUT 0x8916 -#define GL_GEOMETRY_INPUT_TYPE 0x8917 -#define GL_GEOMETRY_OUTPUT_TYPE 0x8918 -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 -#define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 -#define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123 -#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124 -#define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 -#define GL_CONTEXT_PROFILE_MASK 0x9126 -#define GL_DEPTH_CLAMP 0x864F -#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C -#define GL_FIRST_VERTEX_CONVENTION 0x8E4D -#define GL_LAST_VERTEX_CONVENTION 0x8E4E -#define GL_PROVOKING_VERTEX 0x8E4F -#define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F -#define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 -#define GL_OBJECT_TYPE 0x9112 -#define GL_SYNC_CONDITION 0x9113 -#define GL_SYNC_STATUS 0x9114 -#define GL_SYNC_FLAGS 0x9115 -#define GL_SYNC_FENCE 0x9116 -#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 -#define GL_UNSIGNALED 0x9118 -#define GL_SIGNALED 0x9119 -#define GL_ALREADY_SIGNALED 0x911A -#define GL_TIMEOUT_EXPIRED 0x911B -#define GL_CONDITION_SATISFIED 0x911C -#define GL_WAIT_FAILED 0x911D -#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull -#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 -#define GL_SAMPLE_POSITION 0x8E50 -#define GL_SAMPLE_MASK 0x8E51 -#define GL_SAMPLE_MASK_VALUE 0x8E52 -#define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 -#define GL_TEXTURE_2D_MULTISAMPLE 0x9100 -#define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101 -#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 -#define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103 -#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 -#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105 -#define GL_TEXTURE_SAMPLES 0x9106 -#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 -#define GL_SAMPLER_2D_MULTISAMPLE 0x9108 -#define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 -#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A -#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B -#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C -#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D -#define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E -#define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F -#define GL_MAX_INTEGER_SAMPLES 0x9110 -typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); -typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); -typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode); -typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags); -typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync); -typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); -typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data); -typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); -typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val); -typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); -GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); -GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); -GLAPI void APIENTRY glProvokingVertex (GLenum mode); -GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags); -GLAPI GLboolean APIENTRY glIsSync (GLsync sync); -GLAPI void APIENTRY glDeleteSync (GLsync sync); -GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); -GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); -GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); -GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); -GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); -GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level); -GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val); -GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask); -#endif -#endif /* GL_VERSION_3_2 */ - -#ifndef GL_VERSION_3_3 -#define GL_VERSION_3_3 1 -#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE -#define GL_SRC1_COLOR 0x88F9 -#define GL_ONE_MINUS_SRC1_COLOR 0x88FA -#define GL_ONE_MINUS_SRC1_ALPHA 0x88FB -#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC -#define GL_ANY_SAMPLES_PASSED 0x8C2F -#define GL_SAMPLER_BINDING 0x8919 -#define GL_RGB10_A2UI 0x906F -#define GL_TEXTURE_SWIZZLE_R 0x8E42 -#define GL_TEXTURE_SWIZZLE_G 0x8E43 -#define GL_TEXTURE_SWIZZLE_B 0x8E44 -#define GL_TEXTURE_SWIZZLE_A 0x8E45 -#define GL_TEXTURE_SWIZZLE_RGBA 0x8E46 -#define GL_TIME_ELAPSED 0x88BF -#define GL_TIMESTAMP 0x8E28 -#define GL_INT_2_10_10_10_REV 0x8D9F -typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); -typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers); -typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers); -typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler); -typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler); -typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param); -typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param); -typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param); -typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param); -typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params); -typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); -typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value); -typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value); -typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value); -typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value); -typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value); -typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value); -typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords); -typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords); -typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords); -typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords); -typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords); -typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords); -typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords); -typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords); -typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords); -typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords); -typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords); -typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords); -typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords); -typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords); -typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords); -typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords); -typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords); -typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords); -typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color); -typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color); -typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color); -typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color); -typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color); -typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); -GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name); -GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); -GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers); -GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler); -GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler); -GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); -GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param); -GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); -GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param); -GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param); -GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param); -GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params); -GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target); -GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params); -GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params); -GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor); -GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); -GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); -GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); -GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); -GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value); -GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value); -GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value); -GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value); -GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value); -GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value); -GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords); -GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords); -GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords); -GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords); -GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords); -GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords); -GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords); -GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords); -GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords); -GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords); -GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords); -GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords); -GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords); -GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords); -GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords); -GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords); -GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords); -GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords); -GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color); -GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color); -GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color); -GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color); -GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color); -GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color); -#endif -#endif /* GL_VERSION_3_3 */ - -#ifndef GL_VERSION_4_0 -#define GL_VERSION_4_0 1 -#define GL_SAMPLE_SHADING 0x8C36 -#define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37 -#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E -#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F -#define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A -#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B -#define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C -#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D -#define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E -#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F -#define GL_DRAW_INDIRECT_BUFFER 0x8F3F -#define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 -#define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F -#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A -#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B -#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C -#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D -#define GL_MAX_VERTEX_STREAMS 0x8E71 -#define GL_DOUBLE_VEC2 0x8FFC -#define GL_DOUBLE_VEC3 0x8FFD -#define GL_DOUBLE_VEC4 0x8FFE -#define GL_DOUBLE_MAT2 0x8F46 -#define GL_DOUBLE_MAT3 0x8F47 -#define GL_DOUBLE_MAT4 0x8F48 -#define GL_DOUBLE_MAT2x3 0x8F49 -#define GL_DOUBLE_MAT2x4 0x8F4A -#define GL_DOUBLE_MAT3x2 0x8F4B -#define GL_DOUBLE_MAT3x4 0x8F4C -#define GL_DOUBLE_MAT4x2 0x8F4D -#define GL_DOUBLE_MAT4x3 0x8F4E -#define GL_ACTIVE_SUBROUTINES 0x8DE5 -#define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6 -#define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47 -#define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48 -#define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49 -#define GL_MAX_SUBROUTINES 0x8DE7 -#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8 -#define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A -#define GL_COMPATIBLE_SUBROUTINES 0x8E4B -#define GL_PATCHES 0x000E -#define GL_PATCH_VERTICES 0x8E72 -#define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73 -#define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74 -#define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75 -#define GL_TESS_GEN_MODE 0x8E76 -#define GL_TESS_GEN_SPACING 0x8E77 -#define GL_TESS_GEN_VERTEX_ORDER 0x8E78 -#define GL_TESS_GEN_POINT_MODE 0x8E79 -#define GL_ISOLINES 0x8E7A -#define GL_FRACTIONAL_ODD 0x8E7B -#define GL_FRACTIONAL_EVEN 0x8E7C -#define GL_MAX_PATCH_VERTICES 0x8E7D -#define GL_MAX_TESS_GEN_LEVEL 0x8E7E -#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F -#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80 -#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81 -#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82 -#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83 -#define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84 -#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85 -#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86 -#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89 -#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A -#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C -#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D -#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E -#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F -#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1 -#define GL_TESS_EVALUATION_SHADER 0x8E87 -#define GL_TESS_CONTROL_SHADER 0x8E88 -#define GL_TRANSFORM_FEEDBACK 0x8E22 -#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23 -#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24 -#define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 -#define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70 -typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value); -typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode); -typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst); -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect); -typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect); -typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x); -typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params); -typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name); -typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name); -typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); -typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); -typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); -typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices); -typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values); -typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value); -typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values); -typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id); -typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids); -typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids); -typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id); -typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void); -typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void); -typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id); -typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream); -typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id); -typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index); -typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMinSampleShading (GLfloat value); -GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode); -GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst); -GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect); -GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect); -GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x); -GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y); -GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params); -GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name); -GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name); -GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); -GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); -GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); -GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices); -GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params); -GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values); -GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value); -GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values); -GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id); -GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids); -GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids); -GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id); -GLAPI void APIENTRY glPauseTransformFeedback (void); -GLAPI void APIENTRY glResumeTransformFeedback (void); -GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id); -GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream); -GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id); -GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index); -GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params); -#endif -#endif /* GL_VERSION_4_0 */ - -#ifndef GL_VERSION_4_1 -#define GL_VERSION_4_1 1 -#define GL_FIXED 0x140C -#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B -#define GL_LOW_FLOAT 0x8DF0 -#define GL_MEDIUM_FLOAT 0x8DF1 -#define GL_HIGH_FLOAT 0x8DF2 -#define GL_LOW_INT 0x8DF3 -#define GL_MEDIUM_INT 0x8DF4 -#define GL_HIGH_INT 0x8DF5 -#define GL_SHADER_COMPILER 0x8DFA -#define GL_SHADER_BINARY_FORMATS 0x8DF8 -#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 -#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB -#define GL_MAX_VARYING_VECTORS 0x8DFC -#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD -#define GL_RGB565 0x8D62 -#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 -#define GL_PROGRAM_BINARY_LENGTH 0x8741 -#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE -#define GL_PROGRAM_BINARY_FORMATS 0x87FF -#define GL_VERTEX_SHADER_BIT 0x00000001 -#define GL_FRAGMENT_SHADER_BIT 0x00000002 -#define GL_GEOMETRY_SHADER_BIT 0x00000004 -#define GL_TESS_CONTROL_SHADER_BIT 0x00000008 -#define GL_TESS_EVALUATION_SHADER_BIT 0x00000010 -#define GL_ALL_SHADER_BITS 0xFFFFFFFF -#define GL_PROGRAM_SEPARABLE 0x8258 -#define GL_ACTIVE_PROGRAM 0x8259 -#define GL_PROGRAM_PIPELINE_BINDING 0x825A -#define GL_MAX_VIEWPORTS 0x825B -#define GL_VIEWPORT_SUBPIXEL_BITS 0x825C -#define GL_VIEWPORT_BOUNDS_RANGE 0x825D -#define GL_LAYER_PROVOKING_VERTEX 0x825E -#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F -#define GL_UNDEFINED_VERTEX 0x8260 -typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); -typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); -typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); -typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); -typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); -typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); -typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value); -typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program); -typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program); -typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings); -typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline); -typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines); -typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines); -typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline); -typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline); -typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); -typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v); -typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v); -typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f); -typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data); -typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glReleaseShaderCompiler (void); -GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); -GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); -GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f); -GLAPI void APIENTRY glClearDepthf (GLfloat d); -GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); -GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); -GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value); -GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program); -GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program); -GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings); -GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline); -GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines); -GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines); -GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline); -GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params); -GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0); -GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0); -GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0); -GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0); -GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1); -GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1); -GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1); -GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1); -GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); -GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); -GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline); -GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x); -GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y); -GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params); -GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v); -GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); -GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v); -GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); -GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v); -GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v); -GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f); -GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data); -GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data); -#endif -#endif /* GL_VERSION_4_1 */ - -#ifndef GL_VERSION_4_2 -#define GL_VERSION_4_2 1 -#define GL_COPY_READ_BUFFER_BINDING 0x8F36 -#define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 -#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 -#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 -#define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127 -#define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128 -#define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129 -#define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A -#define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B -#define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C -#define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D -#define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E -#define GL_NUM_SAMPLE_COUNTS 0x9380 -#define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC -#define GL_ATOMIC_COUNTER_BUFFER 0x92C0 -#define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1 -#define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2 -#define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3 -#define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4 -#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5 -#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB -#define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC -#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD -#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE -#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF -#define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0 -#define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1 -#define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2 -#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3 -#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4 -#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5 -#define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6 -#define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7 -#define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8 -#define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC -#define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9 -#define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA -#define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB -#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001 -#define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002 -#define GL_UNIFORM_BARRIER_BIT 0x00000004 -#define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008 -#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020 -#define GL_COMMAND_BARRIER_BIT 0x00000040 -#define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080 -#define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100 -#define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200 -#define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400 -#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800 -#define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000 -#define GL_ALL_BARRIER_BITS 0xFFFFFFFF -#define GL_MAX_IMAGE_UNITS 0x8F38 -#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39 -#define GL_IMAGE_BINDING_NAME 0x8F3A -#define GL_IMAGE_BINDING_LEVEL 0x8F3B -#define GL_IMAGE_BINDING_LAYERED 0x8F3C -#define GL_IMAGE_BINDING_LAYER 0x8F3D -#define GL_IMAGE_BINDING_ACCESS 0x8F3E -#define GL_IMAGE_1D 0x904C -#define GL_IMAGE_2D 0x904D -#define GL_IMAGE_3D 0x904E -#define GL_IMAGE_2D_RECT 0x904F -#define GL_IMAGE_CUBE 0x9050 -#define GL_IMAGE_BUFFER 0x9051 -#define GL_IMAGE_1D_ARRAY 0x9052 -#define GL_IMAGE_2D_ARRAY 0x9053 -#define GL_IMAGE_CUBE_MAP_ARRAY 0x9054 -#define GL_IMAGE_2D_MULTISAMPLE 0x9055 -#define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056 -#define GL_INT_IMAGE_1D 0x9057 -#define GL_INT_IMAGE_2D 0x9058 -#define GL_INT_IMAGE_3D 0x9059 -#define GL_INT_IMAGE_2D_RECT 0x905A -#define GL_INT_IMAGE_CUBE 0x905B -#define GL_INT_IMAGE_BUFFER 0x905C -#define GL_INT_IMAGE_1D_ARRAY 0x905D -#define GL_INT_IMAGE_2D_ARRAY 0x905E -#define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F -#define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060 -#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061 -#define GL_UNSIGNED_INT_IMAGE_1D 0x9062 -#define GL_UNSIGNED_INT_IMAGE_2D 0x9063 -#define GL_UNSIGNED_INT_IMAGE_3D 0x9064 -#define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065 -#define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066 -#define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067 -#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068 -#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069 -#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A -#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B -#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C -#define GL_MAX_IMAGE_SAMPLES 0x906D -#define GL_IMAGE_BINDING_FORMAT 0x906E -#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7 -#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8 -#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9 -#define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA -#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB -#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC -#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD -#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE -#define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF -#define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C -#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D -#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E -#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F -#define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F -typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); -typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); -typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); -typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); -typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); -typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers); -typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount); -typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); -GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); -GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); -GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); -GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); -GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); -GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers); -GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount); -GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount); -#endif -#endif /* GL_VERSION_4_2 */ - -#ifndef GL_VERSION_4_3 -#define GL_VERSION_4_3 1 -typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); -#define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9 -#define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E -#define GL_COMPRESSED_RGB8_ETC2 0x9274 -#define GL_COMPRESSED_SRGB8_ETC2 0x9275 -#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 -#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 -#define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 -#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 -#define GL_COMPRESSED_R11_EAC 0x9270 -#define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 -#define GL_COMPRESSED_RG11_EAC 0x9272 -#define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 -#define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 -#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A -#define GL_MAX_ELEMENT_INDEX 0x8D6B -#define GL_COMPUTE_SHADER 0x91B9 -#define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB -#define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC -#define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD -#define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262 -#define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263 -#define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264 -#define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265 -#define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266 -#define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB -#define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE -#define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF -#define GL_COMPUTE_WORK_GROUP_SIZE 0x8267 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED -#define GL_DISPATCH_INDIRECT_BUFFER 0x90EE -#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF -#define GL_COMPUTE_SHADER_BIT 0x00000020 -#define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 -#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 -#define GL_DEBUG_CALLBACK_FUNCTION 0x8244 -#define GL_DEBUG_CALLBACK_USER_PARAM 0x8245 -#define GL_DEBUG_SOURCE_API 0x8246 -#define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247 -#define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248 -#define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249 -#define GL_DEBUG_SOURCE_APPLICATION 0x824A -#define GL_DEBUG_SOURCE_OTHER 0x824B -#define GL_DEBUG_TYPE_ERROR 0x824C -#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D -#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E -#define GL_DEBUG_TYPE_PORTABILITY 0x824F -#define GL_DEBUG_TYPE_PERFORMANCE 0x8250 -#define GL_DEBUG_TYPE_OTHER 0x8251 -#define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143 -#define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144 -#define GL_DEBUG_LOGGED_MESSAGES 0x9145 -#define GL_DEBUG_SEVERITY_HIGH 0x9146 -#define GL_DEBUG_SEVERITY_MEDIUM 0x9147 -#define GL_DEBUG_SEVERITY_LOW 0x9148 -#define GL_DEBUG_TYPE_MARKER 0x8268 -#define GL_DEBUG_TYPE_PUSH_GROUP 0x8269 -#define GL_DEBUG_TYPE_POP_GROUP 0x826A -#define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B -#define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C -#define GL_DEBUG_GROUP_STACK_DEPTH 0x826D -#define GL_BUFFER 0x82E0 -#define GL_SHADER 0x82E1 -#define GL_PROGRAM 0x82E2 -#define GL_QUERY 0x82E3 -#define GL_PROGRAM_PIPELINE 0x82E4 -#define GL_SAMPLER 0x82E6 -#define GL_MAX_LABEL_LENGTH 0x82E8 -#define GL_DEBUG_OUTPUT 0x92E0 -#define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 -#define GL_MAX_UNIFORM_LOCATIONS 0x826E -#define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310 -#define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311 -#define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312 -#define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313 -#define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314 -#define GL_MAX_FRAMEBUFFER_WIDTH 0x9315 -#define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316 -#define GL_MAX_FRAMEBUFFER_LAYERS 0x9317 -#define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318 -#define GL_INTERNALFORMAT_SUPPORTED 0x826F -#define GL_INTERNALFORMAT_PREFERRED 0x8270 -#define GL_INTERNALFORMAT_RED_SIZE 0x8271 -#define GL_INTERNALFORMAT_GREEN_SIZE 0x8272 -#define GL_INTERNALFORMAT_BLUE_SIZE 0x8273 -#define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274 -#define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275 -#define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276 -#define GL_INTERNALFORMAT_SHARED_SIZE 0x8277 -#define GL_INTERNALFORMAT_RED_TYPE 0x8278 -#define GL_INTERNALFORMAT_GREEN_TYPE 0x8279 -#define GL_INTERNALFORMAT_BLUE_TYPE 0x827A -#define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B -#define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C -#define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D -#define GL_MAX_WIDTH 0x827E -#define GL_MAX_HEIGHT 0x827F -#define GL_MAX_DEPTH 0x8280 -#define GL_MAX_LAYERS 0x8281 -#define GL_MAX_COMBINED_DIMENSIONS 0x8282 -#define GL_COLOR_COMPONENTS 0x8283 -#define GL_DEPTH_COMPONENTS 0x8284 -#define GL_STENCIL_COMPONENTS 0x8285 -#define GL_COLOR_RENDERABLE 0x8286 -#define GL_DEPTH_RENDERABLE 0x8287 -#define GL_STENCIL_RENDERABLE 0x8288 -#define GL_FRAMEBUFFER_RENDERABLE 0x8289 -#define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A -#define GL_FRAMEBUFFER_BLEND 0x828B -#define GL_READ_PIXELS 0x828C -#define GL_READ_PIXELS_FORMAT 0x828D -#define GL_READ_PIXELS_TYPE 0x828E -#define GL_TEXTURE_IMAGE_FORMAT 0x828F -#define GL_TEXTURE_IMAGE_TYPE 0x8290 -#define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291 -#define GL_GET_TEXTURE_IMAGE_TYPE 0x8292 -#define GL_MIPMAP 0x8293 -#define GL_MANUAL_GENERATE_MIPMAP 0x8294 -#define GL_AUTO_GENERATE_MIPMAP 0x8295 -#define GL_COLOR_ENCODING 0x8296 -#define GL_SRGB_READ 0x8297 -#define GL_SRGB_WRITE 0x8298 -#define GL_FILTER 0x829A -#define GL_VERTEX_TEXTURE 0x829B -#define GL_TESS_CONTROL_TEXTURE 0x829C -#define GL_TESS_EVALUATION_TEXTURE 0x829D -#define GL_GEOMETRY_TEXTURE 0x829E -#define GL_FRAGMENT_TEXTURE 0x829F -#define GL_COMPUTE_TEXTURE 0x82A0 -#define GL_TEXTURE_SHADOW 0x82A1 -#define GL_TEXTURE_GATHER 0x82A2 -#define GL_TEXTURE_GATHER_SHADOW 0x82A3 -#define GL_SHADER_IMAGE_LOAD 0x82A4 -#define GL_SHADER_IMAGE_STORE 0x82A5 -#define GL_SHADER_IMAGE_ATOMIC 0x82A6 -#define GL_IMAGE_TEXEL_SIZE 0x82A7 -#define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8 -#define GL_IMAGE_PIXEL_FORMAT 0x82A9 -#define GL_IMAGE_PIXEL_TYPE 0x82AA -#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC -#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD -#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE -#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF -#define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1 -#define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2 -#define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3 -#define GL_CLEAR_BUFFER 0x82B4 -#define GL_TEXTURE_VIEW 0x82B5 -#define GL_VIEW_COMPATIBILITY_CLASS 0x82B6 -#define GL_FULL_SUPPORT 0x82B7 -#define GL_CAVEAT_SUPPORT 0x82B8 -#define GL_IMAGE_CLASS_4_X_32 0x82B9 -#define GL_IMAGE_CLASS_2_X_32 0x82BA -#define GL_IMAGE_CLASS_1_X_32 0x82BB -#define GL_IMAGE_CLASS_4_X_16 0x82BC -#define GL_IMAGE_CLASS_2_X_16 0x82BD -#define GL_IMAGE_CLASS_1_X_16 0x82BE -#define GL_IMAGE_CLASS_4_X_8 0x82BF -#define GL_IMAGE_CLASS_2_X_8 0x82C0 -#define GL_IMAGE_CLASS_1_X_8 0x82C1 -#define GL_IMAGE_CLASS_11_11_10 0x82C2 -#define GL_IMAGE_CLASS_10_10_10_2 0x82C3 -#define GL_VIEW_CLASS_128_BITS 0x82C4 -#define GL_VIEW_CLASS_96_BITS 0x82C5 -#define GL_VIEW_CLASS_64_BITS 0x82C6 -#define GL_VIEW_CLASS_48_BITS 0x82C7 -#define GL_VIEW_CLASS_32_BITS 0x82C8 -#define GL_VIEW_CLASS_24_BITS 0x82C9 -#define GL_VIEW_CLASS_16_BITS 0x82CA -#define GL_VIEW_CLASS_8_BITS 0x82CB -#define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC -#define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD -#define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE -#define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF -#define GL_VIEW_CLASS_RGTC1_RED 0x82D0 -#define GL_VIEW_CLASS_RGTC2_RG 0x82D1 -#define GL_VIEW_CLASS_BPTC_UNORM 0x82D2 -#define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3 -#define GL_UNIFORM 0x92E1 -#define GL_UNIFORM_BLOCK 0x92E2 -#define GL_PROGRAM_INPUT 0x92E3 -#define GL_PROGRAM_OUTPUT 0x92E4 -#define GL_BUFFER_VARIABLE 0x92E5 -#define GL_SHADER_STORAGE_BLOCK 0x92E6 -#define GL_VERTEX_SUBROUTINE 0x92E8 -#define GL_TESS_CONTROL_SUBROUTINE 0x92E9 -#define GL_TESS_EVALUATION_SUBROUTINE 0x92EA -#define GL_GEOMETRY_SUBROUTINE 0x92EB -#define GL_FRAGMENT_SUBROUTINE 0x92EC -#define GL_COMPUTE_SUBROUTINE 0x92ED -#define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE -#define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF -#define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0 -#define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1 -#define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2 -#define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3 -#define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4 -#define GL_ACTIVE_RESOURCES 0x92F5 -#define GL_MAX_NAME_LENGTH 0x92F6 -#define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7 -#define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8 -#define GL_NAME_LENGTH 0x92F9 -#define GL_TYPE 0x92FA -#define GL_ARRAY_SIZE 0x92FB -#define GL_OFFSET 0x92FC -#define GL_BLOCK_INDEX 0x92FD -#define GL_ARRAY_STRIDE 0x92FE -#define GL_MATRIX_STRIDE 0x92FF -#define GL_IS_ROW_MAJOR 0x9300 -#define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301 -#define GL_BUFFER_BINDING 0x9302 -#define GL_BUFFER_DATA_SIZE 0x9303 -#define GL_NUM_ACTIVE_VARIABLES 0x9304 -#define GL_ACTIVE_VARIABLES 0x9305 -#define GL_REFERENCED_BY_VERTEX_SHADER 0x9306 -#define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307 -#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308 -#define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309 -#define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A -#define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B -#define GL_TOP_LEVEL_ARRAY_SIZE 0x930C -#define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D -#define GL_LOCATION 0x930E -#define GL_LOCATION_INDEX 0x930F -#define GL_IS_PER_PATCH 0x92E7 -#define GL_SHADER_STORAGE_BUFFER 0x90D2 -#define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3 -#define GL_SHADER_STORAGE_BUFFER_START 0x90D4 -#define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5 -#define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6 -#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7 -#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8 -#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9 -#define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA -#define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB -#define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC -#define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD -#define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE -#define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF -#define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000 -#define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39 -#define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA -#define GL_TEXTURE_BUFFER_OFFSET 0x919D -#define GL_TEXTURE_BUFFER_SIZE 0x919E -#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F -#define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB -#define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC -#define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD -#define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE -#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF -#define GL_VERTEX_ATTRIB_BINDING 0x82D4 -#define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5 -#define GL_VERTEX_BINDING_DIVISOR 0x82D6 -#define GL_VERTEX_BINDING_OFFSET 0x82D7 -#define GL_VERTEX_BINDING_STRIDE 0x82D8 -#define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9 -#define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA -#define GL_VERTEX_BINDING_BUFFER 0x8F4F -#define GL_DISPLAY_LIST 0x82E7 -typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data); -typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); -typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); -typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect); -typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); -typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); -typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); -typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); -typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); -typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); -typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params); -typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); -typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); -typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); -typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name); -typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); -typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); -typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); -typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex); -typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor); -typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); -typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); -typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam); -typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); -typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); -typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void); -typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); -typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); -typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label); -typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data); -GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); -GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); -GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect); -GLAPI void APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); -GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param); -GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); -GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); -GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level); -GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length); -GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer); -GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments); -GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); -GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); -GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params); -GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name); -GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); -GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); -GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name); -GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name); -GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); -GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); -GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex); -GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor); -GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); -GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); -GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam); -GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); -GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message); -GLAPI void APIENTRY glPopDebugGroup (void); -GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); -GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); -GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label); -GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); -#endif -#endif /* GL_VERSION_4_3 */ - -#ifndef GL_VERSION_4_4 -#define GL_VERSION_4_4 1 -#define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5 -#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221 -#define GL_TEXTURE_BUFFER_BINDING 0x8C2A -#define GL_MAP_PERSISTENT_BIT 0x0040 -#define GL_MAP_COHERENT_BIT 0x0080 -#define GL_DYNAMIC_STORAGE_BIT 0x0100 -#define GL_CLIENT_STORAGE_BIT 0x0200 -#define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000 -#define GL_BUFFER_IMMUTABLE_STORAGE 0x821F -#define GL_BUFFER_STORAGE_FLAGS 0x8220 -#define GL_CLEAR_TEXTURE 0x9365 -#define GL_LOCATION_COMPONENT 0x934A -#define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B -#define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C -#define GL_QUERY_BUFFER 0x9192 -#define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000 -#define GL_QUERY_BUFFER_BINDING 0x9193 -#define GL_QUERY_RESULT_NO_WAIT 0x9194 -#define GL_MIRROR_CLAMP_TO_EDGE 0x8743 -typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); -typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); -typedef void (APIENTRYP PFNGLCLEARTEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); -typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers); -typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes); -typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures); -typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers); -typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures); -typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); -GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); -GLAPI void APIENTRY glClearTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); -GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers); -GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes); -GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures); -GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers); -GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures); -GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); -#endif -#endif /* GL_VERSION_4_4 */ - -#ifndef GL_VERSION_4_5 -#define GL_VERSION_4_5 1 -#define GL_CONTEXT_LOST 0x0507 -#define GL_NEGATIVE_ONE_TO_ONE 0x935E -#define GL_ZERO_TO_ONE 0x935F -#define GL_CLIP_ORIGIN 0x935C -#define GL_CLIP_DEPTH_MODE 0x935D -#define GL_QUERY_WAIT_INVERTED 0x8E17 -#define GL_QUERY_NO_WAIT_INVERTED 0x8E18 -#define GL_QUERY_BY_REGION_WAIT_INVERTED 0x8E19 -#define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A -#define GL_MAX_CULL_DISTANCES 0x82F9 -#define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA -#define GL_TEXTURE_TARGET 0x1006 -#define GL_QUERY_TARGET 0x82EA -#define GL_GUILTY_CONTEXT_RESET 0x8253 -#define GL_INNOCENT_CONTEXT_RESET 0x8254 -#define GL_UNKNOWN_CONTEXT_RESET 0x8255 -#define GL_RESET_NOTIFICATION_STRATEGY 0x8256 -#define GL_LOSE_CONTEXT_ON_RESET 0x8252 -#define GL_NO_RESET_NOTIFICATION 0x8261 -#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004 -#define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB -#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC -typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth); -typedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids); -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer); -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param); -typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param); -typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param); -typedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers); -typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); -typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); -typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); -typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); -typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); -typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access); -typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); -typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params); -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params); -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); -typedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC) (GLuint framebuffer, GLenum src); -typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments); -typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value); -typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value); -typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value); -typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -typedef void (APIENTRYP PFNGLBLITNAMEDFRAMEBUFFERPROC) (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target); -typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param); -typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLCREATERENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); -typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures); -typedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer); -typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFPROC) (GLuint texture, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, const GLfloat *param); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIPROC) (GLuint texture, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, const GLuint *params); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, const GLint *param); -typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPPROC) (GLuint texture); -typedef void (APIENTRYP PFNGLBINDTEXTUREUNITPROC) (GLuint unit, GLuint texture); -typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLsizei bufSize, void *pixels); -typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVPROC) (GLuint texture, GLint level, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVPROC) (GLuint texture, GLint level, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLCREATEVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); -typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index); -typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index); -typedef void (APIENTRYP PFNGLVERTEXARRAYELEMENTBUFFERPROC) (GLuint vaobj, GLuint buffer); -typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERSPROC) (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); -typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBBINDINGPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex); -typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBIFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBLFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -typedef void (APIENTRYP PFNGLVERTEXARRAYBINDINGDIVISORPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor); -typedef void (APIENTRYP PFNGLGETVERTEXARRAYIVPROC) (GLuint vaobj, GLenum pname, GLint *param); -typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXEDIVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param); -typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXED64IVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param); -typedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers); -typedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines); -typedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids); -typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -typedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers); -typedef void (APIENTRYP PFNGLGETTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels); -typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void); -typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, void *pixels); -typedef void (APIENTRYP PFNGLGETNTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); -typedef void (APIENTRYP PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); -typedef void (APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); -typedef void (APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); -typedef void (APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); -typedef void (APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -typedef void (APIENTRYP PFNGLGETNMAPDVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v); -typedef void (APIENTRYP PFNGLGETNMAPFVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v); -typedef void (APIENTRYP PFNGLGETNMAPIVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v); -typedef void (APIENTRYP PFNGLGETNPIXELMAPFVPROC) (GLenum map, GLsizei bufSize, GLfloat *values); -typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVPROC) (GLenum map, GLsizei bufSize, GLuint *values); -typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVPROC) (GLenum map, GLsizei bufSize, GLushort *values); -typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEPROC) (GLsizei bufSize, GLubyte *pattern); -typedef void (APIENTRYP PFNGLGETNCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table); -typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image); -typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span); -typedef void (APIENTRYP PFNGLGETNHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values); -typedef void (APIENTRYP PFNGLGETNMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values); -typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth); -GLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids); -GLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer); -GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param); -GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param); -GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param); -GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers); -GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); -GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); -GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); -GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -GLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); -GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); -GLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access); -GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); -GLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer); -GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length); -GLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params); -GLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params); -GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); -GLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers); -GLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -GLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param); -GLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); -GLAPI void APIENTRY glNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); -GLAPI void APIENTRY glNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf); -GLAPI void APIENTRY glNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs); -GLAPI void APIENTRY glNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src); -GLAPI void APIENTRY glInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments); -GLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value); -GLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value); -GLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value); -GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -GLAPI void APIENTRY glBlitNamedFramebuffer (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -GLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target); -GLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param); -GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); -GLAPI void APIENTRY glCreateRenderbuffers (GLsizei n, GLuint *renderbuffers); -GLAPI void APIENTRY glNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params); -GLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures); -GLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer); -GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -GLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width); -GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -GLAPI void APIENTRY glTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -GLAPI void APIENTRY glTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -GLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -GLAPI void APIENTRY glCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glTextureParameterf (GLuint texture, GLenum pname, GLfloat param); -GLAPI void APIENTRY glTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param); -GLAPI void APIENTRY glTextureParameteri (GLuint texture, GLenum pname, GLint param); -GLAPI void APIENTRY glTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params); -GLAPI void APIENTRY glTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params); -GLAPI void APIENTRY glTextureParameteriv (GLuint texture, GLenum pname, const GLint *param); -GLAPI void APIENTRY glGenerateTextureMipmap (GLuint texture); -GLAPI void APIENTRY glBindTextureUnit (GLuint unit, GLuint texture); -GLAPI void APIENTRY glGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); -GLAPI void APIENTRY glGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels); -GLAPI void APIENTRY glGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params); -GLAPI void APIENTRY glGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params); -GLAPI void APIENTRY glCreateVertexArrays (GLsizei n, GLuint *arrays); -GLAPI void APIENTRY glDisableVertexArrayAttrib (GLuint vaobj, GLuint index); -GLAPI void APIENTRY glEnableVertexArrayAttrib (GLuint vaobj, GLuint index); -GLAPI void APIENTRY glVertexArrayElementBuffer (GLuint vaobj, GLuint buffer); -GLAPI void APIENTRY glVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -GLAPI void APIENTRY glVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); -GLAPI void APIENTRY glVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex); -GLAPI void APIENTRY glVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -GLAPI void APIENTRY glVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -GLAPI void APIENTRY glVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -GLAPI void APIENTRY glVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor); -GLAPI void APIENTRY glGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param); -GLAPI void APIENTRY glGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param); -GLAPI void APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param); -GLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers); -GLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines); -GLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids); -GLAPI void APIENTRY glGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -GLAPI void APIENTRY glGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -GLAPI void APIENTRY glGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -GLAPI void APIENTRY glGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -GLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers); -GLAPI void APIENTRY glGetTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels); -GLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels); -GLAPI GLenum APIENTRY glGetGraphicsResetStatus (void); -GLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels); -GLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels); -GLAPI void APIENTRY glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); -GLAPI void APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); -GLAPI void APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params); -GLAPI void APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params); -GLAPI void APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -GLAPI void APIENTRY glGetnMapdv (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v); -GLAPI void APIENTRY glGetnMapfv (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v); -GLAPI void APIENTRY glGetnMapiv (GLenum target, GLenum query, GLsizei bufSize, GLint *v); -GLAPI void APIENTRY glGetnPixelMapfv (GLenum map, GLsizei bufSize, GLfloat *values); -GLAPI void APIENTRY glGetnPixelMapuiv (GLenum map, GLsizei bufSize, GLuint *values); -GLAPI void APIENTRY glGetnPixelMapusv (GLenum map, GLsizei bufSize, GLushort *values); -GLAPI void APIENTRY glGetnPolygonStipple (GLsizei bufSize, GLubyte *pattern); -GLAPI void APIENTRY glGetnColorTable (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table); -GLAPI void APIENTRY glGetnConvolutionFilter (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image); -GLAPI void APIENTRY glGetnSeparableFilter (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span); -GLAPI void APIENTRY glGetnHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values); -GLAPI void APIENTRY glGetnMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values); -GLAPI void APIENTRY glTextureBarrier (void); -#endif -#endif /* GL_VERSION_4_5 */ - -#ifndef GL_ARB_ES2_compatibility -#define GL_ARB_ES2_compatibility 1 -#endif /* GL_ARB_ES2_compatibility */ - -#ifndef GL_ARB_ES3_1_compatibility -#define GL_ARB_ES3_1_compatibility 1 -#endif /* GL_ARB_ES3_1_compatibility */ - -#ifndef GL_ARB_ES3_2_compatibility -#define GL_ARB_ES3_2_compatibility 1 -#define GL_PRIMITIVE_BOUNDING_BOX_ARB 0x92BE -#define GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB 0x9381 -#define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB 0x9382 -typedef void (APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXARBPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPrimitiveBoundingBoxARB (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); -#endif -#endif /* GL_ARB_ES3_2_compatibility */ - -#ifndef GL_ARB_ES3_compatibility -#define GL_ARB_ES3_compatibility 1 -#endif /* GL_ARB_ES3_compatibility */ - -#ifndef GL_ARB_arrays_of_arrays -#define GL_ARB_arrays_of_arrays 1 -#endif /* GL_ARB_arrays_of_arrays */ - -#ifndef GL_ARB_base_instance -#define GL_ARB_base_instance 1 -#endif /* GL_ARB_base_instance */ - -#ifndef GL_ARB_bindless_texture -#define GL_ARB_bindless_texture 1 -typedef uint64_t GLuint64EXT; -#define GL_UNSIGNED_INT64_ARB 0x140F -typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture); -typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler); -typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle); -typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle); -typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); -typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access); -typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle); -typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value); -typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); -typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle); -typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture); -GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler); -GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle); -GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle); -GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); -GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access); -GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle); -GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value); -GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value); -GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value); -GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values); -GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle); -GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle); -GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x); -GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v); -GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params); -#endif -#endif /* GL_ARB_bindless_texture */ - -#ifndef GL_ARB_blend_func_extended -#define GL_ARB_blend_func_extended 1 -#endif /* GL_ARB_blend_func_extended */ - -#ifndef GL_ARB_buffer_storage -#define GL_ARB_buffer_storage 1 -#endif /* GL_ARB_buffer_storage */ - -#ifndef GL_ARB_cl_event -#define GL_ARB_cl_event 1 -struct _cl_context; -struct _cl_event; -#define GL_SYNC_CL_EVENT_ARB 0x8240 -#define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241 -typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags); -#endif -#endif /* GL_ARB_cl_event */ - -#ifndef GL_ARB_clear_buffer_object -#define GL_ARB_clear_buffer_object 1 -#endif /* GL_ARB_clear_buffer_object */ - -#ifndef GL_ARB_clear_texture -#define GL_ARB_clear_texture 1 -#endif /* GL_ARB_clear_texture */ - -#ifndef GL_ARB_clip_control -#define GL_ARB_clip_control 1 -#endif /* GL_ARB_clip_control */ - -#ifndef GL_ARB_color_buffer_float -#define GL_ARB_color_buffer_float 1 -#define GL_RGBA_FLOAT_MODE_ARB 0x8820 -#define GL_CLAMP_VERTEX_COLOR_ARB 0x891A -#define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B -#define GL_CLAMP_READ_COLOR_ARB 0x891C -#define GL_FIXED_ONLY_ARB 0x891D -typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp); -#endif -#endif /* GL_ARB_color_buffer_float */ - -#ifndef GL_ARB_compatibility -#define GL_ARB_compatibility 1 -#endif /* GL_ARB_compatibility */ - -#ifndef GL_ARB_compressed_texture_pixel_storage -#define GL_ARB_compressed_texture_pixel_storage 1 -#endif /* GL_ARB_compressed_texture_pixel_storage */ - -#ifndef GL_ARB_compute_shader -#define GL_ARB_compute_shader 1 -#endif /* GL_ARB_compute_shader */ - -#ifndef GL_ARB_compute_variable_group_size -#define GL_ARB_compute_variable_group_size 1 -#define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344 -#define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB -#define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345 -#define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF -typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDispatchComputeGroupSizeARB (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z); -#endif -#endif /* GL_ARB_compute_variable_group_size */ - -#ifndef GL_ARB_conditional_render_inverted -#define GL_ARB_conditional_render_inverted 1 -#endif /* GL_ARB_conditional_render_inverted */ - -#ifndef GL_ARB_conservative_depth -#define GL_ARB_conservative_depth 1 -#endif /* GL_ARB_conservative_depth */ - -#ifndef GL_ARB_copy_buffer -#define GL_ARB_copy_buffer 1 -#endif /* GL_ARB_copy_buffer */ - -#ifndef GL_ARB_copy_image -#define GL_ARB_copy_image 1 -#endif /* GL_ARB_copy_image */ - -#ifndef GL_ARB_cull_distance -#define GL_ARB_cull_distance 1 -#endif /* GL_ARB_cull_distance */ - -#ifndef GL_ARB_debug_output -#define GL_ARB_debug_output 1 -typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); -#define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242 -#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243 -#define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244 -#define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245 -#define GL_DEBUG_SOURCE_API_ARB 0x8246 -#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247 -#define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248 -#define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249 -#define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A -#define GL_DEBUG_SOURCE_OTHER_ARB 0x824B -#define GL_DEBUG_TYPE_ERROR_ARB 0x824C -#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D -#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E -#define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F -#define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250 -#define GL_DEBUG_TYPE_OTHER_ARB 0x8251 -#define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143 -#define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144 -#define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145 -#define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146 -#define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147 -#define GL_DEBUG_SEVERITY_LOW_ARB 0x9148 -typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); -typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); -typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam); -typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); -GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); -GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam); -GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); -#endif -#endif /* GL_ARB_debug_output */ - -#ifndef GL_ARB_depth_buffer_float -#define GL_ARB_depth_buffer_float 1 -#endif /* GL_ARB_depth_buffer_float */ - -#ifndef GL_ARB_depth_clamp -#define GL_ARB_depth_clamp 1 -#endif /* GL_ARB_depth_clamp */ - -#ifndef GL_ARB_depth_texture -#define GL_ARB_depth_texture 1 -#define GL_DEPTH_COMPONENT16_ARB 0x81A5 -#define GL_DEPTH_COMPONENT24_ARB 0x81A6 -#define GL_DEPTH_COMPONENT32_ARB 0x81A7 -#define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A -#define GL_DEPTH_TEXTURE_MODE_ARB 0x884B -#endif /* GL_ARB_depth_texture */ - -#ifndef GL_ARB_derivative_control -#define GL_ARB_derivative_control 1 -#endif /* GL_ARB_derivative_control */ - -#ifndef GL_ARB_direct_state_access -#define GL_ARB_direct_state_access 1 -#endif /* GL_ARB_direct_state_access */ - -#ifndef GL_ARB_draw_buffers -#define GL_ARB_draw_buffers 1 -#define GL_MAX_DRAW_BUFFERS_ARB 0x8824 -#define GL_DRAW_BUFFER0_ARB 0x8825 -#define GL_DRAW_BUFFER1_ARB 0x8826 -#define GL_DRAW_BUFFER2_ARB 0x8827 -#define GL_DRAW_BUFFER3_ARB 0x8828 -#define GL_DRAW_BUFFER4_ARB 0x8829 -#define GL_DRAW_BUFFER5_ARB 0x882A -#define GL_DRAW_BUFFER6_ARB 0x882B -#define GL_DRAW_BUFFER7_ARB 0x882C -#define GL_DRAW_BUFFER8_ARB 0x882D -#define GL_DRAW_BUFFER9_ARB 0x882E -#define GL_DRAW_BUFFER10_ARB 0x882F -#define GL_DRAW_BUFFER11_ARB 0x8830 -#define GL_DRAW_BUFFER12_ARB 0x8831 -#define GL_DRAW_BUFFER13_ARB 0x8832 -#define GL_DRAW_BUFFER14_ARB 0x8833 -#define GL_DRAW_BUFFER15_ARB 0x8834 -typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs); -#endif -#endif /* GL_ARB_draw_buffers */ - -#ifndef GL_ARB_draw_buffers_blend -#define GL_ARB_draw_buffers_blend 1 -typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode); -typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst); -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode); -GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst); -GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -#endif -#endif /* GL_ARB_draw_buffers_blend */ - -#ifndef GL_ARB_draw_elements_base_vertex -#define GL_ARB_draw_elements_base_vertex 1 -#endif /* GL_ARB_draw_elements_base_vertex */ - -#ifndef GL_ARB_draw_indirect -#define GL_ARB_draw_indirect 1 -#endif /* GL_ARB_draw_indirect */ - -#ifndef GL_ARB_draw_instanced -#define GL_ARB_draw_instanced 1 -typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); -typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount); -GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); -#endif -#endif /* GL_ARB_draw_instanced */ - -#ifndef GL_ARB_enhanced_layouts -#define GL_ARB_enhanced_layouts 1 -#endif /* GL_ARB_enhanced_layouts */ - -#ifndef GL_ARB_explicit_attrib_location -#define GL_ARB_explicit_attrib_location 1 -#endif /* GL_ARB_explicit_attrib_location */ - -#ifndef GL_ARB_explicit_uniform_location -#define GL_ARB_explicit_uniform_location 1 -#endif /* GL_ARB_explicit_uniform_location */ - -#ifndef GL_ARB_fragment_coord_conventions -#define GL_ARB_fragment_coord_conventions 1 -#endif /* GL_ARB_fragment_coord_conventions */ - -#ifndef GL_ARB_fragment_layer_viewport -#define GL_ARB_fragment_layer_viewport 1 -#endif /* GL_ARB_fragment_layer_viewport */ - -#ifndef GL_ARB_fragment_program -#define GL_ARB_fragment_program 1 -#define GL_FRAGMENT_PROGRAM_ARB 0x8804 -#define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875 -#define GL_PROGRAM_LENGTH_ARB 0x8627 -#define GL_PROGRAM_FORMAT_ARB 0x8876 -#define GL_PROGRAM_BINDING_ARB 0x8677 -#define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0 -#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1 -#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2 -#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3 -#define GL_PROGRAM_TEMPORARIES_ARB 0x88A4 -#define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5 -#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6 -#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7 -#define GL_PROGRAM_PARAMETERS_ARB 0x88A8 -#define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9 -#define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA -#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB -#define GL_PROGRAM_ATTRIBS_ARB 0x88AC -#define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD -#define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE -#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF -#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4 -#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5 -#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6 -#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805 -#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806 -#define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807 -#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808 -#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809 -#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A -#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B -#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C -#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D -#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E -#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F -#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810 -#define GL_PROGRAM_STRING_ARB 0x8628 -#define GL_PROGRAM_ERROR_POSITION_ARB 0x864B -#define GL_CURRENT_MATRIX_ARB 0x8641 -#define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7 -#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640 -#define GL_MAX_PROGRAM_MATRICES_ARB 0x862F -#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E -#define GL_MAX_TEXTURE_COORDS_ARB 0x8871 -#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 -#define GL_PROGRAM_ERROR_STRING_ARB 0x8874 -#define GL_MATRIX0_ARB 0x88C0 -#define GL_MATRIX1_ARB 0x88C1 -#define GL_MATRIX2_ARB 0x88C2 -#define GL_MATRIX3_ARB 0x88C3 -#define GL_MATRIX4_ARB 0x88C4 -#define GL_MATRIX5_ARB 0x88C5 -#define GL_MATRIX6_ARB 0x88C6 -#define GL_MATRIX7_ARB 0x88C7 -#define GL_MATRIX8_ARB 0x88C8 -#define GL_MATRIX9_ARB 0x88C9 -#define GL_MATRIX10_ARB 0x88CA -#define GL_MATRIX11_ARB 0x88CB -#define GL_MATRIX12_ARB 0x88CC -#define GL_MATRIX13_ARB 0x88CD -#define GL_MATRIX14_ARB 0x88CE -#define GL_MATRIX15_ARB 0x88CF -#define GL_MATRIX16_ARB 0x88D0 -#define GL_MATRIX17_ARB 0x88D1 -#define GL_MATRIX18_ARB 0x88D2 -#define GL_MATRIX19_ARB 0x88D3 -#define GL_MATRIX20_ARB 0x88D4 -#define GL_MATRIX21_ARB 0x88D5 -#define GL_MATRIX22_ARB 0x88D6 -#define GL_MATRIX23_ARB 0x88D7 -#define GL_MATRIX24_ARB 0x88D8 -#define GL_MATRIX25_ARB 0x88D9 -#define GL_MATRIX26_ARB 0x88DA -#define GL_MATRIX27_ARB 0x88DB -#define GL_MATRIX28_ARB 0x88DC -#define GL_MATRIX29_ARB 0x88DD -#define GL_MATRIX30_ARB 0x88DE -#define GL_MATRIX31_ARB 0x88DF -typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string); -typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program); -typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs); -typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); -typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); -typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); -typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); -typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string); -typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string); -GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program); -GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs); -GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs); -GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params); -GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params); -GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params); -GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params); -GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params); -GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params); -GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params); -GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params); -GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string); -GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program); -#endif -#endif /* GL_ARB_fragment_program */ - -#ifndef GL_ARB_fragment_program_shadow -#define GL_ARB_fragment_program_shadow 1 -#endif /* GL_ARB_fragment_program_shadow */ - -#ifndef GL_ARB_fragment_shader -#define GL_ARB_fragment_shader 1 -#define GL_FRAGMENT_SHADER_ARB 0x8B30 -#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49 -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B -#endif /* GL_ARB_fragment_shader */ - -#ifndef GL_ARB_fragment_shader_interlock -#define GL_ARB_fragment_shader_interlock 1 -#endif /* GL_ARB_fragment_shader_interlock */ - -#ifndef GL_ARB_framebuffer_no_attachments -#define GL_ARB_framebuffer_no_attachments 1 -#endif /* GL_ARB_framebuffer_no_attachments */ - -#ifndef GL_ARB_framebuffer_object -#define GL_ARB_framebuffer_object 1 -#endif /* GL_ARB_framebuffer_object */ - -#ifndef GL_ARB_framebuffer_sRGB -#define GL_ARB_framebuffer_sRGB 1 -#endif /* GL_ARB_framebuffer_sRGB */ - -#ifndef GL_ARB_geometry_shader4 -#define GL_ARB_geometry_shader4 1 -#define GL_LINES_ADJACENCY_ARB 0x000A -#define GL_LINE_STRIP_ADJACENCY_ARB 0x000B -#define GL_TRIANGLES_ADJACENCY_ARB 0x000C -#define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D -#define GL_PROGRAM_POINT_SIZE_ARB 0x8642 -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9 -#define GL_GEOMETRY_SHADER_ARB 0x8DD9 -#define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA -#define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB -#define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC -#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD -#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1 -typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value); -GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level); -GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); -#endif -#endif /* GL_ARB_geometry_shader4 */ - -#ifndef GL_ARB_get_program_binary -#define GL_ARB_get_program_binary 1 -#endif /* GL_ARB_get_program_binary */ - -#ifndef GL_ARB_get_texture_sub_image -#define GL_ARB_get_texture_sub_image 1 -#endif /* GL_ARB_get_texture_sub_image */ - -#ifndef GL_ARB_gpu_shader5 -#define GL_ARB_gpu_shader5 1 -#endif /* GL_ARB_gpu_shader5 */ - -#ifndef GL_ARB_gpu_shader_fp64 -#define GL_ARB_gpu_shader_fp64 1 -#endif /* GL_ARB_gpu_shader_fp64 */ - -#ifndef GL_ARB_gpu_shader_int64 -#define GL_ARB_gpu_shader_int64 1 -#define GL_INT64_ARB 0x140E -#define GL_INT64_VEC2_ARB 0x8FE9 -#define GL_INT64_VEC3_ARB 0x8FEA -#define GL_INT64_VEC4_ARB 0x8FEB -#define GL_UNSIGNED_INT64_VEC2_ARB 0x8FF5 -#define GL_UNSIGNED_INT64_VEC3_ARB 0x8FF6 -#define GL_UNSIGNED_INT64_VEC4_ARB 0x8FF7 -typedef void (APIENTRYP PFNGLUNIFORM1I64ARBPROC) (GLint location, GLint64 x); -typedef void (APIENTRYP PFNGLUNIFORM2I64ARBPROC) (GLint location, GLint64 x, GLint64 y); -typedef void (APIENTRYP PFNGLUNIFORM3I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z); -typedef void (APIENTRYP PFNGLUNIFORM4I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); -typedef void (APIENTRYP PFNGLUNIFORM1I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); -typedef void (APIENTRYP PFNGLUNIFORM2I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); -typedef void (APIENTRYP PFNGLUNIFORM3I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); -typedef void (APIENTRYP PFNGLUNIFORM4I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value); -typedef void (APIENTRYP PFNGLUNIFORM1UI64ARBPROC) (GLint location, GLuint64 x); -typedef void (APIENTRYP PFNGLUNIFORM2UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y); -typedef void (APIENTRYP PFNGLUNIFORM3UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z); -typedef void (APIENTRYP PFNGLUNIFORM4UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); -typedef void (APIENTRYP PFNGLUNIFORM1UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); -typedef void (APIENTRYP PFNGLUNIFORM2UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); -typedef void (APIENTRYP PFNGLUNIFORM3UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); -typedef void (APIENTRYP PFNGLUNIFORM4UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); -typedef void (APIENTRYP PFNGLGETUNIFORMI64VARBPROC) (GLuint program, GLint location, GLint64 *params); -typedef void (APIENTRYP PFNGLGETUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLuint64 *params); -typedef void (APIENTRYP PFNGLGETNUNIFORMI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint64 *params); -typedef void (APIENTRYP PFNGLGETNUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64ARBPROC) (GLuint program, GLint location, GLint64 x); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64ARBPROC) (GLuint program, GLint location, GLuint64 x); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glUniform1i64ARB (GLint location, GLint64 x); -GLAPI void APIENTRY glUniform2i64ARB (GLint location, GLint64 x, GLint64 y); -GLAPI void APIENTRY glUniform3i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z); -GLAPI void APIENTRY glUniform4i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); -GLAPI void APIENTRY glUniform1i64vARB (GLint location, GLsizei count, const GLint64 *value); -GLAPI void APIENTRY glUniform2i64vARB (GLint location, GLsizei count, const GLint64 *value); -GLAPI void APIENTRY glUniform3i64vARB (GLint location, GLsizei count, const GLint64 *value); -GLAPI void APIENTRY glUniform4i64vARB (GLint location, GLsizei count, const GLint64 *value); -GLAPI void APIENTRY glUniform1ui64ARB (GLint location, GLuint64 x); -GLAPI void APIENTRY glUniform2ui64ARB (GLint location, GLuint64 x, GLuint64 y); -GLAPI void APIENTRY glUniform3ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z); -GLAPI void APIENTRY glUniform4ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); -GLAPI void APIENTRY glUniform1ui64vARB (GLint location, GLsizei count, const GLuint64 *value); -GLAPI void APIENTRY glUniform2ui64vARB (GLint location, GLsizei count, const GLuint64 *value); -GLAPI void APIENTRY glUniform3ui64vARB (GLint location, GLsizei count, const GLuint64 *value); -GLAPI void APIENTRY glUniform4ui64vARB (GLint location, GLsizei count, const GLuint64 *value); -GLAPI void APIENTRY glGetUniformi64vARB (GLuint program, GLint location, GLint64 *params); -GLAPI void APIENTRY glGetUniformui64vARB (GLuint program, GLint location, GLuint64 *params); -GLAPI void APIENTRY glGetnUniformi64vARB (GLuint program, GLint location, GLsizei bufSize, GLint64 *params); -GLAPI void APIENTRY glGetnUniformui64vARB (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params); -GLAPI void APIENTRY glProgramUniform1i64ARB (GLuint program, GLint location, GLint64 x); -GLAPI void APIENTRY glProgramUniform2i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y); -GLAPI void APIENTRY glProgramUniform3i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z); -GLAPI void APIENTRY glProgramUniform4i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); -GLAPI void APIENTRY glProgramUniform1i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); -GLAPI void APIENTRY glProgramUniform2i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); -GLAPI void APIENTRY glProgramUniform3i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); -GLAPI void APIENTRY glProgramUniform4i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value); -GLAPI void APIENTRY glProgramUniform1ui64ARB (GLuint program, GLint location, GLuint64 x); -GLAPI void APIENTRY glProgramUniform2ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y); -GLAPI void APIENTRY glProgramUniform3ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z); -GLAPI void APIENTRY glProgramUniform4ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); -GLAPI void APIENTRY glProgramUniform1ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); -GLAPI void APIENTRY glProgramUniform2ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); -GLAPI void APIENTRY glProgramUniform3ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); -GLAPI void APIENTRY glProgramUniform4ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value); -#endif -#endif /* GL_ARB_gpu_shader_int64 */ - -#ifndef GL_ARB_half_float_pixel -#define GL_ARB_half_float_pixel 1 -typedef unsigned short GLhalfARB; -#define GL_HALF_FLOAT_ARB 0x140B -#endif /* GL_ARB_half_float_pixel */ - -#ifndef GL_ARB_half_float_vertex -#define GL_ARB_half_float_vertex 1 -#endif /* GL_ARB_half_float_vertex */ - -#ifndef GL_ARB_imaging -#define GL_ARB_imaging 1 -#define GL_BLEND_COLOR 0x8005 -#define GL_BLEND_EQUATION 0x8009 -#define GL_CONVOLUTION_1D 0x8010 -#define GL_CONVOLUTION_2D 0x8011 -#define GL_SEPARABLE_2D 0x8012 -#define GL_CONVOLUTION_BORDER_MODE 0x8013 -#define GL_CONVOLUTION_FILTER_SCALE 0x8014 -#define GL_CONVOLUTION_FILTER_BIAS 0x8015 -#define GL_REDUCE 0x8016 -#define GL_CONVOLUTION_FORMAT 0x8017 -#define GL_CONVOLUTION_WIDTH 0x8018 -#define GL_CONVOLUTION_HEIGHT 0x8019 -#define GL_MAX_CONVOLUTION_WIDTH 0x801A -#define GL_MAX_CONVOLUTION_HEIGHT 0x801B -#define GL_POST_CONVOLUTION_RED_SCALE 0x801C -#define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D -#define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E -#define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F -#define GL_POST_CONVOLUTION_RED_BIAS 0x8020 -#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 -#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 -#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 -#define GL_HISTOGRAM 0x8024 -#define GL_PROXY_HISTOGRAM 0x8025 -#define GL_HISTOGRAM_WIDTH 0x8026 -#define GL_HISTOGRAM_FORMAT 0x8027 -#define GL_HISTOGRAM_RED_SIZE 0x8028 -#define GL_HISTOGRAM_GREEN_SIZE 0x8029 -#define GL_HISTOGRAM_BLUE_SIZE 0x802A -#define GL_HISTOGRAM_ALPHA_SIZE 0x802B -#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C -#define GL_HISTOGRAM_SINK 0x802D -#define GL_MINMAX 0x802E -#define GL_MINMAX_FORMAT 0x802F -#define GL_MINMAX_SINK 0x8030 -#define GL_TABLE_TOO_LARGE 0x8031 -#define GL_COLOR_MATRIX 0x80B1 -#define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 -#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 -#define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 -#define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 -#define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 -#define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 -#define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 -#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 -#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA -#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB -#define GL_COLOR_TABLE 0x80D0 -#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 -#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 -#define GL_PROXY_COLOR_TABLE 0x80D3 -#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 -#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 -#define GL_COLOR_TABLE_SCALE 0x80D6 -#define GL_COLOR_TABLE_BIAS 0x80D7 -#define GL_COLOR_TABLE_FORMAT 0x80D8 -#define GL_COLOR_TABLE_WIDTH 0x80D9 -#define GL_COLOR_TABLE_RED_SIZE 0x80DA -#define GL_COLOR_TABLE_GREEN_SIZE 0x80DB -#define GL_COLOR_TABLE_BLUE_SIZE 0x80DC -#define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD -#define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE -#define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF -#define GL_CONSTANT_BORDER 0x8151 -#define GL_REPLICATE_BORDER 0x8153 -#define GL_CONVOLUTION_BORDER_COLOR 0x8154 -typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table); -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data); -typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image); -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span); -typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); -typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink); -typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target); -typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table); -GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table); -GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data); -GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); -GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image); -GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image); -GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params); -GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params); -GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image); -GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span); -GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column); -GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); -GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); -GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); -GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink); -GLAPI void APIENTRY glResetHistogram (GLenum target); -GLAPI void APIENTRY glResetMinmax (GLenum target); -#endif -#endif /* GL_ARB_imaging */ - -#ifndef GL_ARB_indirect_parameters -#define GL_ARB_indirect_parameters 1 -#define GL_PARAMETER_BUFFER_ARB 0x80EE -#define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -#endif -#endif /* GL_ARB_indirect_parameters */ - -#ifndef GL_ARB_instanced_arrays -#define GL_ARB_instanced_arrays 1 -#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE -typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor); -#endif -#endif /* GL_ARB_instanced_arrays */ - -#ifndef GL_ARB_internalformat_query -#define GL_ARB_internalformat_query 1 -#endif /* GL_ARB_internalformat_query */ - -#ifndef GL_ARB_internalformat_query2 -#define GL_ARB_internalformat_query2 1 -#define GL_SRGB_DECODE_ARB 0x8299 -#endif /* GL_ARB_internalformat_query2 */ - -#ifndef GL_ARB_invalidate_subdata -#define GL_ARB_invalidate_subdata 1 -#endif /* GL_ARB_invalidate_subdata */ - -#ifndef GL_ARB_map_buffer_alignment -#define GL_ARB_map_buffer_alignment 1 -#endif /* GL_ARB_map_buffer_alignment */ - -#ifndef GL_ARB_map_buffer_range -#define GL_ARB_map_buffer_range 1 -#endif /* GL_ARB_map_buffer_range */ - -#ifndef GL_ARB_matrix_palette -#define GL_ARB_matrix_palette 1 -#define GL_MATRIX_PALETTE_ARB 0x8840 -#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841 -#define GL_MAX_PALETTE_MATRICES_ARB 0x8842 -#define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843 -#define GL_MATRIX_INDEX_ARRAY_ARB 0x8844 -#define GL_CURRENT_MATRIX_INDEX_ARB 0x8845 -#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846 -#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847 -#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848 -#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849 -typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index); -typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices); -typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices); -typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices); -typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index); -GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices); -GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices); -GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices); -GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer); -#endif -#endif /* GL_ARB_matrix_palette */ - -#ifndef GL_ARB_multi_bind -#define GL_ARB_multi_bind 1 -#endif /* GL_ARB_multi_bind */ - -#ifndef GL_ARB_multi_draw_indirect -#define GL_ARB_multi_draw_indirect 1 -#endif /* GL_ARB_multi_draw_indirect */ - -#ifndef GL_ARB_multisample -#define GL_ARB_multisample 1 -#define GL_MULTISAMPLE_ARB 0x809D -#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F -#define GL_SAMPLE_COVERAGE_ARB 0x80A0 -#define GL_SAMPLE_BUFFERS_ARB 0x80A8 -#define GL_SAMPLES_ARB 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB -#define GL_MULTISAMPLE_BIT_ARB 0x20000000 -typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert); -#endif -#endif /* GL_ARB_multisample */ - -#ifndef GL_ARB_multitexture -#define GL_ARB_multitexture 1 -#define GL_TEXTURE0_ARB 0x84C0 -#define GL_TEXTURE1_ARB 0x84C1 -#define GL_TEXTURE2_ARB 0x84C2 -#define GL_TEXTURE3_ARB 0x84C3 -#define GL_TEXTURE4_ARB 0x84C4 -#define GL_TEXTURE5_ARB 0x84C5 -#define GL_TEXTURE6_ARB 0x84C6 -#define GL_TEXTURE7_ARB 0x84C7 -#define GL_TEXTURE8_ARB 0x84C8 -#define GL_TEXTURE9_ARB 0x84C9 -#define GL_TEXTURE10_ARB 0x84CA -#define GL_TEXTURE11_ARB 0x84CB -#define GL_TEXTURE12_ARB 0x84CC -#define GL_TEXTURE13_ARB 0x84CD -#define GL_TEXTURE14_ARB 0x84CE -#define GL_TEXTURE15_ARB 0x84CF -#define GL_TEXTURE16_ARB 0x84D0 -#define GL_TEXTURE17_ARB 0x84D1 -#define GL_TEXTURE18_ARB 0x84D2 -#define GL_TEXTURE19_ARB 0x84D3 -#define GL_TEXTURE20_ARB 0x84D4 -#define GL_TEXTURE21_ARB 0x84D5 -#define GL_TEXTURE22_ARB 0x84D6 -#define GL_TEXTURE23_ARB 0x84D7 -#define GL_TEXTURE24_ARB 0x84D8 -#define GL_TEXTURE25_ARB 0x84D9 -#define GL_TEXTURE26_ARB 0x84DA -#define GL_TEXTURE27_ARB 0x84DB -#define GL_TEXTURE28_ARB 0x84DC -#define GL_TEXTURE29_ARB 0x84DD -#define GL_TEXTURE30_ARB 0x84DE -#define GL_TEXTURE31_ARB 0x84DF -#define GL_ACTIVE_TEXTURE_ARB 0x84E0 -#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 -#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 -typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glActiveTextureARB (GLenum texture); -GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture); -GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s); -GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v); -GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s); -GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v); -GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s); -GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v); -GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s); -GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v); -GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t); -GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v); -GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t); -GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v); -GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t); -GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v); -GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t); -GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v); -GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r); -GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v); -GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r); -GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v); -GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r); -GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v); -GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r); -GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v); -GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v); -GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v); -GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q); -GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v); -GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v); -#endif -#endif /* GL_ARB_multitexture */ - -#ifndef GL_ARB_occlusion_query -#define GL_ARB_occlusion_query 1 -#define GL_QUERY_COUNTER_BITS_ARB 0x8864 -#define GL_CURRENT_QUERY_ARB 0x8865 -#define GL_QUERY_RESULT_ARB 0x8866 -#define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867 -#define GL_SAMPLES_PASSED_ARB 0x8914 -typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids); -typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids); -typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id); -typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id); -typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target); -typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids); -GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids); -GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id); -GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id); -GLAPI void APIENTRY glEndQueryARB (GLenum target); -GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params); -#endif -#endif /* GL_ARB_occlusion_query */ - -#ifndef GL_ARB_occlusion_query2 -#define GL_ARB_occlusion_query2 1 -#endif /* GL_ARB_occlusion_query2 */ - -#ifndef GL_ARB_parallel_shader_compile -#define GL_ARB_parallel_shader_compile 1 -#define GL_MAX_SHADER_COMPILER_THREADS_ARB 0x91B0 -#define GL_COMPLETION_STATUS_ARB 0x91B1 -typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSARBPROC) (GLuint count); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMaxShaderCompilerThreadsARB (GLuint count); -#endif -#endif /* GL_ARB_parallel_shader_compile */ - -#ifndef GL_ARB_pipeline_statistics_query -#define GL_ARB_pipeline_statistics_query 1 -#define GL_VERTICES_SUBMITTED_ARB 0x82EE -#define GL_PRIMITIVES_SUBMITTED_ARB 0x82EF -#define GL_VERTEX_SHADER_INVOCATIONS_ARB 0x82F0 -#define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1 -#define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2 -#define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3 -#define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4 -#define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5 -#define GL_CLIPPING_INPUT_PRIMITIVES_ARB 0x82F6 -#define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7 -#endif /* GL_ARB_pipeline_statistics_query */ - -#ifndef GL_ARB_pixel_buffer_object -#define GL_ARB_pixel_buffer_object 1 -#define GL_PIXEL_PACK_BUFFER_ARB 0x88EB -#define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF -#endif /* GL_ARB_pixel_buffer_object */ - -#ifndef GL_ARB_point_parameters -#define GL_ARB_point_parameters 1 -#define GL_POINT_SIZE_MIN_ARB 0x8126 -#define GL_POINT_SIZE_MAX_ARB 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128 -#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129 -typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param); -GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params); -#endif -#endif /* GL_ARB_point_parameters */ - -#ifndef GL_ARB_point_sprite -#define GL_ARB_point_sprite 1 -#define GL_POINT_SPRITE_ARB 0x8861 -#define GL_COORD_REPLACE_ARB 0x8862 -#endif /* GL_ARB_point_sprite */ - -#ifndef GL_ARB_post_depth_coverage -#define GL_ARB_post_depth_coverage 1 -#endif /* GL_ARB_post_depth_coverage */ - -#ifndef GL_ARB_program_interface_query -#define GL_ARB_program_interface_query 1 -#endif /* GL_ARB_program_interface_query */ - -#ifndef GL_ARB_provoking_vertex -#define GL_ARB_provoking_vertex 1 -#endif /* GL_ARB_provoking_vertex */ - -#ifndef GL_ARB_query_buffer_object -#define GL_ARB_query_buffer_object 1 -#endif /* GL_ARB_query_buffer_object */ - -#ifndef GL_ARB_robust_buffer_access_behavior -#define GL_ARB_robust_buffer_access_behavior 1 -#endif /* GL_ARB_robust_buffer_access_behavior */ - -#ifndef GL_ARB_robustness -#define GL_ARB_robustness 1 -#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004 -#define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 -#define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 -#define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254 -#define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 -#define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 -#define GL_NO_RESET_NOTIFICATION_ARB 0x8261 -typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void); -typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img); -typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img); -typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); -typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); -typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); -typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); -typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v); -typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v); -typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v); -typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values); -typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values); -typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values); -typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern); -typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table); -typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image); -typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span); -typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values); -typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void); -GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img); -GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img); -GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); -GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params); -GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params); -GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); -GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v); -GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v); -GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v); -GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values); -GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values); -GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values); -GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern); -GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table); -GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image); -GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span); -GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values); -GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values); -#endif -#endif /* GL_ARB_robustness */ - -#ifndef GL_ARB_robustness_isolation -#define GL_ARB_robustness_isolation 1 -#endif /* GL_ARB_robustness_isolation */ - -#ifndef GL_ARB_sample_locations -#define GL_ARB_sample_locations 1 -#define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB 0x933D -#define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB 0x933E -#define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB 0x933F -#define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB 0x9340 -#define GL_SAMPLE_LOCATION_ARB 0x8E50 -#define GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB 0x9341 -#define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB 0x9342 -#define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB 0x9343 -typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLEVALUATEDEPTHVALUESARBPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFramebufferSampleLocationsfvARB (GLenum target, GLuint start, GLsizei count, const GLfloat *v); -GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvARB (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); -GLAPI void APIENTRY glEvaluateDepthValuesARB (void); -#endif -#endif /* GL_ARB_sample_locations */ - -#ifndef GL_ARB_sample_shading -#define GL_ARB_sample_shading 1 -#define GL_SAMPLE_SHADING_ARB 0x8C36 -#define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37 -typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value); -#endif -#endif /* GL_ARB_sample_shading */ - -#ifndef GL_ARB_sampler_objects -#define GL_ARB_sampler_objects 1 -#endif /* GL_ARB_sampler_objects */ - -#ifndef GL_ARB_seamless_cube_map -#define GL_ARB_seamless_cube_map 1 -#endif /* GL_ARB_seamless_cube_map */ - -#ifndef GL_ARB_seamless_cubemap_per_texture -#define GL_ARB_seamless_cubemap_per_texture 1 -#endif /* GL_ARB_seamless_cubemap_per_texture */ - -#ifndef GL_ARB_separate_shader_objects -#define GL_ARB_separate_shader_objects 1 -#endif /* GL_ARB_separate_shader_objects */ - -#ifndef GL_ARB_shader_atomic_counter_ops -#define GL_ARB_shader_atomic_counter_ops 1 -#endif /* GL_ARB_shader_atomic_counter_ops */ - -#ifndef GL_ARB_shader_atomic_counters -#define GL_ARB_shader_atomic_counters 1 -#endif /* GL_ARB_shader_atomic_counters */ - -#ifndef GL_ARB_shader_ballot -#define GL_ARB_shader_ballot 1 -#endif /* GL_ARB_shader_ballot */ - -#ifndef GL_ARB_shader_bit_encoding -#define GL_ARB_shader_bit_encoding 1 -#endif /* GL_ARB_shader_bit_encoding */ - -#ifndef GL_ARB_shader_clock -#define GL_ARB_shader_clock 1 -#endif /* GL_ARB_shader_clock */ - -#ifndef GL_ARB_shader_draw_parameters -#define GL_ARB_shader_draw_parameters 1 -#endif /* GL_ARB_shader_draw_parameters */ - -#ifndef GL_ARB_shader_group_vote -#define GL_ARB_shader_group_vote 1 -#endif /* GL_ARB_shader_group_vote */ - -#ifndef GL_ARB_shader_image_load_store -#define GL_ARB_shader_image_load_store 1 -#endif /* GL_ARB_shader_image_load_store */ - -#ifndef GL_ARB_shader_image_size -#define GL_ARB_shader_image_size 1 -#endif /* GL_ARB_shader_image_size */ - -#ifndef GL_ARB_shader_objects -#define GL_ARB_shader_objects 1 -#ifdef __APPLE__ -typedef void *GLhandleARB; -#else -typedef unsigned int GLhandleARB; -#endif -typedef char GLcharARB; -#define GL_PROGRAM_OBJECT_ARB 0x8B40 -#define GL_SHADER_OBJECT_ARB 0x8B48 -#define GL_OBJECT_TYPE_ARB 0x8B4E -#define GL_OBJECT_SUBTYPE_ARB 0x8B4F -#define GL_FLOAT_VEC2_ARB 0x8B50 -#define GL_FLOAT_VEC3_ARB 0x8B51 -#define GL_FLOAT_VEC4_ARB 0x8B52 -#define GL_INT_VEC2_ARB 0x8B53 -#define GL_INT_VEC3_ARB 0x8B54 -#define GL_INT_VEC4_ARB 0x8B55 -#define GL_BOOL_ARB 0x8B56 -#define GL_BOOL_VEC2_ARB 0x8B57 -#define GL_BOOL_VEC3_ARB 0x8B58 -#define GL_BOOL_VEC4_ARB 0x8B59 -#define GL_FLOAT_MAT2_ARB 0x8B5A -#define GL_FLOAT_MAT3_ARB 0x8B5B -#define GL_FLOAT_MAT4_ARB 0x8B5C -#define GL_SAMPLER_1D_ARB 0x8B5D -#define GL_SAMPLER_2D_ARB 0x8B5E -#define GL_SAMPLER_3D_ARB 0x8B5F -#define GL_SAMPLER_CUBE_ARB 0x8B60 -#define GL_SAMPLER_1D_SHADOW_ARB 0x8B61 -#define GL_SAMPLER_2D_SHADOW_ARB 0x8B62 -#define GL_SAMPLER_2D_RECT_ARB 0x8B63 -#define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64 -#define GL_OBJECT_DELETE_STATUS_ARB 0x8B80 -#define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81 -#define GL_OBJECT_LINK_STATUS_ARB 0x8B82 -#define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83 -#define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84 -#define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85 -#define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86 -#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87 -#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88 -typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj); -typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname); -typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj); -typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType); -typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length); -typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj); -typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void); -typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj); -typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj); -typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj); -typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj); -typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0); -typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1); -typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0); -typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1); -typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2); -typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog); -typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj); -typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); -typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params); -typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params); -typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj); -GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname); -GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj); -GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType); -GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length); -GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj); -GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void); -GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj); -GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj); -GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj); -GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj); -GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0); -GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1); -GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0); -GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1); -GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2); -GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog); -GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj); -GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name); -GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); -GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params); -GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params); -GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source); -#endif -#endif /* GL_ARB_shader_objects */ - -#ifndef GL_ARB_shader_precision -#define GL_ARB_shader_precision 1 -#endif /* GL_ARB_shader_precision */ - -#ifndef GL_ARB_shader_stencil_export -#define GL_ARB_shader_stencil_export 1 -#endif /* GL_ARB_shader_stencil_export */ - -#ifndef GL_ARB_shader_storage_buffer_object -#define GL_ARB_shader_storage_buffer_object 1 -#endif /* GL_ARB_shader_storage_buffer_object */ - -#ifndef GL_ARB_shader_subroutine -#define GL_ARB_shader_subroutine 1 -#endif /* GL_ARB_shader_subroutine */ - -#ifndef GL_ARB_shader_texture_image_samples -#define GL_ARB_shader_texture_image_samples 1 -#endif /* GL_ARB_shader_texture_image_samples */ - -#ifndef GL_ARB_shader_texture_lod -#define GL_ARB_shader_texture_lod 1 -#endif /* GL_ARB_shader_texture_lod */ - -#ifndef GL_ARB_shader_viewport_layer_array -#define GL_ARB_shader_viewport_layer_array 1 -#endif /* GL_ARB_shader_viewport_layer_array */ - -#ifndef GL_ARB_shading_language_100 -#define GL_ARB_shading_language_100 1 -#define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C -#endif /* GL_ARB_shading_language_100 */ - -#ifndef GL_ARB_shading_language_420pack -#define GL_ARB_shading_language_420pack 1 -#endif /* GL_ARB_shading_language_420pack */ - -#ifndef GL_ARB_shading_language_include -#define GL_ARB_shading_language_include 1 -#define GL_SHADER_INCLUDE_ARB 0x8DAE -#define GL_NAMED_STRING_LENGTH_ARB 0x8DE9 -#define GL_NAMED_STRING_TYPE_ARB 0x8DEA -typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string); -typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name); -typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length); -typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name); -typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string); -typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string); -GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name); -GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length); -GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name); -GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string); -GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params); -#endif -#endif /* GL_ARB_shading_language_include */ - -#ifndef GL_ARB_shading_language_packing -#define GL_ARB_shading_language_packing 1 -#endif /* GL_ARB_shading_language_packing */ - -#ifndef GL_ARB_shadow -#define GL_ARB_shadow 1 -#define GL_TEXTURE_COMPARE_MODE_ARB 0x884C -#define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D -#define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E -#endif /* GL_ARB_shadow */ - -#ifndef GL_ARB_shadow_ambient -#define GL_ARB_shadow_ambient 1 -#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF -#endif /* GL_ARB_shadow_ambient */ - -#ifndef GL_ARB_sparse_buffer -#define GL_ARB_sparse_buffer 1 -#define GL_SPARSE_STORAGE_BIT_ARB 0x0400 -#define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8 -typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit); -typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); -typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit); -GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); -GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); -#endif -#endif /* GL_ARB_sparse_buffer */ - -#ifndef GL_ARB_sparse_texture -#define GL_ARB_sparse_texture 1 -#define GL_TEXTURE_SPARSE_ARB 0x91A6 -#define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7 -#define GL_NUM_SPARSE_LEVELS_ARB 0x91AA -#define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8 -#define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195 -#define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196 -#define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197 -#define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198 -#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199 -#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A -#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9 -typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); -#endif -#endif /* GL_ARB_sparse_texture */ - -#ifndef GL_ARB_sparse_texture2 -#define GL_ARB_sparse_texture2 1 -#endif /* GL_ARB_sparse_texture2 */ - -#ifndef GL_ARB_sparse_texture_clamp -#define GL_ARB_sparse_texture_clamp 1 -#endif /* GL_ARB_sparse_texture_clamp */ - -#ifndef GL_ARB_stencil_texturing -#define GL_ARB_stencil_texturing 1 -#endif /* GL_ARB_stencil_texturing */ - -#ifndef GL_ARB_sync -#define GL_ARB_sync 1 -#endif /* GL_ARB_sync */ - -#ifndef GL_ARB_tessellation_shader -#define GL_ARB_tessellation_shader 1 -#endif /* GL_ARB_tessellation_shader */ - -#ifndef GL_ARB_texture_barrier -#define GL_ARB_texture_barrier 1 -#endif /* GL_ARB_texture_barrier */ - -#ifndef GL_ARB_texture_border_clamp -#define GL_ARB_texture_border_clamp 1 -#define GL_CLAMP_TO_BORDER_ARB 0x812D -#endif /* GL_ARB_texture_border_clamp */ - -#ifndef GL_ARB_texture_buffer_object -#define GL_ARB_texture_buffer_object 1 -#define GL_TEXTURE_BUFFER_ARB 0x8C2A -#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B -#define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D -#define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E -typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer); -#endif -#endif /* GL_ARB_texture_buffer_object */ - -#ifndef GL_ARB_texture_buffer_object_rgb32 -#define GL_ARB_texture_buffer_object_rgb32 1 -#endif /* GL_ARB_texture_buffer_object_rgb32 */ - -#ifndef GL_ARB_texture_buffer_range -#define GL_ARB_texture_buffer_range 1 -#endif /* GL_ARB_texture_buffer_range */ - -#ifndef GL_ARB_texture_compression -#define GL_ARB_texture_compression 1 -#define GL_COMPRESSED_ALPHA_ARB 0x84E9 -#define GL_COMPRESSED_LUMINANCE_ARB 0x84EA -#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB -#define GL_COMPRESSED_INTENSITY_ARB 0x84EC -#define GL_COMPRESSED_RGB_ARB 0x84ED -#define GL_COMPRESSED_RGBA_ARB 0x84EE -#define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF -#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0 -#define GL_TEXTURE_COMPRESSED_ARB 0x86A1 -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3 -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); -GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img); -#endif -#endif /* GL_ARB_texture_compression */ - -#ifndef GL_ARB_texture_compression_bptc -#define GL_ARB_texture_compression_bptc 1 -#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C -#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D -#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E -#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F -#endif /* GL_ARB_texture_compression_bptc */ - -#ifndef GL_ARB_texture_compression_rgtc -#define GL_ARB_texture_compression_rgtc 1 -#endif /* GL_ARB_texture_compression_rgtc */ - -#ifndef GL_ARB_texture_cube_map -#define GL_ARB_texture_cube_map 1 -#define GL_NORMAL_MAP_ARB 0x8511 -#define GL_REFLECTION_MAP_ARB 0x8512 -#define GL_TEXTURE_CUBE_MAP_ARB 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C -#endif /* GL_ARB_texture_cube_map */ - -#ifndef GL_ARB_texture_cube_map_array -#define GL_ARB_texture_cube_map_array 1 -#define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A -#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B -#define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C -#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D -#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E -#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F -#endif /* GL_ARB_texture_cube_map_array */ - -#ifndef GL_ARB_texture_env_add -#define GL_ARB_texture_env_add 1 -#endif /* GL_ARB_texture_env_add */ - -#ifndef GL_ARB_texture_env_combine -#define GL_ARB_texture_env_combine 1 -#define GL_COMBINE_ARB 0x8570 -#define GL_COMBINE_RGB_ARB 0x8571 -#define GL_COMBINE_ALPHA_ARB 0x8572 -#define GL_SOURCE0_RGB_ARB 0x8580 -#define GL_SOURCE1_RGB_ARB 0x8581 -#define GL_SOURCE2_RGB_ARB 0x8582 -#define GL_SOURCE0_ALPHA_ARB 0x8588 -#define GL_SOURCE1_ALPHA_ARB 0x8589 -#define GL_SOURCE2_ALPHA_ARB 0x858A -#define GL_OPERAND0_RGB_ARB 0x8590 -#define GL_OPERAND1_RGB_ARB 0x8591 -#define GL_OPERAND2_RGB_ARB 0x8592 -#define GL_OPERAND0_ALPHA_ARB 0x8598 -#define GL_OPERAND1_ALPHA_ARB 0x8599 -#define GL_OPERAND2_ALPHA_ARB 0x859A -#define GL_RGB_SCALE_ARB 0x8573 -#define GL_ADD_SIGNED_ARB 0x8574 -#define GL_INTERPOLATE_ARB 0x8575 -#define GL_SUBTRACT_ARB 0x84E7 -#define GL_CONSTANT_ARB 0x8576 -#define GL_PRIMARY_COLOR_ARB 0x8577 -#define GL_PREVIOUS_ARB 0x8578 -#endif /* GL_ARB_texture_env_combine */ - -#ifndef GL_ARB_texture_env_crossbar -#define GL_ARB_texture_env_crossbar 1 -#endif /* GL_ARB_texture_env_crossbar */ - -#ifndef GL_ARB_texture_env_dot3 -#define GL_ARB_texture_env_dot3 1 -#define GL_DOT3_RGB_ARB 0x86AE -#define GL_DOT3_RGBA_ARB 0x86AF -#endif /* GL_ARB_texture_env_dot3 */ - -#ifndef GL_ARB_texture_filter_minmax -#define GL_ARB_texture_filter_minmax 1 -#define GL_TEXTURE_REDUCTION_MODE_ARB 0x9366 -#define GL_WEIGHTED_AVERAGE_ARB 0x9367 -#endif /* GL_ARB_texture_filter_minmax */ - -#ifndef GL_ARB_texture_float -#define GL_ARB_texture_float 1 -#define GL_TEXTURE_RED_TYPE_ARB 0x8C10 -#define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11 -#define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12 -#define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13 -#define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14 -#define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15 -#define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16 -#define GL_UNSIGNED_NORMALIZED_ARB 0x8C17 -#define GL_RGBA32F_ARB 0x8814 -#define GL_RGB32F_ARB 0x8815 -#define GL_ALPHA32F_ARB 0x8816 -#define GL_INTENSITY32F_ARB 0x8817 -#define GL_LUMINANCE32F_ARB 0x8818 -#define GL_LUMINANCE_ALPHA32F_ARB 0x8819 -#define GL_RGBA16F_ARB 0x881A -#define GL_RGB16F_ARB 0x881B -#define GL_ALPHA16F_ARB 0x881C -#define GL_INTENSITY16F_ARB 0x881D -#define GL_LUMINANCE16F_ARB 0x881E -#define GL_LUMINANCE_ALPHA16F_ARB 0x881F -#endif /* GL_ARB_texture_float */ - -#ifndef GL_ARB_texture_gather -#define GL_ARB_texture_gather 1 -#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E -#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F -#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F -#endif /* GL_ARB_texture_gather */ - -#ifndef GL_ARB_texture_mirror_clamp_to_edge -#define GL_ARB_texture_mirror_clamp_to_edge 1 -#endif /* GL_ARB_texture_mirror_clamp_to_edge */ - -#ifndef GL_ARB_texture_mirrored_repeat -#define GL_ARB_texture_mirrored_repeat 1 -#define GL_MIRRORED_REPEAT_ARB 0x8370 -#endif /* GL_ARB_texture_mirrored_repeat */ - -#ifndef GL_ARB_texture_multisample -#define GL_ARB_texture_multisample 1 -#endif /* GL_ARB_texture_multisample */ - -#ifndef GL_ARB_texture_non_power_of_two -#define GL_ARB_texture_non_power_of_two 1 -#endif /* GL_ARB_texture_non_power_of_two */ - -#ifndef GL_ARB_texture_query_levels -#define GL_ARB_texture_query_levels 1 -#endif /* GL_ARB_texture_query_levels */ - -#ifndef GL_ARB_texture_query_lod -#define GL_ARB_texture_query_lod 1 -#endif /* GL_ARB_texture_query_lod */ - -#ifndef GL_ARB_texture_rectangle -#define GL_ARB_texture_rectangle 1 -#define GL_TEXTURE_RECTANGLE_ARB 0x84F5 -#define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6 -#define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 -#endif /* GL_ARB_texture_rectangle */ - -#ifndef GL_ARB_texture_rg -#define GL_ARB_texture_rg 1 -#endif /* GL_ARB_texture_rg */ - -#ifndef GL_ARB_texture_rgb10_a2ui -#define GL_ARB_texture_rgb10_a2ui 1 -#endif /* GL_ARB_texture_rgb10_a2ui */ - -#ifndef GL_ARB_texture_stencil8 -#define GL_ARB_texture_stencil8 1 -#endif /* GL_ARB_texture_stencil8 */ - -#ifndef GL_ARB_texture_storage -#define GL_ARB_texture_storage 1 -#endif /* GL_ARB_texture_storage */ - -#ifndef GL_ARB_texture_storage_multisample -#define GL_ARB_texture_storage_multisample 1 -#endif /* GL_ARB_texture_storage_multisample */ - -#ifndef GL_ARB_texture_swizzle -#define GL_ARB_texture_swizzle 1 -#endif /* GL_ARB_texture_swizzle */ - -#ifndef GL_ARB_texture_view -#define GL_ARB_texture_view 1 -#endif /* GL_ARB_texture_view */ - -#ifndef GL_ARB_timer_query -#define GL_ARB_timer_query 1 -#endif /* GL_ARB_timer_query */ - -#ifndef GL_ARB_transform_feedback2 -#define GL_ARB_transform_feedback2 1 -#endif /* GL_ARB_transform_feedback2 */ - -#ifndef GL_ARB_transform_feedback3 -#define GL_ARB_transform_feedback3 1 -#endif /* GL_ARB_transform_feedback3 */ - -#ifndef GL_ARB_transform_feedback_instanced -#define GL_ARB_transform_feedback_instanced 1 -#endif /* GL_ARB_transform_feedback_instanced */ - -#ifndef GL_ARB_transform_feedback_overflow_query -#define GL_ARB_transform_feedback_overflow_query 1 -#define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC -#define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED -#endif /* GL_ARB_transform_feedback_overflow_query */ - -#ifndef GL_ARB_transpose_matrix -#define GL_ARB_transpose_matrix 1 -#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3 -#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4 -#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 -#define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m); -GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m); -GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m); -GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m); -#endif -#endif /* GL_ARB_transpose_matrix */ - -#ifndef GL_ARB_uniform_buffer_object -#define GL_ARB_uniform_buffer_object 1 -#endif /* GL_ARB_uniform_buffer_object */ - -#ifndef GL_ARB_vertex_array_bgra -#define GL_ARB_vertex_array_bgra 1 -#endif /* GL_ARB_vertex_array_bgra */ - -#ifndef GL_ARB_vertex_array_object -#define GL_ARB_vertex_array_object 1 -#endif /* GL_ARB_vertex_array_object */ - -#ifndef GL_ARB_vertex_attrib_64bit -#define GL_ARB_vertex_attrib_64bit 1 -#endif /* GL_ARB_vertex_attrib_64bit */ - -#ifndef GL_ARB_vertex_attrib_binding -#define GL_ARB_vertex_attrib_binding 1 -#endif /* GL_ARB_vertex_attrib_binding */ - -#ifndef GL_ARB_vertex_blend -#define GL_ARB_vertex_blend 1 -#define GL_MAX_VERTEX_UNITS_ARB 0x86A4 -#define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5 -#define GL_WEIGHT_SUM_UNITY_ARB 0x86A6 -#define GL_VERTEX_BLEND_ARB 0x86A7 -#define GL_CURRENT_WEIGHT_ARB 0x86A8 -#define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9 -#define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA -#define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB -#define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC -#define GL_WEIGHT_ARRAY_ARB 0x86AD -#define GL_MODELVIEW0_ARB 0x1700 -#define GL_MODELVIEW1_ARB 0x850A -#define GL_MODELVIEW2_ARB 0x8722 -#define GL_MODELVIEW3_ARB 0x8723 -#define GL_MODELVIEW4_ARB 0x8724 -#define GL_MODELVIEW5_ARB 0x8725 -#define GL_MODELVIEW6_ARB 0x8726 -#define GL_MODELVIEW7_ARB 0x8727 -#define GL_MODELVIEW8_ARB 0x8728 -#define GL_MODELVIEW9_ARB 0x8729 -#define GL_MODELVIEW10_ARB 0x872A -#define GL_MODELVIEW11_ARB 0x872B -#define GL_MODELVIEW12_ARB 0x872C -#define GL_MODELVIEW13_ARB 0x872D -#define GL_MODELVIEW14_ARB 0x872E -#define GL_MODELVIEW15_ARB 0x872F -#define GL_MODELVIEW16_ARB 0x8730 -#define GL_MODELVIEW17_ARB 0x8731 -#define GL_MODELVIEW18_ARB 0x8732 -#define GL_MODELVIEW19_ARB 0x8733 -#define GL_MODELVIEW20_ARB 0x8734 -#define GL_MODELVIEW21_ARB 0x8735 -#define GL_MODELVIEW22_ARB 0x8736 -#define GL_MODELVIEW23_ARB 0x8737 -#define GL_MODELVIEW24_ARB 0x8738 -#define GL_MODELVIEW25_ARB 0x8739 -#define GL_MODELVIEW26_ARB 0x873A -#define GL_MODELVIEW27_ARB 0x873B -#define GL_MODELVIEW28_ARB 0x873C -#define GL_MODELVIEW29_ARB 0x873D -#define GL_MODELVIEW30_ARB 0x873E -#define GL_MODELVIEW31_ARB 0x873F -typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights); -typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights); -typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights); -typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights); -typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights); -typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights); -typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights); -typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights); -typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); -typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights); -GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights); -GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights); -GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights); -GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights); -GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights); -GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights); -GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights); -GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer); -GLAPI void APIENTRY glVertexBlendARB (GLint count); -#endif -#endif /* GL_ARB_vertex_blend */ - -#ifndef GL_ARB_vertex_buffer_object -#define GL_ARB_vertex_buffer_object 1 -typedef ptrdiff_t GLsizeiptrARB; -typedef ptrdiff_t GLintptrARB; -#define GL_BUFFER_SIZE_ARB 0x8764 -#define GL_BUFFER_USAGE_ARB 0x8765 -#define GL_ARRAY_BUFFER_ARB 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893 -#define GL_ARRAY_BUFFER_BINDING_ARB 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895 -#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896 -#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897 -#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898 -#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899 -#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A -#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B -#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C -#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D -#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F -#define GL_READ_ONLY_ARB 0x88B8 -#define GL_WRITE_ONLY_ARB 0x88B9 -#define GL_READ_WRITE_ARB 0x88BA -#define GL_BUFFER_ACCESS_ARB 0x88BB -#define GL_BUFFER_MAPPED_ARB 0x88BC -#define GL_BUFFER_MAP_POINTER_ARB 0x88BD -#define GL_STREAM_DRAW_ARB 0x88E0 -#define GL_STREAM_READ_ARB 0x88E1 -#define GL_STREAM_COPY_ARB 0x88E2 -#define GL_STATIC_DRAW_ARB 0x88E4 -#define GL_STATIC_READ_ARB 0x88E5 -#define GL_STATIC_COPY_ARB 0x88E6 -#define GL_DYNAMIC_DRAW_ARB 0x88E8 -#define GL_DYNAMIC_READ_ARB 0x88E9 -#define GL_DYNAMIC_COPY_ARB 0x88EA -typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer); -typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers); -typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers); -typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage); -typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data); -typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data); -typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access); -typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target); -typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, void **params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer); -GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers); -GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers); -GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer); -GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage); -GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data); -GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data); -GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access); -GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target); -GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, void **params); -#endif -#endif /* GL_ARB_vertex_buffer_object */ - -#ifndef GL_ARB_vertex_program -#define GL_ARB_vertex_program 1 -#define GL_COLOR_SUM_ARB 0x8458 -#define GL_VERTEX_PROGRAM_ARB 0x8620 -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625 -#define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626 -#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642 -#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643 -#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645 -#define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A -#define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0 -#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1 -#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2 -#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3 -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); -typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); -typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, void **pointer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x); -GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x); -GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x); -GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y); -GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y); -GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y); -GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z); -GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v); -GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v); -GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v); -GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v); -GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v); -GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v); -GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); -GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index); -GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index); -GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params); -GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, void **pointer); -#endif -#endif /* GL_ARB_vertex_program */ - -#ifndef GL_ARB_vertex_shader -#define GL_ARB_vertex_shader 1 -#define GL_VERTEX_SHADER_ARB 0x8B31 -#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A -#define GL_MAX_VARYING_FLOATS_ARB 0x8B4B -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D -#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89 -#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A -typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name); -typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); -typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name); -GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); -GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name); -#endif -#endif /* GL_ARB_vertex_shader */ - -#ifndef GL_ARB_vertex_type_10f_11f_11f_rev -#define GL_ARB_vertex_type_10f_11f_11f_rev 1 -#endif /* GL_ARB_vertex_type_10f_11f_11f_rev */ - -#ifndef GL_ARB_vertex_type_2_10_10_10_rev -#define GL_ARB_vertex_type_2_10_10_10_rev 1 -#endif /* GL_ARB_vertex_type_2_10_10_10_rev */ - -#ifndef GL_ARB_viewport_array -#define GL_ARB_viewport_array 1 -#endif /* GL_ARB_viewport_array */ - -#ifndef GL_ARB_window_pos -#define GL_ARB_window_pos 1 -typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y); -typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y); -GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v); -GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y); -GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v); -GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y); -GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v); -GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y); -GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v); -GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v); -GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v); -GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z); -GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v); -GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z); -GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v); -#endif -#endif /* GL_ARB_window_pos */ - -#ifndef GL_KHR_blend_equation_advanced -#define GL_KHR_blend_equation_advanced 1 -#define GL_MULTIPLY_KHR 0x9294 -#define GL_SCREEN_KHR 0x9295 -#define GL_OVERLAY_KHR 0x9296 -#define GL_DARKEN_KHR 0x9297 -#define GL_LIGHTEN_KHR 0x9298 -#define GL_COLORDODGE_KHR 0x9299 -#define GL_COLORBURN_KHR 0x929A -#define GL_HARDLIGHT_KHR 0x929B -#define GL_SOFTLIGHT_KHR 0x929C -#define GL_DIFFERENCE_KHR 0x929E -#define GL_EXCLUSION_KHR 0x92A0 -#define GL_HSL_HUE_KHR 0x92AD -#define GL_HSL_SATURATION_KHR 0x92AE -#define GL_HSL_COLOR_KHR 0x92AF -#define GL_HSL_LUMINOSITY_KHR 0x92B0 -typedef void (APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendBarrierKHR (void); -#endif -#endif /* GL_KHR_blend_equation_advanced */ - -#ifndef GL_KHR_blend_equation_advanced_coherent -#define GL_KHR_blend_equation_advanced_coherent 1 -#define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285 -#endif /* GL_KHR_blend_equation_advanced_coherent */ - -#ifndef GL_KHR_context_flush_control -#define GL_KHR_context_flush_control 1 -#endif /* GL_KHR_context_flush_control */ - -#ifndef GL_KHR_debug -#define GL_KHR_debug 1 -#endif /* GL_KHR_debug */ - -#ifndef GL_KHR_no_error -#define GL_KHR_no_error 1 -#define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008 -#endif /* GL_KHR_no_error */ - -#ifndef GL_KHR_robust_buffer_access_behavior -#define GL_KHR_robust_buffer_access_behavior 1 -#endif /* GL_KHR_robust_buffer_access_behavior */ - -#ifndef GL_KHR_robustness -#define GL_KHR_robustness 1 -#define GL_CONTEXT_ROBUST_ACCESS 0x90F3 -#endif /* GL_KHR_robustness */ - -#ifndef GL_KHR_texture_compression_astc_hdr -#define GL_KHR_texture_compression_astc_hdr 1 -#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 -#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 -#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 -#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 -#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 -#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 -#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 -#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 -#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 -#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 -#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA -#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB -#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC -#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD -#endif /* GL_KHR_texture_compression_astc_hdr */ - -#ifndef GL_KHR_texture_compression_astc_ldr -#define GL_KHR_texture_compression_astc_ldr 1 -#endif /* GL_KHR_texture_compression_astc_ldr */ - -#ifndef GL_KHR_texture_compression_astc_sliced_3d -#define GL_KHR_texture_compression_astc_sliced_3d 1 -#endif /* GL_KHR_texture_compression_astc_sliced_3d */ - -#ifndef GL_OES_byte_coordinates -#define GL_OES_byte_coordinates 1 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords); -typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s); -typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords); -typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t); -typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords); -typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r); -typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords); -typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q); -typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords); -typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x, GLbyte y); -typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords); -typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y, GLbyte z); -typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords); -typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z, GLbyte w); -typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s); -GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords); -GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t); -GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords); -GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r); -GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords); -GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q); -GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords); -GLAPI void APIENTRY glTexCoord1bOES (GLbyte s); -GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords); -GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t); -GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords); -GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r); -GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords); -GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q); -GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords); -GLAPI void APIENTRY glVertex2bOES (GLbyte x, GLbyte y); -GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords); -GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y, GLbyte z); -GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords); -GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z, GLbyte w); -GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords); -#endif -#endif /* GL_OES_byte_coordinates */ - -#ifndef GL_OES_compressed_paletted_texture -#define GL_OES_compressed_paletted_texture 1 -#define GL_PALETTE4_RGB8_OES 0x8B90 -#define GL_PALETTE4_RGBA8_OES 0x8B91 -#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 -#define GL_PALETTE4_RGBA4_OES 0x8B93 -#define GL_PALETTE4_RGB5_A1_OES 0x8B94 -#define GL_PALETTE8_RGB8_OES 0x8B95 -#define GL_PALETTE8_RGBA8_OES 0x8B96 -#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 -#define GL_PALETTE8_RGBA4_OES 0x8B98 -#define GL_PALETTE8_RGB5_A1_OES 0x8B99 -#endif /* GL_OES_compressed_paletted_texture */ - -#ifndef GL_OES_fixed_point -#define GL_OES_fixed_point 1 -typedef GLint GLfixed; -#define GL_FIXED_OES 0x140C -typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref); -typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth); -typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation); -typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f); -typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param); -typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param); -typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); -typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation); -typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params); -typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params); -typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param); -typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param); -typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param); -typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params); -typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width); -typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m); -typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param); -typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param); -typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); -typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz); -typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); -typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params); -typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size); -typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units); -typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); -typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z); -typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param); -typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params); -typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param); -typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params); -typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z); -typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value); -typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap); -typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue); -typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components); -typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params); -typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u); -typedef void (APIENTRYP PFNGLEVALCOORD1XVOESPROC) (const GLfixed *coords); -typedef void (APIENTRYP PFNGLEVALCOORD2XOESPROC) (GLfixed u, GLfixed v); -typedef void (APIENTRYP PFNGLEVALCOORD2XVOESPROC) (const GLfixed *coords); -typedef void (APIENTRYP PFNGLFEEDBACKBUFFERXOESPROC) (GLsizei n, GLenum type, const GLfixed *buffer); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params); -typedef void (APIENTRYP PFNGLGETLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed *params); -typedef void (APIENTRYP PFNGLGETMAPXVOESPROC) (GLenum target, GLenum query, GLfixed *v); -typedef void (APIENTRYP PFNGLGETMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param); -typedef void (APIENTRYP PFNGLGETPIXELMAPXVPROC) (GLenum map, GLint size, GLfixed *values); -typedef void (APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params); -typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERXVOESPROC) (GLenum target, GLint level, GLenum pname, GLfixed *params); -typedef void (APIENTRYP PFNGLINDEXXOESPROC) (GLfixed component); -typedef void (APIENTRYP PFNGLINDEXXVOESPROC) (const GLfixed *component); -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXXOESPROC) (const GLfixed *m); -typedef void (APIENTRYP PFNGLMAP1XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points); -typedef void (APIENTRYP PFNGLMAP2XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points); -typedef void (APIENTRYP PFNGLMAPGRID1XOESPROC) (GLint n, GLfixed u1, GLfixed u2); -typedef void (APIENTRYP PFNGLMAPGRID2XOESPROC) (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2); -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXXOESPROC) (const GLfixed *m); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1XOESPROC) (GLenum texture, GLfixed s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1XVOESPROC) (GLenum texture, const GLfixed *coords); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2XOESPROC) (GLenum texture, GLfixed s, GLfixed t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2XVOESPROC) (GLenum texture, const GLfixed *coords); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3XVOESPROC) (GLenum texture, const GLfixed *coords); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4XVOESPROC) (GLenum texture, const GLfixed *coords); -typedef void (APIENTRYP PFNGLNORMAL3XVOESPROC) (const GLfixed *coords); -typedef void (APIENTRYP PFNGLPASSTHROUGHXOESPROC) (GLfixed token); -typedef void (APIENTRYP PFNGLPIXELMAPXPROC) (GLenum map, GLint size, const GLfixed *values); -typedef void (APIENTRYP PFNGLPIXELSTOREXPROC) (GLenum pname, GLfixed param); -typedef void (APIENTRYP PFNGLPIXELTRANSFERXOESPROC) (GLenum pname, GLfixed param); -typedef void (APIENTRYP PFNGLPIXELZOOMXOESPROC) (GLfixed xfactor, GLfixed yfactor); -typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESXOESPROC) (GLsizei n, const GLuint *textures, const GLfixed *priorities); -typedef void (APIENTRYP PFNGLRASTERPOS2XOESPROC) (GLfixed x, GLfixed y); -typedef void (APIENTRYP PFNGLRASTERPOS2XVOESPROC) (const GLfixed *coords); -typedef void (APIENTRYP PFNGLRASTERPOS3XOESPROC) (GLfixed x, GLfixed y, GLfixed z); -typedef void (APIENTRYP PFNGLRASTERPOS3XVOESPROC) (const GLfixed *coords); -typedef void (APIENTRYP PFNGLRASTERPOS4XOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed w); -typedef void (APIENTRYP PFNGLRASTERPOS4XVOESPROC) (const GLfixed *coords); -typedef void (APIENTRYP PFNGLRECTXOESPROC) (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2); -typedef void (APIENTRYP PFNGLRECTXVOESPROC) (const GLfixed *v1, const GLfixed *v2); -typedef void (APIENTRYP PFNGLTEXCOORD1XOESPROC) (GLfixed s); -typedef void (APIENTRYP PFNGLTEXCOORD1XVOESPROC) (const GLfixed *coords); -typedef void (APIENTRYP PFNGLTEXCOORD2XOESPROC) (GLfixed s, GLfixed t); -typedef void (APIENTRYP PFNGLTEXCOORD2XVOESPROC) (const GLfixed *coords); -typedef void (APIENTRYP PFNGLTEXCOORD3XOESPROC) (GLfixed s, GLfixed t, GLfixed r); -typedef void (APIENTRYP PFNGLTEXCOORD3XVOESPROC) (const GLfixed *coords); -typedef void (APIENTRYP PFNGLTEXCOORD4XOESPROC) (GLfixed s, GLfixed t, GLfixed r, GLfixed q); -typedef void (APIENTRYP PFNGLTEXCOORD4XVOESPROC) (const GLfixed *coords); -typedef void (APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param); -typedef void (APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params); -typedef void (APIENTRYP PFNGLVERTEX2XOESPROC) (GLfixed x); -typedef void (APIENTRYP PFNGLVERTEX2XVOESPROC) (const GLfixed *coords); -typedef void (APIENTRYP PFNGLVERTEX3XOESPROC) (GLfixed x, GLfixed y); -typedef void (APIENTRYP PFNGLVERTEX3XVOESPROC) (const GLfixed *coords); -typedef void (APIENTRYP PFNGLVERTEX4XOESPROC) (GLfixed x, GLfixed y, GLfixed z); -typedef void (APIENTRYP PFNGLVERTEX4XVOESPROC) (const GLfixed *coords); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref); -GLAPI void APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -GLAPI void APIENTRY glClearDepthxOES (GLfixed depth); -GLAPI void APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation); -GLAPI void APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -GLAPI void APIENTRY glDepthRangexOES (GLfixed n, GLfixed f); -GLAPI void APIENTRY glFogxOES (GLenum pname, GLfixed param); -GLAPI void APIENTRY glFogxvOES (GLenum pname, const GLfixed *param); -GLAPI void APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); -GLAPI void APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation); -GLAPI void APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params); -GLAPI void APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params); -GLAPI void APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params); -GLAPI void APIENTRY glLightModelxOES (GLenum pname, GLfixed param); -GLAPI void APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param); -GLAPI void APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param); -GLAPI void APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params); -GLAPI void APIENTRY glLineWidthxOES (GLfixed width); -GLAPI void APIENTRY glLoadMatrixxOES (const GLfixed *m); -GLAPI void APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param); -GLAPI void APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param); -GLAPI void APIENTRY glMultMatrixxOES (const GLfixed *m); -GLAPI void APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); -GLAPI void APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz); -GLAPI void APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); -GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params); -GLAPI void APIENTRY glPointSizexOES (GLfixed size); -GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units); -GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); -GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z); -GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param); -GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params); -GLAPI void APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param); -GLAPI void APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params); -GLAPI void APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z); -GLAPI void APIENTRY glAccumxOES (GLenum op, GLfixed value); -GLAPI void APIENTRY glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap); -GLAPI void APIENTRY glBlendColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -GLAPI void APIENTRY glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -GLAPI void APIENTRY glColor3xOES (GLfixed red, GLfixed green, GLfixed blue); -GLAPI void APIENTRY glColor3xvOES (const GLfixed *components); -GLAPI void APIENTRY glColor4xvOES (const GLfixed *components); -GLAPI void APIENTRY glConvolutionParameterxOES (GLenum target, GLenum pname, GLfixed param); -GLAPI void APIENTRY glConvolutionParameterxvOES (GLenum target, GLenum pname, const GLfixed *params); -GLAPI void APIENTRY glEvalCoord1xOES (GLfixed u); -GLAPI void APIENTRY glEvalCoord1xvOES (const GLfixed *coords); -GLAPI void APIENTRY glEvalCoord2xOES (GLfixed u, GLfixed v); -GLAPI void APIENTRY glEvalCoord2xvOES (const GLfixed *coords); -GLAPI void APIENTRY glFeedbackBufferxOES (GLsizei n, GLenum type, const GLfixed *buffer); -GLAPI void APIENTRY glGetConvolutionParameterxvOES (GLenum target, GLenum pname, GLfixed *params); -GLAPI void APIENTRY glGetHistogramParameterxvOES (GLenum target, GLenum pname, GLfixed *params); -GLAPI void APIENTRY glGetLightxOES (GLenum light, GLenum pname, GLfixed *params); -GLAPI void APIENTRY glGetMapxvOES (GLenum target, GLenum query, GLfixed *v); -GLAPI void APIENTRY glGetMaterialxOES (GLenum face, GLenum pname, GLfixed param); -GLAPI void APIENTRY glGetPixelMapxv (GLenum map, GLint size, GLfixed *values); -GLAPI void APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params); -GLAPI void APIENTRY glGetTexLevelParameterxvOES (GLenum target, GLint level, GLenum pname, GLfixed *params); -GLAPI void APIENTRY glIndexxOES (GLfixed component); -GLAPI void APIENTRY glIndexxvOES (const GLfixed *component); -GLAPI void APIENTRY glLoadTransposeMatrixxOES (const GLfixed *m); -GLAPI void APIENTRY glMap1xOES (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points); -GLAPI void APIENTRY glMap2xOES (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points); -GLAPI void APIENTRY glMapGrid1xOES (GLint n, GLfixed u1, GLfixed u2); -GLAPI void APIENTRY glMapGrid2xOES (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2); -GLAPI void APIENTRY glMultTransposeMatrixxOES (const GLfixed *m); -GLAPI void APIENTRY glMultiTexCoord1xOES (GLenum texture, GLfixed s); -GLAPI void APIENTRY glMultiTexCoord1xvOES (GLenum texture, const GLfixed *coords); -GLAPI void APIENTRY glMultiTexCoord2xOES (GLenum texture, GLfixed s, GLfixed t); -GLAPI void APIENTRY glMultiTexCoord2xvOES (GLenum texture, const GLfixed *coords); -GLAPI void APIENTRY glMultiTexCoord3xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r); -GLAPI void APIENTRY glMultiTexCoord3xvOES (GLenum texture, const GLfixed *coords); -GLAPI void APIENTRY glMultiTexCoord4xvOES (GLenum texture, const GLfixed *coords); -GLAPI void APIENTRY glNormal3xvOES (const GLfixed *coords); -GLAPI void APIENTRY glPassThroughxOES (GLfixed token); -GLAPI void APIENTRY glPixelMapx (GLenum map, GLint size, const GLfixed *values); -GLAPI void APIENTRY glPixelStorex (GLenum pname, GLfixed param); -GLAPI void APIENTRY glPixelTransferxOES (GLenum pname, GLfixed param); -GLAPI void APIENTRY glPixelZoomxOES (GLfixed xfactor, GLfixed yfactor); -GLAPI void APIENTRY glPrioritizeTexturesxOES (GLsizei n, const GLuint *textures, const GLfixed *priorities); -GLAPI void APIENTRY glRasterPos2xOES (GLfixed x, GLfixed y); -GLAPI void APIENTRY glRasterPos2xvOES (const GLfixed *coords); -GLAPI void APIENTRY glRasterPos3xOES (GLfixed x, GLfixed y, GLfixed z); -GLAPI void APIENTRY glRasterPos3xvOES (const GLfixed *coords); -GLAPI void APIENTRY glRasterPos4xOES (GLfixed x, GLfixed y, GLfixed z, GLfixed w); -GLAPI void APIENTRY glRasterPos4xvOES (const GLfixed *coords); -GLAPI void APIENTRY glRectxOES (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2); -GLAPI void APIENTRY glRectxvOES (const GLfixed *v1, const GLfixed *v2); -GLAPI void APIENTRY glTexCoord1xOES (GLfixed s); -GLAPI void APIENTRY glTexCoord1xvOES (const GLfixed *coords); -GLAPI void APIENTRY glTexCoord2xOES (GLfixed s, GLfixed t); -GLAPI void APIENTRY glTexCoord2xvOES (const GLfixed *coords); -GLAPI void APIENTRY glTexCoord3xOES (GLfixed s, GLfixed t, GLfixed r); -GLAPI void APIENTRY glTexCoord3xvOES (const GLfixed *coords); -GLAPI void APIENTRY glTexCoord4xOES (GLfixed s, GLfixed t, GLfixed r, GLfixed q); -GLAPI void APIENTRY glTexCoord4xvOES (const GLfixed *coords); -GLAPI void APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param); -GLAPI void APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params); -GLAPI void APIENTRY glVertex2xOES (GLfixed x); -GLAPI void APIENTRY glVertex2xvOES (const GLfixed *coords); -GLAPI void APIENTRY glVertex3xOES (GLfixed x, GLfixed y); -GLAPI void APIENTRY glVertex3xvOES (const GLfixed *coords); -GLAPI void APIENTRY glVertex4xOES (GLfixed x, GLfixed y, GLfixed z); -GLAPI void APIENTRY glVertex4xvOES (const GLfixed *coords); -#endif -#endif /* GL_OES_fixed_point */ - -#ifndef GL_OES_query_matrix -#define GL_OES_query_matrix 1 -typedef GLbitfield (APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent); -#endif -#endif /* GL_OES_query_matrix */ - -#ifndef GL_OES_read_format -#define GL_OES_read_format 1 -#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B -#endif /* GL_OES_read_format */ - -#ifndef GL_OES_single_precision -#define GL_OES_single_precision 1 -typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth); -typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation); -typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f); -typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); -typedef void (APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation); -typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glClearDepthfOES (GLclampf depth); -GLAPI void APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation); -GLAPI void APIENTRY glDepthRangefOES (GLclampf n, GLclampf f); -GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); -GLAPI void APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation); -GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); -#endif -#endif /* GL_OES_single_precision */ - -#ifndef GL_3DFX_multisample -#define GL_3DFX_multisample 1 -#define GL_MULTISAMPLE_3DFX 0x86B2 -#define GL_SAMPLE_BUFFERS_3DFX 0x86B3 -#define GL_SAMPLES_3DFX 0x86B4 -#define GL_MULTISAMPLE_BIT_3DFX 0x20000000 -#endif /* GL_3DFX_multisample */ - -#ifndef GL_3DFX_tbuffer -#define GL_3DFX_tbuffer 1 -typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask); -#endif -#endif /* GL_3DFX_tbuffer */ - -#ifndef GL_3DFX_texture_compression_FXT1 -#define GL_3DFX_texture_compression_FXT1 1 -#define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0 -#define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1 -#endif /* GL_3DFX_texture_compression_FXT1 */ - -#ifndef GL_AMD_blend_minmax_factor -#define GL_AMD_blend_minmax_factor 1 -#define GL_FACTOR_MIN_AMD 0x901C -#define GL_FACTOR_MAX_AMD 0x901D -#endif /* GL_AMD_blend_minmax_factor */ - -#ifndef GL_AMD_conservative_depth -#define GL_AMD_conservative_depth 1 -#endif /* GL_AMD_conservative_depth */ - -#ifndef GL_AMD_debug_output -#define GL_AMD_debug_output 1 -typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam); -#define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143 -#define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144 -#define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145 -#define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146 -#define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147 -#define GL_DEBUG_SEVERITY_LOW_AMD 0x9148 -#define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149 -#define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A -#define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B -#define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C -#define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D -#define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E -#define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F -#define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150 -typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); -typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf); -typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam); -typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); -GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf); -GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam); -GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message); -#endif -#endif /* GL_AMD_debug_output */ - -#ifndef GL_AMD_depth_clamp_separate -#define GL_AMD_depth_clamp_separate 1 -#define GL_DEPTH_CLAMP_NEAR_AMD 0x901E -#define GL_DEPTH_CLAMP_FAR_AMD 0x901F -#endif /* GL_AMD_depth_clamp_separate */ - -#ifndef GL_AMD_draw_buffers_blend -#define GL_AMD_draw_buffers_blend 1 -typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst); -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode); -typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst); -GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode); -GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -#endif -#endif /* GL_AMD_draw_buffers_blend */ - -#ifndef GL_AMD_gcn_shader -#define GL_AMD_gcn_shader 1 -#endif /* GL_AMD_gcn_shader */ - -#ifndef GL_AMD_gpu_shader_int64 -#define GL_AMD_gpu_shader_int64 1 -typedef int64_t GLint64EXT; -#define GL_INT64_NV 0x140E -#define GL_UNSIGNED_INT64_NV 0x140F -#define GL_INT8_NV 0x8FE0 -#define GL_INT8_VEC2_NV 0x8FE1 -#define GL_INT8_VEC3_NV 0x8FE2 -#define GL_INT8_VEC4_NV 0x8FE3 -#define GL_INT16_NV 0x8FE4 -#define GL_INT16_VEC2_NV 0x8FE5 -#define GL_INT16_VEC3_NV 0x8FE6 -#define GL_INT16_VEC4_NV 0x8FE7 -#define GL_INT64_VEC2_NV 0x8FE9 -#define GL_INT64_VEC3_NV 0x8FEA -#define GL_INT64_VEC4_NV 0x8FEB -#define GL_UNSIGNED_INT8_NV 0x8FEC -#define GL_UNSIGNED_INT8_VEC2_NV 0x8FED -#define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE -#define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF -#define GL_UNSIGNED_INT16_NV 0x8FF0 -#define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1 -#define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2 -#define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3 -#define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 -#define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 -#define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 -#define GL_FLOAT16_NV 0x8FF8 -#define GL_FLOAT16_VEC2_NV 0x8FF9 -#define GL_FLOAT16_VEC3_NV 0x8FFA -#define GL_FLOAT16_VEC4_NV 0x8FFB -typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x); -typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y); -typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); -typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); -typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); -typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); -typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); -typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); -typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x); -typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y); -typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); -typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); -typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); -typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); -typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); -typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); -typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params); -typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x); -GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y); -GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); -GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); -GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value); -GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value); -GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value); -GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value); -GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x); -GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y); -GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); -GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); -GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); -GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); -GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); -GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); -GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params); -GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params); -GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x); -GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); -GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); -GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); -GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); -GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); -GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); -GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); -GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x); -GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); -GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); -GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); -GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); -GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); -GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); -GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); -#endif -#endif /* GL_AMD_gpu_shader_int64 */ - -#ifndef GL_AMD_interleaved_elements -#define GL_AMD_interleaved_elements 1 -#define GL_VERTEX_ELEMENT_SWIZZLE_AMD 0x91A4 -#define GL_VERTEX_ID_SWIZZLE_AMD 0x91A5 -typedef void (APIENTRYP PFNGLVERTEXATTRIBPARAMETERIAMDPROC) (GLuint index, GLenum pname, GLint param); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexAttribParameteriAMD (GLuint index, GLenum pname, GLint param); -#endif -#endif /* GL_AMD_interleaved_elements */ - -#ifndef GL_AMD_multi_draw_indirect -#define GL_AMD_multi_draw_indirect 1 -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride); -GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride); -#endif -#endif /* GL_AMD_multi_draw_indirect */ - -#ifndef GL_AMD_name_gen_delete -#define GL_AMD_name_gen_delete 1 -#define GL_DATA_BUFFER_AMD 0x9151 -#define GL_PERFORMANCE_MONITOR_AMD 0x9152 -#define GL_QUERY_OBJECT_AMD 0x9153 -#define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154 -#define GL_SAMPLER_OBJECT_AMD 0x9155 -typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names); -typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names); -typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names); -GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names); -GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name); -#endif -#endif /* GL_AMD_name_gen_delete */ - -#ifndef GL_AMD_occlusion_query_event -#define GL_AMD_occlusion_query_event 1 -#define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F -#define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001 -#define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002 -#define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004 -#define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008 -#define GL_QUERY_ALL_EVENT_BITS_AMD 0xFFFFFFFF -typedef void (APIENTRYP PFNGLQUERYOBJECTPARAMETERUIAMDPROC) (GLenum target, GLuint id, GLenum pname, GLuint param); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glQueryObjectParameteruiAMD (GLenum target, GLuint id, GLenum pname, GLuint param); -#endif -#endif /* GL_AMD_occlusion_query_event */ - -#ifndef GL_AMD_performance_monitor -#define GL_AMD_performance_monitor 1 -#define GL_COUNTER_TYPE_AMD 0x8BC0 -#define GL_COUNTER_RANGE_AMD 0x8BC1 -#define GL_UNSIGNED_INT64_AMD 0x8BC2 -#define GL_PERCENTAGE_AMD 0x8BC3 -#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 -#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 -#define GL_PERFMON_RESULT_AMD 0x8BC6 -typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); -typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); -typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); -typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); -typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); -typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); -typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); -typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); -typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); -typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); -typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); -GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); -GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); -GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); -GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data); -GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); -GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); -GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); -GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor); -GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor); -GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); -#endif -#endif /* GL_AMD_performance_monitor */ - -#ifndef GL_AMD_pinned_memory -#define GL_AMD_pinned_memory 1 -#define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160 -#endif /* GL_AMD_pinned_memory */ - -#ifndef GL_AMD_query_buffer_object -#define GL_AMD_query_buffer_object 1 -#define GL_QUERY_BUFFER_AMD 0x9192 -#define GL_QUERY_BUFFER_BINDING_AMD 0x9193 -#define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194 -#endif /* GL_AMD_query_buffer_object */ - -#ifndef GL_AMD_sample_positions -#define GL_AMD_sample_positions 1 -#define GL_SUBSAMPLE_DISTANCE_AMD 0x883F -typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val); -#endif -#endif /* GL_AMD_sample_positions */ - -#ifndef GL_AMD_seamless_cubemap_per_texture -#define GL_AMD_seamless_cubemap_per_texture 1 -#endif /* GL_AMD_seamless_cubemap_per_texture */ - -#ifndef GL_AMD_shader_atomic_counter_ops -#define GL_AMD_shader_atomic_counter_ops 1 -#endif /* GL_AMD_shader_atomic_counter_ops */ - -#ifndef GL_AMD_shader_stencil_export -#define GL_AMD_shader_stencil_export 1 -#endif /* GL_AMD_shader_stencil_export */ - -#ifndef GL_AMD_shader_trinary_minmax -#define GL_AMD_shader_trinary_minmax 1 -#endif /* GL_AMD_shader_trinary_minmax */ - -#ifndef GL_AMD_sparse_texture -#define GL_AMD_sparse_texture 1 -#define GL_VIRTUAL_PAGE_SIZE_X_AMD 0x9195 -#define GL_VIRTUAL_PAGE_SIZE_Y_AMD 0x9196 -#define GL_VIRTUAL_PAGE_SIZE_Z_AMD 0x9197 -#define GL_MAX_SPARSE_TEXTURE_SIZE_AMD 0x9198 -#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199 -#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A -#define GL_MIN_SPARSE_LEVEL_AMD 0x919B -#define GL_MIN_LOD_WARNING_AMD 0x919C -#define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001 -typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags); -typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags); -GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags); -#endif -#endif /* GL_AMD_sparse_texture */ - -#ifndef GL_AMD_stencil_operation_extended -#define GL_AMD_stencil_operation_extended 1 -#define GL_SET_AMD 0x874A -#define GL_REPLACE_VALUE_AMD 0x874B -#define GL_STENCIL_OP_VALUE_AMD 0x874C -#define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D -typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value); -#endif -#endif /* GL_AMD_stencil_operation_extended */ - -#ifndef GL_AMD_texture_texture4 -#define GL_AMD_texture_texture4 1 -#endif /* GL_AMD_texture_texture4 */ - -#ifndef GL_AMD_transform_feedback3_lines_triangles -#define GL_AMD_transform_feedback3_lines_triangles 1 -#endif /* GL_AMD_transform_feedback3_lines_triangles */ - -#ifndef GL_AMD_transform_feedback4 -#define GL_AMD_transform_feedback4 1 -#define GL_STREAM_RASTERIZATION_AMD 0x91A0 -#endif /* GL_AMD_transform_feedback4 */ - -#ifndef GL_AMD_vertex_shader_layer -#define GL_AMD_vertex_shader_layer 1 -#endif /* GL_AMD_vertex_shader_layer */ - -#ifndef GL_AMD_vertex_shader_tessellator -#define GL_AMD_vertex_shader_tessellator 1 -#define GL_SAMPLER_BUFFER_AMD 0x9001 -#define GL_INT_SAMPLER_BUFFER_AMD 0x9002 -#define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003 -#define GL_TESSELLATION_MODE_AMD 0x9004 -#define GL_TESSELLATION_FACTOR_AMD 0x9005 -#define GL_DISCRETE_AMD 0x9006 -#define GL_CONTINUOUS_AMD 0x9007 -typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor); -typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor); -GLAPI void APIENTRY glTessellationModeAMD (GLenum mode); -#endif -#endif /* GL_AMD_vertex_shader_tessellator */ - -#ifndef GL_AMD_vertex_shader_viewport_index -#define GL_AMD_vertex_shader_viewport_index 1 -#endif /* GL_AMD_vertex_shader_viewport_index */ - -#ifndef GL_APPLE_aux_depth_stencil -#define GL_APPLE_aux_depth_stencil 1 -#define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14 -#endif /* GL_APPLE_aux_depth_stencil */ - -#ifndef GL_APPLE_client_storage -#define GL_APPLE_client_storage 1 -#define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2 -#endif /* GL_APPLE_client_storage */ - -#ifndef GL_APPLE_element_array -#define GL_APPLE_element_array 1 -#define GL_ELEMENT_ARRAY_APPLE 0x8A0C -#define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D -#define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E -typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void *pointer); -typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count); -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); -typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const void *pointer); -GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count); -GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); -GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); -GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); -#endif -#endif /* GL_APPLE_element_array */ - -#ifndef GL_APPLE_fence -#define GL_APPLE_fence 1 -#define GL_DRAW_PIXELS_APPLE 0x8A0A -#define GL_FENCE_APPLE 0x8A0B -typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences); -typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences); -typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence); -typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence); -typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence); -typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence); -typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name); -typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences); -GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences); -GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence); -GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence); -GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence); -GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence); -GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name); -GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name); -#endif -#endif /* GL_APPLE_fence */ - -#ifndef GL_APPLE_float_pixels -#define GL_APPLE_float_pixels 1 -#define GL_HALF_APPLE 0x140B -#define GL_RGBA_FLOAT32_APPLE 0x8814 -#define GL_RGB_FLOAT32_APPLE 0x8815 -#define GL_ALPHA_FLOAT32_APPLE 0x8816 -#define GL_INTENSITY_FLOAT32_APPLE 0x8817 -#define GL_LUMINANCE_FLOAT32_APPLE 0x8818 -#define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819 -#define GL_RGBA_FLOAT16_APPLE 0x881A -#define GL_RGB_FLOAT16_APPLE 0x881B -#define GL_ALPHA_FLOAT16_APPLE 0x881C -#define GL_INTENSITY_FLOAT16_APPLE 0x881D -#define GL_LUMINANCE_FLOAT16_APPLE 0x881E -#define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F -#define GL_COLOR_FLOAT_APPLE 0x8A0F -#endif /* GL_APPLE_float_pixels */ - -#ifndef GL_APPLE_flush_buffer_range -#define GL_APPLE_flush_buffer_range 1 -#define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12 -#define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13 -typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param); -GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size); -#endif -#endif /* GL_APPLE_flush_buffer_range */ - -#ifndef GL_APPLE_object_purgeable -#define GL_APPLE_object_purgeable 1 -#define GL_BUFFER_OBJECT_APPLE 0x85B3 -#define GL_RELEASED_APPLE 0x8A19 -#define GL_VOLATILE_APPLE 0x8A1A -#define GL_RETAINED_APPLE 0x8A1B -#define GL_UNDEFINED_APPLE 0x8A1C -#define GL_PURGEABLE_APPLE 0x8A1D -typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option); -typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option); -typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option); -GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option); -GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params); -#endif -#endif /* GL_APPLE_object_purgeable */ - -#ifndef GL_APPLE_rgb_422 -#define GL_APPLE_rgb_422 1 -#define GL_RGB_422_APPLE 0x8A1F -#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA -#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB -#define GL_RGB_RAW_422_APPLE 0x8A51 -#endif /* GL_APPLE_rgb_422 */ - -#ifndef GL_APPLE_row_bytes -#define GL_APPLE_row_bytes 1 -#define GL_PACK_ROW_BYTES_APPLE 0x8A15 -#define GL_UNPACK_ROW_BYTES_APPLE 0x8A16 -#endif /* GL_APPLE_row_bytes */ - -#ifndef GL_APPLE_specular_vector -#define GL_APPLE_specular_vector 1 -#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0 -#endif /* GL_APPLE_specular_vector */ - -#ifndef GL_APPLE_texture_range -#define GL_APPLE_texture_range 1 -#define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7 -#define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8 -#define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC -#define GL_STORAGE_PRIVATE_APPLE 0x85BD -#define GL_STORAGE_CACHED_APPLE 0x85BE -#define GL_STORAGE_SHARED_APPLE 0x85BF -typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const void *pointer); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, void **params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const void *pointer); -GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, void **params); -#endif -#endif /* GL_APPLE_texture_range */ - -#ifndef GL_APPLE_transform_hint -#define GL_APPLE_transform_hint 1 -#define GL_TRANSFORM_HINT_APPLE 0x85B1 -#endif /* GL_APPLE_transform_hint */ - -#ifndef GL_APPLE_vertex_array_object -#define GL_APPLE_vertex_array_object 1 -#define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5 -typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array); -typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays); -typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays); -typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array); -GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays); -GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays); -GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array); -#endif -#endif /* GL_APPLE_vertex_array_object */ - -#ifndef GL_APPLE_vertex_array_range -#define GL_APPLE_vertex_array_range 1 -#define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D -#define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E -#define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F -#define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521 -#define GL_STORAGE_CLIENT_APPLE 0x85B4 -typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer); -typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer); -typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, void *pointer); -GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, void *pointer); -GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param); -#endif -#endif /* GL_APPLE_vertex_array_range */ - -#ifndef GL_APPLE_vertex_program_evaluators -#define GL_APPLE_vertex_program_evaluators 1 -#define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00 -#define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01 -#define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02 -#define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03 -#define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04 -#define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05 -#define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06 -#define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07 -#define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08 -#define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09 -typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname); -typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname); -typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname); -typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); -typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); -typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); -typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname); -GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname); -GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname); -GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); -GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); -GLAPI void APIENTRY glMapVertexAttrib2dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); -GLAPI void APIENTRY glMapVertexAttrib2fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); -#endif -#endif /* GL_APPLE_vertex_program_evaluators */ - -#ifndef GL_APPLE_ycbcr_422 -#define GL_APPLE_ycbcr_422 1 -#define GL_YCBCR_422_APPLE 0x85B9 -#endif /* GL_APPLE_ycbcr_422 */ - -#ifndef GL_ATI_draw_buffers -#define GL_ATI_draw_buffers 1 -#define GL_MAX_DRAW_BUFFERS_ATI 0x8824 -#define GL_DRAW_BUFFER0_ATI 0x8825 -#define GL_DRAW_BUFFER1_ATI 0x8826 -#define GL_DRAW_BUFFER2_ATI 0x8827 -#define GL_DRAW_BUFFER3_ATI 0x8828 -#define GL_DRAW_BUFFER4_ATI 0x8829 -#define GL_DRAW_BUFFER5_ATI 0x882A -#define GL_DRAW_BUFFER6_ATI 0x882B -#define GL_DRAW_BUFFER7_ATI 0x882C -#define GL_DRAW_BUFFER8_ATI 0x882D -#define GL_DRAW_BUFFER9_ATI 0x882E -#define GL_DRAW_BUFFER10_ATI 0x882F -#define GL_DRAW_BUFFER11_ATI 0x8830 -#define GL_DRAW_BUFFER12_ATI 0x8831 -#define GL_DRAW_BUFFER13_ATI 0x8832 -#define GL_DRAW_BUFFER14_ATI 0x8833 -#define GL_DRAW_BUFFER15_ATI 0x8834 -typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs); -#endif -#endif /* GL_ATI_draw_buffers */ - -#ifndef GL_ATI_element_array -#define GL_ATI_element_array 1 -#define GL_ELEMENT_ARRAY_ATI 0x8768 -#define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769 -#define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A -typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void *pointer); -typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count); -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glElementPointerATI (GLenum type, const void *pointer); -GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count); -GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count); -#endif -#endif /* GL_ATI_element_array */ - -#ifndef GL_ATI_envmap_bumpmap -#define GL_ATI_envmap_bumpmap 1 -#define GL_BUMP_ROT_MATRIX_ATI 0x8775 -#define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776 -#define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777 -#define GL_BUMP_TEX_UNITS_ATI 0x8778 -#define GL_DUDV_ATI 0x8779 -#define GL_DU8DV8_ATI 0x877A -#define GL_BUMP_ENVMAP_ATI 0x877B -#define GL_BUMP_TARGET_ATI 0x877C -typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param); -typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param); -typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param); -typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param); -GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param); -GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param); -GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param); -#endif -#endif /* GL_ATI_envmap_bumpmap */ - -#ifndef GL_ATI_fragment_shader -#define GL_ATI_fragment_shader 1 -#define GL_FRAGMENT_SHADER_ATI 0x8920 -#define GL_REG_0_ATI 0x8921 -#define GL_REG_1_ATI 0x8922 -#define GL_REG_2_ATI 0x8923 -#define GL_REG_3_ATI 0x8924 -#define GL_REG_4_ATI 0x8925 -#define GL_REG_5_ATI 0x8926 -#define GL_REG_6_ATI 0x8927 -#define GL_REG_7_ATI 0x8928 -#define GL_REG_8_ATI 0x8929 -#define GL_REG_9_ATI 0x892A -#define GL_REG_10_ATI 0x892B -#define GL_REG_11_ATI 0x892C -#define GL_REG_12_ATI 0x892D -#define GL_REG_13_ATI 0x892E -#define GL_REG_14_ATI 0x892F -#define GL_REG_15_ATI 0x8930 -#define GL_REG_16_ATI 0x8931 -#define GL_REG_17_ATI 0x8932 -#define GL_REG_18_ATI 0x8933 -#define GL_REG_19_ATI 0x8934 -#define GL_REG_20_ATI 0x8935 -#define GL_REG_21_ATI 0x8936 -#define GL_REG_22_ATI 0x8937 -#define GL_REG_23_ATI 0x8938 -#define GL_REG_24_ATI 0x8939 -#define GL_REG_25_ATI 0x893A -#define GL_REG_26_ATI 0x893B -#define GL_REG_27_ATI 0x893C -#define GL_REG_28_ATI 0x893D -#define GL_REG_29_ATI 0x893E -#define GL_REG_30_ATI 0x893F -#define GL_REG_31_ATI 0x8940 -#define GL_CON_0_ATI 0x8941 -#define GL_CON_1_ATI 0x8942 -#define GL_CON_2_ATI 0x8943 -#define GL_CON_3_ATI 0x8944 -#define GL_CON_4_ATI 0x8945 -#define GL_CON_5_ATI 0x8946 -#define GL_CON_6_ATI 0x8947 -#define GL_CON_7_ATI 0x8948 -#define GL_CON_8_ATI 0x8949 -#define GL_CON_9_ATI 0x894A -#define GL_CON_10_ATI 0x894B -#define GL_CON_11_ATI 0x894C -#define GL_CON_12_ATI 0x894D -#define GL_CON_13_ATI 0x894E -#define GL_CON_14_ATI 0x894F -#define GL_CON_15_ATI 0x8950 -#define GL_CON_16_ATI 0x8951 -#define GL_CON_17_ATI 0x8952 -#define GL_CON_18_ATI 0x8953 -#define GL_CON_19_ATI 0x8954 -#define GL_CON_20_ATI 0x8955 -#define GL_CON_21_ATI 0x8956 -#define GL_CON_22_ATI 0x8957 -#define GL_CON_23_ATI 0x8958 -#define GL_CON_24_ATI 0x8959 -#define GL_CON_25_ATI 0x895A -#define GL_CON_26_ATI 0x895B -#define GL_CON_27_ATI 0x895C -#define GL_CON_28_ATI 0x895D -#define GL_CON_29_ATI 0x895E -#define GL_CON_30_ATI 0x895F -#define GL_CON_31_ATI 0x8960 -#define GL_MOV_ATI 0x8961 -#define GL_ADD_ATI 0x8963 -#define GL_MUL_ATI 0x8964 -#define GL_SUB_ATI 0x8965 -#define GL_DOT3_ATI 0x8966 -#define GL_DOT4_ATI 0x8967 -#define GL_MAD_ATI 0x8968 -#define GL_LERP_ATI 0x8969 -#define GL_CND_ATI 0x896A -#define GL_CND0_ATI 0x896B -#define GL_DOT2_ADD_ATI 0x896C -#define GL_SECONDARY_INTERPOLATOR_ATI 0x896D -#define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E -#define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F -#define GL_NUM_PASSES_ATI 0x8970 -#define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971 -#define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972 -#define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973 -#define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974 -#define GL_COLOR_ALPHA_PAIRING_ATI 0x8975 -#define GL_SWIZZLE_STR_ATI 0x8976 -#define GL_SWIZZLE_STQ_ATI 0x8977 -#define GL_SWIZZLE_STR_DR_ATI 0x8978 -#define GL_SWIZZLE_STQ_DQ_ATI 0x8979 -#define GL_SWIZZLE_STRQ_ATI 0x897A -#define GL_SWIZZLE_STRQ_DQ_ATI 0x897B -#define GL_RED_BIT_ATI 0x00000001 -#define GL_GREEN_BIT_ATI 0x00000002 -#define GL_BLUE_BIT_ATI 0x00000004 -#define GL_2X_BIT_ATI 0x00000001 -#define GL_4X_BIT_ATI 0x00000002 -#define GL_8X_BIT_ATI 0x00000004 -#define GL_HALF_BIT_ATI 0x00000008 -#define GL_QUARTER_BIT_ATI 0x00000010 -#define GL_EIGHTH_BIT_ATI 0x00000020 -#define GL_SATURATE_BIT_ATI 0x00000040 -#define GL_COMP_BIT_ATI 0x00000002 -#define GL_NEGATE_BIT_ATI 0x00000004 -#define GL_BIAS_BIT_ATI 0x00000008 -typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range); -typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id); -typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id); -typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void); -typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void); -typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle); -typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle); -typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); -typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); -typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); -typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); -typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); -typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); -typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range); -GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id); -GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id); -GLAPI void APIENTRY glBeginFragmentShaderATI (void); -GLAPI void APIENTRY glEndFragmentShaderATI (void); -GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle); -GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle); -GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); -GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); -GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); -GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); -GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); -GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); -GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value); -#endif -#endif /* GL_ATI_fragment_shader */ - -#ifndef GL_ATI_map_object_buffer -#define GL_ATI_map_object_buffer 1 -typedef void *(APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void *APIENTRY glMapObjectBufferATI (GLuint buffer); -GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer); -#endif -#endif /* GL_ATI_map_object_buffer */ - -#ifndef GL_ATI_meminfo -#define GL_ATI_meminfo 1 -#define GL_VBO_FREE_MEMORY_ATI 0x87FB -#define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC -#define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD -#endif /* GL_ATI_meminfo */ - -#ifndef GL_ATI_pixel_format_float -#define GL_ATI_pixel_format_float 1 -#define GL_RGBA_FLOAT_MODE_ATI 0x8820 -#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 -#endif /* GL_ATI_pixel_format_float */ - -#ifndef GL_ATI_pn_triangles -#define GL_ATI_pn_triangles 1 -#define GL_PN_TRIANGLES_ATI 0x87F0 -#define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1 -#define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2 -#define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3 -#define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4 -#define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5 -#define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6 -#define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7 -#define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8 -typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param); -GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param); -#endif -#endif /* GL_ATI_pn_triangles */ - -#ifndef GL_ATI_separate_stencil -#define GL_ATI_separate_stencil 1 -#define GL_STENCIL_BACK_FUNC_ATI 0x8800 -#define GL_STENCIL_BACK_FAIL_ATI 0x8801 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803 -typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); -#endif -#endif /* GL_ATI_separate_stencil */ - -#ifndef GL_ATI_text_fragment_shader -#define GL_ATI_text_fragment_shader 1 -#define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200 -#endif /* GL_ATI_text_fragment_shader */ - -#ifndef GL_ATI_texture_env_combine3 -#define GL_ATI_texture_env_combine3 1 -#define GL_MODULATE_ADD_ATI 0x8744 -#define GL_MODULATE_SIGNED_ADD_ATI 0x8745 -#define GL_MODULATE_SUBTRACT_ATI 0x8746 -#endif /* GL_ATI_texture_env_combine3 */ - -#ifndef GL_ATI_texture_float -#define GL_ATI_texture_float 1 -#define GL_RGBA_FLOAT32_ATI 0x8814 -#define GL_RGB_FLOAT32_ATI 0x8815 -#define GL_ALPHA_FLOAT32_ATI 0x8816 -#define GL_INTENSITY_FLOAT32_ATI 0x8817 -#define GL_LUMINANCE_FLOAT32_ATI 0x8818 -#define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819 -#define GL_RGBA_FLOAT16_ATI 0x881A -#define GL_RGB_FLOAT16_ATI 0x881B -#define GL_ALPHA_FLOAT16_ATI 0x881C -#define GL_INTENSITY_FLOAT16_ATI 0x881D -#define GL_LUMINANCE_FLOAT16_ATI 0x881E -#define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F -#endif /* GL_ATI_texture_float */ - -#ifndef GL_ATI_texture_mirror_once -#define GL_ATI_texture_mirror_once 1 -#define GL_MIRROR_CLAMP_ATI 0x8742 -#define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743 -#endif /* GL_ATI_texture_mirror_once */ - -#ifndef GL_ATI_vertex_array_object -#define GL_ATI_vertex_array_object 1 -#define GL_STATIC_ATI 0x8760 -#define GL_DYNAMIC_ATI 0x8761 -#define GL_PRESERVE_ATI 0x8762 -#define GL_DISCARD_ATI 0x8763 -#define GL_OBJECT_BUFFER_SIZE_ATI 0x8764 -#define GL_OBJECT_BUFFER_USAGE_ATI 0x8765 -#define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766 -#define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767 -typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void *pointer, GLenum usage); -typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve); -typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); -typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); -typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const void *pointer, GLenum usage); -GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer); -GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve); -GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params); -GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer); -GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); -GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params); -GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); -GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params); -#endif -#endif /* GL_ATI_vertex_array_object */ - -#ifndef GL_ATI_vertex_attrib_array_object -#define GL_ATI_vertex_attrib_array_object 1 -typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); -GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params); -#endif -#endif /* GL_ATI_vertex_attrib_array_object */ - -#ifndef GL_ATI_vertex_streams -#define GL_ATI_vertex_streams 1 -#define GL_MAX_VERTEX_STREAMS_ATI 0x876B -#define GL_VERTEX_STREAM0_ATI 0x876C -#define GL_VERTEX_STREAM1_ATI 0x876D -#define GL_VERTEX_STREAM2_ATI 0x876E -#define GL_VERTEX_STREAM3_ATI 0x876F -#define GL_VERTEX_STREAM4_ATI 0x8770 -#define GL_VERTEX_STREAM5_ATI 0x8771 -#define GL_VERTEX_STREAM6_ATI 0x8772 -#define GL_VERTEX_STREAM7_ATI 0x8773 -#define GL_VERTEX_SOURCE_ATI 0x8774 -typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz); -typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords); -typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz); -typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz); -typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz); -typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz); -typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream); -typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x); -GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords); -GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x); -GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords); -GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x); -GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords); -GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x); -GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords); -GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y); -GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords); -GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y); -GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords); -GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y); -GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords); -GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y); -GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords); -GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z); -GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords); -GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z); -GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords); -GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords); -GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords); -GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); -GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords); -GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w); -GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords); -GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords); -GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords); -GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz); -GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords); -GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz); -GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords); -GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz); -GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords); -GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz); -GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords); -GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz); -GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords); -GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream); -GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param); -GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param); -#endif -#endif /* GL_ATI_vertex_streams */ - -#ifndef GL_EXT_422_pixels -#define GL_EXT_422_pixels 1 -#define GL_422_EXT 0x80CC -#define GL_422_REV_EXT 0x80CD -#define GL_422_AVERAGE_EXT 0x80CE -#define GL_422_REV_AVERAGE_EXT 0x80CF -#endif /* GL_EXT_422_pixels */ - -#ifndef GL_EXT_abgr -#define GL_EXT_abgr 1 -#define GL_ABGR_EXT 0x8000 -#endif /* GL_EXT_abgr */ - -#ifndef GL_EXT_bgra -#define GL_EXT_bgra 1 -#define GL_BGR_EXT 0x80E0 -#define GL_BGRA_EXT 0x80E1 -#endif /* GL_EXT_bgra */ - -#ifndef GL_EXT_bindable_uniform -#define GL_EXT_bindable_uniform 1 -#define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2 -#define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3 -#define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4 -#define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED -#define GL_UNIFORM_BUFFER_EXT 0x8DEE -#define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF -typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer); -typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location); -typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer); -GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location); -GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location); -#endif -#endif /* GL_EXT_bindable_uniform */ - -#ifndef GL_EXT_blend_color -#define GL_EXT_blend_color 1 -#define GL_CONSTANT_COLOR_EXT 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 -#define GL_CONSTANT_ALPHA_EXT 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 -#define GL_BLEND_COLOR_EXT 0x8005 -typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -#endif -#endif /* GL_EXT_blend_color */ - -#ifndef GL_EXT_blend_equation_separate -#define GL_EXT_blend_equation_separate 1 -#define GL_BLEND_EQUATION_RGB_EXT 0x8009 -#define GL_BLEND_EQUATION_ALPHA_EXT 0x883D -typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha); -#endif -#endif /* GL_EXT_blend_equation_separate */ - -#ifndef GL_EXT_blend_func_separate -#define GL_EXT_blend_func_separate 1 -#define GL_BLEND_DST_RGB_EXT 0x80C8 -#define GL_BLEND_SRC_RGB_EXT 0x80C9 -#define GL_BLEND_DST_ALPHA_EXT 0x80CA -#define GL_BLEND_SRC_ALPHA_EXT 0x80CB -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -#endif -#endif /* GL_EXT_blend_func_separate */ - -#ifndef GL_EXT_blend_logic_op -#define GL_EXT_blend_logic_op 1 -#endif /* GL_EXT_blend_logic_op */ - -#ifndef GL_EXT_blend_minmax -#define GL_EXT_blend_minmax 1 -#define GL_MIN_EXT 0x8007 -#define GL_MAX_EXT 0x8008 -#define GL_FUNC_ADD_EXT 0x8006 -#define GL_BLEND_EQUATION_EXT 0x8009 -typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendEquationEXT (GLenum mode); -#endif -#endif /* GL_EXT_blend_minmax */ - -#ifndef GL_EXT_blend_subtract -#define GL_EXT_blend_subtract 1 -#define GL_FUNC_SUBTRACT_EXT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B -#endif /* GL_EXT_blend_subtract */ - -#ifndef GL_EXT_clip_volume_hint -#define GL_EXT_clip_volume_hint 1 -#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0 -#endif /* GL_EXT_clip_volume_hint */ - -#ifndef GL_EXT_cmyka -#define GL_EXT_cmyka 1 -#define GL_CMYK_EXT 0x800C -#define GL_CMYKA_EXT 0x800D -#define GL_PACK_CMYK_HINT_EXT 0x800E -#define GL_UNPACK_CMYK_HINT_EXT 0x800F -#endif /* GL_EXT_cmyka */ - -#ifndef GL_EXT_color_subtable -#define GL_EXT_color_subtable 1 -typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data); -typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data); -GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); -#endif -#endif /* GL_EXT_color_subtable */ - -#ifndef GL_EXT_compiled_vertex_array -#define GL_EXT_compiled_vertex_array 1 -#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 -#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 -typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count); -typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count); -GLAPI void APIENTRY glUnlockArraysEXT (void); -#endif -#endif /* GL_EXT_compiled_vertex_array */ - -#ifndef GL_EXT_convolution -#define GL_EXT_convolution 1 -#define GL_CONVOLUTION_1D_EXT 0x8010 -#define GL_CONVOLUTION_2D_EXT 0x8011 -#define GL_SEPARABLE_2D_EXT 0x8012 -#define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013 -#define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014 -#define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015 -#define GL_REDUCE_EXT 0x8016 -#define GL_CONVOLUTION_FORMAT_EXT 0x8017 -#define GL_CONVOLUTION_WIDTH_EXT 0x8018 -#define GL_CONVOLUTION_HEIGHT_EXT 0x8019 -#define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A -#define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B -#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C -#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D -#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E -#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F -#define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020 -#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021 -#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022 -#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023 -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image); -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *image); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span); -typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image); -GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image); -GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params); -GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params); -GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void *image); -GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span); -GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column); -#endif -#endif /* GL_EXT_convolution */ - -#ifndef GL_EXT_coordinate_frame -#define GL_EXT_coordinate_frame 1 -#define GL_TANGENT_ARRAY_EXT 0x8439 -#define GL_BINORMAL_ARRAY_EXT 0x843A -#define GL_CURRENT_TANGENT_EXT 0x843B -#define GL_CURRENT_BINORMAL_EXT 0x843C -#define GL_TANGENT_ARRAY_TYPE_EXT 0x843E -#define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F -#define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440 -#define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441 -#define GL_TANGENT_ARRAY_POINTER_EXT 0x8442 -#define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443 -#define GL_MAP1_TANGENT_EXT 0x8444 -#define GL_MAP2_TANGENT_EXT 0x8445 -#define GL_MAP1_BINORMAL_EXT 0x8446 -#define GL_MAP2_BINORMAL_EXT 0x8447 -typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz); -typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v); -typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz); -typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz); -typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz); -typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz); -typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz); -typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v); -typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz); -typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz); -typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz); -typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz); -typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer); -typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz); -GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v); -GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz); -GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v); -GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz); -GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v); -GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz); -GLAPI void APIENTRY glTangent3ivEXT (const GLint *v); -GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz); -GLAPI void APIENTRY glTangent3svEXT (const GLshort *v); -GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz); -GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v); -GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz); -GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v); -GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz); -GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v); -GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz); -GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v); -GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz); -GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v); -GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const void *pointer); -GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const void *pointer); -#endif -#endif /* GL_EXT_coordinate_frame */ - -#ifndef GL_EXT_copy_texture -#define GL_EXT_copy_texture 1 -typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -#endif -#endif /* GL_EXT_copy_texture */ - -#ifndef GL_EXT_cull_vertex -#define GL_EXT_cull_vertex 1 -#define GL_CULL_VERTEX_EXT 0x81AA -#define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB -#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC -typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params); -GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params); -#endif -#endif /* GL_EXT_cull_vertex */ - -#ifndef GL_EXT_debug_label -#define GL_EXT_debug_label 1 -#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F -#define GL_PROGRAM_OBJECT_EXT 0x8B40 -#define GL_SHADER_OBJECT_EXT 0x8B48 -#define GL_BUFFER_OBJECT_EXT 0x9151 -#define GL_QUERY_OBJECT_EXT 0x9153 -#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 -typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); -typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label); -GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); -#endif -#endif /* GL_EXT_debug_label */ - -#ifndef GL_EXT_debug_marker -#define GL_EXT_debug_marker 1 -typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); -typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); -typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); -GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); -GLAPI void APIENTRY glPopGroupMarkerEXT (void); -#endif -#endif /* GL_EXT_debug_marker */ - -#ifndef GL_EXT_depth_bounds_test -#define GL_EXT_depth_bounds_test 1 -#define GL_DEPTH_BOUNDS_TEST_EXT 0x8890 -#define GL_DEPTH_BOUNDS_EXT 0x8891 -typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax); -#endif -#endif /* GL_EXT_depth_bounds_test */ - -#ifndef GL_EXT_direct_state_access -#define GL_EXT_direct_state_access 1 -#define GL_PROGRAM_MATRIX_EXT 0x8E2D -#define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E -#define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F -typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m); -typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m); -typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m); -typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m); -typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); -typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); -typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); -typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture); -typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer); -typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param); -typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params); -typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); -typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); -typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); -typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data); -typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data); -typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data); -typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index); -typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index); -typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index); -typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data); -typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img); -typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); -typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img); -typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); -typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); -typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); -typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); -typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); -typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); -typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access); -typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params); -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); -typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params); -typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params); -typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params); -typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params); -typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index); -typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index); -typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params); -typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params); -typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params); -typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params); -typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string); -typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); -typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target); -typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target); -typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); -typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs); -typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); -typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); -typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); -typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); -typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset); -typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); -typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); -typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); -typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset); -typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); -typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); -typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset); -typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); -typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array); -typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array); -typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index); -typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index); -typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param); -typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param); -typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param); -typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param); -typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); -typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); -typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); -typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); -typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex); -typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor); -typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); -typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); -typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m); -GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m); -GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m); -GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m); -GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode); -GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); -GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); -GLAPI void APIENTRY glMatrixPopEXT (GLenum mode); -GLAPI void APIENTRY glMatrixPushEXT (GLenum mode); -GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask); -GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask); -GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param); -GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param); -GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); -GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params); -GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture); -GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer); -GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param); -GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param); -GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param); -GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params); -GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param); -GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param); -GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params); -GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params); -GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params); -GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param); -GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param); -GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); -GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params); -GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index); -GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index); -GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data); -GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data); -GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data); -GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index); -GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index); -GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index); -GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data); -GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data); -GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); -GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); -GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); -GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); -GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); -GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); -GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img); -GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); -GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); -GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); -GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); -GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); -GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); -GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img); -GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m); -GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m); -GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m); -GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m); -GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); -GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); -GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access); -GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer); -GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params); -GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); -GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0); -GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); -GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0); -GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1); -GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); -GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); -GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params); -GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params); -GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params); -GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params); -GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0); -GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1); -GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params); -GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); -GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params); -GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params); -GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params); -GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params); -GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params); -GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params); -GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index); -GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index); -GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params); -GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params); -GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params); -GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string); -GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params); -GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params); -GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params); -GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params); -GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string); -GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params); -GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target); -GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); -GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target); -GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target); -GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode); -GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs); -GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode); -GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params); -GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); -GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); -GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); -GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer); -GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer); -GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); -GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); -GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset); -GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); -GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); -GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); -GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset); -GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); -GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); -GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset); -GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); -GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array); -GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array); -GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index); -GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index); -GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param); -GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param); -GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param); -GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param); -GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); -GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length); -GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); -GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); -GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); -GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param); -GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params); -GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x); -GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y); -GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex); -GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor); -GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); -GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); -GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor); -#endif -#endif /* GL_EXT_direct_state_access */ - -#ifndef GL_EXT_draw_buffers2 -#define GL_EXT_draw_buffers2 1 -typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -#endif -#endif /* GL_EXT_draw_buffers2 */ - -#ifndef GL_EXT_draw_instanced -#define GL_EXT_draw_instanced 1 -typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); -typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); -GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); -#endif -#endif /* GL_EXT_draw_instanced */ - -#ifndef GL_EXT_draw_range_elements -#define GL_EXT_draw_range_elements 1 -#define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8 -#define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9 -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); -#endif -#endif /* GL_EXT_draw_range_elements */ - -#ifndef GL_EXT_fog_coord -#define GL_EXT_fog_coord 1 -#define GL_FOG_COORDINATE_SOURCE_EXT 0x8450 -#define GL_FOG_COORDINATE_EXT 0x8451 -#define GL_FRAGMENT_DEPTH_EXT 0x8452 -#define GL_CURRENT_FOG_COORDINATE_EXT 0x8453 -#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454 -#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455 -#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 -#define GL_FOG_COORDINATE_ARRAY_EXT 0x8457 -typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord); -typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord); -typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord); -typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord); -typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord); -GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord); -GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord); -GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord); -GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const void *pointer); -#endif -#endif /* GL_EXT_fog_coord */ - -#ifndef GL_EXT_framebuffer_blit -#define GL_EXT_framebuffer_blit 1 -#define GL_READ_FRAMEBUFFER_EXT 0x8CA8 -#define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9 -#define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6 -#define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA -typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#endif -#endif /* GL_EXT_framebuffer_blit */ - -#ifndef GL_EXT_framebuffer_multisample -#define GL_EXT_framebuffer_multisample 1 -#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 -#define GL_MAX_SAMPLES_EXT 0x8D57 -typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -#endif -#endif /* GL_EXT_framebuffer_multisample */ - -#ifndef GL_EXT_framebuffer_multisample_blit_scaled -#define GL_EXT_framebuffer_multisample_blit_scaled 1 -#define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA -#define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB -#endif /* GL_EXT_framebuffer_multisample_blit_scaled */ - -#ifndef GL_EXT_framebuffer_object -#define GL_EXT_framebuffer_object 1 -#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506 -#define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8 -#define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6 -#define GL_RENDERBUFFER_BINDING_EXT 0x8CA7 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4 -#define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9 -#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA -#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB -#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC -#define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD -#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF -#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 -#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 -#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 -#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 -#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 -#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 -#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 -#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 -#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 -#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 -#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA -#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB -#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC -#define GL_COLOR_ATTACHMENT13_EXT 0x8CED -#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE -#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF -#define GL_DEPTH_ATTACHMENT_EXT 0x8D00 -#define GL_STENCIL_ATTACHMENT_EXT 0x8D20 -#define GL_FRAMEBUFFER_EXT 0x8D40 -#define GL_RENDERBUFFER_EXT 0x8D41 -#define GL_RENDERBUFFER_WIDTH_EXT 0x8D42 -#define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44 -#define GL_STENCIL_INDEX1_EXT 0x8D46 -#define GL_STENCIL_INDEX4_EXT 0x8D47 -#define GL_STENCIL_INDEX8_EXT 0x8D48 -#define GL_STENCIL_INDEX16_EXT 0x8D49 -#define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55 -typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer); -typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers); -typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers); -typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer); -typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer); -typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers); -typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers); -typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer); -GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer); -GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers); -GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers); -GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params); -GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer); -GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer); -GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers); -GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers); -GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target); -GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params); -GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target); -#endif -#endif /* GL_EXT_framebuffer_object */ - -#ifndef GL_EXT_framebuffer_sRGB -#define GL_EXT_framebuffer_sRGB 1 -#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 -#define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA -#endif /* GL_EXT_framebuffer_sRGB */ - -#ifndef GL_EXT_geometry_shader4 -#define GL_EXT_geometry_shader4 1 -#define GL_GEOMETRY_SHADER_EXT 0x8DD9 -#define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA -#define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB -#define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29 -#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD -#define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE -#define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1 -#define GL_LINES_ADJACENCY_EXT 0x000A -#define GL_LINE_STRIP_ADJACENCY_EXT 0x000B -#define GL_TRIANGLES_ADJACENCY_EXT 0x000C -#define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4 -#define GL_PROGRAM_POINT_SIZE_EXT 0x8642 -typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value); -#endif -#endif /* GL_EXT_geometry_shader4 */ - -#ifndef GL_EXT_gpu_program_parameters -#define GL_EXT_gpu_program_parameters 1 -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params); -GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params); -#endif -#endif /* GL_EXT_gpu_program_parameters */ - -#ifndef GL_EXT_gpu_shader4 -#define GL_EXT_gpu_shader4 1 -#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD -#define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0 -#define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1 -#define GL_SAMPLER_BUFFER_EXT 0x8DC2 -#define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3 -#define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4 -#define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5 -#define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6 -#define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7 -#define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8 -#define GL_INT_SAMPLER_1D_EXT 0x8DC9 -#define GL_INT_SAMPLER_2D_EXT 0x8DCA -#define GL_INT_SAMPLER_3D_EXT 0x8DCB -#define GL_INT_SAMPLER_CUBE_EXT 0x8DCC -#define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD -#define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE -#define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF -#define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0 -#define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1 -#define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2 -#define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3 -#define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4 -#define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5 -#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6 -#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7 -#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8 -#define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904 -#define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905 -typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params); -typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name); -typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0); -typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1); -typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params); -GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name); -GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name); -GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0); -GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1); -GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2); -GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value); -GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value); -#endif -#endif /* GL_EXT_gpu_shader4 */ - -#ifndef GL_EXT_histogram -#define GL_EXT_histogram 1 -#define GL_HISTOGRAM_EXT 0x8024 -#define GL_PROXY_HISTOGRAM_EXT 0x8025 -#define GL_HISTOGRAM_WIDTH_EXT 0x8026 -#define GL_HISTOGRAM_FORMAT_EXT 0x8027 -#define GL_HISTOGRAM_RED_SIZE_EXT 0x8028 -#define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029 -#define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A -#define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B -#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C -#define GL_HISTOGRAM_SINK_EXT 0x802D -#define GL_MINMAX_EXT 0x802E -#define GL_MINMAX_FORMAT_EXT 0x802F -#define GL_MINMAX_SINK_EXT 0x8030 -#define GL_TABLE_TOO_LARGE_EXT 0x8031 -typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); -typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink); -typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target); -typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); -GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); -GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); -GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink); -GLAPI void APIENTRY glResetHistogramEXT (GLenum target); -GLAPI void APIENTRY glResetMinmaxEXT (GLenum target); -#endif -#endif /* GL_EXT_histogram */ - -#ifndef GL_EXT_index_array_formats -#define GL_EXT_index_array_formats 1 -#define GL_IUI_V2F_EXT 0x81AD -#define GL_IUI_V3F_EXT 0x81AE -#define GL_IUI_N3F_V2F_EXT 0x81AF -#define GL_IUI_N3F_V3F_EXT 0x81B0 -#define GL_T2F_IUI_V2F_EXT 0x81B1 -#define GL_T2F_IUI_V3F_EXT 0x81B2 -#define GL_T2F_IUI_N3F_V2F_EXT 0x81B3 -#define GL_T2F_IUI_N3F_V3F_EXT 0x81B4 -#endif /* GL_EXT_index_array_formats */ - -#ifndef GL_EXT_index_func -#define GL_EXT_index_func 1 -#define GL_INDEX_TEST_EXT 0x81B5 -#define GL_INDEX_TEST_FUNC_EXT 0x81B6 -#define GL_INDEX_TEST_REF_EXT 0x81B7 -typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref); -#endif -#endif /* GL_EXT_index_func */ - -#ifndef GL_EXT_index_material -#define GL_EXT_index_material 1 -#define GL_INDEX_MATERIAL_EXT 0x81B8 -#define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9 -#define GL_INDEX_MATERIAL_FACE_EXT 0x81BA -typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode); -#endif -#endif /* GL_EXT_index_material */ - -#ifndef GL_EXT_index_texture -#define GL_EXT_index_texture 1 -#endif /* GL_EXT_index_texture */ - -#ifndef GL_EXT_light_texture -#define GL_EXT_light_texture 1 -#define GL_FRAGMENT_MATERIAL_EXT 0x8349 -#define GL_FRAGMENT_NORMAL_EXT 0x834A -#define GL_FRAGMENT_COLOR_EXT 0x834C -#define GL_ATTENUATION_EXT 0x834D -#define GL_SHADOW_ATTENUATION_EXT 0x834E -#define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F -#define GL_TEXTURE_LIGHT_EXT 0x8350 -#define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351 -#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352 -typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname); -typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glApplyTextureEXT (GLenum mode); -GLAPI void APIENTRY glTextureLightEXT (GLenum pname); -GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode); -#endif -#endif /* GL_EXT_light_texture */ - -#ifndef GL_EXT_misc_attribute -#define GL_EXT_misc_attribute 1 -#endif /* GL_EXT_misc_attribute */ - -#ifndef GL_EXT_multi_draw_arrays -#define GL_EXT_multi_draw_arrays 1 -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); -GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); -#endif -#endif /* GL_EXT_multi_draw_arrays */ - -#ifndef GL_EXT_multisample -#define GL_EXT_multisample 1 -#define GL_MULTISAMPLE_EXT 0x809D -#define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F -#define GL_SAMPLE_MASK_EXT 0x80A0 -#define GL_1PASS_EXT 0x80A1 -#define GL_2PASS_0_EXT 0x80A2 -#define GL_2PASS_1_EXT 0x80A3 -#define GL_4PASS_0_EXT 0x80A4 -#define GL_4PASS_1_EXT 0x80A5 -#define GL_4PASS_2_EXT 0x80A6 -#define GL_4PASS_3_EXT 0x80A7 -#define GL_SAMPLE_BUFFERS_EXT 0x80A8 -#define GL_SAMPLES_EXT 0x80A9 -#define GL_SAMPLE_MASK_VALUE_EXT 0x80AA -#define GL_SAMPLE_MASK_INVERT_EXT 0x80AB -#define GL_SAMPLE_PATTERN_EXT 0x80AC -#define GL_MULTISAMPLE_BIT_EXT 0x20000000 -typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert); -typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert); -GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern); -#endif -#endif /* GL_EXT_multisample */ - -#ifndef GL_EXT_packed_depth_stencil -#define GL_EXT_packed_depth_stencil 1 -#define GL_DEPTH_STENCIL_EXT 0x84F9 -#define GL_UNSIGNED_INT_24_8_EXT 0x84FA -#define GL_DEPTH24_STENCIL8_EXT 0x88F0 -#define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1 -#endif /* GL_EXT_packed_depth_stencil */ - -#ifndef GL_EXT_packed_float -#define GL_EXT_packed_float 1 -#define GL_R11F_G11F_B10F_EXT 0x8C3A -#define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B -#define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C -#endif /* GL_EXT_packed_float */ - -#ifndef GL_EXT_packed_pixels -#define GL_EXT_packed_pixels 1 -#define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032 -#define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034 -#define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035 -#define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036 -#endif /* GL_EXT_packed_pixels */ - -#ifndef GL_EXT_paletted_texture -#define GL_EXT_paletted_texture 1 -#define GL_COLOR_INDEX1_EXT 0x80E2 -#define GL_COLOR_INDEX2_EXT 0x80E3 -#define GL_COLOR_INDEX4_EXT 0x80E4 -#define GL_COLOR_INDEX8_EXT 0x80E5 -#define GL_COLOR_INDEX12_EXT 0x80E6 -#define GL_COLOR_INDEX16_EXT 0x80E7 -#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED -typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table); -typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void *data); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table); -GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void *data); -GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params); -#endif -#endif /* GL_EXT_paletted_texture */ - -#ifndef GL_EXT_pixel_buffer_object -#define GL_EXT_pixel_buffer_object 1 -#define GL_PIXEL_PACK_BUFFER_EXT 0x88EB -#define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF -#endif /* GL_EXT_pixel_buffer_object */ - -#ifndef GL_EXT_pixel_transform -#define GL_EXT_pixel_transform 1 -#define GL_PIXEL_TRANSFORM_2D_EXT 0x8330 -#define GL_PIXEL_MAG_FILTER_EXT 0x8331 -#define GL_PIXEL_MIN_FILTER_EXT 0x8332 -#define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333 -#define GL_CUBIC_EXT 0x8334 -#define GL_AVERAGE_EXT 0x8335 -#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336 -#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337 -#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338 -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param); -GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param); -GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params); -#endif -#endif /* GL_EXT_pixel_transform */ - -#ifndef GL_EXT_pixel_transform_color_table -#define GL_EXT_pixel_transform_color_table 1 -#endif /* GL_EXT_pixel_transform_color_table */ - -#ifndef GL_EXT_point_parameters -#define GL_EXT_point_parameters 1 -#define GL_POINT_SIZE_MIN_EXT 0x8126 -#define GL_POINT_SIZE_MAX_EXT 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 -#define GL_DISTANCE_ATTENUATION_EXT 0x8129 -typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param); -GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params); -#endif -#endif /* GL_EXT_point_parameters */ - -#ifndef GL_EXT_polygon_offset -#define GL_EXT_polygon_offset 1 -#define GL_POLYGON_OFFSET_EXT 0x8037 -#define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 -#define GL_POLYGON_OFFSET_BIAS_EXT 0x8039 -typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias); -#endif -#endif /* GL_EXT_polygon_offset */ - -#ifndef GL_EXT_polygon_offset_clamp -#define GL_EXT_polygon_offset_clamp 1 -#define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B -typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp); -#endif -#endif /* GL_EXT_polygon_offset_clamp */ - -#ifndef GL_EXT_post_depth_coverage -#define GL_EXT_post_depth_coverage 1 -#endif /* GL_EXT_post_depth_coverage */ - -#ifndef GL_EXT_provoking_vertex -#define GL_EXT_provoking_vertex 1 -#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C -#define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D -#define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E -#define GL_PROVOKING_VERTEX_EXT 0x8E4F -typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode); -#endif -#endif /* GL_EXT_provoking_vertex */ - -#ifndef GL_EXT_raster_multisample -#define GL_EXT_raster_multisample 1 -#define GL_RASTER_MULTISAMPLE_EXT 0x9327 -#define GL_RASTER_SAMPLES_EXT 0x9328 -#define GL_MAX_RASTER_SAMPLES_EXT 0x9329 -#define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A -#define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B -#define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C -typedef void (APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations); -#endif -#endif /* GL_EXT_raster_multisample */ - -#ifndef GL_EXT_rescale_normal -#define GL_EXT_rescale_normal 1 -#define GL_RESCALE_NORMAL_EXT 0x803A -#endif /* GL_EXT_rescale_normal */ - -#ifndef GL_EXT_secondary_color -#define GL_EXT_secondary_color 1 -#define GL_COLOR_SUM_EXT 0x8458 -#define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459 -#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A -#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B -#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C -#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D -#define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue); -GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v); -GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue); -GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v); -GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue); -GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v); -GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue); -GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v); -GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue); -GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v); -GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue); -GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v); -GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue); -GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v); -GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue); -GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v); -GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer); -#endif -#endif /* GL_EXT_secondary_color */ - -#ifndef GL_EXT_separate_shader_objects -#define GL_EXT_separate_shader_objects 1 -#define GL_ACTIVE_PROGRAM_EXT 0x8B8D -typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program); -typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program); -typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program); -GLAPI void APIENTRY glActiveProgramEXT (GLuint program); -GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string); -#endif -#endif /* GL_EXT_separate_shader_objects */ - -#ifndef GL_EXT_separate_specular_color -#define GL_EXT_separate_specular_color 1 -#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 -#define GL_SINGLE_COLOR_EXT 0x81F9 -#define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA -#endif /* GL_EXT_separate_specular_color */ - -#ifndef GL_EXT_shader_image_load_formatted -#define GL_EXT_shader_image_load_formatted 1 -#endif /* GL_EXT_shader_image_load_formatted */ - -#ifndef GL_EXT_shader_image_load_store -#define GL_EXT_shader_image_load_store 1 -#define GL_MAX_IMAGE_UNITS_EXT 0x8F38 -#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39 -#define GL_IMAGE_BINDING_NAME_EXT 0x8F3A -#define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B -#define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C -#define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D -#define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E -#define GL_IMAGE_1D_EXT 0x904C -#define GL_IMAGE_2D_EXT 0x904D -#define GL_IMAGE_3D_EXT 0x904E -#define GL_IMAGE_2D_RECT_EXT 0x904F -#define GL_IMAGE_CUBE_EXT 0x9050 -#define GL_IMAGE_BUFFER_EXT 0x9051 -#define GL_IMAGE_1D_ARRAY_EXT 0x9052 -#define GL_IMAGE_2D_ARRAY_EXT 0x9053 -#define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054 -#define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055 -#define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056 -#define GL_INT_IMAGE_1D_EXT 0x9057 -#define GL_INT_IMAGE_2D_EXT 0x9058 -#define GL_INT_IMAGE_3D_EXT 0x9059 -#define GL_INT_IMAGE_2D_RECT_EXT 0x905A -#define GL_INT_IMAGE_CUBE_EXT 0x905B -#define GL_INT_IMAGE_BUFFER_EXT 0x905C -#define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D -#define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E -#define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F -#define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060 -#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061 -#define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062 -#define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063 -#define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064 -#define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065 -#define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066 -#define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067 -#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068 -#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069 -#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A -#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B -#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C -#define GL_MAX_IMAGE_SAMPLES_EXT 0x906D -#define GL_IMAGE_BINDING_FORMAT_EXT 0x906E -#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001 -#define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002 -#define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004 -#define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008 -#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020 -#define GL_COMMAND_BARRIER_BIT_EXT 0x00000040 -#define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080 -#define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100 -#define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200 -#define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400 -#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800 -#define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000 -#define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF -typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format); -typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format); -GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers); -#endif -#endif /* GL_EXT_shader_image_load_store */ - -#ifndef GL_EXT_shader_integer_mix -#define GL_EXT_shader_integer_mix 1 -#endif /* GL_EXT_shader_integer_mix */ - -#ifndef GL_EXT_shadow_funcs -#define GL_EXT_shadow_funcs 1 -#endif /* GL_EXT_shadow_funcs */ - -#ifndef GL_EXT_shared_texture_palette -#define GL_EXT_shared_texture_palette 1 -#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB -#endif /* GL_EXT_shared_texture_palette */ - -#ifndef GL_EXT_sparse_texture2 -#define GL_EXT_sparse_texture2 1 -#endif /* GL_EXT_sparse_texture2 */ - -#ifndef GL_EXT_stencil_clear_tag -#define GL_EXT_stencil_clear_tag 1 -#define GL_STENCIL_TAG_BITS_EXT 0x88F2 -#define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3 -typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag); -#endif -#endif /* GL_EXT_stencil_clear_tag */ - -#ifndef GL_EXT_stencil_two_side -#define GL_EXT_stencil_two_side 1 -#define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910 -#define GL_ACTIVE_STENCIL_FACE_EXT 0x8911 -typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face); -#endif -#endif /* GL_EXT_stencil_two_side */ - -#ifndef GL_EXT_stencil_wrap -#define GL_EXT_stencil_wrap 1 -#define GL_INCR_WRAP_EXT 0x8507 -#define GL_DECR_WRAP_EXT 0x8508 -#endif /* GL_EXT_stencil_wrap */ - -#ifndef GL_EXT_subtexture -#define GL_EXT_subtexture 1 -typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -#endif -#endif /* GL_EXT_subtexture */ - -#ifndef GL_EXT_texture -#define GL_EXT_texture 1 -#define GL_ALPHA4_EXT 0x803B -#define GL_ALPHA8_EXT 0x803C -#define GL_ALPHA12_EXT 0x803D -#define GL_ALPHA16_EXT 0x803E -#define GL_LUMINANCE4_EXT 0x803F -#define GL_LUMINANCE8_EXT 0x8040 -#define GL_LUMINANCE12_EXT 0x8041 -#define GL_LUMINANCE16_EXT 0x8042 -#define GL_LUMINANCE4_ALPHA4_EXT 0x8043 -#define GL_LUMINANCE6_ALPHA2_EXT 0x8044 -#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 -#define GL_LUMINANCE12_ALPHA4_EXT 0x8046 -#define GL_LUMINANCE12_ALPHA12_EXT 0x8047 -#define GL_LUMINANCE16_ALPHA16_EXT 0x8048 -#define GL_INTENSITY_EXT 0x8049 -#define GL_INTENSITY4_EXT 0x804A -#define GL_INTENSITY8_EXT 0x804B -#define GL_INTENSITY12_EXT 0x804C -#define GL_INTENSITY16_EXT 0x804D -#define GL_RGB2_EXT 0x804E -#define GL_RGB4_EXT 0x804F -#define GL_RGB5_EXT 0x8050 -#define GL_RGB8_EXT 0x8051 -#define GL_RGB10_EXT 0x8052 -#define GL_RGB12_EXT 0x8053 -#define GL_RGB16_EXT 0x8054 -#define GL_RGBA2_EXT 0x8055 -#define GL_RGBA4_EXT 0x8056 -#define GL_RGB5_A1_EXT 0x8057 -#define GL_RGBA8_EXT 0x8058 -#define GL_RGB10_A2_EXT 0x8059 -#define GL_RGBA12_EXT 0x805A -#define GL_RGBA16_EXT 0x805B -#define GL_TEXTURE_RED_SIZE_EXT 0x805C -#define GL_TEXTURE_GREEN_SIZE_EXT 0x805D -#define GL_TEXTURE_BLUE_SIZE_EXT 0x805E -#define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F -#define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060 -#define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061 -#define GL_REPLACE_EXT 0x8062 -#define GL_PROXY_TEXTURE_1D_EXT 0x8063 -#define GL_PROXY_TEXTURE_2D_EXT 0x8064 -#define GL_TEXTURE_TOO_LARGE_EXT 0x8065 -#endif /* GL_EXT_texture */ - -#ifndef GL_EXT_texture3D -#define GL_EXT_texture3D 1 -#define GL_PACK_SKIP_IMAGES_EXT 0x806B -#define GL_PACK_IMAGE_HEIGHT_EXT 0x806C -#define GL_UNPACK_SKIP_IMAGES_EXT 0x806D -#define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E -#define GL_TEXTURE_3D_EXT 0x806F -#define GL_PROXY_TEXTURE_3D_EXT 0x8070 -#define GL_TEXTURE_DEPTH_EXT 0x8071 -#define GL_TEXTURE_WRAP_R_EXT 0x8072 -#define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 -typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -#endif -#endif /* GL_EXT_texture3D */ - -#ifndef GL_EXT_texture_array -#define GL_EXT_texture_array 1 -#define GL_TEXTURE_1D_ARRAY_EXT 0x8C18 -#define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19 -#define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A -#define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B -#define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C -#define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D -#define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF -#define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -#endif -#endif /* GL_EXT_texture_array */ - -#ifndef GL_EXT_texture_buffer_object -#define GL_EXT_texture_buffer_object 1 -#define GL_TEXTURE_BUFFER_EXT 0x8C2A -#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B -#define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D -#define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E -typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer); -#endif -#endif /* GL_EXT_texture_buffer_object */ - -#ifndef GL_EXT_texture_compression_latc -#define GL_EXT_texture_compression_latc 1 -#define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70 -#define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71 -#define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72 -#define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73 -#endif /* GL_EXT_texture_compression_latc */ - -#ifndef GL_EXT_texture_compression_rgtc -#define GL_EXT_texture_compression_rgtc 1 -#define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB -#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC -#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD -#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE -#endif /* GL_EXT_texture_compression_rgtc */ - -#ifndef GL_EXT_texture_compression_s3tc -#define GL_EXT_texture_compression_s3tc 1 -#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 -#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 -#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 -#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 -#endif /* GL_EXT_texture_compression_s3tc */ - -#ifndef GL_EXT_texture_cube_map -#define GL_EXT_texture_cube_map 1 -#define GL_NORMAL_MAP_EXT 0x8511 -#define GL_REFLECTION_MAP_EXT 0x8512 -#define GL_TEXTURE_CUBE_MAP_EXT 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C -#endif /* GL_EXT_texture_cube_map */ - -#ifndef GL_EXT_texture_env_add -#define GL_EXT_texture_env_add 1 -#endif /* GL_EXT_texture_env_add */ - -#ifndef GL_EXT_texture_env_combine -#define GL_EXT_texture_env_combine 1 -#define GL_COMBINE_EXT 0x8570 -#define GL_COMBINE_RGB_EXT 0x8571 -#define GL_COMBINE_ALPHA_EXT 0x8572 -#define GL_RGB_SCALE_EXT 0x8573 -#define GL_ADD_SIGNED_EXT 0x8574 -#define GL_INTERPOLATE_EXT 0x8575 -#define GL_CONSTANT_EXT 0x8576 -#define GL_PRIMARY_COLOR_EXT 0x8577 -#define GL_PREVIOUS_EXT 0x8578 -#define GL_SOURCE0_RGB_EXT 0x8580 -#define GL_SOURCE1_RGB_EXT 0x8581 -#define GL_SOURCE2_RGB_EXT 0x8582 -#define GL_SOURCE0_ALPHA_EXT 0x8588 -#define GL_SOURCE1_ALPHA_EXT 0x8589 -#define GL_SOURCE2_ALPHA_EXT 0x858A -#define GL_OPERAND0_RGB_EXT 0x8590 -#define GL_OPERAND1_RGB_EXT 0x8591 -#define GL_OPERAND2_RGB_EXT 0x8592 -#define GL_OPERAND0_ALPHA_EXT 0x8598 -#define GL_OPERAND1_ALPHA_EXT 0x8599 -#define GL_OPERAND2_ALPHA_EXT 0x859A -#endif /* GL_EXT_texture_env_combine */ - -#ifndef GL_EXT_texture_env_dot3 -#define GL_EXT_texture_env_dot3 1 -#define GL_DOT3_RGB_EXT 0x8740 -#define GL_DOT3_RGBA_EXT 0x8741 -#endif /* GL_EXT_texture_env_dot3 */ - -#ifndef GL_EXT_texture_filter_anisotropic -#define GL_EXT_texture_filter_anisotropic 1 -#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE -#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF -#endif /* GL_EXT_texture_filter_anisotropic */ - -#ifndef GL_EXT_texture_filter_minmax -#define GL_EXT_texture_filter_minmax 1 -#endif /* GL_EXT_texture_filter_minmax */ - -#ifndef GL_EXT_texture_integer -#define GL_EXT_texture_integer 1 -#define GL_RGBA32UI_EXT 0x8D70 -#define GL_RGB32UI_EXT 0x8D71 -#define GL_ALPHA32UI_EXT 0x8D72 -#define GL_INTENSITY32UI_EXT 0x8D73 -#define GL_LUMINANCE32UI_EXT 0x8D74 -#define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75 -#define GL_RGBA16UI_EXT 0x8D76 -#define GL_RGB16UI_EXT 0x8D77 -#define GL_ALPHA16UI_EXT 0x8D78 -#define GL_INTENSITY16UI_EXT 0x8D79 -#define GL_LUMINANCE16UI_EXT 0x8D7A -#define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B -#define GL_RGBA8UI_EXT 0x8D7C -#define GL_RGB8UI_EXT 0x8D7D -#define GL_ALPHA8UI_EXT 0x8D7E -#define GL_INTENSITY8UI_EXT 0x8D7F -#define GL_LUMINANCE8UI_EXT 0x8D80 -#define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81 -#define GL_RGBA32I_EXT 0x8D82 -#define GL_RGB32I_EXT 0x8D83 -#define GL_ALPHA32I_EXT 0x8D84 -#define GL_INTENSITY32I_EXT 0x8D85 -#define GL_LUMINANCE32I_EXT 0x8D86 -#define GL_LUMINANCE_ALPHA32I_EXT 0x8D87 -#define GL_RGBA16I_EXT 0x8D88 -#define GL_RGB16I_EXT 0x8D89 -#define GL_ALPHA16I_EXT 0x8D8A -#define GL_INTENSITY16I_EXT 0x8D8B -#define GL_LUMINANCE16I_EXT 0x8D8C -#define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D -#define GL_RGBA8I_EXT 0x8D8E -#define GL_RGB8I_EXT 0x8D8F -#define GL_ALPHA8I_EXT 0x8D90 -#define GL_INTENSITY8I_EXT 0x8D91 -#define GL_LUMINANCE8I_EXT 0x8D92 -#define GL_LUMINANCE_ALPHA8I_EXT 0x8D93 -#define GL_RED_INTEGER_EXT 0x8D94 -#define GL_GREEN_INTEGER_EXT 0x8D95 -#define GL_BLUE_INTEGER_EXT 0x8D96 -#define GL_ALPHA_INTEGER_EXT 0x8D97 -#define GL_RGB_INTEGER_EXT 0x8D98 -#define GL_RGBA_INTEGER_EXT 0x8D99 -#define GL_BGR_INTEGER_EXT 0x8D9A -#define GL_BGRA_INTEGER_EXT 0x8D9B -#define GL_LUMINANCE_INTEGER_EXT 0x8D9C -#define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D -#define GL_RGBA_INTEGER_MODE_EXT 0x8D9E -typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha); -typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params); -GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params); -GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha); -GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha); -#endif -#endif /* GL_EXT_texture_integer */ - -#ifndef GL_EXT_texture_lod_bias -#define GL_EXT_texture_lod_bias 1 -#define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD -#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 -#define GL_TEXTURE_LOD_BIAS_EXT 0x8501 -#endif /* GL_EXT_texture_lod_bias */ - -#ifndef GL_EXT_texture_mirror_clamp -#define GL_EXT_texture_mirror_clamp 1 -#define GL_MIRROR_CLAMP_EXT 0x8742 -#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 -#define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 -#endif /* GL_EXT_texture_mirror_clamp */ - -#ifndef GL_EXT_texture_object -#define GL_EXT_texture_object 1 -#define GL_TEXTURE_PRIORITY_EXT 0x8066 -#define GL_TEXTURE_RESIDENT_EXT 0x8067 -#define GL_TEXTURE_1D_BINDING_EXT 0x8068 -#define GL_TEXTURE_2D_BINDING_EXT 0x8069 -#define GL_TEXTURE_3D_BINDING_EXT 0x806A -typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences); -typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture); -typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures); -typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures); -typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture); -typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences); -GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture); -GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures); -GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures); -GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture); -GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities); -#endif -#endif /* GL_EXT_texture_object */ - -#ifndef GL_EXT_texture_perturb_normal -#define GL_EXT_texture_perturb_normal 1 -#define GL_PERTURB_EXT 0x85AE -#define GL_TEXTURE_NORMAL_EXT 0x85AF -typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTextureNormalEXT (GLenum mode); -#endif -#endif /* GL_EXT_texture_perturb_normal */ - -#ifndef GL_EXT_texture_sRGB -#define GL_EXT_texture_sRGB 1 -#define GL_SRGB_EXT 0x8C40 -#define GL_SRGB8_EXT 0x8C41 -#define GL_SRGB_ALPHA_EXT 0x8C42 -#define GL_SRGB8_ALPHA8_EXT 0x8C43 -#define GL_SLUMINANCE_ALPHA_EXT 0x8C44 -#define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45 -#define GL_SLUMINANCE_EXT 0x8C46 -#define GL_SLUMINANCE8_EXT 0x8C47 -#define GL_COMPRESSED_SRGB_EXT 0x8C48 -#define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49 -#define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A -#define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B -#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F -#endif /* GL_EXT_texture_sRGB */ - -#ifndef GL_EXT_texture_sRGB_decode -#define GL_EXT_texture_sRGB_decode 1 -#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 -#define GL_DECODE_EXT 0x8A49 -#define GL_SKIP_DECODE_EXT 0x8A4A -#endif /* GL_EXT_texture_sRGB_decode */ - -#ifndef GL_EXT_texture_shared_exponent -#define GL_EXT_texture_shared_exponent 1 -#define GL_RGB9_E5_EXT 0x8C3D -#define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E -#define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F -#endif /* GL_EXT_texture_shared_exponent */ - -#ifndef GL_EXT_texture_snorm -#define GL_EXT_texture_snorm 1 -#define GL_ALPHA_SNORM 0x9010 -#define GL_LUMINANCE_SNORM 0x9011 -#define GL_LUMINANCE_ALPHA_SNORM 0x9012 -#define GL_INTENSITY_SNORM 0x9013 -#define GL_ALPHA8_SNORM 0x9014 -#define GL_LUMINANCE8_SNORM 0x9015 -#define GL_LUMINANCE8_ALPHA8_SNORM 0x9016 -#define GL_INTENSITY8_SNORM 0x9017 -#define GL_ALPHA16_SNORM 0x9018 -#define GL_LUMINANCE16_SNORM 0x9019 -#define GL_LUMINANCE16_ALPHA16_SNORM 0x901A -#define GL_INTENSITY16_SNORM 0x901B -#define GL_RED_SNORM 0x8F90 -#define GL_RG_SNORM 0x8F91 -#define GL_RGB_SNORM 0x8F92 -#define GL_RGBA_SNORM 0x8F93 -#endif /* GL_EXT_texture_snorm */ - -#ifndef GL_EXT_texture_swizzle -#define GL_EXT_texture_swizzle 1 -#define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42 -#define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43 -#define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44 -#define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45 -#define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46 -#endif /* GL_EXT_texture_swizzle */ - -#ifndef GL_EXT_timer_query -#define GL_EXT_timer_query 1 -#define GL_TIME_ELAPSED_EXT 0x88BF -typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params); -GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params); -#endif -#endif /* GL_EXT_timer_query */ - -#ifndef GL_EXT_transform_feedback -#define GL_EXT_transform_feedback 1 -#define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85 -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F -#define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C -#define GL_SEPARATE_ATTRIBS_EXT 0x8C8D -#define GL_PRIMITIVES_GENERATED_EXT 0x8C87 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88 -#define GL_RASTERIZER_DISCARD_EXT 0x8C89 -#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80 -#define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F -#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76 -typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode); -typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void); -typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); -typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer); -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); -typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode); -GLAPI void APIENTRY glEndTransformFeedbackEXT (void); -GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset); -GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer); -GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); -GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -#endif -#endif /* GL_EXT_transform_feedback */ - -#ifndef GL_EXT_vertex_array -#define GL_EXT_vertex_array 1 -#define GL_VERTEX_ARRAY_EXT 0x8074 -#define GL_NORMAL_ARRAY_EXT 0x8075 -#define GL_COLOR_ARRAY_EXT 0x8076 -#define GL_INDEX_ARRAY_EXT 0x8077 -#define GL_TEXTURE_COORD_ARRAY_EXT 0x8078 -#define GL_EDGE_FLAG_ARRAY_EXT 0x8079 -#define GL_VERTEX_ARRAY_SIZE_EXT 0x807A -#define GL_VERTEX_ARRAY_TYPE_EXT 0x807B -#define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C -#define GL_VERTEX_ARRAY_COUNT_EXT 0x807D -#define GL_NORMAL_ARRAY_TYPE_EXT 0x807E -#define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F -#define GL_NORMAL_ARRAY_COUNT_EXT 0x8080 -#define GL_COLOR_ARRAY_SIZE_EXT 0x8081 -#define GL_COLOR_ARRAY_TYPE_EXT 0x8082 -#define GL_COLOR_ARRAY_STRIDE_EXT 0x8083 -#define GL_COLOR_ARRAY_COUNT_EXT 0x8084 -#define GL_INDEX_ARRAY_TYPE_EXT 0x8085 -#define GL_INDEX_ARRAY_STRIDE_EXT 0x8086 -#define GL_INDEX_ARRAY_COUNT_EXT 0x8087 -#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088 -#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089 -#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A -#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B -#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C -#define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D -#define GL_VERTEX_ARRAY_POINTER_EXT 0x808E -#define GL_NORMAL_ARRAY_POINTER_EXT 0x808F -#define GL_COLOR_ARRAY_POINTER_EXT 0x8090 -#define GL_INDEX_ARRAY_POINTER_EXT 0x8091 -#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092 -#define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093 -typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i); -typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer); -typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count); -typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer); -typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, void **params); -typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer); -typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer); -typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer); -typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glArrayElementEXT (GLint i); -GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer); -GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count); -GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer); -GLAPI void APIENTRY glGetPointervEXT (GLenum pname, void **params); -GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer); -GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer); -GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer); -GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer); -#endif -#endif /* GL_EXT_vertex_array */ - -#ifndef GL_EXT_vertex_array_bgra -#define GL_EXT_vertex_array_bgra 1 -#endif /* GL_EXT_vertex_array_bgra */ - -#ifndef GL_EXT_vertex_attrib_64bit -#define GL_EXT_vertex_attrib_64bit 1 -#define GL_DOUBLE_VEC2_EXT 0x8FFC -#define GL_DOUBLE_VEC3_EXT 0x8FFD -#define GL_DOUBLE_VEC4_EXT 0x8FFE -#define GL_DOUBLE_MAT2_EXT 0x8F46 -#define GL_DOUBLE_MAT3_EXT 0x8F47 -#define GL_DOUBLE_MAT4_EXT 0x8F48 -#define GL_DOUBLE_MAT2x3_EXT 0x8F49 -#define GL_DOUBLE_MAT2x4_EXT 0x8F4A -#define GL_DOUBLE_MAT3x2_EXT 0x8F4B -#define GL_DOUBLE_MAT3x4_EXT 0x8F4C -#define GL_DOUBLE_MAT4x2_EXT 0x8F4D -#define GL_DOUBLE_MAT4x3_EXT 0x8F4E -typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x); -GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y); -GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params); -#endif -#endif /* GL_EXT_vertex_attrib_64bit */ - -#ifndef GL_EXT_vertex_shader -#define GL_EXT_vertex_shader 1 -#define GL_VERTEX_SHADER_EXT 0x8780 -#define GL_VERTEX_SHADER_BINDING_EXT 0x8781 -#define GL_OP_INDEX_EXT 0x8782 -#define GL_OP_NEGATE_EXT 0x8783 -#define GL_OP_DOT3_EXT 0x8784 -#define GL_OP_DOT4_EXT 0x8785 -#define GL_OP_MUL_EXT 0x8786 -#define GL_OP_ADD_EXT 0x8787 -#define GL_OP_MADD_EXT 0x8788 -#define GL_OP_FRAC_EXT 0x8789 -#define GL_OP_MAX_EXT 0x878A -#define GL_OP_MIN_EXT 0x878B -#define GL_OP_SET_GE_EXT 0x878C -#define GL_OP_SET_LT_EXT 0x878D -#define GL_OP_CLAMP_EXT 0x878E -#define GL_OP_FLOOR_EXT 0x878F -#define GL_OP_ROUND_EXT 0x8790 -#define GL_OP_EXP_BASE_2_EXT 0x8791 -#define GL_OP_LOG_BASE_2_EXT 0x8792 -#define GL_OP_POWER_EXT 0x8793 -#define GL_OP_RECIP_EXT 0x8794 -#define GL_OP_RECIP_SQRT_EXT 0x8795 -#define GL_OP_SUB_EXT 0x8796 -#define GL_OP_CROSS_PRODUCT_EXT 0x8797 -#define GL_OP_MULTIPLY_MATRIX_EXT 0x8798 -#define GL_OP_MOV_EXT 0x8799 -#define GL_OUTPUT_VERTEX_EXT 0x879A -#define GL_OUTPUT_COLOR0_EXT 0x879B -#define GL_OUTPUT_COLOR1_EXT 0x879C -#define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D -#define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E -#define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F -#define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0 -#define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1 -#define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2 -#define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3 -#define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4 -#define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5 -#define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6 -#define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7 -#define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8 -#define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9 -#define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA -#define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB -#define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC -#define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD -#define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE -#define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF -#define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0 -#define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1 -#define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2 -#define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3 -#define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4 -#define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5 -#define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6 -#define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7 -#define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8 -#define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9 -#define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA -#define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB -#define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC -#define GL_OUTPUT_FOG_EXT 0x87BD -#define GL_SCALAR_EXT 0x87BE -#define GL_VECTOR_EXT 0x87BF -#define GL_MATRIX_EXT 0x87C0 -#define GL_VARIANT_EXT 0x87C1 -#define GL_INVARIANT_EXT 0x87C2 -#define GL_LOCAL_CONSTANT_EXT 0x87C3 -#define GL_LOCAL_EXT 0x87C4 -#define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5 -#define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6 -#define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7 -#define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8 -#define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9 -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE -#define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF -#define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0 -#define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1 -#define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2 -#define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3 -#define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4 -#define GL_X_EXT 0x87D5 -#define GL_Y_EXT 0x87D6 -#define GL_Z_EXT 0x87D7 -#define GL_W_EXT 0x87D8 -#define GL_NEGATIVE_X_EXT 0x87D9 -#define GL_NEGATIVE_Y_EXT 0x87DA -#define GL_NEGATIVE_Z_EXT 0x87DB -#define GL_NEGATIVE_W_EXT 0x87DC -#define GL_ZERO_EXT 0x87DD -#define GL_ONE_EXT 0x87DE -#define GL_NEGATIVE_ONE_EXT 0x87DF -#define GL_NORMALIZED_RANGE_EXT 0x87E0 -#define GL_FULL_RANGE_EXT 0x87E1 -#define GL_CURRENT_VERTEX_EXT 0x87E2 -#define GL_MVP_MATRIX_EXT 0x87E3 -#define GL_VARIANT_VALUE_EXT 0x87E4 -#define GL_VARIANT_DATATYPE_EXT 0x87E5 -#define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6 -#define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7 -#define GL_VARIANT_ARRAY_EXT 0x87E8 -#define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9 -#define GL_INVARIANT_VALUE_EXT 0x87EA -#define GL_INVARIANT_DATATYPE_EXT 0x87EB -#define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC -#define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED -typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void); -typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void); -typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id); -typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range); -typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id); -typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1); -typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2); -typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); -typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); -typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); -typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); -typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); -typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components); -typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const void *addr); -typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const void *addr); -typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr); -typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr); -typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr); -typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr); -typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr); -typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr); -typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr); -typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr); -typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const void *addr); -typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); -typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); -typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value); -typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value); -typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value); -typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value); -typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value); -typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap); -typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); -typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); -typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); -typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, void **data); -typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); -typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); -typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); -typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); -typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); -typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBeginVertexShaderEXT (void); -GLAPI void APIENTRY glEndVertexShaderEXT (void); -GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id); -GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range); -GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id); -GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1); -GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2); -GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); -GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); -GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); -GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num); -GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num); -GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components); -GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const void *addr); -GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const void *addr); -GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr); -GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr); -GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr); -GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr); -GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr); -GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr); -GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr); -GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr); -GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void *addr); -GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id); -GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id); -GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value); -GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value); -GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value); -GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value); -GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value); -GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap); -GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data); -GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data); -GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data); -GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, void **data); -GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data); -GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data); -GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data); -GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data); -GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data); -GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data); -#endif -#endif /* GL_EXT_vertex_shader */ - -#ifndef GL_EXT_vertex_weighting -#define GL_EXT_vertex_weighting 1 -#define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3 -#define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502 -#define GL_MODELVIEW0_MATRIX_EXT 0x0BA6 -#define GL_MODELVIEW1_MATRIX_EXT 0x8506 -#define GL_VERTEX_WEIGHTING_EXT 0x8509 -#define GL_MODELVIEW0_EXT 0x1700 -#define GL_MODELVIEW1_EXT 0x850A -#define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B -#define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C -#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D -#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E -#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F -#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510 -typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight); -typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight); -typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight); -GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight); -GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer); -#endif -#endif /* GL_EXT_vertex_weighting */ - -#ifndef GL_EXT_x11_sync_object -#define GL_EXT_x11_sync_object 1 -#define GL_SYNC_X11_FENCE_EXT 0x90E1 -typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags); -#endif -#endif /* GL_EXT_x11_sync_object */ - -#ifndef GL_GREMEDY_frame_terminator -#define GL_GREMEDY_frame_terminator 1 -typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFrameTerminatorGREMEDY (void); -#endif -#endif /* GL_GREMEDY_frame_terminator */ - -#ifndef GL_GREMEDY_string_marker -#define GL_GREMEDY_string_marker 1 -typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void *string); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const void *string); -#endif -#endif /* GL_GREMEDY_string_marker */ - -#ifndef GL_HP_convolution_border_modes -#define GL_HP_convolution_border_modes 1 -#define GL_IGNORE_BORDER_HP 0x8150 -#define GL_CONSTANT_BORDER_HP 0x8151 -#define GL_REPLICATE_BORDER_HP 0x8153 -#define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154 -#endif /* GL_HP_convolution_border_modes */ - -#ifndef GL_HP_image_transform -#define GL_HP_image_transform 1 -#define GL_IMAGE_SCALE_X_HP 0x8155 -#define GL_IMAGE_SCALE_Y_HP 0x8156 -#define GL_IMAGE_TRANSLATE_X_HP 0x8157 -#define GL_IMAGE_TRANSLATE_Y_HP 0x8158 -#define GL_IMAGE_ROTATE_ANGLE_HP 0x8159 -#define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A -#define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B -#define GL_IMAGE_MAG_FILTER_HP 0x815C -#define GL_IMAGE_MIN_FILTER_HP 0x815D -#define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E -#define GL_CUBIC_HP 0x815F -#define GL_AVERAGE_HP 0x8160 -#define GL_IMAGE_TRANSFORM_2D_HP 0x8161 -#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162 -#define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163 -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param); -GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param); -GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params); -#endif -#endif /* GL_HP_image_transform */ - -#ifndef GL_HP_occlusion_test -#define GL_HP_occlusion_test 1 -#define GL_OCCLUSION_TEST_HP 0x8165 -#define GL_OCCLUSION_TEST_RESULT_HP 0x8166 -#endif /* GL_HP_occlusion_test */ - -#ifndef GL_HP_texture_lighting -#define GL_HP_texture_lighting 1 -#define GL_TEXTURE_LIGHTING_MODE_HP 0x8167 -#define GL_TEXTURE_POST_SPECULAR_HP 0x8168 -#define GL_TEXTURE_PRE_SPECULAR_HP 0x8169 -#endif /* GL_HP_texture_lighting */ - -#ifndef GL_IBM_cull_vertex -#define GL_IBM_cull_vertex 1 -#define GL_CULL_VERTEX_IBM 103050 -#endif /* GL_IBM_cull_vertex */ - -#ifndef GL_IBM_multimode_draw_arrays -#define GL_IBM_multimode_draw_arrays 1 -typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride); -typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride); -GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride); -#endif -#endif /* GL_IBM_multimode_draw_arrays */ - -#ifndef GL_IBM_rasterpos_clip -#define GL_IBM_rasterpos_clip 1 -#define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262 -#endif /* GL_IBM_rasterpos_clip */ - -#ifndef GL_IBM_static_data -#define GL_IBM_static_data 1 -#define GL_ALL_STATIC_DATA_IBM 103060 -#define GL_STATIC_VERTEX_ARRAY_IBM 103061 -typedef void (APIENTRYP PFNGLFLUSHSTATICDATAIBMPROC) (GLenum target); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFlushStaticDataIBM (GLenum target); -#endif -#endif /* GL_IBM_static_data */ - -#ifndef GL_IBM_texture_mirrored_repeat -#define GL_IBM_texture_mirrored_repeat 1 -#define GL_MIRRORED_REPEAT_IBM 0x8370 -#endif /* GL_IBM_texture_mirrored_repeat */ - -#ifndef GL_IBM_vertex_array_lists -#define GL_IBM_vertex_array_lists 1 -#define GL_VERTEX_ARRAY_LIST_IBM 103070 -#define GL_NORMAL_ARRAY_LIST_IBM 103071 -#define GL_COLOR_ARRAY_LIST_IBM 103072 -#define GL_INDEX_ARRAY_LIST_IBM 103073 -#define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074 -#define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075 -#define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076 -#define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077 -#define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080 -#define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081 -#define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082 -#define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083 -#define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084 -#define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085 -#define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086 -#define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087 -typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean **pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); -GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); -GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean **pointer, GLint ptrstride); -GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride); -GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride); -GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride); -GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); -GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); -#endif -#endif /* GL_IBM_vertex_array_lists */ - -#ifndef GL_INGR_blend_func_separate -#define GL_INGR_blend_func_separate 1 -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -#endif -#endif /* GL_INGR_blend_func_separate */ - -#ifndef GL_INGR_color_clamp -#define GL_INGR_color_clamp 1 -#define GL_RED_MIN_CLAMP_INGR 0x8560 -#define GL_GREEN_MIN_CLAMP_INGR 0x8561 -#define GL_BLUE_MIN_CLAMP_INGR 0x8562 -#define GL_ALPHA_MIN_CLAMP_INGR 0x8563 -#define GL_RED_MAX_CLAMP_INGR 0x8564 -#define GL_GREEN_MAX_CLAMP_INGR 0x8565 -#define GL_BLUE_MAX_CLAMP_INGR 0x8566 -#define GL_ALPHA_MAX_CLAMP_INGR 0x8567 -#endif /* GL_INGR_color_clamp */ - -#ifndef GL_INGR_interlace_read -#define GL_INGR_interlace_read 1 -#define GL_INTERLACE_READ_INGR 0x8568 -#endif /* GL_INGR_interlace_read */ - -#ifndef GL_INTEL_fragment_shader_ordering -#define GL_INTEL_fragment_shader_ordering 1 -#endif /* GL_INTEL_fragment_shader_ordering */ - -#ifndef GL_INTEL_framebuffer_CMAA -#define GL_INTEL_framebuffer_CMAA 1 -typedef void (APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void); -#endif -#endif /* GL_INTEL_framebuffer_CMAA */ - -#ifndef GL_INTEL_map_texture -#define GL_INTEL_map_texture 1 -#define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF -#define GL_LAYOUT_DEFAULT_INTEL 0 -#define GL_LAYOUT_LINEAR_INTEL 1 -#define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2 -typedef void (APIENTRYP PFNGLSYNCTEXTUREINTELPROC) (GLuint texture); -typedef void (APIENTRYP PFNGLUNMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level); -typedef void *(APIENTRYP PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSyncTextureINTEL (GLuint texture); -GLAPI void APIENTRY glUnmapTexture2DINTEL (GLuint texture, GLint level); -GLAPI void *APIENTRY glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout); -#endif -#endif /* GL_INTEL_map_texture */ - -#ifndef GL_INTEL_parallel_arrays -#define GL_INTEL_parallel_arrays 1 -#define GL_PARALLEL_ARRAYS_INTEL 0x83F4 -#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5 -#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6 -#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7 -#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8 -typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer); -typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void **pointer); -typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer); -typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const void **pointer); -GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const void **pointer); -GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const void **pointer); -GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const void **pointer); -#endif -#endif /* GL_INTEL_parallel_arrays */ - -#ifndef GL_INTEL_performance_query -#define GL_INTEL_performance_query 1 -#define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000 -#define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001 -#define GL_PERFQUERY_WAIT_INTEL 0x83FB -#define GL_PERFQUERY_FLUSH_INTEL 0x83FA -#define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9 -#define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0 -#define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1 -#define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2 -#define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3 -#define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4 -#define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5 -#define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8 -#define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9 -#define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA -#define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB -#define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC -#define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD -#define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE -#define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF -#define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500 -typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle); -typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle); -typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle); -typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle); -typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId); -typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId); -typedef void (APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); -typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); -typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId); -typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle); -GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle); -GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle); -GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle); -GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId); -GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId); -GLAPI void APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); -GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); -GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId); -GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); -#endif -#endif /* GL_INTEL_performance_query */ - -#ifndef GL_MESAX_texture_stack -#define GL_MESAX_texture_stack 1 -#define GL_TEXTURE_1D_STACK_MESAX 0x8759 -#define GL_TEXTURE_2D_STACK_MESAX 0x875A -#define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B -#define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C -#define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D -#define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E -#endif /* GL_MESAX_texture_stack */ - -#ifndef GL_MESA_pack_invert -#define GL_MESA_pack_invert 1 -#define GL_PACK_INVERT_MESA 0x8758 -#endif /* GL_MESA_pack_invert */ - -#ifndef GL_MESA_resize_buffers -#define GL_MESA_resize_buffers 1 -typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glResizeBuffersMESA (void); -#endif -#endif /* GL_MESA_resize_buffers */ - -#ifndef GL_MESA_window_pos -#define GL_MESA_window_pos 1 -typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y); -typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y); -GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v); -GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y); -GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v); -GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y); -GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v); -GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y); -GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v); -GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v); -GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v); -GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z); -GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v); -GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z); -GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v); -GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v); -GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v); -GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w); -GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v); -GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w); -GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v); -#endif -#endif /* GL_MESA_window_pos */ - -#ifndef GL_MESA_ycbcr_texture -#define GL_MESA_ycbcr_texture 1 -#define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA -#define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB -#define GL_YCBCR_MESA 0x8757 -#endif /* GL_MESA_ycbcr_texture */ - -#ifndef GL_NVX_conditional_render -#define GL_NVX_conditional_render 1 -typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id); -typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVXPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBeginConditionalRenderNVX (GLuint id); -GLAPI void APIENTRY glEndConditionalRenderNVX (void); -#endif -#endif /* GL_NVX_conditional_render */ - -#ifndef GL_NVX_gpu_memory_info -#define GL_NVX_gpu_memory_info 1 -#define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047 -#define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048 -#define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049 -#define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A -#define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B -#endif /* GL_NVX_gpu_memory_info */ - -#ifndef GL_NV_bindless_multi_draw_indirect -#define GL_NV_bindless_multi_draw_indirect 1 -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); -GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); -#endif -#endif /* GL_NV_bindless_multi_draw_indirect */ - -#ifndef GL_NV_bindless_multi_draw_indirect_count -#define GL_NV_bindless_multi_draw_indirect_count 1 -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); -GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessCountNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); -#endif -#endif /* GL_NV_bindless_multi_draw_indirect_count */ - -#ifndef GL_NV_bindless_texture -#define GL_NV_bindless_texture 1 -typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture); -typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler); -typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); -typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle); -typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); -typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access); -typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle); -typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value); -typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); -typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); -typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture); -GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler); -GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle); -GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle); -GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); -GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access); -GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle); -GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value); -GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value); -GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value); -GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values); -GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle); -GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle); -#endif -#endif /* GL_NV_bindless_texture */ - -#ifndef GL_NV_blend_equation_advanced -#define GL_NV_blend_equation_advanced 1 -#define GL_BLEND_OVERLAP_NV 0x9281 -#define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 -#define GL_BLUE_NV 0x1905 -#define GL_COLORBURN_NV 0x929A -#define GL_COLORDODGE_NV 0x9299 -#define GL_CONJOINT_NV 0x9284 -#define GL_CONTRAST_NV 0x92A1 -#define GL_DARKEN_NV 0x9297 -#define GL_DIFFERENCE_NV 0x929E -#define GL_DISJOINT_NV 0x9283 -#define GL_DST_ATOP_NV 0x928F -#define GL_DST_IN_NV 0x928B -#define GL_DST_NV 0x9287 -#define GL_DST_OUT_NV 0x928D -#define GL_DST_OVER_NV 0x9289 -#define GL_EXCLUSION_NV 0x92A0 -#define GL_GREEN_NV 0x1904 -#define GL_HARDLIGHT_NV 0x929B -#define GL_HARDMIX_NV 0x92A9 -#define GL_HSL_COLOR_NV 0x92AF -#define GL_HSL_HUE_NV 0x92AD -#define GL_HSL_LUMINOSITY_NV 0x92B0 -#define GL_HSL_SATURATION_NV 0x92AE -#define GL_INVERT_OVG_NV 0x92B4 -#define GL_INVERT_RGB_NV 0x92A3 -#define GL_LIGHTEN_NV 0x9298 -#define GL_LINEARBURN_NV 0x92A5 -#define GL_LINEARDODGE_NV 0x92A4 -#define GL_LINEARLIGHT_NV 0x92A7 -#define GL_MINUS_CLAMPED_NV 0x92B3 -#define GL_MINUS_NV 0x929F -#define GL_MULTIPLY_NV 0x9294 -#define GL_OVERLAY_NV 0x9296 -#define GL_PINLIGHT_NV 0x92A8 -#define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 -#define GL_PLUS_CLAMPED_NV 0x92B1 -#define GL_PLUS_DARKER_NV 0x9292 -#define GL_PLUS_NV 0x9291 -#define GL_RED_NV 0x1903 -#define GL_SCREEN_NV 0x9295 -#define GL_SOFTLIGHT_NV 0x929C -#define GL_SRC_ATOP_NV 0x928E -#define GL_SRC_IN_NV 0x928A -#define GL_SRC_NV 0x9286 -#define GL_SRC_OUT_NV 0x928C -#define GL_SRC_OVER_NV 0x9288 -#define GL_UNCORRELATED_NV 0x9282 -#define GL_VIVIDLIGHT_NV 0x92A6 -#define GL_XOR_NV 0x1506 -typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value); -typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value); -GLAPI void APIENTRY glBlendBarrierNV (void); -#endif -#endif /* GL_NV_blend_equation_advanced */ - -#ifndef GL_NV_blend_equation_advanced_coherent -#define GL_NV_blend_equation_advanced_coherent 1 -#define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 -#endif /* GL_NV_blend_equation_advanced_coherent */ - -#ifndef GL_NV_blend_square -#define GL_NV_blend_square 1 -#endif /* GL_NV_blend_square */ - -#ifndef GL_NV_command_list -#define GL_NV_command_list 1 -#define GL_TERMINATE_SEQUENCE_COMMAND_NV 0x0000 -#define GL_NOP_COMMAND_NV 0x0001 -#define GL_DRAW_ELEMENTS_COMMAND_NV 0x0002 -#define GL_DRAW_ARRAYS_COMMAND_NV 0x0003 -#define GL_DRAW_ELEMENTS_STRIP_COMMAND_NV 0x0004 -#define GL_DRAW_ARRAYS_STRIP_COMMAND_NV 0x0005 -#define GL_DRAW_ELEMENTS_INSTANCED_COMMAND_NV 0x0006 -#define GL_DRAW_ARRAYS_INSTANCED_COMMAND_NV 0x0007 -#define GL_ELEMENT_ADDRESS_COMMAND_NV 0x0008 -#define GL_ATTRIBUTE_ADDRESS_COMMAND_NV 0x0009 -#define GL_UNIFORM_ADDRESS_COMMAND_NV 0x000A -#define GL_BLEND_COLOR_COMMAND_NV 0x000B -#define GL_STENCIL_REF_COMMAND_NV 0x000C -#define GL_LINE_WIDTH_COMMAND_NV 0x000D -#define GL_POLYGON_OFFSET_COMMAND_NV 0x000E -#define GL_ALPHA_REF_COMMAND_NV 0x000F -#define GL_VIEWPORT_COMMAND_NV 0x0010 -#define GL_SCISSOR_COMMAND_NV 0x0011 -#define GL_FRONT_FACE_COMMAND_NV 0x0012 -typedef void (APIENTRYP PFNGLCREATESTATESNVPROC) (GLsizei n, GLuint *states); -typedef void (APIENTRYP PFNGLDELETESTATESNVPROC) (GLsizei n, const GLuint *states); -typedef GLboolean (APIENTRYP PFNGLISSTATENVPROC) (GLuint state); -typedef void (APIENTRYP PFNGLSTATECAPTURENVPROC) (GLuint state, GLenum mode); -typedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size); -typedef GLushort (APIENTRYP PFNGLGETSTAGEINDEXNVPROC) (GLenum shadertype); -typedef void (APIENTRYP PFNGLDRAWCOMMANDSNVPROC) (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count); -typedef void (APIENTRYP PFNGLDRAWCOMMANDSADDRESSNVPROC) (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count); -typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESNVPROC) (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); -typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC) (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); -typedef void (APIENTRYP PFNGLCREATECOMMANDLISTSNVPROC) (GLsizei n, GLuint *lists); -typedef void (APIENTRYP PFNGLDELETECOMMANDLISTSNVPROC) (GLsizei n, const GLuint *lists); -typedef GLboolean (APIENTRYP PFNGLISCOMMANDLISTNVPROC) (GLuint list); -typedef void (APIENTRYP PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC) (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); -typedef void (APIENTRYP PFNGLCOMMANDLISTSEGMENTSNVPROC) (GLuint list, GLuint segments); -typedef void (APIENTRYP PFNGLCOMPILECOMMANDLISTNVPROC) (GLuint list); -typedef void (APIENTRYP PFNGLCALLCOMMANDLISTNVPROC) (GLuint list); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCreateStatesNV (GLsizei n, GLuint *states); -GLAPI void APIENTRY glDeleteStatesNV (GLsizei n, const GLuint *states); -GLAPI GLboolean APIENTRY glIsStateNV (GLuint state); -GLAPI void APIENTRY glStateCaptureNV (GLuint state, GLenum mode); -GLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size); -GLAPI GLushort APIENTRY glGetStageIndexNV (GLenum shadertype); -GLAPI void APIENTRY glDrawCommandsNV (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count); -GLAPI void APIENTRY glDrawCommandsAddressNV (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count); -GLAPI void APIENTRY glDrawCommandsStatesNV (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); -GLAPI void APIENTRY glDrawCommandsStatesAddressNV (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); -GLAPI void APIENTRY glCreateCommandListsNV (GLsizei n, GLuint *lists); -GLAPI void APIENTRY glDeleteCommandListsNV (GLsizei n, const GLuint *lists); -GLAPI GLboolean APIENTRY glIsCommandListNV (GLuint list); -GLAPI void APIENTRY glListDrawCommandsStatesClientNV (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count); -GLAPI void APIENTRY glCommandListSegmentsNV (GLuint list, GLuint segments); -GLAPI void APIENTRY glCompileCommandListNV (GLuint list); -GLAPI void APIENTRY glCallCommandListNV (GLuint list); -#endif -#endif /* GL_NV_command_list */ - -#ifndef GL_NV_compute_program5 -#define GL_NV_compute_program5 1 -#define GL_COMPUTE_PROGRAM_NV 0x90FB -#define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC -#endif /* GL_NV_compute_program5 */ - -#ifndef GL_NV_conditional_render -#define GL_NV_conditional_render 1 -#define GL_QUERY_WAIT_NV 0x8E13 -#define GL_QUERY_NO_WAIT_NV 0x8E14 -#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15 -#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 -typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode); -typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode); -GLAPI void APIENTRY glEndConditionalRenderNV (void); -#endif -#endif /* GL_NV_conditional_render */ - -#ifndef GL_NV_conservative_raster -#define GL_NV_conservative_raster 1 -#define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346 -#define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347 -#define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348 -#define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349 -typedef void (APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits); -#endif -#endif /* GL_NV_conservative_raster */ - -#ifndef GL_NV_conservative_raster_dilate -#define GL_NV_conservative_raster_dilate 1 -#define GL_CONSERVATIVE_RASTER_DILATE_NV 0x9379 -#define GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV 0x937A -#define GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV 0x937B -typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERFNVPROC) (GLenum pname, GLfloat value); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glConservativeRasterParameterfNV (GLenum pname, GLfloat value); -#endif -#endif /* GL_NV_conservative_raster_dilate */ - -#ifndef GL_NV_copy_depth_to_color -#define GL_NV_copy_depth_to_color 1 -#define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E -#define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F -#endif /* GL_NV_copy_depth_to_color */ - -#ifndef GL_NV_copy_image -#define GL_NV_copy_image 1 -typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATANVPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); -#endif -#endif /* GL_NV_copy_image */ - -#ifndef GL_NV_deep_texture3D -#define GL_NV_deep_texture3D 1 -#define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0 -#define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV 0x90D1 -#endif /* GL_NV_deep_texture3D */ - -#ifndef GL_NV_depth_buffer_float -#define GL_NV_depth_buffer_float 1 -#define GL_DEPTH_COMPONENT32F_NV 0x8DAB -#define GL_DEPTH32F_STENCIL8_NV 0x8DAC -#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD -#define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF -typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar); -typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth); -typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar); -GLAPI void APIENTRY glClearDepthdNV (GLdouble depth); -GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax); -#endif -#endif /* GL_NV_depth_buffer_float */ - -#ifndef GL_NV_depth_clamp -#define GL_NV_depth_clamp 1 -#define GL_DEPTH_CLAMP_NV 0x864F -#endif /* GL_NV_depth_clamp */ - -#ifndef GL_NV_draw_texture -#define GL_NV_draw_texture 1 -typedef void (APIENTRYP PFNGLDRAWTEXTURENVPROC) (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawTextureNV (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); -#endif -#endif /* GL_NV_draw_texture */ - -#ifndef GL_NV_evaluators -#define GL_NV_evaluators 1 -#define GL_EVAL_2D_NV 0x86C0 -#define GL_EVAL_TRIANGULAR_2D_NV 0x86C1 -#define GL_MAP_TESSELLATION_NV 0x86C2 -#define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3 -#define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4 -#define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5 -#define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6 -#define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7 -#define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8 -#define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9 -#define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA -#define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB -#define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC -#define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD -#define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE -#define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF -#define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0 -#define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1 -#define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2 -#define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3 -#define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4 -#define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5 -#define GL_MAX_MAP_TESSELLATION_NV 0x86D6 -#define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7 -typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points); -typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points); -typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points); -GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points); -GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode); -#endif -#endif /* GL_NV_evaluators */ - -#ifndef GL_NV_explicit_multisample -#define GL_NV_explicit_multisample 1 -#define GL_SAMPLE_POSITION_NV 0x8E50 -#define GL_SAMPLE_MASK_NV 0x8E51 -#define GL_SAMPLE_MASK_VALUE_NV 0x8E52 -#define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53 -#define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54 -#define GL_TEXTURE_RENDERBUFFER_NV 0x8E55 -#define GL_SAMPLER_RENDERBUFFER_NV 0x8E56 -#define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57 -#define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58 -#define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59 -typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val); -typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask); -typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val); -GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask); -GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer); -#endif -#endif /* GL_NV_explicit_multisample */ - -#ifndef GL_NV_fence -#define GL_NV_fence 1 -#define GL_ALL_COMPLETED_NV 0x84F2 -#define GL_FENCE_STATUS_NV 0x84F3 -#define GL_FENCE_CONDITION_NV 0x84F4 -typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); -typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); -typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); -typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); -typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); -typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); -GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); -GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence); -GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence); -GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); -GLAPI void APIENTRY glFinishFenceNV (GLuint fence); -GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition); -#endif -#endif /* GL_NV_fence */ - -#ifndef GL_NV_fill_rectangle -#define GL_NV_fill_rectangle 1 -#define GL_FILL_RECTANGLE_NV 0x933C -#endif /* GL_NV_fill_rectangle */ - -#ifndef GL_NV_float_buffer -#define GL_NV_float_buffer 1 -#define GL_FLOAT_R_NV 0x8880 -#define GL_FLOAT_RG_NV 0x8881 -#define GL_FLOAT_RGB_NV 0x8882 -#define GL_FLOAT_RGBA_NV 0x8883 -#define GL_FLOAT_R16_NV 0x8884 -#define GL_FLOAT_R32_NV 0x8885 -#define GL_FLOAT_RG16_NV 0x8886 -#define GL_FLOAT_RG32_NV 0x8887 -#define GL_FLOAT_RGB16_NV 0x8888 -#define GL_FLOAT_RGB32_NV 0x8889 -#define GL_FLOAT_RGBA16_NV 0x888A -#define GL_FLOAT_RGBA32_NV 0x888B -#define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C -#define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D -#define GL_FLOAT_RGBA_MODE_NV 0x888E -#endif /* GL_NV_float_buffer */ - -#ifndef GL_NV_fog_distance -#define GL_NV_fog_distance 1 -#define GL_FOG_DISTANCE_MODE_NV 0x855A -#define GL_EYE_RADIAL_NV 0x855B -#define GL_EYE_PLANE_ABSOLUTE_NV 0x855C -#endif /* GL_NV_fog_distance */ - -#ifndef GL_NV_fragment_coverage_to_color -#define GL_NV_fragment_coverage_to_color 1 -#define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD -#define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE -typedef void (APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFragmentCoverageColorNV (GLuint color); -#endif -#endif /* GL_NV_fragment_coverage_to_color */ - -#ifndef GL_NV_fragment_program -#define GL_NV_fragment_program 1 -#define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868 -#define GL_FRAGMENT_PROGRAM_NV 0x8870 -#define GL_MAX_TEXTURE_COORDS_NV 0x8871 -#define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872 -#define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873 -#define GL_PROGRAM_ERROR_STRING_NV 0x8874 -typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v); -typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v); -typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params); -typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v); -GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v); -GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params); -GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); -#endif -#endif /* GL_NV_fragment_program */ - -#ifndef GL_NV_fragment_program2 -#define GL_NV_fragment_program2 1 -#define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 -#define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 -#define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6 -#define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7 -#define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8 -#endif /* GL_NV_fragment_program2 */ - -#ifndef GL_NV_fragment_program4 -#define GL_NV_fragment_program4 1 -#endif /* GL_NV_fragment_program4 */ - -#ifndef GL_NV_fragment_program_option -#define GL_NV_fragment_program_option 1 -#endif /* GL_NV_fragment_program_option */ - -#ifndef GL_NV_fragment_shader_interlock -#define GL_NV_fragment_shader_interlock 1 -#endif /* GL_NV_fragment_shader_interlock */ - -#ifndef GL_NV_framebuffer_mixed_samples -#define GL_NV_framebuffer_mixed_samples 1 -#define GL_COVERAGE_MODULATION_TABLE_NV 0x9331 -#define GL_COLOR_SAMPLES_NV 0x8E20 -#define GL_DEPTH_SAMPLES_NV 0x932D -#define GL_STENCIL_SAMPLES_NV 0x932E -#define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F -#define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330 -#define GL_COVERAGE_MODULATION_NV 0x9332 -#define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333 -typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v); -typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v); -typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v); -GLAPI void APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v); -GLAPI void APIENTRY glCoverageModulationNV (GLenum components); -#endif -#endif /* GL_NV_framebuffer_mixed_samples */ - -#ifndef GL_NV_framebuffer_multisample_coverage -#define GL_NV_framebuffer_multisample_coverage 1 -#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB -#define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10 -#define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11 -#define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12 -typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); -#endif -#endif /* GL_NV_framebuffer_multisample_coverage */ - -#ifndef GL_NV_geometry_program4 -#define GL_NV_geometry_program4 1 -#define GL_GEOMETRY_PROGRAM_NV 0x8C26 -#define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27 -#define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28 -typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit); -GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level); -GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); -#endif -#endif /* GL_NV_geometry_program4 */ - -#ifndef GL_NV_geometry_shader4 -#define GL_NV_geometry_shader4 1 -#endif /* GL_NV_geometry_shader4 */ - -#ifndef GL_NV_geometry_shader_passthrough -#define GL_NV_geometry_shader_passthrough 1 -#endif /* GL_NV_geometry_shader_passthrough */ - -#ifndef GL_NV_gpu_program4 -#define GL_NV_gpu_program4 1 -#define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904 -#define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905 -#define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906 -#define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907 -#define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908 -#define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909 -#define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5 -#define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6 -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); -GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params); -GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params); -GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params); -GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params); -GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); -GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params); -GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params); -GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params); -GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params); -GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params); -GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params); -GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params); -GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params); -#endif -#endif /* GL_NV_gpu_program4 */ - -#ifndef GL_NV_gpu_program5 -#define GL_NV_gpu_program5 1 -#define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A -#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B -#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C -#define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D -#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E -#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F -#define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44 -#define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45 -typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params); -GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param); -#endif -#endif /* GL_NV_gpu_program5 */ - -#ifndef GL_NV_gpu_program5_mem_extended -#define GL_NV_gpu_program5_mem_extended 1 -#endif /* GL_NV_gpu_program5_mem_extended */ - -#ifndef GL_NV_gpu_shader5 -#define GL_NV_gpu_shader5 1 -#endif /* GL_NV_gpu_shader5 */ - -#ifndef GL_NV_half_float -#define GL_NV_half_float 1 -typedef unsigned short GLhalfNV; -#define GL_HALF_FLOAT_NV 0x140B -typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y); -typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z); -typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); -typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz); -typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); -typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha); -typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s); -typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t); -typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r); -typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); -typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog); -typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight); -typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y); -GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v); -GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z); -GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v); -GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); -GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v); -GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz); -GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v); -GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue); -GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v); -GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha); -GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v); -GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s); -GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v); -GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t); -GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v); -GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r); -GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v); -GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); -GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v); -GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s); -GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v); -GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t); -GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v); -GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r); -GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v); -GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); -GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v); -GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog); -GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog); -GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue); -GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v); -GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight); -GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight); -GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x); -GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v); -GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y); -GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v); -GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z); -GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v); -GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); -GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v); -GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v); -GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v); -GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v); -GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v); -#endif -#endif /* GL_NV_half_float */ - -#ifndef GL_NV_internalformat_sample_query -#define GL_NV_internalformat_sample_query 1 -#define GL_MULTISAMPLES_NV 0x9371 -#define GL_SUPERSAMPLE_SCALE_X_NV 0x9372 -#define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373 -#define GL_CONFORMANT_NV 0x9374 -typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); -#endif -#endif /* GL_NV_internalformat_sample_query */ - -#ifndef GL_NV_light_max_exponent -#define GL_NV_light_max_exponent 1 -#define GL_MAX_SHININESS_NV 0x8504 -#define GL_MAX_SPOT_EXPONENT_NV 0x8505 -#endif /* GL_NV_light_max_exponent */ - -#ifndef GL_NV_multisample_coverage -#define GL_NV_multisample_coverage 1 -#endif /* GL_NV_multisample_coverage */ - -#ifndef GL_NV_multisample_filter_hint -#define GL_NV_multisample_filter_hint 1 -#define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534 -#endif /* GL_NV_multisample_filter_hint */ - -#ifndef GL_NV_occlusion_query -#define GL_NV_occlusion_query 1 -#define GL_PIXEL_COUNTER_BITS_NV 0x8864 -#define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865 -#define GL_PIXEL_COUNT_NV 0x8866 -#define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867 -typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids); -typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids); -typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id); -typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id); -typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void); -typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids); -GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids); -GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id); -GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id); -GLAPI void APIENTRY glEndOcclusionQueryNV (void); -GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params); -#endif -#endif /* GL_NV_occlusion_query */ - -#ifndef GL_NV_packed_depth_stencil -#define GL_NV_packed_depth_stencil 1 -#define GL_DEPTH_STENCIL_NV 0x84F9 -#define GL_UNSIGNED_INT_24_8_NV 0x84FA -#endif /* GL_NV_packed_depth_stencil */ - -#ifndef GL_NV_parameter_buffer_object -#define GL_NV_parameter_buffer_object 1 -#define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0 -#define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1 -#define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2 -#define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3 -#define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4 -typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params); -typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params); -typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params); -GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params); -GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params); -#endif -#endif /* GL_NV_parameter_buffer_object */ - -#ifndef GL_NV_parameter_buffer_object2 -#define GL_NV_parameter_buffer_object2 1 -#endif /* GL_NV_parameter_buffer_object2 */ - -#ifndef GL_NV_path_rendering -#define GL_NV_path_rendering 1 -#define GL_PATH_FORMAT_SVG_NV 0x9070 -#define GL_PATH_FORMAT_PS_NV 0x9071 -#define GL_STANDARD_FONT_NAME_NV 0x9072 -#define GL_SYSTEM_FONT_NAME_NV 0x9073 -#define GL_FILE_NAME_NV 0x9074 -#define GL_PATH_STROKE_WIDTH_NV 0x9075 -#define GL_PATH_END_CAPS_NV 0x9076 -#define GL_PATH_INITIAL_END_CAP_NV 0x9077 -#define GL_PATH_TERMINAL_END_CAP_NV 0x9078 -#define GL_PATH_JOIN_STYLE_NV 0x9079 -#define GL_PATH_MITER_LIMIT_NV 0x907A -#define GL_PATH_DASH_CAPS_NV 0x907B -#define GL_PATH_INITIAL_DASH_CAP_NV 0x907C -#define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D -#define GL_PATH_DASH_OFFSET_NV 0x907E -#define GL_PATH_CLIENT_LENGTH_NV 0x907F -#define GL_PATH_FILL_MODE_NV 0x9080 -#define GL_PATH_FILL_MASK_NV 0x9081 -#define GL_PATH_FILL_COVER_MODE_NV 0x9082 -#define GL_PATH_STROKE_COVER_MODE_NV 0x9083 -#define GL_PATH_STROKE_MASK_NV 0x9084 -#define GL_COUNT_UP_NV 0x9088 -#define GL_COUNT_DOWN_NV 0x9089 -#define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A -#define GL_CONVEX_HULL_NV 0x908B -#define GL_BOUNDING_BOX_NV 0x908D -#define GL_TRANSLATE_X_NV 0x908E -#define GL_TRANSLATE_Y_NV 0x908F -#define GL_TRANSLATE_2D_NV 0x9090 -#define GL_TRANSLATE_3D_NV 0x9091 -#define GL_AFFINE_2D_NV 0x9092 -#define GL_AFFINE_3D_NV 0x9094 -#define GL_TRANSPOSE_AFFINE_2D_NV 0x9096 -#define GL_TRANSPOSE_AFFINE_3D_NV 0x9098 -#define GL_UTF8_NV 0x909A -#define GL_UTF16_NV 0x909B -#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C -#define GL_PATH_COMMAND_COUNT_NV 0x909D -#define GL_PATH_COORD_COUNT_NV 0x909E -#define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F -#define GL_PATH_COMPUTED_LENGTH_NV 0x90A0 -#define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1 -#define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2 -#define GL_SQUARE_NV 0x90A3 -#define GL_ROUND_NV 0x90A4 -#define GL_TRIANGULAR_NV 0x90A5 -#define GL_BEVEL_NV 0x90A6 -#define GL_MITER_REVERT_NV 0x90A7 -#define GL_MITER_TRUNCATE_NV 0x90A8 -#define GL_SKIP_MISSING_GLYPH_NV 0x90A9 -#define GL_USE_MISSING_GLYPH_NV 0x90AA -#define GL_PATH_ERROR_POSITION_NV 0x90AB -#define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD -#define GL_ADJACENT_PAIRS_NV 0x90AE -#define GL_FIRST_TO_REST_NV 0x90AF -#define GL_PATH_GEN_MODE_NV 0x90B0 -#define GL_PATH_GEN_COEFF_NV 0x90B1 -#define GL_PATH_GEN_COMPONENTS_NV 0x90B3 -#define GL_PATH_STENCIL_FUNC_NV 0x90B7 -#define GL_PATH_STENCIL_REF_NV 0x90B8 -#define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9 -#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD -#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE -#define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF -#define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4 -#define GL_MOVE_TO_RESETS_NV 0x90B5 -#define GL_MOVE_TO_CONTINUES_NV 0x90B6 -#define GL_CLOSE_PATH_NV 0x00 -#define GL_MOVE_TO_NV 0x02 -#define GL_RELATIVE_MOVE_TO_NV 0x03 -#define GL_LINE_TO_NV 0x04 -#define GL_RELATIVE_LINE_TO_NV 0x05 -#define GL_HORIZONTAL_LINE_TO_NV 0x06 -#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07 -#define GL_VERTICAL_LINE_TO_NV 0x08 -#define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09 -#define GL_QUADRATIC_CURVE_TO_NV 0x0A -#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B -#define GL_CUBIC_CURVE_TO_NV 0x0C -#define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D -#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E -#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F -#define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10 -#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11 -#define GL_SMALL_CCW_ARC_TO_NV 0x12 -#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13 -#define GL_SMALL_CW_ARC_TO_NV 0x14 -#define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15 -#define GL_LARGE_CCW_ARC_TO_NV 0x16 -#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17 -#define GL_LARGE_CW_ARC_TO_NV 0x18 -#define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19 -#define GL_RESTART_PATH_NV 0xF0 -#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2 -#define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4 -#define GL_RECT_NV 0xF6 -#define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8 -#define GL_CIRCULAR_CW_ARC_TO_NV 0xFA -#define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC -#define GL_ARC_TO_NV 0xFE -#define GL_RELATIVE_ARC_TO_NV 0xFF -#define GL_BOLD_BIT_NV 0x01 -#define GL_ITALIC_BIT_NV 0x02 -#define GL_GLYPH_WIDTH_BIT_NV 0x01 -#define GL_GLYPH_HEIGHT_BIT_NV 0x02 -#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04 -#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08 -#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10 -#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20 -#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40 -#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80 -#define GL_GLYPH_HAS_KERNING_BIT_NV 0x100 -#define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000 -#define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000 -#define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000 -#define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000 -#define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000 -#define GL_FONT_ASCENDER_BIT_NV 0x00200000 -#define GL_FONT_DESCENDER_BIT_NV 0x00400000 -#define GL_FONT_HEIGHT_BIT_NV 0x00800000 -#define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000 -#define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000 -#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000 -#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000 -#define GL_FONT_HAS_KERNING_BIT_NV 0x10000000 -#define GL_ROUNDED_RECT_NV 0xE8 -#define GL_RELATIVE_ROUNDED_RECT_NV 0xE9 -#define GL_ROUNDED_RECT2_NV 0xEA -#define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB -#define GL_ROUNDED_RECT4_NV 0xEC -#define GL_RELATIVE_ROUNDED_RECT4_NV 0xED -#define GL_ROUNDED_RECT8_NV 0xEE -#define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF -#define GL_RELATIVE_RECT_NV 0xF7 -#define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368 -#define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369 -#define GL_FONT_UNAVAILABLE_NV 0x936A -#define GL_FONT_UNINTELLIGIBLE_NV 0x936B -#define GL_CONIC_CURVE_TO_NV 0x1A -#define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B -#define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000 -#define GL_STANDARD_FONT_FORMAT_NV 0x936C -#define GL_2_BYTES_NV 0x1407 -#define GL_3_BYTES_NV 0x1408 -#define GL_4_BYTES_NV 0x1409 -#define GL_EYE_LINEAR_NV 0x2400 -#define GL_OBJECT_LINEAR_NV 0x2401 -#define GL_CONSTANT_NV 0x8576 -#define GL_PATH_FOG_GEN_MODE_NV 0x90AC -#define GL_PRIMARY_COLOR_NV 0x852C -#define GL_SECONDARY_COLOR_NV 0x852D -#define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2 -#define GL_PATH_PROJECTION_NV 0x1701 -#define GL_PATH_MODELVIEW_NV 0x1700 -#define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3 -#define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6 -#define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36 -#define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3 -#define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4 -#define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7 -#define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38 -#define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4 -#define GL_FRAGMENT_INPUT_NV 0x936D -typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range); -typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range); -typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path); -typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); -typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); -typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); -typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); -typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString); -typedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); -typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath); -typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); -typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); -typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value); -typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value); -typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value); -typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value); -typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray); -typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask); -typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units); -typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask); -typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask); -typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); -typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); -typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func); -typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode); -typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode); -typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value); -typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value); -typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands); -typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords); -typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray); -typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); -typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); -typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); -typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y); -typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y); -typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments); -typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); -typedef void (APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); -typedef void (APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); -typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); -typedef void (APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); -typedef void (APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); -typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); -typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); -typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode); -typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); -typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); -typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); -typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs); -typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs); -typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode); -typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value); -typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value); -typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value); -typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range); -GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range); -GLAPI GLboolean APIENTRY glIsPathNV (GLuint path); -GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); -GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); -GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); -GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); -GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString); -GLAPI void APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); -GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath); -GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); -GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); -GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value); -GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value); -GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value); -GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value); -GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray); -GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask); -GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units); -GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask); -GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask); -GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); -GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); -GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func); -GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode); -GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode); -GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value); -GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value); -GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands); -GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords); -GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray); -GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); -GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); -GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); -GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y); -GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y); -GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments); -GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); -GLAPI void APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m); -GLAPI void APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m); -GLAPI void APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); -GLAPI void APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m); -GLAPI void APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m); -GLAPI void APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); -GLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); -GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode); -GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); -GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); -GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); -GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs); -GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs); -GLAPI void APIENTRY glPathFogGenNV (GLenum genMode); -GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value); -GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value); -GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value); -GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value); -#endif -#endif /* GL_NV_path_rendering */ - -#ifndef GL_NV_path_rendering_shared_edge -#define GL_NV_path_rendering_shared_edge 1 -#define GL_SHARED_EDGE_NV 0xC0 -#endif /* GL_NV_path_rendering_shared_edge */ - -#ifndef GL_NV_pixel_data_range -#define GL_NV_pixel_data_range 1 -#define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878 -#define GL_READ_PIXEL_DATA_RANGE_NV 0x8879 -#define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A -#define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B -#define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C -#define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D -typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, const void *pointer); -typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, const void *pointer); -GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target); -#endif -#endif /* GL_NV_pixel_data_range */ - -#ifndef GL_NV_point_sprite -#define GL_NV_point_sprite 1 -#define GL_POINT_SPRITE_NV 0x8861 -#define GL_COORD_REPLACE_NV 0x8862 -#define GL_POINT_SPRITE_R_MODE_NV 0x8863 -typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param); -GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params); -#endif -#endif /* GL_NV_point_sprite */ - -#ifndef GL_NV_present_video -#define GL_NV_present_video 1 -#define GL_FRAME_NV 0x8E26 -#define GL_FIELDS_NV 0x8E27 -#define GL_CURRENT_TIME_NV 0x8E28 -#define GL_NUM_FILL_STREAMS_NV 0x8E29 -#define GL_PRESENT_TIME_NV 0x8E2A -#define GL_PRESENT_DURATION_NV 0x8E2B -typedef void (APIENTRYP PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1); -typedef void (APIENTRYP PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3); -typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params); -typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPresentFrameKeyedNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1); -GLAPI void APIENTRY glPresentFrameDualFillNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3); -GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params); -GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params); -GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params); -#endif -#endif /* GL_NV_present_video */ - -#ifndef GL_NV_primitive_restart -#define GL_NV_primitive_restart 1 -#define GL_PRIMITIVE_RESTART_NV 0x8558 -#define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559 -typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void); -typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPrimitiveRestartNV (void); -GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index); -#endif -#endif /* GL_NV_primitive_restart */ - -#ifndef GL_NV_register_combiners -#define GL_NV_register_combiners 1 -#define GL_REGISTER_COMBINERS_NV 0x8522 -#define GL_VARIABLE_A_NV 0x8523 -#define GL_VARIABLE_B_NV 0x8524 -#define GL_VARIABLE_C_NV 0x8525 -#define GL_VARIABLE_D_NV 0x8526 -#define GL_VARIABLE_E_NV 0x8527 -#define GL_VARIABLE_F_NV 0x8528 -#define GL_VARIABLE_G_NV 0x8529 -#define GL_CONSTANT_COLOR0_NV 0x852A -#define GL_CONSTANT_COLOR1_NV 0x852B -#define GL_SPARE0_NV 0x852E -#define GL_SPARE1_NV 0x852F -#define GL_DISCARD_NV 0x8530 -#define GL_E_TIMES_F_NV 0x8531 -#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532 -#define GL_UNSIGNED_IDENTITY_NV 0x8536 -#define GL_UNSIGNED_INVERT_NV 0x8537 -#define GL_EXPAND_NORMAL_NV 0x8538 -#define GL_EXPAND_NEGATE_NV 0x8539 -#define GL_HALF_BIAS_NORMAL_NV 0x853A -#define GL_HALF_BIAS_NEGATE_NV 0x853B -#define GL_SIGNED_IDENTITY_NV 0x853C -#define GL_SIGNED_NEGATE_NV 0x853D -#define GL_SCALE_BY_TWO_NV 0x853E -#define GL_SCALE_BY_FOUR_NV 0x853F -#define GL_SCALE_BY_ONE_HALF_NV 0x8540 -#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541 -#define GL_COMBINER_INPUT_NV 0x8542 -#define GL_COMBINER_MAPPING_NV 0x8543 -#define GL_COMBINER_COMPONENT_USAGE_NV 0x8544 -#define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545 -#define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546 -#define GL_COMBINER_MUX_SUM_NV 0x8547 -#define GL_COMBINER_SCALE_NV 0x8548 -#define GL_COMBINER_BIAS_NV 0x8549 -#define GL_COMBINER_AB_OUTPUT_NV 0x854A -#define GL_COMBINER_CD_OUTPUT_NV 0x854B -#define GL_COMBINER_SUM_OUTPUT_NV 0x854C -#define GL_MAX_GENERAL_COMBINERS_NV 0x854D -#define GL_NUM_GENERAL_COMBINERS_NV 0x854E -#define GL_COLOR_SUM_CLAMP_NV 0x854F -#define GL_COMBINER0_NV 0x8550 -#define GL_COMBINER1_NV 0x8551 -#define GL_COMBINER2_NV 0x8552 -#define GL_COMBINER3_NV 0x8553 -#define GL_COMBINER4_NV 0x8554 -#define GL_COMBINER5_NV 0x8555 -#define GL_COMBINER6_NV 0x8556 -#define GL_COMBINER7_NV 0x8557 -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); -typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); -typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); -typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param); -GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params); -GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param); -GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); -GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); -GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); -GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params); -#endif -#endif /* GL_NV_register_combiners */ - -#ifndef GL_NV_register_combiners2 -#define GL_NV_register_combiners2 1 -#define GL_PER_STAGE_CONSTANTS_NV 0x8535 -typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params); -#endif -#endif /* GL_NV_register_combiners2 */ - -#ifndef GL_NV_sample_locations -#define GL_NV_sample_locations 1 -#define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D -#define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E -#define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F -#define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340 -#define GL_SAMPLE_LOCATION_NV 0x8E50 -#define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341 -#define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342 -#define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343 -typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v); -GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); -GLAPI void APIENTRY glResolveDepthValuesNV (void); -#endif -#endif /* GL_NV_sample_locations */ - -#ifndef GL_NV_sample_mask_override_coverage -#define GL_NV_sample_mask_override_coverage 1 -#endif /* GL_NV_sample_mask_override_coverage */ - -#ifndef GL_NV_shader_atomic_counters -#define GL_NV_shader_atomic_counters 1 -#endif /* GL_NV_shader_atomic_counters */ - -#ifndef GL_NV_shader_atomic_float -#define GL_NV_shader_atomic_float 1 -#endif /* GL_NV_shader_atomic_float */ - -#ifndef GL_NV_shader_atomic_fp16_vector -#define GL_NV_shader_atomic_fp16_vector 1 -#endif /* GL_NV_shader_atomic_fp16_vector */ - -#ifndef GL_NV_shader_atomic_int64 -#define GL_NV_shader_atomic_int64 1 -#endif /* GL_NV_shader_atomic_int64 */ - -#ifndef GL_NV_shader_buffer_load -#define GL_NV_shader_buffer_load 1 -#define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D -#define GL_GPU_ADDRESS_NV 0x8F34 -#define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35 -typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access); -typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target); -typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target); -typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access); -typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer); -typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params); -typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params); -typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result); -typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value); -typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value); -typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access); -GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target); -GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target); -GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access); -GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer); -GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer); -GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params); -GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params); -GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result); -GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value); -GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); -GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value); -GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); -#endif -#endif /* GL_NV_shader_buffer_load */ - -#ifndef GL_NV_shader_buffer_store -#define GL_NV_shader_buffer_store 1 -#define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010 -#endif /* GL_NV_shader_buffer_store */ - -#ifndef GL_NV_shader_storage_buffer_object -#define GL_NV_shader_storage_buffer_object 1 -#endif /* GL_NV_shader_storage_buffer_object */ - -#ifndef GL_NV_shader_thread_group -#define GL_NV_shader_thread_group 1 -#define GL_WARP_SIZE_NV 0x9339 -#define GL_WARPS_PER_SM_NV 0x933A -#define GL_SM_COUNT_NV 0x933B -#endif /* GL_NV_shader_thread_group */ - -#ifndef GL_NV_shader_thread_shuffle -#define GL_NV_shader_thread_shuffle 1 -#endif /* GL_NV_shader_thread_shuffle */ - -#ifndef GL_NV_tessellation_program5 -#define GL_NV_tessellation_program5 1 -#define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8 -#define GL_TESS_CONTROL_PROGRAM_NV 0x891E -#define GL_TESS_EVALUATION_PROGRAM_NV 0x891F -#define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74 -#define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75 -#endif /* GL_NV_tessellation_program5 */ - -#ifndef GL_NV_texgen_emboss -#define GL_NV_texgen_emboss 1 -#define GL_EMBOSS_LIGHT_NV 0x855D -#define GL_EMBOSS_CONSTANT_NV 0x855E -#define GL_EMBOSS_MAP_NV 0x855F -#endif /* GL_NV_texgen_emboss */ - -#ifndef GL_NV_texgen_reflection -#define GL_NV_texgen_reflection 1 -#define GL_NORMAL_MAP_NV 0x8511 -#define GL_REFLECTION_MAP_NV 0x8512 -#endif /* GL_NV_texgen_reflection */ - -#ifndef GL_NV_texture_barrier -#define GL_NV_texture_barrier 1 -typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTextureBarrierNV (void); -#endif -#endif /* GL_NV_texture_barrier */ - -#ifndef GL_NV_texture_compression_vtc -#define GL_NV_texture_compression_vtc 1 -#endif /* GL_NV_texture_compression_vtc */ - -#ifndef GL_NV_texture_env_combine4 -#define GL_NV_texture_env_combine4 1 -#define GL_COMBINE4_NV 0x8503 -#define GL_SOURCE3_RGB_NV 0x8583 -#define GL_SOURCE3_ALPHA_NV 0x858B -#define GL_OPERAND3_RGB_NV 0x8593 -#define GL_OPERAND3_ALPHA_NV 0x859B -#endif /* GL_NV_texture_env_combine4 */ - -#ifndef GL_NV_texture_expand_normal -#define GL_NV_texture_expand_normal 1 -#define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F -#endif /* GL_NV_texture_expand_normal */ - -#ifndef GL_NV_texture_multisample -#define GL_NV_texture_multisample 1 -#define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045 -#define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046 -typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); -typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); -typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); -typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); -typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); -typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); -GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); -GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); -GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); -GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); -GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); -#endif -#endif /* GL_NV_texture_multisample */ - -#ifndef GL_NV_texture_rectangle -#define GL_NV_texture_rectangle 1 -#define GL_TEXTURE_RECTANGLE_NV 0x84F5 -#define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6 -#define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8 -#endif /* GL_NV_texture_rectangle */ - -#ifndef GL_NV_texture_shader -#define GL_NV_texture_shader 1 -#define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C -#define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D -#define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E -#define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9 -#define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA -#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB -#define GL_DSDT_MAG_INTENSITY_NV 0x86DC -#define GL_SHADER_CONSISTENT_NV 0x86DD -#define GL_TEXTURE_SHADER_NV 0x86DE -#define GL_SHADER_OPERATION_NV 0x86DF -#define GL_CULL_MODES_NV 0x86E0 -#define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1 -#define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2 -#define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3 -#define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1 -#define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2 -#define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3 -#define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4 -#define GL_CONST_EYE_NV 0x86E5 -#define GL_PASS_THROUGH_NV 0x86E6 -#define GL_CULL_FRAGMENT_NV 0x86E7 -#define GL_OFFSET_TEXTURE_2D_NV 0x86E8 -#define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9 -#define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA -#define GL_DOT_PRODUCT_NV 0x86EC -#define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED -#define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE -#define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0 -#define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1 -#define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2 -#define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3 -#define GL_HILO_NV 0x86F4 -#define GL_DSDT_NV 0x86F5 -#define GL_DSDT_MAG_NV 0x86F6 -#define GL_DSDT_MAG_VIB_NV 0x86F7 -#define GL_HILO16_NV 0x86F8 -#define GL_SIGNED_HILO_NV 0x86F9 -#define GL_SIGNED_HILO16_NV 0x86FA -#define GL_SIGNED_RGBA_NV 0x86FB -#define GL_SIGNED_RGBA8_NV 0x86FC -#define GL_SIGNED_RGB_NV 0x86FE -#define GL_SIGNED_RGB8_NV 0x86FF -#define GL_SIGNED_LUMINANCE_NV 0x8701 -#define GL_SIGNED_LUMINANCE8_NV 0x8702 -#define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 -#define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 -#define GL_SIGNED_ALPHA_NV 0x8705 -#define GL_SIGNED_ALPHA8_NV 0x8706 -#define GL_SIGNED_INTENSITY_NV 0x8707 -#define GL_SIGNED_INTENSITY8_NV 0x8708 -#define GL_DSDT8_NV 0x8709 -#define GL_DSDT8_MAG8_NV 0x870A -#define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B -#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C -#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D -#define GL_HI_SCALE_NV 0x870E -#define GL_LO_SCALE_NV 0x870F -#define GL_DS_SCALE_NV 0x8710 -#define GL_DT_SCALE_NV 0x8711 -#define GL_MAGNITUDE_SCALE_NV 0x8712 -#define GL_VIBRANCE_SCALE_NV 0x8713 -#define GL_HI_BIAS_NV 0x8714 -#define GL_LO_BIAS_NV 0x8715 -#define GL_DS_BIAS_NV 0x8716 -#define GL_DT_BIAS_NV 0x8717 -#define GL_MAGNITUDE_BIAS_NV 0x8718 -#define GL_VIBRANCE_BIAS_NV 0x8719 -#define GL_TEXTURE_BORDER_VALUES_NV 0x871A -#define GL_TEXTURE_HI_SIZE_NV 0x871B -#define GL_TEXTURE_LO_SIZE_NV 0x871C -#define GL_TEXTURE_DS_SIZE_NV 0x871D -#define GL_TEXTURE_DT_SIZE_NV 0x871E -#define GL_TEXTURE_MAG_SIZE_NV 0x871F -#endif /* GL_NV_texture_shader */ - -#ifndef GL_NV_texture_shader2 -#define GL_NV_texture_shader2 1 -#define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF -#endif /* GL_NV_texture_shader2 */ - -#ifndef GL_NV_texture_shader3 -#define GL_NV_texture_shader3 1 -#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850 -#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851 -#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852 -#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853 -#define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854 -#define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855 -#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856 -#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857 -#define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858 -#define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859 -#define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A -#define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B -#define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C -#define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D -#define GL_HILO8_NV 0x885E -#define GL_SIGNED_HILO8_NV 0x885F -#define GL_FORCE_BLUE_TO_ONE_NV 0x8860 -#endif /* GL_NV_texture_shader3 */ - -#ifndef GL_NV_transform_feedback -#define GL_NV_transform_feedback 1 -#define GL_BACK_PRIMARY_COLOR_NV 0x8C77 -#define GL_BACK_SECONDARY_COLOR_NV 0x8C78 -#define GL_TEXTURE_COORD_NV 0x8C79 -#define GL_CLIP_DISTANCE_NV 0x8C7A -#define GL_VERTEX_ID_NV 0x8C7B -#define GL_PRIMITIVE_ID_NV 0x8C7C -#define GL_GENERIC_ATTRIB_NV 0x8C7D -#define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80 -#define GL_ACTIVE_VARYINGS_NV 0x8C81 -#define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82 -#define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85 -#define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86 -#define GL_PRIMITIVES_GENERATED_NV 0x8C87 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88 -#define GL_RASTERIZER_DISCARD_NV 0x8C89 -#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B -#define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C -#define GL_SEPARATE_ATTRIBS_NV 0x8C8D -#define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F -#define GL_LAYER_NV 0x8DAA -#define GL_NEXT_BUFFER_NV -2 -#define GL_SKIP_COMPONENTS4_NV -3 -#define GL_SKIP_COMPONENTS3_NV -4 -#define GL_SKIP_COMPONENTS2_NV -5 -#define GL_SKIP_COMPONENTS1_NV -6 -typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode); -typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void); -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLenum bufferMode); -typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); -typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer); -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode); -typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name); -typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location); -typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode); -GLAPI void APIENTRY glEndTransformFeedbackNV (void); -GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLsizei count, const GLint *attribs, GLenum bufferMode); -GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset); -GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer); -GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode); -GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name); -GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name); -GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location); -GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode); -#endif -#endif /* GL_NV_transform_feedback */ - -#ifndef GL_NV_transform_feedback2 -#define GL_NV_transform_feedback2 1 -#define GL_TRANSFORM_FEEDBACK_NV 0x8E22 -#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23 -#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24 -#define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25 -typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id); -typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids); -typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids); -typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id); -typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void); -typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void); -typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id); -GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids); -GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids); -GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id); -GLAPI void APIENTRY glPauseTransformFeedbackNV (void); -GLAPI void APIENTRY glResumeTransformFeedbackNV (void); -GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id); -#endif -#endif /* GL_NV_transform_feedback2 */ - -#ifndef GL_NV_uniform_buffer_unified_memory -#define GL_NV_uniform_buffer_unified_memory 1 -#define GL_UNIFORM_BUFFER_UNIFIED_NV 0x936E -#define GL_UNIFORM_BUFFER_ADDRESS_NV 0x936F -#define GL_UNIFORM_BUFFER_LENGTH_NV 0x9370 -#endif /* GL_NV_uniform_buffer_unified_memory */ - -#ifndef GL_NV_vdpau_interop -#define GL_NV_vdpau_interop 1 -typedef GLintptr GLvdpauSurfaceNV; -#define GL_SURFACE_STATE_NV 0x86EB -#define GL_SURFACE_REGISTERED_NV 0x86FD -#define GL_SURFACE_MAPPED_NV 0x8700 -#define GL_WRITE_DISCARD_NV 0x88BE -typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const void *vdpDevice, const void *getProcAddress); -typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void); -typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); -typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); -typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface); -typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface); -typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access); -typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces); -typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVDPAUInitNV (const void *vdpDevice, const void *getProcAddress); -GLAPI void APIENTRY glVDPAUFiniNV (void); -GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); -GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); -GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface); -GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface); -GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access); -GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces); -GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces); -#endif -#endif /* GL_NV_vdpau_interop */ - -#ifndef GL_NV_vertex_array_range -#define GL_NV_vertex_array_range 1 -#define GL_VERTEX_ARRAY_RANGE_NV 0x851D -#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E -#define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F -#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520 -#define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521 -typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void); -typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const void *pointer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFlushVertexArrayRangeNV (void); -GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const void *pointer); -#endif -#endif /* GL_NV_vertex_array_range */ - -#ifndef GL_NV_vertex_array_range2 -#define GL_NV_vertex_array_range2 1 -#define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533 -#endif /* GL_NV_vertex_array_range2 */ - -#ifndef GL_NV_vertex_attrib_integer_64bit -#define GL_NV_vertex_attrib_integer_64bit 1 -typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params); -typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x); -GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y); -GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); -GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); -GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v); -GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v); -GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v); -GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v); -GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x); -GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y); -GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); -GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); -GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v); -GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v); -GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v); -GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v); -GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params); -GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params); -GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride); -#endif -#endif /* GL_NV_vertex_attrib_integer_64bit */ - -#ifndef GL_NV_vertex_buffer_unified_memory -#define GL_NV_vertex_buffer_unified_memory 1 -#define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E -#define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F -#define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20 -#define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21 -#define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22 -#define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23 -#define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24 -#define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25 -#define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26 -#define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27 -#define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28 -#define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29 -#define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A -#define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B -#define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C -#define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D -#define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E -#define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F -#define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30 -#define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31 -#define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32 -#define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33 -#define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40 -#define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41 -#define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42 -typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); -typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); -typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride); -typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); -typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride); -typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); -typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride); -typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); -typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride); -typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); -typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride); -typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); -GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride); -GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride); -GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride); -GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride); -GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride); -GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride); -GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride); -GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride); -GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); -GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride); -GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result); -#endif -#endif /* GL_NV_vertex_buffer_unified_memory */ - -#ifndef GL_NV_vertex_program -#define GL_NV_vertex_program 1 -#define GL_VERTEX_PROGRAM_NV 0x8620 -#define GL_VERTEX_STATE_PROGRAM_NV 0x8621 -#define GL_ATTRIB_ARRAY_SIZE_NV 0x8623 -#define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624 -#define GL_ATTRIB_ARRAY_TYPE_NV 0x8625 -#define GL_CURRENT_ATTRIB_NV 0x8626 -#define GL_PROGRAM_LENGTH_NV 0x8627 -#define GL_PROGRAM_STRING_NV 0x8628 -#define GL_MODELVIEW_PROJECTION_NV 0x8629 -#define GL_IDENTITY_NV 0x862A -#define GL_INVERSE_NV 0x862B -#define GL_TRANSPOSE_NV 0x862C -#define GL_INVERSE_TRANSPOSE_NV 0x862D -#define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E -#define GL_MAX_TRACK_MATRICES_NV 0x862F -#define GL_MATRIX0_NV 0x8630 -#define GL_MATRIX1_NV 0x8631 -#define GL_MATRIX2_NV 0x8632 -#define GL_MATRIX3_NV 0x8633 -#define GL_MATRIX4_NV 0x8634 -#define GL_MATRIX5_NV 0x8635 -#define GL_MATRIX6_NV 0x8636 -#define GL_MATRIX7_NV 0x8637 -#define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640 -#define GL_CURRENT_MATRIX_NV 0x8641 -#define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642 -#define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643 -#define GL_PROGRAM_PARAMETER_NV 0x8644 -#define GL_ATTRIB_ARRAY_POINTER_NV 0x8645 -#define GL_PROGRAM_TARGET_NV 0x8646 -#define GL_PROGRAM_RESIDENT_NV 0x8647 -#define GL_TRACK_MATRIX_NV 0x8648 -#define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649 -#define GL_VERTEX_PROGRAM_BINDING_NV 0x864A -#define GL_PROGRAM_ERROR_POSITION_NV 0x864B -#define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650 -#define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651 -#define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652 -#define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653 -#define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654 -#define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655 -#define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656 -#define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657 -#define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658 -#define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659 -#define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A -#define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B -#define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C -#define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D -#define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E -#define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F -#define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660 -#define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661 -#define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662 -#define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663 -#define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664 -#define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665 -#define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666 -#define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667 -#define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668 -#define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669 -#define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A -#define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B -#define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C -#define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D -#define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E -#define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F -#define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670 -#define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671 -#define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672 -#define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673 -#define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674 -#define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675 -#define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676 -#define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677 -#define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678 -#define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679 -#define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A -#define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B -#define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C -#define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D -#define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E -#define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F -typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences); -typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id); -typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); -typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params); -typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs); -typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program); -typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, void **pointer); -typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id); -typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); -typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform); -typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences); -GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id); -GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs); -GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params); -GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs); -GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params); -GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program); -GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params); -GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, void **pointer); -GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id); -GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program); -GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v); -GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v); -GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v); -GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v); -GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs); -GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform); -GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer); -GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x); -GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x); -GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x); -GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y); -GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y); -GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y); -GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z); -GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z); -GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v); -GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v); -GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v); -GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v); -GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v); -GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v); -GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v); -GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v); -GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v); -GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v); -GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v); -GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v); -GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v); -#endif -#endif /* GL_NV_vertex_program */ - -#ifndef GL_NV_vertex_program1_1 -#define GL_NV_vertex_program1_1 1 -#endif /* GL_NV_vertex_program1_1 */ - -#ifndef GL_NV_vertex_program2 -#define GL_NV_vertex_program2 1 -#endif /* GL_NV_vertex_program2 */ - -#ifndef GL_NV_vertex_program2_option -#define GL_NV_vertex_program2_option 1 -#endif /* GL_NV_vertex_program2_option */ - -#ifndef GL_NV_vertex_program3 -#define GL_NV_vertex_program3 1 -#endif /* GL_NV_vertex_program3 */ - -#ifndef GL_NV_vertex_program4 -#define GL_NV_vertex_program4 1 -#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x); -GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y); -GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z); -GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w); -GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x); -GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y); -GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z); -GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v); -GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v); -GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v); -GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v); -GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v); -GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v); -GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params); -#endif -#endif /* GL_NV_vertex_program4 */ - -#ifndef GL_NV_video_capture -#define GL_NV_video_capture 1 -#define GL_VIDEO_BUFFER_NV 0x9020 -#define GL_VIDEO_BUFFER_BINDING_NV 0x9021 -#define GL_FIELD_UPPER_NV 0x9022 -#define GL_FIELD_LOWER_NV 0x9023 -#define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024 -#define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025 -#define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026 -#define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027 -#define GL_VIDEO_BUFFER_PITCH_NV 0x9028 -#define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029 -#define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A -#define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B -#define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C -#define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D -#define GL_PARTIAL_SUCCESS_NV 0x902E -#define GL_SUCCESS_NV 0x902F -#define GL_FAILURE_NV 0x9030 -#define GL_YCBYCR8_422_NV 0x9031 -#define GL_YCBAYCR8A_4224_NV 0x9032 -#define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033 -#define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034 -#define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035 -#define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036 -#define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037 -#define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038 -#define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039 -#define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A -#define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B -#define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C -typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot); -typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset); -typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture); -typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot); -typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params); -typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time); -typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot); -GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset); -GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture); -GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot); -GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params); -GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time); -GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params); -GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params); -#endif -#endif /* GL_NV_video_capture */ - -#ifndef GL_NV_viewport_array2 -#define GL_NV_viewport_array2 1 -#endif /* GL_NV_viewport_array2 */ - -#ifndef GL_OML_interlace -#define GL_OML_interlace 1 -#define GL_INTERLACE_OML 0x8980 -#define GL_INTERLACE_READ_OML 0x8981 -#endif /* GL_OML_interlace */ - -#ifndef GL_OML_resample -#define GL_OML_resample 1 -#define GL_PACK_RESAMPLE_OML 0x8984 -#define GL_UNPACK_RESAMPLE_OML 0x8985 -#define GL_RESAMPLE_REPLICATE_OML 0x8986 -#define GL_RESAMPLE_ZERO_FILL_OML 0x8987 -#define GL_RESAMPLE_AVERAGE_OML 0x8988 -#define GL_RESAMPLE_DECIMATE_OML 0x8989 -#endif /* GL_OML_resample */ - -#ifndef GL_OML_subsample -#define GL_OML_subsample 1 -#define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982 -#define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983 -#endif /* GL_OML_subsample */ - -#ifndef GL_OVR_multiview -#define GL_OVR_multiview 1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632 -#define GL_MAX_VIEWS_OVR 0x9631 -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); -#endif -#endif /* GL_OVR_multiview */ - -#ifndef GL_OVR_multiview2 -#define GL_OVR_multiview2 1 -#endif /* GL_OVR_multiview2 */ - -#ifndef GL_PGI_misc_hints -#define GL_PGI_misc_hints 1 -#define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8 -#define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD -#define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE -#define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202 -#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203 -#define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204 -#define GL_ALWAYS_FAST_HINT_PGI 0x1A20C -#define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D -#define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E -#define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F -#define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210 -#define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211 -#define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216 -#define GL_STRICT_LIGHTING_HINT_PGI 0x1A217 -#define GL_STRICT_SCISSOR_HINT_PGI 0x1A218 -#define GL_FULL_STIPPLE_HINT_PGI 0x1A219 -#define GL_CLIP_NEAR_HINT_PGI 0x1A220 -#define GL_CLIP_FAR_HINT_PGI 0x1A221 -#define GL_WIDE_LINE_HINT_PGI 0x1A222 -#define GL_BACK_NORMALS_HINT_PGI 0x1A223 -typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode); -#endif -#endif /* GL_PGI_misc_hints */ - -#ifndef GL_PGI_vertex_hints -#define GL_PGI_vertex_hints 1 -#define GL_VERTEX_DATA_HINT_PGI 0x1A22A -#define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B -#define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C -#define GL_MAX_VERTEX_HINT_PGI 0x1A22D -#define GL_COLOR3_BIT_PGI 0x00010000 -#define GL_COLOR4_BIT_PGI 0x00020000 -#define GL_EDGEFLAG_BIT_PGI 0x00040000 -#define GL_INDEX_BIT_PGI 0x00080000 -#define GL_MAT_AMBIENT_BIT_PGI 0x00100000 -#define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000 -#define GL_MAT_DIFFUSE_BIT_PGI 0x00400000 -#define GL_MAT_EMISSION_BIT_PGI 0x00800000 -#define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000 -#define GL_MAT_SHININESS_BIT_PGI 0x02000000 -#define GL_MAT_SPECULAR_BIT_PGI 0x04000000 -#define GL_NORMAL_BIT_PGI 0x08000000 -#define GL_TEXCOORD1_BIT_PGI 0x10000000 -#define GL_TEXCOORD2_BIT_PGI 0x20000000 -#define GL_TEXCOORD3_BIT_PGI 0x40000000 -#define GL_TEXCOORD4_BIT_PGI 0x80000000 -#define GL_VERTEX23_BIT_PGI 0x00000004 -#define GL_VERTEX4_BIT_PGI 0x00000008 -#endif /* GL_PGI_vertex_hints */ - -#ifndef GL_REND_screen_coordinates -#define GL_REND_screen_coordinates 1 -#define GL_SCREEN_COORDINATES_REND 0x8490 -#define GL_INVERTED_SCREEN_W_REND 0x8491 -#endif /* GL_REND_screen_coordinates */ - -#ifndef GL_S3_s3tc -#define GL_S3_s3tc 1 -#define GL_RGB_S3TC 0x83A0 -#define GL_RGB4_S3TC 0x83A1 -#define GL_RGBA_S3TC 0x83A2 -#define GL_RGBA4_S3TC 0x83A3 -#define GL_RGBA_DXT5_S3TC 0x83A4 -#define GL_RGBA4_DXT5_S3TC 0x83A5 -#endif /* GL_S3_s3tc */ - -#ifndef GL_SGIS_detail_texture -#define GL_SGIS_detail_texture 1 -#define GL_DETAIL_TEXTURE_2D_SGIS 0x8095 -#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096 -#define GL_LINEAR_DETAIL_SGIS 0x8097 -#define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098 -#define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099 -#define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A -#define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B -#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C -typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); -typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points); -GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points); -#endif -#endif /* GL_SGIS_detail_texture */ - -#ifndef GL_SGIS_fog_function -#define GL_SGIS_fog_function 1 -#define GL_FOG_FUNC_SGIS 0x812A -#define GL_FOG_FUNC_POINTS_SGIS 0x812B -#define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C -typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points); -typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points); -GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points); -#endif -#endif /* GL_SGIS_fog_function */ - -#ifndef GL_SGIS_generate_mipmap -#define GL_SGIS_generate_mipmap 1 -#define GL_GENERATE_MIPMAP_SGIS 0x8191 -#define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 -#endif /* GL_SGIS_generate_mipmap */ - -#ifndef GL_SGIS_multisample -#define GL_SGIS_multisample 1 -#define GL_MULTISAMPLE_SGIS 0x809D -#define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F -#define GL_SAMPLE_MASK_SGIS 0x80A0 -#define GL_1PASS_SGIS 0x80A1 -#define GL_2PASS_0_SGIS 0x80A2 -#define GL_2PASS_1_SGIS 0x80A3 -#define GL_4PASS_0_SGIS 0x80A4 -#define GL_4PASS_1_SGIS 0x80A5 -#define GL_4PASS_2_SGIS 0x80A6 -#define GL_4PASS_3_SGIS 0x80A7 -#define GL_SAMPLE_BUFFERS_SGIS 0x80A8 -#define GL_SAMPLES_SGIS 0x80A9 -#define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA -#define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB -#define GL_SAMPLE_PATTERN_SGIS 0x80AC -typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert); -typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert); -GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern); -#endif -#endif /* GL_SGIS_multisample */ - -#ifndef GL_SGIS_pixel_texture -#define GL_SGIS_pixel_texture 1 -#define GL_PIXEL_TEXTURE_SGIS 0x8353 -#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354 -#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355 -#define GL_PIXEL_GROUP_COLOR_SGIS 0x8356 -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param); -GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params); -GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param); -GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params); -GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params); -#endif -#endif /* GL_SGIS_pixel_texture */ - -#ifndef GL_SGIS_point_line_texgen -#define GL_SGIS_point_line_texgen 1 -#define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0 -#define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1 -#define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2 -#define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3 -#define GL_EYE_POINT_SGIS 0x81F4 -#define GL_OBJECT_POINT_SGIS 0x81F5 -#define GL_EYE_LINE_SGIS 0x81F6 -#define GL_OBJECT_LINE_SGIS 0x81F7 -#endif /* GL_SGIS_point_line_texgen */ - -#ifndef GL_SGIS_point_parameters -#define GL_SGIS_point_parameters 1 -#define GL_POINT_SIZE_MIN_SGIS 0x8126 -#define GL_POINT_SIZE_MAX_SGIS 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128 -#define GL_DISTANCE_ATTENUATION_SGIS 0x8129 -typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param); -GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params); -#endif -#endif /* GL_SGIS_point_parameters */ - -#ifndef GL_SGIS_sharpen_texture -#define GL_SGIS_sharpen_texture 1 -#define GL_LINEAR_SHARPEN_SGIS 0x80AD -#define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE -#define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF -#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0 -typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); -typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points); -GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points); -#endif -#endif /* GL_SGIS_sharpen_texture */ - -#ifndef GL_SGIS_texture4D -#define GL_SGIS_texture4D 1 -#define GL_PACK_SKIP_VOLUMES_SGIS 0x8130 -#define GL_PACK_IMAGE_DEPTH_SGIS 0x8131 -#define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132 -#define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133 -#define GL_TEXTURE_4D_SGIS 0x8134 -#define GL_PROXY_TEXTURE_4D_SGIS 0x8135 -#define GL_TEXTURE_4DSIZE_SGIS 0x8136 -#define GL_TEXTURE_WRAP_Q_SGIS 0x8137 -#define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138 -#define GL_TEXTURE_4D_BINDING_SGIS 0x814F -typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void *pixels); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexImage4DSGIS (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void *pixels); -#endif -#endif /* GL_SGIS_texture4D */ - -#ifndef GL_SGIS_texture_border_clamp -#define GL_SGIS_texture_border_clamp 1 -#define GL_CLAMP_TO_BORDER_SGIS 0x812D -#endif /* GL_SGIS_texture_border_clamp */ - -#ifndef GL_SGIS_texture_color_mask -#define GL_SGIS_texture_color_mask 1 -#define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF -typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -#endif -#endif /* GL_SGIS_texture_color_mask */ - -#ifndef GL_SGIS_texture_edge_clamp -#define GL_SGIS_texture_edge_clamp 1 -#define GL_CLAMP_TO_EDGE_SGIS 0x812F -#endif /* GL_SGIS_texture_edge_clamp */ - -#ifndef GL_SGIS_texture_filter4 -#define GL_SGIS_texture_filter4 1 -#define GL_FILTER4_SGIS 0x8146 -#define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147 -typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights); -typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights); -GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights); -#endif -#endif /* GL_SGIS_texture_filter4 */ - -#ifndef GL_SGIS_texture_lod -#define GL_SGIS_texture_lod 1 -#define GL_TEXTURE_MIN_LOD_SGIS 0x813A -#define GL_TEXTURE_MAX_LOD_SGIS 0x813B -#define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C -#define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D -#endif /* GL_SGIS_texture_lod */ - -#ifndef GL_SGIS_texture_select -#define GL_SGIS_texture_select 1 -#define GL_DUAL_ALPHA4_SGIS 0x8110 -#define GL_DUAL_ALPHA8_SGIS 0x8111 -#define GL_DUAL_ALPHA12_SGIS 0x8112 -#define GL_DUAL_ALPHA16_SGIS 0x8113 -#define GL_DUAL_LUMINANCE4_SGIS 0x8114 -#define GL_DUAL_LUMINANCE8_SGIS 0x8115 -#define GL_DUAL_LUMINANCE12_SGIS 0x8116 -#define GL_DUAL_LUMINANCE16_SGIS 0x8117 -#define GL_DUAL_INTENSITY4_SGIS 0x8118 -#define GL_DUAL_INTENSITY8_SGIS 0x8119 -#define GL_DUAL_INTENSITY12_SGIS 0x811A -#define GL_DUAL_INTENSITY16_SGIS 0x811B -#define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C -#define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D -#define GL_QUAD_ALPHA4_SGIS 0x811E -#define GL_QUAD_ALPHA8_SGIS 0x811F -#define GL_QUAD_LUMINANCE4_SGIS 0x8120 -#define GL_QUAD_LUMINANCE8_SGIS 0x8121 -#define GL_QUAD_INTENSITY4_SGIS 0x8122 -#define GL_QUAD_INTENSITY8_SGIS 0x8123 -#define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124 -#define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125 -#endif /* GL_SGIS_texture_select */ - -#ifndef GL_SGIX_async -#define GL_SGIX_async 1 -#define GL_ASYNC_MARKER_SGIX 0x8329 -typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker); -typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp); -typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp); -typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range); -typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range); -typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker); -GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp); -GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp); -GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range); -GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range); -GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker); -#endif -#endif /* GL_SGIX_async */ - -#ifndef GL_SGIX_async_histogram -#define GL_SGIX_async_histogram 1 -#define GL_ASYNC_HISTOGRAM_SGIX 0x832C -#define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D -#endif /* GL_SGIX_async_histogram */ - -#ifndef GL_SGIX_async_pixel -#define GL_SGIX_async_pixel 1 -#define GL_ASYNC_TEX_IMAGE_SGIX 0x835C -#define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D -#define GL_ASYNC_READ_PIXELS_SGIX 0x835E -#define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F -#define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360 -#define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361 -#endif /* GL_SGIX_async_pixel */ - -#ifndef GL_SGIX_blend_alpha_minmax -#define GL_SGIX_blend_alpha_minmax 1 -#define GL_ALPHA_MIN_SGIX 0x8320 -#define GL_ALPHA_MAX_SGIX 0x8321 -#endif /* GL_SGIX_blend_alpha_minmax */ - -#ifndef GL_SGIX_calligraphic_fragment -#define GL_SGIX_calligraphic_fragment 1 -#define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183 -#endif /* GL_SGIX_calligraphic_fragment */ - -#ifndef GL_SGIX_clipmap -#define GL_SGIX_clipmap 1 -#define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170 -#define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171 -#define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172 -#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173 -#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174 -#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175 -#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176 -#define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177 -#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178 -#define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D -#define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E -#define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F -#endif /* GL_SGIX_clipmap */ - -#ifndef GL_SGIX_convolution_accuracy -#define GL_SGIX_convolution_accuracy 1 -#define GL_CONVOLUTION_HINT_SGIX 0x8316 -#endif /* GL_SGIX_convolution_accuracy */ - -#ifndef GL_SGIX_depth_pass_instrument -#define GL_SGIX_depth_pass_instrument 1 -#endif /* GL_SGIX_depth_pass_instrument */ - -#ifndef GL_SGIX_depth_texture -#define GL_SGIX_depth_texture 1 -#define GL_DEPTH_COMPONENT16_SGIX 0x81A5 -#define GL_DEPTH_COMPONENT24_SGIX 0x81A6 -#define GL_DEPTH_COMPONENT32_SGIX 0x81A7 -#endif /* GL_SGIX_depth_texture */ - -#ifndef GL_SGIX_flush_raster -#define GL_SGIX_flush_raster 1 -typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFlushRasterSGIX (void); -#endif -#endif /* GL_SGIX_flush_raster */ - -#ifndef GL_SGIX_fog_offset -#define GL_SGIX_fog_offset 1 -#define GL_FOG_OFFSET_SGIX 0x8198 -#define GL_FOG_OFFSET_VALUE_SGIX 0x8199 -#endif /* GL_SGIX_fog_offset */ - -#ifndef GL_SGIX_fragment_lighting -#define GL_SGIX_fragment_lighting 1 -#define GL_FRAGMENT_LIGHTING_SGIX 0x8400 -#define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401 -#define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402 -#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403 -#define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404 -#define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405 -#define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406 -#define GL_LIGHT_ENV_MODE_SGIX 0x8407 -#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408 -#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409 -#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A -#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B -#define GL_FRAGMENT_LIGHT0_SGIX 0x840C -#define GL_FRAGMENT_LIGHT1_SGIX 0x840D -#define GL_FRAGMENT_LIGHT2_SGIX 0x840E -#define GL_FRAGMENT_LIGHT3_SGIX 0x840F -#define GL_FRAGMENT_LIGHT4_SGIX 0x8410 -#define GL_FRAGMENT_LIGHT5_SGIX 0x8411 -#define GL_FRAGMENT_LIGHT6_SGIX 0x8412 -#define GL_FRAGMENT_LIGHT7_SGIX 0x8413 -typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode); -GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param); -GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param); -GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params); -GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param); -GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param); -GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params); -GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param); -GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param); -GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params); -GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params); -GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params); -GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param); -#endif -#endif /* GL_SGIX_fragment_lighting */ - -#ifndef GL_SGIX_framezoom -#define GL_SGIX_framezoom 1 -#define GL_FRAMEZOOM_SGIX 0x818B -#define GL_FRAMEZOOM_FACTOR_SGIX 0x818C -#define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D -typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFrameZoomSGIX (GLint factor); -#endif -#endif /* GL_SGIX_framezoom */ - -#ifndef GL_SGIX_igloo_interface -#define GL_SGIX_igloo_interface 1 -typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const void *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const void *params); -#endif -#endif /* GL_SGIX_igloo_interface */ - -#ifndef GL_SGIX_instruments -#define GL_SGIX_instruments 1 -#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180 -#define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181 -typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void); -typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer); -typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p); -typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker); -typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void); -typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLint APIENTRY glGetInstrumentsSGIX (void); -GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer); -GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p); -GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker); -GLAPI void APIENTRY glStartInstrumentsSGIX (void); -GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker); -#endif -#endif /* GL_SGIX_instruments */ - -#ifndef GL_SGIX_interlace -#define GL_SGIX_interlace 1 -#define GL_INTERLACE_SGIX 0x8094 -#endif /* GL_SGIX_interlace */ - -#ifndef GL_SGIX_ir_instrument1 -#define GL_SGIX_ir_instrument1 1 -#define GL_IR_INSTRUMENT1_SGIX 0x817F -#endif /* GL_SGIX_ir_instrument1 */ - -#ifndef GL_SGIX_list_priority -#define GL_SGIX_list_priority 1 -#define GL_LIST_PRIORITY_SGIX 0x8182 -typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params); -GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param); -GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param); -GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params); -#endif -#endif /* GL_SGIX_list_priority */ - -#ifndef GL_SGIX_pixel_texture -#define GL_SGIX_pixel_texture 1 -#define GL_PIXEL_TEX_GEN_SGIX 0x8139 -#define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B -typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode); -#endif -#endif /* GL_SGIX_pixel_texture */ - -#ifndef GL_SGIX_pixel_tiles -#define GL_SGIX_pixel_tiles 1 -#define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E -#define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F -#define GL_PIXEL_TILE_WIDTH_SGIX 0x8140 -#define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141 -#define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142 -#define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143 -#define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144 -#define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145 -#endif /* GL_SGIX_pixel_tiles */ - -#ifndef GL_SGIX_polynomial_ffd -#define GL_SGIX_polynomial_ffd 1 -#define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001 -#define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002 -#define GL_GEOMETRY_DEFORMATION_SGIX 0x8194 -#define GL_TEXTURE_DEFORMATION_SGIX 0x8195 -#define GL_DEFORMATIONS_MASK_SGIX 0x8196 -#define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197 -typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points); -typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points); -typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask); -typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points); -GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points); -GLAPI void APIENTRY glDeformSGIX (GLbitfield mask); -GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask); -#endif -#endif /* GL_SGIX_polynomial_ffd */ - -#ifndef GL_SGIX_reference_plane -#define GL_SGIX_reference_plane 1 -#define GL_REFERENCE_PLANE_SGIX 0x817D -#define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E -typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation); -#endif -#endif /* GL_SGIX_reference_plane */ - -#ifndef GL_SGIX_resample -#define GL_SGIX_resample 1 -#define GL_PACK_RESAMPLE_SGIX 0x842E -#define GL_UNPACK_RESAMPLE_SGIX 0x842F -#define GL_RESAMPLE_REPLICATE_SGIX 0x8433 -#define GL_RESAMPLE_ZERO_FILL_SGIX 0x8434 -#define GL_RESAMPLE_DECIMATE_SGIX 0x8430 -#endif /* GL_SGIX_resample */ - -#ifndef GL_SGIX_scalebias_hint -#define GL_SGIX_scalebias_hint 1 -#define GL_SCALEBIAS_HINT_SGIX 0x8322 -#endif /* GL_SGIX_scalebias_hint */ - -#ifndef GL_SGIX_shadow -#define GL_SGIX_shadow 1 -#define GL_TEXTURE_COMPARE_SGIX 0x819A -#define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B -#define GL_TEXTURE_LEQUAL_R_SGIX 0x819C -#define GL_TEXTURE_GEQUAL_R_SGIX 0x819D -#endif /* GL_SGIX_shadow */ - -#ifndef GL_SGIX_shadow_ambient -#define GL_SGIX_shadow_ambient 1 -#define GL_SHADOW_AMBIENT_SGIX 0x80BF -#endif /* GL_SGIX_shadow_ambient */ - -#ifndef GL_SGIX_sprite -#define GL_SGIX_sprite 1 -#define GL_SPRITE_SGIX 0x8148 -#define GL_SPRITE_MODE_SGIX 0x8149 -#define GL_SPRITE_AXIS_SGIX 0x814A -#define GL_SPRITE_TRANSLATION_SGIX 0x814B -#define GL_SPRITE_AXIAL_SGIX 0x814C -#define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D -#define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E -typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param); -GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param); -GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params); -#endif -#endif /* GL_SGIX_sprite */ - -#ifndef GL_SGIX_subsample -#define GL_SGIX_subsample 1 -#define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0 -#define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1 -#define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2 -#define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3 -#define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4 -#endif /* GL_SGIX_subsample */ - -#ifndef GL_SGIX_tag_sample_buffer -#define GL_SGIX_tag_sample_buffer 1 -typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTagSampleBufferSGIX (void); -#endif -#endif /* GL_SGIX_tag_sample_buffer */ - -#ifndef GL_SGIX_texture_add_env -#define GL_SGIX_texture_add_env 1 -#define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE -#endif /* GL_SGIX_texture_add_env */ - -#ifndef GL_SGIX_texture_coordinate_clamp -#define GL_SGIX_texture_coordinate_clamp 1 -#define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369 -#define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A -#define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B -#endif /* GL_SGIX_texture_coordinate_clamp */ - -#ifndef GL_SGIX_texture_lod_bias -#define GL_SGIX_texture_lod_bias 1 -#define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E -#define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F -#define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190 -#endif /* GL_SGIX_texture_lod_bias */ - -#ifndef GL_SGIX_texture_multi_buffer -#define GL_SGIX_texture_multi_buffer 1 -#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E -#endif /* GL_SGIX_texture_multi_buffer */ - -#ifndef GL_SGIX_texture_scale_bias -#define GL_SGIX_texture_scale_bias 1 -#define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179 -#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A -#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B -#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C -#endif /* GL_SGIX_texture_scale_bias */ - -#ifndef GL_SGIX_vertex_preclip -#define GL_SGIX_vertex_preclip 1 -#define GL_VERTEX_PRECLIP_SGIX 0x83EE -#define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF -#endif /* GL_SGIX_vertex_preclip */ - -#ifndef GL_SGIX_ycrcb -#define GL_SGIX_ycrcb 1 -#define GL_YCRCB_422_SGIX 0x81BB -#define GL_YCRCB_444_SGIX 0x81BC -#endif /* GL_SGIX_ycrcb */ - -#ifndef GL_SGIX_ycrcb_subsample -#define GL_SGIX_ycrcb_subsample 1 -#endif /* GL_SGIX_ycrcb_subsample */ - -#ifndef GL_SGIX_ycrcba -#define GL_SGIX_ycrcba 1 -#define GL_YCRCB_SGIX 0x8318 -#define GL_YCRCBA_SGIX 0x8319 -#endif /* GL_SGIX_ycrcba */ - -#ifndef GL_SGI_color_matrix -#define GL_SGI_color_matrix 1 -#define GL_COLOR_MATRIX_SGI 0x80B1 -#define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2 -#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3 -#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4 -#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5 -#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6 -#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7 -#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8 -#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9 -#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA -#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB -#endif /* GL_SGI_color_matrix */ - -#ifndef GL_SGI_color_table -#define GL_SGI_color_table 1 -#define GL_COLOR_TABLE_SGI 0x80D0 -#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1 -#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2 -#define GL_PROXY_COLOR_TABLE_SGI 0x80D3 -#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4 -#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5 -#define GL_COLOR_TABLE_SCALE_SGI 0x80D6 -#define GL_COLOR_TABLE_BIAS_SGI 0x80D7 -#define GL_COLOR_TABLE_FORMAT_SGI 0x80D8 -#define GL_COLOR_TABLE_WIDTH_SGI 0x80D9 -#define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA -#define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB -#define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC -#define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD -#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE -#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF -typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table); -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, void *table); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table); -GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params); -GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params); -GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, void *table); -GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params); -GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params); -#endif -#endif /* GL_SGI_color_table */ - -#ifndef GL_SGI_texture_color_table -#define GL_SGI_texture_color_table 1 -#define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC -#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD -#endif /* GL_SGI_texture_color_table */ - -#ifndef GL_SUNX_constant_data -#define GL_SUNX_constant_data 1 -#define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5 -#define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6 -typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFinishTextureSUNX (void); -#endif -#endif /* GL_SUNX_constant_data */ - -#ifndef GL_SUN_convolution_border_modes -#define GL_SUN_convolution_border_modes 1 -#define GL_WRAP_BORDER_SUN 0x81D4 -#endif /* GL_SUN_convolution_border_modes */ - -#ifndef GL_SUN_global_alpha -#define GL_SUN_global_alpha 1 -#define GL_GLOBAL_ALPHA_SUN 0x81D9 -#define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor); -GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor); -GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor); -GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor); -GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor); -GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor); -GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor); -GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor); -#endif -#endif /* GL_SUN_global_alpha */ - -#ifndef GL_SUN_mesh_array -#define GL_SUN_mesh_array 1 -#define GL_QUAD_MESH_SUN 0x8614 -#define GL_TRIANGLE_MESH_SUN 0x8615 -typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width); -#endif -#endif /* GL_SUN_mesh_array */ - -#ifndef GL_SUN_slice_accum -#define GL_SUN_slice_accum 1 -#define GL_SLICE_ACCUM_SUN 0x85CC -#endif /* GL_SUN_slice_accum */ - -#ifndef GL_SUN_triangle_list -#define GL_SUN_triangle_list 1 -#define GL_RESTART_SUN 0x0001 -#define GL_REPLACE_MIDDLE_SUN 0x0002 -#define GL_REPLACE_OLDEST_SUN 0x0003 -#define GL_TRIANGLE_LIST_SUN 0x81D7 -#define GL_REPLACEMENT_CODE_SUN 0x81D8 -#define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0 -#define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1 -#define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2 -#define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3 -#define GL_R1UI_V3F_SUN 0x85C4 -#define GL_R1UI_C4UB_V3F_SUN 0x85C5 -#define GL_R1UI_C3F_V3F_SUN 0x85C6 -#define GL_R1UI_N3F_V3F_SUN 0x85C7 -#define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8 -#define GL_R1UI_T2F_V3F_SUN 0x85C9 -#define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA -#define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const void **pointer); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code); -GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code); -GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code); -GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code); -GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code); -GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code); -GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const void **pointer); -#endif -#endif /* GL_SUN_triangle_list */ - -#ifndef GL_SUN_vertex -#define GL_SUN_vertex 1 -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); -GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v); -GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v); -GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v); -GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v); -GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v); -GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v); -GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v); -GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v); -GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v); -GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v); -GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v); -GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v); -GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v); -GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v); -GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -#endif -#endif /* GL_SUN_vertex */ - -#ifndef GL_WIN_phong_shading -#define GL_WIN_phong_shading 1 -#define GL_PHONG_WIN 0x80EA -#define GL_PHONG_HINT_WIN 0x80EB -#endif /* GL_WIN_phong_shading */ - -#ifndef GL_WIN_specular_fog -#define GL_WIN_specular_fog 1 -#define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC -#endif /* GL_WIN_specular_fog */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/khronos/repository/api/GL/glx.h b/khronos/repository/api/GL/glx.h deleted file mode 100644 index 4518b57..0000000 --- a/khronos/repository/api/GL/glx.h +++ /dev/null @@ -1,259 +0,0 @@ -#ifndef __glx_h_ -#define __glx_h_ 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2013-2015 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts -** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ -*/ - -/* Generated on date 20151103 */ - -/* Generated C header for: - * API: glx - * Versions considered: .* - * Versions emitted: .* - * Default extensions included: None - * Additional extensions included: _nomatch_^ - * Extensions removed: _nomatch_^ - */ - -#ifndef GLX_VERSION_1_0 -#define GLX_VERSION_1_0 1 -typedef struct __GLXcontextRec *GLXContext; -typedef XID GLXDrawable; -typedef XID GLXPixmap; -#define GLX_EXTENSION_NAME "GLX" -#define GLX_PbufferClobber 0 -#define GLX_BufferSwapComplete 1 -#define __GLX_NUMBER_EVENTS 17 -#define GLX_BAD_SCREEN 1 -#define GLX_BAD_ATTRIBUTE 2 -#define GLX_NO_EXTENSION 3 -#define GLX_BAD_VISUAL 4 -#define GLX_BAD_CONTEXT 5 -#define GLX_BAD_VALUE 6 -#define GLX_BAD_ENUM 7 -#define GLX_USE_GL 1 -#define GLX_BUFFER_SIZE 2 -#define GLX_LEVEL 3 -#define GLX_RGBA 4 -#define GLX_DOUBLEBUFFER 5 -#define GLX_STEREO 6 -#define GLX_AUX_BUFFERS 7 -#define GLX_RED_SIZE 8 -#define GLX_GREEN_SIZE 9 -#define GLX_BLUE_SIZE 10 -#define GLX_ALPHA_SIZE 11 -#define GLX_DEPTH_SIZE 12 -#define GLX_STENCIL_SIZE 13 -#define GLX_ACCUM_RED_SIZE 14 -#define GLX_ACCUM_GREEN_SIZE 15 -#define GLX_ACCUM_BLUE_SIZE 16 -#define GLX_ACCUM_ALPHA_SIZE 17 -typedef XVisualInfo *( *PFNGLXCHOOSEVISUALPROC) (Display *dpy, int screen, int *attribList); -typedef GLXContext ( *PFNGLXCREATECONTEXTPROC) (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct); -typedef void ( *PFNGLXDESTROYCONTEXTPROC) (Display *dpy, GLXContext ctx); -typedef Bool ( *PFNGLXMAKECURRENTPROC) (Display *dpy, GLXDrawable drawable, GLXContext ctx); -typedef void ( *PFNGLXCOPYCONTEXTPROC) (Display *dpy, GLXContext src, GLXContext dst, unsigned long mask); -typedef void ( *PFNGLXSWAPBUFFERSPROC) (Display *dpy, GLXDrawable drawable); -typedef GLXPixmap ( *PFNGLXCREATEGLXPIXMAPPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap); -typedef void ( *PFNGLXDESTROYGLXPIXMAPPROC) (Display *dpy, GLXPixmap pixmap); -typedef Bool ( *PFNGLXQUERYEXTENSIONPROC) (Display *dpy, int *errorb, int *event); -typedef Bool ( *PFNGLXQUERYVERSIONPROC) (Display *dpy, int *maj, int *min); -typedef Bool ( *PFNGLXISDIRECTPROC) (Display *dpy, GLXContext ctx); -typedef int ( *PFNGLXGETCONFIGPROC) (Display *dpy, XVisualInfo *visual, int attrib, int *value); -typedef GLXContext ( *PFNGLXGETCURRENTCONTEXTPROC) (void); -typedef GLXDrawable ( *PFNGLXGETCURRENTDRAWABLEPROC) (void); -typedef void ( *PFNGLXWAITGLPROC) (void); -typedef void ( *PFNGLXWAITXPROC) (void); -typedef void ( *PFNGLXUSEXFONTPROC) (Font font, int first, int count, int list); -#ifdef GLX_GLXEXT_PROTOTYPES -XVisualInfo *glXChooseVisual (Display *dpy, int screen, int *attribList); -GLXContext glXCreateContext (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct); -void glXDestroyContext (Display *dpy, GLXContext ctx); -Bool glXMakeCurrent (Display *dpy, GLXDrawable drawable, GLXContext ctx); -void glXCopyContext (Display *dpy, GLXContext src, GLXContext dst, unsigned long mask); -void glXSwapBuffers (Display *dpy, GLXDrawable drawable); -GLXPixmap glXCreateGLXPixmap (Display *dpy, XVisualInfo *visual, Pixmap pixmap); -void glXDestroyGLXPixmap (Display *dpy, GLXPixmap pixmap); -Bool glXQueryExtension (Display *dpy, int *errorb, int *event); -Bool glXQueryVersion (Display *dpy, int *maj, int *min); -Bool glXIsDirect (Display *dpy, GLXContext ctx); -int glXGetConfig (Display *dpy, XVisualInfo *visual, int attrib, int *value); -GLXContext glXGetCurrentContext (void); -GLXDrawable glXGetCurrentDrawable (void); -void glXWaitGL (void); -void glXWaitX (void); -void glXUseXFont (Font font, int first, int count, int list); -#endif -#endif /* GLX_VERSION_1_0 */ - -#ifndef GLX_VERSION_1_1 -#define GLX_VERSION_1_1 1 -#define GLX_VENDOR 0x1 -#define GLX_VERSION 0x2 -#define GLX_EXTENSIONS 0x3 -typedef const char *( *PFNGLXQUERYEXTENSIONSSTRINGPROC) (Display *dpy, int screen); -typedef const char *( *PFNGLXQUERYSERVERSTRINGPROC) (Display *dpy, int screen, int name); -typedef const char *( *PFNGLXGETCLIENTSTRINGPROC) (Display *dpy, int name); -#ifdef GLX_GLXEXT_PROTOTYPES -const char *glXQueryExtensionsString (Display *dpy, int screen); -const char *glXQueryServerString (Display *dpy, int screen, int name); -const char *glXGetClientString (Display *dpy, int name); -#endif -#endif /* GLX_VERSION_1_1 */ - -#ifndef GLX_VERSION_1_2 -#define GLX_VERSION_1_2 1 -typedef Display *( *PFNGLXGETCURRENTDISPLAYPROC) (void); -#ifdef GLX_GLXEXT_PROTOTYPES -Display *glXGetCurrentDisplay (void); -#endif -#endif /* GLX_VERSION_1_2 */ - -#ifndef GLX_VERSION_1_3 -#define GLX_VERSION_1_3 1 -typedef XID GLXContextID; -typedef struct __GLXFBConfigRec *GLXFBConfig; -typedef XID GLXWindow; -typedef XID GLXPbuffer; -#define GLX_WINDOW_BIT 0x00000001 -#define GLX_PIXMAP_BIT 0x00000002 -#define GLX_PBUFFER_BIT 0x00000004 -#define GLX_RGBA_BIT 0x00000001 -#define GLX_COLOR_INDEX_BIT 0x00000002 -#define GLX_PBUFFER_CLOBBER_MASK 0x08000000 -#define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 -#define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 -#define GLX_BACK_LEFT_BUFFER_BIT 0x00000004 -#define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008 -#define GLX_AUX_BUFFERS_BIT 0x00000010 -#define GLX_DEPTH_BUFFER_BIT 0x00000020 -#define GLX_STENCIL_BUFFER_BIT 0x00000040 -#define GLX_ACCUM_BUFFER_BIT 0x00000080 -#define GLX_CONFIG_CAVEAT 0x20 -#define GLX_X_VISUAL_TYPE 0x22 -#define GLX_TRANSPARENT_TYPE 0x23 -#define GLX_TRANSPARENT_INDEX_VALUE 0x24 -#define GLX_TRANSPARENT_RED_VALUE 0x25 -#define GLX_TRANSPARENT_GREEN_VALUE 0x26 -#define GLX_TRANSPARENT_BLUE_VALUE 0x27 -#define GLX_TRANSPARENT_ALPHA_VALUE 0x28 -#define GLX_DONT_CARE 0xFFFFFFFF -#define GLX_NONE 0x8000 -#define GLX_SLOW_CONFIG 0x8001 -#define GLX_TRUE_COLOR 0x8002 -#define GLX_DIRECT_COLOR 0x8003 -#define GLX_PSEUDO_COLOR 0x8004 -#define GLX_STATIC_COLOR 0x8005 -#define GLX_GRAY_SCALE 0x8006 -#define GLX_STATIC_GRAY 0x8007 -#define GLX_TRANSPARENT_RGB 0x8008 -#define GLX_TRANSPARENT_INDEX 0x8009 -#define GLX_VISUAL_ID 0x800B -#define GLX_SCREEN 0x800C -#define GLX_NON_CONFORMANT_CONFIG 0x800D -#define GLX_DRAWABLE_TYPE 0x8010 -#define GLX_RENDER_TYPE 0x8011 -#define GLX_X_RENDERABLE 0x8012 -#define GLX_FBCONFIG_ID 0x8013 -#define GLX_RGBA_TYPE 0x8014 -#define GLX_COLOR_INDEX_TYPE 0x8015 -#define GLX_MAX_PBUFFER_WIDTH 0x8016 -#define GLX_MAX_PBUFFER_HEIGHT 0x8017 -#define GLX_MAX_PBUFFER_PIXELS 0x8018 -#define GLX_PRESERVED_CONTENTS 0x801B -#define GLX_LARGEST_PBUFFER 0x801C -#define GLX_WIDTH 0x801D -#define GLX_HEIGHT 0x801E -#define GLX_EVENT_MASK 0x801F -#define GLX_DAMAGED 0x8020 -#define GLX_SAVED 0x8021 -#define GLX_WINDOW 0x8022 -#define GLX_PBUFFER 0x8023 -#define GLX_PBUFFER_HEIGHT 0x8040 -#define GLX_PBUFFER_WIDTH 0x8041 -typedef GLXFBConfig *( *PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements); -typedef GLXFBConfig *( *PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements); -typedef int ( *PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value); -typedef XVisualInfo *( *PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config); -typedef GLXWindow ( *PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list); -typedef void ( *PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win); -typedef GLXPixmap ( *PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); -typedef void ( *PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap); -typedef GLXPbuffer ( *PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list); -typedef void ( *PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf); -typedef void ( *PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); -typedef GLXContext ( *PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); -typedef Bool ( *PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); -typedef GLXDrawable ( *PFNGLXGETCURRENTREADDRAWABLEPROC) (void); -typedef int ( *PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value); -typedef void ( *PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask); -typedef void ( *PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask); -#ifdef GLX_GLXEXT_PROTOTYPES -GLXFBConfig *glXGetFBConfigs (Display *dpy, int screen, int *nelements); -GLXFBConfig *glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements); -int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value); -XVisualInfo *glXGetVisualFromFBConfig (Display *dpy, GLXFBConfig config); -GLXWindow glXCreateWindow (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list); -void glXDestroyWindow (Display *dpy, GLXWindow win); -GLXPixmap glXCreatePixmap (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); -void glXDestroyPixmap (Display *dpy, GLXPixmap pixmap); -GLXPbuffer glXCreatePbuffer (Display *dpy, GLXFBConfig config, const int *attrib_list); -void glXDestroyPbuffer (Display *dpy, GLXPbuffer pbuf); -void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); -GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); -Bool glXMakeContextCurrent (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); -GLXDrawable glXGetCurrentReadDrawable (void); -int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value); -void glXSelectEvent (Display *dpy, GLXDrawable draw, unsigned long event_mask); -void glXGetSelectedEvent (Display *dpy, GLXDrawable draw, unsigned long *event_mask); -#endif -#endif /* GLX_VERSION_1_3 */ - -#ifndef GLX_VERSION_1_4 -#define GLX_VERSION_1_4 1 -typedef void ( *__GLXextFuncPtr)(void); -#define GLX_SAMPLE_BUFFERS 100000 -#define GLX_SAMPLES 100001 -typedef __GLXextFuncPtr ( *PFNGLXGETPROCADDRESSPROC) (const GLubyte *procName); -#ifdef GLX_GLXEXT_PROTOTYPES -__GLXextFuncPtr glXGetProcAddress (const GLubyte *procName); -#endif -#endif /* GLX_VERSION_1_4 */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/khronos/repository/api/GL/glxext.h b/khronos/repository/api/GL/glxext.h deleted file mode 100644 index e1826ca..0000000 --- a/khronos/repository/api/GL/glxext.h +++ /dev/null @@ -1,926 +0,0 @@ -#ifndef __glxext_h_ -#define __glxext_h_ 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2013-2015 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts -** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ -*/ - -#define GLX_GLXEXT_VERSION 20151103 - -/* Generated C header for: - * API: glx - * Versions considered: .* - * Versions emitted: 1\.[3-9] - * Default extensions included: glx - * Additional extensions included: _nomatch_^ - * Extensions removed: _nomatch_^ - */ - -#ifndef GLX_VERSION_1_3 -#define GLX_VERSION_1_3 1 -typedef XID GLXContextID; -typedef struct __GLXFBConfigRec *GLXFBConfig; -typedef XID GLXWindow; -typedef XID GLXPbuffer; -#define GLX_WINDOW_BIT 0x00000001 -#define GLX_PIXMAP_BIT 0x00000002 -#define GLX_PBUFFER_BIT 0x00000004 -#define GLX_RGBA_BIT 0x00000001 -#define GLX_COLOR_INDEX_BIT 0x00000002 -#define GLX_PBUFFER_CLOBBER_MASK 0x08000000 -#define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 -#define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 -#define GLX_BACK_LEFT_BUFFER_BIT 0x00000004 -#define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008 -#define GLX_AUX_BUFFERS_BIT 0x00000010 -#define GLX_DEPTH_BUFFER_BIT 0x00000020 -#define GLX_STENCIL_BUFFER_BIT 0x00000040 -#define GLX_ACCUM_BUFFER_BIT 0x00000080 -#define GLX_CONFIG_CAVEAT 0x20 -#define GLX_X_VISUAL_TYPE 0x22 -#define GLX_TRANSPARENT_TYPE 0x23 -#define GLX_TRANSPARENT_INDEX_VALUE 0x24 -#define GLX_TRANSPARENT_RED_VALUE 0x25 -#define GLX_TRANSPARENT_GREEN_VALUE 0x26 -#define GLX_TRANSPARENT_BLUE_VALUE 0x27 -#define GLX_TRANSPARENT_ALPHA_VALUE 0x28 -#define GLX_DONT_CARE 0xFFFFFFFF -#define GLX_NONE 0x8000 -#define GLX_SLOW_CONFIG 0x8001 -#define GLX_TRUE_COLOR 0x8002 -#define GLX_DIRECT_COLOR 0x8003 -#define GLX_PSEUDO_COLOR 0x8004 -#define GLX_STATIC_COLOR 0x8005 -#define GLX_GRAY_SCALE 0x8006 -#define GLX_STATIC_GRAY 0x8007 -#define GLX_TRANSPARENT_RGB 0x8008 -#define GLX_TRANSPARENT_INDEX 0x8009 -#define GLX_VISUAL_ID 0x800B -#define GLX_SCREEN 0x800C -#define GLX_NON_CONFORMANT_CONFIG 0x800D -#define GLX_DRAWABLE_TYPE 0x8010 -#define GLX_RENDER_TYPE 0x8011 -#define GLX_X_RENDERABLE 0x8012 -#define GLX_FBCONFIG_ID 0x8013 -#define GLX_RGBA_TYPE 0x8014 -#define GLX_COLOR_INDEX_TYPE 0x8015 -#define GLX_MAX_PBUFFER_WIDTH 0x8016 -#define GLX_MAX_PBUFFER_HEIGHT 0x8017 -#define GLX_MAX_PBUFFER_PIXELS 0x8018 -#define GLX_PRESERVED_CONTENTS 0x801B -#define GLX_LARGEST_PBUFFER 0x801C -#define GLX_WIDTH 0x801D -#define GLX_HEIGHT 0x801E -#define GLX_EVENT_MASK 0x801F -#define GLX_DAMAGED 0x8020 -#define GLX_SAVED 0x8021 -#define GLX_WINDOW 0x8022 -#define GLX_PBUFFER 0x8023 -#define GLX_PBUFFER_HEIGHT 0x8040 -#define GLX_PBUFFER_WIDTH 0x8041 -typedef GLXFBConfig *( *PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements); -typedef GLXFBConfig *( *PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements); -typedef int ( *PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value); -typedef XVisualInfo *( *PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config); -typedef GLXWindow ( *PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list); -typedef void ( *PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win); -typedef GLXPixmap ( *PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); -typedef void ( *PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap); -typedef GLXPbuffer ( *PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list); -typedef void ( *PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf); -typedef void ( *PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); -typedef GLXContext ( *PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); -typedef Bool ( *PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); -typedef GLXDrawable ( *PFNGLXGETCURRENTREADDRAWABLEPROC) (void); -typedef int ( *PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value); -typedef void ( *PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask); -typedef void ( *PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask); -#ifdef GLX_GLXEXT_PROTOTYPES -GLXFBConfig *glXGetFBConfigs (Display *dpy, int screen, int *nelements); -GLXFBConfig *glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements); -int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value); -XVisualInfo *glXGetVisualFromFBConfig (Display *dpy, GLXFBConfig config); -GLXWindow glXCreateWindow (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list); -void glXDestroyWindow (Display *dpy, GLXWindow win); -GLXPixmap glXCreatePixmap (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); -void glXDestroyPixmap (Display *dpy, GLXPixmap pixmap); -GLXPbuffer glXCreatePbuffer (Display *dpy, GLXFBConfig config, const int *attrib_list); -void glXDestroyPbuffer (Display *dpy, GLXPbuffer pbuf); -void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); -GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); -Bool glXMakeContextCurrent (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); -GLXDrawable glXGetCurrentReadDrawable (void); -int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value); -void glXSelectEvent (Display *dpy, GLXDrawable draw, unsigned long event_mask); -void glXGetSelectedEvent (Display *dpy, GLXDrawable draw, unsigned long *event_mask); -#endif -#endif /* GLX_VERSION_1_3 */ - -#ifndef GLX_VERSION_1_4 -#define GLX_VERSION_1_4 1 -typedef void ( *__GLXextFuncPtr)(void); -#define GLX_SAMPLE_BUFFERS 100000 -#define GLX_SAMPLES 100001 -typedef __GLXextFuncPtr ( *PFNGLXGETPROCADDRESSPROC) (const GLubyte *procName); -#ifdef GLX_GLXEXT_PROTOTYPES -__GLXextFuncPtr glXGetProcAddress (const GLubyte *procName); -#endif -#endif /* GLX_VERSION_1_4 */ - -#ifndef GLX_ARB_context_flush_control -#define GLX_ARB_context_flush_control 1 -#define GLX_CONTEXT_RELEASE_BEHAVIOR_ARB 0x2097 -#define GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB 0 -#define GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB 0x2098 -#endif /* GLX_ARB_context_flush_control */ - -#ifndef GLX_ARB_create_context -#define GLX_ARB_create_context 1 -#define GLX_CONTEXT_DEBUG_BIT_ARB 0x00000001 -#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 -#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091 -#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092 -#define GLX_CONTEXT_FLAGS_ARB 0x2094 -typedef GLXContext ( *PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list); -#ifdef GLX_GLXEXT_PROTOTYPES -GLXContext glXCreateContextAttribsARB (Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list); -#endif -#endif /* GLX_ARB_create_context */ - -#ifndef GLX_ARB_create_context_profile -#define GLX_ARB_create_context_profile 1 -#define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 -#define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 -#define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126 -#endif /* GLX_ARB_create_context_profile */ - -#ifndef GLX_ARB_create_context_robustness -#define GLX_ARB_create_context_robustness 1 -#define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 -#define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252 -#define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 -#define GLX_NO_RESET_NOTIFICATION_ARB 0x8261 -#endif /* GLX_ARB_create_context_robustness */ - -#ifndef GLX_ARB_fbconfig_float -#define GLX_ARB_fbconfig_float 1 -#define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9 -#define GLX_RGBA_FLOAT_BIT_ARB 0x00000004 -#endif /* GLX_ARB_fbconfig_float */ - -#ifndef GLX_ARB_framebuffer_sRGB -#define GLX_ARB_framebuffer_sRGB 1 -#define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2 -#endif /* GLX_ARB_framebuffer_sRGB */ - -#ifndef GLX_ARB_get_proc_address -#define GLX_ARB_get_proc_address 1 -typedef __GLXextFuncPtr ( *PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procName); -#ifdef GLX_GLXEXT_PROTOTYPES -__GLXextFuncPtr glXGetProcAddressARB (const GLubyte *procName); -#endif -#endif /* GLX_ARB_get_proc_address */ - -#ifndef GLX_ARB_multisample -#define GLX_ARB_multisample 1 -#define GLX_SAMPLE_BUFFERS_ARB 100000 -#define GLX_SAMPLES_ARB 100001 -#endif /* GLX_ARB_multisample */ - -#ifndef GLX_ARB_robustness_application_isolation -#define GLX_ARB_robustness_application_isolation 1 -#define GLX_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008 -#endif /* GLX_ARB_robustness_application_isolation */ - -#ifndef GLX_ARB_robustness_share_group_isolation -#define GLX_ARB_robustness_share_group_isolation 1 -#endif /* GLX_ARB_robustness_share_group_isolation */ - -#ifndef GLX_ARB_vertex_buffer_object -#define GLX_ARB_vertex_buffer_object 1 -#define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095 -#endif /* GLX_ARB_vertex_buffer_object */ - -#ifndef GLX_3DFX_multisample -#define GLX_3DFX_multisample 1 -#define GLX_SAMPLE_BUFFERS_3DFX 0x8050 -#define GLX_SAMPLES_3DFX 0x8051 -#endif /* GLX_3DFX_multisample */ - -#ifndef GLX_AMD_gpu_association -#define GLX_AMD_gpu_association 1 -#define GLX_GPU_VENDOR_AMD 0x1F00 -#define GLX_GPU_RENDERER_STRING_AMD 0x1F01 -#define GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 -#define GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 -#define GLX_GPU_RAM_AMD 0x21A3 -#define GLX_GPU_CLOCK_AMD 0x21A4 -#define GLX_GPU_NUM_PIPES_AMD 0x21A5 -#define GLX_GPU_NUM_SIMD_AMD 0x21A6 -#define GLX_GPU_NUM_RB_AMD 0x21A7 -#define GLX_GPU_NUM_SPI_AMD 0x21A8 -typedef unsigned int ( *PFNGLXGETGPUIDSAMDPROC) (unsigned int maxCount, unsigned int *ids); -typedef int ( *PFNGLXGETGPUINFOAMDPROC) (unsigned int id, int property, GLenum dataType, unsigned int size, void *data); -typedef unsigned int ( *PFNGLXGETCONTEXTGPUIDAMDPROC) (GLXContext ctx); -typedef GLXContext ( *PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC) (unsigned int id, GLXContext share_list); -typedef GLXContext ( *PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (unsigned int id, GLXContext share_context, const int *attribList); -typedef Bool ( *PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC) (GLXContext ctx); -typedef Bool ( *PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (GLXContext ctx); -typedef GLXContext ( *PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void); -typedef void ( *PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC) (GLXContext dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#ifdef GLX_GLXEXT_PROTOTYPES -unsigned int glXGetGPUIDsAMD (unsigned int maxCount, unsigned int *ids); -int glXGetGPUInfoAMD (unsigned int id, int property, GLenum dataType, unsigned int size, void *data); -unsigned int glXGetContextGPUIDAMD (GLXContext ctx); -GLXContext glXCreateAssociatedContextAMD (unsigned int id, GLXContext share_list); -GLXContext glXCreateAssociatedContextAttribsAMD (unsigned int id, GLXContext share_context, const int *attribList); -Bool glXDeleteAssociatedContextAMD (GLXContext ctx); -Bool glXMakeAssociatedContextCurrentAMD (GLXContext ctx); -GLXContext glXGetCurrentAssociatedContextAMD (void); -void glXBlitContextFramebufferAMD (GLXContext dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#endif -#endif /* GLX_AMD_gpu_association */ - -#ifndef GLX_EXT_buffer_age -#define GLX_EXT_buffer_age 1 -#define GLX_BACK_BUFFER_AGE_EXT 0x20F4 -#endif /* GLX_EXT_buffer_age */ - -#ifndef GLX_EXT_create_context_es2_profile -#define GLX_EXT_create_context_es2_profile 1 -#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 -#endif /* GLX_EXT_create_context_es2_profile */ - -#ifndef GLX_EXT_create_context_es_profile -#define GLX_EXT_create_context_es_profile 1 -#define GLX_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004 -#endif /* GLX_EXT_create_context_es_profile */ - -#ifndef GLX_EXT_fbconfig_packed_float -#define GLX_EXT_fbconfig_packed_float 1 -#define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1 -#define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008 -#endif /* GLX_EXT_fbconfig_packed_float */ - -#ifndef GLX_EXT_framebuffer_sRGB -#define GLX_EXT_framebuffer_sRGB 1 -#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2 -#endif /* GLX_EXT_framebuffer_sRGB */ - -#ifndef GLX_EXT_import_context -#define GLX_EXT_import_context 1 -#define GLX_SHARE_CONTEXT_EXT 0x800A -#define GLX_VISUAL_ID_EXT 0x800B -#define GLX_SCREEN_EXT 0x800C -typedef Display *( *PFNGLXGETCURRENTDISPLAYEXTPROC) (void); -typedef int ( *PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value); -typedef GLXContextID ( *PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context); -typedef GLXContext ( *PFNGLXIMPORTCONTEXTEXTPROC) (Display *dpy, GLXContextID contextID); -typedef void ( *PFNGLXFREECONTEXTEXTPROC) (Display *dpy, GLXContext context); -#ifdef GLX_GLXEXT_PROTOTYPES -Display *glXGetCurrentDisplayEXT (void); -int glXQueryContextInfoEXT (Display *dpy, GLXContext context, int attribute, int *value); -GLXContextID glXGetContextIDEXT (const GLXContext context); -GLXContext glXImportContextEXT (Display *dpy, GLXContextID contextID); -void glXFreeContextEXT (Display *dpy, GLXContext context); -#endif -#endif /* GLX_EXT_import_context */ - -#ifndef GLX_EXT_stereo_tree -#define GLX_EXT_stereo_tree 1 -typedef struct { - int type; - unsigned long serial; - Bool send_event; - Display *display; - int extension; - int evtype; - GLXDrawable window; - Bool stereo_tree; -} GLXStereoNotifyEventEXT; -#define GLX_STEREO_TREE_EXT 0x20F5 -#define GLX_STEREO_NOTIFY_MASK_EXT 0x00000001 -#define GLX_STEREO_NOTIFY_EXT 0x00000000 -#endif /* GLX_EXT_stereo_tree */ - -#ifndef GLX_EXT_swap_control -#define GLX_EXT_swap_control 1 -#define GLX_SWAP_INTERVAL_EXT 0x20F1 -#define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2 -typedef void ( *PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval); -#ifdef GLX_GLXEXT_PROTOTYPES -void glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval); -#endif -#endif /* GLX_EXT_swap_control */ - -#ifndef GLX_EXT_swap_control_tear -#define GLX_EXT_swap_control_tear 1 -#define GLX_LATE_SWAPS_TEAR_EXT 0x20F3 -#endif /* GLX_EXT_swap_control_tear */ - -#ifndef GLX_EXT_texture_from_pixmap -#define GLX_EXT_texture_from_pixmap 1 -#define GLX_TEXTURE_1D_BIT_EXT 0x00000001 -#define GLX_TEXTURE_2D_BIT_EXT 0x00000002 -#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004 -#define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0 -#define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1 -#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2 -#define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3 -#define GLX_Y_INVERTED_EXT 0x20D4 -#define GLX_TEXTURE_FORMAT_EXT 0x20D5 -#define GLX_TEXTURE_TARGET_EXT 0x20D6 -#define GLX_MIPMAP_TEXTURE_EXT 0x20D7 -#define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8 -#define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9 -#define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA -#define GLX_TEXTURE_1D_EXT 0x20DB -#define GLX_TEXTURE_2D_EXT 0x20DC -#define GLX_TEXTURE_RECTANGLE_EXT 0x20DD -#define GLX_FRONT_LEFT_EXT 0x20DE -#define GLX_FRONT_RIGHT_EXT 0x20DF -#define GLX_BACK_LEFT_EXT 0x20E0 -#define GLX_BACK_RIGHT_EXT 0x20E1 -#define GLX_FRONT_EXT 0x20DE -#define GLX_BACK_EXT 0x20E0 -#define GLX_AUX0_EXT 0x20E2 -#define GLX_AUX1_EXT 0x20E3 -#define GLX_AUX2_EXT 0x20E4 -#define GLX_AUX3_EXT 0x20E5 -#define GLX_AUX4_EXT 0x20E6 -#define GLX_AUX5_EXT 0x20E7 -#define GLX_AUX6_EXT 0x20E8 -#define GLX_AUX7_EXT 0x20E9 -#define GLX_AUX8_EXT 0x20EA -#define GLX_AUX9_EXT 0x20EB -typedef void ( *PFNGLXBINDTEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list); -typedef void ( *PFNGLXRELEASETEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer); -#ifdef GLX_GLXEXT_PROTOTYPES -void glXBindTexImageEXT (Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list); -void glXReleaseTexImageEXT (Display *dpy, GLXDrawable drawable, int buffer); -#endif -#endif /* GLX_EXT_texture_from_pixmap */ - -#ifndef GLX_EXT_visual_info -#define GLX_EXT_visual_info 1 -#define GLX_X_VISUAL_TYPE_EXT 0x22 -#define GLX_TRANSPARENT_TYPE_EXT 0x23 -#define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 -#define GLX_TRANSPARENT_RED_VALUE_EXT 0x25 -#define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26 -#define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27 -#define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28 -#define GLX_NONE_EXT 0x8000 -#define GLX_TRUE_COLOR_EXT 0x8002 -#define GLX_DIRECT_COLOR_EXT 0x8003 -#define GLX_PSEUDO_COLOR_EXT 0x8004 -#define GLX_STATIC_COLOR_EXT 0x8005 -#define GLX_GRAY_SCALE_EXT 0x8006 -#define GLX_STATIC_GRAY_EXT 0x8007 -#define GLX_TRANSPARENT_RGB_EXT 0x8008 -#define GLX_TRANSPARENT_INDEX_EXT 0x8009 -#endif /* GLX_EXT_visual_info */ - -#ifndef GLX_EXT_visual_rating -#define GLX_EXT_visual_rating 1 -#define GLX_VISUAL_CAVEAT_EXT 0x20 -#define GLX_SLOW_VISUAL_EXT 0x8001 -#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D -#endif /* GLX_EXT_visual_rating */ - -#ifndef GLX_INTEL_swap_event -#define GLX_INTEL_swap_event 1 -#define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000 -#define GLX_EXCHANGE_COMPLETE_INTEL 0x8180 -#define GLX_COPY_COMPLETE_INTEL 0x8181 -#define GLX_FLIP_COMPLETE_INTEL 0x8182 -#endif /* GLX_INTEL_swap_event */ - -#ifndef GLX_MESA_agp_offset -#define GLX_MESA_agp_offset 1 -typedef unsigned int ( *PFNGLXGETAGPOFFSETMESAPROC) (const void *pointer); -#ifdef GLX_GLXEXT_PROTOTYPES -unsigned int glXGetAGPOffsetMESA (const void *pointer); -#endif -#endif /* GLX_MESA_agp_offset */ - -#ifndef GLX_MESA_copy_sub_buffer -#define GLX_MESA_copy_sub_buffer 1 -typedef void ( *PFNGLXCOPYSUBBUFFERMESAPROC) (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height); -#ifdef GLX_GLXEXT_PROTOTYPES -void glXCopySubBufferMESA (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height); -#endif -#endif /* GLX_MESA_copy_sub_buffer */ - -#ifndef GLX_MESA_pixmap_colormap -#define GLX_MESA_pixmap_colormap 1 -typedef GLXPixmap ( *PFNGLXCREATEGLXPIXMAPMESAPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap); -#ifdef GLX_GLXEXT_PROTOTYPES -GLXPixmap glXCreateGLXPixmapMESA (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap); -#endif -#endif /* GLX_MESA_pixmap_colormap */ - -#ifndef GLX_MESA_query_renderer -#define GLX_MESA_query_renderer 1 -#define GLX_RENDERER_VENDOR_ID_MESA 0x8183 -#define GLX_RENDERER_DEVICE_ID_MESA 0x8184 -#define GLX_RENDERER_VERSION_MESA 0x8185 -#define GLX_RENDERER_ACCELERATED_MESA 0x8186 -#define GLX_RENDERER_VIDEO_MEMORY_MESA 0x8187 -#define GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA 0x8188 -#define GLX_RENDERER_PREFERRED_PROFILE_MESA 0x8189 -#define GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA 0x818A -#define GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA 0x818B -#define GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA 0x818C -#define GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA 0x818D -#define GLX_RENDERER_ID_MESA 0x818E -typedef Bool ( *PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC) (int attribute, unsigned int *value); -typedef const char *( *PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC) (int attribute); -typedef Bool ( *PFNGLXQUERYRENDERERINTEGERMESAPROC) (Display *dpy, int screen, int renderer, int attribute, unsigned int *value); -typedef const char *( *PFNGLXQUERYRENDERERSTRINGMESAPROC) (Display *dpy, int screen, int renderer, int attribute); -#ifdef GLX_GLXEXT_PROTOTYPES -Bool glXQueryCurrentRendererIntegerMESA (int attribute, unsigned int *value); -const char *glXQueryCurrentRendererStringMESA (int attribute); -Bool glXQueryRendererIntegerMESA (Display *dpy, int screen, int renderer, int attribute, unsigned int *value); -const char *glXQueryRendererStringMESA (Display *dpy, int screen, int renderer, int attribute); -#endif -#endif /* GLX_MESA_query_renderer */ - -#ifndef GLX_MESA_release_buffers -#define GLX_MESA_release_buffers 1 -typedef Bool ( *PFNGLXRELEASEBUFFERSMESAPROC) (Display *dpy, GLXDrawable drawable); -#ifdef GLX_GLXEXT_PROTOTYPES -Bool glXReleaseBuffersMESA (Display *dpy, GLXDrawable drawable); -#endif -#endif /* GLX_MESA_release_buffers */ - -#ifndef GLX_MESA_set_3dfx_mode -#define GLX_MESA_set_3dfx_mode 1 -#define GLX_3DFX_WINDOW_MODE_MESA 0x1 -#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2 -typedef Bool ( *PFNGLXSET3DFXMODEMESAPROC) (int mode); -#ifdef GLX_GLXEXT_PROTOTYPES -Bool glXSet3DfxModeMESA (int mode); -#endif -#endif /* GLX_MESA_set_3dfx_mode */ - -#ifndef GLX_NV_copy_buffer -#define GLX_NV_copy_buffer 1 -typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -typedef void ( *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -#ifdef GLX_GLXEXT_PROTOTYPES -void glXCopyBufferSubDataNV (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -void glXNamedCopyBufferSubDataNV (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -#endif -#endif /* GLX_NV_copy_buffer */ - -#ifndef GLX_NV_copy_image -#define GLX_NV_copy_image 1 -typedef void ( *PFNGLXCOPYIMAGESUBDATANVPROC) (Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); -#ifdef GLX_GLXEXT_PROTOTYPES -void glXCopyImageSubDataNV (Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); -#endif -#endif /* GLX_NV_copy_image */ - -#ifndef GLX_NV_delay_before_swap -#define GLX_NV_delay_before_swap 1 -typedef Bool ( *PFNGLXDELAYBEFORESWAPNVPROC) (Display *dpy, GLXDrawable drawable, GLfloat seconds); -#ifdef GLX_GLXEXT_PROTOTYPES -Bool glXDelayBeforeSwapNV (Display *dpy, GLXDrawable drawable, GLfloat seconds); -#endif -#endif /* GLX_NV_delay_before_swap */ - -#ifndef GLX_NV_float_buffer -#define GLX_NV_float_buffer 1 -#define GLX_FLOAT_COMPONENTS_NV 0x20B0 -#endif /* GLX_NV_float_buffer */ - -#ifndef GLX_NV_multisample_coverage -#define GLX_NV_multisample_coverage 1 -#define GLX_COVERAGE_SAMPLES_NV 100001 -#define GLX_COLOR_SAMPLES_NV 0x20B3 -#endif /* GLX_NV_multisample_coverage */ - -#ifndef GLX_NV_present_video -#define GLX_NV_present_video 1 -#define GLX_NUM_VIDEO_SLOTS_NV 0x20F0 -typedef unsigned int *( *PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements); -typedef int ( *PFNGLXBINDVIDEODEVICENVPROC) (Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list); -#ifdef GLX_GLXEXT_PROTOTYPES -unsigned int *glXEnumerateVideoDevicesNV (Display *dpy, int screen, int *nelements); -int glXBindVideoDeviceNV (Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list); -#endif -#endif /* GLX_NV_present_video */ - -#ifndef GLX_NV_swap_group -#define GLX_NV_swap_group 1 -typedef Bool ( *PFNGLXJOINSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable, GLuint group); -typedef Bool ( *PFNGLXBINDSWAPBARRIERNVPROC) (Display *dpy, GLuint group, GLuint barrier); -typedef Bool ( *PFNGLXQUERYSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier); -typedef Bool ( *PFNGLXQUERYMAXSWAPGROUPSNVPROC) (Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers); -typedef Bool ( *PFNGLXQUERYFRAMECOUNTNVPROC) (Display *dpy, int screen, GLuint *count); -typedef Bool ( *PFNGLXRESETFRAMECOUNTNVPROC) (Display *dpy, int screen); -#ifdef GLX_GLXEXT_PROTOTYPES -Bool glXJoinSwapGroupNV (Display *dpy, GLXDrawable drawable, GLuint group); -Bool glXBindSwapBarrierNV (Display *dpy, GLuint group, GLuint barrier); -Bool glXQuerySwapGroupNV (Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier); -Bool glXQueryMaxSwapGroupsNV (Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers); -Bool glXQueryFrameCountNV (Display *dpy, int screen, GLuint *count); -Bool glXResetFrameCountNV (Display *dpy, int screen); -#endif -#endif /* GLX_NV_swap_group */ - -#ifndef GLX_NV_video_capture -#define GLX_NV_video_capture 1 -typedef XID GLXVideoCaptureDeviceNV; -#define GLX_DEVICE_ID_NV 0x20CD -#define GLX_UNIQUE_ID_NV 0x20CE -#define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF -typedef int ( *PFNGLXBINDVIDEOCAPTUREDEVICENVPROC) (Display *dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device); -typedef GLXVideoCaptureDeviceNV *( *PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display *dpy, int screen, int *nelements); -typedef void ( *PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCaptureDeviceNV device); -typedef int ( *PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value); -typedef void ( *PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCaptureDeviceNV device); -#ifdef GLX_GLXEXT_PROTOTYPES -int glXBindVideoCaptureDeviceNV (Display *dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device); -GLXVideoCaptureDeviceNV *glXEnumerateVideoCaptureDevicesNV (Display *dpy, int screen, int *nelements); -void glXLockVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV device); -int glXQueryVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value); -void glXReleaseVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV device); -#endif -#endif /* GLX_NV_video_capture */ - -#ifndef GLX_NV_video_out -#define GLX_NV_video_out 1 -typedef unsigned int GLXVideoDeviceNV; -#define GLX_VIDEO_OUT_COLOR_NV 0x20C3 -#define GLX_VIDEO_OUT_ALPHA_NV 0x20C4 -#define GLX_VIDEO_OUT_DEPTH_NV 0x20C5 -#define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 -#define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 -#define GLX_VIDEO_OUT_FRAME_NV 0x20C8 -#define GLX_VIDEO_OUT_FIELD_1_NV 0x20C9 -#define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA -#define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB -#define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC -typedef int ( *PFNGLXGETVIDEODEVICENVPROC) (Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice); -typedef int ( *PFNGLXRELEASEVIDEODEVICENVPROC) (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice); -typedef int ( *PFNGLXBINDVIDEOIMAGENVPROC) (Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer); -typedef int ( *PFNGLXRELEASEVIDEOIMAGENVPROC) (Display *dpy, GLXPbuffer pbuf); -typedef int ( *PFNGLXSENDPBUFFERTOVIDEONVPROC) (Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock); -typedef int ( *PFNGLXGETVIDEOINFONVPROC) (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); -#ifdef GLX_GLXEXT_PROTOTYPES -int glXGetVideoDeviceNV (Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice); -int glXReleaseVideoDeviceNV (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice); -int glXBindVideoImageNV (Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer); -int glXReleaseVideoImageNV (Display *dpy, GLXPbuffer pbuf); -int glXSendPbufferToVideoNV (Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock); -int glXGetVideoInfoNV (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); -#endif -#endif /* GLX_NV_video_out */ - -#ifndef GLX_OML_swap_method -#define GLX_OML_swap_method 1 -#define GLX_SWAP_METHOD_OML 0x8060 -#define GLX_SWAP_EXCHANGE_OML 0x8061 -#define GLX_SWAP_COPY_OML 0x8062 -#define GLX_SWAP_UNDEFINED_OML 0x8063 -#endif /* GLX_OML_swap_method */ - -#ifndef GLX_OML_sync_control -#define GLX_OML_sync_control 1 -#ifndef GLEXT_64_TYPES_DEFINED -/* This code block is duplicated in glext.h, so must be protected */ -#define GLEXT_64_TYPES_DEFINED -/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ -/* (as used in the GLX_OML_sync_control extension). */ -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -#include -#elif defined(__sun__) || defined(__digital__) -#include -#if defined(__STDC__) -#if defined(__arch64__) || defined(_LP64) -typedef long int int64_t; -typedef unsigned long int uint64_t; -#else -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#endif /* __arch64__ */ -#endif /* __STDC__ */ -#elif defined( __VMS ) || defined(__sgi) -#include -#elif defined(__SCO__) || defined(__USLC__) -#include -#elif defined(__UNIXOS2__) || defined(__SOL64__) -typedef long int int32_t; -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#elif defined(_WIN32) && defined(__GNUC__) -#include -#elif defined(_WIN32) -typedef __int32 int32_t; -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -#else -/* Fallback if nothing above works */ -#include -#endif -#endif -typedef Bool ( *PFNGLXGETSYNCVALUESOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc); -typedef Bool ( *PFNGLXGETMSCRATEOMLPROC) (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator); -typedef int64_t ( *PFNGLXSWAPBUFFERSMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder); -typedef Bool ( *PFNGLXWAITFORMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc); -typedef Bool ( *PFNGLXWAITFORSBCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc); -#ifdef GLX_GLXEXT_PROTOTYPES -Bool glXGetSyncValuesOML (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc); -Bool glXGetMscRateOML (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator); -int64_t glXSwapBuffersMscOML (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder); -Bool glXWaitForMscOML (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc); -Bool glXWaitForSbcOML (Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc); -#endif -#endif /* GLX_OML_sync_control */ - -#ifndef GLX_SGIS_blended_overlay -#define GLX_SGIS_blended_overlay 1 -#define GLX_BLENDED_RGBA_SGIS 0x8025 -#endif /* GLX_SGIS_blended_overlay */ - -#ifndef GLX_SGIS_multisample -#define GLX_SGIS_multisample 1 -#define GLX_SAMPLE_BUFFERS_SGIS 100000 -#define GLX_SAMPLES_SGIS 100001 -#endif /* GLX_SGIS_multisample */ - -#ifndef GLX_SGIS_shared_multisample -#define GLX_SGIS_shared_multisample 1 -#define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026 -#define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027 -#endif /* GLX_SGIS_shared_multisample */ - -#ifndef GLX_SGIX_dmbuffer -#define GLX_SGIX_dmbuffer 1 -typedef XID GLXPbufferSGIX; -#ifdef _DM_BUFFER_H_ -#define GLX_DIGITAL_MEDIA_PBUFFER_SGIX 0x8024 -typedef Bool ( *PFNGLXASSOCIATEDMPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer); -#ifdef GLX_GLXEXT_PROTOTYPES -Bool glXAssociateDMPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer); -#endif -#endif /* _DM_BUFFER_H_ */ -#endif /* GLX_SGIX_dmbuffer */ - -#ifndef GLX_SGIX_fbconfig -#define GLX_SGIX_fbconfig 1 -typedef struct __GLXFBConfigRec *GLXFBConfigSGIX; -#define GLX_WINDOW_BIT_SGIX 0x00000001 -#define GLX_PIXMAP_BIT_SGIX 0x00000002 -#define GLX_RGBA_BIT_SGIX 0x00000001 -#define GLX_COLOR_INDEX_BIT_SGIX 0x00000002 -#define GLX_DRAWABLE_TYPE_SGIX 0x8010 -#define GLX_RENDER_TYPE_SGIX 0x8011 -#define GLX_X_RENDERABLE_SGIX 0x8012 -#define GLX_FBCONFIG_ID_SGIX 0x8013 -#define GLX_RGBA_TYPE_SGIX 0x8014 -#define GLX_COLOR_INDEX_TYPE_SGIX 0x8015 -typedef int ( *PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value); -typedef GLXFBConfigSGIX *( *PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements); -typedef GLXPixmap ( *PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap); -typedef GLXContext ( *PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct); -typedef XVisualInfo *( *PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config); -typedef GLXFBConfigSGIX ( *PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display *dpy, XVisualInfo *vis); -#ifdef GLX_GLXEXT_PROTOTYPES -int glXGetFBConfigAttribSGIX (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value); -GLXFBConfigSGIX *glXChooseFBConfigSGIX (Display *dpy, int screen, int *attrib_list, int *nelements); -GLXPixmap glXCreateGLXPixmapWithConfigSGIX (Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap); -GLXContext glXCreateContextWithConfigSGIX (Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct); -XVisualInfo *glXGetVisualFromFBConfigSGIX (Display *dpy, GLXFBConfigSGIX config); -GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX (Display *dpy, XVisualInfo *vis); -#endif -#endif /* GLX_SGIX_fbconfig */ - -#ifndef GLX_SGIX_hyperpipe -#define GLX_SGIX_hyperpipe 1 -typedef struct { - char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */ - int networkId; -} GLXHyperpipeNetworkSGIX; -typedef struct { - char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */ - int channel; - unsigned int participationType; - int timeSlice; -} GLXHyperpipeConfigSGIX; -typedef struct { - char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */ - int srcXOrigin, srcYOrigin, srcWidth, srcHeight; - int destXOrigin, destYOrigin, destWidth, destHeight; -} GLXPipeRect; -typedef struct { - char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */ - int XOrigin, YOrigin, maxHeight, maxWidth; -} GLXPipeRectLimits; -#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80 -#define GLX_BAD_HYPERPIPE_CONFIG_SGIX 91 -#define GLX_BAD_HYPERPIPE_SGIX 92 -#define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001 -#define GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002 -#define GLX_PIPE_RECT_SGIX 0x00000001 -#define GLX_PIPE_RECT_LIMITS_SGIX 0x00000002 -#define GLX_HYPERPIPE_STEREO_SGIX 0x00000003 -#define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004 -#define GLX_HYPERPIPE_ID_SGIX 0x8030 -typedef GLXHyperpipeNetworkSGIX *( *PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Display *dpy, int *npipes); -typedef int ( *PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId); -typedef GLXHyperpipeConfigSGIX *( *PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId, int *npipes); -typedef int ( *PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId); -typedef int ( *PFNGLXBINDHYPERPIPESGIXPROC) (Display *dpy, int hpId); -typedef int ( *PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList); -typedef int ( *PFNGLXHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList); -typedef int ( *PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList); -#ifdef GLX_GLXEXT_PROTOTYPES -GLXHyperpipeNetworkSGIX *glXQueryHyperpipeNetworkSGIX (Display *dpy, int *npipes); -int glXHyperpipeConfigSGIX (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId); -GLXHyperpipeConfigSGIX *glXQueryHyperpipeConfigSGIX (Display *dpy, int hpId, int *npipes); -int glXDestroyHyperpipeConfigSGIX (Display *dpy, int hpId); -int glXBindHyperpipeSGIX (Display *dpy, int hpId); -int glXQueryHyperpipeBestAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList); -int glXHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList); -int glXQueryHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList); -#endif -#endif /* GLX_SGIX_hyperpipe */ - -#ifndef GLX_SGIX_pbuffer -#define GLX_SGIX_pbuffer 1 -#define GLX_PBUFFER_BIT_SGIX 0x00000004 -#define GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000 -#define GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001 -#define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002 -#define GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004 -#define GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008 -#define GLX_AUX_BUFFERS_BIT_SGIX 0x00000010 -#define GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020 -#define GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040 -#define GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080 -#define GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100 -#define GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016 -#define GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017 -#define GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018 -#define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019 -#define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A -#define GLX_PRESERVED_CONTENTS_SGIX 0x801B -#define GLX_LARGEST_PBUFFER_SGIX 0x801C -#define GLX_WIDTH_SGIX 0x801D -#define GLX_HEIGHT_SGIX 0x801E -#define GLX_EVENT_MASK_SGIX 0x801F -#define GLX_DAMAGED_SGIX 0x8020 -#define GLX_SAVED_SGIX 0x8021 -#define GLX_WINDOW_SGIX 0x8022 -#define GLX_PBUFFER_SGIX 0x8023 -typedef GLXPbufferSGIX ( *PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list); -typedef void ( *PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf); -typedef int ( *PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value); -typedef void ( *PFNGLXSELECTEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long mask); -typedef void ( *PFNGLXGETSELECTEDEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long *mask); -#ifdef GLX_GLXEXT_PROTOTYPES -GLXPbufferSGIX glXCreateGLXPbufferSGIX (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list); -void glXDestroyGLXPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuf); -int glXQueryGLXPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value); -void glXSelectEventSGIX (Display *dpy, GLXDrawable drawable, unsigned long mask); -void glXGetSelectedEventSGIX (Display *dpy, GLXDrawable drawable, unsigned long *mask); -#endif -#endif /* GLX_SGIX_pbuffer */ - -#ifndef GLX_SGIX_swap_barrier -#define GLX_SGIX_swap_barrier 1 -typedef void ( *PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier); -typedef Bool ( *PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max); -#ifdef GLX_GLXEXT_PROTOTYPES -void glXBindSwapBarrierSGIX (Display *dpy, GLXDrawable drawable, int barrier); -Bool glXQueryMaxSwapBarriersSGIX (Display *dpy, int screen, int *max); -#endif -#endif /* GLX_SGIX_swap_barrier */ - -#ifndef GLX_SGIX_swap_group -#define GLX_SGIX_swap_group 1 -typedef void ( *PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member); -#ifdef GLX_GLXEXT_PROTOTYPES -void glXJoinSwapGroupSGIX (Display *dpy, GLXDrawable drawable, GLXDrawable member); -#endif -#endif /* GLX_SGIX_swap_group */ - -#ifndef GLX_SGIX_video_resize -#define GLX_SGIX_video_resize 1 -#define GLX_SYNC_FRAME_SGIX 0x00000000 -#define GLX_SYNC_SWAP_SGIX 0x00000001 -typedef int ( *PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display *display, int screen, int channel, Window window); -typedef int ( *PFNGLXCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int x, int y, int w, int h); -typedef int ( *PFNGLXQUERYCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh); -typedef int ( *PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display *display, int screen, int channel, int *x, int *y, int *w, int *h); -typedef int ( *PFNGLXCHANNELRECTSYNCSGIXPROC) (Display *display, int screen, int channel, GLenum synctype); -#ifdef GLX_GLXEXT_PROTOTYPES -int glXBindChannelToWindowSGIX (Display *display, int screen, int channel, Window window); -int glXChannelRectSGIX (Display *display, int screen, int channel, int x, int y, int w, int h); -int glXQueryChannelRectSGIX (Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh); -int glXQueryChannelDeltasSGIX (Display *display, int screen, int channel, int *x, int *y, int *w, int *h); -int glXChannelRectSyncSGIX (Display *display, int screen, int channel, GLenum synctype); -#endif -#endif /* GLX_SGIX_video_resize */ - -#ifndef GLX_SGIX_video_source -#define GLX_SGIX_video_source 1 -typedef XID GLXVideoSourceSGIX; -#ifdef _VL_H -typedef GLXVideoSourceSGIX ( *PFNGLXCREATEGLXVIDEOSOURCESGIXPROC) (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode); -typedef void ( *PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC) (Display *dpy, GLXVideoSourceSGIX glxvideosource); -#ifdef GLX_GLXEXT_PROTOTYPES -GLXVideoSourceSGIX glXCreateGLXVideoSourceSGIX (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode); -void glXDestroyGLXVideoSourceSGIX (Display *dpy, GLXVideoSourceSGIX glxvideosource); -#endif -#endif /* _VL_H */ -#endif /* GLX_SGIX_video_source */ - -#ifndef GLX_SGIX_visual_select_group -#define GLX_SGIX_visual_select_group 1 -#define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028 -#endif /* GLX_SGIX_visual_select_group */ - -#ifndef GLX_SGI_cushion -#define GLX_SGI_cushion 1 -typedef void ( *PFNGLXCUSHIONSGIPROC) (Display *dpy, Window window, float cushion); -#ifdef GLX_GLXEXT_PROTOTYPES -void glXCushionSGI (Display *dpy, Window window, float cushion); -#endif -#endif /* GLX_SGI_cushion */ - -#ifndef GLX_SGI_make_current_read -#define GLX_SGI_make_current_read 1 -typedef Bool ( *PFNGLXMAKECURRENTREADSGIPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); -typedef GLXDrawable ( *PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void); -#ifdef GLX_GLXEXT_PROTOTYPES -Bool glXMakeCurrentReadSGI (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); -GLXDrawable glXGetCurrentReadDrawableSGI (void); -#endif -#endif /* GLX_SGI_make_current_read */ - -#ifndef GLX_SGI_swap_control -#define GLX_SGI_swap_control 1 -typedef int ( *PFNGLXSWAPINTERVALSGIPROC) (int interval); -#ifdef GLX_GLXEXT_PROTOTYPES -int glXSwapIntervalSGI (int interval); -#endif -#endif /* GLX_SGI_swap_control */ - -#ifndef GLX_SGI_video_sync -#define GLX_SGI_video_sync 1 -typedef int ( *PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int *count); -typedef int ( *PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int *count); -#ifdef GLX_GLXEXT_PROTOTYPES -int glXGetVideoSyncSGI (unsigned int *count); -int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int *count); -#endif -#endif /* GLX_SGI_video_sync */ - -#ifndef GLX_SUN_get_transparent_index -#define GLX_SUN_get_transparent_index 1 -typedef Status ( *PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex); -#ifdef GLX_GLXEXT_PROTOTYPES -Status glXGetTransparentIndexSUN (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex); -#endif -#endif /* GLX_SUN_get_transparent_index */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/khronos/repository/api/GL/wgl.h b/khronos/repository/api/GL/wgl.h deleted file mode 100644 index f2ba786..0000000 --- a/khronos/repository/api/GL/wgl.h +++ /dev/null @@ -1,931 +0,0 @@ -#ifndef __wgl_h_ -#define __wgl_h_ 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2013-2015 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts -** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ -*/ - -#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) -#define WIN32_LEAN_AND_MEAN 1 -#include -#endif - -/* Generated on date 20151103 */ - -/* Generated C header for: - * API: wgl - * Versions considered: .* - * Versions emitted: .* - * Default extensions included: wgl - * Additional extensions included: _nomatch_^ - * Extensions removed: _nomatch_^ - */ - -#ifndef WGL_VERSION_1_0 -#define WGL_VERSION_1_0 1 -#define WGL_FONT_LINES 0 -#define WGL_FONT_POLYGONS 1 -#define WGL_SWAP_MAIN_PLANE 0x00000001 -#define WGL_SWAP_OVERLAY1 0x00000002 -#define WGL_SWAP_OVERLAY2 0x00000004 -#define WGL_SWAP_OVERLAY3 0x00000008 -#define WGL_SWAP_OVERLAY4 0x00000010 -#define WGL_SWAP_OVERLAY5 0x00000020 -#define WGL_SWAP_OVERLAY6 0x00000040 -#define WGL_SWAP_OVERLAY7 0x00000080 -#define WGL_SWAP_OVERLAY8 0x00000100 -#define WGL_SWAP_OVERLAY9 0x00000200 -#define WGL_SWAP_OVERLAY10 0x00000400 -#define WGL_SWAP_OVERLAY11 0x00000800 -#define WGL_SWAP_OVERLAY12 0x00001000 -#define WGL_SWAP_OVERLAY13 0x00002000 -#define WGL_SWAP_OVERLAY14 0x00004000 -#define WGL_SWAP_OVERLAY15 0x00008000 -#define WGL_SWAP_UNDERLAY1 0x00010000 -#define WGL_SWAP_UNDERLAY2 0x00020000 -#define WGL_SWAP_UNDERLAY3 0x00040000 -#define WGL_SWAP_UNDERLAY4 0x00080000 -#define WGL_SWAP_UNDERLAY5 0x00100000 -#define WGL_SWAP_UNDERLAY6 0x00200000 -#define WGL_SWAP_UNDERLAY7 0x00400000 -#define WGL_SWAP_UNDERLAY8 0x00800000 -#define WGL_SWAP_UNDERLAY9 0x01000000 -#define WGL_SWAP_UNDERLAY10 0x02000000 -#define WGL_SWAP_UNDERLAY11 0x04000000 -#define WGL_SWAP_UNDERLAY12 0x08000000 -#define WGL_SWAP_UNDERLAY13 0x10000000 -#define WGL_SWAP_UNDERLAY14 0x20000000 -#define WGL_SWAP_UNDERLAY15 0x40000000 -typedef int (WINAPI * PFNCHOOSEPIXELFORMATPROC) (HDC hDc, const PIXELFORMATDESCRIPTOR *pPfd); -typedef int (WINAPI * PFNDESCRIBEPIXELFORMATPROC) (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMATDESCRIPTOR *ppfd); -typedef UINT (WINAPI * PFNGETENHMETAFILEPIXELFORMATPROC) (HENHMETAFILE hemf, const PIXELFORMATDESCRIPTOR *ppfd); -typedef int (WINAPI * PFNGETPIXELFORMATPROC) (HDC hdc); -typedef BOOL (WINAPI * PFNSETPIXELFORMATPROC) (HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd); -typedef BOOL (WINAPI * PFNSWAPBUFFERSPROC) (HDC hdc); -typedef BOOL (WINAPI * PFNWGLCOPYCONTEXTPROC) (HGLRC hglrcSrc, HGLRC hglrcDst, UINT mask); -typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTPROC) (HDC hDc); -typedef HGLRC (WINAPI * PFNWGLCREATELAYERCONTEXTPROC) (HDC hDc, int level); -typedef BOOL (WINAPI * PFNWGLDELETECONTEXTPROC) (HGLRC oldContext); -typedef BOOL (WINAPI * PFNWGLDESCRIBELAYERPLANEPROC) (HDC hDc, int pixelFormat, int layerPlane, UINT nBytes, const LAYERPLANEDESCRIPTOR *plpd); -typedef HGLRC (WINAPI * PFNWGLGETCURRENTCONTEXTPROC) (void); -typedef HDC (WINAPI * PFNWGLGETCURRENTDCPROC) (void); -typedef int (WINAPI * PFNWGLGETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int cEntries, const COLORREF *pcr); -typedef PROC (WINAPI * PFNWGLGETPROCADDRESSPROC) (LPCSTR lpszProc); -typedef BOOL (WINAPI * PFNWGLMAKECURRENTPROC) (HDC hDc, HGLRC newContext); -typedef BOOL (WINAPI * PFNWGLREALIZELAYERPALETTEPROC) (HDC hdc, int iLayerPlane, BOOL bRealize); -typedef int (WINAPI * PFNWGLSETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int cEntries, const COLORREF *pcr); -typedef BOOL (WINAPI * PFNWGLSHARELISTSPROC) (HGLRC hrcSrvShare, HGLRC hrcSrvSource); -typedef BOOL (WINAPI * PFNWGLSWAPLAYERBUFFERSPROC) (HDC hdc, UINT fuFlags); -typedef BOOL (WINAPI * PFNWGLUSEFONTBITMAPSPROC) (HDC hDC, DWORD first, DWORD count, DWORD listBase); -typedef BOOL (WINAPI * PFNWGLUSEFONTBITMAPSAPROC) (HDC hDC, DWORD first, DWORD count, DWORD listBase); -typedef BOOL (WINAPI * PFNWGLUSEFONTBITMAPSWPROC) (HDC hDC, DWORD first, DWORD count, DWORD listBase); -typedef BOOL (WINAPI * PFNWGLUSEFONTOUTLINESPROC) (HDC hDC, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf); -typedef BOOL (WINAPI * PFNWGLUSEFONTOUTLINESAPROC) (HDC hDC, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf); -typedef BOOL (WINAPI * PFNWGLUSEFONTOUTLINESWPROC) (HDC hDC, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf); -#ifdef WGL_WGLEXT_PROTOTYPES -int WINAPI ChoosePixelFormat (HDC hDc, const PIXELFORMATDESCRIPTOR *pPfd); -int WINAPI DescribePixelFormat (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMATDESCRIPTOR *ppfd); -UINT WINAPI GetEnhMetaFilePixelFormat (HENHMETAFILE hemf, const PIXELFORMATDESCRIPTOR *ppfd); -int WINAPI GetPixelFormat (HDC hdc); -BOOL WINAPI SetPixelFormat (HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd); -BOOL WINAPI SwapBuffers (HDC hdc); -BOOL WINAPI wglCopyContext (HGLRC hglrcSrc, HGLRC hglrcDst, UINT mask); -HGLRC WINAPI wglCreateContext (HDC hDc); -HGLRC WINAPI wglCreateLayerContext (HDC hDc, int level); -BOOL WINAPI wglDeleteContext (HGLRC oldContext); -BOOL WINAPI wglDescribeLayerPlane (HDC hDc, int pixelFormat, int layerPlane, UINT nBytes, const LAYERPLANEDESCRIPTOR *plpd); -HGLRC WINAPI wglGetCurrentContext (void); -HDC WINAPI wglGetCurrentDC (void); -int WINAPI wglGetLayerPaletteEntries (HDC hdc, int iLayerPlane, int iStart, int cEntries, const COLORREF *pcr); -PROC WINAPI wglGetProcAddress (LPCSTR lpszProc); -BOOL WINAPI wglMakeCurrent (HDC hDc, HGLRC newContext); -BOOL WINAPI wglRealizeLayerPalette (HDC hdc, int iLayerPlane, BOOL bRealize); -int WINAPI wglSetLayerPaletteEntries (HDC hdc, int iLayerPlane, int iStart, int cEntries, const COLORREF *pcr); -BOOL WINAPI wglShareLists (HGLRC hrcSrvShare, HGLRC hrcSrvSource); -BOOL WINAPI wglSwapLayerBuffers (HDC hdc, UINT fuFlags); -BOOL WINAPI wglUseFontBitmaps (HDC hDC, DWORD first, DWORD count, DWORD listBase); -BOOL WINAPI wglUseFontBitmapsA (HDC hDC, DWORD first, DWORD count, DWORD listBase); -BOOL WINAPI wglUseFontBitmapsW (HDC hDC, DWORD first, DWORD count, DWORD listBase); -BOOL WINAPI wglUseFontOutlines (HDC hDC, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf); -BOOL WINAPI wglUseFontOutlinesA (HDC hDC, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf); -BOOL WINAPI wglUseFontOutlinesW (HDC hDC, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf); -#endif -#endif /* WGL_VERSION_1_0 */ - -#ifndef WGL_ARB_buffer_region -#define WGL_ARB_buffer_region 1 -#define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 -#define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002 -#define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004 -#define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008 -typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType); -typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion); -typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height); -typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc); -#ifdef WGL_WGLEXT_PROTOTYPES -HANDLE WINAPI wglCreateBufferRegionARB (HDC hDC, int iLayerPlane, UINT uType); -VOID WINAPI wglDeleteBufferRegionARB (HANDLE hRegion); -BOOL WINAPI wglSaveBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height); -BOOL WINAPI wglRestoreBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc); -#endif -#endif /* WGL_ARB_buffer_region */ - -#ifndef WGL_ARB_context_flush_control -#define WGL_ARB_context_flush_control 1 -#define WGL_CONTEXT_RELEASE_BEHAVIOR_ARB 0x2097 -#define WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB 0 -#define WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB 0x2098 -#endif /* WGL_ARB_context_flush_control */ - -#ifndef WGL_ARB_create_context -#define WGL_ARB_create_context 1 -#define WGL_CONTEXT_DEBUG_BIT_ARB 0x00000001 -#define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 -#define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091 -#define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092 -#define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093 -#define WGL_CONTEXT_FLAGS_ARB 0x2094 -#define ERROR_INVALID_VERSION_ARB 0x2095 -typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int *attribList); -#ifdef WGL_WGLEXT_PROTOTYPES -HGLRC WINAPI wglCreateContextAttribsARB (HDC hDC, HGLRC hShareContext, const int *attribList); -#endif -#endif /* WGL_ARB_create_context */ - -#ifndef WGL_ARB_create_context_profile -#define WGL_ARB_create_context_profile 1 -#define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126 -#define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 -#define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 -#define ERROR_INVALID_PROFILE_ARB 0x2096 -#endif /* WGL_ARB_create_context_profile */ - -#ifndef WGL_ARB_create_context_robustness -#define WGL_ARB_create_context_robustness 1 -#define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 -#define WGL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 -#define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 -#define WGL_NO_RESET_NOTIFICATION_ARB 0x8261 -#endif /* WGL_ARB_create_context_robustness */ - -#ifndef WGL_ARB_extensions_string -#define WGL_ARB_extensions_string 1 -typedef const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc); -#ifdef WGL_WGLEXT_PROTOTYPES -const char *WINAPI wglGetExtensionsStringARB (HDC hdc); -#endif -#endif /* WGL_ARB_extensions_string */ - -#ifndef WGL_ARB_framebuffer_sRGB -#define WGL_ARB_framebuffer_sRGB 1 -#define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9 -#endif /* WGL_ARB_framebuffer_sRGB */ - -#ifndef WGL_ARB_make_current_read -#define WGL_ARB_make_current_read 1 -#define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043 -#define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054 -typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); -typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (void); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglMakeContextCurrentARB (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); -HDC WINAPI wglGetCurrentReadDCARB (void); -#endif -#endif /* WGL_ARB_make_current_read */ - -#ifndef WGL_ARB_multisample -#define WGL_ARB_multisample 1 -#define WGL_SAMPLE_BUFFERS_ARB 0x2041 -#define WGL_SAMPLES_ARB 0x2042 -#endif /* WGL_ARB_multisample */ - -#ifndef WGL_ARB_pbuffer -#define WGL_ARB_pbuffer 1 -DECLARE_HANDLE(HPBUFFERARB); -#define WGL_DRAW_TO_PBUFFER_ARB 0x202D -#define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E -#define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F -#define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030 -#define WGL_PBUFFER_LARGEST_ARB 0x2033 -#define WGL_PBUFFER_WIDTH_ARB 0x2034 -#define WGL_PBUFFER_HEIGHT_ARB 0x2035 -#define WGL_PBUFFER_LOST_ARB 0x2036 -typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); -typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer); -typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC); -typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer); -typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int *piValue); -#ifdef WGL_WGLEXT_PROTOTYPES -HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); -HDC WINAPI wglGetPbufferDCARB (HPBUFFERARB hPbuffer); -int WINAPI wglReleasePbufferDCARB (HPBUFFERARB hPbuffer, HDC hDC); -BOOL WINAPI wglDestroyPbufferARB (HPBUFFERARB hPbuffer); -BOOL WINAPI wglQueryPbufferARB (HPBUFFERARB hPbuffer, int iAttribute, int *piValue); -#endif -#endif /* WGL_ARB_pbuffer */ - -#ifndef WGL_ARB_pixel_format -#define WGL_ARB_pixel_format 1 -#define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000 -#define WGL_DRAW_TO_WINDOW_ARB 0x2001 -#define WGL_DRAW_TO_BITMAP_ARB 0x2002 -#define WGL_ACCELERATION_ARB 0x2003 -#define WGL_NEED_PALETTE_ARB 0x2004 -#define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005 -#define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006 -#define WGL_SWAP_METHOD_ARB 0x2007 -#define WGL_NUMBER_OVERLAYS_ARB 0x2008 -#define WGL_NUMBER_UNDERLAYS_ARB 0x2009 -#define WGL_TRANSPARENT_ARB 0x200A -#define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037 -#define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038 -#define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039 -#define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A -#define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B -#define WGL_SHARE_DEPTH_ARB 0x200C -#define WGL_SHARE_STENCIL_ARB 0x200D -#define WGL_SHARE_ACCUM_ARB 0x200E -#define WGL_SUPPORT_GDI_ARB 0x200F -#define WGL_SUPPORT_OPENGL_ARB 0x2010 -#define WGL_DOUBLE_BUFFER_ARB 0x2011 -#define WGL_STEREO_ARB 0x2012 -#define WGL_PIXEL_TYPE_ARB 0x2013 -#define WGL_COLOR_BITS_ARB 0x2014 -#define WGL_RED_BITS_ARB 0x2015 -#define WGL_RED_SHIFT_ARB 0x2016 -#define WGL_GREEN_BITS_ARB 0x2017 -#define WGL_GREEN_SHIFT_ARB 0x2018 -#define WGL_BLUE_BITS_ARB 0x2019 -#define WGL_BLUE_SHIFT_ARB 0x201A -#define WGL_ALPHA_BITS_ARB 0x201B -#define WGL_ALPHA_SHIFT_ARB 0x201C -#define WGL_ACCUM_BITS_ARB 0x201D -#define WGL_ACCUM_RED_BITS_ARB 0x201E -#define WGL_ACCUM_GREEN_BITS_ARB 0x201F -#define WGL_ACCUM_BLUE_BITS_ARB 0x2020 -#define WGL_ACCUM_ALPHA_BITS_ARB 0x2021 -#define WGL_DEPTH_BITS_ARB 0x2022 -#define WGL_STENCIL_BITS_ARB 0x2023 -#define WGL_AUX_BUFFERS_ARB 0x2024 -#define WGL_NO_ACCELERATION_ARB 0x2025 -#define WGL_GENERIC_ACCELERATION_ARB 0x2026 -#define WGL_FULL_ACCELERATION_ARB 0x2027 -#define WGL_SWAP_EXCHANGE_ARB 0x2028 -#define WGL_SWAP_COPY_ARB 0x2029 -#define WGL_SWAP_UNDEFINED_ARB 0x202A -#define WGL_TYPE_RGBA_ARB 0x202B -#define WGL_TYPE_COLORINDEX_ARB 0x202C -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues); -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues); -typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues); -BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues); -BOOL WINAPI wglChoosePixelFormatARB (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -#endif -#endif /* WGL_ARB_pixel_format */ - -#ifndef WGL_ARB_pixel_format_float -#define WGL_ARB_pixel_format_float 1 -#define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0 -#endif /* WGL_ARB_pixel_format_float */ - -#ifndef WGL_ARB_render_texture -#define WGL_ARB_render_texture 1 -#define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070 -#define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071 -#define WGL_TEXTURE_FORMAT_ARB 0x2072 -#define WGL_TEXTURE_TARGET_ARB 0x2073 -#define WGL_MIPMAP_TEXTURE_ARB 0x2074 -#define WGL_TEXTURE_RGB_ARB 0x2075 -#define WGL_TEXTURE_RGBA_ARB 0x2076 -#define WGL_NO_TEXTURE_ARB 0x2077 -#define WGL_TEXTURE_CUBE_MAP_ARB 0x2078 -#define WGL_TEXTURE_1D_ARB 0x2079 -#define WGL_TEXTURE_2D_ARB 0x207A -#define WGL_MIPMAP_LEVEL_ARB 0x207B -#define WGL_CUBE_MAP_FACE_ARB 0x207C -#define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D -#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E -#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F -#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080 -#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081 -#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082 -#define WGL_FRONT_LEFT_ARB 0x2083 -#define WGL_FRONT_RIGHT_ARB 0x2084 -#define WGL_BACK_LEFT_ARB 0x2085 -#define WGL_BACK_RIGHT_ARB 0x2086 -#define WGL_AUX0_ARB 0x2087 -#define WGL_AUX1_ARB 0x2088 -#define WGL_AUX2_ARB 0x2089 -#define WGL_AUX3_ARB 0x208A -#define WGL_AUX4_ARB 0x208B -#define WGL_AUX5_ARB 0x208C -#define WGL_AUX6_ARB 0x208D -#define WGL_AUX7_ARB 0x208E -#define WGL_AUX8_ARB 0x208F -#define WGL_AUX9_ARB 0x2090 -typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer); -typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer); -typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int *piAttribList); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglBindTexImageARB (HPBUFFERARB hPbuffer, int iBuffer); -BOOL WINAPI wglReleaseTexImageARB (HPBUFFERARB hPbuffer, int iBuffer); -BOOL WINAPI wglSetPbufferAttribARB (HPBUFFERARB hPbuffer, const int *piAttribList); -#endif -#endif /* WGL_ARB_render_texture */ - -#ifndef WGL_ARB_robustness_application_isolation -#define WGL_ARB_robustness_application_isolation 1 -#define WGL_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008 -#endif /* WGL_ARB_robustness_application_isolation */ - -#ifndef WGL_ARB_robustness_share_group_isolation -#define WGL_ARB_robustness_share_group_isolation 1 -#endif /* WGL_ARB_robustness_share_group_isolation */ - -#ifndef WGL_3DFX_multisample -#define WGL_3DFX_multisample 1 -#define WGL_SAMPLE_BUFFERS_3DFX 0x2060 -#define WGL_SAMPLES_3DFX 0x2061 -#endif /* WGL_3DFX_multisample */ - -#ifndef WGL_3DL_stereo_control -#define WGL_3DL_stereo_control 1 -#define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055 -#define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056 -#define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057 -#define WGL_STEREO_POLARITY_INVERT_3DL 0x2058 -typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglSetStereoEmitterState3DL (HDC hDC, UINT uState); -#endif -#endif /* WGL_3DL_stereo_control */ - -#ifndef WGL_AMD_gpu_association -#define WGL_AMD_gpu_association 1 -#define WGL_GPU_VENDOR_AMD 0x1F00 -#define WGL_GPU_RENDERER_STRING_AMD 0x1F01 -#define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 -#define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 -#define WGL_GPU_RAM_AMD 0x21A3 -#define WGL_GPU_CLOCK_AMD 0x21A4 -#define WGL_GPU_NUM_PIPES_AMD 0x21A5 -#define WGL_GPU_NUM_SIMD_AMD 0x21A6 -#define WGL_GPU_NUM_RB_AMD 0x21A7 -#define WGL_GPU_NUM_SPI_AMD 0x21A8 -typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT *ids); -typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, int property, GLenum dataType, UINT size, void *data); -typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc); -typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id); -typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, HGLRC hShareContext, const int *attribList); -typedef BOOL (WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC) (HGLRC hglrc); -typedef BOOL (WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (HGLRC hglrc); -typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void); -typedef VOID (WINAPI * PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC) (HGLRC dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#ifdef WGL_WGLEXT_PROTOTYPES -UINT WINAPI wglGetGPUIDsAMD (UINT maxCount, UINT *ids); -INT WINAPI wglGetGPUInfoAMD (UINT id, int property, GLenum dataType, UINT size, void *data); -UINT WINAPI wglGetContextGPUIDAMD (HGLRC hglrc); -HGLRC WINAPI wglCreateAssociatedContextAMD (UINT id); -HGLRC WINAPI wglCreateAssociatedContextAttribsAMD (UINT id, HGLRC hShareContext, const int *attribList); -BOOL WINAPI wglDeleteAssociatedContextAMD (HGLRC hglrc); -BOOL WINAPI wglMakeAssociatedContextCurrentAMD (HGLRC hglrc); -HGLRC WINAPI wglGetCurrentAssociatedContextAMD (void); -VOID WINAPI wglBlitContextFramebufferAMD (HGLRC dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#endif -#endif /* WGL_AMD_gpu_association */ - -#ifndef WGL_ATI_pixel_format_float -#define WGL_ATI_pixel_format_float 1 -#define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0 -#endif /* WGL_ATI_pixel_format_float */ - -#ifndef WGL_EXT_create_context_es2_profile -#define WGL_EXT_create_context_es2_profile 1 -#define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 -#endif /* WGL_EXT_create_context_es2_profile */ - -#ifndef WGL_EXT_create_context_es_profile -#define WGL_EXT_create_context_es_profile 1 -#define WGL_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004 -#endif /* WGL_EXT_create_context_es_profile */ - -#ifndef WGL_EXT_depth_float -#define WGL_EXT_depth_float 1 -#define WGL_DEPTH_FLOAT_EXT 0x2040 -#endif /* WGL_EXT_depth_float */ - -#ifndef WGL_EXT_display_color_table -#define WGL_EXT_display_color_table 1 -typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id); -typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (const GLushort *table, GLuint length); -typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id); -typedef VOID (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id); -#ifdef WGL_WGLEXT_PROTOTYPES -GLboolean WINAPI wglCreateDisplayColorTableEXT (GLushort id); -GLboolean WINAPI wglLoadDisplayColorTableEXT (const GLushort *table, GLuint length); -GLboolean WINAPI wglBindDisplayColorTableEXT (GLushort id); -VOID WINAPI wglDestroyDisplayColorTableEXT (GLushort id); -#endif -#endif /* WGL_EXT_display_color_table */ - -#ifndef WGL_EXT_extensions_string -#define WGL_EXT_extensions_string 1 -typedef const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void); -#ifdef WGL_WGLEXT_PROTOTYPES -const char *WINAPI wglGetExtensionsStringEXT (void); -#endif -#endif /* WGL_EXT_extensions_string */ - -#ifndef WGL_EXT_framebuffer_sRGB -#define WGL_EXT_framebuffer_sRGB 1 -#define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9 -#endif /* WGL_EXT_framebuffer_sRGB */ - -#ifndef WGL_EXT_make_current_read -#define WGL_EXT_make_current_read 1 -#define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043 -typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); -typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (void); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglMakeContextCurrentEXT (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); -HDC WINAPI wglGetCurrentReadDCEXT (void); -#endif -#endif /* WGL_EXT_make_current_read */ - -#ifndef WGL_EXT_multisample -#define WGL_EXT_multisample 1 -#define WGL_SAMPLE_BUFFERS_EXT 0x2041 -#define WGL_SAMPLES_EXT 0x2042 -#endif /* WGL_EXT_multisample */ - -#ifndef WGL_EXT_pbuffer -#define WGL_EXT_pbuffer 1 -DECLARE_HANDLE(HPBUFFEREXT); -#define WGL_DRAW_TO_PBUFFER_EXT 0x202D -#define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E -#define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F -#define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030 -#define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031 -#define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032 -#define WGL_PBUFFER_LARGEST_EXT 0x2033 -#define WGL_PBUFFER_WIDTH_EXT 0x2034 -#define WGL_PBUFFER_HEIGHT_EXT 0x2035 -typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); -typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer); -typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC); -typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer); -typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue); -#ifdef WGL_WGLEXT_PROTOTYPES -HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); -HDC WINAPI wglGetPbufferDCEXT (HPBUFFEREXT hPbuffer); -int WINAPI wglReleasePbufferDCEXT (HPBUFFEREXT hPbuffer, HDC hDC); -BOOL WINAPI wglDestroyPbufferEXT (HPBUFFEREXT hPbuffer); -BOOL WINAPI wglQueryPbufferEXT (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue); -#endif -#endif /* WGL_EXT_pbuffer */ - -#ifndef WGL_EXT_pixel_format -#define WGL_EXT_pixel_format 1 -#define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000 -#define WGL_DRAW_TO_WINDOW_EXT 0x2001 -#define WGL_DRAW_TO_BITMAP_EXT 0x2002 -#define WGL_ACCELERATION_EXT 0x2003 -#define WGL_NEED_PALETTE_EXT 0x2004 -#define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005 -#define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006 -#define WGL_SWAP_METHOD_EXT 0x2007 -#define WGL_NUMBER_OVERLAYS_EXT 0x2008 -#define WGL_NUMBER_UNDERLAYS_EXT 0x2009 -#define WGL_TRANSPARENT_EXT 0x200A -#define WGL_TRANSPARENT_VALUE_EXT 0x200B -#define WGL_SHARE_DEPTH_EXT 0x200C -#define WGL_SHARE_STENCIL_EXT 0x200D -#define WGL_SHARE_ACCUM_EXT 0x200E -#define WGL_SUPPORT_GDI_EXT 0x200F -#define WGL_SUPPORT_OPENGL_EXT 0x2010 -#define WGL_DOUBLE_BUFFER_EXT 0x2011 -#define WGL_STEREO_EXT 0x2012 -#define WGL_PIXEL_TYPE_EXT 0x2013 -#define WGL_COLOR_BITS_EXT 0x2014 -#define WGL_RED_BITS_EXT 0x2015 -#define WGL_RED_SHIFT_EXT 0x2016 -#define WGL_GREEN_BITS_EXT 0x2017 -#define WGL_GREEN_SHIFT_EXT 0x2018 -#define WGL_BLUE_BITS_EXT 0x2019 -#define WGL_BLUE_SHIFT_EXT 0x201A -#define WGL_ALPHA_BITS_EXT 0x201B -#define WGL_ALPHA_SHIFT_EXT 0x201C -#define WGL_ACCUM_BITS_EXT 0x201D -#define WGL_ACCUM_RED_BITS_EXT 0x201E -#define WGL_ACCUM_GREEN_BITS_EXT 0x201F -#define WGL_ACCUM_BLUE_BITS_EXT 0x2020 -#define WGL_ACCUM_ALPHA_BITS_EXT 0x2021 -#define WGL_DEPTH_BITS_EXT 0x2022 -#define WGL_STENCIL_BITS_EXT 0x2023 -#define WGL_AUX_BUFFERS_EXT 0x2024 -#define WGL_NO_ACCELERATION_EXT 0x2025 -#define WGL_GENERIC_ACCELERATION_EXT 0x2026 -#define WGL_FULL_ACCELERATION_EXT 0x2027 -#define WGL_SWAP_EXCHANGE_EXT 0x2028 -#define WGL_SWAP_COPY_EXT 0x2029 -#define WGL_SWAP_UNDEFINED_EXT 0x202A -#define WGL_TYPE_RGBA_EXT 0x202B -#define WGL_TYPE_COLORINDEX_EXT 0x202C -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues); -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues); -typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglGetPixelFormatAttribivEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues); -BOOL WINAPI wglGetPixelFormatAttribfvEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues); -BOOL WINAPI wglChoosePixelFormatEXT (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -#endif -#endif /* WGL_EXT_pixel_format */ - -#ifndef WGL_EXT_pixel_format_packed_float -#define WGL_EXT_pixel_format_packed_float 1 -#define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8 -#endif /* WGL_EXT_pixel_format_packed_float */ - -#ifndef WGL_EXT_swap_control -#define WGL_EXT_swap_control 1 -typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval); -typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglSwapIntervalEXT (int interval); -int WINAPI wglGetSwapIntervalEXT (void); -#endif -#endif /* WGL_EXT_swap_control */ - -#ifndef WGL_EXT_swap_control_tear -#define WGL_EXT_swap_control_tear 1 -#endif /* WGL_EXT_swap_control_tear */ - -#ifndef WGL_I3D_digital_video_control -#define WGL_I3D_digital_video_control 1 -#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050 -#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051 -#define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052 -#define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053 -typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue); -typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglGetDigitalVideoParametersI3D (HDC hDC, int iAttribute, int *piValue); -BOOL WINAPI wglSetDigitalVideoParametersI3D (HDC hDC, int iAttribute, const int *piValue); -#endif -#endif /* WGL_I3D_digital_video_control */ - -#ifndef WGL_I3D_gamma -#define WGL_I3D_gamma 1 -#define WGL_GAMMA_TABLE_SIZE_I3D 0x204E -#define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F -typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue); -typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue); -typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue); -typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglGetGammaTableParametersI3D (HDC hDC, int iAttribute, int *piValue); -BOOL WINAPI wglSetGammaTableParametersI3D (HDC hDC, int iAttribute, const int *piValue); -BOOL WINAPI wglGetGammaTableI3D (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue); -BOOL WINAPI wglSetGammaTableI3D (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue); -#endif -#endif /* WGL_I3D_gamma */ - -#ifndef WGL_I3D_genlock -#define WGL_I3D_genlock 1 -#define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044 -#define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045 -#define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046 -#define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047 -#define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048 -#define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049 -#define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A -#define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B -#define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C -typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC); -typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC); -typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL *pFlag); -typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT *uSource); -typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT *uEdge); -typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT *uRate); -typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT *uDelay); -typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglEnableGenlockI3D (HDC hDC); -BOOL WINAPI wglDisableGenlockI3D (HDC hDC); -BOOL WINAPI wglIsEnabledGenlockI3D (HDC hDC, BOOL *pFlag); -BOOL WINAPI wglGenlockSourceI3D (HDC hDC, UINT uSource); -BOOL WINAPI wglGetGenlockSourceI3D (HDC hDC, UINT *uSource); -BOOL WINAPI wglGenlockSourceEdgeI3D (HDC hDC, UINT uEdge); -BOOL WINAPI wglGetGenlockSourceEdgeI3D (HDC hDC, UINT *uEdge); -BOOL WINAPI wglGenlockSampleRateI3D (HDC hDC, UINT uRate); -BOOL WINAPI wglGetGenlockSampleRateI3D (HDC hDC, UINT *uRate); -BOOL WINAPI wglGenlockSourceDelayI3D (HDC hDC, UINT uDelay); -BOOL WINAPI wglGetGenlockSourceDelayI3D (HDC hDC, UINT *uDelay); -BOOL WINAPI wglQueryGenlockMaxSourceDelayI3D (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay); -#endif -#endif /* WGL_I3D_genlock */ - -#ifndef WGL_I3D_image_buffer -#define WGL_I3D_image_buffer 1 -#define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001 -#define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002 -typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags); -typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress); -typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count); -typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const LPVOID *pAddress, UINT count); -#ifdef WGL_WGLEXT_PROTOTYPES -LPVOID WINAPI wglCreateImageBufferI3D (HDC hDC, DWORD dwSize, UINT uFlags); -BOOL WINAPI wglDestroyImageBufferI3D (HDC hDC, LPVOID pAddress); -BOOL WINAPI wglAssociateImageBufferEventsI3D (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count); -BOOL WINAPI wglReleaseImageBufferEventsI3D (HDC hDC, const LPVOID *pAddress, UINT count); -#endif -#endif /* WGL_I3D_image_buffer */ - -#ifndef WGL_I3D_swap_frame_lock -#define WGL_I3D_swap_frame_lock 1 -typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (void); -typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (void); -typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL *pFlag); -typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL *pFlag); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglEnableFrameLockI3D (void); -BOOL WINAPI wglDisableFrameLockI3D (void); -BOOL WINAPI wglIsEnabledFrameLockI3D (BOOL *pFlag); -BOOL WINAPI wglQueryFrameLockMasterI3D (BOOL *pFlag); -#endif -#endif /* WGL_I3D_swap_frame_lock */ - -#ifndef WGL_I3D_swap_frame_usage -#define WGL_I3D_swap_frame_usage 1 -typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float *pUsage); -typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void); -typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void); -typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglGetFrameUsageI3D (float *pUsage); -BOOL WINAPI wglBeginFrameTrackingI3D (void); -BOOL WINAPI wglEndFrameTrackingI3D (void); -BOOL WINAPI wglQueryFrameTrackingI3D (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage); -#endif -#endif /* WGL_I3D_swap_frame_usage */ - -#ifndef WGL_NV_DX_interop -#define WGL_NV_DX_interop 1 -#define WGL_ACCESS_READ_ONLY_NV 0x00000000 -#define WGL_ACCESS_READ_WRITE_NV 0x00000001 -#define WGL_ACCESS_WRITE_DISCARD_NV 0x00000002 -typedef BOOL (WINAPI * PFNWGLDXSETRESOURCESHAREHANDLENVPROC) (void *dxObject, HANDLE shareHandle); -typedef HANDLE (WINAPI * PFNWGLDXOPENDEVICENVPROC) (void *dxDevice); -typedef BOOL (WINAPI * PFNWGLDXCLOSEDEVICENVPROC) (HANDLE hDevice); -typedef HANDLE (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, void *dxObject, GLuint name, GLenum type, GLenum access); -typedef BOOL (WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC) (HANDLE hDevice, HANDLE hObject); -typedef BOOL (WINAPI * PFNWGLDXOBJECTACCESSNVPROC) (HANDLE hObject, GLenum access); -typedef BOOL (WINAPI * PFNWGLDXLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE *hObjects); -typedef BOOL (WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE *hObjects); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglDXSetResourceShareHandleNV (void *dxObject, HANDLE shareHandle); -HANDLE WINAPI wglDXOpenDeviceNV (void *dxDevice); -BOOL WINAPI wglDXCloseDeviceNV (HANDLE hDevice); -HANDLE WINAPI wglDXRegisterObjectNV (HANDLE hDevice, void *dxObject, GLuint name, GLenum type, GLenum access); -BOOL WINAPI wglDXUnregisterObjectNV (HANDLE hDevice, HANDLE hObject); -BOOL WINAPI wglDXObjectAccessNV (HANDLE hObject, GLenum access); -BOOL WINAPI wglDXLockObjectsNV (HANDLE hDevice, GLint count, HANDLE *hObjects); -BOOL WINAPI wglDXUnlockObjectsNV (HANDLE hDevice, GLint count, HANDLE *hObjects); -#endif -#endif /* WGL_NV_DX_interop */ - -#ifndef WGL_NV_DX_interop2 -#define WGL_NV_DX_interop2 1 -#endif /* WGL_NV_DX_interop2 */ - -#ifndef WGL_NV_copy_image -#define WGL_NV_copy_image 1 -typedef BOOL (WINAPI * PFNWGLCOPYIMAGESUBDATANVPROC) (HGLRC hSrcRC, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglCopyImageSubDataNV (HGLRC hSrcRC, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); -#endif -#endif /* WGL_NV_copy_image */ - -#ifndef WGL_NV_delay_before_swap -#define WGL_NV_delay_before_swap 1 -typedef BOOL (WINAPI * PFNWGLDELAYBEFORESWAPNVPROC) (HDC hDC, GLfloat seconds); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglDelayBeforeSwapNV (HDC hDC, GLfloat seconds); -#endif -#endif /* WGL_NV_delay_before_swap */ - -#ifndef WGL_NV_float_buffer -#define WGL_NV_float_buffer 1 -#define WGL_FLOAT_COMPONENTS_NV 0x20B0 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4 -#define WGL_TEXTURE_FLOAT_R_NV 0x20B5 -#define WGL_TEXTURE_FLOAT_RG_NV 0x20B6 -#define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7 -#define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8 -#endif /* WGL_NV_float_buffer */ - -#ifndef WGL_NV_gpu_affinity -#define WGL_NV_gpu_affinity 1 -DECLARE_HANDLE(HGPUNV); -struct _GPU_DEVICE { - DWORD cb; - CHAR DeviceName[32]; - CHAR DeviceString[128]; - DWORD Flags; - RECT rcVirtualScreen; -}; -typedef struct _GPU_DEVICE *PGPU_DEVICE; -#define ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0 -#define ERROR_MISSING_AFFINITY_MASK_NV 0x20D1 -typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu); -typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice); -typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList); -typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu); -typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (HDC hdc); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglEnumGpusNV (UINT iGpuIndex, HGPUNV *phGpu); -BOOL WINAPI wglEnumGpuDevicesNV (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice); -HDC WINAPI wglCreateAffinityDCNV (const HGPUNV *phGpuList); -BOOL WINAPI wglEnumGpusFromAffinityDCNV (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu); -BOOL WINAPI wglDeleteDCNV (HDC hdc); -#endif -#endif /* WGL_NV_gpu_affinity */ - -#ifndef WGL_NV_multisample_coverage -#define WGL_NV_multisample_coverage 1 -#define WGL_COVERAGE_SAMPLES_NV 0x2042 -#define WGL_COLOR_SAMPLES_NV 0x20B9 -#endif /* WGL_NV_multisample_coverage */ - -#ifndef WGL_NV_present_video -#define WGL_NV_present_video 1 -DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV); -#define WGL_NUM_VIDEO_SLOTS_NV 0x20F0 -typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList); -typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); -typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int *piValue); -#ifdef WGL_WGLEXT_PROTOTYPES -int WINAPI wglEnumerateVideoDevicesNV (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList); -BOOL WINAPI wglBindVideoDeviceNV (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); -BOOL WINAPI wglQueryCurrentContextNV (int iAttribute, int *piValue); -#endif -#endif /* WGL_NV_present_video */ - -#ifndef WGL_NV_render_depth_texture -#define WGL_NV_render_depth_texture 1 -#define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4 -#define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5 -#define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6 -#define WGL_DEPTH_COMPONENT_NV 0x20A7 -#endif /* WGL_NV_render_depth_texture */ - -#ifndef WGL_NV_render_texture_rectangle -#define WGL_NV_render_texture_rectangle 1 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1 -#define WGL_TEXTURE_RECTANGLE_NV 0x20A2 -#endif /* WGL_NV_render_texture_rectangle */ - -#ifndef WGL_NV_swap_group -#define WGL_NV_swap_group 1 -typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) (HDC hDC, GLuint group); -typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) (GLuint group, GLuint barrier); -typedef BOOL (WINAPI * PFNWGLQUERYSWAPGROUPNVPROC) (HDC hDC, GLuint *group, GLuint *barrier); -typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint *maxGroups, GLuint *maxBarriers); -typedef BOOL (WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC) (HDC hDC, GLuint *count); -typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (HDC hDC); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglJoinSwapGroupNV (HDC hDC, GLuint group); -BOOL WINAPI wglBindSwapBarrierNV (GLuint group, GLuint barrier); -BOOL WINAPI wglQuerySwapGroupNV (HDC hDC, GLuint *group, GLuint *barrier); -BOOL WINAPI wglQueryMaxSwapGroupsNV (HDC hDC, GLuint *maxGroups, GLuint *maxBarriers); -BOOL WINAPI wglQueryFrameCountNV (HDC hDC, GLuint *count); -BOOL WINAPI wglResetFrameCountNV (HDC hDC); -#endif -#endif /* WGL_NV_swap_group */ - -#ifndef WGL_NV_vertex_array_range -#define WGL_NV_vertex_array_range 1 -typedef void *(WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority); -typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer); -#ifdef WGL_WGLEXT_PROTOTYPES -void *WINAPI wglAllocateMemoryNV (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority); -void WINAPI wglFreeMemoryNV (void *pointer); -#endif -#endif /* WGL_NV_vertex_array_range */ - -#ifndef WGL_NV_video_capture -#define WGL_NV_video_capture 1 -DECLARE_HANDLE(HVIDEOINPUTDEVICENV); -#define WGL_UNIQUE_ID_NV 0x20CE -#define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF -typedef BOOL (WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC) (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice); -typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (HDC hDc, HVIDEOINPUTDEVICENV *phDeviceList); -typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice); -typedef BOOL (WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int *piValue); -typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglBindVideoCaptureDeviceNV (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice); -UINT WINAPI wglEnumerateVideoCaptureDevicesNV (HDC hDc, HVIDEOINPUTDEVICENV *phDeviceList); -BOOL WINAPI wglLockVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice); -BOOL WINAPI wglQueryVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int *piValue); -BOOL WINAPI wglReleaseVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice); -#endif -#endif /* WGL_NV_video_capture */ - -#ifndef WGL_NV_video_output -#define WGL_NV_video_output 1 -DECLARE_HANDLE(HPVIDEODEV); -#define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0 -#define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1 -#define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2 -#define WGL_VIDEO_OUT_COLOR_NV 0x20C3 -#define WGL_VIDEO_OUT_ALPHA_NV 0x20C4 -#define WGL_VIDEO_OUT_DEPTH_NV 0x20C5 -#define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 -#define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 -#define WGL_VIDEO_OUT_FRAME 0x20C8 -#define WGL_VIDEO_OUT_FIELD_1 0x20C9 -#define WGL_VIDEO_OUT_FIELD_2 0x20CA -#define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB -#define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC -typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice); -typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice); -typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer); -typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int iVideoBuffer); -typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock); -typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglGetVideoDeviceNV (HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice); -BOOL WINAPI wglReleaseVideoDeviceNV (HPVIDEODEV hVideoDevice); -BOOL WINAPI wglBindVideoImageNV (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer); -BOOL WINAPI wglReleaseVideoImageNV (HPBUFFERARB hPbuffer, int iVideoBuffer); -BOOL WINAPI wglSendPbufferToVideoNV (HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock); -BOOL WINAPI wglGetVideoInfoNV (HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); -#endif -#endif /* WGL_NV_video_output */ - -#ifndef WGL_OML_sync_control -#define WGL_OML_sync_control 1 -typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc); -typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32 *numerator, INT32 *denominator); -typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); -typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); -typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); -typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglGetSyncValuesOML (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc); -BOOL WINAPI wglGetMscRateOML (HDC hdc, INT32 *numerator, INT32 *denominator); -INT64 WINAPI wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); -INT64 WINAPI wglSwapLayerBuffersMscOML (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); -BOOL WINAPI wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); -BOOL WINAPI wglWaitForSbcOML (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc); -#endif -#endif /* WGL_OML_sync_control */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/khronos/repository/api/GL/wglext.h b/khronos/repository/api/GL/wglext.h deleted file mode 100644 index 4856d5c..0000000 --- a/khronos/repository/api/GL/wglext.h +++ /dev/null @@ -1,840 +0,0 @@ -#ifndef __wglext_h_ -#define __wglext_h_ 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2013-2015 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts -** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ -*/ - -#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) -#define WIN32_LEAN_AND_MEAN 1 -#include -#endif - -#define WGL_WGLEXT_VERSION 20151103 - -/* Generated C header for: - * API: wgl - * Versions considered: .* - * Versions emitted: _nomatch_^ - * Default extensions included: wgl - * Additional extensions included: _nomatch_^ - * Extensions removed: _nomatch_^ - */ - -#ifndef WGL_ARB_buffer_region -#define WGL_ARB_buffer_region 1 -#define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 -#define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002 -#define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004 -#define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008 -typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType); -typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion); -typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height); -typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc); -#ifdef WGL_WGLEXT_PROTOTYPES -HANDLE WINAPI wglCreateBufferRegionARB (HDC hDC, int iLayerPlane, UINT uType); -VOID WINAPI wglDeleteBufferRegionARB (HANDLE hRegion); -BOOL WINAPI wglSaveBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height); -BOOL WINAPI wglRestoreBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc); -#endif -#endif /* WGL_ARB_buffer_region */ - -#ifndef WGL_ARB_context_flush_control -#define WGL_ARB_context_flush_control 1 -#define WGL_CONTEXT_RELEASE_BEHAVIOR_ARB 0x2097 -#define WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB 0 -#define WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB 0x2098 -#endif /* WGL_ARB_context_flush_control */ - -#ifndef WGL_ARB_create_context -#define WGL_ARB_create_context 1 -#define WGL_CONTEXT_DEBUG_BIT_ARB 0x00000001 -#define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 -#define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091 -#define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092 -#define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093 -#define WGL_CONTEXT_FLAGS_ARB 0x2094 -#define ERROR_INVALID_VERSION_ARB 0x2095 -typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int *attribList); -#ifdef WGL_WGLEXT_PROTOTYPES -HGLRC WINAPI wglCreateContextAttribsARB (HDC hDC, HGLRC hShareContext, const int *attribList); -#endif -#endif /* WGL_ARB_create_context */ - -#ifndef WGL_ARB_create_context_profile -#define WGL_ARB_create_context_profile 1 -#define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126 -#define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 -#define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 -#define ERROR_INVALID_PROFILE_ARB 0x2096 -#endif /* WGL_ARB_create_context_profile */ - -#ifndef WGL_ARB_create_context_robustness -#define WGL_ARB_create_context_robustness 1 -#define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 -#define WGL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 -#define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 -#define WGL_NO_RESET_NOTIFICATION_ARB 0x8261 -#endif /* WGL_ARB_create_context_robustness */ - -#ifndef WGL_ARB_extensions_string -#define WGL_ARB_extensions_string 1 -typedef const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc); -#ifdef WGL_WGLEXT_PROTOTYPES -const char *WINAPI wglGetExtensionsStringARB (HDC hdc); -#endif -#endif /* WGL_ARB_extensions_string */ - -#ifndef WGL_ARB_framebuffer_sRGB -#define WGL_ARB_framebuffer_sRGB 1 -#define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9 -#endif /* WGL_ARB_framebuffer_sRGB */ - -#ifndef WGL_ARB_make_current_read -#define WGL_ARB_make_current_read 1 -#define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043 -#define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054 -typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); -typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (void); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglMakeContextCurrentARB (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); -HDC WINAPI wglGetCurrentReadDCARB (void); -#endif -#endif /* WGL_ARB_make_current_read */ - -#ifndef WGL_ARB_multisample -#define WGL_ARB_multisample 1 -#define WGL_SAMPLE_BUFFERS_ARB 0x2041 -#define WGL_SAMPLES_ARB 0x2042 -#endif /* WGL_ARB_multisample */ - -#ifndef WGL_ARB_pbuffer -#define WGL_ARB_pbuffer 1 -DECLARE_HANDLE(HPBUFFERARB); -#define WGL_DRAW_TO_PBUFFER_ARB 0x202D -#define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E -#define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F -#define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030 -#define WGL_PBUFFER_LARGEST_ARB 0x2033 -#define WGL_PBUFFER_WIDTH_ARB 0x2034 -#define WGL_PBUFFER_HEIGHT_ARB 0x2035 -#define WGL_PBUFFER_LOST_ARB 0x2036 -typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); -typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer); -typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC); -typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer); -typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int *piValue); -#ifdef WGL_WGLEXT_PROTOTYPES -HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); -HDC WINAPI wglGetPbufferDCARB (HPBUFFERARB hPbuffer); -int WINAPI wglReleasePbufferDCARB (HPBUFFERARB hPbuffer, HDC hDC); -BOOL WINAPI wglDestroyPbufferARB (HPBUFFERARB hPbuffer); -BOOL WINAPI wglQueryPbufferARB (HPBUFFERARB hPbuffer, int iAttribute, int *piValue); -#endif -#endif /* WGL_ARB_pbuffer */ - -#ifndef WGL_ARB_pixel_format -#define WGL_ARB_pixel_format 1 -#define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000 -#define WGL_DRAW_TO_WINDOW_ARB 0x2001 -#define WGL_DRAW_TO_BITMAP_ARB 0x2002 -#define WGL_ACCELERATION_ARB 0x2003 -#define WGL_NEED_PALETTE_ARB 0x2004 -#define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005 -#define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006 -#define WGL_SWAP_METHOD_ARB 0x2007 -#define WGL_NUMBER_OVERLAYS_ARB 0x2008 -#define WGL_NUMBER_UNDERLAYS_ARB 0x2009 -#define WGL_TRANSPARENT_ARB 0x200A -#define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037 -#define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038 -#define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039 -#define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A -#define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B -#define WGL_SHARE_DEPTH_ARB 0x200C -#define WGL_SHARE_STENCIL_ARB 0x200D -#define WGL_SHARE_ACCUM_ARB 0x200E -#define WGL_SUPPORT_GDI_ARB 0x200F -#define WGL_SUPPORT_OPENGL_ARB 0x2010 -#define WGL_DOUBLE_BUFFER_ARB 0x2011 -#define WGL_STEREO_ARB 0x2012 -#define WGL_PIXEL_TYPE_ARB 0x2013 -#define WGL_COLOR_BITS_ARB 0x2014 -#define WGL_RED_BITS_ARB 0x2015 -#define WGL_RED_SHIFT_ARB 0x2016 -#define WGL_GREEN_BITS_ARB 0x2017 -#define WGL_GREEN_SHIFT_ARB 0x2018 -#define WGL_BLUE_BITS_ARB 0x2019 -#define WGL_BLUE_SHIFT_ARB 0x201A -#define WGL_ALPHA_BITS_ARB 0x201B -#define WGL_ALPHA_SHIFT_ARB 0x201C -#define WGL_ACCUM_BITS_ARB 0x201D -#define WGL_ACCUM_RED_BITS_ARB 0x201E -#define WGL_ACCUM_GREEN_BITS_ARB 0x201F -#define WGL_ACCUM_BLUE_BITS_ARB 0x2020 -#define WGL_ACCUM_ALPHA_BITS_ARB 0x2021 -#define WGL_DEPTH_BITS_ARB 0x2022 -#define WGL_STENCIL_BITS_ARB 0x2023 -#define WGL_AUX_BUFFERS_ARB 0x2024 -#define WGL_NO_ACCELERATION_ARB 0x2025 -#define WGL_GENERIC_ACCELERATION_ARB 0x2026 -#define WGL_FULL_ACCELERATION_ARB 0x2027 -#define WGL_SWAP_EXCHANGE_ARB 0x2028 -#define WGL_SWAP_COPY_ARB 0x2029 -#define WGL_SWAP_UNDEFINED_ARB 0x202A -#define WGL_TYPE_RGBA_ARB 0x202B -#define WGL_TYPE_COLORINDEX_ARB 0x202C -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues); -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues); -typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues); -BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues); -BOOL WINAPI wglChoosePixelFormatARB (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -#endif -#endif /* WGL_ARB_pixel_format */ - -#ifndef WGL_ARB_pixel_format_float -#define WGL_ARB_pixel_format_float 1 -#define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0 -#endif /* WGL_ARB_pixel_format_float */ - -#ifndef WGL_ARB_render_texture -#define WGL_ARB_render_texture 1 -#define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070 -#define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071 -#define WGL_TEXTURE_FORMAT_ARB 0x2072 -#define WGL_TEXTURE_TARGET_ARB 0x2073 -#define WGL_MIPMAP_TEXTURE_ARB 0x2074 -#define WGL_TEXTURE_RGB_ARB 0x2075 -#define WGL_TEXTURE_RGBA_ARB 0x2076 -#define WGL_NO_TEXTURE_ARB 0x2077 -#define WGL_TEXTURE_CUBE_MAP_ARB 0x2078 -#define WGL_TEXTURE_1D_ARB 0x2079 -#define WGL_TEXTURE_2D_ARB 0x207A -#define WGL_MIPMAP_LEVEL_ARB 0x207B -#define WGL_CUBE_MAP_FACE_ARB 0x207C -#define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D -#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E -#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F -#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080 -#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081 -#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082 -#define WGL_FRONT_LEFT_ARB 0x2083 -#define WGL_FRONT_RIGHT_ARB 0x2084 -#define WGL_BACK_LEFT_ARB 0x2085 -#define WGL_BACK_RIGHT_ARB 0x2086 -#define WGL_AUX0_ARB 0x2087 -#define WGL_AUX1_ARB 0x2088 -#define WGL_AUX2_ARB 0x2089 -#define WGL_AUX3_ARB 0x208A -#define WGL_AUX4_ARB 0x208B -#define WGL_AUX5_ARB 0x208C -#define WGL_AUX6_ARB 0x208D -#define WGL_AUX7_ARB 0x208E -#define WGL_AUX8_ARB 0x208F -#define WGL_AUX9_ARB 0x2090 -typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer); -typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer); -typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int *piAttribList); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglBindTexImageARB (HPBUFFERARB hPbuffer, int iBuffer); -BOOL WINAPI wglReleaseTexImageARB (HPBUFFERARB hPbuffer, int iBuffer); -BOOL WINAPI wglSetPbufferAttribARB (HPBUFFERARB hPbuffer, const int *piAttribList); -#endif -#endif /* WGL_ARB_render_texture */ - -#ifndef WGL_ARB_robustness_application_isolation -#define WGL_ARB_robustness_application_isolation 1 -#define WGL_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008 -#endif /* WGL_ARB_robustness_application_isolation */ - -#ifndef WGL_ARB_robustness_share_group_isolation -#define WGL_ARB_robustness_share_group_isolation 1 -#endif /* WGL_ARB_robustness_share_group_isolation */ - -#ifndef WGL_3DFX_multisample -#define WGL_3DFX_multisample 1 -#define WGL_SAMPLE_BUFFERS_3DFX 0x2060 -#define WGL_SAMPLES_3DFX 0x2061 -#endif /* WGL_3DFX_multisample */ - -#ifndef WGL_3DL_stereo_control -#define WGL_3DL_stereo_control 1 -#define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055 -#define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056 -#define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057 -#define WGL_STEREO_POLARITY_INVERT_3DL 0x2058 -typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglSetStereoEmitterState3DL (HDC hDC, UINT uState); -#endif -#endif /* WGL_3DL_stereo_control */ - -#ifndef WGL_AMD_gpu_association -#define WGL_AMD_gpu_association 1 -#define WGL_GPU_VENDOR_AMD 0x1F00 -#define WGL_GPU_RENDERER_STRING_AMD 0x1F01 -#define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 -#define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 -#define WGL_GPU_RAM_AMD 0x21A3 -#define WGL_GPU_CLOCK_AMD 0x21A4 -#define WGL_GPU_NUM_PIPES_AMD 0x21A5 -#define WGL_GPU_NUM_SIMD_AMD 0x21A6 -#define WGL_GPU_NUM_RB_AMD 0x21A7 -#define WGL_GPU_NUM_SPI_AMD 0x21A8 -typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT *ids); -typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, int property, GLenum dataType, UINT size, void *data); -typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc); -typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id); -typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, HGLRC hShareContext, const int *attribList); -typedef BOOL (WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC) (HGLRC hglrc); -typedef BOOL (WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (HGLRC hglrc); -typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void); -typedef VOID (WINAPI * PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC) (HGLRC dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#ifdef WGL_WGLEXT_PROTOTYPES -UINT WINAPI wglGetGPUIDsAMD (UINT maxCount, UINT *ids); -INT WINAPI wglGetGPUInfoAMD (UINT id, int property, GLenum dataType, UINT size, void *data); -UINT WINAPI wglGetContextGPUIDAMD (HGLRC hglrc); -HGLRC WINAPI wglCreateAssociatedContextAMD (UINT id); -HGLRC WINAPI wglCreateAssociatedContextAttribsAMD (UINT id, HGLRC hShareContext, const int *attribList); -BOOL WINAPI wglDeleteAssociatedContextAMD (HGLRC hglrc); -BOOL WINAPI wglMakeAssociatedContextCurrentAMD (HGLRC hglrc); -HGLRC WINAPI wglGetCurrentAssociatedContextAMD (void); -VOID WINAPI wglBlitContextFramebufferAMD (HGLRC dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#endif -#endif /* WGL_AMD_gpu_association */ - -#ifndef WGL_ATI_pixel_format_float -#define WGL_ATI_pixel_format_float 1 -#define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0 -#endif /* WGL_ATI_pixel_format_float */ - -#ifndef WGL_EXT_create_context_es2_profile -#define WGL_EXT_create_context_es2_profile 1 -#define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 -#endif /* WGL_EXT_create_context_es2_profile */ - -#ifndef WGL_EXT_create_context_es_profile -#define WGL_EXT_create_context_es_profile 1 -#define WGL_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004 -#endif /* WGL_EXT_create_context_es_profile */ - -#ifndef WGL_EXT_depth_float -#define WGL_EXT_depth_float 1 -#define WGL_DEPTH_FLOAT_EXT 0x2040 -#endif /* WGL_EXT_depth_float */ - -#ifndef WGL_EXT_display_color_table -#define WGL_EXT_display_color_table 1 -typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id); -typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (const GLushort *table, GLuint length); -typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id); -typedef VOID (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id); -#ifdef WGL_WGLEXT_PROTOTYPES -GLboolean WINAPI wglCreateDisplayColorTableEXT (GLushort id); -GLboolean WINAPI wglLoadDisplayColorTableEXT (const GLushort *table, GLuint length); -GLboolean WINAPI wglBindDisplayColorTableEXT (GLushort id); -VOID WINAPI wglDestroyDisplayColorTableEXT (GLushort id); -#endif -#endif /* WGL_EXT_display_color_table */ - -#ifndef WGL_EXT_extensions_string -#define WGL_EXT_extensions_string 1 -typedef const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void); -#ifdef WGL_WGLEXT_PROTOTYPES -const char *WINAPI wglGetExtensionsStringEXT (void); -#endif -#endif /* WGL_EXT_extensions_string */ - -#ifndef WGL_EXT_framebuffer_sRGB -#define WGL_EXT_framebuffer_sRGB 1 -#define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9 -#endif /* WGL_EXT_framebuffer_sRGB */ - -#ifndef WGL_EXT_make_current_read -#define WGL_EXT_make_current_read 1 -#define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043 -typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); -typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (void); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglMakeContextCurrentEXT (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); -HDC WINAPI wglGetCurrentReadDCEXT (void); -#endif -#endif /* WGL_EXT_make_current_read */ - -#ifndef WGL_EXT_multisample -#define WGL_EXT_multisample 1 -#define WGL_SAMPLE_BUFFERS_EXT 0x2041 -#define WGL_SAMPLES_EXT 0x2042 -#endif /* WGL_EXT_multisample */ - -#ifndef WGL_EXT_pbuffer -#define WGL_EXT_pbuffer 1 -DECLARE_HANDLE(HPBUFFEREXT); -#define WGL_DRAW_TO_PBUFFER_EXT 0x202D -#define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E -#define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F -#define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030 -#define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031 -#define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032 -#define WGL_PBUFFER_LARGEST_EXT 0x2033 -#define WGL_PBUFFER_WIDTH_EXT 0x2034 -#define WGL_PBUFFER_HEIGHT_EXT 0x2035 -typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); -typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer); -typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC); -typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer); -typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue); -#ifdef WGL_WGLEXT_PROTOTYPES -HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); -HDC WINAPI wglGetPbufferDCEXT (HPBUFFEREXT hPbuffer); -int WINAPI wglReleasePbufferDCEXT (HPBUFFEREXT hPbuffer, HDC hDC); -BOOL WINAPI wglDestroyPbufferEXT (HPBUFFEREXT hPbuffer); -BOOL WINAPI wglQueryPbufferEXT (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue); -#endif -#endif /* WGL_EXT_pbuffer */ - -#ifndef WGL_EXT_pixel_format -#define WGL_EXT_pixel_format 1 -#define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000 -#define WGL_DRAW_TO_WINDOW_EXT 0x2001 -#define WGL_DRAW_TO_BITMAP_EXT 0x2002 -#define WGL_ACCELERATION_EXT 0x2003 -#define WGL_NEED_PALETTE_EXT 0x2004 -#define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005 -#define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006 -#define WGL_SWAP_METHOD_EXT 0x2007 -#define WGL_NUMBER_OVERLAYS_EXT 0x2008 -#define WGL_NUMBER_UNDERLAYS_EXT 0x2009 -#define WGL_TRANSPARENT_EXT 0x200A -#define WGL_TRANSPARENT_VALUE_EXT 0x200B -#define WGL_SHARE_DEPTH_EXT 0x200C -#define WGL_SHARE_STENCIL_EXT 0x200D -#define WGL_SHARE_ACCUM_EXT 0x200E -#define WGL_SUPPORT_GDI_EXT 0x200F -#define WGL_SUPPORT_OPENGL_EXT 0x2010 -#define WGL_DOUBLE_BUFFER_EXT 0x2011 -#define WGL_STEREO_EXT 0x2012 -#define WGL_PIXEL_TYPE_EXT 0x2013 -#define WGL_COLOR_BITS_EXT 0x2014 -#define WGL_RED_BITS_EXT 0x2015 -#define WGL_RED_SHIFT_EXT 0x2016 -#define WGL_GREEN_BITS_EXT 0x2017 -#define WGL_GREEN_SHIFT_EXT 0x2018 -#define WGL_BLUE_BITS_EXT 0x2019 -#define WGL_BLUE_SHIFT_EXT 0x201A -#define WGL_ALPHA_BITS_EXT 0x201B -#define WGL_ALPHA_SHIFT_EXT 0x201C -#define WGL_ACCUM_BITS_EXT 0x201D -#define WGL_ACCUM_RED_BITS_EXT 0x201E -#define WGL_ACCUM_GREEN_BITS_EXT 0x201F -#define WGL_ACCUM_BLUE_BITS_EXT 0x2020 -#define WGL_ACCUM_ALPHA_BITS_EXT 0x2021 -#define WGL_DEPTH_BITS_EXT 0x2022 -#define WGL_STENCIL_BITS_EXT 0x2023 -#define WGL_AUX_BUFFERS_EXT 0x2024 -#define WGL_NO_ACCELERATION_EXT 0x2025 -#define WGL_GENERIC_ACCELERATION_EXT 0x2026 -#define WGL_FULL_ACCELERATION_EXT 0x2027 -#define WGL_SWAP_EXCHANGE_EXT 0x2028 -#define WGL_SWAP_COPY_EXT 0x2029 -#define WGL_SWAP_UNDEFINED_EXT 0x202A -#define WGL_TYPE_RGBA_EXT 0x202B -#define WGL_TYPE_COLORINDEX_EXT 0x202C -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues); -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues); -typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglGetPixelFormatAttribivEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues); -BOOL WINAPI wglGetPixelFormatAttribfvEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues); -BOOL WINAPI wglChoosePixelFormatEXT (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -#endif -#endif /* WGL_EXT_pixel_format */ - -#ifndef WGL_EXT_pixel_format_packed_float -#define WGL_EXT_pixel_format_packed_float 1 -#define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8 -#endif /* WGL_EXT_pixel_format_packed_float */ - -#ifndef WGL_EXT_swap_control -#define WGL_EXT_swap_control 1 -typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval); -typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglSwapIntervalEXT (int interval); -int WINAPI wglGetSwapIntervalEXT (void); -#endif -#endif /* WGL_EXT_swap_control */ - -#ifndef WGL_EXT_swap_control_tear -#define WGL_EXT_swap_control_tear 1 -#endif /* WGL_EXT_swap_control_tear */ - -#ifndef WGL_I3D_digital_video_control -#define WGL_I3D_digital_video_control 1 -#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050 -#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051 -#define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052 -#define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053 -typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue); -typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglGetDigitalVideoParametersI3D (HDC hDC, int iAttribute, int *piValue); -BOOL WINAPI wglSetDigitalVideoParametersI3D (HDC hDC, int iAttribute, const int *piValue); -#endif -#endif /* WGL_I3D_digital_video_control */ - -#ifndef WGL_I3D_gamma -#define WGL_I3D_gamma 1 -#define WGL_GAMMA_TABLE_SIZE_I3D 0x204E -#define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F -typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue); -typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue); -typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue); -typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglGetGammaTableParametersI3D (HDC hDC, int iAttribute, int *piValue); -BOOL WINAPI wglSetGammaTableParametersI3D (HDC hDC, int iAttribute, const int *piValue); -BOOL WINAPI wglGetGammaTableI3D (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue); -BOOL WINAPI wglSetGammaTableI3D (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue); -#endif -#endif /* WGL_I3D_gamma */ - -#ifndef WGL_I3D_genlock -#define WGL_I3D_genlock 1 -#define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044 -#define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045 -#define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046 -#define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047 -#define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048 -#define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049 -#define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A -#define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B -#define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C -typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC); -typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC); -typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL *pFlag); -typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT *uSource); -typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT *uEdge); -typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT *uRate); -typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT *uDelay); -typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglEnableGenlockI3D (HDC hDC); -BOOL WINAPI wglDisableGenlockI3D (HDC hDC); -BOOL WINAPI wglIsEnabledGenlockI3D (HDC hDC, BOOL *pFlag); -BOOL WINAPI wglGenlockSourceI3D (HDC hDC, UINT uSource); -BOOL WINAPI wglGetGenlockSourceI3D (HDC hDC, UINT *uSource); -BOOL WINAPI wglGenlockSourceEdgeI3D (HDC hDC, UINT uEdge); -BOOL WINAPI wglGetGenlockSourceEdgeI3D (HDC hDC, UINT *uEdge); -BOOL WINAPI wglGenlockSampleRateI3D (HDC hDC, UINT uRate); -BOOL WINAPI wglGetGenlockSampleRateI3D (HDC hDC, UINT *uRate); -BOOL WINAPI wglGenlockSourceDelayI3D (HDC hDC, UINT uDelay); -BOOL WINAPI wglGetGenlockSourceDelayI3D (HDC hDC, UINT *uDelay); -BOOL WINAPI wglQueryGenlockMaxSourceDelayI3D (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay); -#endif -#endif /* WGL_I3D_genlock */ - -#ifndef WGL_I3D_image_buffer -#define WGL_I3D_image_buffer 1 -#define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001 -#define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002 -typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags); -typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress); -typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count); -typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const LPVOID *pAddress, UINT count); -#ifdef WGL_WGLEXT_PROTOTYPES -LPVOID WINAPI wglCreateImageBufferI3D (HDC hDC, DWORD dwSize, UINT uFlags); -BOOL WINAPI wglDestroyImageBufferI3D (HDC hDC, LPVOID pAddress); -BOOL WINAPI wglAssociateImageBufferEventsI3D (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count); -BOOL WINAPI wglReleaseImageBufferEventsI3D (HDC hDC, const LPVOID *pAddress, UINT count); -#endif -#endif /* WGL_I3D_image_buffer */ - -#ifndef WGL_I3D_swap_frame_lock -#define WGL_I3D_swap_frame_lock 1 -typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (void); -typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (void); -typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL *pFlag); -typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL *pFlag); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglEnableFrameLockI3D (void); -BOOL WINAPI wglDisableFrameLockI3D (void); -BOOL WINAPI wglIsEnabledFrameLockI3D (BOOL *pFlag); -BOOL WINAPI wglQueryFrameLockMasterI3D (BOOL *pFlag); -#endif -#endif /* WGL_I3D_swap_frame_lock */ - -#ifndef WGL_I3D_swap_frame_usage -#define WGL_I3D_swap_frame_usage 1 -typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float *pUsage); -typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void); -typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void); -typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglGetFrameUsageI3D (float *pUsage); -BOOL WINAPI wglBeginFrameTrackingI3D (void); -BOOL WINAPI wglEndFrameTrackingI3D (void); -BOOL WINAPI wglQueryFrameTrackingI3D (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage); -#endif -#endif /* WGL_I3D_swap_frame_usage */ - -#ifndef WGL_NV_DX_interop -#define WGL_NV_DX_interop 1 -#define WGL_ACCESS_READ_ONLY_NV 0x00000000 -#define WGL_ACCESS_READ_WRITE_NV 0x00000001 -#define WGL_ACCESS_WRITE_DISCARD_NV 0x00000002 -typedef BOOL (WINAPI * PFNWGLDXSETRESOURCESHAREHANDLENVPROC) (void *dxObject, HANDLE shareHandle); -typedef HANDLE (WINAPI * PFNWGLDXOPENDEVICENVPROC) (void *dxDevice); -typedef BOOL (WINAPI * PFNWGLDXCLOSEDEVICENVPROC) (HANDLE hDevice); -typedef HANDLE (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, void *dxObject, GLuint name, GLenum type, GLenum access); -typedef BOOL (WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC) (HANDLE hDevice, HANDLE hObject); -typedef BOOL (WINAPI * PFNWGLDXOBJECTACCESSNVPROC) (HANDLE hObject, GLenum access); -typedef BOOL (WINAPI * PFNWGLDXLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE *hObjects); -typedef BOOL (WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE *hObjects); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglDXSetResourceShareHandleNV (void *dxObject, HANDLE shareHandle); -HANDLE WINAPI wglDXOpenDeviceNV (void *dxDevice); -BOOL WINAPI wglDXCloseDeviceNV (HANDLE hDevice); -HANDLE WINAPI wglDXRegisterObjectNV (HANDLE hDevice, void *dxObject, GLuint name, GLenum type, GLenum access); -BOOL WINAPI wglDXUnregisterObjectNV (HANDLE hDevice, HANDLE hObject); -BOOL WINAPI wglDXObjectAccessNV (HANDLE hObject, GLenum access); -BOOL WINAPI wglDXLockObjectsNV (HANDLE hDevice, GLint count, HANDLE *hObjects); -BOOL WINAPI wglDXUnlockObjectsNV (HANDLE hDevice, GLint count, HANDLE *hObjects); -#endif -#endif /* WGL_NV_DX_interop */ - -#ifndef WGL_NV_DX_interop2 -#define WGL_NV_DX_interop2 1 -#endif /* WGL_NV_DX_interop2 */ - -#ifndef WGL_NV_copy_image -#define WGL_NV_copy_image 1 -typedef BOOL (WINAPI * PFNWGLCOPYIMAGESUBDATANVPROC) (HGLRC hSrcRC, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglCopyImageSubDataNV (HGLRC hSrcRC, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); -#endif -#endif /* WGL_NV_copy_image */ - -#ifndef WGL_NV_delay_before_swap -#define WGL_NV_delay_before_swap 1 -typedef BOOL (WINAPI * PFNWGLDELAYBEFORESWAPNVPROC) (HDC hDC, GLfloat seconds); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglDelayBeforeSwapNV (HDC hDC, GLfloat seconds); -#endif -#endif /* WGL_NV_delay_before_swap */ - -#ifndef WGL_NV_float_buffer -#define WGL_NV_float_buffer 1 -#define WGL_FLOAT_COMPONENTS_NV 0x20B0 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4 -#define WGL_TEXTURE_FLOAT_R_NV 0x20B5 -#define WGL_TEXTURE_FLOAT_RG_NV 0x20B6 -#define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7 -#define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8 -#endif /* WGL_NV_float_buffer */ - -#ifndef WGL_NV_gpu_affinity -#define WGL_NV_gpu_affinity 1 -DECLARE_HANDLE(HGPUNV); -struct _GPU_DEVICE { - DWORD cb; - CHAR DeviceName[32]; - CHAR DeviceString[128]; - DWORD Flags; - RECT rcVirtualScreen; -}; -typedef struct _GPU_DEVICE *PGPU_DEVICE; -#define ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0 -#define ERROR_MISSING_AFFINITY_MASK_NV 0x20D1 -typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu); -typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice); -typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList); -typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu); -typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (HDC hdc); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglEnumGpusNV (UINT iGpuIndex, HGPUNV *phGpu); -BOOL WINAPI wglEnumGpuDevicesNV (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice); -HDC WINAPI wglCreateAffinityDCNV (const HGPUNV *phGpuList); -BOOL WINAPI wglEnumGpusFromAffinityDCNV (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu); -BOOL WINAPI wglDeleteDCNV (HDC hdc); -#endif -#endif /* WGL_NV_gpu_affinity */ - -#ifndef WGL_NV_multisample_coverage -#define WGL_NV_multisample_coverage 1 -#define WGL_COVERAGE_SAMPLES_NV 0x2042 -#define WGL_COLOR_SAMPLES_NV 0x20B9 -#endif /* WGL_NV_multisample_coverage */ - -#ifndef WGL_NV_present_video -#define WGL_NV_present_video 1 -DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV); -#define WGL_NUM_VIDEO_SLOTS_NV 0x20F0 -typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList); -typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); -typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int *piValue); -#ifdef WGL_WGLEXT_PROTOTYPES -int WINAPI wglEnumerateVideoDevicesNV (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList); -BOOL WINAPI wglBindVideoDeviceNV (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); -BOOL WINAPI wglQueryCurrentContextNV (int iAttribute, int *piValue); -#endif -#endif /* WGL_NV_present_video */ - -#ifndef WGL_NV_render_depth_texture -#define WGL_NV_render_depth_texture 1 -#define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4 -#define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5 -#define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6 -#define WGL_DEPTH_COMPONENT_NV 0x20A7 -#endif /* WGL_NV_render_depth_texture */ - -#ifndef WGL_NV_render_texture_rectangle -#define WGL_NV_render_texture_rectangle 1 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1 -#define WGL_TEXTURE_RECTANGLE_NV 0x20A2 -#endif /* WGL_NV_render_texture_rectangle */ - -#ifndef WGL_NV_swap_group -#define WGL_NV_swap_group 1 -typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) (HDC hDC, GLuint group); -typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) (GLuint group, GLuint barrier); -typedef BOOL (WINAPI * PFNWGLQUERYSWAPGROUPNVPROC) (HDC hDC, GLuint *group, GLuint *barrier); -typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint *maxGroups, GLuint *maxBarriers); -typedef BOOL (WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC) (HDC hDC, GLuint *count); -typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (HDC hDC); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglJoinSwapGroupNV (HDC hDC, GLuint group); -BOOL WINAPI wglBindSwapBarrierNV (GLuint group, GLuint barrier); -BOOL WINAPI wglQuerySwapGroupNV (HDC hDC, GLuint *group, GLuint *barrier); -BOOL WINAPI wglQueryMaxSwapGroupsNV (HDC hDC, GLuint *maxGroups, GLuint *maxBarriers); -BOOL WINAPI wglQueryFrameCountNV (HDC hDC, GLuint *count); -BOOL WINAPI wglResetFrameCountNV (HDC hDC); -#endif -#endif /* WGL_NV_swap_group */ - -#ifndef WGL_NV_vertex_array_range -#define WGL_NV_vertex_array_range 1 -typedef void *(WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority); -typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer); -#ifdef WGL_WGLEXT_PROTOTYPES -void *WINAPI wglAllocateMemoryNV (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority); -void WINAPI wglFreeMemoryNV (void *pointer); -#endif -#endif /* WGL_NV_vertex_array_range */ - -#ifndef WGL_NV_video_capture -#define WGL_NV_video_capture 1 -DECLARE_HANDLE(HVIDEOINPUTDEVICENV); -#define WGL_UNIQUE_ID_NV 0x20CE -#define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF -typedef BOOL (WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC) (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice); -typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (HDC hDc, HVIDEOINPUTDEVICENV *phDeviceList); -typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice); -typedef BOOL (WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int *piValue); -typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglBindVideoCaptureDeviceNV (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice); -UINT WINAPI wglEnumerateVideoCaptureDevicesNV (HDC hDc, HVIDEOINPUTDEVICENV *phDeviceList); -BOOL WINAPI wglLockVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice); -BOOL WINAPI wglQueryVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int *piValue); -BOOL WINAPI wglReleaseVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice); -#endif -#endif /* WGL_NV_video_capture */ - -#ifndef WGL_NV_video_output -#define WGL_NV_video_output 1 -DECLARE_HANDLE(HPVIDEODEV); -#define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0 -#define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1 -#define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2 -#define WGL_VIDEO_OUT_COLOR_NV 0x20C3 -#define WGL_VIDEO_OUT_ALPHA_NV 0x20C4 -#define WGL_VIDEO_OUT_DEPTH_NV 0x20C5 -#define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 -#define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 -#define WGL_VIDEO_OUT_FRAME 0x20C8 -#define WGL_VIDEO_OUT_FIELD_1 0x20C9 -#define WGL_VIDEO_OUT_FIELD_2 0x20CA -#define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB -#define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC -typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice); -typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice); -typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer); -typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int iVideoBuffer); -typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock); -typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglGetVideoDeviceNV (HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice); -BOOL WINAPI wglReleaseVideoDeviceNV (HPVIDEODEV hVideoDevice); -BOOL WINAPI wglBindVideoImageNV (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer); -BOOL WINAPI wglReleaseVideoImageNV (HPBUFFERARB hPbuffer, int iVideoBuffer); -BOOL WINAPI wglSendPbufferToVideoNV (HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock); -BOOL WINAPI wglGetVideoInfoNV (HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); -#endif -#endif /* WGL_NV_video_output */ - -#ifndef WGL_OML_sync_control -#define WGL_OML_sync_control 1 -typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc); -typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32 *numerator, INT32 *denominator); -typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); -typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); -typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); -typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc); -#ifdef WGL_WGLEXT_PROTOTYPES -BOOL WINAPI wglGetSyncValuesOML (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc); -BOOL WINAPI wglGetMscRateOML (HDC hdc, INT32 *numerator, INT32 *denominator); -INT64 WINAPI wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); -INT64 WINAPI wglSwapLayerBuffersMscOML (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); -BOOL WINAPI wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); -BOOL WINAPI wglWaitForSbcOML (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc); -#endif -#endif /* WGL_OML_sync_control */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/khronos/repository/api/GLES/gl.h b/khronos/repository/api/GLES/gl.h deleted file mode 100644 index ad6bde3..0000000 --- a/khronos/repository/api/GLES/gl.h +++ /dev/null @@ -1,588 +0,0 @@ -#ifndef __gl_h_ -#define __gl_h_ 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2013-2015 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts -** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ -*/ - -#include - -/* Generated on date 20151103 */ - -/* Generated C header for: - * API: gles1 - * Profile: common - * Versions considered: .* - * Versions emitted: .* - * Default extensions included: None - * Additional extensions included: ^(GL_OES_read_format|GL_OES_compressed_paletted_texture|GL_OES_point_size_array|GL_OES_point_sprite)$ - * Extensions removed: _nomatch_^ - */ - -#ifndef GL_VERSION_ES_CM_1_0 -#define GL_VERSION_ES_CM_1_0 1 -typedef void GLvoid; -typedef unsigned int GLenum; -#include -typedef khronos_float_t GLfloat; -typedef khronos_int32_t GLfixed; -typedef unsigned int GLuint; -typedef khronos_ssize_t GLsizeiptr; -typedef khronos_intptr_t GLintptr; -typedef unsigned int GLbitfield; -typedef int GLint; -typedef khronos_uint8_t GLubyte; -typedef unsigned char GLboolean; -typedef int GLsizei; -typedef khronos_int32_t GLclampx; -#define GL_VERSION_ES_CL_1_0 1 -#define GL_VERSION_ES_CM_1_1 1 -#define GL_VERSION_ES_CL_1_1 1 -#define GL_DEPTH_BUFFER_BIT 0x00000100 -#define GL_STENCIL_BUFFER_BIT 0x00000400 -#define GL_COLOR_BUFFER_BIT 0x00004000 -#define GL_FALSE 0 -#define GL_TRUE 1 -#define GL_POINTS 0x0000 -#define GL_LINES 0x0001 -#define GL_LINE_LOOP 0x0002 -#define GL_LINE_STRIP 0x0003 -#define GL_TRIANGLES 0x0004 -#define GL_TRIANGLE_STRIP 0x0005 -#define GL_TRIANGLE_FAN 0x0006 -#define GL_NEVER 0x0200 -#define GL_LESS 0x0201 -#define GL_EQUAL 0x0202 -#define GL_LEQUAL 0x0203 -#define GL_GREATER 0x0204 -#define GL_NOTEQUAL 0x0205 -#define GL_GEQUAL 0x0206 -#define GL_ALWAYS 0x0207 -#define GL_ZERO 0 -#define GL_ONE 1 -#define GL_SRC_COLOR 0x0300 -#define GL_ONE_MINUS_SRC_COLOR 0x0301 -#define GL_SRC_ALPHA 0x0302 -#define GL_ONE_MINUS_SRC_ALPHA 0x0303 -#define GL_DST_ALPHA 0x0304 -#define GL_ONE_MINUS_DST_ALPHA 0x0305 -#define GL_DST_COLOR 0x0306 -#define GL_ONE_MINUS_DST_COLOR 0x0307 -#define GL_SRC_ALPHA_SATURATE 0x0308 -#define GL_CLIP_PLANE0 0x3000 -#define GL_CLIP_PLANE1 0x3001 -#define GL_CLIP_PLANE2 0x3002 -#define GL_CLIP_PLANE3 0x3003 -#define GL_CLIP_PLANE4 0x3004 -#define GL_CLIP_PLANE5 0x3005 -#define GL_FRONT 0x0404 -#define GL_BACK 0x0405 -#define GL_FRONT_AND_BACK 0x0408 -#define GL_FOG 0x0B60 -#define GL_LIGHTING 0x0B50 -#define GL_TEXTURE_2D 0x0DE1 -#define GL_CULL_FACE 0x0B44 -#define GL_ALPHA_TEST 0x0BC0 -#define GL_BLEND 0x0BE2 -#define GL_COLOR_LOGIC_OP 0x0BF2 -#define GL_DITHER 0x0BD0 -#define GL_STENCIL_TEST 0x0B90 -#define GL_DEPTH_TEST 0x0B71 -#define GL_POINT_SMOOTH 0x0B10 -#define GL_LINE_SMOOTH 0x0B20 -#define GL_SCISSOR_TEST 0x0C11 -#define GL_COLOR_MATERIAL 0x0B57 -#define GL_NORMALIZE 0x0BA1 -#define GL_RESCALE_NORMAL 0x803A -#define GL_VERTEX_ARRAY 0x8074 -#define GL_NORMAL_ARRAY 0x8075 -#define GL_COLOR_ARRAY 0x8076 -#define GL_TEXTURE_COORD_ARRAY 0x8078 -#define GL_MULTISAMPLE 0x809D -#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE 0x809F -#define GL_SAMPLE_COVERAGE 0x80A0 -#define GL_NO_ERROR 0 -#define GL_INVALID_ENUM 0x0500 -#define GL_INVALID_VALUE 0x0501 -#define GL_INVALID_OPERATION 0x0502 -#define GL_STACK_OVERFLOW 0x0503 -#define GL_STACK_UNDERFLOW 0x0504 -#define GL_OUT_OF_MEMORY 0x0505 -#define GL_EXP 0x0800 -#define GL_EXP2 0x0801 -#define GL_FOG_DENSITY 0x0B62 -#define GL_FOG_START 0x0B63 -#define GL_FOG_END 0x0B64 -#define GL_FOG_MODE 0x0B65 -#define GL_FOG_COLOR 0x0B66 -#define GL_CW 0x0900 -#define GL_CCW 0x0901 -#define GL_CURRENT_COLOR 0x0B00 -#define GL_CURRENT_NORMAL 0x0B02 -#define GL_CURRENT_TEXTURE_COORDS 0x0B03 -#define GL_POINT_SIZE 0x0B11 -#define GL_POINT_SIZE_MIN 0x8126 -#define GL_POINT_SIZE_MAX 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 -#define GL_POINT_DISTANCE_ATTENUATION 0x8129 -#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 -#define GL_LINE_WIDTH 0x0B21 -#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 -#define GL_ALIASED_POINT_SIZE_RANGE 0x846D -#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E -#define GL_CULL_FACE_MODE 0x0B45 -#define GL_FRONT_FACE 0x0B46 -#define GL_SHADE_MODEL 0x0B54 -#define GL_DEPTH_RANGE 0x0B70 -#define GL_DEPTH_WRITEMASK 0x0B72 -#define GL_DEPTH_CLEAR_VALUE 0x0B73 -#define GL_DEPTH_FUNC 0x0B74 -#define GL_STENCIL_CLEAR_VALUE 0x0B91 -#define GL_STENCIL_FUNC 0x0B92 -#define GL_STENCIL_VALUE_MASK 0x0B93 -#define GL_STENCIL_FAIL 0x0B94 -#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 -#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 -#define GL_STENCIL_REF 0x0B97 -#define GL_STENCIL_WRITEMASK 0x0B98 -#define GL_MATRIX_MODE 0x0BA0 -#define GL_VIEWPORT 0x0BA2 -#define GL_MODELVIEW_STACK_DEPTH 0x0BA3 -#define GL_PROJECTION_STACK_DEPTH 0x0BA4 -#define GL_TEXTURE_STACK_DEPTH 0x0BA5 -#define GL_MODELVIEW_MATRIX 0x0BA6 -#define GL_PROJECTION_MATRIX 0x0BA7 -#define GL_TEXTURE_MATRIX 0x0BA8 -#define GL_ALPHA_TEST_FUNC 0x0BC1 -#define GL_ALPHA_TEST_REF 0x0BC2 -#define GL_BLEND_DST 0x0BE0 -#define GL_BLEND_SRC 0x0BE1 -#define GL_LOGIC_OP_MODE 0x0BF0 -#define GL_SCISSOR_BOX 0x0C10 -#define GL_COLOR_CLEAR_VALUE 0x0C22 -#define GL_COLOR_WRITEMASK 0x0C23 -#define GL_MAX_LIGHTS 0x0D31 -#define GL_MAX_CLIP_PLANES 0x0D32 -#define GL_MAX_TEXTURE_SIZE 0x0D33 -#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 -#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 -#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 -#define GL_MAX_VIEWPORT_DIMS 0x0D3A -#define GL_MAX_TEXTURE_UNITS 0x84E2 -#define GL_SUBPIXEL_BITS 0x0D50 -#define GL_RED_BITS 0x0D52 -#define GL_GREEN_BITS 0x0D53 -#define GL_BLUE_BITS 0x0D54 -#define GL_ALPHA_BITS 0x0D55 -#define GL_DEPTH_BITS 0x0D56 -#define GL_STENCIL_BITS 0x0D57 -#define GL_POLYGON_OFFSET_UNITS 0x2A00 -#define GL_POLYGON_OFFSET_FILL 0x8037 -#define GL_POLYGON_OFFSET_FACTOR 0x8038 -#define GL_TEXTURE_BINDING_2D 0x8069 -#define GL_VERTEX_ARRAY_SIZE 0x807A -#define GL_VERTEX_ARRAY_TYPE 0x807B -#define GL_VERTEX_ARRAY_STRIDE 0x807C -#define GL_NORMAL_ARRAY_TYPE 0x807E -#define GL_NORMAL_ARRAY_STRIDE 0x807F -#define GL_COLOR_ARRAY_SIZE 0x8081 -#define GL_COLOR_ARRAY_TYPE 0x8082 -#define GL_COLOR_ARRAY_STRIDE 0x8083 -#define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 -#define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 -#define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A -#define GL_VERTEX_ARRAY_POINTER 0x808E -#define GL_NORMAL_ARRAY_POINTER 0x808F -#define GL_COLOR_ARRAY_POINTER 0x8090 -#define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 -#define GL_SAMPLE_BUFFERS 0x80A8 -#define GL_SAMPLES 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT 0x80AB -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 -#define GL_DONT_CARE 0x1100 -#define GL_FASTEST 0x1101 -#define GL_NICEST 0x1102 -#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 -#define GL_POINT_SMOOTH_HINT 0x0C51 -#define GL_LINE_SMOOTH_HINT 0x0C52 -#define GL_FOG_HINT 0x0C54 -#define GL_GENERATE_MIPMAP_HINT 0x8192 -#define GL_LIGHT_MODEL_AMBIENT 0x0B53 -#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 -#define GL_AMBIENT 0x1200 -#define GL_DIFFUSE 0x1201 -#define GL_SPECULAR 0x1202 -#define GL_POSITION 0x1203 -#define GL_SPOT_DIRECTION 0x1204 -#define GL_SPOT_EXPONENT 0x1205 -#define GL_SPOT_CUTOFF 0x1206 -#define GL_CONSTANT_ATTENUATION 0x1207 -#define GL_LINEAR_ATTENUATION 0x1208 -#define GL_QUADRATIC_ATTENUATION 0x1209 -#define GL_BYTE 0x1400 -#define GL_UNSIGNED_BYTE 0x1401 -#define GL_SHORT 0x1402 -#define GL_UNSIGNED_SHORT 0x1403 -#define GL_FLOAT 0x1406 -#define GL_FIXED 0x140C -#define GL_CLEAR 0x1500 -#define GL_AND 0x1501 -#define GL_AND_REVERSE 0x1502 -#define GL_COPY 0x1503 -#define GL_AND_INVERTED 0x1504 -#define GL_NOOP 0x1505 -#define GL_XOR 0x1506 -#define GL_OR 0x1507 -#define GL_NOR 0x1508 -#define GL_EQUIV 0x1509 -#define GL_INVERT 0x150A -#define GL_OR_REVERSE 0x150B -#define GL_COPY_INVERTED 0x150C -#define GL_OR_INVERTED 0x150D -#define GL_NAND 0x150E -#define GL_SET 0x150F -#define GL_EMISSION 0x1600 -#define GL_SHININESS 0x1601 -#define GL_AMBIENT_AND_DIFFUSE 0x1602 -#define GL_MODELVIEW 0x1700 -#define GL_PROJECTION 0x1701 -#define GL_TEXTURE 0x1702 -#define GL_ALPHA 0x1906 -#define GL_RGB 0x1907 -#define GL_RGBA 0x1908 -#define GL_LUMINANCE 0x1909 -#define GL_LUMINANCE_ALPHA 0x190A -#define GL_UNPACK_ALIGNMENT 0x0CF5 -#define GL_PACK_ALIGNMENT 0x0D05 -#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 -#define GL_UNSIGNED_SHORT_5_6_5 0x8363 -#define GL_FLAT 0x1D00 -#define GL_SMOOTH 0x1D01 -#define GL_KEEP 0x1E00 -#define GL_REPLACE 0x1E01 -#define GL_INCR 0x1E02 -#define GL_DECR 0x1E03 -#define GL_VENDOR 0x1F00 -#define GL_RENDERER 0x1F01 -#define GL_VERSION 0x1F02 -#define GL_EXTENSIONS 0x1F03 -#define GL_MODULATE 0x2100 -#define GL_DECAL 0x2101 -#define GL_ADD 0x0104 -#define GL_TEXTURE_ENV_MODE 0x2200 -#define GL_TEXTURE_ENV_COLOR 0x2201 -#define GL_TEXTURE_ENV 0x2300 -#define GL_NEAREST 0x2600 -#define GL_LINEAR 0x2601 -#define GL_NEAREST_MIPMAP_NEAREST 0x2700 -#define GL_LINEAR_MIPMAP_NEAREST 0x2701 -#define GL_NEAREST_MIPMAP_LINEAR 0x2702 -#define GL_LINEAR_MIPMAP_LINEAR 0x2703 -#define GL_TEXTURE_MAG_FILTER 0x2800 -#define GL_TEXTURE_MIN_FILTER 0x2801 -#define GL_TEXTURE_WRAP_S 0x2802 -#define GL_TEXTURE_WRAP_T 0x2803 -#define GL_GENERATE_MIPMAP 0x8191 -#define GL_TEXTURE0 0x84C0 -#define GL_TEXTURE1 0x84C1 -#define GL_TEXTURE2 0x84C2 -#define GL_TEXTURE3 0x84C3 -#define GL_TEXTURE4 0x84C4 -#define GL_TEXTURE5 0x84C5 -#define GL_TEXTURE6 0x84C6 -#define GL_TEXTURE7 0x84C7 -#define GL_TEXTURE8 0x84C8 -#define GL_TEXTURE9 0x84C9 -#define GL_TEXTURE10 0x84CA -#define GL_TEXTURE11 0x84CB -#define GL_TEXTURE12 0x84CC -#define GL_TEXTURE13 0x84CD -#define GL_TEXTURE14 0x84CE -#define GL_TEXTURE15 0x84CF -#define GL_TEXTURE16 0x84D0 -#define GL_TEXTURE17 0x84D1 -#define GL_TEXTURE18 0x84D2 -#define GL_TEXTURE19 0x84D3 -#define GL_TEXTURE20 0x84D4 -#define GL_TEXTURE21 0x84D5 -#define GL_TEXTURE22 0x84D6 -#define GL_TEXTURE23 0x84D7 -#define GL_TEXTURE24 0x84D8 -#define GL_TEXTURE25 0x84D9 -#define GL_TEXTURE26 0x84DA -#define GL_TEXTURE27 0x84DB -#define GL_TEXTURE28 0x84DC -#define GL_TEXTURE29 0x84DD -#define GL_TEXTURE30 0x84DE -#define GL_TEXTURE31 0x84DF -#define GL_ACTIVE_TEXTURE 0x84E0 -#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 -#define GL_REPEAT 0x2901 -#define GL_CLAMP_TO_EDGE 0x812F -#define GL_LIGHT0 0x4000 -#define GL_LIGHT1 0x4001 -#define GL_LIGHT2 0x4002 -#define GL_LIGHT3 0x4003 -#define GL_LIGHT4 0x4004 -#define GL_LIGHT5 0x4005 -#define GL_LIGHT6 0x4006 -#define GL_LIGHT7 0x4007 -#define GL_ARRAY_BUFFER 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER 0x8893 -#define GL_ARRAY_BUFFER_BINDING 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 -#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 -#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 -#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 -#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A -#define GL_STATIC_DRAW 0x88E4 -#define GL_DYNAMIC_DRAW 0x88E8 -#define GL_BUFFER_SIZE 0x8764 -#define GL_BUFFER_USAGE 0x8765 -#define GL_SUBTRACT 0x84E7 -#define GL_COMBINE 0x8570 -#define GL_COMBINE_RGB 0x8571 -#define GL_COMBINE_ALPHA 0x8572 -#define GL_RGB_SCALE 0x8573 -#define GL_ADD_SIGNED 0x8574 -#define GL_INTERPOLATE 0x8575 -#define GL_CONSTANT 0x8576 -#define GL_PRIMARY_COLOR 0x8577 -#define GL_PREVIOUS 0x8578 -#define GL_OPERAND0_RGB 0x8590 -#define GL_OPERAND1_RGB 0x8591 -#define GL_OPERAND2_RGB 0x8592 -#define GL_OPERAND0_ALPHA 0x8598 -#define GL_OPERAND1_ALPHA 0x8599 -#define GL_OPERAND2_ALPHA 0x859A -#define GL_ALPHA_SCALE 0x0D1C -#define GL_SRC0_RGB 0x8580 -#define GL_SRC1_RGB 0x8581 -#define GL_SRC2_RGB 0x8582 -#define GL_SRC0_ALPHA 0x8588 -#define GL_SRC1_ALPHA 0x8589 -#define GL_SRC2_ALPHA 0x858A -#define GL_DOT3_RGB 0x86AE -#define GL_DOT3_RGBA 0x86AF -GL_API void GL_APIENTRY glAlphaFunc (GLenum func, GLfloat ref); -GL_API void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GL_API void GL_APIENTRY glClearDepthf (GLfloat d); -GL_API void GL_APIENTRY glClipPlanef (GLenum p, const GLfloat *eqn); -GL_API void GL_APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GL_API void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); -GL_API void GL_APIENTRY glFogf (GLenum pname, GLfloat param); -GL_API void GL_APIENTRY glFogfv (GLenum pname, const GLfloat *params); -GL_API void GL_APIENTRY glFrustumf (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); -GL_API void GL_APIENTRY glGetClipPlanef (GLenum plane, GLfloat *equation); -GL_API void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data); -GL_API void GL_APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params); -GL_API void GL_APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params); -GL_API void GL_APIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params); -GL_API void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); -GL_API void GL_APIENTRY glLightModelf (GLenum pname, GLfloat param); -GL_API void GL_APIENTRY glLightModelfv (GLenum pname, const GLfloat *params); -GL_API void GL_APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param); -GL_API void GL_APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params); -GL_API void GL_APIENTRY glLineWidth (GLfloat width); -GL_API void GL_APIENTRY glLoadMatrixf (const GLfloat *m); -GL_API void GL_APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param); -GL_API void GL_APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params); -GL_API void GL_APIENTRY glMultMatrixf (const GLfloat *m); -GL_API void GL_APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -GL_API void GL_APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz); -GL_API void GL_APIENTRY glOrthof (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); -GL_API void GL_APIENTRY glPointParameterf (GLenum pname, GLfloat param); -GL_API void GL_APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params); -GL_API void GL_APIENTRY glPointSize (GLfloat size); -GL_API void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); -GL_API void GL_APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z); -GL_API void GL_APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z); -GL_API void GL_APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param); -GL_API void GL_APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params); -GL_API void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); -GL_API void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); -GL_API void GL_APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z); -GL_API void GL_APIENTRY glActiveTexture (GLenum texture); -GL_API void GL_APIENTRY glAlphaFuncx (GLenum func, GLfixed ref); -GL_API void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); -GL_API void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); -GL_API void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); -GL_API void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); -GL_API void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); -GL_API void GL_APIENTRY glClear (GLbitfield mask); -GL_API void GL_APIENTRY glClearColorx (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -GL_API void GL_APIENTRY glClearDepthx (GLfixed depth); -GL_API void GL_APIENTRY glClearStencil (GLint s); -GL_API void GL_APIENTRY glClientActiveTexture (GLenum texture); -GL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation); -GL_API void GL_APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); -GL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -GL_API void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -GL_API void GL_APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer); -GL_API void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); -GL_API void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -GL_API void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -GL_API void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GL_API void GL_APIENTRY glCullFace (GLenum mode); -GL_API void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); -GL_API void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); -GL_API void GL_APIENTRY glDepthFunc (GLenum func); -GL_API void GL_APIENTRY glDepthMask (GLboolean flag); -GL_API void GL_APIENTRY glDepthRangex (GLfixed n, GLfixed f); -GL_API void GL_APIENTRY glDisable (GLenum cap); -GL_API void GL_APIENTRY glDisableClientState (GLenum array); -GL_API void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); -GL_API void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); -GL_API void GL_APIENTRY glEnable (GLenum cap); -GL_API void GL_APIENTRY glEnableClientState (GLenum array); -GL_API void GL_APIENTRY glFinish (void); -GL_API void GL_APIENTRY glFlush (void); -GL_API void GL_APIENTRY glFogx (GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glFogxv (GLenum pname, const GLfixed *param); -GL_API void GL_APIENTRY glFrontFace (GLenum mode); -GL_API void GL_APIENTRY glFrustumx (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); -GL_API void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); -GL_API void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); -GL_API void GL_APIENTRY glGetClipPlanex (GLenum plane, GLfixed *equation); -GL_API void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); -GL_API void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); -GL_API GLenum GL_APIENTRY glGetError (void); -GL_API void GL_APIENTRY glGetFixedv (GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data); -GL_API void GL_APIENTRY glGetLightxv (GLenum light, GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glGetMaterialxv (GLenum face, GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glGetPointerv (GLenum pname, void **params); -GL_API const GLubyte *GL_APIENTRY glGetString (GLenum name); -GL_API void GL_APIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params); -GL_API void GL_APIENTRY glGetTexEnvxv (GLenum target, GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); -GL_API void GL_APIENTRY glGetTexParameterxv (GLenum target, GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glHint (GLenum target, GLenum mode); -GL_API GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); -GL_API GLboolean GL_APIENTRY glIsEnabled (GLenum cap); -GL_API GLboolean GL_APIENTRY glIsTexture (GLuint texture); -GL_API void GL_APIENTRY glLightModelx (GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glLightModelxv (GLenum pname, const GLfixed *param); -GL_API void GL_APIENTRY glLightx (GLenum light, GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glLightxv (GLenum light, GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glLineWidthx (GLfixed width); -GL_API void GL_APIENTRY glLoadIdentity (void); -GL_API void GL_APIENTRY glLoadMatrixx (const GLfixed *m); -GL_API void GL_APIENTRY glLogicOp (GLenum opcode); -GL_API void GL_APIENTRY glMaterialx (GLenum face, GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glMaterialxv (GLenum face, GLenum pname, const GLfixed *param); -GL_API void GL_APIENTRY glMatrixMode (GLenum mode); -GL_API void GL_APIENTRY glMultMatrixx (const GLfixed *m); -GL_API void GL_APIENTRY glMultiTexCoord4x (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); -GL_API void GL_APIENTRY glNormal3x (GLfixed nx, GLfixed ny, GLfixed nz); -GL_API void GL_APIENTRY glNormalPointer (GLenum type, GLsizei stride, const void *pointer); -GL_API void GL_APIENTRY glOrthox (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); -GL_API void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); -GL_API void GL_APIENTRY glPointParameterx (GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glPointParameterxv (GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glPointSizex (GLfixed size); -GL_API void GL_APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units); -GL_API void GL_APIENTRY glPopMatrix (void); -GL_API void GL_APIENTRY glPushMatrix (void); -GL_API void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); -GL_API void GL_APIENTRY glRotatex (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); -GL_API void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); -GL_API void GL_APIENTRY glSampleCoveragex (GLclampx value, GLboolean invert); -GL_API void GL_APIENTRY glScalex (GLfixed x, GLfixed y, GLfixed z); -GL_API void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -GL_API void GL_APIENTRY glShadeModel (GLenum mode); -GL_API void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); -GL_API void GL_APIENTRY glStencilMask (GLuint mask); -GL_API void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); -GL_API void GL_APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const void *pointer); -GL_API void GL_APIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param); -GL_API void GL_APIENTRY glTexEnvx (GLenum target, GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params); -GL_API void GL_APIENTRY glTexEnvxv (GLenum target, GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -GL_API void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); -GL_API void GL_APIENTRY glTexParameterx (GLenum target, GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); -GL_API void GL_APIENTRY glTexParameterxv (GLenum target, GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -GL_API void GL_APIENTRY glTranslatex (GLfixed x, GLfixed y, GLfixed z); -GL_API void GL_APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const void *pointer); -GL_API void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); -#endif /* GL_VERSION_ES_CM_1_0 */ - -#ifndef GL_OES_compressed_paletted_texture -#define GL_OES_compressed_paletted_texture 1 -#define GL_PALETTE4_RGB8_OES 0x8B90 -#define GL_PALETTE4_RGBA8_OES 0x8B91 -#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 -#define GL_PALETTE4_RGBA4_OES 0x8B93 -#define GL_PALETTE4_RGB5_A1_OES 0x8B94 -#define GL_PALETTE8_RGB8_OES 0x8B95 -#define GL_PALETTE8_RGBA8_OES 0x8B96 -#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 -#define GL_PALETTE8_RGBA4_OES 0x8B98 -#define GL_PALETTE8_RGB5_A1_OES 0x8B99 -#endif /* GL_OES_compressed_paletted_texture */ - -#ifndef GL_OES_point_size_array -#define GL_OES_point_size_array 1 -#define GL_POINT_SIZE_ARRAY_OES 0x8B9C -#define GL_POINT_SIZE_ARRAY_TYPE_OES 0x898A -#define GL_POINT_SIZE_ARRAY_STRIDE_OES 0x898B -#define GL_POINT_SIZE_ARRAY_POINTER_OES 0x898C -#define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES 0x8B9F -GL_API void GL_APIENTRY glPointSizePointerOES (GLenum type, GLsizei stride, const void *pointer); -#endif /* GL_OES_point_size_array */ - -#ifndef GL_OES_point_sprite -#define GL_OES_point_sprite 1 -#define GL_POINT_SPRITE_OES 0x8861 -#define GL_COORD_REPLACE_OES 0x8862 -#endif /* GL_OES_point_sprite */ - -#ifndef GL_OES_read_format -#define GL_OES_read_format 1 -#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B -#endif /* GL_OES_read_format */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/khronos/repository/api/GLES/glext.h b/khronos/repository/api/GLES/glext.h deleted file mode 100644 index 4aa6f44..0000000 --- a/khronos/repository/api/GLES/glext.h +++ /dev/null @@ -1,953 +0,0 @@ -#ifndef __glext_h_ -#define __glext_h_ 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2013-2015 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts -** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ -*/ - -#ifndef GL_APIENTRYP -#define GL_APIENTRYP GL_APIENTRY* -#endif - -/* Generated on date 20151103 */ - -/* Generated C header for: - * API: gles1 - * Profile: common - * Versions considered: .* - * Versions emitted: _nomatch_^ - * Default extensions included: gles1 - * Additional extensions included: _nomatch_^ - * Extensions removed: ^(GL_OES_read_format|GL_OES_compressed_paletted_texture|GL_OES_point_size_array|GL_OES_point_sprite)$ - */ - -#ifndef GL_OES_EGL_image -#define GL_OES_EGL_image 1 -typedef void *GLeglImageOES; -typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); -typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); -GL_API void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); -#endif -#endif /* GL_OES_EGL_image */ - -#ifndef GL_OES_EGL_image_external -#define GL_OES_EGL_image_external 1 -#define GL_TEXTURE_EXTERNAL_OES 0x8D65 -#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 -#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 -#endif /* GL_OES_EGL_image_external */ - -#ifndef GL_OES_blend_equation_separate -#define GL_OES_blend_equation_separate 1 -#define GL_BLEND_EQUATION_RGB_OES 0x8009 -#define GL_BLEND_EQUATION_ALPHA_OES 0x883D -typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEOESPROC) (GLenum modeRGB, GLenum modeAlpha); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glBlendEquationSeparateOES (GLenum modeRGB, GLenum modeAlpha); -#endif -#endif /* GL_OES_blend_equation_separate */ - -#ifndef GL_OES_blend_func_separate -#define GL_OES_blend_func_separate 1 -#define GL_BLEND_DST_RGB_OES 0x80C8 -#define GL_BLEND_SRC_RGB_OES 0x80C9 -#define GL_BLEND_DST_ALPHA_OES 0x80CA -#define GL_BLEND_SRC_ALPHA_OES 0x80CB -typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -#endif -#endif /* GL_OES_blend_func_separate */ - -#ifndef GL_OES_blend_subtract -#define GL_OES_blend_subtract 1 -#define GL_BLEND_EQUATION_OES 0x8009 -#define GL_FUNC_ADD_OES 0x8006 -#define GL_FUNC_SUBTRACT_OES 0x800A -#define GL_FUNC_REVERSE_SUBTRACT_OES 0x800B -typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONOESPROC) (GLenum mode); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glBlendEquationOES (GLenum mode); -#endif -#endif /* GL_OES_blend_subtract */ - -#ifndef GL_OES_byte_coordinates -#define GL_OES_byte_coordinates 1 -typedef khronos_int8_t GLbyte; -#endif /* GL_OES_byte_coordinates */ - -#ifndef GL_OES_compressed_ETC1_RGB8_sub_texture -#define GL_OES_compressed_ETC1_RGB8_sub_texture 1 -#endif /* GL_OES_compressed_ETC1_RGB8_sub_texture */ - -#ifndef GL_OES_compressed_ETC1_RGB8_texture -#define GL_OES_compressed_ETC1_RGB8_texture 1 -#define GL_ETC1_RGB8_OES 0x8D64 -#endif /* GL_OES_compressed_ETC1_RGB8_texture */ - -#ifndef GL_OES_depth24 -#define GL_OES_depth24 1 -#define GL_DEPTH_COMPONENT24_OES 0x81A6 -#endif /* GL_OES_depth24 */ - -#ifndef GL_OES_depth32 -#define GL_OES_depth32 1 -#define GL_DEPTH_COMPONENT32_OES 0x81A7 -#endif /* GL_OES_depth32 */ - -#ifndef GL_OES_draw_texture -#define GL_OES_draw_texture 1 -typedef short GLshort; -#define GL_TEXTURE_CROP_RECT_OES 0x8B9D -typedef void (GL_APIENTRYP PFNGLDRAWTEXSOESPROC) (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); -typedef void (GL_APIENTRYP PFNGLDRAWTEXIOESPROC) (GLint x, GLint y, GLint z, GLint width, GLint height); -typedef void (GL_APIENTRYP PFNGLDRAWTEXXOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); -typedef void (GL_APIENTRYP PFNGLDRAWTEXSVOESPROC) (const GLshort *coords); -typedef void (GL_APIENTRYP PFNGLDRAWTEXIVOESPROC) (const GLint *coords); -typedef void (GL_APIENTRYP PFNGLDRAWTEXXVOESPROC) (const GLfixed *coords); -typedef void (GL_APIENTRYP PFNGLDRAWTEXFOESPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); -typedef void (GL_APIENTRYP PFNGLDRAWTEXFVOESPROC) (const GLfloat *coords); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glDrawTexsOES (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); -GL_API void GL_APIENTRY glDrawTexiOES (GLint x, GLint y, GLint z, GLint width, GLint height); -GL_API void GL_APIENTRY glDrawTexxOES (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); -GL_API void GL_APIENTRY glDrawTexsvOES (const GLshort *coords); -GL_API void GL_APIENTRY glDrawTexivOES (const GLint *coords); -GL_API void GL_APIENTRY glDrawTexxvOES (const GLfixed *coords); -GL_API void GL_APIENTRY glDrawTexfOES (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); -GL_API void GL_APIENTRY glDrawTexfvOES (const GLfloat *coords); -#endif -#endif /* GL_OES_draw_texture */ - -#ifndef GL_OES_element_index_uint -#define GL_OES_element_index_uint 1 -#define GL_UNSIGNED_INT 0x1405 -#endif /* GL_OES_element_index_uint */ - -#ifndef GL_OES_extended_matrix_palette -#define GL_OES_extended_matrix_palette 1 -#endif /* GL_OES_extended_matrix_palette */ - -#ifndef GL_OES_fbo_render_mipmap -#define GL_OES_fbo_render_mipmap 1 -#endif /* GL_OES_fbo_render_mipmap */ - -#ifndef GL_OES_fixed_point -#define GL_OES_fixed_point 1 -#define GL_FIXED_OES 0x140C -typedef void (GL_APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref); -typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -typedef void (GL_APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth); -typedef void (GL_APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation); -typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -typedef void (GL_APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f); -typedef void (GL_APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param); -typedef void (GL_APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param); -typedef void (GL_APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); -typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation); -typedef void (GL_APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params); -typedef void (GL_APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params); -typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params); -typedef void (GL_APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param); -typedef void (GL_APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param); -typedef void (GL_APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param); -typedef void (GL_APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params); -typedef void (GL_APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width); -typedef void (GL_APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m); -typedef void (GL_APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param); -typedef void (GL_APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param); -typedef void (GL_APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m); -typedef void (GL_APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); -typedef void (GL_APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz); -typedef void (GL_APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); -typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params); -typedef void (GL_APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size); -typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units); -typedef void (GL_APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); -typedef void (GL_APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z); -typedef void (GL_APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param); -typedef void (GL_APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params); -typedef void (GL_APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z); -typedef void (GL_APIENTRYP PFNGLGETLIGHTXVOESPROC) (GLenum light, GLenum pname, GLfixed *params); -typedef void (GL_APIENTRYP PFNGLGETMATERIALXVOESPROC) (GLenum face, GLenum pname, GLfixed *params); -typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXOESPROC) (GLenum pname, GLfixed param); -typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEXOESPROC) (GLclampx value, GLboolean invert); -typedef void (GL_APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params); -typedef void (GL_APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param); -typedef void (GL_APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref); -GL_API void GL_APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -GL_API void GL_APIENTRY glClearDepthxOES (GLfixed depth); -GL_API void GL_APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation); -GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -GL_API void GL_APIENTRY glDepthRangexOES (GLfixed n, GLfixed f); -GL_API void GL_APIENTRY glFogxOES (GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glFogxvOES (GLenum pname, const GLfixed *param); -GL_API void GL_APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); -GL_API void GL_APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation); -GL_API void GL_APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glLightModelxOES (GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param); -GL_API void GL_APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glLineWidthxOES (GLfixed width); -GL_API void GL_APIENTRY glLoadMatrixxOES (const GLfixed *m); -GL_API void GL_APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param); -GL_API void GL_APIENTRY glMultMatrixxOES (const GLfixed *m); -GL_API void GL_APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); -GL_API void GL_APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz); -GL_API void GL_APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); -GL_API void GL_APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glPointSizexOES (GLfixed size); -GL_API void GL_APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units); -GL_API void GL_APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); -GL_API void GL_APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z); -GL_API void GL_APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params); -GL_API void GL_APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z); -GL_API void GL_APIENTRY glGetLightxvOES (GLenum light, GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glGetMaterialxvOES (GLenum face, GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glPointParameterxOES (GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glSampleCoveragexOES (GLclampx value, GLboolean invert); -GL_API void GL_APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params); -GL_API void GL_APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param); -GL_API void GL_APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params); -#endif -#endif /* GL_OES_fixed_point */ - -#ifndef GL_OES_framebuffer_object -#define GL_OES_framebuffer_object 1 -#define GL_NONE_OES 0 -#define GL_FRAMEBUFFER_OES 0x8D40 -#define GL_RENDERBUFFER_OES 0x8D41 -#define GL_RGBA4_OES 0x8056 -#define GL_RGB5_A1_OES 0x8057 -#define GL_RGB565_OES 0x8D62 -#define GL_DEPTH_COMPONENT16_OES 0x81A5 -#define GL_RENDERBUFFER_WIDTH_OES 0x8D42 -#define GL_RENDERBUFFER_HEIGHT_OES 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT_OES 0x8D44 -#define GL_RENDERBUFFER_RED_SIZE_OES 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE_OES 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE_OES 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE_OES 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE_OES 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE_OES 0x8D55 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES 0x8CD2 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES 0x8CD3 -#define GL_COLOR_ATTACHMENT0_OES 0x8CE0 -#define GL_DEPTH_ATTACHMENT_OES 0x8D00 -#define GL_STENCIL_ATTACHMENT_OES 0x8D20 -#define GL_FRAMEBUFFER_COMPLETE_OES 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES 0x8CD9 -#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES 0x8CDA -#define GL_FRAMEBUFFER_UNSUPPORTED_OES 0x8CDD -#define GL_FRAMEBUFFER_BINDING_OES 0x8CA6 -#define GL_RENDERBUFFER_BINDING_OES 0x8CA7 -#define GL_MAX_RENDERBUFFER_SIZE_OES 0x84E8 -#define GL_INVALID_FRAMEBUFFER_OPERATION_OES 0x0506 -typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFEROESPROC) (GLuint renderbuffer); -typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFEROESPROC) (GLenum target, GLuint renderbuffer); -typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSOESPROC) (GLsizei n, const GLuint *renderbuffers); -typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSOESPROC) (GLsizei n, GLuint *renderbuffers); -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVOESPROC) (GLenum target, GLenum pname, GLint *params); -typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFEROESPROC) (GLuint framebuffer); -typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFEROESPROC) (GLenum target, GLuint framebuffer); -typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSOESPROC) (GLsizei n, const GLuint *framebuffers); -typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSOESPROC) (GLsizei n, GLuint *framebuffers); -typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSOESPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEROESPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVOESPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPOESPROC) (GLenum target); -#ifdef GL_GLEXT_PROTOTYPES -GL_API GLboolean GL_APIENTRY glIsRenderbufferOES (GLuint renderbuffer); -GL_API void GL_APIENTRY glBindRenderbufferOES (GLenum target, GLuint renderbuffer); -GL_API void GL_APIENTRY glDeleteRenderbuffersOES (GLsizei n, const GLuint *renderbuffers); -GL_API void GL_APIENTRY glGenRenderbuffersOES (GLsizei n, GLuint *renderbuffers); -GL_API void GL_APIENTRY glRenderbufferStorageOES (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -GL_API void GL_APIENTRY glGetRenderbufferParameterivOES (GLenum target, GLenum pname, GLint *params); -GL_API GLboolean GL_APIENTRY glIsFramebufferOES (GLuint framebuffer); -GL_API void GL_APIENTRY glBindFramebufferOES (GLenum target, GLuint framebuffer); -GL_API void GL_APIENTRY glDeleteFramebuffersOES (GLsizei n, const GLuint *framebuffers); -GL_API void GL_APIENTRY glGenFramebuffersOES (GLsizei n, GLuint *framebuffers); -GL_API GLenum GL_APIENTRY glCheckFramebufferStatusOES (GLenum target); -GL_API void GL_APIENTRY glFramebufferRenderbufferOES (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -GL_API void GL_APIENTRY glFramebufferTexture2DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GL_API void GL_APIENTRY glGetFramebufferAttachmentParameterivOES (GLenum target, GLenum attachment, GLenum pname, GLint *params); -GL_API void GL_APIENTRY glGenerateMipmapOES (GLenum target); -#endif -#endif /* GL_OES_framebuffer_object */ - -#ifndef GL_OES_mapbuffer -#define GL_OES_mapbuffer 1 -#define GL_WRITE_ONLY_OES 0x88B9 -#define GL_BUFFER_ACCESS_OES 0x88BB -#define GL_BUFFER_MAPPED_OES 0x88BC -#define GL_BUFFER_MAP_POINTER_OES 0x88BD -typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); -typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); -GL_API GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); -GL_API void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params); -#endif -#endif /* GL_OES_mapbuffer */ - -#ifndef GL_OES_matrix_get -#define GL_OES_matrix_get 1 -#define GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES 0x898D -#define GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES 0x898E -#define GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES 0x898F -#endif /* GL_OES_matrix_get */ - -#ifndef GL_OES_matrix_palette -#define GL_OES_matrix_palette 1 -#define GL_MAX_VERTEX_UNITS_OES 0x86A4 -#define GL_MAX_PALETTE_MATRICES_OES 0x8842 -#define GL_MATRIX_PALETTE_OES 0x8840 -#define GL_MATRIX_INDEX_ARRAY_OES 0x8844 -#define GL_WEIGHT_ARRAY_OES 0x86AD -#define GL_CURRENT_PALETTE_MATRIX_OES 0x8843 -#define GL_MATRIX_INDEX_ARRAY_SIZE_OES 0x8846 -#define GL_MATRIX_INDEX_ARRAY_TYPE_OES 0x8847 -#define GL_MATRIX_INDEX_ARRAY_STRIDE_OES 0x8848 -#define GL_MATRIX_INDEX_ARRAY_POINTER_OES 0x8849 -#define GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES 0x8B9E -#define GL_WEIGHT_ARRAY_SIZE_OES 0x86AB -#define GL_WEIGHT_ARRAY_TYPE_OES 0x86A9 -#define GL_WEIGHT_ARRAY_STRIDE_OES 0x86AA -#define GL_WEIGHT_ARRAY_POINTER_OES 0x86AC -#define GL_WEIGHT_ARRAY_BUFFER_BINDING_OES 0x889E -typedef void (GL_APIENTRYP PFNGLCURRENTPALETTEMATRIXOESPROC) (GLuint matrixpaletteindex); -typedef void (GL_APIENTRYP PFNGLLOADPALETTEFROMMODELVIEWMATRIXOESPROC) (void); -typedef void (GL_APIENTRYP PFNGLMATRIXINDEXPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); -typedef void (GL_APIENTRYP PFNGLWEIGHTPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glCurrentPaletteMatrixOES (GLuint matrixpaletteindex); -GL_API void GL_APIENTRY glLoadPaletteFromModelViewMatrixOES (void); -GL_API void GL_APIENTRY glMatrixIndexPointerOES (GLint size, GLenum type, GLsizei stride, const void *pointer); -GL_API void GL_APIENTRY glWeightPointerOES (GLint size, GLenum type, GLsizei stride, const void *pointer); -#endif -#endif /* GL_OES_matrix_palette */ - -#ifndef GL_OES_packed_depth_stencil -#define GL_OES_packed_depth_stencil 1 -#define GL_DEPTH_STENCIL_OES 0x84F9 -#define GL_UNSIGNED_INT_24_8_OES 0x84FA -#define GL_DEPTH24_STENCIL8_OES 0x88F0 -#endif /* GL_OES_packed_depth_stencil */ - -#ifndef GL_OES_query_matrix -#define GL_OES_query_matrix 1 -typedef GLbitfield (GL_APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent); -#ifdef GL_GLEXT_PROTOTYPES -GL_API GLbitfield GL_APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent); -#endif -#endif /* GL_OES_query_matrix */ - -#ifndef GL_OES_required_internalformat -#define GL_OES_required_internalformat 1 -#define GL_ALPHA8_OES 0x803C -#define GL_LUMINANCE4_ALPHA4_OES 0x8043 -#define GL_LUMINANCE8_ALPHA8_OES 0x8045 -#define GL_LUMINANCE8_OES 0x8040 -#define GL_RGB8_OES 0x8051 -#define GL_RGBA8_OES 0x8058 -#define GL_RGB10_EXT 0x8052 -#define GL_RGB10_A2_EXT 0x8059 -#endif /* GL_OES_required_internalformat */ - -#ifndef GL_OES_rgb8_rgba8 -#define GL_OES_rgb8_rgba8 1 -#endif /* GL_OES_rgb8_rgba8 */ - -#ifndef GL_OES_single_precision -#define GL_OES_single_precision 1 -typedef khronos_float_t GLclampf; -typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth); -typedef void (GL_APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation); -typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f); -typedef void (GL_APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); -typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation); -typedef void (GL_APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glClearDepthfOES (GLclampf depth); -GL_API void GL_APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation); -GL_API void GL_APIENTRY glDepthRangefOES (GLclampf n, GLclampf f); -GL_API void GL_APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); -GL_API void GL_APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation); -GL_API void GL_APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); -#endif -#endif /* GL_OES_single_precision */ - -#ifndef GL_OES_stencil1 -#define GL_OES_stencil1 1 -#define GL_STENCIL_INDEX1_OES 0x8D46 -#endif /* GL_OES_stencil1 */ - -#ifndef GL_OES_stencil4 -#define GL_OES_stencil4 1 -#define GL_STENCIL_INDEX4_OES 0x8D47 -#endif /* GL_OES_stencil4 */ - -#ifndef GL_OES_stencil8 -#define GL_OES_stencil8 1 -#define GL_STENCIL_INDEX8_OES 0x8D48 -#endif /* GL_OES_stencil8 */ - -#ifndef GL_OES_stencil_wrap -#define GL_OES_stencil_wrap 1 -#define GL_INCR_WRAP_OES 0x8507 -#define GL_DECR_WRAP_OES 0x8508 -#endif /* GL_OES_stencil_wrap */ - -#ifndef GL_OES_texture_cube_map -#define GL_OES_texture_cube_map 1 -#define GL_NORMAL_MAP_OES 0x8511 -#define GL_REFLECTION_MAP_OES 0x8512 -#define GL_TEXTURE_CUBE_MAP_OES 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP_OES 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES 0x851A -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES 0x851C -#define GL_TEXTURE_GEN_MODE_OES 0x2500 -#define GL_TEXTURE_GEN_STR_OES 0x8D60 -typedef void (GL_APIENTRYP PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param); -typedef void (GL_APIENTRYP PFNGLTEXGENFVOESPROC) (GLenum coord, GLenum pname, const GLfloat *params); -typedef void (GL_APIENTRYP PFNGLTEXGENIOESPROC) (GLenum coord, GLenum pname, GLint param); -typedef void (GL_APIENTRYP PFNGLTEXGENIVOESPROC) (GLenum coord, GLenum pname, const GLint *params); -typedef void (GL_APIENTRYP PFNGLGETTEXGENFVOESPROC) (GLenum coord, GLenum pname, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLGETTEXGENIVOESPROC) (GLenum coord, GLenum pname, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glTexGenfOES (GLenum coord, GLenum pname, GLfloat param); -GL_API void GL_APIENTRY glTexGenfvOES (GLenum coord, GLenum pname, const GLfloat *params); -GL_API void GL_APIENTRY glTexGeniOES (GLenum coord, GLenum pname, GLint param); -GL_API void GL_APIENTRY glTexGenivOES (GLenum coord, GLenum pname, const GLint *params); -GL_API void GL_APIENTRY glGetTexGenfvOES (GLenum coord, GLenum pname, GLfloat *params); -GL_API void GL_APIENTRY glGetTexGenivOES (GLenum coord, GLenum pname, GLint *params); -#endif -#endif /* GL_OES_texture_cube_map */ - -#ifndef GL_OES_texture_env_crossbar -#define GL_OES_texture_env_crossbar 1 -#endif /* GL_OES_texture_env_crossbar */ - -#ifndef GL_OES_texture_mirrored_repeat -#define GL_OES_texture_mirrored_repeat 1 -#define GL_MIRRORED_REPEAT_OES 0x8370 -#endif /* GL_OES_texture_mirrored_repeat */ - -#ifndef GL_OES_vertex_array_object -#define GL_OES_vertex_array_object 1 -#define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 -typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); -typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); -typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); -typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glBindVertexArrayOES (GLuint array); -GL_API void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); -GL_API void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); -GL_API GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); -#endif -#endif /* GL_OES_vertex_array_object */ - -#ifndef GL_AMD_compressed_3DC_texture -#define GL_AMD_compressed_3DC_texture 1 -#define GL_3DC_X_AMD 0x87F9 -#define GL_3DC_XY_AMD 0x87FA -#endif /* GL_AMD_compressed_3DC_texture */ - -#ifndef GL_AMD_compressed_ATC_texture -#define GL_AMD_compressed_ATC_texture 1 -#define GL_ATC_RGB_AMD 0x8C92 -#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 -#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE -#endif /* GL_AMD_compressed_ATC_texture */ - -#ifndef GL_APPLE_copy_texture_levels -#define GL_APPLE_copy_texture_levels 1 -typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); -#endif -#endif /* GL_APPLE_copy_texture_levels */ - -#ifndef GL_APPLE_framebuffer_multisample -#define GL_APPLE_framebuffer_multisample 1 -#define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 -#define GL_MAX_SAMPLES_APPLE 0x8D57 -#define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 -#define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 -#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 -#define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GL_API void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); -#endif -#endif /* GL_APPLE_framebuffer_multisample */ - -#ifndef GL_APPLE_sync -#define GL_APPLE_sync 1 -typedef struct __GLsync *GLsync; -typedef khronos_uint64_t GLuint64; -typedef khronos_int64_t GLint64; -#define GL_SYNC_OBJECT_APPLE 0x8A53 -#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 -#define GL_OBJECT_TYPE_APPLE 0x9112 -#define GL_SYNC_CONDITION_APPLE 0x9113 -#define GL_SYNC_STATUS_APPLE 0x9114 -#define GL_SYNC_FLAGS_APPLE 0x9115 -#define GL_SYNC_FENCE_APPLE 0x9116 -#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 -#define GL_UNSIGNALED_APPLE 0x9118 -#define GL_SIGNALED_APPLE 0x9119 -#define GL_ALREADY_SIGNALED_APPLE 0x911A -#define GL_TIMEOUT_EXPIRED_APPLE 0x911B -#define GL_CONDITION_SATISFIED_APPLE 0x911C -#define GL_WAIT_FAILED_APPLE 0x911D -#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 -#define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull -typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags); -typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); -typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); -typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params); -typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -#ifdef GL_GLEXT_PROTOTYPES -GL_API GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags); -GL_API GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); -GL_API void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); -GL_API GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); -GL_API void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); -GL_API void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params); -GL_API void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -#endif -#endif /* GL_APPLE_sync */ - -#ifndef GL_APPLE_texture_2D_limited_npot -#define GL_APPLE_texture_2D_limited_npot 1 -#endif /* GL_APPLE_texture_2D_limited_npot */ - -#ifndef GL_APPLE_texture_format_BGRA8888 -#define GL_APPLE_texture_format_BGRA8888 1 -#define GL_BGRA_EXT 0x80E1 -#define GL_BGRA8_EXT 0x93A1 -#endif /* GL_APPLE_texture_format_BGRA8888 */ - -#ifndef GL_APPLE_texture_max_level -#define GL_APPLE_texture_max_level 1 -#define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D -#endif /* GL_APPLE_texture_max_level */ - -#ifndef GL_ARM_rgba8 -#define GL_ARM_rgba8 1 -#endif /* GL_ARM_rgba8 */ - -#ifndef GL_EXT_blend_minmax -#define GL_EXT_blend_minmax 1 -#define GL_MIN_EXT 0x8007 -#define GL_MAX_EXT 0x8008 -#endif /* GL_EXT_blend_minmax */ - -#ifndef GL_EXT_discard_framebuffer -#define GL_EXT_discard_framebuffer 1 -#define GL_COLOR_EXT 0x1800 -#define GL_DEPTH_EXT 0x1801 -#define GL_STENCIL_EXT 0x1802 -typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments); -#endif -#endif /* GL_EXT_discard_framebuffer */ - -#ifndef GL_EXT_map_buffer_range -#define GL_EXT_map_buffer_range 1 -#define GL_MAP_READ_BIT_EXT 0x0001 -#define GL_MAP_WRITE_BIT_EXT 0x0002 -#define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 -#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 -#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 -#define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 -typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -GL_API void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); -#endif -#endif /* GL_EXT_map_buffer_range */ - -#ifndef GL_EXT_multi_draw_arrays -#define GL_EXT_multi_draw_arrays 1 -typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); -typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); -GL_API void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); -#endif -#endif /* GL_EXT_multi_draw_arrays */ - -#ifndef GL_EXT_multisampled_render_to_texture -#define GL_EXT_multisampled_render_to_texture 1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C -#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 -#define GL_MAX_SAMPLES_EXT 0x8D57 -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GL_API void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); -#endif -#endif /* GL_EXT_multisampled_render_to_texture */ - -#ifndef GL_EXT_read_format_bgra -#define GL_EXT_read_format_bgra 1 -#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 -#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 -#endif /* GL_EXT_read_format_bgra */ - -#ifndef GL_EXT_robustness -#define GL_EXT_robustness 1 -#define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 -#define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 -#define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 -#define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 -#define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 -#define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 -#define GL_NO_RESET_NOTIFICATION_EXT 0x8261 -typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); -typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GL_API GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void); -GL_API void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -GL_API void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); -GL_API void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params); -#endif -#endif /* GL_EXT_robustness */ - -#ifndef GL_EXT_sRGB -#define GL_EXT_sRGB 1 -#define GL_SRGB_EXT 0x8C40 -#define GL_SRGB_ALPHA_EXT 0x8C42 -#define GL_SRGB8_ALPHA8_EXT 0x8C43 -#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 -#endif /* GL_EXT_sRGB */ - -#ifndef GL_EXT_texture_compression_dxt1 -#define GL_EXT_texture_compression_dxt1 1 -#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 -#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 -#endif /* GL_EXT_texture_compression_dxt1 */ - -#ifndef GL_EXT_texture_filter_anisotropic -#define GL_EXT_texture_filter_anisotropic 1 -#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE -#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF -#endif /* GL_EXT_texture_filter_anisotropic */ - -#ifndef GL_EXT_texture_format_BGRA8888 -#define GL_EXT_texture_format_BGRA8888 1 -#endif /* GL_EXT_texture_format_BGRA8888 */ - -#ifndef GL_EXT_texture_lod_bias -#define GL_EXT_texture_lod_bias 1 -#define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD -#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 -#define GL_TEXTURE_LOD_BIAS_EXT 0x8501 -#endif /* GL_EXT_texture_lod_bias */ - -#ifndef GL_EXT_texture_storage -#define GL_EXT_texture_storage 1 -#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F -#define GL_ALPHA8_EXT 0x803C -#define GL_LUMINANCE8_EXT 0x8040 -#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 -#define GL_RGBA32F_EXT 0x8814 -#define GL_RGB32F_EXT 0x8815 -#define GL_ALPHA32F_EXT 0x8816 -#define GL_LUMINANCE32F_EXT 0x8818 -#define GL_LUMINANCE_ALPHA32F_EXT 0x8819 -#define GL_RGBA16F_EXT 0x881A -#define GL_RGB16F_EXT 0x881B -#define GL_ALPHA16F_EXT 0x881C -#define GL_LUMINANCE16F_EXT 0x881E -#define GL_LUMINANCE_ALPHA16F_EXT 0x881F -#define GL_R8_EXT 0x8229 -#define GL_RG8_EXT 0x822B -#define GL_R32F_EXT 0x822E -#define GL_RG32F_EXT 0x8230 -#define GL_R16F_EXT 0x822D -#define GL_RG16F_EXT 0x822F -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -GL_API void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -GL_API void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -GL_API void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -GL_API void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -GL_API void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -#endif -#endif /* GL_EXT_texture_storage */ - -#ifndef GL_IMG_multisampled_render_to_texture -#define GL_IMG_multisampled_render_to_texture 1 -#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 -#define GL_MAX_SAMPLES_IMG 0x9135 -#define GL_TEXTURE_SAMPLES_IMG 0x9136 -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GL_API void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); -#endif -#endif /* GL_IMG_multisampled_render_to_texture */ - -#ifndef GL_IMG_read_format -#define GL_IMG_read_format 1 -#define GL_BGRA_IMG 0x80E1 -#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 -#endif /* GL_IMG_read_format */ - -#ifndef GL_IMG_texture_compression_pvrtc -#define GL_IMG_texture_compression_pvrtc 1 -#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 -#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 -#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 -#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 -#endif /* GL_IMG_texture_compression_pvrtc */ - -#ifndef GL_IMG_texture_env_enhanced_fixed_function -#define GL_IMG_texture_env_enhanced_fixed_function 1 -#define GL_MODULATE_COLOR_IMG 0x8C04 -#define GL_RECIP_ADD_SIGNED_ALPHA_IMG 0x8C05 -#define GL_TEXTURE_ALPHA_MODULATE_IMG 0x8C06 -#define GL_FACTOR_ALPHA_MODULATE_IMG 0x8C07 -#define GL_FRAGMENT_ALPHA_MODULATE_IMG 0x8C08 -#define GL_ADD_BLEND_IMG 0x8C09 -#define GL_DOT3_RGBA_IMG 0x86AF -#endif /* GL_IMG_texture_env_enhanced_fixed_function */ - -#ifndef GL_IMG_user_clip_plane -#define GL_IMG_user_clip_plane 1 -#define GL_CLIP_PLANE0_IMG 0x3000 -#define GL_CLIP_PLANE1_IMG 0x3001 -#define GL_CLIP_PLANE2_IMG 0x3002 -#define GL_CLIP_PLANE3_IMG 0x3003 -#define GL_CLIP_PLANE4_IMG 0x3004 -#define GL_CLIP_PLANE5_IMG 0x3005 -#define GL_MAX_CLIP_PLANES_IMG 0x0D32 -typedef void (GL_APIENTRYP PFNGLCLIPPLANEFIMGPROC) (GLenum p, const GLfloat *eqn); -typedef void (GL_APIENTRYP PFNGLCLIPPLANEXIMGPROC) (GLenum p, const GLfixed *eqn); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glClipPlanefIMG (GLenum p, const GLfloat *eqn); -GL_API void GL_APIENTRY glClipPlanexIMG (GLenum p, const GLfixed *eqn); -#endif -#endif /* GL_IMG_user_clip_plane */ - -#ifndef GL_NV_fence -#define GL_NV_fence 1 -#define GL_ALL_COMPLETED_NV 0x84F2 -#define GL_FENCE_STATUS_NV 0x84F3 -#define GL_FENCE_CONDITION_NV 0x84F4 -typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); -typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); -typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); -typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); -typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); -typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); -GL_API void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); -GL_API GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); -GL_API GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); -GL_API void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); -GL_API void GL_APIENTRY glFinishFenceNV (GLuint fence); -GL_API void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); -#endif -#endif /* GL_NV_fence */ - -#ifndef GL_QCOM_driver_control -#define GL_QCOM_driver_control 1 -typedef char GLchar; -typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); -typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); -typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); -typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls); -GL_API void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); -GL_API void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); -GL_API void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); -#endif -#endif /* GL_QCOM_driver_control */ - -#ifndef GL_QCOM_extended_get -#define GL_QCOM_extended_get 1 -#define GL_TEXTURE_WIDTH_QCOM 0x8BD2 -#define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 -#define GL_TEXTURE_DEPTH_QCOM 0x8BD4 -#define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 -#define GL_TEXTURE_FORMAT_QCOM 0x8BD6 -#define GL_TEXTURE_TYPE_QCOM 0x8BD7 -#define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 -#define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 -#define GL_TEXTURE_TARGET_QCOM 0x8BDA -#define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB -#define GL_STATE_RESTORE 0x8BDC -typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); -typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); -typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); -typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); -typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); -typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); -typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures); -GL_API void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); -GL_API void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); -GL_API void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); -GL_API void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); -GL_API void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param); -GL_API void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); -GL_API void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params); -#endif -#endif /* GL_QCOM_extended_get */ - -#ifndef GL_QCOM_extended_get2 -#define GL_QCOM_extended_get2 1 -typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); -typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); -typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders); -GL_API void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms); -GL_API GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); -GL_API void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length); -#endif -#endif /* GL_QCOM_extended_get2 */ - -#ifndef GL_QCOM_perfmon_global_mode -#define GL_QCOM_perfmon_global_mode 1 -#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 -#endif /* GL_QCOM_perfmon_global_mode */ - -#ifndef GL_QCOM_tiled_rendering -#define GL_QCOM_tiled_rendering 1 -#define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 -#define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 -#define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 -#define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 -#define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 -#define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 -#define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 -#define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 -#define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 -#define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 -#define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 -#define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 -#define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 -#define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 -#define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 -#define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 -#define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 -#define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 -#define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 -#define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 -#define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 -#define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 -#define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 -#define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 -#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 -#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 -#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 -#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 -#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 -#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 -#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 -#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 -typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); -typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); -#ifdef GL_GLEXT_PROTOTYPES -GL_API void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); -GL_API void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); -#endif -#endif /* GL_QCOM_tiled_rendering */ - -#ifndef GL_QCOM_writeonly_rendering -#define GL_QCOM_writeonly_rendering 1 -#define GL_WRITEONLY_RENDERING_QCOM 0x8823 -#endif /* GL_QCOM_writeonly_rendering */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/khronos/repository/api/GLES2/gl2.h b/khronos/repository/api/GLES2/gl2.h deleted file mode 100644 index 6bb29bd..0000000 --- a/khronos/repository/api/GLES2/gl2.h +++ /dev/null @@ -1,673 +0,0 @@ -#ifndef __gl2_h_ -#define __gl2_h_ 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2013-2015 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts -** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ -*/ - -#include - -#ifndef GL_APIENTRYP -#define GL_APIENTRYP GL_APIENTRY* -#endif - -/* Generated on date 20151103 */ - -/* Generated C header for: - * API: gles2 - * Profile: common - * Versions considered: 2\.[0-9] - * Versions emitted: .* - * Default extensions included: None - * Additional extensions included: _nomatch_^ - * Extensions removed: _nomatch_^ - */ - -#ifndef GL_ES_VERSION_2_0 -#define GL_ES_VERSION_2_0 1 -#include -typedef khronos_int8_t GLbyte; -typedef khronos_float_t GLclampf; -typedef khronos_int32_t GLfixed; -typedef short GLshort; -typedef unsigned short GLushort; -typedef void GLvoid; -typedef struct __GLsync *GLsync; -typedef khronos_int64_t GLint64; -typedef khronos_uint64_t GLuint64; -typedef unsigned int GLenum; -typedef unsigned int GLuint; -typedef char GLchar; -typedef khronos_float_t GLfloat; -typedef khronos_ssize_t GLsizeiptr; -typedef khronos_intptr_t GLintptr; -typedef unsigned int GLbitfield; -typedef int GLint; -typedef unsigned char GLboolean; -typedef int GLsizei; -typedef khronos_uint8_t GLubyte; -#define GL_DEPTH_BUFFER_BIT 0x00000100 -#define GL_STENCIL_BUFFER_BIT 0x00000400 -#define GL_COLOR_BUFFER_BIT 0x00004000 -#define GL_FALSE 0 -#define GL_TRUE 1 -#define GL_POINTS 0x0000 -#define GL_LINES 0x0001 -#define GL_LINE_LOOP 0x0002 -#define GL_LINE_STRIP 0x0003 -#define GL_TRIANGLES 0x0004 -#define GL_TRIANGLE_STRIP 0x0005 -#define GL_TRIANGLE_FAN 0x0006 -#define GL_ZERO 0 -#define GL_ONE 1 -#define GL_SRC_COLOR 0x0300 -#define GL_ONE_MINUS_SRC_COLOR 0x0301 -#define GL_SRC_ALPHA 0x0302 -#define GL_ONE_MINUS_SRC_ALPHA 0x0303 -#define GL_DST_ALPHA 0x0304 -#define GL_ONE_MINUS_DST_ALPHA 0x0305 -#define GL_DST_COLOR 0x0306 -#define GL_ONE_MINUS_DST_COLOR 0x0307 -#define GL_SRC_ALPHA_SATURATE 0x0308 -#define GL_FUNC_ADD 0x8006 -#define GL_BLEND_EQUATION 0x8009 -#define GL_BLEND_EQUATION_RGB 0x8009 -#define GL_BLEND_EQUATION_ALPHA 0x883D -#define GL_FUNC_SUBTRACT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT 0x800B -#define GL_BLEND_DST_RGB 0x80C8 -#define GL_BLEND_SRC_RGB 0x80C9 -#define GL_BLEND_DST_ALPHA 0x80CA -#define GL_BLEND_SRC_ALPHA 0x80CB -#define GL_CONSTANT_COLOR 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 -#define GL_CONSTANT_ALPHA 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 -#define GL_BLEND_COLOR 0x8005 -#define GL_ARRAY_BUFFER 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER 0x8893 -#define GL_ARRAY_BUFFER_BINDING 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 -#define GL_STREAM_DRAW 0x88E0 -#define GL_STATIC_DRAW 0x88E4 -#define GL_DYNAMIC_DRAW 0x88E8 -#define GL_BUFFER_SIZE 0x8764 -#define GL_BUFFER_USAGE 0x8765 -#define GL_CURRENT_VERTEX_ATTRIB 0x8626 -#define GL_FRONT 0x0404 -#define GL_BACK 0x0405 -#define GL_FRONT_AND_BACK 0x0408 -#define GL_TEXTURE_2D 0x0DE1 -#define GL_CULL_FACE 0x0B44 -#define GL_BLEND 0x0BE2 -#define GL_DITHER 0x0BD0 -#define GL_STENCIL_TEST 0x0B90 -#define GL_DEPTH_TEST 0x0B71 -#define GL_SCISSOR_TEST 0x0C11 -#define GL_POLYGON_OFFSET_FILL 0x8037 -#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E -#define GL_SAMPLE_COVERAGE 0x80A0 -#define GL_NO_ERROR 0 -#define GL_INVALID_ENUM 0x0500 -#define GL_INVALID_VALUE 0x0501 -#define GL_INVALID_OPERATION 0x0502 -#define GL_OUT_OF_MEMORY 0x0505 -#define GL_CW 0x0900 -#define GL_CCW 0x0901 -#define GL_LINE_WIDTH 0x0B21 -#define GL_ALIASED_POINT_SIZE_RANGE 0x846D -#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E -#define GL_CULL_FACE_MODE 0x0B45 -#define GL_FRONT_FACE 0x0B46 -#define GL_DEPTH_RANGE 0x0B70 -#define GL_DEPTH_WRITEMASK 0x0B72 -#define GL_DEPTH_CLEAR_VALUE 0x0B73 -#define GL_DEPTH_FUNC 0x0B74 -#define GL_STENCIL_CLEAR_VALUE 0x0B91 -#define GL_STENCIL_FUNC 0x0B92 -#define GL_STENCIL_FAIL 0x0B94 -#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 -#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 -#define GL_STENCIL_REF 0x0B97 -#define GL_STENCIL_VALUE_MASK 0x0B93 -#define GL_STENCIL_WRITEMASK 0x0B98 -#define GL_STENCIL_BACK_FUNC 0x8800 -#define GL_STENCIL_BACK_FAIL 0x8801 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 -#define GL_STENCIL_BACK_REF 0x8CA3 -#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 -#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 -#define GL_VIEWPORT 0x0BA2 -#define GL_SCISSOR_BOX 0x0C10 -#define GL_COLOR_CLEAR_VALUE 0x0C22 -#define GL_COLOR_WRITEMASK 0x0C23 -#define GL_UNPACK_ALIGNMENT 0x0CF5 -#define GL_PACK_ALIGNMENT 0x0D05 -#define GL_MAX_TEXTURE_SIZE 0x0D33 -#define GL_MAX_VIEWPORT_DIMS 0x0D3A -#define GL_SUBPIXEL_BITS 0x0D50 -#define GL_RED_BITS 0x0D52 -#define GL_GREEN_BITS 0x0D53 -#define GL_BLUE_BITS 0x0D54 -#define GL_ALPHA_BITS 0x0D55 -#define GL_DEPTH_BITS 0x0D56 -#define GL_STENCIL_BITS 0x0D57 -#define GL_POLYGON_OFFSET_UNITS 0x2A00 -#define GL_POLYGON_OFFSET_FACTOR 0x8038 -#define GL_TEXTURE_BINDING_2D 0x8069 -#define GL_SAMPLE_BUFFERS 0x80A8 -#define GL_SAMPLES 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT 0x80AB -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 -#define GL_DONT_CARE 0x1100 -#define GL_FASTEST 0x1101 -#define GL_NICEST 0x1102 -#define GL_GENERATE_MIPMAP_HINT 0x8192 -#define GL_BYTE 0x1400 -#define GL_UNSIGNED_BYTE 0x1401 -#define GL_SHORT 0x1402 -#define GL_UNSIGNED_SHORT 0x1403 -#define GL_INT 0x1404 -#define GL_UNSIGNED_INT 0x1405 -#define GL_FLOAT 0x1406 -#define GL_FIXED 0x140C -#define GL_DEPTH_COMPONENT 0x1902 -#define GL_ALPHA 0x1906 -#define GL_RGB 0x1907 -#define GL_RGBA 0x1908 -#define GL_LUMINANCE 0x1909 -#define GL_LUMINANCE_ALPHA 0x190A -#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 -#define GL_UNSIGNED_SHORT_5_6_5 0x8363 -#define GL_FRAGMENT_SHADER 0x8B30 -#define GL_VERTEX_SHADER 0x8B31 -#define GL_MAX_VERTEX_ATTRIBS 0x8869 -#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB -#define GL_MAX_VARYING_VECTORS 0x8DFC -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C -#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 -#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD -#define GL_SHADER_TYPE 0x8B4F -#define GL_DELETE_STATUS 0x8B80 -#define GL_LINK_STATUS 0x8B82 -#define GL_VALIDATE_STATUS 0x8B83 -#define GL_ATTACHED_SHADERS 0x8B85 -#define GL_ACTIVE_UNIFORMS 0x8B86 -#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 -#define GL_ACTIVE_ATTRIBUTES 0x8B89 -#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A -#define GL_SHADING_LANGUAGE_VERSION 0x8B8C -#define GL_CURRENT_PROGRAM 0x8B8D -#define GL_NEVER 0x0200 -#define GL_LESS 0x0201 -#define GL_EQUAL 0x0202 -#define GL_LEQUAL 0x0203 -#define GL_GREATER 0x0204 -#define GL_NOTEQUAL 0x0205 -#define GL_GEQUAL 0x0206 -#define GL_ALWAYS 0x0207 -#define GL_KEEP 0x1E00 -#define GL_REPLACE 0x1E01 -#define GL_INCR 0x1E02 -#define GL_DECR 0x1E03 -#define GL_INVERT 0x150A -#define GL_INCR_WRAP 0x8507 -#define GL_DECR_WRAP 0x8508 -#define GL_VENDOR 0x1F00 -#define GL_RENDERER 0x1F01 -#define GL_VERSION 0x1F02 -#define GL_EXTENSIONS 0x1F03 -#define GL_NEAREST 0x2600 -#define GL_LINEAR 0x2601 -#define GL_NEAREST_MIPMAP_NEAREST 0x2700 -#define GL_LINEAR_MIPMAP_NEAREST 0x2701 -#define GL_NEAREST_MIPMAP_LINEAR 0x2702 -#define GL_LINEAR_MIPMAP_LINEAR 0x2703 -#define GL_TEXTURE_MAG_FILTER 0x2800 -#define GL_TEXTURE_MIN_FILTER 0x2801 -#define GL_TEXTURE_WRAP_S 0x2802 -#define GL_TEXTURE_WRAP_T 0x2803 -#define GL_TEXTURE 0x1702 -#define GL_TEXTURE_CUBE_MAP 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C -#define GL_TEXTURE0 0x84C0 -#define GL_TEXTURE1 0x84C1 -#define GL_TEXTURE2 0x84C2 -#define GL_TEXTURE3 0x84C3 -#define GL_TEXTURE4 0x84C4 -#define GL_TEXTURE5 0x84C5 -#define GL_TEXTURE6 0x84C6 -#define GL_TEXTURE7 0x84C7 -#define GL_TEXTURE8 0x84C8 -#define GL_TEXTURE9 0x84C9 -#define GL_TEXTURE10 0x84CA -#define GL_TEXTURE11 0x84CB -#define GL_TEXTURE12 0x84CC -#define GL_TEXTURE13 0x84CD -#define GL_TEXTURE14 0x84CE -#define GL_TEXTURE15 0x84CF -#define GL_TEXTURE16 0x84D0 -#define GL_TEXTURE17 0x84D1 -#define GL_TEXTURE18 0x84D2 -#define GL_TEXTURE19 0x84D3 -#define GL_TEXTURE20 0x84D4 -#define GL_TEXTURE21 0x84D5 -#define GL_TEXTURE22 0x84D6 -#define GL_TEXTURE23 0x84D7 -#define GL_TEXTURE24 0x84D8 -#define GL_TEXTURE25 0x84D9 -#define GL_TEXTURE26 0x84DA -#define GL_TEXTURE27 0x84DB -#define GL_TEXTURE28 0x84DC -#define GL_TEXTURE29 0x84DD -#define GL_TEXTURE30 0x84DE -#define GL_TEXTURE31 0x84DF -#define GL_ACTIVE_TEXTURE 0x84E0 -#define GL_REPEAT 0x2901 -#define GL_CLAMP_TO_EDGE 0x812F -#define GL_MIRRORED_REPEAT 0x8370 -#define GL_FLOAT_VEC2 0x8B50 -#define GL_FLOAT_VEC3 0x8B51 -#define GL_FLOAT_VEC4 0x8B52 -#define GL_INT_VEC2 0x8B53 -#define GL_INT_VEC3 0x8B54 -#define GL_INT_VEC4 0x8B55 -#define GL_BOOL 0x8B56 -#define GL_BOOL_VEC2 0x8B57 -#define GL_BOOL_VEC3 0x8B58 -#define GL_BOOL_VEC4 0x8B59 -#define GL_FLOAT_MAT2 0x8B5A -#define GL_FLOAT_MAT3 0x8B5B -#define GL_FLOAT_MAT4 0x8B5C -#define GL_SAMPLER_2D 0x8B5E -#define GL_SAMPLER_CUBE 0x8B60 -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A -#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F -#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B -#define GL_COMPILE_STATUS 0x8B81 -#define GL_INFO_LOG_LENGTH 0x8B84 -#define GL_SHADER_SOURCE_LENGTH 0x8B88 -#define GL_SHADER_COMPILER 0x8DFA -#define GL_SHADER_BINARY_FORMATS 0x8DF8 -#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 -#define GL_LOW_FLOAT 0x8DF0 -#define GL_MEDIUM_FLOAT 0x8DF1 -#define GL_HIGH_FLOAT 0x8DF2 -#define GL_LOW_INT 0x8DF3 -#define GL_MEDIUM_INT 0x8DF4 -#define GL_HIGH_INT 0x8DF5 -#define GL_FRAMEBUFFER 0x8D40 -#define GL_RENDERBUFFER 0x8D41 -#define GL_RGBA4 0x8056 -#define GL_RGB5_A1 0x8057 -#define GL_RGB565 0x8D62 -#define GL_DEPTH_COMPONENT16 0x81A5 -#define GL_STENCIL_INDEX8 0x8D48 -#define GL_RENDERBUFFER_WIDTH 0x8D42 -#define GL_RENDERBUFFER_HEIGHT 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 -#define GL_RENDERBUFFER_RED_SIZE 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 -#define GL_COLOR_ATTACHMENT0 0x8CE0 -#define GL_DEPTH_ATTACHMENT 0x8D00 -#define GL_STENCIL_ATTACHMENT 0x8D20 -#define GL_NONE 0 -#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 -#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD -#define GL_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_RENDERBUFFER_BINDING 0x8CA7 -#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 -#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 -typedef void (GL_APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); -typedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); -typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); -typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); -typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); -typedef void (GL_APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture); -typedef void (GL_APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); -typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); -typedef void (GL_APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor); -typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -typedef void (GL_APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage); -typedef void (GL_APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); -typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLCLEARPROC) (GLbitfield mask); -typedef void (GL_APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); -typedef void (GL_APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s); -typedef void (GL_APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -typedef void (GL_APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); -typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); -typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -typedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef GLuint (GL_APIENTRYP PFNGLCREATEPROGRAMPROC) (void); -typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); -typedef void (GL_APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); -typedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); -typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers); -typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers); -typedef void (GL_APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); -typedef void (GL_APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures); -typedef void (GL_APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func); -typedef void (GL_APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag); -typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); -typedef void (GL_APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (GL_APIENTRYP PFNGLDISABLEPROC) (GLenum cap); -typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); -typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count); -typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices); -typedef void (GL_APIENTRYP PFNGLENABLEPROC) (GLenum cap); -typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); -typedef void (GL_APIENTRYP PFNGLFINISHPROC) (void); -typedef void (GL_APIENTRYP PFNGLFLUSHPROC) (void); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (GL_APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); -typedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); -typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); -typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); -typedef void (GL_APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures); -typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); -typedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (GL_APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data); -typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef GLenum (GL_APIENTRYP PFNGLGETERRORPROC) (void); -typedef void (GL_APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data); -typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (GL_APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); -typedef void (GL_APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); -typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGPROC) (GLenum name); -typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); -typedef GLint (GL_APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer); -typedef void (GL_APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); -typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); -typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDPROC) (GLenum cap); -typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); -typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); -typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); -typedef GLboolean (GL_APIENTRYP PFNGLISSHADERPROC) (GLuint shader); -typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture); -typedef void (GL_APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width); -typedef void (GL_APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param); -typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units); -typedef void (GL_APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); -typedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); -typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); -typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); -typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); -typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); -typedef void (GL_APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask); -typedef void (GL_APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); -typedef void (GL_APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass); -typedef void (GL_APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); -typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); -typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); -typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); -typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); -typedef void (GL_APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (GL_APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (GL_APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); -typedef void (GL_APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); -GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); -GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); -GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); -GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); -GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); -GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); -GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); -GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); -GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); -GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); -GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); -GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); -GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); -GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d); -GL_APICALL void GL_APIENTRY glClearStencil (GLint s); -GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); -GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); -GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); -GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); -GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); -GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); -GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); -GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); -GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); -GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); -GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); -GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); -GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); -GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); -GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); -GL_APICALL void GL_APIENTRY glDisable (GLenum cap); -GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); -GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); -GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); -GL_APICALL void GL_APIENTRY glEnable (GLenum cap); -GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); -GL_APICALL void GL_APIENTRY glFinish (void); -GL_APICALL void GL_APIENTRY glFlush (void); -GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); -GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); -GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); -GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); -GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); -GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); -GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); -GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); -GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); -GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); -GL_APICALL GLenum GL_APIENTRY glGetError (void); -GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data); -GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data); -GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); -GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); -GL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name); -GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); -GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); -GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); -GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); -GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); -GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); -GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); -GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); -GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); -GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); -GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); -GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); -GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); -GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); -GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); -GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); -GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); -GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); -GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); -GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); -GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); -GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); -GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); -GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); -GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); -GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); -GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); -GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); -GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); -GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); -GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); -GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); -GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); -GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); -GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); -GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); -GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); -GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); -GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); -GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); -GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); -GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); -GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); -#endif -#endif /* GL_ES_VERSION_2_0 */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/khronos/repository/api/GLES2/gl2ext.h b/khronos/repository/api/GLES2/gl2ext.h deleted file mode 100644 index 60c93f4..0000000 --- a/khronos/repository/api/GLES2/gl2ext.h +++ /dev/null @@ -1,2946 +0,0 @@ -#ifndef __gl2ext_h_ -#define __gl2ext_h_ 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2013-2015 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts -** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ -*/ - -#ifndef GL_APIENTRYP -#define GL_APIENTRYP GL_APIENTRY* -#endif - -/* Generated on date 20151103 */ - -/* Generated C header for: - * API: gles2 - * Profile: common - * Versions considered: 2\.[0-9] - * Versions emitted: _nomatch_^ - * Default extensions included: gles2 - * Additional extensions included: _nomatch_^ - * Extensions removed: _nomatch_^ - */ - -#ifndef GL_KHR_blend_equation_advanced -#define GL_KHR_blend_equation_advanced 1 -#define GL_MULTIPLY_KHR 0x9294 -#define GL_SCREEN_KHR 0x9295 -#define GL_OVERLAY_KHR 0x9296 -#define GL_DARKEN_KHR 0x9297 -#define GL_LIGHTEN_KHR 0x9298 -#define GL_COLORDODGE_KHR 0x9299 -#define GL_COLORBURN_KHR 0x929A -#define GL_HARDLIGHT_KHR 0x929B -#define GL_SOFTLIGHT_KHR 0x929C -#define GL_DIFFERENCE_KHR 0x929E -#define GL_EXCLUSION_KHR 0x92A0 -#define GL_HSL_HUE_KHR 0x92AD -#define GL_HSL_SATURATION_KHR 0x92AE -#define GL_HSL_COLOR_KHR 0x92AF -#define GL_HSL_LUMINOSITY_KHR 0x92B0 -typedef void (GL_APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glBlendBarrierKHR (void); -#endif -#endif /* GL_KHR_blend_equation_advanced */ - -#ifndef GL_KHR_blend_equation_advanced_coherent -#define GL_KHR_blend_equation_advanced_coherent 1 -#define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285 -#endif /* GL_KHR_blend_equation_advanced_coherent */ - -#ifndef GL_KHR_context_flush_control -#define GL_KHR_context_flush_control 1 -#define GL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x82FB -#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x82FC -#endif /* GL_KHR_context_flush_control */ - -#ifndef GL_KHR_debug -#define GL_KHR_debug 1 -typedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); -#define GL_SAMPLER 0x82E6 -#define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242 -#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243 -#define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244 -#define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245 -#define GL_DEBUG_SOURCE_API_KHR 0x8246 -#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247 -#define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248 -#define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249 -#define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A -#define GL_DEBUG_SOURCE_OTHER_KHR 0x824B -#define GL_DEBUG_TYPE_ERROR_KHR 0x824C -#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D -#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E -#define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F -#define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250 -#define GL_DEBUG_TYPE_OTHER_KHR 0x8251 -#define GL_DEBUG_TYPE_MARKER_KHR 0x8268 -#define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269 -#define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A -#define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B -#define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C -#define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D -#define GL_BUFFER_KHR 0x82E0 -#define GL_SHADER_KHR 0x82E1 -#define GL_PROGRAM_KHR 0x82E2 -#define GL_VERTEX_ARRAY_KHR 0x8074 -#define GL_QUERY_KHR 0x82E3 -#define GL_PROGRAM_PIPELINE_KHR 0x82E4 -#define GL_SAMPLER_KHR 0x82E6 -#define GL_MAX_LABEL_LENGTH_KHR 0x82E8 -#define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143 -#define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144 -#define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145 -#define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146 -#define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147 -#define GL_DEBUG_SEVERITY_LOW_KHR 0x9148 -#define GL_DEBUG_OUTPUT_KHR 0x92E0 -#define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002 -#define GL_STACK_OVERFLOW_KHR 0x0503 -#define GL_STACK_UNDERFLOW_KHR 0x0504 -typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); -typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); -typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam); -typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); -typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); -typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void); -typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); -typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); -typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label); -typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); -typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); -GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); -GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam); -GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); -GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message); -GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void); -GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); -GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); -GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label); -GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); -GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params); -#endif -#endif /* GL_KHR_debug */ - -#ifndef GL_KHR_no_error -#define GL_KHR_no_error 1 -#define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008 -#endif /* GL_KHR_no_error */ - -#ifndef GL_KHR_robust_buffer_access_behavior -#define GL_KHR_robust_buffer_access_behavior 1 -#endif /* GL_KHR_robust_buffer_access_behavior */ - -#ifndef GL_KHR_robustness -#define GL_KHR_robustness 1 -#define GL_CONTEXT_ROBUST_ACCESS_KHR 0x90F3 -#define GL_LOSE_CONTEXT_ON_RESET_KHR 0x8252 -#define GL_GUILTY_CONTEXT_RESET_KHR 0x8253 -#define GL_INNOCENT_CONTEXT_RESET_KHR 0x8254 -#define GL_UNKNOWN_CONTEXT_RESET_KHR 0x8255 -#define GL_RESET_NOTIFICATION_STRATEGY_KHR 0x8256 -#define GL_NO_RESET_NOTIFICATION_KHR 0x8261 -#define GL_CONTEXT_LOST_KHR 0x0507 -typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC) (void); -typedef void (GL_APIENTRYP PFNGLREADNPIXELSKHRPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusKHR (void); -GL_APICALL void GL_APIENTRY glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -GL_APICALL void GL_APIENTRY glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); -GL_APICALL void GL_APIENTRY glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint *params); -GL_APICALL void GL_APIENTRY glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint *params); -#endif -#endif /* GL_KHR_robustness */ - -#ifndef GL_KHR_texture_compression_astc_hdr -#define GL_KHR_texture_compression_astc_hdr 1 -#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 -#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 -#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 -#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 -#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 -#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 -#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 -#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 -#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 -#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 -#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA -#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB -#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC -#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD -#endif /* GL_KHR_texture_compression_astc_hdr */ - -#ifndef GL_KHR_texture_compression_astc_ldr -#define GL_KHR_texture_compression_astc_ldr 1 -#endif /* GL_KHR_texture_compression_astc_ldr */ - -#ifndef GL_KHR_texture_compression_astc_sliced_3d -#define GL_KHR_texture_compression_astc_sliced_3d 1 -#endif /* GL_KHR_texture_compression_astc_sliced_3d */ - -#ifndef GL_OES_EGL_image -#define GL_OES_EGL_image 1 -typedef void *GLeglImageOES; -typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); -typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); -GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); -#endif -#endif /* GL_OES_EGL_image */ - -#ifndef GL_OES_EGL_image_external -#define GL_OES_EGL_image_external 1 -#define GL_TEXTURE_EXTERNAL_OES 0x8D65 -#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 -#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 -#define GL_SAMPLER_EXTERNAL_OES 0x8D66 -#endif /* GL_OES_EGL_image_external */ - -#ifndef GL_OES_EGL_image_external_essl3 -#define GL_OES_EGL_image_external_essl3 1 -#endif /* GL_OES_EGL_image_external_essl3 */ - -#ifndef GL_OES_compressed_ETC1_RGB8_sub_texture -#define GL_OES_compressed_ETC1_RGB8_sub_texture 1 -#endif /* GL_OES_compressed_ETC1_RGB8_sub_texture */ - -#ifndef GL_OES_compressed_ETC1_RGB8_texture -#define GL_OES_compressed_ETC1_RGB8_texture 1 -#define GL_ETC1_RGB8_OES 0x8D64 -#endif /* GL_OES_compressed_ETC1_RGB8_texture */ - -#ifndef GL_OES_compressed_paletted_texture -#define GL_OES_compressed_paletted_texture 1 -#define GL_PALETTE4_RGB8_OES 0x8B90 -#define GL_PALETTE4_RGBA8_OES 0x8B91 -#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 -#define GL_PALETTE4_RGBA4_OES 0x8B93 -#define GL_PALETTE4_RGB5_A1_OES 0x8B94 -#define GL_PALETTE8_RGB8_OES 0x8B95 -#define GL_PALETTE8_RGBA8_OES 0x8B96 -#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 -#define GL_PALETTE8_RGBA4_OES 0x8B98 -#define GL_PALETTE8_RGB5_A1_OES 0x8B99 -#endif /* GL_OES_compressed_paletted_texture */ - -#ifndef GL_OES_copy_image -#define GL_OES_copy_image 1 -typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAOESPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glCopyImageSubDataOES (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); -#endif -#endif /* GL_OES_copy_image */ - -#ifndef GL_OES_depth24 -#define GL_OES_depth24 1 -#define GL_DEPTH_COMPONENT24_OES 0x81A6 -#endif /* GL_OES_depth24 */ - -#ifndef GL_OES_depth32 -#define GL_OES_depth32 1 -#define GL_DEPTH_COMPONENT32_OES 0x81A7 -#endif /* GL_OES_depth32 */ - -#ifndef GL_OES_depth_texture -#define GL_OES_depth_texture 1 -#endif /* GL_OES_depth_texture */ - -#ifndef GL_OES_draw_buffers_indexed -#define GL_OES_draw_buffers_indexed 1 -#define GL_MIN 0x8007 -#define GL_MAX 0x8008 -typedef void (GL_APIENTRYP PFNGLENABLEIOESPROC) (GLenum target, GLuint index); -typedef void (GL_APIENTRYP PFNGLDISABLEIOESPROC) (GLenum target, GLuint index); -typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIOESPROC) (GLuint buf, GLenum mode); -typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIOESPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -typedef void (GL_APIENTRYP PFNGLBLENDFUNCIOESPROC) (GLuint buf, GLenum src, GLenum dst); -typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIOESPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -typedef void (GL_APIENTRYP PFNGLCOLORMASKIOESPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIOESPROC) (GLenum target, GLuint index); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glEnableiOES (GLenum target, GLuint index); -GL_APICALL void GL_APIENTRY glDisableiOES (GLenum target, GLuint index); -GL_APICALL void GL_APIENTRY glBlendEquationiOES (GLuint buf, GLenum mode); -GL_APICALL void GL_APIENTRY glBlendEquationSeparateiOES (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -GL_APICALL void GL_APIENTRY glBlendFunciOES (GLuint buf, GLenum src, GLenum dst); -GL_APICALL void GL_APIENTRY glBlendFuncSeparateiOES (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -GL_APICALL void GL_APIENTRY glColorMaskiOES (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -GL_APICALL GLboolean GL_APIENTRY glIsEnablediOES (GLenum target, GLuint index); -#endif -#endif /* GL_OES_draw_buffers_indexed */ - -#ifndef GL_OES_draw_elements_base_vertex -#define GL_OES_draw_elements_base_vertex 1 -typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); -typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); -typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); -GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); -GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexOES (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); -#endif -#endif /* GL_OES_draw_elements_base_vertex */ - -#ifndef GL_OES_element_index_uint -#define GL_OES_element_index_uint 1 -#endif /* GL_OES_element_index_uint */ - -#ifndef GL_OES_fbo_render_mipmap -#define GL_OES_fbo_render_mipmap 1 -#endif /* GL_OES_fbo_render_mipmap */ - -#ifndef GL_OES_fragment_precision_high -#define GL_OES_fragment_precision_high 1 -#endif /* GL_OES_fragment_precision_high */ - -#ifndef GL_OES_geometry_point_size -#define GL_OES_geometry_point_size 1 -#endif /* GL_OES_geometry_point_size */ - -#ifndef GL_OES_geometry_shader -#define GL_OES_geometry_shader 1 -#define GL_GEOMETRY_SHADER_OES 0x8DD9 -#define GL_GEOMETRY_SHADER_BIT_OES 0x00000004 -#define GL_GEOMETRY_LINKED_VERTICES_OUT_OES 0x8916 -#define GL_GEOMETRY_LINKED_INPUT_TYPE_OES 0x8917 -#define GL_GEOMETRY_LINKED_OUTPUT_TYPE_OES 0x8918 -#define GL_GEOMETRY_SHADER_INVOCATIONS_OES 0x887F -#define GL_LAYER_PROVOKING_VERTEX_OES 0x825E -#define GL_LINES_ADJACENCY_OES 0x000A -#define GL_LINE_STRIP_ADJACENCY_OES 0x000B -#define GL_TRIANGLES_ADJACENCY_OES 0x000C -#define GL_TRIANGLE_STRIP_ADJACENCY_OES 0x000D -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8DDF -#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_OES 0x8A2C -#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8A32 -#define GL_MAX_GEOMETRY_INPUT_COMPONENTS_OES 0x9123 -#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_OES 0x9124 -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_OES 0x8DE0 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_OES 0x8DE1 -#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_OES 0x8E5A -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_OES 0x8C29 -#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES 0x92CF -#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_OES 0x92D5 -#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_OES 0x90CD -#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_OES 0x90D7 -#define GL_FIRST_VERTEX_CONVENTION_OES 0x8E4D -#define GL_LAST_VERTEX_CONVENTION_OES 0x8E4E -#define GL_UNDEFINED_VERTEX_OES 0x8260 -#define GL_PRIMITIVES_GENERATED_OES 0x8C87 -#define GL_FRAMEBUFFER_DEFAULT_LAYERS_OES 0x9312 -#define GL_MAX_FRAMEBUFFER_LAYERS_OES 0x9317 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_OES 0x8DA8 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES 0x8DA7 -#define GL_REFERENCED_BY_GEOMETRY_SHADER_OES 0x9309 -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREOESPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glFramebufferTextureOES (GLenum target, GLenum attachment, GLuint texture, GLint level); -#endif -#endif /* GL_OES_geometry_shader */ - -#ifndef GL_OES_get_program_binary -#define GL_OES_get_program_binary 1 -#define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 -#define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE -#define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF -typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); -typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); -GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length); -#endif -#endif /* GL_OES_get_program_binary */ - -#ifndef GL_OES_gpu_shader5 -#define GL_OES_gpu_shader5 1 -#endif /* GL_OES_gpu_shader5 */ - -#ifndef GL_OES_mapbuffer -#define GL_OES_mapbuffer 1 -#define GL_WRITE_ONLY_OES 0x88B9 -#define GL_BUFFER_ACCESS_OES 0x88BB -#define GL_BUFFER_MAPPED_OES 0x88BC -#define GL_BUFFER_MAP_POINTER_OES 0x88BD -typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); -typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); -GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); -GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params); -#endif -#endif /* GL_OES_mapbuffer */ - -#ifndef GL_OES_packed_depth_stencil -#define GL_OES_packed_depth_stencil 1 -#define GL_DEPTH_STENCIL_OES 0x84F9 -#define GL_UNSIGNED_INT_24_8_OES 0x84FA -#define GL_DEPTH24_STENCIL8_OES 0x88F0 -#endif /* GL_OES_packed_depth_stencil */ - -#ifndef GL_OES_primitive_bounding_box -#define GL_OES_primitive_bounding_box 1 -#define GL_PRIMITIVE_BOUNDING_BOX_OES 0x92BE -typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXOESPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxOES (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); -#endif -#endif /* GL_OES_primitive_bounding_box */ - -#ifndef GL_OES_required_internalformat -#define GL_OES_required_internalformat 1 -#define GL_ALPHA8_OES 0x803C -#define GL_DEPTH_COMPONENT16_OES 0x81A5 -#define GL_LUMINANCE4_ALPHA4_OES 0x8043 -#define GL_LUMINANCE8_ALPHA8_OES 0x8045 -#define GL_LUMINANCE8_OES 0x8040 -#define GL_RGBA4_OES 0x8056 -#define GL_RGB5_A1_OES 0x8057 -#define GL_RGB565_OES 0x8D62 -#define GL_RGB8_OES 0x8051 -#define GL_RGBA8_OES 0x8058 -#define GL_RGB10_EXT 0x8052 -#define GL_RGB10_A2_EXT 0x8059 -#endif /* GL_OES_required_internalformat */ - -#ifndef GL_OES_rgb8_rgba8 -#define GL_OES_rgb8_rgba8 1 -#endif /* GL_OES_rgb8_rgba8 */ - -#ifndef GL_OES_sample_shading -#define GL_OES_sample_shading 1 -#define GL_SAMPLE_SHADING_OES 0x8C36 -#define GL_MIN_SAMPLE_SHADING_VALUE_OES 0x8C37 -typedef void (GL_APIENTRYP PFNGLMINSAMPLESHADINGOESPROC) (GLfloat value); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glMinSampleShadingOES (GLfloat value); -#endif -#endif /* GL_OES_sample_shading */ - -#ifndef GL_OES_sample_variables -#define GL_OES_sample_variables 1 -#endif /* GL_OES_sample_variables */ - -#ifndef GL_OES_shader_image_atomic -#define GL_OES_shader_image_atomic 1 -#endif /* GL_OES_shader_image_atomic */ - -#ifndef GL_OES_shader_io_blocks -#define GL_OES_shader_io_blocks 1 -#endif /* GL_OES_shader_io_blocks */ - -#ifndef GL_OES_shader_multisample_interpolation -#define GL_OES_shader_multisample_interpolation 1 -#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5B -#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5C -#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES 0x8E5D -#endif /* GL_OES_shader_multisample_interpolation */ - -#ifndef GL_OES_standard_derivatives -#define GL_OES_standard_derivatives 1 -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B -#endif /* GL_OES_standard_derivatives */ - -#ifndef GL_OES_stencil1 -#define GL_OES_stencil1 1 -#define GL_STENCIL_INDEX1_OES 0x8D46 -#endif /* GL_OES_stencil1 */ - -#ifndef GL_OES_stencil4 -#define GL_OES_stencil4 1 -#define GL_STENCIL_INDEX4_OES 0x8D47 -#endif /* GL_OES_stencil4 */ - -#ifndef GL_OES_surfaceless_context -#define GL_OES_surfaceless_context 1 -#define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219 -#endif /* GL_OES_surfaceless_context */ - -#ifndef GL_OES_tessellation_point_size -#define GL_OES_tessellation_point_size 1 -#endif /* GL_OES_tessellation_point_size */ - -#ifndef GL_OES_tessellation_shader -#define GL_OES_tessellation_shader 1 -#define GL_PATCHES_OES 0x000E -#define GL_PATCH_VERTICES_OES 0x8E72 -#define GL_TESS_CONTROL_OUTPUT_VERTICES_OES 0x8E75 -#define GL_TESS_GEN_MODE_OES 0x8E76 -#define GL_TESS_GEN_SPACING_OES 0x8E77 -#define GL_TESS_GEN_VERTEX_ORDER_OES 0x8E78 -#define GL_TESS_GEN_POINT_MODE_OES 0x8E79 -#define GL_ISOLINES_OES 0x8E7A -#define GL_QUADS_OES 0x0007 -#define GL_FRACTIONAL_ODD_OES 0x8E7B -#define GL_FRACTIONAL_EVEN_OES 0x8E7C -#define GL_MAX_PATCH_VERTICES_OES 0x8E7D -#define GL_MAX_TESS_GEN_LEVEL_OES 0x8E7E -#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E7F -#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E80 -#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_OES 0x8E81 -#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_OES 0x8E82 -#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES 0x8E83 -#define GL_MAX_TESS_PATCH_COMPONENTS_OES 0x8E84 -#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_OES 0x8E85 -#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_OES 0x8E86 -#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_OES 0x8E89 -#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_OES 0x8E8A -#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_OES 0x886C -#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_OES 0x886D -#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E1E -#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E1F -#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_OES 0x92CD -#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_OES 0x92CE -#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_OES 0x92D3 -#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_OES 0x92D4 -#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_OES 0x90CB -#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_OES 0x90CC -#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_OES 0x90D8 -#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_OES 0x90D9 -#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED_OES 0x8221 -#define GL_IS_PER_PATCH_OES 0x92E7 -#define GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES 0x9307 -#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_OES 0x9308 -#define GL_TESS_CONTROL_SHADER_OES 0x8E88 -#define GL_TESS_EVALUATION_SHADER_OES 0x8E87 -#define GL_TESS_CONTROL_SHADER_BIT_OES 0x00000008 -#define GL_TESS_EVALUATION_SHADER_BIT_OES 0x00000010 -typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIOESPROC) (GLenum pname, GLint value); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glPatchParameteriOES (GLenum pname, GLint value); -#endif -#endif /* GL_OES_tessellation_shader */ - -#ifndef GL_OES_texture_3D -#define GL_OES_texture_3D 1 -#define GL_TEXTURE_WRAP_R_OES 0x8072 -#define GL_TEXTURE_3D_OES 0x806F -#define GL_TEXTURE_BINDING_3D_OES 0x806A -#define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 -#define GL_SAMPLER_3D_OES 0x8B5F -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 -typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); -typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); -GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -#endif -#endif /* GL_OES_texture_3D */ - -#ifndef GL_OES_texture_border_clamp -#define GL_OES_texture_border_clamp 1 -#define GL_TEXTURE_BORDER_COLOR_OES 0x1004 -#define GL_CLAMP_TO_BORDER_OES 0x812D -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, const GLuint *params); -typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, GLuint *params); -typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, const GLint *param); -typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, const GLuint *param); -typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, GLuint *params); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glTexParameterIivOES (GLenum target, GLenum pname, const GLint *params); -GL_APICALL void GL_APIENTRY glTexParameterIuivOES (GLenum target, GLenum pname, const GLuint *params); -GL_APICALL void GL_APIENTRY glGetTexParameterIivOES (GLenum target, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetTexParameterIuivOES (GLenum target, GLenum pname, GLuint *params); -GL_APICALL void GL_APIENTRY glSamplerParameterIivOES (GLuint sampler, GLenum pname, const GLint *param); -GL_APICALL void GL_APIENTRY glSamplerParameterIuivOES (GLuint sampler, GLenum pname, const GLuint *param); -GL_APICALL void GL_APIENTRY glGetSamplerParameterIivOES (GLuint sampler, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivOES (GLuint sampler, GLenum pname, GLuint *params); -#endif -#endif /* GL_OES_texture_border_clamp */ - -#ifndef GL_OES_texture_buffer -#define GL_OES_texture_buffer 1 -#define GL_TEXTURE_BUFFER_OES 0x8C2A -#define GL_TEXTURE_BUFFER_BINDING_OES 0x8C2A -#define GL_MAX_TEXTURE_BUFFER_SIZE_OES 0x8C2B -#define GL_TEXTURE_BINDING_BUFFER_OES 0x8C2C -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES 0x8C2D -#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES 0x919F -#define GL_SAMPLER_BUFFER_OES 0x8DC2 -#define GL_INT_SAMPLER_BUFFER_OES 0x8DD0 -#define GL_UNSIGNED_INT_SAMPLER_BUFFER_OES 0x8DD8 -#define GL_IMAGE_BUFFER_OES 0x9051 -#define GL_INT_IMAGE_BUFFER_OES 0x905C -#define GL_UNSIGNED_INT_IMAGE_BUFFER_OES 0x9067 -#define GL_TEXTURE_BUFFER_OFFSET_OES 0x919D -#define GL_TEXTURE_BUFFER_SIZE_OES 0x919E -typedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer); -typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer); -GL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -#endif -#endif /* GL_OES_texture_buffer */ - -#ifndef GL_OES_texture_compression_astc -#define GL_OES_texture_compression_astc 1 -#define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0 -#define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1 -#define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2 -#define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3 -#define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4 -#define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5 -#define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6 -#define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7 -#define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8 -#define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9 -#endif /* GL_OES_texture_compression_astc */ - -#ifndef GL_OES_texture_cube_map_array -#define GL_OES_texture_cube_map_array 1 -#define GL_TEXTURE_CUBE_MAP_ARRAY_OES 0x9009 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_OES 0x900A -#define GL_SAMPLER_CUBE_MAP_ARRAY_OES 0x900C -#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES 0x900D -#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900E -#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900F -#define GL_IMAGE_CUBE_MAP_ARRAY_OES 0x9054 -#define GL_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x905F -#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x906A -#endif /* GL_OES_texture_cube_map_array */ - -#ifndef GL_OES_texture_float -#define GL_OES_texture_float 1 -#endif /* GL_OES_texture_float */ - -#ifndef GL_OES_texture_float_linear -#define GL_OES_texture_float_linear 1 -#endif /* GL_OES_texture_float_linear */ - -#ifndef GL_OES_texture_half_float -#define GL_OES_texture_half_float 1 -#define GL_HALF_FLOAT_OES 0x8D61 -#endif /* GL_OES_texture_half_float */ - -#ifndef GL_OES_texture_half_float_linear -#define GL_OES_texture_half_float_linear 1 -#endif /* GL_OES_texture_half_float_linear */ - -#ifndef GL_OES_texture_npot -#define GL_OES_texture_npot 1 -#endif /* GL_OES_texture_npot */ - -#ifndef GL_OES_texture_stencil8 -#define GL_OES_texture_stencil8 1 -#define GL_STENCIL_INDEX_OES 0x1901 -#define GL_STENCIL_INDEX8_OES 0x8D48 -#endif /* GL_OES_texture_stencil8 */ - -#ifndef GL_OES_texture_storage_multisample_2d_array -#define GL_OES_texture_storage_multisample_2d_array 1 -#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES 0x9102 -#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES 0x9105 -#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910B -#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910C -#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910D -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -#endif -#endif /* GL_OES_texture_storage_multisample_2d_array */ - -#ifndef GL_OES_texture_view -#define GL_OES_texture_view 1 -#define GL_TEXTURE_VIEW_MIN_LEVEL_OES 0x82DB -#define GL_TEXTURE_VIEW_NUM_LEVELS_OES 0x82DC -#define GL_TEXTURE_VIEW_MIN_LAYER_OES 0x82DD -#define GL_TEXTURE_VIEW_NUM_LAYERS_OES 0x82DE -#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF -typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWOESPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glTextureViewOES (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); -#endif -#endif /* GL_OES_texture_view */ - -#ifndef GL_OES_vertex_array_object -#define GL_OES_vertex_array_object 1 -#define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 -typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); -typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); -typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); -typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); -GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); -GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); -GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); -#endif -#endif /* GL_OES_vertex_array_object */ - -#ifndef GL_OES_vertex_half_float -#define GL_OES_vertex_half_float 1 -#endif /* GL_OES_vertex_half_float */ - -#ifndef GL_OES_vertex_type_10_10_10_2 -#define GL_OES_vertex_type_10_10_10_2 1 -#define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 -#define GL_INT_10_10_10_2_OES 0x8DF7 -#endif /* GL_OES_vertex_type_10_10_10_2 */ - -#ifndef GL_AMD_compressed_3DC_texture -#define GL_AMD_compressed_3DC_texture 1 -#define GL_3DC_X_AMD 0x87F9 -#define GL_3DC_XY_AMD 0x87FA -#endif /* GL_AMD_compressed_3DC_texture */ - -#ifndef GL_AMD_compressed_ATC_texture -#define GL_AMD_compressed_ATC_texture 1 -#define GL_ATC_RGB_AMD 0x8C92 -#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 -#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE -#endif /* GL_AMD_compressed_ATC_texture */ - -#ifndef GL_AMD_performance_monitor -#define GL_AMD_performance_monitor 1 -#define GL_COUNTER_TYPE_AMD 0x8BC0 -#define GL_COUNTER_RANGE_AMD 0x8BC1 -#define GL_UNSIGNED_INT64_AMD 0x8BC2 -#define GL_PERCENTAGE_AMD 0x8BC3 -#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 -#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 -#define GL_PERFMON_RESULT_AMD 0x8BC6 -typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); -typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); -typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); -typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); -typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); -typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); -typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); -typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); -typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); -typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); -typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); -GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); -GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); -GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); -GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data); -GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); -GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); -GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); -GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor); -GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor); -GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); -#endif -#endif /* GL_AMD_performance_monitor */ - -#ifndef GL_AMD_program_binary_Z400 -#define GL_AMD_program_binary_Z400 1 -#define GL_Z400_BINARY_AMD 0x8740 -#endif /* GL_AMD_program_binary_Z400 */ - -#ifndef GL_ANDROID_extension_pack_es31a -#define GL_ANDROID_extension_pack_es31a 1 -#endif /* GL_ANDROID_extension_pack_es31a */ - -#ifndef GL_ANGLE_depth_texture -#define GL_ANGLE_depth_texture 1 -#endif /* GL_ANGLE_depth_texture */ - -#ifndef GL_ANGLE_framebuffer_blit -#define GL_ANGLE_framebuffer_blit 1 -#define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 -#define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 -#define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 -#define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA -typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#endif -#endif /* GL_ANGLE_framebuffer_blit */ - -#ifndef GL_ANGLE_framebuffer_multisample -#define GL_ANGLE_framebuffer_multisample 1 -#define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 -#define GL_MAX_SAMPLES_ANGLE 0x8D57 -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -#endif -#endif /* GL_ANGLE_framebuffer_multisample */ - -#ifndef GL_ANGLE_instanced_arrays -#define GL_ANGLE_instanced_arrays 1 -#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE -typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); -typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount); -GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); -GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor); -#endif -#endif /* GL_ANGLE_instanced_arrays */ - -#ifndef GL_ANGLE_pack_reverse_row_order -#define GL_ANGLE_pack_reverse_row_order 1 -#define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 -#endif /* GL_ANGLE_pack_reverse_row_order */ - -#ifndef GL_ANGLE_program_binary -#define GL_ANGLE_program_binary 1 -#define GL_PROGRAM_BINARY_ANGLE 0x93A6 -#endif /* GL_ANGLE_program_binary */ - -#ifndef GL_ANGLE_texture_compression_dxt3 -#define GL_ANGLE_texture_compression_dxt3 1 -#define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2 -#endif /* GL_ANGLE_texture_compression_dxt3 */ - -#ifndef GL_ANGLE_texture_compression_dxt5 -#define GL_ANGLE_texture_compression_dxt5 1 -#define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3 -#endif /* GL_ANGLE_texture_compression_dxt5 */ - -#ifndef GL_ANGLE_texture_usage -#define GL_ANGLE_texture_usage 1 -#define GL_TEXTURE_USAGE_ANGLE 0x93A2 -#define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3 -#endif /* GL_ANGLE_texture_usage */ - -#ifndef GL_ANGLE_translated_shader_source -#define GL_ANGLE_translated_shader_source 1 -#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 -typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); -#endif -#endif /* GL_ANGLE_translated_shader_source */ - -#ifndef GL_APPLE_clip_distance -#define GL_APPLE_clip_distance 1 -#define GL_MAX_CLIP_DISTANCES_APPLE 0x0D32 -#define GL_CLIP_DISTANCE0_APPLE 0x3000 -#define GL_CLIP_DISTANCE1_APPLE 0x3001 -#define GL_CLIP_DISTANCE2_APPLE 0x3002 -#define GL_CLIP_DISTANCE3_APPLE 0x3003 -#define GL_CLIP_DISTANCE4_APPLE 0x3004 -#define GL_CLIP_DISTANCE5_APPLE 0x3005 -#define GL_CLIP_DISTANCE6_APPLE 0x3006 -#define GL_CLIP_DISTANCE7_APPLE 0x3007 -#endif /* GL_APPLE_clip_distance */ - -#ifndef GL_APPLE_color_buffer_packed_float -#define GL_APPLE_color_buffer_packed_float 1 -#endif /* GL_APPLE_color_buffer_packed_float */ - -#ifndef GL_APPLE_copy_texture_levels -#define GL_APPLE_copy_texture_levels 1 -typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); -#endif -#endif /* GL_APPLE_copy_texture_levels */ - -#ifndef GL_APPLE_framebuffer_multisample -#define GL_APPLE_framebuffer_multisample 1 -#define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 -#define GL_MAX_SAMPLES_APPLE 0x8D57 -#define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 -#define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 -#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 -#define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); -#endif -#endif /* GL_APPLE_framebuffer_multisample */ - -#ifndef GL_APPLE_rgb_422 -#define GL_APPLE_rgb_422 1 -#define GL_RGB_422_APPLE 0x8A1F -#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA -#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB -#define GL_RGB_RAW_422_APPLE 0x8A51 -#endif /* GL_APPLE_rgb_422 */ - -#ifndef GL_APPLE_sync -#define GL_APPLE_sync 1 -#define GL_SYNC_OBJECT_APPLE 0x8A53 -#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 -#define GL_OBJECT_TYPE_APPLE 0x9112 -#define GL_SYNC_CONDITION_APPLE 0x9113 -#define GL_SYNC_STATUS_APPLE 0x9114 -#define GL_SYNC_FLAGS_APPLE 0x9115 -#define GL_SYNC_FENCE_APPLE 0x9116 -#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 -#define GL_UNSIGNALED_APPLE 0x9118 -#define GL_SIGNALED_APPLE 0x9119 -#define GL_ALREADY_SIGNALED_APPLE 0x911A -#define GL_TIMEOUT_EXPIRED_APPLE 0x911B -#define GL_CONDITION_SATISFIED_APPLE 0x911C -#define GL_WAIT_FAILED_APPLE 0x911D -#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 -#define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull -typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags); -typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); -typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); -typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params); -typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags); -GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); -GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); -GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); -GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); -GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params); -GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -#endif -#endif /* GL_APPLE_sync */ - -#ifndef GL_APPLE_texture_format_BGRA8888 -#define GL_APPLE_texture_format_BGRA8888 1 -#define GL_BGRA_EXT 0x80E1 -#define GL_BGRA8_EXT 0x93A1 -#endif /* GL_APPLE_texture_format_BGRA8888 */ - -#ifndef GL_APPLE_texture_max_level -#define GL_APPLE_texture_max_level 1 -#define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D -#endif /* GL_APPLE_texture_max_level */ - -#ifndef GL_APPLE_texture_packed_float -#define GL_APPLE_texture_packed_float 1 -#define GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE 0x8C3B -#define GL_UNSIGNED_INT_5_9_9_9_REV_APPLE 0x8C3E -#define GL_R11F_G11F_B10F_APPLE 0x8C3A -#define GL_RGB9_E5_APPLE 0x8C3D -#endif /* GL_APPLE_texture_packed_float */ - -#ifndef GL_ARM_mali_program_binary -#define GL_ARM_mali_program_binary 1 -#define GL_MALI_PROGRAM_BINARY_ARM 0x8F61 -#endif /* GL_ARM_mali_program_binary */ - -#ifndef GL_ARM_mali_shader_binary -#define GL_ARM_mali_shader_binary 1 -#define GL_MALI_SHADER_BINARY_ARM 0x8F60 -#endif /* GL_ARM_mali_shader_binary */ - -#ifndef GL_ARM_rgba8 -#define GL_ARM_rgba8 1 -#endif /* GL_ARM_rgba8 */ - -#ifndef GL_ARM_shader_framebuffer_fetch -#define GL_ARM_shader_framebuffer_fetch 1 -#define GL_FETCH_PER_SAMPLE_ARM 0x8F65 -#define GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM 0x8F66 -#endif /* GL_ARM_shader_framebuffer_fetch */ - -#ifndef GL_ARM_shader_framebuffer_fetch_depth_stencil -#define GL_ARM_shader_framebuffer_fetch_depth_stencil 1 -#endif /* GL_ARM_shader_framebuffer_fetch_depth_stencil */ - -#ifndef GL_DMP_program_binary -#define GL_DMP_program_binary 1 -#define GL_SMAPHS30_PROGRAM_BINARY_DMP 0x9251 -#define GL_SMAPHS_PROGRAM_BINARY_DMP 0x9252 -#define GL_DMP_PROGRAM_BINARY_DMP 0x9253 -#endif /* GL_DMP_program_binary */ - -#ifndef GL_DMP_shader_binary -#define GL_DMP_shader_binary 1 -#define GL_SHADER_BINARY_DMP 0x9250 -#endif /* GL_DMP_shader_binary */ - -#ifndef GL_EXT_YUV_target -#define GL_EXT_YUV_target 1 -#define GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT 0x8BE7 -#endif /* GL_EXT_YUV_target */ - -#ifndef GL_EXT_base_instance -#define GL_EXT_base_instance 1 -typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); -typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); -typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glDrawArraysInstancedBaseInstanceEXT (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); -GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); -GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); -#endif -#endif /* GL_EXT_base_instance */ - -#ifndef GL_EXT_blend_func_extended -#define GL_EXT_blend_func_extended 1 -#define GL_SRC1_COLOR_EXT 0x88F9 -#define GL_SRC1_ALPHA_EXT 0x8589 -#define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA -#define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB -#define GL_SRC_ALPHA_SATURATE_EXT 0x0308 -#define GL_LOCATION_INDEX_EXT 0x930F -#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC -typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); -typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name); -typedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC) (GLuint program, GLenum programInterface, const GLchar *name); -typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXTPROC) (GLuint program, const GLchar *name); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glBindFragDataLocationIndexedEXT (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); -GL_APICALL void GL_APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name); -GL_APICALL GLint GL_APIENTRY glGetProgramResourceLocationIndexEXT (GLuint program, GLenum programInterface, const GLchar *name); -GL_APICALL GLint GL_APIENTRY glGetFragDataIndexEXT (GLuint program, const GLchar *name); -#endif -#endif /* GL_EXT_blend_func_extended */ - -#ifndef GL_EXT_blend_minmax -#define GL_EXT_blend_minmax 1 -#define GL_MIN_EXT 0x8007 -#define GL_MAX_EXT 0x8008 -#endif /* GL_EXT_blend_minmax */ - -#ifndef GL_EXT_buffer_storage -#define GL_EXT_buffer_storage 1 -#define GL_MAP_READ_BIT 0x0001 -#define GL_MAP_WRITE_BIT 0x0002 -#define GL_MAP_PERSISTENT_BIT_EXT 0x0040 -#define GL_MAP_COHERENT_BIT_EXT 0x0080 -#define GL_DYNAMIC_STORAGE_BIT_EXT 0x0100 -#define GL_CLIENT_STORAGE_BIT_EXT 0x0200 -#define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT 0x00004000 -#define GL_BUFFER_IMMUTABLE_STORAGE_EXT 0x821F -#define GL_BUFFER_STORAGE_FLAGS_EXT 0x8220 -typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glBufferStorageEXT (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); -#endif -#endif /* GL_EXT_buffer_storage */ - -#ifndef GL_EXT_color_buffer_float -#define GL_EXT_color_buffer_float 1 -#endif /* GL_EXT_color_buffer_float */ - -#ifndef GL_EXT_color_buffer_half_float -#define GL_EXT_color_buffer_half_float 1 -#define GL_RGBA16F_EXT 0x881A -#define GL_RGB16F_EXT 0x881B -#define GL_RG16F_EXT 0x822F -#define GL_R16F_EXT 0x822D -#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211 -#define GL_UNSIGNED_NORMALIZED_EXT 0x8C17 -#endif /* GL_EXT_color_buffer_half_float */ - -#ifndef GL_EXT_copy_image -#define GL_EXT_copy_image 1 -typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAEXTPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glCopyImageSubDataEXT (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); -#endif -#endif /* GL_EXT_copy_image */ - -#ifndef GL_EXT_debug_label -#define GL_EXT_debug_label 1 -#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F -#define GL_PROGRAM_OBJECT_EXT 0x8B40 -#define GL_SHADER_OBJECT_EXT 0x8B48 -#define GL_BUFFER_OBJECT_EXT 0x9151 -#define GL_QUERY_OBJECT_EXT 0x9153 -#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 -#define GL_TRANSFORM_FEEDBACK 0x8E22 -typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); -typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label); -GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); -#endif -#endif /* GL_EXT_debug_label */ - -#ifndef GL_EXT_debug_marker -#define GL_EXT_debug_marker 1 -typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); -typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); -typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); -GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); -GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void); -#endif -#endif /* GL_EXT_debug_marker */ - -#ifndef GL_EXT_discard_framebuffer -#define GL_EXT_discard_framebuffer 1 -#define GL_COLOR_EXT 0x1800 -#define GL_DEPTH_EXT 0x1801 -#define GL_STENCIL_EXT 0x1802 -typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments); -#endif -#endif /* GL_EXT_discard_framebuffer */ - -#ifndef GL_EXT_disjoint_timer_query -#define GL_EXT_disjoint_timer_query 1 -#define GL_QUERY_COUNTER_BITS_EXT 0x8864 -#define GL_CURRENT_QUERY_EXT 0x8865 -#define GL_QUERY_RESULT_EXT 0x8866 -#define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 -#define GL_TIME_ELAPSED_EXT 0x88BF -#define GL_TIMESTAMP_EXT 0x8E28 -#define GL_GPU_DISJOINT_EXT 0x8FBB -typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids); -typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids); -typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id); -typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id); -typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target); -typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params); -typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params); -typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids); -GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids); -GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id); -GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id); -GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target); -GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target); -GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params); -GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params); -GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params); -#endif -#endif /* GL_EXT_disjoint_timer_query */ - -#ifndef GL_EXT_draw_buffers -#define GL_EXT_draw_buffers 1 -#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF -#define GL_MAX_DRAW_BUFFERS_EXT 0x8824 -#define GL_DRAW_BUFFER0_EXT 0x8825 -#define GL_DRAW_BUFFER1_EXT 0x8826 -#define GL_DRAW_BUFFER2_EXT 0x8827 -#define GL_DRAW_BUFFER3_EXT 0x8828 -#define GL_DRAW_BUFFER4_EXT 0x8829 -#define GL_DRAW_BUFFER5_EXT 0x882A -#define GL_DRAW_BUFFER6_EXT 0x882B -#define GL_DRAW_BUFFER7_EXT 0x882C -#define GL_DRAW_BUFFER8_EXT 0x882D -#define GL_DRAW_BUFFER9_EXT 0x882E -#define GL_DRAW_BUFFER10_EXT 0x882F -#define GL_DRAW_BUFFER11_EXT 0x8830 -#define GL_DRAW_BUFFER12_EXT 0x8831 -#define GL_DRAW_BUFFER13_EXT 0x8832 -#define GL_DRAW_BUFFER14_EXT 0x8833 -#define GL_DRAW_BUFFER15_EXT 0x8834 -#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 -#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 -#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 -#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 -#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 -#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 -#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 -#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 -#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 -#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 -#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA -#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB -#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC -#define GL_COLOR_ATTACHMENT13_EXT 0x8CED -#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE -#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF -typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs); -#endif -#endif /* GL_EXT_draw_buffers */ - -#ifndef GL_EXT_draw_buffers_indexed -#define GL_EXT_draw_buffers_indexed 1 -typedef void (GL_APIENTRYP PFNGLENABLEIEXTPROC) (GLenum target, GLuint index); -typedef void (GL_APIENTRYP PFNGLDISABLEIEXTPROC) (GLenum target, GLuint index); -typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIEXTPROC) (GLuint buf, GLenum mode); -typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIEXTPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -typedef void (GL_APIENTRYP PFNGLBLENDFUNCIEXTPROC) (GLuint buf, GLenum src, GLenum dst); -typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIEXTPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -typedef void (GL_APIENTRYP PFNGLCOLORMASKIEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIEXTPROC) (GLenum target, GLuint index); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glEnableiEXT (GLenum target, GLuint index); -GL_APICALL void GL_APIENTRY glDisableiEXT (GLenum target, GLuint index); -GL_APICALL void GL_APIENTRY glBlendEquationiEXT (GLuint buf, GLenum mode); -GL_APICALL void GL_APIENTRY glBlendEquationSeparateiEXT (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -GL_APICALL void GL_APIENTRY glBlendFunciEXT (GLuint buf, GLenum src, GLenum dst); -GL_APICALL void GL_APIENTRY glBlendFuncSeparateiEXT (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -GL_APICALL void GL_APIENTRY glColorMaskiEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -GL_APICALL GLboolean GL_APIENTRY glIsEnablediEXT (GLenum target, GLuint index); -#endif -#endif /* GL_EXT_draw_buffers_indexed */ - -#ifndef GL_EXT_draw_elements_base_vertex -#define GL_EXT_draw_elements_base_vertex 1 -typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); -typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); -typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); -GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); -GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); -#endif -#endif /* GL_EXT_draw_elements_base_vertex */ - -#ifndef GL_EXT_draw_instanced -#define GL_EXT_draw_instanced 1 -typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); -typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); -GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); -#endif -#endif /* GL_EXT_draw_instanced */ - -#ifndef GL_EXT_float_blend -#define GL_EXT_float_blend 1 -#endif /* GL_EXT_float_blend */ - -#ifndef GL_EXT_geometry_point_size -#define GL_EXT_geometry_point_size 1 -#endif /* GL_EXT_geometry_point_size */ - -#ifndef GL_EXT_geometry_shader -#define GL_EXT_geometry_shader 1 -#define GL_GEOMETRY_SHADER_EXT 0x8DD9 -#define GL_GEOMETRY_SHADER_BIT_EXT 0x00000004 -#define GL_GEOMETRY_LINKED_VERTICES_OUT_EXT 0x8916 -#define GL_GEOMETRY_LINKED_INPUT_TYPE_EXT 0x8917 -#define GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT 0x8918 -#define GL_GEOMETRY_SHADER_INVOCATIONS_EXT 0x887F -#define GL_LAYER_PROVOKING_VERTEX_EXT 0x825E -#define GL_LINES_ADJACENCY_EXT 0x000A -#define GL_LINE_STRIP_ADJACENCY_EXT 0x000B -#define GL_TRIANGLES_ADJACENCY_EXT 0x000C -#define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF -#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT 0x8A2C -#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8A32 -#define GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT 0x9123 -#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT 0x9124 -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1 -#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT 0x8E5A -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29 -#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT 0x92CF -#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT 0x92D5 -#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT 0x90CD -#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT 0x90D7 -#define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D -#define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E -#define GL_UNDEFINED_VERTEX_EXT 0x8260 -#define GL_PRIMITIVES_GENERATED_EXT 0x8C87 -#define GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT 0x9312 -#define GL_MAX_FRAMEBUFFER_LAYERS_EXT 0x9317 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7 -#define GL_REFERENCED_BY_GEOMETRY_SHADER_EXT 0x9309 -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level); -#endif -#endif /* GL_EXT_geometry_shader */ - -#ifndef GL_EXT_gpu_shader5 -#define GL_EXT_gpu_shader5 1 -#endif /* GL_EXT_gpu_shader5 */ - -#ifndef GL_EXT_instanced_arrays -#define GL_EXT_instanced_arrays 1 -#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor); -#endif -#endif /* GL_EXT_instanced_arrays */ - -#ifndef GL_EXT_map_buffer_range -#define GL_EXT_map_buffer_range 1 -#define GL_MAP_READ_BIT_EXT 0x0001 -#define GL_MAP_WRITE_BIT_EXT 0x0002 -#define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 -#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 -#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 -#define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 -typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); -#endif -#endif /* GL_EXT_map_buffer_range */ - -#ifndef GL_EXT_multi_draw_arrays -#define GL_EXT_multi_draw_arrays 1 -typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); -typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); -GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); -#endif -#endif /* GL_EXT_multi_draw_arrays */ - -#ifndef GL_EXT_multi_draw_indirect -#define GL_EXT_multi_draw_indirect 1 -typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); -typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glMultiDrawArraysIndirectEXT (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); -GL_APICALL void GL_APIENTRY glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); -#endif -#endif /* GL_EXT_multi_draw_indirect */ - -#ifndef GL_EXT_multisampled_compatibility -#define GL_EXT_multisampled_compatibility 1 -#define GL_MULTISAMPLE_EXT 0x809D -#define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F -#endif /* GL_EXT_multisampled_compatibility */ - -#ifndef GL_EXT_multisampled_render_to_texture -#define GL_EXT_multisampled_render_to_texture 1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C -#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 -#define GL_MAX_SAMPLES_EXT 0x8D57 -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); -#endif -#endif /* GL_EXT_multisampled_render_to_texture */ - -#ifndef GL_EXT_multiview_draw_buffers -#define GL_EXT_multiview_draw_buffers 1 -#define GL_COLOR_ATTACHMENT_EXT 0x90F0 -#define GL_MULTIVIEW_EXT 0x90F1 -#define GL_DRAW_BUFFER_EXT 0x0C01 -#define GL_READ_BUFFER_EXT 0x0C02 -#define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2 -typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index); -typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices); -typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index); -GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices); -GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data); -#endif -#endif /* GL_EXT_multiview_draw_buffers */ - -#ifndef GL_EXT_occlusion_query_boolean -#define GL_EXT_occlusion_query_boolean 1 -#define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F -#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A -#endif /* GL_EXT_occlusion_query_boolean */ - -#ifndef GL_EXT_post_depth_coverage -#define GL_EXT_post_depth_coverage 1 -#endif /* GL_EXT_post_depth_coverage */ - -#ifndef GL_EXT_primitive_bounding_box -#define GL_EXT_primitive_bounding_box 1 -#define GL_PRIMITIVE_BOUNDING_BOX_EXT 0x92BE -typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXEXTPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); -#endif -#endif /* GL_EXT_primitive_bounding_box */ - -#ifndef GL_EXT_pvrtc_sRGB -#define GL_EXT_pvrtc_sRGB 1 -#define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54 -#define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55 -#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56 -#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57 -#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG 0x93F0 -#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG 0x93F1 -#endif /* GL_EXT_pvrtc_sRGB */ - -#ifndef GL_EXT_raster_multisample -#define GL_EXT_raster_multisample 1 -#define GL_RASTER_MULTISAMPLE_EXT 0x9327 -#define GL_RASTER_SAMPLES_EXT 0x9328 -#define GL_MAX_RASTER_SAMPLES_EXT 0x9329 -#define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A -#define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B -#define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C -typedef void (GL_APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations); -#endif -#endif /* GL_EXT_raster_multisample */ - -#ifndef GL_EXT_read_format_bgra -#define GL_EXT_read_format_bgra 1 -#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 -#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 -#endif /* GL_EXT_read_format_bgra */ - -#ifndef GL_EXT_render_snorm -#define GL_EXT_render_snorm 1 -#define GL_R8_SNORM 0x8F94 -#define GL_RG8_SNORM 0x8F95 -#define GL_RGBA8_SNORM 0x8F97 -#define GL_R16_SNORM_EXT 0x8F98 -#define GL_RG16_SNORM_EXT 0x8F99 -#define GL_RGBA16_SNORM_EXT 0x8F9B -#endif /* GL_EXT_render_snorm */ - -#ifndef GL_EXT_robustness -#define GL_EXT_robustness 1 -#define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 -#define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 -#define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 -#define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 -#define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 -#define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 -#define GL_NO_RESET_NOTIFICATION_EXT 0x8261 -typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); -typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void); -GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); -GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params); -#endif -#endif /* GL_EXT_robustness */ - -#ifndef GL_EXT_sRGB -#define GL_EXT_sRGB 1 -#define GL_SRGB_EXT 0x8C40 -#define GL_SRGB_ALPHA_EXT 0x8C42 -#define GL_SRGB8_ALPHA8_EXT 0x8C43 -#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 -#endif /* GL_EXT_sRGB */ - -#ifndef GL_EXT_sRGB_write_control -#define GL_EXT_sRGB_write_control 1 -#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 -#endif /* GL_EXT_sRGB_write_control */ - -#ifndef GL_EXT_separate_shader_objects -#define GL_EXT_separate_shader_objects 1 -#define GL_ACTIVE_PROGRAM_EXT 0x8259 -#define GL_VERTEX_SHADER_BIT_EXT 0x00000001 -#define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002 -#define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF -#define GL_PROGRAM_SEPARABLE_EXT 0x8258 -#define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A -typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program); -typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline); -typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings); -typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines); -typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params); -typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline); -typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program); -typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program); -GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline); -GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings); -GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines); -GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines); -GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params); -GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline); -GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value); -GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0); -GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0); -GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); -GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1); -GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program); -GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline); -GL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0); -GL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1); -GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -GL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -#endif -#endif /* GL_EXT_separate_shader_objects */ - -#ifndef GL_EXT_shader_framebuffer_fetch -#define GL_EXT_shader_framebuffer_fetch 1 -#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 -#endif /* GL_EXT_shader_framebuffer_fetch */ - -#ifndef GL_EXT_shader_implicit_conversions -#define GL_EXT_shader_implicit_conversions 1 -#endif /* GL_EXT_shader_implicit_conversions */ - -#ifndef GL_EXT_shader_integer_mix -#define GL_EXT_shader_integer_mix 1 -#endif /* GL_EXT_shader_integer_mix */ - -#ifndef GL_EXT_shader_io_blocks -#define GL_EXT_shader_io_blocks 1 -#endif /* GL_EXT_shader_io_blocks */ - -#ifndef GL_EXT_shader_pixel_local_storage -#define GL_EXT_shader_pixel_local_storage 1 -#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63 -#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67 -#define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64 -#endif /* GL_EXT_shader_pixel_local_storage */ - -#ifndef GL_EXT_shader_texture_lod -#define GL_EXT_shader_texture_lod 1 -#endif /* GL_EXT_shader_texture_lod */ - -#ifndef GL_EXT_shadow_samplers -#define GL_EXT_shadow_samplers 1 -#define GL_TEXTURE_COMPARE_MODE_EXT 0x884C -#define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D -#define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E -#define GL_SAMPLER_2D_SHADOW_EXT 0x8B62 -#endif /* GL_EXT_shadow_samplers */ - -#ifndef GL_EXT_sparse_texture -#define GL_EXT_sparse_texture 1 -#define GL_TEXTURE_SPARSE_EXT 0x91A6 -#define GL_VIRTUAL_PAGE_SIZE_INDEX_EXT 0x91A7 -#define GL_NUM_SPARSE_LEVELS_EXT 0x91AA -#define GL_NUM_VIRTUAL_PAGE_SIZES_EXT 0x91A8 -#define GL_VIRTUAL_PAGE_SIZE_X_EXT 0x9195 -#define GL_VIRTUAL_PAGE_SIZE_Y_EXT 0x9196 -#define GL_VIRTUAL_PAGE_SIZE_Z_EXT 0x9197 -#define GL_TEXTURE_2D_ARRAY 0x8C1A -#define GL_TEXTURE_3D 0x806F -#define GL_MAX_SPARSE_TEXTURE_SIZE_EXT 0x9198 -#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT 0x9199 -#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT 0x919A -#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT 0x91A9 -typedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); -#endif -#endif /* GL_EXT_sparse_texture */ - -#ifndef GL_EXT_tessellation_point_size -#define GL_EXT_tessellation_point_size 1 -#endif /* GL_EXT_tessellation_point_size */ - -#ifndef GL_EXT_tessellation_shader -#define GL_EXT_tessellation_shader 1 -#define GL_PATCHES_EXT 0x000E -#define GL_PATCH_VERTICES_EXT 0x8E72 -#define GL_TESS_CONTROL_OUTPUT_VERTICES_EXT 0x8E75 -#define GL_TESS_GEN_MODE_EXT 0x8E76 -#define GL_TESS_GEN_SPACING_EXT 0x8E77 -#define GL_TESS_GEN_VERTEX_ORDER_EXT 0x8E78 -#define GL_TESS_GEN_POINT_MODE_EXT 0x8E79 -#define GL_ISOLINES_EXT 0x8E7A -#define GL_QUADS_EXT 0x0007 -#define GL_FRACTIONAL_ODD_EXT 0x8E7B -#define GL_FRACTIONAL_EVEN_EXT 0x8E7C -#define GL_MAX_PATCH_VERTICES_EXT 0x8E7D -#define GL_MAX_TESS_GEN_LEVEL_EXT 0x8E7E -#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E7F -#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E80 -#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT 0x8E81 -#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT 0x8E82 -#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT 0x8E83 -#define GL_MAX_TESS_PATCH_COMPONENTS_EXT 0x8E84 -#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT 0x8E85 -#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT 0x8E86 -#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT 0x8E89 -#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT 0x8E8A -#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT 0x886C -#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT 0x886D -#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E1E -#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E1F -#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT 0x92CD -#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT 0x92CE -#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT 0x92D3 -#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT 0x92D4 -#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT 0x90CB -#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT 0x90CC -#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT 0x90D8 -#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT 0x90D9 -#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221 -#define GL_IS_PER_PATCH_EXT 0x92E7 -#define GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT 0x9307 -#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT 0x9308 -#define GL_TESS_CONTROL_SHADER_EXT 0x8E88 -#define GL_TESS_EVALUATION_SHADER_EXT 0x8E87 -#define GL_TESS_CONTROL_SHADER_BIT_EXT 0x00000008 -#define GL_TESS_EVALUATION_SHADER_BIT_EXT 0x00000010 -typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIEXTPROC) (GLenum pname, GLint value); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glPatchParameteriEXT (GLenum pname, GLint value); -#endif -#endif /* GL_EXT_tessellation_shader */ - -#ifndef GL_EXT_texture_border_clamp -#define GL_EXT_texture_border_clamp 1 -#define GL_TEXTURE_BORDER_COLOR_EXT 0x1004 -#define GL_CLAMP_TO_BORDER_EXT 0x812D -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params); -typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params); -typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, const GLint *param); -typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, const GLuint *param); -typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, GLuint *params); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params); -GL_APICALL void GL_APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params); -GL_APICALL void GL_APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params); -GL_APICALL void GL_APIENTRY glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLint *param); -GL_APICALL void GL_APIENTRY glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLuint *param); -GL_APICALL void GL_APIENTRY glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint *params); -#endif -#endif /* GL_EXT_texture_border_clamp */ - -#ifndef GL_EXT_texture_buffer -#define GL_EXT_texture_buffer 1 -#define GL_TEXTURE_BUFFER_EXT 0x8C2A -#define GL_TEXTURE_BUFFER_BINDING_EXT 0x8C2A -#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B -#define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D -#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT 0x919F -#define GL_SAMPLER_BUFFER_EXT 0x8DC2 -#define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0 -#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8 -#define GL_IMAGE_BUFFER_EXT 0x9051 -#define GL_INT_IMAGE_BUFFER_EXT 0x905C -#define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067 -#define GL_TEXTURE_BUFFER_OFFSET_EXT 0x919D -#define GL_TEXTURE_BUFFER_SIZE_EXT 0x919E -typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer); -typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer); -GL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -#endif -#endif /* GL_EXT_texture_buffer */ - -#ifndef GL_EXT_texture_compression_dxt1 -#define GL_EXT_texture_compression_dxt1 1 -#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 -#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 -#endif /* GL_EXT_texture_compression_dxt1 */ - -#ifndef GL_EXT_texture_compression_s3tc -#define GL_EXT_texture_compression_s3tc 1 -#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 -#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 -#endif /* GL_EXT_texture_compression_s3tc */ - -#ifndef GL_EXT_texture_cube_map_array -#define GL_EXT_texture_cube_map_array 1 -#define GL_TEXTURE_CUBE_MAP_ARRAY_EXT 0x9009 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT 0x900A -#define GL_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900C -#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT 0x900D -#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900E -#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900F -#define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054 -#define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F -#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A -#endif /* GL_EXT_texture_cube_map_array */ - -#ifndef GL_EXT_texture_filter_anisotropic -#define GL_EXT_texture_filter_anisotropic 1 -#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE -#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF -#endif /* GL_EXT_texture_filter_anisotropic */ - -#ifndef GL_EXT_texture_filter_minmax -#define GL_EXT_texture_filter_minmax 1 -#endif /* GL_EXT_texture_filter_minmax */ - -#ifndef GL_EXT_texture_format_BGRA8888 -#define GL_EXT_texture_format_BGRA8888 1 -#endif /* GL_EXT_texture_format_BGRA8888 */ - -#ifndef GL_EXT_texture_norm16 -#define GL_EXT_texture_norm16 1 -#define GL_R16_EXT 0x822A -#define GL_RG16_EXT 0x822C -#define GL_RGBA16_EXT 0x805B -#define GL_RGB16_EXT 0x8054 -#define GL_RGB16_SNORM_EXT 0x8F9A -#endif /* GL_EXT_texture_norm16 */ - -#ifndef GL_EXT_texture_rg -#define GL_EXT_texture_rg 1 -#define GL_RED_EXT 0x1903 -#define GL_RG_EXT 0x8227 -#define GL_R8_EXT 0x8229 -#define GL_RG8_EXT 0x822B -#endif /* GL_EXT_texture_rg */ - -#ifndef GL_EXT_texture_sRGB_R8 -#define GL_EXT_texture_sRGB_R8 1 -#define GL_SR8_EXT 0x8FBD -#endif /* GL_EXT_texture_sRGB_R8 */ - -#ifndef GL_EXT_texture_sRGB_RG8 -#define GL_EXT_texture_sRGB_RG8 1 -#define GL_SRG8_EXT 0x8FBE -#endif /* GL_EXT_texture_sRGB_RG8 */ - -#ifndef GL_EXT_texture_sRGB_decode -#define GL_EXT_texture_sRGB_decode 1 -#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 -#define GL_DECODE_EXT 0x8A49 -#define GL_SKIP_DECODE_EXT 0x8A4A -#endif /* GL_EXT_texture_sRGB_decode */ - -#ifndef GL_EXT_texture_storage -#define GL_EXT_texture_storage 1 -#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F -#define GL_ALPHA8_EXT 0x803C -#define GL_LUMINANCE8_EXT 0x8040 -#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 -#define GL_RGBA32F_EXT 0x8814 -#define GL_RGB32F_EXT 0x8815 -#define GL_ALPHA32F_EXT 0x8816 -#define GL_LUMINANCE32F_EXT 0x8818 -#define GL_LUMINANCE_ALPHA32F_EXT 0x8819 -#define GL_ALPHA16F_EXT 0x881C -#define GL_LUMINANCE16F_EXT 0x881E -#define GL_LUMINANCE_ALPHA16F_EXT 0x881F -#define GL_R32F_EXT 0x822E -#define GL_RG32F_EXT 0x8230 -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -#endif -#endif /* GL_EXT_texture_storage */ - -#ifndef GL_EXT_texture_type_2_10_10_10_REV -#define GL_EXT_texture_type_2_10_10_10_REV 1 -#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 -#endif /* GL_EXT_texture_type_2_10_10_10_REV */ - -#ifndef GL_EXT_texture_view -#define GL_EXT_texture_view 1 -#define GL_TEXTURE_VIEW_MIN_LEVEL_EXT 0x82DB -#define GL_TEXTURE_VIEW_NUM_LEVELS_EXT 0x82DC -#define GL_TEXTURE_VIEW_MIN_LAYER_EXT 0x82DD -#define GL_TEXTURE_VIEW_NUM_LAYERS_EXT 0x82DE -typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWEXTPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); -#endif -#endif /* GL_EXT_texture_view */ - -#ifndef GL_EXT_unpack_subimage -#define GL_EXT_unpack_subimage 1 -#define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2 -#define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3 -#define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4 -#endif /* GL_EXT_unpack_subimage */ - -#ifndef GL_FJ_shader_binary_GCCSO -#define GL_FJ_shader_binary_GCCSO 1 -#define GL_GCCSO_SHADER_BINARY_FJ 0x9260 -#endif /* GL_FJ_shader_binary_GCCSO */ - -#ifndef GL_IMG_multisampled_render_to_texture -#define GL_IMG_multisampled_render_to_texture 1 -#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 -#define GL_MAX_SAMPLES_IMG 0x9135 -#define GL_TEXTURE_SAMPLES_IMG 0x9136 -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); -#endif -#endif /* GL_IMG_multisampled_render_to_texture */ - -#ifndef GL_IMG_program_binary -#define GL_IMG_program_binary 1 -#define GL_SGX_PROGRAM_BINARY_IMG 0x9130 -#endif /* GL_IMG_program_binary */ - -#ifndef GL_IMG_read_format -#define GL_IMG_read_format 1 -#define GL_BGRA_IMG 0x80E1 -#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 -#endif /* GL_IMG_read_format */ - -#ifndef GL_IMG_shader_binary -#define GL_IMG_shader_binary 1 -#define GL_SGX_BINARY_IMG 0x8C0A -#endif /* GL_IMG_shader_binary */ - -#ifndef GL_IMG_texture_compression_pvrtc -#define GL_IMG_texture_compression_pvrtc 1 -#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 -#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 -#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 -#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 -#endif /* GL_IMG_texture_compression_pvrtc */ - -#ifndef GL_IMG_texture_compression_pvrtc2 -#define GL_IMG_texture_compression_pvrtc2 1 -#define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137 -#define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138 -#endif /* GL_IMG_texture_compression_pvrtc2 */ - -#ifndef GL_IMG_texture_filter_cubic -#define GL_IMG_texture_filter_cubic 1 -#define GL_CUBIC_IMG 0x9139 -#define GL_CUBIC_MIPMAP_NEAREST_IMG 0x913A -#define GL_CUBIC_MIPMAP_LINEAR_IMG 0x913B -#endif /* GL_IMG_texture_filter_cubic */ - -#ifndef GL_INTEL_framebuffer_CMAA -#define GL_INTEL_framebuffer_CMAA 1 -typedef void (GL_APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void); -#endif -#endif /* GL_INTEL_framebuffer_CMAA */ - -#ifndef GL_INTEL_performance_query -#define GL_INTEL_performance_query 1 -#define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000 -#define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001 -#define GL_PERFQUERY_WAIT_INTEL 0x83FB -#define GL_PERFQUERY_FLUSH_INTEL 0x83FA -#define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9 -#define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0 -#define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1 -#define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2 -#define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3 -#define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4 -#define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5 -#define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8 -#define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9 -#define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA -#define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB -#define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC -#define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD -#define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE -#define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF -#define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500 -typedef void (GL_APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle); -typedef void (GL_APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle); -typedef void (GL_APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle); -typedef void (GL_APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle); -typedef void (GL_APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId); -typedef void (GL_APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId); -typedef void (GL_APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); -typedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); -typedef void (GL_APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId); -typedef void (GL_APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle); -GL_APICALL void GL_APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle); -GL_APICALL void GL_APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle); -GL_APICALL void GL_APIENTRY glEndPerfQueryINTEL (GLuint queryHandle); -GL_APICALL void GL_APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId); -GL_APICALL void GL_APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId); -GL_APICALL void GL_APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); -GL_APICALL void GL_APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); -GL_APICALL void GL_APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId); -GL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); -#endif -#endif /* GL_INTEL_performance_query */ - -#ifndef GL_NV_bindless_texture -#define GL_NV_bindless_texture 1 -typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture); -typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler); -typedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); -typedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle); -typedef GLuint64 (GL_APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); -typedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access); -typedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle); -typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value); -typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); -typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); -typedef GLboolean (GL_APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleNV (GLuint texture); -GL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler); -GL_APICALL void GL_APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle); -GL_APICALL void GL_APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle); -GL_APICALL GLuint64 GL_APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); -GL_APICALL void GL_APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access); -GL_APICALL void GL_APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle); -GL_APICALL void GL_APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value); -GL_APICALL void GL_APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value); -GL_APICALL void GL_APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value); -GL_APICALL void GL_APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values); -GL_APICALL GLboolean GL_APIENTRY glIsTextureHandleResidentNV (GLuint64 handle); -GL_APICALL GLboolean GL_APIENTRY glIsImageHandleResidentNV (GLuint64 handle); -#endif -#endif /* GL_NV_bindless_texture */ - -#ifndef GL_NV_blend_equation_advanced -#define GL_NV_blend_equation_advanced 1 -#define GL_BLEND_OVERLAP_NV 0x9281 -#define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 -#define GL_BLUE_NV 0x1905 -#define GL_COLORBURN_NV 0x929A -#define GL_COLORDODGE_NV 0x9299 -#define GL_CONJOINT_NV 0x9284 -#define GL_CONTRAST_NV 0x92A1 -#define GL_DARKEN_NV 0x9297 -#define GL_DIFFERENCE_NV 0x929E -#define GL_DISJOINT_NV 0x9283 -#define GL_DST_ATOP_NV 0x928F -#define GL_DST_IN_NV 0x928B -#define GL_DST_NV 0x9287 -#define GL_DST_OUT_NV 0x928D -#define GL_DST_OVER_NV 0x9289 -#define GL_EXCLUSION_NV 0x92A0 -#define GL_GREEN_NV 0x1904 -#define GL_HARDLIGHT_NV 0x929B -#define GL_HARDMIX_NV 0x92A9 -#define GL_HSL_COLOR_NV 0x92AF -#define GL_HSL_HUE_NV 0x92AD -#define GL_HSL_LUMINOSITY_NV 0x92B0 -#define GL_HSL_SATURATION_NV 0x92AE -#define GL_INVERT_OVG_NV 0x92B4 -#define GL_INVERT_RGB_NV 0x92A3 -#define GL_LIGHTEN_NV 0x9298 -#define GL_LINEARBURN_NV 0x92A5 -#define GL_LINEARDODGE_NV 0x92A4 -#define GL_LINEARLIGHT_NV 0x92A7 -#define GL_MINUS_CLAMPED_NV 0x92B3 -#define GL_MINUS_NV 0x929F -#define GL_MULTIPLY_NV 0x9294 -#define GL_OVERLAY_NV 0x9296 -#define GL_PINLIGHT_NV 0x92A8 -#define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 -#define GL_PLUS_CLAMPED_NV 0x92B1 -#define GL_PLUS_DARKER_NV 0x9292 -#define GL_PLUS_NV 0x9291 -#define GL_RED_NV 0x1903 -#define GL_SCREEN_NV 0x9295 -#define GL_SOFTLIGHT_NV 0x929C -#define GL_SRC_ATOP_NV 0x928E -#define GL_SRC_IN_NV 0x928A -#define GL_SRC_NV 0x9286 -#define GL_SRC_OUT_NV 0x928C -#define GL_SRC_OVER_NV 0x9288 -#define GL_UNCORRELATED_NV 0x9282 -#define GL_VIVIDLIGHT_NV 0x92A6 -#define GL_XOR_NV 0x1506 -typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value); -typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value); -GL_APICALL void GL_APIENTRY glBlendBarrierNV (void); -#endif -#endif /* GL_NV_blend_equation_advanced */ - -#ifndef GL_NV_blend_equation_advanced_coherent -#define GL_NV_blend_equation_advanced_coherent 1 -#define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 -#endif /* GL_NV_blend_equation_advanced_coherent */ - -#ifndef GL_NV_conditional_render -#define GL_NV_conditional_render 1 -#define GL_QUERY_WAIT_NV 0x8E13 -#define GL_QUERY_NO_WAIT_NV 0x8E14 -#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15 -#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 -typedef void (GL_APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode); -typedef void (GL_APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode); -GL_APICALL void GL_APIENTRY glEndConditionalRenderNV (void); -#endif -#endif /* GL_NV_conditional_render */ - -#ifndef GL_NV_conservative_raster -#define GL_NV_conservative_raster 1 -#define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346 -#define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347 -#define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348 -#define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349 -typedef void (GL_APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits); -#endif -#endif /* GL_NV_conservative_raster */ - -#ifndef GL_NV_copy_buffer -#define GL_NV_copy_buffer 1 -#define GL_COPY_READ_BUFFER_NV 0x8F36 -#define GL_COPY_WRITE_BUFFER_NV 0x8F37 -typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -#endif -#endif /* GL_NV_copy_buffer */ - -#ifndef GL_NV_coverage_sample -#define GL_NV_coverage_sample 1 -#define GL_COVERAGE_COMPONENT_NV 0x8ED0 -#define GL_COVERAGE_COMPONENT4_NV 0x8ED1 -#define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 -#define GL_COVERAGE_BUFFERS_NV 0x8ED3 -#define GL_COVERAGE_SAMPLES_NV 0x8ED4 -#define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 -#define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 -#define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 -#define GL_COVERAGE_BUFFER_BIT_NV 0x00008000 -typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); -typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); -GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); -#endif -#endif /* GL_NV_coverage_sample */ - -#ifndef GL_NV_depth_nonlinear -#define GL_NV_depth_nonlinear 1 -#define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C -#endif /* GL_NV_depth_nonlinear */ - -#ifndef GL_NV_draw_buffers -#define GL_NV_draw_buffers 1 -#define GL_MAX_DRAW_BUFFERS_NV 0x8824 -#define GL_DRAW_BUFFER0_NV 0x8825 -#define GL_DRAW_BUFFER1_NV 0x8826 -#define GL_DRAW_BUFFER2_NV 0x8827 -#define GL_DRAW_BUFFER3_NV 0x8828 -#define GL_DRAW_BUFFER4_NV 0x8829 -#define GL_DRAW_BUFFER5_NV 0x882A -#define GL_DRAW_BUFFER6_NV 0x882B -#define GL_DRAW_BUFFER7_NV 0x882C -#define GL_DRAW_BUFFER8_NV 0x882D -#define GL_DRAW_BUFFER9_NV 0x882E -#define GL_DRAW_BUFFER10_NV 0x882F -#define GL_DRAW_BUFFER11_NV 0x8830 -#define GL_DRAW_BUFFER12_NV 0x8831 -#define GL_DRAW_BUFFER13_NV 0x8832 -#define GL_DRAW_BUFFER14_NV 0x8833 -#define GL_DRAW_BUFFER15_NV 0x8834 -#define GL_COLOR_ATTACHMENT0_NV 0x8CE0 -#define GL_COLOR_ATTACHMENT1_NV 0x8CE1 -#define GL_COLOR_ATTACHMENT2_NV 0x8CE2 -#define GL_COLOR_ATTACHMENT3_NV 0x8CE3 -#define GL_COLOR_ATTACHMENT4_NV 0x8CE4 -#define GL_COLOR_ATTACHMENT5_NV 0x8CE5 -#define GL_COLOR_ATTACHMENT6_NV 0x8CE6 -#define GL_COLOR_ATTACHMENT7_NV 0x8CE7 -#define GL_COLOR_ATTACHMENT8_NV 0x8CE8 -#define GL_COLOR_ATTACHMENT9_NV 0x8CE9 -#define GL_COLOR_ATTACHMENT10_NV 0x8CEA -#define GL_COLOR_ATTACHMENT11_NV 0x8CEB -#define GL_COLOR_ATTACHMENT12_NV 0x8CEC -#define GL_COLOR_ATTACHMENT13_NV 0x8CED -#define GL_COLOR_ATTACHMENT14_NV 0x8CEE -#define GL_COLOR_ATTACHMENT15_NV 0x8CEF -typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs); -#endif -#endif /* GL_NV_draw_buffers */ - -#ifndef GL_NV_draw_instanced -#define GL_NV_draw_instanced 1 -typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); -typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount); -GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); -#endif -#endif /* GL_NV_draw_instanced */ - -#ifndef GL_NV_explicit_attrib_location -#define GL_NV_explicit_attrib_location 1 -#endif /* GL_NV_explicit_attrib_location */ - -#ifndef GL_NV_fbo_color_attachments -#define GL_NV_fbo_color_attachments 1 -#define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF -#endif /* GL_NV_fbo_color_attachments */ - -#ifndef GL_NV_fence -#define GL_NV_fence 1 -#define GL_ALL_COMPLETED_NV 0x84F2 -#define GL_FENCE_STATUS_NV 0x84F3 -#define GL_FENCE_CONDITION_NV 0x84F4 -typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); -typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); -typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); -typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); -typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); -typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); -GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); -GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); -GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); -GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence); -GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); -#endif -#endif /* GL_NV_fence */ - -#ifndef GL_NV_fill_rectangle -#define GL_NV_fill_rectangle 1 -#define GL_FILL_RECTANGLE_NV 0x933C -#endif /* GL_NV_fill_rectangle */ - -#ifndef GL_NV_fragment_coverage_to_color -#define GL_NV_fragment_coverage_to_color 1 -#define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD -#define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE -typedef void (GL_APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glFragmentCoverageColorNV (GLuint color); -#endif -#endif /* GL_NV_fragment_coverage_to_color */ - -#ifndef GL_NV_fragment_shader_interlock -#define GL_NV_fragment_shader_interlock 1 -#endif /* GL_NV_fragment_shader_interlock */ - -#ifndef GL_NV_framebuffer_blit -#define GL_NV_framebuffer_blit 1 -#define GL_READ_FRAMEBUFFER_NV 0x8CA8 -#define GL_DRAW_FRAMEBUFFER_NV 0x8CA9 -#define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6 -#define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA -typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#endif -#endif /* GL_NV_framebuffer_blit */ - -#ifndef GL_NV_framebuffer_mixed_samples -#define GL_NV_framebuffer_mixed_samples 1 -#define GL_COVERAGE_MODULATION_TABLE_NV 0x9331 -#define GL_COLOR_SAMPLES_NV 0x8E20 -#define GL_DEPTH_SAMPLES_NV 0x932D -#define GL_STENCIL_SAMPLES_NV 0x932E -#define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F -#define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330 -#define GL_COVERAGE_MODULATION_NV 0x9332 -#define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333 -typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v); -typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v); -GL_APICALL void GL_APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v); -GL_APICALL void GL_APIENTRY glCoverageModulationNV (GLenum components); -#endif -#endif /* GL_NV_framebuffer_mixed_samples */ - -#ifndef GL_NV_framebuffer_multisample -#define GL_NV_framebuffer_multisample 1 -#define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56 -#define GL_MAX_SAMPLES_NV 0x8D57 -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -#endif -#endif /* GL_NV_framebuffer_multisample */ - -#ifndef GL_NV_generate_mipmap_sRGB -#define GL_NV_generate_mipmap_sRGB 1 -#endif /* GL_NV_generate_mipmap_sRGB */ - -#ifndef GL_NV_geometry_shader_passthrough -#define GL_NV_geometry_shader_passthrough 1 -#endif /* GL_NV_geometry_shader_passthrough */ - -#ifndef GL_NV_image_formats -#define GL_NV_image_formats 1 -#endif /* GL_NV_image_formats */ - -#ifndef GL_NV_instanced_arrays -#define GL_NV_instanced_arrays 1 -#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor); -#endif -#endif /* GL_NV_instanced_arrays */ - -#ifndef GL_NV_internalformat_sample_query -#define GL_NV_internalformat_sample_query 1 -#define GL_TEXTURE_2D_MULTISAMPLE 0x9100 -#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 -#define GL_MULTISAMPLES_NV 0x9371 -#define GL_SUPERSAMPLE_SCALE_X_NV 0x9372 -#define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373 -#define GL_CONFORMANT_NV 0x9374 -typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); -#endif -#endif /* GL_NV_internalformat_sample_query */ - -#ifndef GL_NV_non_square_matrices -#define GL_NV_non_square_matrices 1 -#define GL_FLOAT_MAT2x3_NV 0x8B65 -#define GL_FLOAT_MAT2x4_NV 0x8B66 -#define GL_FLOAT_MAT3x2_NV 0x8B67 -#define GL_FLOAT_MAT3x4_NV 0x8B68 -#define GL_FLOAT_MAT4x2_NV 0x8B69 -#define GL_FLOAT_MAT4x3_NV 0x8B6A -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -#endif -#endif /* GL_NV_non_square_matrices */ - -#ifndef GL_NV_path_rendering -#define GL_NV_path_rendering 1 -#define GL_PATH_FORMAT_SVG_NV 0x9070 -#define GL_PATH_FORMAT_PS_NV 0x9071 -#define GL_STANDARD_FONT_NAME_NV 0x9072 -#define GL_SYSTEM_FONT_NAME_NV 0x9073 -#define GL_FILE_NAME_NV 0x9074 -#define GL_PATH_STROKE_WIDTH_NV 0x9075 -#define GL_PATH_END_CAPS_NV 0x9076 -#define GL_PATH_INITIAL_END_CAP_NV 0x9077 -#define GL_PATH_TERMINAL_END_CAP_NV 0x9078 -#define GL_PATH_JOIN_STYLE_NV 0x9079 -#define GL_PATH_MITER_LIMIT_NV 0x907A -#define GL_PATH_DASH_CAPS_NV 0x907B -#define GL_PATH_INITIAL_DASH_CAP_NV 0x907C -#define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D -#define GL_PATH_DASH_OFFSET_NV 0x907E -#define GL_PATH_CLIENT_LENGTH_NV 0x907F -#define GL_PATH_FILL_MODE_NV 0x9080 -#define GL_PATH_FILL_MASK_NV 0x9081 -#define GL_PATH_FILL_COVER_MODE_NV 0x9082 -#define GL_PATH_STROKE_COVER_MODE_NV 0x9083 -#define GL_PATH_STROKE_MASK_NV 0x9084 -#define GL_COUNT_UP_NV 0x9088 -#define GL_COUNT_DOWN_NV 0x9089 -#define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A -#define GL_CONVEX_HULL_NV 0x908B -#define GL_BOUNDING_BOX_NV 0x908D -#define GL_TRANSLATE_X_NV 0x908E -#define GL_TRANSLATE_Y_NV 0x908F -#define GL_TRANSLATE_2D_NV 0x9090 -#define GL_TRANSLATE_3D_NV 0x9091 -#define GL_AFFINE_2D_NV 0x9092 -#define GL_AFFINE_3D_NV 0x9094 -#define GL_TRANSPOSE_AFFINE_2D_NV 0x9096 -#define GL_TRANSPOSE_AFFINE_3D_NV 0x9098 -#define GL_UTF8_NV 0x909A -#define GL_UTF16_NV 0x909B -#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C -#define GL_PATH_COMMAND_COUNT_NV 0x909D -#define GL_PATH_COORD_COUNT_NV 0x909E -#define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F -#define GL_PATH_COMPUTED_LENGTH_NV 0x90A0 -#define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1 -#define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2 -#define GL_SQUARE_NV 0x90A3 -#define GL_ROUND_NV 0x90A4 -#define GL_TRIANGULAR_NV 0x90A5 -#define GL_BEVEL_NV 0x90A6 -#define GL_MITER_REVERT_NV 0x90A7 -#define GL_MITER_TRUNCATE_NV 0x90A8 -#define GL_SKIP_MISSING_GLYPH_NV 0x90A9 -#define GL_USE_MISSING_GLYPH_NV 0x90AA -#define GL_PATH_ERROR_POSITION_NV 0x90AB -#define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD -#define GL_ADJACENT_PAIRS_NV 0x90AE -#define GL_FIRST_TO_REST_NV 0x90AF -#define GL_PATH_GEN_MODE_NV 0x90B0 -#define GL_PATH_GEN_COEFF_NV 0x90B1 -#define GL_PATH_GEN_COMPONENTS_NV 0x90B3 -#define GL_PATH_STENCIL_FUNC_NV 0x90B7 -#define GL_PATH_STENCIL_REF_NV 0x90B8 -#define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9 -#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD -#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE -#define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF -#define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4 -#define GL_MOVE_TO_RESETS_NV 0x90B5 -#define GL_MOVE_TO_CONTINUES_NV 0x90B6 -#define GL_CLOSE_PATH_NV 0x00 -#define GL_MOVE_TO_NV 0x02 -#define GL_RELATIVE_MOVE_TO_NV 0x03 -#define GL_LINE_TO_NV 0x04 -#define GL_RELATIVE_LINE_TO_NV 0x05 -#define GL_HORIZONTAL_LINE_TO_NV 0x06 -#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07 -#define GL_VERTICAL_LINE_TO_NV 0x08 -#define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09 -#define GL_QUADRATIC_CURVE_TO_NV 0x0A -#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B -#define GL_CUBIC_CURVE_TO_NV 0x0C -#define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D -#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E -#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F -#define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10 -#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11 -#define GL_SMALL_CCW_ARC_TO_NV 0x12 -#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13 -#define GL_SMALL_CW_ARC_TO_NV 0x14 -#define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15 -#define GL_LARGE_CCW_ARC_TO_NV 0x16 -#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17 -#define GL_LARGE_CW_ARC_TO_NV 0x18 -#define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19 -#define GL_RESTART_PATH_NV 0xF0 -#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2 -#define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4 -#define GL_RECT_NV 0xF6 -#define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8 -#define GL_CIRCULAR_CW_ARC_TO_NV 0xFA -#define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC -#define GL_ARC_TO_NV 0xFE -#define GL_RELATIVE_ARC_TO_NV 0xFF -#define GL_BOLD_BIT_NV 0x01 -#define GL_ITALIC_BIT_NV 0x02 -#define GL_GLYPH_WIDTH_BIT_NV 0x01 -#define GL_GLYPH_HEIGHT_BIT_NV 0x02 -#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04 -#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08 -#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10 -#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20 -#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40 -#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80 -#define GL_GLYPH_HAS_KERNING_BIT_NV 0x100 -#define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000 -#define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000 -#define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000 -#define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000 -#define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000 -#define GL_FONT_ASCENDER_BIT_NV 0x00200000 -#define GL_FONT_DESCENDER_BIT_NV 0x00400000 -#define GL_FONT_HEIGHT_BIT_NV 0x00800000 -#define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000 -#define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000 -#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000 -#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000 -#define GL_FONT_HAS_KERNING_BIT_NV 0x10000000 -#define GL_ROUNDED_RECT_NV 0xE8 -#define GL_RELATIVE_ROUNDED_RECT_NV 0xE9 -#define GL_ROUNDED_RECT2_NV 0xEA -#define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB -#define GL_ROUNDED_RECT4_NV 0xEC -#define GL_RELATIVE_ROUNDED_RECT4_NV 0xED -#define GL_ROUNDED_RECT8_NV 0xEE -#define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF -#define GL_RELATIVE_RECT_NV 0xF7 -#define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368 -#define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369 -#define GL_FONT_UNAVAILABLE_NV 0x936A -#define GL_FONT_UNINTELLIGIBLE_NV 0x936B -#define GL_CONIC_CURVE_TO_NV 0x1A -#define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B -#define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000 -#define GL_STANDARD_FONT_FORMAT_NV 0x936C -#define GL_PATH_PROJECTION_NV 0x1701 -#define GL_PATH_MODELVIEW_NV 0x1700 -#define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3 -#define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6 -#define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36 -#define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3 -#define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4 -#define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7 -#define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38 -#define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4 -#define GL_FRAGMENT_INPUT_NV 0x936D -typedef GLuint (GL_APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range); -typedef void (GL_APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range); -typedef GLboolean (GL_APIENTRYP PFNGLISPATHNVPROC) (GLuint path); -typedef void (GL_APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); -typedef void (GL_APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); -typedef void (GL_APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); -typedef void (GL_APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); -typedef void (GL_APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString); -typedef void (GL_APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -typedef void (GL_APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -typedef void (GL_APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); -typedef void (GL_APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath); -typedef void (GL_APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); -typedef void (GL_APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); -typedef void (GL_APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value); -typedef void (GL_APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value); -typedef void (GL_APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray); -typedef void (GL_APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask); -typedef void (GL_APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units); -typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask); -typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask); -typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); -typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); -typedef void (GL_APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func); -typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode); -typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode); -typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value); -typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value); -typedef void (GL_APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands); -typedef void (GL_APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords); -typedef void (GL_APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray); -typedef void (GL_APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); -typedef void (GL_APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); -typedef void (GL_APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); -typedef GLboolean (GL_APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y); -typedef GLboolean (GL_APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y); -typedef GLfloat (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments); -typedef GLboolean (GL_APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); -typedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); -typedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); -typedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); -typedef void (GL_APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); -typedef void (GL_APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); -typedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); -typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); -typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode); -typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); -typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -typedef GLenum (GL_APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -typedef void (GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL GLuint GL_APIENTRY glGenPathsNV (GLsizei range); -GL_APICALL void GL_APIENTRY glDeletePathsNV (GLuint path, GLsizei range); -GL_APICALL GLboolean GL_APIENTRY glIsPathNV (GLuint path); -GL_APICALL void GL_APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); -GL_APICALL void GL_APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); -GL_APICALL void GL_APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); -GL_APICALL void GL_APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); -GL_APICALL void GL_APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString); -GL_APICALL void GL_APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -GL_APICALL void GL_APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -GL_APICALL void GL_APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); -GL_APICALL void GL_APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath); -GL_APICALL void GL_APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); -GL_APICALL void GL_APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); -GL_APICALL void GL_APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value); -GL_APICALL void GL_APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value); -GL_APICALL void GL_APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value); -GL_APICALL void GL_APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value); -GL_APICALL void GL_APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray); -GL_APICALL void GL_APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask); -GL_APICALL void GL_APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units); -GL_APICALL void GL_APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); -GL_APICALL void GL_APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); -GL_APICALL void GL_APIENTRY glPathCoverDepthFuncNV (GLenum func); -GL_APICALL void GL_APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode); -GL_APICALL void GL_APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode); -GL_APICALL void GL_APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -GL_APICALL void GL_APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -GL_APICALL void GL_APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value); -GL_APICALL void GL_APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value); -GL_APICALL void GL_APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands); -GL_APICALL void GL_APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords); -GL_APICALL void GL_APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray); -GL_APICALL void GL_APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); -GL_APICALL void GL_APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); -GL_APICALL void GL_APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); -GL_APICALL GLboolean GL_APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y); -GL_APICALL GLboolean GL_APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y); -GL_APICALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments); -GL_APICALL GLboolean GL_APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); -GL_APICALL void GL_APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m); -GL_APICALL void GL_APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m); -GL_APICALL void GL_APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); -GL_APICALL void GL_APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m); -GL_APICALL void GL_APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m); -GL_APICALL void GL_APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); -GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); -GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode); -GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); -GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -GL_APICALL GLenum GL_APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -GL_APICALL void GL_APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); -GL_APICALL void GL_APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); -#endif -#endif /* GL_NV_path_rendering */ - -#ifndef GL_NV_path_rendering_shared_edge -#define GL_NV_path_rendering_shared_edge 1 -#define GL_SHARED_EDGE_NV 0xC0 -#endif /* GL_NV_path_rendering_shared_edge */ - -#ifndef GL_NV_polygon_mode -#define GL_NV_polygon_mode 1 -#define GL_POLYGON_MODE_NV 0x0B40 -#define GL_POLYGON_OFFSET_POINT_NV 0x2A01 -#define GL_POLYGON_OFFSET_LINE_NV 0x2A02 -#define GL_POINT_NV 0x1B00 -#define GL_LINE_NV 0x1B01 -#define GL_FILL_NV 0x1B02 -typedef void (GL_APIENTRYP PFNGLPOLYGONMODENVPROC) (GLenum face, GLenum mode); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glPolygonModeNV (GLenum face, GLenum mode); -#endif -#endif /* GL_NV_polygon_mode */ - -#ifndef GL_NV_read_buffer -#define GL_NV_read_buffer 1 -#define GL_READ_BUFFER_NV 0x0C02 -typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode); -#endif -#endif /* GL_NV_read_buffer */ - -#ifndef GL_NV_read_buffer_front -#define GL_NV_read_buffer_front 1 -#endif /* GL_NV_read_buffer_front */ - -#ifndef GL_NV_read_depth -#define GL_NV_read_depth 1 -#endif /* GL_NV_read_depth */ - -#ifndef GL_NV_read_depth_stencil -#define GL_NV_read_depth_stencil 1 -#endif /* GL_NV_read_depth_stencil */ - -#ifndef GL_NV_read_stencil -#define GL_NV_read_stencil 1 -#endif /* GL_NV_read_stencil */ - -#ifndef GL_NV_sRGB_formats -#define GL_NV_sRGB_formats 1 -#define GL_SLUMINANCE_NV 0x8C46 -#define GL_SLUMINANCE_ALPHA_NV 0x8C44 -#define GL_SRGB8_NV 0x8C41 -#define GL_SLUMINANCE8_NV 0x8C47 -#define GL_SLUMINANCE8_ALPHA8_NV 0x8C45 -#define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F -#define GL_ETC1_SRGB8_NV 0x88EE -#endif /* GL_NV_sRGB_formats */ - -#ifndef GL_NV_sample_locations -#define GL_NV_sample_locations 1 -#define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D -#define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E -#define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F -#define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340 -#define GL_SAMPLE_LOCATION_NV 0x8E50 -#define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341 -#define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342 -#define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343 -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v); -GL_APICALL void GL_APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); -GL_APICALL void GL_APIENTRY glResolveDepthValuesNV (void); -#endif -#endif /* GL_NV_sample_locations */ - -#ifndef GL_NV_sample_mask_override_coverage -#define GL_NV_sample_mask_override_coverage 1 -#endif /* GL_NV_sample_mask_override_coverage */ - -#ifndef GL_NV_shader_noperspective_interpolation -#define GL_NV_shader_noperspective_interpolation 1 -#endif /* GL_NV_shader_noperspective_interpolation */ - -#ifndef GL_NV_shadow_samplers_array -#define GL_NV_shadow_samplers_array 1 -#define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4 -#endif /* GL_NV_shadow_samplers_array */ - -#ifndef GL_NV_shadow_samplers_cube -#define GL_NV_shadow_samplers_cube 1 -#define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5 -#endif /* GL_NV_shadow_samplers_cube */ - -#ifndef GL_NV_texture_border_clamp -#define GL_NV_texture_border_clamp 1 -#define GL_TEXTURE_BORDER_COLOR_NV 0x1004 -#define GL_CLAMP_TO_BORDER_NV 0x812D -#endif /* GL_NV_texture_border_clamp */ - -#ifndef GL_NV_texture_compression_s3tc_update -#define GL_NV_texture_compression_s3tc_update 1 -#endif /* GL_NV_texture_compression_s3tc_update */ - -#ifndef GL_NV_texture_npot_2D_mipmap -#define GL_NV_texture_npot_2D_mipmap 1 -#endif /* GL_NV_texture_npot_2D_mipmap */ - -#ifndef GL_NV_viewport_array -#define GL_NV_viewport_array 1 -#define GL_MAX_VIEWPORTS_NV 0x825B -#define GL_VIEWPORT_SUBPIXEL_BITS_NV 0x825C -#define GL_VIEWPORT_BOUNDS_RANGE_NV 0x825D -#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_NV 0x825F -typedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVNVPROC) (GLuint first, GLsizei count, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); -typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVNVPROC) (GLuint index, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLSCISSORARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v); -typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDNVPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVNVPROC) (GLuint index, const GLint *v); -typedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVNVPROC) (GLuint first, GLsizei count, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFNVPROC) (GLuint index, GLfloat n, GLfloat f); -typedef void (GL_APIENTRYP PFNGLGETFLOATI_VNVPROC) (GLenum target, GLuint index, GLfloat *data); -typedef void (GL_APIENTRYP PFNGLENABLEINVPROC) (GLenum target, GLuint index); -typedef void (GL_APIENTRYP PFNGLDISABLEINVPROC) (GLenum target, GLuint index); -typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDINVPROC) (GLenum target, GLuint index); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glViewportArrayvNV (GLuint first, GLsizei count, const GLfloat *v); -GL_APICALL void GL_APIENTRY glViewportIndexedfNV (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); -GL_APICALL void GL_APIENTRY glViewportIndexedfvNV (GLuint index, const GLfloat *v); -GL_APICALL void GL_APIENTRY glScissorArrayvNV (GLuint first, GLsizei count, const GLint *v); -GL_APICALL void GL_APIENTRY glScissorIndexedNV (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glScissorIndexedvNV (GLuint index, const GLint *v); -GL_APICALL void GL_APIENTRY glDepthRangeArrayfvNV (GLuint first, GLsizei count, const GLfloat *v); -GL_APICALL void GL_APIENTRY glDepthRangeIndexedfNV (GLuint index, GLfloat n, GLfloat f); -GL_APICALL void GL_APIENTRY glGetFloati_vNV (GLenum target, GLuint index, GLfloat *data); -GL_APICALL void GL_APIENTRY glEnableiNV (GLenum target, GLuint index); -GL_APICALL void GL_APIENTRY glDisableiNV (GLenum target, GLuint index); -GL_APICALL GLboolean GL_APIENTRY glIsEnablediNV (GLenum target, GLuint index); -#endif -#endif /* GL_NV_viewport_array */ - -#ifndef GL_NV_viewport_array2 -#define GL_NV_viewport_array2 1 -#endif /* GL_NV_viewport_array2 */ - -#ifndef GL_OVR_multiview -#define GL_OVR_multiview 1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632 -#define GL_MAX_VIEWS_OVR 0x9631 -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); -#endif -#endif /* GL_OVR_multiview */ - -#ifndef GL_OVR_multiview2 -#define GL_OVR_multiview2 1 -#endif /* GL_OVR_multiview2 */ - -#ifndef GL_OVR_multiview_multisampled_render_to_texture -#define GL_OVR_multiview_multisampled_render_to_texture 1 -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glFramebufferTextureMultisampleMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews); -#endif -#endif /* GL_OVR_multiview_multisampled_render_to_texture */ - -#ifndef GL_QCOM_alpha_test -#define GL_QCOM_alpha_test 1 -#define GL_ALPHA_TEST_QCOM 0x0BC0 -#define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 -#define GL_ALPHA_TEST_REF_QCOM 0x0BC2 -typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref); -#endif -#endif /* GL_QCOM_alpha_test */ - -#ifndef GL_QCOM_binning_control -#define GL_QCOM_binning_control 1 -#define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0 -#define GL_CPU_OPTIMIZED_QCOM 0x8FB1 -#define GL_GPU_OPTIMIZED_QCOM 0x8FB2 -#define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3 -#endif /* GL_QCOM_binning_control */ - -#ifndef GL_QCOM_driver_control -#define GL_QCOM_driver_control 1 -typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); -typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); -typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); -typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls); -GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); -GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); -GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); -#endif -#endif /* GL_QCOM_driver_control */ - -#ifndef GL_QCOM_extended_get -#define GL_QCOM_extended_get 1 -#define GL_TEXTURE_WIDTH_QCOM 0x8BD2 -#define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 -#define GL_TEXTURE_DEPTH_QCOM 0x8BD4 -#define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 -#define GL_TEXTURE_FORMAT_QCOM 0x8BD6 -#define GL_TEXTURE_TYPE_QCOM 0x8BD7 -#define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 -#define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 -#define GL_TEXTURE_TARGET_QCOM 0x8BDA -#define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB -#define GL_STATE_RESTORE 0x8BDC -typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); -typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); -typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); -typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); -typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); -typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); -typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures); -GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); -GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); -GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); -GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); -GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params); -#endif -#endif /* GL_QCOM_extended_get */ - -#ifndef GL_QCOM_extended_get2 -#define GL_QCOM_extended_get2 1 -typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); -typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); -typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders); -GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms); -GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); -GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length); -#endif -#endif /* GL_QCOM_extended_get2 */ - -#ifndef GL_QCOM_perfmon_global_mode -#define GL_QCOM_perfmon_global_mode 1 -#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 -#endif /* GL_QCOM_perfmon_global_mode */ - -#ifndef GL_QCOM_tiled_rendering -#define GL_QCOM_tiled_rendering 1 -#define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 -#define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 -#define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 -#define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 -#define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 -#define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 -#define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 -#define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 -#define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 -#define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 -#define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 -#define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 -#define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 -#define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 -#define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 -#define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 -#define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 -#define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 -#define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 -#define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 -#define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 -#define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 -#define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 -#define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 -#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 -#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 -#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 -#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 -#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 -#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 -#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 -#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 -typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); -typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); -GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); -#endif -#endif /* GL_QCOM_tiled_rendering */ - -#ifndef GL_QCOM_writeonly_rendering -#define GL_QCOM_writeonly_rendering 1 -#define GL_WRITEONLY_RENDERING_QCOM 0x8823 -#endif /* GL_QCOM_writeonly_rendering */ - -#ifndef GL_VIV_shader_binary -#define GL_VIV_shader_binary 1 -#define GL_SHADER_BINARY_VIV 0x8FC4 -#endif /* GL_VIV_shader_binary */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/khronos/repository/api/GLES3/gl3.h b/khronos/repository/api/GLES3/gl3.h deleted file mode 100644 index 4211860..0000000 --- a/khronos/repository/api/GLES3/gl3.h +++ /dev/null @@ -1,1209 +0,0 @@ -#ifndef __gl3_h_ -#define __gl3_h_ 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2013-2015 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts -** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ -*/ - -#include - -#ifndef GL_APIENTRYP -#define GL_APIENTRYP GL_APIENTRY* -#endif - -/* Generated on date 20151103 */ - -/* Generated C header for: - * API: gles2 - * Profile: common - * Versions considered: 2\.[0-9]|3.0 - * Versions emitted: .* - * Default extensions included: None - * Additional extensions included: _nomatch_^ - * Extensions removed: _nomatch_^ - */ - -#ifndef GL_ES_VERSION_2_0 -#define GL_ES_VERSION_2_0 1 -#include -typedef khronos_int8_t GLbyte; -typedef khronos_float_t GLclampf; -typedef khronos_int32_t GLfixed; -typedef short GLshort; -typedef unsigned short GLushort; -typedef void GLvoid; -typedef struct __GLsync *GLsync; -typedef khronos_int64_t GLint64; -typedef khronos_uint64_t GLuint64; -typedef unsigned int GLenum; -typedef unsigned int GLuint; -typedef char GLchar; -typedef khronos_float_t GLfloat; -typedef khronos_ssize_t GLsizeiptr; -typedef khronos_intptr_t GLintptr; -typedef unsigned int GLbitfield; -typedef int GLint; -typedef unsigned char GLboolean; -typedef int GLsizei; -typedef khronos_uint8_t GLubyte; -#define GL_DEPTH_BUFFER_BIT 0x00000100 -#define GL_STENCIL_BUFFER_BIT 0x00000400 -#define GL_COLOR_BUFFER_BIT 0x00004000 -#define GL_FALSE 0 -#define GL_TRUE 1 -#define GL_POINTS 0x0000 -#define GL_LINES 0x0001 -#define GL_LINE_LOOP 0x0002 -#define GL_LINE_STRIP 0x0003 -#define GL_TRIANGLES 0x0004 -#define GL_TRIANGLE_STRIP 0x0005 -#define GL_TRIANGLE_FAN 0x0006 -#define GL_ZERO 0 -#define GL_ONE 1 -#define GL_SRC_COLOR 0x0300 -#define GL_ONE_MINUS_SRC_COLOR 0x0301 -#define GL_SRC_ALPHA 0x0302 -#define GL_ONE_MINUS_SRC_ALPHA 0x0303 -#define GL_DST_ALPHA 0x0304 -#define GL_ONE_MINUS_DST_ALPHA 0x0305 -#define GL_DST_COLOR 0x0306 -#define GL_ONE_MINUS_DST_COLOR 0x0307 -#define GL_SRC_ALPHA_SATURATE 0x0308 -#define GL_FUNC_ADD 0x8006 -#define GL_BLEND_EQUATION 0x8009 -#define GL_BLEND_EQUATION_RGB 0x8009 -#define GL_BLEND_EQUATION_ALPHA 0x883D -#define GL_FUNC_SUBTRACT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT 0x800B -#define GL_BLEND_DST_RGB 0x80C8 -#define GL_BLEND_SRC_RGB 0x80C9 -#define GL_BLEND_DST_ALPHA 0x80CA -#define GL_BLEND_SRC_ALPHA 0x80CB -#define GL_CONSTANT_COLOR 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 -#define GL_CONSTANT_ALPHA 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 -#define GL_BLEND_COLOR 0x8005 -#define GL_ARRAY_BUFFER 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER 0x8893 -#define GL_ARRAY_BUFFER_BINDING 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 -#define GL_STREAM_DRAW 0x88E0 -#define GL_STATIC_DRAW 0x88E4 -#define GL_DYNAMIC_DRAW 0x88E8 -#define GL_BUFFER_SIZE 0x8764 -#define GL_BUFFER_USAGE 0x8765 -#define GL_CURRENT_VERTEX_ATTRIB 0x8626 -#define GL_FRONT 0x0404 -#define GL_BACK 0x0405 -#define GL_FRONT_AND_BACK 0x0408 -#define GL_TEXTURE_2D 0x0DE1 -#define GL_CULL_FACE 0x0B44 -#define GL_BLEND 0x0BE2 -#define GL_DITHER 0x0BD0 -#define GL_STENCIL_TEST 0x0B90 -#define GL_DEPTH_TEST 0x0B71 -#define GL_SCISSOR_TEST 0x0C11 -#define GL_POLYGON_OFFSET_FILL 0x8037 -#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E -#define GL_SAMPLE_COVERAGE 0x80A0 -#define GL_NO_ERROR 0 -#define GL_INVALID_ENUM 0x0500 -#define GL_INVALID_VALUE 0x0501 -#define GL_INVALID_OPERATION 0x0502 -#define GL_OUT_OF_MEMORY 0x0505 -#define GL_CW 0x0900 -#define GL_CCW 0x0901 -#define GL_LINE_WIDTH 0x0B21 -#define GL_ALIASED_POINT_SIZE_RANGE 0x846D -#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E -#define GL_CULL_FACE_MODE 0x0B45 -#define GL_FRONT_FACE 0x0B46 -#define GL_DEPTH_RANGE 0x0B70 -#define GL_DEPTH_WRITEMASK 0x0B72 -#define GL_DEPTH_CLEAR_VALUE 0x0B73 -#define GL_DEPTH_FUNC 0x0B74 -#define GL_STENCIL_CLEAR_VALUE 0x0B91 -#define GL_STENCIL_FUNC 0x0B92 -#define GL_STENCIL_FAIL 0x0B94 -#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 -#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 -#define GL_STENCIL_REF 0x0B97 -#define GL_STENCIL_VALUE_MASK 0x0B93 -#define GL_STENCIL_WRITEMASK 0x0B98 -#define GL_STENCIL_BACK_FUNC 0x8800 -#define GL_STENCIL_BACK_FAIL 0x8801 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 -#define GL_STENCIL_BACK_REF 0x8CA3 -#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 -#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 -#define GL_VIEWPORT 0x0BA2 -#define GL_SCISSOR_BOX 0x0C10 -#define GL_COLOR_CLEAR_VALUE 0x0C22 -#define GL_COLOR_WRITEMASK 0x0C23 -#define GL_UNPACK_ALIGNMENT 0x0CF5 -#define GL_PACK_ALIGNMENT 0x0D05 -#define GL_MAX_TEXTURE_SIZE 0x0D33 -#define GL_MAX_VIEWPORT_DIMS 0x0D3A -#define GL_SUBPIXEL_BITS 0x0D50 -#define GL_RED_BITS 0x0D52 -#define GL_GREEN_BITS 0x0D53 -#define GL_BLUE_BITS 0x0D54 -#define GL_ALPHA_BITS 0x0D55 -#define GL_DEPTH_BITS 0x0D56 -#define GL_STENCIL_BITS 0x0D57 -#define GL_POLYGON_OFFSET_UNITS 0x2A00 -#define GL_POLYGON_OFFSET_FACTOR 0x8038 -#define GL_TEXTURE_BINDING_2D 0x8069 -#define GL_SAMPLE_BUFFERS 0x80A8 -#define GL_SAMPLES 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT 0x80AB -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 -#define GL_DONT_CARE 0x1100 -#define GL_FASTEST 0x1101 -#define GL_NICEST 0x1102 -#define GL_GENERATE_MIPMAP_HINT 0x8192 -#define GL_BYTE 0x1400 -#define GL_UNSIGNED_BYTE 0x1401 -#define GL_SHORT 0x1402 -#define GL_UNSIGNED_SHORT 0x1403 -#define GL_INT 0x1404 -#define GL_UNSIGNED_INT 0x1405 -#define GL_FLOAT 0x1406 -#define GL_FIXED 0x140C -#define GL_DEPTH_COMPONENT 0x1902 -#define GL_ALPHA 0x1906 -#define GL_RGB 0x1907 -#define GL_RGBA 0x1908 -#define GL_LUMINANCE 0x1909 -#define GL_LUMINANCE_ALPHA 0x190A -#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 -#define GL_UNSIGNED_SHORT_5_6_5 0x8363 -#define GL_FRAGMENT_SHADER 0x8B30 -#define GL_VERTEX_SHADER 0x8B31 -#define GL_MAX_VERTEX_ATTRIBS 0x8869 -#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB -#define GL_MAX_VARYING_VECTORS 0x8DFC -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C -#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 -#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD -#define GL_SHADER_TYPE 0x8B4F -#define GL_DELETE_STATUS 0x8B80 -#define GL_LINK_STATUS 0x8B82 -#define GL_VALIDATE_STATUS 0x8B83 -#define GL_ATTACHED_SHADERS 0x8B85 -#define GL_ACTIVE_UNIFORMS 0x8B86 -#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 -#define GL_ACTIVE_ATTRIBUTES 0x8B89 -#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A -#define GL_SHADING_LANGUAGE_VERSION 0x8B8C -#define GL_CURRENT_PROGRAM 0x8B8D -#define GL_NEVER 0x0200 -#define GL_LESS 0x0201 -#define GL_EQUAL 0x0202 -#define GL_LEQUAL 0x0203 -#define GL_GREATER 0x0204 -#define GL_NOTEQUAL 0x0205 -#define GL_GEQUAL 0x0206 -#define GL_ALWAYS 0x0207 -#define GL_KEEP 0x1E00 -#define GL_REPLACE 0x1E01 -#define GL_INCR 0x1E02 -#define GL_DECR 0x1E03 -#define GL_INVERT 0x150A -#define GL_INCR_WRAP 0x8507 -#define GL_DECR_WRAP 0x8508 -#define GL_VENDOR 0x1F00 -#define GL_RENDERER 0x1F01 -#define GL_VERSION 0x1F02 -#define GL_EXTENSIONS 0x1F03 -#define GL_NEAREST 0x2600 -#define GL_LINEAR 0x2601 -#define GL_NEAREST_MIPMAP_NEAREST 0x2700 -#define GL_LINEAR_MIPMAP_NEAREST 0x2701 -#define GL_NEAREST_MIPMAP_LINEAR 0x2702 -#define GL_LINEAR_MIPMAP_LINEAR 0x2703 -#define GL_TEXTURE_MAG_FILTER 0x2800 -#define GL_TEXTURE_MIN_FILTER 0x2801 -#define GL_TEXTURE_WRAP_S 0x2802 -#define GL_TEXTURE_WRAP_T 0x2803 -#define GL_TEXTURE 0x1702 -#define GL_TEXTURE_CUBE_MAP 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C -#define GL_TEXTURE0 0x84C0 -#define GL_TEXTURE1 0x84C1 -#define GL_TEXTURE2 0x84C2 -#define GL_TEXTURE3 0x84C3 -#define GL_TEXTURE4 0x84C4 -#define GL_TEXTURE5 0x84C5 -#define GL_TEXTURE6 0x84C6 -#define GL_TEXTURE7 0x84C7 -#define GL_TEXTURE8 0x84C8 -#define GL_TEXTURE9 0x84C9 -#define GL_TEXTURE10 0x84CA -#define GL_TEXTURE11 0x84CB -#define GL_TEXTURE12 0x84CC -#define GL_TEXTURE13 0x84CD -#define GL_TEXTURE14 0x84CE -#define GL_TEXTURE15 0x84CF -#define GL_TEXTURE16 0x84D0 -#define GL_TEXTURE17 0x84D1 -#define GL_TEXTURE18 0x84D2 -#define GL_TEXTURE19 0x84D3 -#define GL_TEXTURE20 0x84D4 -#define GL_TEXTURE21 0x84D5 -#define GL_TEXTURE22 0x84D6 -#define GL_TEXTURE23 0x84D7 -#define GL_TEXTURE24 0x84D8 -#define GL_TEXTURE25 0x84D9 -#define GL_TEXTURE26 0x84DA -#define GL_TEXTURE27 0x84DB -#define GL_TEXTURE28 0x84DC -#define GL_TEXTURE29 0x84DD -#define GL_TEXTURE30 0x84DE -#define GL_TEXTURE31 0x84DF -#define GL_ACTIVE_TEXTURE 0x84E0 -#define GL_REPEAT 0x2901 -#define GL_CLAMP_TO_EDGE 0x812F -#define GL_MIRRORED_REPEAT 0x8370 -#define GL_FLOAT_VEC2 0x8B50 -#define GL_FLOAT_VEC3 0x8B51 -#define GL_FLOAT_VEC4 0x8B52 -#define GL_INT_VEC2 0x8B53 -#define GL_INT_VEC3 0x8B54 -#define GL_INT_VEC4 0x8B55 -#define GL_BOOL 0x8B56 -#define GL_BOOL_VEC2 0x8B57 -#define GL_BOOL_VEC3 0x8B58 -#define GL_BOOL_VEC4 0x8B59 -#define GL_FLOAT_MAT2 0x8B5A -#define GL_FLOAT_MAT3 0x8B5B -#define GL_FLOAT_MAT4 0x8B5C -#define GL_SAMPLER_2D 0x8B5E -#define GL_SAMPLER_CUBE 0x8B60 -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A -#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F -#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B -#define GL_COMPILE_STATUS 0x8B81 -#define GL_INFO_LOG_LENGTH 0x8B84 -#define GL_SHADER_SOURCE_LENGTH 0x8B88 -#define GL_SHADER_COMPILER 0x8DFA -#define GL_SHADER_BINARY_FORMATS 0x8DF8 -#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 -#define GL_LOW_FLOAT 0x8DF0 -#define GL_MEDIUM_FLOAT 0x8DF1 -#define GL_HIGH_FLOAT 0x8DF2 -#define GL_LOW_INT 0x8DF3 -#define GL_MEDIUM_INT 0x8DF4 -#define GL_HIGH_INT 0x8DF5 -#define GL_FRAMEBUFFER 0x8D40 -#define GL_RENDERBUFFER 0x8D41 -#define GL_RGBA4 0x8056 -#define GL_RGB5_A1 0x8057 -#define GL_RGB565 0x8D62 -#define GL_DEPTH_COMPONENT16 0x81A5 -#define GL_STENCIL_INDEX8 0x8D48 -#define GL_RENDERBUFFER_WIDTH 0x8D42 -#define GL_RENDERBUFFER_HEIGHT 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 -#define GL_RENDERBUFFER_RED_SIZE 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 -#define GL_COLOR_ATTACHMENT0 0x8CE0 -#define GL_DEPTH_ATTACHMENT 0x8D00 -#define GL_STENCIL_ATTACHMENT 0x8D20 -#define GL_NONE 0 -#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 -#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD -#define GL_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_RENDERBUFFER_BINDING 0x8CA7 -#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 -#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 -typedef void (GL_APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); -typedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); -typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); -typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); -typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); -typedef void (GL_APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture); -typedef void (GL_APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); -typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); -typedef void (GL_APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor); -typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -typedef void (GL_APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage); -typedef void (GL_APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); -typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLCLEARPROC) (GLbitfield mask); -typedef void (GL_APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); -typedef void (GL_APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s); -typedef void (GL_APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -typedef void (GL_APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); -typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); -typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -typedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef GLuint (GL_APIENTRYP PFNGLCREATEPROGRAMPROC) (void); -typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); -typedef void (GL_APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); -typedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); -typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers); -typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers); -typedef void (GL_APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); -typedef void (GL_APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures); -typedef void (GL_APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func); -typedef void (GL_APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag); -typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); -typedef void (GL_APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (GL_APIENTRYP PFNGLDISABLEPROC) (GLenum cap); -typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); -typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count); -typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices); -typedef void (GL_APIENTRYP PFNGLENABLEPROC) (GLenum cap); -typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); -typedef void (GL_APIENTRYP PFNGLFINISHPROC) (void); -typedef void (GL_APIENTRYP PFNGLFLUSHPROC) (void); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (GL_APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); -typedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); -typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); -typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); -typedef void (GL_APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures); -typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); -typedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (GL_APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data); -typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef GLenum (GL_APIENTRYP PFNGLGETERRORPROC) (void); -typedef void (GL_APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data); -typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (GL_APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); -typedef void (GL_APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); -typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGPROC) (GLenum name); -typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); -typedef GLint (GL_APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer); -typedef void (GL_APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); -typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); -typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDPROC) (GLenum cap); -typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); -typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); -typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); -typedef GLboolean (GL_APIENTRYP PFNGLISSHADERPROC) (GLuint shader); -typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture); -typedef void (GL_APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width); -typedef void (GL_APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param); -typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units); -typedef void (GL_APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); -typedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); -typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); -typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); -typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); -typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); -typedef void (GL_APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask); -typedef void (GL_APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); -typedef void (GL_APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass); -typedef void (GL_APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); -typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); -typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); -typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); -typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); -typedef void (GL_APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (GL_APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (GL_APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); -typedef void (GL_APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); -GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); -GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); -GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); -GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); -GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); -GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); -GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); -GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); -GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); -GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); -GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); -GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); -GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); -GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d); -GL_APICALL void GL_APIENTRY glClearStencil (GLint s); -GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); -GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); -GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); -GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); -GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); -GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); -GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); -GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); -GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); -GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); -GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); -GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); -GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); -GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); -GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); -GL_APICALL void GL_APIENTRY glDisable (GLenum cap); -GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); -GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); -GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); -GL_APICALL void GL_APIENTRY glEnable (GLenum cap); -GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); -GL_APICALL void GL_APIENTRY glFinish (void); -GL_APICALL void GL_APIENTRY glFlush (void); -GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); -GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); -GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); -GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); -GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); -GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); -GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); -GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); -GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); -GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); -GL_APICALL GLenum GL_APIENTRY glGetError (void); -GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data); -GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data); -GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); -GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); -GL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name); -GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); -GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); -GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); -GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); -GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); -GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); -GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); -GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); -GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); -GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); -GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); -GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); -GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); -GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); -GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); -GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); -GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); -GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); -GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); -GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); -GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); -GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); -GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); -GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); -GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); -GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); -GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); -GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); -GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); -GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); -GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); -GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); -GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); -GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); -GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); -GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); -GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); -GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); -GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); -GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); -GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); -GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); -GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); -#endif -#endif /* GL_ES_VERSION_2_0 */ - -#ifndef GL_ES_VERSION_3_0 -#define GL_ES_VERSION_3_0 1 -typedef unsigned short GLhalf; -#define GL_READ_BUFFER 0x0C02 -#define GL_UNPACK_ROW_LENGTH 0x0CF2 -#define GL_UNPACK_SKIP_ROWS 0x0CF3 -#define GL_UNPACK_SKIP_PIXELS 0x0CF4 -#define GL_PACK_ROW_LENGTH 0x0D02 -#define GL_PACK_SKIP_ROWS 0x0D03 -#define GL_PACK_SKIP_PIXELS 0x0D04 -#define GL_COLOR 0x1800 -#define GL_DEPTH 0x1801 -#define GL_STENCIL 0x1802 -#define GL_RED 0x1903 -#define GL_RGB8 0x8051 -#define GL_RGBA8 0x8058 -#define GL_RGB10_A2 0x8059 -#define GL_TEXTURE_BINDING_3D 0x806A -#define GL_UNPACK_SKIP_IMAGES 0x806D -#define GL_UNPACK_IMAGE_HEIGHT 0x806E -#define GL_TEXTURE_3D 0x806F -#define GL_TEXTURE_WRAP_R 0x8072 -#define GL_MAX_3D_TEXTURE_SIZE 0x8073 -#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 -#define GL_MAX_ELEMENTS_VERTICES 0x80E8 -#define GL_MAX_ELEMENTS_INDICES 0x80E9 -#define GL_TEXTURE_MIN_LOD 0x813A -#define GL_TEXTURE_MAX_LOD 0x813B -#define GL_TEXTURE_BASE_LEVEL 0x813C -#define GL_TEXTURE_MAX_LEVEL 0x813D -#define GL_MIN 0x8007 -#define GL_MAX 0x8008 -#define GL_DEPTH_COMPONENT24 0x81A6 -#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD -#define GL_TEXTURE_COMPARE_MODE 0x884C -#define GL_TEXTURE_COMPARE_FUNC 0x884D -#define GL_CURRENT_QUERY 0x8865 -#define GL_QUERY_RESULT 0x8866 -#define GL_QUERY_RESULT_AVAILABLE 0x8867 -#define GL_BUFFER_MAPPED 0x88BC -#define GL_BUFFER_MAP_POINTER 0x88BD -#define GL_STREAM_READ 0x88E1 -#define GL_STREAM_COPY 0x88E2 -#define GL_STATIC_READ 0x88E5 -#define GL_STATIC_COPY 0x88E6 -#define GL_DYNAMIC_READ 0x88E9 -#define GL_DYNAMIC_COPY 0x88EA -#define GL_MAX_DRAW_BUFFERS 0x8824 -#define GL_DRAW_BUFFER0 0x8825 -#define GL_DRAW_BUFFER1 0x8826 -#define GL_DRAW_BUFFER2 0x8827 -#define GL_DRAW_BUFFER3 0x8828 -#define GL_DRAW_BUFFER4 0x8829 -#define GL_DRAW_BUFFER5 0x882A -#define GL_DRAW_BUFFER6 0x882B -#define GL_DRAW_BUFFER7 0x882C -#define GL_DRAW_BUFFER8 0x882D -#define GL_DRAW_BUFFER9 0x882E -#define GL_DRAW_BUFFER10 0x882F -#define GL_DRAW_BUFFER11 0x8830 -#define GL_DRAW_BUFFER12 0x8831 -#define GL_DRAW_BUFFER13 0x8832 -#define GL_DRAW_BUFFER14 0x8833 -#define GL_DRAW_BUFFER15 0x8834 -#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 -#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A -#define GL_SAMPLER_3D 0x8B5F -#define GL_SAMPLER_2D_SHADOW 0x8B62 -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B -#define GL_PIXEL_PACK_BUFFER 0x88EB -#define GL_PIXEL_UNPACK_BUFFER 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF -#define GL_FLOAT_MAT2x3 0x8B65 -#define GL_FLOAT_MAT2x4 0x8B66 -#define GL_FLOAT_MAT3x2 0x8B67 -#define GL_FLOAT_MAT3x4 0x8B68 -#define GL_FLOAT_MAT4x2 0x8B69 -#define GL_FLOAT_MAT4x3 0x8B6A -#define GL_SRGB 0x8C40 -#define GL_SRGB8 0x8C41 -#define GL_SRGB8_ALPHA8 0x8C43 -#define GL_COMPARE_REF_TO_TEXTURE 0x884E -#define GL_MAJOR_VERSION 0x821B -#define GL_MINOR_VERSION 0x821C -#define GL_NUM_EXTENSIONS 0x821D -#define GL_RGBA32F 0x8814 -#define GL_RGB32F 0x8815 -#define GL_RGBA16F 0x881A -#define GL_RGB16F 0x881B -#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD -#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF -#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 -#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 -#define GL_MAX_VARYING_COMPONENTS 0x8B4B -#define GL_TEXTURE_2D_ARRAY 0x8C1A -#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D -#define GL_R11F_G11F_B10F 0x8C3A -#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B -#define GL_RGB9_E5 0x8C3D -#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E -#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 -#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 -#define GL_RASTERIZER_DISCARD 0x8C89 -#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B -#define GL_INTERLEAVED_ATTRIBS 0x8C8C -#define GL_SEPARATE_ATTRIBS 0x8C8D -#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F -#define GL_RGBA32UI 0x8D70 -#define GL_RGB32UI 0x8D71 -#define GL_RGBA16UI 0x8D76 -#define GL_RGB16UI 0x8D77 -#define GL_RGBA8UI 0x8D7C -#define GL_RGB8UI 0x8D7D -#define GL_RGBA32I 0x8D82 -#define GL_RGB32I 0x8D83 -#define GL_RGBA16I 0x8D88 -#define GL_RGB16I 0x8D89 -#define GL_RGBA8I 0x8D8E -#define GL_RGB8I 0x8D8F -#define GL_RED_INTEGER 0x8D94 -#define GL_RGB_INTEGER 0x8D98 -#define GL_RGBA_INTEGER 0x8D99 -#define GL_SAMPLER_2D_ARRAY 0x8DC1 -#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 -#define GL_SAMPLER_CUBE_SHADOW 0x8DC5 -#define GL_UNSIGNED_INT_VEC2 0x8DC6 -#define GL_UNSIGNED_INT_VEC3 0x8DC7 -#define GL_UNSIGNED_INT_VEC4 0x8DC8 -#define GL_INT_SAMPLER_2D 0x8DCA -#define GL_INT_SAMPLER_3D 0x8DCB -#define GL_INT_SAMPLER_CUBE 0x8DCC -#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF -#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 -#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 -#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 -#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 -#define GL_BUFFER_ACCESS_FLAGS 0x911F -#define GL_BUFFER_MAP_LENGTH 0x9120 -#define GL_BUFFER_MAP_OFFSET 0x9121 -#define GL_DEPTH_COMPONENT32F 0x8CAC -#define GL_DEPTH32F_STENCIL8 0x8CAD -#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD -#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 -#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 -#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 -#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 -#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 -#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 -#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 -#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 -#define GL_FRAMEBUFFER_DEFAULT 0x8218 -#define GL_FRAMEBUFFER_UNDEFINED 0x8219 -#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A -#define GL_DEPTH_STENCIL 0x84F9 -#define GL_UNSIGNED_INT_24_8 0x84FA -#define GL_DEPTH24_STENCIL8 0x88F0 -#define GL_UNSIGNED_NORMALIZED 0x8C17 -#define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_READ_FRAMEBUFFER 0x8CA8 -#define GL_DRAW_FRAMEBUFFER 0x8CA9 -#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA -#define GL_RENDERBUFFER_SAMPLES 0x8CAB -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 -#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF -#define GL_COLOR_ATTACHMENT1 0x8CE1 -#define GL_COLOR_ATTACHMENT2 0x8CE2 -#define GL_COLOR_ATTACHMENT3 0x8CE3 -#define GL_COLOR_ATTACHMENT4 0x8CE4 -#define GL_COLOR_ATTACHMENT5 0x8CE5 -#define GL_COLOR_ATTACHMENT6 0x8CE6 -#define GL_COLOR_ATTACHMENT7 0x8CE7 -#define GL_COLOR_ATTACHMENT8 0x8CE8 -#define GL_COLOR_ATTACHMENT9 0x8CE9 -#define GL_COLOR_ATTACHMENT10 0x8CEA -#define GL_COLOR_ATTACHMENT11 0x8CEB -#define GL_COLOR_ATTACHMENT12 0x8CEC -#define GL_COLOR_ATTACHMENT13 0x8CED -#define GL_COLOR_ATTACHMENT14 0x8CEE -#define GL_COLOR_ATTACHMENT15 0x8CEF -#define GL_COLOR_ATTACHMENT16 0x8CF0 -#define GL_COLOR_ATTACHMENT17 0x8CF1 -#define GL_COLOR_ATTACHMENT18 0x8CF2 -#define GL_COLOR_ATTACHMENT19 0x8CF3 -#define GL_COLOR_ATTACHMENT20 0x8CF4 -#define GL_COLOR_ATTACHMENT21 0x8CF5 -#define GL_COLOR_ATTACHMENT22 0x8CF6 -#define GL_COLOR_ATTACHMENT23 0x8CF7 -#define GL_COLOR_ATTACHMENT24 0x8CF8 -#define GL_COLOR_ATTACHMENT25 0x8CF9 -#define GL_COLOR_ATTACHMENT26 0x8CFA -#define GL_COLOR_ATTACHMENT27 0x8CFB -#define GL_COLOR_ATTACHMENT28 0x8CFC -#define GL_COLOR_ATTACHMENT29 0x8CFD -#define GL_COLOR_ATTACHMENT30 0x8CFE -#define GL_COLOR_ATTACHMENT31 0x8CFF -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 -#define GL_MAX_SAMPLES 0x8D57 -#define GL_HALF_FLOAT 0x140B -#define GL_MAP_READ_BIT 0x0001 -#define GL_MAP_WRITE_BIT 0x0002 -#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 -#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 -#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 -#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 -#define GL_RG 0x8227 -#define GL_RG_INTEGER 0x8228 -#define GL_R8 0x8229 -#define GL_RG8 0x822B -#define GL_R16F 0x822D -#define GL_R32F 0x822E -#define GL_RG16F 0x822F -#define GL_RG32F 0x8230 -#define GL_R8I 0x8231 -#define GL_R8UI 0x8232 -#define GL_R16I 0x8233 -#define GL_R16UI 0x8234 -#define GL_R32I 0x8235 -#define GL_R32UI 0x8236 -#define GL_RG8I 0x8237 -#define GL_RG8UI 0x8238 -#define GL_RG16I 0x8239 -#define GL_RG16UI 0x823A -#define GL_RG32I 0x823B -#define GL_RG32UI 0x823C -#define GL_VERTEX_ARRAY_BINDING 0x85B5 -#define GL_R8_SNORM 0x8F94 -#define GL_RG8_SNORM 0x8F95 -#define GL_RGB8_SNORM 0x8F96 -#define GL_RGBA8_SNORM 0x8F97 -#define GL_SIGNED_NORMALIZED 0x8F9C -#define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 -#define GL_COPY_READ_BUFFER 0x8F36 -#define GL_COPY_WRITE_BUFFER 0x8F37 -#define GL_COPY_READ_BUFFER_BINDING 0x8F36 -#define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 -#define GL_UNIFORM_BUFFER 0x8A11 -#define GL_UNIFORM_BUFFER_BINDING 0x8A28 -#define GL_UNIFORM_BUFFER_START 0x8A29 -#define GL_UNIFORM_BUFFER_SIZE 0x8A2A -#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B -#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D -#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E -#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F -#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 -#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 -#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 -#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 -#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 -#define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 -#define GL_UNIFORM_TYPE 0x8A37 -#define GL_UNIFORM_SIZE 0x8A38 -#define GL_UNIFORM_NAME_LENGTH 0x8A39 -#define GL_UNIFORM_BLOCK_INDEX 0x8A3A -#define GL_UNIFORM_OFFSET 0x8A3B -#define GL_UNIFORM_ARRAY_STRIDE 0x8A3C -#define GL_UNIFORM_MATRIX_STRIDE 0x8A3D -#define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E -#define GL_UNIFORM_BLOCK_BINDING 0x8A3F -#define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 -#define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 -#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 -#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 -#define GL_INVALID_INDEX 0xFFFFFFFFu -#define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 -#define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 -#define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 -#define GL_OBJECT_TYPE 0x9112 -#define GL_SYNC_CONDITION 0x9113 -#define GL_SYNC_STATUS 0x9114 -#define GL_SYNC_FLAGS 0x9115 -#define GL_SYNC_FENCE 0x9116 -#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 -#define GL_UNSIGNALED 0x9118 -#define GL_SIGNALED 0x9119 -#define GL_ALREADY_SIGNALED 0x911A -#define GL_TIMEOUT_EXPIRED 0x911B -#define GL_CONDITION_SATISFIED 0x911C -#define GL_WAIT_FAILED 0x911D -#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 -#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull -#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE -#define GL_ANY_SAMPLES_PASSED 0x8C2F -#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A -#define GL_SAMPLER_BINDING 0x8919 -#define GL_RGB10_A2UI 0x906F -#define GL_TEXTURE_SWIZZLE_R 0x8E42 -#define GL_TEXTURE_SWIZZLE_G 0x8E43 -#define GL_TEXTURE_SWIZZLE_B 0x8E44 -#define GL_TEXTURE_SWIZZLE_A 0x8E45 -#define GL_GREEN 0x1904 -#define GL_BLUE 0x1905 -#define GL_INT_2_10_10_10_REV 0x8D9F -#define GL_TRANSFORM_FEEDBACK 0x8E22 -#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 -#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 -#define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 -#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 -#define GL_PROGRAM_BINARY_LENGTH 0x8741 -#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE -#define GL_PROGRAM_BINARY_FORMATS 0x87FF -#define GL_COMPRESSED_R11_EAC 0x9270 -#define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 -#define GL_COMPRESSED_RG11_EAC 0x9272 -#define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 -#define GL_COMPRESSED_RGB8_ETC2 0x9274 -#define GL_COMPRESSED_SRGB8_ETC2 0x9275 -#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 -#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 -#define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 -#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 -#define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F -#define GL_MAX_ELEMENT_INDEX 0x8D6B -#define GL_NUM_SAMPLE_COUNTS 0x9380 -#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF -typedef void (GL_APIENTRYP PFNGLREADBUFFERPROC) (GLenum src); -typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); -typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); -typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -typedef void (GL_APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); -typedef void (GL_APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); -typedef GLboolean (GL_APIENTRYP PFNGLISQUERYPROC) (GLuint id); -typedef void (GL_APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); -typedef void (GL_APIENTRYP PFNGLENDQUERYPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); -typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params); -typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); -typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array); -typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays); -typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); -typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array); -typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data); -typedef void (GL_APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode); -typedef void (GL_APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); -typedef void (GL_APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (GL_APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); -typedef void (GL_APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); -typedef void (GL_APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v); -typedef void (GL_APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params); -typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (GL_APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0); -typedef void (GL_APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1); -typedef void (GL_APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (GL_APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (GL_APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); -typedef void (GL_APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index); -typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -typedef void (GL_APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); -typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); -typedef GLuint (GL_APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName); -typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); -typedef void (GL_APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); -typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); -typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); -typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags); -typedef GLboolean (GL_APIENTRYP PFNGLISSYNCPROC) (GLsync sync); -typedef void (GL_APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); -typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void (GL_APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void (GL_APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data); -typedef void (GL_APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -typedef void (GL_APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); -typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); -typedef void (GL_APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers); -typedef void (GL_APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers); -typedef GLboolean (GL_APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler); -typedef void (GL_APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler); -typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param); -typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param); -typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param); -typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param); -typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor); -typedef void (GL_APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id); -typedef void (GL_APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids); -typedef void (GL_APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids); -typedef GLboolean (GL_APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id); -typedef void (GL_APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void); -typedef void (GL_APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); -typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); -typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value); -typedef void (GL_APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); -typedef void (GL_APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glReadBuffer (GLenum src); -GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); -GL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -GL_APICALL void GL_APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -GL_APICALL void GL_APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); -GL_APICALL void GL_APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -GL_APICALL void GL_APIENTRY glGenQueries (GLsizei n, GLuint *ids); -GL_APICALL void GL_APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids); -GL_APICALL GLboolean GL_APIENTRY glIsQuery (GLuint id); -GL_APICALL void GL_APIENTRY glBeginQuery (GLenum target, GLuint id); -GL_APICALL void GL_APIENTRY glEndQuery (GLenum target); -GL_APICALL void GL_APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params); -GL_APICALL GLboolean GL_APIENTRY glUnmapBuffer (GLenum target); -GL_APICALL void GL_APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params); -GL_APICALL void GL_APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs); -GL_APICALL void GL_APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -GL_APICALL void *GL_APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -GL_APICALL void GL_APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); -GL_APICALL void GL_APIENTRY glBindVertexArray (GLuint array); -GL_APICALL void GL_APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays); -GL_APICALL void GL_APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays); -GL_APICALL GLboolean GL_APIENTRY glIsVertexArray (GLuint array); -GL_APICALL void GL_APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data); -GL_APICALL void GL_APIENTRY glBeginTransformFeedback (GLenum primitiveMode); -GL_APICALL void GL_APIENTRY glEndTransformFeedback (void); -GL_APICALL void GL_APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -GL_APICALL void GL_APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); -GL_APICALL void GL_APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); -GL_APICALL void GL_APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -GL_APICALL void GL_APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -GL_APICALL void GL_APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params); -GL_APICALL void GL_APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); -GL_APICALL void GL_APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -GL_APICALL void GL_APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v); -GL_APICALL void GL_APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v); -GL_APICALL void GL_APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params); -GL_APICALL GLint GL_APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name); -GL_APICALL void GL_APIENTRY glUniform1ui (GLint location, GLuint v0); -GL_APICALL void GL_APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); -GL_APICALL void GL_APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); -GL_APICALL void GL_APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -GL_APICALL void GL_APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value); -GL_APICALL void GL_APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value); -GL_APICALL void GL_APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value); -GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -GL_APICALL const GLubyte *GL_APIENTRY glGetStringi (GLenum name, GLuint index); -GL_APICALL void GL_APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -GL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); -GL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); -GL_APICALL GLuint GL_APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName); -GL_APICALL void GL_APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); -GL_APICALL void GL_APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); -GL_APICALL void GL_APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); -GL_APICALL void GL_APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); -GL_APICALL GLsync GL_APIENTRY glFenceSync (GLenum condition, GLbitfield flags); -GL_APICALL GLboolean GL_APIENTRY glIsSync (GLsync sync); -GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync); -GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); -GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); -GL_APICALL void GL_APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); -GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -GL_APICALL void GL_APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); -GL_APICALL void GL_APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); -GL_APICALL void GL_APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); -GL_APICALL void GL_APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers); -GL_APICALL GLboolean GL_APIENTRY glIsSampler (GLuint sampler); -GL_APICALL void GL_APIENTRY glBindSampler (GLuint unit, GLuint sampler); -GL_APICALL void GL_APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param); -GL_APICALL void GL_APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); -GL_APICALL void GL_APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param); -GL_APICALL void GL_APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params); -GL_APICALL void GL_APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor); -GL_APICALL void GL_APIENTRY glBindTransformFeedback (GLenum target, GLuint id); -GL_APICALL void GL_APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids); -GL_APICALL void GL_APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids); -GL_APICALL GLboolean GL_APIENTRY glIsTransformFeedback (GLuint id); -GL_APICALL void GL_APIENTRY glPauseTransformFeedback (void); -GL_APICALL void GL_APIENTRY glResumeTransformFeedback (void); -GL_APICALL void GL_APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); -GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); -GL_APICALL void GL_APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value); -GL_APICALL void GL_APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments); -GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); -#endif -#endif /* GL_ES_VERSION_3_0 */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/khronos/repository/api/GLES3/gl31.h b/khronos/repository/api/GLES3/gl31.h deleted file mode 100644 index 9770298..0000000 --- a/khronos/repository/api/GLES3/gl31.h +++ /dev/null @@ -1,1524 +0,0 @@ -#ifndef __gl31_h_ -#define __gl31_h_ 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2013-2015 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ -/* -** This header is generated from the Khronos OpenGL / OpenGL ES XML -** API Registry. The current version of the Registry, generator scripts -** used to make the header, and the header can be found at -** http://www.opengl.org/registry/ -** -** Khronos $Revision$ on $Date$ -*/ - -#include - -#ifndef GL_APIENTRYP -#define GL_APIENTRYP GL_APIENTRY* -#endif - -/* Generated on date 20151103 */ - -/* Generated C header for: - * API: gles2 - * Profile: common - * Versions considered: 2.[0-9]|3.[01] - * Versions emitted: .* - * Default extensions included: None - * Additional extensions included: _nomatch_^ - * Extensions removed: _nomatch_^ - */ - -#ifndef GL_ES_VERSION_2_0 -#define GL_ES_VERSION_2_0 1 -#include -typedef khronos_int8_t GLbyte; -typedef khronos_float_t GLclampf; -typedef khronos_int32_t GLfixed; -typedef short GLshort; -typedef unsigned short GLushort; -typedef void GLvoid; -typedef struct __GLsync *GLsync; -typedef khronos_int64_t GLint64; -typedef khronos_uint64_t GLuint64; -typedef unsigned int GLenum; -typedef unsigned int GLuint; -typedef char GLchar; -typedef khronos_float_t GLfloat; -typedef khronos_ssize_t GLsizeiptr; -typedef khronos_intptr_t GLintptr; -typedef unsigned int GLbitfield; -typedef int GLint; -typedef unsigned char GLboolean; -typedef int GLsizei; -typedef khronos_uint8_t GLubyte; -#define GL_DEPTH_BUFFER_BIT 0x00000100 -#define GL_STENCIL_BUFFER_BIT 0x00000400 -#define GL_COLOR_BUFFER_BIT 0x00004000 -#define GL_FALSE 0 -#define GL_TRUE 1 -#define GL_POINTS 0x0000 -#define GL_LINES 0x0001 -#define GL_LINE_LOOP 0x0002 -#define GL_LINE_STRIP 0x0003 -#define GL_TRIANGLES 0x0004 -#define GL_TRIANGLE_STRIP 0x0005 -#define GL_TRIANGLE_FAN 0x0006 -#define GL_ZERO 0 -#define GL_ONE 1 -#define GL_SRC_COLOR 0x0300 -#define GL_ONE_MINUS_SRC_COLOR 0x0301 -#define GL_SRC_ALPHA 0x0302 -#define GL_ONE_MINUS_SRC_ALPHA 0x0303 -#define GL_DST_ALPHA 0x0304 -#define GL_ONE_MINUS_DST_ALPHA 0x0305 -#define GL_DST_COLOR 0x0306 -#define GL_ONE_MINUS_DST_COLOR 0x0307 -#define GL_SRC_ALPHA_SATURATE 0x0308 -#define GL_FUNC_ADD 0x8006 -#define GL_BLEND_EQUATION 0x8009 -#define GL_BLEND_EQUATION_RGB 0x8009 -#define GL_BLEND_EQUATION_ALPHA 0x883D -#define GL_FUNC_SUBTRACT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT 0x800B -#define GL_BLEND_DST_RGB 0x80C8 -#define GL_BLEND_SRC_RGB 0x80C9 -#define GL_BLEND_DST_ALPHA 0x80CA -#define GL_BLEND_SRC_ALPHA 0x80CB -#define GL_CONSTANT_COLOR 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 -#define GL_CONSTANT_ALPHA 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 -#define GL_BLEND_COLOR 0x8005 -#define GL_ARRAY_BUFFER 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER 0x8893 -#define GL_ARRAY_BUFFER_BINDING 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 -#define GL_STREAM_DRAW 0x88E0 -#define GL_STATIC_DRAW 0x88E4 -#define GL_DYNAMIC_DRAW 0x88E8 -#define GL_BUFFER_SIZE 0x8764 -#define GL_BUFFER_USAGE 0x8765 -#define GL_CURRENT_VERTEX_ATTRIB 0x8626 -#define GL_FRONT 0x0404 -#define GL_BACK 0x0405 -#define GL_FRONT_AND_BACK 0x0408 -#define GL_TEXTURE_2D 0x0DE1 -#define GL_CULL_FACE 0x0B44 -#define GL_BLEND 0x0BE2 -#define GL_DITHER 0x0BD0 -#define GL_STENCIL_TEST 0x0B90 -#define GL_DEPTH_TEST 0x0B71 -#define GL_SCISSOR_TEST 0x0C11 -#define GL_POLYGON_OFFSET_FILL 0x8037 -#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E -#define GL_SAMPLE_COVERAGE 0x80A0 -#define GL_NO_ERROR 0 -#define GL_INVALID_ENUM 0x0500 -#define GL_INVALID_VALUE 0x0501 -#define GL_INVALID_OPERATION 0x0502 -#define GL_OUT_OF_MEMORY 0x0505 -#define GL_CW 0x0900 -#define GL_CCW 0x0901 -#define GL_LINE_WIDTH 0x0B21 -#define GL_ALIASED_POINT_SIZE_RANGE 0x846D -#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E -#define GL_CULL_FACE_MODE 0x0B45 -#define GL_FRONT_FACE 0x0B46 -#define GL_DEPTH_RANGE 0x0B70 -#define GL_DEPTH_WRITEMASK 0x0B72 -#define GL_DEPTH_CLEAR_VALUE 0x0B73 -#define GL_DEPTH_FUNC 0x0B74 -#define GL_STENCIL_CLEAR_VALUE 0x0B91 -#define GL_STENCIL_FUNC 0x0B92 -#define GL_STENCIL_FAIL 0x0B94 -#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 -#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 -#define GL_STENCIL_REF 0x0B97 -#define GL_STENCIL_VALUE_MASK 0x0B93 -#define GL_STENCIL_WRITEMASK 0x0B98 -#define GL_STENCIL_BACK_FUNC 0x8800 -#define GL_STENCIL_BACK_FAIL 0x8801 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 -#define GL_STENCIL_BACK_REF 0x8CA3 -#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 -#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 -#define GL_VIEWPORT 0x0BA2 -#define GL_SCISSOR_BOX 0x0C10 -#define GL_COLOR_CLEAR_VALUE 0x0C22 -#define GL_COLOR_WRITEMASK 0x0C23 -#define GL_UNPACK_ALIGNMENT 0x0CF5 -#define GL_PACK_ALIGNMENT 0x0D05 -#define GL_MAX_TEXTURE_SIZE 0x0D33 -#define GL_MAX_VIEWPORT_DIMS 0x0D3A -#define GL_SUBPIXEL_BITS 0x0D50 -#define GL_RED_BITS 0x0D52 -#define GL_GREEN_BITS 0x0D53 -#define GL_BLUE_BITS 0x0D54 -#define GL_ALPHA_BITS 0x0D55 -#define GL_DEPTH_BITS 0x0D56 -#define GL_STENCIL_BITS 0x0D57 -#define GL_POLYGON_OFFSET_UNITS 0x2A00 -#define GL_POLYGON_OFFSET_FACTOR 0x8038 -#define GL_TEXTURE_BINDING_2D 0x8069 -#define GL_SAMPLE_BUFFERS 0x80A8 -#define GL_SAMPLES 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT 0x80AB -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 -#define GL_DONT_CARE 0x1100 -#define GL_FASTEST 0x1101 -#define GL_NICEST 0x1102 -#define GL_GENERATE_MIPMAP_HINT 0x8192 -#define GL_BYTE 0x1400 -#define GL_UNSIGNED_BYTE 0x1401 -#define GL_SHORT 0x1402 -#define GL_UNSIGNED_SHORT 0x1403 -#define GL_INT 0x1404 -#define GL_UNSIGNED_INT 0x1405 -#define GL_FLOAT 0x1406 -#define GL_FIXED 0x140C -#define GL_DEPTH_COMPONENT 0x1902 -#define GL_ALPHA 0x1906 -#define GL_RGB 0x1907 -#define GL_RGBA 0x1908 -#define GL_LUMINANCE 0x1909 -#define GL_LUMINANCE_ALPHA 0x190A -#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 -#define GL_UNSIGNED_SHORT_5_6_5 0x8363 -#define GL_FRAGMENT_SHADER 0x8B30 -#define GL_VERTEX_SHADER 0x8B31 -#define GL_MAX_VERTEX_ATTRIBS 0x8869 -#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB -#define GL_MAX_VARYING_VECTORS 0x8DFC -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C -#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 -#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD -#define GL_SHADER_TYPE 0x8B4F -#define GL_DELETE_STATUS 0x8B80 -#define GL_LINK_STATUS 0x8B82 -#define GL_VALIDATE_STATUS 0x8B83 -#define GL_ATTACHED_SHADERS 0x8B85 -#define GL_ACTIVE_UNIFORMS 0x8B86 -#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 -#define GL_ACTIVE_ATTRIBUTES 0x8B89 -#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A -#define GL_SHADING_LANGUAGE_VERSION 0x8B8C -#define GL_CURRENT_PROGRAM 0x8B8D -#define GL_NEVER 0x0200 -#define GL_LESS 0x0201 -#define GL_EQUAL 0x0202 -#define GL_LEQUAL 0x0203 -#define GL_GREATER 0x0204 -#define GL_NOTEQUAL 0x0205 -#define GL_GEQUAL 0x0206 -#define GL_ALWAYS 0x0207 -#define GL_KEEP 0x1E00 -#define GL_REPLACE 0x1E01 -#define GL_INCR 0x1E02 -#define GL_DECR 0x1E03 -#define GL_INVERT 0x150A -#define GL_INCR_WRAP 0x8507 -#define GL_DECR_WRAP 0x8508 -#define GL_VENDOR 0x1F00 -#define GL_RENDERER 0x1F01 -#define GL_VERSION 0x1F02 -#define GL_EXTENSIONS 0x1F03 -#define GL_NEAREST 0x2600 -#define GL_LINEAR 0x2601 -#define GL_NEAREST_MIPMAP_NEAREST 0x2700 -#define GL_LINEAR_MIPMAP_NEAREST 0x2701 -#define GL_NEAREST_MIPMAP_LINEAR 0x2702 -#define GL_LINEAR_MIPMAP_LINEAR 0x2703 -#define GL_TEXTURE_MAG_FILTER 0x2800 -#define GL_TEXTURE_MIN_FILTER 0x2801 -#define GL_TEXTURE_WRAP_S 0x2802 -#define GL_TEXTURE_WRAP_T 0x2803 -#define GL_TEXTURE 0x1702 -#define GL_TEXTURE_CUBE_MAP 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C -#define GL_TEXTURE0 0x84C0 -#define GL_TEXTURE1 0x84C1 -#define GL_TEXTURE2 0x84C2 -#define GL_TEXTURE3 0x84C3 -#define GL_TEXTURE4 0x84C4 -#define GL_TEXTURE5 0x84C5 -#define GL_TEXTURE6 0x84C6 -#define GL_TEXTURE7 0x84C7 -#define GL_TEXTURE8 0x84C8 -#define GL_TEXTURE9 0x84C9 -#define GL_TEXTURE10 0x84CA -#define GL_TEXTURE11 0x84CB -#define GL_TEXTURE12 0x84CC -#define GL_TEXTURE13 0x84CD -#define GL_TEXTURE14 0x84CE -#define GL_TEXTURE15 0x84CF -#define GL_TEXTURE16 0x84D0 -#define GL_TEXTURE17 0x84D1 -#define GL_TEXTURE18 0x84D2 -#define GL_TEXTURE19 0x84D3 -#define GL_TEXTURE20 0x84D4 -#define GL_TEXTURE21 0x84D5 -#define GL_TEXTURE22 0x84D6 -#define GL_TEXTURE23 0x84D7 -#define GL_TEXTURE24 0x84D8 -#define GL_TEXTURE25 0x84D9 -#define GL_TEXTURE26 0x84DA -#define GL_TEXTURE27 0x84DB -#define GL_TEXTURE28 0x84DC -#define GL_TEXTURE29 0x84DD -#define GL_TEXTURE30 0x84DE -#define GL_TEXTURE31 0x84DF -#define GL_ACTIVE_TEXTURE 0x84E0 -#define GL_REPEAT 0x2901 -#define GL_CLAMP_TO_EDGE 0x812F -#define GL_MIRRORED_REPEAT 0x8370 -#define GL_FLOAT_VEC2 0x8B50 -#define GL_FLOAT_VEC3 0x8B51 -#define GL_FLOAT_VEC4 0x8B52 -#define GL_INT_VEC2 0x8B53 -#define GL_INT_VEC3 0x8B54 -#define GL_INT_VEC4 0x8B55 -#define GL_BOOL 0x8B56 -#define GL_BOOL_VEC2 0x8B57 -#define GL_BOOL_VEC3 0x8B58 -#define GL_BOOL_VEC4 0x8B59 -#define GL_FLOAT_MAT2 0x8B5A -#define GL_FLOAT_MAT3 0x8B5B -#define GL_FLOAT_MAT4 0x8B5C -#define GL_SAMPLER_2D 0x8B5E -#define GL_SAMPLER_CUBE 0x8B60 -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A -#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F -#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B -#define GL_COMPILE_STATUS 0x8B81 -#define GL_INFO_LOG_LENGTH 0x8B84 -#define GL_SHADER_SOURCE_LENGTH 0x8B88 -#define GL_SHADER_COMPILER 0x8DFA -#define GL_SHADER_BINARY_FORMATS 0x8DF8 -#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 -#define GL_LOW_FLOAT 0x8DF0 -#define GL_MEDIUM_FLOAT 0x8DF1 -#define GL_HIGH_FLOAT 0x8DF2 -#define GL_LOW_INT 0x8DF3 -#define GL_MEDIUM_INT 0x8DF4 -#define GL_HIGH_INT 0x8DF5 -#define GL_FRAMEBUFFER 0x8D40 -#define GL_RENDERBUFFER 0x8D41 -#define GL_RGBA4 0x8056 -#define GL_RGB5_A1 0x8057 -#define GL_RGB565 0x8D62 -#define GL_DEPTH_COMPONENT16 0x81A5 -#define GL_STENCIL_INDEX8 0x8D48 -#define GL_RENDERBUFFER_WIDTH 0x8D42 -#define GL_RENDERBUFFER_HEIGHT 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 -#define GL_RENDERBUFFER_RED_SIZE 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 -#define GL_COLOR_ATTACHMENT0 0x8CE0 -#define GL_DEPTH_ATTACHMENT 0x8D00 -#define GL_STENCIL_ATTACHMENT 0x8D20 -#define GL_NONE 0 -#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 -#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD -#define GL_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_RENDERBUFFER_BINDING 0x8CA7 -#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 -#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 -typedef void (GL_APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); -typedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); -typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); -typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); -typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); -typedef void (GL_APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture); -typedef void (GL_APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); -typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); -typedef void (GL_APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor); -typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -typedef void (GL_APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage); -typedef void (GL_APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); -typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLCLEARPROC) (GLbitfield mask); -typedef void (GL_APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); -typedef void (GL_APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s); -typedef void (GL_APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -typedef void (GL_APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); -typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); -typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -typedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef GLuint (GL_APIENTRYP PFNGLCREATEPROGRAMPROC) (void); -typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); -typedef void (GL_APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); -typedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); -typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers); -typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers); -typedef void (GL_APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); -typedef void (GL_APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures); -typedef void (GL_APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func); -typedef void (GL_APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag); -typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); -typedef void (GL_APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (GL_APIENTRYP PFNGLDISABLEPROC) (GLenum cap); -typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); -typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count); -typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices); -typedef void (GL_APIENTRYP PFNGLENABLEPROC) (GLenum cap); -typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); -typedef void (GL_APIENTRYP PFNGLFINISHPROC) (void); -typedef void (GL_APIENTRYP PFNGLFLUSHPROC) (void); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (GL_APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); -typedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); -typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); -typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); -typedef void (GL_APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures); -typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); -typedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (GL_APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data); -typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef GLenum (GL_APIENTRYP PFNGLGETERRORPROC) (void); -typedef void (GL_APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data); -typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (GL_APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); -typedef void (GL_APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); -typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGPROC) (GLenum name); -typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); -typedef GLint (GL_APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer); -typedef void (GL_APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); -typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); -typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDPROC) (GLenum cap); -typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); -typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); -typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); -typedef GLboolean (GL_APIENTRYP PFNGLISSHADERPROC) (GLuint shader); -typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture); -typedef void (GL_APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width); -typedef void (GL_APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param); -typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units); -typedef void (GL_APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); -typedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); -typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); -typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); -typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); -typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); -typedef void (GL_APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask); -typedef void (GL_APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); -typedef void (GL_APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass); -typedef void (GL_APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); -typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); -typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); -typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); -typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); -typedef void (GL_APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (GL_APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (GL_APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); -typedef void (GL_APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); -GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); -GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); -GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); -GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); -GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); -GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); -GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); -GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); -GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); -GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); -GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); -GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); -GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); -GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d); -GL_APICALL void GL_APIENTRY glClearStencil (GLint s); -GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); -GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); -GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); -GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); -GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); -GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); -GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); -GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); -GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); -GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); -GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); -GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); -GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); -GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); -GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); -GL_APICALL void GL_APIENTRY glDisable (GLenum cap); -GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); -GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); -GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); -GL_APICALL void GL_APIENTRY glEnable (GLenum cap); -GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); -GL_APICALL void GL_APIENTRY glFinish (void); -GL_APICALL void GL_APIENTRY glFlush (void); -GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); -GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); -GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); -GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); -GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); -GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); -GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); -GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); -GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); -GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); -GL_APICALL GLenum GL_APIENTRY glGetError (void); -GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data); -GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data); -GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); -GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); -GL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name); -GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); -GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); -GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); -GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); -GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); -GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); -GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); -GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); -GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); -GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); -GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); -GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); -GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); -GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); -GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); -GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); -GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); -GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); -GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); -GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); -GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); -GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); -GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); -GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); -GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); -GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); -GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); -GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); -GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); -GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); -GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); -GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); -GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); -GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); -GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); -GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); -GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); -GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); -GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); -GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); -GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); -GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); -GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); -GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); -#endif -#endif /* GL_ES_VERSION_2_0 */ - -#ifndef GL_ES_VERSION_3_0 -#define GL_ES_VERSION_3_0 1 -typedef unsigned short GLhalf; -#define GL_READ_BUFFER 0x0C02 -#define GL_UNPACK_ROW_LENGTH 0x0CF2 -#define GL_UNPACK_SKIP_ROWS 0x0CF3 -#define GL_UNPACK_SKIP_PIXELS 0x0CF4 -#define GL_PACK_ROW_LENGTH 0x0D02 -#define GL_PACK_SKIP_ROWS 0x0D03 -#define GL_PACK_SKIP_PIXELS 0x0D04 -#define GL_COLOR 0x1800 -#define GL_DEPTH 0x1801 -#define GL_STENCIL 0x1802 -#define GL_RED 0x1903 -#define GL_RGB8 0x8051 -#define GL_RGBA8 0x8058 -#define GL_RGB10_A2 0x8059 -#define GL_TEXTURE_BINDING_3D 0x806A -#define GL_UNPACK_SKIP_IMAGES 0x806D -#define GL_UNPACK_IMAGE_HEIGHT 0x806E -#define GL_TEXTURE_3D 0x806F -#define GL_TEXTURE_WRAP_R 0x8072 -#define GL_MAX_3D_TEXTURE_SIZE 0x8073 -#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 -#define GL_MAX_ELEMENTS_VERTICES 0x80E8 -#define GL_MAX_ELEMENTS_INDICES 0x80E9 -#define GL_TEXTURE_MIN_LOD 0x813A -#define GL_TEXTURE_MAX_LOD 0x813B -#define GL_TEXTURE_BASE_LEVEL 0x813C -#define GL_TEXTURE_MAX_LEVEL 0x813D -#define GL_MIN 0x8007 -#define GL_MAX 0x8008 -#define GL_DEPTH_COMPONENT24 0x81A6 -#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD -#define GL_TEXTURE_COMPARE_MODE 0x884C -#define GL_TEXTURE_COMPARE_FUNC 0x884D -#define GL_CURRENT_QUERY 0x8865 -#define GL_QUERY_RESULT 0x8866 -#define GL_QUERY_RESULT_AVAILABLE 0x8867 -#define GL_BUFFER_MAPPED 0x88BC -#define GL_BUFFER_MAP_POINTER 0x88BD -#define GL_STREAM_READ 0x88E1 -#define GL_STREAM_COPY 0x88E2 -#define GL_STATIC_READ 0x88E5 -#define GL_STATIC_COPY 0x88E6 -#define GL_DYNAMIC_READ 0x88E9 -#define GL_DYNAMIC_COPY 0x88EA -#define GL_MAX_DRAW_BUFFERS 0x8824 -#define GL_DRAW_BUFFER0 0x8825 -#define GL_DRAW_BUFFER1 0x8826 -#define GL_DRAW_BUFFER2 0x8827 -#define GL_DRAW_BUFFER3 0x8828 -#define GL_DRAW_BUFFER4 0x8829 -#define GL_DRAW_BUFFER5 0x882A -#define GL_DRAW_BUFFER6 0x882B -#define GL_DRAW_BUFFER7 0x882C -#define GL_DRAW_BUFFER8 0x882D -#define GL_DRAW_BUFFER9 0x882E -#define GL_DRAW_BUFFER10 0x882F -#define GL_DRAW_BUFFER11 0x8830 -#define GL_DRAW_BUFFER12 0x8831 -#define GL_DRAW_BUFFER13 0x8832 -#define GL_DRAW_BUFFER14 0x8833 -#define GL_DRAW_BUFFER15 0x8834 -#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 -#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A -#define GL_SAMPLER_3D 0x8B5F -#define GL_SAMPLER_2D_SHADOW 0x8B62 -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B -#define GL_PIXEL_PACK_BUFFER 0x88EB -#define GL_PIXEL_UNPACK_BUFFER 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF -#define GL_FLOAT_MAT2x3 0x8B65 -#define GL_FLOAT_MAT2x4 0x8B66 -#define GL_FLOAT_MAT3x2 0x8B67 -#define GL_FLOAT_MAT3x4 0x8B68 -#define GL_FLOAT_MAT4x2 0x8B69 -#define GL_FLOAT_MAT4x3 0x8B6A -#define GL_SRGB 0x8C40 -#define GL_SRGB8 0x8C41 -#define GL_SRGB8_ALPHA8 0x8C43 -#define GL_COMPARE_REF_TO_TEXTURE 0x884E -#define GL_MAJOR_VERSION 0x821B -#define GL_MINOR_VERSION 0x821C -#define GL_NUM_EXTENSIONS 0x821D -#define GL_RGBA32F 0x8814 -#define GL_RGB32F 0x8815 -#define GL_RGBA16F 0x881A -#define GL_RGB16F 0x881B -#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD -#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF -#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 -#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 -#define GL_MAX_VARYING_COMPONENTS 0x8B4B -#define GL_TEXTURE_2D_ARRAY 0x8C1A -#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D -#define GL_R11F_G11F_B10F 0x8C3A -#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B -#define GL_RGB9_E5 0x8C3D -#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E -#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 -#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 -#define GL_RASTERIZER_DISCARD 0x8C89 -#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B -#define GL_INTERLEAVED_ATTRIBS 0x8C8C -#define GL_SEPARATE_ATTRIBS 0x8C8D -#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F -#define GL_RGBA32UI 0x8D70 -#define GL_RGB32UI 0x8D71 -#define GL_RGBA16UI 0x8D76 -#define GL_RGB16UI 0x8D77 -#define GL_RGBA8UI 0x8D7C -#define GL_RGB8UI 0x8D7D -#define GL_RGBA32I 0x8D82 -#define GL_RGB32I 0x8D83 -#define GL_RGBA16I 0x8D88 -#define GL_RGB16I 0x8D89 -#define GL_RGBA8I 0x8D8E -#define GL_RGB8I 0x8D8F -#define GL_RED_INTEGER 0x8D94 -#define GL_RGB_INTEGER 0x8D98 -#define GL_RGBA_INTEGER 0x8D99 -#define GL_SAMPLER_2D_ARRAY 0x8DC1 -#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 -#define GL_SAMPLER_CUBE_SHADOW 0x8DC5 -#define GL_UNSIGNED_INT_VEC2 0x8DC6 -#define GL_UNSIGNED_INT_VEC3 0x8DC7 -#define GL_UNSIGNED_INT_VEC4 0x8DC8 -#define GL_INT_SAMPLER_2D 0x8DCA -#define GL_INT_SAMPLER_3D 0x8DCB -#define GL_INT_SAMPLER_CUBE 0x8DCC -#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF -#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 -#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 -#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 -#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 -#define GL_BUFFER_ACCESS_FLAGS 0x911F -#define GL_BUFFER_MAP_LENGTH 0x9120 -#define GL_BUFFER_MAP_OFFSET 0x9121 -#define GL_DEPTH_COMPONENT32F 0x8CAC -#define GL_DEPTH32F_STENCIL8 0x8CAD -#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD -#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 -#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 -#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 -#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 -#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 -#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 -#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 -#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 -#define GL_FRAMEBUFFER_DEFAULT 0x8218 -#define GL_FRAMEBUFFER_UNDEFINED 0x8219 -#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A -#define GL_DEPTH_STENCIL 0x84F9 -#define GL_UNSIGNED_INT_24_8 0x84FA -#define GL_DEPTH24_STENCIL8 0x88F0 -#define GL_UNSIGNED_NORMALIZED 0x8C17 -#define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_READ_FRAMEBUFFER 0x8CA8 -#define GL_DRAW_FRAMEBUFFER 0x8CA9 -#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA -#define GL_RENDERBUFFER_SAMPLES 0x8CAB -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 -#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF -#define GL_COLOR_ATTACHMENT1 0x8CE1 -#define GL_COLOR_ATTACHMENT2 0x8CE2 -#define GL_COLOR_ATTACHMENT3 0x8CE3 -#define GL_COLOR_ATTACHMENT4 0x8CE4 -#define GL_COLOR_ATTACHMENT5 0x8CE5 -#define GL_COLOR_ATTACHMENT6 0x8CE6 -#define GL_COLOR_ATTACHMENT7 0x8CE7 -#define GL_COLOR_ATTACHMENT8 0x8CE8 -#define GL_COLOR_ATTACHMENT9 0x8CE9 -#define GL_COLOR_ATTACHMENT10 0x8CEA -#define GL_COLOR_ATTACHMENT11 0x8CEB -#define GL_COLOR_ATTACHMENT12 0x8CEC -#define GL_COLOR_ATTACHMENT13 0x8CED -#define GL_COLOR_ATTACHMENT14 0x8CEE -#define GL_COLOR_ATTACHMENT15 0x8CEF -#define GL_COLOR_ATTACHMENT16 0x8CF0 -#define GL_COLOR_ATTACHMENT17 0x8CF1 -#define GL_COLOR_ATTACHMENT18 0x8CF2 -#define GL_COLOR_ATTACHMENT19 0x8CF3 -#define GL_COLOR_ATTACHMENT20 0x8CF4 -#define GL_COLOR_ATTACHMENT21 0x8CF5 -#define GL_COLOR_ATTACHMENT22 0x8CF6 -#define GL_COLOR_ATTACHMENT23 0x8CF7 -#define GL_COLOR_ATTACHMENT24 0x8CF8 -#define GL_COLOR_ATTACHMENT25 0x8CF9 -#define GL_COLOR_ATTACHMENT26 0x8CFA -#define GL_COLOR_ATTACHMENT27 0x8CFB -#define GL_COLOR_ATTACHMENT28 0x8CFC -#define GL_COLOR_ATTACHMENT29 0x8CFD -#define GL_COLOR_ATTACHMENT30 0x8CFE -#define GL_COLOR_ATTACHMENT31 0x8CFF -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 -#define GL_MAX_SAMPLES 0x8D57 -#define GL_HALF_FLOAT 0x140B -#define GL_MAP_READ_BIT 0x0001 -#define GL_MAP_WRITE_BIT 0x0002 -#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 -#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 -#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 -#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 -#define GL_RG 0x8227 -#define GL_RG_INTEGER 0x8228 -#define GL_R8 0x8229 -#define GL_RG8 0x822B -#define GL_R16F 0x822D -#define GL_R32F 0x822E -#define GL_RG16F 0x822F -#define GL_RG32F 0x8230 -#define GL_R8I 0x8231 -#define GL_R8UI 0x8232 -#define GL_R16I 0x8233 -#define GL_R16UI 0x8234 -#define GL_R32I 0x8235 -#define GL_R32UI 0x8236 -#define GL_RG8I 0x8237 -#define GL_RG8UI 0x8238 -#define GL_RG16I 0x8239 -#define GL_RG16UI 0x823A -#define GL_RG32I 0x823B -#define GL_RG32UI 0x823C -#define GL_VERTEX_ARRAY_BINDING 0x85B5 -#define GL_R8_SNORM 0x8F94 -#define GL_RG8_SNORM 0x8F95 -#define GL_RGB8_SNORM 0x8F96 -#define GL_RGBA8_SNORM 0x8F97 -#define GL_SIGNED_NORMALIZED 0x8F9C -#define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 -#define GL_COPY_READ_BUFFER 0x8F36 -#define GL_COPY_WRITE_BUFFER 0x8F37 -#define GL_COPY_READ_BUFFER_BINDING 0x8F36 -#define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 -#define GL_UNIFORM_BUFFER 0x8A11 -#define GL_UNIFORM_BUFFER_BINDING 0x8A28 -#define GL_UNIFORM_BUFFER_START 0x8A29 -#define GL_UNIFORM_BUFFER_SIZE 0x8A2A -#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B -#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D -#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E -#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F -#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 -#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 -#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 -#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 -#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 -#define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 -#define GL_UNIFORM_TYPE 0x8A37 -#define GL_UNIFORM_SIZE 0x8A38 -#define GL_UNIFORM_NAME_LENGTH 0x8A39 -#define GL_UNIFORM_BLOCK_INDEX 0x8A3A -#define GL_UNIFORM_OFFSET 0x8A3B -#define GL_UNIFORM_ARRAY_STRIDE 0x8A3C -#define GL_UNIFORM_MATRIX_STRIDE 0x8A3D -#define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E -#define GL_UNIFORM_BLOCK_BINDING 0x8A3F -#define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 -#define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 -#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 -#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 -#define GL_INVALID_INDEX 0xFFFFFFFFu -#define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 -#define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 -#define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 -#define GL_OBJECT_TYPE 0x9112 -#define GL_SYNC_CONDITION 0x9113 -#define GL_SYNC_STATUS 0x9114 -#define GL_SYNC_FLAGS 0x9115 -#define GL_SYNC_FENCE 0x9116 -#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 -#define GL_UNSIGNALED 0x9118 -#define GL_SIGNALED 0x9119 -#define GL_ALREADY_SIGNALED 0x911A -#define GL_TIMEOUT_EXPIRED 0x911B -#define GL_CONDITION_SATISFIED 0x911C -#define GL_WAIT_FAILED 0x911D -#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 -#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull -#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE -#define GL_ANY_SAMPLES_PASSED 0x8C2F -#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A -#define GL_SAMPLER_BINDING 0x8919 -#define GL_RGB10_A2UI 0x906F -#define GL_TEXTURE_SWIZZLE_R 0x8E42 -#define GL_TEXTURE_SWIZZLE_G 0x8E43 -#define GL_TEXTURE_SWIZZLE_B 0x8E44 -#define GL_TEXTURE_SWIZZLE_A 0x8E45 -#define GL_GREEN 0x1904 -#define GL_BLUE 0x1905 -#define GL_INT_2_10_10_10_REV 0x8D9F -#define GL_TRANSFORM_FEEDBACK 0x8E22 -#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 -#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 -#define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 -#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 -#define GL_PROGRAM_BINARY_LENGTH 0x8741 -#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE -#define GL_PROGRAM_BINARY_FORMATS 0x87FF -#define GL_COMPRESSED_R11_EAC 0x9270 -#define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 -#define GL_COMPRESSED_RG11_EAC 0x9272 -#define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 -#define GL_COMPRESSED_RGB8_ETC2 0x9274 -#define GL_COMPRESSED_SRGB8_ETC2 0x9275 -#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 -#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 -#define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 -#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 -#define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F -#define GL_MAX_ELEMENT_INDEX 0x8D6B -#define GL_NUM_SAMPLE_COUNTS 0x9380 -#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF -typedef void (GL_APIENTRYP PFNGLREADBUFFERPROC) (GLenum src); -typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); -typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); -typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -typedef void (GL_APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); -typedef void (GL_APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); -typedef GLboolean (GL_APIENTRYP PFNGLISQUERYPROC) (GLuint id); -typedef void (GL_APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); -typedef void (GL_APIENTRYP PFNGLENDQUERYPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); -typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target); -typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params); -typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); -typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array); -typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays); -typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); -typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array); -typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data); -typedef void (GL_APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode); -typedef void (GL_APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); -typedef void (GL_APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (GL_APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); -typedef void (GL_APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); -typedef void (GL_APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v); -typedef void (GL_APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params); -typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (GL_APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0); -typedef void (GL_APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1); -typedef void (GL_APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (GL_APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (GL_APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); -typedef void (GL_APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index); -typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -typedef void (GL_APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); -typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); -typedef GLuint (GL_APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName); -typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); -typedef void (GL_APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); -typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); -typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); -typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags); -typedef GLboolean (GL_APIENTRYP PFNGLISSYNCPROC) (GLsync sync); -typedef void (GL_APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); -typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void (GL_APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void (GL_APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data); -typedef void (GL_APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -typedef void (GL_APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); -typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); -typedef void (GL_APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers); -typedef void (GL_APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers); -typedef GLboolean (GL_APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler); -typedef void (GL_APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler); -typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param); -typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param); -typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param); -typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param); -typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor); -typedef void (GL_APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id); -typedef void (GL_APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids); -typedef void (GL_APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids); -typedef GLboolean (GL_APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id); -typedef void (GL_APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void); -typedef void (GL_APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); -typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); -typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value); -typedef void (GL_APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); -typedef void (GL_APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glReadBuffer (GLenum src); -GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); -GL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -GL_APICALL void GL_APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -GL_APICALL void GL_APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); -GL_APICALL void GL_APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -GL_APICALL void GL_APIENTRY glGenQueries (GLsizei n, GLuint *ids); -GL_APICALL void GL_APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids); -GL_APICALL GLboolean GL_APIENTRY glIsQuery (GLuint id); -GL_APICALL void GL_APIENTRY glBeginQuery (GLenum target, GLuint id); -GL_APICALL void GL_APIENTRY glEndQuery (GLenum target); -GL_APICALL void GL_APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params); -GL_APICALL GLboolean GL_APIENTRY glUnmapBuffer (GLenum target); -GL_APICALL void GL_APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params); -GL_APICALL void GL_APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs); -GL_APICALL void GL_APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -GL_APICALL void *GL_APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -GL_APICALL void GL_APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); -GL_APICALL void GL_APIENTRY glBindVertexArray (GLuint array); -GL_APICALL void GL_APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays); -GL_APICALL void GL_APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays); -GL_APICALL GLboolean GL_APIENTRY glIsVertexArray (GLuint array); -GL_APICALL void GL_APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data); -GL_APICALL void GL_APIENTRY glBeginTransformFeedback (GLenum primitiveMode); -GL_APICALL void GL_APIENTRY glEndTransformFeedback (void); -GL_APICALL void GL_APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -GL_APICALL void GL_APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); -GL_APICALL void GL_APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); -GL_APICALL void GL_APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -GL_APICALL void GL_APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -GL_APICALL void GL_APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params); -GL_APICALL void GL_APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); -GL_APICALL void GL_APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -GL_APICALL void GL_APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v); -GL_APICALL void GL_APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v); -GL_APICALL void GL_APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params); -GL_APICALL GLint GL_APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name); -GL_APICALL void GL_APIENTRY glUniform1ui (GLint location, GLuint v0); -GL_APICALL void GL_APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); -GL_APICALL void GL_APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); -GL_APICALL void GL_APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -GL_APICALL void GL_APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value); -GL_APICALL void GL_APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value); -GL_APICALL void GL_APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value); -GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -GL_APICALL const GLubyte *GL_APIENTRY glGetStringi (GLenum name, GLuint index); -GL_APICALL void GL_APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -GL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); -GL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); -GL_APICALL GLuint GL_APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName); -GL_APICALL void GL_APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); -GL_APICALL void GL_APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); -GL_APICALL void GL_APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); -GL_APICALL void GL_APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); -GL_APICALL GLsync GL_APIENTRY glFenceSync (GLenum condition, GLbitfield flags); -GL_APICALL GLboolean GL_APIENTRY glIsSync (GLsync sync); -GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync); -GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); -GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); -GL_APICALL void GL_APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); -GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -GL_APICALL void GL_APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); -GL_APICALL void GL_APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); -GL_APICALL void GL_APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); -GL_APICALL void GL_APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers); -GL_APICALL GLboolean GL_APIENTRY glIsSampler (GLuint sampler); -GL_APICALL void GL_APIENTRY glBindSampler (GLuint unit, GLuint sampler); -GL_APICALL void GL_APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param); -GL_APICALL void GL_APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); -GL_APICALL void GL_APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param); -GL_APICALL void GL_APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params); -GL_APICALL void GL_APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor); -GL_APICALL void GL_APIENTRY glBindTransformFeedback (GLenum target, GLuint id); -GL_APICALL void GL_APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids); -GL_APICALL void GL_APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids); -GL_APICALL GLboolean GL_APIENTRY glIsTransformFeedback (GLuint id); -GL_APICALL void GL_APIENTRY glPauseTransformFeedback (void); -GL_APICALL void GL_APIENTRY glResumeTransformFeedback (void); -GL_APICALL void GL_APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); -GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); -GL_APICALL void GL_APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value); -GL_APICALL void GL_APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments); -GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); -#endif -#endif /* GL_ES_VERSION_3_0 */ - -#ifndef GL_ES_VERSION_3_1 -#define GL_ES_VERSION_3_1 1 -#define GL_COMPUTE_SHADER 0x91B9 -#define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB -#define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC -#define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD -#define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262 -#define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263 -#define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264 -#define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265 -#define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266 -#define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB -#define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE -#define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF -#define GL_COMPUTE_WORK_GROUP_SIZE 0x8267 -#define GL_DISPATCH_INDIRECT_BUFFER 0x90EE -#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF -#define GL_COMPUTE_SHADER_BIT 0x00000020 -#define GL_DRAW_INDIRECT_BUFFER 0x8F3F -#define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 -#define GL_MAX_UNIFORM_LOCATIONS 0x826E -#define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310 -#define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311 -#define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313 -#define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314 -#define GL_MAX_FRAMEBUFFER_WIDTH 0x9315 -#define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316 -#define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318 -#define GL_UNIFORM 0x92E1 -#define GL_UNIFORM_BLOCK 0x92E2 -#define GL_PROGRAM_INPUT 0x92E3 -#define GL_PROGRAM_OUTPUT 0x92E4 -#define GL_BUFFER_VARIABLE 0x92E5 -#define GL_SHADER_STORAGE_BLOCK 0x92E6 -#define GL_ATOMIC_COUNTER_BUFFER 0x92C0 -#define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4 -#define GL_ACTIVE_RESOURCES 0x92F5 -#define GL_MAX_NAME_LENGTH 0x92F6 -#define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7 -#define GL_NAME_LENGTH 0x92F9 -#define GL_TYPE 0x92FA -#define GL_ARRAY_SIZE 0x92FB -#define GL_OFFSET 0x92FC -#define GL_BLOCK_INDEX 0x92FD -#define GL_ARRAY_STRIDE 0x92FE -#define GL_MATRIX_STRIDE 0x92FF -#define GL_IS_ROW_MAJOR 0x9300 -#define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301 -#define GL_BUFFER_BINDING 0x9302 -#define GL_BUFFER_DATA_SIZE 0x9303 -#define GL_NUM_ACTIVE_VARIABLES 0x9304 -#define GL_ACTIVE_VARIABLES 0x9305 -#define GL_REFERENCED_BY_VERTEX_SHADER 0x9306 -#define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A -#define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B -#define GL_TOP_LEVEL_ARRAY_SIZE 0x930C -#define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D -#define GL_LOCATION 0x930E -#define GL_VERTEX_SHADER_BIT 0x00000001 -#define GL_FRAGMENT_SHADER_BIT 0x00000002 -#define GL_ALL_SHADER_BITS 0xFFFFFFFF -#define GL_PROGRAM_SEPARABLE 0x8258 -#define GL_ACTIVE_PROGRAM 0x8259 -#define GL_PROGRAM_PIPELINE_BINDING 0x825A -#define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1 -#define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2 -#define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3 -#define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC -#define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0 -#define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1 -#define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2 -#define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6 -#define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7 -#define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8 -#define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC -#define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9 -#define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB -#define GL_MAX_IMAGE_UNITS 0x8F38 -#define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA -#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE -#define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF -#define GL_IMAGE_BINDING_NAME 0x8F3A -#define GL_IMAGE_BINDING_LEVEL 0x8F3B -#define GL_IMAGE_BINDING_LAYERED 0x8F3C -#define GL_IMAGE_BINDING_LAYER 0x8F3D -#define GL_IMAGE_BINDING_ACCESS 0x8F3E -#define GL_IMAGE_BINDING_FORMAT 0x906E -#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001 -#define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002 -#define GL_UNIFORM_BARRIER_BIT 0x00000004 -#define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008 -#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020 -#define GL_COMMAND_BARRIER_BIT 0x00000040 -#define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080 -#define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100 -#define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200 -#define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400 -#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800 -#define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000 -#define GL_ALL_BARRIER_BITS 0xFFFFFFFF -#define GL_IMAGE_2D 0x904D -#define GL_IMAGE_3D 0x904E -#define GL_IMAGE_CUBE 0x9050 -#define GL_IMAGE_2D_ARRAY 0x9053 -#define GL_INT_IMAGE_2D 0x9058 -#define GL_INT_IMAGE_3D 0x9059 -#define GL_INT_IMAGE_CUBE 0x905B -#define GL_INT_IMAGE_2D_ARRAY 0x905E -#define GL_UNSIGNED_INT_IMAGE_2D 0x9063 -#define GL_UNSIGNED_INT_IMAGE_3D 0x9064 -#define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066 -#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069 -#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7 -#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8 -#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9 -#define GL_READ_ONLY 0x88B8 -#define GL_WRITE_ONLY 0x88B9 -#define GL_READ_WRITE 0x88BA -#define GL_SHADER_STORAGE_BUFFER 0x90D2 -#define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3 -#define GL_SHADER_STORAGE_BUFFER_START 0x90D4 -#define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5 -#define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6 -#define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA -#define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB -#define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC -#define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD -#define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE -#define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF -#define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000 -#define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39 -#define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA -#define GL_STENCIL_INDEX 0x1901 -#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E -#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F -#define GL_SAMPLE_POSITION 0x8E50 -#define GL_SAMPLE_MASK 0x8E51 -#define GL_SAMPLE_MASK_VALUE 0x8E52 -#define GL_TEXTURE_2D_MULTISAMPLE 0x9100 -#define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 -#define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E -#define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F -#define GL_MAX_INTEGER_SAMPLES 0x9110 -#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 -#define GL_TEXTURE_SAMPLES 0x9106 -#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 -#define GL_TEXTURE_WIDTH 0x1000 -#define GL_TEXTURE_HEIGHT 0x1001 -#define GL_TEXTURE_DEPTH 0x8071 -#define GL_TEXTURE_INTERNAL_FORMAT 0x1003 -#define GL_TEXTURE_RED_SIZE 0x805C -#define GL_TEXTURE_GREEN_SIZE 0x805D -#define GL_TEXTURE_BLUE_SIZE 0x805E -#define GL_TEXTURE_ALPHA_SIZE 0x805F -#define GL_TEXTURE_DEPTH_SIZE 0x884A -#define GL_TEXTURE_STENCIL_SIZE 0x88F1 -#define GL_TEXTURE_SHARED_SIZE 0x8C3F -#define GL_TEXTURE_RED_TYPE 0x8C10 -#define GL_TEXTURE_GREEN_TYPE 0x8C11 -#define GL_TEXTURE_BLUE_TYPE 0x8C12 -#define GL_TEXTURE_ALPHA_TYPE 0x8C13 -#define GL_TEXTURE_DEPTH_TYPE 0x8C16 -#define GL_TEXTURE_COMPRESSED 0x86A1 -#define GL_SAMPLER_2D_MULTISAMPLE 0x9108 -#define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 -#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A -#define GL_VERTEX_ATTRIB_BINDING 0x82D4 -#define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5 -#define GL_VERTEX_BINDING_DIVISOR 0x82D6 -#define GL_VERTEX_BINDING_OFFSET 0x82D7 -#define GL_VERTEX_BINDING_STRIDE 0x82D8 -#define GL_VERTEX_BINDING_BUFFER 0x8F4F -#define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9 -#define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA -#define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5 -typedef void (GL_APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); -typedef void (GL_APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect); -typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect); -typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); -typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params); -typedef GLuint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); -typedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name); -typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program); -typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program); -typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings); -typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline); -typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines); -typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines); -typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (GL_APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); -typedef void (GL_APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data); -typedef void (GL_APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers); -typedef void (GL_APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers); -typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -typedef void (GL_APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val); -typedef void (GL_APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask); -typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERIVPROC) (GLenum target, GLint level, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERFVPROC) (GLenum target, GLint level, GLenum pname, GLfloat *params); -typedef void (GL_APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex); -typedef void (GL_APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); -GL_APICALL void GL_APIENTRY glDispatchComputeIndirect (GLintptr indirect); -GL_APICALL void GL_APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect); -GL_APICALL void GL_APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect); -GL_APICALL void GL_APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param); -GL_APICALL void GL_APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params); -GL_APICALL GLuint GL_APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name); -GL_APICALL void GL_APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); -GL_APICALL void GL_APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); -GL_APICALL GLint GL_APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name); -GL_APICALL void GL_APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program); -GL_APICALL void GL_APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program); -GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings); -GL_APICALL void GL_APIENTRY glBindProgramPipeline (GLuint pipeline); -GL_APICALL void GL_APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines); -GL_APICALL void GL_APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines); -GL_APICALL GLboolean GL_APIENTRY glIsProgramPipeline (GLuint pipeline); -GL_APICALL void GL_APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0); -GL_APICALL void GL_APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1); -GL_APICALL void GL_APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -GL_APICALL void GL_APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -GL_APICALL void GL_APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0); -GL_APICALL void GL_APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1); -GL_APICALL void GL_APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -GL_APICALL void GL_APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -GL_APICALL void GL_APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0); -GL_APICALL void GL_APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1); -GL_APICALL void GL_APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -GL_APICALL void GL_APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -GL_APICALL void GL_APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glValidateProgramPipeline (GLuint pipeline); -GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GL_APICALL void GL_APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); -GL_APICALL void GL_APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data); -GL_APICALL void GL_APIENTRY glMemoryBarrier (GLbitfield barriers); -GL_APICALL void GL_APIENTRY glMemoryBarrierByRegion (GLbitfield barriers); -GL_APICALL void GL_APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -GL_APICALL void GL_APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val); -GL_APICALL void GL_APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask); -GL_APICALL void GL_APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params); -GL_APICALL void GL_APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -GL_APICALL void GL_APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -GL_APICALL void GL_APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -GL_APICALL void GL_APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex); -GL_APICALL void GL_APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor); -#endif -#endif /* GL_ES_VERSION_3_1 */ - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/khronos/repository/api/diag.txt b/khronos/repository/api/diag.txt deleted file mode 100644 index 4c6f72a..0000000 --- a/khronos/repository/api/diag.txt +++ /dev/null @@ -1,4071 +0,0 @@ -DIAG: ******************************************* -DIAG: Registry.apiGen file: EGL/eglext.h api: egl profile: None -DIAG: ******************************************* -DIAG: *** NOT tagging feature api = egl name = EGL_VERSION_1_4 number = 1.4 for emission (does not match emitversions pattern) -DIAG: *** NOT tagging feature api = egl name = EGL_VERSION_1_5 number = 1.5 for emission (does not match emitversions pattern) -DIAG: *** NOT tagging feature api = egl name = EGL_VERSION_1_3 number = 1.3 for emission (does not match emitversions pattern) -DIAG: *** NOT tagging feature api = egl name = EGL_VERSION_1_1 number = 1.1 for emission (does not match emitversions pattern) -DIAG: *** NOT tagging feature api = egl name = EGL_VERSION_1_2 number = 1.2 for emission (does not match emitversions pattern) -DIAG: *** NOT tagging feature api = egl name = EGL_VERSION_1_0 number = 1.0 for emission (does not match emitversions pattern) -DIAG: *** Including extension EGL_KHR_lock_surface (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NV_device_cuda (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_surfaceless_context (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_device_enumeration (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_MESA_drm_image (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_device_drm (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_stream_producer_eglsurface (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_platform_x11 (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_cl_event (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_TIZEN_image_native_buffer (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_device_base (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_MESA_image_dma_buf_export (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_image_dma_buf_import (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NV_system_time (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_output_base (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_device_openwf (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_reusable_sync (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_IMG_context_priority (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_stream_cross_process_fd (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_protected_surface (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_debug (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NV_coverage_sample_resolve (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_device_query (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_gl_texture_3D_image (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_stream_consumer_egloutput (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_ANGLE_surface_d3d_texture_2d_share_handle (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_platform_device (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_ANGLE_device_d3d (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_stream_producer_aldatalocator (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NV_cuda_event (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_swap_buffers_with_damage (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_fence_sync (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_cl_event2 (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_output_drm (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_create_context_robustness (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NV_coverage_sample (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_image_base (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_ANDROID_blob_cache (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_vg_parent_image (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_platform_x11 (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NV_stream_metadata (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_ANGLE_d3d_share_handle_client_buffer (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NV_native_query (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_stream_consumer_gltexture (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_gl_colorspace (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_partial_update (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_get_all_proc_addresses (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_create_context (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_TIZEN_image_native_surface (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_gl_renderbuffer_image (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_platform_wayland (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_platform_gbm (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_ARM_pixmap_multisample_discard (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_wait_sync (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_ANDROID_recordable (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_gl_texture_2D_image (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_ANDROID_native_fence_sync (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_output_openwf (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_HI_colorformats (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_platform_android (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_MESA_platform_gbm (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_multiview_window (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_platform_base (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_ANDROID_image_native_buffer (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_buffer_age (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_stream_fifo (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_client_extensions (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NV_post_sub_buffer (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_ANGLE_window_fixed_size (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NOK_swap_region2 (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NV_post_convert_rounding (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_gl_texture_cubemap_image (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NV_stream_sync (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NOK_texture_from_pixmap (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_yuv_surface (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_swap_buffers_with_damage (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NV_stream_consumer_gltexture_yuv (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_EXT_platform_wayland (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NV_depth_nonlinear (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NV_sync (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_HI_clientpixmap (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_stream (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NV_3dvision_surface (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_ANDROID_framebuffer_target (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_ANGLE_query_surface_pointer (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_image_pixmap (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_create_context_no_error (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_lock_surface3 (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_lock_surface2 (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_config_attribs (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_image (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_KHR_client_get_all_proc_addresses (defaultExtensions matches the 'supported' attribute) -DIAG: *** Including extension EGL_NOK_swap_region (defaultExtensions matches the 'supported' attribute) -DIAG: *** PASS 1: TAG FEATURES ******************************************** -DIAG: *** PASS 1: Tagging required and removed features for EGL_VERSION_1_0 -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_ALPHA_SIZE -> required = True -DIAG: *** tagging enum: EGL_BAD_ACCESS -> required = True -DIAG: *** tagging enum: EGL_BAD_ALLOC -> required = True -DIAG: *** tagging enum: EGL_BAD_ATTRIBUTE -> required = True -DIAG: *** tagging enum: EGL_BAD_CONFIG -> required = True -DIAG: *** tagging enum: EGL_BAD_CONTEXT -> required = True -DIAG: *** tagging enum: EGL_BAD_CURRENT_SURFACE -> required = True -DIAG: *** tagging enum: EGL_BAD_DISPLAY -> required = True -DIAG: *** tagging enum: EGL_BAD_MATCH -> required = True -DIAG: *** tagging enum: EGL_BAD_NATIVE_PIXMAP -> required = True -DIAG: *** tagging enum: EGL_BAD_NATIVE_WINDOW -> required = True -DIAG: *** tagging enum: EGL_BAD_PARAMETER -> required = True -DIAG: *** tagging enum: EGL_BAD_SURFACE -> required = True -DIAG: *** tagging enum: EGL_BLUE_SIZE -> required = True -DIAG: *** tagging enum: EGL_BUFFER_SIZE -> required = True -DIAG: *** tagging enum: EGL_CONFIG_CAVEAT -> required = True -DIAG: *** tagging enum: EGL_CONFIG_ID -> required = True -DIAG: *** tagging enum: EGL_CORE_NATIVE_ENGINE -> required = True -DIAG: *** tagging enum: EGL_DEPTH_SIZE -> required = True -DIAG: *** tagging enum: EGL_DONT_CARE -> required = True -DIAG: *** tagging enum: EGL_DRAW -> required = True -DIAG: *** tagging enum: EGL_EXTENSIONS -> required = True -DIAG: *** tagging enum: EGL_FALSE -> required = True -DIAG: *** tagging enum: EGL_GREEN_SIZE -> required = True -DIAG: *** tagging enum: EGL_HEIGHT -> required = True -DIAG: *** tagging enum: EGL_LARGEST_PBUFFER -> required = True -DIAG: *** tagging enum: EGL_LEVEL -> required = True -DIAG: *** tagging enum: EGL_MAX_PBUFFER_HEIGHT -> required = True -DIAG: *** tagging enum: EGL_MAX_PBUFFER_PIXELS -> required = True -DIAG: *** tagging enum: EGL_MAX_PBUFFER_WIDTH -> required = True -DIAG: *** tagging enum: EGL_NATIVE_RENDERABLE -> required = True -DIAG: *** tagging enum: EGL_NATIVE_VISUAL_ID -> required = True -DIAG: *** tagging enum: EGL_NATIVE_VISUAL_TYPE -> required = True -DIAG: *** tagging enum: EGL_NONE -> required = True -DIAG: *** tagging enum: EGL_NON_CONFORMANT_CONFIG -> required = True -DIAG: *** tagging enum: EGL_NOT_INITIALIZED -> required = True -DIAG: *** tagging enum: EGL_NO_CONTEXT -> required = True -DIAG: *** tagging enum: EGL_NO_DISPLAY -> required = True -DIAG: *** tagging enum: EGL_NO_SURFACE -> required = True -DIAG: *** tagging enum: EGL_PBUFFER_BIT -> required = True -DIAG: *** tagging enum: EGL_PIXMAP_BIT -> required = True -DIAG: *** tagging enum: EGL_READ -> required = True -DIAG: *** tagging enum: EGL_RED_SIZE -> required = True -DIAG: *** tagging enum: EGL_SAMPLES -> required = True -DIAG: *** tagging enum: EGL_SAMPLE_BUFFERS -> required = True -DIAG: *** tagging enum: EGL_SLOW_CONFIG -> required = True -DIAG: *** tagging enum: EGL_STENCIL_SIZE -> required = True -DIAG: *** tagging enum: EGL_SUCCESS -> required = True -DIAG: *** tagging enum: EGL_SURFACE_TYPE -> required = True -DIAG: *** tagging enum: EGL_TRANSPARENT_BLUE_VALUE -> required = True -DIAG: *** tagging enum: EGL_TRANSPARENT_GREEN_VALUE -> required = True -DIAG: *** tagging enum: EGL_TRANSPARENT_RED_VALUE -> required = True -DIAG: *** tagging enum: EGL_TRANSPARENT_RGB -> required = True -DIAG: *** tagging enum: EGL_TRANSPARENT_TYPE -> required = True -DIAG: *** tagging enum: EGL_TRUE -> required = True -DIAG: *** tagging enum: EGL_VENDOR -> required = True -DIAG: *** tagging enum: EGL_VERSION -> required = True -DIAG: *** tagging enum: EGL_WIDTH -> required = True -DIAG: *** tagging enum: EGL_WINDOW_BIT -> required = True -DIAG: *** tagging command: eglChooseConfig -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLConfig -DIAG: *** tagging type: EGLConfig -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglCopyBuffers -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLNativePixmapType -DIAG: *** tagging type: EGLNativePixmapType -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLNativePixmapType -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglCreateContext -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLContext -DIAG: *** tagging type: EGLContext -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLConfig -DIAG: *** tagging type: EGLConfig -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLContext -DIAG: *** tagging type: EGLContext -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglCreatePbufferSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLConfig -DIAG: *** tagging type: EGLConfig -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglCreatePixmapSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLConfig -DIAG: *** tagging type: EGLConfig -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLNativePixmapType -DIAG: *** tagging type: EGLNativePixmapType -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLNativePixmapType -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglCreateWindowSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLConfig -DIAG: *** tagging type: EGLConfig -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLNativeWindowType -DIAG: *** tagging type: EGLNativeWindowType -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLNativeWindowType -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglDestroyContext -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLContext -DIAG: *** tagging type: EGLContext -> required = True -DIAG: *** tagging command: eglDestroySurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** tagging command: eglGetConfigAttrib -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLConfig -DIAG: *** tagging type: EGLConfig -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglGetConfigs -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLConfig -DIAG: *** tagging type: EGLConfig -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglGetCurrentDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** tagging command: eglGetCurrentSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglGetDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLNativeDisplayType -DIAG: *** tagging type: EGLNativeDisplayType -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLNativeDisplayType -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglGetError -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglGetProcAddress -> required = True -DIAG: *** markRequired: command implicitly requires dependent type __eglMustCastToProperFunctionPointerType -DIAG: *** tagging type: __eglMustCastToProperFunctionPointerType -> required = True -DIAG: *** tagging command: eglInitialize -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglMakeCurrent -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLContext -DIAG: *** tagging type: EGLContext -> required = True -DIAG: *** tagging command: eglQueryContext -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLContext -DIAG: *** tagging type: EGLContext -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryString -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQuerySurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglSwapBuffers -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** tagging command: eglTerminate -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** tagging command: eglWaitGL -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** tagging command: eglWaitNative -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_VERSION_1_1 -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_BACK_BUFFER -> required = True -DIAG: *** tagging enum: EGL_BIND_TO_TEXTURE_RGB -> required = True -DIAG: *** tagging enum: EGL_BIND_TO_TEXTURE_RGBA -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_LOST -> required = True -DIAG: *** tagging enum: EGL_MIN_SWAP_INTERVAL -> required = True -DIAG: *** tagging enum: EGL_MAX_SWAP_INTERVAL -> required = True -DIAG: *** tagging enum: EGL_MIPMAP_TEXTURE -> required = True -DIAG: *** tagging enum: EGL_MIPMAP_LEVEL -> required = True -DIAG: *** tagging enum: EGL_NO_TEXTURE -> required = True -DIAG: *** tagging enum: EGL_TEXTURE_2D -> required = True -DIAG: *** tagging enum: EGL_TEXTURE_FORMAT -> required = True -DIAG: *** tagging enum: EGL_TEXTURE_RGB -> required = True -DIAG: *** tagging enum: EGL_TEXTURE_RGBA -> required = True -DIAG: *** tagging enum: EGL_TEXTURE_TARGET -> required = True -DIAG: *** tagging command: eglBindTexImage -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglReleaseTexImage -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglSurfaceAttrib -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglSwapInterval -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_VERSION_1_2 -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_ALPHA_FORMAT -> required = True -DIAG: *** tagging enum: EGL_ALPHA_FORMAT_NONPRE -> required = True -DIAG: *** tagging enum: EGL_ALPHA_FORMAT_PRE -> required = True -DIAG: *** tagging enum: EGL_ALPHA_MASK_SIZE -> required = True -DIAG: *** tagging enum: EGL_BUFFER_PRESERVED -> required = True -DIAG: *** tagging enum: EGL_BUFFER_DESTROYED -> required = True -DIAG: *** tagging enum: EGL_CLIENT_APIS -> required = True -DIAG: *** tagging enum: EGL_COLORSPACE -> required = True -DIAG: *** tagging enum: EGL_COLORSPACE_sRGB -> required = True -DIAG: *** tagging enum: EGL_COLORSPACE_LINEAR -> required = True -DIAG: *** tagging enum: EGL_COLOR_BUFFER_TYPE -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_CLIENT_TYPE -> required = True -DIAG: *** tagging enum: EGL_DISPLAY_SCALING -> required = True -DIAG: *** tagging enum: EGL_HORIZONTAL_RESOLUTION -> required = True -DIAG: *** tagging enum: EGL_LUMINANCE_BUFFER -> required = True -DIAG: *** tagging enum: EGL_LUMINANCE_SIZE -> required = True -DIAG: *** tagging enum: EGL_OPENGL_ES_BIT -> required = True -DIAG: *** tagging enum: EGL_OPENVG_BIT -> required = True -DIAG: *** tagging enum: EGL_OPENGL_ES_API -> required = True -DIAG: *** tagging enum: EGL_OPENVG_API -> required = True -DIAG: *** tagging enum: EGL_OPENVG_IMAGE -> required = True -DIAG: *** tagging enum: EGL_PIXEL_ASPECT_RATIO -> required = True -DIAG: *** tagging enum: EGL_RENDERABLE_TYPE -> required = True -DIAG: *** tagging enum: EGL_RENDER_BUFFER -> required = True -DIAG: *** tagging enum: EGL_RGB_BUFFER -> required = True -DIAG: *** tagging enum: EGL_SINGLE_BUFFER -> required = True -DIAG: *** tagging enum: EGL_SWAP_BEHAVIOR -> required = True -DIAG: *** tagging enum: EGL_UNKNOWN -> required = True -DIAG: *** tagging enum: EGL_VERTICAL_RESOLUTION -> required = True -DIAG: *** tagging command: eglBindAPI -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** tagging command: eglQueryAPI -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** tagging command: eglCreatePbufferFromClientBuffer -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLClientBuffer -DIAG: *** tagging type: EGLClientBuffer -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLConfig -DIAG: *** tagging type: EGLConfig -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglReleaseThread -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** tagging command: eglWaitClient -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_VERSION_1_3 -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_CONFORMANT -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_CLIENT_VERSION -> required = True -DIAG: *** tagging enum: EGL_MATCH_NATIVE_PIXMAP -> required = True -DIAG: *** tagging enum: EGL_OPENGL_ES2_BIT -> required = True -DIAG: *** tagging enum: EGL_VG_ALPHA_FORMAT -> required = True -DIAG: *** tagging enum: EGL_VG_ALPHA_FORMAT_NONPRE -> required = True -DIAG: *** tagging enum: EGL_VG_ALPHA_FORMAT_PRE -> required = True -DIAG: *** tagging enum: EGL_VG_ALPHA_FORMAT_PRE_BIT -> required = True -DIAG: *** tagging enum: EGL_VG_COLORSPACE -> required = True -DIAG: *** tagging enum: EGL_VG_COLORSPACE_sRGB -> required = True -DIAG: *** tagging enum: EGL_VG_COLORSPACE_LINEAR -> required = True -DIAG: *** tagging enum: EGL_VG_COLORSPACE_LINEAR_BIT -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_VERSION_1_4 -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_DEFAULT_DISPLAY -> required = True -DIAG: *** tagging enum: EGL_MULTISAMPLE_RESOLVE_BOX_BIT -> required = True -DIAG: *** tagging enum: EGL_MULTISAMPLE_RESOLVE -> required = True -DIAG: *** tagging enum: EGL_MULTISAMPLE_RESOLVE_DEFAULT -> required = True -DIAG: *** tagging enum: EGL_MULTISAMPLE_RESOLVE_BOX -> required = True -DIAG: *** tagging enum: EGL_OPENGL_API -> required = True -DIAG: *** tagging enum: EGL_OPENGL_BIT -> required = True -DIAG: *** tagging enum: EGL_SWAP_BEHAVIOR_PRESERVED_BIT -> required = True -DIAG: *** tagging command: eglGetCurrentContext -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLContext -DIAG: *** tagging type: EGLContext -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_VERSION_1_5 -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_CONTEXT_MAJOR_VERSION -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_MINOR_VERSION -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_PROFILE_MASK -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY -> required = True -DIAG: *** tagging enum: EGL_NO_RESET_NOTIFICATION -> required = True -DIAG: *** tagging enum: EGL_LOSE_CONTEXT_ON_RESET -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_DEBUG -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_ROBUST_ACCESS -> required = True -DIAG: *** tagging enum: EGL_OPENGL_ES3_BIT -> required = True -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_ROBUST_ACCESS -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY -> required = True -DIAG: *** markRequired (features = , required = True ) -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_CL_EVENT_HANDLE -> required = True -DIAG: *** tagging enum: EGL_SYNC_CL_EVENT -> required = True -DIAG: *** tagging enum: EGL_SYNC_CL_EVENT_COMPLETE -> required = True -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_SYNC_PRIOR_COMMANDS_COMPLETE -> required = True -DIAG: *** tagging enum: EGL_SYNC_TYPE -> required = True -DIAG: *** tagging enum: EGL_SYNC_STATUS -> required = True -DIAG: *** tagging enum: EGL_SYNC_CONDITION -> required = True -DIAG: *** tagging enum: EGL_SIGNALED -> required = True -DIAG: *** tagging enum: EGL_UNSIGNALED -> required = True -DIAG: *** tagging enum: EGL_SYNC_FLUSH_COMMANDS_BIT -> required = True -DIAG: *** tagging enum: EGL_FOREVER -> required = True -DIAG: *** tagging enum: EGL_TIMEOUT_EXPIRED -> required = True -DIAG: *** tagging enum: EGL_CONDITION_SATISFIED -> required = True -DIAG: *** tagging enum: EGL_NO_SYNC -> required = True -DIAG: *** tagging enum: EGL_SYNC_FENCE -> required = True -DIAG: *** tagging command: eglCreateSync -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSync -DIAG: *** tagging type: EGLSync -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglDestroySync -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSync -DIAG: *** tagging type: EGLSync -> required = True -DIAG: *** tagging command: eglClientWaitSync -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSync -DIAG: *** tagging type: EGLSync -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLTime -DIAG: *** tagging type: EGLTime -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLTime -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglGetSyncAttrib -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSync -DIAG: *** tagging type: EGLSync -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired (features = , required = True ) -DIAG: *** markRequired (features = , required = True ) -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_GL_COLORSPACE -> required = True -DIAG: *** tagging enum: EGL_GL_COLORSPACE_SRGB -> required = True -DIAG: *** tagging enum: EGL_GL_COLORSPACE_LINEAR -> required = True -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_GL_RENDERBUFFER -> required = True -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_GL_TEXTURE_2D -> required = True -DIAG: *** tagging enum: EGL_GL_TEXTURE_LEVEL -> required = True -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_GL_TEXTURE_3D -> required = True -DIAG: *** tagging enum: EGL_GL_TEXTURE_ZOFFSET -> required = True -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X -> required = True -DIAG: *** tagging enum: EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X -> required = True -DIAG: *** tagging enum: EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y -> required = True -DIAG: *** tagging enum: EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y -> required = True -DIAG: *** tagging enum: EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z -> required = True -DIAG: *** tagging enum: EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z -> required = True -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_IMAGE_PRESERVED -> required = True -DIAG: *** tagging enum: EGL_NO_IMAGE -> required = True -DIAG: *** tagging command: eglCreateImage -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLImage -DIAG: *** tagging type: EGLImage -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLContext -DIAG: *** tagging type: EGLContext -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLClientBuffer -DIAG: *** tagging type: EGLClientBuffer -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglDestroyImage -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLImage -DIAG: *** tagging type: EGLImage -> required = True -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging command: eglGetPlatformDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglCreatePlatformWindowSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLConfig -DIAG: *** tagging type: EGLConfig -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglCreatePlatformPixmapSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLConfig -DIAG: *** tagging type: EGLConfig -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired (features = , required = True ) -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging command: eglWaitSync -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSync -DIAG: *** tagging type: EGLSync -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_cl_event -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_CL_EVENT_HANDLE_KHR -> required = True -DIAG: *** tagging enum: EGL_SYNC_CL_EVENT_KHR -> required = True -DIAG: *** tagging enum: EGL_SYNC_CL_EVENT_COMPLETE_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_cl_event2 -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_CL_EVENT_HANDLE_KHR -> required = True -DIAG: *** tagging enum: EGL_SYNC_CL_EVENT_KHR -> required = True -DIAG: *** tagging enum: EGL_SYNC_CL_EVENT_COMPLETE_KHR -> required = True -DIAG: *** tagging command: eglCreateSync64KHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncKHR -DIAG: *** tagging type: EGLSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttribKHR -DIAG: *** tagging type: EGLAttribKHR -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttribKHR -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_client_get_all_proc_addresses -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_config_attribs -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_CONFORMANT_KHR -> required = True -DIAG: *** tagging enum: EGL_VG_COLORSPACE_LINEAR_BIT_KHR -> required = True -DIAG: *** tagging enum: EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_create_context -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_CONTEXT_MAJOR_VERSION_KHR -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_MINOR_VERSION_KHR -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_FLAGS_KHR -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR -> required = True -DIAG: *** tagging enum: EGL_NO_RESET_NOTIFICATION_KHR -> required = True -DIAG: *** tagging enum: EGL_LOSE_CONTEXT_ON_RESET_KHR -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR -> required = True -DIAG: *** tagging enum: EGL_OPENGL_ES3_BIT -> required = True -DIAG: *** tagging enum: EGL_OPENGL_ES3_BIT_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_create_context_no_error -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_NO_ERROR_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_debug -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging type: EGLLabelKHR -> required = True -DIAG: *** tagging type: EGLObjectKHR -> required = True -DIAG: *** tagging enum: EGL_OBJECT_THREAD_KHR -> required = True -DIAG: *** tagging enum: EGL_OBJECT_DISPLAY_KHR -> required = True -DIAG: *** tagging enum: EGL_OBJECT_CONTEXT_KHR -> required = True -DIAG: *** tagging enum: EGL_OBJECT_SURFACE_KHR -> required = True -DIAG: *** tagging enum: EGL_OBJECT_IMAGE_KHR -> required = True -DIAG: *** tagging enum: EGL_OBJECT_SYNC_KHR -> required = True -DIAG: *** tagging enum: EGL_OBJECT_STREAM_KHR -> required = True -DIAG: *** tagging enum: EGL_DEBUG_MSG_CRITICAL_KHR -> required = True -DIAG: *** tagging enum: EGL_DEBUG_MSG_ERROR_KHR -> required = True -DIAG: *** tagging enum: EGL_DEBUG_MSG_WARN_KHR -> required = True -DIAG: *** tagging enum: EGL_DEBUG_MSG_INFO_KHR -> required = True -DIAG: *** tagging enum: EGL_DEBUG_CALLBACK_KHR -> required = True -DIAG: *** tagging command: eglDebugMessageControlKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDEBUGPROCKHR -DIAG: *** tagging type: EGLDEBUGPROCKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryDebugKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglLabelObjectKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLObjectKHR -DIAG: *** tagging type: EGLObjectKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLLabelKHR -DIAG: *** tagging type: EGLLabelKHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_fence_sync -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR -> required = True -DIAG: *** tagging enum: EGL_SYNC_CONDITION_KHR -> required = True -DIAG: *** tagging enum: EGL_SYNC_FENCE_KHR -> required = True -DIAG: *** tagging command: eglCreateSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncKHR -DIAG: *** tagging type: EGLSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglDestroySyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncKHR -DIAG: *** tagging type: EGLSyncKHR -> required = True -DIAG: *** tagging command: eglClientWaitSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncKHR -DIAG: *** tagging type: EGLSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLTimeKHR -DIAG: *** tagging type: EGLTimeKHR -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLTimeKHR -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglGetSyncAttribKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncKHR -DIAG: *** tagging type: EGLSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_get_all_proc_addresses -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_gl_colorspace -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_GL_COLORSPACE_KHR -> required = True -DIAG: *** tagging enum: EGL_GL_COLORSPACE_SRGB_KHR -> required = True -DIAG: *** tagging enum: EGL_GL_COLORSPACE_LINEAR_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_gl_renderbuffer_image -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_GL_RENDERBUFFER_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_gl_texture_2D_image -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_GL_TEXTURE_2D_KHR -> required = True -DIAG: *** tagging enum: EGL_GL_TEXTURE_LEVEL_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_gl_texture_3D_image -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_GL_TEXTURE_3D_KHR -> required = True -DIAG: *** tagging enum: EGL_GL_TEXTURE_ZOFFSET_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_gl_texture_cubemap_image -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR -> required = True -DIAG: *** tagging enum: EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR -> required = True -DIAG: *** tagging enum: EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR -> required = True -DIAG: *** tagging enum: EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR -> required = True -DIAG: *** tagging enum: EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR -> required = True -DIAG: *** tagging enum: EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_image -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_NATIVE_PIXMAP_KHR -> required = True -DIAG: *** tagging enum: EGL_NO_IMAGE_KHR -> required = True -DIAG: *** tagging command: eglCreateImageKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLImageKHR -DIAG: *** tagging type: EGLImageKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLContext -DIAG: *** tagging type: EGLContext -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLClientBuffer -DIAG: *** tagging type: EGLClientBuffer -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglDestroyImageKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLImageKHR -DIAG: *** tagging type: EGLImageKHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_image_base -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_IMAGE_PRESERVED_KHR -> required = True -DIAG: *** tagging enum: EGL_NO_IMAGE_KHR -> required = True -DIAG: *** tagging command: eglCreateImageKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLImageKHR -DIAG: *** tagging type: EGLImageKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLContext -DIAG: *** tagging type: EGLContext -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLClientBuffer -DIAG: *** tagging type: EGLClientBuffer -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglDestroyImageKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLImageKHR -DIAG: *** tagging type: EGLImageKHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_image_pixmap -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_NATIVE_PIXMAP_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_lock_surface -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_READ_SURFACE_BIT_KHR -> required = True -DIAG: *** tagging enum: EGL_WRITE_SURFACE_BIT_KHR -> required = True -DIAG: *** tagging enum: EGL_LOCK_SURFACE_BIT_KHR -> required = True -DIAG: *** tagging enum: EGL_OPTIMAL_FORMAT_BIT_KHR -> required = True -DIAG: *** tagging enum: EGL_MATCH_FORMAT_KHR -> required = True -DIAG: *** tagging enum: EGL_FORMAT_RGB_565_EXACT_KHR -> required = True -DIAG: *** tagging enum: EGL_FORMAT_RGB_565_KHR -> required = True -DIAG: *** tagging enum: EGL_FORMAT_RGBA_8888_EXACT_KHR -> required = True -DIAG: *** tagging enum: EGL_FORMAT_RGBA_8888_KHR -> required = True -DIAG: *** tagging enum: EGL_MAP_PRESERVE_PIXELS_KHR -> required = True -DIAG: *** tagging enum: EGL_LOCK_USAGE_HINT_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_POINTER_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_PITCH_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_ORIGIN_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_PIXEL_RED_OFFSET_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR -> required = True -DIAG: *** tagging enum: EGL_LOWER_LEFT_KHR -> required = True -DIAG: *** tagging enum: EGL_UPPER_LEFT_KHR -> required = True -DIAG: *** tagging command: eglLockSurfaceKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglUnlockSurfaceKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_lock_surface2 -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_BITMAP_PIXEL_SIZE_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_lock_surface3 -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_READ_SURFACE_BIT_KHR -> required = True -DIAG: *** tagging enum: EGL_WRITE_SURFACE_BIT_KHR -> required = True -DIAG: *** tagging enum: EGL_LOCK_SURFACE_BIT_KHR -> required = True -DIAG: *** tagging enum: EGL_OPTIMAL_FORMAT_BIT_KHR -> required = True -DIAG: *** tagging enum: EGL_MATCH_FORMAT_KHR -> required = True -DIAG: *** tagging enum: EGL_FORMAT_RGB_565_EXACT_KHR -> required = True -DIAG: *** tagging enum: EGL_FORMAT_RGB_565_KHR -> required = True -DIAG: *** tagging enum: EGL_FORMAT_RGBA_8888_EXACT_KHR -> required = True -DIAG: *** tagging enum: EGL_FORMAT_RGBA_8888_KHR -> required = True -DIAG: *** tagging enum: EGL_MAP_PRESERVE_PIXELS_KHR -> required = True -DIAG: *** tagging enum: EGL_LOCK_USAGE_HINT_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_PITCH_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_ORIGIN_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_PIXEL_RED_OFFSET_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_PIXEL_SIZE_KHR -> required = True -DIAG: *** tagging enum: EGL_BITMAP_POINTER_KHR -> required = True -DIAG: *** tagging enum: EGL_LOWER_LEFT_KHR -> required = True -DIAG: *** tagging enum: EGL_UPPER_LEFT_KHR -> required = True -DIAG: *** tagging command: eglLockSurfaceKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglUnlockSurfaceKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** tagging command: eglQuerySurface64KHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttribKHR -DIAG: *** tagging type: EGLAttribKHR -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttribKHR -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_partial_update -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_BUFFER_AGE_KHR -> required = True -DIAG: *** tagging command: eglSetDamageRegionKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_platform_android -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_PLATFORM_ANDROID_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_platform_gbm -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_PLATFORM_GBM_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_platform_wayland -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_PLATFORM_WAYLAND_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_platform_x11 -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_PLATFORM_X11_KHR -> required = True -DIAG: *** tagging enum: EGL_PLATFORM_X11_SCREEN_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_reusable_sync -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_SYNC_STATUS_KHR -> required = True -DIAG: *** tagging enum: EGL_SIGNALED_KHR -> required = True -DIAG: *** tagging enum: EGL_UNSIGNALED_KHR -> required = True -DIAG: *** tagging enum: EGL_TIMEOUT_EXPIRED_KHR -> required = True -DIAG: *** tagging enum: EGL_CONDITION_SATISFIED_KHR -> required = True -DIAG: *** tagging enum: EGL_SYNC_TYPE_KHR -> required = True -DIAG: *** tagging enum: EGL_SYNC_REUSABLE_KHR -> required = True -DIAG: *** tagging enum: EGL_SYNC_FLUSH_COMMANDS_BIT_KHR -> required = True -DIAG: *** tagging enum: EGL_FOREVER_KHR -> required = True -DIAG: *** tagging enum: EGL_NO_SYNC_KHR -> required = True -DIAG: *** tagging command: eglCreateSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncKHR -DIAG: *** tagging type: EGLSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglDestroySyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncKHR -DIAG: *** tagging type: EGLSyncKHR -> required = True -DIAG: *** tagging command: eglClientWaitSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncKHR -DIAG: *** tagging type: EGLSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLTimeKHR -DIAG: *** tagging type: EGLTimeKHR -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLTimeKHR -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglSignalSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncKHR -DIAG: *** tagging type: EGLSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** tagging command: eglGetSyncAttribKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncKHR -DIAG: *** tagging type: EGLSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_stream -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_NO_STREAM_KHR -> required = True -DIAG: *** tagging enum: EGL_CONSUMER_LATENCY_USEC_KHR -> required = True -DIAG: *** tagging enum: EGL_PRODUCER_FRAME_KHR -> required = True -DIAG: *** tagging enum: EGL_CONSUMER_FRAME_KHR -> required = True -DIAG: *** tagging enum: EGL_STREAM_STATE_KHR -> required = True -DIAG: *** tagging enum: EGL_STREAM_STATE_CREATED_KHR -> required = True -DIAG: *** tagging enum: EGL_STREAM_STATE_CONNECTING_KHR -> required = True -DIAG: *** tagging enum: EGL_STREAM_STATE_EMPTY_KHR -> required = True -DIAG: *** tagging enum: EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR -> required = True -DIAG: *** tagging enum: EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR -> required = True -DIAG: *** tagging enum: EGL_STREAM_STATE_DISCONNECTED_KHR -> required = True -DIAG: *** tagging enum: EGL_BAD_STREAM_KHR -> required = True -DIAG: *** tagging enum: EGL_BAD_STATE_KHR -> required = True -DIAG: *** tagging command: eglCreateStreamKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglDestroyStreamKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** tagging command: eglStreamAttribKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryStreamKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryStreamu64KHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLuint64KHR -DIAG: *** tagging type: EGLuint64KHR -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLuint64KHR -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_stream_consumer_gltexture -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR -> required = True -DIAG: *** tagging command: eglStreamConsumerGLTextureExternalKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** tagging command: eglStreamConsumerAcquireKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** tagging command: eglStreamConsumerReleaseKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_stream_cross_process_fd -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_NO_FILE_DESCRIPTOR_KHR -> required = True -DIAG: *** tagging command: eglGetStreamFileDescriptorKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLNativeFileDescriptorKHR -DIAG: *** tagging type: EGLNativeFileDescriptorKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** tagging command: eglCreateStreamFromFileDescriptorKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLNativeFileDescriptorKHR -DIAG: *** tagging type: EGLNativeFileDescriptorKHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_stream_fifo -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_STREAM_FIFO_LENGTH_KHR -> required = True -DIAG: *** tagging enum: EGL_STREAM_TIME_NOW_KHR -> required = True -DIAG: *** tagging enum: EGL_STREAM_TIME_CONSUMER_KHR -> required = True -DIAG: *** tagging enum: EGL_STREAM_TIME_PRODUCER_KHR -> required = True -DIAG: *** tagging command: eglQueryStreamTimeKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLTimeKHR -DIAG: *** tagging type: EGLTimeKHR -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLTimeKHR -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_stream_producer_aldatalocator -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_stream_producer_eglsurface -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_STREAM_BIT_KHR -> required = True -DIAG: *** tagging command: eglCreateStreamProducerSurfaceKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLConfig -DIAG: *** tagging type: EGLConfig -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_surfaceless_context -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_swap_buffers_with_damage -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging command: eglSwapBuffersWithDamageKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_vg_parent_image -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_VG_PARENT_IMAGE_KHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_KHR_wait_sync -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging command: eglWaitSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncKHR -DIAG: *** tagging type: EGLSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_ANDROID_blob_cache -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging command: eglSetBlobCacheFuncsANDROID -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSetBlobFuncANDROID -DIAG: *** tagging type: EGLSetBlobFuncANDROID -> required = True -DIAG: *** Generating dependent type EGLsizeiANDROID for type EGLSetBlobFuncANDROID -DIAG: *** tagging type: EGLsizeiANDROID -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLsizeiANDROID -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLGetBlobFuncANDROID -DIAG: *** tagging type: EGLGetBlobFuncANDROID -> required = True -DIAG: *** Generating dependent type EGLsizeiANDROID for type EGLGetBlobFuncANDROID -DIAG: *** tagging type: EGLsizeiANDROID -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLsizeiANDROID -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_ANDROID_framebuffer_target -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_FRAMEBUFFER_TARGET_ANDROID -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_ANDROID_image_native_buffer -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_NATIVE_BUFFER_ANDROID -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_ANDROID_native_fence_sync -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_SYNC_NATIVE_FENCE_ANDROID -> required = True -DIAG: *** tagging enum: EGL_SYNC_NATIVE_FENCE_FD_ANDROID -> required = True -DIAG: *** tagging enum: EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID -> required = True -DIAG: *** tagging enum: EGL_NO_NATIVE_FENCE_FD_ANDROID -> required = True -DIAG: *** tagging command: eglDupNativeFenceFDANDROID -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncKHR -DIAG: *** tagging type: EGLSyncKHR -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_ANDROID_recordable -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_RECORDABLE_ANDROID -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_ANGLE_d3d_share_handle_client_buffer -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_ANGLE_device_d3d -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_D3D9_DEVICE_ANGLE -> required = True -DIAG: *** tagging enum: EGL_D3D11_DEVICE_ANGLE -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_ANGLE_query_surface_pointer -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging command: eglQuerySurfacePointerANGLE -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_ANGLE_surface_d3d_texture_2d_share_handle -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_ANGLE_window_fixed_size -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_FIXED_SIZE_ANGLE -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_ARM_pixmap_multisample_discard -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_DISCARD_SAMPLES_ARM -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_buffer_age -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_BUFFER_AGE_EXT -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_client_extensions -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_create_context_robustness -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT -> required = True -DIAG: *** tagging enum: EGL_NO_RESET_NOTIFICATION_EXT -> required = True -DIAG: *** tagging enum: EGL_LOSE_CONTEXT_ON_RESET_EXT -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_device_base -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_NO_DEVICE_EXT -> required = True -DIAG: *** tagging enum: EGL_BAD_DEVICE_EXT -> required = True -DIAG: *** tagging enum: EGL_DEVICE_EXT -> required = True -DIAG: *** tagging command: eglQueryDeviceAttribEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDeviceEXT -DIAG: *** tagging type: EGLDeviceEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryDeviceStringEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDeviceEXT -DIAG: *** tagging type: EGLDeviceEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryDevicesEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDeviceEXT -DIAG: *** tagging type: EGLDeviceEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryDisplayAttribEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_device_drm -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_DRM_DEVICE_FILE_EXT -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_device_enumeration -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging command: eglQueryDevicesEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDeviceEXT -DIAG: *** tagging type: EGLDeviceEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_device_openwf -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_OPENWF_DEVICE_ID_EXT -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_device_query -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_NO_DEVICE_EXT -> required = True -DIAG: *** tagging enum: EGL_BAD_DEVICE_EXT -> required = True -DIAG: *** tagging enum: EGL_DEVICE_EXT -> required = True -DIAG: *** tagging command: eglQueryDeviceAttribEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDeviceEXT -DIAG: *** tagging type: EGLDeviceEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryDeviceStringEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDeviceEXT -DIAG: *** tagging type: EGLDeviceEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryDisplayAttribEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_image_dma_buf_import -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_LINUX_DMA_BUF_EXT -> required = True -DIAG: *** tagging enum: EGL_LINUX_DRM_FOURCC_EXT -> required = True -DIAG: *** tagging enum: EGL_DMA_BUF_PLANE0_FD_EXT -> required = True -DIAG: *** tagging enum: EGL_DMA_BUF_PLANE0_OFFSET_EXT -> required = True -DIAG: *** tagging enum: EGL_DMA_BUF_PLANE0_PITCH_EXT -> required = True -DIAG: *** tagging enum: EGL_DMA_BUF_PLANE1_FD_EXT -> required = True -DIAG: *** tagging enum: EGL_DMA_BUF_PLANE1_OFFSET_EXT -> required = True -DIAG: *** tagging enum: EGL_DMA_BUF_PLANE1_PITCH_EXT -> required = True -DIAG: *** tagging enum: EGL_DMA_BUF_PLANE2_FD_EXT -> required = True -DIAG: *** tagging enum: EGL_DMA_BUF_PLANE2_OFFSET_EXT -> required = True -DIAG: *** tagging enum: EGL_DMA_BUF_PLANE2_PITCH_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_COLOR_SPACE_HINT_EXT -> required = True -DIAG: *** tagging enum: EGL_SAMPLE_RANGE_HINT_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT -> required = True -DIAG: *** tagging enum: EGL_ITU_REC601_EXT -> required = True -DIAG: *** tagging enum: EGL_ITU_REC709_EXT -> required = True -DIAG: *** tagging enum: EGL_ITU_REC2020_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_FULL_RANGE_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_NARROW_RANGE_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_CHROMA_SITING_0_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_CHROMA_SITING_0_5_EXT -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_multiview_window -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_MULTIVIEW_VIEW_COUNT_EXT -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_output_base -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging type: EGLOutputLayerEXT -> required = True -DIAG: *** tagging type: EGLOutputPortEXT -> required = True -DIAG: *** tagging enum: EGL_NO_OUTPUT_LAYER_EXT -> required = True -DIAG: *** tagging enum: EGL_NO_OUTPUT_PORT_EXT -> required = True -DIAG: *** tagging enum: EGL_BAD_OUTPUT_LAYER_EXT -> required = True -DIAG: *** tagging enum: EGL_BAD_OUTPUT_PORT_EXT -> required = True -DIAG: *** tagging enum: EGL_SWAP_INTERVAL_EXT -> required = True -DIAG: *** tagging command: eglGetOutputLayersEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLOutputLayerEXT -DIAG: *** tagging type: EGLOutputLayerEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglGetOutputPortsEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLOutputPortEXT -DIAG: *** tagging type: EGLOutputPortEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglOutputLayerAttribEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLOutputLayerEXT -DIAG: *** tagging type: EGLOutputLayerEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryOutputLayerAttribEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLOutputLayerEXT -DIAG: *** tagging type: EGLOutputLayerEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryOutputLayerStringEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLOutputLayerEXT -DIAG: *** tagging type: EGLOutputLayerEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglOutputPortAttribEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLOutputPortEXT -DIAG: *** tagging type: EGLOutputPortEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryOutputPortAttribEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLOutputPortEXT -DIAG: *** tagging type: EGLOutputPortEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryOutputPortStringEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLOutputPortEXT -DIAG: *** tagging type: EGLOutputPortEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_output_drm -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_DRM_CRTC_EXT -> required = True -DIAG: *** tagging enum: EGL_DRM_PLANE_EXT -> required = True -DIAG: *** tagging enum: EGL_DRM_CONNECTOR_EXT -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_output_openwf -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_OPENWF_PIPELINE_ID_EXT -> required = True -DIAG: *** tagging enum: EGL_OPENWF_PORT_ID_EXT -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_platform_base -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging command: eglGetPlatformDisplayEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglCreatePlatformWindowSurfaceEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLConfig -DIAG: *** tagging type: EGLConfig -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglCreatePlatformPixmapSurfaceEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLConfig -DIAG: *** tagging type: EGLConfig -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_platform_device -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_PLATFORM_DEVICE_EXT -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_platform_wayland -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_PLATFORM_WAYLAND_EXT -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_platform_x11 -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_PLATFORM_X11_EXT -> required = True -DIAG: *** tagging enum: EGL_PLATFORM_X11_SCREEN_EXT -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_protected_surface -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_PROTECTED_CONTENT_EXT -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_stream_consumer_egloutput -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging command: eglStreamConsumerOutputEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLOutputLayerEXT -DIAG: *** tagging type: EGLOutputLayerEXT -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_swap_buffers_with_damage -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging command: eglSwapBuffersWithDamageEXT -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_EXT_yuv_surface -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_YUV_ORDER_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_NUMBER_OF_PLANES_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_SUBSAMPLE_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_DEPTH_RANGE_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_CSC_STANDARD_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_PLANE_BPP_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_BUFFER_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_ORDER_YUV_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_ORDER_YVU_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_ORDER_YUYV_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_ORDER_UYVY_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_ORDER_YVYU_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_ORDER_VYUY_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_ORDER_AYUV_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_SUBSAMPLE_4_2_0_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_SUBSAMPLE_4_2_2_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_SUBSAMPLE_4_4_4_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_DEPTH_RANGE_LIMITED_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_DEPTH_RANGE_FULL_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_CSC_STANDARD_601_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_CSC_STANDARD_709_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_CSC_STANDARD_2020_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_PLANE_BPP_0_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_PLANE_BPP_8_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_PLANE_BPP_10_EXT -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_HI_clientpixmap -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_CLIENT_PIXMAP_POINTER_HI -> required = True -DIAG: *** tagging command: eglCreatePixmapSurfaceHI -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLConfig -DIAG: *** tagging type: EGLConfig -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLClientPixmapHI -DIAG: *** tagging type: EGLClientPixmapHI -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_HI_colorformats -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_COLOR_FORMAT_HI -> required = True -DIAG: *** tagging enum: EGL_COLOR_RGB_HI -> required = True -DIAG: *** tagging enum: EGL_COLOR_RGBA_HI -> required = True -DIAG: *** tagging enum: EGL_COLOR_ARGB_HI -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_IMG_context_priority -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_CONTEXT_PRIORITY_LEVEL_IMG -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_PRIORITY_HIGH_IMG -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_PRIORITY_MEDIUM_IMG -> required = True -DIAG: *** tagging enum: EGL_CONTEXT_PRIORITY_LOW_IMG -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_MESA_drm_image -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_DRM_BUFFER_FORMAT_MESA -> required = True -DIAG: *** tagging enum: EGL_DRM_BUFFER_USE_MESA -> required = True -DIAG: *** tagging enum: EGL_DRM_BUFFER_FORMAT_ARGB32_MESA -> required = True -DIAG: *** tagging enum: EGL_DRM_BUFFER_MESA -> required = True -DIAG: *** tagging enum: EGL_DRM_BUFFER_STRIDE_MESA -> required = True -DIAG: *** tagging enum: EGL_DRM_BUFFER_USE_SCANOUT_MESA -> required = True -DIAG: *** tagging enum: EGL_DRM_BUFFER_USE_SHARE_MESA -> required = True -DIAG: *** tagging command: eglCreateDRMImageMESA -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLImageKHR -DIAG: *** tagging type: EGLImageKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglExportDRMImageMESA -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLImageKHR -DIAG: *** tagging type: EGLImageKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_MESA_image_dma_buf_export -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging type: EGLuint64KHR -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLuint64KHR -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglExportDMABUFImageQueryMESA -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLImageKHR -DIAG: *** tagging type: EGLImageKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLuint64KHR -DIAG: *** tagging type: EGLuint64KHR -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLuint64KHR -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglExportDMABUFImageMESA -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLImageKHR -DIAG: *** tagging type: EGLImageKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_MESA_platform_gbm -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_PLATFORM_GBM_MESA -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NOK_swap_region -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging command: eglSwapBuffersRegionNOK -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NOK_swap_region2 -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging command: eglSwapBuffersRegion2NOK -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NOK_texture_from_pixmap -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_Y_INVERTED_NOK -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NV_3dvision_surface -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_AUTO_STEREO_NV -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NV_coverage_sample -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_COVERAGE_BUFFERS_NV -> required = True -DIAG: *** tagging enum: EGL_COVERAGE_SAMPLES_NV -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NV_coverage_sample_resolve -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_COVERAGE_SAMPLE_RESOLVE_NV -> required = True -DIAG: *** tagging enum: EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV -> required = True -DIAG: *** tagging enum: EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NV_cuda_event -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_CUDA_EVENT_HANDLE_NV -> required = True -DIAG: *** tagging enum: EGL_SYNC_CUDA_EVENT_NV -> required = True -DIAG: *** tagging enum: EGL_SYNC_CUDA_EVENT_COMPLETE_NV -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NV_depth_nonlinear -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_DEPTH_ENCODING_NV -> required = True -DIAG: *** tagging enum: EGL_DEPTH_ENCODING_NONE_NV -> required = True -DIAG: *** tagging enum: EGL_DEPTH_ENCODING_NONLINEAR_NV -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NV_device_cuda -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_CUDA_DEVICE_NV -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NV_native_query -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging command: eglQueryNativeDisplayNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLNativeDisplayType -DIAG: *** tagging type: EGLNativeDisplayType -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLNativeDisplayType -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryNativeWindowNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLNativeWindowType -DIAG: *** tagging type: EGLNativeWindowType -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLNativeWindowType -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryNativePixmapNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLNativePixmapType -DIAG: *** tagging type: EGLNativePixmapType -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLNativePixmapType -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NV_post_convert_rounding -DIAG: *** markRequired (features = , required = True ) -DIAG: *** PASS 1: Tagging required and removed features for EGL_NV_post_sub_buffer -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_POST_SUB_BUFFER_SUPPORTED_NV -> required = True -DIAG: *** tagging command: eglPostSubBufferNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSurface -DIAG: *** tagging type: EGLSurface -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NV_stream_consumer_gltexture_yuv -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_YUV_PLANE0_TEXTURE_UNIT_NV -> required = True -DIAG: *** tagging enum: EGL_YUV_PLANE1_TEXTURE_UNIT_NV -> required = True -DIAG: *** tagging enum: EGL_YUV_PLANE2_TEXTURE_UNIT_NV -> required = True -DIAG: *** tagging enum: EGL_YUV_NUMBER_OF_PLANES_EXT -> required = True -DIAG: *** tagging enum: EGL_YUV_BUFFER_EXT -> required = True -DIAG: *** tagging command: eglStreamConsumerGLTextureExternalAttribsNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NV_stream_metadata -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_MAX_STREAM_METADATA_BLOCKS_NV -> required = True -DIAG: *** tagging enum: EGL_MAX_STREAM_METADATA_BLOCK_SIZE_NV -> required = True -DIAG: *** tagging enum: EGL_MAX_STREAM_METADATA_TOTAL_SIZE_NV -> required = True -DIAG: *** tagging enum: EGL_PRODUCER_METADATA_NV -> required = True -DIAG: *** tagging enum: EGL_CONSUMER_METADATA_NV -> required = True -DIAG: *** tagging enum: EGL_PENDING_METADATA_NV -> required = True -DIAG: *** tagging enum: EGL_METADATA0_SIZE_NV -> required = True -DIAG: *** tagging enum: EGL_METADATA1_SIZE_NV -> required = True -DIAG: *** tagging enum: EGL_METADATA2_SIZE_NV -> required = True -DIAG: *** tagging enum: EGL_METADATA3_SIZE_NV -> required = True -DIAG: *** tagging enum: EGL_METADATA0_TYPE_NV -> required = True -DIAG: *** tagging enum: EGL_METADATA1_TYPE_NV -> required = True -DIAG: *** tagging enum: EGL_METADATA2_TYPE_NV -> required = True -DIAG: *** tagging enum: EGL_METADATA3_TYPE_NV -> required = True -DIAG: *** tagging command: eglQueryDisplayAttribNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLAttrib -DIAG: *** tagging type: EGLAttrib -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLAttrib -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglSetStreamMetadataNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglQueryStreamMetadataNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NV_stream_sync -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_SYNC_TYPE_KHR -> required = True -DIAG: *** tagging enum: EGL_SYNC_NEW_FRAME_NV -> required = True -DIAG: *** tagging command: eglCreateStreamSyncNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncKHR -DIAG: *** tagging type: EGLSyncKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLStreamKHR -DIAG: *** tagging type: EGLStreamKHR -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NV_sync -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV -> required = True -DIAG: *** tagging enum: EGL_SYNC_STATUS_NV -> required = True -DIAG: *** tagging enum: EGL_SIGNALED_NV -> required = True -DIAG: *** tagging enum: EGL_UNSIGNALED_NV -> required = True -DIAG: *** tagging enum: EGL_SYNC_FLUSH_COMMANDS_BIT_NV -> required = True -DIAG: *** tagging enum: EGL_FOREVER_NV -> required = True -DIAG: *** tagging enum: EGL_ALREADY_SIGNALED_NV -> required = True -DIAG: *** tagging enum: EGL_TIMEOUT_EXPIRED_NV -> required = True -DIAG: *** tagging enum: EGL_CONDITION_SATISFIED_NV -> required = True -DIAG: *** tagging enum: EGL_SYNC_TYPE_NV -> required = True -DIAG: *** tagging enum: EGL_SYNC_CONDITION_NV -> required = True -DIAG: *** tagging enum: EGL_SYNC_FENCE_NV -> required = True -DIAG: *** tagging enum: EGL_NO_SYNC_NV -> required = True -DIAG: *** tagging command: eglCreateFenceSyncNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncNV -DIAG: *** tagging type: EGLSyncNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLDisplay -DIAG: *** tagging type: EGLDisplay -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglDestroySyncNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncNV -DIAG: *** tagging type: EGLSyncNV -> required = True -DIAG: *** tagging command: eglFenceNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncNV -DIAG: *** tagging type: EGLSyncNV -> required = True -DIAG: *** tagging command: eglClientWaitSyncNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncNV -DIAG: *** tagging type: EGLSyncNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLTimeNV -DIAG: *** tagging type: EGLTimeNV -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLTimeNV -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglSignalSyncNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncNV -DIAG: *** tagging type: EGLSyncNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLenum -DIAG: *** tagging type: EGLenum -> required = True -DIAG: *** tagging command: eglGetSyncAttribNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLBoolean -DIAG: *** tagging type: EGLBoolean -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLSyncNV -DIAG: *** tagging type: EGLSyncNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLint -DIAG: *** tagging type: EGLint -> required = True -DIAG: *** Generating dependent type eglplatform for type EGLint -DIAG: *** tagging type: eglplatform -> required = True -DIAG: *** Generating dependent type khrplatform for type eglplatform -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_NV_system_time -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging command: eglGetSystemTimeFrequencyNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLuint64NV -DIAG: *** tagging type: EGLuint64NV -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLuint64NV -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** tagging command: eglGetSystemTimeNV -> required = True -DIAG: *** markRequired: command implicitly requires dependent type EGLuint64NV -DIAG: *** tagging type: EGLuint64NV -> required = True -DIAG: *** Generating dependent type khrplatform for type EGLuint64NV -DIAG: *** tagging type: khrplatform -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_TIZEN_image_native_buffer -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_NATIVE_BUFFER_TIZEN -> required = True -DIAG: *** PASS 1: Tagging required and removed features for EGL_TIZEN_image_native_surface -DIAG: *** markRequired (features = , required = True ) -DIAG: *** tagging enum: EGL_NATIVE_SURFACE_TIZEN -> required = True -DIAG: *** PASS 2: GENERATE INTERFACES FOR FEATURES ************************ -DIAG: *** PASS 2: Generating interface for EGL_VERSION_1_0 -DIAG: *** PASS 2: NOT declaring feature EGL_VERSION_1_0 because it is not tagged for emission -DIAG: *** Skipping enum EGL_ALPHA_SIZE (not emitting this feature) -DIAG: *** Skipping enum EGL_BAD_ACCESS (not emitting this feature) -DIAG: *** Skipping enum EGL_BAD_ALLOC (not emitting this feature) -DIAG: *** Skipping enum EGL_BAD_ATTRIBUTE (not emitting this feature) -DIAG: *** Skipping enum EGL_BAD_CONFIG (not emitting this feature) -DIAG: *** Skipping enum EGL_BAD_CONTEXT (not emitting this feature) -DIAG: *** Skipping enum EGL_BAD_CURRENT_SURFACE (not emitting this feature) -DIAG: *** Skipping enum EGL_BAD_DISPLAY (not emitting this feature) -DIAG: *** Skipping enum EGL_BAD_MATCH (not emitting this feature) -DIAG: *** Skipping enum EGL_BAD_NATIVE_PIXMAP (not emitting this feature) -DIAG: *** Skipping enum EGL_BAD_NATIVE_WINDOW (not emitting this feature) -DIAG: *** Skipping enum EGL_BAD_PARAMETER (not emitting this feature) -DIAG: *** Skipping enum EGL_BAD_SURFACE (not emitting this feature) -DIAG: *** Skipping enum EGL_BLUE_SIZE (not emitting this feature) -DIAG: *** Skipping enum EGL_BUFFER_SIZE (not emitting this feature) -DIAG: *** Skipping enum EGL_CONFIG_CAVEAT (not emitting this feature) -DIAG: *** Skipping enum EGL_CONFIG_ID (not emitting this feature) -DIAG: *** Skipping enum EGL_CORE_NATIVE_ENGINE (not emitting this feature) -DIAG: *** Skipping enum EGL_DEPTH_SIZE (not emitting this feature) -DIAG: *** Skipping enum EGL_DONT_CARE (not emitting this feature) -DIAG: *** Skipping enum EGL_DRAW (not emitting this feature) -DIAG: *** Skipping enum EGL_EXTENSIONS (not emitting this feature) -DIAG: *** Skipping enum EGL_FALSE (not emitting this feature) -DIAG: *** Skipping enum EGL_GREEN_SIZE (not emitting this feature) -DIAG: *** Skipping enum EGL_HEIGHT (not emitting this feature) -DIAG: *** Skipping enum EGL_LARGEST_PBUFFER (not emitting this feature) -DIAG: *** Skipping enum EGL_LEVEL (not emitting this feature) -DIAG: *** Skipping enum EGL_MAX_PBUFFER_HEIGHT (not emitting this feature) -DIAG: *** Skipping enum EGL_MAX_PBUFFER_PIXELS (not emitting this feature) -DIAG: *** Skipping enum EGL_MAX_PBUFFER_WIDTH (not emitting this feature) -DIAG: *** Skipping enum EGL_NATIVE_RENDERABLE (not emitting this feature) -DIAG: *** Skipping enum EGL_NATIVE_VISUAL_ID (not emitting this feature) -DIAG: *** Skipping enum EGL_NATIVE_VISUAL_TYPE (not emitting this feature) -DIAG: *** Skipping enum EGL_NONE (not emitting this feature) -DIAG: *** Skipping enum EGL_NON_CONFORMANT_CONFIG (not emitting this feature) -DIAG: *** Skipping enum EGL_NOT_INITIALIZED (not emitting this feature) -DIAG: *** Skipping enum EGL_NO_CONTEXT (not emitting this feature) -DIAG: *** Skipping enum EGL_NO_DISPLAY (not emitting this feature) -DIAG: *** Skipping enum EGL_NO_SURFACE (not emitting this feature) -DIAG: *** Skipping enum EGL_PBUFFER_BIT (not emitting this feature) -DIAG: *** Skipping enum EGL_PIXMAP_BIT (not emitting this feature) -DIAG: *** Skipping enum EGL_READ (not emitting this feature) -DIAG: *** Skipping enum EGL_RED_SIZE (not emitting this feature) -DIAG: *** Skipping enum EGL_SAMPLES (not emitting this feature) -DIAG: *** Skipping enum EGL_SAMPLE_BUFFERS (not emitting this feature) -DIAG: *** Skipping enum EGL_SLOW_CONFIG (not emitting this feature) -DIAG: *** Skipping enum EGL_STENCIL_SIZE (not emitting this feature) -DIAG: *** Skipping enum EGL_SUCCESS (not emitting this feature) -DIAG: *** Skipping enum EGL_SURFACE_TYPE (not emitting this feature) -DIAG: *** Skipping enum EGL_TRANSPARENT_BLUE_VALUE (not emitting this feature) -DIAG: *** Skipping enum EGL_TRANSPARENT_GREEN_VALUE (not emitting this feature) -DIAG: *** Skipping enum EGL_TRANSPARENT_RED_VALUE (not emitting this feature) -DIAG: *** Skipping enum EGL_TRANSPARENT_RGB (not emitting this feature) -DIAG: *** Skipping enum EGL_TRANSPARENT_TYPE (not emitting this feature) -DIAG: *** Skipping enum EGL_TRUE (not emitting this feature) -DIAG: *** Skipping enum EGL_VENDOR (not emitting this feature) -DIAG: *** Skipping enum EGL_VERSION (not emitting this feature) -DIAG: *** Skipping enum EGL_WIDTH (not emitting this feature) -DIAG: *** Skipping enum EGL_WINDOW_BIT (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (not emitting this feature) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (not emitting this feature) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Generating required dependent type eglplatform -DIAG: *** Generating required dependent type khrplatform -DIAG: *** Skipping type khrplatform (not emitting this feature) -DIAG: *** Skipping type eglplatform (not emitting this feature) -DIAG: *** Skipping type EGLint (not emitting this feature) -DIAG: *** Generating required parameter type EGLConfig -DIAG: *** Skipping type EGLConfig (not emitting this feature) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglChooseConfig (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (not emitting this feature) -DIAG: *** Generating required parameter type EGLNativePixmapType -DIAG: *** Generating required dependent type eglplatform -DIAG: *** Skipping type eglplatform (already declared) -DIAG: *** Skipping type EGLNativePixmapType (not emitting this feature) -DIAG: *** Skipping command eglCopyBuffers (not emitting this feature) -DIAG: *** Generating required parameter type EGLContext -DIAG: *** Skipping type EGLContext (not emitting this feature) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLConfig -DIAG: *** Skipping type EGLConfig (already declared) -DIAG: *** Generating required parameter type EGLContext -DIAG: *** Skipping type EGLContext (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglCreateContext (not emitting this feature) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLConfig -DIAG: *** Skipping type EGLConfig (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglCreatePbufferSurface (not emitting this feature) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLConfig -DIAG: *** Skipping type EGLConfig (already declared) -DIAG: *** Generating required parameter type EGLNativePixmapType -DIAG: *** Skipping type EGLNativePixmapType (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglCreatePixmapSurface (not emitting this feature) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLConfig -DIAG: *** Skipping type EGLConfig (already declared) -DIAG: *** Generating required parameter type EGLNativeWindowType -DIAG: *** Generating required dependent type eglplatform -DIAG: *** Skipping type eglplatform (already declared) -DIAG: *** Skipping type EGLNativeWindowType (not emitting this feature) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglCreateWindowSurface (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLContext -DIAG: *** Skipping type EGLContext (already declared) -DIAG: *** Skipping command eglDestroyContext (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Skipping command eglDestroySurface (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLConfig -DIAG: *** Skipping type EGLConfig (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglGetConfigAttrib (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLConfig -DIAG: *** Skipping type EGLConfig (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglGetConfigs (not emitting this feature) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Skipping command eglGetCurrentDisplay (not emitting this feature) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglGetCurrentSurface (not emitting this feature) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLNativeDisplayType -DIAG: *** Generating required dependent type eglplatform -DIAG: *** Skipping type eglplatform (already declared) -DIAG: *** Skipping type EGLNativeDisplayType (not emitting this feature) -DIAG: *** Skipping command eglGetDisplay (not emitting this feature) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglGetError (not emitting this feature) -DIAG: *** Generating required parameter type __eglMustCastToProperFunctionPointerType -DIAG: *** Skipping type __eglMustCastToProperFunctionPointerType (not emitting this feature) -DIAG: *** Skipping command eglGetProcAddress (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglInitialize (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLContext -DIAG: *** Skipping type EGLContext (already declared) -DIAG: *** Skipping command eglMakeCurrent (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLContext -DIAG: *** Skipping type EGLContext (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglQueryContext (not emitting this feature) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglQueryString (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglQuerySurface (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Skipping command eglSwapBuffers (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Skipping command eglTerminate (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Skipping command eglWaitGL (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglWaitNative (not emitting this feature) -DIAG: *** PASS 2: Generating interface for EGL_VERSION_1_1 -DIAG: *** PASS 2: NOT declaring feature EGL_VERSION_1_1 because it is not tagged for emission -DIAG: *** Skipping enum EGL_BACK_BUFFER (not emitting this feature) -DIAG: *** Skipping enum EGL_BIND_TO_TEXTURE_RGB (not emitting this feature) -DIAG: *** Skipping enum EGL_BIND_TO_TEXTURE_RGBA (not emitting this feature) -DIAG: *** Skipping enum EGL_CONTEXT_LOST (not emitting this feature) -DIAG: *** Skipping enum EGL_MIN_SWAP_INTERVAL (not emitting this feature) -DIAG: *** Skipping enum EGL_MAX_SWAP_INTERVAL (not emitting this feature) -DIAG: *** Skipping enum EGL_MIPMAP_TEXTURE (not emitting this feature) -DIAG: *** Skipping enum EGL_MIPMAP_LEVEL (not emitting this feature) -DIAG: *** Skipping enum EGL_NO_TEXTURE (not emitting this feature) -DIAG: *** Skipping enum EGL_TEXTURE_2D (not emitting this feature) -DIAG: *** Skipping enum EGL_TEXTURE_FORMAT (not emitting this feature) -DIAG: *** Skipping enum EGL_TEXTURE_RGB (not emitting this feature) -DIAG: *** Skipping enum EGL_TEXTURE_RGBA (not emitting this feature) -DIAG: *** Skipping enum EGL_TEXTURE_TARGET (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglBindTexImage (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglReleaseTexImage (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglSurfaceAttrib (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglSwapInterval (not emitting this feature) -DIAG: *** PASS 2: Generating interface for EGL_VERSION_1_2 -DIAG: *** PASS 2: NOT declaring feature EGL_VERSION_1_2 because it is not tagged for emission -DIAG: *** Skipping enum EGL_ALPHA_FORMAT (not emitting this feature) -DIAG: *** Skipping enum EGL_ALPHA_FORMAT_NONPRE (not emitting this feature) -DIAG: *** Skipping enum EGL_ALPHA_FORMAT_PRE (not emitting this feature) -DIAG: *** Skipping enum EGL_ALPHA_MASK_SIZE (not emitting this feature) -DIAG: *** Skipping enum EGL_BUFFER_PRESERVED (not emitting this feature) -DIAG: *** Skipping enum EGL_BUFFER_DESTROYED (not emitting this feature) -DIAG: *** Skipping enum EGL_CLIENT_APIS (not emitting this feature) -DIAG: *** Skipping enum EGL_COLORSPACE (not emitting this feature) -DIAG: *** Skipping enum EGL_COLORSPACE_sRGB (not emitting this feature) -DIAG: *** Skipping enum EGL_COLORSPACE_LINEAR (not emitting this feature) -DIAG: *** Skipping enum EGL_COLOR_BUFFER_TYPE (not emitting this feature) -DIAG: *** Skipping enum EGL_CONTEXT_CLIENT_TYPE (not emitting this feature) -DIAG: *** Skipping enum EGL_DISPLAY_SCALING (not emitting this feature) -DIAG: *** Skipping enum EGL_HORIZONTAL_RESOLUTION (not emitting this feature) -DIAG: *** Skipping enum EGL_LUMINANCE_BUFFER (not emitting this feature) -DIAG: *** Skipping enum EGL_LUMINANCE_SIZE (not emitting this feature) -DIAG: *** Skipping enum EGL_OPENGL_ES_BIT (not emitting this feature) -DIAG: *** Skipping enum EGL_OPENVG_BIT (not emitting this feature) -DIAG: *** Skipping enum EGL_OPENGL_ES_API (not emitting this feature) -DIAG: *** Skipping enum EGL_OPENVG_API (not emitting this feature) -DIAG: *** Skipping enum EGL_OPENVG_IMAGE (not emitting this feature) -DIAG: *** Skipping enum EGL_PIXEL_ASPECT_RATIO (not emitting this feature) -DIAG: *** Skipping enum EGL_RENDERABLE_TYPE (not emitting this feature) -DIAG: *** Skipping enum EGL_RENDER_BUFFER (not emitting this feature) -DIAG: *** Skipping enum EGL_RGB_BUFFER (not emitting this feature) -DIAG: *** Skipping enum EGL_SINGLE_BUFFER (not emitting this feature) -DIAG: *** Skipping enum EGL_SWAP_BEHAVIOR (not emitting this feature) -DIAG: *** Skipping enum EGL_UNKNOWN (not emitting this feature) -DIAG: *** Skipping enum EGL_VERTICAL_RESOLUTION (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (not emitting this feature) -DIAG: *** Skipping command eglBindAPI (not emitting this feature) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Skipping command eglQueryAPI (not emitting this feature) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLClientBuffer -DIAG: *** Skipping type EGLClientBuffer (not emitting this feature) -DIAG: *** Generating required parameter type EGLConfig -DIAG: *** Skipping type EGLConfig (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglCreatePbufferFromClientBuffer (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Skipping command eglReleaseThread (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Skipping command eglWaitClient (not emitting this feature) -DIAG: *** PASS 2: Generating interface for EGL_VERSION_1_3 -DIAG: *** PASS 2: NOT declaring feature EGL_VERSION_1_3 because it is not tagged for emission -DIAG: *** Skipping enum EGL_CONFORMANT (not emitting this feature) -DIAG: *** Skipping enum EGL_CONTEXT_CLIENT_VERSION (not emitting this feature) -DIAG: *** Skipping enum EGL_MATCH_NATIVE_PIXMAP (not emitting this feature) -DIAG: *** Skipping enum EGL_OPENGL_ES2_BIT (not emitting this feature) -DIAG: *** Skipping enum EGL_VG_ALPHA_FORMAT (not emitting this feature) -DIAG: *** Skipping enum EGL_VG_ALPHA_FORMAT_NONPRE (not emitting this feature) -DIAG: *** Skipping enum EGL_VG_ALPHA_FORMAT_PRE (not emitting this feature) -DIAG: *** Skipping enum EGL_VG_ALPHA_FORMAT_PRE_BIT (not emitting this feature) -DIAG: *** Skipping enum EGL_VG_COLORSPACE (not emitting this feature) -DIAG: *** Skipping enum EGL_VG_COLORSPACE_sRGB (not emitting this feature) -DIAG: *** Skipping enum EGL_VG_COLORSPACE_LINEAR (not emitting this feature) -DIAG: *** Skipping enum EGL_VG_COLORSPACE_LINEAR_BIT (not emitting this feature) -DIAG: *** PASS 2: Generating interface for EGL_VERSION_1_4 -DIAG: *** PASS 2: NOT declaring feature EGL_VERSION_1_4 because it is not tagged for emission -DIAG: *** Skipping enum EGL_DEFAULT_DISPLAY (not emitting this feature) -DIAG: *** Skipping enum EGL_MULTISAMPLE_RESOLVE_BOX_BIT (not emitting this feature) -DIAG: *** Skipping enum EGL_MULTISAMPLE_RESOLVE (not emitting this feature) -DIAG: *** Skipping enum EGL_MULTISAMPLE_RESOLVE_DEFAULT (not emitting this feature) -DIAG: *** Skipping enum EGL_MULTISAMPLE_RESOLVE_BOX (not emitting this feature) -DIAG: *** Skipping enum EGL_OPENGL_API (not emitting this feature) -DIAG: *** Skipping enum EGL_OPENGL_BIT (not emitting this feature) -DIAG: *** Skipping enum EGL_SWAP_BEHAVIOR_PRESERVED_BIT (not emitting this feature) -DIAG: *** Generating required parameter type EGLContext -DIAG: *** Skipping type EGLContext (already declared) -DIAG: *** Skipping command eglGetCurrentContext (not emitting this feature) -DIAG: *** PASS 2: Generating interface for EGL_VERSION_1_5 -DIAG: *** PASS 2: NOT declaring feature EGL_VERSION_1_5 because it is not tagged for emission -DIAG: *** Skipping enum EGL_CONTEXT_MAJOR_VERSION (not emitting this feature) -DIAG: *** Skipping enum EGL_CONTEXT_MINOR_VERSION (not emitting this feature) -DIAG: *** Skipping enum EGL_CONTEXT_OPENGL_PROFILE_MASK (not emitting this feature) -DIAG: *** Skipping enum EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY (not emitting this feature) -DIAG: *** Skipping enum EGL_NO_RESET_NOTIFICATION (not emitting this feature) -DIAG: *** Skipping enum EGL_LOSE_CONTEXT_ON_RESET (not emitting this feature) -DIAG: *** Skipping enum EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT (not emitting this feature) -DIAG: *** Skipping enum EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT (not emitting this feature) -DIAG: *** Skipping enum EGL_CONTEXT_OPENGL_DEBUG (not emitting this feature) -DIAG: *** Skipping enum EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE (not emitting this feature) -DIAG: *** Skipping enum EGL_CONTEXT_OPENGL_ROBUST_ACCESS (not emitting this feature) -DIAG: *** Skipping enum EGL_OPENGL_ES3_BIT (not emitting this feature) -DIAG: *** Skipping enum EGL_CONTEXT_OPENGL_ROBUST_ACCESS (already declared) -DIAG: *** Skipping enum EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY (already declared) -DIAG: *** Skipping enum EGL_CL_EVENT_HANDLE (not emitting this feature) -DIAG: *** Skipping enum EGL_SYNC_CL_EVENT (not emitting this feature) -DIAG: *** Skipping enum EGL_SYNC_CL_EVENT_COMPLETE (not emitting this feature) -DIAG: *** Skipping enum EGL_SYNC_PRIOR_COMMANDS_COMPLETE (not emitting this feature) -DIAG: *** Skipping enum EGL_SYNC_TYPE (not emitting this feature) -DIAG: *** Skipping enum EGL_SYNC_STATUS (not emitting this feature) -DIAG: *** Skipping enum EGL_SYNC_CONDITION (not emitting this feature) -DIAG: *** Skipping enum EGL_SIGNALED (not emitting this feature) -DIAG: *** Skipping enum EGL_UNSIGNALED (not emitting this feature) -DIAG: *** Skipping enum EGL_SYNC_FLUSH_COMMANDS_BIT (not emitting this feature) -DIAG: *** Skipping enum EGL_FOREVER (not emitting this feature) -DIAG: *** Skipping enum EGL_TIMEOUT_EXPIRED (not emitting this feature) -DIAG: *** Skipping enum EGL_CONDITION_SATISFIED (not emitting this feature) -DIAG: *** Skipping enum EGL_NO_SYNC (not emitting this feature) -DIAG: *** Skipping enum EGL_SYNC_FENCE (not emitting this feature) -DIAG: *** Generating required parameter type EGLSync -DIAG: *** Skipping type EGLSync (not emitting this feature) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Generating required dependent type khrplatform -DIAG: *** Skipping type khrplatform (already declared) -DIAG: *** Skipping type EGLAttrib (not emitting this feature) -DIAG: *** Skipping command eglCreateSync (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSync -DIAG: *** Skipping type EGLSync (already declared) -DIAG: *** Skipping command eglDestroySync (not emitting this feature) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSync -DIAG: *** Skipping type EGLSync (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLTime -DIAG: *** Generating required dependent type khrplatform -DIAG: *** Skipping type khrplatform (already declared) -DIAG: *** Skipping type EGLTime (not emitting this feature) -DIAG: *** Skipping command eglClientWaitSync (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSync -DIAG: *** Skipping type EGLSync (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Skipping command eglGetSyncAttrib (not emitting this feature) -DIAG: *** Skipping enum EGL_GL_COLORSPACE (not emitting this feature) -DIAG: *** Skipping enum EGL_GL_COLORSPACE_SRGB (not emitting this feature) -DIAG: *** Skipping enum EGL_GL_COLORSPACE_LINEAR (not emitting this feature) -DIAG: *** Skipping enum EGL_GL_RENDERBUFFER (not emitting this feature) -DIAG: *** Skipping enum EGL_GL_TEXTURE_2D (not emitting this feature) -DIAG: *** Skipping enum EGL_GL_TEXTURE_LEVEL (not emitting this feature) -DIAG: *** Skipping enum EGL_GL_TEXTURE_3D (not emitting this feature) -DIAG: *** Skipping enum EGL_GL_TEXTURE_ZOFFSET (not emitting this feature) -DIAG: *** Skipping enum EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X (not emitting this feature) -DIAG: *** Skipping enum EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X (not emitting this feature) -DIAG: *** Skipping enum EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y (not emitting this feature) -DIAG: *** Skipping enum EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y (not emitting this feature) -DIAG: *** Skipping enum EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z (not emitting this feature) -DIAG: *** Skipping enum EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z (not emitting this feature) -DIAG: *** Skipping enum EGL_IMAGE_PRESERVED (not emitting this feature) -DIAG: *** Skipping enum EGL_NO_IMAGE (not emitting this feature) -DIAG: *** Generating required parameter type EGLImage -DIAG: *** Skipping type EGLImage (not emitting this feature) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLContext -DIAG: *** Skipping type EGLContext (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLClientBuffer -DIAG: *** Skipping type EGLClientBuffer (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Skipping command eglCreateImage (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLImage -DIAG: *** Skipping type EGLImage (already declared) -DIAG: *** Skipping command eglDestroyImage (not emitting this feature) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Skipping command eglGetPlatformDisplay (not emitting this feature) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLConfig -DIAG: *** Skipping type EGLConfig (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Skipping command eglCreatePlatformWindowSurface (not emitting this feature) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLConfig -DIAG: *** Skipping type EGLConfig (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Skipping command eglCreatePlatformPixmapSurface (not emitting this feature) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSync -DIAG: *** Skipping type EGLSync (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Skipping command eglWaitSync (not emitting this feature) -DIAG: *** PASS 2: Generating interface for EGL_KHR_cl_event -DIAG: *** Emitting enum decl for EGL_CL_EVENT_HANDLE_KHR -DIAG: *** Emitting enum decl for EGL_SYNC_CL_EVENT_KHR -DIAG: *** Emitting enum decl for EGL_SYNC_CL_EVENT_COMPLETE_KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_cl_event2 -DIAG: *** Skipping enum EGL_CL_EVENT_HANDLE_KHR (already declared) -DIAG: *** Skipping enum EGL_SYNC_CL_EVENT_KHR (already declared) -DIAG: *** Skipping enum EGL_SYNC_CL_EVENT_COMPLETE_KHR (already declared) -DIAG: *** Generating required parameter type EGLSyncKHR -DIAG: *** Emitting type decl for EGLSyncKHR -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLAttribKHR -DIAG: *** Generating required dependent type khrplatform -DIAG: *** Skipping type khrplatform (already declared) -DIAG: *** Emitting type decl for EGLAttribKHR -DIAG: *** Emitting command decl for eglCreateSync64KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_client_get_all_proc_addresses -DIAG: *** PASS 2: Generating interface for EGL_KHR_config_attribs -DIAG: *** Emitting enum decl for EGL_CONFORMANT_KHR -DIAG: *** Emitting enum decl for EGL_VG_COLORSPACE_LINEAR_BIT_KHR -DIAG: *** Emitting enum decl for EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_create_context -DIAG: *** Emitting enum decl for EGL_CONTEXT_MAJOR_VERSION_KHR -DIAG: *** Emitting enum decl for EGL_CONTEXT_MINOR_VERSION_KHR -DIAG: *** Emitting enum decl for EGL_CONTEXT_FLAGS_KHR -DIAG: *** Emitting enum decl for EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR -DIAG: *** Emitting enum decl for EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR -DIAG: *** Emitting enum decl for EGL_NO_RESET_NOTIFICATION_KHR -DIAG: *** Emitting enum decl for EGL_LOSE_CONTEXT_ON_RESET_KHR -DIAG: *** Emitting enum decl for EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR -DIAG: *** Emitting enum decl for EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR -DIAG: *** Emitting enum decl for EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR -DIAG: *** Emitting enum decl for EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR -DIAG: *** Emitting enum decl for EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR -DIAG: *** Skipping enum EGL_OPENGL_ES3_BIT (already declared) -DIAG: *** Emitting enum decl for EGL_OPENGL_ES3_BIT_KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_create_context_no_error -DIAG: *** Emitting enum decl for EGL_CONTEXT_OPENGL_NO_ERROR_KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_debug -DIAG: *** Emitting type decl for EGLLabelKHR -DIAG: *** Emitting type decl for EGLObjectKHR -DIAG: *** Emitting enum decl for EGL_OBJECT_THREAD_KHR -DIAG: *** Emitting enum decl for EGL_OBJECT_DISPLAY_KHR -DIAG: *** Emitting enum decl for EGL_OBJECT_CONTEXT_KHR -DIAG: *** Emitting enum decl for EGL_OBJECT_SURFACE_KHR -DIAG: *** Emitting enum decl for EGL_OBJECT_IMAGE_KHR -DIAG: *** Emitting enum decl for EGL_OBJECT_SYNC_KHR -DIAG: *** Emitting enum decl for EGL_OBJECT_STREAM_KHR -DIAG: *** Emitting enum decl for EGL_DEBUG_MSG_CRITICAL_KHR -DIAG: *** Emitting enum decl for EGL_DEBUG_MSG_ERROR_KHR -DIAG: *** Emitting enum decl for EGL_DEBUG_MSG_WARN_KHR -DIAG: *** Emitting enum decl for EGL_DEBUG_MSG_INFO_KHR -DIAG: *** Emitting enum decl for EGL_DEBUG_CALLBACK_KHR -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLDEBUGPROCKHR -DIAG: *** Emitting type decl for EGLDEBUGPROCKHR -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Emitting command decl for eglDebugMessageControlKHR -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Emitting command decl for eglQueryDebugKHR -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLObjectKHR -DIAG: *** Skipping type EGLObjectKHR (already declared) -DIAG: *** Generating required parameter type EGLLabelKHR -DIAG: *** Skipping type EGLLabelKHR (already declared) -DIAG: *** Emitting command decl for eglLabelObjectKHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_fence_sync -DIAG: *** Emitting enum decl for EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR -DIAG: *** Emitting enum decl for EGL_SYNC_CONDITION_KHR -DIAG: *** Emitting enum decl for EGL_SYNC_FENCE_KHR -DIAG: *** Generating required parameter type EGLSyncKHR -DIAG: *** Skipping type EGLSyncKHR (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglCreateSyncKHR -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSyncKHR -DIAG: *** Skipping type EGLSyncKHR (already declared) -DIAG: *** Emitting command decl for eglDestroySyncKHR -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSyncKHR -DIAG: *** Skipping type EGLSyncKHR (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLTimeKHR -DIAG: *** Generating required dependent type khrplatform -DIAG: *** Skipping type khrplatform (already declared) -DIAG: *** Emitting type decl for EGLTimeKHR -DIAG: *** Emitting command decl for eglClientWaitSyncKHR -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSyncKHR -DIAG: *** Skipping type EGLSyncKHR (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglGetSyncAttribKHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_get_all_proc_addresses -DIAG: *** PASS 2: Generating interface for EGL_KHR_gl_colorspace -DIAG: *** Emitting enum decl for EGL_GL_COLORSPACE_KHR -DIAG: *** Emitting enum decl for EGL_GL_COLORSPACE_SRGB_KHR -DIAG: *** Emitting enum decl for EGL_GL_COLORSPACE_LINEAR_KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_gl_renderbuffer_image -DIAG: *** Emitting enum decl for EGL_GL_RENDERBUFFER_KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_gl_texture_2D_image -DIAG: *** Emitting enum decl for EGL_GL_TEXTURE_2D_KHR -DIAG: *** Emitting enum decl for EGL_GL_TEXTURE_LEVEL_KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_gl_texture_3D_image -DIAG: *** Emitting enum decl for EGL_GL_TEXTURE_3D_KHR -DIAG: *** Emitting enum decl for EGL_GL_TEXTURE_ZOFFSET_KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_gl_texture_cubemap_image -DIAG: *** Emitting enum decl for EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR -DIAG: *** Emitting enum decl for EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR -DIAG: *** Emitting enum decl for EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR -DIAG: *** Emitting enum decl for EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR -DIAG: *** Emitting enum decl for EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR -DIAG: *** Emitting enum decl for EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_image -DIAG: *** Emitting enum decl for EGL_NATIVE_PIXMAP_KHR -DIAG: *** Emitting enum decl for EGL_NO_IMAGE_KHR -DIAG: *** Generating required parameter type EGLImageKHR -DIAG: *** Emitting type decl for EGLImageKHR -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLContext -DIAG: *** Skipping type EGLContext (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLClientBuffer -DIAG: *** Skipping type EGLClientBuffer (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglCreateImageKHR -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLImageKHR -DIAG: *** Skipping type EGLImageKHR (already declared) -DIAG: *** Emitting command decl for eglDestroyImageKHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_image_base -DIAG: *** Emitting enum decl for EGL_IMAGE_PRESERVED_KHR -DIAG: *** Skipping enum EGL_NO_IMAGE_KHR (already declared) -DIAG: *** Skipping command eglCreateImageKHR (already declared) -DIAG: *** Skipping command eglDestroyImageKHR (already declared) -DIAG: *** PASS 2: Generating interface for EGL_KHR_image_pixmap -DIAG: *** Skipping enum EGL_NATIVE_PIXMAP_KHR (already declared) -DIAG: *** PASS 2: Generating interface for EGL_KHR_lock_surface -DIAG: *** Emitting enum decl for EGL_READ_SURFACE_BIT_KHR -DIAG: *** Emitting enum decl for EGL_WRITE_SURFACE_BIT_KHR -DIAG: *** Emitting enum decl for EGL_LOCK_SURFACE_BIT_KHR -DIAG: *** Emitting enum decl for EGL_OPTIMAL_FORMAT_BIT_KHR -DIAG: *** Emitting enum decl for EGL_MATCH_FORMAT_KHR -DIAG: *** Emitting enum decl for EGL_FORMAT_RGB_565_EXACT_KHR -DIAG: *** Emitting enum decl for EGL_FORMAT_RGB_565_KHR -DIAG: *** Emitting enum decl for EGL_FORMAT_RGBA_8888_EXACT_KHR -DIAG: *** Emitting enum decl for EGL_FORMAT_RGBA_8888_KHR -DIAG: *** Emitting enum decl for EGL_MAP_PRESERVE_PIXELS_KHR -DIAG: *** Emitting enum decl for EGL_LOCK_USAGE_HINT_KHR -DIAG: *** Emitting enum decl for EGL_BITMAP_POINTER_KHR -DIAG: *** Emitting enum decl for EGL_BITMAP_PITCH_KHR -DIAG: *** Emitting enum decl for EGL_BITMAP_ORIGIN_KHR -DIAG: *** Emitting enum decl for EGL_BITMAP_PIXEL_RED_OFFSET_KHR -DIAG: *** Emitting enum decl for EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR -DIAG: *** Emitting enum decl for EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR -DIAG: *** Emitting enum decl for EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR -DIAG: *** Emitting enum decl for EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR -DIAG: *** Emitting enum decl for EGL_LOWER_LEFT_KHR -DIAG: *** Emitting enum decl for EGL_UPPER_LEFT_KHR -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglLockSurfaceKHR -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Emitting command decl for eglUnlockSurfaceKHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_lock_surface2 -DIAG: *** Emitting enum decl for EGL_BITMAP_PIXEL_SIZE_KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_lock_surface3 -DIAG: *** Skipping enum EGL_READ_SURFACE_BIT_KHR (already declared) -DIAG: *** Skipping enum EGL_WRITE_SURFACE_BIT_KHR (already declared) -DIAG: *** Skipping enum EGL_LOCK_SURFACE_BIT_KHR (already declared) -DIAG: *** Skipping enum EGL_OPTIMAL_FORMAT_BIT_KHR (already declared) -DIAG: *** Skipping enum EGL_MATCH_FORMAT_KHR (already declared) -DIAG: *** Skipping enum EGL_FORMAT_RGB_565_EXACT_KHR (already declared) -DIAG: *** Skipping enum EGL_FORMAT_RGB_565_KHR (already declared) -DIAG: *** Skipping enum EGL_FORMAT_RGBA_8888_EXACT_KHR (already declared) -DIAG: *** Skipping enum EGL_FORMAT_RGBA_8888_KHR (already declared) -DIAG: *** Skipping enum EGL_MAP_PRESERVE_PIXELS_KHR (already declared) -DIAG: *** Skipping enum EGL_LOCK_USAGE_HINT_KHR (already declared) -DIAG: *** Skipping enum EGL_BITMAP_PITCH_KHR (already declared) -DIAG: *** Skipping enum EGL_BITMAP_ORIGIN_KHR (already declared) -DIAG: *** Skipping enum EGL_BITMAP_PIXEL_RED_OFFSET_KHR (already declared) -DIAG: *** Skipping enum EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR (already declared) -DIAG: *** Skipping enum EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR (already declared) -DIAG: *** Skipping enum EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR (already declared) -DIAG: *** Skipping enum EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR (already declared) -DIAG: *** Skipping enum EGL_BITMAP_PIXEL_SIZE_KHR (already declared) -DIAG: *** Skipping enum EGL_BITMAP_POINTER_KHR (already declared) -DIAG: *** Skipping enum EGL_LOWER_LEFT_KHR (already declared) -DIAG: *** Skipping enum EGL_UPPER_LEFT_KHR (already declared) -DIAG: *** Skipping command eglLockSurfaceKHR (already declared) -DIAG: *** Skipping command eglUnlockSurfaceKHR (already declared) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLAttribKHR -DIAG: *** Skipping type EGLAttribKHR (already declared) -DIAG: *** Emitting command decl for eglQuerySurface64KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_partial_update -DIAG: *** Emitting enum decl for EGL_BUFFER_AGE_KHR -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglSetDamageRegionKHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_platform_android -DIAG: *** Emitting enum decl for EGL_PLATFORM_ANDROID_KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_platform_gbm -DIAG: *** Emitting enum decl for EGL_PLATFORM_GBM_KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_platform_wayland -DIAG: *** Emitting enum decl for EGL_PLATFORM_WAYLAND_KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_platform_x11 -DIAG: *** Emitting enum decl for EGL_PLATFORM_X11_KHR -DIAG: *** Emitting enum decl for EGL_PLATFORM_X11_SCREEN_KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_reusable_sync -DIAG: *** Emitting enum decl for EGL_SYNC_STATUS_KHR -DIAG: *** Emitting enum decl for EGL_SIGNALED_KHR -DIAG: *** Emitting enum decl for EGL_UNSIGNALED_KHR -DIAG: *** Emitting enum decl for EGL_TIMEOUT_EXPIRED_KHR -DIAG: *** Emitting enum decl for EGL_CONDITION_SATISFIED_KHR -DIAG: *** Emitting enum decl for EGL_SYNC_TYPE_KHR -DIAG: *** Emitting enum decl for EGL_SYNC_REUSABLE_KHR -DIAG: *** Emitting enum decl for EGL_SYNC_FLUSH_COMMANDS_BIT_KHR -DIAG: *** Emitting enum decl for EGL_FOREVER_KHR -DIAG: *** Emitting enum decl for EGL_NO_SYNC_KHR -DIAG: *** Skipping command eglCreateSyncKHR (already declared) -DIAG: *** Skipping command eglDestroySyncKHR (already declared) -DIAG: *** Skipping command eglClientWaitSyncKHR (already declared) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSyncKHR -DIAG: *** Skipping type EGLSyncKHR (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Emitting command decl for eglSignalSyncKHR -DIAG: *** Skipping command eglGetSyncAttribKHR (already declared) -DIAG: *** PASS 2: Generating interface for EGL_KHR_stream -DIAG: *** Emitting enum decl for EGL_NO_STREAM_KHR -DIAG: *** Emitting enum decl for EGL_CONSUMER_LATENCY_USEC_KHR -DIAG: *** Emitting enum decl for EGL_PRODUCER_FRAME_KHR -DIAG: *** Emitting enum decl for EGL_CONSUMER_FRAME_KHR -DIAG: *** Emitting enum decl for EGL_STREAM_STATE_KHR -DIAG: *** Emitting enum decl for EGL_STREAM_STATE_CREATED_KHR -DIAG: *** Emitting enum decl for EGL_STREAM_STATE_CONNECTING_KHR -DIAG: *** Emitting enum decl for EGL_STREAM_STATE_EMPTY_KHR -DIAG: *** Emitting enum decl for EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR -DIAG: *** Emitting enum decl for EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR -DIAG: *** Emitting enum decl for EGL_STREAM_STATE_DISCONNECTED_KHR -DIAG: *** Emitting enum decl for EGL_BAD_STREAM_KHR -DIAG: *** Emitting enum decl for EGL_BAD_STATE_KHR -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Emitting type decl for EGLStreamKHR -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglCreateStreamKHR -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Emitting command decl for eglDestroyStreamKHR -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglStreamAttribKHR -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglQueryStreamKHR -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLuint64KHR -DIAG: *** Generating required dependent type khrplatform -DIAG: *** Skipping type khrplatform (already declared) -DIAG: *** Emitting type decl for EGLuint64KHR -DIAG: *** Emitting command decl for eglQueryStreamu64KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_stream_consumer_gltexture -DIAG: *** Emitting enum decl for EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Emitting command decl for eglStreamConsumerGLTextureExternalKHR -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Emitting command decl for eglStreamConsumerAcquireKHR -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Emitting command decl for eglStreamConsumerReleaseKHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_stream_cross_process_fd -DIAG: *** Emitting enum decl for EGL_NO_FILE_DESCRIPTOR_KHR -DIAG: *** Generating required parameter type EGLNativeFileDescriptorKHR -DIAG: *** Emitting type decl for EGLNativeFileDescriptorKHR -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Emitting command decl for eglGetStreamFileDescriptorKHR -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLNativeFileDescriptorKHR -DIAG: *** Skipping type EGLNativeFileDescriptorKHR (already declared) -DIAG: *** Emitting command decl for eglCreateStreamFromFileDescriptorKHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_stream_fifo -DIAG: *** Emitting enum decl for EGL_STREAM_FIFO_LENGTH_KHR -DIAG: *** Emitting enum decl for EGL_STREAM_TIME_NOW_KHR -DIAG: *** Emitting enum decl for EGL_STREAM_TIME_CONSUMER_KHR -DIAG: *** Emitting enum decl for EGL_STREAM_TIME_PRODUCER_KHR -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLTimeKHR -DIAG: *** Skipping type EGLTimeKHR (already declared) -DIAG: *** Emitting command decl for eglQueryStreamTimeKHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_stream_producer_aldatalocator -DIAG: *** PASS 2: Generating interface for EGL_KHR_stream_producer_eglsurface -DIAG: *** Emitting enum decl for EGL_STREAM_BIT_KHR -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLConfig -DIAG: *** Skipping type EGLConfig (already declared) -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglCreateStreamProducerSurfaceKHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_surfaceless_context -DIAG: *** PASS 2: Generating interface for EGL_KHR_swap_buffers_with_damage -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglSwapBuffersWithDamageKHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_vg_parent_image -DIAG: *** Emitting enum decl for EGL_VG_PARENT_IMAGE_KHR -DIAG: *** PASS 2: Generating interface for EGL_KHR_wait_sync -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSyncKHR -DIAG: *** Skipping type EGLSyncKHR (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglWaitSyncKHR -DIAG: *** PASS 2: Generating interface for EGL_ANDROID_blob_cache -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSetBlobFuncANDROID -DIAG: *** Generating required dependent type EGLsizeiANDROID -DIAG: *** Generating required dependent type khrplatform -DIAG: *** Skipping type khrplatform (already declared) -DIAG: *** Emitting type decl for EGLsizeiANDROID -DIAG: *** Emitting type decl for EGLSetBlobFuncANDROID -DIAG: *** Generating required parameter type EGLGetBlobFuncANDROID -DIAG: *** Generating required dependent type EGLsizeiANDROID -DIAG: *** Skipping type EGLsizeiANDROID (already declared) -DIAG: *** Emitting type decl for EGLGetBlobFuncANDROID -DIAG: *** Emitting command decl for eglSetBlobCacheFuncsANDROID -DIAG: *** PASS 2: Generating interface for EGL_ANDROID_framebuffer_target -DIAG: *** Emitting enum decl for EGL_FRAMEBUFFER_TARGET_ANDROID -DIAG: *** PASS 2: Generating interface for EGL_ANDROID_image_native_buffer -DIAG: *** Emitting enum decl for EGL_NATIVE_BUFFER_ANDROID -DIAG: *** PASS 2: Generating interface for EGL_ANDROID_native_fence_sync -DIAG: *** Emitting enum decl for EGL_SYNC_NATIVE_FENCE_ANDROID -DIAG: *** Emitting enum decl for EGL_SYNC_NATIVE_FENCE_FD_ANDROID -DIAG: *** Emitting enum decl for EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID -DIAG: *** Emitting enum decl for EGL_NO_NATIVE_FENCE_FD_ANDROID -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSyncKHR -DIAG: *** Skipping type EGLSyncKHR (already declared) -DIAG: *** Emitting command decl for eglDupNativeFenceFDANDROID -DIAG: *** PASS 2: Generating interface for EGL_ANDROID_recordable -DIAG: *** Emitting enum decl for EGL_RECORDABLE_ANDROID -DIAG: *** PASS 2: Generating interface for EGL_ANGLE_d3d_share_handle_client_buffer -DIAG: *** Emitting enum decl for EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE -DIAG: *** PASS 2: Generating interface for EGL_ANGLE_device_d3d -DIAG: *** Emitting enum decl for EGL_D3D9_DEVICE_ANGLE -DIAG: *** Emitting enum decl for EGL_D3D11_DEVICE_ANGLE -DIAG: *** PASS 2: Generating interface for EGL_ANGLE_query_surface_pointer -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglQuerySurfacePointerANGLE -DIAG: *** PASS 2: Generating interface for EGL_ANGLE_surface_d3d_texture_2d_share_handle -DIAG: *** Skipping enum EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE (already declared) -DIAG: *** PASS 2: Generating interface for EGL_ANGLE_window_fixed_size -DIAG: *** Emitting enum decl for EGL_FIXED_SIZE_ANGLE -DIAG: *** PASS 2: Generating interface for EGL_ARM_pixmap_multisample_discard -DIAG: *** Emitting enum decl for EGL_DISCARD_SAMPLES_ARM -DIAG: *** PASS 2: Generating interface for EGL_EXT_buffer_age -DIAG: *** Emitting enum decl for EGL_BUFFER_AGE_EXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_client_extensions -DIAG: *** PASS 2: Generating interface for EGL_EXT_create_context_robustness -DIAG: *** Emitting enum decl for EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT -DIAG: *** Emitting enum decl for EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT -DIAG: *** Emitting enum decl for EGL_NO_RESET_NOTIFICATION_EXT -DIAG: *** Emitting enum decl for EGL_LOSE_CONTEXT_ON_RESET_EXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_device_base -DIAG: *** Emitting enum decl for EGL_NO_DEVICE_EXT -DIAG: *** Emitting enum decl for EGL_BAD_DEVICE_EXT -DIAG: *** Emitting enum decl for EGL_DEVICE_EXT -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDeviceEXT -DIAG: *** Emitting type decl for EGLDeviceEXT -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Emitting command decl for eglQueryDeviceAttribEXT -DIAG: *** Generating required parameter type EGLDeviceEXT -DIAG: *** Skipping type EGLDeviceEXT (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglQueryDeviceStringEXT -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLDeviceEXT -DIAG: *** Skipping type EGLDeviceEXT (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglQueryDevicesEXT -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Emitting command decl for eglQueryDisplayAttribEXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_device_drm -DIAG: *** Emitting enum decl for EGL_DRM_DEVICE_FILE_EXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_device_enumeration -DIAG: *** Skipping command eglQueryDevicesEXT (already declared) -DIAG: *** PASS 2: Generating interface for EGL_EXT_device_openwf -DIAG: *** Emitting enum decl for EGL_OPENWF_DEVICE_ID_EXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_device_query -DIAG: *** Skipping enum EGL_NO_DEVICE_EXT (already declared) -DIAG: *** Skipping enum EGL_BAD_DEVICE_EXT (already declared) -DIAG: *** Skipping enum EGL_DEVICE_EXT (already declared) -DIAG: *** Skipping command eglQueryDeviceAttribEXT (already declared) -DIAG: *** Skipping command eglQueryDeviceStringEXT (already declared) -DIAG: *** Skipping command eglQueryDisplayAttribEXT (already declared) -DIAG: *** PASS 2: Generating interface for EGL_EXT_image_dma_buf_import -DIAG: *** Emitting enum decl for EGL_LINUX_DMA_BUF_EXT -DIAG: *** Emitting enum decl for EGL_LINUX_DRM_FOURCC_EXT -DIAG: *** Emitting enum decl for EGL_DMA_BUF_PLANE0_FD_EXT -DIAG: *** Emitting enum decl for EGL_DMA_BUF_PLANE0_OFFSET_EXT -DIAG: *** Emitting enum decl for EGL_DMA_BUF_PLANE0_PITCH_EXT -DIAG: *** Emitting enum decl for EGL_DMA_BUF_PLANE1_FD_EXT -DIAG: *** Emitting enum decl for EGL_DMA_BUF_PLANE1_OFFSET_EXT -DIAG: *** Emitting enum decl for EGL_DMA_BUF_PLANE1_PITCH_EXT -DIAG: *** Emitting enum decl for EGL_DMA_BUF_PLANE2_FD_EXT -DIAG: *** Emitting enum decl for EGL_DMA_BUF_PLANE2_OFFSET_EXT -DIAG: *** Emitting enum decl for EGL_DMA_BUF_PLANE2_PITCH_EXT -DIAG: *** Emitting enum decl for EGL_YUV_COLOR_SPACE_HINT_EXT -DIAG: *** Emitting enum decl for EGL_SAMPLE_RANGE_HINT_EXT -DIAG: *** Emitting enum decl for EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT -DIAG: *** Emitting enum decl for EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT -DIAG: *** Emitting enum decl for EGL_ITU_REC601_EXT -DIAG: *** Emitting enum decl for EGL_ITU_REC709_EXT -DIAG: *** Emitting enum decl for EGL_ITU_REC2020_EXT -DIAG: *** Emitting enum decl for EGL_YUV_FULL_RANGE_EXT -DIAG: *** Emitting enum decl for EGL_YUV_NARROW_RANGE_EXT -DIAG: *** Emitting enum decl for EGL_YUV_CHROMA_SITING_0_EXT -DIAG: *** Emitting enum decl for EGL_YUV_CHROMA_SITING_0_5_EXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_multiview_window -DIAG: *** Emitting enum decl for EGL_MULTIVIEW_VIEW_COUNT_EXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_output_base -DIAG: *** Emitting type decl for EGLOutputLayerEXT -DIAG: *** Emitting type decl for EGLOutputPortEXT -DIAG: *** Emitting enum decl for EGL_NO_OUTPUT_LAYER_EXT -DIAG: *** Emitting enum decl for EGL_NO_OUTPUT_PORT_EXT -DIAG: *** Emitting enum decl for EGL_BAD_OUTPUT_LAYER_EXT -DIAG: *** Emitting enum decl for EGL_BAD_OUTPUT_PORT_EXT -DIAG: *** Emitting enum decl for EGL_SWAP_INTERVAL_EXT -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Generating required parameter type EGLOutputLayerEXT -DIAG: *** Skipping type EGLOutputLayerEXT (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglGetOutputLayersEXT -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Generating required parameter type EGLOutputPortEXT -DIAG: *** Skipping type EGLOutputPortEXT (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglGetOutputPortsEXT -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLOutputLayerEXT -DIAG: *** Skipping type EGLOutputLayerEXT (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Emitting command decl for eglOutputLayerAttribEXT -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLOutputLayerEXT -DIAG: *** Skipping type EGLOutputLayerEXT (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Emitting command decl for eglQueryOutputLayerAttribEXT -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLOutputLayerEXT -DIAG: *** Skipping type EGLOutputLayerEXT (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglQueryOutputLayerStringEXT -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLOutputPortEXT -DIAG: *** Skipping type EGLOutputPortEXT (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Emitting command decl for eglOutputPortAttribEXT -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLOutputPortEXT -DIAG: *** Skipping type EGLOutputPortEXT (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Emitting command decl for eglQueryOutputPortAttribEXT -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLOutputPortEXT -DIAG: *** Skipping type EGLOutputPortEXT (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglQueryOutputPortStringEXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_output_drm -DIAG: *** Emitting enum decl for EGL_DRM_CRTC_EXT -DIAG: *** Emitting enum decl for EGL_DRM_PLANE_EXT -DIAG: *** Emitting enum decl for EGL_DRM_CONNECTOR_EXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_output_openwf -DIAG: *** Emitting enum decl for EGL_OPENWF_PIPELINE_ID_EXT -DIAG: *** Emitting enum decl for EGL_OPENWF_PORT_ID_EXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_platform_base -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglGetPlatformDisplayEXT -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLConfig -DIAG: *** Skipping type EGLConfig (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglCreatePlatformWindowSurfaceEXT -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLConfig -DIAG: *** Skipping type EGLConfig (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglCreatePlatformPixmapSurfaceEXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_platform_device -DIAG: *** Emitting enum decl for EGL_PLATFORM_DEVICE_EXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_platform_wayland -DIAG: *** Emitting enum decl for EGL_PLATFORM_WAYLAND_EXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_platform_x11 -DIAG: *** Emitting enum decl for EGL_PLATFORM_X11_EXT -DIAG: *** Emitting enum decl for EGL_PLATFORM_X11_SCREEN_EXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_protected_surface -DIAG: *** Emitting enum decl for EGL_PROTECTED_CONTENT_EXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_stream_consumer_egloutput -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Generating required parameter type EGLOutputLayerEXT -DIAG: *** Skipping type EGLOutputLayerEXT (already declared) -DIAG: *** Emitting command decl for eglStreamConsumerOutputEXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_swap_buffers_with_damage -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglSwapBuffersWithDamageEXT -DIAG: *** PASS 2: Generating interface for EGL_EXT_yuv_surface -DIAG: *** Emitting enum decl for EGL_YUV_ORDER_EXT -DIAG: *** Emitting enum decl for EGL_YUV_NUMBER_OF_PLANES_EXT -DIAG: *** Emitting enum decl for EGL_YUV_SUBSAMPLE_EXT -DIAG: *** Emitting enum decl for EGL_YUV_DEPTH_RANGE_EXT -DIAG: *** Emitting enum decl for EGL_YUV_CSC_STANDARD_EXT -DIAG: *** Emitting enum decl for EGL_YUV_PLANE_BPP_EXT -DIAG: *** Emitting enum decl for EGL_YUV_BUFFER_EXT -DIAG: *** Emitting enum decl for EGL_YUV_ORDER_YUV_EXT -DIAG: *** Emitting enum decl for EGL_YUV_ORDER_YVU_EXT -DIAG: *** Emitting enum decl for EGL_YUV_ORDER_YUYV_EXT -DIAG: *** Emitting enum decl for EGL_YUV_ORDER_UYVY_EXT -DIAG: *** Emitting enum decl for EGL_YUV_ORDER_YVYU_EXT -DIAG: *** Emitting enum decl for EGL_YUV_ORDER_VYUY_EXT -DIAG: *** Emitting enum decl for EGL_YUV_ORDER_AYUV_EXT -DIAG: *** Emitting enum decl for EGL_YUV_SUBSAMPLE_4_2_0_EXT -DIAG: *** Emitting enum decl for EGL_YUV_SUBSAMPLE_4_2_2_EXT -DIAG: *** Emitting enum decl for EGL_YUV_SUBSAMPLE_4_4_4_EXT -DIAG: *** Emitting enum decl for EGL_YUV_DEPTH_RANGE_LIMITED_EXT -DIAG: *** Emitting enum decl for EGL_YUV_DEPTH_RANGE_FULL_EXT -DIAG: *** Emitting enum decl for EGL_YUV_CSC_STANDARD_601_EXT -DIAG: *** Emitting enum decl for EGL_YUV_CSC_STANDARD_709_EXT -DIAG: *** Emitting enum decl for EGL_YUV_CSC_STANDARD_2020_EXT -DIAG: *** Emitting enum decl for EGL_YUV_PLANE_BPP_0_EXT -DIAG: *** Emitting enum decl for EGL_YUV_PLANE_BPP_8_EXT -DIAG: *** Emitting enum decl for EGL_YUV_PLANE_BPP_10_EXT -DIAG: *** PASS 2: Generating interface for EGL_HI_clientpixmap -DIAG: *** Emitting enum decl for EGL_CLIENT_PIXMAP_POINTER_HI -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLConfig -DIAG: *** Skipping type EGLConfig (already declared) -DIAG: *** Generating required parameter type EGLClientPixmapHI -DIAG: *** Emitting type decl for EGLClientPixmapHI -DIAG: *** Emitting command decl for eglCreatePixmapSurfaceHI -DIAG: *** PASS 2: Generating interface for EGL_HI_colorformats -DIAG: *** Emitting enum decl for EGL_COLOR_FORMAT_HI -DIAG: *** Emitting enum decl for EGL_COLOR_RGB_HI -DIAG: *** Emitting enum decl for EGL_COLOR_RGBA_HI -DIAG: *** Emitting enum decl for EGL_COLOR_ARGB_HI -DIAG: *** PASS 2: Generating interface for EGL_IMG_context_priority -DIAG: *** Emitting enum decl for EGL_CONTEXT_PRIORITY_LEVEL_IMG -DIAG: *** Emitting enum decl for EGL_CONTEXT_PRIORITY_HIGH_IMG -DIAG: *** Emitting enum decl for EGL_CONTEXT_PRIORITY_MEDIUM_IMG -DIAG: *** Emitting enum decl for EGL_CONTEXT_PRIORITY_LOW_IMG -DIAG: *** PASS 2: Generating interface for EGL_MESA_drm_image -DIAG: *** Emitting enum decl for EGL_DRM_BUFFER_FORMAT_MESA -DIAG: *** Emitting enum decl for EGL_DRM_BUFFER_USE_MESA -DIAG: *** Emitting enum decl for EGL_DRM_BUFFER_FORMAT_ARGB32_MESA -DIAG: *** Emitting enum decl for EGL_DRM_BUFFER_MESA -DIAG: *** Emitting enum decl for EGL_DRM_BUFFER_STRIDE_MESA -DIAG: *** Emitting enum decl for EGL_DRM_BUFFER_USE_SCANOUT_MESA -DIAG: *** Emitting enum decl for EGL_DRM_BUFFER_USE_SHARE_MESA -DIAG: *** Generating required parameter type EGLImageKHR -DIAG: *** Skipping type EGLImageKHR (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglCreateDRMImageMESA -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLImageKHR -DIAG: *** Skipping type EGLImageKHR (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglExportDRMImageMESA -DIAG: *** PASS 2: Generating interface for EGL_MESA_image_dma_buf_export -DIAG: *** Skipping type EGLuint64KHR (already declared) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLImageKHR -DIAG: *** Skipping type EGLImageKHR (already declared) -DIAG: *** Generating required parameter type EGLuint64KHR -DIAG: *** Skipping type EGLuint64KHR (already declared) -DIAG: *** Emitting command decl for eglExportDMABUFImageQueryMESA -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLImageKHR -DIAG: *** Skipping type EGLImageKHR (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglExportDMABUFImageMESA -DIAG: *** PASS 2: Generating interface for EGL_MESA_platform_gbm -DIAG: *** Emitting enum decl for EGL_PLATFORM_GBM_MESA -DIAG: *** PASS 2: Generating interface for EGL_NOK_swap_region -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglSwapBuffersRegionNOK -DIAG: *** PASS 2: Generating interface for EGL_NOK_swap_region2 -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglSwapBuffersRegion2NOK -DIAG: *** PASS 2: Generating interface for EGL_NOK_texture_from_pixmap -DIAG: *** Emitting enum decl for EGL_Y_INVERTED_NOK -DIAG: *** PASS 2: Generating interface for EGL_NV_3dvision_surface -DIAG: *** Emitting enum decl for EGL_AUTO_STEREO_NV -DIAG: *** PASS 2: Generating interface for EGL_NV_coverage_sample -DIAG: *** Emitting enum decl for EGL_COVERAGE_BUFFERS_NV -DIAG: *** Emitting enum decl for EGL_COVERAGE_SAMPLES_NV -DIAG: *** PASS 2: Generating interface for EGL_NV_coverage_sample_resolve -DIAG: *** Emitting enum decl for EGL_COVERAGE_SAMPLE_RESOLVE_NV -DIAG: *** Emitting enum decl for EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV -DIAG: *** Emitting enum decl for EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV -DIAG: *** PASS 2: Generating interface for EGL_NV_cuda_event -DIAG: *** Emitting enum decl for EGL_CUDA_EVENT_HANDLE_NV -DIAG: *** Emitting enum decl for EGL_SYNC_CUDA_EVENT_NV -DIAG: *** Emitting enum decl for EGL_SYNC_CUDA_EVENT_COMPLETE_NV -DIAG: *** PASS 2: Generating interface for EGL_NV_depth_nonlinear -DIAG: *** Emitting enum decl for EGL_DEPTH_ENCODING_NV -DIAG: *** Emitting enum decl for EGL_DEPTH_ENCODING_NONE_NV -DIAG: *** Emitting enum decl for EGL_DEPTH_ENCODING_NONLINEAR_NV -DIAG: *** PASS 2: Generating interface for EGL_NV_device_cuda -DIAG: *** Emitting enum decl for EGL_CUDA_DEVICE_NV -DIAG: *** PASS 2: Generating interface for EGL_NV_native_query -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLNativeDisplayType -DIAG: *** Skipping type EGLNativeDisplayType (already declared) -DIAG: *** Emitting command decl for eglQueryNativeDisplayNV -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLNativeWindowType -DIAG: *** Skipping type EGLNativeWindowType (already declared) -DIAG: *** Emitting command decl for eglQueryNativeWindowNV -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLNativePixmapType -DIAG: *** Skipping type EGLNativePixmapType (already declared) -DIAG: *** Emitting command decl for eglQueryNativePixmapNV -DIAG: *** PASS 2: Generating interface for EGL_NV_post_convert_rounding -DIAG: *** PASS 2: Generating interface for EGL_NV_post_sub_buffer -DIAG: *** Emitting enum decl for EGL_POST_SUB_BUFFER_SUPPORTED_NV -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLSurface -DIAG: *** Skipping type EGLSurface (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglPostSubBufferNV -DIAG: *** PASS 2: Generating interface for EGL_NV_stream_consumer_gltexture_yuv -DIAG: *** Emitting enum decl for EGL_YUV_PLANE0_TEXTURE_UNIT_NV -DIAG: *** Emitting enum decl for EGL_YUV_PLANE1_TEXTURE_UNIT_NV -DIAG: *** Emitting enum decl for EGL_YUV_PLANE2_TEXTURE_UNIT_NV -DIAG: *** Skipping enum EGL_YUV_NUMBER_OF_PLANES_EXT (already declared) -DIAG: *** Skipping enum EGL_YUV_BUFFER_EXT (already declared) -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Emitting command decl for eglStreamConsumerGLTextureExternalAttribsNV -DIAG: *** PASS 2: Generating interface for EGL_NV_stream_metadata -DIAG: *** Emitting enum decl for EGL_MAX_STREAM_METADATA_BLOCKS_NV -DIAG: *** Emitting enum decl for EGL_MAX_STREAM_METADATA_BLOCK_SIZE_NV -DIAG: *** Emitting enum decl for EGL_MAX_STREAM_METADATA_TOTAL_SIZE_NV -DIAG: *** Emitting enum decl for EGL_PRODUCER_METADATA_NV -DIAG: *** Emitting enum decl for EGL_CONSUMER_METADATA_NV -DIAG: *** Emitting enum decl for EGL_PENDING_METADATA_NV -DIAG: *** Emitting enum decl for EGL_METADATA0_SIZE_NV -DIAG: *** Emitting enum decl for EGL_METADATA1_SIZE_NV -DIAG: *** Emitting enum decl for EGL_METADATA2_SIZE_NV -DIAG: *** Emitting enum decl for EGL_METADATA3_SIZE_NV -DIAG: *** Emitting enum decl for EGL_METADATA0_TYPE_NV -DIAG: *** Emitting enum decl for EGL_METADATA1_TYPE_NV -DIAG: *** Emitting enum decl for EGL_METADATA2_TYPE_NV -DIAG: *** Emitting enum decl for EGL_METADATA3_TYPE_NV -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLAttrib -DIAG: *** Skipping type EGLAttrib (already declared) -DIAG: *** Emitting command decl for eglQueryDisplayAttribNV -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglSetStreamMetadataNV -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglQueryStreamMetadataNV -DIAG: *** PASS 2: Generating interface for EGL_NV_stream_sync -DIAG: *** Skipping enum EGL_SYNC_TYPE_KHR (already declared) -DIAG: *** Emitting enum decl for EGL_SYNC_NEW_FRAME_NV -DIAG: *** Generating required parameter type EGLSyncKHR -DIAG: *** Skipping type EGLSyncKHR (already declared) -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLStreamKHR -DIAG: *** Skipping type EGLStreamKHR (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglCreateStreamSyncNV -DIAG: *** PASS 2: Generating interface for EGL_NV_sync -DIAG: *** Emitting enum decl for EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV -DIAG: *** Emitting enum decl for EGL_SYNC_STATUS_NV -DIAG: *** Emitting enum decl for EGL_SIGNALED_NV -DIAG: *** Emitting enum decl for EGL_UNSIGNALED_NV -DIAG: *** Emitting enum decl for EGL_SYNC_FLUSH_COMMANDS_BIT_NV -DIAG: *** Emitting enum decl for EGL_FOREVER_NV -DIAG: *** Emitting enum decl for EGL_ALREADY_SIGNALED_NV -DIAG: *** Emitting enum decl for EGL_TIMEOUT_EXPIRED_NV -DIAG: *** Emitting enum decl for EGL_CONDITION_SATISFIED_NV -DIAG: *** Emitting enum decl for EGL_SYNC_TYPE_NV -DIAG: *** Emitting enum decl for EGL_SYNC_CONDITION_NV -DIAG: *** Emitting enum decl for EGL_SYNC_FENCE_NV -DIAG: *** Emitting enum decl for EGL_NO_SYNC_NV -DIAG: *** Generating required parameter type EGLSyncNV -DIAG: *** Emitting type decl for EGLSyncNV -DIAG: *** Generating required parameter type EGLDisplay -DIAG: *** Skipping type EGLDisplay (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglCreateFenceSyncNV -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLSyncNV -DIAG: *** Skipping type EGLSyncNV (already declared) -DIAG: *** Emitting command decl for eglDestroySyncNV -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLSyncNV -DIAG: *** Skipping type EGLSyncNV (already declared) -DIAG: *** Emitting command decl for eglFenceNV -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLSyncNV -DIAG: *** Skipping type EGLSyncNV (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLTimeNV -DIAG: *** Generating required dependent type khrplatform -DIAG: *** Skipping type khrplatform (already declared) -DIAG: *** Emitting type decl for EGLTimeNV -DIAG: *** Emitting command decl for eglClientWaitSyncNV -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLSyncNV -DIAG: *** Skipping type EGLSyncNV (already declared) -DIAG: *** Generating required parameter type EGLenum -DIAG: *** Skipping type EGLenum (already declared) -DIAG: *** Emitting command decl for eglSignalSyncNV -DIAG: *** Generating required parameter type EGLBoolean -DIAG: *** Skipping type EGLBoolean (already declared) -DIAG: *** Generating required parameter type EGLSyncNV -DIAG: *** Skipping type EGLSyncNV (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Generating required parameter type EGLint -DIAG: *** Skipping type EGLint (already declared) -DIAG: *** Emitting command decl for eglGetSyncAttribNV -DIAG: *** PASS 2: Generating interface for EGL_NV_system_time -DIAG: *** Generating required parameter type EGLuint64NV -DIAG: *** Generating required dependent type khrplatform -DIAG: *** Skipping type khrplatform (already declared) -DIAG: *** Emitting type decl for EGLuint64NV -DIAG: *** Emitting command decl for eglGetSystemTimeFrequencyNV -DIAG: *** Generating required parameter type EGLuint64NV -DIAG: *** Skipping type EGLuint64NV (already declared) -DIAG: *** Emitting command decl for eglGetSystemTimeNV -DIAG: *** PASS 2: Generating interface for EGL_TIZEN_image_native_buffer -DIAG: *** Emitting enum decl for EGL_NATIVE_BUFFER_TIZEN -DIAG: *** PASS 2: Generating interface for EGL_TIZEN_image_native_surface -DIAG: *** Emitting enum decl for EGL_NATIVE_SURFACE_TIZEN diff --git a/khronos/repository/api/egl.xml b/khronos/repository/api/egl.xml deleted file mode 100644 index 9375101..0000000 --- a/khronos/repository/api/egl.xml +++ /dev/null @@ -1,2495 +0,0 @@ - - - - - - - - - #include <KHR/khrplatform.h> - #include <EGL/eglplatform.h> - - - - - - - - - - - - - - typedef unsigned int EGLBoolean; - typedef unsigned int EGLenum; - typedef intptr_t EGLAttribKHR; - typedef intptr_t EGLAttrib; - typedef void *EGLClientBuffer; - typedef void *EGLConfig; - typedef void *EGLContext; - typedef void *EGLDeviceEXT; - typedef void *EGLDisplay; - typedef void *EGLImage; - typedef void *EGLImageKHR; - typedef void *EGLLabelKHR; - typedef void *EGLObjectKHR; - typedef void *EGLOutputLayerEXT; - typedef void *EGLOutputPortEXT; - typedef void *EGLStreamKHR; - typedef void *EGLSurface; - typedef void *EGLSync; - typedef void *EGLSyncKHR; - typedef void *EGLSyncNV; - typedef void (*__eglMustCastToProperFunctionPointerType)(void); - typedef khronos_utime_nanoseconds_t EGLTimeKHR; - typedef khronos_utime_nanoseconds_t EGLTime; - typedef khronos_utime_nanoseconds_t EGLTimeNV; - typedef khronos_utime_nanoseconds_t EGLuint64NV; - typedef khronos_uint64_t EGLuint64KHR; - typedef int EGLNativeFileDescriptorKHR; - typedef khronos_ssize_t EGLsizeiANDROID; - typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize); - typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize); - struct EGLClientPixmapHI { - void *pData; - EGLint iWidth; - EGLint iHeight; - EGLint iStride; -}; - typedef void ( *EGLDEBUGPROCKHR)(EGLenum error,const char *command,EGLint messageType,EGLLabelKHR threadLabel,EGLLabelKHR objectLabel,const char* message); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - EGLBoolean eglBindAPI - EGLenum api - - - EGLBoolean eglBindTexImage - EGLDisplay dpy - EGLSurface surface - EGLint buffer - - - EGLBoolean eglChooseConfig - EGLDisplay dpy - const EGLint *attrib_list - EGLConfig *configs - EGLint config_size - EGLint *num_config - - - EGLint eglClientWaitSync - EGLDisplay dpy - EGLSync sync - EGLint flags - EGLTime timeout - - - EGLint eglClientWaitSyncKHR - EGLDisplay dpy - EGLSyncKHR sync - EGLint flags - EGLTimeKHR timeout - - - - EGLint eglClientWaitSyncNV - EGLSyncNV sync - EGLint flags - EGLTimeNV timeout - - - EGLBoolean eglCopyBuffers - EGLDisplay dpy - EGLSurface surface - EGLNativePixmapType target - - - EGLContext eglCreateContext - EGLDisplay dpy - EGLConfig config - EGLContext share_context - const EGLint *attrib_list - - - EGLImageKHR eglCreateDRMImageMESA - EGLDisplay dpy - const EGLint *attrib_list - - - EGLSyncNV eglCreateFenceSyncNV - EGLDisplay dpy - EGLenum condition - const EGLint *attrib_list - - - EGLImage eglCreateImage - EGLDisplay dpy - EGLContext ctx - EGLenum target - EGLClientBuffer buffer - const EGLAttrib *attrib_list - - - EGLImageKHR eglCreateImageKHR - EGLDisplay dpy - EGLContext ctx - EGLenum target - EGLClientBuffer buffer - const EGLint *attrib_list - - - EGLSurface eglCreatePbufferFromClientBuffer - EGLDisplay dpy - EGLenum buftype - EGLClientBuffer buffer - EGLConfig config - const EGLint *attrib_list - - - EGLSurface eglCreatePbufferSurface - EGLDisplay dpy - EGLConfig config - const EGLint *attrib_list - - - EGLSurface eglCreatePixmapSurface - EGLDisplay dpy - EGLConfig config - EGLNativePixmapType pixmap - const EGLint *attrib_list - - - EGLSurface eglCreatePixmapSurfaceHI - EGLDisplay dpy - EGLConfig config - struct EGLClientPixmapHI *pixmap - - - EGLSurface eglCreatePlatformPixmapSurface - EGLDisplay dpy - EGLConfig config - void *native_pixmap - const EGLAttrib *attrib_list - - - EGLSurface eglCreatePlatformPixmapSurfaceEXT - EGLDisplay dpy - EGLConfig config - void *native_pixmap - const EGLint *attrib_list - - - EGLSurface eglCreatePlatformWindowSurface - EGLDisplay dpy - EGLConfig config - void *native_window - const EGLAttrib *attrib_list - - - EGLSurface eglCreatePlatformWindowSurfaceEXT - EGLDisplay dpy - EGLConfig config - void *native_window - const EGLint *attrib_list - - - EGLStreamKHR eglCreateStreamFromFileDescriptorKHR - EGLDisplay dpy - EGLNativeFileDescriptorKHR file_descriptor - - - EGLStreamKHR eglCreateStreamKHR - EGLDisplay dpy - const EGLint *attrib_list - - - EGLSurface eglCreateStreamProducerSurfaceKHR - EGLDisplay dpy - EGLConfig config - EGLStreamKHR stream - const EGLint *attrib_list - - - EGLSyncKHR eglCreateStreamSyncNV - EGLDisplay dpy - EGLStreamKHR stream - EGLenum type - const EGLint *attrib_list - - - EGLSync eglCreateSync - EGLDisplay dpy - EGLenum type - const EGLAttrib *attrib_list - - - EGLSyncKHR eglCreateSyncKHR - EGLDisplay dpy - EGLenum type - const EGLint *attrib_list - - - EGLSyncKHR eglCreateSync64KHR - EGLDisplay dpy - EGLenum type - const EGLAttribKHR *attrib_list - - - - EGLSurface eglCreateWindowSurface - EGLDisplay dpy - EGLConfig config - EGLNativeWindowType win - const EGLint *attrib_list - - - EGLint eglDebugMessageControlKHR - EGLDEBUGPROCKHR callback - const EGLAttrib *attrib_list - - - EGLBoolean eglDestroyContext - EGLDisplay dpy - EGLContext ctx - - - EGLBoolean eglDestroyImage - EGLDisplay dpy - EGLImage image - - - EGLBoolean eglDestroyImageKHR - EGLDisplay dpy - EGLImageKHR image - - - - EGLBoolean eglDestroyStreamKHR - EGLDisplay dpy - EGLStreamKHR stream - - - EGLBoolean eglDestroySurface - EGLDisplay dpy - EGLSurface surface - - - EGLBoolean eglDestroySync - EGLDisplay dpy - EGLSync sync - - - EGLBoolean eglDestroySyncKHR - EGLDisplay dpy - EGLSyncKHR sync - - - - EGLBoolean eglDestroySyncNV - EGLSyncNV sync - - - EGLint eglDupNativeFenceFDANDROID - EGLDisplay dpy - EGLSyncKHR sync - - - EGLBoolean eglExportDMABUFImageMESA - EGLDisplay dpy - EGLImageKHR image - int *fds - EGLint *strides - EGLint *offsets - - - EGLBoolean eglExportDMABUFImageQueryMESA - EGLDisplay dpy - EGLImageKHR image - int *fourcc - int *num_planes - EGLuint64KHR *modifiers - - - EGLBoolean eglExportDRMImageMESA - EGLDisplay dpy - EGLImageKHR image - EGLint *name - EGLint *handle - EGLint *stride - - - EGLBoolean eglFenceNV - EGLSyncNV sync - - - EGLBoolean eglGetConfigAttrib - EGLDisplay dpy - EGLConfig config - EGLint attribute - EGLint *value - - - EGLBoolean eglGetConfigs - EGLDisplay dpy - EGLConfig *configs - EGLint config_size - EGLint *num_config - - - EGLContext eglGetCurrentContext - - - EGLDisplay eglGetCurrentDisplay - - - EGLSurface eglGetCurrentSurface - EGLint readdraw - - - EGLDisplay eglGetDisplay - EGLNativeDisplayType display_id - - - EGLint eglGetError - - - EGLBoolean eglGetOutputLayersEXT - EGLDisplay dpy - const EGLAttrib *attrib_list - EGLOutputLayerEXT *layers - EGLint max_layers - EGLint *num_layers - - - EGLBoolean eglGetOutputPortsEXT - EGLDisplay dpy - const EGLAttrib *attrib_list - EGLOutputPortEXT *ports - EGLint max_ports - EGLint *num_ports - - - EGLDisplay eglGetPlatformDisplay - EGLenum platform - void *native_display - const EGLAttrib *attrib_list - - - EGLDisplay eglGetPlatformDisplayEXT - EGLenum platform - void *native_display - const EGLint *attrib_list - - - __eglMustCastToProperFunctionPointerType eglGetProcAddress - const char *procname - - - EGLNativeFileDescriptorKHR eglGetStreamFileDescriptorKHR - EGLDisplay dpy - EGLStreamKHR stream - - - EGLBoolean eglGetSyncAttrib - EGLDisplay dpy - EGLSync sync - EGLint attribute - EGLAttrib *value - - - EGLBoolean eglGetSyncAttribKHR - EGLDisplay dpy - EGLSyncKHR sync - EGLint attribute - EGLint *value - - - EGLBoolean eglGetSyncAttribNV - EGLSyncNV sync - EGLint attribute - EGLint *value - - - EGLuint64NV eglGetSystemTimeFrequencyNV - - - EGLuint64NV eglGetSystemTimeNV - - - EGLBoolean eglInitialize - EGLDisplay dpy - EGLint *major - EGLint *minor - - - EGLint eglLabelObjectKHR - EGLDisplay display - EGLenum objectType - EGLObjectKHR object - EGLLabelKHR label - - - EGLBoolean eglLockSurfaceKHR - EGLDisplay dpy - EGLSurface surface - const EGLint *attrib_list - - - EGLBoolean eglMakeCurrent - EGLDisplay dpy - EGLSurface draw - EGLSurface read - EGLContext ctx - - - EGLBoolean eglOutputLayerAttribEXT - EGLDisplay dpy - EGLOutputLayerEXT layer - EGLint attribute - EGLAttrib value - - - EGLBoolean eglOutputPortAttribEXT - EGLDisplay dpy - EGLOutputPortEXT port - EGLint attribute - EGLAttrib value - - - EGLBoolean eglPostSubBufferNV - EGLDisplay dpy - EGLSurface surface - EGLint x - EGLint y - EGLint width - EGLint height - - - EGLenum eglQueryAPI - - - EGLBoolean eglQueryContext - EGLDisplay dpy - EGLContext ctx - EGLint attribute - EGLint *value - - - EGLBoolean eglQueryDebugKHR - EGLint attribute - EGLAttrib *value - - - EGLBoolean eglQueryDeviceAttribEXT - EGLDeviceEXT device - EGLint attribute - EGLAttrib *value - - - const char *eglQueryDeviceStringEXT - EGLDeviceEXT device - EGLint name - - - EGLBoolean eglQueryDevicesEXT - EGLint max_devices - EGLDeviceEXT *devices - EGLint *num_devices - - - EGLBoolean eglQueryDisplayAttribEXT - EGLDisplay dpy - EGLint attribute - EGLAttrib *value - - - EGLBoolean eglQueryDisplayAttribNV - EGLDisplay dpy - EGLint attribute - EGLAttrib *value - - - - EGLBoolean eglQueryNativeDisplayNV - EGLDisplay dpy - EGLNativeDisplayType *display_id - - - EGLBoolean eglQueryNativePixmapNV - EGLDisplay dpy - EGLSurface surf - EGLNativePixmapType *pixmap - - - EGLBoolean eglQueryNativeWindowNV - EGLDisplay dpy - EGLSurface surf - EGLNativeWindowType *window - - - EGLBoolean eglQueryOutputLayerAttribEXT - EGLDisplay dpy - EGLOutputLayerEXT layer - EGLint attribute - EGLAttrib *value - - - const char *eglQueryOutputLayerStringEXT - EGLDisplay dpy - EGLOutputLayerEXT layer - EGLint name - - - EGLBoolean eglQueryOutputPortAttribEXT - EGLDisplay dpy - EGLOutputPortEXT port - EGLint attribute - EGLAttrib *value - - - const char *eglQueryOutputPortStringEXT - EGLDisplay dpy - EGLOutputPortEXT port - EGLint name - - - EGLBoolean eglQueryStreamKHR - EGLDisplay dpy - EGLStreamKHR stream - EGLenum attribute - EGLint *value - - - EGLBoolean eglQueryStreamMetadataNV - EGLDisplay dpy - EGLStreamKHR stream - EGLenum name - EGLint n - EGLint offset - EGLint size - void *data - - - EGLBoolean eglQueryStreamTimeKHR - EGLDisplay dpy - EGLStreamKHR stream - EGLenum attribute - EGLTimeKHR *value - - - EGLBoolean eglQueryStreamu64KHR - EGLDisplay dpy - EGLStreamKHR stream - EGLenum attribute - EGLuint64KHR *value - - - const char *eglQueryString - EGLDisplay dpy - EGLint name - - - EGLBoolean eglQuerySurface - EGLDisplay dpy - EGLSurface surface - EGLint attribute - EGLint *value - - - EGLBoolean eglQuerySurface64KHR - EGLDisplay dpy - EGLSurface surface - EGLint attribute - EGLAttribKHR *value - - - EGLBoolean eglQuerySurfacePointerANGLE - EGLDisplay dpy - EGLSurface surface - EGLint attribute - void **value - - - EGLBoolean eglReleaseTexImage - EGLDisplay dpy - EGLSurface surface - EGLint buffer - - - EGLBoolean eglReleaseThread - - - void eglSetBlobCacheFuncsANDROID - EGLDisplay dpy - EGLSetBlobFuncANDROID set - EGLGetBlobFuncANDROID get - - - EGLBoolean eglSetDamageRegionKHR - EGLDisplay dpy - EGLSurface surface - EGLint *rects - EGLint n_rects - - - EGLBoolean eglSetStreamMetadataNV - EGLDisplay dpy - EGLStreamKHR stream - EGLint n - EGLint offset - EGLint size - const void *data - - - EGLBoolean eglSignalSyncKHR - EGLDisplay dpy - EGLSyncKHR sync - EGLenum mode - - - EGLBoolean eglSignalSyncNV - EGLSyncNV sync - EGLenum mode - - - EGLBoolean eglStreamAttribKHR - EGLDisplay dpy - EGLStreamKHR stream - EGLenum attribute - EGLint value - - - EGLBoolean eglStreamConsumerAcquireKHR - EGLDisplay dpy - EGLStreamKHR stream - - - EGLBoolean eglStreamConsumerGLTextureExternalKHR - EGLDisplay dpy - EGLStreamKHR stream - - - EGLBoolean eglStreamConsumerGLTextureExternalAttribsNV - EGLDisplay dpy - EGLStreamKHR stream - EGLAttrib *attrib_list - - - EGLBoolean eglStreamConsumerOutputEXT - EGLDisplay dpy - EGLStreamKHR stream - EGLOutputLayerEXT layer - - - EGLBoolean eglStreamConsumerReleaseKHR - EGLDisplay dpy - EGLStreamKHR stream - - - EGLBoolean eglSurfaceAttrib - EGLDisplay dpy - EGLSurface surface - EGLint attribute - EGLint value - - - EGLBoolean eglSwapBuffers - EGLDisplay dpy - EGLSurface surface - - - EGLBoolean eglSwapBuffersWithDamageEXT - EGLDisplay dpy - EGLSurface surface - EGLint *rects - EGLint n_rects - - - EGLBoolean eglSwapBuffersWithDamageKHR - EGLDisplay dpy - EGLSurface surface - EGLint *rects - EGLint n_rects - - - EGLBoolean eglSwapBuffersRegionNOK - EGLDisplay dpy - EGLSurface surface - EGLint numRects - const EGLint *rects - - - EGLBoolean eglSwapBuffersRegion2NOK - EGLDisplay dpy - EGLSurface surface - EGLint numRects - const EGLint *rects - - - EGLBoolean eglSwapInterval - EGLDisplay dpy - EGLint interval - - - EGLBoolean eglTerminate - EGLDisplay dpy - - - EGLBoolean eglUnlockSurfaceKHR - EGLDisplay dpy - EGLSurface surface - - - EGLBoolean eglWaitClient - - - EGLBoolean eglWaitGL - - - EGLBoolean eglWaitNative - EGLint engine - - - EGLBoolean eglWaitSync - EGLDisplay dpy - EGLSync sync - EGLint flags - - - EGLint eglWaitSyncKHR - EGLDisplay dpy - EGLSyncKHR sync - EGLint flags - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/khronos/repository/api/genheaders.py b/khronos/repository/api/genheaders.py deleted file mode 100644 index fef79ea..0000000 --- a/khronos/repository/api/genheaders.py +++ /dev/null @@ -1,578 +0,0 @@ -#!/usr/bin/env python -# -# Copyright (c) 2013-2015 The Khronos Group Inc. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and/or associated documentation files (the -# "Materials"), to deal in the Materials without restriction, including -# without limitation the rights to use, copy, modify, merge, publish, -# distribute, sublicense, and/or sell copies of the Materials, and to -# permit persons to whom the Materials are furnished to do so, subject to -# the following conditions: -# -# The above copyright notice and this permission notice shall be included -# in all copies or substantial portions of the Materials. -# -# THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -# MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. - -import sys, time, pdb, string, cProfile -from reg import * - -# debug - start header generation in debugger -# dump - dump registry after loading -# profile - enable Python profiling -# protect - whether to use #ifndef protections -# registry - use specified XML registry instead of gl.xml -# target - string name of target header, or all targets if None -# timeit - time length of registry loading & header generation -# validate - validate return & parameter group tags against -debug = False -dump = False -profile = False -protect = True -target = None -timeit = False -validate= False -# Default input / log files -errFilename = None -diagFilename = 'diag.txt' -regFilename = 'gl.xml' - -if __name__ == '__main__': - i = 1 - while (i < len(sys.argv)): - arg = sys.argv[i] - i = i + 1 - if (arg == '-debug'): - write('Enabling debug (-debug)', file=sys.stderr) - debug = True - elif (arg == '-dump'): - write('Enabling dump (-dump)', file=sys.stderr) - dump = True - elif (arg == '-noprotect'): - write('Disabling inclusion protection in output headers', file=sys.stderr) - protect = False - elif (arg == '-profile'): - write('Enabling profiling (-profile)', file=sys.stderr) - profile = True - elif (arg == '-registry'): - regFilename = sys.argv[i] - i = i+1 - write('Using registry ', regFilename, file=sys.stderr) - elif (arg == '-time'): - write('Enabling timing (-time)', file=sys.stderr) - timeit = True - elif (arg == '-validate'): - write('Enabling group validation (-validate)', file=sys.stderr) - validate = True - elif (arg[0:1] == '-'): - write('Unrecognized argument:', arg, file=sys.stderr) - exit(1) - else: - target = arg - write('Using target', target, file=sys.stderr) - -# Simple timer functions -startTime = None -def startTimer(): - global startTime - startTime = time.clock() -def endTimer(msg): - global startTime - endTime = time.clock() - if (timeit): - write(msg, endTime - startTime) - startTime = None - -# Load & parse registry -reg = Registry() - -startTimer() -tree = etree.parse(regFilename) -endTimer('Time to make ElementTree =') - -startTimer() -reg.loadElementTree(tree) -endTimer('Time to parse ElementTree =') - -if (validate): - reg.validateGroups() - -if (dump): - write('***************************************') - write('Performing Registry dump to regdump.txt') - write('***************************************') - reg.dumpReg(filehandle = open('regdump.txt','w')) - -# Turn a list of strings into a regexp string matching exactly those strings -def makeREstring(list): - return '^(' + '|'.join(list) + ')$' - -# These are "mandatory" OpenGL ES 1 extensions, to -# be included in the core GLES/gl.h header. -es1CoreList = [ - 'GL_OES_read_format', - 'GL_OES_compressed_paletted_texture', - 'GL_OES_point_size_array', - 'GL_OES_point_sprite' -] - -# Descriptive names for various regexp patterns used to select -# versions and extensions - -allVersions = allExtensions = '.*' -noVersions = noExtensions = None -gl12andLaterPat = '1\.[2-9]|[234]\.[0-9]' -gles2onlyPat = '2\.[0-9]' -gles2and30Pat = '2\.[0-9]|3.0' -gles2and30and31Pat = '2.[0-9]|3.[01]' -es1CorePat = makeREstring(es1CoreList) -# Extensions in old glcorearb.h but not yet tagged accordingly in gl.xml -glCoreARBPat = None -glx13andLaterPat = '1\.[3-9]' - -# Copyright text prefixing all headers (list of strings). -prefixStrings = [ - '/*', - '** Copyright (c) 2013-2015 The Khronos Group Inc.', - '**', - '** Permission is hereby granted, free of charge, to any person obtaining a', - '** copy of this software and/or associated documentation files (the', - '** "Materials"), to deal in the Materials without restriction, including', - '** without limitation the rights to use, copy, modify, merge, publish,', - '** distribute, sublicense, and/or sell copies of the Materials, and to', - '** permit persons to whom the Materials are furnished to do so, subject to', - '** the following conditions:', - '**', - '** The above copyright notice and this permission notice shall be included', - '** in all copies or substantial portions of the Materials.', - '**', - '** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,', - '** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF', - '** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.', - '** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY', - '** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,', - '** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE', - '** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.', - '*/', - '/*', - '** This header is generated from the Khronos OpenGL / OpenGL ES XML', - '** API Registry. The current version of the Registry, generator scripts', - '** used to make the header, and the header can be found at', - '** http://www.opengl.org/registry/', - '**', - '** Khronos $' + 'Revision$ on $' + 'Date$', - '*/', - '' -] - -# glext.h / glcorearb.h define calling conventions inline (no GL *platform.h) -glExtPlatformStrings = [ - '#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)', - '#ifndef WIN32_LEAN_AND_MEAN', - '#define WIN32_LEAN_AND_MEAN 1', - '#endif', - '#include ', - '#endif', - '', - '#ifndef APIENTRY', - '#define APIENTRY', - '#endif', - '#ifndef APIENTRYP', - '#define APIENTRYP APIENTRY *', - '#endif', - '#ifndef GLAPI', - '#define GLAPI extern', - '#endif', - '' -] - -glCorearbPlatformStrings = glExtPlatformStrings + [ - '/* glcorearb.h is for use with OpenGL core profile implementations.', - '** It should should be placed in the same directory as gl.h and', - '** included as .', - '**', - '** glcorearb.h includes only APIs in the latest OpenGL core profile', - '** implementation together with APIs in newer ARB extensions which ', - '** can be supported by the core profile. It does not, and never will', - '** include functionality removed from the core profile, such as', - '** fixed-function vertex and fragment processing.', - '**', - '** Do not #include both and either of or', - '** in the same source file.', - '*/', - '' -] - -# wglext.h needs Windows include -wglPlatformStrings = [ - '#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)', - '#define WIN32_LEAN_AND_MEAN 1', - '#include ', - '#endif', - '', -] - -# GLES 1/2/3 core .h have separate *platform.h files to define calling conventions -gles1PlatformStrings = [ '#include ', '' ] -gles2PlatformStrings = [ '#include ', '' ] -gles3PlatformStrings = [ '#include ', '' ] -eglPlatformStrings = [ '#include ', '' ] - -# GLES headers have a small addition to calling convention headers for function pointer typedefs -apiEntryPrefixStrings = [ - '#ifndef GL_APIENTRYP', - '#define GL_APIENTRYP GL_APIENTRY*', - '#endif', - '' -] - -# Insert generation date in a comment for headers not having *GLEXT_VERSION macros -genDateCommentString = [ - format("/* Generated on date %s */" % time.strftime("%Y%m%d")), - '' -] - -# GL_GLEXT_VERSION is defined only in glext.h -glextVersionStrings = [ - format("#define GL_GLEXT_VERSION %s" % time.strftime("%Y%m%d")), - '' -] -# WGL_WGLEXT_VERSION is defined only in wglext.h -wglextVersionStrings = [ - format("#define WGL_WGLEXT_VERSION %s" % time.strftime("%Y%m%d")), - '' -] -# GLX_GLXEXT_VERSION is defined only in glxext.h -glxextVersionStrings = [ - format("#define GLX_GLXEXT_VERSION %s" % time.strftime("%Y%m%d")), - '' -] -# EGL_EGLEXT_VERSION is defined only in eglext.h -eglextVersionStrings = [ - format("#define EGL_EGLEXT_VERSION %s" % time.strftime("%Y%m%d")), - '' -] - -# Defaults for generating re-inclusion protection wrappers (or not) -protectFile = protect -protectFeature = protect -protectProto = protect - -buildList = [ - # GL API 1.2+ + extensions - GL/glext.h - CGeneratorOptions( - filename = 'GL/glext.h', - apiname = 'gl', - profile = 'compatibility', - versions = allVersions, - emitversions = gl12andLaterPat, - defaultExtensions = 'gl', # Default extensions for GL - addExtensions = None, - removeExtensions = None, - prefixText = prefixStrings + glExtPlatformStrings + glextVersionStrings, - genFuncPointers = True, - protectFile = protectFile, - protectFeature = protectFeature, - protectProto = protectProto, - protectProtoStr = 'GL_GLEXT_PROTOTYPES', - apicall = 'GLAPI ', - apientry = 'APIENTRY ', - apientryp = 'APIENTRYP '), - # GL core profile + extensions - GL/glcorearb.h - CGeneratorOptions( - filename = 'GL/glcorearb.h', - apiname = 'gl', - profile = 'core', - versions = allVersions, - emitversions = allVersions, - defaultExtensions = 'glcore', # Default extensions for GL core profile (only) - addExtensions = glCoreARBPat, - removeExtensions = None, - prefixText = prefixStrings + glCorearbPlatformStrings, - genFuncPointers = True, - protectFile = protectFile, - protectFeature = protectFeature, - protectProto = protectProto, - protectProtoStr = 'GL_GLEXT_PROTOTYPES', - apicall = 'GLAPI ', - apientry = 'APIENTRY ', - apientryp = 'APIENTRYP '), - # GLES 1.x API + mandatory extensions - GLES/gl.h (no function pointers) - CGeneratorOptions( - filename = 'GLES/gl.h', - apiname = 'gles1', - profile = 'common', - versions = allVersions, - emitversions = allVersions, - defaultExtensions = None, # No default extensions - addExtensions = es1CorePat, # Add mandatory ES1 extensions in GLES1/gl.h - removeExtensions = None, - prefixText = prefixStrings + gles1PlatformStrings + genDateCommentString, - genFuncPointers = False, - protectFile = protectFile, - protectFeature = protectFeature, - protectProto = False, # Core ES API functions are in the static link libraries - protectProtoStr = 'GL_GLEXT_PROTOTYPES', - apicall = 'GL_API ', - apientry = 'GL_APIENTRY ', - apientryp = 'GL_APIENTRYP '), - # GLES 1.x extensions - GLES/glext.h - CGeneratorOptions( - filename = 'GLES/glext.h', - apiname = 'gles1', - profile = 'common', - versions = allVersions, - emitversions = noVersions, - defaultExtensions = 'gles1', # Default extensions for GLES 1 - addExtensions = None, - removeExtensions = es1CorePat, # Remove mandatory ES1 extensions in GLES1/glext.h - prefixText = prefixStrings + apiEntryPrefixStrings + genDateCommentString, - genFuncPointers = True, - protectFile = protectFile, - protectFeature = protectFeature, - protectProto = protectProto, - protectProtoStr = 'GL_GLEXT_PROTOTYPES', - apicall = 'GL_API ', - apientry = 'GL_APIENTRY ', - apientryp = 'GL_APIENTRYP '), - # GLES 2.0 API - GLES2/gl2.h (now with function pointers) - CGeneratorOptions( - filename = 'GLES2/gl2.h', - apiname = 'gles2', - profile = 'common', - versions = gles2onlyPat, - emitversions = allVersions, - defaultExtensions = None, # No default extensions - addExtensions = None, - removeExtensions = None, - prefixText = prefixStrings + gles2PlatformStrings + apiEntryPrefixStrings + genDateCommentString, - genFuncPointers = True, - protectFile = protectFile, - protectFeature = protectFeature, - protectProto = protectProto, # Core ES API functions are in the static link libraries - protectProtoStr = 'GL_GLEXT_PROTOTYPES', - apicall = 'GL_APICALL ', - apientry = 'GL_APIENTRY ', - apientryp = 'GL_APIENTRYP '), - # GLES 3.1 / 3.0 / 2.0 extensions - GLES2/gl2ext.h - CGeneratorOptions( - filename = 'GLES2/gl2ext.h', - apiname = 'gles2', - profile = 'common', - versions = gles2onlyPat, - emitversions = None, - defaultExtensions = 'gles2', # Default extensions for GLES 2 - addExtensions = None, - removeExtensions = None, - prefixText = prefixStrings + apiEntryPrefixStrings + genDateCommentString, - genFuncPointers = True, - protectFile = protectFile, - protectFeature = protectFeature, - protectProto = protectProto, - protectProtoStr = 'GL_GLEXT_PROTOTYPES', - apicall = 'GL_APICALL ', - apientry = 'GL_APIENTRY ', - apientryp = 'GL_APIENTRYP '), - # GLES 3.1 API - GLES3/gl31.h (now with function pointers) - CGeneratorOptions( - filename = 'GLES3/gl31.h', - apiname = 'gles2', - profile = 'common', - versions = gles2and30and31Pat, - emitversions = allVersions, - defaultExtensions = None, # No default extensions - addExtensions = None, - removeExtensions = None, - prefixText = prefixStrings + gles3PlatformStrings + apiEntryPrefixStrings + genDateCommentString, - genFuncPointers = True, - protectFile = protectFile, - protectFeature = protectFeature, - protectProto = protectProto, # Core ES API functions are in the static link libraries - protectProtoStr = 'GL_GLEXT_PROTOTYPES', - apicall = 'GL_APICALL ', - apientry = 'GL_APIENTRY ', - apientryp = 'GL_APIENTRYP '), - # GLES 3.0 API - GLES3/gl3.h (now with function pointers) - CGeneratorOptions( - filename = 'GLES3/gl3.h', - apiname = 'gles2', - profile = 'common', - versions = gles2and30Pat, - emitversions = allVersions, - defaultExtensions = None, # No default extensions - addExtensions = None, - removeExtensions = None, - prefixText = prefixStrings + gles3PlatformStrings + apiEntryPrefixStrings + genDateCommentString, - genFuncPointers = True, - protectFile = protectFile, - protectFeature = protectFeature, - protectProto = protectProto, # Core ES API functions are in the static link libraries - protectProtoStr = 'GL_GLEXT_PROTOTYPES', - apicall = 'GL_APICALL ', - apientry = 'GL_APIENTRY ', - apientryp = 'GL_APIENTRYP '), - # EGL API - EGL/egl.h (no function pointers, yet @@@) - CGeneratorOptions( - filename = 'EGL/egl.h', - apiname = 'egl', - profile = None, - versions = allVersions, - emitversions = allVersions, - defaultExtensions = None, # No default extensions - addExtensions = None, - removeExtensions = None, - prefixText = prefixStrings + eglPlatformStrings + genDateCommentString, - genFuncPointers = False, - protectFile = protectFile, - protectFeature = protectFeature, - protectProto = False, - protectProtoStr = 'EGL_EGLEXT_PROTOTYPES', - apicall = 'EGLAPI ', - apientry = 'EGLAPIENTRY ', - apientryp = 'EGLAPIENTRYP '), - # EGL extensions - EGL/eglext.h (no function pointers, yet @@@) - CGeneratorOptions( - filename = 'EGL/eglext.h', - apiname = 'egl', - profile = None, - versions = allVersions, - emitversions = None, - defaultExtensions = 'egl', # Default extensions for EGL - addExtensions = None, - removeExtensions = None, - prefixText = prefixStrings + eglPlatformStrings + eglextVersionStrings, - genFuncPointers = True, - protectFile = protectFile, - protectFeature = protectFeature, - protectProto = protectProto, - protectProtoStr = 'EGL_EGLEXT_PROTOTYPES', - apicall = 'EGLAPI ', - apientry = 'EGLAPIENTRY ', - apientryp = 'EGLAPIENTRYP '), - # GLX 1.* API - GL/glx.h - CGeneratorOptions( - filename = 'GL/glx.h', - apiname = 'glx', - profile = None, - versions = allVersions, - emitversions = allVersions, - defaultExtensions = None, # No default extensions - addExtensions = None, - removeExtensions = None, - # add glXPlatformStrings? - prefixText = prefixStrings + genDateCommentString, - genFuncPointers = True, - protectFile = protectFile, - protectFeature = protectFeature, - protectProto = protectProto, - protectProtoStr = 'GLX_GLXEXT_PROTOTYPES', - apicall = '', - apientry = '', - apientryp = ' *'), - # GLX 1.3+ API + extensions - GL/glxext.h (no function pointers, yet @@@) - CGeneratorOptions( - filename = 'GL/glxext.h', - apiname = 'glx', - profile = None, - versions = allVersions, - emitversions = glx13andLaterPat, - defaultExtensions = 'glx', # Default extensions for GLX - addExtensions = None, - removeExtensions = None, - # add glXPlatformStrings? - prefixText = prefixStrings + glxextVersionStrings, - genFuncPointers = True, - protectFile = protectFile, - protectFeature = protectFeature, - protectProto = protectProto, - protectProtoStr = 'GLX_GLXEXT_PROTOTYPES', - apicall = '', - apientry = '', - apientryp = ' *'), - # WGL API + extensions - GL/wgl.h (no function pointers, yet @@@) - CGeneratorOptions( - filename = 'GL/wgl.h', - apiname = 'wgl', - profile = None, - versions = allVersions, - emitversions = allVersions, - defaultExtensions = 'wgl', # Default extensions for WGL - addExtensions = None, - removeExtensions = None, - prefixText = prefixStrings + wglPlatformStrings + genDateCommentString, - genFuncPointers = True, - protectFile = protectFile, - protectFeature = protectFeature, - protectProto = protectProto, - protectProtoStr = 'WGL_WGLEXT_PROTOTYPES', - apicall = '', - apientry = 'WINAPI ', - apientryp = 'WINAPI * '), - # WGL extensions - GL/wglext.h (no function pointers, yet @@@) - CGeneratorOptions( - filename = 'GL/wglext.h', - apiname = 'wgl', - profile = None, - versions = allVersions, - emitversions = None, - defaultExtensions = 'wgl', # Default extensions for WGL - addExtensions = None, - removeExtensions = None, - prefixText = prefixStrings + wglPlatformStrings + wglextVersionStrings, - genFuncPointers = True, - protectFile = protectFile, - protectFeature = protectFeature, - protectProto = protectProto, - protectProtoStr = 'WGL_WGLEXT_PROTOTYPES', - apicall = '', - apientry = 'WINAPI ', - apientryp = 'WINAPI * '), - # End of list - None -] - -# create error/warning & diagnostic files -if (errFilename): - errWarn = open(errFilename,'w') -else: - errWarn = sys.stderr -diag = open(diagFilename, 'w') - -def genHeaders(): - # Loop over targets, building each - generated = 0 - for genOpts in buildList: - if (genOpts == None): - break - if (target and target != genOpts.filename): - # write('*** Skipping', genOpts.filename) - continue - write('*** Building', genOpts.filename) - generated = generated + 1 - startTimer() - gen = COutputGenerator(errFile=errWarn, - warnFile=errWarn, - diagFile=diag) - reg.setGenerator(gen) - reg.apiGen(genOpts) - write('** Generated', genOpts.filename) - endTimer('Time to generate ' + genOpts.filename + ' =') - if (target and generated == 0): - write('Failed to generate target:', target) - -if (debug): - pdb.run('genHeaders()') -elif (profile): - import cProfile, pstats - cProfile.run('genHeaders()', 'profile.txt') - p = pstats.Stats('profile.txt') - p.strip_dirs().sort_stats('time').print_stats(50) -else: - genHeaders() diff --git a/khronos/repository/api/gl.xml b/khronos/repository/api/gl.xml deleted file mode 100644 index be231c7..0000000 --- a/khronos/repository/api/gl.xml +++ /dev/null @@ -1,46232 +0,0 @@ - - - -Copyright (c) 2013-2015 The Khronos Group Inc. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and/or associated documentation files (the -"Materials"), to deal in the Materials without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Materials, and to -permit persons to whom the Materials are furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Materials. - -THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. - ------------------------------------------------------------------------- - -This file, gl.xml, is the OpenGL and OpenGL API Registry. The older -".spec" file format has been retired and will no longer be updated with -new extensions and API versions. The canonical version of the registry, -together with documentation, schema, and Python generator scripts used -to generate C header files for OpenGL and OpenGL ES, can always be found -in the Khronos Registry at - http://www.opengl.org/registry/ - - - - - - #include <stddef.h> - #include <KHR/khrplatform.h> - #ifndef GLEXT_64_TYPES_DEFINED -/* This code block is duplicated in glxext.h, so must be protected */ -#define GLEXT_64_TYPES_DEFINED -/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ -/* (as used in the GL_EXT_timer_query extension). */ -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -#include <inttypes.h> -#elif defined(__sun__) || defined(__digital__) -#include <inttypes.h> -#if defined(__STDC__) -#if defined(__arch64__) || defined(_LP64) -typedef long int int64_t; -typedef unsigned long int uint64_t; -#else -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#endif /* __arch64__ */ -#endif /* __STDC__ */ -#elif defined( __VMS ) || defined(__sgi) -#include <inttypes.h> -#elif defined(__SCO__) || defined(__USLC__) -#include <stdint.h> -#elif defined(__UNIXOS2__) || defined(__SOL64__) -typedef long int int32_t; -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#elif defined(_WIN32) && defined(__GNUC__) -#include <stdint.h> -#elif defined(_WIN32) -typedef __int32 int32_t; -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -#else -/* Fallback if nothing above works */ -#include <inttypes.h> -#endif -#endif - - typedef unsigned int GLenum; - typedef unsigned char GLboolean; - typedef unsigned int GLbitfield; - typedef void GLvoid; - typedef signed char GLbyte; - typedef short GLshort; - typedef int GLint; - typedef int GLclampx; - typedef unsigned char GLubyte; - typedef unsigned short GLushort; - typedef unsigned int GLuint; - typedef int GLsizei; - typedef float GLfloat; - typedef float GLclampf; - typedef double GLdouble; - typedef double GLclampd; - typedef void *GLeglImageOES; - typedef char GLchar; - typedef char GLcharARB; - #ifdef __APPLE__ -typedef void *GLhandleARB; -#else -typedef unsigned int GLhandleARB; -#endif - typedef unsigned short GLhalfARB; - typedef unsigned short GLhalf; - typedef GLint GLfixed; - typedef ptrdiff_t GLintptr; - typedef ptrdiff_t GLsizeiptr; - typedef int64_t GLint64; - typedef uint64_t GLuint64; - typedef ptrdiff_t GLintptrARB; - typedef ptrdiff_t GLsizeiptrARB; - typedef int64_t GLint64EXT; - typedef uint64_t GLuint64EXT; - typedef struct __GLsync *GLsync; - struct _cl_context; - struct _cl_event; - typedef void ( *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); - typedef void ( *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); - typedef void ( *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); - - typedef khronos_int32_t GLclampx; - - typedef khronos_int8_t GLbyte; - typedef khronos_uint8_t GLubyte; - typedef khronos_float_t GLfloat; - typedef khronos_float_t GLclampf; - typedef khronos_int32_t GLfixed; - typedef khronos_int64_t GLint64; - typedef khronos_uint64_t GLuint64; - typedef khronos_intptr_t GLintptr; - typedef khronos_ssize_t GLsizeiptr; - - typedef khronos_int8_t GLbyte; - typedef khronos_uint8_t GLubyte; - typedef khronos_float_t GLfloat; - typedef khronos_float_t GLclampf; - typedef khronos_int32_t GLfixed; - typedef khronos_int64_t GLint64; - typedef khronos_uint64_t GLuint64; - typedef khronos_int64_t GLint64EXT; - typedef khronos_uint64_t GLuint64EXT; - typedef khronos_intptr_t GLintptr; - typedef khronos_ssize_t GLsizeiptr; - - - typedef void ( *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam); - typedef unsigned short GLhalfNV; - typedef GLintptr GLvdpauSurfaceNV; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void glAccum - GLenum op - GLfloat value - - - - void glAccumxOES - GLenum op - GLfixed value - - - void glActiveProgramEXT - GLuint program - - - void glActiveShaderProgram - GLuint pipeline - GLuint program - - - void glActiveShaderProgramEXT - GLuint pipeline - GLuint program - - - void glActiveStencilFaceEXT - GLenum face - - - - void glActiveTexture - GLenum texture - - - - void glActiveTextureARB - GLenum texture - - - - - void glActiveVaryingNV - GLuint program - const GLchar *name - - - void glAlphaFragmentOp1ATI - GLenum op - GLuint dst - GLuint dstMod - GLuint arg1 - GLuint arg1Rep - GLuint arg1Mod - - - void glAlphaFragmentOp2ATI - GLenum op - GLuint dst - GLuint dstMod - GLuint arg1 - GLuint arg1Rep - GLuint arg1Mod - GLuint arg2 - GLuint arg2Rep - GLuint arg2Mod - - - void glAlphaFragmentOp3ATI - GLenum op - GLuint dst - GLuint dstMod - GLuint arg1 - GLuint arg1Rep - GLuint arg1Mod - GLuint arg2 - GLuint arg2Rep - GLuint arg2Mod - GLuint arg3 - GLuint arg3Rep - GLuint arg3Mod - - - void glAlphaFunc - GLenum func - GLfloat ref - - - - void glAlphaFuncQCOM - GLenum func - GLclampf ref - - - void glAlphaFuncx - GLenum func - GLfixed ref - - - void glAlphaFuncxOES - GLenum func - GLfixed ref - - - void glApplyFramebufferAttachmentCMAAINTEL - - - void glApplyTextureEXT - GLenum mode - - - GLboolean glAreProgramsResidentNV - GLsizei n - const GLuint *programs - GLboolean *residences - - - - GLboolean glAreTexturesResident - GLsizei n - const GLuint *textures - GLboolean *residences - - - - GLboolean glAreTexturesResidentEXT - GLsizei n - const GLuint *textures - GLboolean *residences - - - - void glArrayElement - GLint i - - - void glArrayElementEXT - GLint i - - - - void glArrayObjectATI - GLenum array - GLint size - GLenum type - GLsizei stride - GLuint buffer - GLuint offset - - - void glAsyncMarkerSGIX - GLuint marker - - - void glAttachObjectARB - GLhandleARB containerObj - GLhandleARB obj - - - - void glAttachShader - GLuint program - GLuint shader - - - void glBegin - GLenum mode - - - - void glBeginConditionalRender - GLuint id - GLenum mode - - - void glBeginConditionalRenderNV - GLuint id - GLenum mode - - - - - void glBeginConditionalRenderNVX - GLuint id - - - void glBeginFragmentShaderATI - - - void glBeginOcclusionQueryNV - GLuint id - - - void glBeginPerfMonitorAMD - GLuint monitor - - - void glBeginPerfQueryINTEL - GLuint queryHandle - - - void glBeginQuery - GLenum target - GLuint id - - - - void glBeginQueryARB - GLenum target - GLuint id - - - - void glBeginQueryEXT - GLenum target - GLuint id - - - void glBeginQueryIndexed - GLenum target - GLuint index - GLuint id - - - void glBeginTransformFeedback - GLenum primitiveMode - - - void glBeginTransformFeedbackEXT - GLenum primitiveMode - - - - void glBeginTransformFeedbackNV - GLenum primitiveMode - - - - void glBeginVertexShaderEXT - - - void glBeginVideoCaptureNV - GLuint video_capture_slot - - - void glBindAttribLocation - GLuint program - GLuint index - const GLchar *name - - - void glBindAttribLocationARB - GLhandleARB programObj - GLuint index - const GLcharARB *name - - - - void glBindBuffer - GLenum target - GLuint buffer - - - void glBindBufferARB - GLenum target - GLuint buffer - - - - void glBindBufferBase - GLenum target - GLuint index - GLuint buffer - - - void glBindBufferBaseEXT - GLenum target - GLuint index - GLuint buffer - - - - void glBindBufferBaseNV - GLenum target - GLuint index - GLuint buffer - - - - void glBindBufferOffsetEXT - GLenum target - GLuint index - GLuint buffer - GLintptr offset - - - void glBindBufferOffsetNV - GLenum target - GLuint index - GLuint buffer - GLintptr offset - - - - void glBindBufferRange - GLenum target - GLuint index - GLuint buffer - GLintptr offset - GLsizeiptr size - - - void glBindBufferRangeEXT - GLenum target - GLuint index - GLuint buffer - GLintptr offset - GLsizeiptr size - - - - void glBindBufferRangeNV - GLenum target - GLuint index - GLuint buffer - GLintptr offset - GLsizeiptr size - - - - void glBindBuffersBase - GLenum target - GLuint first - GLsizei count - const GLuint *buffers - - - void glBindBuffersRange - GLenum target - GLuint first - GLsizei count - const GLuint *buffers - const GLintptr *offsets - const GLsizeiptr *sizes - - - void glBindFragDataLocation - GLuint program - GLuint color - const GLchar *name - - - void glBindFragDataLocationEXT - GLuint program - GLuint color - const GLchar *name - - - - void glBindFragDataLocationIndexed - GLuint program - GLuint colorNumber - GLuint index - const GLchar *name - - - void glBindFragDataLocationIndexedEXT - GLuint program - GLuint colorNumber - GLuint index - const GLchar *name - - - - void glBindFragmentShaderATI - GLuint id - - - void glBindFramebuffer - GLenum target - GLuint framebuffer - - - - void glBindFramebufferEXT - GLenum target - GLuint framebuffer - - - - void glBindFramebufferOES - GLenum target - GLuint framebuffer - - - void glBindImageTexture - GLuint unit - GLuint texture - GLint level - GLboolean layered - GLint layer - GLenum access - GLenum format - - - void glBindImageTextureEXT - GLuint index - GLuint texture - GLint level - GLboolean layered - GLint layer - GLenum access - GLint format - - - void glBindImageTextures - GLuint first - GLsizei count - const GLuint *textures - - - GLuint glBindLightParameterEXT - GLenum light - GLenum value - - - GLuint glBindMaterialParameterEXT - GLenum face - GLenum value - - - void glBindMultiTextureEXT - GLenum texunit - GLenum target - GLuint texture - - - GLuint glBindParameterEXT - GLenum value - - - void glBindProgramARB - GLenum target - GLuint program - - - - void glBindProgramNV - GLenum target - GLuint id - - - - - void glBindProgramPipeline - GLuint pipeline - - - void glBindProgramPipelineEXT - GLuint pipeline - - - void glBindRenderbuffer - GLenum target - GLuint renderbuffer - - - - void glBindRenderbufferEXT - GLenum target - GLuint renderbuffer - - - - void glBindRenderbufferOES - GLenum target - GLuint renderbuffer - - - void glBindSampler - GLuint unit - GLuint sampler - - - void glBindSamplers - GLuint first - GLsizei count - const GLuint *samplers - - - GLuint glBindTexGenParameterEXT - GLenum unit - GLenum coord - GLenum value - - - void glBindTexture - GLenum target - GLuint texture - - - - void glBindTextureEXT - GLenum target - GLuint texture - - - - - void glBindTextureUnit - GLuint unit - GLuint texture - - - GLuint glBindTextureUnitParameterEXT - GLenum unit - GLenum value - - - void glBindTextures - GLuint first - GLsizei count - const GLuint *textures - - - void glBindTransformFeedback - GLenum target - GLuint id - - - void glBindTransformFeedbackNV - GLenum target - GLuint id - - - void glBindVertexArray - GLuint array - - - - void glBindVertexArrayAPPLE - GLuint array - - - void glBindVertexArrayOES - GLuint array - - - - void glBindVertexBuffer - GLuint bindingindex - GLuint buffer - GLintptr offset - GLsizei stride - - - void glBindVertexBuffers - GLuint first - GLsizei count - const GLuint *buffers - const GLintptr *offsets - const GLsizei *strides - - - void glBindVertexShaderEXT - GLuint id - - - void glBindVideoCaptureStreamBufferNV - GLuint video_capture_slot - GLuint stream - GLenum frame_region - GLintptrARB offset - - - void glBindVideoCaptureStreamTextureNV - GLuint video_capture_slot - GLuint stream - GLenum frame_region - GLenum target - GLuint texture - - - void glBinormal3bEXT - GLbyte bx - GLbyte by - GLbyte bz - - - - void glBinormal3bvEXT - const GLbyte *v - - - void glBinormal3dEXT - GLdouble bx - GLdouble by - GLdouble bz - - - - void glBinormal3dvEXT - const GLdouble *v - - - void glBinormal3fEXT - GLfloat bx - GLfloat by - GLfloat bz - - - - void glBinormal3fvEXT - const GLfloat *v - - - void glBinormal3iEXT - GLint bx - GLint by - GLint bz - - - - void glBinormal3ivEXT - const GLint *v - - - void glBinormal3sEXT - GLshort bx - GLshort by - GLshort bz - - - - void glBinormal3svEXT - const GLshort *v - - - void glBinormalPointerEXT - GLenum type - GLsizei stride - const void *pointer - - - void glBitmap - GLsizei width - GLsizei height - GLfloat xorig - GLfloat yorig - GLfloat xmove - GLfloat ymove - const GLubyte *bitmap - - - - - void glBitmapxOES - GLsizei width - GLsizei height - GLfixed xorig - GLfixed yorig - GLfixed xmove - GLfixed ymove - const GLubyte *bitmap - - - void glBlendBarrier - - - void glBlendBarrierKHR - - - - void glBlendBarrierNV - - - - void glBlendColor - GLfloat red - GLfloat green - GLfloat blue - GLfloat alpha - - - - void glBlendColorEXT - GLfloat red - GLfloat green - GLfloat blue - GLfloat alpha - - - - - void glBlendColorxOES - GLfixed red - GLfixed green - GLfixed blue - GLfixed alpha - - - void glBlendEquation - GLenum mode - - - - void glBlendEquationEXT - GLenum mode - - - - - void glBlendEquationIndexedAMD - GLuint buf - GLenum mode - - - - void glBlendEquationOES - GLenum mode - - - void glBlendEquationSeparate - GLenum modeRGB - GLenum modeAlpha - - - - void glBlendEquationSeparateEXT - GLenum modeRGB - GLenum modeAlpha - - - - - void glBlendEquationSeparateIndexedAMD - GLuint buf - GLenum modeRGB - GLenum modeAlpha - - - - void glBlendEquationSeparateOES - GLenum modeRGB - GLenum modeAlpha - - - void glBlendEquationSeparatei - GLuint buf - GLenum modeRGB - GLenum modeAlpha - - - void glBlendEquationSeparateiARB - GLuint buf - GLenum modeRGB - GLenum modeAlpha - - - - void glBlendEquationSeparateiEXT - GLuint buf - GLenum modeRGB - GLenum modeAlpha - - - - void glBlendEquationSeparateiOES - GLuint buf - GLenum modeRGB - GLenum modeAlpha - - - - void glBlendEquationi - GLuint buf - GLenum mode - - - void glBlendEquationiARB - GLuint buf - GLenum mode - - - - void glBlendEquationiEXT - GLuint buf - GLenum mode - - - - void glBlendEquationiOES - GLuint buf - GLenum mode - - - - void glBlendFunc - GLenum sfactor - GLenum dfactor - - - - void glBlendFuncIndexedAMD - GLuint buf - GLenum src - GLenum dst - - - - void glBlendFuncSeparate - GLenum sfactorRGB - GLenum dfactorRGB - GLenum sfactorAlpha - GLenum dfactorAlpha - - - - void glBlendFuncSeparateEXT - GLenum sfactorRGB - GLenum dfactorRGB - GLenum sfactorAlpha - GLenum dfactorAlpha - - - - - void glBlendFuncSeparateINGR - GLenum sfactorRGB - GLenum dfactorRGB - GLenum sfactorAlpha - GLenum dfactorAlpha - - - - - void glBlendFuncSeparateIndexedAMD - GLuint buf - GLenum srcRGB - GLenum dstRGB - GLenum srcAlpha - GLenum dstAlpha - - - - void glBlendFuncSeparateOES - GLenum srcRGB - GLenum dstRGB - GLenum srcAlpha - GLenum dstAlpha - - - void glBlendFuncSeparatei - GLuint buf - GLenum srcRGB - GLenum dstRGB - GLenum srcAlpha - GLenum dstAlpha - - - void glBlendFuncSeparateiARB - GLuint buf - GLenum srcRGB - GLenum dstRGB - GLenum srcAlpha - GLenum dstAlpha - - - - void glBlendFuncSeparateiEXT - GLuint buf - GLenum srcRGB - GLenum dstRGB - GLenum srcAlpha - GLenum dstAlpha - - - - void glBlendFuncSeparateiOES - GLuint buf - GLenum srcRGB - GLenum dstRGB - GLenum srcAlpha - GLenum dstAlpha - - - - void glBlendFunci - GLuint buf - GLenum src - GLenum dst - - - void glBlendFunciARB - GLuint buf - GLenum src - GLenum dst - - - - void glBlendFunciEXT - GLuint buf - GLenum src - GLenum dst - - - - void glBlendFunciOES - GLuint buf - GLenum src - GLenum dst - - - - void glBlendParameteriNV - GLenum pname - GLint value - - - void glBlitFramebuffer - GLint srcX0 - GLint srcY0 - GLint srcX1 - GLint srcY1 - GLint dstX0 - GLint dstY0 - GLint dstX1 - GLint dstY1 - GLbitfield mask - GLenum filter - - - - void glBlitFramebufferANGLE - GLint srcX0 - GLint srcY0 - GLint srcX1 - GLint srcY1 - GLint dstX0 - GLint dstY0 - GLint dstX1 - GLint dstY1 - GLbitfield mask - GLenum filter - - - void glBlitFramebufferEXT - GLint srcX0 - GLint srcY0 - GLint srcX1 - GLint srcY1 - GLint dstX0 - GLint dstY0 - GLint dstX1 - GLint dstY1 - GLbitfield mask - GLenum filter - - - - - void glBlitFramebufferNV - GLint srcX0 - GLint srcY0 - GLint srcX1 - GLint srcY1 - GLint dstX0 - GLint dstY0 - GLint dstX1 - GLint dstY1 - GLbitfield mask - GLenum filter - - - - void glBlitNamedFramebuffer - GLuint readFramebuffer - GLuint drawFramebuffer - GLint srcX0 - GLint srcY0 - GLint srcX1 - GLint srcY1 - GLint dstX0 - GLint dstY0 - GLint dstX1 - GLint dstY1 - GLbitfield mask - GLenum filter - - - void glBufferAddressRangeNV - GLenum pname - GLuint index - GLuint64EXT address - GLsizeiptr length - - - void glBufferData - GLenum target - GLsizeiptr size - const void *data - GLenum usage - - - void glBufferDataARB - GLenum target - GLsizeiptrARB size - const void *data - GLenum usage - - - - void glBufferPageCommitmentARB - GLenum target - GLintptr offset - GLsizeiptr size - GLboolean commit - - - void glBufferParameteriAPPLE - GLenum target - GLenum pname - GLint param - - - void glBufferStorage - GLenum target - GLsizeiptr size - const void *data - GLbitfield flags - - - void glBufferStorageEXT - GLenum target - GLsizeiptr size - const void *data - GLbitfield flags - - - - void glBufferSubData - GLenum target - GLintptr offset - GLsizeiptr size - const void *data - - - void glBufferSubDataARB - GLenum target - GLintptrARB offset - GLsizeiptrARB size - const void *data - - - - void glCallCommandListNV - GLuint list - - - void glCallList - GLuint list - - - - void glCallLists - GLsizei n - GLenum type - const void *lists - - - - GLenum glCheckFramebufferStatus - GLenum target - - - - GLenum glCheckFramebufferStatusEXT - GLenum target - - - - - GLenum glCheckFramebufferStatusOES - GLenum target - - - GLenum glCheckNamedFramebufferStatus - GLuint framebuffer - GLenum target - - - GLenum glCheckNamedFramebufferStatusEXT - GLuint framebuffer - GLenum target - - - void glClampColor - GLenum target - GLenum clamp - - - - void glClampColorARB - GLenum target - GLenum clamp - - - - - void glClear - GLbitfield mask - - - - void glClearAccum - GLfloat red - GLfloat green - GLfloat blue - GLfloat alpha - - - - void glClearAccumxOES - GLfixed red - GLfixed green - GLfixed blue - GLfixed alpha - - - void glClearBufferData - GLenum target - GLenum internalformat - GLenum format - GLenum type - const void *data - - - void glClearBufferSubData - GLenum target - GLenum internalformat - GLintptr offset - GLsizeiptr size - GLenum format - GLenum type - const void *data - - - void glClearBufferfi - GLenum buffer - GLint drawbuffer - GLfloat depth - GLint stencil - - - void glClearBufferfv - GLenum buffer - GLint drawbuffer - const GLfloat *value - - - void glClearBufferiv - GLenum buffer - GLint drawbuffer - const GLint *value - - - void glClearBufferuiv - GLenum buffer - GLint drawbuffer - const GLuint *value - - - void glClearColor - GLfloat red - GLfloat green - GLfloat blue - GLfloat alpha - - - - void glClearColorIiEXT - GLint red - GLint green - GLint blue - GLint alpha - - - - void glClearColorIuiEXT - GLuint red - GLuint green - GLuint blue - GLuint alpha - - - - void glClearColorx - GLfixed red - GLfixed green - GLfixed blue - GLfixed alpha - - - void glClearColorxOES - GLfixed red - GLfixed green - GLfixed blue - GLfixed alpha - - - void glClearDepth - GLdouble depth - - - - void glClearDepthdNV - GLdouble depth - - - - void glClearDepthf - GLfloat d - - - void glClearDepthfOES - GLclampf depth - - - - - void glClearDepthx - GLfixed depth - - - void glClearDepthxOES - GLfixed depth - - - void glClearIndex - GLfloat c - - - - void glClearNamedBufferData - GLuint buffer - GLenum internalformat - GLenum format - GLenum type - const void *data - - - void glClearNamedBufferDataEXT - GLuint buffer - GLenum internalformat - GLenum format - GLenum type - const void *data - - - void glClearNamedBufferSubData - GLuint buffer - GLenum internalformat - GLintptr offset - GLsizeiptr size - GLenum format - GLenum type - const void *data - - - void glClearNamedBufferSubDataEXT - GLuint buffer - GLenum internalformat - GLsizeiptr offset - GLsizeiptr size - GLenum format - GLenum type - const void *data - - - void glClearNamedFramebufferfi - GLuint framebuffer - GLenum buffer - GLint drawbuffer - GLfloat depth - GLint stencil - - - void glClearNamedFramebufferfv - GLuint framebuffer - GLenum buffer - GLint drawbuffer - const GLfloat *value - - - void glClearNamedFramebufferiv - GLuint framebuffer - GLenum buffer - GLint drawbuffer - const GLint *value - - - void glClearNamedFramebufferuiv - GLuint framebuffer - GLenum buffer - GLint drawbuffer - const GLuint *value - - - void glClearStencil - GLint s - - - - void glClearTexImage - GLuint texture - GLint level - GLenum format - GLenum type - const void *data - - - void glClearTexSubImage - GLuint texture - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLenum format - GLenum type - const void *data - - - void glClientActiveTexture - GLenum texture - - - void glClientActiveTextureARB - GLenum texture - - - - void glClientActiveVertexStreamATI - GLenum stream - - - void glClientAttribDefaultEXT - GLbitfield mask - - - GLenum glClientWaitSync - GLsync sync - GLbitfield flags - GLuint64 timeout - - - GLenum glClientWaitSyncAPPLE - GLsync sync - GLbitfield flags - GLuint64 timeout - - - - void glClipControl - GLenum origin - GLenum depth - - - void glClipPlane - GLenum plane - const GLdouble *equation - - - - void glClipPlanef - GLenum p - const GLfloat *eqn - - - void glClipPlanefIMG - GLenum p - const GLfloat *eqn - - - void glClipPlanefOES - GLenum plane - const GLfloat *equation - - - - void glClipPlanex - GLenum plane - const GLfixed *equation - - - void glClipPlanexIMG - GLenum p - const GLfixed *eqn - - - void glClipPlanexOES - GLenum plane - const GLfixed *equation - - - void glColor3b - GLbyte red - GLbyte green - GLbyte blue - - - - void glColor3bv - const GLbyte *v - - - - void glColor3d - GLdouble red - GLdouble green - GLdouble blue - - - - void glColor3dv - const GLdouble *v - - - - void glColor3f - GLfloat red - GLfloat green - GLfloat blue - - - - void glColor3fVertex3fSUN - GLfloat r - GLfloat g - GLfloat b - GLfloat x - GLfloat y - GLfloat z - - - void glColor3fVertex3fvSUN - const GLfloat *c - const GLfloat *v - - - void glColor3fv - const GLfloat *v - - - - void glColor3hNV - GLhalfNV red - GLhalfNV green - GLhalfNV blue - - - - void glColor3hvNV - const GLhalfNV *v - - - - void glColor3i - GLint red - GLint green - GLint blue - - - - void glColor3iv - const GLint *v - - - - void glColor3s - GLshort red - GLshort green - GLshort blue - - - - void glColor3sv - const GLshort *v - - - - void glColor3ub - GLubyte red - GLubyte green - GLubyte blue - - - - void glColor3ubv - const GLubyte *v - - - - void glColor3ui - GLuint red - GLuint green - GLuint blue - - - - void glColor3uiv - const GLuint *v - - - - void glColor3us - GLushort red - GLushort green - GLushort blue - - - - void glColor3usv - const GLushort *v - - - - void glColor3xOES - GLfixed red - GLfixed green - GLfixed blue - - - void glColor3xvOES - const GLfixed *components - - - void glColor4b - GLbyte red - GLbyte green - GLbyte blue - GLbyte alpha - - - - void glColor4bv - const GLbyte *v - - - - void glColor4d - GLdouble red - GLdouble green - GLdouble blue - GLdouble alpha - - - - void glColor4dv - const GLdouble *v - - - - void glColor4f - GLfloat red - GLfloat green - GLfloat blue - GLfloat alpha - - - - void glColor4fNormal3fVertex3fSUN - GLfloat r - GLfloat g - GLfloat b - GLfloat a - GLfloat nx - GLfloat ny - GLfloat nz - GLfloat x - GLfloat y - GLfloat z - - - void glColor4fNormal3fVertex3fvSUN - const GLfloat *c - const GLfloat *n - const GLfloat *v - - - void glColor4fv - const GLfloat *v - - - - void glColor4hNV - GLhalfNV red - GLhalfNV green - GLhalfNV blue - GLhalfNV alpha - - - - void glColor4hvNV - const GLhalfNV *v - - - - void glColor4i - GLint red - GLint green - GLint blue - GLint alpha - - - - void glColor4iv - const GLint *v - - - - void glColor4s - GLshort red - GLshort green - GLshort blue - GLshort alpha - - - - void glColor4sv - const GLshort *v - - - - void glColor4ub - GLubyte red - GLubyte green - GLubyte blue - GLubyte alpha - - - - void glColor4ubVertex2fSUN - GLubyte r - GLubyte g - GLubyte b - GLubyte a - GLfloat x - GLfloat y - - - void glColor4ubVertex2fvSUN - const GLubyte *c - const GLfloat *v - - - void glColor4ubVertex3fSUN - GLubyte r - GLubyte g - GLubyte b - GLubyte a - GLfloat x - GLfloat y - GLfloat z - - - void glColor4ubVertex3fvSUN - const GLubyte *c - const GLfloat *v - - - void glColor4ubv - const GLubyte *v - - - - void glColor4ui - GLuint red - GLuint green - GLuint blue - GLuint alpha - - - - void glColor4uiv - const GLuint *v - - - - void glColor4us - GLushort red - GLushort green - GLushort blue - GLushort alpha - - - - void glColor4usv - const GLushort *v - - - - void glColor4x - GLfixed red - GLfixed green - GLfixed blue - GLfixed alpha - - - void glColor4xOES - GLfixed red - GLfixed green - GLfixed blue - GLfixed alpha - - - void glColor4xvOES - const GLfixed *components - - - void glColorFormatNV - GLint size - GLenum type - GLsizei stride - - - void glColorFragmentOp1ATI - GLenum op - GLuint dst - GLuint dstMask - GLuint dstMod - GLuint arg1 - GLuint arg1Rep - GLuint arg1Mod - - - void glColorFragmentOp2ATI - GLenum op - GLuint dst - GLuint dstMask - GLuint dstMod - GLuint arg1 - GLuint arg1Rep - GLuint arg1Mod - GLuint arg2 - GLuint arg2Rep - GLuint arg2Mod - - - void glColorFragmentOp3ATI - GLenum op - GLuint dst - GLuint dstMask - GLuint dstMod - GLuint arg1 - GLuint arg1Rep - GLuint arg1Mod - GLuint arg2 - GLuint arg2Rep - GLuint arg2Mod - GLuint arg3 - GLuint arg3Rep - GLuint arg3Mod - - - void glColorMask - GLboolean red - GLboolean green - GLboolean blue - GLboolean alpha - - - - void glColorMaskIndexedEXT - GLuint index - GLboolean r - GLboolean g - GLboolean b - GLboolean a - - - - void glColorMaski - GLuint index - GLboolean r - GLboolean g - GLboolean b - GLboolean a - - - void glColorMaskiEXT - GLuint index - GLboolean r - GLboolean g - GLboolean b - GLboolean a - - - - void glColorMaskiOES - GLuint index - GLboolean r - GLboolean g - GLboolean b - GLboolean a - - - - void glColorMaterial - GLenum face - GLenum mode - - - - void glColorP3ui - GLenum type - GLuint color - - - void glColorP3uiv - GLenum type - const GLuint *color - - - void glColorP4ui - GLenum type - GLuint color - - - void glColorP4uiv - GLenum type - const GLuint *color - - - void glColorPointer - GLint size - GLenum type - GLsizei stride - const void *pointer - - - void glColorPointerEXT - GLint size - GLenum type - GLsizei stride - GLsizei count - const void *pointer - - - void glColorPointerListIBM - GLint size - GLenum type - GLint stride - const void **pointer - GLint ptrstride - - - void glColorPointervINTEL - GLint size - GLenum type - const void **pointer - - - void glColorSubTable - GLenum target - GLsizei start - GLsizei count - GLenum format - GLenum type - const void *data - - - - - void glColorSubTableEXT - GLenum target - GLsizei start - GLsizei count - GLenum format - GLenum type - const void *data - - - - void glColorTable - GLenum target - GLenum internalformat - GLsizei width - GLenum format - GLenum type - const void *table - - - - - void glColorTableEXT - GLenum target - GLenum internalFormat - GLsizei width - GLenum format - GLenum type - const void *table - - - - void glColorTableParameterfv - GLenum target - GLenum pname - const GLfloat *params - - - - void glColorTableParameterfvSGI - GLenum target - GLenum pname - const GLfloat *params - - - - - void glColorTableParameteriv - GLenum target - GLenum pname - const GLint *params - - - - void glColorTableParameterivSGI - GLenum target - GLenum pname - const GLint *params - - - - - void glColorTableSGI - GLenum target - GLenum internalformat - GLsizei width - GLenum format - GLenum type - const void *table - - - - - void glCombinerInputNV - GLenum stage - GLenum portion - GLenum variable - GLenum input - GLenum mapping - GLenum componentUsage - - - - void glCombinerOutputNV - GLenum stage - GLenum portion - GLenum abOutput - GLenum cdOutput - GLenum sumOutput - GLenum scale - GLenum bias - GLboolean abDotProduct - GLboolean cdDotProduct - GLboolean muxSum - - - - void glCombinerParameterfNV - GLenum pname - GLfloat param - - - - void glCombinerParameterfvNV - GLenum pname - const GLfloat *params - - - - void glCombinerParameteriNV - GLenum pname - GLint param - - - - void glCombinerParameterivNV - GLenum pname - const GLint *params - - - - void glCombinerStageParameterfvNV - GLenum stage - GLenum pname - const GLfloat *params - - - void glCommandListSegmentsNV - GLuint list - GLuint segments - - - void glCompileCommandListNV - GLuint list - - - void glCompileShader - GLuint shader - - - void glCompileShaderARB - GLhandleARB shaderObj - - - - void glCompileShaderIncludeARB - GLuint shader - GLsizei count - const GLchar *const*path - const GLint *length - - - void glCompressedMultiTexImage1DEXT - GLenum texunit - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLint border - GLsizei imageSize - const void *bits - - - void glCompressedMultiTexImage2DEXT - GLenum texunit - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLsizei height - GLint border - GLsizei imageSize - const void *bits - - - void glCompressedMultiTexImage3DEXT - GLenum texunit - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - GLint border - GLsizei imageSize - const void *bits - - - void glCompressedMultiTexSubImage1DEXT - GLenum texunit - GLenum target - GLint level - GLint xoffset - GLsizei width - GLenum format - GLsizei imageSize - const void *bits - - - void glCompressedMultiTexSubImage2DEXT - GLenum texunit - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLsizei width - GLsizei height - GLenum format - GLsizei imageSize - const void *bits - - - void glCompressedMultiTexSubImage3DEXT - GLenum texunit - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLenum format - GLsizei imageSize - const void *bits - - - void glCompressedTexImage1D - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLint border - GLsizei imageSize - const void *data - - - - - void glCompressedTexImage1DARB - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLint border - GLsizei imageSize - const void *data - - - - - void glCompressedTexImage2D - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLsizei height - GLint border - GLsizei imageSize - const void *data - - - - - void glCompressedTexImage2DARB - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLsizei height - GLint border - GLsizei imageSize - const void *data - - - - - void glCompressedTexImage3D - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - GLint border - GLsizei imageSize - const void *data - - - - - void glCompressedTexImage3DARB - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - GLint border - GLsizei imageSize - const void *data - - - - - void glCompressedTexImage3DOES - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - GLint border - GLsizei imageSize - const void *data - - - - void glCompressedTexSubImage1D - GLenum target - GLint level - GLint xoffset - GLsizei width - GLenum format - GLsizei imageSize - const void *data - - - - - void glCompressedTexSubImage1DARB - GLenum target - GLint level - GLint xoffset - GLsizei width - GLenum format - GLsizei imageSize - const void *data - - - - - void glCompressedTexSubImage2D - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLsizei width - GLsizei height - GLenum format - GLsizei imageSize - const void *data - - - - - void glCompressedTexSubImage2DARB - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLsizei width - GLsizei height - GLenum format - GLsizei imageSize - const void *data - - - - - void glCompressedTexSubImage3D - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLenum format - GLsizei imageSize - const void *data - - - - - void glCompressedTexSubImage3DARB - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLenum format - GLsizei imageSize - const void *data - - - - - void glCompressedTexSubImage3DOES - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLenum format - GLsizei imageSize - const void *data - - - - void glCompressedTextureImage1DEXT - GLuint texture - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLint border - GLsizei imageSize - const void *bits - - - void glCompressedTextureImage2DEXT - GLuint texture - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLsizei height - GLint border - GLsizei imageSize - const void *bits - - - void glCompressedTextureImage3DEXT - GLuint texture - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - GLint border - GLsizei imageSize - const void *bits - - - void glCompressedTextureSubImage1D - GLuint texture - GLint level - GLint xoffset - GLsizei width - GLenum format - GLsizei imageSize - const void *data - - - void glCompressedTextureSubImage1DEXT - GLuint texture - GLenum target - GLint level - GLint xoffset - GLsizei width - GLenum format - GLsizei imageSize - const void *bits - - - void glCompressedTextureSubImage2D - GLuint texture - GLint level - GLint xoffset - GLint yoffset - GLsizei width - GLsizei height - GLenum format - GLsizei imageSize - const void *data - - - void glCompressedTextureSubImage2DEXT - GLuint texture - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLsizei width - GLsizei height - GLenum format - GLsizei imageSize - const void *bits - - - void glCompressedTextureSubImage3D - GLuint texture - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLenum format - GLsizei imageSize - const void *data - - - void glCompressedTextureSubImage3DEXT - GLuint texture - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLenum format - GLsizei imageSize - const void *bits - - - void glConservativeRasterParameterfNV - GLenum pname - GLfloat value - - - void glConvolutionFilter1D - GLenum target - GLenum internalformat - GLsizei width - GLenum format - GLenum type - const void *image - - - - - void glConvolutionFilter1DEXT - GLenum target - GLenum internalformat - GLsizei width - GLenum format - GLenum type - const void *image - - - - - void glConvolutionFilter2D - GLenum target - GLenum internalformat - GLsizei width - GLsizei height - GLenum format - GLenum type - const void *image - - - - - void glConvolutionFilter2DEXT - GLenum target - GLenum internalformat - GLsizei width - GLsizei height - GLenum format - GLenum type - const void *image - - - - - void glConvolutionParameterf - GLenum target - GLenum pname - GLfloat params - - - - void glConvolutionParameterfEXT - GLenum target - GLenum pname - GLfloat params - - - - - void glConvolutionParameterfv - GLenum target - GLenum pname - const GLfloat *params - - - - void glConvolutionParameterfvEXT - GLenum target - GLenum pname - const GLfloat *params - - - - - void glConvolutionParameteri - GLenum target - GLenum pname - GLint params - - - - void glConvolutionParameteriEXT - GLenum target - GLenum pname - GLint params - - - - - void glConvolutionParameteriv - GLenum target - GLenum pname - const GLint *params - - - - void glConvolutionParameterivEXT - GLenum target - GLenum pname - const GLint *params - - - - - void glConvolutionParameterxOES - GLenum target - GLenum pname - GLfixed param - - - void glConvolutionParameterxvOES - GLenum target - GLenum pname - const GLfixed *params - - - void glCopyBufferSubData - GLenum readTarget - GLenum writeTarget - GLintptr readOffset - GLintptr writeOffset - GLsizeiptr size - - - void glCopyBufferSubDataNV - GLenum readTarget - GLenum writeTarget - GLintptr readOffset - GLintptr writeOffset - GLsizeiptr size - - - - void glCopyColorSubTable - GLenum target - GLsizei start - GLint x - GLint y - GLsizei width - - - - void glCopyColorSubTableEXT - GLenum target - GLsizei start - GLint x - GLint y - GLsizei width - - - - void glCopyColorTable - GLenum target - GLenum internalformat - GLint x - GLint y - GLsizei width - - - - void glCopyColorTableSGI - GLenum target - GLenum internalformat - GLint x - GLint y - GLsizei width - - - - - void glCopyConvolutionFilter1D - GLenum target - GLenum internalformat - GLint x - GLint y - GLsizei width - - - - void glCopyConvolutionFilter1DEXT - GLenum target - GLenum internalformat - GLint x - GLint y - GLsizei width - - - - - void glCopyConvolutionFilter2D - GLenum target - GLenum internalformat - GLint x - GLint y - GLsizei width - GLsizei height - - - - void glCopyConvolutionFilter2DEXT - GLenum target - GLenum internalformat - GLint x - GLint y - GLsizei width - GLsizei height - - - - - void glCopyImageSubData - GLuint srcName - GLenum srcTarget - GLint srcLevel - GLint srcX - GLint srcY - GLint srcZ - GLuint dstName - GLenum dstTarget - GLint dstLevel - GLint dstX - GLint dstY - GLint dstZ - GLsizei srcWidth - GLsizei srcHeight - GLsizei srcDepth - - - void glCopyImageSubDataEXT - GLuint srcName - GLenum srcTarget - GLint srcLevel - GLint srcX - GLint srcY - GLint srcZ - GLuint dstName - GLenum dstTarget - GLint dstLevel - GLint dstX - GLint dstY - GLint dstZ - GLsizei srcWidth - GLsizei srcHeight - GLsizei srcDepth - - - - void glCopyImageSubDataNV - GLuint srcName - GLenum srcTarget - GLint srcLevel - GLint srcX - GLint srcY - GLint srcZ - GLuint dstName - GLenum dstTarget - GLint dstLevel - GLint dstX - GLint dstY - GLint dstZ - GLsizei width - GLsizei height - GLsizei depth - - - - void glCopyImageSubDataOES - GLuint srcName - GLenum srcTarget - GLint srcLevel - GLint srcX - GLint srcY - GLint srcZ - GLuint dstName - GLenum dstTarget - GLint dstLevel - GLint dstX - GLint dstY - GLint dstZ - GLsizei srcWidth - GLsizei srcHeight - GLsizei srcDepth - - - - void glCopyMultiTexImage1DEXT - GLenum texunit - GLenum target - GLint level - GLenum internalformat - GLint x - GLint y - GLsizei width - GLint border - - - void glCopyMultiTexImage2DEXT - GLenum texunit - GLenum target - GLint level - GLenum internalformat - GLint x - GLint y - GLsizei width - GLsizei height - GLint border - - - void glCopyMultiTexSubImage1DEXT - GLenum texunit - GLenum target - GLint level - GLint xoffset - GLint x - GLint y - GLsizei width - - - void glCopyMultiTexSubImage2DEXT - GLenum texunit - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint x - GLint y - GLsizei width - GLsizei height - - - void glCopyMultiTexSubImage3DEXT - GLenum texunit - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLint x - GLint y - GLsizei width - GLsizei height - - - void glCopyNamedBufferSubData - GLuint readBuffer - GLuint writeBuffer - GLintptr readOffset - GLintptr writeOffset - GLsizeiptr size - - - void glCopyPathNV - GLuint resultPath - GLuint srcPath - - - void glCopyPixels - GLint x - GLint y - GLsizei width - GLsizei height - GLenum type - - - - void glCopyTexImage1D - GLenum target - GLint level - GLenum internalformat - GLint x - GLint y - GLsizei width - GLint border - - - - void glCopyTexImage1DEXT - GLenum target - GLint level - GLenum internalformat - GLint x - GLint y - GLsizei width - GLint border - - - - - void glCopyTexImage2D - GLenum target - GLint level - GLenum internalformat - GLint x - GLint y - GLsizei width - GLsizei height - GLint border - - - - void glCopyTexImage2DEXT - GLenum target - GLint level - GLenum internalformat - GLint x - GLint y - GLsizei width - GLsizei height - GLint border - - - - - void glCopyTexSubImage1D - GLenum target - GLint level - GLint xoffset - GLint x - GLint y - GLsizei width - - - - void glCopyTexSubImage1DEXT - GLenum target - GLint level - GLint xoffset - GLint x - GLint y - GLsizei width - - - - - void glCopyTexSubImage2D - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint x - GLint y - GLsizei width - GLsizei height - - - - void glCopyTexSubImage2DEXT - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint x - GLint y - GLsizei width - GLsizei height - - - - - void glCopyTexSubImage3D - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLint x - GLint y - GLsizei width - GLsizei height - - - - void glCopyTexSubImage3DEXT - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLint x - GLint y - GLsizei width - GLsizei height - - - - - void glCopyTexSubImage3DOES - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLint x - GLint y - GLsizei width - GLsizei height - - - - void glCopyTextureImage1DEXT - GLuint texture - GLenum target - GLint level - GLenum internalformat - GLint x - GLint y - GLsizei width - GLint border - - - void glCopyTextureImage2DEXT - GLuint texture - GLenum target - GLint level - GLenum internalformat - GLint x - GLint y - GLsizei width - GLsizei height - GLint border - - - void glCopyTextureLevelsAPPLE - GLuint destinationTexture - GLuint sourceTexture - GLint sourceBaseLevel - GLsizei sourceLevelCount - - - void glCopyTextureSubImage1D - GLuint texture - GLint level - GLint xoffset - GLint x - GLint y - GLsizei width - - - void glCopyTextureSubImage1DEXT - GLuint texture - GLenum target - GLint level - GLint xoffset - GLint x - GLint y - GLsizei width - - - void glCopyTextureSubImage2D - GLuint texture - GLint level - GLint xoffset - GLint yoffset - GLint x - GLint y - GLsizei width - GLsizei height - - - void glCopyTextureSubImage2DEXT - GLuint texture - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint x - GLint y - GLsizei width - GLsizei height - - - void glCopyTextureSubImage3D - GLuint texture - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLint x - GLint y - GLsizei width - GLsizei height - - - void glCopyTextureSubImage3DEXT - GLuint texture - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLint x - GLint y - GLsizei width - GLsizei height - - - void glCoverFillPathInstancedNV - GLsizei numPaths - GLenum pathNameType - const void *paths - GLuint pathBase - GLenum coverMode - GLenum transformType - const GLfloat *transformValues - - - void glCoverFillPathNV - GLuint path - GLenum coverMode - - - void glCoverStrokePathInstancedNV - GLsizei numPaths - GLenum pathNameType - const void *paths - GLuint pathBase - GLenum coverMode - GLenum transformType - const GLfloat *transformValues - - - void glCoverStrokePathNV - GLuint path - GLenum coverMode - - - void glCoverageMaskNV - GLboolean mask - - - void glCoverageModulationNV - GLenum components - - - void glCoverageModulationTableNV - GLsizei n - const GLfloat *v - - - void glCoverageOperationNV - GLenum operation - - - void glCreateBuffers - GLsizei n - GLuint *buffers - - - void glCreateCommandListsNV - GLsizei n - GLuint *lists - - - void glCreateFramebuffers - GLsizei n - GLuint *framebuffers - - - void glCreatePerfQueryINTEL - GLuint queryId - GLuint *queryHandle - - - GLuint glCreateProgram - - - GLhandleARB glCreateProgramObjectARB - - - - void glCreateProgramPipelines - GLsizei n - GLuint *pipelines - - - void glCreateQueries - GLenum target - GLsizei n - GLuint *ids - - - void glCreateRenderbuffers - GLsizei n - GLuint *renderbuffers - - - void glCreateSamplers - GLsizei n - GLuint *samplers - - - GLuint glCreateShader - GLenum type - - - GLhandleARB glCreateShaderObjectARB - GLenum shaderType - - - - GLuint glCreateShaderProgramEXT - GLenum type - const GLchar *string - - - GLuint glCreateShaderProgramv - GLenum type - GLsizei count - const GLchar *const*strings - - - GLuint glCreateShaderProgramvEXT - GLenum type - GLsizei count - const GLchar **strings - - - void glCreateStatesNV - GLsizei n - GLuint *states - - - GLsync glCreateSyncFromCLeventARB - struct _cl_context *context - struct _cl_event *event - GLbitfield flags - - - void glCreateTextures - GLenum target - GLsizei n - GLuint *textures - - - void glCreateTransformFeedbacks - GLsizei n - GLuint *ids - - - void glCreateVertexArrays - GLsizei n - GLuint *arrays - - - void glCullFace - GLenum mode - - - - void glCullParameterdvEXT - GLenum pname - GLdouble *params - - - void glCullParameterfvEXT - GLenum pname - GLfloat *params - - - void glCurrentPaletteMatrixARB - GLint index - - - - void glCurrentPaletteMatrixOES - GLuint matrixpaletteindex - - - void glDebugMessageCallback - GLDEBUGPROC callback - const void *userParam - - - void glDebugMessageCallbackAMD - GLDEBUGPROCAMD callback - void *userParam - - - void glDebugMessageCallbackARB - GLDEBUGPROCARB callback - const void *userParam - - - - void glDebugMessageCallbackKHR - GLDEBUGPROCKHR callback - const void *userParam - - - - void glDebugMessageControl - GLenum source - GLenum type - GLenum severity - GLsizei count - const GLuint *ids - GLboolean enabled - - - void glDebugMessageControlARB - GLenum source - GLenum type - GLenum severity - GLsizei count - const GLuint *ids - GLboolean enabled - - - - void glDebugMessageControlKHR - GLenum source - GLenum type - GLenum severity - GLsizei count - const GLuint *ids - GLboolean enabled - - - - void glDebugMessageEnableAMD - GLenum category - GLenum severity - GLsizei count - const GLuint *ids - GLboolean enabled - - - void glDebugMessageInsert - GLenum source - GLenum type - GLuint id - GLenum severity - GLsizei length - const GLchar *buf - - - void glDebugMessageInsertAMD - GLenum category - GLenum severity - GLuint id - GLsizei length - const GLchar *buf - - - void glDebugMessageInsertARB - GLenum source - GLenum type - GLuint id - GLenum severity - GLsizei length - const GLchar *buf - - - - void glDebugMessageInsertKHR - GLenum source - GLenum type - GLuint id - GLenum severity - GLsizei length - const GLchar *buf - - - - void glDeformSGIX - GLbitfield mask - - - - void glDeformationMap3dSGIX - GLenum target - GLdouble u1 - GLdouble u2 - GLint ustride - GLint uorder - GLdouble v1 - GLdouble v2 - GLint vstride - GLint vorder - GLdouble w1 - GLdouble w2 - GLint wstride - GLint worder - const GLdouble *points - - - - void glDeformationMap3fSGIX - GLenum target - GLfloat u1 - GLfloat u2 - GLint ustride - GLint uorder - GLfloat v1 - GLfloat v2 - GLint vstride - GLint vorder - GLfloat w1 - GLfloat w2 - GLint wstride - GLint worder - const GLfloat *points - - - - void glDeleteAsyncMarkersSGIX - GLuint marker - GLsizei range - - - void glDeleteBuffers - GLsizei n - const GLuint *buffers - - - void glDeleteBuffersARB - GLsizei n - const GLuint *buffers - - - - void glDeleteCommandListsNV - GLsizei n - const GLuint *lists - - - void glDeleteFencesAPPLE - GLsizei n - const GLuint *fences - - - void glDeleteFencesNV - GLsizei n - const GLuint *fences - - - - void glDeleteFragmentShaderATI - GLuint id - - - void glDeleteFramebuffers - GLsizei n - const GLuint *framebuffers - - - - void glDeleteFramebuffersEXT - GLsizei n - const GLuint *framebuffers - - - - - void glDeleteFramebuffersOES - GLsizei n - const GLuint *framebuffers - - - void glDeleteLists - GLuint list - GLsizei range - - - - void glDeleteNamedStringARB - GLint namelen - const GLchar *name - - - void glDeleteNamesAMD - GLenum identifier - GLuint num - const GLuint *names - - - void glDeleteObjectARB - GLhandleARB obj - - - void glDeleteOcclusionQueriesNV - GLsizei n - const GLuint *ids - - - void glDeletePathsNV - GLuint path - GLsizei range - - - void glDeletePerfMonitorsAMD - GLsizei n - GLuint *monitors - - - void glDeletePerfQueryINTEL - GLuint queryHandle - - - void glDeleteProgram - GLuint program - - - - void glDeleteProgramPipelines - GLsizei n - const GLuint *pipelines - - - void glDeleteProgramPipelinesEXT - GLsizei n - const GLuint *pipelines - - - void glDeleteProgramsARB - GLsizei n - const GLuint *programs - - - - void glDeleteProgramsNV - GLsizei n - const GLuint *programs - - - - - void glDeleteQueries - GLsizei n - const GLuint *ids - - - - void glDeleteQueriesARB - GLsizei n - const GLuint *ids - - - - void glDeleteQueriesEXT - GLsizei n - const GLuint *ids - - - void glDeleteRenderbuffers - GLsizei n - const GLuint *renderbuffers - - - - void glDeleteRenderbuffersEXT - GLsizei n - const GLuint *renderbuffers - - - - - void glDeleteRenderbuffersOES - GLsizei n - const GLuint *renderbuffers - - - void glDeleteSamplers - GLsizei count - const GLuint *samplers - - - void glDeleteShader - GLuint shader - - - - void glDeleteStatesNV - GLsizei n - const GLuint *states - - - void glDeleteSync - GLsync sync - - - void glDeleteSyncAPPLE - GLsync sync - - - - void glDeleteTextures - GLsizei n - const GLuint *textures - - - - void glDeleteTexturesEXT - GLsizei n - const GLuint *textures - - - - void glDeleteTransformFeedbacks - GLsizei n - const GLuint *ids - - - void glDeleteTransformFeedbacksNV - GLsizei n - const GLuint *ids - - - - void glDeleteVertexArrays - GLsizei n - const GLuint *arrays - - - - void glDeleteVertexArraysAPPLE - GLsizei n - const GLuint *arrays - - - - void glDeleteVertexArraysOES - GLsizei n - const GLuint *arrays - - - - void glDeleteVertexShaderEXT - GLuint id - - - void glDepthBoundsEXT - GLclampd zmin - GLclampd zmax - - - - void glDepthBoundsdNV - GLdouble zmin - GLdouble zmax - - - - void glDepthFunc - GLenum func - - - - void glDepthMask - GLboolean flag - - - - void glDepthRange - GLdouble near - GLdouble far - - - - void glDepthRangeArrayfvNV - GLuint first - GLsizei count - const GLfloat *v - - - void glDepthRangeArrayv - GLuint first - GLsizei count - const GLdouble *v - - - void glDepthRangeIndexed - GLuint index - GLdouble n - GLdouble f - - - void glDepthRangeIndexedfNV - GLuint index - GLfloat n - GLfloat f - - - void glDepthRangedNV - GLdouble zNear - GLdouble zFar - - - - void glDepthRangef - GLfloat n - GLfloat f - - - void glDepthRangefOES - GLclampf n - GLclampf f - - - - - void glDepthRangex - GLfixed n - GLfixed f - - - void glDepthRangexOES - GLfixed n - GLfixed f - - - void glDetachObjectARB - GLhandleARB containerObj - GLhandleARB attachedObj - - - - void glDetachShader - GLuint program - GLuint shader - - - void glDetailTexFuncSGIS - GLenum target - GLsizei n - const GLfloat *points - - - - void glDisable - GLenum cap - - - - void glDisableClientState - GLenum array - - - void glDisableClientStateIndexedEXT - GLenum array - GLuint index - - - void glDisableClientStateiEXT - GLenum array - GLuint index - - - void glDisableDriverControlQCOM - GLuint driverControl - - - void glDisableIndexedEXT - GLenum target - GLuint index - - - - void glDisableVariantClientStateEXT - GLuint id - - - void glDisableVertexArrayAttrib - GLuint vaobj - GLuint index - - - void glDisableVertexArrayAttribEXT - GLuint vaobj - GLuint index - - - void glDisableVertexArrayEXT - GLuint vaobj - GLenum array - - - void glDisableVertexAttribAPPLE - GLuint index - GLenum pname - - - void glDisableVertexAttribArray - GLuint index - - - void glDisableVertexAttribArrayARB - GLuint index - - - - void glDisablei - GLenum target - GLuint index - - - void glDisableiEXT - GLenum target - GLuint index - - - - void glDisableiNV - GLenum target - GLuint index - - - - void glDisableiOES - GLenum target - GLuint index - - - - void glDiscardFramebufferEXT - GLenum target - GLsizei numAttachments - const GLenum *attachments - - - void glDispatchCompute - GLuint num_groups_x - GLuint num_groups_y - GLuint num_groups_z - - - void glDispatchComputeGroupSizeARB - GLuint num_groups_x - GLuint num_groups_y - GLuint num_groups_z - GLuint group_size_x - GLuint group_size_y - GLuint group_size_z - - - void glDispatchComputeIndirect - GLintptr indirect - - - void glDrawArrays - GLenum mode - GLint first - GLsizei count - - - - void glDrawArraysEXT - GLenum mode - GLint first - GLsizei count - - - - - void glDrawArraysIndirect - GLenum mode - const void *indirect - - - void glDrawArraysInstanced - GLenum mode - GLint first - GLsizei count - GLsizei instancecount - - - void glDrawArraysInstancedANGLE - GLenum mode - GLint first - GLsizei count - GLsizei primcount - - - - void glDrawArraysInstancedARB - GLenum mode - GLint first - GLsizei count - GLsizei primcount - - - - void glDrawArraysInstancedBaseInstance - GLenum mode - GLint first - GLsizei count - GLsizei instancecount - GLuint baseinstance - - - void glDrawArraysInstancedBaseInstanceEXT - GLenum mode - GLint first - GLsizei count - GLsizei instancecount - GLuint baseinstance - - - - void glDrawArraysInstancedEXT - GLenum mode - GLint start - GLsizei count - GLsizei primcount - - - - void glDrawArraysInstancedNV - GLenum mode - GLint first - GLsizei count - GLsizei primcount - - - - void glDrawBuffer - GLenum buf - - - - void glDrawBuffers - GLsizei n - const GLenum *bufs - - - - void glDrawBuffersARB - GLsizei n - const GLenum *bufs - - - - void glDrawBuffersATI - GLsizei n - const GLenum *bufs - - - - - void glDrawBuffersEXT - GLsizei n - const GLenum *bufs - - - - void glDrawBuffersIndexedEXT - GLint n - const GLenum *location - const GLint *indices - - - void glDrawBuffersNV - GLsizei n - const GLenum *bufs - - - void glDrawCommandsAddressNV - GLenum primitiveMode - const GLuint64 *indirects - const GLsizei *sizes - GLuint count - - - void glDrawCommandsNV - GLenum primitiveMode - GLuint buffer - const GLintptr *indirects - const GLsizei *sizes - GLuint count - - - void glDrawCommandsStatesAddressNV - const GLuint64 *indirects - const GLsizei *sizes - const GLuint *states - const GLuint *fbos - GLuint count - - - void glDrawCommandsStatesNV - GLuint buffer - const GLintptr *indirects - const GLsizei *sizes - const GLuint *states - const GLuint *fbos - GLuint count - - - void glDrawElementArrayAPPLE - GLenum mode - GLint first - GLsizei count - - - void glDrawElementArrayATI - GLenum mode - GLsizei count - - - void glDrawElements - GLenum mode - GLsizei count - GLenum type - const void *indices - - - void glDrawElementsBaseVertex - GLenum mode - GLsizei count - GLenum type - const void *indices - GLint basevertex - - - void glDrawElementsBaseVertexEXT - GLenum mode - GLsizei count - GLenum type - const void *indices - GLint basevertex - - - - void glDrawElementsBaseVertexOES - GLenum mode - GLsizei count - GLenum type - const void *indices - GLint basevertex - - - - void glDrawElementsIndirect - GLenum mode - GLenum type - const void *indirect - - - void glDrawElementsInstanced - GLenum mode - GLsizei count - GLenum type - const void *indices - GLsizei instancecount - - - void glDrawElementsInstancedANGLE - GLenum mode - GLsizei count - GLenum type - const void *indices - GLsizei primcount - - - - void glDrawElementsInstancedARB - GLenum mode - GLsizei count - GLenum type - const void *indices - GLsizei primcount - - - - void glDrawElementsInstancedBaseInstance - GLenum mode - GLsizei count - GLenum type - const void *indices - GLsizei instancecount - GLuint baseinstance - - - void glDrawElementsInstancedBaseInstanceEXT - GLenum mode - GLsizei count - GLenum type - const void *indices - GLsizei instancecount - GLuint baseinstance - - - - void glDrawElementsInstancedBaseVertex - GLenum mode - GLsizei count - GLenum type - const void *indices - GLsizei instancecount - GLint basevertex - - - void glDrawElementsInstancedBaseVertexBaseInstance - GLenum mode - GLsizei count - GLenum type - const void *indices - GLsizei instancecount - GLint basevertex - GLuint baseinstance - - - void glDrawElementsInstancedBaseVertexBaseInstanceEXT - GLenum mode - GLsizei count - GLenum type - const void *indices - GLsizei instancecount - GLint basevertex - GLuint baseinstance - - - - void glDrawElementsInstancedBaseVertexEXT - GLenum mode - GLsizei count - GLenum type - const void *indices - GLsizei instancecount - GLint basevertex - - - - void glDrawElementsInstancedBaseVertexOES - GLenum mode - GLsizei count - GLenum type - const void *indices - GLsizei instancecount - GLint basevertex - - - - void glDrawElementsInstancedEXT - GLenum mode - GLsizei count - GLenum type - const void *indices - GLsizei primcount - - - - void glDrawElementsInstancedNV - GLenum mode - GLsizei count - GLenum type - const void *indices - GLsizei primcount - - - - void glDrawMeshArraysSUN - GLenum mode - GLint first - GLsizei count - GLsizei width - - - void glDrawPixels - GLsizei width - GLsizei height - GLenum format - GLenum type - const void *pixels - - - - - void glDrawRangeElementArrayAPPLE - GLenum mode - GLuint start - GLuint end - GLint first - GLsizei count - - - void glDrawRangeElementArrayATI - GLenum mode - GLuint start - GLuint end - GLsizei count - - - void glDrawRangeElements - GLenum mode - GLuint start - GLuint end - GLsizei count - GLenum type - const void *indices - - - void glDrawRangeElementsBaseVertex - GLenum mode - GLuint start - GLuint end - GLsizei count - GLenum type - const void *indices - GLint basevertex - - - void glDrawRangeElementsBaseVertexEXT - GLenum mode - GLuint start - GLuint end - GLsizei count - GLenum type - const void *indices - GLint basevertex - - - - void glDrawRangeElementsBaseVertexOES - GLenum mode - GLuint start - GLuint end - GLsizei count - GLenum type - const void *indices - GLint basevertex - - - - void glDrawRangeElementsEXT - GLenum mode - GLuint start - GLuint end - GLsizei count - GLenum type - const void *indices - - - - void glDrawTexfOES - GLfloat x - GLfloat y - GLfloat z - GLfloat width - GLfloat height - - - void glDrawTexfvOES - const GLfloat *coords - - - void glDrawTexiOES - GLint x - GLint y - GLint z - GLint width - GLint height - - - void glDrawTexivOES - const GLint *coords - - - void glDrawTexsOES - GLshort x - GLshort y - GLshort z - GLshort width - GLshort height - - - void glDrawTexsvOES - const GLshort *coords - - - void glDrawTextureNV - GLuint texture - GLuint sampler - GLfloat x0 - GLfloat y0 - GLfloat x1 - GLfloat y1 - GLfloat z - GLfloat s0 - GLfloat t0 - GLfloat s1 - GLfloat t1 - - - void glDrawTexxOES - GLfixed x - GLfixed y - GLfixed z - GLfixed width - GLfixed height - - - void glDrawTexxvOES - const GLfixed *coords - - - void glDrawTransformFeedback - GLenum mode - GLuint id - - - void glDrawTransformFeedbackInstanced - GLenum mode - GLuint id - GLsizei instancecount - - - void glDrawTransformFeedbackNV - GLenum mode - GLuint id - - - - void glDrawTransformFeedbackStream - GLenum mode - GLuint id - GLuint stream - - - void glDrawTransformFeedbackStreamInstanced - GLenum mode - GLuint id - GLuint stream - GLsizei instancecount - - - void glEGLImageTargetRenderbufferStorageOES - GLenum target - GLeglImageOES image - - - void glEGLImageTargetTexture2DOES - GLenum target - GLeglImageOES image - - - void glEdgeFlag - GLboolean flag - - - - void glEdgeFlagFormatNV - GLsizei stride - - - void glEdgeFlagPointer - GLsizei stride - const void *pointer - - - void glEdgeFlagPointerEXT - GLsizei stride - GLsizei count - const GLboolean *pointer - - - void glEdgeFlagPointerListIBM - GLint stride - const GLboolean **pointer - GLint ptrstride - - - void glEdgeFlagv - const GLboolean *flag - - - - void glElementPointerAPPLE - GLenum type - const void *pointer - - - void glElementPointerATI - GLenum type - const void *pointer - - - void glEnable - GLenum cap - - - - void glEnableClientState - GLenum array - - - void glEnableClientStateIndexedEXT - GLenum array - GLuint index - - - void glEnableClientStateiEXT - GLenum array - GLuint index - - - void glEnableDriverControlQCOM - GLuint driverControl - - - void glEnableIndexedEXT - GLenum target - GLuint index - - - - void glEnableVariantClientStateEXT - GLuint id - - - void glEnableVertexArrayAttrib - GLuint vaobj - GLuint index - - - void glEnableVertexArrayAttribEXT - GLuint vaobj - GLuint index - - - void glEnableVertexArrayEXT - GLuint vaobj - GLenum array - - - void glEnableVertexAttribAPPLE - GLuint index - GLenum pname - - - void glEnableVertexAttribArray - GLuint index - - - void glEnableVertexAttribArrayARB - GLuint index - - - - void glEnablei - GLenum target - GLuint index - - - void glEnableiEXT - GLenum target - GLuint index - - - - void glEnableiNV - GLenum target - GLuint index - - - - void glEnableiOES - GLenum target - GLuint index - - - - void glEnd - - - - void glEndConditionalRender - - - - void glEndConditionalRenderNV - - - - void glEndConditionalRenderNVX - - - - void glEndFragmentShaderATI - - - void glEndList - - - - void glEndOcclusionQueryNV - - - void glEndPerfMonitorAMD - GLuint monitor - - - void glEndPerfQueryINTEL - GLuint queryHandle - - - void glEndQuery - GLenum target - - - - void glEndQueryARB - GLenum target - - - - void glEndQueryEXT - GLenum target - - - void glEndQueryIndexed - GLenum target - GLuint index - - - void glEndTilingQCOM - GLbitfield preserveMask - - - void glEndTransformFeedback - - - void glEndTransformFeedbackEXT - - - - void glEndTransformFeedbackNV - - - - void glEndVertexShaderEXT - - - void glEndVideoCaptureNV - GLuint video_capture_slot - - - void glEvalCoord1d - GLdouble u - - - - void glEvalCoord1dv - const GLdouble *u - - - - void glEvalCoord1f - GLfloat u - - - - void glEvalCoord1fv - const GLfloat *u - - - - void glEvalCoord1xOES - GLfixed u - - - void glEvalCoord1xvOES - const GLfixed *coords - - - void glEvalCoord2d - GLdouble u - GLdouble v - - - - void glEvalCoord2dv - const GLdouble *u - - - - void glEvalCoord2f - GLfloat u - GLfloat v - - - - void glEvalCoord2fv - const GLfloat *u - - - - void glEvalCoord2xOES - GLfixed u - GLfixed v - - - void glEvalCoord2xvOES - const GLfixed *coords - - - void glEvalMapsNV - GLenum target - GLenum mode - - - void glEvalMesh1 - GLenum mode - GLint i1 - GLint i2 - - - - void glEvalMesh2 - GLenum mode - GLint i1 - GLint i2 - GLint j1 - GLint j2 - - - - void glEvalPoint1 - GLint i - - - - void glEvalPoint2 - GLint i - GLint j - - - - void glEvaluateDepthValuesARB - - - void glExecuteProgramNV - GLenum target - GLuint id - const GLfloat *params - - - - void glExtGetBufferPointervQCOM - GLenum target - void **params - - - void glExtGetBuffersQCOM - GLuint *buffers - GLint maxBuffers - GLint *numBuffers - - - void glExtGetFramebuffersQCOM - GLuint *framebuffers - GLint maxFramebuffers - GLint *numFramebuffers - - - void glExtGetProgramBinarySourceQCOM - GLuint program - GLenum shadertype - GLchar *source - GLint *length - - - void glExtGetProgramsQCOM - GLuint *programs - GLint maxPrograms - GLint *numPrograms - - - void glExtGetRenderbuffersQCOM - GLuint *renderbuffers - GLint maxRenderbuffers - GLint *numRenderbuffers - - - void glExtGetShadersQCOM - GLuint *shaders - GLint maxShaders - GLint *numShaders - - - void glExtGetTexLevelParameterivQCOM - GLuint texture - GLenum face - GLint level - GLenum pname - GLint *params - - - void glExtGetTexSubImageQCOM - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLenum format - GLenum type - void *texels - - - void glExtGetTexturesQCOM - GLuint *textures - GLint maxTextures - GLint *numTextures - - - GLboolean glExtIsProgramBinaryQCOM - GLuint program - - - void glExtTexObjectStateOverrideiQCOM - GLenum target - GLenum pname - GLint param - - - void glExtractComponentEXT - GLuint res - GLuint src - GLuint num - - - void glFeedbackBuffer - GLsizei size - GLenum type - GLfloat *buffer - - - - void glFeedbackBufferxOES - GLsizei n - GLenum type - const GLfixed *buffer - - - GLsync glFenceSync - GLenum condition - GLbitfield flags - - - GLsync glFenceSyncAPPLE - GLenum condition - GLbitfield flags - - - - void glFinalCombinerInputNV - GLenum variable - GLenum input - GLenum mapping - GLenum componentUsage - - - - void glFinish - - - - GLint glFinishAsyncSGIX - GLuint *markerp - - - void glFinishFenceAPPLE - GLuint fence - - - void glFinishFenceNV - GLuint fence - - - - void glFinishObjectAPPLE - GLenum object - GLint name - - - void glFinishTextureSUNX - - - void glFlush - - - - void glFlushMappedBufferRange - GLenum target - GLintptr offset - GLsizeiptr length - - - void glFlushMappedBufferRangeAPPLE - GLenum target - GLintptr offset - GLsizeiptr size - - - - void glFlushMappedBufferRangeEXT - GLenum target - GLintptr offset - GLsizeiptr length - - - - void glFlushMappedNamedBufferRange - GLuint buffer - GLintptr offset - GLsizeiptr length - - - void glFlushMappedNamedBufferRangeEXT - GLuint buffer - GLintptr offset - GLsizeiptr length - - - void glFlushPixelDataRangeNV - GLenum target - - - void glFlushRasterSGIX - - - - void glFlushStaticDataIBM - GLenum target - - - void glFlushVertexArrayRangeAPPLE - GLsizei length - void *pointer - - - void glFlushVertexArrayRangeNV - - - void glFogCoordFormatNV - GLenum type - GLsizei stride - - - void glFogCoordPointer - GLenum type - GLsizei stride - const void *pointer - - - void glFogCoordPointerEXT - GLenum type - GLsizei stride - const void *pointer - - - - void glFogCoordPointerListIBM - GLenum type - GLint stride - const void **pointer - GLint ptrstride - - - void glFogCoordd - GLdouble coord - - - - void glFogCoorddEXT - GLdouble coord - - - - - void glFogCoorddv - const GLdouble *coord - - - - void glFogCoorddvEXT - const GLdouble *coord - - - - - void glFogCoordf - GLfloat coord - - - - void glFogCoordfEXT - GLfloat coord - - - - - void glFogCoordfv - const GLfloat *coord - - - - void glFogCoordfvEXT - const GLfloat *coord - - - - - void glFogCoordhNV - GLhalfNV fog - - - - void glFogCoordhvNV - const GLhalfNV *fog - - - - void glFogFuncSGIS - GLsizei n - const GLfloat *points - - - - void glFogf - GLenum pname - GLfloat param - - - - void glFogfv - GLenum pname - const GLfloat *params - - - - void glFogi - GLenum pname - GLint param - - - - void glFogiv - GLenum pname - const GLint *params - - - - void glFogx - GLenum pname - GLfixed param - - - void glFogxOES - GLenum pname - GLfixed param - - - void glFogxv - GLenum pname - const GLfixed *param - - - void glFogxvOES - GLenum pname - const GLfixed *param - - - void glFragmentColorMaterialSGIX - GLenum face - GLenum mode - - - void glFragmentCoverageColorNV - GLuint color - - - void glFragmentLightModelfSGIX - GLenum pname - GLfloat param - - - void glFragmentLightModelfvSGIX - GLenum pname - const GLfloat *params - - - void glFragmentLightModeliSGIX - GLenum pname - GLint param - - - void glFragmentLightModelivSGIX - GLenum pname - const GLint *params - - - void glFragmentLightfSGIX - GLenum light - GLenum pname - GLfloat param - - - void glFragmentLightfvSGIX - GLenum light - GLenum pname - const GLfloat *params - - - void glFragmentLightiSGIX - GLenum light - GLenum pname - GLint param - - - void glFragmentLightivSGIX - GLenum light - GLenum pname - const GLint *params - - - void glFragmentMaterialfSGIX - GLenum face - GLenum pname - GLfloat param - - - void glFragmentMaterialfvSGIX - GLenum face - GLenum pname - const GLfloat *params - - - void glFragmentMaterialiSGIX - GLenum face - GLenum pname - GLint param - - - void glFragmentMaterialivSGIX - GLenum face - GLenum pname - const GLint *params - - - void glFrameTerminatorGREMEDY - - - void glFrameZoomSGIX - GLint factor - - - - void glFramebufferDrawBufferEXT - GLuint framebuffer - GLenum mode - - - void glFramebufferDrawBuffersEXT - GLuint framebuffer - GLsizei n - const GLenum *bufs - - - void glFramebufferParameteri - GLenum target - GLenum pname - GLint param - - - void glFramebufferReadBufferEXT - GLuint framebuffer - GLenum mode - - - void glFramebufferRenderbuffer - GLenum target - GLenum attachment - GLenum renderbuffertarget - GLuint renderbuffer - - - - void glFramebufferRenderbufferEXT - GLenum target - GLenum attachment - GLenum renderbuffertarget - GLuint renderbuffer - - - - - void glFramebufferRenderbufferOES - GLenum target - GLenum attachment - GLenum renderbuffertarget - GLuint renderbuffer - - - void glFramebufferSampleLocationsfvARB - GLenum target - GLuint start - GLsizei count - const GLfloat *v - - - void glFramebufferSampleLocationsfvNV - GLenum target - GLuint start - GLsizei count - const GLfloat *v - - - void glFramebufferTexture - GLenum target - GLenum attachment - GLuint texture - GLint level - - - void glFramebufferTexture1D - GLenum target - GLenum attachment - GLenum textarget - GLuint texture - GLint level - - - - void glFramebufferTexture1DEXT - GLenum target - GLenum attachment - GLenum textarget - GLuint texture - GLint level - - - - - void glFramebufferTexture2D - GLenum target - GLenum attachment - GLenum textarget - GLuint texture - GLint level - - - - void glFramebufferTexture2DEXT - GLenum target - GLenum attachment - GLenum textarget - GLuint texture - GLint level - - - - - void glFramebufferTexture2DMultisampleEXT - GLenum target - GLenum attachment - GLenum textarget - GLuint texture - GLint level - GLsizei samples - - - void glFramebufferTexture2DMultisampleIMG - GLenum target - GLenum attachment - GLenum textarget - GLuint texture - GLint level - GLsizei samples - - - void glFramebufferTexture2DOES - GLenum target - GLenum attachment - GLenum textarget - GLuint texture - GLint level - - - void glFramebufferTexture3D - GLenum target - GLenum attachment - GLenum textarget - GLuint texture - GLint level - GLint zoffset - - - - void glFramebufferTexture3DEXT - GLenum target - GLenum attachment - GLenum textarget - GLuint texture - GLint level - GLint zoffset - - - - - void glFramebufferTexture3DOES - GLenum target - GLenum attachment - GLenum textarget - GLuint texture - GLint level - GLint zoffset - - - - void glFramebufferTextureARB - GLenum target - GLenum attachment - GLuint texture - GLint level - - - - void glFramebufferTextureEXT - GLenum target - GLenum attachment - GLuint texture - GLint level - - - - void glFramebufferTextureFaceARB - GLenum target - GLenum attachment - GLuint texture - GLint level - GLenum face - - - void glFramebufferTextureFaceEXT - GLenum target - GLenum attachment - GLuint texture - GLint level - GLenum face - - - - void glFramebufferTextureLayer - GLenum target - GLenum attachment - GLuint texture - GLint level - GLint layer - - - - void glFramebufferTextureLayerARB - GLenum target - GLenum attachment - GLuint texture - GLint level - GLint layer - - - - void glFramebufferTextureLayerEXT - GLenum target - GLenum attachment - GLuint texture - GLint level - GLint layer - - - - void glFramebufferTextureMultisampleMultiviewOVR - GLenum target - GLenum attachment - GLuint texture - GLint level - GLsizei samples - GLint baseViewIndex - GLsizei numViews - - - void glFramebufferTextureMultiviewOVR - GLenum target - GLenum attachment - GLuint texture - GLint level - GLint baseViewIndex - GLsizei numViews - - - void glFramebufferTextureOES - GLenum target - GLenum attachment - GLuint texture - GLint level - - - - void glFreeObjectBufferATI - GLuint buffer - - - void glFrontFace - GLenum mode - - - - void glFrustum - GLdouble left - GLdouble right - GLdouble bottom - GLdouble top - GLdouble zNear - GLdouble zFar - - - - void glFrustumf - GLfloat l - GLfloat r - GLfloat b - GLfloat t - GLfloat n - GLfloat f - - - void glFrustumfOES - GLfloat l - GLfloat r - GLfloat b - GLfloat t - GLfloat n - GLfloat f - - - - void glFrustumx - GLfixed l - GLfixed r - GLfixed b - GLfixed t - GLfixed n - GLfixed f - - - void glFrustumxOES - GLfixed l - GLfixed r - GLfixed b - GLfixed t - GLfixed n - GLfixed f - - - GLuint glGenAsyncMarkersSGIX - GLsizei range - - - void glGenBuffers - GLsizei n - GLuint *buffers - - - void glGenBuffersARB - GLsizei n - GLuint *buffers - - - - void glGenFencesAPPLE - GLsizei n - GLuint *fences - - - void glGenFencesNV - GLsizei n - GLuint *fences - - - - GLuint glGenFragmentShadersATI - GLuint range - - - void glGenFramebuffers - GLsizei n - GLuint *framebuffers - - - - void glGenFramebuffersEXT - GLsizei n - GLuint *framebuffers - - - - - void glGenFramebuffersOES - GLsizei n - GLuint *framebuffers - - - GLuint glGenLists - GLsizei range - - - - void glGenNamesAMD - GLenum identifier - GLuint num - GLuint *names - - - void glGenOcclusionQueriesNV - GLsizei n - GLuint *ids - - - GLuint glGenPathsNV - GLsizei range - - - void glGenPerfMonitorsAMD - GLsizei n - GLuint *monitors - - - void glGenProgramPipelines - GLsizei n - GLuint *pipelines - - - void glGenProgramPipelinesEXT - GLsizei n - GLuint *pipelines - - - void glGenProgramsARB - GLsizei n - GLuint *programs - - - - void glGenProgramsNV - GLsizei n - GLuint *programs - - - - - void glGenQueries - GLsizei n - GLuint *ids - - - - void glGenQueriesARB - GLsizei n - GLuint *ids - - - - void glGenQueriesEXT - GLsizei n - GLuint *ids - - - void glGenRenderbuffers - GLsizei n - GLuint *renderbuffers - - - - void glGenRenderbuffersEXT - GLsizei n - GLuint *renderbuffers - - - - - void glGenRenderbuffersOES - GLsizei n - GLuint *renderbuffers - - - void glGenSamplers - GLsizei count - GLuint *samplers - - - GLuint glGenSymbolsEXT - GLenum datatype - GLenum storagetype - GLenum range - GLuint components - - - void glGenTextures - GLsizei n - GLuint *textures - - - - void glGenTexturesEXT - GLsizei n - GLuint *textures - - - - void glGenTransformFeedbacks - GLsizei n - GLuint *ids - - - void glGenTransformFeedbacksNV - GLsizei n - GLuint *ids - - - - void glGenVertexArrays - GLsizei n - GLuint *arrays - - - - void glGenVertexArraysAPPLE - GLsizei n - GLuint *arrays - - - - void glGenVertexArraysOES - GLsizei n - GLuint *arrays - - - - GLuint glGenVertexShadersEXT - GLuint range - - - void glGenerateMipmap - GLenum target - - - - void glGenerateMipmapEXT - GLenum target - - - - - void glGenerateMipmapOES - GLenum target - - - void glGenerateMultiTexMipmapEXT - GLenum texunit - GLenum target - - - void glGenerateTextureMipmap - GLuint texture - - - void glGenerateTextureMipmapEXT - GLuint texture - GLenum target - - - void glGetActiveAtomicCounterBufferiv - GLuint program - GLuint bufferIndex - GLenum pname - GLint *params - - - void glGetActiveAttrib - GLuint program - GLuint index - GLsizei bufSize - GLsizei *length - GLint *size - GLenum *type - GLchar *name - - - void glGetActiveAttribARB - GLhandleARB programObj - GLuint index - GLsizei maxLength - GLsizei *length - GLint *size - GLenum *type - GLcharARB *name - - - - void glGetActiveSubroutineName - GLuint program - GLenum shadertype - GLuint index - GLsizei bufsize - GLsizei *length - GLchar *name - - - void glGetActiveSubroutineUniformName - GLuint program - GLenum shadertype - GLuint index - GLsizei bufsize - GLsizei *length - GLchar *name - - - void glGetActiveSubroutineUniformiv - GLuint program - GLenum shadertype - GLuint index - GLenum pname - GLint *values - - - void glGetActiveUniform - GLuint program - GLuint index - GLsizei bufSize - GLsizei *length - GLint *size - GLenum *type - GLchar *name - - - void glGetActiveUniformARB - GLhandleARB programObj - GLuint index - GLsizei maxLength - GLsizei *length - GLint *size - GLenum *type - GLcharARB *name - - - - void glGetActiveUniformBlockName - GLuint program - GLuint uniformBlockIndex - GLsizei bufSize - GLsizei *length - GLchar *uniformBlockName - - - void glGetActiveUniformBlockiv - GLuint program - GLuint uniformBlockIndex - GLenum pname - GLint *params - - - void glGetActiveUniformName - GLuint program - GLuint uniformIndex - GLsizei bufSize - GLsizei *length - GLchar *uniformName - - - void glGetActiveUniformsiv - GLuint program - GLsizei uniformCount - const GLuint *uniformIndices - GLenum pname - GLint *params - - - void glGetActiveVaryingNV - GLuint program - GLuint index - GLsizei bufSize - GLsizei *length - GLsizei *size - GLenum *type - GLchar *name - - - void glGetArrayObjectfvATI - GLenum array - GLenum pname - GLfloat *params - - - void glGetArrayObjectivATI - GLenum array - GLenum pname - GLint *params - - - void glGetAttachedObjectsARB - GLhandleARB containerObj - GLsizei maxCount - GLsizei *count - GLhandleARB *obj - - - void glGetAttachedShaders - GLuint program - GLsizei maxCount - GLsizei *count - GLuint *shaders - - - GLint glGetAttribLocation - GLuint program - const GLchar *name - - - GLint glGetAttribLocationARB - GLhandleARB programObj - const GLcharARB *name - - - - void glGetBooleanIndexedvEXT - GLenum target - GLuint index - GLboolean *data - - - - void glGetBooleani_v - GLenum target - GLuint index - GLboolean *data - - - void glGetBooleanv - GLenum pname - GLboolean *data - - - - void glGetBufferParameteri64v - GLenum target - GLenum pname - GLint64 *params - - - void glGetBufferParameteriv - GLenum target - GLenum pname - GLint *params - - - void glGetBufferParameterivARB - GLenum target - GLenum pname - GLint *params - - - - void glGetBufferParameterui64vNV - GLenum target - GLenum pname - GLuint64EXT *params - - - void glGetBufferPointerv - GLenum target - GLenum pname - void **params - - - void glGetBufferPointervARB - GLenum target - GLenum pname - void **params - - - - void glGetBufferPointervOES - GLenum target - GLenum pname - void **params - - - - void glGetBufferSubData - GLenum target - GLintptr offset - GLsizeiptr size - void *data - - - void glGetBufferSubDataARB - GLenum target - GLintptrARB offset - GLsizeiptrARB size - void *data - - - - void glGetClipPlane - GLenum plane - GLdouble *equation - - - - void glGetClipPlanef - GLenum plane - GLfloat *equation - - - void glGetClipPlanefOES - GLenum plane - GLfloat *equation - - - - void glGetClipPlanex - GLenum plane - GLfixed *equation - - - void glGetClipPlanexOES - GLenum plane - GLfixed *equation - - - void glGetColorTable - GLenum target - GLenum format - GLenum type - void *table - - - - - void glGetColorTableEXT - GLenum target - GLenum format - GLenum type - void *data - - - - void glGetColorTableParameterfv - GLenum target - GLenum pname - GLfloat *params - - - - void glGetColorTableParameterfvEXT - GLenum target - GLenum pname - GLfloat *params - - - - void glGetColorTableParameterfvSGI - GLenum target - GLenum pname - GLfloat *params - - - - void glGetColorTableParameteriv - GLenum target - GLenum pname - GLint *params - - - - void glGetColorTableParameterivEXT - GLenum target - GLenum pname - GLint *params - - - - void glGetColorTableParameterivSGI - GLenum target - GLenum pname - GLint *params - - - - void glGetColorTableSGI - GLenum target - GLenum format - GLenum type - void *table - - - - void glGetCombinerInputParameterfvNV - GLenum stage - GLenum portion - GLenum variable - GLenum pname - GLfloat *params - - - - void glGetCombinerInputParameterivNV - GLenum stage - GLenum portion - GLenum variable - GLenum pname - GLint *params - - - - void glGetCombinerOutputParameterfvNV - GLenum stage - GLenum portion - GLenum pname - GLfloat *params - - - - void glGetCombinerOutputParameterivNV - GLenum stage - GLenum portion - GLenum pname - GLint *params - - - - void glGetCombinerStageParameterfvNV - GLenum stage - GLenum pname - GLfloat *params - - - GLuint glGetCommandHeaderNV - GLenum tokenID - GLuint size - - - void glGetCompressedMultiTexImageEXT - GLenum texunit - GLenum target - GLint lod - void *img - - - void glGetCompressedTexImage - GLenum target - GLint level - void *img - - - - - void glGetCompressedTexImageARB - GLenum target - GLint level - void *img - - - - - void glGetCompressedTextureImage - GLuint texture - GLint level - GLsizei bufSize - void *pixels - - - void glGetCompressedTextureImageEXT - GLuint texture - GLenum target - GLint lod - void *img - - - void glGetCompressedTextureSubImage - GLuint texture - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLsizei bufSize - void *pixels - - - void glGetConvolutionFilter - GLenum target - GLenum format - GLenum type - void *image - - - - - void glGetConvolutionFilterEXT - GLenum target - GLenum format - GLenum type - void *image - - - - void glGetConvolutionParameterfv - GLenum target - GLenum pname - GLfloat *params - - - - void glGetConvolutionParameterfvEXT - GLenum target - GLenum pname - GLfloat *params - - - - void glGetConvolutionParameteriv - GLenum target - GLenum pname - GLint *params - - - - void glGetConvolutionParameterivEXT - GLenum target - GLenum pname - GLint *params - - - - void glGetConvolutionParameterxvOES - GLenum target - GLenum pname - GLfixed *params - - - void glGetCoverageModulationTableNV - GLsizei bufsize - GLfloat *v - - - GLuint glGetDebugMessageLog - GLuint count - GLsizei bufSize - GLenum *sources - GLenum *types - GLuint *ids - GLenum *severities - GLsizei *lengths - GLchar *messageLog - - - GLuint glGetDebugMessageLogAMD - GLuint count - GLsizei bufsize - GLenum *categories - GLuint *severities - GLuint *ids - GLsizei *lengths - GLchar *message - - - GLuint glGetDebugMessageLogARB - GLuint count - GLsizei bufSize - GLenum *sources - GLenum *types - GLuint *ids - GLenum *severities - GLsizei *lengths - GLchar *messageLog - - - - GLuint glGetDebugMessageLogKHR - GLuint count - GLsizei bufSize - GLenum *sources - GLenum *types - GLuint *ids - GLenum *severities - GLsizei *lengths - GLchar *messageLog - - - - void glGetDetailTexFuncSGIS - GLenum target - GLfloat *points - - - - void glGetDoubleIndexedvEXT - GLenum target - GLuint index - GLdouble *data - - - - void glGetDoublei_v - GLenum target - GLuint index - GLdouble *data - - - void glGetDoublei_vEXT - GLenum pname - GLuint index - GLdouble *params - - - - void glGetDoublev - GLenum pname - GLdouble *data - - - - void glGetDriverControlStringQCOM - GLuint driverControl - GLsizei bufSize - GLsizei *length - GLchar *driverControlString - - - void glGetDriverControlsQCOM - GLint *num - GLsizei size - GLuint *driverControls - - - GLenum glGetError - - - - void glGetFenceivNV - GLuint fence - GLenum pname - GLint *params - - - - void glGetFinalCombinerInputParameterfvNV - GLenum variable - GLenum pname - GLfloat *params - - - - void glGetFinalCombinerInputParameterivNV - GLenum variable - GLenum pname - GLint *params - - - - void glGetFirstPerfQueryIdINTEL - GLuint *queryId - - - void glGetFixedv - GLenum pname - GLfixed *params - - - void glGetFixedvOES - GLenum pname - GLfixed *params - - - void glGetFloatIndexedvEXT - GLenum target - GLuint index - GLfloat *data - - - - void glGetFloati_v - GLenum target - GLuint index - GLfloat *data - - - void glGetFloati_vEXT - GLenum pname - GLuint index - GLfloat *params - - - - void glGetFloati_vNV - GLenum target - GLuint index - GLfloat *data - - - - void glGetFloatv - GLenum pname - GLfloat *data - - - - void glGetFogFuncSGIS - GLfloat *points - - - GLint glGetFragDataIndex - GLuint program - const GLchar *name - - - GLint glGetFragDataIndexEXT - GLuint program - const GLchar *name - - - - GLint glGetFragDataLocation - GLuint program - const GLchar *name - - - GLint glGetFragDataLocationEXT - GLuint program - const GLchar *name - - - - void glGetFragmentLightfvSGIX - GLenum light - GLenum pname - GLfloat *params - - - void glGetFragmentLightivSGIX - GLenum light - GLenum pname - GLint *params - - - void glGetFragmentMaterialfvSGIX - GLenum face - GLenum pname - GLfloat *params - - - void glGetFragmentMaterialivSGIX - GLenum face - GLenum pname - GLint *params - - - void glGetFramebufferAttachmentParameteriv - GLenum target - GLenum attachment - GLenum pname - GLint *params - - - - void glGetFramebufferAttachmentParameterivEXT - GLenum target - GLenum attachment - GLenum pname - GLint *params - - - - - void glGetFramebufferAttachmentParameterivOES - GLenum target - GLenum attachment - GLenum pname - GLint *params - - - void glGetFramebufferParameteriv - GLenum target - GLenum pname - GLint *params - - - void glGetFramebufferParameterivEXT - GLuint framebuffer - GLenum pname - GLint *params - - - GLenum glGetGraphicsResetStatus - - - GLenum glGetGraphicsResetStatusARB - - - GLenum glGetGraphicsResetStatusEXT - - - GLenum glGetGraphicsResetStatusKHR - - - - GLhandleARB glGetHandleARB - GLenum pname - - - void glGetHistogram - GLenum target - GLboolean reset - GLenum format - GLenum type - void *values - - - - - void glGetHistogramEXT - GLenum target - GLboolean reset - GLenum format - GLenum type - void *values - - - - void glGetHistogramParameterfv - GLenum target - GLenum pname - GLfloat *params - - - - void glGetHistogramParameterfvEXT - GLenum target - GLenum pname - GLfloat *params - - - - void glGetHistogramParameteriv - GLenum target - GLenum pname - GLint *params - - - - void glGetHistogramParameterivEXT - GLenum target - GLenum pname - GLint *params - - - - void glGetHistogramParameterxvOES - GLenum target - GLenum pname - GLfixed *params - - - GLuint64 glGetImageHandleARB - GLuint texture - GLint level - GLboolean layered - GLint layer - GLenum format - - - GLuint64 glGetImageHandleNV - GLuint texture - GLint level - GLboolean layered - GLint layer - GLenum format - - - void glGetImageTransformParameterfvHP - GLenum target - GLenum pname - GLfloat *params - - - void glGetImageTransformParameterivHP - GLenum target - GLenum pname - GLint *params - - - void glGetInfoLogARB - GLhandleARB obj - GLsizei maxLength - GLsizei *length - GLcharARB *infoLog - - - GLint glGetInstrumentsSGIX - - - - void glGetInteger64i_v - GLenum target - GLuint index - GLint64 *data - - - void glGetInteger64v - GLenum pname - GLint64 *data - - - void glGetInteger64vAPPLE - GLenum pname - GLint64 *params - - - - void glGetIntegerIndexedvEXT - GLenum target - GLuint index - GLint *data - - - - void glGetIntegeri_v - GLenum target - GLuint index - GLint *data - - - void glGetIntegeri_vEXT - GLenum target - GLuint index - GLint *data - - - void glGetIntegerui64i_vNV - GLenum value - GLuint index - GLuint64EXT *result - - - void glGetIntegerui64vNV - GLenum value - GLuint64EXT *result - - - void glGetIntegerv - GLenum pname - GLint *data - - - - void glGetInternalformatSampleivNV - GLenum target - GLenum internalformat - GLsizei samples - GLenum pname - GLsizei bufSize - GLint *params - - - void glGetInternalformati64v - GLenum target - GLenum internalformat - GLenum pname - GLsizei bufSize - GLint64 *params - - - void glGetInternalformativ - GLenum target - GLenum internalformat - GLenum pname - GLsizei bufSize - GLint *params - - - void glGetInvariantBooleanvEXT - GLuint id - GLenum value - GLboolean *data - - - void glGetInvariantFloatvEXT - GLuint id - GLenum value - GLfloat *data - - - void glGetInvariantIntegervEXT - GLuint id - GLenum value - GLint *data - - - void glGetLightfv - GLenum light - GLenum pname - GLfloat *params - - - - void glGetLightiv - GLenum light - GLenum pname - GLint *params - - - - void glGetLightxOES - GLenum light - GLenum pname - GLfixed *params - - - void glGetLightxv - GLenum light - GLenum pname - GLfixed *params - - - void glGetLightxvOES - GLenum light - GLenum pname - GLfixed *params - - - void glGetListParameterfvSGIX - GLuint list - GLenum pname - GLfloat *params - - - void glGetListParameterivSGIX - GLuint list - GLenum pname - GLint *params - - - void glGetLocalConstantBooleanvEXT - GLuint id - GLenum value - GLboolean *data - - - void glGetLocalConstantFloatvEXT - GLuint id - GLenum value - GLfloat *data - - - void glGetLocalConstantIntegervEXT - GLuint id - GLenum value - GLint *data - - - void glGetMapAttribParameterfvNV - GLenum target - GLuint index - GLenum pname - GLfloat *params - - - void glGetMapAttribParameterivNV - GLenum target - GLuint index - GLenum pname - GLint *params - - - void glGetMapControlPointsNV - GLenum target - GLuint index - GLenum type - GLsizei ustride - GLsizei vstride - GLboolean packed - void *points - - - void glGetMapParameterfvNV - GLenum target - GLenum pname - GLfloat *params - - - void glGetMapParameterivNV - GLenum target - GLenum pname - GLint *params - - - void glGetMapdv - GLenum target - GLenum query - GLdouble *v - - - - void glGetMapfv - GLenum target - GLenum query - GLfloat *v - - - - void glGetMapiv - GLenum target - GLenum query - GLint *v - - - - void glGetMapxvOES - GLenum target - GLenum query - GLfixed *v - - - void glGetMaterialfv - GLenum face - GLenum pname - GLfloat *params - - - - void glGetMaterialiv - GLenum face - GLenum pname - GLint *params - - - - void glGetMaterialxOES - GLenum face - GLenum pname - GLfixed param - - - void glGetMaterialxv - GLenum face - GLenum pname - GLfixed *params - - - void glGetMaterialxvOES - GLenum face - GLenum pname - GLfixed *params - - - void glGetMinmax - GLenum target - GLboolean reset - GLenum format - GLenum type - void *values - - - - - void glGetMinmaxEXT - GLenum target - GLboolean reset - GLenum format - GLenum type - void *values - - - - void glGetMinmaxParameterfv - GLenum target - GLenum pname - GLfloat *params - - - - void glGetMinmaxParameterfvEXT - GLenum target - GLenum pname - GLfloat *params - - - - void glGetMinmaxParameteriv - GLenum target - GLenum pname - GLint *params - - - - void glGetMinmaxParameterivEXT - GLenum target - GLenum pname - GLint *params - - - - void glGetMultiTexEnvfvEXT - GLenum texunit - GLenum target - GLenum pname - GLfloat *params - - - void glGetMultiTexEnvivEXT - GLenum texunit - GLenum target - GLenum pname - GLint *params - - - void glGetMultiTexGendvEXT - GLenum texunit - GLenum coord - GLenum pname - GLdouble *params - - - void glGetMultiTexGenfvEXT - GLenum texunit - GLenum coord - GLenum pname - GLfloat *params - - - void glGetMultiTexGenivEXT - GLenum texunit - GLenum coord - GLenum pname - GLint *params - - - void glGetMultiTexImageEXT - GLenum texunit - GLenum target - GLint level - GLenum format - GLenum type - void *pixels - - - void glGetMultiTexLevelParameterfvEXT - GLenum texunit - GLenum target - GLint level - GLenum pname - GLfloat *params - - - void glGetMultiTexLevelParameterivEXT - GLenum texunit - GLenum target - GLint level - GLenum pname - GLint *params - - - void glGetMultiTexParameterIivEXT - GLenum texunit - GLenum target - GLenum pname - GLint *params - - - void glGetMultiTexParameterIuivEXT - GLenum texunit - GLenum target - GLenum pname - GLuint *params - - - void glGetMultiTexParameterfvEXT - GLenum texunit - GLenum target - GLenum pname - GLfloat *params - - - void glGetMultiTexParameterivEXT - GLenum texunit - GLenum target - GLenum pname - GLint *params - - - void glGetMultisamplefv - GLenum pname - GLuint index - GLfloat *val - - - void glGetMultisamplefvNV - GLenum pname - GLuint index - GLfloat *val - - - - void glGetNamedBufferParameteri64v - GLuint buffer - GLenum pname - GLint64 *params - - - void glGetNamedBufferParameteriv - GLuint buffer - GLenum pname - GLint *params - - - void glGetNamedBufferParameterivEXT - GLuint buffer - GLenum pname - GLint *params - - - void glGetNamedBufferParameterui64vNV - GLuint buffer - GLenum pname - GLuint64EXT *params - - - void glGetNamedBufferPointerv - GLuint buffer - GLenum pname - void **params - - - void glGetNamedBufferPointervEXT - GLuint buffer - GLenum pname - void **params - - - void glGetNamedBufferSubData - GLuint buffer - GLintptr offset - GLsizeiptr size - void *data - - - void glGetNamedBufferSubDataEXT - GLuint buffer - GLintptr offset - GLsizeiptr size - void *data - - - void glGetNamedFramebufferAttachmentParameteriv - GLuint framebuffer - GLenum attachment - GLenum pname - GLint *params - - - void glGetNamedFramebufferAttachmentParameterivEXT - GLuint framebuffer - GLenum attachment - GLenum pname - GLint *params - - - void glGetNamedFramebufferParameteriv - GLuint framebuffer - GLenum pname - GLint *param - - - void glGetNamedFramebufferParameterivEXT - GLuint framebuffer - GLenum pname - GLint *params - - - void glGetNamedProgramLocalParameterIivEXT - GLuint program - GLenum target - GLuint index - GLint *params - - - void glGetNamedProgramLocalParameterIuivEXT - GLuint program - GLenum target - GLuint index - GLuint *params - - - void glGetNamedProgramLocalParameterdvEXT - GLuint program - GLenum target - GLuint index - GLdouble *params - - - void glGetNamedProgramLocalParameterfvEXT - GLuint program - GLenum target - GLuint index - GLfloat *params - - - void glGetNamedProgramStringEXT - GLuint program - GLenum target - GLenum pname - void *string - - - void glGetNamedProgramivEXT - GLuint program - GLenum target - GLenum pname - GLint *params - - - void glGetNamedRenderbufferParameteriv - GLuint renderbuffer - GLenum pname - GLint *params - - - void glGetNamedRenderbufferParameterivEXT - GLuint renderbuffer - GLenum pname - GLint *params - - - void glGetNamedStringARB - GLint namelen - const GLchar *name - GLsizei bufSize - GLint *stringlen - GLchar *string - - - void glGetNamedStringivARB - GLint namelen - const GLchar *name - GLenum pname - GLint *params - - - void glGetNextPerfQueryIdINTEL - GLuint queryId - GLuint *nextQueryId - - - void glGetObjectBufferfvATI - GLuint buffer - GLenum pname - GLfloat *params - - - void glGetObjectBufferivATI - GLuint buffer - GLenum pname - GLint *params - - - void glGetObjectLabel - GLenum identifier - GLuint name - GLsizei bufSize - GLsizei *length - GLchar *label - - - void glGetObjectLabelEXT - GLenum type - GLuint object - GLsizei bufSize - GLsizei *length - GLchar *label - - - void glGetObjectLabelKHR - GLenum identifier - GLuint name - GLsizei bufSize - GLsizei *length - GLchar *label - - - - void glGetObjectParameterfvARB - GLhandleARB obj - GLenum pname - GLfloat *params - - - void glGetObjectParameterivAPPLE - GLenum objectType - GLuint name - GLenum pname - GLint *params - - - void glGetObjectParameterivARB - GLhandleARB obj - GLenum pname - GLint *params - - - void glGetObjectPtrLabel - const void *ptr - GLsizei bufSize - GLsizei *length - GLchar *label - - - void glGetObjectPtrLabelKHR - const void *ptr - GLsizei bufSize - GLsizei *length - GLchar *label - - - - void glGetOcclusionQueryivNV - GLuint id - GLenum pname - GLint *params - - - void glGetOcclusionQueryuivNV - GLuint id - GLenum pname - GLuint *params - - - void glGetPathColorGenfvNV - GLenum color - GLenum pname - GLfloat *value - - - void glGetPathColorGenivNV - GLenum color - GLenum pname - GLint *value - - - void glGetPathCommandsNV - GLuint path - GLubyte *commands - - - void glGetPathCoordsNV - GLuint path - GLfloat *coords - - - void glGetPathDashArrayNV - GLuint path - GLfloat *dashArray - - - GLfloat glGetPathLengthNV - GLuint path - GLsizei startSegment - GLsizei numSegments - - - void glGetPathMetricRangeNV - GLbitfield metricQueryMask - GLuint firstPathName - GLsizei numPaths - GLsizei stride - GLfloat *metrics - - - void glGetPathMetricsNV - GLbitfield metricQueryMask - GLsizei numPaths - GLenum pathNameType - const void *paths - GLuint pathBase - GLsizei stride - GLfloat *metrics - - - void glGetPathParameterfvNV - GLuint path - GLenum pname - GLfloat *value - - - void glGetPathParameterivNV - GLuint path - GLenum pname - GLint *value - - - void glGetPathSpacingNV - GLenum pathListMode - GLsizei numPaths - GLenum pathNameType - const void *paths - GLuint pathBase - GLfloat advanceScale - GLfloat kerningScale - GLenum transformType - GLfloat *returnedSpacing - - - void glGetPathTexGenfvNV - GLenum texCoordSet - GLenum pname - GLfloat *value - - - void glGetPathTexGenivNV - GLenum texCoordSet - GLenum pname - GLint *value - - - void glGetPerfCounterInfoINTEL - GLuint queryId - GLuint counterId - GLuint counterNameLength - GLchar *counterName - GLuint counterDescLength - GLchar *counterDesc - GLuint *counterOffset - GLuint *counterDataSize - GLuint *counterTypeEnum - GLuint *counterDataTypeEnum - GLuint64 *rawCounterMaxValue - - - void glGetPerfMonitorCounterDataAMD - GLuint monitor - GLenum pname - GLsizei dataSize - GLuint *data - GLint *bytesWritten - - - void glGetPerfMonitorCounterInfoAMD - GLuint group - GLuint counter - GLenum pname - void *data - - - void glGetPerfMonitorCounterStringAMD - GLuint group - GLuint counter - GLsizei bufSize - GLsizei *length - GLchar *counterString - - - void glGetPerfMonitorCountersAMD - GLuint group - GLint *numCounters - GLint *maxActiveCounters - GLsizei counterSize - GLuint *counters - - - void glGetPerfMonitorGroupStringAMD - GLuint group - GLsizei bufSize - GLsizei *length - GLchar *groupString - - - void glGetPerfMonitorGroupsAMD - GLint *numGroups - GLsizei groupsSize - GLuint *groups - - - void glGetPerfQueryDataINTEL - GLuint queryHandle - GLuint flags - GLsizei dataSize - GLvoid *data - GLuint *bytesWritten - - - void glGetPerfQueryIdByNameINTEL - GLchar *queryName - GLuint *queryId - - - void glGetPerfQueryInfoINTEL - GLuint queryId - GLuint queryNameLength - GLchar *queryName - GLuint *dataSize - GLuint *noCounters - GLuint *noInstances - GLuint *capsMask - - - void glGetPixelMapfv - GLenum map - GLfloat *values - - - - - void glGetPixelMapuiv - GLenum map - GLuint *values - - - - - void glGetPixelMapusv - GLenum map - GLushort *values - - - - - void glGetPixelMapxv - GLenum map - GLint size - GLfixed *values - - - void glGetPixelTexGenParameterfvSGIS - GLenum pname - GLfloat *params - - - void glGetPixelTexGenParameterivSGIS - GLenum pname - GLint *params - - - void glGetPixelTransformParameterfvEXT - GLenum target - GLenum pname - GLfloat *params - - - - void glGetPixelTransformParameterivEXT - GLenum target - GLenum pname - GLint *params - - - - void glGetPointerIndexedvEXT - GLenum target - GLuint index - void **data - - - void glGetPointeri_vEXT - GLenum pname - GLuint index - void **params - - - void glGetPointerv - GLenum pname - void **params - - - - void glGetPointervEXT - GLenum pname - void **params - - - - void glGetPointervKHR - GLenum pname - void **params - - - - void glGetPolygonStipple - GLubyte *mask - - - - - void glGetProgramBinary - GLuint program - GLsizei bufSize - GLsizei *length - GLenum *binaryFormat - void *binary - - - void glGetProgramBinaryOES - GLuint program - GLsizei bufSize - GLsizei *length - GLenum *binaryFormat - void *binary - - - - void glGetProgramEnvParameterIivNV - GLenum target - GLuint index - GLint *params - - - void glGetProgramEnvParameterIuivNV - GLenum target - GLuint index - GLuint *params - - - void glGetProgramEnvParameterdvARB - GLenum target - GLuint index - GLdouble *params - - - void glGetProgramEnvParameterfvARB - GLenum target - GLuint index - GLfloat *params - - - void glGetProgramInfoLog - GLuint program - GLsizei bufSize - GLsizei *length - GLchar *infoLog - - - - void glGetProgramInterfaceiv - GLuint program - GLenum programInterface - GLenum pname - GLint *params - - - void glGetProgramLocalParameterIivNV - GLenum target - GLuint index - GLint *params - - - void glGetProgramLocalParameterIuivNV - GLenum target - GLuint index - GLuint *params - - - void glGetProgramLocalParameterdvARB - GLenum target - GLuint index - GLdouble *params - - - void glGetProgramLocalParameterfvARB - GLenum target - GLuint index - GLfloat *params - - - void glGetProgramNamedParameterdvNV - GLuint id - GLsizei len - const GLubyte *name - GLdouble *params - - - - void glGetProgramNamedParameterfvNV - GLuint id - GLsizei len - const GLubyte *name - GLfloat *params - - - - void glGetProgramParameterdvNV - GLenum target - GLuint index - GLenum pname - GLdouble *params - - - - void glGetProgramParameterfvNV - GLenum target - GLuint index - GLenum pname - GLfloat *params - - - - void glGetProgramPipelineInfoLog - GLuint pipeline - GLsizei bufSize - GLsizei *length - GLchar *infoLog - - - void glGetProgramPipelineInfoLogEXT - GLuint pipeline - GLsizei bufSize - GLsizei *length - GLchar *infoLog - - - void glGetProgramPipelineiv - GLuint pipeline - GLenum pname - GLint *params - - - void glGetProgramPipelineivEXT - GLuint pipeline - GLenum pname - GLint *params - - - GLuint glGetProgramResourceIndex - GLuint program - GLenum programInterface - const GLchar *name - - - GLint glGetProgramResourceLocation - GLuint program - GLenum programInterface - const GLchar *name - - - GLint glGetProgramResourceLocationIndex - GLuint program - GLenum programInterface - const GLchar *name - - - GLint glGetProgramResourceLocationIndexEXT - GLuint program - GLenum programInterface - const GLchar *name - - - void glGetProgramResourceName - GLuint program - GLenum programInterface - GLuint index - GLsizei bufSize - GLsizei *length - GLchar *name - - - void glGetProgramResourcefvNV - GLuint program - GLenum programInterface - GLuint index - GLsizei propCount - const GLenum *props - GLsizei bufSize - GLsizei *length - GLfloat *params - - - void glGetProgramResourceiv - GLuint program - GLenum programInterface - GLuint index - GLsizei propCount - const GLenum *props - GLsizei bufSize - GLsizei *length - GLint *params - - - void glGetProgramStageiv - GLuint program - GLenum shadertype - GLenum pname - GLint *values - - - void glGetProgramStringARB - GLenum target - GLenum pname - void *string - - - void glGetProgramStringNV - GLuint id - GLenum pname - GLubyte *program - - - - void glGetProgramSubroutineParameteruivNV - GLenum target - GLuint index - GLuint *param - - - void glGetProgramiv - GLuint program - GLenum pname - GLint *params - - - - void glGetProgramivARB - GLenum target - GLenum pname - GLint *params - - - void glGetProgramivNV - GLuint id - GLenum pname - GLint *params - - - - void glGetQueryBufferObjecti64v - GLuint id - GLuint buffer - GLenum pname - GLintptr offset - - - void glGetQueryBufferObjectiv - GLuint id - GLuint buffer - GLenum pname - GLintptr offset - - - void glGetQueryBufferObjectui64v - GLuint id - GLuint buffer - GLenum pname - GLintptr offset - - - void glGetQueryBufferObjectuiv - GLuint id - GLuint buffer - GLenum pname - GLintptr offset - - - void glGetQueryIndexediv - GLenum target - GLuint index - GLenum pname - GLint *params - - - void glGetQueryObjecti64v - GLuint id - GLenum pname - GLint64 *params - - - void glGetQueryObjecti64vEXT - GLuint id - GLenum pname - GLint64 *params - - - - - void glGetQueryObjectiv - GLuint id - GLenum pname - GLint *params - - - - void glGetQueryObjectivARB - GLuint id - GLenum pname - GLint *params - - - - void glGetQueryObjectivEXT - GLuint id - GLenum pname - GLint *params - - - - void glGetQueryObjectui64v - GLuint id - GLenum pname - GLuint64 *params - - - void glGetQueryObjectui64vEXT - GLuint id - GLenum pname - GLuint64 *params - - - - - void glGetQueryObjectuiv - GLuint id - GLenum pname - GLuint *params - - - - void glGetQueryObjectuivARB - GLuint id - GLenum pname - GLuint *params - - - - void glGetQueryObjectuivEXT - GLuint id - GLenum pname - GLuint *params - - - void glGetQueryiv - GLenum target - GLenum pname - GLint *params - - - - void glGetQueryivARB - GLenum target - GLenum pname - GLint *params - - - - void glGetQueryivEXT - GLenum target - GLenum pname - GLint *params - - - void glGetRenderbufferParameteriv - GLenum target - GLenum pname - GLint *params - - - - void glGetRenderbufferParameterivEXT - GLenum target - GLenum pname - GLint *params - - - - - void glGetRenderbufferParameterivOES - GLenum target - GLenum pname - GLint *params - - - void glGetSamplerParameterIiv - GLuint sampler - GLenum pname - GLint *params - - - void glGetSamplerParameterIivEXT - GLuint sampler - GLenum pname - GLint *params - - - - void glGetSamplerParameterIivOES - GLuint sampler - GLenum pname - GLint *params - - - - void glGetSamplerParameterIuiv - GLuint sampler - GLenum pname - GLuint *params - - - void glGetSamplerParameterIuivEXT - GLuint sampler - GLenum pname - GLuint *params - - - - void glGetSamplerParameterIuivOES - GLuint sampler - GLenum pname - GLuint *params - - - - void glGetSamplerParameterfv - GLuint sampler - GLenum pname - GLfloat *params - - - void glGetSamplerParameteriv - GLuint sampler - GLenum pname - GLint *params - - - void glGetSeparableFilter - GLenum target - GLenum format - GLenum type - void *row - void *column - void *span - - - - - void glGetSeparableFilterEXT - GLenum target - GLenum format - GLenum type - void *row - void *column - void *span - - - - void glGetShaderInfoLog - GLuint shader - GLsizei bufSize - GLsizei *length - GLchar *infoLog - - - - void glGetShaderPrecisionFormat - GLenum shadertype - GLenum precisiontype - GLint *range - GLint *precision - - - void glGetShaderSource - GLuint shader - GLsizei bufSize - GLsizei *length - GLchar *source - - - void glGetShaderSourceARB - GLhandleARB obj - GLsizei maxLength - GLsizei *length - GLcharARB *source - - - - void glGetShaderiv - GLuint shader - GLenum pname - GLint *params - - - - void glGetSharpenTexFuncSGIS - GLenum target - GLfloat *points - - - - GLushort glGetStageIndexNV - GLenum shadertype - - - const GLubyte *glGetString - GLenum name - - - - const GLubyte *glGetStringi - GLenum name - GLuint index - - - GLuint glGetSubroutineIndex - GLuint program - GLenum shadertype - const GLchar *name - - - GLint glGetSubroutineUniformLocation - GLuint program - GLenum shadertype - const GLchar *name - - - void glGetSynciv - GLsync sync - GLenum pname - GLsizei bufSize - GLsizei *length - GLint *values - - - void glGetSyncivAPPLE - GLsync sync - GLenum pname - GLsizei bufSize - GLsizei *length - GLint *values - - - - void glGetTexBumpParameterfvATI - GLenum pname - GLfloat *param - - - void glGetTexBumpParameterivATI - GLenum pname - GLint *param - - - void glGetTexEnvfv - GLenum target - GLenum pname - GLfloat *params - - - - void glGetTexEnviv - GLenum target - GLenum pname - GLint *params - - - - void glGetTexEnvxv - GLenum target - GLenum pname - GLfixed *params - - - void glGetTexEnvxvOES - GLenum target - GLenum pname - GLfixed *params - - - void glGetTexFilterFuncSGIS - GLenum target - GLenum filter - GLfloat *weights - - - - void glGetTexGendv - GLenum coord - GLenum pname - GLdouble *params - - - - void glGetTexGenfv - GLenum coord - GLenum pname - GLfloat *params - - - - void glGetTexGenfvOES - GLenum coord - GLenum pname - GLfloat *params - - - void glGetTexGeniv - GLenum coord - GLenum pname - GLint *params - - - - void glGetTexGenivOES - GLenum coord - GLenum pname - GLint *params - - - void glGetTexGenxvOES - GLenum coord - GLenum pname - GLfixed *params - - - void glGetTexImage - GLenum target - GLint level - GLenum format - GLenum type - void *pixels - - - - - void glGetTexLevelParameterfv - GLenum target - GLint level - GLenum pname - GLfloat *params - - - - void glGetTexLevelParameteriv - GLenum target - GLint level - GLenum pname - GLint *params - - - - void glGetTexLevelParameterxvOES - GLenum target - GLint level - GLenum pname - GLfixed *params - - - void glGetTexParameterIiv - GLenum target - GLenum pname - GLint *params - - - - void glGetTexParameterIivEXT - GLenum target - GLenum pname - GLint *params - - - - void glGetTexParameterIivOES - GLenum target - GLenum pname - GLint *params - - - - void glGetTexParameterIuiv - GLenum target - GLenum pname - GLuint *params - - - - void glGetTexParameterIuivEXT - GLenum target - GLenum pname - GLuint *params - - - - void glGetTexParameterIuivOES - GLenum target - GLenum pname - GLuint *params - - - - void glGetTexParameterPointervAPPLE - GLenum target - GLenum pname - void **params - - - void glGetTexParameterfv - GLenum target - GLenum pname - GLfloat *params - - - - void glGetTexParameteriv - GLenum target - GLenum pname - GLint *params - - - - void glGetTexParameterxv - GLenum target - GLenum pname - GLfixed *params - - - void glGetTexParameterxvOES - GLenum target - GLenum pname - GLfixed *params - - - GLuint64 glGetTextureHandleARB - GLuint texture - - - GLuint64 glGetTextureHandleNV - GLuint texture - - - void glGetTextureImage - GLuint texture - GLint level - GLenum format - GLenum type - GLsizei bufSize - void *pixels - - - void glGetTextureImageEXT - GLuint texture - GLenum target - GLint level - GLenum format - GLenum type - void *pixels - - - void glGetTextureLevelParameterfv - GLuint texture - GLint level - GLenum pname - GLfloat *params - - - void glGetTextureLevelParameterfvEXT - GLuint texture - GLenum target - GLint level - GLenum pname - GLfloat *params - - - void glGetTextureLevelParameteriv - GLuint texture - GLint level - GLenum pname - GLint *params - - - void glGetTextureLevelParameterivEXT - GLuint texture - GLenum target - GLint level - GLenum pname - GLint *params - - - void glGetTextureParameterIiv - GLuint texture - GLenum pname - GLint *params - - - void glGetTextureParameterIivEXT - GLuint texture - GLenum target - GLenum pname - GLint *params - - - void glGetTextureParameterIuiv - GLuint texture - GLenum pname - GLuint *params - - - void glGetTextureParameterIuivEXT - GLuint texture - GLenum target - GLenum pname - GLuint *params - - - void glGetTextureParameterfv - GLuint texture - GLenum pname - GLfloat *params - - - void glGetTextureParameterfvEXT - GLuint texture - GLenum target - GLenum pname - GLfloat *params - - - void glGetTextureParameteriv - GLuint texture - GLenum pname - GLint *params - - - void glGetTextureParameterivEXT - GLuint texture - GLenum target - GLenum pname - GLint *params - - - GLuint64 glGetTextureSamplerHandleARB - GLuint texture - GLuint sampler - - - GLuint64 glGetTextureSamplerHandleNV - GLuint texture - GLuint sampler - - - void glGetTextureSubImage - GLuint texture - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLenum format - GLenum type - GLsizei bufSize - void *pixels - - - void glGetTrackMatrixivNV - GLenum target - GLuint address - GLenum pname - GLint *params - - - - void glGetTransformFeedbackVarying - GLuint program - GLuint index - GLsizei bufSize - GLsizei *length - GLsizei *size - GLenum *type - GLchar *name - - - void glGetTransformFeedbackVaryingEXT - GLuint program - GLuint index - GLsizei bufSize - GLsizei *length - GLsizei *size - GLenum *type - GLchar *name - - - - void glGetTransformFeedbackVaryingNV - GLuint program - GLuint index - GLint *location - - - void glGetTransformFeedbacki64_v - GLuint xfb - GLenum pname - GLuint index - GLint64 *param - - - void glGetTransformFeedbacki_v - GLuint xfb - GLenum pname - GLuint index - GLint *param - - - void glGetTransformFeedbackiv - GLuint xfb - GLenum pname - GLint *param - - - void glGetTranslatedShaderSourceANGLE - GLuint shader - GLsizei bufsize - GLsizei *length - GLchar *source - - - GLuint glGetUniformBlockIndex - GLuint program - const GLchar *uniformBlockName - - - GLint glGetUniformBufferSizeEXT - GLuint program - GLint location - - - void glGetUniformIndices - GLuint program - GLsizei uniformCount - const GLchar *const*uniformNames - GLuint *uniformIndices - - - GLint glGetUniformLocation - GLuint program - const GLchar *name - - - GLint glGetUniformLocationARB - GLhandleARB programObj - const GLcharARB *name - - - - GLintptr glGetUniformOffsetEXT - GLuint program - GLint location - - - void glGetUniformSubroutineuiv - GLenum shadertype - GLint location - GLuint *params - - - void glGetUniformdv - GLuint program - GLint location - GLdouble *params - - - void glGetUniformfv - GLuint program - GLint location - GLfloat *params - - - void glGetUniformfvARB - GLhandleARB programObj - GLint location - GLfloat *params - - - - void glGetUniformi64vARB - GLuint program - GLint location - GLint64 *params - - - void glGetUniformi64vNV - GLuint program - GLint location - GLint64EXT *params - - - void glGetUniformiv - GLuint program - GLint location - GLint *params - - - void glGetUniformivARB - GLhandleARB programObj - GLint location - GLint *params - - - - void glGetUniformui64vARB - GLuint program - GLint location - GLuint64 *params - - - void glGetUniformui64vNV - GLuint program - GLint location - GLuint64EXT *params - - - void glGetUniformuiv - GLuint program - GLint location - GLuint *params - - - void glGetUniformuivEXT - GLuint program - GLint location - GLuint *params - - - - void glGetVariantArrayObjectfvATI - GLuint id - GLenum pname - GLfloat *params - - - void glGetVariantArrayObjectivATI - GLuint id - GLenum pname - GLint *params - - - void glGetVariantBooleanvEXT - GLuint id - GLenum value - GLboolean *data - - - void glGetVariantFloatvEXT - GLuint id - GLenum value - GLfloat *data - - - void glGetVariantIntegervEXT - GLuint id - GLenum value - GLint *data - - - void glGetVariantPointervEXT - GLuint id - GLenum value - void **data - - - GLint glGetVaryingLocationNV - GLuint program - const GLchar *name - - - void glGetVertexArrayIndexed64iv - GLuint vaobj - GLuint index - GLenum pname - GLint64 *param - - - void glGetVertexArrayIndexediv - GLuint vaobj - GLuint index - GLenum pname - GLint *param - - - void glGetVertexArrayIntegeri_vEXT - GLuint vaobj - GLuint index - GLenum pname - GLint *param - - - void glGetVertexArrayIntegervEXT - GLuint vaobj - GLenum pname - GLint *param - - - void glGetVertexArrayPointeri_vEXT - GLuint vaobj - GLuint index - GLenum pname - void **param - - - void glGetVertexArrayPointervEXT - GLuint vaobj - GLenum pname - void **param - - - void glGetVertexArrayiv - GLuint vaobj - GLenum pname - GLint *param - - - void glGetVertexAttribArrayObjectfvATI - GLuint index - GLenum pname - GLfloat *params - - - void glGetVertexAttribArrayObjectivATI - GLuint index - GLenum pname - GLint *params - - - void glGetVertexAttribIiv - GLuint index - GLenum pname - GLint *params - - - void glGetVertexAttribIivEXT - GLuint index - GLenum pname - GLint *params - - - - void glGetVertexAttribIuiv - GLuint index - GLenum pname - GLuint *params - - - void glGetVertexAttribIuivEXT - GLuint index - GLenum pname - GLuint *params - - - - void glGetVertexAttribLdv - GLuint index - GLenum pname - GLdouble *params - - - void glGetVertexAttribLdvEXT - GLuint index - GLenum pname - GLdouble *params - - - - void glGetVertexAttribLi64vNV - GLuint index - GLenum pname - GLint64EXT *params - - - void glGetVertexAttribLui64vARB - GLuint index - GLenum pname - GLuint64EXT *params - - - void glGetVertexAttribLui64vNV - GLuint index - GLenum pname - GLuint64EXT *params - - - void glGetVertexAttribPointerv - GLuint index - GLenum pname - void **pointer - - - - void glGetVertexAttribPointervARB - GLuint index - GLenum pname - void **pointer - - - - void glGetVertexAttribPointervNV - GLuint index - GLenum pname - void **pointer - - - - void glGetVertexAttribdv - GLuint index - GLenum pname - GLdouble *params - - - - void glGetVertexAttribdvARB - GLuint index - GLenum pname - GLdouble *params - - - - - void glGetVertexAttribdvNV - GLuint index - GLenum pname - GLdouble *params - - - - - void glGetVertexAttribfv - GLuint index - GLenum pname - GLfloat *params - - - - void glGetVertexAttribfvARB - GLuint index - GLenum pname - GLfloat *params - - - - - void glGetVertexAttribfvNV - GLuint index - GLenum pname - GLfloat *params - - - - - void glGetVertexAttribiv - GLuint index - GLenum pname - GLint *params - - - - void glGetVertexAttribivARB - GLuint index - GLenum pname - GLint *params - - - - - void glGetVertexAttribivNV - GLuint index - GLenum pname - GLint *params - - - - - void glGetVideoCaptureStreamdvNV - GLuint video_capture_slot - GLuint stream - GLenum pname - GLdouble *params - - - void glGetVideoCaptureStreamfvNV - GLuint video_capture_slot - GLuint stream - GLenum pname - GLfloat *params - - - void glGetVideoCaptureStreamivNV - GLuint video_capture_slot - GLuint stream - GLenum pname - GLint *params - - - void glGetVideoCaptureivNV - GLuint video_capture_slot - GLenum pname - GLint *params - - - void glGetVideoi64vNV - GLuint video_slot - GLenum pname - GLint64EXT *params - - - void glGetVideoivNV - GLuint video_slot - GLenum pname - GLint *params - - - void glGetVideoui64vNV - GLuint video_slot - GLenum pname - GLuint64EXT *params - - - void glGetVideouivNV - GLuint video_slot - GLenum pname - GLuint *params - - - void glGetnColorTable - GLenum target - GLenum format - GLenum type - GLsizei bufSize - void *table - - - void glGetnColorTableARB - GLenum target - GLenum format - GLenum type - GLsizei bufSize - void *table - - - void glGetnCompressedTexImage - GLenum target - GLint lod - GLsizei bufSize - void *pixels - - - void glGetnCompressedTexImageARB - GLenum target - GLint lod - GLsizei bufSize - void *img - - - void glGetnConvolutionFilter - GLenum target - GLenum format - GLenum type - GLsizei bufSize - void *image - - - void glGetnConvolutionFilterARB - GLenum target - GLenum format - GLenum type - GLsizei bufSize - void *image - - - void glGetnHistogram - GLenum target - GLboolean reset - GLenum format - GLenum type - GLsizei bufSize - void *values - - - void glGetnHistogramARB - GLenum target - GLboolean reset - GLenum format - GLenum type - GLsizei bufSize - void *values - - - void glGetnMapdv - GLenum target - GLenum query - GLsizei bufSize - GLdouble *v - - - void glGetnMapdvARB - GLenum target - GLenum query - GLsizei bufSize - GLdouble *v - - - void glGetnMapfv - GLenum target - GLenum query - GLsizei bufSize - GLfloat *v - - - void glGetnMapfvARB - GLenum target - GLenum query - GLsizei bufSize - GLfloat *v - - - void glGetnMapiv - GLenum target - GLenum query - GLsizei bufSize - GLint *v - - - void glGetnMapivARB - GLenum target - GLenum query - GLsizei bufSize - GLint *v - - - void glGetnMinmax - GLenum target - GLboolean reset - GLenum format - GLenum type - GLsizei bufSize - void *values - - - void glGetnMinmaxARB - GLenum target - GLboolean reset - GLenum format - GLenum type - GLsizei bufSize - void *values - - - void glGetnPixelMapfv - GLenum map - GLsizei bufSize - GLfloat *values - - - void glGetnPixelMapfvARB - GLenum map - GLsizei bufSize - GLfloat *values - - - void glGetnPixelMapuiv - GLenum map - GLsizei bufSize - GLuint *values - - - void glGetnPixelMapuivARB - GLenum map - GLsizei bufSize - GLuint *values - - - void glGetnPixelMapusv - GLenum map - GLsizei bufSize - GLushort *values - - - void glGetnPixelMapusvARB - GLenum map - GLsizei bufSize - GLushort *values - - - void glGetnPolygonStipple - GLsizei bufSize - GLubyte *pattern - - - void glGetnPolygonStippleARB - GLsizei bufSize - GLubyte *pattern - - - void glGetnSeparableFilter - GLenum target - GLenum format - GLenum type - GLsizei rowBufSize - void *row - GLsizei columnBufSize - void *column - void *span - - - void glGetnSeparableFilterARB - GLenum target - GLenum format - GLenum type - GLsizei rowBufSize - void *row - GLsizei columnBufSize - void *column - void *span - - - void glGetnTexImage - GLenum target - GLint level - GLenum format - GLenum type - GLsizei bufSize - void *pixels - - - void glGetnTexImageARB - GLenum target - GLint level - GLenum format - GLenum type - GLsizei bufSize - void *img - - - void glGetnUniformdv - GLuint program - GLint location - GLsizei bufSize - GLdouble *params - - - void glGetnUniformdvARB - GLuint program - GLint location - GLsizei bufSize - GLdouble *params - - - void glGetnUniformfv - GLuint program - GLint location - GLsizei bufSize - GLfloat *params - - - void glGetnUniformfvARB - GLuint program - GLint location - GLsizei bufSize - GLfloat *params - - - void glGetnUniformfvEXT - GLuint program - GLint location - GLsizei bufSize - GLfloat *params - - - void glGetnUniformfvKHR - GLuint program - GLint location - GLsizei bufSize - GLfloat *params - - - - void glGetnUniformi64vARB - GLuint program - GLint location - GLsizei bufSize - GLint64 *params - - - void glGetnUniformiv - GLuint program - GLint location - GLsizei bufSize - GLint *params - - - void glGetnUniformivARB - GLuint program - GLint location - GLsizei bufSize - GLint *params - - - void glGetnUniformivEXT - GLuint program - GLint location - GLsizei bufSize - GLint *params - - - void glGetnUniformivKHR - GLuint program - GLint location - GLsizei bufSize - GLint *params - - - - void glGetnUniformui64vARB - GLuint program - GLint location - GLsizei bufSize - GLuint64 *params - - - void glGetnUniformuiv - GLuint program - GLint location - GLsizei bufSize - GLuint *params - - - void glGetnUniformuivARB - GLuint program - GLint location - GLsizei bufSize - GLuint *params - - - void glGetnUniformuivKHR - GLuint program - GLint location - GLsizei bufSize - GLuint *params - - - - void glGlobalAlphaFactorbSUN - GLbyte factor - - - void glGlobalAlphaFactordSUN - GLdouble factor - - - void glGlobalAlphaFactorfSUN - GLfloat factor - - - void glGlobalAlphaFactoriSUN - GLint factor - - - void glGlobalAlphaFactorsSUN - GLshort factor - - - void glGlobalAlphaFactorubSUN - GLubyte factor - - - void glGlobalAlphaFactoruiSUN - GLuint factor - - - void glGlobalAlphaFactorusSUN - GLushort factor - - - void glHint - GLenum target - GLenum mode - - - - void glHintPGI - GLenum target - GLint mode - - - void glHistogram - GLenum target - GLsizei width - GLenum internalformat - GLboolean sink - - - - void glHistogramEXT - GLenum target - GLsizei width - GLenum internalformat - GLboolean sink - - - - - void glIglooInterfaceSGIX - GLenum pname - const void *params - - - - void glImageTransformParameterfHP - GLenum target - GLenum pname - GLfloat param - - - void glImageTransformParameterfvHP - GLenum target - GLenum pname - const GLfloat *params - - - void glImageTransformParameteriHP - GLenum target - GLenum pname - GLint param - - - void glImageTransformParameterivHP - GLenum target - GLenum pname - const GLint *params - - - GLsync glImportSyncEXT - GLenum external_sync_type - GLintptr external_sync - GLbitfield flags - - - void glIndexFormatNV - GLenum type - GLsizei stride - - - void glIndexFuncEXT - GLenum func - GLclampf ref - - - void glIndexMask - GLuint mask - - - - void glIndexMaterialEXT - GLenum face - GLenum mode - - - void glIndexPointer - GLenum type - GLsizei stride - const void *pointer - - - void glIndexPointerEXT - GLenum type - GLsizei stride - GLsizei count - const void *pointer - - - void glIndexPointerListIBM - GLenum type - GLint stride - const void **pointer - GLint ptrstride - - - void glIndexd - GLdouble c - - - - void glIndexdv - const GLdouble *c - - - - void glIndexf - GLfloat c - - - - void glIndexfv - const GLfloat *c - - - - void glIndexi - GLint c - - - - void glIndexiv - const GLint *c - - - - void glIndexs - GLshort c - - - - void glIndexsv - const GLshort *c - - - - void glIndexub - GLubyte c - - - - void glIndexubv - const GLubyte *c - - - - void glIndexxOES - GLfixed component - - - void glIndexxvOES - const GLfixed *component - - - void glInitNames - - - - void glInsertComponentEXT - GLuint res - GLuint src - GLuint num - - - void glInsertEventMarkerEXT - GLsizei length - const GLchar *marker - - - void glInstrumentsBufferSGIX - GLsizei size - GLint *buffer - - - - void glInterleavedArrays - GLenum format - GLsizei stride - const void *pointer - - - void glInterpolatePathsNV - GLuint resultPath - GLuint pathA - GLuint pathB - GLfloat weight - - - void glInvalidateBufferData - GLuint buffer - - - void glInvalidateBufferSubData - GLuint buffer - GLintptr offset - GLsizeiptr length - - - void glInvalidateFramebuffer - GLenum target - GLsizei numAttachments - const GLenum *attachments - - - void glInvalidateNamedFramebufferData - GLuint framebuffer - GLsizei numAttachments - const GLenum *attachments - - - void glInvalidateNamedFramebufferSubData - GLuint framebuffer - GLsizei numAttachments - const GLenum *attachments - GLint x - GLint y - GLsizei width - GLsizei height - - - void glInvalidateSubFramebuffer - GLenum target - GLsizei numAttachments - const GLenum *attachments - GLint x - GLint y - GLsizei width - GLsizei height - - - void glInvalidateTexImage - GLuint texture - GLint level - - - void glInvalidateTexSubImage - GLuint texture - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - - - GLboolean glIsAsyncMarkerSGIX - GLuint marker - - - GLboolean glIsBuffer - GLuint buffer - - - GLboolean glIsBufferARB - GLuint buffer - - - - GLboolean glIsBufferResidentNV - GLenum target - - - GLboolean glIsCommandListNV - GLuint list - - - GLboolean glIsEnabled - GLenum cap - - - - GLboolean glIsEnabledIndexedEXT - GLenum target - GLuint index - - - - GLboolean glIsEnabledi - GLenum target - GLuint index - - - GLboolean glIsEnablediEXT - GLenum target - GLuint index - - - - GLboolean glIsEnablediNV - GLenum target - GLuint index - - - - GLboolean glIsEnablediOES - GLenum target - GLuint index - - - - GLboolean glIsFenceAPPLE - GLuint fence - - - GLboolean glIsFenceNV - GLuint fence - - - - GLboolean glIsFramebuffer - GLuint framebuffer - - - - GLboolean glIsFramebufferEXT - GLuint framebuffer - - - - - GLboolean glIsFramebufferOES - GLuint framebuffer - - - GLboolean glIsImageHandleResidentARB - GLuint64 handle - - - GLboolean glIsImageHandleResidentNV - GLuint64 handle - - - GLboolean glIsList - GLuint list - - - - GLboolean glIsNameAMD - GLenum identifier - GLuint name - - - GLboolean glIsNamedBufferResidentNV - GLuint buffer - - - GLboolean glIsNamedStringARB - GLint namelen - const GLchar *name - - - GLboolean glIsObjectBufferATI - GLuint buffer - - - GLboolean glIsOcclusionQueryNV - GLuint id - - - GLboolean glIsPathNV - GLuint path - - - GLboolean glIsPointInFillPathNV - GLuint path - GLuint mask - GLfloat x - GLfloat y - - - GLboolean glIsPointInStrokePathNV - GLuint path - GLfloat x - GLfloat y - - - GLboolean glIsProgram - GLuint program - - - - GLboolean glIsProgramARB - GLuint program - - - - GLboolean glIsProgramNV - GLuint id - - - - - GLboolean glIsProgramPipeline - GLuint pipeline - - - GLboolean glIsProgramPipelineEXT - GLuint pipeline - - - GLboolean glIsQuery - GLuint id - - - - GLboolean glIsQueryARB - GLuint id - - - - GLboolean glIsQueryEXT - GLuint id - - - GLboolean glIsRenderbuffer - GLuint renderbuffer - - - - GLboolean glIsRenderbufferEXT - GLuint renderbuffer - - - - - GLboolean glIsRenderbufferOES - GLuint renderbuffer - - - GLboolean glIsSampler - GLuint sampler - - - GLboolean glIsShader - GLuint shader - - - - GLboolean glIsStateNV - GLuint state - - - GLboolean glIsSync - GLsync sync - - - GLboolean glIsSyncAPPLE - GLsync sync - - - - GLboolean glIsTexture - GLuint texture - - - - GLboolean glIsTextureEXT - GLuint texture - - - - GLboolean glIsTextureHandleResidentARB - GLuint64 handle - - - GLboolean glIsTextureHandleResidentNV - GLuint64 handle - - - GLboolean glIsTransformFeedback - GLuint id - - - GLboolean glIsTransformFeedbackNV - GLuint id - - - - GLboolean glIsVariantEnabledEXT - GLuint id - GLenum cap - - - GLboolean glIsVertexArray - GLuint array - - - - GLboolean glIsVertexArrayAPPLE - GLuint array - - - - GLboolean glIsVertexArrayOES - GLuint array - - - - GLboolean glIsVertexAttribEnabledAPPLE - GLuint index - GLenum pname - - - void glLabelObjectEXT - GLenum type - GLuint object - GLsizei length - const GLchar *label - - - void glLightEnviSGIX - GLenum pname - GLint param - - - void glLightModelf - GLenum pname - GLfloat param - - - - void glLightModelfv - GLenum pname - const GLfloat *params - - - - void glLightModeli - GLenum pname - GLint param - - - - void glLightModeliv - GLenum pname - const GLint *params - - - - void glLightModelx - GLenum pname - GLfixed param - - - void glLightModelxOES - GLenum pname - GLfixed param - - - void glLightModelxv - GLenum pname - const GLfixed *param - - - void glLightModelxvOES - GLenum pname - const GLfixed *param - - - void glLightf - GLenum light - GLenum pname - GLfloat param - - - - void glLightfv - GLenum light - GLenum pname - const GLfloat *params - - - - void glLighti - GLenum light - GLenum pname - GLint param - - - - void glLightiv - GLenum light - GLenum pname - const GLint *params - - - - void glLightx - GLenum light - GLenum pname - GLfixed param - - - void glLightxOES - GLenum light - GLenum pname - GLfixed param - - - void glLightxv - GLenum light - GLenum pname - const GLfixed *params - - - void glLightxvOES - GLenum light - GLenum pname - const GLfixed *params - - - void glLineStipple - GLint factor - GLushort pattern - - - - void glLineWidth - GLfloat width - - - - void glLineWidthx - GLfixed width - - - void glLineWidthxOES - GLfixed width - - - void glLinkProgram - GLuint program - - - void glLinkProgramARB - GLhandleARB programObj - - - - void glListBase - GLuint base - - - - void glListDrawCommandsStatesClientNV - GLuint list - GLuint segment - const void **indirects - const GLsizei *sizes - const GLuint *states - const GLuint *fbos - GLuint count - - - void glListParameterfSGIX - GLuint list - GLenum pname - GLfloat param - - - - void glListParameterfvSGIX - GLuint list - GLenum pname - const GLfloat *params - - - - void glListParameteriSGIX - GLuint list - GLenum pname - GLint param - - - - void glListParameterivSGIX - GLuint list - GLenum pname - const GLint *params - - - - void glLoadIdentity - - - - void glLoadIdentityDeformationMapSGIX - GLbitfield mask - - - - void glLoadMatrixd - const GLdouble *m - - - - void glLoadMatrixf - const GLfloat *m - - - - void glLoadMatrixx - const GLfixed *m - - - void glLoadMatrixxOES - const GLfixed *m - - - void glLoadName - GLuint name - - - - void glLoadPaletteFromModelViewMatrixOES - - - void glLoadProgramNV - GLenum target - GLuint id - GLsizei len - const GLubyte *program - - - - void glLoadTransposeMatrixd - const GLdouble *m - - - void glLoadTransposeMatrixdARB - const GLdouble *m - - - - void glLoadTransposeMatrixf - const GLfloat *m - - - void glLoadTransposeMatrixfARB - const GLfloat *m - - - - void glLoadTransposeMatrixxOES - const GLfixed *m - - - void glLockArraysEXT - GLint first - GLsizei count - - - void glLogicOp - GLenum opcode - - - - void glMakeBufferNonResidentNV - GLenum target - - - void glMakeBufferResidentNV - GLenum target - GLenum access - - - void glMakeImageHandleNonResidentARB - GLuint64 handle - - - void glMakeImageHandleNonResidentNV - GLuint64 handle - - - void glMakeImageHandleResidentARB - GLuint64 handle - GLenum access - - - void glMakeImageHandleResidentNV - GLuint64 handle - GLenum access - - - void glMakeNamedBufferNonResidentNV - GLuint buffer - - - void glMakeNamedBufferResidentNV - GLuint buffer - GLenum access - - - void glMakeTextureHandleNonResidentARB - GLuint64 handle - - - void glMakeTextureHandleNonResidentNV - GLuint64 handle - - - void glMakeTextureHandleResidentARB - GLuint64 handle - - - void glMakeTextureHandleResidentNV - GLuint64 handle - - - void glMap1d - GLenum target - GLdouble u1 - GLdouble u2 - GLint stride - GLint order - const GLdouble *points - - - - void glMap1f - GLenum target - GLfloat u1 - GLfloat u2 - GLint stride - GLint order - const GLfloat *points - - - - void glMap1xOES - GLenum target - GLfixed u1 - GLfixed u2 - GLint stride - GLint order - GLfixed points - - - void glMap2d - GLenum target - GLdouble u1 - GLdouble u2 - GLint ustride - GLint uorder - GLdouble v1 - GLdouble v2 - GLint vstride - GLint vorder - const GLdouble *points - - - - void glMap2f - GLenum target - GLfloat u1 - GLfloat u2 - GLint ustride - GLint uorder - GLfloat v1 - GLfloat v2 - GLint vstride - GLint vorder - const GLfloat *points - - - - void glMap2xOES - GLenum target - GLfixed u1 - GLfixed u2 - GLint ustride - GLint uorder - GLfixed v1 - GLfixed v2 - GLint vstride - GLint vorder - GLfixed points - - - void *glMapBuffer - GLenum target - GLenum access - - - void *glMapBufferARB - GLenum target - GLenum access - - - - void *glMapBufferOES - GLenum target - GLenum access - - - - void *glMapBufferRange - GLenum target - GLintptr offset - GLsizeiptr length - GLbitfield access - - - - void *glMapBufferRangeEXT - GLenum target - GLintptr offset - GLsizeiptr length - GLbitfield access - - - - void glMapControlPointsNV - GLenum target - GLuint index - GLenum type - GLsizei ustride - GLsizei vstride - GLint uorder - GLint vorder - GLboolean packed - const void *points - - - void glMapGrid1d - GLint un - GLdouble u1 - GLdouble u2 - - - - void glMapGrid1f - GLint un - GLfloat u1 - GLfloat u2 - - - - void glMapGrid1xOES - GLint n - GLfixed u1 - GLfixed u2 - - - void glMapGrid2d - GLint un - GLdouble u1 - GLdouble u2 - GLint vn - GLdouble v1 - GLdouble v2 - - - - void glMapGrid2f - GLint un - GLfloat u1 - GLfloat u2 - GLint vn - GLfloat v1 - GLfloat v2 - - - - void glMapGrid2xOES - GLint n - GLfixed u1 - GLfixed u2 - GLfixed v1 - GLfixed v2 - - - void *glMapNamedBuffer - GLuint buffer - GLenum access - - - void *glMapNamedBufferEXT - GLuint buffer - GLenum access - - - void *glMapNamedBufferRange - GLuint buffer - GLintptr offset - GLsizeiptr length - GLbitfield access - - - void *glMapNamedBufferRangeEXT - GLuint buffer - GLintptr offset - GLsizeiptr length - GLbitfield access - - - void *glMapObjectBufferATI - GLuint buffer - - - void glMapParameterfvNV - GLenum target - GLenum pname - const GLfloat *params - - - void glMapParameterivNV - GLenum target - GLenum pname - const GLint *params - - - void *glMapTexture2DINTEL - GLuint texture - GLint level - GLbitfield access - GLint *stride - GLenum *layout - - - void glMapVertexAttrib1dAPPLE - GLuint index - GLuint size - GLdouble u1 - GLdouble u2 - GLint stride - GLint order - const GLdouble *points - - - void glMapVertexAttrib1fAPPLE - GLuint index - GLuint size - GLfloat u1 - GLfloat u2 - GLint stride - GLint order - const GLfloat *points - - - void glMapVertexAttrib2dAPPLE - GLuint index - GLuint size - GLdouble u1 - GLdouble u2 - GLint ustride - GLint uorder - GLdouble v1 - GLdouble v2 - GLint vstride - GLint vorder - const GLdouble *points - - - void glMapVertexAttrib2fAPPLE - GLuint index - GLuint size - GLfloat u1 - GLfloat u2 - GLint ustride - GLint uorder - GLfloat v1 - GLfloat v2 - GLint vstride - GLint vorder - const GLfloat *points - - - void glMaterialf - GLenum face - GLenum pname - GLfloat param - - - - void glMaterialfv - GLenum face - GLenum pname - const GLfloat *params - - - - void glMateriali - GLenum face - GLenum pname - GLint param - - - - void glMaterialiv - GLenum face - GLenum pname - const GLint *params - - - - void glMaterialx - GLenum face - GLenum pname - GLfixed param - - - void glMaterialxOES - GLenum face - GLenum pname - GLfixed param - - - void glMaterialxv - GLenum face - GLenum pname - const GLfixed *param - - - void glMaterialxvOES - GLenum face - GLenum pname - const GLfixed *param - - - void glMatrixFrustumEXT - GLenum mode - GLdouble left - GLdouble right - GLdouble bottom - GLdouble top - GLdouble zNear - GLdouble zFar - - - void glMatrixIndexPointerARB - GLint size - GLenum type - GLsizei stride - const void *pointer - - - void glMatrixIndexPointerOES - GLint size - GLenum type - GLsizei stride - const void *pointer - - - void glMatrixIndexubvARB - GLint size - const GLubyte *indices - - - - void glMatrixIndexuivARB - GLint size - const GLuint *indices - - - - void glMatrixIndexusvARB - GLint size - const GLushort *indices - - - - void glMatrixLoad3x2fNV - GLenum matrixMode - const GLfloat *m - - - void glMatrixLoad3x3fNV - GLenum matrixMode - const GLfloat *m - - - void glMatrixLoadIdentityEXT - GLenum mode - - - void glMatrixLoadTranspose3x3fNV - GLenum matrixMode - const GLfloat *m - - - void glMatrixLoadTransposedEXT - GLenum mode - const GLdouble *m - - - void glMatrixLoadTransposefEXT - GLenum mode - const GLfloat *m - - - void glMatrixLoaddEXT - GLenum mode - const GLdouble *m - - - void glMatrixLoadfEXT - GLenum mode - const GLfloat *m - - - void glMatrixMode - GLenum mode - - - - void glMatrixMult3x2fNV - GLenum matrixMode - const GLfloat *m - - - void glMatrixMult3x3fNV - GLenum matrixMode - const GLfloat *m - - - void glMatrixMultTranspose3x3fNV - GLenum matrixMode - const GLfloat *m - - - void glMatrixMultTransposedEXT - GLenum mode - const GLdouble *m - - - void glMatrixMultTransposefEXT - GLenum mode - const GLfloat *m - - - void glMatrixMultdEXT - GLenum mode - const GLdouble *m - - - void glMatrixMultfEXT - GLenum mode - const GLfloat *m - - - void glMatrixOrthoEXT - GLenum mode - GLdouble left - GLdouble right - GLdouble bottom - GLdouble top - GLdouble zNear - GLdouble zFar - - - void glMatrixPopEXT - GLenum mode - - - void glMatrixPushEXT - GLenum mode - - - void glMatrixRotatedEXT - GLenum mode - GLdouble angle - GLdouble x - GLdouble y - GLdouble z - - - void glMatrixRotatefEXT - GLenum mode - GLfloat angle - GLfloat x - GLfloat y - GLfloat z - - - void glMatrixScaledEXT - GLenum mode - GLdouble x - GLdouble y - GLdouble z - - - void glMatrixScalefEXT - GLenum mode - GLfloat x - GLfloat y - GLfloat z - - - void glMatrixTranslatedEXT - GLenum mode - GLdouble x - GLdouble y - GLdouble z - - - void glMatrixTranslatefEXT - GLenum mode - GLfloat x - GLfloat y - GLfloat z - - - void glMaxShaderCompilerThreadsARB - GLuint count - - - void glMemoryBarrier - GLbitfield barriers - - - void glMemoryBarrierByRegion - GLbitfield barriers - - - void glMemoryBarrierEXT - GLbitfield barriers - - - - void glMinSampleShading - GLfloat value - - - void glMinSampleShadingARB - GLfloat value - - - - void glMinSampleShadingOES - GLfloat value - - - - void glMinmax - GLenum target - GLenum internalformat - GLboolean sink - - - - void glMinmaxEXT - GLenum target - GLenum internalformat - GLboolean sink - - - - - void glMultMatrixd - const GLdouble *m - - - - void glMultMatrixf - const GLfloat *m - - - - void glMultMatrixx - const GLfixed *m - - - void glMultMatrixxOES - const GLfixed *m - - - void glMultTransposeMatrixd - const GLdouble *m - - - void glMultTransposeMatrixdARB - const GLdouble *m - - - - void glMultTransposeMatrixf - const GLfloat *m - - - void glMultTransposeMatrixfARB - const GLfloat *m - - - - void glMultTransposeMatrixxOES - const GLfixed *m - - - void glMultiDrawArrays - GLenum mode - const GLint *first - const GLsizei *count - GLsizei drawcount - - - void glMultiDrawArraysEXT - GLenum mode - const GLint *first - const GLsizei *count - GLsizei primcount - - - - void glMultiDrawArraysIndirect - GLenum mode - const void *indirect - GLsizei drawcount - GLsizei stride - - - void glMultiDrawArraysIndirectAMD - GLenum mode - const void *indirect - GLsizei primcount - GLsizei stride - - - - void glMultiDrawArraysIndirectBindlessCountNV - GLenum mode - const void *indirect - GLsizei drawCount - GLsizei maxDrawCount - GLsizei stride - GLint vertexBufferCount - - - void glMultiDrawArraysIndirectBindlessNV - GLenum mode - const void *indirect - GLsizei drawCount - GLsizei stride - GLint vertexBufferCount - - - void glMultiDrawArraysIndirectCountARB - GLenum mode - GLintptr indirect - GLintptr drawcount - GLsizei maxdrawcount - GLsizei stride - - - void glMultiDrawArraysIndirectEXT - GLenum mode - const void *indirect - GLsizei drawcount - GLsizei stride - - - - void glMultiDrawElementArrayAPPLE - GLenum mode - const GLint *first - const GLsizei *count - GLsizei primcount - - - void glMultiDrawElements - GLenum mode - const GLsizei *count - GLenum type - const void *const*indices - GLsizei drawcount - - - void glMultiDrawElementsBaseVertex - GLenum mode - const GLsizei *count - GLenum type - const void *const*indices - GLsizei drawcount - const GLint *basevertex - - - void glMultiDrawElementsBaseVertexEXT - GLenum mode - const GLsizei *count - GLenum type - const void *const*indices - GLsizei primcount - const GLint *basevertex - - - - void glMultiDrawElementsBaseVertexOES - GLenum mode - const GLsizei *count - GLenum type - const void *const*indices - GLsizei primcount - const GLint *basevertex - - - - void glMultiDrawElementsEXT - GLenum mode - const GLsizei *count - GLenum type - const void *const*indices - GLsizei primcount - - - - void glMultiDrawElementsIndirect - GLenum mode - GLenum type - const void *indirect - GLsizei drawcount - GLsizei stride - - - void glMultiDrawElementsIndirectAMD - GLenum mode - GLenum type - const void *indirect - GLsizei primcount - GLsizei stride - - - - void glMultiDrawElementsIndirectBindlessCountNV - GLenum mode - GLenum type - const void *indirect - GLsizei drawCount - GLsizei maxDrawCount - GLsizei stride - GLint vertexBufferCount - - - void glMultiDrawElementsIndirectBindlessNV - GLenum mode - GLenum type - const void *indirect - GLsizei drawCount - GLsizei stride - GLint vertexBufferCount - - - void glMultiDrawElementsIndirectCountARB - GLenum mode - GLenum type - GLintptr indirect - GLintptr drawcount - GLsizei maxdrawcount - GLsizei stride - - - void glMultiDrawElementsIndirectEXT - GLenum mode - GLenum type - const void *indirect - GLsizei drawcount - GLsizei stride - - - - void glMultiDrawRangeElementArrayAPPLE - GLenum mode - GLuint start - GLuint end - const GLint *first - const GLsizei *count - GLsizei primcount - - - void glMultiModeDrawArraysIBM - const GLenum *mode - const GLint *first - const GLsizei *count - GLsizei primcount - GLint modestride - - - void glMultiModeDrawElementsIBM - const GLenum *mode - const GLsizei *count - GLenum type - const void *const*indices - GLsizei primcount - GLint modestride - - - void glMultiTexBufferEXT - GLenum texunit - GLenum target - GLenum internalformat - GLuint buffer - - - void glMultiTexCoord1bOES - GLenum texture - GLbyte s - - - void glMultiTexCoord1bvOES - GLenum texture - const GLbyte *coords - - - void glMultiTexCoord1d - GLenum target - GLdouble s - - - - void glMultiTexCoord1dARB - GLenum target - GLdouble s - - - - - void glMultiTexCoord1dv - GLenum target - const GLdouble *v - - - - void glMultiTexCoord1dvARB - GLenum target - const GLdouble *v - - - - - void glMultiTexCoord1f - GLenum target - GLfloat s - - - - void glMultiTexCoord1fARB - GLenum target - GLfloat s - - - - - void glMultiTexCoord1fv - GLenum target - const GLfloat *v - - - - void glMultiTexCoord1fvARB - GLenum target - const GLfloat *v - - - - - void glMultiTexCoord1hNV - GLenum target - GLhalfNV s - - - - void glMultiTexCoord1hvNV - GLenum target - const GLhalfNV *v - - - - void glMultiTexCoord1i - GLenum target - GLint s - - - - void glMultiTexCoord1iARB - GLenum target - GLint s - - - - - void glMultiTexCoord1iv - GLenum target - const GLint *v - - - - void glMultiTexCoord1ivARB - GLenum target - const GLint *v - - - - - void glMultiTexCoord1s - GLenum target - GLshort s - - - - void glMultiTexCoord1sARB - GLenum target - GLshort s - - - - - void glMultiTexCoord1sv - GLenum target - const GLshort *v - - - - void glMultiTexCoord1svARB - GLenum target - const GLshort *v - - - - - void glMultiTexCoord1xOES - GLenum texture - GLfixed s - - - void glMultiTexCoord1xvOES - GLenum texture - const GLfixed *coords - - - void glMultiTexCoord2bOES - GLenum texture - GLbyte s - GLbyte t - - - void glMultiTexCoord2bvOES - GLenum texture - const GLbyte *coords - - - void glMultiTexCoord2d - GLenum target - GLdouble s - GLdouble t - - - - void glMultiTexCoord2dARB - GLenum target - GLdouble s - GLdouble t - - - - - void glMultiTexCoord2dv - GLenum target - const GLdouble *v - - - - void glMultiTexCoord2dvARB - GLenum target - const GLdouble *v - - - - - void glMultiTexCoord2f - GLenum target - GLfloat s - GLfloat t - - - - void glMultiTexCoord2fARB - GLenum target - GLfloat s - GLfloat t - - - - - void glMultiTexCoord2fv - GLenum target - const GLfloat *v - - - - void glMultiTexCoord2fvARB - GLenum target - const GLfloat *v - - - - - void glMultiTexCoord2hNV - GLenum target - GLhalfNV s - GLhalfNV t - - - - void glMultiTexCoord2hvNV - GLenum target - const GLhalfNV *v - - - - void glMultiTexCoord2i - GLenum target - GLint s - GLint t - - - - void glMultiTexCoord2iARB - GLenum target - GLint s - GLint t - - - - - void glMultiTexCoord2iv - GLenum target - const GLint *v - - - - void glMultiTexCoord2ivARB - GLenum target - const GLint *v - - - - - void glMultiTexCoord2s - GLenum target - GLshort s - GLshort t - - - - void glMultiTexCoord2sARB - GLenum target - GLshort s - GLshort t - - - - - void glMultiTexCoord2sv - GLenum target - const GLshort *v - - - - void glMultiTexCoord2svARB - GLenum target - const GLshort *v - - - - - void glMultiTexCoord2xOES - GLenum texture - GLfixed s - GLfixed t - - - void glMultiTexCoord2xvOES - GLenum texture - const GLfixed *coords - - - void glMultiTexCoord3bOES - GLenum texture - GLbyte s - GLbyte t - GLbyte r - - - void glMultiTexCoord3bvOES - GLenum texture - const GLbyte *coords - - - void glMultiTexCoord3d - GLenum target - GLdouble s - GLdouble t - GLdouble r - - - - void glMultiTexCoord3dARB - GLenum target - GLdouble s - GLdouble t - GLdouble r - - - - - void glMultiTexCoord3dv - GLenum target - const GLdouble *v - - - - void glMultiTexCoord3dvARB - GLenum target - const GLdouble *v - - - - - void glMultiTexCoord3f - GLenum target - GLfloat s - GLfloat t - GLfloat r - - - - void glMultiTexCoord3fARB - GLenum target - GLfloat s - GLfloat t - GLfloat r - - - - - void glMultiTexCoord3fv - GLenum target - const GLfloat *v - - - - void glMultiTexCoord3fvARB - GLenum target - const GLfloat *v - - - - - void glMultiTexCoord3hNV - GLenum target - GLhalfNV s - GLhalfNV t - GLhalfNV r - - - - void glMultiTexCoord3hvNV - GLenum target - const GLhalfNV *v - - - - void glMultiTexCoord3i - GLenum target - GLint s - GLint t - GLint r - - - - void glMultiTexCoord3iARB - GLenum target - GLint s - GLint t - GLint r - - - - - void glMultiTexCoord3iv - GLenum target - const GLint *v - - - - void glMultiTexCoord3ivARB - GLenum target - const GLint *v - - - - - void glMultiTexCoord3s - GLenum target - GLshort s - GLshort t - GLshort r - - - - void glMultiTexCoord3sARB - GLenum target - GLshort s - GLshort t - GLshort r - - - - - void glMultiTexCoord3sv - GLenum target - const GLshort *v - - - - void glMultiTexCoord3svARB - GLenum target - const GLshort *v - - - - - void glMultiTexCoord3xOES - GLenum texture - GLfixed s - GLfixed t - GLfixed r - - - void glMultiTexCoord3xvOES - GLenum texture - const GLfixed *coords - - - void glMultiTexCoord4bOES - GLenum texture - GLbyte s - GLbyte t - GLbyte r - GLbyte q - - - void glMultiTexCoord4bvOES - GLenum texture - const GLbyte *coords - - - void glMultiTexCoord4d - GLenum target - GLdouble s - GLdouble t - GLdouble r - GLdouble q - - - - void glMultiTexCoord4dARB - GLenum target - GLdouble s - GLdouble t - GLdouble r - GLdouble q - - - - - void glMultiTexCoord4dv - GLenum target - const GLdouble *v - - - - void glMultiTexCoord4dvARB - GLenum target - const GLdouble *v - - - - - void glMultiTexCoord4f - GLenum target - GLfloat s - GLfloat t - GLfloat r - GLfloat q - - - - void glMultiTexCoord4fARB - GLenum target - GLfloat s - GLfloat t - GLfloat r - GLfloat q - - - - - void glMultiTexCoord4fv - GLenum target - const GLfloat *v - - - - void glMultiTexCoord4fvARB - GLenum target - const GLfloat *v - - - - - void glMultiTexCoord4hNV - GLenum target - GLhalfNV s - GLhalfNV t - GLhalfNV r - GLhalfNV q - - - - void glMultiTexCoord4hvNV - GLenum target - const GLhalfNV *v - - - - void glMultiTexCoord4i - GLenum target - GLint s - GLint t - GLint r - GLint q - - - - void glMultiTexCoord4iARB - GLenum target - GLint s - GLint t - GLint r - GLint q - - - - - void glMultiTexCoord4iv - GLenum target - const GLint *v - - - - void glMultiTexCoord4ivARB - GLenum target - const GLint *v - - - - - void glMultiTexCoord4s - GLenum target - GLshort s - GLshort t - GLshort r - GLshort q - - - - void glMultiTexCoord4sARB - GLenum target - GLshort s - GLshort t - GLshort r - GLshort q - - - - - void glMultiTexCoord4sv - GLenum target - const GLshort *v - - - - void glMultiTexCoord4svARB - GLenum target - const GLshort *v - - - - - void glMultiTexCoord4x - GLenum texture - GLfixed s - GLfixed t - GLfixed r - GLfixed q - - - void glMultiTexCoord4xOES - GLenum texture - GLfixed s - GLfixed t - GLfixed r - GLfixed q - - - void glMultiTexCoord4xvOES - GLenum texture - const GLfixed *coords - - - void glMultiTexCoordP1ui - GLenum texture - GLenum type - GLuint coords - - - void glMultiTexCoordP1uiv - GLenum texture - GLenum type - const GLuint *coords - - - void glMultiTexCoordP2ui - GLenum texture - GLenum type - GLuint coords - - - void glMultiTexCoordP2uiv - GLenum texture - GLenum type - const GLuint *coords - - - void glMultiTexCoordP3ui - GLenum texture - GLenum type - GLuint coords - - - void glMultiTexCoordP3uiv - GLenum texture - GLenum type - const GLuint *coords - - - void glMultiTexCoordP4ui - GLenum texture - GLenum type - GLuint coords - - - void glMultiTexCoordP4uiv - GLenum texture - GLenum type - const GLuint *coords - - - void glMultiTexCoordPointerEXT - GLenum texunit - GLint size - GLenum type - GLsizei stride - const void *pointer - - - void glMultiTexEnvfEXT - GLenum texunit - GLenum target - GLenum pname - GLfloat param - - - - void glMultiTexEnvfvEXT - GLenum texunit - GLenum target - GLenum pname - const GLfloat *params - - - void glMultiTexEnviEXT - GLenum texunit - GLenum target - GLenum pname - GLint param - - - - void glMultiTexEnvivEXT - GLenum texunit - GLenum target - GLenum pname - const GLint *params - - - void glMultiTexGendEXT - GLenum texunit - GLenum coord - GLenum pname - GLdouble param - - - - void glMultiTexGendvEXT - GLenum texunit - GLenum coord - GLenum pname - const GLdouble *params - - - void glMultiTexGenfEXT - GLenum texunit - GLenum coord - GLenum pname - GLfloat param - - - - void glMultiTexGenfvEXT - GLenum texunit - GLenum coord - GLenum pname - const GLfloat *params - - - void glMultiTexGeniEXT - GLenum texunit - GLenum coord - GLenum pname - GLint param - - - - void glMultiTexGenivEXT - GLenum texunit - GLenum coord - GLenum pname - const GLint *params - - - void glMultiTexImage1DEXT - GLenum texunit - GLenum target - GLint level - GLint internalformat - GLsizei width - GLint border - GLenum format - GLenum type - const void *pixels - - - void glMultiTexImage2DEXT - GLenum texunit - GLenum target - GLint level - GLint internalformat - GLsizei width - GLsizei height - GLint border - GLenum format - GLenum type - const void *pixels - - - void glMultiTexImage3DEXT - GLenum texunit - GLenum target - GLint level - GLint internalformat - GLsizei width - GLsizei height - GLsizei depth - GLint border - GLenum format - GLenum type - const void *pixels - - - void glMultiTexParameterIivEXT - GLenum texunit - GLenum target - GLenum pname - const GLint *params - - - void glMultiTexParameterIuivEXT - GLenum texunit - GLenum target - GLenum pname - const GLuint *params - - - void glMultiTexParameterfEXT - GLenum texunit - GLenum target - GLenum pname - GLfloat param - - - - void glMultiTexParameterfvEXT - GLenum texunit - GLenum target - GLenum pname - const GLfloat *params - - - void glMultiTexParameteriEXT - GLenum texunit - GLenum target - GLenum pname - GLint param - - - - void glMultiTexParameterivEXT - GLenum texunit - GLenum target - GLenum pname - const GLint *params - - - void glMultiTexRenderbufferEXT - GLenum texunit - GLenum target - GLuint renderbuffer - - - void glMultiTexSubImage1DEXT - GLenum texunit - GLenum target - GLint level - GLint xoffset - GLsizei width - GLenum format - GLenum type - const void *pixels - - - void glMultiTexSubImage2DEXT - GLenum texunit - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLsizei width - GLsizei height - GLenum format - GLenum type - const void *pixels - - - void glMultiTexSubImage3DEXT - GLenum texunit - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLenum format - GLenum type - const void *pixels - - - void glNamedBufferData - GLuint buffer - GLsizeiptr size - const void *data - GLenum usage - - - void glNamedBufferDataEXT - GLuint buffer - GLsizeiptr size - const void *data - GLenum usage - - - void glNamedBufferPageCommitmentARB - GLuint buffer - GLintptr offset - GLsizeiptr size - GLboolean commit - - - void glNamedBufferPageCommitmentEXT - GLuint buffer - GLintptr offset - GLsizeiptr size - GLboolean commit - - - void glNamedBufferStorage - GLuint buffer - GLsizeiptr size - const void *data - GLbitfield flags - - - void glNamedBufferStorageEXT - GLuint buffer - GLsizeiptr size - const void *data - GLbitfield flags - - - - void glNamedBufferSubData - GLuint buffer - GLintptr offset - GLsizeiptr size - const void *data - - - void glNamedBufferSubDataEXT - GLuint buffer - GLintptr offset - GLsizeiptr size - const void *data - - - - void glNamedCopyBufferSubDataEXT - GLuint readBuffer - GLuint writeBuffer - GLintptr readOffset - GLintptr writeOffset - GLsizeiptr size - - - void glNamedFramebufferDrawBuffer - GLuint framebuffer - GLenum buf - - - void glNamedFramebufferDrawBuffers - GLuint framebuffer - GLsizei n - const GLenum *bufs - - - void glNamedFramebufferParameteri - GLuint framebuffer - GLenum pname - GLint param - - - void glNamedFramebufferParameteriEXT - GLuint framebuffer - GLenum pname - GLint param - - - void glNamedFramebufferReadBuffer - GLuint framebuffer - GLenum src - - - void glNamedFramebufferRenderbuffer - GLuint framebuffer - GLenum attachment - GLenum renderbuffertarget - GLuint renderbuffer - - - void glNamedFramebufferRenderbufferEXT - GLuint framebuffer - GLenum attachment - GLenum renderbuffertarget - GLuint renderbuffer - - - void glNamedFramebufferSampleLocationsfvARB - GLuint framebuffer - GLuint start - GLsizei count - const GLfloat *v - - - void glNamedFramebufferSampleLocationsfvNV - GLuint framebuffer - GLuint start - GLsizei count - const GLfloat *v - - - void glNamedFramebufferTexture - GLuint framebuffer - GLenum attachment - GLuint texture - GLint level - - - void glNamedFramebufferTexture1DEXT - GLuint framebuffer - GLenum attachment - GLenum textarget - GLuint texture - GLint level - - - void glNamedFramebufferTexture2DEXT - GLuint framebuffer - GLenum attachment - GLenum textarget - GLuint texture - GLint level - - - void glNamedFramebufferTexture3DEXT - GLuint framebuffer - GLenum attachment - GLenum textarget - GLuint texture - GLint level - GLint zoffset - - - void glNamedFramebufferTextureEXT - GLuint framebuffer - GLenum attachment - GLuint texture - GLint level - - - void glNamedFramebufferTextureFaceEXT - GLuint framebuffer - GLenum attachment - GLuint texture - GLint level - GLenum face - - - void glNamedFramebufferTextureLayer - GLuint framebuffer - GLenum attachment - GLuint texture - GLint level - GLint layer - - - void glNamedFramebufferTextureLayerEXT - GLuint framebuffer - GLenum attachment - GLuint texture - GLint level - GLint layer - - - void glNamedProgramLocalParameter4dEXT - GLuint program - GLenum target - GLuint index - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - - void glNamedProgramLocalParameter4dvEXT - GLuint program - GLenum target - GLuint index - const GLdouble *params - - - void glNamedProgramLocalParameter4fEXT - GLuint program - GLenum target - GLuint index - GLfloat x - GLfloat y - GLfloat z - GLfloat w - - - - void glNamedProgramLocalParameter4fvEXT - GLuint program - GLenum target - GLuint index - const GLfloat *params - - - void glNamedProgramLocalParameterI4iEXT - GLuint program - GLenum target - GLuint index - GLint x - GLint y - GLint z - GLint w - - - - void glNamedProgramLocalParameterI4ivEXT - GLuint program - GLenum target - GLuint index - const GLint *params - - - void glNamedProgramLocalParameterI4uiEXT - GLuint program - GLenum target - GLuint index - GLuint x - GLuint y - GLuint z - GLuint w - - - - void glNamedProgramLocalParameterI4uivEXT - GLuint program - GLenum target - GLuint index - const GLuint *params - - - void glNamedProgramLocalParameters4fvEXT - GLuint program - GLenum target - GLuint index - GLsizei count - const GLfloat *params - - - void glNamedProgramLocalParametersI4ivEXT - GLuint program - GLenum target - GLuint index - GLsizei count - const GLint *params - - - void glNamedProgramLocalParametersI4uivEXT - GLuint program - GLenum target - GLuint index - GLsizei count - const GLuint *params - - - void glNamedProgramStringEXT - GLuint program - GLenum target - GLenum format - GLsizei len - const void *string - - - void glNamedRenderbufferStorage - GLuint renderbuffer - GLenum internalformat - GLsizei width - GLsizei height - - - void glNamedRenderbufferStorageEXT - GLuint renderbuffer - GLenum internalformat - GLsizei width - GLsizei height - - - void glNamedRenderbufferStorageMultisample - GLuint renderbuffer - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - - - void glNamedRenderbufferStorageMultisampleCoverageEXT - GLuint renderbuffer - GLsizei coverageSamples - GLsizei colorSamples - GLenum internalformat - GLsizei width - GLsizei height - - - void glNamedRenderbufferStorageMultisampleEXT - GLuint renderbuffer - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - - - void glNamedStringARB - GLenum type - GLint namelen - const GLchar *name - GLint stringlen - const GLchar *string - - - void glNewList - GLuint list - GLenum mode - - - - GLuint glNewObjectBufferATI - GLsizei size - const void *pointer - GLenum usage - - - void glNormal3b - GLbyte nx - GLbyte ny - GLbyte nz - - - - void glNormal3bv - const GLbyte *v - - - - void glNormal3d - GLdouble nx - GLdouble ny - GLdouble nz - - - - void glNormal3dv - const GLdouble *v - - - - void glNormal3f - GLfloat nx - GLfloat ny - GLfloat nz - - - - void glNormal3fVertex3fSUN - GLfloat nx - GLfloat ny - GLfloat nz - GLfloat x - GLfloat y - GLfloat z - - - void glNormal3fVertex3fvSUN - const GLfloat *n - const GLfloat *v - - - void glNormal3fv - const GLfloat *v - - - - void glNormal3hNV - GLhalfNV nx - GLhalfNV ny - GLhalfNV nz - - - - void glNormal3hvNV - const GLhalfNV *v - - - - void glNormal3i - GLint nx - GLint ny - GLint nz - - - - void glNormal3iv - const GLint *v - - - - void glNormal3s - GLshort nx - GLshort ny - GLshort nz - - - - void glNormal3sv - const GLshort *v - - - - void glNormal3x - GLfixed nx - GLfixed ny - GLfixed nz - - - void glNormal3xOES - GLfixed nx - GLfixed ny - GLfixed nz - - - void glNormal3xvOES - const GLfixed *coords - - - void glNormalFormatNV - GLenum type - GLsizei stride - - - void glNormalP3ui - GLenum type - GLuint coords - - - void glNormalP3uiv - GLenum type - const GLuint *coords - - - void glNormalPointer - GLenum type - GLsizei stride - const void *pointer - - - void glNormalPointerEXT - GLenum type - GLsizei stride - GLsizei count - const void *pointer - - - void glNormalPointerListIBM - GLenum type - GLint stride - const void **pointer - GLint ptrstride - - - void glNormalPointervINTEL - GLenum type - const void **pointer - - - void glNormalStream3bATI - GLenum stream - GLbyte nx - GLbyte ny - GLbyte nz - - - void glNormalStream3bvATI - GLenum stream - const GLbyte *coords - - - void glNormalStream3dATI - GLenum stream - GLdouble nx - GLdouble ny - GLdouble nz - - - void glNormalStream3dvATI - GLenum stream - const GLdouble *coords - - - void glNormalStream3fATI - GLenum stream - GLfloat nx - GLfloat ny - GLfloat nz - - - void glNormalStream3fvATI - GLenum stream - const GLfloat *coords - - - void glNormalStream3iATI - GLenum stream - GLint nx - GLint ny - GLint nz - - - void glNormalStream3ivATI - GLenum stream - const GLint *coords - - - void glNormalStream3sATI - GLenum stream - GLshort nx - GLshort ny - GLshort nz - - - void glNormalStream3svATI - GLenum stream - const GLshort *coords - - - void glObjectLabel - GLenum identifier - GLuint name - GLsizei length - const GLchar *label - - - void glObjectLabelKHR - GLenum identifier - GLuint name - GLsizei length - const GLchar *label - - - - void glObjectPtrLabel - const void *ptr - GLsizei length - const GLchar *label - - - void glObjectPtrLabelKHR - const void *ptr - GLsizei length - const GLchar *label - - - - GLenum glObjectPurgeableAPPLE - GLenum objectType - GLuint name - GLenum option - - - GLenum glObjectUnpurgeableAPPLE - GLenum objectType - GLuint name - GLenum option - - - void glOrtho - GLdouble left - GLdouble right - GLdouble bottom - GLdouble top - GLdouble zNear - GLdouble zFar - - - - void glOrthof - GLfloat l - GLfloat r - GLfloat b - GLfloat t - GLfloat n - GLfloat f - - - void glOrthofOES - GLfloat l - GLfloat r - GLfloat b - GLfloat t - GLfloat n - GLfloat f - - - - void glOrthox - GLfixed l - GLfixed r - GLfixed b - GLfixed t - GLfixed n - GLfixed f - - - void glOrthoxOES - GLfixed l - GLfixed r - GLfixed b - GLfixed t - GLfixed n - GLfixed f - - - void glPNTrianglesfATI - GLenum pname - GLfloat param - - - void glPNTrianglesiATI - GLenum pname - GLint param - - - void glPassTexCoordATI - GLuint dst - GLuint coord - GLenum swizzle - - - void glPassThrough - GLfloat token - - - - void glPassThroughxOES - GLfixed token - - - void glPatchParameterfv - GLenum pname - const GLfloat *values - - - void glPatchParameteri - GLenum pname - GLint value - - - void glPatchParameteriEXT - GLenum pname - GLint value - - - - void glPatchParameteriOES - GLenum pname - GLint value - - - - void glPathColorGenNV - GLenum color - GLenum genMode - GLenum colorFormat - const GLfloat *coeffs - - - void glPathCommandsNV - GLuint path - GLsizei numCommands - const GLubyte *commands - GLsizei numCoords - GLenum coordType - const void *coords - - - void glPathCoordsNV - GLuint path - GLsizei numCoords - GLenum coordType - const void *coords - - - void glPathCoverDepthFuncNV - GLenum func - - - void glPathDashArrayNV - GLuint path - GLsizei dashCount - const GLfloat *dashArray - - - void glPathFogGenNV - GLenum genMode - - - GLenum glPathGlyphIndexArrayNV - GLuint firstPathName - GLenum fontTarget - const void *fontName - GLbitfield fontStyle - GLuint firstGlyphIndex - GLsizei numGlyphs - GLuint pathParameterTemplate - GLfloat emScale - - - GLenum glPathGlyphIndexRangeNV - GLenum fontTarget - const void *fontName - GLbitfield fontStyle - GLuint pathParameterTemplate - GLfloat emScale - GLuint baseAndCount[2] - - - void glPathGlyphRangeNV - GLuint firstPathName - GLenum fontTarget - const void *fontName - GLbitfield fontStyle - GLuint firstGlyph - GLsizei numGlyphs - GLenum handleMissingGlyphs - GLuint pathParameterTemplate - GLfloat emScale - - - void glPathGlyphsNV - GLuint firstPathName - GLenum fontTarget - const void *fontName - GLbitfield fontStyle - GLsizei numGlyphs - GLenum type - const void *charcodes - GLenum handleMissingGlyphs - GLuint pathParameterTemplate - GLfloat emScale - - - GLenum glPathMemoryGlyphIndexArrayNV - GLuint firstPathName - GLenum fontTarget - GLsizeiptr fontSize - const void *fontData - GLsizei faceIndex - GLuint firstGlyphIndex - GLsizei numGlyphs - GLuint pathParameterTemplate - GLfloat emScale - - - void glPathParameterfNV - GLuint path - GLenum pname - GLfloat value - - - void glPathParameterfvNV - GLuint path - GLenum pname - const GLfloat *value - - - void glPathParameteriNV - GLuint path - GLenum pname - GLint value - - - void glPathParameterivNV - GLuint path - GLenum pname - const GLint *value - - - void glPathStencilDepthOffsetNV - GLfloat factor - GLfloat units - - - void glPathStencilFuncNV - GLenum func - GLint ref - GLuint mask - - - void glPathStringNV - GLuint path - GLenum format - GLsizei length - const void *pathString - - - void glPathSubCommandsNV - GLuint path - GLsizei commandStart - GLsizei commandsToDelete - GLsizei numCommands - const GLubyte *commands - GLsizei numCoords - GLenum coordType - const void *coords - - - void glPathSubCoordsNV - GLuint path - GLsizei coordStart - GLsizei numCoords - GLenum coordType - const void *coords - - - void glPathTexGenNV - GLenum texCoordSet - GLenum genMode - GLint components - const GLfloat *coeffs - - - void glPauseTransformFeedback - - - void glPauseTransformFeedbackNV - - - - void glPixelDataRangeNV - GLenum target - GLsizei length - const void *pointer - - - void glPixelMapfv - GLenum map - GLsizei mapsize - const GLfloat *values - - - - - void glPixelMapuiv - GLenum map - GLsizei mapsize - const GLuint *values - - - - - void glPixelMapusv - GLenum map - GLsizei mapsize - const GLushort *values - - - - - void glPixelMapx - GLenum map - GLint size - const GLfixed *values - - - void glPixelStoref - GLenum pname - GLfloat param - - - - void glPixelStorei - GLenum pname - GLint param - - - - void glPixelStorex - GLenum pname - GLfixed param - - - void glPixelTexGenParameterfSGIS - GLenum pname - GLfloat param - - - void glPixelTexGenParameterfvSGIS - GLenum pname - const GLfloat *params - - - void glPixelTexGenParameteriSGIS - GLenum pname - GLint param - - - void glPixelTexGenParameterivSGIS - GLenum pname - const GLint *params - - - void glPixelTexGenSGIX - GLenum mode - - - - void glPixelTransferf - GLenum pname - GLfloat param - - - - void glPixelTransferi - GLenum pname - GLint param - - - - void glPixelTransferxOES - GLenum pname - GLfixed param - - - void glPixelTransformParameterfEXT - GLenum target - GLenum pname - GLfloat param - - - - void glPixelTransformParameterfvEXT - GLenum target - GLenum pname - const GLfloat *params - - - void glPixelTransformParameteriEXT - GLenum target - GLenum pname - GLint param - - - - void glPixelTransformParameterivEXT - GLenum target - GLenum pname - const GLint *params - - - void glPixelZoom - GLfloat xfactor - GLfloat yfactor - - - - void glPixelZoomxOES - GLfixed xfactor - GLfixed yfactor - - - GLboolean glPointAlongPathNV - GLuint path - GLsizei startSegment - GLsizei numSegments - GLfloat distance - GLfloat *x - GLfloat *y - GLfloat *tangentX - GLfloat *tangentY - - - void glPointParameterf - GLenum pname - GLfloat param - - - - void glPointParameterfARB - GLenum pname - GLfloat param - - - - - void glPointParameterfEXT - GLenum pname - GLfloat param - - - - void glPointParameterfSGIS - GLenum pname - GLfloat param - - - - void glPointParameterfv - GLenum pname - const GLfloat *params - - - - void glPointParameterfvARB - GLenum pname - const GLfloat *params - - - - - void glPointParameterfvEXT - GLenum pname - const GLfloat *params - - - - void glPointParameterfvSGIS - GLenum pname - const GLfloat *params - - - - void glPointParameteri - GLenum pname - GLint param - - - - void glPointParameteriNV - GLenum pname - GLint param - - - - - void glPointParameteriv - GLenum pname - const GLint *params - - - - void glPointParameterivNV - GLenum pname - const GLint *params - - - - - void glPointParameterx - GLenum pname - GLfixed param - - - void glPointParameterxOES - GLenum pname - GLfixed param - - - void glPointParameterxv - GLenum pname - const GLfixed *params - - - void glPointParameterxvOES - GLenum pname - const GLfixed *params - - - void glPointSize - GLfloat size - - - - void glPointSizePointerOES - GLenum type - GLsizei stride - const void *pointer - - - void glPointSizex - GLfixed size - - - void glPointSizexOES - GLfixed size - - - GLint glPollAsyncSGIX - GLuint *markerp - - - GLint glPollInstrumentsSGIX - GLint *marker_p - - - - void glPolygonMode - GLenum face - GLenum mode - - - - void glPolygonModeNV - GLenum face - GLenum mode - - - - void glPolygonOffset - GLfloat factor - GLfloat units - - - - void glPolygonOffsetClampEXT - GLfloat factor - GLfloat units - GLfloat clamp - - - - void glPolygonOffsetEXT - GLfloat factor - GLfloat bias - - - - void glPolygonOffsetx - GLfixed factor - GLfixed units - - - void glPolygonOffsetxOES - GLfixed factor - GLfixed units - - - void glPolygonStipple - const GLubyte *mask - - - - - void glPopAttrib - - - - void glPopClientAttrib - - - void glPopDebugGroup - - - void glPopDebugGroupKHR - - - - void glPopGroupMarkerEXT - - - void glPopMatrix - - - - void glPopName - - - - void glPresentFrameDualFillNV - GLuint video_slot - GLuint64EXT minPresentTime - GLuint beginPresentTimeId - GLuint presentDurationId - GLenum type - GLenum target0 - GLuint fill0 - GLenum target1 - GLuint fill1 - GLenum target2 - GLuint fill2 - GLenum target3 - GLuint fill3 - - - void glPresentFrameKeyedNV - GLuint video_slot - GLuint64EXT minPresentTime - GLuint beginPresentTimeId - GLuint presentDurationId - GLenum type - GLenum target0 - GLuint fill0 - GLuint key0 - GLenum target1 - GLuint fill1 - GLuint key1 - - - void glPrimitiveBoundingBox - GLfloat minX - GLfloat minY - GLfloat minZ - GLfloat minW - GLfloat maxX - GLfloat maxY - GLfloat maxZ - GLfloat maxW - - - void glPrimitiveBoundingBoxARB - GLfloat minX - GLfloat minY - GLfloat minZ - GLfloat minW - GLfloat maxX - GLfloat maxY - GLfloat maxZ - GLfloat maxW - - - - void glPrimitiveBoundingBoxEXT - GLfloat minX - GLfloat minY - GLfloat minZ - GLfloat minW - GLfloat maxX - GLfloat maxY - GLfloat maxZ - GLfloat maxW - - - - void glPrimitiveBoundingBoxOES - GLfloat minX - GLfloat minY - GLfloat minZ - GLfloat minW - GLfloat maxX - GLfloat maxY - GLfloat maxZ - GLfloat maxW - - - - void glPrimitiveRestartIndex - GLuint index - - - void glPrimitiveRestartIndexNV - GLuint index - - - void glPrimitiveRestartNV - - - void glPrioritizeTextures - GLsizei n - const GLuint *textures - const GLfloat *priorities - - - - void glPrioritizeTexturesEXT - GLsizei n - const GLuint *textures - const GLclampf *priorities - - - - - void glPrioritizeTexturesxOES - GLsizei n - const GLuint *textures - const GLfixed *priorities - - - void glProgramBinary - GLuint program - GLenum binaryFormat - const void *binary - GLsizei length - - - void glProgramBinaryOES - GLuint program - GLenum binaryFormat - const void *binary - GLint length - - - - void glProgramBufferParametersIivNV - GLenum target - GLuint bindingIndex - GLuint wordIndex - GLsizei count - const GLint *params - - - void glProgramBufferParametersIuivNV - GLenum target - GLuint bindingIndex - GLuint wordIndex - GLsizei count - const GLuint *params - - - void glProgramBufferParametersfvNV - GLenum target - GLuint bindingIndex - GLuint wordIndex - GLsizei count - const GLfloat *params - - - void glProgramEnvParameter4dARB - GLenum target - GLuint index - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - - void glProgramEnvParameter4dvARB - GLenum target - GLuint index - const GLdouble *params - - - void glProgramEnvParameter4fARB - GLenum target - GLuint index - GLfloat x - GLfloat y - GLfloat z - GLfloat w - - - - void glProgramEnvParameter4fvARB - GLenum target - GLuint index - const GLfloat *params - - - void glProgramEnvParameterI4iNV - GLenum target - GLuint index - GLint x - GLint y - GLint z - GLint w - - - - void glProgramEnvParameterI4ivNV - GLenum target - GLuint index - const GLint *params - - - void glProgramEnvParameterI4uiNV - GLenum target - GLuint index - GLuint x - GLuint y - GLuint z - GLuint w - - - - void glProgramEnvParameterI4uivNV - GLenum target - GLuint index - const GLuint *params - - - void glProgramEnvParameters4fvEXT - GLenum target - GLuint index - GLsizei count - const GLfloat *params - - - - void glProgramEnvParametersI4ivNV - GLenum target - GLuint index - GLsizei count - const GLint *params - - - void glProgramEnvParametersI4uivNV - GLenum target - GLuint index - GLsizei count - const GLuint *params - - - void glProgramLocalParameter4dARB - GLenum target - GLuint index - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - - void glProgramLocalParameter4dvARB - GLenum target - GLuint index - const GLdouble *params - - - void glProgramLocalParameter4fARB - GLenum target - GLuint index - GLfloat x - GLfloat y - GLfloat z - GLfloat w - - - - void glProgramLocalParameter4fvARB - GLenum target - GLuint index - const GLfloat *params - - - void glProgramLocalParameterI4iNV - GLenum target - GLuint index - GLint x - GLint y - GLint z - GLint w - - - - void glProgramLocalParameterI4ivNV - GLenum target - GLuint index - const GLint *params - - - void glProgramLocalParameterI4uiNV - GLenum target - GLuint index - GLuint x - GLuint y - GLuint z - GLuint w - - - - void glProgramLocalParameterI4uivNV - GLenum target - GLuint index - const GLuint *params - - - void glProgramLocalParameters4fvEXT - GLenum target - GLuint index - GLsizei count - const GLfloat *params - - - - void glProgramLocalParametersI4ivNV - GLenum target - GLuint index - GLsizei count - const GLint *params - - - void glProgramLocalParametersI4uivNV - GLenum target - GLuint index - GLsizei count - const GLuint *params - - - void glProgramNamedParameter4dNV - GLuint id - GLsizei len - const GLubyte *name - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - - void glProgramNamedParameter4dvNV - GLuint id - GLsizei len - const GLubyte *name - const GLdouble *v - - - - void glProgramNamedParameter4fNV - GLuint id - GLsizei len - const GLubyte *name - GLfloat x - GLfloat y - GLfloat z - GLfloat w - - - - void glProgramNamedParameter4fvNV - GLuint id - GLsizei len - const GLubyte *name - const GLfloat *v - - - - void glProgramParameter4dNV - GLenum target - GLuint index - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - - void glProgramParameter4dvNV - GLenum target - GLuint index - const GLdouble *v - - - - void glProgramParameter4fNV - GLenum target - GLuint index - GLfloat x - GLfloat y - GLfloat z - GLfloat w - - - - void glProgramParameter4fvNV - GLenum target - GLuint index - const GLfloat *v - - - - void glProgramParameteri - GLuint program - GLenum pname - GLint value - - - void glProgramParameteriARB - GLuint program - GLenum pname - GLint value - - - - void glProgramParameteriEXT - GLuint program - GLenum pname - GLint value - - - - void glProgramParameters4dvNV - GLenum target - GLuint index - GLsizei count - const GLdouble *v - - - - void glProgramParameters4fvNV - GLenum target - GLuint index - GLsizei count - const GLfloat *v - - - - void glProgramPathFragmentInputGenNV - GLuint program - GLint location - GLenum genMode - GLint components - const GLfloat *coeffs - - - void glProgramStringARB - GLenum target - GLenum format - GLsizei len - const void *string - - - void glProgramSubroutineParametersuivNV - GLenum target - GLsizei count - const GLuint *params - - - void glProgramUniform1d - GLuint program - GLint location - GLdouble v0 - - - void glProgramUniform1dEXT - GLuint program - GLint location - GLdouble x - - - void glProgramUniform1dv - GLuint program - GLint location - GLsizei count - const GLdouble *value - - - void glProgramUniform1dvEXT - GLuint program - GLint location - GLsizei count - const GLdouble *value - - - void glProgramUniform1f - GLuint program - GLint location - GLfloat v0 - - - void glProgramUniform1fEXT - GLuint program - GLint location - GLfloat v0 - - - - void glProgramUniform1fv - GLuint program - GLint location - GLsizei count - const GLfloat *value - - - void glProgramUniform1fvEXT - GLuint program - GLint location - GLsizei count - const GLfloat *value - - - - void glProgramUniform1i - GLuint program - GLint location - GLint v0 - - - void glProgramUniform1i64ARB - GLuint program - GLint location - GLint64 x - - - void glProgramUniform1i64NV - GLuint program - GLint location - GLint64EXT x - - - void glProgramUniform1i64vARB - GLuint program - GLint location - GLsizei count - const GLint64 *value - - - void glProgramUniform1i64vNV - GLuint program - GLint location - GLsizei count - const GLint64EXT *value - - - void glProgramUniform1iEXT - GLuint program - GLint location - GLint v0 - - - - void glProgramUniform1iv - GLuint program - GLint location - GLsizei count - const GLint *value - - - void glProgramUniform1ivEXT - GLuint program - GLint location - GLsizei count - const GLint *value - - - - void glProgramUniform1ui - GLuint program - GLint location - GLuint v0 - - - void glProgramUniform1ui64ARB - GLuint program - GLint location - GLuint64 x - - - void glProgramUniform1ui64NV - GLuint program - GLint location - GLuint64EXT x - - - void glProgramUniform1ui64vARB - GLuint program - GLint location - GLsizei count - const GLuint64 *value - - - void glProgramUniform1ui64vNV - GLuint program - GLint location - GLsizei count - const GLuint64EXT *value - - - void glProgramUniform1uiEXT - GLuint program - GLint location - GLuint v0 - - - - void glProgramUniform1uiv - GLuint program - GLint location - GLsizei count - const GLuint *value - - - void glProgramUniform1uivEXT - GLuint program - GLint location - GLsizei count - const GLuint *value - - - - void glProgramUniform2d - GLuint program - GLint location - GLdouble v0 - GLdouble v1 - - - void glProgramUniform2dEXT - GLuint program - GLint location - GLdouble x - GLdouble y - - - void glProgramUniform2dv - GLuint program - GLint location - GLsizei count - const GLdouble *value - - - void glProgramUniform2dvEXT - GLuint program - GLint location - GLsizei count - const GLdouble *value - - - void glProgramUniform2f - GLuint program - GLint location - GLfloat v0 - GLfloat v1 - - - void glProgramUniform2fEXT - GLuint program - GLint location - GLfloat v0 - GLfloat v1 - - - - void glProgramUniform2fv - GLuint program - GLint location - GLsizei count - const GLfloat *value - - - void glProgramUniform2fvEXT - GLuint program - GLint location - GLsizei count - const GLfloat *value - - - - void glProgramUniform2i - GLuint program - GLint location - GLint v0 - GLint v1 - - - void glProgramUniform2i64ARB - GLuint program - GLint location - GLint64 x - GLint64 y - - - void glProgramUniform2i64NV - GLuint program - GLint location - GLint64EXT x - GLint64EXT y - - - void glProgramUniform2i64vARB - GLuint program - GLint location - GLsizei count - const GLint64 *value - - - void glProgramUniform2i64vNV - GLuint program - GLint location - GLsizei count - const GLint64EXT *value - - - void glProgramUniform2iEXT - GLuint program - GLint location - GLint v0 - GLint v1 - - - - void glProgramUniform2iv - GLuint program - GLint location - GLsizei count - const GLint *value - - - void glProgramUniform2ivEXT - GLuint program - GLint location - GLsizei count - const GLint *value - - - - void glProgramUniform2ui - GLuint program - GLint location - GLuint v0 - GLuint v1 - - - void glProgramUniform2ui64ARB - GLuint program - GLint location - GLuint64 x - GLuint64 y - - - void glProgramUniform2ui64NV - GLuint program - GLint location - GLuint64EXT x - GLuint64EXT y - - - void glProgramUniform2ui64vARB - GLuint program - GLint location - GLsizei count - const GLuint64 *value - - - void glProgramUniform2ui64vNV - GLuint program - GLint location - GLsizei count - const GLuint64EXT *value - - - void glProgramUniform2uiEXT - GLuint program - GLint location - GLuint v0 - GLuint v1 - - - - void glProgramUniform2uiv - GLuint program - GLint location - GLsizei count - const GLuint *value - - - void glProgramUniform2uivEXT - GLuint program - GLint location - GLsizei count - const GLuint *value - - - - void glProgramUniform3d - GLuint program - GLint location - GLdouble v0 - GLdouble v1 - GLdouble v2 - - - void glProgramUniform3dEXT - GLuint program - GLint location - GLdouble x - GLdouble y - GLdouble z - - - void glProgramUniform3dv - GLuint program - GLint location - GLsizei count - const GLdouble *value - - - void glProgramUniform3dvEXT - GLuint program - GLint location - GLsizei count - const GLdouble *value - - - void glProgramUniform3f - GLuint program - GLint location - GLfloat v0 - GLfloat v1 - GLfloat v2 - - - void glProgramUniform3fEXT - GLuint program - GLint location - GLfloat v0 - GLfloat v1 - GLfloat v2 - - - - void glProgramUniform3fv - GLuint program - GLint location - GLsizei count - const GLfloat *value - - - void glProgramUniform3fvEXT - GLuint program - GLint location - GLsizei count - const GLfloat *value - - - - void glProgramUniform3i - GLuint program - GLint location - GLint v0 - GLint v1 - GLint v2 - - - void glProgramUniform3i64ARB - GLuint program - GLint location - GLint64 x - GLint64 y - GLint64 z - - - void glProgramUniform3i64NV - GLuint program - GLint location - GLint64EXT x - GLint64EXT y - GLint64EXT z - - - void glProgramUniform3i64vARB - GLuint program - GLint location - GLsizei count - const GLint64 *value - - - void glProgramUniform3i64vNV - GLuint program - GLint location - GLsizei count - const GLint64EXT *value - - - void glProgramUniform3iEXT - GLuint program - GLint location - GLint v0 - GLint v1 - GLint v2 - - - - void glProgramUniform3iv - GLuint program - GLint location - GLsizei count - const GLint *value - - - void glProgramUniform3ivEXT - GLuint program - GLint location - GLsizei count - const GLint *value - - - - void glProgramUniform3ui - GLuint program - GLint location - GLuint v0 - GLuint v1 - GLuint v2 - - - void glProgramUniform3ui64ARB - GLuint program - GLint location - GLuint64 x - GLuint64 y - GLuint64 z - - - void glProgramUniform3ui64NV - GLuint program - GLint location - GLuint64EXT x - GLuint64EXT y - GLuint64EXT z - - - void glProgramUniform3ui64vARB - GLuint program - GLint location - GLsizei count - const GLuint64 *value - - - void glProgramUniform3ui64vNV - GLuint program - GLint location - GLsizei count - const GLuint64EXT *value - - - void glProgramUniform3uiEXT - GLuint program - GLint location - GLuint v0 - GLuint v1 - GLuint v2 - - - - void glProgramUniform3uiv - GLuint program - GLint location - GLsizei count - const GLuint *value - - - void glProgramUniform3uivEXT - GLuint program - GLint location - GLsizei count - const GLuint *value - - - - void glProgramUniform4d - GLuint program - GLint location - GLdouble v0 - GLdouble v1 - GLdouble v2 - GLdouble v3 - - - void glProgramUniform4dEXT - GLuint program - GLint location - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - void glProgramUniform4dv - GLuint program - GLint location - GLsizei count - const GLdouble *value - - - void glProgramUniform4dvEXT - GLuint program - GLint location - GLsizei count - const GLdouble *value - - - void glProgramUniform4f - GLuint program - GLint location - GLfloat v0 - GLfloat v1 - GLfloat v2 - GLfloat v3 - - - void glProgramUniform4fEXT - GLuint program - GLint location - GLfloat v0 - GLfloat v1 - GLfloat v2 - GLfloat v3 - - - - void glProgramUniform4fv - GLuint program - GLint location - GLsizei count - const GLfloat *value - - - void glProgramUniform4fvEXT - GLuint program - GLint location - GLsizei count - const GLfloat *value - - - - void glProgramUniform4i - GLuint program - GLint location - GLint v0 - GLint v1 - GLint v2 - GLint v3 - - - void glProgramUniform4i64ARB - GLuint program - GLint location - GLint64 x - GLint64 y - GLint64 z - GLint64 w - - - void glProgramUniform4i64NV - GLuint program - GLint location - GLint64EXT x - GLint64EXT y - GLint64EXT z - GLint64EXT w - - - void glProgramUniform4i64vARB - GLuint program - GLint location - GLsizei count - const GLint64 *value - - - void glProgramUniform4i64vNV - GLuint program - GLint location - GLsizei count - const GLint64EXT *value - - - void glProgramUniform4iEXT - GLuint program - GLint location - GLint v0 - GLint v1 - GLint v2 - GLint v3 - - - - void glProgramUniform4iv - GLuint program - GLint location - GLsizei count - const GLint *value - - - void glProgramUniform4ivEXT - GLuint program - GLint location - GLsizei count - const GLint *value - - - - void glProgramUniform4ui - GLuint program - GLint location - GLuint v0 - GLuint v1 - GLuint v2 - GLuint v3 - - - void glProgramUniform4ui64ARB - GLuint program - GLint location - GLuint64 x - GLuint64 y - GLuint64 z - GLuint64 w - - - void glProgramUniform4ui64NV - GLuint program - GLint location - GLuint64EXT x - GLuint64EXT y - GLuint64EXT z - GLuint64EXT w - - - void glProgramUniform4ui64vARB - GLuint program - GLint location - GLsizei count - const GLuint64 *value - - - void glProgramUniform4ui64vNV - GLuint program - GLint location - GLsizei count - const GLuint64EXT *value - - - void glProgramUniform4uiEXT - GLuint program - GLint location - GLuint v0 - GLuint v1 - GLuint v2 - GLuint v3 - - - - void glProgramUniform4uiv - GLuint program - GLint location - GLsizei count - const GLuint *value - - - void glProgramUniform4uivEXT - GLuint program - GLint location - GLsizei count - const GLuint *value - - - - void glProgramUniformHandleui64ARB - GLuint program - GLint location - GLuint64 value - - - void glProgramUniformHandleui64NV - GLuint program - GLint location - GLuint64 value - - - void glProgramUniformHandleui64vARB - GLuint program - GLint location - GLsizei count - const GLuint64 *values - - - void glProgramUniformHandleui64vNV - GLuint program - GLint location - GLsizei count - const GLuint64 *values - - - void glProgramUniformMatrix2dv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix2dvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix2fv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - void glProgramUniformMatrix2fvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glProgramUniformMatrix2x3dv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix2x3dvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix2x3fv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - void glProgramUniformMatrix2x3fvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glProgramUniformMatrix2x4dv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix2x4dvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix2x4fv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - void glProgramUniformMatrix2x4fvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glProgramUniformMatrix3dv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix3dvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix3fv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - void glProgramUniformMatrix3fvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glProgramUniformMatrix3x2dv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix3x2dvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix3x2fv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - void glProgramUniformMatrix3x2fvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glProgramUniformMatrix3x4dv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix3x4dvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix3x4fv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - void glProgramUniformMatrix3x4fvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glProgramUniformMatrix4dv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix4dvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix4fv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - void glProgramUniformMatrix4fvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glProgramUniformMatrix4x2dv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix4x2dvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix4x2fv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - void glProgramUniformMatrix4x2fvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glProgramUniformMatrix4x3dv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix4x3dvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glProgramUniformMatrix4x3fv - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - void glProgramUniformMatrix4x3fvEXT - GLuint program - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glProgramUniformui64NV - GLuint program - GLint location - GLuint64EXT value - - - void glProgramUniformui64vNV - GLuint program - GLint location - GLsizei count - const GLuint64EXT *value - - - void glProgramVertexLimitNV - GLenum target - GLint limit - - - void glProvokingVertex - GLenum mode - - - void glProvokingVertexEXT - GLenum mode - - - - void glPushAttrib - GLbitfield mask - - - - void glPushClientAttrib - GLbitfield mask - - - void glPushClientAttribDefaultEXT - GLbitfield mask - - - void glPushDebugGroup - GLenum source - GLuint id - GLsizei length - const GLchar *message - - - void glPushDebugGroupKHR - GLenum source - GLuint id - GLsizei length - const GLchar *message - - - - void glPushGroupMarkerEXT - GLsizei length - const GLchar *marker - - - void glPushMatrix - - - - void glPushName - GLuint name - - - - void glQueryCounter - GLuint id - GLenum target - - - void glQueryCounterEXT - GLuint id - GLenum target - - - - GLbitfield glQueryMatrixxOES - GLfixed *mantissa - GLint *exponent - - - void glQueryObjectParameteruiAMD - GLenum target - GLuint id - GLenum pname - GLuint param - - - void glRasterPos2d - GLdouble x - GLdouble y - - - - void glRasterPos2dv - const GLdouble *v - - - - void glRasterPos2f - GLfloat x - GLfloat y - - - - void glRasterPos2fv - const GLfloat *v - - - - void glRasterPos2i - GLint x - GLint y - - - - void glRasterPos2iv - const GLint *v - - - - void glRasterPos2s - GLshort x - GLshort y - - - - void glRasterPos2sv - const GLshort *v - - - - void glRasterPos2xOES - GLfixed x - GLfixed y - - - void glRasterPos2xvOES - const GLfixed *coords - - - void glRasterPos3d - GLdouble x - GLdouble y - GLdouble z - - - - void glRasterPos3dv - const GLdouble *v - - - - void glRasterPos3f - GLfloat x - GLfloat y - GLfloat z - - - - void glRasterPos3fv - const GLfloat *v - - - - void glRasterPos3i - GLint x - GLint y - GLint z - - - - void glRasterPos3iv - const GLint *v - - - - void glRasterPos3s - GLshort x - GLshort y - GLshort z - - - - void glRasterPos3sv - const GLshort *v - - - - void glRasterPos3xOES - GLfixed x - GLfixed y - GLfixed z - - - void glRasterPos3xvOES - const GLfixed *coords - - - void glRasterPos4d - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - - void glRasterPos4dv - const GLdouble *v - - - - void glRasterPos4f - GLfloat x - GLfloat y - GLfloat z - GLfloat w - - - - void glRasterPos4fv - const GLfloat *v - - - - void glRasterPos4i - GLint x - GLint y - GLint z - GLint w - - - - void glRasterPos4iv - const GLint *v - - - - void glRasterPos4s - GLshort x - GLshort y - GLshort z - GLshort w - - - - void glRasterPos4sv - const GLshort *v - - - - void glRasterPos4xOES - GLfixed x - GLfixed y - GLfixed z - GLfixed w - - - void glRasterPos4xvOES - const GLfixed *coords - - - void glRasterSamplesEXT - GLuint samples - GLboolean fixedsamplelocations - - - void glReadBuffer - GLenum src - - - - void glReadBufferIndexedEXT - GLenum src - GLint index - - - void glReadBufferNV - GLenum mode - - - void glReadInstrumentsSGIX - GLint marker - - - - void glReadPixels - GLint x - GLint y - GLsizei width - GLsizei height - GLenum format - GLenum type - void *pixels - - - - - void glReadnPixels - GLint x - GLint y - GLsizei width - GLsizei height - GLenum format - GLenum type - GLsizei bufSize - void *data - - - void glReadnPixelsARB - GLint x - GLint y - GLsizei width - GLsizei height - GLenum format - GLenum type - GLsizei bufSize - void *data - - - - void glReadnPixelsEXT - GLint x - GLint y - GLsizei width - GLsizei height - GLenum format - GLenum type - GLsizei bufSize - void *data - - - - void glReadnPixelsKHR - GLint x - GLint y - GLsizei width - GLsizei height - GLenum format - GLenum type - GLsizei bufSize - void *data - - - - void glRectd - GLdouble x1 - GLdouble y1 - GLdouble x2 - GLdouble y2 - - - - void glRectdv - const GLdouble *v1 - const GLdouble *v2 - - - - void glRectf - GLfloat x1 - GLfloat y1 - GLfloat x2 - GLfloat y2 - - - - void glRectfv - const GLfloat *v1 - const GLfloat *v2 - - - - void glRecti - GLint x1 - GLint y1 - GLint x2 - GLint y2 - - - - void glRectiv - const GLint *v1 - const GLint *v2 - - - - void glRects - GLshort x1 - GLshort y1 - GLshort x2 - GLshort y2 - - - - void glRectsv - const GLshort *v1 - const GLshort *v2 - - - - void glRectxOES - GLfixed x1 - GLfixed y1 - GLfixed x2 - GLfixed y2 - - - void glRectxvOES - const GLfixed *v1 - const GLfixed *v2 - - - void glReferencePlaneSGIX - const GLdouble *equation - - - - void glReleaseShaderCompiler - - - GLint glRenderMode - GLenum mode - - - - void glRenderbufferStorage - GLenum target - GLenum internalformat - GLsizei width - GLsizei height - - - - void glRenderbufferStorageEXT - GLenum target - GLenum internalformat - GLsizei width - GLsizei height - - - - - void glRenderbufferStorageMultisample - GLenum target - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - - - - void glRenderbufferStorageMultisampleANGLE - GLenum target - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - - - void glRenderbufferStorageMultisampleAPPLE - GLenum target - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - - - void glRenderbufferStorageMultisampleCoverageNV - GLenum target - GLsizei coverageSamples - GLsizei colorSamples - GLenum internalformat - GLsizei width - GLsizei height - - - void glRenderbufferStorageMultisampleEXT - GLenum target - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - - - - - void glRenderbufferStorageMultisampleIMG - GLenum target - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - - - void glRenderbufferStorageMultisampleNV - GLenum target - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - - - - void glRenderbufferStorageOES - GLenum target - GLenum internalformat - GLsizei width - GLsizei height - - - void glReplacementCodePointerSUN - GLenum type - GLsizei stride - const void **pointer - - - void glReplacementCodeubSUN - GLubyte code - - - void glReplacementCodeubvSUN - const GLubyte *code - - - void glReplacementCodeuiColor3fVertex3fSUN - GLuint rc - GLfloat r - GLfloat g - GLfloat b - GLfloat x - GLfloat y - GLfloat z - - - void glReplacementCodeuiColor3fVertex3fvSUN - const GLuint *rc - const GLfloat *c - const GLfloat *v - - - void glReplacementCodeuiColor4fNormal3fVertex3fSUN - GLuint rc - GLfloat r - GLfloat g - GLfloat b - GLfloat a - GLfloat nx - GLfloat ny - GLfloat nz - GLfloat x - GLfloat y - GLfloat z - - - void glReplacementCodeuiColor4fNormal3fVertex3fvSUN - const GLuint *rc - const GLfloat *c - const GLfloat *n - const GLfloat *v - - - void glReplacementCodeuiColor4ubVertex3fSUN - GLuint rc - GLubyte r - GLubyte g - GLubyte b - GLubyte a - GLfloat x - GLfloat y - GLfloat z - - - void glReplacementCodeuiColor4ubVertex3fvSUN - const GLuint *rc - const GLubyte *c - const GLfloat *v - - - void glReplacementCodeuiNormal3fVertex3fSUN - GLuint rc - GLfloat nx - GLfloat ny - GLfloat nz - GLfloat x - GLfloat y - GLfloat z - - - void glReplacementCodeuiNormal3fVertex3fvSUN - const GLuint *rc - const GLfloat *n - const GLfloat *v - - - void glReplacementCodeuiSUN - GLuint code - - - void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN - GLuint rc - GLfloat s - GLfloat t - GLfloat r - GLfloat g - GLfloat b - GLfloat a - GLfloat nx - GLfloat ny - GLfloat nz - GLfloat x - GLfloat y - GLfloat z - - - void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN - const GLuint *rc - const GLfloat *tc - const GLfloat *c - const GLfloat *n - const GLfloat *v - - - void glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN - GLuint rc - GLfloat s - GLfloat t - GLfloat nx - GLfloat ny - GLfloat nz - GLfloat x - GLfloat y - GLfloat z - - - void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN - const GLuint *rc - const GLfloat *tc - const GLfloat *n - const GLfloat *v - - - void glReplacementCodeuiTexCoord2fVertex3fSUN - GLuint rc - GLfloat s - GLfloat t - GLfloat x - GLfloat y - GLfloat z - - - void glReplacementCodeuiTexCoord2fVertex3fvSUN - const GLuint *rc - const GLfloat *tc - const GLfloat *v - - - void glReplacementCodeuiVertex3fSUN - GLuint rc - GLfloat x - GLfloat y - GLfloat z - - - void glReplacementCodeuiVertex3fvSUN - const GLuint *rc - const GLfloat *v - - - void glReplacementCodeuivSUN - const GLuint *code - - - void glReplacementCodeusSUN - GLushort code - - - void glReplacementCodeusvSUN - const GLushort *code - - - void glRequestResidentProgramsNV - GLsizei n - const GLuint *programs - - - - void glResetHistogram - GLenum target - - - - void glResetHistogramEXT - GLenum target - - - - - void glResetMinmax - GLenum target - - - - void glResetMinmaxEXT - GLenum target - - - - - void glResizeBuffersMESA - - - void glResolveDepthValuesNV - - - void glResolveMultisampleFramebufferAPPLE - - - void glResumeTransformFeedback - - - void glResumeTransformFeedbackNV - - - - void glRotated - GLdouble angle - GLdouble x - GLdouble y - GLdouble z - - - - void glRotatef - GLfloat angle - GLfloat x - GLfloat y - GLfloat z - - - - void glRotatex - GLfixed angle - GLfixed x - GLfixed y - GLfixed z - - - void glRotatexOES - GLfixed angle - GLfixed x - GLfixed y - GLfixed z - - - void glSampleCoverage - GLfloat value - GLboolean invert - - - - void glSampleCoverageARB - GLfloat value - GLboolean invert - - - - void glSampleCoveragex - GLclampx value - GLboolean invert - - - void glSampleCoveragexOES - GLclampx value - GLboolean invert - - - void glSampleMapATI - GLuint dst - GLuint interp - GLenum swizzle - - - void glSampleMaskEXT - GLclampf value - GLboolean invert - - - void glSampleMaskIndexedNV - GLuint index - GLbitfield mask - - - void glSampleMaskSGIS - GLclampf value - GLboolean invert - - - - - void glSampleMaski - GLuint maskNumber - GLbitfield mask - - - void glSamplePatternEXT - GLenum pattern - - - void glSamplePatternSGIS - GLenum pattern - - - - - void glSamplerParameterIiv - GLuint sampler - GLenum pname - const GLint *param - - - void glSamplerParameterIivEXT - GLuint sampler - GLenum pname - const GLint *param - - - - void glSamplerParameterIivOES - GLuint sampler - GLenum pname - const GLint *param - - - - void glSamplerParameterIuiv - GLuint sampler - GLenum pname - const GLuint *param - - - void glSamplerParameterIuivEXT - GLuint sampler - GLenum pname - const GLuint *param - - - - void glSamplerParameterIuivOES - GLuint sampler - GLenum pname - const GLuint *param - - - - void glSamplerParameterf - GLuint sampler - GLenum pname - GLfloat param - - - void glSamplerParameterfv - GLuint sampler - GLenum pname - const GLfloat *param - - - void glSamplerParameteri - GLuint sampler - GLenum pname - GLint param - - - void glSamplerParameteriv - GLuint sampler - GLenum pname - const GLint *param - - - void glScaled - GLdouble x - GLdouble y - GLdouble z - - - - void glScalef - GLfloat x - GLfloat y - GLfloat z - - - - void glScalex - GLfixed x - GLfixed y - GLfixed z - - - void glScalexOES - GLfixed x - GLfixed y - GLfixed z - - - void glScissor - GLint x - GLint y - GLsizei width - GLsizei height - - - - void glScissorArrayv - GLuint first - GLsizei count - const GLint *v - - - void glScissorArrayvNV - GLuint first - GLsizei count - const GLint *v - - - - void glScissorIndexed - GLuint index - GLint left - GLint bottom - GLsizei width - GLsizei height - - - void glScissorIndexedNV - GLuint index - GLint left - GLint bottom - GLsizei width - GLsizei height - - - - void glScissorIndexedv - GLuint index - const GLint *v - - - void glScissorIndexedvNV - GLuint index - const GLint *v - - - - void glSecondaryColor3b - GLbyte red - GLbyte green - GLbyte blue - - - - void glSecondaryColor3bEXT - GLbyte red - GLbyte green - GLbyte blue - - - - - void glSecondaryColor3bv - const GLbyte *v - - - - void glSecondaryColor3bvEXT - const GLbyte *v - - - - - void glSecondaryColor3d - GLdouble red - GLdouble green - GLdouble blue - - - - void glSecondaryColor3dEXT - GLdouble red - GLdouble green - GLdouble blue - - - - - void glSecondaryColor3dv - const GLdouble *v - - - - void glSecondaryColor3dvEXT - const GLdouble *v - - - - - void glSecondaryColor3f - GLfloat red - GLfloat green - GLfloat blue - - - - void glSecondaryColor3fEXT - GLfloat red - GLfloat green - GLfloat blue - - - - - void glSecondaryColor3fv - const GLfloat *v - - - - void glSecondaryColor3fvEXT - const GLfloat *v - - - - - void glSecondaryColor3hNV - GLhalfNV red - GLhalfNV green - GLhalfNV blue - - - - void glSecondaryColor3hvNV - const GLhalfNV *v - - - - void glSecondaryColor3i - GLint red - GLint green - GLint blue - - - - void glSecondaryColor3iEXT - GLint red - GLint green - GLint blue - - - - - void glSecondaryColor3iv - const GLint *v - - - - void glSecondaryColor3ivEXT - const GLint *v - - - - - void glSecondaryColor3s - GLshort red - GLshort green - GLshort blue - - - - void glSecondaryColor3sEXT - GLshort red - GLshort green - GLshort blue - - - - - void glSecondaryColor3sv - const GLshort *v - - - - void glSecondaryColor3svEXT - const GLshort *v - - - - - void glSecondaryColor3ub - GLubyte red - GLubyte green - GLubyte blue - - - - void glSecondaryColor3ubEXT - GLubyte red - GLubyte green - GLubyte blue - - - - - void glSecondaryColor3ubv - const GLubyte *v - - - - void glSecondaryColor3ubvEXT - const GLubyte *v - - - - - void glSecondaryColor3ui - GLuint red - GLuint green - GLuint blue - - - - void glSecondaryColor3uiEXT - GLuint red - GLuint green - GLuint blue - - - - - void glSecondaryColor3uiv - const GLuint *v - - - - void glSecondaryColor3uivEXT - const GLuint *v - - - - - void glSecondaryColor3us - GLushort red - GLushort green - GLushort blue - - - - void glSecondaryColor3usEXT - GLushort red - GLushort green - GLushort blue - - - - - void glSecondaryColor3usv - const GLushort *v - - - - void glSecondaryColor3usvEXT - const GLushort *v - - - - - void glSecondaryColorFormatNV - GLint size - GLenum type - GLsizei stride - - - void glSecondaryColorP3ui - GLenum type - GLuint color - - - void glSecondaryColorP3uiv - GLenum type - const GLuint *color - - - void glSecondaryColorPointer - GLint size - GLenum type - GLsizei stride - const void *pointer - - - void glSecondaryColorPointerEXT - GLint size - GLenum type - GLsizei stride - const void *pointer - - - - void glSecondaryColorPointerListIBM - GLint size - GLenum type - GLint stride - const void **pointer - GLint ptrstride - - - void glSelectBuffer - GLsizei size - GLuint *buffer - - - - void glSelectPerfMonitorCountersAMD - GLuint monitor - GLboolean enable - GLuint group - GLint numCounters - GLuint *counterList - - - void glSeparableFilter2D - GLenum target - GLenum internalformat - GLsizei width - GLsizei height - GLenum format - GLenum type - const void *row - const void *column - - - - - void glSeparableFilter2DEXT - GLenum target - GLenum internalformat - GLsizei width - GLsizei height - GLenum format - GLenum type - const void *row - const void *column - - - - - void glSetFenceAPPLE - GLuint fence - - - void glSetFenceNV - GLuint fence - GLenum condition - - - void glSetFragmentShaderConstantATI - GLuint dst - const GLfloat *value - - - void glSetInvariantEXT - GLuint id - GLenum type - const void *addr - - - void glSetLocalConstantEXT - GLuint id - GLenum type - const void *addr - - - void glSetMultisamplefvAMD - GLenum pname - GLuint index - const GLfloat *val - - - void glShadeModel - GLenum mode - - - - void glShaderBinary - GLsizei count - const GLuint *shaders - GLenum binaryformat - const void *binary - GLsizei length - - - void glShaderOp1EXT - GLenum op - GLuint res - GLuint arg1 - - - void glShaderOp2EXT - GLenum op - GLuint res - GLuint arg1 - GLuint arg2 - - - void glShaderOp3EXT - GLenum op - GLuint res - GLuint arg1 - GLuint arg2 - GLuint arg3 - - - void glShaderSource - GLuint shader - GLsizei count - const GLchar *const*string - const GLint *length - - - void glShaderSourceARB - GLhandleARB shaderObj - GLsizei count - const GLcharARB **string - const GLint *length - - - - void glShaderStorageBlockBinding - GLuint program - GLuint storageBlockIndex - GLuint storageBlockBinding - - - void glSharpenTexFuncSGIS - GLenum target - GLsizei n - const GLfloat *points - - - - void glSpriteParameterfSGIX - GLenum pname - GLfloat param - - - - void glSpriteParameterfvSGIX - GLenum pname - const GLfloat *params - - - - void glSpriteParameteriSGIX - GLenum pname - GLint param - - - - void glSpriteParameterivSGIX - GLenum pname - const GLint *params - - - - void glStartInstrumentsSGIX - - - - void glStartTilingQCOM - GLuint x - GLuint y - GLuint width - GLuint height - GLbitfield preserveMask - - - void glStateCaptureNV - GLuint state - GLenum mode - - - void glStencilClearTagEXT - GLsizei stencilTagBits - GLuint stencilClearTag - - - - void glStencilFillPathInstancedNV - GLsizei numPaths - GLenum pathNameType - const void *paths - GLuint pathBase - GLenum fillMode - GLuint mask - GLenum transformType - const GLfloat *transformValues - - - void glStencilFillPathNV - GLuint path - GLenum fillMode - GLuint mask - - - void glStencilFunc - GLenum func - GLint ref - GLuint mask - - - - void glStencilFuncSeparate - GLenum face - GLenum func - GLint ref - GLuint mask - - - void glStencilFuncSeparateATI - GLenum frontfunc - GLenum backfunc - GLint ref - GLuint mask - - - void glStencilMask - GLuint mask - - - - void glStencilMaskSeparate - GLenum face - GLuint mask - - - void glStencilOp - GLenum fail - GLenum zfail - GLenum zpass - - - - void glStencilOpSeparate - GLenum face - GLenum sfail - GLenum dpfail - GLenum dppass - - - void glStencilOpSeparateATI - GLenum face - GLenum sfail - GLenum dpfail - GLenum dppass - - - - void glStencilOpValueAMD - GLenum face - GLuint value - - - void glStencilStrokePathInstancedNV - GLsizei numPaths - GLenum pathNameType - const void *paths - GLuint pathBase - GLint reference - GLuint mask - GLenum transformType - const GLfloat *transformValues - - - void glStencilStrokePathNV - GLuint path - GLint reference - GLuint mask - - - void glStencilThenCoverFillPathInstancedNV - GLsizei numPaths - GLenum pathNameType - const void *paths - GLuint pathBase - GLenum fillMode - GLuint mask - GLenum coverMode - GLenum transformType - const GLfloat *transformValues - - - void glStencilThenCoverFillPathNV - GLuint path - GLenum fillMode - GLuint mask - GLenum coverMode - - - void glStencilThenCoverStrokePathInstancedNV - GLsizei numPaths - GLenum pathNameType - const void *paths - GLuint pathBase - GLint reference - GLuint mask - GLenum coverMode - GLenum transformType - const GLfloat *transformValues - - - void glStencilThenCoverStrokePathNV - GLuint path - GLint reference - GLuint mask - GLenum coverMode - - - void glStopInstrumentsSGIX - GLint marker - - - - void glStringMarkerGREMEDY - GLsizei len - const void *string - - - void glSubpixelPrecisionBiasNV - GLuint xbits - GLuint ybits - - - void glSwizzleEXT - GLuint res - GLuint in - GLenum outX - GLenum outY - GLenum outZ - GLenum outW - - - void glSyncTextureINTEL - GLuint texture - - - void glTagSampleBufferSGIX - - - - void glTangent3bEXT - GLbyte tx - GLbyte ty - GLbyte tz - - - - void glTangent3bvEXT - const GLbyte *v - - - void glTangent3dEXT - GLdouble tx - GLdouble ty - GLdouble tz - - - - void glTangent3dvEXT - const GLdouble *v - - - void glTangent3fEXT - GLfloat tx - GLfloat ty - GLfloat tz - - - - void glTangent3fvEXT - const GLfloat *v - - - void glTangent3iEXT - GLint tx - GLint ty - GLint tz - - - - void glTangent3ivEXT - const GLint *v - - - void glTangent3sEXT - GLshort tx - GLshort ty - GLshort tz - - - - void glTangent3svEXT - const GLshort *v - - - void glTangentPointerEXT - GLenum type - GLsizei stride - const void *pointer - - - void glTbufferMask3DFX - GLuint mask - - - void glTessellationFactorAMD - GLfloat factor - - - void glTessellationModeAMD - GLenum mode - - - GLboolean glTestFenceAPPLE - GLuint fence - - - GLboolean glTestFenceNV - GLuint fence - - - - GLboolean glTestObjectAPPLE - GLenum object - GLuint name - - - void glTexBuffer - GLenum target - GLenum internalformat - GLuint buffer - - - void glTexBufferARB - GLenum target - GLenum internalformat - GLuint buffer - - - - void glTexBufferEXT - GLenum target - GLenum internalformat - GLuint buffer - - - - void glTexBufferOES - GLenum target - GLenum internalformat - GLuint buffer - - - - void glTexBufferRange - GLenum target - GLenum internalformat - GLuint buffer - GLintptr offset - GLsizeiptr size - - - void glTexBufferRangeEXT - GLenum target - GLenum internalformat - GLuint buffer - GLintptr offset - GLsizeiptr size - - - - void glTexBufferRangeOES - GLenum target - GLenum internalformat - GLuint buffer - GLintptr offset - GLsizeiptr size - - - - void glTexBumpParameterfvATI - GLenum pname - const GLfloat *param - - - void glTexBumpParameterivATI - GLenum pname - const GLint *param - - - void glTexCoord1bOES - GLbyte s - - - void glTexCoord1bvOES - const GLbyte *coords - - - void glTexCoord1d - GLdouble s - - - - void glTexCoord1dv - const GLdouble *v - - - - void glTexCoord1f - GLfloat s - - - - void glTexCoord1fv - const GLfloat *v - - - - void glTexCoord1hNV - GLhalfNV s - - - - void glTexCoord1hvNV - const GLhalfNV *v - - - - void glTexCoord1i - GLint s - - - - void glTexCoord1iv - const GLint *v - - - - void glTexCoord1s - GLshort s - - - - void glTexCoord1sv - const GLshort *v - - - - void glTexCoord1xOES - GLfixed s - - - void glTexCoord1xvOES - const GLfixed *coords - - - void glTexCoord2bOES - GLbyte s - GLbyte t - - - void glTexCoord2bvOES - const GLbyte *coords - - - void glTexCoord2d - GLdouble s - GLdouble t - - - - void glTexCoord2dv - const GLdouble *v - - - - void glTexCoord2f - GLfloat s - GLfloat t - - - - void glTexCoord2fColor3fVertex3fSUN - GLfloat s - GLfloat t - GLfloat r - GLfloat g - GLfloat b - GLfloat x - GLfloat y - GLfloat z - - - void glTexCoord2fColor3fVertex3fvSUN - const GLfloat *tc - const GLfloat *c - const GLfloat *v - - - void glTexCoord2fColor4fNormal3fVertex3fSUN - GLfloat s - GLfloat t - GLfloat r - GLfloat g - GLfloat b - GLfloat a - GLfloat nx - GLfloat ny - GLfloat nz - GLfloat x - GLfloat y - GLfloat z - - - void glTexCoord2fColor4fNormal3fVertex3fvSUN - const GLfloat *tc - const GLfloat *c - const GLfloat *n - const GLfloat *v - - - void glTexCoord2fColor4ubVertex3fSUN - GLfloat s - GLfloat t - GLubyte r - GLubyte g - GLubyte b - GLubyte a - GLfloat x - GLfloat y - GLfloat z - - - void glTexCoord2fColor4ubVertex3fvSUN - const GLfloat *tc - const GLubyte *c - const GLfloat *v - - - void glTexCoord2fNormal3fVertex3fSUN - GLfloat s - GLfloat t - GLfloat nx - GLfloat ny - GLfloat nz - GLfloat x - GLfloat y - GLfloat z - - - void glTexCoord2fNormal3fVertex3fvSUN - const GLfloat *tc - const GLfloat *n - const GLfloat *v - - - void glTexCoord2fVertex3fSUN - GLfloat s - GLfloat t - GLfloat x - GLfloat y - GLfloat z - - - void glTexCoord2fVertex3fvSUN - const GLfloat *tc - const GLfloat *v - - - void glTexCoord2fv - const GLfloat *v - - - - void glTexCoord2hNV - GLhalfNV s - GLhalfNV t - - - - void glTexCoord2hvNV - const GLhalfNV *v - - - - void glTexCoord2i - GLint s - GLint t - - - - void glTexCoord2iv - const GLint *v - - - - void glTexCoord2s - GLshort s - GLshort t - - - - void glTexCoord2sv - const GLshort *v - - - - void glTexCoord2xOES - GLfixed s - GLfixed t - - - void glTexCoord2xvOES - const GLfixed *coords - - - void glTexCoord3bOES - GLbyte s - GLbyte t - GLbyte r - - - void glTexCoord3bvOES - const GLbyte *coords - - - void glTexCoord3d - GLdouble s - GLdouble t - GLdouble r - - - - void glTexCoord3dv - const GLdouble *v - - - - void glTexCoord3f - GLfloat s - GLfloat t - GLfloat r - - - - void glTexCoord3fv - const GLfloat *v - - - - void glTexCoord3hNV - GLhalfNV s - GLhalfNV t - GLhalfNV r - - - - void glTexCoord3hvNV - const GLhalfNV *v - - - - void glTexCoord3i - GLint s - GLint t - GLint r - - - - void glTexCoord3iv - const GLint *v - - - - void glTexCoord3s - GLshort s - GLshort t - GLshort r - - - - void glTexCoord3sv - const GLshort *v - - - - void glTexCoord3xOES - GLfixed s - GLfixed t - GLfixed r - - - void glTexCoord3xvOES - const GLfixed *coords - - - void glTexCoord4bOES - GLbyte s - GLbyte t - GLbyte r - GLbyte q - - - void glTexCoord4bvOES - const GLbyte *coords - - - void glTexCoord4d - GLdouble s - GLdouble t - GLdouble r - GLdouble q - - - - void glTexCoord4dv - const GLdouble *v - - - - void glTexCoord4f - GLfloat s - GLfloat t - GLfloat r - GLfloat q - - - - void glTexCoord4fColor4fNormal3fVertex4fSUN - GLfloat s - GLfloat t - GLfloat p - GLfloat q - GLfloat r - GLfloat g - GLfloat b - GLfloat a - GLfloat nx - GLfloat ny - GLfloat nz - GLfloat x - GLfloat y - GLfloat z - GLfloat w - - - void glTexCoord4fColor4fNormal3fVertex4fvSUN - const GLfloat *tc - const GLfloat *c - const GLfloat *n - const GLfloat *v - - - void glTexCoord4fVertex4fSUN - GLfloat s - GLfloat t - GLfloat p - GLfloat q - GLfloat x - GLfloat y - GLfloat z - GLfloat w - - - void glTexCoord4fVertex4fvSUN - const GLfloat *tc - const GLfloat *v - - - void glTexCoord4fv - const GLfloat *v - - - - void glTexCoord4hNV - GLhalfNV s - GLhalfNV t - GLhalfNV r - GLhalfNV q - - - - void glTexCoord4hvNV - const GLhalfNV *v - - - - void glTexCoord4i - GLint s - GLint t - GLint r - GLint q - - - - void glTexCoord4iv - const GLint *v - - - - void glTexCoord4s - GLshort s - GLshort t - GLshort r - GLshort q - - - - void glTexCoord4sv - const GLshort *v - - - - void glTexCoord4xOES - GLfixed s - GLfixed t - GLfixed r - GLfixed q - - - void glTexCoord4xvOES - const GLfixed *coords - - - void glTexCoordFormatNV - GLint size - GLenum type - GLsizei stride - - - void glTexCoordP1ui - GLenum type - GLuint coords - - - void glTexCoordP1uiv - GLenum type - const GLuint *coords - - - void glTexCoordP2ui - GLenum type - GLuint coords - - - void glTexCoordP2uiv - GLenum type - const GLuint *coords - - - void glTexCoordP3ui - GLenum type - GLuint coords - - - void glTexCoordP3uiv - GLenum type - const GLuint *coords - - - void glTexCoordP4ui - GLenum type - GLuint coords - - - void glTexCoordP4uiv - GLenum type - const GLuint *coords - - - void glTexCoordPointer - GLint size - GLenum type - GLsizei stride - const void *pointer - - - void glTexCoordPointerEXT - GLint size - GLenum type - GLsizei stride - GLsizei count - const void *pointer - - - void glTexCoordPointerListIBM - GLint size - GLenum type - GLint stride - const void **pointer - GLint ptrstride - - - void glTexCoordPointervINTEL - GLint size - GLenum type - const void **pointer - - - void glTexEnvf - GLenum target - GLenum pname - GLfloat param - - - - void glTexEnvfv - GLenum target - GLenum pname - const GLfloat *params - - - - void glTexEnvi - GLenum target - GLenum pname - GLint param - - - - void glTexEnviv - GLenum target - GLenum pname - const GLint *params - - - - void glTexEnvx - GLenum target - GLenum pname - GLfixed param - - - void glTexEnvxOES - GLenum target - GLenum pname - GLfixed param - - - void glTexEnvxv - GLenum target - GLenum pname - const GLfixed *params - - - void glTexEnvxvOES - GLenum target - GLenum pname - const GLfixed *params - - - void glTexFilterFuncSGIS - GLenum target - GLenum filter - GLsizei n - const GLfloat *weights - - - - void glTexGend - GLenum coord - GLenum pname - GLdouble param - - - - void glTexGendv - GLenum coord - GLenum pname - const GLdouble *params - - - - void glTexGenf - GLenum coord - GLenum pname - GLfloat param - - - - void glTexGenfOES - GLenum coord - GLenum pname - GLfloat param - - - void glTexGenfv - GLenum coord - GLenum pname - const GLfloat *params - - - - void glTexGenfvOES - GLenum coord - GLenum pname - const GLfloat *params - - - void glTexGeni - GLenum coord - GLenum pname - GLint param - - - - void glTexGeniOES - GLenum coord - GLenum pname - GLint param - - - void glTexGeniv - GLenum coord - GLenum pname - const GLint *params - - - - void glTexGenivOES - GLenum coord - GLenum pname - const GLint *params - - - void glTexGenxOES - GLenum coord - GLenum pname - GLfixed param - - - void glTexGenxvOES - GLenum coord - GLenum pname - const GLfixed *params - - - void glTexImage1D - GLenum target - GLint level - GLint internalformat - GLsizei width - GLint border - GLenum format - GLenum type - const void *pixels - - - - - void glTexImage2D - GLenum target - GLint level - GLint internalformat - GLsizei width - GLsizei height - GLint border - GLenum format - GLenum type - const void *pixels - - - - - void glTexImage2DMultisample - GLenum target - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - GLboolean fixedsamplelocations - - - void glTexImage2DMultisampleCoverageNV - GLenum target - GLsizei coverageSamples - GLsizei colorSamples - GLint internalFormat - GLsizei width - GLsizei height - GLboolean fixedSampleLocations - - - void glTexImage3D - GLenum target - GLint level - GLint internalformat - GLsizei width - GLsizei height - GLsizei depth - GLint border - GLenum format - GLenum type - const void *pixels - - - - - void glTexImage3DEXT - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - GLint border - GLenum format - GLenum type - const void *pixels - - - - - void glTexImage3DMultisample - GLenum target - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - GLboolean fixedsamplelocations - - - void glTexImage3DMultisampleCoverageNV - GLenum target - GLsizei coverageSamples - GLsizei colorSamples - GLint internalFormat - GLsizei width - GLsizei height - GLsizei depth - GLboolean fixedSampleLocations - - - void glTexImage3DOES - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - GLint border - GLenum format - GLenum type - const void *pixels - - - - void glTexImage4DSGIS - GLenum target - GLint level - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - GLsizei size4d - GLint border - GLenum format - GLenum type - const void *pixels - - - - void glTexPageCommitmentARB - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLboolean commit - - - void glTexPageCommitmentEXT - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLboolean commit - - - - void glTexParameterIiv - GLenum target - GLenum pname - const GLint *params - - - - void glTexParameterIivEXT - GLenum target - GLenum pname - const GLint *params - - - - void glTexParameterIivOES - GLenum target - GLenum pname - const GLint *params - - - - void glTexParameterIuiv - GLenum target - GLenum pname - const GLuint *params - - - - void glTexParameterIuivEXT - GLenum target - GLenum pname - const GLuint *params - - - - void glTexParameterIuivOES - GLenum target - GLenum pname - const GLuint *params - - - - void glTexParameterf - GLenum target - GLenum pname - GLfloat param - - - - void glTexParameterfv - GLenum target - GLenum pname - const GLfloat *params - - - - void glTexParameteri - GLenum target - GLenum pname - GLint param - - - - void glTexParameteriv - GLenum target - GLenum pname - const GLint *params - - - - void glTexParameterx - GLenum target - GLenum pname - GLfixed param - - - void glTexParameterxOES - GLenum target - GLenum pname - GLfixed param - - - void glTexParameterxv - GLenum target - GLenum pname - const GLfixed *params - - - void glTexParameterxvOES - GLenum target - GLenum pname - const GLfixed *params - - - void glTexRenderbufferNV - GLenum target - GLuint renderbuffer - - - void glTexStorage1D - GLenum target - GLsizei levels - GLenum internalformat - GLsizei width - - - void glTexStorage1DEXT - GLenum target - GLsizei levels - GLenum internalformat - GLsizei width - - - - void glTexStorage2D - GLenum target - GLsizei levels - GLenum internalformat - GLsizei width - GLsizei height - - - void glTexStorage2DEXT - GLenum target - GLsizei levels - GLenum internalformat - GLsizei width - GLsizei height - - - - void glTexStorage2DMultisample - GLenum target - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - GLboolean fixedsamplelocations - - - void glTexStorage3D - GLenum target - GLsizei levels - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - - - void glTexStorage3DEXT - GLenum target - GLsizei levels - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - - - - void glTexStorage3DMultisample - GLenum target - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - GLboolean fixedsamplelocations - - - void glTexStorage3DMultisampleOES - GLenum target - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - GLboolean fixedsamplelocations - - - - void glTexStorageSparseAMD - GLenum target - GLenum internalFormat - GLsizei width - GLsizei height - GLsizei depth - GLsizei layers - GLbitfield flags - - - void glTexSubImage1D - GLenum target - GLint level - GLint xoffset - GLsizei width - GLenum format - GLenum type - const void *pixels - - - - - void glTexSubImage1DEXT - GLenum target - GLint level - GLint xoffset - GLsizei width - GLenum format - GLenum type - const void *pixels - - - - - void glTexSubImage2D - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLsizei width - GLsizei height - GLenum format - GLenum type - const void *pixels - - - - - void glTexSubImage2DEXT - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLsizei width - GLsizei height - GLenum format - GLenum type - const void *pixels - - - - - void glTexSubImage3D - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLenum format - GLenum type - const void *pixels - - - - - void glTexSubImage3DEXT - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLenum format - GLenum type - const void *pixels - - - - - void glTexSubImage3DOES - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLenum format - GLenum type - const void *pixels - - - - void glTexSubImage4DSGIS - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLint woffset - GLsizei width - GLsizei height - GLsizei depth - GLsizei size4d - GLenum format - GLenum type - const void *pixels - - - - void glTextureBarrier - - - void glTextureBarrierNV - - - - void glTextureBuffer - GLuint texture - GLenum internalformat - GLuint buffer - - - void glTextureBufferEXT - GLuint texture - GLenum target - GLenum internalformat - GLuint buffer - - - void glTextureBufferRange - GLuint texture - GLenum internalformat - GLuint buffer - GLintptr offset - GLsizeiptr size - - - void glTextureBufferRangeEXT - GLuint texture - GLenum target - GLenum internalformat - GLuint buffer - GLintptr offset - GLsizeiptr size - - - void glTextureColorMaskSGIS - GLboolean red - GLboolean green - GLboolean blue - GLboolean alpha - - - - void glTextureImage1DEXT - GLuint texture - GLenum target - GLint level - GLint internalformat - GLsizei width - GLint border - GLenum format - GLenum type - const void *pixels - - - void glTextureImage2DEXT - GLuint texture - GLenum target - GLint level - GLint internalformat - GLsizei width - GLsizei height - GLint border - GLenum format - GLenum type - const void *pixels - - - void glTextureImage2DMultisampleCoverageNV - GLuint texture - GLenum target - GLsizei coverageSamples - GLsizei colorSamples - GLint internalFormat - GLsizei width - GLsizei height - GLboolean fixedSampleLocations - - - void glTextureImage2DMultisampleNV - GLuint texture - GLenum target - GLsizei samples - GLint internalFormat - GLsizei width - GLsizei height - GLboolean fixedSampleLocations - - - void glTextureImage3DEXT - GLuint texture - GLenum target - GLint level - GLint internalformat - GLsizei width - GLsizei height - GLsizei depth - GLint border - GLenum format - GLenum type - const void *pixels - - - void glTextureImage3DMultisampleCoverageNV - GLuint texture - GLenum target - GLsizei coverageSamples - GLsizei colorSamples - GLint internalFormat - GLsizei width - GLsizei height - GLsizei depth - GLboolean fixedSampleLocations - - - void glTextureImage3DMultisampleNV - GLuint texture - GLenum target - GLsizei samples - GLint internalFormat - GLsizei width - GLsizei height - GLsizei depth - GLboolean fixedSampleLocations - - - void glTextureLightEXT - GLenum pname - - - void glTextureMaterialEXT - GLenum face - GLenum mode - - - void glTextureNormalEXT - GLenum mode - - - void glTexturePageCommitmentEXT - GLuint texture - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLboolean commit - - - void glTextureParameterIiv - GLuint texture - GLenum pname - const GLint *params - - - void glTextureParameterIivEXT - GLuint texture - GLenum target - GLenum pname - const GLint *params - - - void glTextureParameterIuiv - GLuint texture - GLenum pname - const GLuint *params - - - void glTextureParameterIuivEXT - GLuint texture - GLenum target - GLenum pname - const GLuint *params - - - void glTextureParameterf - GLuint texture - GLenum pname - GLfloat param - - - void glTextureParameterfEXT - GLuint texture - GLenum target - GLenum pname - GLfloat param - - - - void glTextureParameterfv - GLuint texture - GLenum pname - const GLfloat *param - - - void glTextureParameterfvEXT - GLuint texture - GLenum target - GLenum pname - const GLfloat *params - - - void glTextureParameteri - GLuint texture - GLenum pname - GLint param - - - void glTextureParameteriEXT - GLuint texture - GLenum target - GLenum pname - GLint param - - - - void glTextureParameteriv - GLuint texture - GLenum pname - const GLint *param - - - void glTextureParameterivEXT - GLuint texture - GLenum target - GLenum pname - const GLint *params - - - void glTextureRangeAPPLE - GLenum target - GLsizei length - const void *pointer - - - void glTextureRenderbufferEXT - GLuint texture - GLenum target - GLuint renderbuffer - - - void glTextureStorage1D - GLuint texture - GLsizei levels - GLenum internalformat - GLsizei width - - - void glTextureStorage1DEXT - GLuint texture - GLenum target - GLsizei levels - GLenum internalformat - GLsizei width - - - void glTextureStorage2D - GLuint texture - GLsizei levels - GLenum internalformat - GLsizei width - GLsizei height - - - void glTextureStorage2DEXT - GLuint texture - GLenum target - GLsizei levels - GLenum internalformat - GLsizei width - GLsizei height - - - void glTextureStorage2DMultisample - GLuint texture - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - GLboolean fixedsamplelocations - - - void glTextureStorage2DMultisampleEXT - GLuint texture - GLenum target - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - GLboolean fixedsamplelocations - - - void glTextureStorage3D - GLuint texture - GLsizei levels - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - - - void glTextureStorage3DEXT - GLuint texture - GLenum target - GLsizei levels - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - - - void glTextureStorage3DMultisample - GLuint texture - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - GLboolean fixedsamplelocations - - - void glTextureStorage3DMultisampleEXT - GLuint texture - GLenum target - GLsizei samples - GLenum internalformat - GLsizei width - GLsizei height - GLsizei depth - GLboolean fixedsamplelocations - - - void glTextureStorageSparseAMD - GLuint texture - GLenum target - GLenum internalFormat - GLsizei width - GLsizei height - GLsizei depth - GLsizei layers - GLbitfield flags - - - void glTextureSubImage1D - GLuint texture - GLint level - GLint xoffset - GLsizei width - GLenum format - GLenum type - const void *pixels - - - void glTextureSubImage1DEXT - GLuint texture - GLenum target - GLint level - GLint xoffset - GLsizei width - GLenum format - GLenum type - const void *pixels - - - void glTextureSubImage2D - GLuint texture - GLint level - GLint xoffset - GLint yoffset - GLsizei width - GLsizei height - GLenum format - GLenum type - const void *pixels - - - void glTextureSubImage2DEXT - GLuint texture - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLsizei width - GLsizei height - GLenum format - GLenum type - const void *pixels - - - void glTextureSubImage3D - GLuint texture - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLenum format - GLenum type - const void *pixels - - - void glTextureSubImage3DEXT - GLuint texture - GLenum target - GLint level - GLint xoffset - GLint yoffset - GLint zoffset - GLsizei width - GLsizei height - GLsizei depth - GLenum format - GLenum type - const void *pixels - - - void glTextureView - GLuint texture - GLenum target - GLuint origtexture - GLenum internalformat - GLuint minlevel - GLuint numlevels - GLuint minlayer - GLuint numlayers - - - void glTextureViewEXT - GLuint texture - GLenum target - GLuint origtexture - GLenum internalformat - GLuint minlevel - GLuint numlevels - GLuint minlayer - GLuint numlayers - - - - void glTextureViewOES - GLuint texture - GLenum target - GLuint origtexture - GLenum internalformat - GLuint minlevel - GLuint numlevels - GLuint minlayer - GLuint numlayers - - - - void glTrackMatrixNV - GLenum target - GLuint address - GLenum matrix - GLenum transform - - - - void glTransformFeedbackAttribsNV - GLsizei count - const GLint *attribs - GLenum bufferMode - - - void glTransformFeedbackBufferBase - GLuint xfb - GLuint index - GLuint buffer - - - void glTransformFeedbackBufferRange - GLuint xfb - GLuint index - GLuint buffer - GLintptr offset - GLsizeiptr size - - - void glTransformFeedbackStreamAttribsNV - GLsizei count - const GLint *attribs - GLsizei nbuffers - const GLint *bufstreams - GLenum bufferMode - - - void glTransformFeedbackVaryings - GLuint program - GLsizei count - const GLchar *const*varyings - GLenum bufferMode - - - void glTransformFeedbackVaryingsEXT - GLuint program - GLsizei count - const GLchar *const*varyings - GLenum bufferMode - - - - void glTransformFeedbackVaryingsNV - GLuint program - GLsizei count - const GLint *locations - GLenum bufferMode - - - void glTransformPathNV - GLuint resultPath - GLuint srcPath - GLenum transformType - const GLfloat *transformValues - - - void glTranslated - GLdouble x - GLdouble y - GLdouble z - - - - void glTranslatef - GLfloat x - GLfloat y - GLfloat z - - - - void glTranslatex - GLfixed x - GLfixed y - GLfixed z - - - void glTranslatexOES - GLfixed x - GLfixed y - GLfixed z - - - void glUniform1d - GLint location - GLdouble x - - - void glUniform1dv - GLint location - GLsizei count - const GLdouble *value - - - void glUniform1f - GLint location - GLfloat v0 - - - void glUniform1fARB - GLint location - GLfloat v0 - - - - void glUniform1fv - GLint location - GLsizei count - const GLfloat *value - - - void glUniform1fvARB - GLint location - GLsizei count - const GLfloat *value - - - - void glUniform1i - GLint location - GLint v0 - - - void glUniform1i64ARB - GLint location - GLint64 x - - - void glUniform1i64NV - GLint location - GLint64EXT x - - - void glUniform1i64vARB - GLint location - GLsizei count - const GLint64 *value - - - void glUniform1i64vNV - GLint location - GLsizei count - const GLint64EXT *value - - - void glUniform1iARB - GLint location - GLint v0 - - - - void glUniform1iv - GLint location - GLsizei count - const GLint *value - - - void glUniform1ivARB - GLint location - GLsizei count - const GLint *value - - - - void glUniform1ui - GLint location - GLuint v0 - - - void glUniform1ui64ARB - GLint location - GLuint64 x - - - void glUniform1ui64NV - GLint location - GLuint64EXT x - - - void glUniform1ui64vARB - GLint location - GLsizei count - const GLuint64 *value - - - void glUniform1ui64vNV - GLint location - GLsizei count - const GLuint64EXT *value - - - void glUniform1uiEXT - GLint location - GLuint v0 - - - - void glUniform1uiv - GLint location - GLsizei count - const GLuint *value - - - void glUniform1uivEXT - GLint location - GLsizei count - const GLuint *value - - - - void glUniform2d - GLint location - GLdouble x - GLdouble y - - - void glUniform2dv - GLint location - GLsizei count - const GLdouble *value - - - void glUniform2f - GLint location - GLfloat v0 - GLfloat v1 - - - void glUniform2fARB - GLint location - GLfloat v0 - GLfloat v1 - - - - void glUniform2fv - GLint location - GLsizei count - const GLfloat *value - - - void glUniform2fvARB - GLint location - GLsizei count - const GLfloat *value - - - - void glUniform2i - GLint location - GLint v0 - GLint v1 - - - void glUniform2i64ARB - GLint location - GLint64 x - GLint64 y - - - void glUniform2i64NV - GLint location - GLint64EXT x - GLint64EXT y - - - void glUniform2i64vARB - GLint location - GLsizei count - const GLint64 *value - - - void glUniform2i64vNV - GLint location - GLsizei count - const GLint64EXT *value - - - void glUniform2iARB - GLint location - GLint v0 - GLint v1 - - - - void glUniform2iv - GLint location - GLsizei count - const GLint *value - - - void glUniform2ivARB - GLint location - GLsizei count - const GLint *value - - - - void glUniform2ui - GLint location - GLuint v0 - GLuint v1 - - - void glUniform2ui64ARB - GLint location - GLuint64 x - GLuint64 y - - - void glUniform2ui64NV - GLint location - GLuint64EXT x - GLuint64EXT y - - - void glUniform2ui64vARB - GLint location - GLsizei count - const GLuint64 *value - - - void glUniform2ui64vNV - GLint location - GLsizei count - const GLuint64EXT *value - - - void glUniform2uiEXT - GLint location - GLuint v0 - GLuint v1 - - - - void glUniform2uiv - GLint location - GLsizei count - const GLuint *value - - - void glUniform2uivEXT - GLint location - GLsizei count - const GLuint *value - - - - void glUniform3d - GLint location - GLdouble x - GLdouble y - GLdouble z - - - void glUniform3dv - GLint location - GLsizei count - const GLdouble *value - - - void glUniform3f - GLint location - GLfloat v0 - GLfloat v1 - GLfloat v2 - - - void glUniform3fARB - GLint location - GLfloat v0 - GLfloat v1 - GLfloat v2 - - - - void glUniform3fv - GLint location - GLsizei count - const GLfloat *value - - - void glUniform3fvARB - GLint location - GLsizei count - const GLfloat *value - - - - void glUniform3i - GLint location - GLint v0 - GLint v1 - GLint v2 - - - void glUniform3i64ARB - GLint location - GLint64 x - GLint64 y - GLint64 z - - - void glUniform3i64NV - GLint location - GLint64EXT x - GLint64EXT y - GLint64EXT z - - - void glUniform3i64vARB - GLint location - GLsizei count - const GLint64 *value - - - void glUniform3i64vNV - GLint location - GLsizei count - const GLint64EXT *value - - - void glUniform3iARB - GLint location - GLint v0 - GLint v1 - GLint v2 - - - - void glUniform3iv - GLint location - GLsizei count - const GLint *value - - - void glUniform3ivARB - GLint location - GLsizei count - const GLint *value - - - - void glUniform3ui - GLint location - GLuint v0 - GLuint v1 - GLuint v2 - - - void glUniform3ui64ARB - GLint location - GLuint64 x - GLuint64 y - GLuint64 z - - - void glUniform3ui64NV - GLint location - GLuint64EXT x - GLuint64EXT y - GLuint64EXT z - - - void glUniform3ui64vARB - GLint location - GLsizei count - const GLuint64 *value - - - void glUniform3ui64vNV - GLint location - GLsizei count - const GLuint64EXT *value - - - void glUniform3uiEXT - GLint location - GLuint v0 - GLuint v1 - GLuint v2 - - - - void glUniform3uiv - GLint location - GLsizei count - const GLuint *value - - - void glUniform3uivEXT - GLint location - GLsizei count - const GLuint *value - - - - void glUniform4d - GLint location - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - void glUniform4dv - GLint location - GLsizei count - const GLdouble *value - - - void glUniform4f - GLint location - GLfloat v0 - GLfloat v1 - GLfloat v2 - GLfloat v3 - - - void glUniform4fARB - GLint location - GLfloat v0 - GLfloat v1 - GLfloat v2 - GLfloat v3 - - - - void glUniform4fv - GLint location - GLsizei count - const GLfloat *value - - - void glUniform4fvARB - GLint location - GLsizei count - const GLfloat *value - - - - void glUniform4i - GLint location - GLint v0 - GLint v1 - GLint v2 - GLint v3 - - - void glUniform4i64ARB - GLint location - GLint64 x - GLint64 y - GLint64 z - GLint64 w - - - void glUniform4i64NV - GLint location - GLint64EXT x - GLint64EXT y - GLint64EXT z - GLint64EXT w - - - void glUniform4i64vARB - GLint location - GLsizei count - const GLint64 *value - - - void glUniform4i64vNV - GLint location - GLsizei count - const GLint64EXT *value - - - void glUniform4iARB - GLint location - GLint v0 - GLint v1 - GLint v2 - GLint v3 - - - - void glUniform4iv - GLint location - GLsizei count - const GLint *value - - - void glUniform4ivARB - GLint location - GLsizei count - const GLint *value - - - - void glUniform4ui - GLint location - GLuint v0 - GLuint v1 - GLuint v2 - GLuint v3 - - - void glUniform4ui64ARB - GLint location - GLuint64 x - GLuint64 y - GLuint64 z - GLuint64 w - - - void glUniform4ui64NV - GLint location - GLuint64EXT x - GLuint64EXT y - GLuint64EXT z - GLuint64EXT w - - - void glUniform4ui64vARB - GLint location - GLsizei count - const GLuint64 *value - - - void glUniform4ui64vNV - GLint location - GLsizei count - const GLuint64EXT *value - - - void glUniform4uiEXT - GLint location - GLuint v0 - GLuint v1 - GLuint v2 - GLuint v3 - - - - void glUniform4uiv - GLint location - GLsizei count - const GLuint *value - - - void glUniform4uivEXT - GLint location - GLsizei count - const GLuint *value - - - - void glUniformBlockBinding - GLuint program - GLuint uniformBlockIndex - GLuint uniformBlockBinding - - - void glUniformBufferEXT - GLuint program - GLint location - GLuint buffer - - - void glUniformHandleui64ARB - GLint location - GLuint64 value - - - void glUniformHandleui64NV - GLint location - GLuint64 value - - - void glUniformHandleui64vARB - GLint location - GLsizei count - const GLuint64 *value - - - void glUniformHandleui64vNV - GLint location - GLsizei count - const GLuint64 *value - - - void glUniformMatrix2dv - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glUniformMatrix2fv - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - void glUniformMatrix2fvARB - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glUniformMatrix2x3dv - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glUniformMatrix2x3fv - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glUniformMatrix2x3fvNV - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glUniformMatrix2x4dv - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glUniformMatrix2x4fv - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glUniformMatrix2x4fvNV - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glUniformMatrix3dv - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glUniformMatrix3fv - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - void glUniformMatrix3fvARB - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glUniformMatrix3x2dv - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glUniformMatrix3x2fv - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glUniformMatrix3x2fvNV - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glUniformMatrix3x4dv - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glUniformMatrix3x4fv - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glUniformMatrix3x4fvNV - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glUniformMatrix4dv - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glUniformMatrix4fv - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - void glUniformMatrix4fvARB - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glUniformMatrix4x2dv - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glUniformMatrix4x2fv - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glUniformMatrix4x2fvNV - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glUniformMatrix4x3dv - GLint location - GLsizei count - GLboolean transpose - const GLdouble *value - - - void glUniformMatrix4x3fv - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glUniformMatrix4x3fvNV - GLint location - GLsizei count - GLboolean transpose - const GLfloat *value - - - - void glUniformSubroutinesuiv - GLenum shadertype - GLsizei count - const GLuint *indices - - - void glUniformui64NV - GLint location - GLuint64EXT value - - - void glUniformui64vNV - GLint location - GLsizei count - const GLuint64EXT *value - - - void glUnlockArraysEXT - - - GLboolean glUnmapBuffer - GLenum target - - - GLboolean glUnmapBufferARB - GLenum target - - - - GLboolean glUnmapBufferOES - GLenum target - - - - GLboolean glUnmapNamedBuffer - GLuint buffer - - - GLboolean glUnmapNamedBufferEXT - GLuint buffer - - - void glUnmapObjectBufferATI - GLuint buffer - - - void glUnmapTexture2DINTEL - GLuint texture - GLint level - - - void glUpdateObjectBufferATI - GLuint buffer - GLuint offset - GLsizei size - const void *pointer - GLenum preserve - - - void glUseProgram - GLuint program - - - void glUseProgramObjectARB - GLhandleARB programObj - - - - void glUseProgramStages - GLuint pipeline - GLbitfield stages - GLuint program - - - void glUseProgramStagesEXT - GLuint pipeline - GLbitfield stages - GLuint program - - - void glUseShaderProgramEXT - GLenum type - GLuint program - - - void glVDPAUFiniNV - - - void glVDPAUGetSurfaceivNV - GLvdpauSurfaceNV surface - GLenum pname - GLsizei bufSize - GLsizei *length - GLint *values - - - void glVDPAUInitNV - const void *vdpDevice - const void *getProcAddress - - - GLboolean glVDPAUIsSurfaceNV - GLvdpauSurfaceNV surface - - - void glVDPAUMapSurfacesNV - GLsizei numSurfaces - const GLvdpauSurfaceNV *surfaces - - - GLvdpauSurfaceNV glVDPAURegisterOutputSurfaceNV - const void *vdpSurface - GLenum target - GLsizei numTextureNames - const GLuint *textureNames - - - GLvdpauSurfaceNV glVDPAURegisterVideoSurfaceNV - const void *vdpSurface - GLenum target - GLsizei numTextureNames - const GLuint *textureNames - - - void glVDPAUSurfaceAccessNV - GLvdpauSurfaceNV surface - GLenum access - - - void glVDPAUUnmapSurfacesNV - GLsizei numSurface - const GLvdpauSurfaceNV *surfaces - - - void glVDPAUUnregisterSurfaceNV - GLvdpauSurfaceNV surface - - - void glValidateProgram - GLuint program - - - void glValidateProgramARB - GLhandleARB programObj - - - - void glValidateProgramPipeline - GLuint pipeline - - - void glValidateProgramPipelineEXT - GLuint pipeline - - - void glVariantArrayObjectATI - GLuint id - GLenum type - GLsizei stride - GLuint buffer - GLuint offset - - - void glVariantPointerEXT - GLuint id - GLenum type - GLuint stride - const void *addr - - - void glVariantbvEXT - GLuint id - const GLbyte *addr - - - void glVariantdvEXT - GLuint id - const GLdouble *addr - - - void glVariantfvEXT - GLuint id - const GLfloat *addr - - - void glVariantivEXT - GLuint id - const GLint *addr - - - void glVariantsvEXT - GLuint id - const GLshort *addr - - - void glVariantubvEXT - GLuint id - const GLubyte *addr - - - void glVariantuivEXT - GLuint id - const GLuint *addr - - - void glVariantusvEXT - GLuint id - const GLushort *addr - - - void glVertex2bOES - GLbyte x - GLbyte y - - - void glVertex2bvOES - const GLbyte *coords - - - void glVertex2d - GLdouble x - GLdouble y - - - - void glVertex2dv - const GLdouble *v - - - - void glVertex2f - GLfloat x - GLfloat y - - - - void glVertex2fv - const GLfloat *v - - - - void glVertex2hNV - GLhalfNV x - GLhalfNV y - - - - void glVertex2hvNV - const GLhalfNV *v - - - - void glVertex2i - GLint x - GLint y - - - - void glVertex2iv - const GLint *v - - - - void glVertex2s - GLshort x - GLshort y - - - - void glVertex2sv - const GLshort *v - - - - void glVertex2xOES - GLfixed x - - - void glVertex2xvOES - const GLfixed *coords - - - void glVertex3bOES - GLbyte x - GLbyte y - GLbyte z - - - void glVertex3bvOES - const GLbyte *coords - - - void glVertex3d - GLdouble x - GLdouble y - GLdouble z - - - - void glVertex3dv - const GLdouble *v - - - - void glVertex3f - GLfloat x - GLfloat y - GLfloat z - - - - void glVertex3fv - const GLfloat *v - - - - void glVertex3hNV - GLhalfNV x - GLhalfNV y - GLhalfNV z - - - - void glVertex3hvNV - const GLhalfNV *v - - - - void glVertex3i - GLint x - GLint y - GLint z - - - - void glVertex3iv - const GLint *v - - - - void glVertex3s - GLshort x - GLshort y - GLshort z - - - - void glVertex3sv - const GLshort *v - - - - void glVertex3xOES - GLfixed x - GLfixed y - - - void glVertex3xvOES - const GLfixed *coords - - - void glVertex4bOES - GLbyte x - GLbyte y - GLbyte z - GLbyte w - - - void glVertex4bvOES - const GLbyte *coords - - - void glVertex4d - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - - void glVertex4dv - const GLdouble *v - - - - void glVertex4f - GLfloat x - GLfloat y - GLfloat z - GLfloat w - - - - void glVertex4fv - const GLfloat *v - - - - void glVertex4hNV - GLhalfNV x - GLhalfNV y - GLhalfNV z - GLhalfNV w - - - - void glVertex4hvNV - const GLhalfNV *v - - - - void glVertex4i - GLint x - GLint y - GLint z - GLint w - - - - void glVertex4iv - const GLint *v - - - - void glVertex4s - GLshort x - GLshort y - GLshort z - GLshort w - - - - void glVertex4sv - const GLshort *v - - - - void glVertex4xOES - GLfixed x - GLfixed y - GLfixed z - - - void glVertex4xvOES - const GLfixed *coords - - - void glVertexArrayAttribBinding - GLuint vaobj - GLuint attribindex - GLuint bindingindex - - - void glVertexArrayAttribFormat - GLuint vaobj - GLuint attribindex - GLint size - GLenum type - GLboolean normalized - GLuint relativeoffset - - - void glVertexArrayAttribIFormat - GLuint vaobj - GLuint attribindex - GLint size - GLenum type - GLuint relativeoffset - - - void glVertexArrayAttribLFormat - GLuint vaobj - GLuint attribindex - GLint size - GLenum type - GLuint relativeoffset - - - void glVertexArrayBindVertexBufferEXT - GLuint vaobj - GLuint bindingindex - GLuint buffer - GLintptr offset - GLsizei stride - - - void glVertexArrayBindingDivisor - GLuint vaobj - GLuint bindingindex - GLuint divisor - - - void glVertexArrayColorOffsetEXT - GLuint vaobj - GLuint buffer - GLint size - GLenum type - GLsizei stride - GLintptr offset - - - void glVertexArrayEdgeFlagOffsetEXT - GLuint vaobj - GLuint buffer - GLsizei stride - GLintptr offset - - - void glVertexArrayElementBuffer - GLuint vaobj - GLuint buffer - - - void glVertexArrayFogCoordOffsetEXT - GLuint vaobj - GLuint buffer - GLenum type - GLsizei stride - GLintptr offset - - - void glVertexArrayIndexOffsetEXT - GLuint vaobj - GLuint buffer - GLenum type - GLsizei stride - GLintptr offset - - - void glVertexArrayMultiTexCoordOffsetEXT - GLuint vaobj - GLuint buffer - GLenum texunit - GLint size - GLenum type - GLsizei stride - GLintptr offset - - - void glVertexArrayNormalOffsetEXT - GLuint vaobj - GLuint buffer - GLenum type - GLsizei stride - GLintptr offset - - - void glVertexArrayParameteriAPPLE - GLenum pname - GLint param - - - void glVertexArrayRangeAPPLE - GLsizei length - void *pointer - - - void glVertexArrayRangeNV - GLsizei length - const void *pointer - - - void glVertexArraySecondaryColorOffsetEXT - GLuint vaobj - GLuint buffer - GLint size - GLenum type - GLsizei stride - GLintptr offset - - - void glVertexArrayTexCoordOffsetEXT - GLuint vaobj - GLuint buffer - GLint size - GLenum type - GLsizei stride - GLintptr offset - - - void glVertexArrayVertexAttribBindingEXT - GLuint vaobj - GLuint attribindex - GLuint bindingindex - - - void glVertexArrayVertexAttribDivisorEXT - GLuint vaobj - GLuint index - GLuint divisor - - - void glVertexArrayVertexAttribFormatEXT - GLuint vaobj - GLuint attribindex - GLint size - GLenum type - GLboolean normalized - GLuint relativeoffset - - - void glVertexArrayVertexAttribIFormatEXT - GLuint vaobj - GLuint attribindex - GLint size - GLenum type - GLuint relativeoffset - - - void glVertexArrayVertexAttribIOffsetEXT - GLuint vaobj - GLuint buffer - GLuint index - GLint size - GLenum type - GLsizei stride - GLintptr offset - - - void glVertexArrayVertexAttribLFormatEXT - GLuint vaobj - GLuint attribindex - GLint size - GLenum type - GLuint relativeoffset - - - void glVertexArrayVertexAttribLOffsetEXT - GLuint vaobj - GLuint buffer - GLuint index - GLint size - GLenum type - GLsizei stride - GLintptr offset - - - void glVertexArrayVertexAttribOffsetEXT - GLuint vaobj - GLuint buffer - GLuint index - GLint size - GLenum type - GLboolean normalized - GLsizei stride - GLintptr offset - - - void glVertexArrayVertexBindingDivisorEXT - GLuint vaobj - GLuint bindingindex - GLuint divisor - - - void glVertexArrayVertexBuffer - GLuint vaobj - GLuint bindingindex - GLuint buffer - GLintptr offset - GLsizei stride - - - void glVertexArrayVertexBuffers - GLuint vaobj - GLuint first - GLsizei count - const GLuint *buffers - const GLintptr *offsets - const GLsizei *strides - - - void glVertexArrayVertexOffsetEXT - GLuint vaobj - GLuint buffer - GLint size - GLenum type - GLsizei stride - GLintptr offset - - - void glVertexAttrib1d - GLuint index - GLdouble x - - - - void glVertexAttrib1dARB - GLuint index - GLdouble x - - - - - void glVertexAttrib1dNV - GLuint index - GLdouble x - - - - - void glVertexAttrib1dv - GLuint index - const GLdouble *v - - - - void glVertexAttrib1dvARB - GLuint index - const GLdouble *v - - - - - void glVertexAttrib1dvNV - GLuint index - const GLdouble *v - - - - - void glVertexAttrib1f - GLuint index - GLfloat x - - - - void glVertexAttrib1fARB - GLuint index - GLfloat x - - - - - void glVertexAttrib1fNV - GLuint index - GLfloat x - - - - - void glVertexAttrib1fv - GLuint index - const GLfloat *v - - - - void glVertexAttrib1fvARB - GLuint index - const GLfloat *v - - - - - void glVertexAttrib1fvNV - GLuint index - const GLfloat *v - - - - - void glVertexAttrib1hNV - GLuint index - GLhalfNV x - - - - void glVertexAttrib1hvNV - GLuint index - const GLhalfNV *v - - - - void glVertexAttrib1s - GLuint index - GLshort x - - - - void glVertexAttrib1sARB - GLuint index - GLshort x - - - - - void glVertexAttrib1sNV - GLuint index - GLshort x - - - - - void glVertexAttrib1sv - GLuint index - const GLshort *v - - - - void glVertexAttrib1svARB - GLuint index - const GLshort *v - - - - - void glVertexAttrib1svNV - GLuint index - const GLshort *v - - - - - void glVertexAttrib2d - GLuint index - GLdouble x - GLdouble y - - - - void glVertexAttrib2dARB - GLuint index - GLdouble x - GLdouble y - - - - - void glVertexAttrib2dNV - GLuint index - GLdouble x - GLdouble y - - - - - void glVertexAttrib2dv - GLuint index - const GLdouble *v - - - - void glVertexAttrib2dvARB - GLuint index - const GLdouble *v - - - - - void glVertexAttrib2dvNV - GLuint index - const GLdouble *v - - - - - void glVertexAttrib2f - GLuint index - GLfloat x - GLfloat y - - - - void glVertexAttrib2fARB - GLuint index - GLfloat x - GLfloat y - - - - - void glVertexAttrib2fNV - GLuint index - GLfloat x - GLfloat y - - - - - void glVertexAttrib2fv - GLuint index - const GLfloat *v - - - - void glVertexAttrib2fvARB - GLuint index - const GLfloat *v - - - - - void glVertexAttrib2fvNV - GLuint index - const GLfloat *v - - - - - void glVertexAttrib2hNV - GLuint index - GLhalfNV x - GLhalfNV y - - - - void glVertexAttrib2hvNV - GLuint index - const GLhalfNV *v - - - - void glVertexAttrib2s - GLuint index - GLshort x - GLshort y - - - - void glVertexAttrib2sARB - GLuint index - GLshort x - GLshort y - - - - - void glVertexAttrib2sNV - GLuint index - GLshort x - GLshort y - - - - - void glVertexAttrib2sv - GLuint index - const GLshort *v - - - - void glVertexAttrib2svARB - GLuint index - const GLshort *v - - - - - void glVertexAttrib2svNV - GLuint index - const GLshort *v - - - - - void glVertexAttrib3d - GLuint index - GLdouble x - GLdouble y - GLdouble z - - - - void glVertexAttrib3dARB - GLuint index - GLdouble x - GLdouble y - GLdouble z - - - - - void glVertexAttrib3dNV - GLuint index - GLdouble x - GLdouble y - GLdouble z - - - - - void glVertexAttrib3dv - GLuint index - const GLdouble *v - - - - void glVertexAttrib3dvARB - GLuint index - const GLdouble *v - - - - - void glVertexAttrib3dvNV - GLuint index - const GLdouble *v - - - - - void glVertexAttrib3f - GLuint index - GLfloat x - GLfloat y - GLfloat z - - - - void glVertexAttrib3fARB - GLuint index - GLfloat x - GLfloat y - GLfloat z - - - - - void glVertexAttrib3fNV - GLuint index - GLfloat x - GLfloat y - GLfloat z - - - - - void glVertexAttrib3fv - GLuint index - const GLfloat *v - - - - void glVertexAttrib3fvARB - GLuint index - const GLfloat *v - - - - - void glVertexAttrib3fvNV - GLuint index - const GLfloat *v - - - - - void glVertexAttrib3hNV - GLuint index - GLhalfNV x - GLhalfNV y - GLhalfNV z - - - - void glVertexAttrib3hvNV - GLuint index - const GLhalfNV *v - - - - void glVertexAttrib3s - GLuint index - GLshort x - GLshort y - GLshort z - - - - void glVertexAttrib3sARB - GLuint index - GLshort x - GLshort y - GLshort z - - - - - void glVertexAttrib3sNV - GLuint index - GLshort x - GLshort y - GLshort z - - - - - void glVertexAttrib3sv - GLuint index - const GLshort *v - - - - void glVertexAttrib3svARB - GLuint index - const GLshort *v - - - - - void glVertexAttrib3svNV - GLuint index - const GLshort *v - - - - - void glVertexAttrib4Nbv - GLuint index - const GLbyte *v - - - void glVertexAttrib4NbvARB - GLuint index - const GLbyte *v - - - - void glVertexAttrib4Niv - GLuint index - const GLint *v - - - void glVertexAttrib4NivARB - GLuint index - const GLint *v - - - - void glVertexAttrib4Nsv - GLuint index - const GLshort *v - - - void glVertexAttrib4NsvARB - GLuint index - const GLshort *v - - - - void glVertexAttrib4Nub - GLuint index - GLubyte x - GLubyte y - GLubyte z - GLubyte w - - - void glVertexAttrib4NubARB - GLuint index - GLubyte x - GLubyte y - GLubyte z - GLubyte w - - - - void glVertexAttrib4Nubv - GLuint index - const GLubyte *v - - - - void glVertexAttrib4NubvARB - GLuint index - const GLubyte *v - - - - - void glVertexAttrib4Nuiv - GLuint index - const GLuint *v - - - void glVertexAttrib4NuivARB - GLuint index - const GLuint *v - - - - void glVertexAttrib4Nusv - GLuint index - const GLushort *v - - - void glVertexAttrib4NusvARB - GLuint index - const GLushort *v - - - - void glVertexAttrib4bv - GLuint index - const GLbyte *v - - - void glVertexAttrib4bvARB - GLuint index - const GLbyte *v - - - - void glVertexAttrib4d - GLuint index - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - - void glVertexAttrib4dARB - GLuint index - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - - - void glVertexAttrib4dNV - GLuint index - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - - - void glVertexAttrib4dv - GLuint index - const GLdouble *v - - - - void glVertexAttrib4dvARB - GLuint index - const GLdouble *v - - - - - void glVertexAttrib4dvNV - GLuint index - const GLdouble *v - - - - - void glVertexAttrib4f - GLuint index - GLfloat x - GLfloat y - GLfloat z - GLfloat w - - - - void glVertexAttrib4fARB - GLuint index - GLfloat x - GLfloat y - GLfloat z - GLfloat w - - - - - void glVertexAttrib4fNV - GLuint index - GLfloat x - GLfloat y - GLfloat z - GLfloat w - - - - - void glVertexAttrib4fv - GLuint index - const GLfloat *v - - - - void glVertexAttrib4fvARB - GLuint index - const GLfloat *v - - - - - void glVertexAttrib4fvNV - GLuint index - const GLfloat *v - - - - - void glVertexAttrib4hNV - GLuint index - GLhalfNV x - GLhalfNV y - GLhalfNV z - GLhalfNV w - - - - void glVertexAttrib4hvNV - GLuint index - const GLhalfNV *v - - - - void glVertexAttrib4iv - GLuint index - const GLint *v - - - void glVertexAttrib4ivARB - GLuint index - const GLint *v - - - - void glVertexAttrib4s - GLuint index - GLshort x - GLshort y - GLshort z - GLshort w - - - - void glVertexAttrib4sARB - GLuint index - GLshort x - GLshort y - GLshort z - GLshort w - - - - - void glVertexAttrib4sNV - GLuint index - GLshort x - GLshort y - GLshort z - GLshort w - - - - - void glVertexAttrib4sv - GLuint index - const GLshort *v - - - - void glVertexAttrib4svARB - GLuint index - const GLshort *v - - - - - void glVertexAttrib4svNV - GLuint index - const GLshort *v - - - - - void glVertexAttrib4ubNV - GLuint index - GLubyte x - GLubyte y - GLubyte z - GLubyte w - - - - - void glVertexAttrib4ubv - GLuint index - const GLubyte *v - - - void glVertexAttrib4ubvARB - GLuint index - const GLubyte *v - - - - void glVertexAttrib4ubvNV - GLuint index - const GLubyte *v - - - - - void glVertexAttrib4uiv - GLuint index - const GLuint *v - - - void glVertexAttrib4uivARB - GLuint index - const GLuint *v - - - - void glVertexAttrib4usv - GLuint index - const GLushort *v - - - void glVertexAttrib4usvARB - GLuint index - const GLushort *v - - - - void glVertexAttribArrayObjectATI - GLuint index - GLint size - GLenum type - GLboolean normalized - GLsizei stride - GLuint buffer - GLuint offset - - - void glVertexAttribBinding - GLuint attribindex - GLuint bindingindex - - - void glVertexAttribDivisor - GLuint index - GLuint divisor - - - void glVertexAttribDivisorANGLE - GLuint index - GLuint divisor - - - - void glVertexAttribDivisorARB - GLuint index - GLuint divisor - - - - void glVertexAttribDivisorEXT - GLuint index - GLuint divisor - - - - void glVertexAttribDivisorNV - GLuint index - GLuint divisor - - - - void glVertexAttribFormat - GLuint attribindex - GLint size - GLenum type - GLboolean normalized - GLuint relativeoffset - - - void glVertexAttribFormatNV - GLuint index - GLint size - GLenum type - GLboolean normalized - GLsizei stride - - - void glVertexAttribI1i - GLuint index - GLint x - - - - void glVertexAttribI1iEXT - GLuint index - GLint x - - - - - void glVertexAttribI1iv - GLuint index - const GLint *v - - - void glVertexAttribI1ivEXT - GLuint index - const GLint *v - - - - void glVertexAttribI1ui - GLuint index - GLuint x - - - - void glVertexAttribI1uiEXT - GLuint index - GLuint x - - - - - void glVertexAttribI1uiv - GLuint index - const GLuint *v - - - void glVertexAttribI1uivEXT - GLuint index - const GLuint *v - - - - void glVertexAttribI2i - GLuint index - GLint x - GLint y - - - - void glVertexAttribI2iEXT - GLuint index - GLint x - GLint y - - - - - void glVertexAttribI2iv - GLuint index - const GLint *v - - - void glVertexAttribI2ivEXT - GLuint index - const GLint *v - - - - void glVertexAttribI2ui - GLuint index - GLuint x - GLuint y - - - - void glVertexAttribI2uiEXT - GLuint index - GLuint x - GLuint y - - - - - void glVertexAttribI2uiv - GLuint index - const GLuint *v - - - void glVertexAttribI2uivEXT - GLuint index - const GLuint *v - - - - void glVertexAttribI3i - GLuint index - GLint x - GLint y - GLint z - - - - void glVertexAttribI3iEXT - GLuint index - GLint x - GLint y - GLint z - - - - - void glVertexAttribI3iv - GLuint index - const GLint *v - - - void glVertexAttribI3ivEXT - GLuint index - const GLint *v - - - - void glVertexAttribI3ui - GLuint index - GLuint x - GLuint y - GLuint z - - - - void glVertexAttribI3uiEXT - GLuint index - GLuint x - GLuint y - GLuint z - - - - - void glVertexAttribI3uiv - GLuint index - const GLuint *v - - - void glVertexAttribI3uivEXT - GLuint index - const GLuint *v - - - - void glVertexAttribI4bv - GLuint index - const GLbyte *v - - - void glVertexAttribI4bvEXT - GLuint index - const GLbyte *v - - - - void glVertexAttribI4i - GLuint index - GLint x - GLint y - GLint z - GLint w - - - - void glVertexAttribI4iEXT - GLuint index - GLint x - GLint y - GLint z - GLint w - - - - - void glVertexAttribI4iv - GLuint index - const GLint *v - - - void glVertexAttribI4ivEXT - GLuint index - const GLint *v - - - - void glVertexAttribI4sv - GLuint index - const GLshort *v - - - void glVertexAttribI4svEXT - GLuint index - const GLshort *v - - - - void glVertexAttribI4ubv - GLuint index - const GLubyte *v - - - void glVertexAttribI4ubvEXT - GLuint index - const GLubyte *v - - - - void glVertexAttribI4ui - GLuint index - GLuint x - GLuint y - GLuint z - GLuint w - - - - void glVertexAttribI4uiEXT - GLuint index - GLuint x - GLuint y - GLuint z - GLuint w - - - - - void glVertexAttribI4uiv - GLuint index - const GLuint *v - - - void glVertexAttribI4uivEXT - GLuint index - const GLuint *v - - - - void glVertexAttribI4usv - GLuint index - const GLushort *v - - - void glVertexAttribI4usvEXT - GLuint index - const GLushort *v - - - - void glVertexAttribIFormat - GLuint attribindex - GLint size - GLenum type - GLuint relativeoffset - - - void glVertexAttribIFormatNV - GLuint index - GLint size - GLenum type - GLsizei stride - - - void glVertexAttribIPointer - GLuint index - GLint size - GLenum type - GLsizei stride - const void *pointer - - - void glVertexAttribIPointerEXT - GLuint index - GLint size - GLenum type - GLsizei stride - const void *pointer - - - - void glVertexAttribL1d - GLuint index - GLdouble x - - - void glVertexAttribL1dEXT - GLuint index - GLdouble x - - - - void glVertexAttribL1dv - GLuint index - const GLdouble *v - - - void glVertexAttribL1dvEXT - GLuint index - const GLdouble *v - - - - void glVertexAttribL1i64NV - GLuint index - GLint64EXT x - - - void glVertexAttribL1i64vNV - GLuint index - const GLint64EXT *v - - - void glVertexAttribL1ui64ARB - GLuint index - GLuint64EXT x - - - void glVertexAttribL1ui64NV - GLuint index - GLuint64EXT x - - - void glVertexAttribL1ui64vARB - GLuint index - const GLuint64EXT *v - - - void glVertexAttribL1ui64vNV - GLuint index - const GLuint64EXT *v - - - void glVertexAttribL2d - GLuint index - GLdouble x - GLdouble y - - - void glVertexAttribL2dEXT - GLuint index - GLdouble x - GLdouble y - - - - void glVertexAttribL2dv - GLuint index - const GLdouble *v - - - void glVertexAttribL2dvEXT - GLuint index - const GLdouble *v - - - - void glVertexAttribL2i64NV - GLuint index - GLint64EXT x - GLint64EXT y - - - void glVertexAttribL2i64vNV - GLuint index - const GLint64EXT *v - - - void glVertexAttribL2ui64NV - GLuint index - GLuint64EXT x - GLuint64EXT y - - - void glVertexAttribL2ui64vNV - GLuint index - const GLuint64EXT *v - - - void glVertexAttribL3d - GLuint index - GLdouble x - GLdouble y - GLdouble z - - - void glVertexAttribL3dEXT - GLuint index - GLdouble x - GLdouble y - GLdouble z - - - - void glVertexAttribL3dv - GLuint index - const GLdouble *v - - - void glVertexAttribL3dvEXT - GLuint index - const GLdouble *v - - - - void glVertexAttribL3i64NV - GLuint index - GLint64EXT x - GLint64EXT y - GLint64EXT z - - - void glVertexAttribL3i64vNV - GLuint index - const GLint64EXT *v - - - void glVertexAttribL3ui64NV - GLuint index - GLuint64EXT x - GLuint64EXT y - GLuint64EXT z - - - void glVertexAttribL3ui64vNV - GLuint index - const GLuint64EXT *v - - - void glVertexAttribL4d - GLuint index - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - void glVertexAttribL4dEXT - GLuint index - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - - void glVertexAttribL4dv - GLuint index - const GLdouble *v - - - void glVertexAttribL4dvEXT - GLuint index - const GLdouble *v - - - - void glVertexAttribL4i64NV - GLuint index - GLint64EXT x - GLint64EXT y - GLint64EXT z - GLint64EXT w - - - void glVertexAttribL4i64vNV - GLuint index - const GLint64EXT *v - - - void glVertexAttribL4ui64NV - GLuint index - GLuint64EXT x - GLuint64EXT y - GLuint64EXT z - GLuint64EXT w - - - void glVertexAttribL4ui64vNV - GLuint index - const GLuint64EXT *v - - - void glVertexAttribLFormat - GLuint attribindex - GLint size - GLenum type - GLuint relativeoffset - - - void glVertexAttribLFormatNV - GLuint index - GLint size - GLenum type - GLsizei stride - - - void glVertexAttribLPointer - GLuint index - GLint size - GLenum type - GLsizei stride - const void *pointer - - - void glVertexAttribLPointerEXT - GLuint index - GLint size - GLenum type - GLsizei stride - const void *pointer - - - - void glVertexAttribP1ui - GLuint index - GLenum type - GLboolean normalized - GLuint value - - - void glVertexAttribP1uiv - GLuint index - GLenum type - GLboolean normalized - const GLuint *value - - - void glVertexAttribP2ui - GLuint index - GLenum type - GLboolean normalized - GLuint value - - - void glVertexAttribP2uiv - GLuint index - GLenum type - GLboolean normalized - const GLuint *value - - - void glVertexAttribP3ui - GLuint index - GLenum type - GLboolean normalized - GLuint value - - - void glVertexAttribP3uiv - GLuint index - GLenum type - GLboolean normalized - const GLuint *value - - - void glVertexAttribP4ui - GLuint index - GLenum type - GLboolean normalized - GLuint value - - - void glVertexAttribP4uiv - GLuint index - GLenum type - GLboolean normalized - const GLuint *value - - - void glVertexAttribParameteriAMD - GLuint index - GLenum pname - GLint param - - - void glVertexAttribPointer - GLuint index - GLint size - GLenum type - GLboolean normalized - GLsizei stride - const void *pointer - - - void glVertexAttribPointerARB - GLuint index - GLint size - GLenum type - GLboolean normalized - GLsizei stride - const void *pointer - - - - void glVertexAttribPointerNV - GLuint index - GLint fsize - GLenum type - GLsizei stride - const void *pointer - - - void glVertexAttribs1dvNV - GLuint index - GLsizei count - const GLdouble *v - - - - void glVertexAttribs1fvNV - GLuint index - GLsizei count - const GLfloat *v - - - - void glVertexAttribs1hvNV - GLuint index - GLsizei n - const GLhalfNV *v - - - - void glVertexAttribs1svNV - GLuint index - GLsizei count - const GLshort *v - - - - void glVertexAttribs2dvNV - GLuint index - GLsizei count - const GLdouble *v - - - - void glVertexAttribs2fvNV - GLuint index - GLsizei count - const GLfloat *v - - - - void glVertexAttribs2hvNV - GLuint index - GLsizei n - const GLhalfNV *v - - - - void glVertexAttribs2svNV - GLuint index - GLsizei count - const GLshort *v - - - - void glVertexAttribs3dvNV - GLuint index - GLsizei count - const GLdouble *v - - - - void glVertexAttribs3fvNV - GLuint index - GLsizei count - const GLfloat *v - - - - void glVertexAttribs3hvNV - GLuint index - GLsizei n - const GLhalfNV *v - - - - void glVertexAttribs3svNV - GLuint index - GLsizei count - const GLshort *v - - - - void glVertexAttribs4dvNV - GLuint index - GLsizei count - const GLdouble *v - - - - void glVertexAttribs4fvNV - GLuint index - GLsizei count - const GLfloat *v - - - - void glVertexAttribs4hvNV - GLuint index - GLsizei n - const GLhalfNV *v - - - - void glVertexAttribs4svNV - GLuint index - GLsizei count - const GLshort *v - - - - void glVertexAttribs4ubvNV - GLuint index - GLsizei count - const GLubyte *v - - - - void glVertexBindingDivisor - GLuint bindingindex - GLuint divisor - - - void glVertexBlendARB - GLint count - - - - void glVertexBlendEnvfATI - GLenum pname - GLfloat param - - - void glVertexBlendEnviATI - GLenum pname - GLint param - - - void glVertexFormatNV - GLint size - GLenum type - GLsizei stride - - - void glVertexP2ui - GLenum type - GLuint value - - - void glVertexP2uiv - GLenum type - const GLuint *value - - - void glVertexP3ui - GLenum type - GLuint value - - - void glVertexP3uiv - GLenum type - const GLuint *value - - - void glVertexP4ui - GLenum type - GLuint value - - - void glVertexP4uiv - GLenum type - const GLuint *value - - - void glVertexPointer - GLint size - GLenum type - GLsizei stride - const void *pointer - - - void glVertexPointerEXT - GLint size - GLenum type - GLsizei stride - GLsizei count - const void *pointer - - - void glVertexPointerListIBM - GLint size - GLenum type - GLint stride - const void **pointer - GLint ptrstride - - - void glVertexPointervINTEL - GLint size - GLenum type - const void **pointer - - - void glVertexStream1dATI - GLenum stream - GLdouble x - - - void glVertexStream1dvATI - GLenum stream - const GLdouble *coords - - - void glVertexStream1fATI - GLenum stream - GLfloat x - - - void glVertexStream1fvATI - GLenum stream - const GLfloat *coords - - - void glVertexStream1iATI - GLenum stream - GLint x - - - void glVertexStream1ivATI - GLenum stream - const GLint *coords - - - void glVertexStream1sATI - GLenum stream - GLshort x - - - void glVertexStream1svATI - GLenum stream - const GLshort *coords - - - void glVertexStream2dATI - GLenum stream - GLdouble x - GLdouble y - - - void glVertexStream2dvATI - GLenum stream - const GLdouble *coords - - - void glVertexStream2fATI - GLenum stream - GLfloat x - GLfloat y - - - void glVertexStream2fvATI - GLenum stream - const GLfloat *coords - - - void glVertexStream2iATI - GLenum stream - GLint x - GLint y - - - void glVertexStream2ivATI - GLenum stream - const GLint *coords - - - void glVertexStream2sATI - GLenum stream - GLshort x - GLshort y - - - void glVertexStream2svATI - GLenum stream - const GLshort *coords - - - void glVertexStream3dATI - GLenum stream - GLdouble x - GLdouble y - GLdouble z - - - void glVertexStream3dvATI - GLenum stream - const GLdouble *coords - - - void glVertexStream3fATI - GLenum stream - GLfloat x - GLfloat y - GLfloat z - - - void glVertexStream3fvATI - GLenum stream - const GLfloat *coords - - - void glVertexStream3iATI - GLenum stream - GLint x - GLint y - GLint z - - - void glVertexStream3ivATI - GLenum stream - const GLint *coords - - - void glVertexStream3sATI - GLenum stream - GLshort x - GLshort y - GLshort z - - - void glVertexStream3svATI - GLenum stream - const GLshort *coords - - - void glVertexStream4dATI - GLenum stream - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - void glVertexStream4dvATI - GLenum stream - const GLdouble *coords - - - void glVertexStream4fATI - GLenum stream - GLfloat x - GLfloat y - GLfloat z - GLfloat w - - - void glVertexStream4fvATI - GLenum stream - const GLfloat *coords - - - void glVertexStream4iATI - GLenum stream - GLint x - GLint y - GLint z - GLint w - - - void glVertexStream4ivATI - GLenum stream - const GLint *coords - - - void glVertexStream4sATI - GLenum stream - GLshort x - GLshort y - GLshort z - GLshort w - - - void glVertexStream4svATI - GLenum stream - const GLshort *coords - - - void glVertexWeightPointerEXT - GLint size - GLenum type - GLsizei stride - const void *pointer - - - void glVertexWeightfEXT - GLfloat weight - - - - void glVertexWeightfvEXT - const GLfloat *weight - - - - void glVertexWeighthNV - GLhalfNV weight - - - - void glVertexWeighthvNV - const GLhalfNV *weight - - - - GLenum glVideoCaptureNV - GLuint video_capture_slot - GLuint *sequence_num - GLuint64EXT *capture_time - - - void glVideoCaptureStreamParameterdvNV - GLuint video_capture_slot - GLuint stream - GLenum pname - const GLdouble *params - - - void glVideoCaptureStreamParameterfvNV - GLuint video_capture_slot - GLuint stream - GLenum pname - const GLfloat *params - - - void glVideoCaptureStreamParameterivNV - GLuint video_capture_slot - GLuint stream - GLenum pname - const GLint *params - - - void glViewport - GLint x - GLint y - GLsizei width - GLsizei height - - - - void glViewportArrayv - GLuint first - GLsizei count - const GLfloat *v - - - void glViewportArrayvNV - GLuint first - GLsizei count - const GLfloat *v - - - - void glViewportIndexedf - GLuint index - GLfloat x - GLfloat y - GLfloat w - GLfloat h - - - void glViewportIndexedfNV - GLuint index - GLfloat x - GLfloat y - GLfloat w - GLfloat h - - - - void glViewportIndexedfv - GLuint index - const GLfloat *v - - - void glViewportIndexedfvNV - GLuint index - const GLfloat *v - - - - void glWaitSync - GLsync sync - GLbitfield flags - GLuint64 timeout - - - void glWaitSyncAPPLE - GLsync sync - GLbitfield flags - GLuint64 timeout - - - - void glWeightPathsNV - GLuint resultPath - GLsizei numPaths - const GLuint *paths - const GLfloat *weights - - - void glWeightPointerARB - GLint size - GLenum type - GLsizei stride - const void *pointer - - - void glWeightPointerOES - GLint size - GLenum type - GLsizei stride - const void *pointer - - - void glWeightbvARB - GLint size - const GLbyte *weights - - - - void glWeightdvARB - GLint size - const GLdouble *weights - - - - void glWeightfvARB - GLint size - const GLfloat *weights - - - - void glWeightivARB - GLint size - const GLint *weights - - - - void glWeightsvARB - GLint size - const GLshort *weights - - - - void glWeightubvARB - GLint size - const GLubyte *weights - - - - void glWeightuivARB - GLint size - const GLuint *weights - - - - void glWeightusvARB - GLint size - const GLushort *weights - - - - void glWindowPos2d - GLdouble x - GLdouble y - - - - void glWindowPos2dARB - GLdouble x - GLdouble y - - - - - void glWindowPos2dMESA - GLdouble x - GLdouble y - - - - - void glWindowPos2dv - const GLdouble *v - - - - void glWindowPos2dvARB - const GLdouble *v - - - - - void glWindowPos2dvMESA - const GLdouble *v - - - - void glWindowPos2f - GLfloat x - GLfloat y - - - - void glWindowPos2fARB - GLfloat x - GLfloat y - - - - - void glWindowPos2fMESA - GLfloat x - GLfloat y - - - - - void glWindowPos2fv - const GLfloat *v - - - - void glWindowPos2fvARB - const GLfloat *v - - - - - void glWindowPos2fvMESA - const GLfloat *v - - - - void glWindowPos2i - GLint x - GLint y - - - - void glWindowPos2iARB - GLint x - GLint y - - - - - void glWindowPos2iMESA - GLint x - GLint y - - - - - void glWindowPos2iv - const GLint *v - - - - void glWindowPos2ivARB - const GLint *v - - - - - void glWindowPos2ivMESA - const GLint *v - - - - void glWindowPos2s - GLshort x - GLshort y - - - - void glWindowPos2sARB - GLshort x - GLshort y - - - - - void glWindowPos2sMESA - GLshort x - GLshort y - - - - - void glWindowPos2sv - const GLshort *v - - - - void glWindowPos2svARB - const GLshort *v - - - - - void glWindowPos2svMESA - const GLshort *v - - - - void glWindowPos3d - GLdouble x - GLdouble y - GLdouble z - - - - void glWindowPos3dARB - GLdouble x - GLdouble y - GLdouble z - - - - - void glWindowPos3dMESA - GLdouble x - GLdouble y - GLdouble z - - - - - void glWindowPos3dv - const GLdouble *v - - - - void glWindowPos3dvARB - const GLdouble *v - - - - - void glWindowPos3dvMESA - const GLdouble *v - - - - void glWindowPos3f - GLfloat x - GLfloat y - GLfloat z - - - - void glWindowPos3fARB - GLfloat x - GLfloat y - GLfloat z - - - - - void glWindowPos3fMESA - GLfloat x - GLfloat y - GLfloat z - - - - - void glWindowPos3fv - const GLfloat *v - - - - void glWindowPos3fvARB - const GLfloat *v - - - - - void glWindowPos3fvMESA - const GLfloat *v - - - - void glWindowPos3i - GLint x - GLint y - GLint z - - - - void glWindowPos3iARB - GLint x - GLint y - GLint z - - - - - void glWindowPos3iMESA - GLint x - GLint y - GLint z - - - - - void glWindowPos3iv - const GLint *v - - - - void glWindowPos3ivARB - const GLint *v - - - - - void glWindowPos3ivMESA - const GLint *v - - - - void glWindowPos3s - GLshort x - GLshort y - GLshort z - - - - void glWindowPos3sARB - GLshort x - GLshort y - GLshort z - - - - - void glWindowPos3sMESA - GLshort x - GLshort y - GLshort z - - - - - void glWindowPos3sv - const GLshort *v - - - - void glWindowPos3svARB - const GLshort *v - - - - - void glWindowPos3svMESA - const GLshort *v - - - - void glWindowPos4dMESA - GLdouble x - GLdouble y - GLdouble z - GLdouble w - - - - void glWindowPos4dvMESA - const GLdouble *v - - - void glWindowPos4fMESA - GLfloat x - GLfloat y - GLfloat z - GLfloat w - - - - void glWindowPos4fvMESA - const GLfloat *v - - - void glWindowPos4iMESA - GLint x - GLint y - GLint z - GLint w - - - - void glWindowPos4ivMESA - const GLint *v - - - void glWindowPos4sMESA - GLshort x - GLshort y - GLshort z - GLshort w - - - - void glWindowPos4svMESA - const GLshort *v - - - void glWriteMaskEXT - GLuint res - GLuint in - GLenum outX - GLenum outY - GLenum outZ - GLenum outW - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/khronos/repository/api/glx.xml b/khronos/repository/api/glx.xml deleted file mode 100644 index 025e9f9..0000000 --- a/khronos/repository/api/glx.xml +++ /dev/null @@ -1,2161 +0,0 @@ - - - - - - - - - = 199901L -#include -#elif defined(__sun__) || defined(__digital__) -#include -#if defined(__STDC__) -#if defined(__arch64__) || defined(_LP64) -typedef long int int64_t; -typedef unsigned long int uint64_t; -#else -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#endif /* __arch64__ */ -#endif /* __STDC__ */ -#elif defined( __VMS ) || defined(__sgi) -#include -#elif defined(__SCO__) || defined(__USLC__) -#include -#elif defined(__UNIXOS2__) || defined(__SOL64__) -typedef long int int32_t; -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#elif defined(_WIN32) && defined(__GNUC__) -#include -#elif defined(_WIN32) -typedef __int32 int32_t; -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -#else -/* Fallback if nothing above works */ -#include -#endif -#endif]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - typedef XID GLXFBConfigID; - typedef struct __GLXFBConfigRec *GLXFBConfig; - typedef XID GLXContextID; - typedef struct __GLXcontextRec *GLXContext; - typedef XID GLXPixmap; - typedef XID GLXDrawable; - typedef XID GLXWindow; - typedef XID GLXPbuffer; - typedef void ( *__GLXextFuncPtr)(void); - typedef XID GLXVideoCaptureDeviceNV; - typedef unsigned int GLXVideoDeviceNV; - typedef XID GLXVideoSourceSGIX; - typedef XID GLXFBConfigIDSGIX; - typedef struct __GLXFBConfigRec *GLXFBConfigSGIX; - typedef XID GLXPbufferSGIX; - - typedef struct { - int event_type; /* GLX_DAMAGED or GLX_SAVED */ - int draw_type; /* GLX_WINDOW or GLX_PBUFFER */ - unsigned long serial; /* # of last request processed by server */ - Bool send_event; /* true if this came for SendEvent request */ - Display *display; /* display the event was read from */ - GLXDrawable drawable; /* XID of Drawable */ - unsigned int buffer_mask; /* mask indicating which buffers are affected */ - unsigned int aux_buffer; /* which aux buffer was affected */ - int x, y; - int width, height; - int count; /* if nonzero, at least this many more */ -} GLXPbufferClobberEvent; - - typedef struct { - int type; - unsigned long serial; /* # of last request processed by server */ - Bool send_event; /* true if this came from a SendEvent request */ - Display *display; /* Display the event was read from */ - GLXDrawable drawable; /* drawable on which event was requested in event mask */ - int event_type; - int64_t ust; - int64_t msc; - int64_t sbc; -} GLXBufferSwapComplete; - - typedef union __GLXEvent { - GLXPbufferClobberEvent glxpbufferclobber; - GLXBufferSwapComplete glxbufferswapcomplete; - long pad[24]; -} GLXEvent; - - typedef struct { - int type; - unsigned long serial; - Bool send_event; - Display *display; - int extension; - int evtype; - GLXDrawable window; - Bool stereo_tree; -} GLXStereoNotifyEventEXT; - - typedef struct { - int type; - unsigned long serial; /* # of last request processed by server */ - Bool send_event; /* true if this came for SendEvent request */ - Display *display; /* display the event was read from */ - GLXDrawable drawable; /* i.d. of Drawable */ - int event_type; /* GLX_DAMAGED_SGIX or GLX_SAVED_SGIX */ - int draw_type; /* GLX_WINDOW_SGIX or GLX_PBUFFER_SGIX */ - unsigned int mask; /* mask indicating which buffers are affected*/ - int x, y; - int width, height; - int count; /* if nonzero, at least this many more */ -} GLXBufferClobberEventSGIX; - - typedef struct { - char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */ - int networkId; -} GLXHyperpipeNetworkSGIX; - - typedef struct { - char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */ - int channel; - unsigned int participationType; - int timeSlice; -} GLXHyperpipeConfigSGIX; - - typedef struct { - char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */ - int srcXOrigin, srcYOrigin, srcWidth, srcHeight; - int destXOrigin, destYOrigin, destWidth, destHeight; -} GLXPipeRect; - - typedef struct { - char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */ - int XOrigin, YOrigin, maxHeight, maxWidth; -} GLXPipeRectLimits; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Bool glXAssociateDMPbufferSGIX - Display *dpy - GLXPbufferSGIX pbuffer - DMparams *params - DMbuffer dmbuffer - - - int glXBindChannelToWindowSGIX - Display *display - int screen - int channel - Window window - - - int glXBindHyperpipeSGIX - Display *dpy - int hpId - - - Bool glXBindSwapBarrierNV - Display *dpy - GLuint group - GLuint barrier - - - void glXBindSwapBarrierSGIX - Display *dpy - GLXDrawable drawable - int barrier - - - void glXBindTexImageEXT - Display *dpy - GLXDrawable drawable - int buffer - const int *attrib_list - - - int glXBindVideoCaptureDeviceNV - Display *dpy - unsigned int video_capture_slot - GLXVideoCaptureDeviceNV device - - - int glXBindVideoDeviceNV - Display *dpy - unsigned int video_slot - unsigned int video_device - const int *attrib_list - - - int glXBindVideoImageNV - Display *dpy - GLXVideoDeviceNV VideoDevice - GLXPbuffer pbuf - int iVideoBuffer - - - void glXBlitContextFramebufferAMD - GLXContext dstCtx - GLint srcX0 - GLint srcY0 - GLint srcX1 - GLint srcY1 - GLint dstX0 - GLint dstY0 - GLint dstX1 - GLint dstY1 - GLbitfield mask - GLenum filter - - - int glXChannelRectSGIX - Display *display - int screen - int channel - int x - int y - int w - int h - - - int glXChannelRectSyncSGIX - Display *display - int screen - int channel - GLenum synctype - - - GLXFBConfig *glXChooseFBConfig - Display *dpy - int screen - const int *attrib_list - int *nelements - - - GLXFBConfigSGIX *glXChooseFBConfigSGIX - Display *dpy - int screen - int *attrib_list - int *nelements - - - XVisualInfo *glXChooseVisual - Display *dpy - int screen - int *attribList - - - void glXCopyBufferSubDataNV - Display *dpy - GLXContext readCtx - GLXContext writeCtx - GLenum readTarget - GLenum writeTarget - GLintptr readOffset - GLintptr writeOffset - GLsizeiptr size - - - void glXNamedCopyBufferSubDataNV - Display *dpy - GLXContext readCtx - GLXContext writeCtx - GLuint readBuffer - GLuint writeBuffer - GLintptr readOffset - GLintptr writeOffset - GLsizeiptr size - - - void glXCopyContext - Display *dpy - GLXContext src - GLXContext dst - unsigned long mask - - - void glXCopyImageSubDataNV - Display *dpy - GLXContext srcCtx - GLuint srcName - GLenum srcTarget - GLint srcLevel - GLint srcX - GLint srcY - GLint srcZ - GLXContext dstCtx - GLuint dstName - GLenum dstTarget - GLint dstLevel - GLint dstX - GLint dstY - GLint dstZ - GLsizei width - GLsizei height - GLsizei depth - - - void glXCopySubBufferMESA - Display *dpy - GLXDrawable drawable - int x - int y - int width - int height - - - GLXContext glXCreateAssociatedContextAMD - unsigned int id - GLXContext share_list - - - GLXContext glXCreateAssociatedContextAttribsAMD - unsigned int id - GLXContext share_context - const int *attribList - - - GLXContext glXCreateContextAttribsARB - Display *dpy - GLXFBConfig config - GLXContext share_context - Bool direct - const int *attrib_list - - - GLXContext glXCreateContext - Display *dpy - XVisualInfo *vis - GLXContext shareList - Bool direct - - - GLXContext glXCreateContextWithConfigSGIX - Display *dpy - GLXFBConfigSGIX config - int render_type - GLXContext share_list - Bool direct - - - GLXPbufferSGIX glXCreateGLXPbufferSGIX - Display *dpy - GLXFBConfigSGIX config - unsigned int width - unsigned int height - int *attrib_list - - - GLXPixmap glXCreateGLXPixmap - Display *dpy - XVisualInfo *visual - Pixmap pixmap - - - GLXPixmap glXCreateGLXPixmapMESA - Display *dpy - XVisualInfo *visual - Pixmap pixmap - Colormap cmap - - - GLXPixmap glXCreateGLXPixmapWithConfigSGIX - Display *dpy - GLXFBConfigSGIX config - Pixmap pixmap - - - GLXVideoSourceSGIX glXCreateGLXVideoSourceSGIX - Display *display - int screen - VLServer server - VLPath path - int nodeClass - VLNode drainNode - - - GLXContext glXCreateNewContext - Display *dpy - GLXFBConfig config - int render_type - GLXContext share_list - Bool direct - - - GLXPbuffer glXCreatePbuffer - Display *dpy - GLXFBConfig config - const int *attrib_list - - - GLXPixmap glXCreatePixmap - Display *dpy - GLXFBConfig config - Pixmap pixmap - const int *attrib_list - - - GLXWindow glXCreateWindow - Display *dpy - GLXFBConfig config - Window win - const int *attrib_list - - - void glXCushionSGI - Display *dpy - Window window - float cushion - - - Bool glXDelayBeforeSwapNV - Display *dpy - GLXDrawable drawable - GLfloat seconds - - - Bool glXDeleteAssociatedContextAMD - GLXContext ctx - - - void glXDestroyContext - Display *dpy - GLXContext ctx - - - void glXDestroyGLXPbufferSGIX - Display *dpy - GLXPbufferSGIX pbuf - - - void glXDestroyGLXPixmap - Display *dpy - GLXPixmap pixmap - - - void glXDestroyGLXVideoSourceSGIX - Display *dpy - GLXVideoSourceSGIX glxvideosource - - - int glXDestroyHyperpipeConfigSGIX - Display *dpy - int hpId - - - void glXDestroyPbuffer - Display *dpy - GLXPbuffer pbuf - - - void glXDestroyPixmap - Display *dpy - GLXPixmap pixmap - - - void glXDestroyWindow - Display *dpy - GLXWindow win - - - GLXVideoCaptureDeviceNV *glXEnumerateVideoCaptureDevicesNV - Display *dpy - int screen - int *nelements - - - unsigned int *glXEnumerateVideoDevicesNV - Display *dpy - int screen - int *nelements - - - void glXFreeContextEXT - Display *dpy - GLXContext context - - - unsigned int glXGetAGPOffsetMESA - const void *pointer - - - const char *glXGetClientString - Display *dpy - int name - - - int glXGetConfig - Display *dpy - XVisualInfo *visual - int attrib - int *value - - - unsigned int glXGetContextGPUIDAMD - GLXContext ctx - - - GLXContextID glXGetContextIDEXT - const GLXContext context - - - GLXContext glXGetCurrentAssociatedContextAMD - - - GLXContext glXGetCurrentContext - - - Display *glXGetCurrentDisplayEXT - - - Display *glXGetCurrentDisplay - - - GLXDrawable glXGetCurrentDrawable - - - GLXDrawable glXGetCurrentReadDrawableSGI - - - GLXDrawable glXGetCurrentReadDrawable - - - int glXGetFBConfigAttrib - Display *dpy - GLXFBConfig config - int attribute - int *value - - - int glXGetFBConfigAttribSGIX - Display *dpy - GLXFBConfigSGIX config - int attribute - int *value - - - GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX - Display *dpy - XVisualInfo *vis - - - GLXFBConfig *glXGetFBConfigs - Display *dpy - int screen - int *nelements - - - unsigned int glXGetGPUIDsAMD - unsigned int maxCount - unsigned int *ids - - - int glXGetGPUInfoAMD - unsigned int id - int property - GLenum dataType - unsigned int size - void *data - - - Bool glXGetMscRateOML - Display *dpy - GLXDrawable drawable - int32_t *numerator - int32_t *denominator - - - __GLXextFuncPtr glXGetProcAddressARB - const GLubyte *procName - - - __GLXextFuncPtr glXGetProcAddress - const GLubyte *procName - - - void glXGetSelectedEvent - Display *dpy - GLXDrawable draw - unsigned long *event_mask - - - void glXGetSelectedEventSGIX - Display *dpy - GLXDrawable drawable - unsigned long *mask - - - Bool glXGetSyncValuesOML - Display *dpy - GLXDrawable drawable - int64_t *ust - int64_t *msc - int64_t *sbc - - - Status glXGetTransparentIndexSUN - Display *dpy - Window overlay - Window underlay - long *pTransparentIndex - - - int glXGetVideoDeviceNV - Display *dpy - int screen - int numVideoDevices - GLXVideoDeviceNV *pVideoDevice - - - int glXGetVideoInfoNV - Display *dpy - int screen - GLXVideoDeviceNV VideoDevice - unsigned long *pulCounterOutputPbuffer - unsigned long *pulCounterOutputVideo - - - int glXGetVideoSyncSGI - unsigned int *count - - - XVisualInfo *glXGetVisualFromFBConfig - Display *dpy - GLXFBConfig config - - - XVisualInfo *glXGetVisualFromFBConfigSGIX - Display *dpy - GLXFBConfigSGIX config - - - int glXHyperpipeAttribSGIX - Display *dpy - int timeSlice - int attrib - int size - void *attribList - - - int glXHyperpipeConfigSGIX - Display *dpy - int networkId - int npipes - GLXHyperpipeConfigSGIX *cfg - int *hpId - - - GLXContext glXImportContextEXT - Display *dpy - GLXContextID contextID - - - Bool glXIsDirect - Display *dpy - GLXContext ctx - - - Bool glXJoinSwapGroupNV - Display *dpy - GLXDrawable drawable - GLuint group - - - void glXJoinSwapGroupSGIX - Display *dpy - GLXDrawable drawable - GLXDrawable member - - - void glXLockVideoCaptureDeviceNV - Display *dpy - GLXVideoCaptureDeviceNV device - - - Bool glXMakeAssociatedContextCurrentAMD - GLXContext ctx - - - Bool glXMakeContextCurrent - Display *dpy - GLXDrawable draw - GLXDrawable read - GLXContext ctx - - - Bool glXMakeCurrent - Display *dpy - GLXDrawable drawable - GLXContext ctx - - - Bool glXMakeCurrentReadSGI - Display *dpy - GLXDrawable draw - GLXDrawable read - GLXContext ctx - - - int glXQueryChannelDeltasSGIX - Display *display - int screen - int channel - int *x - int *y - int *w - int *h - - - int glXQueryChannelRectSGIX - Display *display - int screen - int channel - int *dx - int *dy - int *dw - int *dh - - - int glXQueryContext - Display *dpy - GLXContext ctx - int attribute - int *value - - - int glXQueryContextInfoEXT - Display *dpy - GLXContext context - int attribute - int *value - - - Bool glXQueryCurrentRendererIntegerMESA - int attribute - unsigned int *value - - - const char *glXQueryCurrentRendererStringMESA - int attribute - - - void glXQueryDrawable - Display *dpy - GLXDrawable draw - int attribute - unsigned int *value - - - Bool glXQueryExtension - Display *dpy - int *errorb - int *event - - - const char *glXQueryExtensionsString - Display *dpy - int screen - - - Bool glXQueryFrameCountNV - Display *dpy - int screen - GLuint *count - - - int glXQueryGLXPbufferSGIX - Display *dpy - GLXPbufferSGIX pbuf - int attribute - unsigned int *value - - - int glXQueryHyperpipeAttribSGIX - Display *dpy - int timeSlice - int attrib - int size - void *returnAttribList - - - int glXQueryHyperpipeBestAttribSGIX - Display *dpy - int timeSlice - int attrib - int size - void *attribList - void *returnAttribList - - - GLXHyperpipeConfigSGIX *glXQueryHyperpipeConfigSGIX - Display *dpy - int hpId - int *npipes - - - GLXHyperpipeNetworkSGIX *glXQueryHyperpipeNetworkSGIX - Display *dpy - int *npipes - - - Bool glXQueryMaxSwapBarriersSGIX - Display *dpy - int screen - int *max - - - Bool glXQueryMaxSwapGroupsNV - Display *dpy - int screen - GLuint *maxGroups - GLuint *maxBarriers - - - Bool glXQueryRendererIntegerMESA - Display *dpy - int screen - int renderer - int attribute - unsigned int *value - - - const char *glXQueryRendererStringMESA - Display *dpy - int screen - int renderer - int attribute - - - const char *glXQueryServerString - Display *dpy - int screen - int name - - - Bool glXQuerySwapGroupNV - Display *dpy - GLXDrawable drawable - GLuint *group - GLuint *barrier - - - Bool glXQueryVersion - Display *dpy - int *maj - int *min - - - int glXQueryVideoCaptureDeviceNV - Display *dpy - GLXVideoCaptureDeviceNV device - int attribute - int *value - - - Bool glXReleaseBuffersMESA - Display *dpy - GLXDrawable drawable - - - void glXReleaseTexImageEXT - Display *dpy - GLXDrawable drawable - int buffer - - - void glXReleaseVideoCaptureDeviceNV - Display *dpy - GLXVideoCaptureDeviceNV device - - - int glXReleaseVideoDeviceNV - Display *dpy - int screen - GLXVideoDeviceNV VideoDevice - - - int glXReleaseVideoImageNV - Display *dpy - GLXPbuffer pbuf - - - Bool glXResetFrameCountNV - Display *dpy - int screen - - - void glXSelectEvent - Display *dpy - GLXDrawable draw - unsigned long event_mask - - - void glXSelectEventSGIX - Display *dpy - GLXDrawable drawable - unsigned long mask - - - int glXSendPbufferToVideoNV - Display *dpy - GLXPbuffer pbuf - int iBufferType - unsigned long *pulCounterPbuffer - GLboolean bBlock - - - Bool glXSet3DfxModeMESA - int mode - - - void glXSwapBuffers - Display *dpy - GLXDrawable drawable - - - int64_t glXSwapBuffersMscOML - Display *dpy - GLXDrawable drawable - int64_t target_msc - int64_t divisor - int64_t remainder - - - void glXSwapIntervalEXT - Display *dpy - GLXDrawable drawable - int interval - - - int glXSwapIntervalSGI - int interval - - - void glXUseXFont - Font font - int first - int count - int list - - - Bool glXWaitForMscOML - Display *dpy - GLXDrawable drawable - int64_t target_msc - int64_t divisor - int64_t remainder - int64_t *ust - int64_t *msc - int64_t *sbc - - - Bool glXWaitForSbcOML - Display *dpy - GLXDrawable drawable - int64_t target_sbc - int64_t *ust - int64_t *msc - int64_t *sbc - - - void glXWaitGL - - - int glXWaitVideoSyncSGI - int divisor - int remainder - unsigned int *count - - - void glXWaitX - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/khronos/repository/api/readme.pdf b/khronos/repository/api/readme.pdf deleted file mode 100644 index 7debab58baa670f485bf7101d93e9485a72183d3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 130102 zcma&OW2`VsyEeFgariCP;tn+Tg2*%_Na^72ADIXjvd*g(2( zrliW*ZHdB<+$+iIvNmbqFN>ZN)*hr-C;>eEi@W0 z`h(M^arNcAn&Q`zieO-f#8#Jy?qFk$2%0O>n8 z8EX^A8mFKXuOvhhWF1TZ){VPQBHIQqLf4c|KTR`opwvfak64PqN~jkX8nbvnFp5V* zwP$a6 zT-SxD_JBIAD<6j)#f2OD+b zM`4*9ZD4{p4%cRe9AgNKp2Q%j0JX3>$afVLITw70b_d#`k5}b?hmQJQ2mKi4iwki6 zBh9AcR1`ScACraE*;{tib!jECc6U)oae7lpS@)M@XLpvC*@t?oQ`5R@W2$M&qb>Ww z=h^OE`6NoEqxhvEpKio)rTIDTslXJ?^1Rku3!=;JsgnkkjIed@Gd~$0^siO|T_om% ziNe`q=IzDGxg-yt&LO5JA>e{@G-B|hql^Np+#piViRp@nSod0jsx}g_r)vF zh3}7g^^=-Xy#z97An?{t>jw~@jL@JhdN|E-wgt=@ry8} z=k^j|UKK+4NX+fU12|Uc(DV@c=RdXroe*`j>jWd@T3H}9SoxDVPQJ4^nWYHrQV@1!LEyrXjx&S-`*=Sf0tTB0y-pg5R#A{N|38rdi&iJV=SmiO-;y&t0f5k&`mK^h7Fc z>#oSp5p#Smh>DsWODinlnHxJR&M-^XomZ|2XLVXqz4J!2-x`c@mfdjJdDqS-XYnx{$c>y}t;S5|U>cJ;-%3p3fpLEyKg%b?k z$1ej{R*wN^VMO7G{e^2%!c2S`apDMm=_T`25xm0SohNw(R& zp1&~`yo7|h)s{*-F}`^{kE1mL0yPdL2r}x-rH~Xd-8X6`2V{CD@7@+>B1WX}r@*5O z!Y+qnIwdU+KyF*qEFPzNY44=ppt{I$ON387Tb0;e-QYsn{XjsA1f_gx8P8HBu~&{pX>d zb)XX=M1XSG-v}%`{z#*b(Lo($r*7EZ zrW@ycI9G~{TX}k*`qU?jt50((a8$_?gg>fU)PE>hJay2lnqtDE~ft$}EO@9623%u%FiXnln}|}e9%EL_2a8oknEEREg;qLmvGcJ z5H=w3f_O$|C1n;sZ=z)ru4-^H+Rx`Gv{z@GxhU$!m;{9F)yAGGJX$hIz&8Hl3X)RB zkK|>j8V-+npA3^5v%0A?4)g|HDgLY46{#w)Hnr`F^*I|Kf!Pzpb)C% z)s{SACVuCXZ*my?(q9B_1Tdg`-3i|0e?OvkVcIpT<^QeY0&W%pjDu?M3ciCzkjzFa z2e;uh5=$b!A@hFko)B#4rf|(_-$FH5ak#jb;I5Hh zkRtABvBPCVA47h(KQpd3;#%1a$4*>_zeWnMjcP$@~^1x_k`JW|~bnof_-Z ztGk9F_1yq@<_G$6CHB@=$2?=TM5P*>3n| z$tA0sIE2?iqF=NlAs1>UIz@aa_x%SQ`P(3$Zp}R2g`kBh^g<0UV*^U zcQH3+G1IoIq6)LWQa#&L&$%*ismb3BUFl#|J%d$!z4z(${zMJa(vfPmZ!!<6hIMCH z8Mu`F%t{!pzl4#wCAFv!#JRQw{Cbb{h z?i$#!dm_j@j>wjPKNtbytQJwJ;ziZ~Leu@=*9%Y$ET2vX`?JFAs7AKXTZo+bXQ6r% z*BQ-(D;M(@O)xoAqo^lD0oln%lP2xyn4=vi-$l~VYyZ2&y}JQyJ`loYa~xjU6#mS( zoWvc1=wosos)*5yCc3(|GnW^iUS&TW(4wR8u^6{>dE5@rM8;*3kt(E&Q$u0L zqQYVfnG?_YD6lM}o>tqUnL4UTvS@SM(asFvI3#)XeBKvXOgh31{0MahQ|W9&Tl&z$PGb5La930ZOxK?X zjaFnPRKpjx-lwbXirofikulYnM0uDRr6hwJ5JIL!yGs>@wXi*3T6bPq;MgON&KbY) zdbJN7hj$}DXS?p*?%G5qExW)oF7VI0eG)uI-p$DMdsX3uzVCFa8u6E&51Pu$tqA3y z_8nQ_)=OdKSJ`5c`2kl#%3`Diu-wMHy_N#b49YS)2umNO5r&{uE~Wk*j6FBW_37zB zHYN)e#k;JG2Veiu8)>0Mcp6!hWT(lvs#9z7bd=30jBB6kGcd)B7S!>$9|Ix%$bE(# z0yFK;71|f}4XYSCe!(I70*hH_l)9BiL9de$0f#aZQ|* zlSKv{s?+BY6!iqF#dmeXtw{?Lo+gP zu>PmO*`lfAgv5dB^IA7g)Ll-pQ&m@ktn!DHS_N8&YE;1%sY$TY&7+K6aillplz2Pz1WxQ&>mkh-iXBq}${aTqgmxB}q z$=pGH!cZrcQlWoSv?SckPQ`WqLc@gaNLRzi7{6d?cKX~{8U~gSVMZI@8PIpoNJJlO zbamnwyg_GJJa`*;gq?f{QJuZMjhIjvzbR#c-xS^rVjP>m2e2`WPzSJ)Y@Zn4OF?;1 zjdwy$gE=CBS`y92l*)4?tKPZLWPvT-z++mdJ+}feC~ui&KVKftR%?*h&%zG z4*`|f2*ra8C!LJnHc*Cqf-e-sq!a@KPD%g}(9V^$kcjnZQ6duK3Z8m6pm^xKA2-+o zJEuKbglv*CJ-d6~_@v+nW5AC)fKCAMoS(DaH+<1yl8g#Rk#{H@zcz4UF+eOl3x2+# z)VUB6w-`JzxZeU)PKiJ;0k{nkLl2%eoKzevcIksL!5#jMUn9W)Bd~77-vwOR5W0|< z-D}rEie$)D^uEtn1PdB02_&LM5}F4}6|z3fT`2O;@P0o96vGQ8R_cU+36<4=T+_HP z`V6+at7Bm$luD0!pH9_fhi7w5UFL{qNsV81E_VhG;Jut)rf17YzGtVl-gkpaA0KDM ztI-x&Wrp7G&)dVRxZ52Uz0IrrX5~`p2KDY9%d=_?U!`3`tC0LHz{zscGbA2cQNRm% zfj+Ry$EgX~fzO6$1S)J{2vK270yQ=<6r3b0Y#1y%@Wv@y+mxpMY1N&xv#>~mzp#t$ z@0o2w1s}jZkgo0OugEXSxef1Z-KDBo)=o0n4RZHHHqIKs_ejvs;p>MNx-0lH4u7A* z$uCI9m=p+21=@4v?sVGayP=m$8;S_7St9IVK^bl4`{#(`f;S4~Oqu5Q#}n1FckIG@ zt1X6(woj$qsZjc@|HZNfkKHY6%ZJ6YMQ>-Nou)*V3zVO(9$o9q=@mRK&b@fgx2IOs z(u(EIbe5~sb#?D{kB{ayWc%*!s@kP>Lp5Igu+LjAqWE&XxsGD%u5HT+;A5PSBM)(z z?%vLF)<{Y^y5lTbybrRZoPPM%VamtJci%&oCr=;7M35JFwXXH5TbtIi=T7dOXRX#HGZ!TMPNtO+{YGAsK!mbeZuhSZ2Xha@N?zdr%=EtURb3~Kj|UygvoHdWiOjZ)L=N#+ z9bQRu^2W`@bL3PKOs*slQz?4ued7>aK*MS)Su-D(g`vFi<=lKqD_b8@Pd1xBHXuh& zZYa@lehq;MP-Crz^(BY)pRLNcwg2m)O=;a%94HDD1BrvgMd7A&SH3UbSNLaP3?vQ; z7mb_NUHiU$-(leBzZY`p+_sPbG+?ygDy-4-Q@~~EV+XVX$NeB- zTs+AbXoMbsnCxphm)xsI`eNSLiW0elD&EF42WR~x38L;8|GfCBxBcd?j+1_nBjh9c zGz#sIn3rW8Uia)<-~8Ix{3pObITexX^8@GKK`!7*?K=0+iW|G5Aa&ru8P)l08wnWiWVs zISqf0JjQ2guRyd|MY9H&#ut%639T{KpxTq=B|-QCr-4BUm6evE+L043GPwh%kyRhd zS3O7AK#aS^Y!_~yGKN*9GrdUIFJY1MJgAE(phZ=QW}jb z9QQZ)S;T3tLx=TCXpa&^g$H=Po`{E!*=G!D#7ht_<-o);+*Ebl)2v1c=uAr!ZJYF)Rd;5}z-(}+@{=q-h zT%)Q-rnvFe*M|X1vZd*gg}Om}9wiYg4*Q;E$EkjeI&k<%Xn(_JON+}FwNCiNgb+D0 z<2u0pij+Vroc%@+hsKsQq7_FnrGgE-YxUgMd!9=DylmP5dDNfOa@DP>(qtU)it86z zH)mDUSu>qd`p|_Bo7%Vi1?3*8lq>i~jbu+ab+a|wsIb>jQ8pG8f>*jhkJK?|o%Z42 z-KeqBowrAI&tWtqOyq_+J7#|fq8KF7rX_#&d@^!)LkSIZ%3weS4Z!O=+LT12WeixZAtpxy(X3V#WjQ#hd)*LVQBZGiGKhhGRp+hJ#1CyuY?YpD5gB04;gEU z@E+Pt_+m6h&>ifNGrgQ%8)Y7YA?^n^h8Yi)r1Np$!yKs6hnFow%(t;~)L}SkrYs;; zT~s9vShFrq*(~sIBS2DvuAcWF5f1=$(`GOkhzIutwMr_-P7YxhdISx1DMXF0mhGQ{ zhW+4?lBZ0%wZ6)2`QMOgd6Y)t56*!%r*vbyIEiEWi_Bh^*<+C-{&(FTsK9z$#qD3g zUML7UZ)wJdR}o@TVO>G>i}OPuc87GImCc6?07T$FR@3223S$~BG>6*E9iEHA`U^u=3A6wt;s|a;f<{0G{sqdxaR!areqx&k z3#k>;rL$3zk|cRps-bx}5kV?DdNV_etYc|vs2;&3G$!cV!$^1c6?9K>8v_>Z$eTfiRvUi)oVyDoF6nI)*d?Rk(Ks;A+BT8espP=L$BiYJ z6Sc*s-;B{b8z__Q66J#J1sg$==7l?*ENyR*D}PH+4wm=QM(kb^uCO=uE_GFyg5KTXNAwh=jFeX}t55^uhg+3w%9ts@p$X^u#y?mPykrI>)!XYA!Zyd@ zY|DC_qt;?-xD6a`T*>+tHNm__UG2r004BHpzAOMJg3b5pkX1##J@r!&F#mNdn{NZ& z?xAm2hkO#y%p{E^1HNpvqAcvSRvAfM=#k`BCL(V zR`fr z1MsEuH7D}6M9I~@iNB$&h#F|gp-jXPRN;BUj|QE+`3qjI;w^?D5(tO724@8XA6Xqr zx}l)TUN36CwaKf5CtlzWr~s4oxMBGZqfoUX6%5JgQ=jx+Czp5GqygXbIK@ZUnJQC|xhMgw8T zh7#4ln($f=oNqhKCK*m0%QI}qgHQ{V7GBJ$*-vA6y#0rG3vqjuY|E`Wh!-4GJB)Y3 zDvJl)VYQFFk=!K{LU)~nwuD3rw;^nyn)258;{`E0+7!>tU&$kV7L$^@!Y!mQ=I6=p zadI-?{Xl0(R@w`e9~;nn zSspBkkgc5%J51gTY4LG$_H^`W3idc2J$@1F@$qt}%dU1}!&<+xwMnid0jDZ|aBotl zk9*S^YUPkNJh6UR&%&{x{enUCoM-%tB4B6!7e&Cr{vWs6depVtwpgKk@9O5YPL|S1 zUDWnksb^>}HkXRab~Il3H=3(OPvJ>&6d!j;K+wi1IqZKcI3CW^Awn|gI6BIMI=LAQFpGK9>sc2NDZ-_{pG;C+rww4zi!c5Txrt z#!#siYiu+-(k3H9Y4eR5kh}>tk3WPg=A%OLQEPSZ#?MDWMER7Ze>WeP%+c+P#%6uo zu@-Xh5H;r1Pt(N^h`Nl5<8rB4ixdcZnFM2^MDJ)Hy*&(NypQegY$Xhc_ej;1{qVQ# zeS|Hf(_{LlkxvYPw`p4Rc<^M|v~5X9`Vb1VHMVvt^kr+Hk zIU)}0N59|1M3nmhrxI7xm0%G0(V(q7f?9B&6947v;~7c;S?k`H+?Q?z^DZ$Lo^t7{ zJ+*0BfFzUBhVg;8jx|_n!Kw)6Y_!b-Bz+>^bo+_9*2TQK!sOWn4}yjgj4)aupZT1_ z4tuJlN9ANvF_GP=p1YD{zP)xo0;ZW~Ks^L|+YL+9P|#U`lpuWZg!9N;vg1vBR0cVG5)=Qgt~tcBTC4|IqxZeTKkf*1l1 zqu4m#ZD~#Ep8@5Pe~U|(&t4dzN0Ts62s#Jnc9l6=X+xTlH0!`#m3iw)eS7BE0~#-F zCI1I{wm&5%BE70IWd_p$I4Yb7U)38?z6`mxyKjLCiYH$P$=u_z9t7(7xwCglRXJv& zY0?31@T!vji^!7mD=Oq&YBKr;ebJJn%QN6_U(TX93acto9$L#f%=hx!h`L#Hd>W`W zpd2cFeNyXUJh1|-?b>T2D{GslcUYK$@2{U z0&la!YY!RQ<|ThshT|2PLy}kao~m(Nw6dTta9&B{4MC^OsiD|3j%vvQim|3Pw1!#H zBWWFkQ0S~Vr~yt53YM&kZ$wEU*mX=^+tVr~6_1h?;>YMjc+ye`^6$;<(vkwD z1`z^F^JmkJ@Y;`~4|OHK-G~(>79lPjY7k6`crGT)YDkM-7~HRew5$<2WKXQtE6akJTH z`!e>x{8e4YUVovS0N7r;n@u=)O7P0Hw?pEZLk6?a`!xjI+ZpX98}`#N*;6Zh?K8jM zY>hQ&U+bsTPLRU>Or4)+9fo%JI1?lONC%e5R|1RZ-%g?WYDZzeZ7rISS_16QX_41t zPw-TE=5nh+WND;gTs7}SFjTmIKe25b09`6A`02lzX{?&iCH$+Nm;^7l-c4hi;k6O| z;x0?8`vn&cKwkH6B*gwNB*gJgEAzj{|Ns8A5_PS*e{8AmT;2WFB>!}HaqY+ephZIV zjtHHAlRvQe2ftKvO$~KL;&xI~pRXCakcMM2skxr8BRh6%sMGtnz0-DZ)~6Xk+a52s z*8^uF7KI4znB|lGx_FI9rg0XrY{=rnX~FgvqB%hu7e=VTJ)M>0mYo|VY>?O1`fjw! z*8H2zg4&Mw_s+{&*suS!F#*?vNTO+dOOj{v%tQp1@T>3_=iV`)oO0kb*IZvx20+So zp&J?0mPO8?W1ElDumftgI!pE^d}w7Wkc>9ysYK9&G1*8h)`W0`c2(U9RT7~z&(pr| z2S<3^Q$KU_(G=Tn={KfR>oSu}L?J5|iU?qHP@ZEb0fo+9;$%N{iXJG>l2ch*pI+r| zYJ1WoAQQX?dy5tdSR4!tmF)wc&KcO#mTG7~j#Qf#1{mH<2M|=m4ejL8zKMpadwgka zUaJIlyUwEixwXQ<;@|}?ZORYOiGPYdj%88vr^LB%_lSAchVel)P?DDv@UN7xjaT8~ zVqtG`EAWjW4(MK{!J%ci6}Jj?t0kBZU3(m0LC~veikFL*QZ&#E zC(xm?-GH_J0pGn*WQyeP+4m*^ z&abJ=+x%ILYWLd65ZT8%mu+S=i&`GH1=ga9duQeJAh69v4~d{s)q6ARx*BJ(pyXDp z3wDQr0fmAmC9|y0ySzED;|s=Ukl@uvxkywVOr_!Dr#XvhDV^UHElUy>x^ji6gj1K- zy}mQt902EC4~|`ISptj*?nw2V;AIc{v+OdcJO6`YoOv-hC67bc9*P_ff6mtBTQtDS zOFvV+EfOiHv9%=VI}ji`-@=!MI&DItu9;`!CYD(UyaX=oOUNJ9EQ5S`P&iL73RyO5 zpcuRby)7x7#e3sc%42*|$P28%xvm+0GCqgHS+{v(4|-mg)R4rPf}vfd8`bZ$Z&FyD z$iY-&!Lx5TZ*^NQ^RO3df?fu*E~T4(rOsZ)BAv&8;7F+iwyL-U5eXn2Wm3b8cf->5 z^l$6975W!B;v<>96peX7Zn&jgJz9$jWCiAw=3QJqwW)Lm-6>tvqmgBGymd%TDQ4d6 za5d<%{a3OQ`)fu#`&1jFjKyk|7G@+)x!&^3Sdmm|>)OPCx@<~kqV3a6GW)84rUI$& zVs7H_Z$Fw+SxWo;zDw5Y3dUf@{vsPGWK_yY0`VFxrN!S6OWT0S6?^^tXUp75kAN>? ztU8+ZRKoOQ9~6F|E0OAs8(@k>icEfRV9mtibWUvt*>_>ZNA1#l$(Sa%`cxYS4lR13 z020IeR7w`-`bY#fFMP>`T!)4F(u|6M=rkf+h3cTv6Ze6E4HI=7y2|_K`S6I+{$Ze) zyy_u(iZljdl_S1Z2W)zwwLq}W>Ci+8EBrnWKpxCXrCH;jvC3MsNTD$J-s=yC0tEnCe-z*UyV&~+yaxn5Na+yz2>?fsG4ba~$ zK+0;32v})c$S;nZH7Fb~V9xS5uuvL6>=L3~An+-5(a0*2amkr=*X0T`0~J5o^dbt$ zJI~dhJSs|{%oImMoSB5yefCpECnCOCVP74mGsLgVYw<|x#WmxH3SxhKMRJm~A5XKa zsdqZbXyJcku~V4BAKp$%Dp3CegYas4M$y8M!W;KI`5hJWUsUC%d5 zvBiU{X6X&g&ku`rr40DCHobvM$>Dsv&xip6Dd2bJhlb>2a;XxCJykcg>BD;|R`u(U zD^j0|f@ugS@gWPU9bC==!<3A@&gHSi-fghuDq)y!Y+2Vgv_$P8jtjm(Ef--5Yb5~~ zPap|Rn!2%hxLbj6XasQJvSRL_TbaIrBW%YX=@{DOoWWZrv(0N|Bg zJpal6c@qg?uAYC`n>Xt$s=g=^N-#?>^Z9}V5~(MY{0-%;`;o>=5$u+USkZm%kU8Cd z^<4ZELJu1X=hqMTn)0Zz;+odzr&!DXq?HrKEtLYmlc`gH-teKXRlUR5^<6hLsCRT3 z*aTjWRV33b*XFL%O~A(~dQ{rX(eeJm8B4&22cJKzx3R5Nxb*?&YI4Ktbg$XX_3c|X zC@#xWpDF05;Lzc+kF`(LoF1_4^|#zerIo<{)@Ffyw*>B{U-^T-qsCHh>roO^LN5aV z2hLlZ!|prO8Q_c*rAT|(lK2)D;xl*$7 z_+zmc?)q>`#N^MPt>d51S$AkCFYU(8VmVe*Zl<3Zciw5WE)>0<-b3H7liSNv6=GGv zdS$DQ&MrNO5_Rjulm&()$-3Lel`womM;ypmkNd+oy|sd6ZucY{>$acI+qNt#~W zK>OwH_`CO*M?5A5Y3XDYkV7U*bYdKRV7 zN5)Wx`kJj(R~em?BBy5-kGZW;)jGevQjw4T4oKbJG8P6k$oObzCB+#699Kj2fgJWp zEEgFjWZO0$2T0=M16b$V2K>0D&qBa84PvYl0x zJQNi%Ga|pxh?GnW_(U=snf&1X20$kRX)@e_-loly~9pDe8LvW*P zD0bb!=KBXdCI;eI3+r3a4Wc(P(F)TqXRg$KzJ*bJGL8XX3Zjs~V(QpuYKESGCtBQ~ zJUsnz?>2v0{&$fTB>4QLyUI>ON?8dPbesph))A<5ax*II302C3WETAq)2*Je2dY^- zdq=%AlbE&(Bpvhhki&yckwJb@b2tqRUU(Y?m@J)9dqRre0oraJjg7mjBU`?24jJ-L zJZ3{pWEe9>}qCOm$K074H~w zr`8yj${+2rC2Ucboo)gL!*qU zjt(lKl7v4J;K*rvZ-K;_h$jd9>_< zB>T{bd{mTf@{b>Njs&1VP8rc)oKoE_jM6=_Y@a5gy{&4#R#%4X5&6-~F?6yC5Okn~ z@Z5fO37k=W#u0R02%~iOn($VC%BmhQve{N35=$n<&#_=w8T*?f^b200FXdiX5E^El zpc(p|ZXe_DQO`*Qf=U1H-|LSTCgjvxZmG}!+6=n4-cEcrqJ(+5b&-za=%Hm=%W#JJ z+bgWanAFo%fx9*D+wbDrrtCd5#k|dG3vG+bO?Yv%{7^G`r3x+UKSB^DgmGsv`5b<| zjv-@dS^db3MW|6LOWK6mZ^wzC^5*!`A$9=YAfszpAz{(T#$#y8wwRie#)MeY#Yqxm z;d<$XI+tE)VL1W5%f>76@L%SHzj!hp?a*sKQGR~U_m$+>^m z2?OH;!8U3dWD9@WfHY$7Y}M_3C_i{;OwVZOt2_3Av#$+|p0;t2Rec~sHEgRo#mvX1 zM&@+oMCtE|nTy)mH(JJU)iK8ZQW^q&$of&0GSl7F{s6&0MNt25B4wukw*wO_^#5^R zw?};|c8e9>XHKpCA_{s~I}(|q!U1i)G)p8hpIp9=L_k2RnMOHPTPKlSZ;v3Xb3>D8 zUF7o^fo>?{AcIM0X~S03434h+^V{V4@YH61&O2{duztgm>xqM`Alg(hIM{(fi=+uI zm-xr~KuNNvtCM!=Ia{Hw!i7bTUZBU2>$mv>26>{OP#vBU7~6=2`f5pGuhXRn2uOlF zYSX1~KblFMWhKRXTG8DldS68RHnc0lV)0T`4;@lTH_l#Z4*FcY3?tXX6$D%{H1^*n*9ZxWn@A6Wd^8E6QP_ZcP#jriXzjG;Fy3vdi4 z$YIgpU;$hj`WAUUU2Hp`xoV~etRO1y5JQ#bDdm`}ZP0W_{C#wIE-)-AY_4*o*qfAs z;5jEfcUup@e1N&u&Sj6AP*72|b~~-)Rd3E#tt6a3Vm_BV-D3IMzZ<4SL(4;-SLp+v zew@bmYH*{EQ&iA^gC6#?h$oyiQYyLkO@OJ>Za$&R9!eL*LLVGpw8YxD&@}48fNw6v zQ`i^16pxtJ9g=Mb^9A8~l5J)Q>Tlctt}tTMT+1Ag;Bn!2|3sA@HHuyX-1q+107!aP zUyl2%hL@BT+$k9dw><+9G709%(Bjqk*|NlV@rXSW$`$eK1PsBiwW1{9(oJMd z=dF-62I;i3rouVSQo9D zn9ycp6?|`(Utepyq}LZ5N}(4sw3 zCxN};q*nhHVOA0jfF z{v>euCkjW<9Z4Y$2$@DFp>Nh8G^V0UNiZDp^;KJnPuxsxoxtJketEWae*P1W*fo+m zM5VIJy|m@=?$FwCMqW}zcF%9UnD*E*fdR_mT_IYoz0_^u=np*I$`%h&$Z?zr1$m!)`Ta1ItQW-A0fD$%o>Tx4wm1mL+UEb5!M%Nrs2}5Z>~`{ z3vXCh*vGA%Y9@E9B1i}nf`@vxm9D${9K zZ%OyB2m1Ew?a}f35d1$_Nw;?*wRM|!Z7+O9N8Y_B@np$Q2`8_RA0rTg$MeIDcSFw8 zoy%HgBd2ykYS!{6Giz)%9|Z27UZ7~E$MVTZ6US1Bqt{*gJ8X8NMnhH9&fOECcOXw1 z$)$UZg#`#HG@FZr;n8!JQayB;JH2*<`CVKsb?`d^tSmM8SZ$YD*L6GirE+WA-I%{> z3AnNFNb);;m*s7Cu#|R4VkDM1rWQO8{&@l$VPstgW$D5S%a7;wGvAjZeeXi;lK;jS z|F#o|iGk@qwO%D^8g@sl@c%@v^pC_q3`0W1B>6P;5Q+FBpfs(!Wu@TgSq&lUg#;5> zoqfGSLXF4sSJt2U_w)9*cBau{Q3$v@IS2K+GIO+cN{ocSC)rC2e@%qZg%pj621p8{ z<4T_v@*;$-xe3sZj!*4ccB}uo3v$R#PrcP$)b$JeoQy~`sY*Z}8JhRf>SN_>b8O}j4 zuB@uAt&L4DxAwNIM)D1a)H`&~`QzkglK1OqXjHmaXd%u%Qk_yeSO8<3Oh8F4t3?Bt z^FlHuX0E8qQo3>2V-y#UVeE5wlZnUzGJ_;E0|kW&eRAJ4PrX0UT`=`kDZ&sU8IcuP z0ioNc$aG5fCl_6Ok!TT2T0m-a@t-VzMVk+hT2kk;=ut{1ISN&lfMa{DkvYZ^QmGK# zo>UM&BXAYtkQg6dh}eDYY&reVc&qvFP=1DE5Pr-Eb_dBZl$=y7!P7%(@sA+EdG!1r zK|F>8usG1$mabaVb>*1$RLS8G>j=^#2&6`rtes6WwE7tk_j$dF%MNo&m7A{y(6wZ! zK0gMPI3c$hz!KXpQ0+5SsNzjKtfu)HMYTUDx>bJ+_aaR-l7r;=)I?_vVz|_0u3|DT z+`TO#9jW1fq=o$JWH!zlE98_72A+PgH(y!O@}=MWC%=H;_bqt$A#@2RG;gj$Ntx>T zIez;O@N_VKcR+`Ct7S@vG~w-|#yQP97EzJr`mG%G5d+&Le4#h;ZBv`@%szL^CC0g?En2HO(%6|) zKr+lGJAPNu`$m}w0*jOvmtrRn_QFVzI|o(i=C-zSG^IrqqfF6Hl0`RFeLA~&>!z<+ zVhi}){R>>fm2MN^CcwYy*Er>oa0v&Yhhm?=1MQY(3F*-ye3Xuo|N z;)=1QD;BO_qqj`C`pl)6ojK82z&J{&LCNQmOe?O53GWH0J{@W@Hx}C#xN#}&>5Bde z1qn!s;H{&nQi8m9TC+eXQten*y*Rcl=<=xH9gL31vvqP3lUv%+9k}w3hrS5$-%~M7_#_w;XKML2h&O+JWc4O_{0lqgHEw7?S)r*IdIQ%lmdO>H( zZU*$DI#4HB(HWO)T26sSr-vC`7*?UG;(&gj$R=#&osQPg>%YScYuB;e?oSo;ER#rs zHT45%dbn?QkaxS#Oh1y31(R|4xnm)X7w@Rw4}+#h5F01|T5likx9SJ2F)_BkHitr< zWI(JtA)0(o&zDd3xJ`FMJA0GC!q3(MFC)^#mMBlC&9AbmD*xZ8Le!sxIy9ND^ z(9>KZ(*9SDkcQHmIH1g|i;ccKXcYN>L0krge`#{D{d3g$KMcEa)VFN^`ANe+8Xf!= z3PiZ7CteCM9Edo;s8}YmUtuAv6MS`1laMfhQewlQua}8SO40aSss@cV%qwFmgQ@8- z={Z<#R?q&|yUU%y4=*wTo;rq*Lql6GSdn^lLRgF;i87N~HK{K!IpRXvem02BMaNW4 zX(C9-rs_gkl$*S^%#Y4DBMhJb>*6`;oYz}!-NP^1M3x}Sqtav zUX*=eqq0;?lUaE_A|faR5YJAb6z$;vp?s-UFwshOd{$1)i>ZYKMhdPBaFIwRGn3g; z2Be7oxkA9nJLVW;JFO&Q?bKoYt0BU*G%t#Ry_j9qwI^lK{$?s`okh+QpifOyOAT9V zb||+y1R)OSlu(3Hn_KyY@o7p%LY;VtkZ<`l*V>*hsR^pKGUtCo9kJQKW`MN$a9dnkcH^>0kkOoZqq_5S4aZWTyyu+FX=VLN z0AR-nQUZziE1n39kcT7`7d)*a@pFj*<#~=i9$XL)WU-qaDCqPbGtzM9eR42*UK@(1 zKm*6G@s=mk!fPK6ISPy(SD9%&ZsAY(Dk?_7c?yNo#Nt2mq2SCLn!1-;ZM;vMn!tln z88tjVkf!giwda)TreeaUM`%{Y1+Yi=xh7zyk~%X=xph|hL|Klf;2dSZlhP^Re77=d z>uj~{v{i!S2aHCSRx}dTN;qU2UKg~7iO{YZRzoQd1ZeAg0K1u)T8=N{N+NKVH7(pQ^j&okEU#(Z`w!>W6ODS%u|}@=bx~HEFzYW%7pC`h-=?Cudg$5`dK$VVtmt$ zOC@Ghgi#oESm)FbgzXZh9)jTHu97)_A&mC-w$Mo2XrSeF7UA3u z6?9%=tl;vv)ktODSS+%{tnE@85?$qp_hW6+Akj#9>Eb%5QIxX^JWo3=CsMLR8_k)u zGAJ_CQ>dd&qf`h-uCHVt)a}fPPYLWk47w8uqqtvlOl+fNXuVxe+-jpL^y|onF*_mQ zDK|>QXVD+&q8dZR*P%NQiHL~gfkOmm57wL;OIxd*P;Ht$;|^rU8pgpVR`WE>`eBr8 zi3h-zo<#QbyjHr)k8tNm@AN)&Ke)q9$6GC)LvG9S3o^S4?bg-v^4`PlL@q)$5~2nh zy+=WT(zOfv=jYww=lB7&01+&5{vkib@9q9PJUF;|9d2#KNBhZmztq!sD$btBXZwD5 zA6!doRJ1+KjSkmn8)ZJl|L&=o7L-Nu8|j9j3Qvak*^w?6%gyuo_~6eyaaa9VYiT`2 zm#?pE--cU8d9CEccklnw3k$BYi4v6=cmlidxBEMZ49Om8WJ&GcpRk5!JRFl!l}z9v z9uHfh?CtEH@7z0}vTS%79rc86g0ZyJ)@~@Me&1E}s;&J&zjkZVhvX;k-dn`ou=>6x zQoiN@ShK-Bi~JDrTK!{cTFZO|Hy`h-ko;FVfDs=)z4Z=Mhy1m6<**8npl`kj4spp5 zeCb|+9R#$xEiI}Ap=n+o2Nt#1ckmt&QRfb}MWr<)7^nvEt>AS+ zk|Zv_P7od0BX^$d=``q(X7FP5oU=xQcM~&Kp zWnH?`cu%>OtJoDD3ihl1J6|9eBiq=BQe+`uM1}dp2}jm$XRwe+Wy!LA>@mu{*24C} z6|%{yxW0b6(x`jyt53P}4h+_XLEBiX7AIL@T{Rna9N(GLJFUKM99y$-x7YXfnuZS# zXPhaj;ySXxry$-+l!#+^l5>z#lFvY;D(jAtQ*SRqhbM`PgWEZ~+uvc_86HrCB?p*lAbe6XRglNu;m&tkO~ zF<3;$lvA2WFEX}~>t`7>dW!^MrfG7pw>ENjiaZnQoQUQ({%lsv8@);L#o8B$Vl@_7 z^iA9h@&(S8?qYR4&b-U!rGrW^fB5O)%WJCdq=C=nfoEwiZe!k3;rqLpR~hl$|12JR z5XKXbFVH&_-TXXBv<(T!Zc#wa78542VHp%&R};>O_sj<^bJHdI_e~jKvg^ZRJF~00 zJ(f-}inofaaLN`B*>p#GAnClqX6*zaT>Y&Y)B<@04wGLx+F@qa>AkZPFybU2$2uaU zM-*nmQ0U>uNefmWH7;O#6RHMwp@)gd&<5o_swPn`-uSGfbx);4qfzWoXv?q*{6Si6MU+g)KY-tOLaU&*zp3YG^y z7kHmP0mHe@jYIqpMF9s1=Wqpw*=Ai7IlZx$OeWcpNi;90Rtn&QZWB2E{JWv~8wlUE z8OIVJ{t_N%Va4n<3k%>UdD;JJ(MUb+BtD7%(gI*oZTc*g9h`vBPBIGg=rYHS{XZ=;y64Hgw;#_qsM&7aw|4onFRRE#`nawEg ztJX4}Q-$n0g=tNtaAsf@?Y9mj^sK@SwV*N#EwWD`F{&;u7*@ie7skitrwo%j0X4NB zAI>k~quXPZ)%w!gZ4|m9Meq$0Uh5i+_=Yn?k3Y z&!thY$S7K^VT&UjTnQ|>My4Rvl(z(M!&7+w5a$X{M35y8hxQyx?Z#Gag@7aoA#~!{?1AnV_^&pe$5xxFGup`h<8K>)g2)OH{nsJT zc=8`Q1L16nySIPX4J}KfD?B7FOsB@mFjZ#hfEy$z@tg{VEK$(Ej~o{) zNq?pC^yPtLy+tl+)3?(E_N8=DzImn%2y!*~Ri5uS&S0Ohf{KkT_XuFzRaDjiN*xGmwa%+%0uRw-BDVot#-H_}|s{ZwP)VhkoS_zqn!ctsF~ zYRiO%S&3i|EX7C@3PYj{mhhLmIJX7ELsSZ6pAyvJN!2STuF9GCUK z>{M~ZIN+$w4(}Iv68+In*SMk3#SX8LVx!OD#(_PeN(`X1DZ^S9XSL09iN25|$s(OS zg2?t`sd~kk)Y#gt$Dvod>ND4NH@b)4KAh;CT`)ejz75;+lrj0H_pY=aO&Ir(=0;;} z^1U<}(BGj9(bo}j(7%)jX1pFSbS2!K7-1Z3y$kEB zv*VaRI4c$Nvaf_F`&4DH=XlaAmzJCKa%K$Z5R(Qer@LG5>f?DO3Zhxrc275pXgZ*Q zh_tET>#(De6DLNCvd~NIRf!_Z6VI{r+NneW{5E)s5h7VkmBNKme2NhqG5MJ(#Lh~Y zN)9b)timlh0Lq>_YwRHe4>VngqNqi+;IaD(OG`OX5(vD?FX|id)2QS16VjwcA1Q>- z)%7}b{g!^!{m>i-Nn}P(-jBtFAq4dww~xVH0k^d8v|-AW?n~bGKx>gWPzn($Kz`X{ z+X1_h>pe^s@WJ;tTV(R=Co!V5zrM?SU?Jw0?bBo}l@Qdr>+WWAs%@P55S0m@fUN&f5j9T3C^gTPi0bNb0-V39+7?c z6g20!#Y6#DPgbNqE>vzbvRNmJy>>GP^4Fh5oJxqBk9Ey`kbs>WY@Y0Z%)G-A-eO|* zd20<=3FOCX%zzJmz;X4T+2}6XfVCR(=S0kDlPes`EA)lo7P~tlyKX>YSX86}(=Hxq zHX|cQ&PM-9-tgGIXp}e1G?giV4yC2%bqF`Vp?qEIZcg5ra(tVyI-BzIqOvXM9Xs%_ zoBB;-^VB@Lj%|{BPGFK+6j^SJGF$dkr zDJLFlr{B{I5?Uqug+~g)A0NUq30E4qBO_+1@Torz?X$k?0wm4kg zBi0d(V=Z`Y$Wct>x4%vbbC5?Lsc;666_$=~0vAcl;v;jH8<(Y}1+gD!s<+ksxY??A zeJ1cdgCo<#aE91IFroGOaU_wNR^bvksG+G-brPC1y4)a`-~)!wzfv^0!fha%D_aQ} zs=>r{*!85~&y~jZ%QESqGNKiz;!J8qmV3P93Jkct&kGv%y3pVur|~>T0i5_g%GIas zHhmcemgXe*nnj@ii$V^t(KhQb}iPd9zLmn9m_s$J|ILVky;^#`D5EZCic#9TXzjINF=qZsm2wXr%C{1G55dcvE+*IBy#f*h!?G=w zrqq{$Z6fnnjp{*?XL@z22g~g-_O}RD2|24;zVhp^W6fz%~0PaYg7?} zaQueZiGB#{)2|8R!iA;v_NpH?TlpufBtS7w&Y5+r+;E2!pm zIfkCNAzBuh1;ip~JkV2}7j}@NT9GVR%}|e`69r;JR03<^yZna4&+)d4?Ac{Rj+*w_ zFA1-v%E<=Nd81&u^fP;xzL0t80KRExWt##z89__6vdeq8+cgIfJbTsa1?#fEiK`yN zuXP$o!K!bvTWGkF(PclTrAobj`hDa2#m5{L`4kUbFjQQ`Tgu9^icyw0oa)|BX5(=! z-GgCe5{_R!`W;OyWzu?DM*vqWFfG0gNtA&Lxm{xP8leB&N$9Bt6_)Zi3HMPTU;H9Ahl| z^jYoCvI10f=*)x&M!>3wSYM(}*Ege3jT~Dzo;LsIR-EI?xtiAFB}D5qma~xMZ(@ZO zM~}JLr;(Bj3_D{kBX$28FC_SB7Wy3}auSUAL65TEoAzAsXE~=p9KAQj^FNr|PPP;R zm68ZJSi0OzCH>a`#Yt}f$>AB#S;>+Un<(bi=R$vM?WX%=v%js7K8`i!2{{&`P%*GO z3HWmKb_+J2RIa)@S=GC%Asw9|JpHcO4(VXOMw~NvJ9%^rWkgNH+k|uldBpO9Nu=v` zJ5@Zag{SYDRig~e$nID=zIE=SfLLSD0gzz`qsdTzl@}z91q7N6n+R@OQjkanH*8;# z+gf zRP+8^5yEg_k7N%0Zr~=}=yPW=0Vkhweh_h^+2ugH&=^C@8B+R?P0U47%Mg?*J*_0S z&S;S<5NRBTA)hv0F{x8a$`9G- zU{{d~OGp-zf42m{A=|cgl*fXA`r*JX_8nxUC<|ds$k8Hsg+Rq3ny>eJIVCpbB77nW zAoNl%v@^niP8hi&GK~gfnEt?%6cZuXoW`_ zOGzl!a~0dZCcxd&s4#iF!S^}S3Lr@ow1Im>FdGOtX5MuxWS;@GP~2|#tH%NJTO#=_ z#3&mgywUvf1_MF8hg|Ln)o=48vS(_*wkXUvP1FOP>Zrp!PtUa+^4s3<$Jc-_F#Ef2 zWBqs!Y9mMacc|}477%e{fiZ~Oi6{Y{&KQ(E{ag(HN;FK{{h!QaX8ZrmC;y)Wd2G!8 zU&%bjKcme5m|qTSDcWPR!}$FZwM=emMb|Wt= zo$Kd@;y#7|>>`2U3O~!)S#O3A*+JAof5;s>Aq(ehRvg0CfS9&hS!;6DYpKAjaVW#2wu!x42@B zyEY>SHzWuINT$rPcY;2re&ou!nEQd{vO^Lv8Qj;hk@-l5G62zWnB)tR%wH-#MU5C% zj`0k;zYO}pz5{fik6^bl zn#-j`{bmPBu|d&iEDTSOOxU?_0Z@5DRycvU#|k(Y3Si534NOxK5OT#C%u5w}(?(hV zXL~BL4xAJK8Bq}dAnkX_Cko;jMP><*0$GfpZHtzOjP67+M*X0jIDMpfCkeC>SJN>G zkeKKI!gpF`XOaPMe|V4*l4*rPmrN0(+d`n*(gKLc4M-FckvYg55*Z0Wh_3+9#P${0 zE@ayGbO$_CDC23KoI~{?<7feq$vj#>x}x_skoMpQWC`DbZD11^Vd&AqJPox`-{cKY z9*4dFic6Hl#KntmuKibyS8?UZ7Kh8ZyWi{1ZvDG+zIZSEa%TAA%x{5K3^*?RZv4*m zdWwI{mbx+X>9@EQpCJY6dAf%6>F@$WM2YyM!#3)?{<=?y>4k5Nq({Tw9<^p+NMx{qYbb(ok zx&#a;LRFroK0sVE-5f4*JNxQjn%Y*ythgH2Qb$ciF6>!Pl;4D0DHQmr%Bq@Fmr;Ff zWmUp7D-@Dj<;kiPCc8G3L>a$;&PX;FC8<`Gb}cJn&3S7OawqIM@8aU)KGUDYc{g+{ z-n_E+uI;+#qeWldcHaDx<@tH>=IQ9XpI;Sa$I{cCMz8yCN7IL_xCMku>la>ed8Fcd1E(C0TL!nShTBoi<)ZC+wqvznzB(K^ zr)9#eFRGYwU9z&7h@p2XdN#gQKZ-J9@p0vX)?L~9s1(-pgX&Fu5%*`aw@V&F0|kvl z<6ChbM#5zpalXBDu)-T8v7P^TFGwd4r(e`Z0DuuIkJfet&supzE1syv9E@*IClLXo zbYz9Oo>$F3rcUJ0I=mDxaMq$~h~z;r!ZmzQc~klVZc~5T^mDT$hT_F^@ugJ}lhm+` zO*e4Aa;r=RH8-ThK5vxd?y!2HC*NY7igc`)$80yY3F%$p)sl#vO4~WDy@e7wDbKZ2 zb|ME=vR0MT;JLK|iEVbO$=gq7-xL2&7SaRP`T2UuC0xlRUCCt`C?sZytY!l9p%@-J zg}BO(3YMY90pS6gX^HIge3&8w&!V z)<7hTFc8Kg5E{A3tv{$I=hJxE{Zm=R(_-E&jdE=ILFK-Bzs&k$)%l>F9`A#vufxmb zjXI`El%x<^Rdt!Vq$Oh51tm+8!d6w~^E{rc1tL_a4+a(`pUeIyVFAo3`98YA0|e09kC9Ld0kjx7DJl z>_b~gyG9V#1=qY!)(W0isv4KPR<*!uU&ytE2)pW=>ME)`KS9~&Mi9W52SAtlp!cYm zbvi7e>B4fesGVgJ5Z<)6cw`(@7Oel7Pr6)!daX5ch-XJT10LE-ch^A`f#h9^UJmA7jj0a2<@m1mW<++R>d ze@K8K!YjXo3rszOSch6HAr0zgCYt7&#z+mwy|bw}*iIeBJI;7(^OZK=ui3@Tf+p&< zy8N@HtF&>;@5NVjJx8ME(yT2}5ub!e?F8ldhB&NfBo_{>ec%I8%%Y*xg5X2G+>azH4=l{cCHzpGA(0 znCVA@W+#Ife{^hIH)CjZ>Wr~ia6=6&CmmS=mGF|LFVvj4Wy>aW=<3R((QkkRgLLiPQ;9KL4~bMP0#r*FkJ zvJbvI$m*-$&LKyT$D_P^tTXQZo-t`Zf0jhm3zPVLyzwdGBhRlh zsc$}T=Modk3kpuO$P2It56t-l;A=qYu5FdCqHU@^M!ckq3VkoO^&2F?SJn|NduR|G2j zFnyp8^%JPza2FcEsrJF))^YRyUb9NxK|O}acJ^pat~JuEV#4AVYCZ67Hua(A6G#`Y z#=}d-;2YoZ_PV)mm`lq5R@e_jt`dJrmo`J8idbM6LSQz;IpYdzm7z0?jtY}SA7h+Y zoFl1TbutAa`R)j_b|N$jL-;tl!~-z*6udG-=A35A9#P-E$1wY~mC9BE87yqX$(6GU zo(mBcbCV*gbgpVtmt{6eA#rXOZ`&p-1t$;XpeI>K08}rQa%ZJ5O58oCjiksCQV29} zrdtYchD4mls>pI28WX)D|5bI9{>f+J*uk}NeGfYcyyMhlafjFUD^P^~W$8s#ReN~{ z5LxZnJA%--GpM0EX^(*7&yju8lX3l#Oo9%<=_RIq z>?4Jc-yHLZskXb_6Yzo9L1}n6^ z)zuo5eGQPlo)5S@ z8v55UWn`p-By|xuyleR6EA5_tRpqg^1$FNmT9k?GZB5Xu4_7k;_;R$4h`wjj;OG$= zq%}9MY5{m$iS|bXslQA8N-Q>r<&9*S~ADvl086sI>KnmuQr&icFCy7p40 zIs(h=fwZ7(Ac8|JQYg+#t*1EznIK<&+|F0jVm(~(T=9yD-1{s4rA^I_ z!>K18QERh?F!k=|Jt{TBhqG=NKKYV(3kJJcz)wJUQ>~$ND^2F#^BlQpY?_MNPC}sz zca!@JjhohM?b5SJHR5 z5>{Va{ET4s1-n+S3d-A>>GXZfRcnQ-y%y#V4njN;5=R|G!XKZH>{L;I17&p;*k3zn zio?+Xf36SnXiXK*6XnqzoC$x8@+hT++sk6IR<^h2(bm-1A4ZRxhUBB4mXCY4 z74Q2YA6x2>d4iI*;xeY~kWSWiU>z2QZ&cKCk|<5r(5S70#RPuqDw(^llU3o%$=-XN z6s#s!oeeU_d5VorU4(nBpRZ;BgF^L52^LU3_pZ>Kru&Y~0$uAymJuG<(I1Hs@uxpD znn8+V_ctP4Ll1e`0vR88IiR}Rw+P3;+`JP$45ndky~i-3R)eF7Tn3Jx#~mMLH;&k- zRcHVJaeGk!B)nvw+#HOpZ$(O~UbkM;j_aaBGhVU0^~;`OhF?nA`x?}y^u3kMZx4&Z zt)9|bn*Sv~_}5raZb?!tc>P-erw?eK#!TE@ZQAC0Z*h$xdAGDBJ~rd(ZO25p5?c7iZs>Zv4-Id6bWt{xe%j z=0YRixXjFrBmxqASRCNwBf#g_%!)*2m_BlgXv}UjLtPrTpGgOl|+*Q6DQNLM##IQ6D2sDB;Y7K_A z8Md!d8qjv#1_a#cGw(=y%QpOA?HbTCxaFiEx(A8^5>A=UN>$lPHVNWQaW^<~<>aAz zMk?@rh!#SS5aCt%$H*BC805C)kM7(pq=%z|tp`@$6nw?(B?+7^7IWsJ_&$X2hkIg0@wt& zOZvkKaT~5CvkDVPN6^fq^Yj+X*5Y?@CC8Jdnl$I>$wcwu#dn-%ab?l7L3MTV6<2%O zc{@F@8$gXo5|ildZqa2RkSaV1O+?xfqBni+2@R6!j-wQ%f>&*|(Jx8=2(Dh3wI3vb zEq_1EZsrRnXIT`*C=ePD7ax}XY+W=^RyMS|93;mchA5PJowIGTs7aAThmb^3qiEHK zAZ3xvMM7#=n(V5UlJTXw)E_V=(%{MUZ&UjHm0~FSF8Y>~NQvlad}rLELtXizs2@`qJTHQQ5(Ig7uWrB6?lM%(x1ddal>&V3cYb{SD{?m<0cJm}b}M zdy%%pHNEIsPrV_|0f`OBLqep&+efH_3Xj{TieKX4Tz+H)5c@sC&1v*q9svpFIFRS^ z>as~f#$!b6UmVES=A4%RkpPH0km}sRN*DR(H3W<-(G^PWWFr9RJ0SneZjnw?;bb^z zup8Ag{l;f4R!HdFxgI+?g4Fmb>6i*6pqq|Yjf*&^{>%~jA|W|qlsVxHjj<#_uON00 zrn=@fJqFA&Y$?*Yy{9-O9nB7LU>fGn%VPr2OoLteirbo~2n##ZX;$zIluBBuEk2p! zoC_I{q2z`~jTD2R5nsa8Wi~s$Zq5sHGRL-iXN$!?UuPam8Oe|Y378JTtRFzQ2v4?( z3I_*Rtquu|MU<~$EifNJid<_#U)_Vm<|~(|wJ&#p3DRqlgCU`MptP+U@ZL1qz?>fj zyHKaB;!)u#GiH7VUVDGAw5SD7Nd&kq_G#`0s!)q8SbNh{HwL-lS~Ni77CQI0t7`Jr zHG&flaezrS8!rIwOtj=c_@`CJAfSc9X-{@6MDkW=_2%LT{lApSI@ z@MJYn3SGIukO#09HqxA6lVAEFS!1++&Z6N*>5odyS`*zyPxiP>VKi?{}h77MigNTk_; z031RWP;hyY1uV8^$B~f-EI5r*9INd%m|04XdW%*&O-pST@kG>WdOQ+xCaeU%QOtka zYsomBUl9XJqBjA2ejnNK4!ObwAgR?B0tT~|6A&w)hlC^svql)e=5e~#o83ROMlJLt zaLg}%4VDFP?Noyybft-kyppUQuz_JO!*vg=T655*N9iY0#NKA)i zT8+|IGsxY}a)E_9yPZROG+9TpMJ#Rtp@20oe)b(b7a}q0d+zC{+ohYB#>EMZ+dN~j zga>DR9b@5q5drXP6yn&@b_G`#u>FnLNpV4+ewS3Uw&c`SCe?heievLKGJ?6TpJlSr z+WUREenHBXo6ROLxa!XtlXb*lGxbbPyX5N8p!d7Fimz7jufye!NX=coOSk5>IhDAk z{E@2Ao%Z5ZYS)bRZ;4bx85puAc>0WFLWI0ev(Pl_ok-nIe;fY%?HzbUhna4ie)YKe ziDz+sScyeRG)mI>shgF*5rDl$o|XT4B;@21&$*=kE(JqLGXafIovmHB-pyBWQ*{1Zx#v}rr(!yqYF78B=`f2udZ?-O&;At5hZgTu#D0)Kv6~eJizX*)>sg1jz#69{nhZ0)&+mm zGH^4p-Dy+D=wg*~-8q1~`Dgm%`*F+#IZuBIkt4}|Dh}Yxhd(+wb&cKZ4=|i?2Ya^R_9)_nkFv4WL4?fJw1HKG zifMFz=GXo>co{d$pJyA5?(oqf2Xt0gM4O= zZyWu>5cZfm zJ~NnGQ9FW6>ajNS*zcEF8=b1Dtev^-7lij%L4_ahsw`mg zm(j;!I9(tQ{iGBbjTQ{N`FC%$Q-1ON%MR{G4q(uCAnP>vyuv){FwfwLjb!8L(CFuo zxA11yKWBTUEPDOxcgc zBkX1*Xeg0D70Vzln~FLs4IK;~zLT}goT;tGydkV4s06pfl{L*#;5{I~o-+XpXAZV{ z)Es98h^Ea&HA3*3rHIw+JpsdaGrJSI0z17|!ft^X)x0$(~q zfaiR;AzeZkl#@o}fhNVm4O^-cc0Dpu16v$qqFMWj09}b9G_ZCy$QzRoRS3xSSs2mr z`79pBhQpGdL23A>4}#2l#)p=vkLkjmVryD|Z;KCJ^sc8I%Z7%qn9bF1Im17J?ne{yjNc`p&DyA=s8u8`FtQ+oD(6eRv~c zLY{c{xfg@WL6`n3J?4ljZnt}u>Ug#C&Eet;8aM?xR+;8+ z$c-eB>i7!yXWKxxQLtfE!S)k-TjW`@z1G5V7`|$V-|B01I)hZ@`Jy<{F}f$h|Ul@9i+QZ}g`e>Kz^;9L1d3`EB4 zPK;lJNWrUs_$zu)F3dxb)t$)AP$yvF24JDi0f2yNumXK(j#pEL;4i^qSadOawTsko z5i&V4!k`l%2q&#Ue?($CsRfT+` zslzb31Fy3GKMlQ0q8Kn;LaJoB{u?!%y?%RVsNx>N#doV2q`|1BXQ*^QyO-l1yfZ*# z>3lM@xD0Cj1?aNkn(tN5`X|V+elpi5&P#F`QxDEfNjYXe^-P;*p0~}B=iaI25H{{K z-M?YDFm%ynoM;y!>T{$P(5jNXLvUqPV|L zOgTQOOUy=BPx|d`@9}!$QNb=1K@GD2Mhr!^-nm*mdhfYA z%xp{cbdP7D3?gyK5%xQaq#k3-95X@ylHulu5v^R9mMaBfY3}MhpQ)3={mz&9Lr!}A z>tHevTVdV!OnmFRjN<`2<0UXyS@_$vUOCq3s`T3NiDl1>`Md9o`Y%KkN(?33f?HCA z+`foa86U>0oAQK@3mRuA<;?91idT1uBSJKvaD1tzt72FBz}hNj@>czv&D&VKij5)B z3RaT?TlNg+_kx#>LVHulx?+{G%?XGaK1o)dWqg5e44iL;be z%zmg|y8$BYwm!wW1BQ*`47V8cqos6MmmFS6-{Htff2iDt?N}j?xs$dRET8T&4Za!B z?!otOXwCX6QCE33Mw}Q|XxSAlnA;+LBFvoSXX4XLxGIz_Qcsjw+NXC(#&H2&lLHHA4u>q~>pG2*cIr1GZ!d zhn1nV3Gy}|W=<5F)UF*MiwTJ;(=ciSz|Mg1!bv5O=J_`9iYa1w2J7R4D%G^(hQw%6 zeRqR47?l37Jcy;8uTs`lH)UOF6`{9_>Xo83A#4XZQHhO+qP}n zwym>m+qP|6XWKUB%+1W?=6-K(zR5~DsqUnIR8^-}t@VINE8`WbtAGJy=k;?El#~h1 z1kJ>nWpe-tRuM|}(K+DCQm|<6mkS#*gMqIyaJ4Ge!nmmkYW#TSGHP1x1$H34!&N0< ztqlZQjKeEF#;p3a*>0t<{4%1zU^F^mxH?_1ePw7NCcKEd>_T#O{SnlI-IFHYl&T2h45K`;dxAquo7>yfCc`p`A+$?tO+{(Arp2jC?-R(E4y zrx9s~hm+!)8Q>A%EH1}6%`!Zy#$_r6$}7TPAdKOn>h=6%OdLoq?_O~kCF!~3o#Eni>Lnc7}gU& zGZ|V9gpUr#dG|p<3ng5&tfRo@;=1kG*de?w+*I6J%c2Xo1is9MH(z6Z@{;)={PjeU7vvclP96r`;2%eb_}2nb-U;h zi3EO15}=WPPUaoPhEiDj6t`=Wh6s@iF*tDWEpL}9b!|^nxs`;N0HJh)BPXtfTLFQ; zn*IILU@*-Xv!)WnL!C@eyzvpL^;bv~v&%eJq}Y&7tb;A&U~zWmyzlSag${%l1ziGc z(Ls^%^dMj1l+XYT)r8ysI+9Z6{nJ?UOlh9RnU&L*7s7lFwe2p5r2ztDIJFAqlsbV% z*euoSrPvf$CQQFnERV4=(GDZ^FQ{8UV95V$8!@B>Xgyr(7)?>pc=&vgG_U?u zz5Z_EL`-dNIc=Z>7|C#MZW^0w@Ojllc7!kY`*jHwO~|^h&+i{cSIt;=37bY!nPYp` zGNjGAk>wZL&rbZ-A{(*ZQr!Y>HFg?PRphvc;kAj4QIdes4#l4{Z)wlVdA7gtClesYQk+rhVCz^4#Y}BzYMY+LKA< zjt8K_Gmj>PqSNb-h8U}DusiKd}92^p}3EvdOlQwia^#(2Kxxp%Qx&uVq zg?iHyxLsJ34ae=|1p=WIET{ItGt1UsLx7CKGXV`cMD;|8T%(V&nMlt14+K#&5SG{_CP@9F=JG zi$@nrNCsH_Ndpb_VQ94Rsew-QW zaA?{K$?8%+IDGy5RJXS?ZI%?Z`m?ir%f=)nLbEcOsX<}O_BwL%x*xAFy5+z7%i;HW zqE?2EZzw$!koP6*JASc!@WtMi*ppsbBQfNW{>o+_H&#uzYipmPI$8mw1wYuPOS$TD-mf4TWvdn5bx5vhf^scM>iuJm) zErA=oUOb;b#Om{LlZ|iCm?{{CZ;e`if-AY>KX*ZXGDOWrx!DIEJshx^9i^_;!VokRU?nawwu z9aV;j5MwUnyWpzao#r(>H}hw3pM9=!au1=IxznH78PZg=TKw}w6%uOO#dKirlUk=C zisIEQu+cmr$hP}6fCX^dNM?n##&V$&5M!JF^F`^h*bF)my z?ruO<$iO#ST+kSD-E(hk7T@Jm>B-X4i11(L_OLYkNo4Bz7(DNWf*{|;iB}PKr}s=F zEOr}X-phGLO9*>NfA36e(7x}d zNRm8UuD9NQvc-ucqMGwK9G~?LdO6U$C9iG4e>Xh1Sq|yP*f-g{b)0GLu6=Kf2}4EQ zWxbE){>TOCZsAx)*gzJRQmGjT4CYKSXm%`Zm|Bviuntx84=Si)l(ADK4WtQ6GG>5y zt9P+o_5csnI3c22dNaWpg@MeXt8; z5FE=sm;<&5ya<75AfAjz5~1%PC2dI#EkbVUHS{82szU>0D!{%B3Rv44Xd^)Ggg2|M zJgq`|8Lp$lIzJp#gfQP})KAQsB+i%D>pi{4YFsBV9ywcrP*Qye%zm7Jez#eGL!uE| zSP}FQ2xN(Z1%s8)rH@c36o(2-GGvS3bo$}yHeG%uOV8QcD#`>?g3 z62UF3CO66v?1fBJ8w=Y80(tlEF>$1L-Tnw=B3#G`6PFUAm@&lhjHkr$BLNUh9>aCu z^AKQ4Ct`5R0IaaoSX=bvS(ANcTOOAZDm8$BLz zGyKpB+(hY%5U-LqqtI7=nLHJL|_G*sHM_R1H%y^mfy=zqdZs z^K{>juaV8c~}-q&u=5cX=WasaY2qD(IPF$bqOe%O49^wTr+^Oa9FI*ccoQy!;} zP;nn)!;T&=U|>w(cP$-lOyqV;fl&ibE5f*QaWk*4cWUsXd})hc#t0RG_Ub-4f&P34 zFwoT*gbRk>MWqdki8y&F7@G8UeY((H{#;{U)U1RAdSd;NGmyW@!MLSp67C)=L?amJ zA9l&s>GTvws;nQ;xe}d7KvSHgIg1Sb*MK3KSm}Exy&)8?F&#v4%FQty9I*nZa^sl? z6zFrh<@fiettg$NFDcDDZmCzUkVuN&hB;^INeVl_Ee%kj5i0bqUJFvNOqAkmnr8ZQ zhayG#LiC41j?`Z~Na^H=4WD4-qX^c@Fb{>b zp)*Ua$}!Y=2^zzVq#5h`?#wBoqLF(MjnfGfRd9PPeOb}vUcZ>4quxt==*JSg zuQwq0bk6cnr1X12i4>`6zjYTmk9xp^1)NK;Z-_Zr1Nx<76NpcyjtJ)gbTT@eZH9!l zBBT*cV{;u{W%qelh@SfPUc)ooOwF}B>o*OUP2=9fEu)Cd;R;2Fbz*ofyRzDuBHTVs6pMi&XEFFDamD}H}!?et3w zzx+NgPIB_8Wt)wxT6**qXC+G?{v=@<>eRN5T&#thgdq3s&a=oSZ^2)}CR;u%?etyM zzCPm5EVy0z+x>by#$95zxU>Y?2WAuhgD9RZc@1giF5dvN+g?|+Om} z!{Ebo^-x-CzpeOg;W(y}rd~~W5r;~|_(v)H6kEUwM%1Wi8ah0|x6XeDJK2adLvy;*AC8+}Jaa=?T?3y92Ugt>4Y zlWIA0&+Y%dTXC=5s0o+K>}T{LivX*E0;~kR@MP=RW@hPhV;fE*oe{!H(=KxXCZ34$ zf^Ru_(MX@QdArW~XF@$eGkjBxX9I6?_Ln8b-OYS9=Q;YvfOq0vxVb4JP(rSJnRqO2 zih8jK6Mq)>`o`d*k=x5G15EwEX5tDC7Hg-tqDq{f+NKQ{QKN5@)pe~c|FriJ+xPF- zKj&alDTC9sRz7@N>x+H2+31L_45-2Z0rXd|35EhBelvpAU3-i^yBvj=eg7O}hM(ol z$*1GYi6iJAi*LzSqBqnL%my^cfnu>+qPLrfGY(>%m_p%RsxrUs{R4%CpYqFiF_vU zZ&+iXZ1n*V#EFx7da!l-HI#mLldCZ@j064dXd;n=hcwm_mWFTXBEYHje@h@nUkLca z(dMZUHyHYEzQ|@w~3bp@C&q@AtkQxx(@+l za<>}_fOw86OP`Qi;uZNMV?IHCYk0S00djZH!JRdEKqVXev>$SBU0>q7@=1GIUVmy> zLzl^>0PvQRix&@vvFH3p{(MN48dHugVfYXf*kGI8wm-}(jdOIhxvmI%^os3{1ExlC*#DzJ>C7v{RQ3>Gs>NoM&A4&5FL$f?r6itVQ82X05 z5XaYKV8h^*qYp{bLoNiv^}W@0rf6=N-ze$F?URp)SBf(+1BcHGw*VUBPyEAoZ*|s- zMdd#kN}ARkzT7MLyf((cY@`e`=)tO33Cs!8A0dLA&^Gz9)~jpr5HjdjBH=u{J^whp zY{bN9a$~$d{U{{Wd?yu})5(M<-yl@5yer#6=x9Dfc~VO<%T=ZsE-o9Q-lfExxP&&+-H3PK1j_yq^*F)gZmNg$!(vEZ3DQRL&$f+zYPFcI>R7?%Y z0=|5yqR~`B8W9CvTlqAU*IS9p#vn#;0;1xLL}@q;8H+@m9FFsXkj6GQ?Ez_(Z*?@m zsY3+5a79)?lKZdeIr11oy@NCMyE)nbKh!BeiRgr?{OuG%YX~C;_n{__5T16|tOFYm zn)klgCabT?-k1xuP*Medk=wH9e==S+_7}77VC(3K4q!gNM$;C*D4lAA|I(aJoqdEq ziF}<2^*OeR-`2voTKlQB+O7;sntM^8;CXl_v9vIQD5~#}_OugqVq~ z0S{)h-jxxy=FJ|^aO5a|EdOHAaluNU*8*h6o{&*WmhHRKYX8;PJL&7=fd@kjqFAk! z9p+?~5@922h`>cuPy<=Vn8ktFWiSJxAGaVt&e+&SM&;W7P|?J>W~+UX8<@zR_1bT*7(C<(&}F+<DacJUY78y4yT`0x?LmwEO4ps!q7n>3S>7*`(LbD$_SjoO9E5_WlmAFi{*Kuet6 zfIsh6bYbnAX!lE$T&nPnOcH}Q#&WWv$u%wpEHGvB8o-|Z?K+jDk0lA}r%5AO@`~*5 znsm{{adzU1BCxU*5VL&8@d%~6P8YWWF_$aGj+0bEBy;W$DFK%8F9efdDu|A_6m7tY z{Z3LS(Fdqx2K&numV|J58|~B9=o&MJk`OTi(rSo#q&zdf+5zB~G>7wC@u2VYV$;W- zgJVbWOWb_+B{xmV6t8?!fV+%IVeG==lIXH>qwe?cx}{#Fze6aqjaG~K65Y6!Q=sz{ zo5xZy`8QKY>~MKClm*<$P4-wRB@xJG(H;FEN4_U|uh!NooW$jMkpIhiFtCP7N{xG`45kl^wusnAc-8*+OQV-1aYY#wSlXQ;2*IH*P z@8aljkMB)#FSE02Olc)6VGHJWvVXed_|9~#nQ)-gYa<3y4gE$>V0Y*5aH6Z|(^eG~ZMgBTD--1$ag6ExbX zX~(UI$Yytz0gnktph{it{zj|CwsZBk|33I}hM*y^0sfp#f=Eh2MYWHcfRzF&O>vMz zX3QFASTV3(4e~1C;ZDCer=?ilyFNLbvv|-+7qbk|5TZg>Frw(Kwpp*N>3mk6+?#Y& zU54$lhmBTMZ8{!YC*~Mm`ZBLeAM32O@#8Ri90-EQQvDjGF~2l66+Ny#WK<>UN5l~? z9$d3-5l=Gv1J4DO?Jc6Tf)uFYp-c5Kn`>JmZv&=inmGU031a2^4}!RC9RCaI``?(L z8O^D%$6ytE=hE|I}wR)t09WV*O34%Fvb4vL9z*=SJ#`4 zwK0GJSb@97;Mm);$D1b^1c6}&$dUaoumnpiHdg@BaR(aoY~H)hUo_7zzc9HxeZoCH2R|sFHZ0%P} zjy%|hbqLH_QR@ceJn@P*4%i6$Ht(h%&#qC!aU%Nwdhs@t>&@%Z0Z`)){VZOma5eT~ z)l{=q7e|iiiMMA=7+?nTEr74HuK~}LP~(UVVQdb>wbTri47)%RYhgy|H2Cq&J!L#e z{y4OL1kKER8r>otqs(y=l~VQhQO!(9zS8g=+6MBv+1%8n-A%gz-*M0QPuxfj>8E(R z?}arLtRhGO?3UOiEG1#7o7()DV5l`aBeG0`l6}TucUEFyy^Yg~oK%Z>_kEm3EeW!{Mdi+0JY1M)8B^cl z%@}mD2R1*l-3I+&(^HoIDL-lUPb+k0YQxF)Vp`TMaK-UFq~;BJ^$RJ_(YoOk=w66| z@@#rVT?E~oQE!5^$-Fw22qZ&xJ#?6ZxQ5RR>g(V@EbD^B=ANcSLx*teQ`4M!{ah#w z)twLS*!lsRC=W5(3gCmW8qLolKXM;DKDX`{&C_^${X%A>KbKt|W;n*yPMG zys9TE-Xr{9H<=L}kdlRFlI>)pyoA$OpnaUISXrCmR=AHb%5~}HysiSPipi*X>PeIi z?PY|xMWtF;2S&wO;ASw}goHZ#aGHAxh^L2au;{o=AQ47E(HFxxoMx^8ijIv2f~W{5 zF4Sh4L%3A4!0ry{@tD{|Lm`J8A<&LE+Z6%mmi5XEt4R@pG5rB#!t(@-Wedm^$V1qQ zL)a0kBD$u;P*i3f z%Lu%AN->p-zt!n)j1a8lYL| zrFRfG1Tm@w>giOf?(*8PCQP|0G7|I!UMl?vCo=!NJlqT+F(%c9z>6t=i;g0&>mX=};Z0t5w1gm}PS3Vgzs#9Xbk{enb?^6%*hRKuXs5?w z^eH;N@9V+s@%>bO{lTP4mub6gI+cYQrD+_4YdTjeI>s_)J3rBMR7w+Xk)x}-U9wKE zb1_D{hY_P@B4$scJIos zOEO%%=l!>i`)jQ0_l9k&?rwc&WQLVQj?cI0+s@th{r=+n#;a0!spj{}@8|AjYHDw> zW6xq<82uT4K^?L0i$GrrBh5_3>ca|)`!k$R&<&h>~1Y`Qm{=atL$*Yo{^Y2g01 z{pW3o^~A5edpzl!`E@d<+(DPF^Rx96qII=t?Ob#eYO}a;I=$kg&^3cmaz^hY4`C5k z(ML+c{mHG-?W)0TvtrXwSCzYTqg%~A1fA$`!Fi0Uu$_N6E}A?=`IGqI$sD2#9}%v3 zemoVET9_jz6;nNV`oTO}Y6OVTw5O2hK>|al3`+PypAg0hHd=@mBG_wA>nUSUKvRn* z=ChR<^|+kTu~jb(vnu9l=YYtV1b;G~hWSLvN%Xd1Jl(>i8Qb5#Ch1-y>DxrIm6cSI zjj5^a+EmJi?k?xOw8+fmj-1BDXfB}ycL7)}-KiRq%WS&DytzR>>}{fa7y75C*DTcI z@-I>`c^ZLk3y7g{vUd)f@&@;(oCT5ZKU*-EcNb7Bc;TA4a)FO*D3|GU>Ubxw8pZA@v&M^~IqAT-czKO22sq1^W5F9(g<;%jp zs?~YouFlmW1`Rc1FOp+1kko0a+RKaEb>!}@4KI8ZytU-EhP;;71$3L8w6Kjz74kj# zExGG7@Hw-d`{P_~ekxO63b@ypswKQ-l{n05w6%Mtqd}q#^r9zZ8e=XQj03T3Hj0p5 zTJF>-`7iAtEk86BJHAVyo_u)*D$zIvgLM?mIDWwhrW?zH z_0DR4rN1f=yJ4?Fhj}zGl)heKJJfxggfs4`!AxEf&Ptn8=UqX z_ebp1j33L9JQ~CmA$cIX&(2hV=&^MF^e^>C%PFwl6{ab|^1ya$ysHA!qj9bDTL+?3 z2e$S{4;ItjY3;ZC&#`3BMf_q{iNK=>J>#^#6tCQ%iRBF*=}aec9SDgUELg(n zFMrU1x14;hCz7$O==xIzh$@LOH3Mtu&jOsUz{v*-xUMpyA5axIRLJY=^%PEMYbhR$ zw=a(ZfsJPa-Hf7!YVz>L+Bz_}4QWqX#&JKjlfl$(87@cu_v>whGs@~T)G>{PDI7|s z*^7L-Gme@p)MPJ?@i|x;*Y!!yPJdFC=Cde?COC(OD+HVhiT4!Ol%cA)LEXAe^3O4< zuktm8=9%@vmWkgX_ud6`Sl&;OIKM+X>?lsS)@ocBt^`gYqqNb?O4r&|7bL&RLmxFD zs`+wLM7K;y*ozM|4#+hB*dtG{Y7-DlJs>2Q2Inv?(^&ti4po9b-B=``stRcid3`Bb zMeB6!2rsaZGr}x-XHT^M4S#~b?Vw(!ndFme7P_0@c9Ov3AYG&;Qk4|Y2lb9TPrVVz zo@IT9kPaoiY93c-s-yJ4E2a#Se8FVqGhmML@xLi#w)ofz<%F}2N~$kg5vGU`f9dnd z{wlB15ZeZ-vh<729+wg#AteC| zLJ|^tb7O}v0SGK+TQ3>xLc9YdQ6$kOArVfnLkdf^2s`(*)%W|Geagvg?%ikCd)xD` z&+*B?Y;o=+r9DJL2*qGdLe7pZ0YXq!TRRO46d=&8Lx2E}$J~U6at`q>9XDnJ;3z6! zI7{@~nBW>3kVuh%gAvK363z*%lFJR$?g_XJM6?}5M1T+g4ubSEg>XUzlmOf%SOa*W z1Av;&3=%j-10C$$DP(({P|o9z3s|jY17K%pI6&UF1Gp%Mpk9u;j+qZ9wkepcfLYTY z2cVmdiW2nnB@dy-$W4Mo2L#gD)#V(RgP_Bpt_|5r4&Y9)2$v5mD4?@Luo|FG3e3_k zm%uOmchDH@Y(o&ypTfnEO~SpN8YBRTL#T#e79wTJ+1xsU8sHCZepNNte28%NFN50W z&_3k;+zCK?NBb|_YuRg^fWqnCtN}H3Ix^1H6{Kq`=(+$dA%H9>D_t@810=we&G!_- zRYX9+*MOZtIq^D@>D}jrK|oM58$e9u-P{L)TCD;H(m-ec*H0zl8#PSj%){(zBLg{k z1T#|L>!qKQf_emMK)^I;EI!{8PW$l*GVJ0PjwYjsYDW?t%ff3HS&D2rl+N_c;9B z_vGfy?VEQ%e$z_?dmMte9USsU;PU8=g8dSHU$dG^*R@{6;)DzNnY2=dV~KN2tWYh^aQD zI(LJ-Iu#!0{_J`l%5A=s1E99`Kj+C5NEmr8=wWg8b{&H~cD&X#MsK?@OLWtsN|w0Q zbnVhMlw_+~;;h%;US%@XleIu@YLaY-IQu_xm63+cB~KK0oE+JTXw8|1E*LMrN|59d z!Eh}WNadmJ`IopVKtd}%XXD;tX!d&5W>(tpY~xOUi0}%2mAYJK+0#CbVX$W@Je7{2 zQVv@`;2hPhyZP7#Idx^==+EWVhs9t&U_h5_uwF`{%tC{+zw?ux9FsZ(m;O2517Ed! z*`{USx_>$Bn&7puOf<}JrHprqBaD2}s?B|!825K>7=yj4YLKdnNqu&5*W$dVeAQr7 zy>tvhed~R-ay$I(Xyg8%@ z_;O~i#*9UutKlH{Fj~9xLgxj}4+O8fAM~nv7FafDUQx>@Z-d6yH9DEN?iEq4EbW8J zOJ=dS(+Y31YfQ|kUh4`aPV2Ue6-oCX1^Mvt)!?<1RgRjUO-pu(dnOem$Z)ftcN4O4 zX?l84Gr}%dTQxh%g9R|0N<)Nhk}^#Xx%UNIpMX=4HkQ~h=so$OCgCn_KEjD zobHLcWs>UM`|2r8+WOJdOt8K8y;8HAN*z_FvLE0>qjh5xO{HJo+=&f(sgBVUc#-6< z$}NQS%H23jEZtB%UkyKMH0Ze_4cv2xyIGgX1nf^sKJn09j`Pt2+X~m7T!(3Ine;P8ZJEGI?iSDPNrPwa-cdpo1g6p1zx||A07U9YUwqk zwY{qkB!QpAc`DMKJ+74g+`9b9v2GKL`|<2O>wOE+vY?xK*UHxYQ&tzM{t2B%FXz8Z zCn*7zFk8EFb}aKc=y%p`9#a#sAG%;Fg!OtC0N#!$tKH0UopO|$wugQ533eJn$ZnQ* z0>;V+^?~0`5S(U9=d&fjCYH2LB^1iw>N=WB=B<R<;b3Oh}LL^Cao7pji`jZl5fv>rDJG>4k zToWrcom!%0P3pM+n%`Z>q6)~Q8@t$?FeTlYTlCi(gE;0^wWgJQ`u;ACr1qos$$UZsHlV{FDltO<^`85iYGS0&}Z$}H0LRr-S zqCT^$k~vqDK)Cw*I~Z-(>MHCZT}yC)n%pP6?a;e9Pj`vG-E;QORz^b`b;Yd8M>>uy zwrG3uDxb>U%wOL@y)Df1(c7u#R)O|}LZU21fNdRNAAF5dOTj6Qwik-}$y?ho z@l!!}Nb^_~MH;uif%>*^biKWES{$(OjRK}Cj4I9g`_$PtzjeDAVX@~YIZMur?{8>N z+55;h#efUWfnQIM9*yBvepO-Qy0uh{v@GZJoJX$7*KkbefR=}I>YY(8JaNVEdYHKh zJ#}^2*C7xtra#sZ84`9s3GNgEFqu% zE1l!J5w8;8O|=tmi9wdzVl#`9B&!Lg9Z2P>;&Qr<^VG8px1WGx>{RzInAI%hpR`Pg zZTbRgj7{a};)>+7%gFYRshq@AD3aD@>Y7=tQA3tJhf!E@*660nb(gYkq0=INXl2>* zF8`o+rl?i<4n!LEhAYvlm>Xr?b!xQ>k@Tn^%3p{knd_BQWiMA-N{Xq!wIp9asNGsn z<;MiLlSPpJN1|7Lo7V@c*U#QJFU@!IC(&@sx&ybMhN3i>F)x@V%qw)f`2;%58SB z*v16?->31Azb8l73(zpEww&h5WLrg$)G4h8*eS0AQtK`;9AtX$Yk3g?MaC`z4=-RE zyLBDJa2?>mPgKdU%eCU~ys)ai-CyGH>dO8f)2oEHCtFh*_Td;2X`VB8v#sZ{m2a%} z80sy{yE1oLI$g)x{W-e9Pq!7=7`-z*2b(0Uhaz?*Wwz?wb%*y}ybbvHIss^5vRyjxUaSp zX8a=s-+pg(w(W2y5aP@qidty)PHx>-e^fd4i+=~z2IfW37L~5O5cYO>kmV&vHFCSZ ze$1UO26{MAUk1Q`x9=)QoL=;}#3(heA1~8#53TX#wRbDmPz~bD3D7?dYDSNn>yIB6 zJAS>%ED10_Rv&=Pf*5R&1EC|XGEDTzDkwxb3K?q`YD}MwP>Ir=R|_-aW(Z8K=Db-`umvti_W#yXFCX+V$yO2pFK*K~l@s zuA(?h*bn_RJ+8AMGYQ8tP*0U%!!pY07aoJht#=L%^D1#Zi_|ceSy?MDjevBF9G5%! zI}NlOFJnQb&P4~~e~(heNyYYfm=+J0|6tS!iBtd43xVY@9~&~}m+}*7r+yUG5C4u~ z7g+MZc|S^6+2N?5xNDbfD*Yg+06`G%(h;*s^!{9#;(#KIH7z1Vi&&lZPmFT-SL|#> z>*tNo`?I3gf}-qeeCRnrWF4G$st&s5%li1aMjhWXNsDCHSNYlD;F?0?hFKhKp?7XO z?(>k@h+_l?ZW0@1FCjjS%3kVl^Dm>eTMZq;gjtDd5=E%Zj1?@MN_=!`p4_WU59Et0 zlTXV`hkjKr5${oGy@1BYsHy0jjynNX@%S_{;*7x4aJD zg_g!HC*Ts~vH3D{10CK|=J{h%YM04!4E}8m-lP#@Zg(9L-F!^&BQ?*FA`GE>*0*x%rzlUGTW9-nb5Y{i@BYTY=6+v z`|3@~n(hLI^U|=HI{z|ug_4mc2!dzmo?|;Hfi_XO#b+bqb$7g0$eoUuPWt)Vjo%y{ zsWO>&kHFWxXk8BV0i!Si9dEIUi}il*Z@D45dPB=z#UZQ&pRFkbI<3EAly^-n!6>j6 zqUGJ{vEG+~@OxMBt4Q*l?3Pa~_f2l8bTV1p2_g@j9KRh&Q+p}2$|aqgNKbtHGuAs$ zq|jC){|K7p(M>Eet#KR26`i{ly>~P9)vHJ zmA8ljLRf}h(~@b7c48EJqQUdmW|N{mdA}hhG2C-}aVvk&$IfZM>bybTNtxDPPB8o~ zjkX>%akuR59lqYHd4WcA_#1N##Da+ubvQnmes*+Gt{8eJv)CLU^3yjI*9hu- zyKxjs=M8TgX-_G#W5)K3hTL#POTcOVA=az4Z-{cq*+?sLFEHikJC&<-J&8Ic`@2>a zLwW*%5zu6w?sYk37eX_!LFMTSwl8T3)O~Py!S2t}?SF@h#k~a9RxgD<9(d2?rgBbl zyECU)$CS*(>xdP=*5Mm6D9T8y2Fk3I+8pW$DSs{W$2^}{G91lE4i<{{;@lGm%gSizwjsU{m4@Mbhp*M7KOKSBSO{k3dWjC zs{I-dF+)=cMP|WO%APCA?R`^d?FjGcv7vFP@gxPfNRH;^!Dn^`(VBSV{r>EDfZMZX zF=YqKsbmu%D?8qdK+_Wv3F@kINL!#PhYa0snpdc1Zw@w7)OY&7m7zd2ihrvjL23_2Hj zjHSEZ5-GHfTYgZKJ$P2I+!LH+CwrsLH4Bj+=AACu+B-M)jj+}BBF>LQHlt_mq9Va0 z!tCy#3x6gAqs<+CJ5DUqS(LfdB_9%c6o*Vz+}}dMcV{y)jW!*8#Z_Qf2j7l;8=ok7 z(1M>G-=d}+`3Gx#zUO{lYY-q{bA#~GhJx`xipKGbxDCwn@t9_mn5ENbD`T{8}EWf;h_`bKd~EPQHY8s8j1pliQ5tYD^E6>d8Wr1u+spQOcklyXd; zZW}DW4^LD5cvF05Ajd}W-J39QifmD#B{p4|XRAD#jlE3Zs86c@6RIsZr@rgbm+?BI zlt{-68|@WrE|Z&R7J~V$Tns*$<1;)>pPrHN zqe|PVB|5wy=r8CkDrasBtjUy!I-O|iO$7UXeG?4W8DuZ=gEu1DD}}8~N7oADdosdz zFxN+AZ9J?SRoZjtH783)^$TNL>gCnZA>X*g1-V*LBta5gg7LSW=!|(tx?nQ5mL>eF z#o{@(m)nO1Xk~t|%IslW$A$ADx*o$%{%+8_`^stwhR6dw68)zp*EmpFLs#^}oL)Jr zlVp$;8V9+Wxht*7ZNWdHqQDc=!$kBj4fNfCgNf?*p#`YYoWc@OirEu6ep)GbvUt!K z+5OK{QyHuZX9;ktP-T?K3BSM!3}A9Sah=dmeqJ!JLL#2ckXan?w93lG$!e7(ugvQV zQiycAo@KOde!%6`Y@ilVbVPxoiMg{EkHN}|tzS)Mi-?N|M(4$j3{ZviE@U!(Cl-;A z{lhr^mXRGg-NBhOU1Lq`r3O>H&g@{}<@Zu62@xoS8n^e?`l16X^4;#ACmz?+Ul%%`?mSjN$wmNlcsfg$(7ZciY>FAPVdRIarq1#TQ!ts3>=Bl zUKKd#vXKLIleUDf>Y{u-nfmPme`ZFDt`8^hT{Gsckee9C;MKvs8CeV6%sq@>-4^Gx zVGY>1rUB44vC^8j3gHVzRgb=Yw%~&srd@^Y(68W5yW>&bz$WsvNv~@eLq>Mt+ze(z zexzH9lKz5N>^3kpH_g(NI2vbZdlW7-5iEX0%M*KM-iz2_!vthXv1lSOXhSpMK54L0 zof(x^iSCy|0 zzG^nrB{O`Xg@w(C=sW zf@faR#vp6BBRcQ+9Gz4{VZal?_V`u^62^R=T!&arKdyfY;9q(IzqI*`-R769Ll@v? zn}Az!WXPC{KB@ok&1(e6Nw%?&{nl_alwQx8Yns<5pnFr!F&v2z`2Wmr*5$gd<xgTBd%H8$;Rk$y?ZV9uS8rtr)5 z+i;o*dYKrI$0p!NdkyN43D*U(?B;fh=c@BGhSV_$dR>fJ%;lF;2e`)kEp zj3e}{VR4_UeMam;DDt}>lG=ZGmcI`TfHDBznwIMM&bZcK^;d81l^%ZpPkEEceLXdZ zf3zg}J|Rm$4^@d~3rdx%-4#6`RBNitBgYAYZy|4|tPE#%1=sNS8u)n{=I4;G;da(kZ((ueZLWdR5n`&C>DAh0 z!#s;H?b8h)N#!ZfA4&$?eg1yAo5q3GnDvgE0t zcfH^7moBMg6_&H7%pixrxp1*X<(q@}@yv3=toEo|^E)5Fa(I0>E9bl_s#*%@v^0kR zAyBpLko~dA(w{XSSxhK-J%=mC)Lpk`Xer>EO;pHiyO&@wlDozx4x?Z$T$Fx6DDUGb zlF7h`m%wqyI!*sl64ODs7DIiNvOI&w)P-3suWS^L=@1uiHWMa-?`5hXmX@QSu$=8J ztl1_YqEulW+Re{0Oa(2){>H|Ma$6xFptNr15Z@zCz{CsxT)E77_HE_V%8uNP0%d;T ze40;Nx8bj$ZXaXYGFrPb^hXa<|DCc8nB38Q4L8PYBkI>8jg4EmgTalS!%og!Pq&2>B2;7wr%%0 zZQHi{v~AnAZQHhO+qP}n?r;9&J~P1$Cak0?t6=ZU!dq#@J4hgb%PK}v2r|GzEO=p@>{>AzaLK_o%AP9CyyARO|G4- zzrZY&foH;~QXJWiw|M>B8ac8(PLAKKh4wMpwbN|(kWFm1<1nu&2iJ~N6lGaxkXMJR zjqj>zLB-029VfzCiv`J+)v^0(Dquyf+EXfYe=cJ^t?)gaZ-w;TrzuIMfF8m3ysW|L zk)Da$z!17Hy+C|9E&b6z7EzD;%oZCZd`4~nhs;GyBi2a<4zYC56E@C-;+1g$k&-j%eY(v%{U>*JBU@#MI$Y^@4t0bq$B_$OI_ zjp%S<@OCO}w5>7?(}##e`LB_L#OHbnk&h3f0QH!88i&L6(%%d1k~W{Vb;=9nQ( zMIXay==N8#udzYb};D9)0BC)+~9k zv_db8XpP*Zjj`oD?Q%*Jw0-jZykMpJ4GKS$lGuf7q0%JROtNe(o_y7&ijgKXMAqas zcA|^|vURVjeFXfHZI|@g@cc&GpITJ5MDTIoF_7Zgy3fx9x})XW>t^a*=Qy9~cFpLN z$3tU9s2&_wZWG98GPa0dUM~b998+c`*ITn^gdVHn3}?hdzyB(10=(x?I}famh;q9e zWp+w3@O323mG_bV=9-of%~?~fCc2(ha{Em6ZtnlRxyO4(g`!Fo%D>D=*GJ)@=@d^P zR8W~|R9Z`{nD3*5GcQy@SIZmt*z!ydcQ(a47-V@v%Ys*ae&(%7WL;;TZ5opPnUaE= zH5`nGKRsE%$RaCIZ`w-h4E-Jx<)W7+SJ`b6_ilZaL<_$qF(CEM7>k$t#4YfB68eeE zc$HYW`MVH{NyK;NDFvzuTaK=K2iCe83S*y_{>!I{M(FWD2l3Y zj45z7MRaLOL-qC{-1xC7Q%uNJPtFf$^b_ME^8k?>TON`&atVlfxO%#tPUx24%PEYo zl$$Xn{j>woO5iV11BvXyg-sUm%)t{geOz`S(cEx=Wp_Um$yh<>wn)(48rJA08&Z=F zY3BDU)I>VWSf@{&WLK}SA{TVBzJHe9jU>j?&FbpAVtCFt@!^WXz7VTS>?Q`wuwGU6 zSrAfj4Gwy23v;_cg^I@GVWnx*DKVm)k;pIRL2X=BL4vwh9Qm%lXH+qoB7U+d1Rb5vzHBLjF|U_M7d=s9n?6CI@Y1_Mo*u=YT>_P!b+7?pc6CcP#Y0s;>N9xE`I*Ff(pAow)CqwN$ zv)^KmmX9{{d0#7ea?^9c2_j1Oz1}e~(A%iHd|N}e`bx8(&w0^rl3*&%$wVgSf>du&;@H?tf<>5ELGG!}0`Z|l zOgvwb!R?RCPc)^)-#Lsr&%iq^@~|wPgO~V;?HCG!5ssmx#R6l*pTtktjLm=Vf~E7B z(Yl1zG@|xDqTcRmS0HN?g+vMlhh7bH3?2a%8q4UH_DS5VV3KeIddztegtFD`FK&`i z-qLQix}o$clQpS^rF&4gxkSSDBhWitcHeL`D-Nl9@7PRtwhSh&7H|AR${agT(YW(~ z`YS+7%@M``!K3;Sl(j#t&b_aSEm?yVaeBeP7XavY@aliTp|Jf|uV5gsGqfb&;rX8k z(SJ!J7ADsJIWZBiF){qFNh5Yf_W%E+kvpVv($*r|qDUo_I4eO9MEtJToer0TzkqoB ze>&5u=Up&CPvrRB6eVc>mqRMdlCT!eV1fObK_R(tUNF>8Epdb+6g>dt&E&<;Kqf-4K z49>ws07ndhYlYlaTO^=OprAkkdlIf;T!hee;Q19`2+K?$Ts5d~`ubBnAlv@DA>jL` zM*#Is-nm{x{{7xSD*@8r$O_smduzX z#%2L zPy#t1B>MROZUhP4t&QKC-7{r@^wU!drtZg+0X;-)3Crh)@=j>QLjszd!9BeD%8T`@ zg?j%0)~A31uMgr7H~<68##8q14eMK{$U)O8T+_YJr0W2|J-kp4WPUVnILv zQ(<_#@ywsLf`wYITi}9ntNd3~1A59+n+2!xZvJkO0D;{P%(D{8Z7=A2nEZ%|#CK(3 zds6sGf%fF|t@YUfK@G!#5T$1c`jh<2(G6?WTOD8Ue6)_k=oB~5=3fhkbu@4a_f z9-dOn@FubYt?lH`uI1K3<6}G$oAR*dyfk@WBR8j%VMPonSZ*Wp8&2YXzj>|!4F-F*Z(tl_Gm~P==zu}JK->0yDY@@N?f6i)M&Ada;3GGYE)p4;JaN4> zKgTii0O*Ai!1m&?J>nm<7{q!rz`8D*SRkiC@Rxz zr^?R$%#GtRy0u>fVihrr^+f$o*{yr7T|mPc5YahKn(YETC2D*zrYz{Eb?Be(6%^F^ zZyq<)Y93h5uSV#kgYx%2APM(Eyq_$@oR2&dy(G4oWDauDNe7!yJjxPb@ndNLf) zcIRwJo~BZG;vy`w%=E`7Mt2!upsL>Jo!;iKDd{7uda2}qFeG1JGWu!=V>`lD*0i2P zDag2m`nbzVeKTf`>UJ2usN;$!uhMJ9g_KzKnc%q&7>w>%!DzVU4 zYleHe_WmDA#*QaJ%%7?c$%8lg;=rsDMG?>dIrPyuTguCuk)+kyorSC4P@@$6GuL5q zf4h=|wU70MQsFEa+!qSq&Gsz&7E(JlOlK0NretzIqd)pGx}VELb9}F2+iNpTp+h`M z9i8K2_2tR66aK7MX?GXgcyD71Cf%5OR~PzHJI{(X@4m4B0M%}J_?e^SXW8(L|{~a!P##gPV2E7(s#XXWgM*4S=ST`9M23o0T z22>mNt_LTK0!Iq#iQJ)V#Il3IPWO8-;@n_EuNp96Jtc#8olehX7EN6CR<+~hyv@@l zwyiEcR3N_l)73`?{^!+kKZo)CoHnZ@{+`uBSWxl0cXnG^Jch0@tXGA#E#4?PNnE-& zZ3Jn0zjy;L?UWSDTm!LM1)+7T)SN`Btmp;%R@O~geuHpZ@7&y}_}N4fPCMI^X~v(w zGNUZX{&Q#6IxJ_9`=c+TG3C!I|0`jEoG%etaW@W#6y#jHZEv@n&Z7nqEw;CSrl8Y2 zHyuMPd8*G74YuEi+nHO~-0_n?^8-#Q0Ck`fVZv3`06$mrZJ=?3)+7G`qJ>_eSi{VY zHd5|Fee%3~iJSS-dzrAUR!|~C$t^v4DxT+ZrXR*oNbB8S$n5&B537^* zC_qG7rfT_~#NuWS(3B7<16LYp8(pTUg#PitLG%e(-XOZh;S~`Bu{@;Iu)5s_o;<)w zL^$h8Zg73Am*H%Y(xIMy?3AACpm{W`-^{O!W9B~p$1r>)1|syVKc71gpHQor(^EHU zz5$g;7JaWjT;0j*muEM3Wb>Ww;X4(l5o#)fmgBv#BfS!Tf83QQ)oJZ;Ngsv|!h=%Q z@s)9vffFOyY&?7EYNDE`!)f+UgeRO|QG)jTk@#m#Sv=7Mwk0XJIu=Z+2#)<1euVQ3#Z^kI7J|#fGc-b}24@ zwWBgNiw2S?$VzsWlTy~pX5=?^M2XtxA7IKe8{X-9-(}(IVl@dchi&~F-yX(l za_}^iAcK*L(X;#4S|1wPdm^Q-({ea&$g+J7-%QFiqFuq0j$Nl!0C<KbaQ3C)wlJ zHpmc86pzX^@h3HnNQ>g$pWYa&_CU>KbS<`pIYdS~IYI03Aod>Y{YzB#8FBJdro@4_ zXetn8uagdRBeru85`Fcuj8E<>71bgQ+z5xOk)SWd4*vv%L6fi699L?hQ`LfQ${@HTI~;L%_LGq!jzg5QORx3fmd{-teiErJvSsJhFkac29B~aAi{s@a;Bf>L}-%R^koPW8| zk#TEQOhhm=f^;3RQT=$LT_uZ+2!~s{xUOsDyQD(o+iVOnb|99cB&p%0OMz z#Htd-*KFy{#ceZvGX5UcZKc`T zl-;oT@WhlXc%e@St!~<|nhcVa%{xp(QvEilu~j^9J=6PGeVp3ur?c7WwDS*fxAB+n z>-#x9rJn|t5=rUy(sPcq8J^fQ*%279LvxfiA1DmAYqHMi>wtgkmi)=R?j#99Mb*1SSt7uOm4a zxwB8mZw@)(7(JTg4lK1-P{Qqz!SHbV@G29*AF=r7Hz4fMn~WnhAH z9eH$UOLuH+HLo=I2g)|hbq=z(C&_!0URl^~$B9$1eWs@`j0SO`tu@1 zbci?(tG5!zCY@RLN4zd-{}nuMYY+ zamU^f<|FBY4w1k8ML)#me#Pd+Fb+gmdu0a|XZ09YnL`tHBC59^a0ds3Nem&~9x_6Q z4d-NHx(+yg1=I}Fdt(%QkWW^}e>v2YyW?Cn;mRrc%R)eX$|qHH7wUN2QC9x+S!tOT zw#^)(a=GaJxJ*@B5XuO)5lGHpuWx-MqI+E$DCc=R4*mN?8VQrc4@}b5sY>Cbmh4-l zGjYf1ypRqMJ0QB}4lzzre>Eh`UTO9!J=Ei7FM-@_8s-#BWx2Rv6f>ms98OfXNy;W^ zKlh>B^ha*v96dWp#PPIb;cyF-X6GTUES;D-e^+-Mcczh&xax=$p=`bnV)g@wws_h?9yWs-4xok`!`z9^@=LGz%Az- z^i5w&_EYRTYFywq=L~!Ce(}0*OV~6VD}{0Ry~du%34PvyqkRI>Vb#7T`N63I1(iSv z2N7lLmqRAaC0%7Jo>xK)zrS;;L|0ORYmEtkR$TDxq^eoO=#g>GLl_*(vaB=Q89+~P z#Y|UA4ta?j?zxe%IuH@E@{h z{QJJemOj9N>j~vsw4h$@{e~tt!VYZPAj;G5NE;qo9`qKrrQfh(jtjWEPB{Z$x(J?j z6Z7b0&JMHZiLaz0`Ep6U>`~klro5Dmno<4IcSXxfv{DO^BaC~}!{LLC*TJjkSww5Y zr{c(xL24PnK z6(=ex3zL6FbJF6k7=Qe@D|q4vfkuzt$R^7rPmyWKoLhW4WuX(bNx07E_lira!L?QL=Kw}Fl!eh$?_wOAeCo67UP(~N z;>8<3gLC9ZfbwRlUJKXNp6FA3k6hW+^mjtf#OTdD_~9=U2E4I>XIpiH6C zYDf4XGPjC0Ej1({7`GYvPuD(rucX8uAram=o}klmHKqyo49aLVHe3sN&NIH*>Dk%o z)Hv5F%KA8g*O`yKDv7N>^)idba-nj5P<;GyZazRuRlW(;Z=}pHTec<1fpag#OWbj>Zx?_d1R}i0=Hb+AN3O8a^cdxxySBg0y8osJRWHu74O@5*Yc(X>7JjrFQp4Km(n%SdSr ztk;aj4?r7<(t0#!uh~zi+o{TSa&f6>@iU9aPH~-C&JAC5nf%OrXD}@5m!eq z3t&S|;00}>MQ6swx#Wa&-1dYejlHhaXG&~undx%RR7^fZ=N7F}`ml5^nOZEOL&Ka@ zn&mQG{t1tp`2W4GID408ptVUg?FkNI&RyT?x;C}sfo5dLQqw~uu`Z=#>l=?bs)}6e z^K39Im9!hn+pga%<=Wr6#$?L3Ghs^*k(rjc57g**7RszV+>T(3iN1o)eG~Sa;@u%d zGpT6ZzYXyHfZBfQc=G-mqoFg_S+@CdIkMy`moj)BZU&pj<2tPCEi*|yKk+h?-gmUhK}rwC(x4%DYj#eI$_?lXYaHb90sMLSy zZ7H%Ga9Nb%R5cUUz^eQDw@f!@w~?bOeFnRD32ty3eqv3=^siunIK$kIiZ=-h4&F?j z>@br!ONSGK&6OF%~Kp(FOey!9@!3F-V+u5Df%iYbXS=o zKGVXy((s=p`#DBOPc!~uh3jGyhH78tduXls zcUeUg)yY*;VaElx@W)EKCLZ?GwXAY^Vtk7U(87Z{@V7hvmg91x9O6^Y#1BKxhH$1h zy5VkmnuCg1+sh1h#V9kH5s7YRYSs_m-kyR4Ifwb{tV>Y2b9W=y?ihZpM(%!wO1mlP zmSQ9`Wcpbd7BRtJP`RNg+SAc}YUhy?5FFV)Znc%=R|7b$HD}NsKmB{tnZkk#wHC{d zU&L;}6=cBHEr34~)Z&ddUYsI`D6=IEv}g<>vxbedx0AagF+_EX+ND{Vy-8vx zW+SA}@rF5>(b}R`|h8PrgT2(4i8G~u#|I3rSne3#%J+%y`o@vHVOQK zF~rm<$fuRi)31C??WrMsC{vas$xh@LrE5oU+j6&O@v*0+~Y`P zn2m(qsnN5`LKX);9lhADeGD3Vp%poH$rg3Q60R2aP^;K`O!}UGtQj>wVgX1b5RD6gW_+AA=K0ae0MP6V}uu7u+;8|Y-@%Z3H z&w=}h`aU!&a$iza7iyGmoTbbj-dWCvT9(eHy|D3@X|8KY?mb(ZBYsE~Yhiw;ly?ld z?VG+f_B*LrGtUh;sWxuTx5NvISp}!OHU-bfXE*n<$yHhvO=t#5G_}_3!7nqg1Iuvg zbMk*C_YbA$VSVQL#?bPre)~@rx3e5ezd+z`!7wG`NeZNDcRR3*Cyr3ru)e)oXi4>$ z`Rq1DE_+Hjxhom{cV?U}xgkm9m)`e1T}>>_egn!Yt#&C~1U-aJS}4MeP&S ziJR3XY-|>JT(x@Ip^$DfKq)Hc)2RxrfCBFMCVX}^e7}HLuHJK`dT0ys$F|MMqh6N6 zPzFVH2%KeTsiNsLuEuM?J+|IRfp3lBbsr+DWwbcDfWcxWk&80>Zr1-vy4Pk6YCUD@ zBz0xv;(2)fkA_tf=eP?HZJ9b@gh_bhG_VjeE-!TAWR#nMWFhjJZq3OfF6pP zKR33gR`=+H1tZcotsHMZaudEC&#yfTpq~>pdcdi&J;s~zI=FpV3)EV<#Bp~VKv1sh zfa{VgoZQ1n);4SoLmcTGNPEzzG414UDQahp*B-;&*3$%SL_|NT5LP&pgifBU#Q2+F z*l|bX{Oq(c2R?P~RK;=id;~IhuF4((f=NyZ&Agc)STDyoP7FooN9Si6yJ8LGl!8o$=Fe3#2u30+|- z1V4G-D^~y%?}oO6pSbL5kP$y)X+8w@7-+O)ri@ibBbUhy4C;{I`$pf$fKp)%5P3$% z_$(xlwr;ZY*IW|kt-LWi9a#0M=Ah=!@J&>e5)#G?K?xTFu?4IK=7^5Ty>S-|%xaP& z?Olh8aPi%xHZtJgnc>bWCn(O8KY-V{rocW^E*l zPlDwJf)_+{Z6yjNAYd23H3vZg#sW>x0G8I))`mI;GT`=NhlFKzLh_eXk;utRO}*u( z1q1^{Z~qQGxs?@#WYGE_{x{d1-<;irFo*qweemm1z=Q(xpAG<0g0&(LP}dbyQk2CJ zAf+pVL4w=_!G)^aegf+^qA&$q=w>$%?|9u0|w>Gmfe2}wKCP&3N^;iu#B=baxI9b9<0g~fLRC< z)hfT}NH4u_9pHS%e+Bk!w}QR7rPcLg)wa`D_=^q+8&5pHnT!_@@nI)xG{3iPiq;AR z2Y`z#uBpKFk9gQ~MJ4|N+;f8B{;m*I`k97)(nAZOa%)+!`$NzF2@sq`cxET{zXZsd zd;<6q0N5nIcF6C2BD(-~2SAl5V2kkAk9Q96S95w|Q*(Cy^bY9zD-ig*$KV=>$=~l5 z!%8R&AlF_H6VkE;Fc|WKSBCt}ItC!dl8oQmF@xF6{K5>1&%N6fg%qWSP|phwfEZgN zFt9fNZdLegsMyH(Bdnse_V-2pR%Q6#Nk>NmM#>Cr4XjPRQ)RG5vuLOVDzxsxM%_tjP$pBUlh@tWEIn@0}Uwf$UIT<0K{lDyl z_KJgqUKZ8Wx^&)p{ z@)c2|mZFs)1Ld=vY{g+*UOxF(045gBd1vVD266sObSU{550F`MRLVwp7cr}1l$WO7q|2H?-} zH<1RCRetVyjafGy~GcOQs|M94w>;cUmY2KxG{ht8JUfo5GB;q2QzU;0!=k0I#_78^7A78_+$PB&J zeS1d~Bia2N6A4hrQuD#c?WF0uWo_5;JsHa1QUBtZ<`?a3s1P=O(^H+}5OD#M*gboB zwb)raS(=GD$~52$;=H}P9+PSgs#w3ZBy)`iAqDw0-@PtR3A7rXi_ z=AcsBZ9E*F8e6vGED7zuw^?sxK4B{hkhnyBhi07y>Y1$;3kEB@M_N!S%rd|=tUQg; zgzMOXI+q6*iLcVGX*YOxg7FHao&+~Ly3N*7E5kxUty8bmB!e?pQ2hk z)HY%kp}~u%?IH$U%|WxV9#wE%Sa6_Zr=4?lmE(D|x0A-oPBcRsIj#|T%^rqsIV!JI zt_}Pj>~O|PpxupHs*tr0L4v_&Q1UToM(1x#!gxe5G=3C+VJ#{DfgN`u4by^S}P{D+*kyRYn1qlTe-C*~jdf|+L zN8z{Zw8p24Ad5WOVCBBep7#F*qi~Bl>Hbf2GRFb?w64JhJEJo66Aw#=AHERv+7Z(L zsi&Yk%#AY;u+seXwW?89cMyzYU8ftFTdjy6v=F_{yI2_*NtM0T#&)CE>Y(D-k>|4e z_yat?hftis@k4=CS+Ofyq6y*$J%9<|xm1g2FRK^PeTkCMuIkkr2CWN>UuqUbF*=~- zLWh<7CfeiwCX9Wzami9juo~M8^8SZ`@>|OUmZJyXsBBSs9W~DSYNa~{bIZGLKxx{S zxq&5Odw1%*fZt^cds4=xD1{+Dqf}$Y!q~A~ijQU$7o13YV#}&8uELwtl;XU96%|O@ zx?@hqf^Rxk*3iR}rl)M$o4U*C1nF3qAuoQw)p<4_GTqpgn2JZ!?^+32@hIfvMS@iL zjmNjD!o7IH*rz^Y&uy)=v-6{>#t>KHz%N39X5e$kdvC+kjJw)$DqCD_+CpbEU5HPh z^iOfDQMG?BzV1gjzcdUCv1>~_p0OyIl12?D*!cMDv^is7J1}|K?l8Uj>7quv(c$7xwLisS%!B+l`qAn8q^sE;0YYLhUsaZjSDr2cNvk}y^Jd|E5Pf5r ze5Bjx1fG;*xO2aC^P6t*m$l<=doM)tVwGP8Aw>MF$jp7vwf?4sG{vO1ghdFB@9vvw zL3C0~uwul(H=+mRkUF(W1CK{&GmFJ>Be{p%A+e09**4z_>*P|%dtQ)q+=oj$DDMRQ zxr1lS=|nlV)sC02b$IlU@ClxOgmtoU&|pe%(#QzLET&&)UOT|v=*do=r);g%4g)p~ zhgaR2un%86dv1YtT_C-E`Qi8Xvysb6R1~Z7=WG=BcKMwBHUr}D4u2QgbFLMdBB&@hkKp{~Sj?;UZ`TL*mAx zYxl_QmX{XerTj=g9-q999x&9zF<7F8lx zq$DCyEe<|RMLRJ{B2sWrLDWg*=D{MaSY&mMj;GGF@w8<3p}2ZhKt{j22otu0Qg^E5 zqZ4pQ0-5GJ@qVxb>{hgw=}Gp2qJbL<*v z?=RkAp8c+XsqMe~p~%eF0d4uO>r7z68ld2Ccun`MN+d)p`8M`9as_j5*NBt0{6mB| zfL7JJ_3pBe?uLw&EIRuc`{imy+P1iatY1)2>mPR$H-}7!$WZ@L(bu<Xu@M@i|$d0T+xI3gMod5N(yja}Q$S&-B_D#QM?>;*C8VC~=aN%A-D!K={ zdYH;F)0^waxvI%lj6D&U?V3X7AI*dYwpKRUo&K2~k9yVb|9v0tRT4q01nHBRHDnAU zRYs7i2Efs~jyBap1ia&^k57dbC^wzCV>*9=7wx|4j6RH+`ANXYwBH|Q=12LJWWb|m z6^0-Q8cBtBCoMD?3R3xxyb1(;aTejU(rNlA9KQ@%>jC+A+*m*js9qMV7P?qDKdEWS z4ne83nhAf`j&=nvIfmMxT6q^}J_g#?puP&;dzdDfs09f+Xz$1I5T)6U_4D`G=1%)| z}y)*vet!&KAl>PcnGfG0@(Vay7Nug1Kks``&fKw9@ zD8+cOuEuBL!g*S+2jKpLdXt^1{ytWE3?37n3p#rlcVYk=@C>=Qru#YvPF4k9@a~6C zZE8G!D~T?B`LcvV{vh5{4{S^x$LHRuiMmKKmpx)RozZ9XaPuaL6HQDgJ9L?{XV9MT z%SMbaWaK``$JZGMR*LdJM2?ix3{koYOq-?4#Mz86>8lzQhVjf^yQ9a|KmJD^%QF;8 zbPVatEG-0qL7hJc$KeS7I6QMfcu6e_$_|p&*wY||bKJRkL9-1B zud%(6Pp{8%&j}p}e|Y--6Ojh)yUh6L;s5X5_oYmj0#nc`Y&f!&^d3rWzwQQ@14ktJ zhvhUGA%nvh^x+_^3%#xfWx`kOqZf>kIYUeX#YP^WDpD{rC9c#`3wchs%2`{LGGsw_ z$ahDU?a5IXd#B3K8ICJMC)0;lum3LC5;CZOr7G3jv4s+12%*C-Rqt3c==7>me7Jp* zxpulTsMfz`!QfZi6zx5j%OVq9mO>7rk!lpJ(1oRwgkCVL9uRcKL#;uHCpBpXNr&T< zZqNfv(pyMF!9PjAHJ=XEVAY42I$Cr{c090IC2*EW9jZ8z10z~ew;-8@qSuODz;c=NxD$t&4+9U4j|prRftLr z)3v-c(DO<3wR7mVH#i*YAIR_+Eg@T#d_wcgf!YWRj(h${55eLAr|YBK55BQ_6n-OK z>SS4id_=?n^Vn1Gw?5A`5r>adohvugcZtR|PK}^5^htB>92kV_oC_LztRFo8Ymx*i(ir?)HT z5AhhrzMa6nNz2JE)aY#?^j9N^b`#!pfqp?kOeNjbbjeV~$GrD^C_~f~)TT>{_FEH@ zcrZPFRc&eCu#Z78mNRNhcYEmjb5!XO8ewB-m03E!!?R5DkXu`4+Npe&%E4u`&IF#C zI2y)6!7f+EOX4QPx<`F)`~KU0RJBii`7)Gzl1<)eenp)Pb82G^AflKZu13LySgPk3 z?hg%xWoENu<4H)7kDF2Q`UIm}T+ljK#54;QU8UL5-s{0~Es6X_^q zxaw+7L)`E@8aSJ*2N>6623oNU^=9V6*uWsD(N%@Txuo72`Q>@4ea`%q@ywvpeGy(U z=KKB>9UNH)bMqcg%P@I(Rq{T77VVrDpw0W#%?!dS9EFt-K-!D|$haOxKM}sPUB8EH zMqEK=Yb+Ld*8{82VeLW;_UJ2`qQ-#~l%zb&O~^c&d*5KI=7K#ifMbKZN>V5&84A~2 zJ0>WpmD5e_s9(1iVs%pXL00VgH!Ct}x?>K+he`S*~3Vp>BnoGC% zFu^MS6c=>l%*oain@c=|dP}9!{7@s~inwtKPSJYICu+frr|gLs`8i-<|A8IaGfnZq zg<#-sZpDO3$JJ0EO6`YL5b0*ix{9cD&Rv(2F8F+Z$S@z@_w*k8nQgyrq^S!~uS=Mx zr0j+DqJGo9Uzj3nt#|s?>HS_Q6^%WHBu=-uaWnSVic+cl#bUu0IY?JB+y-(!c^>aD+9WnME2k9eBAi0uK@o!j_rk!S~7e7 zqDyp!Yu~UEyz!~@GjuD7WD}BLig)%OADz%(*7Yb)k3VHU6>+-Y%R6{$JSv6S9qm)G z5{IZP#N?EwC?g``YAh8;ytfn-(VElceWHpc4qr!VCK6>`ss^q=^sEBOgK$(_RyIZ0(7}Ha8U;?kPrN9qsPU^ zXenjWQuv=@v11BpqUe8=2G8kAO;QUl3p!d(j1PGxLk#ZD_8M7lVC6M~---KUzCXew z)IE^7`f_W2Qy;1GiKr#kWjM!fmbl&jl}PGu+*0K{#4+XQHs%?-L7{O55NH*eH~AZ~ ziL-8nc(`BVre(|#&OkS4X*7iBHS|YH7d+kyo0{ugw0mC@p{=V-ehsIU%rMv9%>Jlc^!@&pPq}#F z$@yzV!KxZFRHkhaGhto5+i;z?mX&GInYNWv84+fL|sO?Q(}`@!x>Io^B7U2BQZi+%YJT zL0hmQChFfAn5y?R)>RbPN2YeNhDiAIP)VfM^nJAzOXT6Uy1(#1#a~JM_u%s0m%Fd=Ob&X%6$u7uAWq_Tb# zd}aCU)zQ@*HEue?&y^xlGyJTj3hUZtgJ2l9Pfc*bnhqR_PB2V{=XG~smJSBo6d%R= z^;QUheBa8=9SXqD^bsFCh%tG39 zIxqQk23;zsZ@1nv4TJMM%oSlkTd0F_y1RzU3nLxYEf&2V2UA7d3-EJ}T^`LS>=hFPUuol1;6)l0@V-&oQ!Uk1 zgWg3p$&WtzYd`bPs(k_M>72Fpqqlbd1k*zIw;76X&SP(>OTipdut`eF zIKb1Yv6#3J>z-^)q_4T307sOR?0x~n0v~Cre&@1OB=H{6TZ95zCFer%dghn-w&oDR z^pB(%r#BSUoskfz7y1xaEz)OxxAKXaTzXBJfhEf5)qHr;A8fO{oo0Jw0lquN*;W5L z>cz9n@Xw2DVR}3Cw?zpYk{zTp@^eoFP0X1vivFN`$XA|>@oD3(a;qy3y7rp6)Di6RwytPDRgTRy%3tpp{Z>R%HY8n`CSDHgz`mC~yhpzBbdnwZWo^9|TrHkNF8#rY73 zSA^28Ad36maCuM=E?WwMcjnCS>TW&?7qir5kPSQ$!K0tV@3!p}Ze*#^!WQd3(E6@K z6iS6hu!=yg1HlP_PxPslq(O1*O+D}Io&noi0kL?b2?@@w&Zf6T2DpcFd+@plt)lF2 zuRXgEr(w7=NDq@+eDH(UHWbxC^ox%+auY3>&BXi6(}EHsWMTEfU>B_=iZb38@5iy) z5mKBi6OY}q1sTW!{0(R{fimL#>UO|xL3BS70yx|7>isoksDy~S>X9|J5t}IDg1{1~ zRrB1(fROBr@5vpA^YCyVOp`R~;JAzQI|Hj! zPjuV@bE0Mqx~j))yO|TRW0vz3JCu}u@C2ZGR7dz0 zkmN~=A6-(ILpf301TirzAx?|8;4}qN{zct)v}jmmfqzb5?(Mcibrk2r9^}+95ZUGO z%*h%Me@Gib7b;x;7rq%<4E+@Pm&PznfbAE#>}~NJ8VwfM>PMYWTV~8f{j}{0K*$ZUA!`L>g<_?*ZQ=Yh}; z?Wxb_>u)Vm6ye=IO^?fz@6%vko*4}CCQL<&5@%iOAk0I!EszY!j<<3Q-JBM?6%EcN zZ-gN`N`+6{dD1z^;;LIh%KT>(rHS}oOlKp)|3lb2#%RJs?Ycc}d)l^bw6O2juCkM2}$MaSX3d&k!{!`Cc_8!Hi-Qm`&pG zjAad;f9w&nk#}Z(5(MWji;=DOVH00An`Cph9qX@Si&k%meI=0TgYr|9Nd~wCiKEaZ z*4`cwt6{oL?NP&6Fh^T_obu|X4BQPBL`|35Keg*@B7TJvcvpF9>DeB}m>kMEt^~I| zF>#d_<}%Z5Dj+k>l3JLW@jpV@ zV4N3bS@NXh0v^?^h+Aue!zo}fzBG4m{2XFV7P!W@&!%)VDt>+)NE;u)mML9(=X2|* zO|x*XF-F~|?A>Y~aDN=(cDdP5;sy1$6)7eZ)~601+_KV~!Gw^Jlg448Iw?+wQwY3_uO>`Vk%;q(j1Yq*L1%GzLZ|O)(7YAymw8iR6TXz0y&Lj$%?a- zwBH^_qwm&_#xh1fCW7RiAzoATWPglso%%I{=KpukRu}u1=ZmE3x0G4K4ih}nSlKtaE(}Uwb5b4TbJs) zs}eYGg}Lhe9{*@%3rTPY`a-xnz}^LGF)_O1>#+BXqbLS=JB}0b8W#LjOAhysjfsM& zJ`KVUv?xS|C>(fIp6L4hx~3Ye-6$fDB8{s?TbkFcFH5F!!qmG+IXu)H)Ivs0$UOxu z&n#UZCU-)Fn})u5Ax`cB{r-@+@+DEl;ih(V6GFy{<91-%!ipG>@R+V2UV1tBTgQ&o zy_751nIQbJn1eVy=Vf5G28*LNNr||I8OPKnnItQ|D1zfSh4!>ckep85G)shf69v^4s(84Qpd4x5p-PJ(T$T}30L_E3B)wUW&MAAYx`*LFl~=hWaUKOaa21FP%3_S*)rm_8Vk zI$_d$b{vmczK>t;a!bju4S>iMO>+2-!0|z7)_KZG{I9%`ynPF`yy{2>*1KxUw_dNG zK!faI^qkzTYhP=)CAi@5v&m1hYzA!5*Hh9AEcj|^V;^vr`KcMA#bPJ-v3GIENXU15 z((i`jO4*axyhY`-NTwpEycR5VFD}HSC+w2Z9d|uGPVj?;;en<$p69PqI5PI3ILE&( z*X(vfh-|xJ)it1Wb^2eOWfunl=QCFN_v+~_E$+oL)!nd+w2JC)aD!6J2-5#H8Tu*BI#=nGQ)Y@;M$>o|9a@Y7WBOlDf z@Hz3J(JbgQL;Ni+*P#Y0Mis?#Y$@qROW?nhV&M-_#?+E5)@Q@vugDVTHu+QCSlBx4mfLaxGk$94(B~W&K`n^J^AXQfdWF{i zeQ$NJfo%7Wsuuj6U^$=sy5t%M7cSw`%NdGQdtlS-lF>gskchfc@c5qpy{UISQC}pRRe?p~wqo0(Iaf2k?4V^c}a-5G5_pE35qqIqL zduBLXoeYJ2v*yJh5bI*R{bM^89+LLJ zH$ttB)Wt3!T}muRqbBSqReH2j%P_{^ddJ5*Lh#`UasnYkv}35FNdb$iO*LMSugd_ZQfhbEmhd;I1L z{DDctfTqym(l=crkPI10Az0$Y<2&PN#$P+Y{0P?A=7h#e{k-5I4|g>Wz(gXY zjUoraIQD^2ZBb9O7h?--6!kUXkkMSY1}tGoak#=P&hFx^2^=$|j$xr^b)|a= zYX3G#3evx6?>CS*>Egpj@?nyI!u!V!89n8yQJ@e|_5>ug{I9iyH1FSri-+!+86Z7^m8& zd-b~sKF+-&&20~aG%?fEK_Z7cEeoNHaa0ctM4ck;ngR!(b@p~whu(M!C^lr}Oyr@M z>as0;tMzY5skXhhwWvHg(hd`3N8mSB6)leMFfC7 zU`cO`0F$XyY6=m0yEFzFG|*a);8j+PFKiZ3NoP@;b{+V=jQ$*e#y(8QeDU{y_M`#7 zJefZa%*t8qFrBmS9D`UOawU=UZ5t)GTDCMStTpA%M)cR6or>;D;K9P>3_()<#v4#; zW_b;BDV1%ngug0KJn7oVZ{z!q@q#98HC=)W8I-TPu!UdY*eU{V=7)ARHQ#aGCT$O_ zE2!`yo4Dk2mZnBm7;lZ>gZ#y5Z_Ynswo(Cq8cg=-$dI}O2XeKSp(PX_QPo8FKjoKu z=V(kVQ+_YvtgG=o4(_WE!=TC6M$+{Qq3T#U@IBOI(8NxlF+=(1T7PInC|~`dbU8xf zvXT%Jp#4fNHt()F$ZpW^hA$6jQ(7}P-ZDDJ>SCGCjxbOm7h5`LmS87L8jVp#e}pU# z5Ju5rB6zL9Vw+Rb?KWIw-VP z6iceZ#u#hiU0`-QbW&1yUri#-RxU5;K{9FHV_^BcT7{~4 zU}hg#Y|!5on)|%F_rKfv{9MkO8ioaD1LfpA8T5QbK8Z(OX?A_6scy_o@dsyfe&=Qw zFrNLb@T9tpfjba;vp9$_LdYeGpZ9nmbp9>Ii)WvrTlbRu9m3|=;41#$vR5z8wg|B= z=5U#g*I0jk*By_|B2M+MDy~j6L}w>Nsu9Ipx8jEy zTyk*3alrK;Hu+NkYMZjdiIKpVpi`+j#Y!-y;st`wX9%NL76W1t|0^<1Mu+aZ6Cbl@ zwaAzm`q^hCm}jVAu1v3v69akpN%VWBiiR0)H24X*?inReMUo-|qA<*7Gk_7Wel;NU z64fSpcqm#M^C&E>*|}fN?rqpxyB5wGs--B}`}1F!PE_;cIWUcu)E~v(kqpz$EJCs6 z>yM&{2GMN*%TZUJ%IFfbH$EkF3LU8~PkQbGCNF1O0|M5~r}4yCq^hI4Cs^t> zq-&D(kciyOSN0}p{5BF4KXvOL!`83ZzRmnTh`#0o@Vq`o!9**9$A$t5tnpnnP%7%7a%NRuR+bX%^K zVfepp^geSOpqH)nS8333M9JJ`siG2g*G@VcG_*qb*qA;YOC`d75x>E$V|08C5z>O7g_jMw;A6net!%w(>b- z!bEMV^i&y^(Vo0@Dq!GJ`%9GLuUfpQ z(S6{LO}Ez?RK0l+{UV3(C9yX&XP)Vh#>Q@>c>JE0feIq(!gL+=2ghXi5P01O($^-X zDobd!TsTlpvPgTNCykrR311X4Ro#!FxqpITn@doMRTbCx1V$WZ9C5H^v6OI~&)H)% z4+|$eP8i&W%tYioz!JE%{6*yP$y0tbRs}qcWGmK0F(3DaP>;G-cA#F)NPa*KAu0la z)kLL7O9kmSnB6uuzq0lT&0TR=3v`BQDtjJHZwSkRQQW0nWp%r}dhUChXSKNSr+qzr zv`>v8{_8Q%;+3oo9Fke}4L8t^N0nspn@z!XJ;s3ky)(}3omd5xgp|3G@d`E6d zYMo{*iR`k2mKlx-#qDOFK04!-JZv0GC?x>6wwRJ34w3qOTFi&D53I3Qe<5*qhMN&! zEXBX5^D9$`hYXW922xE=ugi;GmZV_Qm41&8icvC*UCBA*E-m6%#Ur4}Xu zKM`Q?O;)sjbq`O!^?Sct{HN=0OVvU%Jo&)7GW%sb~U6g}> z#4X?u_8MyBedGYokV01Bgw+Kq8~otJ$3B^4If-`cdd_!*ug3H<2hO89GsFK8&etJ} z%oY3((4VQwHy^R04Di=G2eUP|xq7Eb8f70PWYInTS59u%M*CI z9o1Mf25NT4R^{H4m(Uo-kkE3!@c=y381=(dfu5u4 z!n>%sypz=5#d`(?XWJIkUVrIA5A#7XEiGuj=L;InUX&M?dMBJR#U3jt{zZePCL66j zG?^-xUxb^AvAjEgh?HQk{y?+|Cp5t#;Swdzsz8zVQ2A)metxr{wQi9QQD9$K8)tUg zW1y)HBlN&-#LK+sQ&#pkE%SNhRoY}^p4kwfmCMoLmA@)8BfH~C_^g=;9|@TDCeJp1 z1kE%ao0$#qyT~qgbD4!kF!OVy`pDWT)P`D(+4^bP&ffIV5 zB-}ve#!yc9iU88_J3KXPhMzx5u5HAvFtcd+>m)QN&uIo4TPC-1ribpv6sje;RWg&( z&~V5s6sqrO4F`LUpHG9Fz&e;`mR6dfL7`M07TvXrmU_1C?#k~7Z= zWI;9{mZ!Wx|C<}dWUnPuOf-H9&5*73<9dm|k$ic9B0-_ICcizeAzb_4ull~pkeJkf z<>xW=7y#y>oe4CeyR6*6u`u*-TAu6)Lfu^3wi1zVXEt4|(I~XXxi4pWL%vng-9L?t z!YKs;H>-GDA7NaJQsYD6*zj(NRCugetQ;;)gf6>zmKSedY&lRD5@EJP=CVw$#i29j zq@whCn%CiAVDjV@=X8UT9`yjd0L0V7%+>tmX?%#NBj zeLA2~*6_;{)i%qomynhAGG%U0q+G6+c=cev2Y}8PRS{a*Ep5XC6f)$uwQ-l~rg=!-VqbPq zV>ZpR6BHZT7Q)ANJY-eUn1Im|51K>g5-KFHiNQXXu)cHB;7rh7gsI@&5@hw+G0%#O zZr10S0I2Uc#;irnV5Y&ND6+ok?Alug@(iv_ERVE@@CjJ3#l}>1zuPK-de8hYc%t2H z_(zvs6&x@QLe1LF*&W*|!PvvRuU$5-7E^I0UCXCSWC0ev&huqqh*kG0a~|6^0t1Ej z#l;87Pm+sXonH*oEA3l%a#PK?mLCo2gN!Pp=MwH=@|~TV1}xG=(7b^M&>|#3+E`9j zj*IWE`lPIRkgusYqt%<^7Q&9STT+_pcMje8gB6DT_0gQj%%9d$t zca-?r)#wd!UTCi(5NR51eoc2}2G&~eu5(;jOc4d0or}tKa$dUmyAQ3mQA!MUl% zk}wCj-Tib)SPw!TUz&aH%!(EBzt32Dk);YxaS>}+i+>BzpQqRJV;;lm?bErIJNkPy zhX)XGC0Ls{Ngr_N(%X8)x>!``nr2xUrzcQ~ll=~zkv~XT2}L;`xh6=`JL;vhQFy>C zG=$cGfR)lE8~pSUaG8GlI+UwAniLWLqYNB+MgmBO_7^{0y`NcJE-r4u+J6lfLaP@o zp0oeKkif&<&LGSJ3haW>ZktNFK@2rLAM5|SWJL#Z4C`CST7mUnOSx?uURJ7pL52Hb zYA{iJ9XGc+b(}o5Uo&-^A^EMmN0bL^Hbz0t)yy|I7lNla@miBWVv{0UyV#Y6lzB*! zq@bg?FJCoXxd7u!w3X-lG;N&U8tJ9Jw+pB$-6Q%v6T8EBIi!sRZ+h8VM8C~hPTOdF zb;Rg})6&Gu!P|lpn^DGG91`DhFGCll8OKBk-X4_@JEFPZ1*nur8h&s6mR5(h@)AG} z3#g(s60h(Fn@^xG>%U%SqC zErdzq(RlE_TEmK{0jt)Jnz<_+|M*sM_m`u8V2~&fyqRDBw4%3-@Mq)Vo0b#&d3*Sz zoOe=ugjkVa8tyX>6soP%ENZa5NsmtUX$#6@PT|QlaX-#|FY*-v2}uCpB9l zn26bJBX?p(mVt(6#~84azm~&}W)KfBHg}CepLmFMe&c!GwF;Ivlc3_l#RrVqR>qiL z2m7sRpG?Jd7GG~sEcZ<$OM=gQc6~0V!6&wxv-;#T-(@i!onlPWa;}X~`d;FkL&DMw zdt#vPZF%?yL{fI^Ba@;S)%Qiq^fDoktf+rhSc0LTooJS&Vc8eao!mjgW{EL6{H?Qo z3`MTxuZshmH}ooEQmn$b8G6KVfs!3tWa-?@aG}y0n=C&!ucZjI?XW77z|yl0^ZHiI zFRAT6tbm;6aN|THV|kk7dqBDT85c;}Z{U z(gbK6qOk(+yeFO#i;$b8dT1mOri}NO@FO*$re8m5bs%0D{0>S8_aFF;#x>0a5ySV{ zxaazkldk?b(&>B^L>28^1qIxjkISDu#b3<_-PHTaxM*qVBCX0Erg{3W`+A}YH-`-z zhSilwXvh&zS?N9)b2Z0HIC>x6n5UoBB8^OK8yqg~rqt9rUmeUGC}#>!sk9tJH=)+M z3xmVJkocRJ4W5w*q@JEbcOUUissR150wigHKM8uxB1A>;=Qu?*N2GLt+gpb>Ra!(g z=$q=)_WXLb?*1Lo+bFC%7j&v2krPbaZ(7akI|1fAaGt9mIzdV(-aO1zD7gKRQuyBis^JHOplafg@PA$D=N2mYb zW^Yv5qnfAdM@yFnx)+osHLBu-^!WyBLgB2^O-#cYkonF5uhReF>tjR2jG{}{)8EOw z^937zwM2jkBB$8z0nmtH&1nqNI&r&E+pYf$zkF+Cs~=|aSrkw>e?kp(4fO5Kh$%qb z(3ec!?&m~3AbESkZao3ZGKG+3RcCa!kxA>g^OsawcnRg}|7@mBZCF04&T+h~-v+1( zQ0s~!=70+j|(qh+Hho{c^uq>&1>IC@jh$VOz7@ma-Zw$RZ*hVG{#43eAaRJrm84ps0eV!#_RG*=c_;Vyy&8k z_}S(CN!sLcuR+|_WUs(+#0sKJPx5NaO#Uc>`r9Jij3HpCJB|H0)vyAt%hsOP@;ru! zK~#kHz>j4WPc=Ql$Wss<{%-`cIG{5w%EIVg-ReX)>Q%=q_&nHSBE2EBd1s!WjgjTi zPTes4#9zi}{lKKNy)H@@LU9D}gC(?hnEkuf$%64sddy=d^;7IYTJcU=;ZBKWx2QG) zA>6V8pGZ^3sMw+$sNlZG1KlA!D{`_S#wLV9qZmu~Y>*nxS(I%GO zC}LObB|OtLn-gnd2S94@#gMOD&eR)sz~{O)KM70R-t1EY2AEGjZDiQ+8+AG?2gylkTD3HKNVxeO-e6mYr6AsXbqAoT zo#|q{VjXmIui8coXUz3sWEbqaNzk+P#H(UYCqm0<(nU*bk+62G7^)aO6p}Uy4>$`l zta=JDYpJr4$q!;X^jiYSyFzv_7o%f<>gSpVDg9k}!Q_EAj9VFeY2!%@grj4Ja;+tW z+U6Vabkk&~eWpZ`qDh~RpVrDyysR15A_R-wXv1pbo!rSOv&CpJ+wOyadw5k-s|2o|EItR8{#M`vj>bl@ zE_!C5dDaZVVV8Z{IO8W@`0W}@cGWB_8~(O)tdbe^5Q*5MNs1!cina`zI>yrIn)}^~ z2zWa!lZD-Zr-fJK2w2buIl4%ozgy7$enW?Ox4Hd>0XnkOh;_3aef$o<1J`O(%0KPp z5-RMb`??N&J5fE&-(BA%Ph5#)gnOM3+2!TM-Fu-8urH_AvpY9P;`;q@ z9&;;B&>bh6mN7k>_0AOeeBrU4b&IfmvQubg?3gEb1$g%jNf(fu9P_J2!f9q~8uuvY(6rh>9n+?arqb(c0_ES-dh9;~|*q~U^) zir(&X#XDmR!KO%Svwpc+Z&DfdvrREn$18Yj6Q~`j%_KBu#5m1{d*+8bzZVHKi`jd2 z{}_6q+$%BROGmYodzrDOg&5R(y=MH0nQ491u1b1M0QIwsfPK zLmS;|NQnPPnKS3OfKEl`!qn9k3G-+?wdr<_jL=;0XhzsId(zf-%kmcD&O$|VaiH8( z^iX83R*M=;R+;%s6TL18$CZQv}cpPY-x`G zQ``vJjn&4QDN8<4epj0hGdPsM{HRxGuJ7SR*exn1>X}rhA6J{U_fEWm@9XkRf&Wsq zlgjSs#QT=aVn2y9t|p}SuL%MTE>NwHnfJT&=c*YkZVYj;2)(**eevf1#Yp;?MV%bi z`uJ8aI;7WQ?^n9}Pd#P%$!JiM{z;;jJ}jXv1kvoA-P4G5d@Mpx7?u*By#}B`+s~s@ zmdEHFsnLtv+P7I5O_4ZXpJnG(u#erGI_y@LPy*Nd!%lUbkq)93w_TC5W(?(hYqc@> zF$%@2*b$;23^z%FB$nvNJ&-10u6c70cA|jTBc#c8^ni>R5>|L;JeUaTS*R6vOaR{u zHim%QvUSXeQ$G_4r4_--v*%Ax!4BlLf8UKqd5yUfE zzzRfnl2@8oJ}O_$2f6e9Fi(o~Le_@4aERfteu8lSw8sMmacm^tc4AJYF*U7mv`Zkf zg^eK9tHSs+&_!V!hPKyK_Zc#f(t(raqF$CIwhe{3I{;_zH3Dh2AQt8^tEau|#RfMR zbNE=1iCZ#4L6Eu<sUQKN?L$t@}c z&ymE6PrtMZm9wcqI~mXRinO=K7pJEHRgQN2OS^p|XbdV`7@kd_?mvbXG4n~e8Yo|h z1M(SYYCN2F*4vSB5Z^4EgfyqbwWrNCqKQzMN^sWC>j?3WT}*Js-+^u%NL>Y;eDI0% z6snv1{z+m2(P&m%S+vJYM=0{X`pK`%#Hi1o9h$XQS92o&I|YTE`~T~}pyKIZO2jB{ zWTot43(F`+#LUD5%P3~)co(x2+tSp@WFZ_h)f9=}1m^u+LirE;tm;y|V z?M+N!1q5K7U7Sn}ZDBn&uC=wDH%GC3SL@ftOjve4T}P9#^)H5%d1dKVTQ4WT$cK`w zq*Nqm96v6-XHh{a**8K)F7F%T6% zSZ31FD5ep7IiO`|%f#g{*cIbggUN*w7lhD%vQ7b;&9Vt%JCGX;p>rKLhOsZR5#WYs z5zIR18P72bi-~#z!L1uqFyOi01Z9RvWINcagT5n#IY7Q&d&s5f(K0HGB4A zPEi+<5eYiI5|v5Ch(L}obRv;)1zco1rF$EaA_j?)&{H4UItuid?F)UlP#oo>oIap>A??d6@7tgn=xeD=hbr_eVu0GC9b$$9eI=(zg@t9Lc+Yh~?Ez5${ zx697YN4=GTalq;u7y6y-gA$6R*ffLK1|A97=@p4H%xi+kaHLQkjEnA(%TNXR5%tyP zW;vYK*0+~U(yyQ0;07LP*$YG>nMCqXexYGEqCNML5#R&)l*DauDKUgg;=+eF(^?po zQCj3TnRw>jkPIx#z{X#)$Vhk22q3a3Xc&DE9+}Q4ThJD=a2Uj%3naW+FowfhGM0?p zgd`>D)+h8JxMVsPLQzXgXz0;A;DKczelSwPi!Ofx?!P0_9!az%?fHzx`#~7FBMZq% zVVRhEUa)Fj7Kh~Jj4Z5TGWKX3mn=-p5W$#m>b58;mAQaN;E-knV30DYO4Dp%WqMUu zko`5U?0+ggeND=Pco6eE}(S0zE@LCOqNX z`-yL!`X(<>u=&(d`HvW2J|W_r%#nrk^s!G=@Q}zZsEF7vY|xu5VdCcsf-yugX>^ih z!fd6biQQ2Sa#~?alJK#j>Lq&|lLzh(&@zcSSAm102@>!`QRz>4$yi!p2qyMAN?1%9 zCa-zt*JKf8!g!i+C*}7^?2OMz3Qb;b^#_aFSR&HeAfUd30lx}qGudK^+f+qo%J*>C zl6cWCm9#G)-T{B-F#eJgvq{ad1vTJw$~JiiSV%#e$hl(ANX#6=V(2DjHO@=$Bv5F$ z5<6lE0js3T`Gs15;7(E|j)>nA0k9M+2e=sqr6x##DcKozqch)QvM}I|Y8)0vofE3a zCY}Ew4HSHEbq?eLTVus}9)3a2 z*kV%3U`?gvdf8EOiR)uS8kb8B3f2%0t+qu z^b=OIeg(5b?hxMu61T)?65J5SU@2H#4TZJMvFsJqHe|-L`N$TtT^LBm+a46I)b&my zLNJn~$7;)Ii6wdz1hg6+LI0|>l}d)zqWKl6eW0ZhA3%#5X?G#ExdPqG#}@3@A&=iN?M=bWXoh0%sLhR^MvU&G=!qKCv9 z!r_c9tZb*Ft7scFfEM>_g@Rt?2*d4bg*5KiH!G4vF0@5n-9ljx5JFxBXNMtat@ZZx z-NQABAK|SF2bg6;NnL;pZ2S`OZ3%7pFRYeMts~YWc^62cV^!3tJDcmxwqNZstvXHc za%B>|Ic;?T^++6ath9hfZ%h%9!+%m{(S;V+#%o}rQ(m-?=xPSVOG@J1>#+%Z?l+RY zw?;A6J@|pN!eG#L;(HH3vWT!12LY#79kvR-&Rh;IAdVaW?k9Cnm?T}4LY1?VBzMW6 z+?foTQ{TxPz!MSeFwdQT7K2q0-WBN#Dmpbjl6}%OmO28t8n<7MCk#=7_97G#(P`#L z3f;iwsDDfr@g`URKFK(DOsq8MwAtwLpEm>wSjZ%_U~C~ZDIN{M4L7GNQqUunN5>oo zQNf64V-ro0Lp|^7AFjFUwk>)61cz*}^}*#5fsC0lW`-lmo2qunu!i<>ADW%;1Lg zwebVQ3EQBtOE5E^Uv{|C=y^Ffc*g?yP8VUB7wu3zW&Ed z34VQhgM~qN9*>!fzq)U-S~BuKbU`?MH`8@qS-^@D^56oxI;g2v3aP zKipsDkGFXkE&6kKKpfnc(H296xsyD>$~bgoQ;A%Bi{jfiPMuTus$NknO%+Oy8z@47 zXA(PRm$zc&c;gsCIsS4^<G)@4zk&29K4k>dVi#AF8nvWSKVHg4fQ z=C8GXoNe&WpZ^K${Qe51jbn{le1J#)9MI_2<{^k#%lAv+%2i zO&xCokNbBojy^757gvs32T01e)$L13Gh4G=isbLwB<^;XC&9k zI-rQI`&9G@RI3W7zP$r~cfW;CA;s zJztu=3XF#PeHDbuw5~OJ)qPc*7qwnc*>h^vYo5x2WFMC!1bo=eS!;} z+#f&R9bMHZU!_N@;K|nN?5SkC&Mq#}YYg?=F16KWQ+HKGU@<~iUSeN`z8%Kp&Cmqi zkxr$myQgDU24fxY;-Fb;#=P3ORqgW8bhYx?9?rGcu1;a5Rt|GY?q8Lka{lt|MgF#v z| zYCDWwOm*8CaGH~%Y&YAkRcvawG#hmr|JOXqR^_V1Xxppr_NrHY^L0z`^oFpxm76Dj zCtu*h$~p;+wsH|J8#MM8st~Waml-4l0SSb(wlOB)yM4ruwYVxs!1y|-kcpWk7!j(f%3_jQ0$EX# ziUMg8_}VYLSeu9xofum>*@z=LSr9il5GxYa0@B2pJ|qBz5U=u-zm&7l8?N+PGJIbj(E0ThBeQD)_$SFbc zf6}j<)B3f|iKV${iLCwG@A*2TASBAtl-{_c@qL{?kj?HbUzqTil+wJ9KO#cnN6<{1 zPHe5exVZlzJaWDWZok*_M1Hql#9m$7@_ip8e5Eh@8#TDNfv#mR_cJ$t%~&3Makh7s z;^Q3(Hj~(zLy{SpeY9@@N4^DJ>OjW)*&{CUGYh}r2FKAY%nyZ4V3~rARX})tWF-O5 z{$ngdKX?;AVCX;b$X|jYw?BeTKfK~Uo8;d=-uXY?7BHB&xDce9ePDOD_@Ynl6Ikmg z|F&5HPJkae9L&w1^ytLe(%7+|^dF?az~8~u&9;)?!0$hFIKjJ7FV%QrpT>3O!9$Mu^=7qg#x?XVMv8l<7H zCQb;4)c8|Tscrp$o<9o{lHOS375Y&Lesw6vuDw+4V1+XSC4L>8r8PzR4~U_H+Y=Yi z&i??{@)ufr@nSC)@n_aa8_3Z+p+N8;C3O!sxkQhLCkbvg0UnkuZ@Bdz+;k2~jI^9p z=q1kg7_N!+q4|6H;t9&5YT9!Ch>ecu-nQv1D$yQGXYsHe&1Z~QeTqXO+g6I99VOeD z!`@n-Ca(g$l!$BN$c!fG>j|IU5-`B!{5-0Fgs~2!Bll6Ymd>uSOEW9r>}`Q`i;fbF z*BHM9-da@`SGB{F(CUpEnx7buS;MQn)$t#}!uvr+QK+|(v3syPz;V=&tl(4rhngy0 z0{WFaL@n&}LbiX+-MHe}Xa-gwLwnHTzHIh4W{rM|U!f&8pOfd-<$oIfP21vkaeKBieL%$;G{7Uny@4uoWgSY#s()Xs2WKAS6_q@{11H_6=y~4g&>b7rf(b zA~Q~$uf~XWhDQN6no8(#Wo5^@Wo5ajbSzKB(j4<#eG|>pS`5Wxr}*|?&`;0~`*T;L zxN0#Dqx7yBxx02sE+GSRQ5{@OW@iV#tsYPA&`5rkR8048gEsI%ma>0;A13{hcec~Q zBh6E@(EBq!r4*(5gR16F%P?d1Vl5{>S?pSILusG0JXjo3iG^s-CR*Cn5?FZC6RhnL~iA1GPBquqkhrYqoCybL&+GwT^b9wC9Z{^2*;}_CLt(Z9cGapXMUp|3~Rg zi#-w*27${WZ%;~Z5riNx<28nLtz1oE!z%U7CP2lxYp2^dUwyzQ>!JX%yCzfB>xdZ? zv5HU_gPXWzvE9M`0Lf&&z`NBqc3Oi7i94c*dr+>E*4Ra^vHt+K2;>&1JxqXUeU7TA zW6k3^UQ7RYMiz{4^2TZq2&x!-yB#bG0=;f)0&Oj!33AmCbkW1@Pe&8{iwN1^^~~%R zCF6T=j&NK4{sdIc?C(>e&oM2NMhd(;2KAk<{^q<%;7=^4LMk*Jwf2zeyUgab-X<>> z-Y7oul$e>(wpcj-pvT!fBoc}vj;up=&iQ)Pglu~|`hCqPOMxxZu<~_kNAkDfE1@>m zL=`8$71fWl+o!J1Apy|yNn-LREjq&uD84))-|s?$Fo1k^lwPD8Eaq-lZ(JZ4CgXMW zc7wy50NK}Au;)uilNe*-qgxYr*b{3zT!kHI($PH&iG6#iRCv;Ar&hMTMu1!1(*AXkQJC+GWVGrXK@PS*u{x|IxOxrV%81=b*BkK8_s%(*(M- z&cvcCKdS|iXM9xk-#Jk!aek}gnR%_kPEmw19W})K=_3}jXHUAY^(?qg4uhqU212d8 za|JnnXaKPs^HJ!(2>D+fPX$OoE%@1C8siH8H5`J7Y_>K*>#l2!Xd!Ili!%S-wX@lC z{0*jqD0x0J3`=FeWsk2Lps-vbJbHRaOPNNmQ?mg__Aww2q>GnwnpC%U*&`uMu^6q3@U=+h#?y=tPrdV=- z5Tccp2R!Jc0Xr^h&!s!EeGX*izb)_2uQ0!Oj1ehdCvdQ{gF5pb<-!t0LmFbNwNL-+ z_*ga(RDLx zqh~oRGAwrr*rg@ZSRq;{0Mi+F{|{sL5GxE1a0&R@wr%^~_u95?+qP}nwr$(CZF9aq zlUYnMi%C~ansn1eoAfyc#LV7sm0Ps*pmLPJ;4|QSrx=A9*K$3H&RQD&g!{5frvI_= zxjQ4UTaR7Jz<&2W>kIXei`~&s>|UktTZiMf&3Gg0yNh`rC*~TL<8j~djp!F`AbqGx zktz!e#s)`d;ah~_V>drH-T1}gUr#&&YrnWooom%!uqlRv$!zQdtP$~CW(Ah9s-!sF zwy-32gPBtG#$8Nmj!suqKHw_a--NR|(8njZy?v!1i}((gGmLka+CpJY_CcY0pwg;y zu)u4@${;+kKAg9S83gWfmVnZ~xlZD6XCzFW5J>DJAf;eoNxqaeu#rxNsX1;}S`J`(*wMU8dcvANo zZI01@4X2#P9`lXb-2qXty>2bKIDK(j{aF%{-a5Dse8l&$MMKQ_~YI{}ueC zYv0x<&>;zhn}XjSUvjS-(02)FD3U{BeShw#ab;R`ZDki90GettpZB(KEzz6 ziI=QtHVh^dxb=RnV3-&&BLw5HeoSmrqbSZ1#LuJ-NXnxAUdFX`3MWMdsKTUf^L`mh z5pM#}Yf->3L8en1*iBUSdESJjuSzx!V@Uh0axZMVAv5H?;(EfVw*_C!~Ukgfj`sWVWh zOTcRP?V%)=MCw6^8+hR8kLMnBvC@f;CH88(A#5B6syHug8{XtOg#SvLy)a!wN(z!C z+_602cs#!uaaaDALftC!U7Hgi;xHZ0wT}V>Jk$yXr6Zc{N_d#oB!f^aS=Py;3iPwo zGwoCRETDV}OLzNj*PdG);WfNa?LeaJM8z&DsJ?1b#5I*-Zk%sRM*&W8CM(%&wQ?o+ zR_u>2JT#^Ruo%2gho;rL8LtaZ@)gg}-Qu7s~0ofV5wJSdnx)M$6G@!^@+2mRgd@$)e5KCSl5EHm{dlV+l?$y%SJVjV7eBy$XESu-r16dldZg@9auT2iT5e!BqL!-utERPjp?sl9 z&{ZklRf>$QrGH$dO<)r(=y|syK$P2eW-6aP=#I~ z={Xr@?2qKPC<%x!of$SZ)ZG%@7tyiYj-&l?npw9NVUK@JRV7{@?@y1N)~S=BGc2w% zl>FV!d@>EKg;mMPWFlYtM8se?Y~t2C3^$j76Pl@uDQu8(!~(s?(TSyCpF8r^N$sL0 zdPJBN#=yLc>D6T;u}MtuFC4z^$A@<6Rl=&=cXzawtn@19zrsUaN9?E6(m~~$q1NDi zmKGd2Z1jaQgVG#iz59U15L`;|i2^#~Yud*+;&^ur<(V=BvBM#MsAWfb;Ao>Z2ZFA# zltQxIX4*rn$_2DZsGs_D>b zakvg*OjIY6e@ef^O|bL?(UUE^7tAA%x?QcZWIfHs=5`o7O{6yyL%aP+~;U2E0# zX-Txzzz&h$RrR39in%rKZUcD+RBRnMV>eeFSs)8qF@~JA@$0!SWX(1lJeay}=z+JK zZlsoo4+%jNrG@PdL?o-eJ9omwuUR*-jMF!8>v0OMUWQnmgRUIT@g@R%7{NqF5JIcM zZNTGN0bNobJ9-`o@PkSU*c6o$2)uVfpv`R(IL?I5;z7(n(fEXAVHZd z7nidMXGmnNVwAABh!K=^N{21X`lyiIt^$ebTXBSG`sBdY)WL8yyXX7G@5i%2X``UeguW;!45)caE(Awsj zG?I!nyivURwQXj+%A7dJ@>}*$`io>U;$e^>e9SP7u*nF@`e>=;i>)V(;-Ex;hngg) z_TopoPDm-)D%vajIeH)DXDc#Mu^qp5?obCCnJn29ts| z_9N{(rJm>O!dVol)b-J6a|QkzDj5dMdQ8o-!5)B#g5z&CBn7Kw9g|n2MXVMbn;MC1Igi5Gd6uQ>Imm z01|!R%qf&9LX|Xa+-U2*0Sr7V(GwG2w+FprIk0o>6kI804TmrVaxc}(l93{S8={kR zr0J2w=Qt0)-K~AagHV_BRJ%LXJX!~#yC}vJa1;=6jWMn-RZP{@Z0B2ww*N@0kArT7 z*aXL2yH&L$MkpK$J$4rQPh)?x*J%dz1X*DBb+Y{-&S78Xw>{=Zt2-onRz(?Yk#8h$Q|MvmBn-4Ia? z{I7Z{wrV-iZ01}&%K<(nkfhu{?=S;Iqog}sD`Vjye4R6iu7IYbeq#6Qdz+R3{T}B5 z-(%B_RU=P=%_9YY?n>5?!0Lix$Z%(R4mC@MDp(z8rlV<}_47Xc(}WkA&!z!-weaL% zNPT^!t1!HS2ntJF&d>jKxNL0f;-morh9;?gCnSY*5JZ1K}+#@xSk?Fqo1$|ImBX z$jGBaZ{+gSx)4#_Uh~&&_rI~ME4}nRejyLHBEciDs2`dbuIAei1(m;M=8zD{w3Yu{ zb&pV{^rmttm-QWDKf_-~#Id|J(ReG0%o*@O8n(nBBTU9p%)o+p3um_R(~Dzh16^jv z!o>$cdvOuc5x8kUT{Z|L!mkpdw8HlJBxA2nuTvPNxceuN54KsNpHcXIx#d%T16UXt zp{qE)ta}hze{d*wZVxDuAm2B#yTntQS@w4QF#E^ZeFC=590og(dd9}|ie*$^x|}Zw zLbE0!A3(l!P+h*mst|1eFEhUaE%Jx?rws_EC)!q!y|ec`$K~DPx*2%9bkR6KLsb|m znW7cH62aI3FIgUc!&xvC$yy21(l2kj+$uBqmfajtTL?3tk0LWczup34Yz?0xg$`Rg^cRs%mW_S`F6Ca>^2(XEr2GUHIN}B?p z8dlJ!qjztb?D6XceZ$mx94Ua&C)Arq$8Of;z?|t#+^hVc`3l8vZfG4xh_p!Rk}L#B4t~1iXqLMs#DEg5Kp- zOu~GUGQpnLZ>V_F+qXU`ppF4!cdTsD7}Ec2%1DXC6gme9Yc4g(*g0#9?&mLrWWAn1 zedqWLPOoTU5=$nC4d6~kMwH}fbLL;F1k(f(9*ZbKI4DITeaCu>O6VAb8lXCz<%yOQ zQ8SX{nz6Q<cqP5{=N@Y3@w zVZt=nOR4xd)2!+Cg1TV~h_P&O)_zv6swqg3nVhQ{folCY2>+uVJkx&T1*%I3j)vAc( zqG*ciRhLJg2?3wLn`X;*uT3k8 zyOFB0he0ZV1a>|~b31iur&-jq)2Uw zr-B#SRpKo|TN-C&JXeZ*W>IhQ9{2`q_WAY6)TR4PVb$g;GRv0vpHl>W)o2%&=|b_! z>e|Z{vi~hrOW4C-TeD7_V^~UMkKbaL@s#BV(kbm>tv$ZsnTmv}fC~obJ?CxC8&1Tc zs^`cNKL*@Nb%iW;BWI<5UOV2)H8!Wi?aMz?*S>U&$taRQ(JV|ho%q1f#`Aazr_FQe zoV0a~h-?6!GMIHEQUw$XYS?c#-1`1HSq2B2FKWyqA>i6x^7%db0R1SRu^U=$A8j$K z3u1W4dRfpCqx5l+w5NN)54dP6E27Zx!hPuJ9Iy*Vz2REiKdpB2k06jz8wal!+eeQ@XO z`}JtI$W>h1dkA#<$HWCArW*OQ9_p&f_@>qBaOJ(D$goWr;EoINr`bsEFRh|dYJ|gv zYTgNyPFXY+wO3z}KbnnrVHcyn^OU$<(R|B8LwxCK?S_XGdYVGW)((>T-NWcMK}vh7dKNzzyet<`!D$d_tJjan0iW6fO}-^lOjcE+$YMY#8Epb zRRIY^X;gj1({lyG)cA0Nm9VC$wWl%K++wX#{!SXg0W&R{8}in{pgO$FcRyN8t%AlC z%6Am5FZU>tYcz_wxB8F84l_Z_j{r$beOZT;Hkd(Ij%4=CAz~#A|9$0dB`OP+UR5iJ zyba7Pl?DOUJu56Cvu8tVcxdfA!mFud&qeDvCO}kSkYZEj{y;4YQmrKxQoc~57+aef4xPZuIY_fLJTC|~~ zv81y%1sk{1VSw8HGqP@TV(p#X#}^^2keOUU=Cv$9TbUD<-pL`nL@^=9 zwwwq?5t{q9D}W2?VA%B0(Y+Gu*?@diK|Sn)Sn#Fm>@jGc9!7FEq+SCH1F51LGx|$> zd#L$wir=cElBd|ACmv{)6+^hg#P(F;McUFi80Y}C$9?&6!LrU%5 z=8G~&wJ<7J=OG5Mf82n(h{MrQC3`A@V-Ol*^k!hY-PxEBN5Pf-Mauq2w$FvfcML1p zaR18hsN~kvek15N&8nGe?+cLO2l=wTXkvp$smT;MTTHk0y;=ic7YQ%(!+TXiJNZ!e zn(~4uC6gDl#VWAki8=SK5@9^X0h7#>0>S@M2%L2rAAqN3eYz9#NW805 zR+>W-aCDu!Mk^xa4=vihK2DZfr4yxR$_vgiYXY+41O6sgW;hir%dKH?f|;9<_ULO@ z*wf7K6Xm-CTSkZZS0-Sw#44c@xZccy$$e=SSrMaYw5b^MU}Wg;19YeCX|C8vKgraI z2}0YV_ZqvXIpl~2rE4rj=CbM$feEcOpR;U5ncRm6o*D}@%#UrR);aWAzq3}{ad7m8 z+oI0P1^nDM=vd#f*nz&*pehk9mQ6x{;Lk$3kPmaFSUUTGvN|;oF!49Befq>f ztA6BYPvaOat zz{R6rJ!AI8SdwIT_2sW8s=DqW0{sF5<9IdG9NKxLY z`AKjqK>npJ2;XWb>jx-LnogC-KAwk5%oAJ>M5cD6p4*xa!ctR86f*)NSK<%B9W%NN$7;1xJdt|Tm2Beq=`M+)Vn0n?LE~163BdkVrfj1zSuc>sQF^L7Yjx|u+(|=Zm|*F% zRAymDtEw&Z;;|m4BVPqK=_XReliQr{Xc}}dk+jF1k?ucov2a=BM4f#_=~()W)4uZ$7GN4 z@f_f|0G5;xxjgJiF7~t3NgP|`@2^A%eM~?gX$mbi8Q-*gNdHG-?3Tv0bLi%bB%UVs z7A>3e=UYd?FlF?#F6j8Y7S50GpxCH=yt#J=gArPE#M=jZCA$npi~cc;j>@&Z0?;GH z>+!RZNm}$Zi?Cz08p>V_E0k+lLqcz`l$OB&+cFwC=?MS)Euv)CY_-cu0G~bNy^X5v zgwsF&mv+nzupZMPiv`GsfM5CG>~K68^!K`eV7dU7<#wl3GvzzE3AcI|rg>m21;3PtRB=ir5O8`ZnDGc*i1<1< z$V7s7ZFkC$44mIM+YBE)!)jfr>}00=RwSTgoAZMA=7 zE~)9aj23sJyd(}C5kPV1;i=rF75GKec^V9E$Q z%9fo;eo>fxnG-}tij!h=44Vpw^taE%CdDNC;?jgP1Q>L@v&VD&8+HGuSK}khj}F`K z40tK}z!b*2GDEn97GrV&7e^oe-CX(KPf~tUr@G_usZFc^27<*iq38}5v+Tm?WY&#M zGd;ekjcvdu@8h_jIfr%B;B$w3n{{Yx<)wg(P=Y7`Z@jNS;#-BbJS89~>*UePgAa%s5?HQ< z!>d02ly)6)RgMe_yu(l81nn|0qwdFMU__?6mFKENMhzH$Fjj4I{f;07#OjBL=YC18 z8etSP{ZdF~mR9{I1-tPTeJ_a6}8F54pdA>h`PVzaS*XsgMk3c5umBVa(V4#jcHSvmuNZ|MWLNOf$AnG;GK7?MzC|}{C`1GKDXy0y zXZ^7gWF? z2HRpyetP?1-+QUklfAJL?OCn$5En9-D|3?f%5qNN`51H%*RIGK9vXXlZ@=REQYa8$ znKJ0&1sb51d`XJ7P&Hygg(%^(U-H)pYTMUzF4OIx2fLB0U;%z0fK_7*I`co8M}HyXh); zwL5)#ae@urRJu;20DV7qe_O@xR;LXE4I2!d(OgSmaxsjnO%sYK4*JTzn{))5eg<$| zz9e?BjHZu1<-1T;Q&MW>bGP&|Gq!DP{X|OA!90g@8cT85?DcG}23VQR*u;pUx2@gN zIr+MgtObgXUGt9Q6YU@$xFTDyaVx!y`rQ14Db(^~(|SuoP3EaXu- ze#uF=J!Z16dN?_L+u;8Zhp16=OM#s=apUpCA93H_J_%W~ar2(MsW2e#<=VczCx4hCLP z=~h`Ls=0QN0_lk7>>&oCo-s|fa+u3H96QKCPdp+VKqi>A^+sQgFM`L+UqO4z=@3!@ z%F{2Ule3i$p_C+O?-8>4iCU=N>iz-@qa&7ORAx>PG^`4AEuGLFG%?W#{iy3T?~j z>By2DDaT0z)L^!TtI+015kK3df4&KB46|p`sfGOzK~>k(L9?wbN+gzE;j%Uw`WDjE zZT&%0D`>Mp1ta^2b%SX`VKbDcl>f+Q%rgxcZ&o!P#lcdHGqIM&nf(eyLTJzli7~bXqlE?WwC% zBEpNC5hmSP+C05jClsKO8*R1q4@9RyxP*qPVA*mx z?-)uaeP$kRcO=0n*0oOo3Ypt$R&ZHYqQc~M@jl(IThVzbSn#%wy~l=Y(iFnLcXR1f z*N=vuKktzTIYZ%Uo-zL==j5>J)1Q zX#1}k-K4W)GKlQIy5P=f4|oQ3lI*A#r$$|ji>3;*gxD=q9U%p-Rc^_4w; znylUJo0j|3_#!PA!=vt!Ea(%wgjYkw#}gt#Lsd}T(>mjByKGjXvQLO10_vr@WqqyR zW`c%^$9;KeFC_TnYvET82TW^msO`6fG$kjAdJD>+WhIWxOOT9#b(IfTC95&E5{PG+v zs*lSe)z&&3$~~h26&IvJX^UlWHH(0+rYMw`JMy%SnAzD@m7O-nyW=0AyoSJ**u(l@ zW$BUdHcfA(ft`UG6R;AB5WUCuvyRUH)?-w^Jv~XOTodzk0+8CeWb`y}#Nh3qn zD43Eb;wviX>#}{94tJ!+kN6MtH=Wq{QD(`em*bhscGF=A=G}%dUeUgIaY?%&O^o9z z(MA%F=E{<;#T8jTVK7dEkJHabW#vtR-5}4^4;)Q6lwu;BXjBO6<1E3#^&?q=Mf+)q znVw9U(OP)@J+EeS`7@{0+mwAfDUo2L)(CfY`@ISr=~9=)Ch_zyc2;=8g-7N#RWY0i ze_f-#zzn~dmL}UIh>k6AE5UjG%a`FodC`q8Om42g9A0WjEdfdK15=QB^A#-adDLZl z7^&azh>15L3hk!aB`3_m_>lh{HUnzt3?vkoT}UcWKdzM=fvAdFmf%L?f1tI_-Z@GO z^>v_6olvCDvMx(h-b96D-9v~SXIhRo4*Fx)-%LV!!zJwspi13+^0&p|11(5J{@zM% zMydlBfApfRv+_YVD!T(`>@Z(<6u5@iC-EUs_IIiMy_Im`+5)Y5;8m!Mj3;v`fez#=QyDZC1GFrJl+fK)Gr-nH!zI6hiZFUIr8F5y8Veo< zA4A}+`nj&RD+rHzcK3;WA)G~wRe+n{w>e(x5PL-GD8HZ{o+of0e1Ao zlHx@meyVe8Bg>6DM6}kXyRZUg*3cN6cWE&rbFFa2`@HV@n)=^?e0f_ zc7-pnjgk{(Uoi7_JY@l)okI6@;Wk6nPRFf2GlR6BZl}j|29gfM9Zv2-uRhJi966*6|1-*7M6tp>Ue;`c9 zo72T>Wk=d9PjC@In%q{_&1u`X!hXLazYEF4*@lrv%iJtX|sleISxvzimZy%;svs(!G>vs@C(^ z7MQH5;p-n#2$?5~VrF+>N>1~63L^Ya-}nx7#rG(h6%Na<@Kq7z*(sme^13E$_e?(9 z+Ubtn$pGYwJ)2|3q8C9JJ*bVr3UME#p#qI{fCQz_Fc63DDeful{3m8eF|?!^T|#ZL zsqw`(7@3+W9loS_{+?Wa>zjM1MGo2A@W`*CiFD3u$8SkNdk>E)B$$ zT;R$B0_IEg^xZ1|aLll3jhqMOR&knT*ke@c6#{+(An$?X45(haPha!PeDa%R{7o6D zEPg{q?~iEv%MR@ZLr{IA5UtQ}-kSHu(YO95wno_j%EkIj67JIV`sNE6uh%&mi98PM zh$iwGFgwLJ4<-2PwLP=-_Tx6l-FNQZ>M;5nDJE2=#U%M%0e@_t$S^j^P-;TD6dDCA zHY6x=)=W*0YeYg$Rl{H|s3EnsGG>Zz98?^l%8Ke+8*g@!g2NR9C6Ud;b3#<|SNNc! zSh0R$M#g)vN>^;ETIVF-q9Yh#fc0tmX?4H}!a9jCsp6n>U6GyHb;vGmS;Kn6CRl`9 zD3m9{Biv7@W~_W#c@~3wBb~tu)!|3FTm@y?uxp#{A>U{xE<@$&;YdvptfbTX#`{uKXzx7-_F*K}GP3lYPiP-AbxPH0Kf>iMoWr6IEC>m1)Vd>AOct zsb*Z&yk!7o8Hpr{XU#{~G?0&84a9?03$xF`xFb<4WVx%@8kaE2B)xfoFyCxlm~{jo zEa2feYBl7=2}EL61zJ>y_-Ygp!qa@h$&7NXYjt)9j`k!vd9??TRZRDhXVoy)_+Hn- z;kT&iNslL1)BvomPmxB&c@pe*3=V$upJm|DEH1qIlZuh@P1ejQtSSd$`jHkU4Lgr1ORspSc<`WYJAZd(R=Jp*!LCoL()k3%Wy zTUwfnM`Tb*63iA^1zkgTTH0y-iA)S-6(ka}$X;S#QXkgwHO#}A8?7)Dsa-d|Fv!Lm zofp-v-Q_FY0sbWKkOwEUY>JDrw|zPg`P*9Mo5V(R_#4OVtjsP3OyIk9nFVBW*O)sK zl%^D}ot+a(TZ`^l(83-5FCW(0He$q7%_kcnIcnYg>2fN|cp9nVIE{If>7pkJ1t>*s z40Kf-J)I~0k6$&o+VhIWjkI&dEE8U%POuvJtC!y?|5=)?jVk7&j6;E;HL`;YV^|^2 zgg+D#i=0^Q^U0SL<8-aO^Cr&kmQG2*Xk9C%V{SpA0!D#az=^f^vvV_6UlR8ZctUMtUOs$R84K$*{Ss@Eu zkRPG)Ijf~YbE~>v>TP$T9-0&^hHX{E6NUn_%>i2L69sf{{L zuj$&st6KftH1KPv{0GV3-dbmBp)JdzfaFUX zDZsj3FQUbm#r`CRhq+8Hk9a^EbBbXFhSW~-3TJd%NUsu_WRtS?+TK^H7I+DaPdtPO zOzrMl!pM$@U@m2P`U-qnXq2)QCI6hAGbo^-1V&33J-{X`vhvW!yLCb)q_f>fSFxdS zQQaxU@#b~34BXer6~%VPq~jJBo#Q&xH&@n=c#=2ax3&8PoG|N?0j?O-$7DSsB||)1 zkd7#eE5n6_I!BJEh6FOI&3&{qX?>ILOVp@5vD1NzL8yjaN&Jq>X=rU$F|3i|ut6vl ze!6L=VbiIkVRJIYVBSC>D73vn^C8L#jej_Y?^OwoT+qWmZUgeA#>Cu60_PC(s`f@7 zjEw;G%|>h+1Cm)abU&r?Oi?du*>#D$=~b6W#!|V5FFWL{dB9=Fhuaf-8a--;Ev6M` zaf>jaCe|{3y9WJUG1?OscYUGyp%#q#+Khn=W%_^fx~V2_(iyk;m8IM4v7pPXURj|} z1@d2x(t5r^*>NC6x+HEC{Vix-L&MErQSTDA;<1AAzIXrN$a`}(=ngsSIe5B{q);U` z=FpVK>#a%-kSS@c?El?QtHzidtmACZOCUV95*A7S%;cUGHfL_$gK{@0?i78D;C|Bu z%CLfDkp&zrYGwh+VehSV8;syf8bjUSK%J_Fb+(n@Fic<(wRn7NF*Hk)%cdTtt%c`nzJ6JI;`chM9c7- zL|LHE0=m|_jFl^JLd}YB{C4Y>&*J&1_&~xd%DK$cet+XR>JLz?|&%A0fXt1-8HuZB#|!k`k1rU5KH7dYeqaId;_E z&R9qkU))JTL=UJ9qAN&2)`)W)9gNX7@-W?wn={E&1swC9pJ^xl`KpCjSMb|DfpV|x zNe=7p;8J7Yq64*m{u-jQGJ&U4(E{u2!bn2sBZj#~52Y#H0e%J>0E3OF!SEx4LQJ*X zigVT@42;;cQ8TT|jg#YsS+5GbP+A>@Nz`ofo32G{fKkyoY(+}bd)A&_PWE3NM`3q- z3*${5rtvHeaWqD^EV-i6EQNiSwK*O^trtAf2sC?Yk16bpDOqLS7qTDs;$tbciM&N> zCV`^2#zT~P-1`*xFG?(tHj0(okq{S?Lwz-a@xCPf+Q}(EBRgKQLG^sRa)Q^pOjbX{i^Jvq&ThBqTsg~YHdDWc$$>XR=gv) zS`LAmbT|M0zEtq{6xEz>I5fkdze2_M<>h;EZOgqq{?$=k5isZQZT$BtBAV$Zb8br{ zrhqMs)j{uN`yZLJpDXbTZR_^5%|J2oah-#Dk!lxh?czJgzH z_Z^OUZW|nVSsFk1mmyu(bK4Q1}t1Q2ze?<;)|K}dKe?v}9#0X!>KgRD7Bu5|&pzP~_Q8d3D|JzaiFF$2x z0I&R_n2@BUJvaXl!{;{$!G`oJ3llWWw3HhjUVQa2;0pbAO z`EP{@2uQj*$A%WR=XcBx`tr-^898pU~I;TowU(eU&9QI^#R6T1}deN5*GmTQr`&~ z-Rob06Da3zm4Nc!G|bB$35?9Obqx;y8NU*Ts0Y_sA0eRfpBoMH_gljE9{+4(o>;ve>}O;mi%hMr|QM*1&pvprIqJ$NRCCI@yFurzGV-|O{% za9#^Jzo;dI_MX1&&yw0dHzVSr?_7C?HoC_8k1*h8k1D@r!mnnZUgvKzPeD>jTTm+T z)vrnaKREyHhLEkobNzSv%2%1t#Qc#L=BFPVaUC>k%!o~k(wFn!FJj_EKa9nQhZRM_h^vv(};XW2cmI?uWF*C5o0zSNXgDcwSd(k}I!gW5a_UrC*4??&-Fo5UYjWvs&nu7xZC z`75Zoxe6q>d_0P9u`w|4FWdaDH%CjS!vl#=ScYGv*+}GEUKkv^>{xz+y`7GnDzv68 zmdp8M6&)UjeY7122|UBLMa*W}^+=gMkO8-hkaU=5_GS|+vjW19W=Y$CK0#Yt!lc0PrbN|2IpbjH6BG7JgIW`}|k@{5Xb zhk2*QRbyYWbY%W0r0QpUstMi1>NrJf2iHOnLwm4_HJQBfc|N7$eA9M-viL*Z=V%^x z{bM8)3?qfMn($ro8O>tO+QWAPO@HcMgWJ`xPs^c_U0xqKV%lCbBA?DQ{v z^(Rtnu|4{(izvo#-t>EPbePePo*b(fCEhwA(D?#&JhOTf`5RhHqg<}BnXlPPbqX3+ zm5yejqN_z?tRPqv3HcXP$U!@kGfN((cARu}RBBrBOq!C(uKgR2u@<_ScAI%tkjRQt zGKG8-VMiJ_3RkY#DA)iCOg;&3Ut}*S;%aXNUNNTOK_jaL2_pT`ZoOns6ppzHqKIP7 zERmeY#Z{r@kxg)Z_Oo?J1t=JjxIb9+!do|^#)LsXyD!lfex%s6RLOm`+@NV%bIb|j zw%T2o19+u0)dQSLh=fo|>vBSRy&1IvEXBR&89jEgkv9->xV~F~7l!J$b{@A==JBB) z`^rV)PyJp?uOzPQ8TD1>x8Uv_w{p@Ml5EUBZ3brR(sQ(JBwoO6B7N&uCs1-^bwOD0 zX82xAtNs`Ssti5jV9(*m>A=Snmd8P|K3SF{UdR|}UR*r)4d<%|fDkEnJ?T^UsS0BD zO8INuDc+owYoziA9; zE>(Ihepr?d*CEjP2anocA$nZ!H*PK-qCXDzzw$_(q)(uV;$DWIuh}srirTj_79JyTVX4E{ zu%DCJ*OH(G-2dI9QcYnGEN>9znpf+CU%GDlHL>`$i? z(ga%1xbc#DJg5bW?q`lM-_A7AdPU7=q_=$z=s@eR^$R&}Q@HVcCMc4J4WA<-*1A@q z2h{>=rp~$CPfV1T;trUreJcuAmeb1zv9NRg!H-f3M&c=%L*_=EqT(&=VI4{ktS{dR zg4!pv+c6jmJz$Gcr}Ks8sd16Xc>m9kf-w2<9h z1UZXh))GVkke9blOH{6j z-Ihk#n+6@oz-}>%*}(BN5uxma!*CTiDi-+A_0*98b53)Gh-5fwgI63?yfnvaZ&39E zT7xU{9lQ!$_*&F#Jo=6UFiLNN7-YKlaGaFsU!kCF-(NRRUz0PuX4rbjbuB6hwLY<% z&aEopOHuf<(lOR#XDY_ET6VY=%nBp=E#hwXiTcE3ikLK!siaoRCKi z7$rV&`!39=XR?hDpdlq$SK0a-jO(DB(=h!B*ZxMAaN}3mR~DL*qw;v3tZ$+s^;h^qvFnpqd$8z#6uRX9#Hx*%PU)dkHMMDOUOrdO!oUGeXtF zvjJfUv8wCJt7v4c_hZdJ7a>IbjdcTp&v)S|n%d6kF>^WZ=%)}wac#p5zg>rJzxsx) zmBZ(A{GQ%P@nRqXrYt0anQriLh$V8&m-KO&fW-!2ikVXPeV#gFskOCU9k$gKr5SyzieGWABiw|hu%?_Dd?9ilzC_wEy+?qaqu2K3((vhsEr%iwuAO5fWo zkU1`u;wEV5;3PtP`JOJw{&3ITGj%#2YoNwpDG?{g-tB%1Qa}7Fl@5kCe8w*|-ON?V zNxuSKEZ@b6D8VV-nNumXA zlk;YoWwRWw#I6R@XJOxf1a(4v~X?Mn!-X|j2WQ#0Ri2i18=sG~t`4!0?_Ih>8C z%T;Ku*F4E*Gw#mn;`k|PAkExiVz_Hjb7bMs&m9x8D0%OE$a(SwUr}k2pz76sJ-d+fJI9Q0+N>Gh->CYRV*J#=Df%bqx zY_L?LWq=+8{(f zO26P9c;>l$akVnW{i`;uoq2OA0sU8I_~b4{#qZaAoDG`HzFStbD0)n(uWe342T#=? zWOeie5rG%qjagJ({Al7exej+D4p5q{Ouc+Mtf<0{#5|N`Go|b9Id%~K!2cxg`iD7K zQome*NJ5Z3Uzh+FIQhYYECK^cl&(%+J;AJ@uqT#qdibUHN~yJEm(OdqQs-%keyCg{ z(UCSI4lgnktrd!Zy?VL8{|@1aN4IOV_|o!vI$p_0ntC|4?0HVYw-pxNj(o+e@3iwo z=~#omy`+@UJP#SUE@a7#$zd>?!}?_NgQA2p@#H9d(^L{oWVRpoiF2zF=7P?AKU7(R zGd^crOcHbw7c#9otg(;p8z=mcKB=CSnF~ zWE^6i{>e>GWNidRB;`{cauiAZEsbuU3RTp@UxL-O?oxe?q9WBD;X1T{%f0R>&$B`! zZKmR>DFjz%b@t5#IJXRNW%JF%jP)|Nzu&byvktS49?QMge<$t{ZZ5Ju>`}2WEAYt$3DjemCE2fp zIV>*Nc3Y1c4exc`ao{gM%%Xm<^hf$-A!KOIDdoG1yv)M?Q!zjxaUns_&r={?9PM;UkvCig^n|N_G-wkq#cWIZz-iO-8zO8@ae<*eu ztT@I1pZ%CG;ytq9Ro?#iW~rc6A{$r&e@+>EIq@vG>X_=#H*XmH*9$N09w+e`zAaP% z(sE~T@3Q&O5K<@HzahcnN+t2EUv+Re(;@p(0GxZ!N`!c}DwbMS<%H`aPrlIH$cY z3SU>)b%}#Gd-)F8=bIzjt^OD%#;r9+6}*`)G-DOZ-%)?g7eCB;_MCeJd7AxQ4>Lfca}&YrEb7#A1b$3jb7dtvvvGJUeNDs)e( z=|Q-MX8Wsy#*?db5LkREN`DQxz*wA!g@a$Z6;P3`RZ=+)ascoKC#>o4=)x0bA^HXj0uadBbr_R#;pKSk-!}cn)WK+k)xjrU`Md zMn@UdLzcEY-_=S@Q!@U*a2o?Je{L_3F!Kn59Z%>jdYlr=D>2vYh@u4nRn$fD5{{J- zIXEv(L|MprewF+$9`%XRt_&475L}1Ft2}}cPmA@T^iOc+{i7N5lmd>+ZYjvqIRPY8 zszo|6yD>C$XE@Omt`RdsE-+il?3YpVCOE5LyB0jh3LAL|u}4ZaKLEU4t*eDs87E?C+`=O}lBn=V*{Re?3Wlu*(#&0u>U4mA<+g z-g^ouKjhb-c3@5={YTU!BQ1;$)pL}rl?m4u%iNJ>ej>OU5fP;hSLA%xryK`+ufA&D z2uL0H^~ya<)&gjRwm@v_nSNe#7p4gIyL?CYL(MZ+*u`oAOQf-B%&j=0hk)?+lHt)Y zY#2`=90?@}w6ud)7UFle{DKlDlAw8RQ!1@EaH6~Wt)Nx6?v>N!AgTeBEQrty8?2sG zcco@%u*i(E0{nGN+{KP87{ZISDhixSI3XnU@d{*U1gVswL^ma+h@8W_$|LEXghuf- zx+O(2ULh9uS{V93b)nKWI9v4uU@>@7hwRpkjo> z&gF08OG>|-ivoYBb77H(7O5ezY`iRWF6-9#{g=rIxP#riwU37<*7Bb)>H?pB`;HIi zQqC%NRHf(&O&kxvG|}lZMWMs5lV2Vis~UAs;-Og+kpaak99J||6v!i2slS)9Lr;0s z-X!Qp8HJ`s?bDCHwA64u+^2E9dO6g$w<}52}EDWW;gk!F2^B;2qKXDV2 z7`O*3z&1XV5?5sG@ivgC^;qBXl@o#->-z~S#p1br3?^JCDlALBLGE^mu-zjzKTB8d zAzPKj0Zp9etX`~Gaojs~OCEFFBz0|Jjo|9DZ&^clw&2j=_s<@lS!E=BLXUElIb@oo zw?$u2E_ny|i#d@rk+|lbX< zgldC{JWS<0!39z_Bni(E$e{+wW45<<>)MTTxVLwtrv zaaPsf=I6DmTE@-}+lC&)5np}#8;+d(Y+175MBJhTo7sp`=^HswVpxy|4@Gt;`4muI zJS74Cq@^N`>CQMDuGrxeAiK*gyo-MGlJg9t!xjdtZWK5(>WeatCEc2mOriIqE>*x? zl|clr#uqo^Huox(_Zrqzc0ZHj!U}7W%w?}s{u$awvw9ntg6X*0k7MN_0D=m4)2Cs; z4Ep3bmP+9CK&+Bbex4W^!Z;2a`ylkjB}mT?_sXXZI+?e4u^lHy_5339hk?c#MpwAI zacZ6EukgCElwV_sc=BnxslTYl@$jgq~fIfT5lB?z8BvsIan%9-@JVvlaCy6V@a z{@vK;X=k{n47R3(2tU0r3_+8q8WqsPDUo{rad>DQ+ul(z%z>^L@S9ZsEc!_3@Gt+Z zl{AP7M^A4z&X}4e#^YMn9rB}O!GDk(atI+5${aerJaO$#Ix#63%t;AE$FQ^=)jkGWhl}do5=p6Fg{c1v6qhP-kT8987Yvf0 zN=bonn!uv|`5@1h-3>|!35x<5K5+{L?<><6Yk`DT!gSuDj*4{M0CP?3zLoFH$1xPv zsr?LtaLP6INgV@U9*ry=&~>Hwq7_S_!hE~RPq)qVs4%B^QP5jvisp)}u{tCf{PekG zwU|=;*UETRN-?c=t0_^UBcfhc`gFNEYxd%-3E~#!tPQ^HY4n7r7KwQwKup9&ih{d7 z?he86Af{44=2$F-Dzi|#naPIRJ(gN$Y+#VtvC~^Bzko4i28kKwwrt#ME;&=&t{S=4 zS`{qUGVS349spddj!2dJ=oeXPA(_wPih*px`O7BunqLs6oxee7M23r!Nf(jV@yCTe zB9(=8wL+D5RJ^vk5r>}7b=Rt!Kua}JB8a?TkziMkLd2}c-#~L>f0fPO2=kKmb{?Z- zbE7qrH|3D2AIwK7;pA5&8zXER`e4+n{h(=Vg?=0;p1G`sT#Oy!V;Y1ZdRYK;l&4`* zmCy@6b-RfeY4^)|g>hNL?qjPrx`>iqkzqGLK0!Xh7*C1(cqn&QFVq-hV*&uMc|LL) zzVNEqJuf2Au_c{H=S<|A2b9G~iAV^Fwe7isE7&-`=wHL#L3F!?;j=PyozYwIalR&X z|6(evLt07A2S)2l#f{;wy4zs0xdhW14$1P!N3R_qSN)_A|5G?FbY3RCWj4?z^l63? z?k_BSS)0U6?&i@W0ac~6MiVpb;;7$M^3l!XI0OAyM52`MSmwLzh`wW_b z-&^;i-fAfx8oIrg?SafX%riFI_mMqoary_kNl3)Xm?AwG z*WsNCdl2oc6skt4k%6)aDR|*jB=t+lSOmd9bk-fL7JSy%x0`12qfG zF<*usbL>i1@-nZ-h*l3KRKBhEu7vlG8)rVj=_jCC9XKL+H_jz9(YE*T_-#HFG1j+4 z8xS$pVh78~9P36tB={!)6nneyztG^Iwp9LC-__+9O&A#~BS;mRtmHfI^yhrJ{#A8$ zLU_R_c*0h_TIhjs0NyY#dVU;xcNB=lsl-?+Xe}p7Us^N|r^JP9{h+_~dkT38gl1m( z+b4J3<*pC`w9xP!4sW1`U{0FR5RnIrjh+<#Mf=HoQ|1;n8J9DwQDDZt{WBF?OPxy- z4XMy4meQ!+vG~ET{V5e9PG~fWA-@!6RP(Cb!PnbfeCkh3vziH&9;q@-JvAoVkf`;O z^sWF|tZcHp|4 zCT4&)DcmB}@tVXCg^ZiHnaN=?^!C;u6|Z8TfK15K+JgxhJ?+(PWgTsABcoy43kgIo zo8Mw@RKhw}v{w&YB@HQU2NH=$g9E9Q##MGo#`~PoqV@~J3jvtf1ghQN-7+6b3`^81 z14J@UEywl&SUw!ANH4Jnx0*kzUa&|TO4=L`ImkoYA&K9kMVcouEtV73S=c%m!jl{D z2m=lLo^bxKdTl?}bW|?y^>7vuHw4T(S~7m#R#|!&SngkcfEAR@ps~KxU}{ciZ8Y3` z48vTiwMomW2_L{w2c#-^L*~4W|HJ^9q>oZ;Wcpcjx#8zwfXJbIop)t4i!5c4W%Om# zMB+sGq=NE_e}tQ(pzYp>_7y`4VkKe0FZ=<=6UN%+$3FS#;OCfUAf-?>iM#cXXI znvC80y_iyZgZIvj;cv1Ifp#Ei8q>V=EBBxO+?CN?Ot(AD&8>(-vXCdCn}0D#2 za&mL?&9zKCM|8<8B=D z`cs=Zn3;hW6I3@mn2T9UwF5MFtMekCAy4W%^5dqn5xT5AUn4s#$m+f@)b{d+@0FV_F^fVYh5@bcA~pONjveg0$WqAI);uCrnl(#DS_N9rIS9 zRZ{Q2-U>x}YjH18rtPk@vf`DRROA!IY)_xhMg^+#XOd<#z+>QXf*?sDVELJQEdEoj z;#)YmAd84a-=MJ@v{wXI&Z$@+6b)r8k=MKI`|Dr23THzb9QGNM8PO%4&3B@j=^6n> zP;BiQSFai65CQM^t!_+iukl@lr#HBIc#jRa_B)J=KB=*t_=T(`sexaajZHE``M74bxW6H=6OpU`daGoI!oM4KPg2;nEqGDF%;? zogj8wl6e)SR~oFNk%pO~Eh7%>hta0QdCj>E?L1tw!yGc3TORq0GP>EI^mMu^)F%@H zY%vEFX1JeLNA7|GHCsyuW??E)Q`Id|XCZGidCfxcUZ%!XDMZa}E_2hSX6*-4c5wkq zDBn!tU-iGF)Nb&9Igd5lQbZ`_etE4duq(MYinMnkZt85B}6hR6K+w`~XELGg~;=`5qb4yI=C6HT?lq@y}aFF;}hvnmqY#74O`c||| z=(B#y4OQM;t@tvO7kH0XtQ7KwgFTBC`So@qOeO92zq|pD;no`VSzUn};YL;CFC>#I zaks6wpFy4|@0id2Rdu#9YRT!O(l3bzi8Jm1|KQ(QA^^9Yly_kRE$NS=Bsw6z$(+DY zR`!jwXwfo_W1J)PLg2-U?3n#6*ng*$GR$B91SX7~6`bo;nwXVz85#}HDATGan8COD zvQa`2EW+$S!?Zg2z#`qcA8kdG;*7ULj-ghf=cuT=@4n&T!mq~DSKdqu7pU~2U$dk@ zWl*J`SB@_91i`Bvfwnt3Y-*;6>beq*^+DZ~6HT6Mz}c?kl6t-2F;|#3C{nzLHNhn_iKxIayVm!t zqBNT3W&LZZ*`MUAX9?1K69(hRblSmX9RZxdG_drcOW_nn7_tirvyUmqPab{Of2|>VvGz?jxAfbOR+-k+nXdl9@8f&brVFI zc&`cMrpj{QRVmMz6BjAx$SgSDOB2fII7s^ETU*~>(7fPd0%tne3984?)1nNPOQunw zh%02rPS&w`AiI-@qH0y3@Oa^H+Fl(H~F&cOO;K)l~&Z_+K{q8o&toVLShpOG%(oGFtf%bwA_w zc!<|~L-Gv+9z*JwSRgHHL7A`uqF=3GjRzHPlAislCL-S@IWXh`f8dxe#+SAkZHR|T z2YeORYmPg}BHa9ebQ*`Gq<;M20 z)d4AuJP4_!ihvFO-gOuiTd!>DiKsm&+slxA~+!kqMFf$?$&x-F3`dje|_BG(wOw zQT83FSSSd?zy}a^MZ<|=WZ8k< zVJon<5iOOpJzFv#wkoFXxe~=g+j5pi~lXa3sa@E@3y4Y+Wr^#mx`aAYp~iz zwqolfL|}=ldh-~to;^Dpr1l2!gQZd{67mA)ze8j)oIN?Agyh8VPNq zJlW)~oU}ueA?%*BWr2j>@4`z+4R2aN3_5Hb{z=idr%lpGo?#flKe=%MzKo-xhfgx% z)a9b7@A%XgwF4`iT1YdVI32G(Y2$NXmZZbM3h&0nm1W1@5M?djc|^%!qy20LBTd0( z6~_gW)ElDPsr8DK^APfp)GWxbZYCcO_oi1Z720~7=5vC;Su#-^V@(YYGuIp3SS6(u zGX~$f4wDy)IIy&|^_;VzJ4Cmlup~l`fq;W*KODSN9CX zm~fD(DejkX>$Ik`QQMa0l@$~Bz@7CuD66Y?Q$vtU)B3Cp6G9FGS`LAUIsO-W?<0EW*~kc+Qsza2WL<`%;U zWS=<}=|xuooQ-PPpG1|K$fudZ`Pdp$og3c2%CWU66=LKdQ2_Mv%-pS9n=st1v>d^V;?;ztslAv1AFwH*NaP z1Kj4Cc=@{4)$@c*b}GxME1#n_SkVHa?d?Vjb2nMBFhulFor#|bIWMoFj=RqfU^cg` zHwwza%kT{bv0Sy17~cluQ5_GF8He~%K~T$5SeY}hIV4&ytq;XX@VlO__mk8`kMs@k z*&w0QJS}eL>s)j2bzXyJ*gHukSiZiv6lLS)mZFEwWBS5pItE`ivqo2_I3}fWwR8Q< z@oFN1ReSD;ZJL2nd05u%@=@sp2%cJGTNbVpt-=V75q87Al7cN|qtv$L+eoh&AL|h@ zI<>y|{3rCEKvhcNp?Fg9t|Ri~CY*}No){p)6?8i~iao?UF>e4D&U^54QoMze61Jsu zZ}Pb*?+l);cm?P|tHUPoG2o7{D)cU8hJuEz3xLk}UMDq7#KYHU9SWaVZp^y@zY|C% zD8*<)0PM6~0j(^{v3*x9BBaW+=&O%swyjfgBRR8Np{T$_i z%d#y$-q;i$Q#L5EU2AUF`Z(;QV3K^yt~k>Fmg8Da!k~b7I=%;lB29 zb?zA4m7BhqWG*u|2~L;y5*oIuIGdI~20A^!!*!eY@9X^{wmOzH@QQnlR`?`9lcLs` zRWCOze)E!E8pNHG=cbHm73s8UTrXNBcY8jxxAT(zKXEN%z2-#`8A==Gai-fw+qW8cF_JrjoarA9E#`@w zRyIES7^`X3AhYF6iyo(@ESKH$pMyFyo`1(yg2&TdYMh{>s+-%%^RwEmyickjjZ-o)XuMKT6glJT#1^h|E+`N^VtMuTJEB!z^x-K_@%1FK zOFLV5B|mKpB>9`ABOJT$d}>3pysz>g6!iI47qG2tApOr0>3j1`LZh|O>lYcpD>x*( z&Bq*tg@;IP%rG`RT(eG6XaiVoGv=Qk^0pORh&zeOE>(k)&d*X*sgIR*obC@WT2)~c zfK=U+(-!JM1JQ0Lv?aM|FcXPTt?RbWG^Rb4vD1DrJ>SV&Y(SX@=%W4oK0noufq7BA zKDs;=5h;S?5t##G?`f|m{n%x-yG5!|qnXzu<%o=hnV{GbGCnJa$oXxh5(XYIgSKU3 z3$97tOE=}f>bQXOPv#Y3uHShp7Iv=AZUQ)n0~FFV!S%rfLo7Y1|I9#F zizI5_;rQcQbM$%rLzn0I1{+!SKnIVHhv+6ZraX+KlvIo6f+&4A1VF~6Ov%j0asZ;r z{0bJ(bZd+(h)tR?mWpS7gQX$B}iL`)qfyEN{MuC(cZZmJ4$`X0^J-1Lu<(YP!7lPsc|o1eNXSg z?#84#jn5;UB`k8i)f{W?IfDAn&sglZqKaG=!5T`= zG!J^r8=TG_=LHAB4Iz-jI0W4Cd5qi=^VsE}etY+d-E-JGb9RuZBdzEmmdRVPrq!Rj z&+o`q^v04TrW#v4GpgS?1MO2WL8e{2V#ar&p~<=`ulH)k^a1(lY^&_Z7q0-hNev&r zCoO2taF|_zPgFn^^1ls5hW3HSGM@38n@1-|v_fm5saEo)#T-$AKvmhn&=!}G{I9U= z2fB5W-{?4K)*KV&;Y6nvAL7@+!H^RHO}l4_#z^4uIMEn=8*p^!78S{|N4%`maFAWnicsGdk4V?aXzH+?xr~CtOQ+ORt z>(&51(ty)hW?BVT@47nJ-6ottnq^XwBrXi|346gi^T&t2fcdN@zPNUl8qD3qnZ zrEV*Zu-a-y?fP?u`*-zCv*Olu*NDIeLi)om)Fm=ZtgtQg>hLgtM>5P`q}O*N9x9XW!(Xa9YM`F z`dF6v5v}sz!)m1aO^sp)gu%gA@|hRK+hSnD^Hi9OR=^=fAPuz;chqG+m`nSPzG#MZ zd4#HJVa~DPo2p69rn*q>*{Y?FvPs4d1KM42nN~YiM}6rAseedvuEV5s}0q zPKlmMuJ4tHbN`-+k*|BlBLj#;S08IT4m(2hj8@loOZe?wuF~&-^>9)uYvH?9u*?Kz zd}#92wb6ZEjYc;zN(}np0cm2wccm30=n_I)kmlVX!qkRZk@p4=U$#Kyf->MgaBloRcO`c`P|oclT41R!PYJ*^a`CxoXP^okrgykRj58LY{+191oo{%zOVO zVoiY)>HNL9lmM8-8mqZtb0qiMZP!hPfyG-pOj!8$3(;cU#gwaJhO8xa>(7V(EL~Sk zwC>P{aDX=GC%kzs-3^0W%y>K+XQ*J`xd`s*dK1jVU&W0?!rN3!Y0S4KuM^5C1Mw=V z*#fZ-s6SRY{^thZWr&U_*!nU;8|;Swr*WV==BMn+qxAQ4BH$K)<&ChIyWn)y4UMqL zf;v3 z>h9?TSNK!O(;`Sz?2Ba$*LAbymG&OK+4tLzJODeb*%W3K_$R`He<=i`<=J^jyqQ8F7%V;LPh?l1#l9A|ijcMIj`B2Ds~ zIwEXuCoG*4oC=zWCi?N=W3MeD1=TAF7UHsO*z*WC1fk{1_FI1ltcOIUX~f!$hQfQ< zas;m9_AZz{*MFoe1aL&q*|s|jpn(m>jH5luweq=l%_x=x5tOym>H%XmlHQjQrHx8x zXAgU$oPMNFMpmYg$KQ1pRPrJZ;h*l~w&rjmJXBa!@x@F-g{vpVPPJGDCsp%3r_bC~ z*!F;9m&Oa#WUZ1LJ!5@MB)Pi!;ia(mhwIboM)2=J8|K}$PSA{!(6(*FBuaqESq_0W z9C#PMV5+sH#icGuo=?(%BBY}G6sSNGSgG1cc@C5VADX>(lUjj>DJgVNCc4*^zb3-) zf#-St#d#W3{tUazk+i?VF}uqe@IAXW#+6$>y=?{@QV+a@lIV~yyw#_elknCkD)xD0 zD}Kz7jwqg11cv+yf-cb!TzK;)!^0!f%V_YK@TEIkQNlC0-)=$zk24Oy$h$e~W$Y|6 z8+zaSN2;lV=dljGZ@OIZH^Dd`sFfM`3Qdiye`wlF1X!xlM+|EIBe`&(%ZC^57GXhGCF%HX?>D5~M%2TStUM^!j2SC&7Vmqsw;BhW zKQxzA&R`g)Bh>?c8IEEk;QefjY5hi)Kq=gX8CX0y7nQe@2U>8e0Y)~B*Xl~{fj+A2 z$>LrNriT=2<&hCS;b;KSkqt7opBKt{?qKb=NW#?;Mpf_Ksrpy`+dYDRA6IFQ{l$Pg z*+9)gpGit zQ(RugPg)V7@45H%FpahqtyU)X#=<@ANUys|W^}L&+1XN@hx1)t;Y8E(Db4vRN~S(6 zmgI-=0?=FLc|4ei?Tk^eQ|)j(qS1MIiLTK`qkYUDl@LsuS_35xc8$=dY#jHI`mL%X zE^DjE0YuZ#Kb0J3R^}IvCP%rdGml7KQZqcpT+u z=iu-;#r!gFv#85=E~>S!rWf?y%aBA-M#pvko&ao227WKQ_Vgu_sPt6)blJ|@wx-`} zn9it#c{MozCDA*p>Eq_r)w@#niEQfK++JE@a^g)+J@v6q!sBzZpuLMJmo4NBSYto{ zcNrhkQ>8IgVav(x$)>#IAll+XczzX`+2ldpb#2cFu*26M+_+MBMDec(P#UZI=KAMHlefR-B(LEBo-lG5MP^7=%NeWritN(uNqnA4`LpdS~N->3(x+w>hg?aT#o2@vyl;a zJC#uZ&Qg7~{Q^3a)xLy7_=_(;-DE2Sh9muR5|}Wx-<_^!GDT@;frDK@S!Cq z8WxuAY4$lHw~qg?&zmX3&p}ZO4)YS+T|ZtDi+95nh(TnjEdG3cQ58AON1a0FeEcR- zN~Ra0n26wsb&X&XWzvr)&UDBs084<&}-H}M1F9;wz6X3fYnx0x$!d!`8|JIR(KDxaLM z3JI;MQ)stLkszP zfTx^jJ2;S{#GmdhCxC61o4NFtV6U=gJmxvb$!0;zzZ%V{cs|uqRo55Uao@rtPb@}U z4$hkWUT8pdZl`-lxqW-ubiW|Z}2hB$b0;uw_HOiVm`ImP|5Z@%ggz$2;Vk+ zi5Zcvq$(~juMvuErVMKX*sUquOh-z}M8K_;amR`gKY3@i$p5&jyu)L>o}=vAN~dJ>{NqkkfX6R zndCTIPIA8Fb(e=&^)Z>Cb`;nPZ6tYN37Mi3tgTs`hu-ekq{XFYV2blYUp(mlb1PPc zlT$pn^gtx4Cg5d{-^G{8Y4WAD#68(t{OtqS03rM8U{u^*-NZ^0SWF7;5H_EP#33fz zIPK&7az5ptkDxWECIvkf@ZC|e61%@ta%#=~uincYeX51v4=%^B5OBIY?EBB(3E~50 zdv+JfEfg+xxb(}I5M%eF*iacoUnAScq+bi&3{d#u$UrEiOO?0zJMEkG8mvNc7Z#ht zTo9>(-Z44}`Q1XBG*axvcs_M@n!MsGq}-=5@2E)}h2YPZ$TqZSS-f~d%xci@xOWCZ zh7P^RbMLjD3U#^ZtP}KuEvECMb7~42``!L~#-@{89$(Jhmzh?(YR*frgLgBe^S$a0aQe&a{Ja)JCzoup@P1bt5;gB2U-qnrU9npu@ z5IMPX$w~*Ts_ZiNCw2r575CR1)qRV>Cjw97NT|4NaB4juKAQ=7$w^;Jpu?L#POw&i z_`~+J))*S_LQ)QktEcnnv3pE{L`lQpcXMRw2+iPT)zdKN!*)UxhoN{^ZHq%cB2!D>Fq(_C<4|(XTQM| zKN^3iHLi>B>M@HqWrel(=Wsd5VR)joTJu91*QJ;2DSZ|$7e6)*d2AbDwDiEpxYa&}xMw{y- zPUN2m{OW<&7Jpk-08QPG?$0y{n9%6xI278;>v$mmorsrp4Al-AHl0b;Z= z`&wVDcK2vrHieX*n|uLgX{!Ye zx|8>%QzPY*Iodx#>*}6ljmA7(pQ)!=W-`xoCW?zFM_4>)-vicM&o&dELX=1z<{ATb zs}pE6@qCjxw`HW93s*c9MTZs@oKY1|hSs0gEh1*Wo}lGA4;J|M#YqUoKc=X@4w(t! z(tCRC&w7s9cN{(cEf2?=LFyQ&CRp=di>D=1u%w#Q?)6o%Q8BVTdpv_~Yu+PwbI*(s z8Uh@Wc1B)+mHQvo7hx76T(J9dAN1`uq|a zkVk)rLq-M)k3eg#0fx%LDl!Qi0~jX&ir_1NpC3S8Mg|5PvH;*|*gXI@r#FxW>`TnX ze~_F%(~lldgYb9o$9+g}Zb86lc>G-gi0K(rkQbl)cYf~6U;zMmbA*0G7(hUjW>=X& zEh+#tR9fKxC(w?C~K~m~eg{;C_dIg^6|ANcN%Vlen1%a;B_KABmRUA&w#(;15j|`oZnPH@_yiBldA&&z<~pJ z7WnNx`7{0h$THF|t#)<@!}#{=dAfhofY*@Vf;b(H@9+3Vo8ElGZa~709)54o2$vAR z_Yc3O?)Oe#;HR*U@6H0%ecoX=gpk_c7$`vi9053v9?b^1@PvTXf9$Cp|LNBsHpy=r z#J7Fo+aLMu9_uH4`um@E-k)5}HE5v4MkgOjzrHirJ%fc!K|r`B@I1gb9vgx-eE(e_ zaO9G8K-w|PJj z?eW3=?>cM&905E8#(((9kGT&%j)%uzSY`*XE&kwNHQ{r52oTqIZ&>)wpNatST@n3} z`IIC7%vOK4D;}57GQdGtkoP%>(SHo#{&arI6H`MzfWJCEgGK;!eu%r_Q|}JABk!QV zf8q815%0e(tIaRZ0AE1Uo*kZ^9{})wfA2rmrXTEBq~*NR2k!V6-kUEUC+hyJAl!Y6+ke;ptM3H0N5=4MD{^oR#Zxv2-5(z)CW)fT&JL*ZQa+cnJt`Q-$~ zSgW|%cr7$)md?sg*GH_q{j1sn?fu(ygAItI z#;Q?y4aPWEef$LtA!cOL*3At})m7%IPQec*&AR=-)_>WwAp>0mAt4XbvH$r}HGH|v zM~=iuina%@aL$jXADGgAWdnimJK^U&SIan@59=~Wt;d3OZ5K*Bh-`S|u&?gt>bpdG z?R@XQ!(D&%BK@%&n}5E`H<% zJX4kIZzRy_e=@t$ZJx{-Q6!Z7-jmKA1peLJajm6#J#7UTmBUHxo;e|k_m+{<=E^N3 z0?zXWAkqN{NCP6r=^5TFqW-T_!g_UDdx_#+U3RqrZN-bGWUu3QrMsFUtQIQq#nBvj z@7DRM{P(m@{riM-AKbmCmq4OjN4I%U(K#q5oK1sAb5$XVuSw1%8>V&oSGhJe1(Kg)by9{iozbpHoX=0$Uz+Glora@2A zy59s@@wV-iHOLgtdpZdfQG7|mDB#JNeMJPQI)jWa_?}Lf{1qP5v~juuy3z}__$J~2 z%bSr2ENpr1;;qD*6Qk)uBeAm;bkT)-(ph$0cgG7yNO#;|jm3N=D6LlM!cm({ z%zshO!AIUprA}v(^w3WKog&laSNTT&9iH%N`;l8HZA`KdhYn2{5Cs>(^kSh*171%Z zLS6nUUj8xVlK!8g%OqrxkSdz<(dBb^xU^=A*-418ma5QHTp9kg-^&+T{m>^530LVHHCejPT;t%EQK|gQMP}!F zJg9z$R(oH-!C4g?&sMkQmOVgL!um$wPE5>-=@({yt^d>5R{+(~b=e}pA-Ma+or^oc z-95N-ak;o_aCZ&v9^8U^a0_n1-7O5?$g98JOw~+PSJ#of`<#|j-Mee;wc2Hk-MD=C z@6KrlaJ!&3SrYyn4dO_^cb|=53wR~x07StnG&}CMbf4HVbdfOBo39Cs4@~M?Z z<}RTn#>=hZ{Qh2RMvi@V&{Z-hL`>Ic0KZ!oylqY5CPf0Fyy-p3)>7(02!$B)7HpV; zwHRkUI!%g%*j#>D#0f39*Aj5|5B=QCQbWrKSOl#a0S;LOoNKu2qbgHd{ z?lV*x17l5q$Pm}y!e)}PYPZ*kexqc@GEtE#p3|?;l`g?$Pv3K;pi&9M#c@qEG`}}9 zUzVKTM#q&ei>O?EQlFe_>A{)83$3D+`}I0(MY*!P(Uq}?1lw*D534mFECQ5zyXQ%H z4?9_pUSudxtCzJ_3Mm%QOt`_e#kf^AzwR4Q-v zfq8_#e$-`WpUGh@JX*Qw4ArzV3N5shfVh3&8fmrks|h3q*=Y*~a_x)ZzhNhhQW%2n zSLCiX8hF$zV+Or+Byn(C4>B&j1EyN;Jz*{i2CxbznsVt890bxH2U;`7%k(Rg^~m|z zDEOJg=oOMv48HpHdnA0TibJU1KTe(NvG={F;Id{ja7X%F0 zybIHpS!%6Wov(0&83{9A(YcMP;#36*%WJCan@)eCmK4eV(q6yu&Dbl_=3y`o=w7Zf zWMN-1sa=zY+pvbq93M%|YFC!^L}->;Ro*GuVzxAT*rug`e&)qnIroN>FjG9Vh3vq?wwpJovWKn6 z4}EEQPy4O7VXo1D$&7tuwOv{w;a8ug*1WTZJ-T~8EMbM~8=POO7Lef*g(LV-L zLC;U5^le(d08wk0vo_72{((BP!(;knr^lGL#QrltG{6bQ)?TGJu8(-N;2oX08@Wg}fU%CYF@kf>CJa_OJJsT){166j?Xj?Tf2d zmy>Zi%P_m8Cfk0D713RW2%|zu@lKjmrN1aF=q<8usSBx}{s<0lDHtQ2X^8fZ!H=pZ zi;M1pOY}Qz4M*h6X7~edebBY(X(M8H6FBMNk+9NJ>5ox&(28E1NM$Y%v|t3|bAAuEUA=>v$Y z?(20OV2iIfM_NrXcpo8Zd;-4#$;bMrpq_j1%F_hR#t$P28*8oZmTk`I8` z%nUsrHmE_c+B%;fZ@8HoCPsImpLa)IQNC%AywwM~Xsf)JAJ1O){@@@8C-5G@u4|=l zH$$TU-a&Q6nGP~XiBxUO&ik~00(CSKzkUiZh5oS67kxU?XbQvm&3YpcTVFi;d`#R`dmRZh`25+-BRI~aClX=Jib+%c z#)0~wGh&{&ggp!UXzeDnE|&Hq5xlvHFvo*;U1Vgi9Jk&RKMu37>XvJPB$_sB*1w)q z==|^BZzzxa$RQANTqlR_gvNEAjF~4?-_nauEu}0L92ncACgGStupzzp%pR7Wxpbk% zuIq~C3J<8SXlgH`=nq4;klLGc*-J_yE*9rc7f^WN@F>!!Mtx6qxFD7p$Asc9s4?BunSE=4mWI5NCAbk3%hroj=l5>V?8H;*LOSjBvPY5uReAFX zcC*w8DiE546pGIe>ij~=Gis{k2@3JtyscEV;YO_h#qkf;o_&?mgxDH~Ve(8*nw4aK zT!E)hYh#QMqF;ApX5p7su?vuiXp2F8T}X%9wZgd7@pU^Xyzli~*S4QPxjv_k$a`b( zAOcgtouq8u!?2wu5KSsD`KHUz*qm|t5ayQ)0fkDG zgi=(v?-u&pgDD|Zt`C70oDDj&?~P4*f$*Jv^*5lpNP z?&{;FvskGPWD0Egn{%0&rF%t@M9@z#1<}~RXz$>~n#+GDJC>bvtlzVBon;*}Pd*Vj z{ZgyLVZ5!y!`>L5h~|j#LPN0Kw7EWFlz=J*E0D&N)=ccnX@? zv9$aGYkxMta7!tH0I$`vN!Yo6&#BrSDSZA3)5z^%xmZmoP2^mr;r^{i>P>a0%fwoi zZ7Ryu+<-x0NLNGWgdjdGP79$`=MYa&j47W?l^EQE%fzOt!+`@@eQSbH)YWkLOiM?vcH@l5q!O#k}rX!SOG~dr~V?*A{@>p+yEfh{-*7pZF!G zOeQN%o8C;B$F@J;qmE?hYPRn}g<)*1gdb~2gBU3rD#rH?L@{!lV<{=vFmzX^I|C4w z-LX4B=0AYQnmBADr3JZBNV?=&XUblj;ujioqQj{5XE;w|anFdJ&2TP>J!8#{I<1D0 zVh4`?p;02Wwjg^r=u|daq46$gdS2i6p=c`qw8EAHk3UxPgx^1%#wvl2C?leazpKXG z+6}g|+W1bxv&5^n7#j68xASl19ddu9vDZHM)nh$6p#+lF>s##*d;#*{tA9PWYOvZ2=^*E8<1f{ z>N9JGJDo(L`*x+QZMZqj()b}fh6dK8SW`1WZdXJbPTDZ=e@=AmPeKSR%u!Odk+W-> zFx-k3YWn(;@`of)Hg-{%(@l+!<_l$SZ)HksfAb^bmDat>Jns{W$Xtu!KKSnVCZN1h zeSg~u`fgo_?pFsmo}l~}@|oN|DlGE@q&P@aRv53p5${Wunp7RCRT2WA#52y|=KFST zV?^3*Q%!j%js6dOjhUN-okqWw)vSg}XZ;V~AXhI^K?d{5wm{QAk9 z`c49o@=)g{hk&Y$QhvS0MT9fa9r@Em6R`G6nW8;fXcIQc52x9C*WaDG`RD{u)!Yle zowwj+@buJ|Ly+)==}k4u%Mvn6%UNE&m(@GaEW`RHC05^fE!JZo1#)`EeEEWMX)gg2 zoI5C($=UY8724j1iH9-qs7Cbu=9{81gOxV>R@GhD~?in@K< zO|b}jW=goC*qXefxFq~8*(F{rAEakCq=!v_9+4QZTwK2HgSK!EH3q7H)uFun`5VIv zkwLLIt{#T`AC(R*m_?rYV~I6avh4YkY8*-0T^3^W;ot0z=gWx+cp2`0uktt|@_*2n z?&d}w(iu)rQHQNToStUrJdy0+M9bLWam@DxsfvR>NKnU9g5XWl$V@5m zyV~sAj^pTG(sjw{T;gAaRJVn#rXAsTQ}Z%9(MyX1d%W-KL_ zf|6iNqW>f>UZIok8#Z9U_Qww2B6;ucdgq&odM`x|@h+aIc(Fntd-Tx%ynYhgIp63&!|- zQ>((T(5=?H*}7?8wL3n#4zdH?Q+u>&uMnDHq^T6<=E~~)tS{8 z*}HHQq|2yjhY9xu17~!^O!gAHI4OoV@jZMni)pibpXD3r(?wp^m#nczY+|&sNe7L3 zy)L?Slisax=pbObr7H*PpIzgmSkbt2!JeGhgOFA|Tv)DuJeFCZZW8pKZrXVA56<_vh5;O)e;-r9LqRVM8uyE)&8~IGqtAUE8EuN?TcKpCd zElEA-;fmd$x&zl)4B}eNra4h3!}C^L2Jjd!Sc^q+<#sd8Olw_D<@y{;bH)W1`hZ;` zS64ct=~a%g>PRsBXS&eW0EFL44BwL10upYjF%V)`AWmnMp8$Kn6bQUPIoduuh>!f!1DbQgUI zxAyMI{8O;P!#8@G-?dnjj27RO+j>GjuJ?yw*V4~%< z4x^$y_E^G}FCplaih(x1nz=ca1F_{x`F-5)Ywgy%-B`WN0*_e22cFr*yacdvE&@L_ zVfEfQY7G|hmXTr;572p$IW7X5E#4TW$HUlN_d`ZT)PnAMTDqJ}Of5sv>K4Y6X9 zl{PC@2YNKe{2Qxr{qvyLn1dy4ZUZHaC6 zmRM|eV%5Bm()7yLRw(5xFmTZ96dXF*Ley2LMmn1@Kw@+gHCuR2YxFmU;h?T~0t%FZS@n63Tq+vw+9! z$E;Xfk0CRouuSRB)S(GgDzI6mg#n$s7K@Xw5u<7R;;wFkaoZnm_J&#$1wY} zI{Z_j$nKTX6Ecjn_9;7CI6F?|J?;2Rj(aZ8myso#Xt%MG)R5Pou3S z+DJ{$+Tnob?@$_^6GPtqBRTee~=JXCn2| zlQ}Ep4E=B0lFIK`SS=MlX!o(tLWXQEnsTyrn?6XZuWoWP?a{Gv&k65AgKFR@fwJo# zIehMkoDyQ<}B&6u3!jo6dwT^nRDO;urJe zNj88<4XzEIJ29bKDP(=I+H2w@d30h^O=pJ+!Kj~E+lyf69O&w&@!ssQJZSvdiT{J| zz?)RU{`hD^kVUOt?`Ny5kJi;Q=hCGO%P)$j<`d26g`c6tA;jnWf~z8I90n(u+D`Us z?h&PlF_W?6en#Qq85F@G<`vGSulz(Qk!b*^jQl{;=r1)+InN=?eIoXe$~^$0p{2g+ z1ST1lh;A>Nu@RJ=yRvev*u8Y)PH~z^%VB^IoDG*Bg1epNp8+E;8$C`1#Ep(HBtS`=BVR0BM3WaG869gDqQ@9>W44k3E-0l1 z@wrBh+8G%~bPwn3a6c#_foKAGh$SH!_YX1`Yi|v|f*iWnqr?Wj4qCLG?}*;|68C#0 zjbvg|N7q+`3Vb`))9J;6a1oG#hMbWfcyruj1~KtLb%B$$Viv#D!7@(z-6H|(S7|`I zLtP|kG_^Fjlw6q};GEb(mWX~1vi4}0PkiP6S%N$lG`ct6%FmlCzYA&I@Upd9n+e5o zy_!HSrZiWxfxe-A2mkr)JK&Dk^$i5Jx9Ge-Lq)k$lKj(c=dgKecz5ov`;f$Nw;D-c zsy?y4h+Q+x)3Eg%q^kWha~c)i@giJL?^CSvT)|Uot1k1yASt2WNX(*SUwiQ|B(tvp z^3Tlvm3*XXbc~tf2N%LV#+t<#V+pB-H~1e3hA$H#mZ%BvI1H#&(W~lOBk6csUW)4m zcMO9P&W;VDE0^-(Jm&y8C0mKZSO|{qGD&-_r^L-fj?i&t#hDc-RL}V#{qJ!-X&2Pc0Wf5Wf`{vOckqnv53l+Yt*{XT3?b#nag< zRvDzD`AX8$@YxzjD)MmP%$3ImuekC?w?)MdG+iYyNeAPb1CRdx>GYdbD?DEk{S8a9 zvxL~?4S?)VmhRYeGX+Q0U8#wU<(c9UtwQZAjf%+7680O4Cm3<{C8p1QRVKuLb;jHa zlG?3z+gU*qfttsI$(uj-GRU?+F`WsCnFU( z!TH$rMEHzo983Yh75UbZvw1PhFp>eaRw1j76by4b9KkwGAmB<4G>}4FN0h#v2slBK zUYEL1(Iz{Cm%HV=P9_)JlMXj3V{mU;SsmGVCi5Nk*1)rDmlQysxCiNM+MKy;EFuOC zWz39}Z(?gR&FnpQaz_hxgv9vy$>?`j$?&KQy#Q&6rc`QjcSQ z#rAGg_r{w@@$-A*d0OneKSV^yyygFdnBe#q#Du!1qd6Iil8Ln%*bb3JkqpTC0hN#h zIlF+#c)0(c8V?y8FAwj(EAaeZpb}qKoe8-yd=Ip?W_~B*1oJDW$flSNe@G-^Fw|GO zJ_Qy?VsK;8-R$tZ+`H;F9}XiNhRVuW#Qa6P1zxlw?d4XplPihP={aBeC=*$+yLDxZ%Ok(U7RpBU`Z7 zn5K5@B78##(gD6Tb0OM)*x^2fwMq{@?&3v z!>n*hD->1{rTGn_(LnYkoh4s^d3U0xG&lx$536Cq#f5)zk_B-K*r?;C<5*muwO~G< zzF)QSg%a+c6x5;$~2ub z@oFSzI~C&B^`*X0@-5FsJSr3=EX_j2e0F5FNz;X&mOm^!dTVs^b0H-4m483S8syKP zYMC4Kxp(wzv_de*by)4-?)IX-)#pge>>WM>`)=5eLO;jn&Pd$?-*ScWm5$h-v%9~u z95Fm&zGZZm9NcO>6Z(p6&LHs>r-3CcD+jG3{5RJXj6ExJH zi32NegXjE$f+t_u*BO1{nbtRIR#WZYwP%Rm#NWT?9p&BnpLw}rc=)hMT@$#@#xEsZ zbia5L=nHsyT~$pVx_UPf&Ww-}i%>Ab5#VQmik6irO5&`{7QO%$qUCO(-|Fe-Ru#+M zUx~|qPc;tSo?G7yU)xl=^(@{iq+a$i zaHgLi$KGVItgL*xhW+_xX^AO0qlxf3S4>}iq0AF)_t;q^t)pYytt(@b@o2%iKD`FW z_DxkoBiH`*Wb#7fKv^H%jWOVR`BF_K4vTes3qx(qG~ZDN0A6ARTdQnI!J8Y^J<6>y z|7>_2EaI?uhGjgX;J<)^_c3wKP`^pUJg?~6 zcS!Yw_wi=ge|-;|=8j|jm6zjtbGSc#P?dot7=TX{87!1h%dKl@|7evyjXU@FGd*Lv z<)-rN43-qVW<$+%JFn;IF72R)?Da{4vy-9!#eVtQ!K6^T{bQPx|I7L7WK`qw5{uUO zn~eTXqpFa=xMfHrQB=q9x)z80bKR$LPkj74Djt=fT`^nhk%U+JWl2fB2!%Kk7ux^@ zUldz^SJkvf+X$tKs?IYAvKM{`|J;oqgxM37Il@OY9tQ4~LQyHNyRT!UMa@X3{$U}N zGuze@otciV>v#Ra5#-QDKBRD)iJVvTy9=QVTJHj3;Xv`948`F~@oDN;ynDPjVni|d zg{Z_n&v{Y)+ekgs1@(tXwkERxgQgmuCs2#NQGl(9Nc=K$H%Yr;-ntrm@7e}9)+u1A zex4M=-c;)T>5^Kgc2#NJVbXX(+@`yQi@EV$SQl<_NWCgXVbOY?58%Dvx8WvS$k1(e zJvih8;=a`wUO4pyu^-EscZ(0EDZW|*kE2k0L0UH{%bHTlv5TD5>L$9_wsM@}1z|KU zP&nfeDC0-!X(EZpkufj{8ORmX!Ln@9Y7f}eHUs10okUEw3Akxvi5JFUd)}$0*9FKK zx9FilzVUbssWsBi@ER?j(afv=N&pP%>cKjibZko8P*F!?dNu}O^3Ru|q^T)fwJ8)z z&yGOr98TC;PFSS@cCCL7F0Bp7Ee9TFRvn9PPz!ue>D_1-*A?L~{4N^(T~uB?j&T)J zt_v4lwTPzx5c2a`oHJjv=$22lPvVq(2f7!jK0CyJOBd!sYD2{k<@1G4=S`~GFXJSI zVis~KU`g=dbT!OzC5~|QKJl|(EKkCBRai9hP7iE{zmYDk`zvrw?$UHGA}ZZ)6M%VD zLbh=^(Vki(GeD@*^4V;KV1Zi2E)%%dKI$_XT?Nk=zW~RlYAH|S3$B?Gl18Ru2yiX< zdeiP2fY*H}dm`S{V0uI^c)Ng!Key2D&>}Ql57wBK8l8#H_}X5QDr;R%VGU!WQHhli zo>mw`-mq6anW!Z&_tj#wlFdw24#)aV#DryWHbsWX_+$~Xph_cBdH{(xl{qb=R$v{T zv4mm2Y!Prof#~~81~jYY@tpm3@-Z~6bt$}(`pry4Zv!7DpWHteedx>Z?7j@C=3#$B zaMZ$B0+nxi)yEa=)Ffn7naoT8>ub^q2)Agv*g2q$+)!R&3RUE;(??)>SOEh;ZsTd6c*89hzX-X@whH)7TfeXCFBMZmut?;I5o4_ zAXZ!#Ub%WiqbX-#l1l|RjO>JpKN}-9?kd^B1K4+WIbY^0Q1ql9eKDbm`c3SN0Wi5| zLTUN508!*wHLRFpD{!|5mwS6Ta@0e4EKq!Or$fSerXIk>|aNuS0qK zO)MoGg+nD`_j%OUsJo}!bJ~7KAN+qD4Kw;jLxLOaNsi0NXRmpB+rJzE^qZIQ|)5G4kr96hEr@CEi(V z>}MFfDF-uIY@Jy47)vWXtzW~Y+P6;xA%v>?I#yu-FN{oMpDB?t+H0e^U$2|o@7O=M z2LTUl>GZ4vA7L*9?xw3Bd#%0-a41sZ)U61q0aErq~4_oy1I)_X0W||lmw+4Q57G)y#V6kjdC5WV42V8l4kGsi|im_ zvqB`XJ(D$H^p08U6|H#D`SVuCxH^OZ+E9f<=iZf)+zR31%I$&t-x3B)x5qGdt{p3! z^F7CRW9AiDQrXCUqtz9bj`K8tyv z&g$p>ke_V6A6gB$STc<`f*!POx@klq>E`={&rsj6f#6xUk?{4XQt?q%%XLT7t71U& zceMFjibQdBdqEk8#;{g#F`ohh$^u=5g84e>fGs7i2ED15@n2LAtYZ8BAv)mr*XTgR z6>R0;OiRb24g%Yn)2dsUlgU{*JJ>t8kZCK(lZhzHkg1wmf<92vo^&i~t|lM~t)0=AP~j&SoyObcp|PB#?u>_y;PRj8>eFjTOiaWMyM#1%B+gm{_@KSXpU4 z>=Yc#{x=hKXJbc4bF&YKx3R5@IU_9GLAKQP-hmlOv z+}Y)0Xfk$YAP10>_hUFVW{&@w=7;&msmX)f%*j6H#Kt0SZUQp4rz5j*GzMF_m>ZM1 z{iinpE8?@G8F*DP$pl9SrMeq<|XReeQRg)#-u{g7Vfx3 z9H6;KW0gN4Kb7&R!AvdMe`My;g&0{8h|NhuPL2>zzV}cfPnud8M9qxjHR+jAF}z*` zGbs+nZHmEO`F<^4HNhOLJql}yGb6?wWEr;3y6}~VD4DG)eSes*{rjp`|7&N8ji1~idywg}l5ufx=_9hJfxOKBDI&6H zk?8`-*vWt&jj9d~;E%?S#04_de>^N4K5G9g(tm2=WV!;}JYu3iUM@CXR$ic_xEMPt zrz9_rxESzbjfk>}aq$X~{qH6pIzn-@LJt=}JmDg5Z11)UIGh&zNmz?de zQ|EbK0T=8l zpfhIv=a6w$hm(dZ^bY=qSo zlS_&xD7vrNs4?Ur0l190jJ(am2I-CHEzJ`l-+ON~7lIlOT4qld_4RHXN*j z;SWW@tcXVx<}86%J5~?juS2$tSBB|?>wr@Gt?@c#tYr)x!WP>bX~fq6y@#d=dqN=~ z8f(1IO8kJdM|H|q_3aYd8LBd%TwO7NU7M;Z>XN7}K%-aPq84cfrqR+J=w0zg5)QeM z-$Kb6V!qteZTPhO^P*(<3UOnp7ar$%`a00tI-m*7m-98o$ zWFUxSxz?l#SNxiDLZB)czK}h1h&KT$j;+rAbCNy^T8a(LhP}WW#z%|sn|qH5BNfjM#2TjL4Gs>WN=&y%xWW_iE+tIrge=X&lLaw{P4G-Q1g z@r|*HH9{bh7tyY>xzJ`axX>l#y@IUj;_r)`8ltSi1;jY`?$J?@V*w!f_|u~8OQ;!X zk5DVLY=HIqL3pO$wldqi;Siqb&>97Q3om#O58y^vE^ zEGZnc=e(J_Xqd_6k!b9R<+f<5@x=s`Jz!s=xvjjk*5MIx_rq)*{o*N>|+}%*;PLXr?8MYGc>Gt9`S)>%MGWI>9 zwlB1OKHL7CFX1!? with no attribute will match -# will match -# will not match -# Possible match conditions: -# Requested Element -# Profile Profile -# --------- -------- -# None None Always matches -# 'string' None Always matches -# None 'string' Does not match. Can't generate multiple APIs -# or profiles, so if an API/profile constraint -# is present, it must be asked for explicitly. -# 'string' 'string' Strings must match -# -# ** In the future, we will allow regexes for the attributes, -# not just strings, so that api="^(gl|gles2)" will match. Even -# this isn't really quite enough, we might prefer something -# like "gl(core)|gles1(common-lite)". -def matchAPIProfile(api, profile, elem): - """Match a requested API & profile name to a api & profile attributes of an Element""" - match = True - # Match 'api', if present - if ('api' in elem.attrib): - if (api == None): - raise UserWarning("No API requested, but 'api' attribute is present with value '" + - elem.get('api') + "'") - elif (api != elem.get('api')): - # Requested API doesn't match attribute - return False - if ('profile' in elem.attrib): - if (profile == None): - raise UserWarning("No profile requested, but 'profile' attribute is present with value '" + - elem.get('profile') + "'") - elif (profile != elem.get('profile')): - # Requested profile doesn't match attribute - return False - return True - -# BaseInfo - base class for information about a registry feature -# (type/group/enum/command/API/extension). -# required - should this feature be defined during header generation -# (has it been removed by a profile or version)? -# declared - has this feature been defined already? -# elem - lxml.etree Element for this feature -# resetState() - reset required/declared to initial values. Used -# prior to generating a new API interface. -class BaseInfo: - """Represents the state of a registry feature, used during API generation""" - def __init__(self, elem): - self.required = False - self.declared = False - self.elem = elem - def resetState(self): - self.required = False - self.declared = False - -# TypeInfo - registry information about a type. No additional state -# beyond BaseInfo is required. -class TypeInfo(BaseInfo): - """Represents the state of a registry type""" - def __init__(self, elem): - BaseInfo.__init__(self, elem) - -# GroupInfo - registry information about a group of related enums. -# enums - dictionary of enum names which are in the group -class GroupInfo(BaseInfo): - """Represents the state of a registry enumerant group""" - def __init__(self, elem): - BaseInfo.__init__(self, elem) - self.enums = {} - -# EnumInfo - registry information about an enum -# type - numeric type of the value of the tag -# ( '' for GLint, 'u' for GLuint, 'ull' for GLuint64 ) -class EnumInfo(BaseInfo): - """Represents the state of a registry enum""" - def __init__(self, elem): - BaseInfo.__init__(self, elem) - self.type = elem.get('type') - if (self.type == None): - self.type = '' - -# CmdInfo - registry information about a command -# glxtype - type of GLX protocol { None, 'render', 'single', 'vendor' } -# glxopcode - GLX protocol opcode { None, number } -# glxequiv - equivalent command at GLX dispatch level { None, string } -# vecequiv - equivalent vector form of a command taking multiple scalar args -# { None, string } -class CmdInfo(BaseInfo): - """Represents the state of a registry command""" - def __init__(self, elem): - BaseInfo.__init__(self, elem) - self.glxtype = None - self.glxopcode = None - self.glxequiv = None - self.vecequiv = None - -# FeatureInfo - registry information about an API -# or -# name - feature name string (e.g. 'GL_ARB_multitexture') -# number - feature version number (e.g. 1.2). -# features are unversioned and assigned version number 0. -# category - category, e.g. VERSION or ARB/KHR/OES/ETC/vendor -# emit - has this feature been defined already? -class FeatureInfo(BaseInfo): - """Represents the state of an API feature (version/extension)""" - def __init__(self, elem): - BaseInfo.__init__(self, elem) - self.name = elem.get('name') - # Determine element category (vendor). Only works - # for elements. - if (elem.tag == 'feature'): - self.category = 'VERSION' - self.number = elem.get('number') - else: - self.category = self.name.split('_', 2)[1] - self.number = "0" - self.emit = False - -# Primary sort key for regSortFeatures. -# Sorts by category of the feature name string: -# Core API features (those defined with a tag) -# ARB/KHR/OES (Khronos extensions) -# other (EXT/vendor extensions) -def regSortCategoryKey(feature): - if (feature.elem.tag == 'feature'): - return 0 - elif (feature.category == 'ARB' or - feature.category == 'KHR' or - feature.category == 'OES'): - return 1 - else: - return 2 - -# Secondary sort key for regSortFeatures. -# Sorts by extension name. -def regSortNameKey(feature): - return feature.name - -# Tertiary sort key for regSortFeatures. -# Sorts by feature version number. -# elements all have version number "0" -def regSortNumberKey(feature): - return feature.number - -# regSortFeatures - default sort procedure for features. -# Sorts by primary key of feature category, -# then by feature name within the category, -# then by version number -def regSortFeatures(featureList): - featureList.sort(key = regSortNumberKey) - featureList.sort(key = regSortNameKey) - featureList.sort(key = regSortCategoryKey) - -# GeneratorOptions - base class for options used during header production -# These options are target language independent, and used by -# Registry.apiGen() and by base OutputGenerator objects. -# -# Members -# filename - name of file to generate, or None to write to stdout. -# apiname - string matching 'apiname' attribute, e.g. 'gl'. -# profile - string specifying API profile , e.g. 'core', or None. -# versions - regex matching API versions to process interfaces for. -# Normally '.*' or '[0-9]\.[0-9]' to match all defined versions. -# emitversions - regex matching API versions to actually emit -# interfaces for (though all requested versions are considered -# when deciding which interfaces to generate). For GL 4.3 glext.h, -# this might be '1\.[2-5]|[2-4]\.[0-9]'. -# defaultExtensions - If not None, a string which must in its -# entirety match the pattern in the "supported" attribute of -# the . Defaults to None. Usually the same as apiname. -# addExtensions - regex matching names of additional extensions -# to include. Defaults to None. -# removeExtensions - regex matching names of extensions to -# remove (after defaultExtensions and addExtensions). Defaults -# to None. -# sortProcedure - takes a list of FeatureInfo objects and sorts -# them in place to a preferred order in the generated output. -# Default is core API versions, ARB/KHR/OES extensions, all -# other extensions, alphabetically within each group. -# The regex patterns can be None or empty, in which case they match -# nothing. -class GeneratorOptions: - """Represents options during header production from an API registry""" - def __init__(self, - filename = None, - apiname = None, - profile = None, - versions = '.*', - emitversions = '.*', - defaultExtensions = None, - addExtensions = None, - removeExtensions = None, - sortProcedure = regSortFeatures): - self.filename = filename - self.apiname = apiname - self.profile = profile - self.versions = self.emptyRegex(versions) - self.emitversions = self.emptyRegex(emitversions) - self.defaultExtensions = defaultExtensions - self.addExtensions = self.emptyRegex(addExtensions) - self.removeExtensions = self.emptyRegex(removeExtensions) - self.sortProcedure = sortProcedure - # - # Substitute a regular expression which matches no version - # or extension names for None or the empty string. - def emptyRegex(self,pat): - if (pat == None or pat == ''): - return '_nomatch_^' - else: - return pat - -# CGeneratorOptions - subclass of GeneratorOptions. -# -# Adds options used by COutputGenerator objects during C language header -# generation. -# -# Additional members -# prefixText - list of strings to prefix generated header with -# (usually a copyright statement + calling convention macros). -# protectFile - True if multiple inclusion protection should be -# generated (based on the filename) around the entire header. -# protectFeature - True if #ifndef..#endif protection should be -# generated around a feature interface in the header file. -# genFuncPointers - True if function pointer typedefs should be -# generated -# protectProto - True if #ifdef..#endif protection should be -# generated around prototype declarations -# protectProtoStr - #ifdef symbol to use around prototype -# declarations, if protected -# apicall - string to use for the function declaration prefix, -# such as APICALL on Windows. -# apientry - string to use for the calling convention macro, -# in typedefs, such as APIENTRY. -# apientryp - string to use for the calling convention macro -# in function pointer typedefs, such as APIENTRYP. -class CGeneratorOptions(GeneratorOptions): - """Represents options during C header production from an API registry""" - def __init__(self, - filename = None, - apiname = None, - profile = None, - versions = '.*', - emitversions = '.*', - defaultExtensions = None, - addExtensions = None, - removeExtensions = None, - sortProcedure = regSortFeatures, - prefixText = "", - genFuncPointers = True, - protectFile = True, - protectFeature = True, - protectProto = True, - protectProtoStr = True, - apicall = '', - apientry = '', - apientryp = ''): - GeneratorOptions.__init__(self, filename, apiname, profile, - versions, emitversions, defaultExtensions, - addExtensions, removeExtensions, sortProcedure) - self.prefixText = prefixText - self.genFuncPointers = genFuncPointers - self.protectFile = protectFile - self.protectFeature = protectFeature - self.protectProto = protectProto - self.protectProtoStr = protectProtoStr - self.apicall = apicall - self.apientry = apientry - self.apientryp = apientryp - -# OutputGenerator - base class for generating API interfaces. -# Manages basic logic, logging, and output file control -# Derived classes actually generate formatted output. -# -# ---- methods ---- -# OutputGenerator(errFile, warnFile, diagFile) -# errFile, warnFile, diagFile - file handles to write errors, -# warnings, diagnostics to. May be None to not write. -# logMsg(level, *args) - log messages of different categories -# level - 'error', 'warn', or 'diag'. 'error' will also -# raise a UserWarning exception -# *args - print()-style arguments -# beginFile(genOpts) - start a new interface file -# genOpts - GeneratorOptions controlling what's generated and how -# endFile() - finish an interface file, closing it when done -# beginFeature(interface, emit) - write interface for a feature -# and tag generated features as having been done. -# interface - element for the / to generate -# emit - actually write to the header only when True -# endFeature() - finish an interface. -# genType(typeinfo,name) - generate interface for a type -# typeinfo - TypeInfo for a type -# genEnum(enuminfo, name) - generate interface for an enum -# enuminfo - EnumInfo for an enum -# name - enum name -# genCmd(cmdinfo) - generate interface for a command -# cmdinfo - CmdInfo for a command -class OutputGenerator: - """Generate specified API interfaces in a specific style, such as a C header""" - def __init__(self, - errFile = sys.stderr, - warnFile = sys.stderr, - diagFile = sys.stdout): - self.outFile = None - self.errFile = errFile - self.warnFile = warnFile - self.diagFile = diagFile - # Internal state - self.featureName = None - self.genOpts = None - # - # logMsg - write a message of different categories to different - # destinations. - # level - - # 'diag' (diagnostic, voluminous) - # 'warn' (warning) - # 'error' (fatal error - raises exception after logging) - # *args - print()-style arguments to direct to corresponding log - def logMsg(self, level, *args): - """Log a message at the given level. Can be ignored or log to a file""" - if (level == 'error'): - strfile = io.StringIO() - write('ERROR:', *args, file=strfile) - if (self.errFile != None): - write(strfile.getvalue(), file=self.errFile) - raise UserWarning(strfile.getvalue()) - elif (level == 'warn'): - if (self.warnFile != None): - write('WARNING:', *args, file=self.warnFile) - elif (level == 'diag'): - if (self.diagFile != None): - write('DIAG:', *args, file=self.diagFile) - else: - raise UserWarning( - '*** FATAL ERROR in Generator.logMsg: unknown level:' + level) - # - def beginFile(self, genOpts): - self.genOpts = genOpts - # - # Open specified output file. Not done in constructor since a - # Generator can be used without writing to a file. - if (self.genOpts.filename != None): - self.outFile = open(self.genOpts.filename, 'w') - else: - self.outFile = sys.stdout - def endFile(self): - self.errFile and self.errFile.flush() - self.warnFile and self.warnFile.flush() - self.diagFile and self.diagFile.flush() - self.outFile.flush() - if (self.outFile != sys.stdout and self.outFile != sys.stderr): - self.outFile.close() - self.genOpts = None - # - def beginFeature(self, interface, emit): - self.emit = emit - self.featureName = interface.get('name') - # If there's an additional 'protect' attribute in the feature, save it - self.featureExtraProtect = interface.get('protect') - def endFeature(self): - # Derived classes responsible for emitting feature - self.featureName = None - self.featureExtraProtect = None - # - # Type generation - def genType(self, typeinfo, name): - if (self.featureName == None): - raise UserWarning('Attempt to generate type', name, - 'when not in feature') - # - # Enumerant generation - def genEnum(self, enuminfo, name): - if (self.featureName == None): - raise UserWarning('Attempt to generate enum', name, - 'when not in feature') - # - # Command generation - def genCmd(self, cmd, name): - if (self.featureName == None): - raise UserWarning('Attempt to generate command', name, - 'when not in feature') - -# COutputGenerator - subclass of OutputGenerator. -# Generates C-language API interfaces. -# -# ---- methods ---- -# COutputGenerator(errFile, warnFile, diagFile) - args as for -# OutputGenerator. Defines additional internal state. -# makeCDecls(cmd) - return C prototype and function pointer typedef for a -# Element, as a list of two strings -# cmd - Element for the -# newline() - print a newline to the output file (utility function) -# ---- methods overriding base class ---- -# beginFile(genOpts) -# endFile() -# beginFeature(interface, emit) -# endFeature() -# genType(typeinfo,name) - generate interface for a type -# genEnum(enuminfo, name) -# genCmd(cmdinfo) -class COutputGenerator(OutputGenerator): - """Generate specified API interfaces in a specific style, such as a C header""" - def __init__(self, - errFile = sys.stderr, - warnFile = sys.stderr, - diagFile = sys.stdout): - OutputGenerator.__init__(self, errFile, warnFile, diagFile) - # Internal state - accumulators for different inner block text - self.typeBody = '' - self.enumBody = '' - self.cmdBody = '' - # - # makeCDecls - return C prototype and function pointer typedef for a - # command, as a two-element list of strings. - # cmd - Element containing a tag - def makeCDecls(self, cmd): - """Generate C function pointer typedef for Element""" - proto = cmd.find('proto') - params = cmd.findall('param') - # Begin accumulating prototype and typedef strings - pdecl = self.genOpts.apicall - tdecl = 'typedef ' - # - # Insert the function return type/name. - # For prototypes, add APIENTRY macro before the name - # For typedefs, add (APIENTRYP ) around the name and - # use the PFNGLCMDNAMEPROC nameng convention. - # Done by walking the tree for element by element. - # lxml.etree has elem.text followed by (elem[i], elem[i].tail) - # for each child element and any following text - # Leading text - pdecl += noneStr(proto.text) - tdecl += noneStr(proto.text) - # For each child element, if it's a wrap in appropriate - # declaration. Otherwise append its contents and tail contents. - for elem in proto: - text = noneStr(elem.text) - tail = noneStr(elem.tail) - if (elem.tag == 'name'): - pdecl += self.genOpts.apientry + text + tail - tdecl += '(' + self.genOpts.apientryp + 'PFN' + text.upper() + 'PROC' + tail + ')' - else: - pdecl += text + tail - tdecl += text + tail - # Now add the parameter declaration list, which is identical - # for prototypes and typedefs. Concatenate all the text from - # a node without the tags. No tree walking required - # since all tags are ignored. - n = len(params) - paramdecl = ' (' - if n > 0: - for i in range(0,n): - paramdecl += ''.join([t for t in params[i].itertext()]) - if (i < n - 1): - paramdecl += ', ' - else: - paramdecl += 'void' - paramdecl += ");\n"; - return [ pdecl + paramdecl, tdecl + paramdecl ] - # - def newline(self): - write('', file=self.outFile) - # - def beginFile(self, genOpts): - OutputGenerator.beginFile(self, genOpts) - # C-specific - # - # Multiple inclusion protection & C++ wrappers. - if (genOpts.protectFile and self.genOpts.filename): - headerSym = '__' + re.sub('\.h', '_h_', os.path.basename(self.genOpts.filename)) - write('#ifndef', headerSym, file=self.outFile) - write('#define', headerSym, '1', file=self.outFile) - self.newline() - write('#ifdef __cplusplus', file=self.outFile) - write('extern "C" {', file=self.outFile) - write('#endif', file=self.outFile) - self.newline() - # - # User-supplied prefix text, if any (list of strings) - if (genOpts.prefixText): - for s in genOpts.prefixText: - write(s, file=self.outFile) - # - # Some boilerplate describing what was generated - this - # will probably be removed later since the extensions - # pattern may be very long. - write('/* Generated C header for:', file=self.outFile) - write(' * API:', genOpts.apiname, file=self.outFile) - if (genOpts.profile): - write(' * Profile:', genOpts.profile, file=self.outFile) - write(' * Versions considered:', genOpts.versions, file=self.outFile) - write(' * Versions emitted:', genOpts.emitversions, file=self.outFile) - write(' * Default extensions included:', genOpts.defaultExtensions, file=self.outFile) - write(' * Additional extensions included:', genOpts.addExtensions, file=self.outFile) - write(' * Extensions removed:', genOpts.removeExtensions, file=self.outFile) - write(' */', file=self.outFile) - def endFile(self): - # C-specific - # Finish C++ wrapper and multiple inclusion protection - self.newline() - write('#ifdef __cplusplus', file=self.outFile) - write('}', file=self.outFile) - write('#endif', file=self.outFile) - if (self.genOpts.protectFile and self.genOpts.filename): - self.newline() - write('#endif', file=self.outFile) - # Finish processing in superclass - OutputGenerator.endFile(self) - def beginFeature(self, interface, emit): - # Start processing in superclass - OutputGenerator.beginFeature(self, interface, emit) - # C-specific - # Accumulate types, enums, function pointer typedefs, end function - # prototypes separately for this feature. They're only printed in - # endFeature(). - self.typeBody = '' - self.enumBody = '' - self.cmdPointerBody = '' - self.cmdBody = '' - def endFeature(self): - # C-specific - # Actually write the interface to the output file. - if (self.emit): - self.newline() - if (self.genOpts.protectFeature): - write('#ifndef', self.featureName, file=self.outFile) - write('#define', self.featureName, '1', file=self.outFile) - if (self.typeBody != ''): - write(self.typeBody, end='', file=self.outFile) - # - # Don't add additional protection for derived type declarations, - # which may be needed by other features later on. - if (self.featureExtraProtect != None): - write('#ifdef', self.featureExtraProtect, file=self.outFile) - if (self.enumBody != ''): - write(self.enumBody, end='', file=self.outFile) - if (self.genOpts.genFuncPointers and self.cmdPointerBody != ''): - write(self.cmdPointerBody, end='', file=self.outFile) - if (self.cmdBody != ''): - if (self.genOpts.protectProto): - write('#ifdef', self.genOpts.protectProtoStr, file=self.outFile) - write(self.cmdBody, end='', file=self.outFile) - if (self.genOpts.protectProto): - write('#endif', file=self.outFile) - if (self.featureExtraProtect != None): - write('#endif /*', self.featureExtraProtect, '*/', file=self.outFile) - if (self.genOpts.protectFeature): - write('#endif /*', self.featureName, '*/', file=self.outFile) - # Finish processing in superclass - OutputGenerator.endFeature(self) - # - # Type generation - def genType(self, typeinfo, name): - OutputGenerator.genType(self, typeinfo, name) - # - # Replace tags with an APIENTRY-style string - # (from self.genOpts). Copy other text through unchanged. - # If the resulting text is an empty string, don't emit it. - typeElem = typeinfo.elem - s = noneStr(typeElem.text) - for elem in typeElem: - if (elem.tag == 'apientry'): - s += self.genOpts.apientry + noneStr(elem.tail) - else: - s += noneStr(elem.text) + noneStr(elem.tail) - if (len(s) > 0): - self.typeBody += s + "\n" - # - # Enumerant generation - def genEnum(self, enuminfo, name): - OutputGenerator.genEnum(self, enuminfo, name) - # - # EnumInfo.type is a C value suffix (e.g. u, ull) - self.enumBody += '#define ' + name.ljust(33) + ' ' + enuminfo.elem.get('value') - # - # Handle non-integer 'type' fields by using it as the C value suffix - t = enuminfo.elem.get('type') - if (t != '' and t != 'i'): - self.enumBody += enuminfo.type - self.enumBody += "\n" - # - # Command generation - def genCmd(self, cmdinfo, name): - OutputGenerator.genCmd(self, cmdinfo, name) - # - decls = self.makeCDecls(cmdinfo.elem) - self.cmdBody += decls[0] - if (self.genOpts.genFuncPointers): - self.cmdPointerBody += decls[1] - -# Registry - object representing an API registry, loaded from an XML file -# Members -# tree - ElementTree containing the root -# typedict - dictionary of TypeInfo objects keyed by type name -# groupdict - dictionary of GroupInfo objects keyed by group name -# enumdict - dictionary of EnumInfo objects keyed by enum name -# cmddict - dictionary of CmdInfo objects keyed by command name -# apidict - dictionary of Elements keyed by API name -# extensions - list of Elements -# extdict - dictionary of Elements keyed by extension name -# gen - OutputGenerator object used to write headers / messages -# genOpts - GeneratorOptions object used to control which -# fetures to write and how to format them -# emitFeatures - True to actually emit features for a version / extension, -# or False to just treat them as emitted -# Public methods -# loadElementTree(etree) - load registry from specified ElementTree -# loadFile(filename) - load registry from XML file -# setGenerator(gen) - OutputGenerator to use -# parseTree() - parse the registry once loaded & create dictionaries -# dumpReg(maxlen, filehandle) - diagnostic to dump the dictionaries -# to specified file handle (default stdout). Truncates type / -# enum / command elements to maxlen characters (default 80) -# generator(g) - specify the output generator object -# apiGen(apiname, genOpts) - generate API headers for the API type -# and profile specified in genOpts, but only for the versions and -# extensions specified there. -# apiReset() - call between calls to apiGen() to reset internal state -# validateGroups() - call to verify that each or -# with a 'group' attribute matches an actual existing group. -# Private methods -# addElementInfo(elem,info,infoName,dictionary) - add feature info to dict -# lookupElementInfo(fname,dictionary) - lookup feature info in dict -class Registry: - """Represents an API registry loaded from XML""" - def __init__(self): - self.tree = None - self.typedict = {} - self.groupdict = {} - self.enumdict = {} - self.cmddict = {} - self.apidict = {} - self.extensions = [] - self.extdict = {} - # A default output generator, so commands prior to apiGen can report - # errors via the generator object. - self.gen = OutputGenerator() - self.genOpts = None - self.emitFeatures = False - def loadElementTree(self, tree): - """Load ElementTree into a Registry object and parse it""" - self.tree = tree - self.parseTree() - def loadFile(self, file): - """Load an API registry XML file into a Registry object and parse it""" - self.tree = etree.parse(file) - self.parseTree() - def setGenerator(self, gen): - """Specify output generator object. None restores the default generator""" - self.gen = gen - # addElementInfo - add information about an element to the - # corresponding dictionary - # elem - ///// Element - # info - corresponding {Type|Group|Enum|Cmd|Feature}Info object - # infoName - 'type' / 'group' / 'enum' / 'command' / 'feature' / 'extension' - # dictionary - self.{type|group|enum|cmd|api|ext}dict - # If the Element has an 'api' attribute, the dictionary key is the - # tuple (name,api). If not, the key is the name. 'name' is an - # attribute of the Element - def addElementInfo(self, elem, info, infoName, dictionary): - if ('api' in elem.attrib): - key = (elem.get('name'),elem.get('api')) - else: - key = elem.get('name') - if key in dictionary: - self.gen.logMsg('warn', '*** Attempt to redefine', - infoName, 'with key:', key) - else: - dictionary[key] = info - # - # lookupElementInfo - find a {Type|Enum|Cmd}Info object by name. - # If an object qualified by API name exists, use that. - # fname - name of type / enum / command - # dictionary - self.{type|enum|cmd}dict - def lookupElementInfo(self, fname, dictionary): - key = (fname, self.genOpts.apiname) - if (key in dictionary): - # self.gen.logMsg('diag', 'Found API-specific element for feature', fname) - return dictionary[key] - elif (fname in dictionary): - # self.gen.logMsg('diag', 'Found generic element for feature', fname) - return dictionary[fname] - else: - return None - def parseTree(self): - """Parse the registry Element, once created""" - # This must be the Element for the root - self.reg = self.tree.getroot() - # - # Create dictionary of registry types from toplevel tags - # and add 'name' attribute to each tag (where missing) - # based on its element. - # - # There's usually one block; more are OK - # Required attributes: 'name' or nested tag contents - self.typedict = {} - for type in self.reg.findall('types/type'): - # If the doesn't already have a 'name' attribute, set - # it from contents of its tag. - if (type.get('name') == None): - type.attrib['name'] = type.find('name').text - self.addElementInfo(type, TypeInfo(type), 'type', self.typedict) - # - # Create dictionary of registry groups from toplevel tags. - # - # There's usually one block; more are OK. - # Required attributes: 'name' - self.groupdict = {} - for group in self.reg.findall('groups/group'): - self.addElementInfo(group, GroupInfo(group), 'group', self.groupdict) - # - # Create dictionary of registry enums from toplevel tags - # - # There are usually many tags in different namespaces, but - # these are functional namespaces of the values, while the actual - # enum names all share the dictionary. - # Required attributes: 'name', 'value' - self.enumdict = {} - for enum in self.reg.findall('enums/enum'): - self.addElementInfo(enum, EnumInfo(enum), 'enum', self.enumdict) - # - # Create dictionary of registry commands from tags - # and add 'name' attribute to each tag (where missing) - # based on its element. - # - # There's usually only one block; more are OK. - # Required attributes: 'name' or tag contents - self.cmddict = {} - for cmd in self.reg.findall('commands/command'): - # If the doesn't already have a 'name' attribute, set - # it from contents of its tag. - if (cmd.get('name') == None): - cmd.attrib['name'] = cmd.find('proto/name').text - ci = CmdInfo(cmd) - self.addElementInfo(cmd, ci, 'command', self.cmddict) - # - # Create dictionaries of API and extension interfaces - # from toplevel and tags. - # - self.apidict = {} - for feature in self.reg.findall('feature'): - ai = FeatureInfo(feature) - self.addElementInfo(feature, ai, 'feature', self.apidict) - self.extensions = self.reg.findall('extensions/extension') - self.extdict = {} - for feature in self.extensions: - ei = FeatureInfo(feature) - self.addElementInfo(feature, ei, 'extension', self.extdict) - def dumpReg(self, maxlen = 40, filehandle = sys.stdout): - """Dump all the dictionaries constructed from the Registry object""" - write('***************************************', file=filehandle) - write(' ** Dumping Registry contents **', file=filehandle) - write('***************************************', file=filehandle) - write('// Types', file=filehandle) - for name in self.typedict: - tobj = self.typedict[name] - write(' Type', name, '->', etree.tostring(tobj.elem)[0:maxlen], file=filehandle) - write('// Groups', file=filehandle) - for name in self.groupdict: - gobj = self.groupdict[name] - write(' Group', name, '->', etree.tostring(gobj.elem)[0:maxlen], file=filehandle) - write('// Enums', file=filehandle) - for name in self.enumdict: - eobj = self.enumdict[name] - write(' Enum', name, '->', etree.tostring(eobj.elem)[0:maxlen], file=filehandle) - write('// Commands', file=filehandle) - for name in self.cmddict: - cobj = self.cmddict[name] - write(' Command', name, '->', etree.tostring(cobj.elem)[0:maxlen], file=filehandle) - write('// APIs', file=filehandle) - for key in self.apidict: - write(' API Version ', key, '->', - etree.tostring(self.apidict[key].elem)[0:maxlen], file=filehandle) - write('// Extensions', file=filehandle) - for key in self.extdict: - write(' Extension', key, '->', - etree.tostring(self.extdict[key].elem)[0:maxlen], file=filehandle) - # write('***************************************', file=filehandle) - # write(' ** Dumping XML ElementTree **', file=filehandle) - # write('***************************************', file=filehandle) - # write(etree.tostring(self.tree.getroot(),pretty_print=True), file=filehandle) - # - # typename - name of type - # required - boolean (to tag features as required or not) - def markTypeRequired(self, typename, required): - """Require (along with its dependencies) or remove (but not its dependencies) a type""" - self.gen.logMsg('diag', '*** tagging type:', typename, '-> required =', required) - # Get TypeInfo object for tag corresponding to typename - type = self.lookupElementInfo(typename, self.typedict) - if (type != None): - # Tag required type dependencies as required. - # This DOES NOT un-tag dependencies in a tag. - # See comments in markRequired() below for the reason. - if (required and ('requires' in type.elem.attrib)): - depType = type.elem.get('requires') - self.gen.logMsg('diag', '*** Generating dependent type', - depType, 'for type', typename) - self.markTypeRequired(depType, required) - type.required = required - else: - self.gen.logMsg('warn', '*** type:', typename , 'IS NOT DEFINED') - # - # features - Element for or tag - # required - boolean (to tag features as required or not) - def markRequired(self, features, required): - """Require or remove features specified in the Element""" - self.gen.logMsg('diag', '*** markRequired (features = , required =', required, ')') - # Loop over types, enums, and commands in the tag - # @@ It would be possible to respect 'api' and 'profile' attributes - # in individual features, but that's not done yet. - for typeElem in features.findall('type'): - self.markTypeRequired(typeElem.get('name'), required) - for enumElem in features.findall('enum'): - name = enumElem.get('name') - self.gen.logMsg('diag', '*** tagging enum:', name, '-> required =', required) - enum = self.lookupElementInfo(name, self.enumdict) - if (enum != None): - enum.required = required - else: - self.gen.logMsg('warn', '*** enum:', name , 'IS NOT DEFINED') - for cmdElem in features.findall('command'): - name = cmdElem.get('name') - self.gen.logMsg('diag', '*** tagging command:', name, '-> required =', required) - cmd = self.lookupElementInfo(name, self.cmddict) - if (cmd != None): - cmd.required = required - # Tag all parameter types of this command as required. - # This DOES NOT remove types of commands in a - # tag, because many other commands may use the same type. - # We could be more clever and reference count types, - # instead of using a boolean. - if (required): - # Look for in entire tree, - # not just immediate children - for ptype in cmd.elem.findall('.//ptype'): - self.gen.logMsg('diag', '*** markRequired: command implicitly requires dependent type', ptype.text) - self.markTypeRequired(ptype.text, required) - else: - self.gen.logMsg('warn', '*** command:', name, 'IS NOT DEFINED') - # - # interface - Element for or , containing - # and tags - # api - string specifying API name being generated - # profile - string specifying API profile being generated - def requireAndRemoveFeatures(self, interface, api, profile): - """Process and tags for a or """ - # marks things that are required by this version/profile - for feature in interface.findall('require'): - if (matchAPIProfile(api, profile, feature)): - self.markRequired(feature,True) - # marks things that are removed by this version/profile - for feature in interface.findall('remove'): - if (matchAPIProfile(api, profile, feature)): - self.markRequired(feature,False) - # - # generateFeature - generate a single type / enum / command, - # and all its dependencies as needed. - # fname - name of feature (// - # ftype - type of feature, 'type' | 'enum' | 'command' - # dictionary - of *Info objects - self.{type|enum|cmd}dict - # genProc - bound function pointer for self.gen.gen{Type|Enum|Cmd} - def generateFeature(self, fname, ftype, dictionary, genProc): - f = self.lookupElementInfo(fname, dictionary) - if (f == None): - # No such feature. This is an error, but reported earlier - self.gen.logMsg('diag', '*** No entry found for feature', fname, - 'returning!') - return - # - # If feature isn't required, or has already been declared, return - if (not f.required): - self.gen.logMsg('diag', '*** Skipping', ftype, fname, '(not required)') - return - if (f.declared): - self.gen.logMsg('diag', '*** Skipping', ftype, fname, '(already declared)') - return - # - # Pull in dependent type declaration(s) of the feature. - # For types, there may be one in the 'required' attribute of the element - # For commands, there may be many in tags within the element - # For enums, no dependencies are allowed (though perhasps if you - # have a uint64 enum, it should require GLuint64) - if (ftype == 'type'): - if ('requires' in f.elem.attrib): - depname = f.elem.get('requires') - self.gen.logMsg('diag', '*** Generating required dependent type', - depname) - self.generateFeature(depname, 'type', self.typedict, - self.gen.genType) - elif (ftype == 'command'): - for ptype in f.elem.findall('.//ptype'): - depname = ptype.text - self.gen.logMsg('diag', '*** Generating required parameter type', - depname) - self.generateFeature(depname, 'type', self.typedict, - self.gen.genType) - # - # Actually generate the type only if emitting declarations - if self.emitFeatures: - self.gen.logMsg('diag', '*** Emitting', ftype, 'decl for', fname) - genProc(f, fname) - else: - self.gen.logMsg('diag', '*** Skipping', ftype, fname, - '(not emitting this feature)') - # Always mark feature declared, as though actually emitted - f.declared = True - # - # generateRequiredInterface - generate all interfaces required - # by an API version or extension - # interface - Element for or - def generateRequiredInterface(self, interface): - """Generate required C interface for specified API version/extension""" - # - # Loop over all features inside all tags. - # tags are ignored (handled in pass 1). - for features in interface.findall('require'): - for t in features.findall('type'): - self.generateFeature(t.get('name'), 'type', self.typedict, - self.gen.genType) - for e in features.findall('enum'): - self.generateFeature(e.get('name'), 'enum', self.enumdict, - self.gen.genEnum) - for c in features.findall('command'): - self.generateFeature(c.get('name'), 'command', self.cmddict, - self.gen.genCmd) - # - # apiGen(genOpts) - generate interface for specified versions - # genOpts - GeneratorOptions object with parameters used - # by the Generator object. - def apiGen(self, genOpts): - """Generate interfaces for the specified API type and range of versions""" - # - self.gen.logMsg('diag', '*******************************************') - self.gen.logMsg('diag', ' Registry.apiGen file:', genOpts.filename, - 'api:', genOpts.apiname, - 'profile:', genOpts.profile) - self.gen.logMsg('diag', '*******************************************') - # - self.genOpts = genOpts - # Reset required/declared flags for all features - self.apiReset() - # - # Compile regexps used to select versions & extensions - regVersions = re.compile(self.genOpts.versions) - regEmitVersions = re.compile(self.genOpts.emitversions) - regAddExtensions = re.compile(self.genOpts.addExtensions) - regRemoveExtensions = re.compile(self.genOpts.removeExtensions) - # - # Get all matching API versions & add to list of FeatureInfo - features = [] - apiMatch = False - for key in self.apidict: - fi = self.apidict[key] - api = fi.elem.get('api') - if (api == self.genOpts.apiname): - apiMatch = True - if (regVersions.match(fi.number)): - # Matches API & version #s being generated. Mark for - # emission and add to the features[] list . - # @@ Could use 'declared' instead of 'emit'? - fi.emit = (regEmitVersions.match(fi.number) != None) - features.append(fi) - if (not fi.emit): - self.gen.logMsg('diag', '*** NOT tagging feature api =', api, - 'name =', fi.name, 'number =', fi.number, - 'for emission (does not match emitversions pattern)') - else: - self.gen.logMsg('diag', '*** NOT including feature api =', api, - 'name =', fi.name, 'number =', fi.number, - '(does not match requested versions)') - else: - self.gen.logMsg('diag', '*** NOT including feature api =', api, - 'name =', fi.name, - '(does not match requested API)') - if (not apiMatch): - self.gen.logMsg('warn', '*** No matching API versions found!') - # - # Get all matching extensions & add to the list. - # Start with extensions tagged with 'api' pattern matching the API - # being generated. Add extensions matching the pattern specified in - # regExtensions, then remove extensions matching the pattern - # specified in regRemoveExtensions - for key in self.extdict: - ei = self.extdict[key] - extName = ei.name - include = False - # - # Include extension if defaultExtensions is not None and if the - # 'supported' attribute matches defaultExtensions. The regexp in - # 'supported' must exactly match defaultExtensions, so bracket - # it with ^(pat)$. - pat = '^(' + ei.elem.get('supported') + ')$' - if (self.genOpts.defaultExtensions and - re.match(pat, self.genOpts.defaultExtensions)): - self.gen.logMsg('diag', '*** Including extension', - extName, "(defaultExtensions matches the 'supported' attribute)") - include = True - # - # Include additional extensions if the extension name matches - # the regexp specified in the generator options. This allows - # forcing extensions into an interface even if they're not - # tagged appropriately in the registry. - if (regAddExtensions.match(extName) != None): - self.gen.logMsg('diag', '*** Including extension', - extName, '(matches explicitly requested extensions to add)') - include = True - # Remove extensions if the name matches the regexp specified - # in generator options. This allows forcing removal of - # extensions from an interface even if they're tagged that - # way in the registry. - if (regRemoveExtensions.match(extName) != None): - self.gen.logMsg('diag', '*** Removing extension', - extName, '(matches explicitly requested extensions to remove)') - include = False - # - # If the extension is to be included, add it to the - # extension features list. - if (include): - ei.emit = True - features.append(ei) - else: - self.gen.logMsg('diag', '*** NOT including extension', - extName, '(does not match api attribute or explicitly requested extensions)') - # - # Sort the extension features list, if a sort procedure is defined - if (self.genOpts.sortProcedure): - self.genOpts.sortProcedure(features) - # - # Pass 1: loop over requested API versions and extensions tagging - # types/commands/features as required (in an block) or no - # longer required (in an block). It is possible to remove - # a feature in one version and restore it later by requiring it in - # a later version. - # If a profile other than 'None' is being generated, it must - # match the profile attribute (if any) of the and - # tags. - self.gen.logMsg('diag', '*** PASS 1: TAG FEATURES ********************************************') - for f in features: - self.gen.logMsg('diag', '*** PASS 1: Tagging required and removed features for', - f.name) - self.requireAndRemoveFeatures(f.elem, self.genOpts.apiname, self.genOpts.profile) - # - # Pass 2: loop over specified API versions and extensions printing - # declarations for required things which haven't already been - # generated. - self.gen.logMsg('diag', '*** PASS 2: GENERATE INTERFACES FOR FEATURES ************************') - self.gen.beginFile(self.genOpts) - for f in features: - self.gen.logMsg('diag', '*** PASS 2: Generating interface for', - f.name) - emit = self.emitFeatures = f.emit - if (not emit): - self.gen.logMsg('diag', '*** PASS 2: NOT declaring feature', - f.elem.get('name'), 'because it is not tagged for emission') - # Generate the interface (or just tag its elements as having been - # emitted, if they haven't been). - self.gen.beginFeature(f.elem, emit) - self.generateRequiredInterface(f.elem) - self.gen.endFeature() - self.gen.endFile() - # - # apiReset - use between apiGen() calls to reset internal state - # - def apiReset(self): - """Reset type/enum/command dictionaries before generating another API""" - for type in self.typedict: - self.typedict[type].resetState() - for enum in self.enumdict: - self.enumdict[enum].resetState() - for cmd in self.cmddict: - self.cmddict[cmd].resetState() - for cmd in self.apidict: - self.apidict[cmd].resetState() - # - # validateGroups - check that group= attributes match actual groups - # - def validateGroups(self): - """Validate group= attributes on and tags""" - # Keep track of group names not in tags - badGroup = {} - self.gen.logMsg('diag', '*** VALIDATING GROUP ATTRIBUTES ***') - for cmd in self.reg.findall('commands/command'): - proto = cmd.find('proto') - funcname = cmd.find('proto/name').text - if ('group' in proto.attrib.keys()): - group = proto.get('group') - # self.gen.logMsg('diag', '*** Command ', funcname, ' has return group ', group) - if (group not in self.groupdict.keys()): - # self.gen.logMsg('diag', '*** Command ', funcname, ' has UNKNOWN return group ', group) - if (group not in badGroup.keys()): - badGroup[group] = 1 - else: - badGroup[group] = badGroup[group] + 1 - for param in cmd.findall('param'): - pname = param.find('name') - if (pname != None): - pname = pname.text - else: - pname = type.get('name') - if ('group' in param.attrib.keys()): - group = param.get('group') - if (group not in self.groupdict.keys()): - # self.gen.logMsg('diag', '*** Command ', funcname, ' param ', pname, ' has UNKNOWN group ', group) - if (group not in badGroup.keys()): - badGroup[group] = 1 - else: - badGroup[group] = badGroup[group] + 1 - if (len(badGroup.keys()) > 0): - self.gen.logMsg('diag', '*** SUMMARY OF UNRECOGNIZED GROUPS ***') - for key in sorted(badGroup.keys()): - self.gen.logMsg('diag', ' ', key, ' occurred ', badGroup[key], ' times') diff --git a/khronos/repository/api/registry.rnc b/khronos/repository/api/registry.rnc deleted file mode 100644 index 248f500..0000000 --- a/khronos/repository/api/registry.rnc +++ /dev/null @@ -1,288 +0,0 @@ -# Copyright (c) 2013 The Khronos Group Inc. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and/or associated documentation files (the -# "Materials"), to deal in the Materials without restriction, including -# without limitation the rights to use, copy, modify, merge, publish, -# distribute, sublicense, and/or sell copies of the Materials, and to -# permit persons to whom the Materials are furnished to do so, subject to -# the following conditions: -# -# The above copyright notice and this permission notice shall be included -# in all copies or substantial portions of the Materials. -# -# THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -# MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. - -# Relax NG schema for Khronos Registry XML -# See http://www.opengl.org/registry/ -# -# Last modified 2013/06/14 -# This definition is subject to change (mostly in the form of additions) - -namespace xsd = "http://www.w3.org/2001/XMLSchema-datatypes" - -# Toplevel is a tag. -# May be led by an optional tag containing e.g. copyrights. -start = element registry { - ( - element comment { text } ? | - Types * | - Groups * | - Enums * | - Commands * | - Feature * | - Extensions * - ) * -} - -# defines a group of types -Types = element types { - Type * -} - -# defines a single type. It is usually a C typedef but -# may contain arbitrary C code. -# name - name of this type, if not present in the tag -# api - matches a api attribute, if present -# requires - name of another type definition required by this one -# type - "group", if present, indicating a group of values in the -# corresponding definition. -# comment - unused -# - substitutes for an APIENTRY-style macro on output -# - contains typename -Type = element type { - attribute api { text } ? , - attribute requires { text } ? , - attribute name { TypeName } ? , - attribute type { text } ? , - Comment ? , - text , - element apientry { text } ? , - text , - element name { TypeName } ? , - text -} - -# defines a group of enum groups -Groups = element groups { - Group * -} - -# defines a single enum group. Enums may -# be in multiple groups. -# name - group name -# comment - unused -# - members of the group - -Group = element group { - Name , - Comment ? , - element enum { Name } * -} - -# defines a group of enumerants -# namespace - identifies a numeric namespace -# group - identifies a functional subset of the namespace - same as -# start, end - beginning and end of a numeric range in the namespace -# vendor - owner of the numeric range -# type - "bitmask", if present -# comment - unused -Enums = element enums { - attribute namespace { text } ? , - attribute group { text } ? , - attribute type { text } ? , - attribute start { Integer } ? , - attribute end { Integer } ? , - Vendor ? , - Comment ? , - (Enum | Unused) * -} -# defines a single enumerant -# value - integer (including hex) value of the enumerant -# api - matches a api attribute, if present -# type - "u" (unsigned), "ull" (uint64), or integer if not present -# name - enumerant name -# alias - another enumerant this is semantically identical to -# comment - unused -Enum = element enum { - ( - attribute value { Integer } & - attribute api { text } ? & - attribute type { TypeSuffix } ? & - attribute name { text } & - attribute alias { text } ? & - Comment ? - ) -} -# defines a range of enumerants not currently being used -# start, end - beginning and end of an unused numeric range -# vendor - unused -# comment - unused -Unused = element unused { - attribute start { Integer } , - attribute end { Integer } ? , - Vendor ? , - Comment ? -} -# defines a group of commands -# namespace - identifies a function namespace -Commands = element commands { - attribute namespace { text } ? , - Command * -} -# defines a single command -# is the C function prototype, including the return type -# are function parameters, in order -# is a name, if present -# is the function / parameter name -# The textual contents of and should be legal C -# for those parts of a function declaration. -# - denotes function aliasing -# name - name of aliased function -# - denotes scalar / vector function equivalence -# name - name of corresponding vector form, e.g. (glColor3f -> glColor3fv) -# - information about GLX protocol -# type - "render", "single", or "vendor" for GLXRender, GLXSingle, GLXVendorPrivate{WithReply} -# opcode - numeric opcode of specified type for this function -# name - if present, protocol name (defaults to command name) -# comment - unused -Command = element command { - Comment ? , - element proto { - attribute group { text } ? , - text , - element ptype { TypeName } ? , - text , - element name { text } , - text - } , - element param { - attribute group { text } ? , - attribute len { text } ? , - text , - element ptype { TypeName } ? , - text , - element name { text } , - text - } * , - ( - element alias { - Name - } ? & - element vecequiv { - Name - } ? & - element glx { - attribute type { text } , - attribute opcode { xsd:integer } , - Name ? , - Comment ? - } * - ) -} -# Each defines the interface of an API version (e.g. OpenGL 1.2) -# api - API tag (e.g. 'gl', 'gles2', etc. - used internally, not -# neccessarily an actual API name -# name - version name (C preprocessor name, e.g. GL_VERSION_4_2) -# number - version number, e.g. 4.2 -# protect - additional #ifdef symbol to place around the feature -# / contains features to require or remove in -# this version -# profile - only require/remove when generated profile matches -# comment - unused -Feature = element feature { - attribute api { text } , - Name , - attribute number { xsd:float } , - attribute protect { text } ?, - Comment ? , - ( - element require { - ProfileName ? , - Comment ? , - InterfaceElement * - } | - element remove { - ProfileName ? , - Comment ? , - InterfaceElement * - } - ) * -} -Extensions = element extensions { - Extension * -} -# Defines the interface of an API . Like a -# tag, but with a slightly different api attribute. -# api - regexp pattern matching one or more API tags, indicating -# which APIs the extension is known to work with. The only -# syntax supported is {|}* and each name must -# exactly match an API being generated (implicit ^$ surrounding). -# In addition, / tags also support an -# api attribute: -# api - only require/remove these features for the matching API. -# Not a regular expression. -Extension = element extension { - Name , - attribute protect { text } ?, - attribute supported { StringGroup } ? , - Comment ? , - ( - element require { - attribute api { text } ? , - ProfileName ? , - Comment ? , - InterfaceElement * - } | - element remove { - attribute api { text } ? , - ProfileName ? , - Comment ? , - InterfaceElement * - } - ) * -} -# Contents of a / tag, defining a group -# of features to require or remove. -# / / all have attributes -# name - feature name which must match -InterfaceElement = - element type { - Name , - Comment ? - } | - element enum { - Name , - Comment ? - } | - element command { - Name , - Comment ? - } - -# Integers are allowed to be either decimal or C-hex (0x[0-9A-F]+), but -# XML Schema types don't seem to support hex notation, so we use this -# as a placeholder. -Integer = text - -# TypeName is an argument/return value C type name -TypeName = text - -# TypeSuffix is a C numeric type suffix, e.g. 'u' or 'ull' -TypeSuffix = text - -# StringGroup is a regular expression with an implicit -# '^(' and ')$' bracketing it. -StringGroup = text - -# Repeatedly used attributes -ProfileName = attribute profile { text } -Vendor = attribute vendor { text } -Comment = attribute comment { text } -Name = attribute name { text } diff --git a/khronos/repository/api/wgl.xml b/khronos/repository/api/wgl.xml deleted file mode 100644 index 20ecd59..0000000 --- a/khronos/repository/api/wgl.xml +++ /dev/null @@ -1,1967 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - struct _GPU_DEVICE { - DWORD cb; - CHAR DeviceName[32]; - CHAR DeviceString[128]; - DWORD Flags; - RECT rcVirtualScreen; -}; - - DECLARE_HANDLE(HPBUFFERARB); - DECLARE_HANDLE(HPBUFFEREXT); - DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV); - DECLARE_HANDLE(HPVIDEODEV); - DECLARE_HANDLE(HPGPUNV); - DECLARE_HANDLE(HGPUNV); - DECLARE_HANDLE(HVIDEOINPUTDEVICENV); - typedef struct _GPU_DEVICE GPU_DEVICE; - typedef struct _GPU_DEVICE *PGPU_DEVICE; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - int ChoosePixelFormat - HDC hDc - const PIXELFORMATDESCRIPTOR *pPfd - - - int DescribePixelFormat - HDC hdc - int ipfd - UINT cjpfd - const PIXELFORMATDESCRIPTOR *ppfd - - - int GetPixelFormat - HDC hdc - - - BOOL SetPixelFormat - HDC hdc - int ipfd - const PIXELFORMATDESCRIPTOR *ppfd - - - BOOL SwapBuffers - HDC hdc - - - void *wglAllocateMemoryNV - GLsizei size - GLfloat readfreq - GLfloat writefreq - GLfloat priority - - - BOOL wglAssociateImageBufferEventsI3D - HDC hDC - const HANDLE *pEvent - const LPVOID *pAddress - const DWORD *pSize - UINT count - - - BOOL wglBeginFrameTrackingI3D - - - GLboolean wglBindDisplayColorTableEXT - GLushort id - - - BOOL wglBindSwapBarrierNV - GLuint group - GLuint barrier - - - BOOL wglBindTexImageARB - HPBUFFERARB hPbuffer - int iBuffer - - - BOOL wglBindVideoCaptureDeviceNV - UINT uVideoSlot - HVIDEOINPUTDEVICENV hDevice - - - BOOL wglBindVideoDeviceNV - HDC hDC - unsigned int uVideoSlot - HVIDEOOUTPUTDEVICENV hVideoDevice - const int *piAttribList - - - BOOL wglBindVideoImageNV - HPVIDEODEV hVideoDevice - HPBUFFERARB hPbuffer - int iVideoBuffer - - - VOID wglBlitContextFramebufferAMD - HGLRC dstCtx - GLint srcX0 - GLint srcY0 - GLint srcX1 - GLint srcY1 - GLint dstX0 - GLint dstY0 - GLint dstX1 - GLint dstY1 - GLbitfield mask - GLenum filter - - - BOOL wglChoosePixelFormatARB - HDC hdc - const int *piAttribIList - const FLOAT *pfAttribFList - UINT nMaxFormats - int *piFormats - UINT *nNumFormats - - - BOOL wglChoosePixelFormatEXT - HDC hdc - const int *piAttribIList - const FLOAT *pfAttribFList - UINT nMaxFormats - int *piFormats - UINT *nNumFormats - - - BOOL wglCopyContext - HGLRC hglrcSrc - HGLRC hglrcDst - UINT mask - - - BOOL wglCopyImageSubDataNV - HGLRC hSrcRC - GLuint srcName - GLenum srcTarget - GLint srcLevel - GLint srcX - GLint srcY - GLint srcZ - HGLRC hDstRC - GLuint dstName - GLenum dstTarget - GLint dstLevel - GLint dstX - GLint dstY - GLint dstZ - GLsizei width - GLsizei height - GLsizei depth - - - HDC wglCreateAffinityDCNV - const HGPUNV *phGpuList - - - HGLRC wglCreateAssociatedContextAMD - UINT id - - - HGLRC wglCreateAssociatedContextAttribsAMD - UINT id - HGLRC hShareContext - const int *attribList - - - HANDLE wglCreateBufferRegionARB - HDC hDC - int iLayerPlane - UINT uType - - - HGLRC wglCreateContext - HDC hDc - - - HGLRC wglCreateContextAttribsARB - HDC hDC - HGLRC hShareContext - const int *attribList - - - GLboolean wglCreateDisplayColorTableEXT - GLushort id - - - LPVOID wglCreateImageBufferI3D - HDC hDC - DWORD dwSize - UINT uFlags - - - HGLRC wglCreateLayerContext - HDC hDc - int level - - - HPBUFFERARB wglCreatePbufferARB - HDC hDC - int iPixelFormat - int iWidth - int iHeight - const int *piAttribList - - - HPBUFFEREXT wglCreatePbufferEXT - HDC hDC - int iPixelFormat - int iWidth - int iHeight - const int *piAttribList - - - BOOL wglDelayBeforeSwapNV - HDC hDC - GLfloat seconds - - - BOOL wglDeleteAssociatedContextAMD - HGLRC hglrc - - - VOID wglDeleteBufferRegionARB - HANDLE hRegion - - - BOOL wglDeleteContext - HGLRC oldContext - - - BOOL wglDeleteDCNV - HDC hdc - - - BOOL wglDescribeLayerPlane - HDC hDc - int pixelFormat - int layerPlane - UINT nBytes - const LAYERPLANEDESCRIPTOR *plpd - - - VOID wglDestroyDisplayColorTableEXT - GLushort id - - - BOOL wglDestroyImageBufferI3D - HDC hDC - LPVOID pAddress - - - BOOL wglDestroyPbufferARB - HPBUFFERARB hPbuffer - - - BOOL wglDestroyPbufferEXT - HPBUFFEREXT hPbuffer - - - BOOL wglDisableFrameLockI3D - - - BOOL wglDisableGenlockI3D - HDC hDC - - - BOOL wglDXCloseDeviceNV - HANDLE hDevice - - - BOOL wglDXLockObjectsNV - HANDLE hDevice - GLint count - HANDLE *hObjects - - - BOOL wglDXObjectAccessNV - HANDLE hObject - GLenum access - - - HANDLE wglDXOpenDeviceNV - void *dxDevice - - - HANDLE wglDXRegisterObjectNV - HANDLE hDevice - void *dxObject - GLuint name - GLenum type - GLenum access - - - BOOL wglDXSetResourceShareHandleNV - void *dxObject - HANDLE shareHandle - - - BOOL wglDXUnlockObjectsNV - HANDLE hDevice - GLint count - HANDLE *hObjects - - - BOOL wglDXUnregisterObjectNV - HANDLE hDevice - HANDLE hObject - - - BOOL wglEnableFrameLockI3D - - - BOOL wglEnableGenlockI3D - HDC hDC - - - BOOL wglEndFrameTrackingI3D - - - UINT wglEnumerateVideoCaptureDevicesNV - HDC hDc - HVIDEOINPUTDEVICENV *phDeviceList - - - int wglEnumerateVideoDevicesNV - HDC hDC - HVIDEOOUTPUTDEVICENV *phDeviceList - - - BOOL wglEnumGpuDevicesNV - HGPUNV hGpu - UINT iDeviceIndex - PGPU_DEVICE lpGpuDevice - - - BOOL wglEnumGpusFromAffinityDCNV - HDC hAffinityDC - UINT iGpuIndex - HGPUNV *hGpu - - - BOOL wglEnumGpusNV - UINT iGpuIndex - HGPUNV *phGpu - - - void wglFreeMemoryNV - void *pointer - - - BOOL wglGenlockSampleRateI3D - HDC hDC - UINT uRate - - - BOOL wglGenlockSourceDelayI3D - HDC hDC - UINT uDelay - - - BOOL wglGenlockSourceEdgeI3D - HDC hDC - UINT uEdge - - - BOOL wglGenlockSourceI3D - HDC hDC - UINT uSource - - - UINT wglGetContextGPUIDAMD - HGLRC hglrc - - - HGLRC wglGetCurrentAssociatedContextAMD - - - HGLRC wglGetCurrentContext - - - HDC wglGetCurrentDC - - - HDC wglGetCurrentReadDCARB - - - HDC wglGetCurrentReadDCEXT - - - PROC wglGetDefaultProcAddress - LPCSTR lpszProc - - - BOOL wglGetDigitalVideoParametersI3D - HDC hDC - int iAttribute - int *piValue - - - UINT GetEnhMetaFilePixelFormat - HENHMETAFILE hemf - const PIXELFORMATDESCRIPTOR *ppfd - - - const char *wglGetExtensionsStringARB - HDC hdc - - - const char *wglGetExtensionsStringEXT - - - BOOL wglGetFrameUsageI3D - float *pUsage - - - BOOL wglGetGammaTableI3D - HDC hDC - int iEntries - USHORT *puRed - USHORT *puGreen - USHORT *puBlue - - - BOOL wglGetGammaTableParametersI3D - HDC hDC - int iAttribute - int *piValue - - - BOOL wglGetGenlockSampleRateI3D - HDC hDC - UINT *uRate - - - BOOL wglGetGenlockSourceDelayI3D - HDC hDC - UINT *uDelay - - - BOOL wglGetGenlockSourceEdgeI3D - HDC hDC - UINT *uEdge - - - BOOL wglGetGenlockSourceI3D - HDC hDC - UINT *uSource - - - UINT wglGetGPUIDsAMD - UINT maxCount - UINT *ids - - - INT wglGetGPUInfoAMD - UINT id - int property - GLenum dataType - UINT size - void *data - - - int wglGetLayerPaletteEntries - HDC hdc - int iLayerPlane - int iStart - int cEntries - const COLORREF *pcr - - - BOOL wglGetMscRateOML - HDC hdc - INT32 *numerator - INT32 *denominator - - - HDC wglGetPbufferDCARB - HPBUFFERARB hPbuffer - - - HDC wglGetPbufferDCEXT - HPBUFFEREXT hPbuffer - - - BOOL wglGetPixelFormatAttribfvARB - HDC hdc - int iPixelFormat - int iLayerPlane - UINT nAttributes - const int *piAttributes - FLOAT *pfValues - - - BOOL wglGetPixelFormatAttribfvEXT - HDC hdc - int iPixelFormat - int iLayerPlane - UINT nAttributes - int *piAttributes - FLOAT *pfValues - - - BOOL wglGetPixelFormatAttribivARB - HDC hdc - int iPixelFormat - int iLayerPlane - UINT nAttributes - const int *piAttributes - int *piValues - - - BOOL wglGetPixelFormatAttribivEXT - HDC hdc - int iPixelFormat - int iLayerPlane - UINT nAttributes - int *piAttributes - int *piValues - - - PROC wglGetProcAddress - LPCSTR lpszProc - - - int wglGetSwapIntervalEXT - - - BOOL wglGetSyncValuesOML - HDC hdc - INT64 *ust - INT64 *msc - INT64 *sbc - - - BOOL wglGetVideoDeviceNV - HDC hDC - int numDevices - HPVIDEODEV *hVideoDevice - - - BOOL wglGetVideoInfoNV - HPVIDEODEV hpVideoDevice - unsigned long *pulCounterOutputPbuffer - unsigned long *pulCounterOutputVideo - - - BOOL wglIsEnabledFrameLockI3D - BOOL *pFlag - - - BOOL wglIsEnabledGenlockI3D - HDC hDC - BOOL *pFlag - - - BOOL wglJoinSwapGroupNV - HDC hDC - GLuint group - - - GLboolean wglLoadDisplayColorTableEXT - const GLushort *table - GLuint length - - - BOOL wglLockVideoCaptureDeviceNV - HDC hDc - HVIDEOINPUTDEVICENV hDevice - - - BOOL wglMakeAssociatedContextCurrentAMD - HGLRC hglrc - - - BOOL wglMakeContextCurrentARB - HDC hDrawDC - HDC hReadDC - HGLRC hglrc - - - BOOL wglMakeContextCurrentEXT - HDC hDrawDC - HDC hReadDC - HGLRC hglrc - - - BOOL wglMakeCurrent - HDC hDc - HGLRC newContext - - - BOOL wglQueryCurrentContextNV - int iAttribute - int *piValue - - - BOOL wglQueryFrameCountNV - HDC hDC - GLuint *count - - - BOOL wglQueryFrameLockMasterI3D - BOOL *pFlag - - - BOOL wglQueryFrameTrackingI3D - DWORD *pFrameCount - DWORD *pMissedFrames - float *pLastMissedUsage - - - BOOL wglQueryGenlockMaxSourceDelayI3D - HDC hDC - UINT *uMaxLineDelay - UINT *uMaxPixelDelay - - - BOOL wglQueryMaxSwapGroupsNV - HDC hDC - GLuint *maxGroups - GLuint *maxBarriers - - - BOOL wglQueryPbufferARB - HPBUFFERARB hPbuffer - int iAttribute - int *piValue - - - BOOL wglQueryPbufferEXT - HPBUFFEREXT hPbuffer - int iAttribute - int *piValue - - - BOOL wglQuerySwapGroupNV - HDC hDC - GLuint *group - GLuint *barrier - - - BOOL wglQueryVideoCaptureDeviceNV - HDC hDc - HVIDEOINPUTDEVICENV hDevice - int iAttribute - int *piValue - - - BOOL wglRealizeLayerPalette - HDC hdc - int iLayerPlane - BOOL bRealize - - - BOOL wglReleaseImageBufferEventsI3D - HDC hDC - const LPVOID *pAddress - UINT count - - - int wglReleasePbufferDCARB - HPBUFFERARB hPbuffer - HDC hDC - - - int wglReleasePbufferDCEXT - HPBUFFEREXT hPbuffer - HDC hDC - - - BOOL wglReleaseTexImageARB - HPBUFFERARB hPbuffer - int iBuffer - - - BOOL wglReleaseVideoCaptureDeviceNV - HDC hDc - HVIDEOINPUTDEVICENV hDevice - - - BOOL wglReleaseVideoDeviceNV - HPVIDEODEV hVideoDevice - - - BOOL wglReleaseVideoImageNV - HPBUFFERARB hPbuffer - int iVideoBuffer - - - BOOL wglResetFrameCountNV - HDC hDC - - - BOOL wglRestoreBufferRegionARB - HANDLE hRegion - int x - int y - int width - int height - int xSrc - int ySrc - - - BOOL wglSaveBufferRegionARB - HANDLE hRegion - int x - int y - int width - int height - - - BOOL wglSendPbufferToVideoNV - HPBUFFERARB hPbuffer - int iBufferType - unsigned long *pulCounterPbuffer - BOOL bBlock - - - BOOL wglSetDigitalVideoParametersI3D - HDC hDC - int iAttribute - const int *piValue - - - BOOL wglSetGammaTableI3D - HDC hDC - int iEntries - const USHORT *puRed - const USHORT *puGreen - const USHORT *puBlue - - - BOOL wglSetGammaTableParametersI3D - HDC hDC - int iAttribute - const int *piValue - - - int wglSetLayerPaletteEntries - HDC hdc - int iLayerPlane - int iStart - int cEntries - const COLORREF *pcr - - - BOOL wglSetPbufferAttribARB - HPBUFFERARB hPbuffer - const int *piAttribList - - - BOOL wglSetStereoEmitterState3DL - HDC hDC - UINT uState - - - BOOL wglShareLists - HGLRC hrcSrvShare - HGLRC hrcSrvSource - - - INT64 wglSwapBuffersMscOML - HDC hdc - INT64 target_msc - INT64 divisor - INT64 remainder - - - BOOL wglSwapLayerBuffers - HDC hdc - UINT fuFlags - - - BOOL wglSwapIntervalEXT - int interval - - - INT64 wglSwapLayerBuffersMscOML - HDC hdc - int fuPlanes - INT64 target_msc - INT64 divisor - INT64 remainder - - - BOOL wglUseFontBitmaps - HDC hDC - DWORD first - DWORD count - DWORD listBase - - - BOOL wglUseFontBitmapsA - HDC hDC - DWORD first - DWORD count - DWORD listBase - - - BOOL wglUseFontBitmapsW - HDC hDC - DWORD first - DWORD count - DWORD listBase - - - BOOL wglUseFontOutlines - HDC hDC - DWORD first - DWORD count - DWORD listBase - FLOAT deviation - FLOAT extrusion - int format - LPGLYPHMETRICSFLOAT lpgmf - - - BOOL wglUseFontOutlinesA - HDC hDC - DWORD first - DWORD count - DWORD listBase - FLOAT deviation - FLOAT extrusion - int format - LPGLYPHMETRICSFLOAT lpgmf - - - BOOL wglUseFontOutlinesW - HDC hDC - DWORD first - DWORD count - DWORD listBase - FLOAT deviation - FLOAT extrusion - int format - LPGLYPHMETRICSFLOAT lpgmf - - - BOOL wglWaitForMscOML - HDC hdc - INT64 target_msc - INT64 divisor - INT64 remainder - INT64 *ust - INT64 *msc - INT64 *sbc - - - BOOL wglWaitForSbcOML - HDC hdc - INT64 target_sbc - INT64 *ust - INT64 *msc - INT64 *sbc - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/khronos/update-registry.sh b/khronos/update-registry.sh deleted file mode 100644 index eb5aa6c..0000000 --- a/khronos/update-registry.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -rm -Rf registry - -mkdir -p registry/api/GL -mkdir -p registry/api/EGL -mkdir -p registry/api/KHR -mkdir -p registry/api/GLES -mkdir -p registry/api/GLES2 -mkdir -p registry/api/GLES3 - -# https://www.opengl.org uses different permissions, and requires files to be requested explicitly. -wget -P registry/api/GL --mirror --no-parent --no-host-directories --cut-dirs=3 --no-check-certificate --accept=txt,spec,tm,h https://www.opengl.org/registry/api/GL/glext.h -wget -P registry/api/GL --mirror --no-parent --no-host-directories --cut-dirs=3 --no-check-certificate --accept=txt,spec,tm,h https://www.opengl.org/registry/api/GL/glcorearb.h -wget -P registry/api/GL --mirror --no-parent --no-host-directories --cut-dirs=3 --no-check-certificate --accept=txt,spec,tm,h https://www.opengl.org/registry/api/GL/glxext.h -wget -P registry/api/GL --mirror --no-parent --no-host-directories --cut-dirs=3 --no-check-certificate --accept=txt,spec,tm,h https://www.opengl.org/registry/api/GL/wglext.h - -wget -P registry/api/EGL --mirror --no-parent --no-host-directories --cut-dirs=4 --no-check-certificate --accept=txt,spec,tm,h https://www.khronos.org/registry/egl/api/EGL/ -wget -P registry/api/KHR --mirror --no-parent --no-host-directories --cut-dirs=4 --no-check-certificate --accept=txt,spec,tm,h https://www.khronos.org/registry/egl/api/KHR/ -wget -P registry/api/GLES --mirror --no-parent --no-host-directories --cut-dirs=4 --no-check-certificate --accept=txt,spec,tm,h https://www.khronos.org/registry/gles/api/GLES/ -wget -P registry/api/GLES2 --mirror --no-parent --no-host-directories --cut-dirs=4 --no-check-certificate --accept=txt,spec,tm,h https://www.khronos.org/registry/gles/api/GLES2/ -wget -P registry/api/GLES3 --mirror --no-parent --no-host-directories --cut-dirs=4 --no-check-certificate --accept=txt,spec,tm,h https://www.khronos.org/registry/gles/api/GLES3/ - -#mkdir -p registry/extensions/GL -#mkdir -p registry/extensions/EGL -#mkdir -p registry/extensions/GLES - -#wget -P registry/extensions/GL --mirror --no-parent --no-host-directories --cut-dirs=2 --no-check-certificate --accept=txt https://www.opengl.org/registry/specs/ -#wget -P registry/extensions/EGL --mirror --no-parent --no-host-directories --cut-dirs=3 --no-check-certificate --accept=txt https://www.khronos.org/registry/egl/extensions/ -#wget -P registry/extensions/GLES --mirror --no-parent --no-host-directories --cut-dirs=3 --no-check-certificate --accept=txt https://www.khronos.org/registry/gles/extensions/ - -find . -name "robots.txt" | xargs rm - -mkdir -p ../include -cp -Rf --target-directory=../include/ registry/api/GL/ -cp -Rf --target-directory=../include/ registry/api/EGL/ -cp -Rf --target-directory=../include/ registry/api/KHR/ -cp -Rf --target-directory=../include/ registry/api/GLES/ -cp -Rf --target-directory=../include/ registry/api/GLES2/ -cp -Rf --target-directory=../include/ registry/api/GLES3/ \ No newline at end of file diff --git a/khronos/update-repository.readme b/khronos/update-repository.readme deleted file mode 100644 index c518e08..0000000 --- a/khronos/update-repository.readme +++ /dev/null @@ -1,4 +0,0 @@ -Prerequisite tools: - -Python 2.7/3.2 and LXML extension - https://pypi.python.org/pypi/lxml/3.4.4 diff --git a/khronos/update-repository.sh b/khronos/update-repository.sh deleted file mode 100644 index 58a4a30..0000000 --- a/khronos/update-repository.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh - -mkdir -p repository - -rm -Rf repository/api/GL -rm -Rf repository/api/EGL -rm -Rf repository/api/GLES -rm -Rf repository/api/GLES2 -rm -Rf repository/api/GLES3 -rm -Rf repository/api - -mkdir -p repository/api -mkdir -p repository/api/GL -mkdir -p repository/api/EGL -mkdir -p repository/api/GLES -mkdir -p repository/api/GLES2 -mkdir -p repository/api/GLES3 - -wget -P repository/api --no-parent --no-host-directories --cut-dirs=8 --no-check-certificate https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/egl.xml -wget -P repository/api --no-parent --no-host-directories --cut-dirs=8 --no-check-certificate https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/genheaders.py -wget -P repository/api --no-parent --no-host-directories --cut-dirs=8 --no-check-certificate https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml -wget -P repository/api --no-parent --no-host-directories --cut-dirs=8 --no-check-certificate https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/glx.xml -wget -P repository/api --no-parent --no-host-directories --cut-dirs=8 --no-check-certificate https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/readme.pdf -wget -P repository/api --no-parent --no-host-directories --cut-dirs=8 --no-check-certificate https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/reg.py -wget -P repository/api --no-parent --no-host-directories --cut-dirs=8 --no-check-certificate https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/registry.rnc -wget -P repository/api --no-parent --no-host-directories --cut-dirs=8 --no-check-certificate https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/wgl.xml - -# Don't attempt re-generating headers if python isn't installed. -if hash python 2>/dev/null; then -cd repository/api - -genheaders.py -registry gl.xml GL/glcorearb.h -genheaders.py -registry gl.xml GL/glext.h - -genheaders.py -registry gl.xml GLES/gl.h -genheaders.py -registry gl.xml GLES/glext.h - -genheaders.py -registry gl.xml GLES2/gl2.h -genheaders.py -registry gl.xml GLES2/gl2ext.h - -genheaders.py -registry gl.xml GLES3/gl3.h -genheaders.py -registry gl.xml GLES3/gl31.h - -genheaders.py -registry glx.xml GL/glx.h -genheaders.py -registry glx.xml GL/glxext.h - -genheaders.py -registry wgl.xml GL/wgl.h -genheaders.py -registry wgl.xml GL/wglext.h - -genheaders.py -registry egl.xml EGL/egl.h -genheaders.py -registry egl.xml EGL/eglext.h - -cd .. -fi diff --git a/projects/cmake/visual-studio-androidpp.cmake b/projects/cmake/visual-studio-androidpp.cmake deleted file mode 100644 index 365262f..0000000 --- a/projects/cmake/visual-studio-androidpp.cmake +++ /dev/null @@ -1,6 +0,0 @@ - -set (CMAKE_SYSTEM_NAME "Android++") - -set (CMAKE_GENERATOR_PLATFORM "Android++") - -set (CMAKE_GENERATOR_TOOLSET "clang3.3") diff --git a/projects/regenerate.cmd b/projects/regenerate.cmd deleted file mode 100644 index deb44a4..0000000 --- a/projects/regenerate.cmd +++ /dev/null @@ -1,23 +0,0 @@ -@echo off - -mkdir visual-studio-win32 - -mkdir visual-studio-win64 - -mkdir visual-studio-androidpp - -cd visual-studio-win32 - -cmake ..\.. -G "Visual Studio 12" -A "Win32" - -cd ..\visual-studio-win64 - -cmake ..\.. -G "Visual Studio 12" -A "x64" - -cd ..\visual-studio-androidpp - -::cmake ..\.. -G "Visual Studio 12" -DCMAKE_TOOLCHAIN_FILE=..\cmake\visual-studio-androidpp.cmake - -cd .. - -pause \ No newline at end of file diff --git a/report.txt b/report.txt new file mode 100644 index 0000000..e69de29 diff --git a/src/generator/.gitignore b/src/generator/.gitignore new file mode 100644 index 0000000..28bcb4a --- /dev/null +++ b/src/generator/.gitignore @@ -0,0 +1,3 @@ +/.vs +/bin +/obj diff --git a/src/generator/Generator.cs b/src/generator/Generator.cs index 812ca50..a06f5ec 100644 --- a/src/generator/Generator.cs +++ b/src/generator/Generator.cs @@ -120,9 +120,9 @@ public Generator (string filename, string [] [] apiSpec) m_extensionNodes = SelectNodes ("//registry/extensions/extension"); - // + // // Generate fast-lookup of 'enums' nodes. - // + // if (m_enumsNodes.Count > 0) { @@ -147,9 +147,9 @@ public Generator (string filename, string [] [] apiSpec) } } - // + // // Generate fast-lookup of 'feature' nodes. - // + // if (m_featureNodes.Count > 0) { @@ -173,9 +173,9 @@ public Generator (string filename, string [] [] apiSpec) } } - // + // // Generate fast-lookup of 'commands' nodes. - // + // if (m_commandsNodes.Count > 0) { @@ -194,10 +194,10 @@ public Generator (string filename, string [] [] apiSpec) m_commandsNodesLookup.Add (commandProtoNameNode.InnerText, commandNode); - // + // // Some commands are listed as aliases for other commands; // I.e. glDrawArraysInstancedANGLE is an alias of glDrawArraysInstanced - // + // XmlNodeList commandAliasNode = commandNode.SelectNodes ("alias"); @@ -223,9 +223,9 @@ public Generator (string filename, string [] [] apiSpec) } } - // + // // Generate fast-lookup of 'extensions' nodes. - // + // if (m_extensionNodes.Count > 0) { @@ -249,9 +249,9 @@ public Generator (string filename, string [] [] apiSpec) } } - // + // // Collate feature and extension nodes together; as this can signifantly improve code re-use later. - // + // foreach (var keypair in m_featureNodesLookup) { @@ -269,9 +269,9 @@ public Generator (string filename, string [] [] apiSpec) } } - // + // // Generate fast-lookup of 'enums' and 'command' nodes required by supported APIs. - // + // if (m_featureAndExtensionNodes.Count > 0) { @@ -279,9 +279,9 @@ public Generator (string filename, string [] [] apiSpec) { XmlNode featureNode = keypair.Value; - // + // // Multiple tags can be nested in a feature/extension definition. It's possible for these to also be api specific. - // + // XmlNodeList requireNodes = featureNode.SelectNodes ("require"); @@ -306,9 +306,9 @@ public Generator (string filename, string [] [] apiSpec) } } - // + // // Evaluate whether this feature is part of the 'base spec'. - // + // XmlNode featureNumberNode = featureNode.Attributes.GetNamedItem ("number"); @@ -324,9 +324,9 @@ public Generator (string filename, string [] [] apiSpec) } } - // + // // Collate 'enums' listed by required features/extensions. - // + // { XmlNodeList requireEnumNodes = requireNode.SelectNodes ("enum"); @@ -349,9 +349,9 @@ public Generator (string filename, string [] [] apiSpec) } } - // + // // Collate 'commands' listed by required features/extensions. - // + // { XmlNodeList requireCommandNodes = requireNode.SelectNodes ("command"); @@ -384,15 +384,15 @@ public Generator (string filename, string [] [] apiSpec) public virtual void ExportHpp (ref StreamWriter writer) { - // + // // 'FeatureSet' class; wraps 'features' and 'extension' identifiers. - // + // WriteCommentDivider (ref writer); writer.Write (@" #if defined(__GNUC__) -#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 +#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 #pragma GCC diagnostic push // push/pop not available before GCC 4.6 #endif #pragma GCC diagnostic ignored ""-Wunused-function"" @@ -420,9 +420,9 @@ public virtual void ExportHpp (ref StreamWriter writer) writer.Write ("\n"); - // + // // Define function pointers to feature and extension functions (these are usually just exposed via pre-linked functions). - // + // if (m_featureAndExtensionNodes.Count > 0) { @@ -443,9 +443,9 @@ public virtual void ExportHpp (ref StreamWriter writer) } } - // + // // Multiple tags can be nested in a feature/extension definition. It's possible for these to also be api specific. - // + // XmlNodeList requireNodes = featureNode.SelectNodes ("require"); @@ -468,9 +468,9 @@ public virtual void ExportHpp (ref StreamWriter writer) continue; // Skip non-supported APIs. } - // + // // Evaluate whether this feature is part of the 'base spec'. - // + // bool baseSpecFeatureSet = false; @@ -486,9 +486,9 @@ public virtual void ExportHpp (ref StreamWriter writer) } } - // + // // Export code for defining available function/commands. - // + // XmlNodeList requireCommandNodes = requireNode.SelectNodes ("command"); @@ -566,9 +566,9 @@ public virtual void ExportHpp (ref StreamWriter writer) WriteCommentDivider (ref writer); - // + // // 'DeviceConfig' class: Default API. - // + // writer.Write (string.Format ("\nnamespace glew\n{{\n\n", m_api [0])); @@ -584,9 +584,9 @@ public virtual void ExportHpp (ref StreamWriter writer) writer.Write (string.Format (" bool m_featureSupported [{0}{1}_{2}];\n\n", "GLEW_", m_api [0].ToUpperInvariant (), "FeatureSetCount")); - // + // // 'DeviceConfig' class: Feature and extension function prototypes. - // + // if (m_featureAndExtensionNodes.Count > 0) { @@ -607,9 +607,9 @@ public virtual void ExportHpp (ref StreamWriter writer) } } - // + // // Multiple tags can be nested in a feature/extension definition. It's possible for these to also be api specific. - // + // XmlNodeList requireNodes = featureNode.SelectNodes ("require"); @@ -632,9 +632,9 @@ public virtual void ExportHpp (ref StreamWriter writer) continue; // Skip non-supported APIs. } - // + // // Evaluate whether this feature is part of the 'base spec'. - // + // XmlNode featureNumberNode = featureNode.Attributes.GetNamedItem ("number"); @@ -650,9 +650,9 @@ public virtual void ExportHpp (ref StreamWriter writer) } } - // + // // Export code for defining local function/command cached address storage. - // + // XmlNodeList requireCommandNodes = requireNode.SelectNodes ("command"); @@ -689,9 +689,9 @@ public virtual void ExportHpp (ref StreamWriter writer) writer.Write (" };\n\n"); - // + // // Standard GLEW header API. - // + // WriteCommentDivider (ref writer, 4); @@ -699,9 +699,9 @@ public virtual void ExportHpp (ref StreamWriter writer) //WriteCommentDivider (ref writer, 4); - // + // // Internal GLEW-managed API functions (seeded from features and extension specifications). - // + // #if false writer.Write (string.Format ("\n public:\n\n")); @@ -714,9 +714,9 @@ public virtual void ExportHpp (ref StreamWriter writer) { XmlNode featureNode = keypair.Value; - // + // // Multiple tags can be nested in a feature/extension definition. It's possible for these to also be api specific. - // + // XmlNodeList requireNodes = featureNode.SelectNodes ("require"); @@ -741,9 +741,9 @@ public virtual void ExportHpp (ref StreamWriter writer) } } - // + // // Evaluate whether this feature is part of the 'base spec'. - // + // XmlNode featureNumberNode = featureNode.Attributes.GetNamedItem ("number"); @@ -759,9 +759,9 @@ public virtual void ExportHpp (ref StreamWriter writer) } } - // + // // Export code for defining local pass-through prototypes. - // + // XmlNodeList requireCommandNodes = requireNode.SelectNodes ("command"); @@ -816,9 +816,9 @@ public virtual void ExportHpp (ref StreamWriter writer) WriteCommentDivider (ref writer, 0); - // + // // Pre-processor pass-through defines for redirecting functions to glew alternatives. - // + // /*writer.Write ("\n"); @@ -842,9 +842,9 @@ public virtual void ExportHpp (ref StreamWriter writer) { XmlNode featureNode = keypair.Value; - // + // // Multiple tags can be nested in a feature/extension definition. It's possible for these to also be api specific. - // + // XmlNodeList requireNodes = featureNode.SelectNodes ("require"); @@ -869,9 +869,9 @@ public virtual void ExportHpp (ref StreamWriter writer) } } - // + // // Evaluate whether this feature is part of the 'base spec'. - // + // XmlNode featureNumberNode = featureNode.Attributes.GetNamedItem ("number"); @@ -887,9 +887,9 @@ public virtual void ExportHpp (ref StreamWriter writer) } } - // + // // Export code to #define pass-through prototypes to non-base spec functions. - // + // XmlNodeList requireCommandNodes = requireNode.SelectNodes ("command"); @@ -948,9 +948,9 @@ public virtual void ExportHpp (ref StreamWriter writer) writer.Write (string.Format ("{0};\n", commandFunc)); - // + // // If the prototype contains non-Khronos standard 'const GLchar **', add a passthrough to accept 'const GLchar *const*'. - // + // #if false if (commandFunc.Contains ("const GLchar **")) { @@ -982,8 +982,8 @@ public virtual void ExportHpp (ref StreamWriter writer) WriteCommentDivider (ref writer); writer.Write (@" -#ifdef __GNUC__ -#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 +#if defined(__GNUC__) +#if ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 40600 #pragma GCC diagnostic pop // push/pop not available before GCC 4.6 #endif #endif @@ -1028,9 +1028,9 @@ public virtual void ExportCpp (ref StreamWriter writer) WriteCommentDivider (ref writer); - // + // // Collate feature and extension nodes together; as this can signifantly improve code re-use later. - // + // Dictionary featureAndExtensionNodes = new Dictionary (); @@ -1050,9 +1050,9 @@ public virtual void ExportCpp (ref StreamWriter writer) } } - // + // // Feature and extension function definitions. - // + // if (featureAndExtensionNodes.Count > 0) { @@ -1073,9 +1073,9 @@ public virtual void ExportCpp (ref StreamWriter writer) } } - // + // // Multiple tags can be nested in a feature/extension definition. It's possible for these to also be api specific. - // + // XmlNodeList requireNodes = featureNode.SelectNodes ("require"); @@ -1098,9 +1098,9 @@ public virtual void ExportCpp (ref StreamWriter writer) continue; // Skip non-supported APIs. } - // + // // Evaluate whether this feature is part of the 'base spec'. - // + // XmlNode featureNumberNode = featureNode.Attributes.GetNamedItem ("number"); @@ -1116,9 +1116,9 @@ public virtual void ExportCpp (ref StreamWriter writer) } } - // + // // Export code for defining the pass-through local-scope GL functions. - // + // XmlNodeList requireCommandNodes = requireNode.SelectNodes ("command"); @@ -1171,16 +1171,16 @@ public virtual void ExportCpp (ref StreamWriter writer) string prototypeParameters = paramBuilder.ToString (); - // + // // If the prototype contains non-Khronos standard 'const GLchar **', add a passthrough to accept 'const GLchar *const*'. - // + // #if false if (prototypeParameters.Contains ("const GLchar **")) { - // + // // Clear and re-evaluate pass-through parameters. - // + // paramBuilder.Clear (); @@ -1223,9 +1223,9 @@ public virtual void ExportCpp (ref StreamWriter writer) } #endif - // + // // Clear and re-evaluate pass-through parameters. - // + // paramBuilder.Clear (); @@ -1269,9 +1269,9 @@ public virtual void ExportCpp (ref StreamWriter writer) writer.Write (string.Format ("{0}Config.m_{1} ({2});\n }}\n", m_api [0], commandPrototype.functionName, paramBuilder.ToString ())); - // + // // Aliases - // + // List aliasCommandNodes; @@ -1299,9 +1299,9 @@ public virtual void ExportCpp (ref StreamWriter writer) writer.Write (string.Format (" {0}", (voidFunction ? "" : "return "))); - // + // // Sometimes aliases use slightly modified prototypes, so we need to manage casts. - // + // CommandPrototype aliasPrototype = GetCommandPrototype (aliasCommand); @@ -1363,9 +1363,9 @@ public virtual void ExportCpp (ref StreamWriter writer) { string command = prototypeRequireNodes.Key; - // + // // Evaluate whether this feature should be included, as isn't part of the 'base spec'. - // + // string api = m_api [0]; @@ -1402,9 +1402,9 @@ public virtual void ExportCpp (ref StreamWriter writer) continue; // Skip any base spec versions. } - // + // // Begin prototype definition. - // + // CommandPrototype commandPrototype = GetCommandPrototype (command); @@ -1638,9 +1638,9 @@ protected CommandPrototype GetCommandPrototype (XmlNode commandNode) StringBuilder prototypeBuilder = new StringBuilder (); - // + // // Make an identical copy of the XML contents of component of the prototype/params. - // + // XmlNode protoNode = commandNode.SelectSingleNode ("proto"); diff --git a/src/generator/GeneratorEGL.cs b/src/generator/GeneratorEGL.cs index 3b25de3..0b7040f 100644 --- a/src/generator/GeneratorEGL.cs +++ b/src/generator/GeneratorEGL.cs @@ -100,15 +100,15 @@ public override void ExportCpp (ref StreamWriter writer) { WriteCommentDivider (ref writer); - writer.Write ("\n#include \n\n#include \n\n"); + writer.Write ("\n#include \n\n#include \n\n#include \n\n"); base.ExportCpp (ref writer); writer.Write ("\n"); - // + // // glew::egl::Initialise - // + // writer.Write ("bool glew::egl::s_initialised = false;\n\n"); @@ -130,9 +130,9 @@ public override void ExportCpp (ref StreamWriter writer) memset (&s_deviceConfig, 0, sizeof (s_deviceConfig)); - // + // // Determine current driver's feature reporting. - // + // const unsigned char *eglVersion = (const unsigned char *) eglQueryString (s_display, EGL_VERSION); @@ -163,9 +163,9 @@ public override void ExportCpp (ref StreamWriter writer) s_deviceConfig.m_featureSupported [GLEW_EGL_VERSION_1_5] = ((major >= 1) && (minor >= 5)); } - // + // // Evaluate extension support. - // + // std::unordered_set supportedExtensions; @@ -188,7 +188,7 @@ public override void ExportCpp (ref StreamWriter writer) memset (thisExtBuffer, 0, sizeof (thisExtBuffer)); - do + do { const char * seperator = strchr ((const char *) thisExtStart, ' '); @@ -198,7 +198,7 @@ public override void ExportCpp (ref StreamWriter writer) #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -212,7 +212,7 @@ public override void ExportCpp (ref StreamWriter writer) #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -242,9 +242,9 @@ public override void ExportCpp (ref StreamWriter writer) writer.Write ("\n"); - // + // // Collate feature and extension nodes together; as this can signifantly improve code re-use later. - // + // Dictionary featureAndExtensionNodes = new Dictionary (); @@ -285,9 +285,9 @@ public override void ExportCpp (ref StreamWriter writer) } } - // + // // Multiple tags can be nested in a feature/extension definition. It's possible for these to also be api specific. - // + // XmlNodeList requireNodes = featureNode.SelectNodes ("require"); @@ -310,9 +310,9 @@ public override void ExportCpp (ref StreamWriter writer) continue; // Skip non-supported APIs. } - // + // // Evaluate whether this feature is part of the 'base spec'. - // + // XmlNode featureNumberNode = featureNode.Attributes.GetNamedItem ("number"); @@ -328,9 +328,9 @@ public override void ExportCpp (ref StreamWriter writer) } } - // + // // Export code for seeding available function/command addresses. - // + // XmlNodeList requireCommandNodes = requireNode.SelectNodes ("command"); @@ -369,9 +369,9 @@ public override void ExportCpp (ref StreamWriter writer) } } - // + // // Output condensed feature organised prototypes. - // + // if (featureBasedPrototypes.Count > 0) { @@ -404,9 +404,9 @@ public override void ExportCpp (ref StreamWriter writer) WriteCommentDivider (ref writer); - // + // // glew::egl::Deinitialise - // + // writer.Write ("\nvoid glew::egl::Deinitialise ()\n{\n"); diff --git a/src/generator/GeneratorGL.cs b/src/generator/GeneratorGL.cs index f7a6d25..dddbf64 100644 --- a/src/generator/GeneratorGL.cs +++ b/src/generator/GeneratorGL.cs @@ -29,8 +29,8 @@ public class GeneratorGL : Generator public GeneratorGL (string filename) : base (filename, new string [] [] - { - new string [] { "gl", "1.0" }, + { + new string [] { "gl", "1.0" }, new string [] { "gles2", "1.0"}, }) { @@ -80,7 +80,7 @@ public override void ExportHpp (ref StreamWriter writer) // GLAPI is defined to 'extern' in // Prevents duplicate 'extern' on GLEW_EXTERN_C GLAPI definitions. #ifndef GLAPI -#define GLAPI +#define GLAPI #endif "); @@ -128,15 +128,15 @@ public override void ExportCpp (ref StreamWriter writer) { WriteCommentDivider (ref writer); - writer.Write ("\n#include \n\n#include \n\n"); + writer.Write ("\n#include \n\n#include \n\n#include \n\n"); base.ExportCpp (ref writer); writer.Write ("\n"); - // + // // glew::gl::Initialise - // + // writer.Write ("bool glew::gl::s_initialised = false;\n\n"); @@ -149,9 +149,9 @@ public override void ExportCpp (ref StreamWriter writer) writer.Write (" memset (&s_deviceConfig, 0, sizeof (s_deviceConfig));\n"); writer.Write (@" - // + // // Determine current driver's feature reporting. - // + // const unsigned char *glVersion = glGetString (GL_VERSION); @@ -210,9 +210,9 @@ public override void ExportCpp (ref StreamWriter writer) } } - // + // // Evaluate extension support. - // + // std::unordered_set supportedExtensions; @@ -235,7 +235,7 @@ public override void ExportCpp (ref StreamWriter writer) memset (thisExtBuffer, 0, sizeof (thisExtBuffer)); - do + do { const char * seperator = strchr ((const char *) thisExtStart, ' '); @@ -245,7 +245,7 @@ public override void ExportCpp (ref StreamWriter writer) #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -259,7 +259,7 @@ public override void ExportCpp (ref StreamWriter writer) #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -289,9 +289,9 @@ public override void ExportCpp (ref StreamWriter writer) writer.Write ("\n"); - // + // // Collate feature and extension nodes together; as this can signifantly improve code re-use later. - // + // Dictionary featureAndExtensionNodes = new Dictionary (); @@ -330,9 +330,9 @@ public override void ExportCpp (ref StreamWriter writer) } } - // + // // Multiple tags can be nested in a feature/extension definition. It's possible for these to also be api specific. - // + // XmlNodeList requireNodes = featureNode.SelectNodes ("require"); @@ -355,9 +355,9 @@ public override void ExportCpp (ref StreamWriter writer) continue; // Skip non-supported APIs. } - // + // // Evaluate whether this feature is part of the 'base spec'. - // + // XmlNode featureNumberNode = featureNode.Attributes.GetNamedItem ("number"); @@ -373,9 +373,9 @@ public override void ExportCpp (ref StreamWriter writer) } } - // + // // Export code for seeding available function/command addresses. - // + // XmlNodeList requireCommandNodes = requireNode.SelectNodes ("command"); @@ -412,9 +412,9 @@ public override void ExportCpp (ref StreamWriter writer) } } - // + // // Output condensed feature organised prototypes. - // + // if (featureBasedPrototypes.Count > 0) { @@ -447,9 +447,9 @@ public override void ExportCpp (ref StreamWriter writer) WriteCommentDivider (ref writer); - // + // // glew::gl::Deinitialise - // + // writer.Write ("\nvoid glew::gl::Deinitialise ()\n{\n"); diff --git a/src/generator/GeneratorGLES.cs b/src/generator/GeneratorGLES.cs index 54a17fe..ac722db 100644 --- a/src/generator/GeneratorGLES.cs +++ b/src/generator/GeneratorGLES.cs @@ -119,15 +119,15 @@ public override void ExportCpp (ref StreamWriter writer) { WriteCommentDivider (ref writer); - writer.Write ("\n#include \n\n#include \n\n"); + writer.Write ("\n#include \n\n#include \n\n#include \n\n#include \n\n"); base.ExportCpp (ref writer); writer.Write ("\n"); - // + // // glew::gles::Initialise - // + // writer.Write ("bool glew::gles::s_initialised = false;\n\n"); @@ -139,9 +139,9 @@ public override void ExportCpp (ref StreamWriter writer) writer.Write (" memset (&s_deviceConfig, 0, sizeof (s_deviceConfig));\n\n"); - writer.Write (@" // + writer.Write (@" // // Determine current driver's feature reporting. - // + // const unsigned char *glVersion = glGetString (GL_VERSION); @@ -179,9 +179,9 @@ public override void ExportCpp (ref StreamWriter writer) } } - // + // // Evaluate extension support. - // + // std::unordered_set supportedExtensions; @@ -204,7 +204,7 @@ public override void ExportCpp (ref StreamWriter writer) memset (thisExtBuffer, 0, sizeof (thisExtBuffer)); - do + do { const char * seperator = strchr ((const char *) thisExtStart, ' '); @@ -214,7 +214,7 @@ public override void ExportCpp (ref StreamWriter writer) #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -228,7 +228,7 @@ public override void ExportCpp (ref StreamWriter writer) #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -258,9 +258,9 @@ public override void ExportCpp (ref StreamWriter writer) writer.Write ("\n"); - // + // // Collate feature and extension nodes together; as this can signifantly improve code re-use later. - // + // Dictionary featureAndExtensionNodes = new Dictionary (); @@ -301,9 +301,9 @@ public override void ExportCpp (ref StreamWriter writer) } } - // + // // Multiple tags can be nested in a feature/extension definition. It's possible for these to also be api specific. - // + // XmlNodeList requireNodes = featureNode.SelectNodes ("require"); @@ -326,9 +326,9 @@ public override void ExportCpp (ref StreamWriter writer) continue; // Skip non-supported APIs. } - // + // // Evaluate whether this feature is part of the 'base spec'. - // + // XmlNode featureNumberNode = featureNode.Attributes.GetNamedItem ("number"); @@ -344,9 +344,9 @@ public override void ExportCpp (ref StreamWriter writer) } } - // + // // Export code for seeding available function/command addresses. - // + // XmlNodeList requireCommandNodes = requireNode.SelectNodes ("command"); @@ -385,9 +385,9 @@ public override void ExportCpp (ref StreamWriter writer) } } - // + // // Output condensed feature organised prototypes. - // + // if (featureBasedPrototypes.Count > 0) { @@ -420,9 +420,9 @@ public override void ExportCpp (ref StreamWriter writer) WriteCommentDivider (ref writer); - // + // // glew::gles::Deinitialise - // + // writer.Write ("\nvoid glew::gles::Deinitialise ()\n{\n"); diff --git a/src/generator/GeneratorWGL.cs b/src/generator/GeneratorWGL.cs index 6a5cf96..4b3bf3c 100644 --- a/src/generator/GeneratorWGL.cs +++ b/src/generator/GeneratorWGL.cs @@ -92,17 +92,15 @@ public override void ExportCpp (ref StreamWriter writer) { WriteCommentDivider (ref writer); - writer.Write ("\n#include \n"); - - writer.Write ("\n#include \n\n"); + writer.Write ("\n#include \n\n#include \n\n#include \n\n"); base.ExportCpp (ref writer); writer.Write ("\n"); - // + // // glew::wgl::Initialise - // + // writer.Write ("bool glew::wgl::s_initialised = false;\n\n"); @@ -114,15 +112,15 @@ public override void ExportCpp (ref StreamWriter writer) writer.Write (" memset (&s_deviceConfig, 0, sizeof (s_deviceConfig));\n\n"); - writer.Write (@" // + writer.Write (@" // // Determine current driver's feature reporting. - // + // s_deviceConfig.m_featureSupported [GLEW_WGL_VERSION_1_0] = true; - // + // // Evaluate extension support. - // + // std::unordered_set supportedExtensions; @@ -159,7 +157,7 @@ public override void ExportCpp (ref StreamWriter writer) memset (thisExtBuffer, 0, sizeof (thisExtBuffer)); - do + do { const char * seperator = strchr ((const char *) thisExtStart, ' '); @@ -169,7 +167,7 @@ public override void ExportCpp (ref StreamWriter writer) #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -183,7 +181,7 @@ public override void ExportCpp (ref StreamWriter writer) #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -213,9 +211,9 @@ public override void ExportCpp (ref StreamWriter writer) writer.Write ("\n"); - // + // // Collate feature and extension nodes together; as this can signifantly improve code re-use later. - // + // Dictionary featureAndExtensionNodes = new Dictionary (); @@ -256,9 +254,9 @@ public override void ExportCpp (ref StreamWriter writer) } } - // + // // Multiple tags can be nested in a feature/extension definition. It's possible for these to also be api specific. - // + // XmlNodeList requireNodes = featureNode.SelectNodes ("require"); @@ -281,9 +279,9 @@ public override void ExportCpp (ref StreamWriter writer) continue; // Skip non-supported APIs. } - // + // // Evaluate whether this feature is part of the 'base spec'. - // + // XmlNode featureNumberNode = featureNode.Attributes.GetNamedItem ("number"); @@ -299,9 +297,9 @@ public override void ExportCpp (ref StreamWriter writer) } } - // + // // Export code for seeding available function/command addresses. - // + // XmlNodeList requireCommandNodes = requireNode.SelectNodes ("command"); @@ -340,9 +338,9 @@ public override void ExportCpp (ref StreamWriter writer) } } - // + // // Output condensed feature organised prototypes. - // + // if (featureBasedPrototypes.Count > 0) { @@ -375,9 +373,9 @@ public override void ExportCpp (ref StreamWriter writer) WriteCommentDivider (ref writer); - // + // // glew::wgl::Deinitialise - // + // writer.Write ("\nvoid glew::wgl::Deinitialise ()\n{\n"); diff --git a/src/generator/Program.cs b/src/generator/Program.cs index 91d7ae9..a7f5214 100644 --- a/src/generator/Program.cs +++ b/src/generator/Program.cs @@ -29,17 +29,17 @@ class Program static int Main (string [] args) { - // + // // EGL - // + // try { - string api = @"khronos\repository\api\egl.xml"; + string api = @"egl.xml"; - string hpp = @"include\wrangle-egl.h"; + string hpp = @"wrangle-egl.h"; - string cpp = @"src\wrangle-egl.cpp"; + string cpp = @"wrangle-egl.cpp"; GeneratorEGL generator = new GeneratorEGL (api); @@ -68,17 +68,17 @@ static int Main (string [] args) Trace.WriteLine (exception); } - // + // // WGL - // + // try { - string api = @"khronos\repository\api\wgl.xml"; + string api = @"wgl.xml"; - string hpp = @"include\wrangle-wgl.h"; + string hpp = @"wrangle-wgl.h"; - string cpp = @"src\wrangle-wgl.cpp"; + string cpp = @"wrangle-wgl.cpp"; GeneratorWGL generator = new GeneratorWGL (api); @@ -107,17 +107,17 @@ static int Main (string [] args) Trace.WriteLine (exception); } - // + // // GLX - // + // try { - string api = @"khronos\repository\api\glx.xml"; + string api = @"glx.xml"; - string hpp = @"include\wrangle-glx.h"; + string hpp = @"wrangle-glx.h"; - string cpp = @"src\wrangle-glx.cpp"; + string cpp = @"wrangle-glx.cpp"; GeneratorGLX generator = new GeneratorGLX (api); @@ -146,17 +146,17 @@ static int Main (string [] args) Trace.WriteLine (exception); } - // + // // GL Core ARB - // + // try { - string api = @"khronos\repository\api\gl.xml"; + string api = @"gl.xml"; - string hpp = @"include\wrangle-gl.h"; + string hpp = @"wrangle-gl.h"; - string cpp = @"src\wrangle-gl.cpp"; + string cpp = @"wrangle-gl.cpp"; GeneratorGL generator = new GeneratorGL (api); @@ -185,17 +185,17 @@ static int Main (string [] args) Trace.WriteLine (exception); } - // + // // GLES 1.x/2.x/3.x - // + // try { - string api = @"khronos\repository\api\gl.xml"; + string api = @"gl.xml"; - string hpp = @"include\wrangle-gles.h"; + string hpp = @"wrangle-gles.h"; - string cpp = @"src\wrangle-gles.cpp"; + string cpp = @"wrangle-gles.cpp"; GeneratorGLES generator = new GeneratorGLES (api); diff --git a/src/generator/Properties/AssemblyInfo.cs b/src/generator/Properties/AssemblyInfo.cs deleted file mode 100644 index 39bdd86..0000000 --- a/src/generator/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle ("wrangle-gl-generator")] -[assembly: AssemblyDescription ("")] -[assembly: AssemblyConfiguration ("")] -[assembly: AssemblyCompany ("NaturalMotion")] -[assembly: AssemblyProduct ("wrangle-gl-generator")] -[assembly: AssemblyCopyright ("Copyright © NaturalMotion 2015")] -[assembly: AssemblyTrademark ("")] -[assembly: AssemblyCulture ("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible (false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid ("51a51eb5-141d-4f88-b57a-7a97d5499aec")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion ("1.0.0.0")] -[assembly: AssemblyFileVersion ("1.0.0.0")] diff --git a/src/generator/wrangle-gl-generator.csproj b/src/generator/wrangle-gl-generator.csproj index 906b823..4e6a89b 100644 --- a/src/generator/wrangle-gl-generator.csproj +++ b/src/generator/wrangle-gl-generator.csproj @@ -1,61 +1,9 @@ - - - + + - Debug - AnyCPU - {24B81D83-925E-4236-AA9B-D56E9EF06BC6} Exe - Properties + netcoreapp3.1 wrangle_gl_generator - wrangle-gl-generator - v4.0 - 512 - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + diff --git a/src/generator/wrangle-gl-generator.csproj.user b/src/generator/wrangle-gl-generator.csproj.user deleted file mode 100644 index 9eeebce..0000000 --- a/src/generator/wrangle-gl-generator.csproj.user +++ /dev/null @@ -1,6 +0,0 @@ - - - - E:\nm\gamessvn\branches\dev\CGTOpenGLCompatibility\NMG_Libs\NMG_Graphics\OpenGL_Common\wrangle-gl - - \ No newline at end of file diff --git a/src/generator/wrangle-gl-generator.sln b/src/generator/wrangle-gl-generator.sln deleted file mode 100644 index 850d5cb..0000000 --- a/src/generator/wrangle-gl-generator.sln +++ /dev/null @@ -1,22 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.31101.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "wrangle-gl-generator", "wrangle-gl-generator.csproj", "{24B81D83-925E-4236-AA9B-D56E9EF06BC6}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {24B81D83-925E-4236-AA9B-D56E9EF06BC6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {24B81D83-925E-4236-AA9B-D56E9EF06BC6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {24B81D83-925E-4236-AA9B-D56E9EF06BC6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {24B81D83-925E-4236-AA9B-D56E9EF06BC6}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/src/wrangle-egl.cpp b/src/wrangle-egl.cpp index 1e673ba..1628f86 100644 --- a/src/wrangle-egl.cpp +++ b/src/wrangle-egl.cpp @@ -2,6 +2,8 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +#include + #include #include @@ -559,19 +561,19 @@ void _glew_egl_eglSetBlobCacheFuncsANDROID (EGLDisplay dpy, EGLSetBlobFuncANDROI //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLint _glew_egl_eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR sync) +EGLClientBuffer _glew_egl_eglCreateNativeClientBufferANDROID (const EGLint * attrib_list) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLint result = ((EGLint)0); + EGLClientBuffer result = ((EGLClientBuffer)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_ANDROID_native_fence_sync - eglDupNativeFenceFDANDROID - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_ANDROID_native_fence_sync] && eglConfig.m_eglDupNativeFenceFDANDROID) + // EGL_ANDROID_create_native_client_buffer - eglCreateNativeClientBufferANDROID + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_ANDROID_create_native_client_buffer] && eglConfig.m_eglCreateNativeClientBufferANDROID) { prototypeCalled = true; - result = eglConfig.m_eglDupNativeFenceFDANDROID (dpy, sync); + result = eglConfig.m_eglCreateNativeClientBufferANDROID (attrib_list); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -584,19 +586,19 @@ EGLint _glew_egl_eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR sync) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void ** value) +EGLClientBuffer _glew_egl_eglGetNativeClientBufferANDROID (const struct AHardwareBuffer * buffer) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLBoolean result = ((EGLBoolean)0); + EGLClientBuffer result = ((EGLClientBuffer)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_ANGLE_query_surface_pointer - eglQuerySurfacePointerANGLE - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_ANGLE_query_surface_pointer] && eglConfig.m_eglQuerySurfacePointerANGLE) + // EGL_ANDROID_get_native_client_buffer - eglGetNativeClientBufferANDROID + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_ANDROID_get_native_client_buffer] && eglConfig.m_eglGetNativeClientBufferANDROID) { prototypeCalled = true; - result = eglConfig.m_eglQuerySurfacePointerANGLE (dpy, surface, attribute, value); + result = eglConfig.m_eglGetNativeClientBufferANDROID (buffer); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -609,25 +611,19 @@ EGLBoolean _glew_egl_eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSurface sur //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQueryDeviceAttribEXT (EGLDeviceEXT device, EGLint attribute, EGLAttrib * value) +EGLint _glew_egl_eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR sync) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLBoolean result = ((EGLBoolean)0); + EGLint result = ((EGLint)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_device_base - eglQueryDeviceAttribEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_base] && eglConfig.m_eglQueryDeviceAttribEXT) - { - prototypeCalled = true; - result = eglConfig.m_eglQueryDeviceAttribEXT (device, attribute, value); - } - // EGL_EXT_device_query - eglQueryDeviceAttribEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_query] && eglConfig.m_eglQueryDeviceAttribEXT) + // EGL_ANDROID_native_fence_sync - eglDupNativeFenceFDANDROID + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_ANDROID_native_fence_sync] && eglConfig.m_eglDupNativeFenceFDANDROID) { prototypeCalled = true; - result = eglConfig.m_eglQueryDeviceAttribEXT (device, attribute, value); + result = eglConfig.m_eglDupNativeFenceFDANDROID (dpy, sync); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -640,25 +636,19 @@ EGLBoolean _glew_egl_eglQueryDeviceAttribEXT (EGLDeviceEXT device, EGLint attrib //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -const char * _glew_egl_eglQueryDeviceStringEXT (EGLDeviceEXT device, EGLint name) +EGLBoolean _glew_egl_eglPresentationTimeANDROID (EGLDisplay dpy, EGLSurface surface, EGLnsecsANDROID time) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - const char * result = ((const char *)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_device_base - eglQueryDeviceStringEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_base] && eglConfig.m_eglQueryDeviceStringEXT) + // EGL_ANDROID_presentation_time - eglPresentationTimeANDROID + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_ANDROID_presentation_time] && eglConfig.m_eglPresentationTimeANDROID) { prototypeCalled = true; - result = eglConfig.m_eglQueryDeviceStringEXT (device, name); - } - // EGL_EXT_device_query - eglQueryDeviceStringEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_query] && eglConfig.m_eglQueryDeviceStringEXT) - { - prototypeCalled = true; - result = eglConfig.m_eglQueryDeviceStringEXT (device, name); + result = eglConfig.m_eglPresentationTimeANDROID (dpy, surface, time); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -671,7 +661,7 @@ const char * _glew_egl_eglQueryDeviceStringEXT (EGLDeviceEXT device, EGLint name //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT * devices, EGLint * num_devices) +EGLBoolean _glew_egl_eglGetCompositorTimingSupportedANDROID (EGLDisplay dpy, EGLSurface surface, EGLint name) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -679,17 +669,11 @@ EGLBoolean _glew_egl_eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT * devi #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_device_base - eglQueryDevicesEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_base] && eglConfig.m_eglQueryDevicesEXT) - { - prototypeCalled = true; - result = eglConfig.m_eglQueryDevicesEXT (max_devices, devices, num_devices); - } - // EGL_EXT_device_enumeration - eglQueryDevicesEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_enumeration] && eglConfig.m_eglQueryDevicesEXT) + // EGL_ANDROID_get_frame_timestamps - eglGetCompositorTimingSupportedANDROID + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_ANDROID_get_frame_timestamps] && eglConfig.m_eglGetCompositorTimingSupportedANDROID) { prototypeCalled = true; - result = eglConfig.m_eglQueryDevicesEXT (max_devices, devices, num_devices); + result = eglConfig.m_eglGetCompositorTimingSupportedANDROID (dpy, surface, name); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -702,7 +686,7 @@ EGLBoolean _glew_egl_eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT * devi //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint attribute, EGLAttrib * value) +EGLBoolean _glew_egl_eglGetCompositorTimingANDROID (EGLDisplay dpy, EGLSurface surface, EGLint numTimestamps, const EGLint * names, EGLnsecsANDROID * values) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -710,23 +694,11 @@ EGLBoolean _glew_egl_eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint attribute, #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_device_base - eglQueryDisplayAttribEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_base] && eglConfig.m_eglQueryDisplayAttribEXT) - { - prototypeCalled = true; - result = eglConfig.m_eglQueryDisplayAttribEXT (dpy, attribute, value); - } - // EGL_EXT_device_query - eglQueryDisplayAttribEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_query] && eglConfig.m_eglQueryDisplayAttribEXT) - { - prototypeCalled = true; - result = eglConfig.m_eglQueryDisplayAttribEXT (dpy, attribute, value); - } - // EGL_NV_stream_metadata - eglQueryDisplayAttribEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_metadata] && eglConfig.m_eglQueryDisplayAttribNV) + // EGL_ANDROID_get_frame_timestamps - eglGetCompositorTimingANDROID + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_ANDROID_get_frame_timestamps] && eglConfig.m_eglGetCompositorTimingANDROID) { prototypeCalled = true; - result = eglConfig.m_eglQueryDisplayAttribNV (dpy, attribute, value); + result = eglConfig.m_eglGetCompositorTimingANDROID (dpy, surface, numTimestamps, names, values); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -739,7 +711,7 @@ EGLBoolean _glew_egl_eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint attribute, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglGetOutputLayersEXT (EGLDisplay dpy, const EGLAttrib * attrib_list, EGLOutputLayerEXT * layers, EGLint max_layers, EGLint * num_layers) +EGLBoolean _glew_egl_eglGetNextFrameIdANDROID (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR * frameId) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -747,11 +719,11 @@ EGLBoolean _glew_egl_eglGetOutputLayersEXT (EGLDisplay dpy, const EGLAttrib * at #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_output_base - eglGetOutputLayersEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglGetOutputLayersEXT) + // EGL_ANDROID_get_frame_timestamps - eglGetNextFrameIdANDROID + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_ANDROID_get_frame_timestamps] && eglConfig.m_eglGetNextFrameIdANDROID) { prototypeCalled = true; - result = eglConfig.m_eglGetOutputLayersEXT (dpy, attrib_list, layers, max_layers, num_layers); + result = eglConfig.m_eglGetNextFrameIdANDROID (dpy, surface, frameId); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -764,7 +736,7 @@ EGLBoolean _glew_egl_eglGetOutputLayersEXT (EGLDisplay dpy, const EGLAttrib * at //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglGetOutputPortsEXT (EGLDisplay dpy, const EGLAttrib * attrib_list, EGLOutputPortEXT * ports, EGLint max_ports, EGLint * num_ports) +EGLBoolean _glew_egl_eglGetFrameTimestampSupportedANDROID (EGLDisplay dpy, EGLSurface surface, EGLint timestamp) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -772,11 +744,11 @@ EGLBoolean _glew_egl_eglGetOutputPortsEXT (EGLDisplay dpy, const EGLAttrib * att #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_output_base - eglGetOutputPortsEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglGetOutputPortsEXT) + // EGL_ANDROID_get_frame_timestamps - eglGetFrameTimestampSupportedANDROID + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_ANDROID_get_frame_timestamps] && eglConfig.m_eglGetFrameTimestampSupportedANDROID) { prototypeCalled = true; - result = eglConfig.m_eglGetOutputPortsEXT (dpy, attrib_list, ports, max_ports, num_ports); + result = eglConfig.m_eglGetFrameTimestampSupportedANDROID (dpy, surface, timestamp); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -789,7 +761,7 @@ EGLBoolean _glew_egl_eglGetOutputPortsEXT (EGLDisplay dpy, const EGLAttrib * att //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value) +EGLBoolean _glew_egl_eglGetFrameTimestampsANDROID (EGLDisplay dpy, EGLSurface surface, EGLuint64KHR frameId, EGLint numTimestamps, const EGLint * timestamps, EGLnsecsANDROID * values) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -797,11 +769,11 @@ EGLBoolean _glew_egl_eglOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_output_base - eglOutputLayerAttribEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglOutputLayerAttribEXT) + // EGL_ANDROID_get_frame_timestamps - eglGetFrameTimestampsANDROID + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_ANDROID_get_frame_timestamps] && eglConfig.m_eglGetFrameTimestampsANDROID) { prototypeCalled = true; - result = eglConfig.m_eglOutputLayerAttribEXT (dpy, layer, attribute, value); + result = eglConfig.m_eglGetFrameTimestampsANDROID (dpy, surface, frameId, numTimestamps, timestamps, values); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -814,7 +786,7 @@ EGLBoolean _glew_egl_eglOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQueryOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib * value) +EGLBoolean _glew_egl_eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void ** value) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -822,11 +794,11 @@ EGLBoolean _glew_egl_eglQueryOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLaye #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_output_base - eglQueryOutputLayerAttribEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglQueryOutputLayerAttribEXT) + // EGL_ANGLE_query_surface_pointer - eglQuerySurfacePointerANGLE + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_ANGLE_query_surface_pointer] && eglConfig.m_eglQuerySurfacePointerANGLE) { prototypeCalled = true; - result = eglConfig.m_eglQueryOutputLayerAttribEXT (dpy, layer, attribute, value); + result = eglConfig.m_eglQuerySurfacePointerANGLE (dpy, surface, attribute, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -839,19 +811,19 @@ EGLBoolean _glew_egl_eglQueryOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLaye //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -const char * _glew_egl_eglQueryOutputLayerStringEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name) +EGLBoolean _glew_egl_eglGetMscRateANGLE (EGLDisplay dpy, EGLSurface surface, EGLint * numerator, EGLint * denominator) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - const char * result = ((const char *)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_output_base - eglQueryOutputLayerStringEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglQueryOutputLayerStringEXT) + // EGL_ANGLE_sync_control_rate - eglGetMscRateANGLE + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_ANGLE_sync_control_rate] && eglConfig.m_eglGetMscRateANGLE) { prototypeCalled = true; - result = eglConfig.m_eglQueryOutputLayerStringEXT (dpy, layer, name); + result = eglConfig.m_eglGetMscRateANGLE (dpy, surface, numerator, denominator); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -864,7 +836,7 @@ const char * _glew_egl_eglQueryOutputLayerStringEXT (EGLDisplay dpy, EGLOutputLa //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value) +EGLBoolean _glew_egl_eglClientSignalSyncEXT (EGLDisplay dpy, EGLSync sync, const EGLAttrib * attrib_list) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -872,11 +844,11 @@ EGLBoolean _glew_egl_eglOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT po #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_output_base - eglOutputPortAttribEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglOutputPortAttribEXT) + // EGL_EXT_client_sync - eglClientSignalSyncEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_client_sync] && eglConfig.m_eglClientSignalSyncEXT) { prototypeCalled = true; - result = eglConfig.m_eglOutputPortAttribEXT (dpy, port, attribute, value); + result = eglConfig.m_eglClientSignalSyncEXT (dpy, sync, attrib_list); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -889,7 +861,7 @@ EGLBoolean _glew_egl_eglOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT po //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQueryOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib * value) +EGLBoolean _glew_egl_eglQueryDeviceAttribEXT (EGLDeviceEXT device, EGLint attribute, EGLAttrib * value) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -897,11 +869,17 @@ EGLBoolean _glew_egl_eglQueryOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortE #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_output_base - eglQueryOutputPortAttribEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglQueryOutputPortAttribEXT) + // EGL_EXT_device_base - eglQueryDeviceAttribEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_base] && eglConfig.m_eglQueryDeviceAttribEXT) { prototypeCalled = true; - result = eglConfig.m_eglQueryOutputPortAttribEXT (dpy, port, attribute, value); + result = eglConfig.m_eglQueryDeviceAttribEXT (device, attribute, value); + } + // EGL_EXT_device_query - eglQueryDeviceAttribEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_query] && eglConfig.m_eglQueryDeviceAttribEXT) + { + prototypeCalled = true; + result = eglConfig.m_eglQueryDeviceAttribEXT (device, attribute, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -914,7 +892,7 @@ EGLBoolean _glew_egl_eglQueryOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortE //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -const char * _glew_egl_eglQueryOutputPortStringEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name) +const char * _glew_egl_eglQueryDeviceStringEXT (EGLDeviceEXT device, EGLint name) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -922,11 +900,17 @@ const char * _glew_egl_eglQueryOutputPortStringEXT (EGLDisplay dpy, EGLOutputPor #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_output_base - eglQueryOutputPortStringEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglQueryOutputPortStringEXT) + // EGL_EXT_device_base - eglQueryDeviceStringEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_base] && eglConfig.m_eglQueryDeviceStringEXT) { prototypeCalled = true; - result = eglConfig.m_eglQueryOutputPortStringEXT (dpy, port, name); + result = eglConfig.m_eglQueryDeviceStringEXT (device, name); + } + // EGL_EXT_device_query - eglQueryDeviceStringEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_query] && eglConfig.m_eglQueryDeviceStringEXT) + { + prototypeCalled = true; + result = eglConfig.m_eglQueryDeviceStringEXT (device, name); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -939,19 +923,25 @@ const char * _glew_egl_eglQueryOutputPortStringEXT (EGLDisplay dpy, EGLOutputPor //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLDisplay _glew_egl_eglGetPlatformDisplayEXT (EGLenum platform, void * native_display, const EGLint * attrib_list) +EGLBoolean _glew_egl_eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT * devices, EGLint * num_devices) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLDisplay result = ((EGLDisplay)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_platform_base - eglGetPlatformDisplayEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_platform_base] && eglConfig.m_eglGetPlatformDisplayEXT) + // EGL_EXT_device_base - eglQueryDevicesEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_base] && eglConfig.m_eglQueryDevicesEXT) { prototypeCalled = true; - result = eglConfig.m_eglGetPlatformDisplayEXT (platform, native_display, attrib_list); + result = eglConfig.m_eglQueryDevicesEXT (max_devices, devices, num_devices); + } + // EGL_EXT_device_enumeration - eglQueryDevicesEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_enumeration] && eglConfig.m_eglQueryDevicesEXT) + { + prototypeCalled = true; + result = eglConfig.m_eglQueryDevicesEXT (max_devices, devices, num_devices); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -964,19 +954,25 @@ EGLDisplay _glew_egl_eglGetPlatformDisplayEXT (EGLenum platform, void * native_d //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLSurface _glew_egl_eglCreatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void * native_window, const EGLint * attrib_list) +EGLBoolean _glew_egl_eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint attribute, EGLAttrib * value) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLSurface result = ((EGLSurface)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_platform_base - eglCreatePlatformWindowSurfaceEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_platform_base] && eglConfig.m_eglCreatePlatformWindowSurfaceEXT) + // EGL_EXT_device_base - eglQueryDisplayAttribEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_base] && eglConfig.m_eglQueryDisplayAttribEXT) { prototypeCalled = true; - result = eglConfig.m_eglCreatePlatformWindowSurfaceEXT (dpy, config, native_window, attrib_list); + result = eglConfig.m_eglQueryDisplayAttribEXT (dpy, attribute, value); + } + // EGL_EXT_device_query - eglQueryDisplayAttribEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_query] && eglConfig.m_eglQueryDisplayAttribEXT) + { + prototypeCalled = true; + result = eglConfig.m_eglQueryDisplayAttribEXT (dpy, attribute, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -989,19 +985,19 @@ EGLSurface _glew_egl_eglCreatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfi //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLSurface _glew_egl_eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void * native_pixmap, const EGLint * attrib_list) +EGLBoolean _glew_egl_eglQueryDmaBufFormatsEXT (EGLDisplay dpy, EGLint max_formats, EGLint * formats, EGLint * num_formats) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLSurface result = ((EGLSurface)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_platform_base - eglCreatePlatformPixmapSurfaceEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_platform_base] && eglConfig.m_eglCreatePlatformPixmapSurfaceEXT) + // EGL_EXT_image_dma_buf_import_modifiers - eglQueryDmaBufFormatsEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_image_dma_buf_import_modifiers] && eglConfig.m_eglQueryDmaBufFormatsEXT) { prototypeCalled = true; - result = eglConfig.m_eglCreatePlatformPixmapSurfaceEXT (dpy, config, native_pixmap, attrib_list); + result = eglConfig.m_eglQueryDmaBufFormatsEXT (dpy, max_formats, formats, num_formats); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1014,7 +1010,7 @@ EGLSurface _glew_egl_eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfi //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer) +EGLBoolean _glew_egl_eglQueryDmaBufModifiersEXT (EGLDisplay dpy, EGLint format, EGLint max_modifiers, EGLuint64KHR * modifiers, EGLBoolean * external_only, EGLint * num_modifiers) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1022,11 +1018,11 @@ EGLBoolean _glew_egl_eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStreamKHR st #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_stream_consumer_egloutput - eglStreamConsumerOutputEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_stream_consumer_egloutput] && eglConfig.m_eglStreamConsumerOutputEXT) + // EGL_EXT_image_dma_buf_import_modifiers - eglQueryDmaBufModifiersEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_image_dma_buf_import_modifiers] && eglConfig.m_eglQueryDmaBufModifiersEXT) { prototypeCalled = true; - result = eglConfig.m_eglStreamConsumerOutputEXT (dpy, stream, layer); + result = eglConfig.m_eglQueryDmaBufModifiersEXT (dpy, format, max_modifiers, modifiers, external_only, num_modifiers); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1039,7 +1035,7 @@ EGLBoolean _glew_egl_eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStreamKHR st //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects) +EGLBoolean _glew_egl_eglGetOutputLayersEXT (EGLDisplay dpy, const EGLAttrib * attrib_list, EGLOutputLayerEXT * layers, EGLint max_layers, EGLint * num_layers) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1047,11 +1043,11 @@ EGLBoolean _glew_egl_eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface sur #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_EXT_swap_buffers_with_damage - eglSwapBuffersWithDamageEXT - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_swap_buffers_with_damage] && eglConfig.m_eglSwapBuffersWithDamageEXT) + // EGL_EXT_output_base - eglGetOutputLayersEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglGetOutputLayersEXT) { prototypeCalled = true; - result = eglConfig.m_eglSwapBuffersWithDamageEXT (dpy, surface, rects, n_rects); + result = eglConfig.m_eglGetOutputLayersEXT (dpy, attrib_list, layers, max_layers, num_layers); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1064,19 +1060,19 @@ EGLBoolean _glew_egl_eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface sur //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLSurface _glew_egl_eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI * pixmap) +EGLBoolean _glew_egl_eglGetOutputPortsEXT (EGLDisplay dpy, const EGLAttrib * attrib_list, EGLOutputPortEXT * ports, EGLint max_ports, EGLint * num_ports) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLSurface result = ((EGLSurface)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_HI_clientpixmap - eglCreatePixmapSurfaceHI - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_HI_clientpixmap] && eglConfig.m_eglCreatePixmapSurfaceHI) + // EGL_EXT_output_base - eglGetOutputPortsEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglGetOutputPortsEXT) { prototypeCalled = true; - result = eglConfig.m_eglCreatePixmapSurfaceHI (dpy, config, pixmap); + result = eglConfig.m_eglGetOutputPortsEXT (dpy, attrib_list, ports, max_ports, num_ports); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1089,19 +1085,19 @@ EGLSurface _glew_egl_eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLSyncKHR _glew_egl_eglCreateSync64KHR (EGLDisplay dpy, EGLenum type, const EGLAttribKHR * attrib_list) +EGLBoolean _glew_egl_eglOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib value) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLSyncKHR result = ((EGLSyncKHR)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_cl_event2 - eglCreateSync64KHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_cl_event2] && eglConfig.m_eglCreateSync64KHR) + // EGL_EXT_output_base - eglOutputLayerAttribEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglOutputLayerAttribEXT) { prototypeCalled = true; - result = eglConfig.m_eglCreateSync64KHR (dpy, type, attrib_list); + result = eglConfig.m_eglOutputLayerAttribEXT (dpy, layer, attribute, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1114,19 +1110,19 @@ EGLSyncKHR _glew_egl_eglCreateSync64KHR (EGLDisplay dpy, EGLenum type, const EGL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLint _glew_egl_eglDebugMessageControlKHR (EGLDEBUGPROCKHR callback, const EGLAttrib * attrib_list) +EGLBoolean _glew_egl_eglQueryOutputLayerAttribEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint attribute, EGLAttrib * value) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLint result = ((EGLint)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_debug - eglDebugMessageControlKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_debug] && eglConfig.m_eglDebugMessageControlKHR) + // EGL_EXT_output_base - eglQueryOutputLayerAttribEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglQueryOutputLayerAttribEXT) { prototypeCalled = true; - result = eglConfig.m_eglDebugMessageControlKHR (callback, attrib_list); + result = eglConfig.m_eglQueryOutputLayerAttribEXT (dpy, layer, attribute, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1139,19 +1135,19 @@ EGLint _glew_egl_eglDebugMessageControlKHR (EGLDEBUGPROCKHR callback, const EGLA //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQueryDebugKHR (EGLint attribute, EGLAttrib * value) +const char * _glew_egl_eglQueryOutputLayerStringEXT (EGLDisplay dpy, EGLOutputLayerEXT layer, EGLint name) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLBoolean result = ((EGLBoolean)0); + const char * result = ((const char *)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_debug - eglQueryDebugKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_debug] && eglConfig.m_eglQueryDebugKHR) + // EGL_EXT_output_base - eglQueryOutputLayerStringEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglQueryOutputLayerStringEXT) { prototypeCalled = true; - result = eglConfig.m_eglQueryDebugKHR (attribute, value); + result = eglConfig.m_eglQueryOutputLayerStringEXT (dpy, layer, name); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1164,19 +1160,19 @@ EGLBoolean _glew_egl_eglQueryDebugKHR (EGLint attribute, EGLAttrib * value) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLint _glew_egl_eglLabelObjectKHR (EGLDisplay display, EGLenum objectType, EGLObjectKHR object, EGLLabelKHR label) +EGLBoolean _glew_egl_eglOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib value) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLint result = ((EGLint)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_debug - eglLabelObjectKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_debug] && eglConfig.m_eglLabelObjectKHR) + // EGL_EXT_output_base - eglOutputPortAttribEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglOutputPortAttribEXT) { prototypeCalled = true; - result = eglConfig.m_eglLabelObjectKHR (display, objectType, object, label); + result = eglConfig.m_eglOutputPortAttribEXT (dpy, port, attribute, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1189,25 +1185,19 @@ EGLint _glew_egl_eglLabelObjectKHR (EGLDisplay display, EGLenum objectType, EGLO //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLSyncKHR _glew_egl_eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint * attrib_list) +EGLBoolean _glew_egl_eglQueryOutputPortAttribEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint attribute, EGLAttrib * value) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLSyncKHR result = ((EGLSyncKHR)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_fence_sync - eglCreateSyncKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_fence_sync] && eglConfig.m_eglCreateSyncKHR) - { - prototypeCalled = true; - result = eglConfig.m_eglCreateSyncKHR (dpy, type, attrib_list); - } - // EGL_KHR_reusable_sync - eglCreateSyncKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_reusable_sync] && eglConfig.m_eglCreateSyncKHR) + // EGL_EXT_output_base - eglQueryOutputPortAttribEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglQueryOutputPortAttribEXT) { prototypeCalled = true; - result = eglConfig.m_eglCreateSyncKHR (dpy, type, attrib_list); + result = eglConfig.m_eglQueryOutputPortAttribEXT (dpy, port, attribute, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1220,25 +1210,19 @@ EGLSyncKHR _glew_egl_eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync) +const char * _glew_egl_eglQueryOutputPortStringEXT (EGLDisplay dpy, EGLOutputPortEXT port, EGLint name) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLBoolean result = ((EGLBoolean)0); + const char * result = ((const char *)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_fence_sync - eglDestroySyncKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_fence_sync] && eglConfig.m_eglDestroySyncKHR) - { - prototypeCalled = true; - result = eglConfig.m_eglDestroySyncKHR (dpy, sync); - } - // EGL_KHR_reusable_sync - eglDestroySyncKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_reusable_sync] && eglConfig.m_eglDestroySyncKHR) + // EGL_EXT_output_base - eglQueryOutputPortStringEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_output_base] && eglConfig.m_eglQueryOutputPortStringEXT) { prototypeCalled = true; - result = eglConfig.m_eglDestroySyncKHR (dpy, sync); + result = eglConfig.m_eglQueryOutputPortStringEXT (dpy, port, name); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1251,25 +1235,904 @@ EGLBoolean _glew_egl_eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLint _glew_egl_eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) +EGLDisplay _glew_egl_eglGetPlatformDisplayEXT (EGLenum platform, void * native_display, const EGLint * attrib_list) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLint result = ((EGLint)0); + EGLDisplay result = ((EGLDisplay)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_EXT_platform_base - eglGetPlatformDisplayEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_platform_base] && eglConfig.m_eglGetPlatformDisplayEXT) + { + prototypeCalled = true; + result = eglConfig.m_eglGetPlatformDisplayEXT (platform, native_display, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLSurface _glew_egl_eglCreatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void * native_window, const EGLint * attrib_list) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLSurface result = ((EGLSurface)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_EXT_platform_base - eglCreatePlatformWindowSurfaceEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_platform_base] && eglConfig.m_eglCreatePlatformWindowSurfaceEXT) + { + prototypeCalled = true; + result = eglConfig.m_eglCreatePlatformWindowSurfaceEXT (dpy, config, native_window, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLSurface _glew_egl_eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void * native_pixmap, const EGLint * attrib_list) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLSurface result = ((EGLSurface)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_EXT_platform_base - eglCreatePlatformPixmapSurfaceEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_platform_base] && eglConfig.m_eglCreatePlatformPixmapSurfaceEXT) + { + prototypeCalled = true; + result = eglConfig.m_eglCreatePlatformPixmapSurfaceEXT (dpy, config, native_pixmap, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStreamKHR stream, EGLOutputLayerEXT layer) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_EXT_stream_consumer_egloutput - eglStreamConsumerOutputEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_stream_consumer_egloutput] && eglConfig.m_eglStreamConsumerOutputEXT) + { + prototypeCalled = true; + result = eglConfig.m_eglStreamConsumerOutputEXT (dpy, stream, layer); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, const EGLint * rects, EGLint n_rects) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_EXT_swap_buffers_with_damage - eglSwapBuffersWithDamageEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_swap_buffers_with_damage] && eglConfig.m_eglSwapBuffersWithDamageEXT) + { + prototypeCalled = true; + result = eglConfig.m_eglSwapBuffersWithDamageEXT (dpy, surface, rects, n_rects); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglUnsignalSyncEXT (EGLDisplay dpy, EGLSync sync, const EGLAttrib * attrib_list) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_EXT_sync_reuse - eglUnsignalSyncEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_sync_reuse] && eglConfig.m_eglUnsignalSyncEXT) + { + prototypeCalled = true; + result = eglConfig.m_eglUnsignalSyncEXT (dpy, sync, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLSurface _glew_egl_eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI * pixmap) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLSurface result = ((EGLSurface)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_HI_clientpixmap - eglCreatePixmapSurfaceHI + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_HI_clientpixmap] && eglConfig.m_eglCreatePixmapSurfaceHI) + { + prototypeCalled = true; + result = eglConfig.m_eglCreatePixmapSurfaceHI (dpy, config, pixmap); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLSyncKHR _glew_egl_eglCreateSync64KHR (EGLDisplay dpy, EGLenum type, const EGLAttribKHR * attrib_list) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLSyncKHR result = ((EGLSyncKHR)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_cl_event2 - eglCreateSync64KHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_cl_event2] && eglConfig.m_eglCreateSync64KHR) + { + prototypeCalled = true; + result = eglConfig.m_eglCreateSync64KHR (dpy, type, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLint _glew_egl_eglDebugMessageControlKHR (EGLDEBUGPROCKHR callback, const EGLAttrib * attrib_list) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLint result = ((EGLint)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_debug - eglDebugMessageControlKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_debug] && eglConfig.m_eglDebugMessageControlKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglDebugMessageControlKHR (callback, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglQueryDebugKHR (EGLint attribute, EGLAttrib * value) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_debug - eglQueryDebugKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_debug] && eglConfig.m_eglQueryDebugKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglQueryDebugKHR (attribute, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLint _glew_egl_eglLabelObjectKHR (EGLDisplay display, EGLenum objectType, EGLObjectKHR object, EGLLabelKHR label) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLint result = ((EGLint)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_debug - eglLabelObjectKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_debug] && eglConfig.m_eglLabelObjectKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglLabelObjectKHR (display, objectType, object, label); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglQueryDisplayAttribKHR (EGLDisplay dpy, EGLint name, EGLAttrib * value) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_display_reference - eglQueryDisplayAttribKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_display_reference] && eglConfig.m_eglQueryDisplayAttribKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglQueryDisplayAttribKHR (dpy, name, value); + } + // EGL_EXT_device_base - eglQueryDisplayAttribKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_device_base] && eglConfig.m_eglQueryDisplayAttribEXT) + { + prototypeCalled = true; + result = eglConfig.m_eglQueryDisplayAttribEXT (dpy, name, value); + } + // EGL_NV_stream_metadata - eglQueryDisplayAttribKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_metadata] && eglConfig.m_eglQueryDisplayAttribNV) + { + prototypeCalled = true; + result = eglConfig.m_eglQueryDisplayAttribNV (dpy, name, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLSyncKHR _glew_egl_eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint * attrib_list) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLSyncKHR result = ((EGLSyncKHR)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_fence_sync - eglCreateSyncKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_fence_sync] && eglConfig.m_eglCreateSyncKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglCreateSyncKHR (dpy, type, attrib_list); + } + // EGL_KHR_reusable_sync - eglCreateSyncKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_reusable_sync] && eglConfig.m_eglCreateSyncKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglCreateSyncKHR (dpy, type, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_fence_sync - eglDestroySyncKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_fence_sync] && eglConfig.m_eglDestroySyncKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglDestroySyncKHR (dpy, sync); + } + // EGL_KHR_reusable_sync - eglDestroySyncKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_reusable_sync] && eglConfig.m_eglDestroySyncKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglDestroySyncKHR (dpy, sync); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLint _glew_egl_eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLint result = ((EGLint)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_fence_sync - eglClientWaitSyncKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_fence_sync] && eglConfig.m_eglClientWaitSyncKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglClientWaitSyncKHR (dpy, sync, flags, timeout); + } + // EGL_KHR_reusable_sync - eglClientWaitSyncKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_reusable_sync] && eglConfig.m_eglClientWaitSyncKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglClientWaitSyncKHR (dpy, sync, flags, timeout); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint * value) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_fence_sync - eglGetSyncAttribKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_fence_sync] && eglConfig.m_eglGetSyncAttribKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglGetSyncAttribKHR (dpy, sync, attribute, value); + } + // EGL_KHR_reusable_sync - eglGetSyncAttribKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_reusable_sync] && eglConfig.m_eglGetSyncAttribKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglGetSyncAttribKHR (dpy, sync, attribute, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLImageKHR _glew_egl_eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint * attrib_list) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLImageKHR result = ((EGLImageKHR)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_image - eglCreateImageKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_image] && eglConfig.m_eglCreateImageKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglCreateImageKHR (dpy, ctx, target, buffer, attrib_list); + } + // EGL_KHR_image_base - eglCreateImageKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_image_base] && eglConfig.m_eglCreateImageKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglCreateImageKHR (dpy, ctx, target, buffer, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_image - eglDestroyImageKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_image] && eglConfig.m_eglDestroyImageKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglDestroyImageKHR (dpy, image); + } + // EGL_KHR_image_base - eglDestroyImageKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_image_base] && eglConfig.m_eglDestroyImageKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglDestroyImageKHR (dpy, image); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglLockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, const EGLint * attrib_list) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_lock_surface - eglLockSurfaceKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_lock_surface] && eglConfig.m_eglLockSurfaceKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglLockSurfaceKHR (dpy, surface, attrib_list); + } + // EGL_KHR_lock_surface3 - eglLockSurfaceKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_lock_surface3] && eglConfig.m_eglLockSurfaceKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglLockSurfaceKHR (dpy, surface, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglUnlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_lock_surface - eglUnlockSurfaceKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_lock_surface] && eglConfig.m_eglUnlockSurfaceKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglUnlockSurfaceKHR (dpy, surface); + } + // EGL_KHR_lock_surface3 - eglUnlockSurfaceKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_lock_surface3] && eglConfig.m_eglUnlockSurfaceKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglUnlockSurfaceKHR (dpy, surface); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglQuerySurface64KHR (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR * value) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_lock_surface3 - eglQuerySurface64KHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_lock_surface3] && eglConfig.m_eglQuerySurface64KHR) + { + prototypeCalled = true; + result = eglConfig.m_eglQuerySurface64KHR (dpy, surface, attribute, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_partial_update - eglSetDamageRegionKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_partial_update] && eglConfig.m_eglSetDamageRegionKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglSetDamageRegionKHR (dpy, surface, rects, n_rects); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_reusable_sync - eglSignalSyncKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_reusable_sync] && eglConfig.m_eglSignalSyncKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglSignalSyncKHR (dpy, sync, mode); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLStreamKHR _glew_egl_eglCreateStreamKHR (EGLDisplay dpy, const EGLint * attrib_list) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLStreamKHR result = ((EGLStreamKHR)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_stream - eglCreateStreamKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream] && eglConfig.m_eglCreateStreamKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglCreateStreamKHR (dpy, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_stream - eglDestroyStreamKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream] && eglConfig.m_eglDestroyStreamKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglDestroyStreamKHR (dpy, stream); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_stream - eglStreamAttribKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream] && eglConfig.m_eglStreamAttribKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglStreamAttribKHR (dpy, stream, attribute, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint * value) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_stream - eglQueryStreamKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream] && eglConfig.m_eglQueryStreamKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglQueryStreamKHR (dpy, stream, attribute, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR * value) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_stream - eglQueryStreamu64KHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream] && eglConfig.m_eglQueryStreamu64KHR) + { + prototypeCalled = true; + result = eglConfig.m_eglQueryStreamu64KHR (dpy, stream, attribute, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLStreamKHR _glew_egl_eglCreateStreamAttribKHR (EGLDisplay dpy, const EGLAttrib * attrib_list) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLStreamKHR result = ((EGLStreamKHR)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_stream_attrib - eglCreateStreamAttribKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_attrib] && eglConfig.m_eglCreateStreamAttribKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglCreateStreamAttribKHR (dpy, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglSetStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib value) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_stream_attrib - eglSetStreamAttribKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_attrib] && eglConfig.m_eglSetStreamAttribKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglSetStreamAttribKHR (dpy, stream, attribute, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglQueryStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib * value) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_stream_attrib - eglQueryStreamAttribKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_attrib] && eglConfig.m_eglQueryStreamAttribKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglQueryStreamAttribKHR (dpy, stream, attribute, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglStreamConsumerAcquireAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib * attrib_list) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_stream_attrib - eglStreamConsumerAcquireAttribKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_attrib] && eglConfig.m_eglStreamConsumerAcquireAttribKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglStreamConsumerAcquireAttribKHR (dpy, stream, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglStreamConsumerReleaseAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib * attrib_list) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_stream_attrib - eglStreamConsumerReleaseAttribKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_attrib] && eglConfig.m_eglStreamConsumerReleaseAttribKHR) + { + prototypeCalled = true; + result = eglConfig.m_eglStreamConsumerReleaseAttribKHR (dpy, stream, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglStreamConsumerGLTextureExternalKHR (EGLDisplay dpy, EGLStreamKHR stream) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_fence_sync - eglClientWaitSyncKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_fence_sync] && eglConfig.m_eglClientWaitSyncKHR) - { - prototypeCalled = true; - result = eglConfig.m_eglClientWaitSyncKHR (dpy, sync, flags, timeout); - } - // EGL_KHR_reusable_sync - eglClientWaitSyncKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_reusable_sync] && eglConfig.m_eglClientWaitSyncKHR) + // EGL_KHR_stream_consumer_gltexture - eglStreamConsumerGLTextureExternalKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_consumer_gltexture] && eglConfig.m_eglStreamConsumerGLTextureExternalKHR) { prototypeCalled = true; - result = eglConfig.m_eglClientWaitSyncKHR (dpy, sync, flags, timeout); + result = eglConfig.m_eglStreamConsumerGLTextureExternalKHR (dpy, stream); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1282,7 +2145,7 @@ EGLint _glew_egl_eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint f //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint * value) +EGLBoolean _glew_egl_eglStreamConsumerAcquireKHR (EGLDisplay dpy, EGLStreamKHR stream) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1290,17 +2153,36 @@ EGLBoolean _glew_egl_eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLin #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_fence_sync - eglGetSyncAttribKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_fence_sync] && eglConfig.m_eglGetSyncAttribKHR) + // EGL_KHR_stream_consumer_gltexture - eglStreamConsumerAcquireKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_consumer_gltexture] && eglConfig.m_eglStreamConsumerAcquireKHR) { prototypeCalled = true; - result = eglConfig.m_eglGetSyncAttribKHR (dpy, sync, attribute, value); + result = eglConfig.m_eglStreamConsumerAcquireKHR (dpy, stream); } - // EGL_KHR_reusable_sync - eglGetSyncAttribKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_reusable_sync] && eglConfig.m_eglGetSyncAttribKHR) + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLStreamKHR stream) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_stream_consumer_gltexture - eglStreamConsumerReleaseKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_consumer_gltexture] && eglConfig.m_eglStreamConsumerReleaseKHR) { prototypeCalled = true; - result = eglConfig.m_eglGetSyncAttribKHR (dpy, sync, attribute, value); + result = eglConfig.m_eglStreamConsumerReleaseKHR (dpy, stream); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1313,25 +2195,44 @@ EGLBoolean _glew_egl_eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLImageKHR _glew_egl_eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint * attrib_list) +EGLNativeFileDescriptorKHR _glew_egl_eglGetStreamFileDescriptorKHR (EGLDisplay dpy, EGLStreamKHR stream) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLImageKHR result = ((EGLImageKHR)0); + EGLNativeFileDescriptorKHR result = ((EGLNativeFileDescriptorKHR)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_image - eglCreateImageKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_image] && eglConfig.m_eglCreateImageKHR) + // EGL_KHR_stream_cross_process_fd - eglGetStreamFileDescriptorKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_cross_process_fd] && eglConfig.m_eglGetStreamFileDescriptorKHR) { prototypeCalled = true; - result = eglConfig.m_eglCreateImageKHR (dpy, ctx, target, buffer, attrib_list); + result = eglConfig.m_eglGetStreamFileDescriptorKHR (dpy, stream); } - // EGL_KHR_image_base - eglCreateImageKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_image_base] && eglConfig.m_eglCreateImageKHR) + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLStreamKHR _glew_egl_eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLStreamKHR result = ((EGLStreamKHR)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_stream_cross_process_fd - eglCreateStreamFromFileDescriptorKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_cross_process_fd] && eglConfig.m_eglCreateStreamFromFileDescriptorKHR) { prototypeCalled = true; - result = eglConfig.m_eglCreateImageKHR (dpy, ctx, target, buffer, attrib_list); + result = eglConfig.m_eglCreateStreamFromFileDescriptorKHR (dpy, file_descriptor); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1344,7 +2245,7 @@ EGLImageKHR _glew_egl_eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image) +EGLBoolean _glew_egl_eglQueryStreamTimeKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR * value) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1352,17 +2253,36 @@ EGLBoolean _glew_egl_eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image) #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_image - eglDestroyImageKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_image] && eglConfig.m_eglDestroyImageKHR) + // EGL_KHR_stream_fifo - eglQueryStreamTimeKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_fifo] && eglConfig.m_eglQueryStreamTimeKHR) { prototypeCalled = true; - result = eglConfig.m_eglDestroyImageKHR (dpy, image); + result = eglConfig.m_eglQueryStreamTimeKHR (dpy, stream, attribute, value); } - // EGL_KHR_image_base - eglDestroyImageKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_image_base] && eglConfig.m_eglDestroyImageKHR) + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLSurface _glew_egl_eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint * attrib_list) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLSurface result = ((EGLSurface)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_stream_producer_eglsurface - eglCreateStreamProducerSurfaceKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_producer_eglsurface] && eglConfig.m_eglCreateStreamProducerSurfaceKHR) { prototypeCalled = true; - result = eglConfig.m_eglDestroyImageKHR (dpy, image); + result = eglConfig.m_eglCreateStreamProducerSurfaceKHR (dpy, config, stream, attrib_list); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1375,7 +2295,7 @@ EGLBoolean _glew_egl_eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglLockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, const EGLint * attrib_list) +EGLBoolean _glew_egl_eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, const EGLint * rects, EGLint n_rects) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1383,17 +2303,36 @@ EGLBoolean _glew_egl_eglLockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, cons #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_lock_surface - eglLockSurfaceKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_lock_surface] && eglConfig.m_eglLockSurfaceKHR) + // EGL_KHR_swap_buffers_with_damage - eglSwapBuffersWithDamageKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_swap_buffers_with_damage] && eglConfig.m_eglSwapBuffersWithDamageKHR) { prototypeCalled = true; - result = eglConfig.m_eglLockSurfaceKHR (dpy, surface, attrib_list); + result = eglConfig.m_eglSwapBuffersWithDamageKHR (dpy, surface, rects, n_rects); } - // EGL_KHR_lock_surface3 - eglLockSurfaceKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_lock_surface3] && eglConfig.m_eglLockSurfaceKHR) + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLint _glew_egl_eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLint result = ((EGLint)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_KHR_wait_sync - eglWaitSyncKHR + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_wait_sync] && eglConfig.m_eglWaitSyncKHR) { prototypeCalled = true; - result = eglConfig.m_eglLockSurfaceKHR (dpy, surface, attrib_list); + result = eglConfig.m_eglWaitSyncKHR (dpy, sync, flags); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1406,25 +2345,44 @@ EGLBoolean _glew_egl_eglLockSurfaceKHR (EGLDisplay dpy, EGLSurface surface, cons //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglUnlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface) +EGLImageKHR _glew_egl_eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint * attrib_list) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLBoolean result = ((EGLBoolean)0); + EGLImageKHR result = ((EGLImageKHR)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_lock_surface - eglUnlockSurfaceKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_lock_surface] && eglConfig.m_eglUnlockSurfaceKHR) + // EGL_MESA_drm_image - eglCreateDRMImageMESA + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_MESA_drm_image] && eglConfig.m_eglCreateDRMImageMESA) { prototypeCalled = true; - result = eglConfig.m_eglUnlockSurfaceKHR (dpy, surface); + result = eglConfig.m_eglCreateDRMImageMESA (dpy, attrib_list); } - // EGL_KHR_lock_surface3 - eglUnlockSurfaceKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_lock_surface3] && eglConfig.m_eglUnlockSurfaceKHR) + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +EGLBoolean _glew_egl_eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint * name, EGLint * handle, EGLint * stride) +{ + bool prototypeCalled = false; + const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); + EGLBoolean result = ((EGLBoolean)0); +#if GLEW_EGL_PRE_ERROR_CHECK + GLEW_ASSERT (eglGetError () == EGL_SUCCESS); +#endif + // EGL_MESA_drm_image - eglExportDRMImageMESA + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_MESA_drm_image] && eglConfig.m_eglExportDRMImageMESA) { prototypeCalled = true; - result = eglConfig.m_eglUnlockSurfaceKHR (dpy, surface); + result = eglConfig.m_eglExportDRMImageMESA (dpy, image, name, handle, stride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1437,7 +2395,7 @@ EGLBoolean _glew_egl_eglUnlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQuerySurface64KHR (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR * value) +EGLBoolean _glew_egl_eglExportDMABUFImageQueryMESA (EGLDisplay dpy, EGLImageKHR image, int * fourcc, int * num_planes, EGLuint64KHR * modifiers) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1445,11 +2403,11 @@ EGLBoolean _glew_egl_eglQuerySurface64KHR (EGLDisplay dpy, EGLSurface surface, E #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_lock_surface3 - eglQuerySurface64KHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_lock_surface3] && eglConfig.m_eglQuerySurface64KHR) + // EGL_MESA_image_dma_buf_export - eglExportDMABUFImageQueryMESA + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_MESA_image_dma_buf_export] && eglConfig.m_eglExportDMABUFImageQueryMESA) { prototypeCalled = true; - result = eglConfig.m_eglQuerySurface64KHR (dpy, surface, attribute, value); + result = eglConfig.m_eglExportDMABUFImageQueryMESA (dpy, image, fourcc, num_planes, modifiers); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1462,7 +2420,7 @@ EGLBoolean _glew_egl_eglQuerySurface64KHR (EGLDisplay dpy, EGLSurface surface, E //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects) +EGLBoolean _glew_egl_eglExportDMABUFImageMESA (EGLDisplay dpy, EGLImageKHR image, int * fds, EGLint * strides, EGLint * offsets) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1470,11 +2428,11 @@ EGLBoolean _glew_egl_eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_partial_update - eglSetDamageRegionKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_partial_update] && eglConfig.m_eglSetDamageRegionKHR) + // EGL_MESA_image_dma_buf_export - eglExportDMABUFImageMESA + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_MESA_image_dma_buf_export] && eglConfig.m_eglExportDMABUFImageMESA) { prototypeCalled = true; - result = eglConfig.m_eglSetDamageRegionKHR (dpy, surface, rects, n_rects); + result = eglConfig.m_eglExportDMABUFImageMESA (dpy, image, fds, strides, offsets); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1487,19 +2445,19 @@ EGLBoolean _glew_egl_eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) +char * _glew_egl_eglGetDisplayDriverConfig (EGLDisplay dpy) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLBoolean result = ((EGLBoolean)0); + char * result = ((char *)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_reusable_sync - eglSignalSyncKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_reusable_sync] && eglConfig.m_eglSignalSyncKHR) + // EGL_MESA_query_driver - eglGetDisplayDriverConfig + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_MESA_query_driver] && eglConfig.m_eglGetDisplayDriverConfig) { prototypeCalled = true; - result = eglConfig.m_eglSignalSyncKHR (dpy, sync, mode); + result = eglConfig.m_eglGetDisplayDriverConfig (dpy); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1512,19 +2470,19 @@ EGLBoolean _glew_egl_eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLStreamKHR _glew_egl_eglCreateStreamKHR (EGLDisplay dpy, const EGLint * attrib_list) +const char * _glew_egl_eglGetDisplayDriverName (EGLDisplay dpy) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLStreamKHR result = ((EGLStreamKHR)0); + const char * result = ((const char *)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_stream - eglCreateStreamKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream] && eglConfig.m_eglCreateStreamKHR) + // EGL_MESA_query_driver - eglGetDisplayDriverName + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_MESA_query_driver] && eglConfig.m_eglGetDisplayDriverName) { prototypeCalled = true; - result = eglConfig.m_eglCreateStreamKHR (dpy, attrib_list); + result = eglConfig.m_eglGetDisplayDriverName (dpy); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1537,7 +2495,7 @@ EGLStreamKHR _glew_egl_eglCreateStreamKHR (EGLDisplay dpy, const EGLint * attrib //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream) +EGLBoolean _glew_egl_eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint * rects) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1545,11 +2503,11 @@ EGLBoolean _glew_egl_eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream) #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_stream - eglDestroyStreamKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream] && eglConfig.m_eglDestroyStreamKHR) + // EGL_NOK_swap_region - eglSwapBuffersRegionNOK + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NOK_swap_region] && eglConfig.m_eglSwapBuffersRegionNOK) { prototypeCalled = true; - result = eglConfig.m_eglDestroyStreamKHR (dpy, stream); + result = eglConfig.m_eglSwapBuffersRegionNOK (dpy, surface, numRects, rects); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1562,7 +2520,7 @@ EGLBoolean _glew_egl_eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value) +EGLBoolean _glew_egl_eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint * rects) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1570,11 +2528,11 @@ EGLBoolean _glew_egl_eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EG #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_stream - eglStreamAttribKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream] && eglConfig.m_eglStreamAttribKHR) + // EGL_NOK_swap_region2 - eglSwapBuffersRegion2NOK + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NOK_swap_region2] && eglConfig.m_eglSwapBuffersRegion2NOK) { prototypeCalled = true; - result = eglConfig.m_eglStreamAttribKHR (dpy, stream, attribute, value); + result = eglConfig.m_eglSwapBuffersRegion2NOK (dpy, surface, numRects, rects); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1587,7 +2545,7 @@ EGLBoolean _glew_egl_eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EG //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint * value) +EGLBoolean _glew_egl_eglQueryNativeDisplayNV (EGLDisplay dpy, EGLNativeDisplayType * display_id) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1595,11 +2553,11 @@ EGLBoolean _glew_egl_eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGL #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_stream - eglQueryStreamKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream] && eglConfig.m_eglQueryStreamKHR) + // EGL_NV_native_query - eglQueryNativeDisplayNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_native_query] && eglConfig.m_eglQueryNativeDisplayNV) { prototypeCalled = true; - result = eglConfig.m_eglQueryStreamKHR (dpy, stream, attribute, value); + result = eglConfig.m_eglQueryNativeDisplayNV (dpy, display_id); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1612,7 +2570,7 @@ EGLBoolean _glew_egl_eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR * value) +EGLBoolean _glew_egl_eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType * window) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1620,11 +2578,11 @@ EGLBoolean _glew_egl_eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_stream - eglQueryStreamu64KHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream] && eglConfig.m_eglQueryStreamu64KHR) + // EGL_NV_native_query - eglQueryNativeWindowNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_native_query] && eglConfig.m_eglQueryNativeWindowNV) { prototypeCalled = true; - result = eglConfig.m_eglQueryStreamu64KHR (dpy, stream, attribute, value); + result = eglConfig.m_eglQueryNativeWindowNV (dpy, surf, window); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1637,7 +2595,7 @@ EGLBoolean _glew_egl_eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglStreamConsumerGLTextureExternalKHR (EGLDisplay dpy, EGLStreamKHR stream) +EGLBoolean _glew_egl_eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType * pixmap) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1645,11 +2603,11 @@ EGLBoolean _glew_egl_eglStreamConsumerGLTextureExternalKHR (EGLDisplay dpy, EGLS #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_stream_consumer_gltexture - eglStreamConsumerGLTextureExternalKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_consumer_gltexture] && eglConfig.m_eglStreamConsumerGLTextureExternalKHR) + // EGL_NV_native_query - eglQueryNativePixmapNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_native_query] && eglConfig.m_eglQueryNativePixmapNV) { prototypeCalled = true; - result = eglConfig.m_eglStreamConsumerGLTextureExternalKHR (dpy, stream); + result = eglConfig.m_eglQueryNativePixmapNV (dpy, surf, pixmap); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1662,7 +2620,7 @@ EGLBoolean _glew_egl_eglStreamConsumerGLTextureExternalKHR (EGLDisplay dpy, EGLS //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglStreamConsumerAcquireKHR (EGLDisplay dpy, EGLStreamKHR stream) +EGLBoolean _glew_egl_eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1670,11 +2628,11 @@ EGLBoolean _glew_egl_eglStreamConsumerAcquireKHR (EGLDisplay dpy, EGLStreamKHR s #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_stream_consumer_gltexture - eglStreamConsumerAcquireKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_consumer_gltexture] && eglConfig.m_eglStreamConsumerAcquireKHR) + // EGL_NV_post_sub_buffer - eglPostSubBufferNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_post_sub_buffer] && eglConfig.m_eglPostSubBufferNV) { prototypeCalled = true; - result = eglConfig.m_eglStreamConsumerAcquireKHR (dpy, stream); + result = eglConfig.m_eglPostSubBufferNV (dpy, surface, x, y, width, height); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1687,7 +2645,7 @@ EGLBoolean _glew_egl_eglStreamConsumerAcquireKHR (EGLDisplay dpy, EGLStreamKHR s //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLStreamKHR stream) +EGLBoolean _glew_egl_eglStreamConsumerGLTextureExternalAttribsNV (EGLDisplay dpy, EGLStreamKHR stream, const EGLAttrib * attrib_list) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1695,11 +2653,11 @@ EGLBoolean _glew_egl_eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLStreamKHR s #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_stream_consumer_gltexture - eglStreamConsumerReleaseKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_consumer_gltexture] && eglConfig.m_eglStreamConsumerReleaseKHR) + // EGL_NV_stream_consumer_gltexture_yuv - eglStreamConsumerGLTextureExternalAttribsNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_consumer_gltexture_yuv] && eglConfig.m_eglStreamConsumerGLTextureExternalAttribsNV) { prototypeCalled = true; - result = eglConfig.m_eglStreamConsumerReleaseKHR (dpy, stream); + result = eglConfig.m_eglStreamConsumerGLTextureExternalAttribsNV (dpy, stream, attrib_list); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1712,19 +2670,19 @@ EGLBoolean _glew_egl_eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLStreamKHR s //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLNativeFileDescriptorKHR _glew_egl_eglGetStreamFileDescriptorKHR (EGLDisplay dpy, EGLStreamKHR stream) +EGLBoolean _glew_egl_eglStreamImageConsumerConnectNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, EGLuint64KHR * modifiers, EGLAttrib * attrib_list) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLNativeFileDescriptorKHR result = ((EGLNativeFileDescriptorKHR)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_stream_cross_process_fd - eglGetStreamFileDescriptorKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_cross_process_fd] && eglConfig.m_eglGetStreamFileDescriptorKHR) + // EGL_NV_stream_consumer_eglimage - eglStreamImageConsumerConnectNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_consumer_eglimage] && eglConfig.m_eglStreamImageConsumerConnectNV) { prototypeCalled = true; - result = eglConfig.m_eglGetStreamFileDescriptorKHR (dpy, stream); + result = eglConfig.m_eglStreamImageConsumerConnectNV (dpy, stream, num_modifiers, modifiers, attrib_list); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1737,19 +2695,19 @@ EGLNativeFileDescriptorKHR _glew_egl_eglGetStreamFileDescriptorKHR (EGLDisplay d //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLStreamKHR _glew_egl_eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor) +EGLint _glew_egl_eglQueryStreamConsumerEventNV (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum * event, EGLAttrib * aux) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLStreamKHR result = ((EGLStreamKHR)0); + EGLint result = ((EGLint)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_stream_cross_process_fd - eglCreateStreamFromFileDescriptorKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_cross_process_fd] && eglConfig.m_eglCreateStreamFromFileDescriptorKHR) + // EGL_NV_stream_consumer_eglimage - eglQueryStreamConsumerEventNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_consumer_eglimage] && eglConfig.m_eglQueryStreamConsumerEventNV) { prototypeCalled = true; - result = eglConfig.m_eglCreateStreamFromFileDescriptorKHR (dpy, file_descriptor); + result = eglConfig.m_eglQueryStreamConsumerEventNV (dpy, stream, timeout, event, aux); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1762,7 +2720,7 @@ EGLStreamKHR _glew_egl_eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQueryStreamTimeKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR * value) +EGLBoolean _glew_egl_eglStreamAcquireImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage * pImage, EGLSync sync) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1770,11 +2728,11 @@ EGLBoolean _glew_egl_eglQueryStreamTimeKHR (EGLDisplay dpy, EGLStreamKHR stream, #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_stream_fifo - eglQueryStreamTimeKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_fifo] && eglConfig.m_eglQueryStreamTimeKHR) + // EGL_NV_stream_consumer_eglimage - eglStreamAcquireImageNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_consumer_eglimage] && eglConfig.m_eglStreamAcquireImageNV) { prototypeCalled = true; - result = eglConfig.m_eglQueryStreamTimeKHR (dpy, stream, attribute, value); + result = eglConfig.m_eglStreamAcquireImageNV (dpy, stream, pImage, sync); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1787,19 +2745,19 @@ EGLBoolean _glew_egl_eglQueryStreamTimeKHR (EGLDisplay dpy, EGLStreamKHR stream, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLSurface _glew_egl_eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint * attrib_list) +EGLBoolean _glew_egl_eglStreamReleaseImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLSurface result = ((EGLSurface)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_stream_producer_eglsurface - eglCreateStreamProducerSurfaceKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_stream_producer_eglsurface] && eglConfig.m_eglCreateStreamProducerSurfaceKHR) + // EGL_NV_stream_consumer_eglimage - eglStreamReleaseImageNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_consumer_eglimage] && eglConfig.m_eglStreamReleaseImageNV) { prototypeCalled = true; - result = eglConfig.m_eglCreateStreamProducerSurfaceKHR (dpy, config, stream, attrib_list); + result = eglConfig.m_eglStreamReleaseImageNV (dpy, stream, image, sync); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1812,7 +2770,7 @@ EGLSurface _glew_egl_eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, EGLConfi //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects) +EGLBoolean _glew_egl_eglStreamFlushNV (EGLDisplay dpy, EGLStreamKHR stream) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1820,11 +2778,11 @@ EGLBoolean _glew_egl_eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface sur #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_swap_buffers_with_damage - eglSwapBuffersWithDamageKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_swap_buffers_with_damage] && eglConfig.m_eglSwapBuffersWithDamageKHR) + // EGL_NV_stream_flush - eglStreamFlushNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_flush] && eglConfig.m_eglStreamFlushNV) { prototypeCalled = true; - result = eglConfig.m_eglSwapBuffersWithDamageKHR (dpy, surface, rects, n_rects); + result = eglConfig.m_eglStreamFlushNV (dpy, stream); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1837,19 +2795,19 @@ EGLBoolean _glew_egl_eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface sur //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLint _glew_egl_eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags) +EGLBoolean _glew_egl_eglQueryDisplayAttribNV (EGLDisplay dpy, EGLint attribute, EGLAttrib * value) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLint result = ((EGLint)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_KHR_wait_sync - eglWaitSyncKHR - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_KHR_wait_sync] && eglConfig.m_eglWaitSyncKHR) + // EGL_NV_stream_metadata - eglQueryDisplayAttribNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_metadata] && eglConfig.m_eglQueryDisplayAttribNV) { prototypeCalled = true; - result = eglConfig.m_eglWaitSyncKHR (dpy, sync, flags); + result = eglConfig.m_eglQueryDisplayAttribNV (dpy, attribute, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1862,19 +2820,19 @@ EGLint _glew_egl_eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLImageKHR _glew_egl_eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint * attrib_list) +EGLBoolean _glew_egl_eglSetStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint n, EGLint offset, EGLint size, const void * data) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLImageKHR result = ((EGLImageKHR)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_MESA_drm_image - eglCreateDRMImageMESA - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_MESA_drm_image] && eglConfig.m_eglCreateDRMImageMESA) + // EGL_NV_stream_metadata - eglSetStreamMetadataNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_metadata] && eglConfig.m_eglSetStreamMetadataNV) { prototypeCalled = true; - result = eglConfig.m_eglCreateDRMImageMESA (dpy, attrib_list); + result = eglConfig.m_eglSetStreamMetadataNV (dpy, stream, n, offset, size, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1887,7 +2845,7 @@ EGLImageKHR _glew_egl_eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint * attr //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint * name, EGLint * handle, EGLint * stride) +EGLBoolean _glew_egl_eglQueryStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum name, EGLint n, EGLint offset, EGLint size, void * data) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1895,11 +2853,11 @@ EGLBoolean _glew_egl_eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, E #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_MESA_drm_image - eglExportDRMImageMESA - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_MESA_drm_image] && eglConfig.m_eglExportDRMImageMESA) + // EGL_NV_stream_metadata - eglQueryStreamMetadataNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_metadata] && eglConfig.m_eglQueryStreamMetadataNV) { prototypeCalled = true; - result = eglConfig.m_eglExportDRMImageMESA (dpy, image, name, handle, stride); + result = eglConfig.m_eglQueryStreamMetadataNV (dpy, stream, name, n, offset, size, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1912,7 +2870,7 @@ EGLBoolean _glew_egl_eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, E //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglExportDMABUFImageQueryMESA (EGLDisplay dpy, EGLImageKHR image, int * fourcc, int * num_planes, EGLuint64KHR * modifiers) +EGLBoolean _glew_egl_eglResetStreamNV (EGLDisplay dpy, EGLStreamKHR stream) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1920,11 +2878,11 @@ EGLBoolean _glew_egl_eglExportDMABUFImageQueryMESA (EGLDisplay dpy, EGLImageKHR #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_MESA_image_dma_buf_export - eglExportDMABUFImageQueryMESA - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_MESA_image_dma_buf_export] && eglConfig.m_eglExportDMABUFImageQueryMESA) + // EGL_NV_stream_reset - eglResetStreamNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_reset] && eglConfig.m_eglResetStreamNV) { prototypeCalled = true; - result = eglConfig.m_eglExportDMABUFImageQueryMESA (dpy, image, fourcc, num_planes, modifiers); + result = eglConfig.m_eglResetStreamNV (dpy, stream); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1937,19 +2895,19 @@ EGLBoolean _glew_egl_eglExportDMABUFImageQueryMESA (EGLDisplay dpy, EGLImageKHR //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglExportDMABUFImageMESA (EGLDisplay dpy, EGLImageKHR image, int * fds, EGLint * strides, EGLint * offsets) +EGLSyncKHR _glew_egl_eglCreateStreamSyncNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint * attrib_list) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLBoolean result = ((EGLBoolean)0); + EGLSyncKHR result = ((EGLSyncKHR)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_MESA_image_dma_buf_export - eglExportDMABUFImageMESA - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_MESA_image_dma_buf_export] && eglConfig.m_eglExportDMABUFImageMESA) + // EGL_NV_stream_sync - eglCreateStreamSyncNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_sync] && eglConfig.m_eglCreateStreamSyncNV) { prototypeCalled = true; - result = eglConfig.m_eglExportDMABUFImageMESA (dpy, image, fds, strides, offsets); + result = eglConfig.m_eglCreateStreamSyncNV (dpy, stream, type, attrib_list); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1962,19 +2920,19 @@ EGLBoolean _glew_egl_eglExportDMABUFImageMESA (EGLDisplay dpy, EGLImageKHR image //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint * rects) +EGLSyncNV _glew_egl_eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint * attrib_list) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLBoolean result = ((EGLBoolean)0); + EGLSyncNV result = ((EGLSyncNV)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NOK_swap_region - eglSwapBuffersRegionNOK - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NOK_swap_region] && eglConfig.m_eglSwapBuffersRegionNOK) + // EGL_NV_sync - eglCreateFenceSyncNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_sync] && eglConfig.m_eglCreateFenceSyncNV) { prototypeCalled = true; - result = eglConfig.m_eglSwapBuffersRegionNOK (dpy, surface, numRects, rects); + result = eglConfig.m_eglCreateFenceSyncNV (dpy, condition, attrib_list); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -1987,7 +2945,7 @@ EGLBoolean _glew_egl_eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint * rects) +EGLBoolean _glew_egl_eglDestroySyncNV (EGLSyncNV sync) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -1995,11 +2953,11 @@ EGLBoolean _glew_egl_eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surfac #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NOK_swap_region2 - eglSwapBuffersRegion2NOK - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NOK_swap_region2] && eglConfig.m_eglSwapBuffersRegion2NOK) + // EGL_NV_sync - eglDestroySyncNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_sync] && eglConfig.m_eglDestroySyncNV) { prototypeCalled = true; - result = eglConfig.m_eglSwapBuffersRegion2NOK (dpy, surface, numRects, rects); + result = eglConfig.m_eglDestroySyncNV (sync); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2012,7 +2970,7 @@ EGLBoolean _glew_egl_eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surfac //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQueryNativeDisplayNV (EGLDisplay dpy, EGLNativeDisplayType * display_id) +EGLBoolean _glew_egl_eglFenceNV (EGLSyncNV sync) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -2020,11 +2978,11 @@ EGLBoolean _glew_egl_eglQueryNativeDisplayNV (EGLDisplay dpy, EGLNativeDisplayTy #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_native_query - eglQueryNativeDisplayNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_native_query] && eglConfig.m_eglQueryNativeDisplayNV) + // EGL_NV_sync - eglFenceNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_sync] && eglConfig.m_eglFenceNV) { prototypeCalled = true; - result = eglConfig.m_eglQueryNativeDisplayNV (dpy, display_id); + result = eglConfig.m_eglFenceNV (sync); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2037,19 +2995,19 @@ EGLBoolean _glew_egl_eglQueryNativeDisplayNV (EGLDisplay dpy, EGLNativeDisplayTy //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType * window) +EGLint _glew_egl_eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLBoolean result = ((EGLBoolean)0); + EGLint result = ((EGLint)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_native_query - eglQueryNativeWindowNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_native_query] && eglConfig.m_eglQueryNativeWindowNV) + // EGL_NV_sync - eglClientWaitSyncNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_sync] && eglConfig.m_eglClientWaitSyncNV) { prototypeCalled = true; - result = eglConfig.m_eglQueryNativeWindowNV (dpy, surf, window); + result = eglConfig.m_eglClientWaitSyncNV (sync, flags, timeout); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2062,7 +3020,7 @@ EGLBoolean _glew_egl_eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EG //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType * pixmap) +EGLBoolean _glew_egl_eglSignalSyncNV (EGLSyncNV sync, EGLenum mode) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -2070,11 +3028,11 @@ EGLBoolean _glew_egl_eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EG #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_native_query - eglQueryNativePixmapNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_native_query] && eglConfig.m_eglQueryNativePixmapNV) + // EGL_NV_sync - eglSignalSyncNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_sync] && eglConfig.m_eglSignalSyncNV) { prototypeCalled = true; - result = eglConfig.m_eglQueryNativePixmapNV (dpy, surf, pixmap); + result = eglConfig.m_eglSignalSyncNV (sync, mode); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2087,7 +3045,7 @@ EGLBoolean _glew_egl_eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EG //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height) +EGLBoolean _glew_egl_eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint * value) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -2095,11 +3053,11 @@ EGLBoolean _glew_egl_eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGL #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_post_sub_buffer - eglPostSubBufferNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_post_sub_buffer] && eglConfig.m_eglPostSubBufferNV) + // EGL_NV_sync - eglGetSyncAttribNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_sync] && eglConfig.m_eglGetSyncAttribNV) { prototypeCalled = true; - result = eglConfig.m_eglPostSubBufferNV (dpy, surface, x, y, width, height); + result = eglConfig.m_eglGetSyncAttribNV (sync, attribute, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2112,19 +3070,19 @@ EGLBoolean _glew_egl_eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglStreamConsumerGLTextureExternalAttribsNV (EGLDisplay dpy, EGLStreamKHR stream, EGLAttrib * attrib_list) +EGLuint64NV _glew_egl_eglGetSystemTimeFrequencyNV () { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLBoolean result = ((EGLBoolean)0); + EGLuint64NV result = ((EGLuint64NV)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_stream_consumer_gltexture_yuv - eglStreamConsumerGLTextureExternalAttribsNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_consumer_gltexture_yuv] && eglConfig.m_eglStreamConsumerGLTextureExternalAttribsNV) + // EGL_NV_system_time - eglGetSystemTimeFrequencyNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_system_time] && eglConfig.m_eglGetSystemTimeFrequencyNV) { prototypeCalled = true; - result = eglConfig.m_eglStreamConsumerGLTextureExternalAttribsNV (dpy, stream, attrib_list); + result = eglConfig.m_eglGetSystemTimeFrequencyNV (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2137,19 +3095,19 @@ EGLBoolean _glew_egl_eglStreamConsumerGLTextureExternalAttribsNV (EGLDisplay dpy //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQueryDisplayAttribNV (EGLDisplay dpy, EGLint attribute, EGLAttrib * value) +EGLuint64NV _glew_egl_eglGetSystemTimeNV () { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLBoolean result = ((EGLBoolean)0); + EGLuint64NV result = ((EGLuint64NV)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_stream_metadata - eglQueryDisplayAttribNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_metadata] && eglConfig.m_eglQueryDisplayAttribNV) + // EGL_NV_system_time - eglGetSystemTimeNV + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_system_time] && eglConfig.m_eglGetSystemTimeNV) { prototypeCalled = true; - result = eglConfig.m_eglQueryDisplayAttribNV (dpy, attribute, value); + result = eglConfig.m_eglGetSystemTimeNV (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2162,7 +3120,7 @@ EGLBoolean _glew_egl_eglQueryDisplayAttribNV (EGLDisplay dpy, EGLint attribute, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglSetStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint n, EGLint offset, EGLint size, const void * data) +EGLBoolean _glew_egl_eglCompositorSetContextListEXT (const EGLint * external_ref_ids, EGLint num_entries) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -2170,11 +3128,11 @@ EGLBoolean _glew_egl_eglSetStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_stream_metadata - eglSetStreamMetadataNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_metadata] && eglConfig.m_eglSetStreamMetadataNV) + // EGL_EXT_compositor - eglCompositorSetContextListEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_compositor] && eglConfig.m_eglCompositorSetContextListEXT) { prototypeCalled = true; - result = eglConfig.m_eglSetStreamMetadataNV (dpy, stream, n, offset, size, data); + result = eglConfig.m_eglCompositorSetContextListEXT (external_ref_ids, num_entries); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2187,7 +3145,7 @@ EGLBoolean _glew_egl_eglSetStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglQueryStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum name, EGLint n, EGLint offset, EGLint size, void * data) +EGLBoolean _glew_egl_eglCompositorSetContextAttributesEXT (EGLint external_ref_id, const EGLint * context_attributes, EGLint num_entries) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -2195,11 +3153,11 @@ EGLBoolean _glew_egl_eglQueryStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stre #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_stream_metadata - eglQueryStreamMetadataNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_metadata] && eglConfig.m_eglQueryStreamMetadataNV) + // EGL_EXT_compositor - eglCompositorSetContextAttributesEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_compositor] && eglConfig.m_eglCompositorSetContextAttributesEXT) { prototypeCalled = true; - result = eglConfig.m_eglQueryStreamMetadataNV (dpy, stream, name, n, offset, size, data); + result = eglConfig.m_eglCompositorSetContextAttributesEXT (external_ref_id, context_attributes, num_entries); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2212,19 +3170,19 @@ EGLBoolean _glew_egl_eglQueryStreamMetadataNV (EGLDisplay dpy, EGLStreamKHR stre //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLSyncKHR _glew_egl_eglCreateStreamSyncNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint * attrib_list) +EGLBoolean _glew_egl_eglCompositorSetWindowListEXT (EGLint external_ref_id, const EGLint * external_win_ids, EGLint num_entries) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLSyncKHR result = ((EGLSyncKHR)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_stream_sync - eglCreateStreamSyncNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_stream_sync] && eglConfig.m_eglCreateStreamSyncNV) + // EGL_EXT_compositor - eglCompositorSetWindowListEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_compositor] && eglConfig.m_eglCompositorSetWindowListEXT) { prototypeCalled = true; - result = eglConfig.m_eglCreateStreamSyncNV (dpy, stream, type, attrib_list); + result = eglConfig.m_eglCompositorSetWindowListEXT (external_ref_id, external_win_ids, num_entries); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2237,19 +3195,19 @@ EGLSyncKHR _glew_egl_eglCreateStreamSyncNV (EGLDisplay dpy, EGLStreamKHR stream, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLSyncNV _glew_egl_eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint * attrib_list) +EGLBoolean _glew_egl_eglCompositorSetWindowAttributesEXT (EGLint external_win_id, const EGLint * window_attributes, EGLint num_entries) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLSyncNV result = ((EGLSyncNV)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_sync - eglCreateFenceSyncNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_sync] && eglConfig.m_eglCreateFenceSyncNV) + // EGL_EXT_compositor - eglCompositorSetWindowAttributesEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_compositor] && eglConfig.m_eglCompositorSetWindowAttributesEXT) { prototypeCalled = true; - result = eglConfig.m_eglCreateFenceSyncNV (dpy, condition, attrib_list); + result = eglConfig.m_eglCompositorSetWindowAttributesEXT (external_win_id, window_attributes, num_entries); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2262,7 +3220,7 @@ EGLSyncNV _glew_egl_eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, con //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglDestroySyncNV (EGLSyncNV sync) +EGLBoolean _glew_egl_eglCompositorBindTexWindowEXT (EGLint external_win_id) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -2270,11 +3228,11 @@ EGLBoolean _glew_egl_eglDestroySyncNV (EGLSyncNV sync) #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_sync - eglDestroySyncNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_sync] && eglConfig.m_eglDestroySyncNV) + // EGL_EXT_compositor - eglCompositorBindTexWindowEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_compositor] && eglConfig.m_eglCompositorBindTexWindowEXT) { prototypeCalled = true; - result = eglConfig.m_eglDestroySyncNV (sync); + result = eglConfig.m_eglCompositorBindTexWindowEXT (external_win_id); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2287,7 +3245,7 @@ EGLBoolean _glew_egl_eglDestroySyncNV (EGLSyncNV sync) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglFenceNV (EGLSyncNV sync) +EGLBoolean _glew_egl_eglCompositorSetSizeEXT (EGLint external_win_id, EGLint width, EGLint height) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -2295,11 +3253,11 @@ EGLBoolean _glew_egl_eglFenceNV (EGLSyncNV sync) #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_sync - eglFenceNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_sync] && eglConfig.m_eglFenceNV) + // EGL_EXT_compositor - eglCompositorSetSizeEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_compositor] && eglConfig.m_eglCompositorSetSizeEXT) { prototypeCalled = true; - result = eglConfig.m_eglFenceNV (sync); + result = eglConfig.m_eglCompositorSetSizeEXT (external_win_id, width, height); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2312,19 +3270,19 @@ EGLBoolean _glew_egl_eglFenceNV (EGLSyncNV sync) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLint _glew_egl_eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout) +EGLBoolean _glew_egl_eglCompositorSwapPolicyEXT (EGLint external_win_id, EGLint policy) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLint result = ((EGLint)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_sync - eglClientWaitSyncNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_sync] && eglConfig.m_eglClientWaitSyncNV) + // EGL_EXT_compositor - eglCompositorSwapPolicyEXT + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_EXT_compositor] && eglConfig.m_eglCompositorSwapPolicyEXT) { prototypeCalled = true; - result = eglConfig.m_eglClientWaitSyncNV (sync, flags, timeout); + result = eglConfig.m_eglCompositorSwapPolicyEXT (external_win_id, policy); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2337,7 +3295,7 @@ EGLint _glew_egl_eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV ti //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglSignalSyncNV (EGLSyncNV sync, EGLenum mode) +EGLBoolean _glew_egl_eglBindWaylandDisplayWL (EGLDisplay dpy, struct wl_display * display) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -2345,11 +3303,11 @@ EGLBoolean _glew_egl_eglSignalSyncNV (EGLSyncNV sync, EGLenum mode) #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_sync - eglSignalSyncNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_sync] && eglConfig.m_eglSignalSyncNV) + // EGL_WL_bind_wayland_display - eglBindWaylandDisplayWL + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_WL_bind_wayland_display] && eglConfig.m_eglBindWaylandDisplayWL) { prototypeCalled = true; - result = eglConfig.m_eglSignalSyncNV (sync, mode); + result = eglConfig.m_eglBindWaylandDisplayWL (dpy, display); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2362,7 +3320,7 @@ EGLBoolean _glew_egl_eglSignalSyncNV (EGLSyncNV sync, EGLenum mode) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLBoolean _glew_egl_eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint * value) +EGLBoolean _glew_egl_eglUnbindWaylandDisplayWL (EGLDisplay dpy, struct wl_display * display) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); @@ -2370,11 +3328,11 @@ EGLBoolean _glew_egl_eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLin #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_sync - eglGetSyncAttribNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_sync] && eglConfig.m_eglGetSyncAttribNV) + // EGL_WL_bind_wayland_display - eglUnbindWaylandDisplayWL + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_WL_bind_wayland_display] && eglConfig.m_eglUnbindWaylandDisplayWL) { prototypeCalled = true; - result = eglConfig.m_eglGetSyncAttribNV (sync, attribute, value); + result = eglConfig.m_eglUnbindWaylandDisplayWL (dpy, display); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2387,19 +3345,19 @@ EGLBoolean _glew_egl_eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLuint64NV _glew_egl_eglGetSystemTimeFrequencyNV () +EGLBoolean _glew_egl_eglQueryWaylandBufferWL (EGLDisplay dpy, struct wl_resource * buffer, EGLint attribute, EGLint * value) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLuint64NV result = ((EGLuint64NV)0); + EGLBoolean result = ((EGLBoolean)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_system_time - eglGetSystemTimeFrequencyNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_system_time] && eglConfig.m_eglGetSystemTimeFrequencyNV) + // EGL_WL_bind_wayland_display - eglQueryWaylandBufferWL + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_WL_bind_wayland_display] && eglConfig.m_eglQueryWaylandBufferWL) { prototypeCalled = true; - result = eglConfig.m_eglGetSystemTimeFrequencyNV (); + result = eglConfig.m_eglQueryWaylandBufferWL (dpy, buffer, attribute, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2412,19 +3370,19 @@ EGLuint64NV _glew_egl_eglGetSystemTimeFrequencyNV () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -EGLuint64NV _glew_egl_eglGetSystemTimeNV () +struct wl_buffer * _glew_egl_eglCreateWaylandBufferFromImageWL (EGLDisplay dpy, EGLImageKHR image) { bool prototypeCalled = false; const glew::egl::DeviceConfig &eglConfig = glew::egl::GetConfig (); - EGLuint64NV result = ((EGLuint64NV)0); + struct wl_buffer * result = ((struct wl_buffer *)0); #if GLEW_EGL_PRE_ERROR_CHECK GLEW_ASSERT (eglGetError () == EGL_SUCCESS); #endif - // EGL_NV_system_time - eglGetSystemTimeNV - if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_NV_system_time] && eglConfig.m_eglGetSystemTimeNV) + // EGL_WL_create_wayland_buffer_from_image - eglCreateWaylandBufferFromImageWL + if (!prototypeCalled && eglConfig.m_featureSupported [GLEW_EGL_WL_create_wayland_buffer_from_image] && eglConfig.m_eglCreateWaylandBufferFromImageWL) { prototypeCalled = true; - result = eglConfig.m_eglGetSystemTimeNV (); + result = eglConfig.m_eglCreateWaylandBufferFromImageWL (dpy, image); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2467,9 +3425,9 @@ void glew::egl::Initialise (EGLDisplay display) memset (&s_deviceConfig, 0, sizeof (s_deviceConfig)); - // + // // Determine current driver's feature reporting. - // + // const unsigned char *eglVersion = (const unsigned char *) eglQueryString (s_display, EGL_VERSION); @@ -2500,9 +3458,9 @@ void glew::egl::Initialise (EGLDisplay display) s_deviceConfig.m_featureSupported [GLEW_EGL_VERSION_1_5] = ((major >= 1) && (minor >= 5)); } - // + // // Evaluate extension support. - // + // std::unordered_set supportedExtensions; @@ -2525,7 +3483,7 @@ void glew::egl::Initialise (EGLDisplay display) memset (thisExtBuffer, 0, sizeof (thisExtBuffer)); - do + do { const char * seperator = strchr ((const char *) thisExtStart, ' '); @@ -2535,7 +3493,7 @@ void glew::egl::Initialise (EGLDisplay display) #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -2549,7 +3507,7 @@ void glew::egl::Initialise (EGLDisplay display) #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -2571,47 +3529,73 @@ void glew::egl::Initialise (EGLDisplay display) } s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_blob_cache] = (supportedExtensions.find ("EGL_ANDROID_blob_cache") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_create_native_client_buffer] = (supportedExtensions.find ("EGL_ANDROID_create_native_client_buffer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_framebuffer_target] = (supportedExtensions.find ("EGL_ANDROID_framebuffer_target") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_get_native_client_buffer] = (supportedExtensions.find ("EGL_ANDROID_get_native_client_buffer") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_front_buffer_auto_refresh] = (supportedExtensions.find ("EGL_ANDROID_front_buffer_auto_refresh") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_image_native_buffer] = (supportedExtensions.find ("EGL_ANDROID_image_native_buffer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_native_fence_sync] = (supportedExtensions.find ("EGL_ANDROID_native_fence_sync") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_presentation_time] = (supportedExtensions.find ("EGL_ANDROID_presentation_time") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_get_frame_timestamps] = (supportedExtensions.find ("EGL_ANDROID_get_frame_timestamps") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_recordable] = (supportedExtensions.find ("EGL_ANDROID_recordable") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_GLES_layers] = (supportedExtensions.find ("EGL_ANDROID_GLES_layers") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_ANGLE_d3d_share_handle_client_buffer] = (supportedExtensions.find ("EGL_ANGLE_d3d_share_handle_client_buffer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_ANGLE_device_d3d] = (supportedExtensions.find ("EGL_ANGLE_device_d3d") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_ANGLE_query_surface_pointer] = (supportedExtensions.find ("EGL_ANGLE_query_surface_pointer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_ANGLE_surface_d3d_texture_2d_share_handle] = (supportedExtensions.find ("EGL_ANGLE_surface_d3d_texture_2d_share_handle") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_ANGLE_sync_control_rate] = (supportedExtensions.find ("EGL_ANGLE_sync_control_rate") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_ANGLE_window_fixed_size] = (supportedExtensions.find ("EGL_ANGLE_window_fixed_size") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_ARM_implicit_external_sync] = (supportedExtensions.find ("EGL_ARM_implicit_external_sync") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_ARM_pixmap_multisample_discard] = (supportedExtensions.find ("EGL_ARM_pixmap_multisample_discard") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_buffer_age] = (supportedExtensions.find ("EGL_EXT_buffer_age") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_client_extensions] = (supportedExtensions.find ("EGL_EXT_client_extensions") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_client_sync] = (supportedExtensions.find ("EGL_EXT_client_sync") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_create_context_robustness] = (supportedExtensions.find ("EGL_EXT_create_context_robustness") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_device_base] = (supportedExtensions.find ("EGL_EXT_device_base") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_device_drm] = (supportedExtensions.find ("EGL_EXT_device_drm") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_device_enumeration] = (supportedExtensions.find ("EGL_EXT_device_enumeration") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_device_openwf] = (supportedExtensions.find ("EGL_EXT_device_openwf") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_device_query] = (supportedExtensions.find ("EGL_EXT_device_query") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_gl_colorspace_bt2020_linear] = (supportedExtensions.find ("EGL_EXT_gl_colorspace_bt2020_linear") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_gl_colorspace_bt2020_pq] = (supportedExtensions.find ("EGL_EXT_gl_colorspace_bt2020_pq") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_gl_colorspace_scrgb] = (supportedExtensions.find ("EGL_EXT_gl_colorspace_scrgb") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_gl_colorspace_scrgb_linear] = (supportedExtensions.find ("EGL_EXT_gl_colorspace_scrgb_linear") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_gl_colorspace_display_p3_linear] = (supportedExtensions.find ("EGL_EXT_gl_colorspace_display_p3_linear") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_gl_colorspace_display_p3] = (supportedExtensions.find ("EGL_EXT_gl_colorspace_display_p3") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_gl_colorspace_display_p3_passthrough] = (supportedExtensions.find ("EGL_EXT_gl_colorspace_display_p3_passthrough") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_image_dma_buf_import] = (supportedExtensions.find ("EGL_EXT_image_dma_buf_import") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_image_dma_buf_import_modifiers] = (supportedExtensions.find ("EGL_EXT_image_dma_buf_import_modifiers") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_image_gl_colorspace] = (supportedExtensions.find ("EGL_EXT_image_gl_colorspace") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_multiview_window] = (supportedExtensions.find ("EGL_EXT_multiview_window") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_output_base] = (supportedExtensions.find ("EGL_EXT_output_base") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_output_drm] = (supportedExtensions.find ("EGL_EXT_output_drm") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_output_openwf] = (supportedExtensions.find ("EGL_EXT_output_openwf") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_pixel_format_float] = (supportedExtensions.find ("EGL_EXT_pixel_format_float") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_platform_base] = (supportedExtensions.find ("EGL_EXT_platform_base") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_platform_device] = (supportedExtensions.find ("EGL_EXT_platform_device") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_platform_wayland] = (supportedExtensions.find ("EGL_EXT_platform_wayland") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_platform_x11] = (supportedExtensions.find ("EGL_EXT_platform_x11") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_platform_xcb] = (supportedExtensions.find ("EGL_EXT_platform_xcb") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_protected_content] = (supportedExtensions.find ("EGL_EXT_protected_content") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_protected_surface] = (supportedExtensions.find ("EGL_EXT_protected_surface") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_stream_consumer_egloutput] = (supportedExtensions.find ("EGL_EXT_stream_consumer_egloutput") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_surface_SMPTE2086_metadata] = (supportedExtensions.find ("EGL_EXT_surface_SMPTE2086_metadata") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_swap_buffers_with_damage] = (supportedExtensions.find ("EGL_EXT_swap_buffers_with_damage") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_sync_reuse] = (supportedExtensions.find ("EGL_EXT_sync_reuse") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_yuv_surface] = (supportedExtensions.find ("EGL_EXT_yuv_surface") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_HI_clientpixmap] = (supportedExtensions.find ("EGL_HI_clientpixmap") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_HI_colorformats] = (supportedExtensions.find ("EGL_HI_colorformats") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_IMG_context_priority] = (supportedExtensions.find ("EGL_IMG_context_priority") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_IMG_image_plane_attribs] = (supportedExtensions.find ("EGL_IMG_image_plane_attribs") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_cl_event] = (supportedExtensions.find ("EGL_KHR_cl_event") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_cl_event2] = (supportedExtensions.find ("EGL_KHR_cl_event2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_config_attribs] = (supportedExtensions.find ("EGL_KHR_config_attribs") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_client_get_all_proc_addresses] = (supportedExtensions.find ("EGL_KHR_client_get_all_proc_addresses") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_context_flush_control] = (supportedExtensions.find ("EGL_KHR_context_flush_control") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_create_context] = (supportedExtensions.find ("EGL_KHR_create_context") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_create_context_no_error] = (supportedExtensions.find ("EGL_KHR_create_context_no_error") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_debug] = (supportedExtensions.find ("EGL_KHR_debug") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_display_reference] = (supportedExtensions.find ("EGL_KHR_display_reference") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_fence_sync] = (supportedExtensions.find ("EGL_KHR_fence_sync") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_get_all_proc_addresses] = (supportedExtensions.find ("EGL_KHR_get_all_proc_addresses") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_gl_colorspace] = (supportedExtensions.find ("EGL_KHR_gl_colorspace") != supportedExtensions.end ()); @@ -2625,6 +3609,8 @@ void glew::egl::Initialise (EGLDisplay display) s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_lock_surface] = (supportedExtensions.find ("EGL_KHR_lock_surface") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_lock_surface2] = (supportedExtensions.find ("EGL_KHR_lock_surface2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_lock_surface3] = (supportedExtensions.find ("EGL_KHR_lock_surface3") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_mutable_render_buffer] = (supportedExtensions.find ("EGL_KHR_mutable_render_buffer") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_no_config_context] = (supportedExtensions.find ("EGL_KHR_no_config_context") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_partial_update] = (supportedExtensions.find ("EGL_KHR_partial_update") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_platform_android] = (supportedExtensions.find ("EGL_KHR_platform_android") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_platform_gbm] = (supportedExtensions.find ("EGL_KHR_platform_gbm") != supportedExtensions.end ()); @@ -2632,6 +3618,7 @@ void glew::egl::Initialise (EGLDisplay display) s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_platform_x11] = (supportedExtensions.find ("EGL_KHR_platform_x11") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_reusable_sync] = (supportedExtensions.find ("EGL_KHR_reusable_sync") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_stream] = (supportedExtensions.find ("EGL_KHR_stream") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_stream_attrib] = (supportedExtensions.find ("EGL_KHR_stream_attrib") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_stream_consumer_gltexture] = (supportedExtensions.find ("EGL_KHR_stream_consumer_gltexture") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_stream_cross_process_fd] = (supportedExtensions.find ("EGL_KHR_stream_cross_process_fd") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_stream_fifo] = (supportedExtensions.find ("EGL_KHR_stream_fifo") != supportedExtensions.end ()); @@ -2644,11 +3631,14 @@ void glew::egl::Initialise (EGLDisplay display) s_deviceConfig.m_featureSupported [GLEW_EGL_MESA_drm_image] = (supportedExtensions.find ("EGL_MESA_drm_image") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_MESA_image_dma_buf_export] = (supportedExtensions.find ("EGL_MESA_image_dma_buf_export") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_MESA_platform_gbm] = (supportedExtensions.find ("EGL_MESA_platform_gbm") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_MESA_platform_surfaceless] = (supportedExtensions.find ("EGL_MESA_platform_surfaceless") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_MESA_query_driver] = (supportedExtensions.find ("EGL_MESA_query_driver") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_NOK_swap_region] = (supportedExtensions.find ("EGL_NOK_swap_region") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_NOK_swap_region2] = (supportedExtensions.find ("EGL_NOK_swap_region2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_NOK_texture_from_pixmap] = (supportedExtensions.find ("EGL_NOK_texture_from_pixmap") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_NV_3dvision_surface] = (supportedExtensions.find ("EGL_NV_3dvision_surface") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_NV_coverage_sample] = (supportedExtensions.find ("EGL_NV_coverage_sample") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_context_priority_realtime] = (supportedExtensions.find ("EGL_NV_context_priority_realtime") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_NV_coverage_sample_resolve] = (supportedExtensions.find ("EGL_NV_coverage_sample_resolve") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_NV_cuda_event] = (supportedExtensions.find ("EGL_NV_cuda_event") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_NV_depth_nonlinear] = (supportedExtensions.find ("EGL_NV_depth_nonlinear") != supportedExtensions.end ()); @@ -2656,13 +3646,41 @@ void glew::egl::Initialise (EGLDisplay display) s_deviceConfig.m_featureSupported [GLEW_EGL_NV_native_query] = (supportedExtensions.find ("EGL_NV_native_query") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_NV_post_convert_rounding] = (supportedExtensions.find ("EGL_NV_post_convert_rounding") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_NV_post_sub_buffer] = (supportedExtensions.find ("EGL_NV_post_sub_buffer") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_quadruple_buffer] = (supportedExtensions.find ("EGL_NV_quadruple_buffer") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_robustness_video_memory_purge] = (supportedExtensions.find ("EGL_NV_robustness_video_memory_purge") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_consumer_gltexture_yuv] = (supportedExtensions.find ("EGL_NV_stream_consumer_gltexture_yuv") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_cross_object] = (supportedExtensions.find ("EGL_NV_stream_cross_object") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_cross_display] = (supportedExtensions.find ("EGL_NV_stream_cross_display") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_cross_partition] = (supportedExtensions.find ("EGL_NV_stream_cross_partition") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_cross_process] = (supportedExtensions.find ("EGL_NV_stream_cross_process") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_cross_system] = (supportedExtensions.find ("EGL_NV_stream_cross_system") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_dma] = (supportedExtensions.find ("EGL_NV_stream_dma") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_consumer_eglimage] = (supportedExtensions.find ("EGL_NV_stream_consumer_eglimage") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_fifo_next] = (supportedExtensions.find ("EGL_NV_stream_fifo_next") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_fifo_synchronous] = (supportedExtensions.find ("EGL_NV_stream_fifo_synchronous") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_flush] = (supportedExtensions.find ("EGL_NV_stream_flush") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_frame_limits] = (supportedExtensions.find ("EGL_NV_stream_frame_limits") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_metadata] = (supportedExtensions.find ("EGL_NV_stream_metadata") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_reset] = (supportedExtensions.find ("EGL_NV_stream_reset") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_remote] = (supportedExtensions.find ("EGL_NV_stream_remote") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_socket] = (supportedExtensions.find ("EGL_NV_stream_socket") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_socket_inet] = (supportedExtensions.find ("EGL_NV_stream_socket_inet") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_socket_unix] = (supportedExtensions.find ("EGL_NV_stream_socket_unix") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_sync] = (supportedExtensions.find ("EGL_NV_stream_sync") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_NV_sync] = (supportedExtensions.find ("EGL_NV_sync") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_NV_system_time] = (supportedExtensions.find ("EGL_NV_system_time") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_triple_buffer] = (supportedExtensions.find ("EGL_NV_triple_buffer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_TIZEN_image_native_buffer] = (supportedExtensions.find ("EGL_TIZEN_image_native_buffer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_EGL_TIZEN_image_native_surface] = (supportedExtensions.find ("EGL_TIZEN_image_native_surface") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_compositor] = (supportedExtensions.find ("EGL_EXT_compositor") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_surface_CTA861_3_metadata] = (supportedExtensions.find ("EGL_EXT_surface_CTA861_3_metadata") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_image_implicit_sync_control] = (supportedExtensions.find ("EGL_EXT_image_implicit_sync_control") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_bind_to_front] = (supportedExtensions.find ("EGL_EXT_bind_to_front") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_origin] = (supportedExtensions.find ("EGL_NV_stream_origin") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_WL_bind_wayland_display] = (supportedExtensions.find ("EGL_WL_bind_wayland_display") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_WL_create_wayland_buffer_from_image] = (supportedExtensions.find ("EGL_WL_create_wayland_buffer_from_image") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_ARM_image_format] = (supportedExtensions.find ("EGL_ARM_image_format") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_device_query_name] = (supportedExtensions.find ("EGL_EXT_device_query_name") != supportedExtensions.end ()); // EGL_VERSION_1_1 if (s_deviceConfig.m_featureSupported [GLEW_EGL_VERSION_1_1]) @@ -2710,18 +3728,58 @@ void glew::egl::Initialise (EGLDisplay display) s_deviceConfig.m_eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC) glewGetProcAddress ("eglSetBlobCacheFuncsANDROID"); } + // EGL_ANDROID_create_native_client_buffer + if (s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_create_native_client_buffer]) + { + s_deviceConfig.m_eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC) glewGetProcAddress ("eglCreateNativeClientBufferANDROID"); + } + + // EGL_ANDROID_get_native_client_buffer + if (s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_get_native_client_buffer]) + { + s_deviceConfig.m_eglGetNativeClientBufferANDROID = (PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC) glewGetProcAddress ("eglGetNativeClientBufferANDROID"); + } + // EGL_ANDROID_native_fence_sync if (s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_native_fence_sync]) { s_deviceConfig.m_eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC) glewGetProcAddress ("eglDupNativeFenceFDANDROID"); } + // EGL_ANDROID_presentation_time + if (s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_presentation_time]) + { + s_deviceConfig.m_eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC) glewGetProcAddress ("eglPresentationTimeANDROID"); + } + + // EGL_ANDROID_get_frame_timestamps + if (s_deviceConfig.m_featureSupported [GLEW_EGL_ANDROID_get_frame_timestamps]) + { + s_deviceConfig.m_eglGetCompositorTimingSupportedANDROID = (PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC) glewGetProcAddress ("eglGetCompositorTimingSupportedANDROID"); + s_deviceConfig.m_eglGetCompositorTimingANDROID = (PFNEGLGETCOMPOSITORTIMINGANDROIDPROC) glewGetProcAddress ("eglGetCompositorTimingANDROID"); + s_deviceConfig.m_eglGetNextFrameIdANDROID = (PFNEGLGETNEXTFRAMEIDANDROIDPROC) glewGetProcAddress ("eglGetNextFrameIdANDROID"); + s_deviceConfig.m_eglGetFrameTimestampSupportedANDROID = (PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC) glewGetProcAddress ("eglGetFrameTimestampSupportedANDROID"); + s_deviceConfig.m_eglGetFrameTimestampsANDROID = (PFNEGLGETFRAMETIMESTAMPSANDROIDPROC) glewGetProcAddress ("eglGetFrameTimestampsANDROID"); + } + // EGL_ANGLE_query_surface_pointer if (s_deviceConfig.m_featureSupported [GLEW_EGL_ANGLE_query_surface_pointer]) { s_deviceConfig.m_eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC) glewGetProcAddress ("eglQuerySurfacePointerANGLE"); } + // EGL_ANGLE_sync_control_rate + if (s_deviceConfig.m_featureSupported [GLEW_EGL_ANGLE_sync_control_rate]) + { + s_deviceConfig.m_eglGetMscRateANGLE = (PFNEGLGETMSCRATEANGLEPROC) glewGetProcAddress ("eglGetMscRateANGLE"); + } + + // EGL_EXT_client_sync + if (s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_client_sync]) + { + s_deviceConfig.m_eglClientSignalSyncEXT = (PFNEGLCLIENTSIGNALSYNCEXTPROC) glewGetProcAddress ("eglClientSignalSyncEXT"); + } + // EGL_EXT_device_base if (s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_device_base]) { @@ -2731,6 +3789,13 @@ void glew::egl::Initialise (EGLDisplay display) s_deviceConfig.m_eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC) glewGetProcAddress ("eglQueryDisplayAttribEXT"); } + // EGL_EXT_image_dma_buf_import_modifiers + if (s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_image_dma_buf_import_modifiers]) + { + s_deviceConfig.m_eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC) glewGetProcAddress ("eglQueryDmaBufFormatsEXT"); + s_deviceConfig.m_eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC) glewGetProcAddress ("eglQueryDmaBufModifiersEXT"); + } + // EGL_EXT_output_base if (s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_output_base]) { @@ -2764,6 +3829,12 @@ void glew::egl::Initialise (EGLDisplay display) s_deviceConfig.m_eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) glewGetProcAddress ("eglSwapBuffersWithDamageEXT"); } + // EGL_EXT_sync_reuse + if (s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_sync_reuse]) + { + s_deviceConfig.m_eglUnsignalSyncEXT = (PFNEGLUNSIGNALSYNCEXTPROC) glewGetProcAddress ("eglUnsignalSyncEXT"); + } + // EGL_HI_clientpixmap if (s_deviceConfig.m_featureSupported [GLEW_EGL_HI_clientpixmap]) { @@ -2784,6 +3855,12 @@ void glew::egl::Initialise (EGLDisplay display) s_deviceConfig.m_eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC) glewGetProcAddress ("eglLabelObjectKHR"); } + // EGL_KHR_display_reference + if (s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_display_reference]) + { + s_deviceConfig.m_eglQueryDisplayAttribKHR = (PFNEGLQUERYDISPLAYATTRIBKHRPROC) glewGetProcAddress ("eglQueryDisplayAttribKHR"); + } + // EGL_KHR_fence_sync if (s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_fence_sync]) { @@ -2835,6 +3912,16 @@ void glew::egl::Initialise (EGLDisplay display) s_deviceConfig.m_eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC) glewGetProcAddress ("eglQueryStreamu64KHR"); } + // EGL_KHR_stream_attrib + if (s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_stream_attrib]) + { + s_deviceConfig.m_eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC) glewGetProcAddress ("eglCreateStreamAttribKHR"); + s_deviceConfig.m_eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC) glewGetProcAddress ("eglSetStreamAttribKHR"); + s_deviceConfig.m_eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC) glewGetProcAddress ("eglQueryStreamAttribKHR"); + s_deviceConfig.m_eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC) glewGetProcAddress ("eglStreamConsumerAcquireAttribKHR"); + s_deviceConfig.m_eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC) glewGetProcAddress ("eglStreamConsumerReleaseAttribKHR"); + } + // EGL_KHR_stream_consumer_gltexture if (s_deviceConfig.m_featureSupported [GLEW_EGL_KHR_stream_consumer_gltexture]) { @@ -2888,6 +3975,13 @@ void glew::egl::Initialise (EGLDisplay display) s_deviceConfig.m_eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC) glewGetProcAddress ("eglExportDMABUFImageMESA"); } + // EGL_MESA_query_driver + if (s_deviceConfig.m_featureSupported [GLEW_EGL_MESA_query_driver]) + { + s_deviceConfig.m_eglGetDisplayDriverConfig = (PFNEGLGETDISPLAYDRIVERCONFIGPROC) glewGetProcAddress ("eglGetDisplayDriverConfig"); + s_deviceConfig.m_eglGetDisplayDriverName = (PFNEGLGETDISPLAYDRIVERNAMEPROC) glewGetProcAddress ("eglGetDisplayDriverName"); + } + // EGL_NOK_swap_region if (s_deviceConfig.m_featureSupported [GLEW_EGL_NOK_swap_region]) { @@ -2920,6 +4014,21 @@ void glew::egl::Initialise (EGLDisplay display) s_deviceConfig.m_eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC) glewGetProcAddress ("eglStreamConsumerGLTextureExternalAttribsNV"); } + // EGL_NV_stream_consumer_eglimage + if (s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_consumer_eglimage]) + { + s_deviceConfig.m_eglStreamImageConsumerConnectNV = (PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC) glewGetProcAddress ("eglStreamImageConsumerConnectNV"); + s_deviceConfig.m_eglQueryStreamConsumerEventNV = (PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC) glewGetProcAddress ("eglQueryStreamConsumerEventNV"); + s_deviceConfig.m_eglStreamAcquireImageNV = (PFNEGLSTREAMACQUIREIMAGENVPROC) glewGetProcAddress ("eglStreamAcquireImageNV"); + s_deviceConfig.m_eglStreamReleaseImageNV = (PFNEGLSTREAMRELEASEIMAGENVPROC) glewGetProcAddress ("eglStreamReleaseImageNV"); + } + + // EGL_NV_stream_flush + if (s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_flush]) + { + s_deviceConfig.m_eglStreamFlushNV = (PFNEGLSTREAMFLUSHNVPROC) glewGetProcAddress ("eglStreamFlushNV"); + } + // EGL_NV_stream_metadata if (s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_metadata]) { @@ -2928,6 +4037,12 @@ void glew::egl::Initialise (EGLDisplay display) s_deviceConfig.m_eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC) glewGetProcAddress ("eglQueryStreamMetadataNV"); } + // EGL_NV_stream_reset + if (s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_reset]) + { + s_deviceConfig.m_eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC) glewGetProcAddress ("eglResetStreamNV"); + } + // EGL_NV_stream_sync if (s_deviceConfig.m_featureSupported [GLEW_EGL_NV_stream_sync]) { @@ -2952,6 +4067,32 @@ void glew::egl::Initialise (EGLDisplay display) s_deviceConfig.m_eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC) glewGetProcAddress ("eglGetSystemTimeNV"); } + // EGL_EXT_compositor + if (s_deviceConfig.m_featureSupported [GLEW_EGL_EXT_compositor]) + { + s_deviceConfig.m_eglCompositorSetContextListEXT = (PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC) glewGetProcAddress ("eglCompositorSetContextListEXT"); + s_deviceConfig.m_eglCompositorSetContextAttributesEXT = (PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC) glewGetProcAddress ("eglCompositorSetContextAttributesEXT"); + s_deviceConfig.m_eglCompositorSetWindowListEXT = (PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC) glewGetProcAddress ("eglCompositorSetWindowListEXT"); + s_deviceConfig.m_eglCompositorSetWindowAttributesEXT = (PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC) glewGetProcAddress ("eglCompositorSetWindowAttributesEXT"); + s_deviceConfig.m_eglCompositorBindTexWindowEXT = (PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC) glewGetProcAddress ("eglCompositorBindTexWindowEXT"); + s_deviceConfig.m_eglCompositorSetSizeEXT = (PFNEGLCOMPOSITORSETSIZEEXTPROC) glewGetProcAddress ("eglCompositorSetSizeEXT"); + s_deviceConfig.m_eglCompositorSwapPolicyEXT = (PFNEGLCOMPOSITORSWAPPOLICYEXTPROC) glewGetProcAddress ("eglCompositorSwapPolicyEXT"); + } + + // EGL_WL_bind_wayland_display + if (s_deviceConfig.m_featureSupported [GLEW_EGL_WL_bind_wayland_display]) + { + s_deviceConfig.m_eglBindWaylandDisplayWL = (PFNEGLBINDWAYLANDDISPLAYWLPROC) glewGetProcAddress ("eglBindWaylandDisplayWL"); + s_deviceConfig.m_eglUnbindWaylandDisplayWL = (PFNEGLUNBINDWAYLANDDISPLAYWLPROC) glewGetProcAddress ("eglUnbindWaylandDisplayWL"); + s_deviceConfig.m_eglQueryWaylandBufferWL = (PFNEGLQUERYWAYLANDBUFFERWLPROC) glewGetProcAddress ("eglQueryWaylandBufferWL"); + } + + // EGL_WL_create_wayland_buffer_from_image + if (s_deviceConfig.m_featureSupported [GLEW_EGL_WL_create_wayland_buffer_from_image]) + { + s_deviceConfig.m_eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC) glewGetProcAddress ("eglCreateWaylandBufferFromImageWL"); + } + s_initialised = true; } diff --git a/src/wrangle-gl.cpp b/src/wrangle-gl.cpp index 6f6a720..27ad71c 100644 --- a/src/wrangle-gl.cpp +++ b/src/wrangle-gl.cpp @@ -2,6 +2,8 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +#include + #include #include @@ -95,12 +97,6 @@ void _glew_gl_glGetPointerv (GLenum pname, void ** params) prototypeCalled = true; glConfig.m_glGetPointerv (pname, params); } - // GL_VERSION_4_3 - glGetPointerv - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_VERSION_4_3] && glConfig.m_glGetPointerv) - { - prototypeCalled = true; - glConfig.m_glGetPointerv (pname, params); - } // GL_ES_VERSION_3_2 - glGetPointerv if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ES_VERSION_3_2] && glConfig.m_glGetPointerv) { @@ -886,12 +882,6 @@ void _glew_gl_glTexImage3D (GLenum target, GLint level, GLint internalformat, GL prototypeCalled = true; glConfig.m_glTexImage3DEXT (target, level, (GLenum) internalformat, width, height, depth, border, format, type, pixels); } - // GL_OES_texture_3D - glTexImage3D - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glConfig.m_glTexImage3DOES) - { - prototypeCalled = true; - glConfig.m_glTexImage3DOES (target, level, (GLenum) internalformat, width, height, depth, border, format, type, pixels); - } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -927,12 +917,6 @@ void _glew_gl_glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint prototypeCalled = true; glConfig.m_glTexSubImage3DEXT (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); } - // GL_OES_texture_3D - glTexSubImage3D - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glConfig.m_glTexSubImage3DOES) - { - prototypeCalled = true; - glConfig.m_glTexSubImage3DOES (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); - } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -962,12 +946,6 @@ void _glew_gl_glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GL prototypeCalled = true; glConfig.m_glCopyTexSubImage3D (target, level, xoffset, yoffset, zoffset, x, y, width, height); } - // GL_OES_texture_3D - glCopyTexSubImage3D - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glConfig.m_glCopyTexSubImage3DOES) - { - prototypeCalled = true; - glConfig.m_glCopyTexSubImage3DOES (target, level, xoffset, yoffset, zoffset, x, y, width, height); - } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -1073,12 +1051,6 @@ void _glew_gl_glCompressedTexImage3D (GLenum target, GLint level, GLenum interna prototypeCalled = true; glConfig.m_glCompressedTexImage3DARB (target, level, internalformat, width, height, depth, border, imageSize, data); } - // GL_OES_texture_3D - glCompressedTexImage3D - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glConfig.m_glCompressedTexImage3DOES) - { - prototypeCalled = true; - glConfig.m_glCompressedTexImage3DOES (target, level, internalformat, width, height, depth, border, imageSize, data); - } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -1178,12 +1150,6 @@ void _glew_gl_glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffs prototypeCalled = true; glConfig.m_glCompressedTexSubImage3DARB (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); } - // GL_OES_texture_3D - glCompressedTexSubImage3D - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glConfig.m_glCompressedTexSubImage3DOES) - { - prototypeCalled = true; - glConfig.m_glCompressedTexSubImage3DOES (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); - } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -10323,12 +10289,6 @@ void _glew_gl_glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum t prototypeCalled = true; glConfig.m_glFramebufferTexture3DEXT (target, attachment, textarget, texture, level, zoffset); } - // GL_OES_texture_3D - glFramebufferTexture3D - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glConfig.m_glFramebufferTexture3DOES) - { - prototypeCalled = true; - glConfig.m_glFramebufferTexture3DOES (target, attachment, textarget, texture, level, zoffset); - } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -11722,6 +11682,12 @@ void _glew_gl_glGetInteger64v (GLenum pname, GLint64 * data) prototypeCalled = true; glConfig.m_glGetInteger64vAPPLE (pname, data); } + // GL_EXT_disjoint_timer_query - glGetInteger64v + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_disjoint_timer_query] && glConfig.m_glGetInteger64vEXT) + { + prototypeCalled = true; + glConfig.m_glGetInteger64vEXT (pname, data); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -11732,7 +11698,7 @@ void _glew_gl_glGetInteger64v (GLenum pname, GLint64 * data) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) +void _glew_gl_glGetSynciv (GLsync sync, GLenum pname, GLsizei count, GLsizei * length, GLint * values) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -11743,25 +11709,25 @@ void _glew_gl_glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_VERSION_3_2] && glConfig.m_glGetSynciv) { prototypeCalled = true; - glConfig.m_glGetSynciv (sync, pname, bufSize, length, values); + glConfig.m_glGetSynciv (sync, pname, count, length, values); } // GL_ES_VERSION_3_0 - glGetSynciv if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ES_VERSION_3_0] && glConfig.m_glGetSynciv) { prototypeCalled = true; - glConfig.m_glGetSynciv (sync, pname, bufSize, length, values); + glConfig.m_glGetSynciv (sync, pname, count, length, values); } // GL_ARB_sync - glGetSynciv if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_sync] && glConfig.m_glGetSynciv) { prototypeCalled = true; - glConfig.m_glGetSynciv (sync, pname, bufSize, length, values); + glConfig.m_glGetSynciv (sync, pname, count, length, values); } // GL_APPLE_sync - glGetSynciv if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_APPLE_sync] && glConfig.m_glGetSyncivAPPLE) { prototypeCalled = true; - glConfig.m_glGetSyncivAPPLE (sync, pname, bufSize, length, values); + glConfig.m_glGetSyncivAPPLE (sync, pname, count, length, values); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -14772,7 +14738,7 @@ void _glew_gl_glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name) +void _glew_gl_glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -14783,13 +14749,13 @@ void _glew_gl_glGetActiveSubroutineUniformName (GLuint program, GLenum shadertyp if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_VERSION_4_0] && glConfig.m_glGetActiveSubroutineUniformName) { prototypeCalled = true; - glConfig.m_glGetActiveSubroutineUniformName (program, shadertype, index, bufsize, length, name); + glConfig.m_glGetActiveSubroutineUniformName (program, shadertype, index, bufSize, length, name); } // GL_ARB_shader_subroutine - glGetActiveSubroutineUniformName if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_shader_subroutine] && glConfig.m_glGetActiveSubroutineUniformName) { prototypeCalled = true; - glConfig.m_glGetActiveSubroutineUniformName (program, shadertype, index, bufsize, length, name); + glConfig.m_glGetActiveSubroutineUniformName (program, shadertype, index, bufSize, length, name); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -14801,7 +14767,7 @@ void _glew_gl_glGetActiveSubroutineUniformName (GLuint program, GLenum shadertyp //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name) +void _glew_gl_glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -14812,13 +14778,13 @@ void _glew_gl_glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLui if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_VERSION_4_0] && glConfig.m_glGetActiveSubroutineName) { prototypeCalled = true; - glConfig.m_glGetActiveSubroutineName (program, shadertype, index, bufsize, length, name); + glConfig.m_glGetActiveSubroutineName (program, shadertype, index, bufSize, length, name); } // GL_ARB_shader_subroutine - glGetActiveSubroutineName if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_shader_subroutine] && glConfig.m_glGetActiveSubroutineName) { prototypeCalled = true; - glConfig.m_glGetActiveSubroutineName (program, shadertype, index, bufsize, length, name); + glConfig.m_glGetActiveSubroutineName (program, shadertype, index, bufSize, length, name); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -15421,7 +15387,7 @@ void _glew_gl_glReleaseShaderCompiler () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glShaderBinary (GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length) +void _glew_gl_glShaderBinary (GLsizei count, const GLuint * shaders, GLenum binaryFormat, const void * binary, GLsizei length) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -15432,19 +15398,19 @@ void _glew_gl_glShaderBinary (GLsizei count, const GLuint * shaders, GLenum bina if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_VERSION_4_1] && glConfig.m_glShaderBinary) { prototypeCalled = true; - glConfig.m_glShaderBinary (count, shaders, binaryformat, binary, length); + glConfig.m_glShaderBinary (count, shaders, binaryFormat, binary, length); } // GL_ES_VERSION_2_0 - glShaderBinary if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ES_VERSION_2_0] && glConfig.m_glShaderBinary) { prototypeCalled = true; - glConfig.m_glShaderBinary (count, shaders, binaryformat, binary, length); + glConfig.m_glShaderBinary (count, shaders, binaryFormat, binary, length); } // GL_ARB_ES2_compatibility - glShaderBinary if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_ES2_compatibility] && glConfig.m_glShaderBinary) { prototypeCalled = true; - glConfig.m_glShaderBinary (count, shaders, binaryformat, binary, length); + glConfig.m_glShaderBinary (count, shaders, binaryFormat, binary, length); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -15650,6 +15616,12 @@ void _glew_gl_glProgramParameteri (GLuint program, GLenum pname, GLint value) #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + // GL_VERSION_4_1 - glProgramParameteri + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_VERSION_4_1] && glConfig.m_glProgramParameteri) + { + prototypeCalled = true; + glConfig.m_glProgramParameteri (program, pname, value); + } // GL_VERSION_4_1 - glProgramParameteri if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_VERSION_4_1] && glConfig.m_glProgramParameteri) { @@ -15668,6 +15640,12 @@ void _glew_gl_glProgramParameteri (GLuint program, GLenum pname, GLint value) prototypeCalled = true; glConfig.m_glProgramParameteri (program, pname, value); } + // GL_ARB_separate_shader_objects - glProgramParameteri + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_separate_shader_objects] && glConfig.m_glProgramParameteri) + { + prototypeCalled = true; + glConfig.m_glProgramParameteri (program, pname, value); + } // GL_ARB_geometry_shader4 - glProgramParameteri if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_geometry_shader4] && glConfig.m_glProgramParameteriARB) { @@ -18181,6 +18159,12 @@ void _glew_gl_glViewportArrayv (GLuint first, GLsizei count, const GLfloat * v) prototypeCalled = true; glConfig.m_glViewportArrayvNV (first, count, v); } + // GL_OES_viewport_array - glViewportArrayv + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glViewportArrayvOES) + { + prototypeCalled = true; + glConfig.m_glViewportArrayvOES (first, count, v); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -18210,6 +18194,12 @@ void _glew_gl_glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, prototypeCalled = true; glConfig.m_glViewportIndexedf (index, x, y, w, h); } + // GL_OES_viewport_array - glViewportIndexedf + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glViewportIndexedfOES) + { + prototypeCalled = true; + glConfig.m_glViewportIndexedfOES (index, x, y, w, h); + } // GL_NV_viewport_array - glViewportIndexedf if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glConfig.m_glViewportIndexedfNV) { @@ -18245,6 +18235,12 @@ void _glew_gl_glViewportIndexedfv (GLuint index, const GLfloat * v) prototypeCalled = true; glConfig.m_glViewportIndexedfv (index, v); } + // GL_OES_viewport_array - glViewportIndexedfv + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glViewportIndexedfvOES) + { + prototypeCalled = true; + glConfig.m_glViewportIndexedfvOES (index, v); + } // GL_NV_viewport_array - glViewportIndexedfv if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glConfig.m_glViewportIndexedfvNV) { @@ -18286,6 +18282,12 @@ void _glew_gl_glScissorArrayv (GLuint first, GLsizei count, const GLint * v) prototypeCalled = true; glConfig.m_glScissorArrayvNV (first, count, v); } + // GL_OES_viewport_array - glScissorArrayv + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glScissorArrayvOES) + { + prototypeCalled = true; + glConfig.m_glScissorArrayvOES (first, count, v); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -18321,6 +18323,12 @@ void _glew_gl_glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei prototypeCalled = true; glConfig.m_glScissorIndexedNV (index, left, bottom, width, height); } + // GL_OES_viewport_array - glScissorIndexed + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glScissorIndexedOES) + { + prototypeCalled = true; + glConfig.m_glScissorIndexedOES (index, left, bottom, width, height); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -18356,6 +18364,12 @@ void _glew_gl_glScissorIndexedv (GLuint index, const GLint * v) prototypeCalled = true; glConfig.m_glScissorIndexedvNV (index, v); } + // GL_OES_viewport_array - glScissorIndexedv + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glScissorIndexedvOES) + { + prototypeCalled = true; + glConfig.m_glScissorIndexedvOES (index, v); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -18449,6 +18463,12 @@ void _glew_gl_glGetFloati_v (GLenum target, GLuint index, GLfloat * data) prototypeCalled = true; glConfig.m_glGetFloati_vNV (target, index, data); } + // GL_OES_viewport_array - glGetFloati_v + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glGetFloati_vOES) + { + prototypeCalled = true; + glConfig.m_glGetFloati_vOES (target, index, data); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -18575,7 +18595,7 @@ void _glew_gl_glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsize //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params) +void _glew_gl_glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -18586,19 +18606,19 @@ void _glew_gl_glGetInternalformativ (GLenum target, GLenum internalformat, GLenu if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_VERSION_4_2] && glConfig.m_glGetInternalformativ) { prototypeCalled = true; - glConfig.m_glGetInternalformativ (target, internalformat, pname, bufSize, params); + glConfig.m_glGetInternalformativ (target, internalformat, pname, count, params); } // GL_ES_VERSION_3_0 - glGetInternalformativ if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ES_VERSION_3_0] && glConfig.m_glGetInternalformativ) { prototypeCalled = true; - glConfig.m_glGetInternalformativ (target, internalformat, pname, bufSize, params); + glConfig.m_glGetInternalformativ (target, internalformat, pname, count, params); } // GL_ARB_internalformat_query - glGetInternalformativ if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_internalformat_query] && glConfig.m_glGetInternalformativ) { prototypeCalled = true; - glConfig.m_glGetInternalformativ (target, internalformat, pname, bufSize, params); + glConfig.m_glGetInternalformativ (target, internalformat, pname, count, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -19123,7 +19143,7 @@ void _glew_gl_glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint * //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 * params) +void _glew_gl_glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -19134,13 +19154,13 @@ void _glew_gl_glGetInternalformati64v (GLenum target, GLenum internalformat, GLe if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_VERSION_4_3] && glConfig.m_glGetInternalformati64v) { prototypeCalled = true; - glConfig.m_glGetInternalformati64v (target, internalformat, pname, bufSize, params); + glConfig.m_glGetInternalformati64v (target, internalformat, pname, count, params); } // GL_ARB_internalformat_query2 - glGetInternalformati64v if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_internalformat_query2] && glConfig.m_glGetInternalformati64v) { prototypeCalled = true; - glConfig.m_glGetInternalformati64v (target, internalformat, pname, bufSize, params); + glConfig.m_glGetInternalformati64v (target, internalformat, pname, count, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -19503,7 +19523,7 @@ void _glew_gl_glGetProgramResourceName (GLuint program, GLenum programInterface, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLint * params) +void _glew_gl_glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei count, GLsizei * length, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -19514,19 +19534,19 @@ void _glew_gl_glGetProgramResourceiv (GLuint program, GLenum programInterface, G if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_VERSION_4_3] && glConfig.m_glGetProgramResourceiv) { prototypeCalled = true; - glConfig.m_glGetProgramResourceiv (program, programInterface, index, propCount, props, bufSize, length, params); + glConfig.m_glGetProgramResourceiv (program, programInterface, index, propCount, props, count, length, params); } // GL_ES_VERSION_3_1 - glGetProgramResourceiv if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ES_VERSION_3_1] && glConfig.m_glGetProgramResourceiv) { prototypeCalled = true; - glConfig.m_glGetProgramResourceiv (program, programInterface, index, propCount, props, bufSize, length, params); + glConfig.m_glGetProgramResourceiv (program, programInterface, index, propCount, props, count, length, params); } // GL_ARB_program_interface_query - glGetProgramResourceiv if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_program_interface_query] && glConfig.m_glGetProgramResourceiv) { prototypeCalled = true; - glConfig.m_glGetProgramResourceiv (program, programInterface, index, propCount, props, bufSize, length, params); + glConfig.m_glGetProgramResourceiv (program, programInterface, index, propCount, props, count, length, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -20725,6 +20745,12 @@ void _glew_gl_glClipControl (GLenum origin, GLenum depth) prototypeCalled = true; glConfig.m_glClipControl (origin, depth); } + // GL_EXT_clip_control - glClipControl + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_clip_control] && glConfig.m_glClipControlEXT) + { + prototypeCalled = true; + glConfig.m_glClipControlEXT (origin, depth); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -23675,6 +23701,12 @@ GLenum _glew_gl_glGetGraphicsResetStatus () prototypeCalled = true; result = glConfig.m_glGetGraphicsResetStatus (); } + // GL_EXT_robustness - glGetGraphicsResetStatus + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glConfig.m_glGetGraphicsResetStatusEXT) + { + prototypeCalled = true; + result = glConfig.m_glGetGraphicsResetStatusEXT (); + } // GL_KHR_robustness - glGetGraphicsResetStatus if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glConfig.m_glGetGraphicsResetStatusKHR) { @@ -23786,6 +23818,12 @@ void _glew_gl_glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, prototypeCalled = true; glConfig.m_glGetnUniformfv (program, location, bufSize, params); } + // GL_EXT_robustness - glGetnUniformfv + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glConfig.m_glGetnUniformfvEXT) + { + prototypeCalled = true; + glConfig.m_glGetnUniformfvEXT (program, location, bufSize, params); + } // GL_KHR_robustness - glGetnUniformfv if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glConfig.m_glGetnUniformfvKHR) { @@ -23827,6 +23865,12 @@ void _glew_gl_glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, prototypeCalled = true; glConfig.m_glGetnUniformiv (program, location, bufSize, params); } + // GL_EXT_robustness - glGetnUniformiv + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glConfig.m_glGetnUniformivEXT) + { + prototypeCalled = true; + glConfig.m_glGetnUniformivEXT (program, location, bufSize, params); + } // GL_KHR_robustness - glGetnUniformiv if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glConfig.m_glGetnUniformivKHR) { @@ -24242,6 +24286,128 @@ void _glew_gl_glTextureBarrier () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gl_glSpecializeShader (GLuint shader, const GLchar * pEntryPoint, GLuint numSpecializationConstants, const GLuint * pConstantIndex, const GLuint * pConstantValue) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_VERSION_4_6 - glSpecializeShader + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_VERSION_4_6] && glConfig.m_glSpecializeShader) + { + prototypeCalled = true; + glConfig.m_glSpecializeShader (shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); + } + // GL_ARB_gl_spirv - glSpecializeShader + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_gl_spirv] && glConfig.m_glSpecializeShaderARB) + { + prototypeCalled = true; + glConfig.m_glSpecializeShaderARB (shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glMultiDrawArraysIndirectCount (GLenum mode, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_VERSION_4_6 - glMultiDrawArraysIndirectCount + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_VERSION_4_6] && glConfig.m_glMultiDrawArraysIndirectCount) + { + prototypeCalled = true; + glConfig.m_glMultiDrawArraysIndirectCount (mode, indirect, drawcount, maxdrawcount, stride); + } + // GL_ARB_indirect_parameters - glMultiDrawArraysIndirectCount + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_indirect_parameters] && glConfig.m_glMultiDrawArraysIndirectCountARB) + { + prototypeCalled = true; + glConfig.m_glMultiDrawArraysIndirectCountARB (mode, indirect, drawcount, maxdrawcount, stride); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_VERSION_4_6 - glMultiDrawElementsIndirectCount + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_VERSION_4_6] && glConfig.m_glMultiDrawElementsIndirectCount) + { + prototypeCalled = true; + glConfig.m_glMultiDrawElementsIndirectCount (mode, type, indirect, drawcount, maxdrawcount, stride); + } + // GL_ARB_indirect_parameters - glMultiDrawElementsIndirectCount + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_indirect_parameters] && glConfig.m_glMultiDrawElementsIndirectCountARB) + { + prototypeCalled = true; + glConfig.m_glMultiDrawElementsIndirectCountARB (mode, type, indirect, drawcount, maxdrawcount, stride); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_VERSION_4_6 - glPolygonOffsetClamp + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_VERSION_4_6] && glConfig.m_glPolygonOffsetClamp) + { + prototypeCalled = true; + glConfig.m_glPolygonOffsetClamp (factor, units, clamp); + } + // GL_ARB_polygon_offset_clamp - glPolygonOffsetClamp + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_polygon_offset_clamp] && glConfig.m_glPolygonOffsetClamp) + { + prototypeCalled = true; + glConfig.m_glPolygonOffsetClamp (factor, units, clamp); + } + // GL_EXT_polygon_offset_clamp - glPolygonOffsetClamp + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_polygon_offset_clamp] && glConfig.m_glPolygonOffsetClampEXT) + { + prototypeCalled = true; + glConfig.m_glPolygonOffsetClampEXT (factor, units, clamp); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gl_glBlendBarrier () { bool prototypeCalled = false; @@ -24410,7 +24576,7 @@ void _glew_gl_glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void * userPar //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint _glew_gl_glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum * categories, GLuint * severities, GLuint * ids, GLsizei * lengths, GLchar * message) +GLuint _glew_gl_glGetDebugMessageLogAMD (GLuint count, GLsizei bufSize, GLenum * categories, GLuint * severities, GLuint * ids, GLsizei * lengths, GLchar * message) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -24422,7 +24588,7 @@ GLuint _glew_gl_glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum * if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_AMD_debug_output] && glConfig.m_glGetDebugMessageLogAMD) { prototypeCalled = true; - result = glConfig.m_glGetDebugMessageLogAMD (count, bufsize, categories, severities, ids, lengths, message); + result = glConfig.m_glGetDebugMessageLogAMD (count, bufSize, categories, severities, ids, lengths, message); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -24527,6 +24693,144 @@ void _glew_gl_glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLe //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gl_glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_AMD_framebuffer_multisample_advanced - glRenderbufferStorageMultisampleAdvancedAMD + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_AMD_framebuffer_multisample_advanced] && glConfig.m_glRenderbufferStorageMultisampleAdvancedAMD) + { + prototypeCalled = true; + glConfig.m_glRenderbufferStorageMultisampleAdvancedAMD (target, samples, storageSamples, internalformat, width, height); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_AMD_framebuffer_multisample_advanced - glNamedRenderbufferStorageMultisampleAdvancedAMD + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_AMD_framebuffer_multisample_advanced] && glConfig.m_glNamedRenderbufferStorageMultisampleAdvancedAMD) + { + prototypeCalled = true; + glConfig.m_glNamedRenderbufferStorageMultisampleAdvancedAMD (renderbuffer, samples, storageSamples, internalformat, width, height); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glFramebufferSamplePositionsfvAMD (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat * values) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_AMD_framebuffer_sample_positions - glFramebufferSamplePositionsfvAMD + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_AMD_framebuffer_sample_positions] && glConfig.m_glFramebufferSamplePositionsfvAMD) + { + prototypeCalled = true; + glConfig.m_glFramebufferSamplePositionsfvAMD (target, numsamples, pixelindex, values); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glNamedFramebufferSamplePositionsfvAMD (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat * values) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_AMD_framebuffer_sample_positions - glNamedFramebufferSamplePositionsfvAMD + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_AMD_framebuffer_sample_positions] && glConfig.m_glNamedFramebufferSamplePositionsfvAMD) + { + prototypeCalled = true; + glConfig.m_glNamedFramebufferSamplePositionsfvAMD (framebuffer, numsamples, pixelindex, values); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGetFramebufferParameterfvAMD (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat * values) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_AMD_framebuffer_sample_positions - glGetFramebufferParameterfvAMD + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_AMD_framebuffer_sample_positions] && glConfig.m_glGetFramebufferParameterfvAMD) + { + prototypeCalled = true; + glConfig.m_glGetFramebufferParameterfvAMD (target, pname, numsamples, pixelindex, size, values); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGetNamedFramebufferParameterfvAMD (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat * values) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_AMD_framebuffer_sample_positions - glGetNamedFramebufferParameterfvAMD + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_AMD_framebuffer_sample_positions] && glConfig.m_glGetNamedFramebufferParameterfvAMD) + { + prototypeCalled = true; + glConfig.m_glGetNamedFramebufferParameterfvAMD (framebuffer, pname, numsamples, pixelindex, size, values); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gl_glUniform1i64NV (GLint location, GLint64EXT x) { bool prototypeCalled = false; @@ -26182,7 +26486,7 @@ void _glew_gl_glVertexAttribDivisorANGLE (GLuint index, GLuint divisor) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei * length, GLchar * source) +void _glew_gl_glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -26193,7 +26497,7 @@ void _glew_gl_glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ANGLE_translated_shader_source] && glConfig.m_glGetTranslatedShaderSourceANGLE) { prototypeCalled = true; - glConfig.m_glGetTranslatedShaderSourceANGLE (shader, bufsize, length, source); + glConfig.m_glGetTranslatedShaderSourceANGLE (shader, bufSize, length, source); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -26842,7 +27146,7 @@ void _glew_gl_glGetInteger64vAPPLE (GLenum pname, GLint64 * params) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) +void _glew_gl_glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei count, GLsizei * length, GLint * values) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -26853,7 +27157,7 @@ void _glew_gl_glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsi if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_APPLE_sync] && glConfig.m_glGetSyncivAPPLE) { prototypeCalled = true; - glConfig.m_glGetSyncivAPPLE (sync, pname, bufSize, length, values); + glConfig.m_glGetSyncivAPPLE (sync, pname, count, length, values); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -28639,6 +28943,29 @@ void _glew_gl_glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLu //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gl_glSpecializeShaderARB (GLuint shader, const GLchar * pEntryPoint, GLuint numSpecializationConstants, const GLuint * pConstantIndex, const GLuint * pConstantValue) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_ARB_gl_spirv - glSpecializeShaderARB + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_gl_spirv] && glConfig.m_glSpecializeShaderARB) + { + prototypeCalled = true; + glConfig.m_glSpecializeShaderARB (shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gl_glUniform1i64ARB (GLint location, GLint64 x) { bool prototypeCalled = false; @@ -30329,7 +30656,7 @@ void _glew_gl_glResetMinmax (GLenum target) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) +void _glew_gl_glMultiDrawArraysIndirectCountARB (GLenum mode, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -30352,7 +30679,7 @@ void _glew_gl_glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) +void _glew_gl_glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -35353,6 +35680,52 @@ GLint _glew_gl_glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB * //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gl_glDepthRangeArraydvNV (GLuint first, GLsizei count, const GLdouble * v) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_ARB_viewport_array - glDepthRangeArraydvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_viewport_array] && glConfig.m_glDepthRangeArraydvNV) + { + prototypeCalled = true; + glConfig.m_glDepthRangeArraydvNV (first, count, v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glDepthRangeIndexeddNV (GLuint index, GLdouble n, GLdouble f) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_ARB_viewport_array - glDepthRangeIndexeddNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_viewport_array] && glConfig.m_glDepthRangeIndexeddNV) + { + prototypeCalled = true; + glConfig.m_glDepthRangeIndexeddNV (index, n, f); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gl_glWindowPos2dARB (GLdouble x, GLdouble y) { bool prototypeCalled = false; @@ -37753,6 +38126,52 @@ void _glew_gl_glVertexBlendEnvfATI (GLenum pname, GLfloat param) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gl_glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_EGL_image_storage - glEGLImageTargetTexStorageEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_EGL_image_storage] && glConfig.m_glEGLImageTargetTexStorageEXT) + { + prototypeCalled = true; + glConfig.m_glEGLImageTargetTexStorageEXT (target, image, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_EGL_image_storage - glEGLImageTargetTextureStorageEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_EGL_image_storage] && glConfig.m_glEGLImageTargetTextureStorageEXT) + { + prototypeCalled = true; + glConfig.m_glEGLImageTargetTextureStorageEXT (texture, image, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gl_glDrawArraysInstancedBaseInstanceEXT (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance) { bool prototypeCalled = false; @@ -38112,6 +38531,75 @@ void _glew_gl_glBufferStorageEXT (GLenum target, GLsizeiptr size, const void * d //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gl_glClearTexImageEXT (GLuint texture, GLint level, GLenum format, GLenum type, const void * data) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_clear_texture - glClearTexImageEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_clear_texture] && glConfig.m_glClearTexImageEXT) + { + prototypeCalled = true; + glConfig.m_glClearTexImageEXT (texture, level, format, type, data); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glClearTexSubImageEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_clear_texture - glClearTexSubImageEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_clear_texture] && glConfig.m_glClearTexSubImageEXT) + { + prototypeCalled = true; + glConfig.m_glClearTexSubImageEXT (texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glClipControlEXT (GLenum origin, GLenum depth) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_clip_control - glClipControlEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_clip_control] && glConfig.m_glClipControlEXT) + { + prototypeCalled = true; + glConfig.m_glClipControlEXT (origin, depth); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gl_glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void * data) { bool prototypeCalled = false; @@ -39344,6 +39832,12 @@ void _glew_gl_glMatrixLoadfEXT (GLenum mode, const GLfloat * m) prototypeCalled = true; glConfig.m_glMatrixLoadfEXT (mode, m); } + // GL_NV_path_rendering - glMatrixLoadfEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixLoadfEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixLoadfEXT (mode, m); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -39367,6 +39861,12 @@ void _glew_gl_glMatrixLoaddEXT (GLenum mode, const GLdouble * m) prototypeCalled = true; glConfig.m_glMatrixLoaddEXT (mode, m); } + // GL_NV_path_rendering - glMatrixLoaddEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixLoaddEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixLoaddEXT (mode, m); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -39390,6 +39890,12 @@ void _glew_gl_glMatrixMultfEXT (GLenum mode, const GLfloat * m) prototypeCalled = true; glConfig.m_glMatrixMultfEXT (mode, m); } + // GL_NV_path_rendering - glMatrixMultfEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixMultfEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixMultfEXT (mode, m); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -39413,6 +39919,12 @@ void _glew_gl_glMatrixMultdEXT (GLenum mode, const GLdouble * m) prototypeCalled = true; glConfig.m_glMatrixMultdEXT (mode, m); } + // GL_NV_path_rendering - glMatrixMultdEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixMultdEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixMultdEXT (mode, m); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -39436,6 +39948,12 @@ void _glew_gl_glMatrixLoadIdentityEXT (GLenum mode) prototypeCalled = true; glConfig.m_glMatrixLoadIdentityEXT (mode); } + // GL_NV_path_rendering - glMatrixLoadIdentityEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixLoadIdentityEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixLoadIdentityEXT (mode); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -39459,6 +39977,12 @@ void _glew_gl_glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat prototypeCalled = true; glConfig.m_glMatrixRotatefEXT (mode, angle, x, y, z); } + // GL_NV_path_rendering - glMatrixRotatefEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixRotatefEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixRotatefEXT (mode, angle, x, y, z); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -39482,6 +40006,12 @@ void _glew_gl_glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdou prototypeCalled = true; glConfig.m_glMatrixRotatedEXT (mode, angle, x, y, z); } + // GL_NV_path_rendering - glMatrixRotatedEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixRotatedEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixRotatedEXT (mode, angle, x, y, z); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -39505,6 +40035,12 @@ void _glew_gl_glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z) prototypeCalled = true; glConfig.m_glMatrixScalefEXT (mode, x, y, z); } + // GL_NV_path_rendering - glMatrixScalefEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixScalefEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixScalefEXT (mode, x, y, z); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -39528,6 +40064,12 @@ void _glew_gl_glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z prototypeCalled = true; glConfig.m_glMatrixScaledEXT (mode, x, y, z); } + // GL_NV_path_rendering - glMatrixScaledEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixScaledEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixScaledEXT (mode, x, y, z); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -39551,6 +40093,12 @@ void _glew_gl_glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat prototypeCalled = true; glConfig.m_glMatrixTranslatefEXT (mode, x, y, z); } + // GL_NV_path_rendering - glMatrixTranslatefEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixTranslatefEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixTranslatefEXT (mode, x, y, z); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -39574,6 +40122,12 @@ void _glew_gl_glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdoub prototypeCalled = true; glConfig.m_glMatrixTranslatedEXT (mode, x, y, z); } + // GL_NV_path_rendering - glMatrixTranslatedEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixTranslatedEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixTranslatedEXT (mode, x, y, z); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -39597,6 +40151,12 @@ void _glew_gl_glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GL prototypeCalled = true; glConfig.m_glMatrixFrustumEXT (mode, left, right, bottom, top, zNear, zFar); } + // GL_NV_path_rendering - glMatrixFrustumEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixFrustumEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixFrustumEXT (mode, left, right, bottom, top, zNear, zFar); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -39620,6 +40180,12 @@ void _glew_gl_glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdo prototypeCalled = true; glConfig.m_glMatrixOrthoEXT (mode, left, right, bottom, top, zNear, zFar); } + // GL_NV_path_rendering - glMatrixOrthoEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixOrthoEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixOrthoEXT (mode, left, right, bottom, top, zNear, zFar); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -39643,6 +40209,12 @@ void _glew_gl_glMatrixPopEXT (GLenum mode) prototypeCalled = true; glConfig.m_glMatrixPopEXT (mode); } + // GL_NV_path_rendering - glMatrixPopEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixPopEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixPopEXT (mode); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -39666,6 +40238,12 @@ void _glew_gl_glMatrixPushEXT (GLenum mode) prototypeCalled = true; glConfig.m_glMatrixPushEXT (mode); } + // GL_NV_path_rendering - glMatrixPushEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixPushEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixPushEXT (mode); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -41630,6 +42208,12 @@ void _glew_gl_glMatrixLoadTransposefEXT (GLenum mode, const GLfloat * m) prototypeCalled = true; glConfig.m_glMatrixLoadTransposefEXT (mode, m); } + // GL_NV_path_rendering - glMatrixLoadTransposefEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixLoadTransposefEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixLoadTransposefEXT (mode, m); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -41653,6 +42237,12 @@ void _glew_gl_glMatrixLoadTransposedEXT (GLenum mode, const GLdouble * m) prototypeCalled = true; glConfig.m_glMatrixLoadTransposedEXT (mode, m); } + // GL_NV_path_rendering - glMatrixLoadTransposedEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixLoadTransposedEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixLoadTransposedEXT (mode, m); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -41676,6 +42266,12 @@ void _glew_gl_glMatrixMultTransposefEXT (GLenum mode, const GLfloat * m) prototypeCalled = true; glConfig.m_glMatrixMultTransposefEXT (mode, m); } + // GL_NV_path_rendering - glMatrixMultTransposefEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixMultTransposefEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixMultTransposefEXT (mode, m); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -41699,6 +42295,12 @@ void _glew_gl_glMatrixMultTransposedEXT (GLenum mode, const GLdouble * m) prototypeCalled = true; glConfig.m_glMatrixMultTransposedEXT (mode, m); } + // GL_NV_path_rendering - glMatrixMultTransposedEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glMatrixMultTransposedEXT) + { + prototypeCalled = true; + glConfig.m_glMatrixMultTransposedEXT (mode, m); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -42415,12 +43017,6 @@ void _glew_gl_glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsi prototypeCalled = true; glConfig.m_glProgramUniformMatrix4fvEXT (program, location, count, transpose, value); } - // GL_EXT_separate_shader_objects - glProgramUniformMatrix4fvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glProgramUniformMatrix4fvEXT) - { - prototypeCalled = true; - glConfig.m_glProgramUniformMatrix4fvEXT (program, location, count, transpose, value); - } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -45790,6 +46386,29 @@ void _glew_gl_glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 * para //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gl_glGetInteger64vEXT (GLenum pname, GLint64 * data) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_disjoint_timer_query - glGetInteger64vEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_disjoint_timer_query] && glConfig.m_glGetInteger64vEXT) + { + prototypeCalled = true; + glConfig.m_glGetInteger64vEXT (pname, data); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gl_glDrawBuffersEXT (GLsizei n, const GLenum * bufs) { bool prototypeCalled = false; @@ -46091,7 +46710,7 @@ void _glew_gl_glDrawElementsInstancedBaseVertexEXT (GLenum mode, GLsizei count, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, const GLint * basevertex) +void _glew_gl_glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount, const GLint * basevertex) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -46102,7 +46721,13 @@ void _glew_gl_glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei * cou if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_draw_elements_base_vertex] && glConfig.m_glMultiDrawElementsBaseVertexEXT) { prototypeCalled = true; - glConfig.m_glMultiDrawElementsBaseVertexEXT (mode, count, type, indices, primcount, basevertex); + glConfig.m_glMultiDrawElementsBaseVertexEXT (mode, count, type, indices, drawcount, basevertex); + } + // GL_OES_draw_elements_base_vertex - glMultiDrawElementsBaseVertexEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_draw_elements_base_vertex] && glConfig.m_glMultiDrawElementsBaseVertexEXT) + { + prototypeCalled = true; + glConfig.m_glMultiDrawElementsBaseVertexEXT (mode, count, type, indices, drawcount, basevertex); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -46195,6 +46820,98 @@ void _glew_gl_glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLs //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gl_glDrawTransformFeedbackEXT (GLenum mode, GLuint id) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_draw_transform_feedback - glDrawTransformFeedbackEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_draw_transform_feedback] && glConfig.m_glDrawTransformFeedbackEXT) + { + prototypeCalled = true; + glConfig.m_glDrawTransformFeedbackEXT (mode, id); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glDrawTransformFeedbackInstancedEXT (GLenum mode, GLuint id, GLsizei instancecount) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_draw_transform_feedback - glDrawTransformFeedbackInstancedEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_draw_transform_feedback] && glConfig.m_glDrawTransformFeedbackInstancedEXT) + { + prototypeCalled = true; + glConfig.m_glDrawTransformFeedbackInstancedEXT (mode, id, instancecount); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_external_buffer - glBufferStorageExternalEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_external_buffer] && glConfig.m_glBufferStorageExternalEXT) + { + prototypeCalled = true; + glConfig.m_glBufferStorageExternalEXT (target, offset, size, clientBuffer, flags); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_external_buffer - glNamedBufferStorageExternalEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_external_buffer] && glConfig.m_glNamedBufferStorageExternalEXT) + { + prototypeCalled = true; + glConfig.m_glNamedBufferStorageExternalEXT (buffer, offset, size, clientBuffer, flags); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gl_glFogCoordfEXT (GLfloat coord) { bool prototypeCalled = false; @@ -47511,18 +48228,24 @@ void _glew_gl_glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsiz //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiDrawArraysEXT (GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount) +void _glew_gl_glGetUnsignedBytevEXT (GLenum pname, GLubyte * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multi_draw_arrays - glMultiDrawArraysEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_arrays] && glConfig.m_glMultiDrawArraysEXT) + // GL_EXT_memory_object - glGetUnsignedBytevEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glGetUnsignedBytevEXT) { prototypeCalled = true; - glConfig.m_glMultiDrawArraysEXT (mode, first, count, primcount); + glConfig.m_glGetUnsignedBytevEXT (pname, data); + } + // GL_EXT_semaphore - glGetUnsignedBytevEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glConfig.m_glGetUnsignedBytevEXT) + { + prototypeCalled = true; + glConfig.m_glGetUnsignedBytevEXT (pname, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47534,18 +48257,24 @@ void _glew_gl_glMultiDrawArraysEXT (GLenum mode, const GLint * first, const GLsi //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiDrawElementsEXT (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount) +void _glew_gl_glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multi_draw_arrays - glMultiDrawElementsEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_arrays] && glConfig.m_glMultiDrawElementsEXT) + // GL_EXT_memory_object - glGetUnsignedBytei_vEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glGetUnsignedBytei_vEXT) { prototypeCalled = true; - glConfig.m_glMultiDrawElementsEXT (mode, count, type, indices, primcount); + glConfig.m_glGetUnsignedBytei_vEXT (target, index, data); + } + // GL_EXT_semaphore - glGetUnsignedBytei_vEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glConfig.m_glGetUnsignedBytei_vEXT) + { + prototypeCalled = true; + glConfig.m_glGetUnsignedBytei_vEXT (target, index, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47557,18 +48286,18 @@ void _glew_gl_glMultiDrawElementsEXT (GLenum mode, const GLsizei * count, GLenum //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiDrawArraysIndirectEXT (GLenum mode, const void * indirect, GLsizei drawcount, GLsizei stride) +void _glew_gl_glDeleteMemoryObjectsEXT (GLsizei n, const GLuint * memoryObjects) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multi_draw_indirect - glMultiDrawArraysIndirectEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_indirect] && glConfig.m_glMultiDrawArraysIndirectEXT) + // GL_EXT_memory_object - glDeleteMemoryObjectsEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glDeleteMemoryObjectsEXT) { prototypeCalled = true; - glConfig.m_glMultiDrawArraysIndirectEXT (mode, indirect, drawcount, stride); + glConfig.m_glDeleteMemoryObjectsEXT (n, memoryObjects); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47580,47 +48309,43 @@ void _glew_gl_glMultiDrawArraysIndirectEXT (GLenum mode, const void * indirect, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void * indirect, GLsizei drawcount, GLsizei stride) +GLboolean _glew_gl_glIsMemoryObjectEXT (GLuint memoryObject) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multi_draw_indirect - glMultiDrawElementsIndirectEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_indirect] && glConfig.m_glMultiDrawElementsIndirectEXT) + // GL_EXT_memory_object - glIsMemoryObjectEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glIsMemoryObjectEXT) { prototypeCalled = true; - glConfig.m_glMultiDrawElementsIndirectEXT (mode, type, indirect, drawcount, stride); + result = glConfig.m_glIsMemoryObjectEXT (memoryObject); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSampleMaskEXT (GLclampf value, GLboolean invert) +void _glew_gl_glCreateMemoryObjectsEXT (GLsizei n, GLuint * memoryObjects) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multisample - glSampleMaskEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multisample] && glConfig.m_glSampleMaskEXT) - { - prototypeCalled = true; - glConfig.m_glSampleMaskEXT (value, invert); - } - // GL_SGIS_multisample - glSampleMaskEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_SGIS_multisample] && glConfig.m_glSampleMaskSGIS) + // GL_EXT_memory_object - glCreateMemoryObjectsEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glCreateMemoryObjectsEXT) { prototypeCalled = true; - glConfig.m_glSampleMaskSGIS (value, invert); + glConfig.m_glCreateMemoryObjectsEXT (n, memoryObjects); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47632,24 +48357,18 @@ void _glew_gl_glSampleMaskEXT (GLclampf value, GLboolean invert) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSamplePatternEXT (GLenum pattern) +void _glew_gl_glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multisample - glSamplePatternEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multisample] && glConfig.m_glSamplePatternEXT) - { - prototypeCalled = true; - glConfig.m_glSamplePatternEXT (pattern); - } - // GL_SGIS_multisample - glSamplePatternEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_SGIS_multisample] && glConfig.m_glSamplePatternSGIS) + // GL_EXT_memory_object - glMemoryObjectParameterivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glMemoryObjectParameterivEXT) { prototypeCalled = true; - glConfig.m_glSamplePatternSGIS (pattern); + glConfig.m_glMemoryObjectParameterivEXT (memoryObject, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47661,18 +48380,18 @@ void _glew_gl_glSamplePatternEXT (GLenum pattern) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) +void _glew_gl_glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multisampled_render_to_texture - glFramebufferTexture2DMultisampleEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multisampled_render_to_texture] && glConfig.m_glFramebufferTexture2DMultisampleEXT) + // GL_EXT_memory_object - glGetMemoryObjectParameterivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glGetMemoryObjectParameterivEXT) { prototypeCalled = true; - glConfig.m_glFramebufferTexture2DMultisampleEXT (target, attachment, textarget, texture, level, samples); + glConfig.m_glGetMemoryObjectParameterivEXT (memoryObject, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47684,18 +48403,18 @@ void _glew_gl_glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attach //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glReadBufferIndexedEXT (GLenum src, GLint index) +void _glew_gl_glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multiview_draw_buffers - glReadBufferIndexedEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multiview_draw_buffers] && glConfig.m_glReadBufferIndexedEXT) + // GL_EXT_memory_object - glTexStorageMem2DEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glTexStorageMem2DEXT) { prototypeCalled = true; - glConfig.m_glReadBufferIndexedEXT (src, index); + glConfig.m_glTexStorageMem2DEXT (target, levels, internalFormat, width, height, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47707,18 +48426,18 @@ void _glew_gl_glReadBufferIndexedEXT (GLenum src, GLint index) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDrawBuffersIndexedEXT (GLint n, const GLenum * location, const GLint * indices) +void _glew_gl_glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multiview_draw_buffers - glDrawBuffersIndexedEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multiview_draw_buffers] && glConfig.m_glDrawBuffersIndexedEXT) + // GL_EXT_memory_object - glTexStorageMem2DMultisampleEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glTexStorageMem2DMultisampleEXT) { prototypeCalled = true; - glConfig.m_glDrawBuffersIndexedEXT (n, location, indices); + glConfig.m_glTexStorageMem2DMultisampleEXT (target, samples, internalFormat, width, height, fixedSampleLocations, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47730,18 +48449,18 @@ void _glew_gl_glDrawBuffersIndexedEXT (GLint n, const GLenum * location, const G //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetIntegeri_vEXT (GLenum target, GLuint index, GLint * data) +void _glew_gl_glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multiview_draw_buffers - glGetIntegeri_vEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multiview_draw_buffers] && glConfig.m_glGetIntegeri_vEXT) + // GL_EXT_memory_object - glTexStorageMem3DEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glTexStorageMem3DEXT) { prototypeCalled = true; - glConfig.m_glGetIntegeri_vEXT (target, index, data); + glConfig.m_glTexStorageMem3DEXT (target, levels, internalFormat, width, height, depth, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47753,18 +48472,18 @@ void _glew_gl_glGetIntegeri_vEXT (GLenum target, GLuint index, GLint * data) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void * table) +void _glew_gl_glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_paletted_texture - glColorTableEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_paletted_texture] && glConfig.m_glColorTableEXT) + // GL_EXT_memory_object - glTexStorageMem3DMultisampleEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glTexStorageMem3DMultisampleEXT) { prototypeCalled = true; - glConfig.m_glColorTableEXT (target, internalFormat, width, format, type, table); + glConfig.m_glTexStorageMem3DMultisampleEXT (target, samples, internalFormat, width, height, depth, fixedSampleLocations, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47776,18 +48495,18 @@ void _glew_gl_glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei wid //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void * data) +void _glew_gl_glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_paletted_texture - glGetColorTableEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_paletted_texture] && glConfig.m_glGetColorTableEXT) + // GL_EXT_memory_object - glBufferStorageMemEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glBufferStorageMemEXT) { prototypeCalled = true; - glConfig.m_glGetColorTableEXT (target, format, type, data); + glConfig.m_glBufferStorageMemEXT (target, size, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47799,18 +48518,18 @@ void _glew_gl_glGetColorTableEXT (GLenum target, GLenum format, GLenum type, voi //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint * params) +void _glew_gl_glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_paletted_texture - glGetColorTableParameterivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_paletted_texture] && glConfig.m_glGetColorTableParameterivEXT) + // GL_EXT_memory_object - glTextureStorageMem2DEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glTextureStorageMem2DEXT) { prototypeCalled = true; - glConfig.m_glGetColorTableParameterivEXT (target, pname, params); + glConfig.m_glTextureStorageMem2DEXT (texture, levels, internalFormat, width, height, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47822,18 +48541,18 @@ void _glew_gl_glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat * params) +void _glew_gl_glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_paletted_texture - glGetColorTableParameterfvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_paletted_texture] && glConfig.m_glGetColorTableParameterfvEXT) + // GL_EXT_memory_object - glTextureStorageMem2DMultisampleEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glTextureStorageMem2DMultisampleEXT) { prototypeCalled = true; - glConfig.m_glGetColorTableParameterfvEXT (target, pname, params); + glConfig.m_glTextureStorageMem2DMultisampleEXT (texture, samples, internalFormat, width, height, fixedSampleLocations, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47845,18 +48564,18 @@ void _glew_gl_glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloa //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param) +void _glew_gl_glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_pixel_transform - glPixelTransformParameteriEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_pixel_transform] && glConfig.m_glPixelTransformParameteriEXT) + // GL_EXT_memory_object - glTextureStorageMem3DEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glTextureStorageMem3DEXT) { prototypeCalled = true; - glConfig.m_glPixelTransformParameteriEXT (target, pname, param); + glConfig.m_glTextureStorageMem3DEXT (texture, levels, internalFormat, width, height, depth, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47868,18 +48587,18 @@ void _glew_gl_glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param) +void _glew_gl_glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_pixel_transform - glPixelTransformParameterfEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_pixel_transform] && glConfig.m_glPixelTransformParameterfEXT) + // GL_EXT_memory_object - glTextureStorageMem3DMultisampleEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glTextureStorageMem3DMultisampleEXT) { prototypeCalled = true; - glConfig.m_glPixelTransformParameterfEXT (target, pname, param); + glConfig.m_glTextureStorageMem3DMultisampleEXT (texture, samples, internalFormat, width, height, depth, fixedSampleLocations, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47891,18 +48610,18 @@ void _glew_gl_glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloa //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint * params) +void _glew_gl_glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_pixel_transform - glPixelTransformParameterivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_pixel_transform] && glConfig.m_glPixelTransformParameterivEXT) + // GL_EXT_memory_object - glNamedBufferStorageMemEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glNamedBufferStorageMemEXT) { prototypeCalled = true; - glConfig.m_glPixelTransformParameterivEXT (target, pname, params); + glConfig.m_glNamedBufferStorageMemEXT (buffer, size, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47914,18 +48633,18 @@ void _glew_gl_glPixelTransformParameterivEXT (GLenum target, GLenum pname, const //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat * params) +void _glew_gl_glTexStorageMem1DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_pixel_transform - glPixelTransformParameterfvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_pixel_transform] && glConfig.m_glPixelTransformParameterfvEXT) + // GL_EXT_memory_object - glTexStorageMem1DEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glTexStorageMem1DEXT) { prototypeCalled = true; - glConfig.m_glPixelTransformParameterfvEXT (target, pname, params); + glConfig.m_glTexStorageMem1DEXT (target, levels, internalFormat, width, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47937,18 +48656,18 @@ void _glew_gl_glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint * params) +void _glew_gl_glTextureStorageMem1DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_pixel_transform - glGetPixelTransformParameterivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_pixel_transform] && glConfig.m_glGetPixelTransformParameterivEXT) + // GL_EXT_memory_object - glTextureStorageMem1DEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glConfig.m_glTextureStorageMem1DEXT) { prototypeCalled = true; - glConfig.m_glGetPixelTransformParameterivEXT (target, pname, params); + glConfig.m_glTextureStorageMem1DEXT (texture, levels, internalFormat, width, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47960,18 +48679,18 @@ void _glew_gl_glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat * params) +void _glew_gl_glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_pixel_transform - glGetPixelTransformParameterfvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_pixel_transform] && glConfig.m_glGetPixelTransformParameterfvEXT) + // GL_EXT_memory_object_fd - glImportMemoryFdEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object_fd] && glConfig.m_glImportMemoryFdEXT) { prototypeCalled = true; - glConfig.m_glGetPixelTransformParameterfvEXT (target, pname, params); + glConfig.m_glImportMemoryFdEXT (memory, size, handleType, fd); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -47983,18 +48702,18 @@ void _glew_gl_glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glPointParameterfEXT (GLenum pname, GLfloat param) +void _glew_gl_glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void * handle) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_point_parameters - glPointParameterfEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_point_parameters] && glConfig.m_glPointParameterfEXT) + // GL_EXT_memory_object_win32 - glImportMemoryWin32HandleEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object_win32] && glConfig.m_glImportMemoryWin32HandleEXT) { prototypeCalled = true; - glConfig.m_glPointParameterfEXT (pname, param); + glConfig.m_glImportMemoryWin32HandleEXT (memory, size, handleType, handle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48006,18 +48725,18 @@ void _glew_gl_glPointParameterfEXT (GLenum pname, GLfloat param) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glPointParameterfvEXT (GLenum pname, const GLfloat * params) +void _glew_gl_glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void * name) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_point_parameters - glPointParameterfvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_point_parameters] && glConfig.m_glPointParameterfvEXT) + // GL_EXT_memory_object_win32 - glImportMemoryWin32NameEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_memory_object_win32] && glConfig.m_glImportMemoryWin32NameEXT) { prototypeCalled = true; - glConfig.m_glPointParameterfvEXT (pname, params); + glConfig.m_glImportMemoryWin32NameEXT (memory, size, handleType, name); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48029,18 +48748,18 @@ void _glew_gl_glPointParameterfvEXT (GLenum pname, const GLfloat * params) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glPolygonOffsetEXT (GLfloat factor, GLfloat bias) +void _glew_gl_glMultiDrawArraysEXT (GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_polygon_offset - glPolygonOffsetEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_polygon_offset] && glConfig.m_glPolygonOffsetEXT) + // GL_EXT_multi_draw_arrays - glMultiDrawArraysEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_arrays] && glConfig.m_glMultiDrawArraysEXT) { prototypeCalled = true; - glConfig.m_glPolygonOffsetEXT (factor, bias); + glConfig.m_glMultiDrawArraysEXT (mode, first, count, primcount); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48052,18 +48771,18 @@ void _glew_gl_glPolygonOffsetEXT (GLfloat factor, GLfloat bias) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp) +void _glew_gl_glMultiDrawElementsEXT (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_polygon_offset_clamp - glPolygonOffsetClampEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_polygon_offset_clamp] && glConfig.m_glPolygonOffsetClampEXT) + // GL_EXT_multi_draw_arrays - glMultiDrawElementsEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_arrays] && glConfig.m_glMultiDrawElementsEXT) { prototypeCalled = true; - glConfig.m_glPolygonOffsetClampEXT (factor, units, clamp); + glConfig.m_glMultiDrawElementsEXT (mode, count, type, indices, primcount); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48075,18 +48794,18 @@ void _glew_gl_glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat cl //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW) +void _glew_gl_glMultiDrawArraysIndirectEXT (GLenum mode, const void * indirect, GLsizei drawcount, GLsizei stride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_primitive_bounding_box - glPrimitiveBoundingBoxEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_primitive_bounding_box] && glConfig.m_glPrimitiveBoundingBoxEXT) + // GL_EXT_multi_draw_indirect - glMultiDrawArraysIndirectEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_indirect] && glConfig.m_glMultiDrawArraysIndirectEXT) { prototypeCalled = true; - glConfig.m_glPrimitiveBoundingBoxEXT (minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); + glConfig.m_glMultiDrawArraysIndirectEXT (mode, indirect, drawcount, stride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48098,18 +48817,18 @@ void _glew_gl_glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat min //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProvokingVertexEXT (GLenum mode) +void _glew_gl_glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void * indirect, GLsizei drawcount, GLsizei stride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_provoking_vertex - glProvokingVertexEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_provoking_vertex] && glConfig.m_glProvokingVertexEXT) + // GL_EXT_multi_draw_indirect - glMultiDrawElementsIndirectEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_indirect] && glConfig.m_glMultiDrawElementsIndirectEXT) { prototypeCalled = true; - glConfig.m_glProvokingVertexEXT (mode); + glConfig.m_glMultiDrawElementsIndirectEXT (mode, type, indirect, drawcount, stride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48121,30 +48840,24 @@ void _glew_gl_glProvokingVertexEXT (GLenum mode) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations) +void _glew_gl_glSampleMaskEXT (GLclampf value, GLboolean invert) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_raster_multisample - glRasterSamplesEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_raster_multisample] && glConfig.m_glRasterSamplesEXT) - { - prototypeCalled = true; - glConfig.m_glRasterSamplesEXT (samples, fixedsamplelocations); - } - // GL_EXT_texture_filter_minmax - glRasterSamplesEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_filter_minmax] && glConfig.m_glRasterSamplesEXT) + // GL_EXT_multisample - glSampleMaskEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multisample] && glConfig.m_glSampleMaskEXT) { prototypeCalled = true; - glConfig.m_glRasterSamplesEXT (samples, fixedsamplelocations); + glConfig.m_glSampleMaskEXT (value, invert); } - // GL_NV_framebuffer_mixed_samples - glRasterSamplesEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glConfig.m_glRasterSamplesEXT) + // GL_SGIS_multisample - glSampleMaskEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_SGIS_multisample] && glConfig.m_glSampleMaskSGIS) { prototypeCalled = true; - glConfig.m_glRasterSamplesEXT (samples, fixedsamplelocations); + glConfig.m_glSampleMaskSGIS (value, invert); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48156,43 +48869,47 @@ void _glew_gl_glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLenum _glew_gl_glGetGraphicsResetStatusEXT () +void _glew_gl_glSamplePatternEXT (GLenum pattern) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLenum result = ((GLenum)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_robustness - glGetGraphicsResetStatusEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glConfig.m_glGetGraphicsResetStatusEXT) + // GL_EXT_multisample - glSamplePatternEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multisample] && glConfig.m_glSamplePatternEXT) { prototypeCalled = true; - result = glConfig.m_glGetGraphicsResetStatusEXT (); + glConfig.m_glSamplePatternEXT (pattern); + } + // GL_SGIS_multisample - glSamplePatternEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_SGIS_multisample] && glConfig.m_glSamplePatternSGIS) + { + prototypeCalled = true; + glConfig.m_glSamplePatternSGIS (pattern); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) +void _glew_gl_glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_robustness - glReadnPixelsEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glConfig.m_glReadnPixelsEXT) + // GL_EXT_multisampled_render_to_texture - glFramebufferTexture2DMultisampleEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multisampled_render_to_texture] && glConfig.m_glFramebufferTexture2DMultisampleEXT) { prototypeCalled = true; - glConfig.m_glReadnPixelsEXT (x, y, width, height, format, type, bufSize, data); + glConfig.m_glFramebufferTexture2DMultisampleEXT (target, attachment, textarget, texture, level, samples); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48204,18 +48921,18 @@ void _glew_gl_glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat * params) +void _glew_gl_glReadBufferIndexedEXT (GLenum src, GLint index) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_robustness - glGetnUniformfvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glConfig.m_glGetnUniformfvEXT) + // GL_EXT_multiview_draw_buffers - glReadBufferIndexedEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multiview_draw_buffers] && glConfig.m_glReadBufferIndexedEXT) { prototypeCalled = true; - glConfig.m_glGetnUniformfvEXT (program, location, bufSize, params); + glConfig.m_glReadBufferIndexedEXT (src, index); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48227,18 +48944,18 @@ void _glew_gl_glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSiz //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint * params) +void _glew_gl_glDrawBuffersIndexedEXT (GLint n, const GLenum * location, const GLint * indices) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_robustness - glGetnUniformivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glConfig.m_glGetnUniformivEXT) + // GL_EXT_multiview_draw_buffers - glDrawBuffersIndexedEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multiview_draw_buffers] && glConfig.m_glDrawBuffersIndexedEXT) { prototypeCalled = true; - glConfig.m_glGetnUniformivEXT (program, location, bufSize, params); + glConfig.m_glDrawBuffersIndexedEXT (n, location, indices); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48250,18 +48967,18 @@ void _glew_gl_glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSiz //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue) +void _glew_gl_glGetIntegeri_vEXT (GLenum target, GLuint index, GLint * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3bEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3bEXT) + // GL_EXT_multiview_draw_buffers - glGetIntegeri_vEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_multiview_draw_buffers] && glConfig.m_glGetIntegeri_vEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3bEXT (red, green, blue); + glConfig.m_glGetIntegeri_vEXT (target, index, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48273,18 +48990,18 @@ void _glew_gl_glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3bvEXT (const GLbyte * v) +void _glew_gl_glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void * table) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3bvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3bvEXT) + // GL_EXT_paletted_texture - glColorTableEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_paletted_texture] && glConfig.m_glColorTableEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3bvEXT (v); + glConfig.m_glColorTableEXT (target, internalFormat, width, format, type, table); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48296,18 +49013,18 @@ void _glew_gl_glSecondaryColor3bvEXT (const GLbyte * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue) +void _glew_gl_glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3dEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3dEXT) + // GL_EXT_paletted_texture - glGetColorTableEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_paletted_texture] && glConfig.m_glGetColorTableEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3dEXT (red, green, blue); + glConfig.m_glGetColorTableEXT (target, format, type, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48319,18 +49036,18 @@ void _glew_gl_glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3dvEXT (const GLdouble * v) +void _glew_gl_glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3dvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3dvEXT) + // GL_EXT_paletted_texture - glGetColorTableParameterivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_paletted_texture] && glConfig.m_glGetColorTableParameterivEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3dvEXT (v); + glConfig.m_glGetColorTableParameterivEXT (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48342,18 +49059,18 @@ void _glew_gl_glSecondaryColor3dvEXT (const GLdouble * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue) +void _glew_gl_glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3fEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3fEXT) + // GL_EXT_paletted_texture - glGetColorTableParameterfvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_paletted_texture] && glConfig.m_glGetColorTableParameterfvEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3fEXT (red, green, blue); + glConfig.m_glGetColorTableParameterfvEXT (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48365,18 +49082,18 @@ void _glew_gl_glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3fvEXT (const GLfloat * v) +void _glew_gl_glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3fvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3fvEXT) + // GL_EXT_pixel_transform - glPixelTransformParameteriEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_pixel_transform] && glConfig.m_glPixelTransformParameteriEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3fvEXT (v); + glConfig.m_glPixelTransformParameteriEXT (target, pname, param); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48388,18 +49105,18 @@ void _glew_gl_glSecondaryColor3fvEXT (const GLfloat * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3iEXT (GLint red, GLint green, GLint blue) +void _glew_gl_glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3iEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3iEXT) + // GL_EXT_pixel_transform - glPixelTransformParameterfEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_pixel_transform] && glConfig.m_glPixelTransformParameterfEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3iEXT (red, green, blue); + glConfig.m_glPixelTransformParameterfEXT (target, pname, param); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48411,18 +49128,18 @@ void _glew_gl_glSecondaryColor3iEXT (GLint red, GLint green, GLint blue) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3ivEXT (const GLint * v) +void _glew_gl_glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3ivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3ivEXT) + // GL_EXT_pixel_transform - glPixelTransformParameterivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_pixel_transform] && glConfig.m_glPixelTransformParameterivEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3ivEXT (v); + glConfig.m_glPixelTransformParameterivEXT (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48434,18 +49151,18 @@ void _glew_gl_glSecondaryColor3ivEXT (const GLint * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue) +void _glew_gl_glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3sEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3sEXT) + // GL_EXT_pixel_transform - glPixelTransformParameterfvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_pixel_transform] && glConfig.m_glPixelTransformParameterfvEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3sEXT (red, green, blue); + glConfig.m_glPixelTransformParameterfvEXT (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48457,18 +49174,18 @@ void _glew_gl_glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3svEXT (const GLshort * v) +void _glew_gl_glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3svEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3svEXT) + // GL_EXT_pixel_transform - glGetPixelTransformParameterivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_pixel_transform] && glConfig.m_glGetPixelTransformParameterivEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3svEXT (v); + glConfig.m_glGetPixelTransformParameterivEXT (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48480,18 +49197,18 @@ void _glew_gl_glSecondaryColor3svEXT (const GLshort * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue) +void _glew_gl_glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3ubEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3ubEXT) + // GL_EXT_pixel_transform - glGetPixelTransformParameterfvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_pixel_transform] && glConfig.m_glGetPixelTransformParameterfvEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3ubEXT (red, green, blue); + glConfig.m_glGetPixelTransformParameterfvEXT (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48503,18 +49220,18 @@ void _glew_gl_glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3ubvEXT (const GLubyte * v) +void _glew_gl_glPointParameterfEXT (GLenum pname, GLfloat param) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3ubvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3ubvEXT) + // GL_EXT_point_parameters - glPointParameterfEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_point_parameters] && glConfig.m_glPointParameterfEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3ubvEXT (v); + glConfig.m_glPointParameterfEXT (pname, param); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48526,18 +49243,18 @@ void _glew_gl_glSecondaryColor3ubvEXT (const GLubyte * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue) +void _glew_gl_glPointParameterfvEXT (GLenum pname, const GLfloat * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3uiEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3uiEXT) + // GL_EXT_point_parameters - glPointParameterfvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_point_parameters] && glConfig.m_glPointParameterfvEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3uiEXT (red, green, blue); + glConfig.m_glPointParameterfvEXT (pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48549,18 +49266,18 @@ void _glew_gl_glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3uivEXT (const GLuint * v) +void _glew_gl_glPolygonOffsetEXT (GLfloat factor, GLfloat bias) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3uivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3uivEXT) + // GL_EXT_polygon_offset - glPolygonOffsetEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_polygon_offset] && glConfig.m_glPolygonOffsetEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3uivEXT (v); + glConfig.m_glPolygonOffsetEXT (factor, bias); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48572,18 +49289,18 @@ void _glew_gl_glSecondaryColor3uivEXT (const GLuint * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue) +void _glew_gl_glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3usEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3usEXT) + // GL_EXT_polygon_offset_clamp - glPolygonOffsetClampEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_polygon_offset_clamp] && glConfig.m_glPolygonOffsetClampEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3usEXT (red, green, blue); + glConfig.m_glPolygonOffsetClampEXT (factor, units, clamp); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48595,18 +49312,18 @@ void _glew_gl_glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blu //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3usvEXT (const GLushort * v) +void _glew_gl_glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColor3usvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3usvEXT) + // GL_EXT_primitive_bounding_box - glPrimitiveBoundingBoxEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_primitive_bounding_box] && glConfig.m_glPrimitiveBoundingBoxEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColor3usvEXT (v); + glConfig.m_glPrimitiveBoundingBoxEXT (minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48618,18 +49335,18 @@ void _glew_gl_glSecondaryColor3usvEXT (const GLushort * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void * pointer) +void _glew_gl_glProvokingVertexEXT (GLenum mode) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_secondary_color - glSecondaryColorPointerEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColorPointerEXT) + // GL_EXT_provoking_vertex - glProvokingVertexEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_provoking_vertex] && glConfig.m_glProvokingVertexEXT) { prototypeCalled = true; - glConfig.m_glSecondaryColorPointerEXT (size, type, stride, pointer); + glConfig.m_glProvokingVertexEXT (mode); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48641,18 +49358,24 @@ void _glew_gl_glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei strid //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glUseShaderProgramEXT (GLenum type, GLuint program) +void _glew_gl_glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glUseShaderProgramEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glUseShaderProgramEXT) + // GL_EXT_raster_multisample - glRasterSamplesEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_raster_multisample] && glConfig.m_glRasterSamplesEXT) { prototypeCalled = true; - glConfig.m_glUseShaderProgramEXT (type, program); + glConfig.m_glRasterSamplesEXT (samples, fixedsamplelocations); + } + // GL_NV_framebuffer_mixed_samples - glRasterSamplesEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glConfig.m_glRasterSamplesEXT) + { + prototypeCalled = true; + glConfig.m_glRasterSamplesEXT (samples, fixedsamplelocations); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48664,66 +49387,66 @@ void _glew_gl_glUseShaderProgramEXT (GLenum type, GLuint program) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glActiveProgramEXT (GLuint program) +GLenum _glew_gl_glGetGraphicsResetStatusEXT () { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLenum result = ((GLenum)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glActiveProgramEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glActiveProgramEXT) + // GL_EXT_robustness - glGetGraphicsResetStatusEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glConfig.m_glGetGraphicsResetStatusEXT) { prototypeCalled = true; - glConfig.m_glActiveProgramEXT (program); + result = glConfig.m_glGetGraphicsResetStatusEXT (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint _glew_gl_glCreateShaderProgramEXT (GLenum type, const GLchar * string) +void _glew_gl_glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glCreateShaderProgramEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glCreateShaderProgramEXT) + // GL_EXT_robustness - glReadnPixelsEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glConfig.m_glReadnPixelsEXT) { prototypeCalled = true; - result = glConfig.m_glCreateShaderProgramEXT (type, string); + glConfig.m_glReadnPixelsEXT (x, y, width, height, format, type, bufSize, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glActiveShaderProgramEXT (GLuint pipeline, GLuint program) +void _glew_gl_glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glActiveShaderProgramEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glActiveShaderProgramEXT) + // GL_EXT_robustness - glGetnUniformfvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glConfig.m_glGetnUniformfvEXT) { prototypeCalled = true; - glConfig.m_glActiveShaderProgramEXT (pipeline, program); + glConfig.m_glGetnUniformfvEXT (program, location, bufSize, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48735,18 +49458,18 @@ void _glew_gl_glActiveShaderProgramEXT (GLuint pipeline, GLuint program) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBindProgramPipelineEXT (GLuint pipeline) +void _glew_gl_glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glBindProgramPipelineEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glBindProgramPipelineEXT) + // GL_EXT_robustness - glGetnUniformivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glConfig.m_glGetnUniformivEXT) { prototypeCalled = true; - glConfig.m_glBindProgramPipelineEXT (pipeline); + glConfig.m_glGetnUniformivEXT (program, location, bufSize, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48758,43 +49481,41 @@ void _glew_gl_glBindProgramPipelineEXT (GLuint pipeline) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint _glew_gl_glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar ** strings) +void _glew_gl_glGenSemaphoresEXT (GLsizei n, GLuint * semaphores) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glCreateShaderProgramvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glCreateShaderProgramvEXT) + // GL_EXT_semaphore - glGenSemaphoresEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glConfig.m_glGenSemaphoresEXT) { prototypeCalled = true; - result = glConfig.m_glCreateShaderProgramvEXT (type, count, strings); + glConfig.m_glGenSemaphoresEXT (n, semaphores); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDeleteProgramPipelinesEXT (GLsizei n, const GLuint * pipelines) +void _glew_gl_glDeleteSemaphoresEXT (GLsizei n, const GLuint * semaphores) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glDeleteProgramPipelinesEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glDeleteProgramPipelinesEXT) + // GL_EXT_semaphore - glDeleteSemaphoresEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glConfig.m_glDeleteSemaphoresEXT) { prototypeCalled = true; - glConfig.m_glDeleteProgramPipelinesEXT (n, pipelines); + glConfig.m_glDeleteSemaphoresEXT (n, semaphores); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48806,41 +49527,43 @@ void _glew_gl_glDeleteProgramPipelinesEXT (GLsizei n, const GLuint * pipelines) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGenProgramPipelinesEXT (GLsizei n, GLuint * pipelines) +GLboolean _glew_gl_glIsSemaphoreEXT (GLuint semaphore) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glGenProgramPipelinesEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glGenProgramPipelinesEXT) + // GL_EXT_semaphore - glIsSemaphoreEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glConfig.m_glIsSemaphoreEXT) { prototypeCalled = true; - glConfig.m_glGenProgramPipelinesEXT (n, pipelines); + result = glConfig.m_glIsSemaphoreEXT (semaphore); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog) +void _glew_gl_glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glGetProgramPipelineInfoLogEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glGetProgramPipelineInfoLogEXT) + // GL_EXT_semaphore - glSemaphoreParameterui64vEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glConfig.m_glSemaphoreParameterui64vEXT) { prototypeCalled = true; - glConfig.m_glGetProgramPipelineInfoLogEXT (pipeline, bufSize, length, infoLog); + glConfig.m_glSemaphoreParameterui64vEXT (semaphore, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48852,18 +49575,18 @@ void _glew_gl_glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint * params) +void _glew_gl_glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glGetProgramPipelineivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glGetProgramPipelineivEXT) + // GL_EXT_semaphore - glGetSemaphoreParameterui64vEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glConfig.m_glGetSemaphoreParameterui64vEXT) { prototypeCalled = true; - glConfig.m_glGetProgramPipelineivEXT (pipeline, pname, params); + glConfig.m_glGetSemaphoreParameterui64vEXT (semaphore, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48875,43 +49598,41 @@ void _glew_gl_glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint * //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gl_glIsProgramPipelineEXT (GLuint pipeline) +void _glew_gl_glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * srcLayouts) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glIsProgramPipelineEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glIsProgramPipelineEXT) + // GL_EXT_semaphore - glWaitSemaphoreEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glConfig.m_glWaitSemaphoreEXT) { prototypeCalled = true; - result = glConfig.m_glIsProgramPipelineEXT (pipeline); + glConfig.m_glWaitSemaphoreEXT (semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program) +void _glew_gl_glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * dstLayouts) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glUseProgramStagesEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glUseProgramStagesEXT) + // GL_EXT_semaphore - glSignalSemaphoreEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glConfig.m_glSignalSemaphoreEXT) { prototypeCalled = true; - glConfig.m_glUseProgramStagesEXT (pipeline, stages, program); + glConfig.m_glSignalSemaphoreEXT (semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48923,18 +49644,18 @@ void _glew_gl_glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glValidateProgramPipelineEXT (GLuint pipeline) +void _glew_gl_glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glValidateProgramPipelineEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glValidateProgramPipelineEXT) + // GL_EXT_semaphore_fd - glImportSemaphoreFdEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_semaphore_fd] && glConfig.m_glImportSemaphoreFdEXT) { prototypeCalled = true; - glConfig.m_glValidateProgramPipelineEXT (pipeline); + glConfig.m_glImportSemaphoreFdEXT (semaphore, handleType, fd); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48946,18 +49667,18 @@ void _glew_gl_glValidateProgramPipelineEXT (GLuint pipeline) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format) +void _glew_gl_glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void * handle) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_shader_image_load_store - glBindImageTextureEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_shader_image_load_store] && glConfig.m_glBindImageTextureEXT) + // GL_EXT_semaphore_win32 - glImportSemaphoreWin32HandleEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_semaphore_win32] && glConfig.m_glImportSemaphoreWin32HandleEXT) { prototypeCalled = true; - glConfig.m_glBindImageTextureEXT (index, texture, level, layered, layer, access, format); + glConfig.m_glImportSemaphoreWin32HandleEXT (semaphore, handleType, handle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48969,18 +49690,18 @@ void _glew_gl_glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMemoryBarrierEXT (GLbitfield barriers) +void _glew_gl_glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void * name) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_shader_image_load_store - glMemoryBarrierEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_shader_image_load_store] && glConfig.m_glMemoryBarrierEXT) + // GL_EXT_semaphore_win32 - glImportSemaphoreWin32NameEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_semaphore_win32] && glConfig.m_glImportSemaphoreWin32NameEXT) { prototypeCalled = true; - glConfig.m_glMemoryBarrierEXT (barriers); + glConfig.m_glImportSemaphoreWin32NameEXT (semaphore, handleType, name); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -48992,18 +49713,18 @@ void _glew_gl_glMemoryBarrierEXT (GLbitfield barriers) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit) +void _glew_gl_glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_sparse_texture - glTexPageCommitmentEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_sparse_texture] && glConfig.m_glTexPageCommitmentEXT) + // GL_EXT_secondary_color - glSecondaryColor3bEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3bEXT) { prototypeCalled = true; - glConfig.m_glTexPageCommitmentEXT (target, level, xoffset, yoffset, zoffset, width, height, depth, commit); + glConfig.m_glSecondaryColor3bEXT (red, green, blue); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49015,18 +49736,18 @@ void _glew_gl_glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag) +void _glew_gl_glSecondaryColor3bvEXT (const GLbyte * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_stencil_clear_tag - glStencilClearTagEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_stencil_clear_tag] && glConfig.m_glStencilClearTagEXT) + // GL_EXT_secondary_color - glSecondaryColor3bvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3bvEXT) { prototypeCalled = true; - glConfig.m_glStencilClearTagEXT (stencilTagBits, stencilClearTag); + glConfig.m_glSecondaryColor3bvEXT (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49038,18 +49759,18 @@ void _glew_gl_glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearT //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glActiveStencilFaceEXT (GLenum face) +void _glew_gl_glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_stencil_two_side - glActiveStencilFaceEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_stencil_two_side] && glConfig.m_glActiveStencilFaceEXT) + // GL_EXT_secondary_color - glSecondaryColor3dEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3dEXT) { prototypeCalled = true; - glConfig.m_glActiveStencilFaceEXT (face); + glConfig.m_glSecondaryColor3dEXT (red, green, blue); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49061,18 +49782,18 @@ void _glew_gl_glActiveStencilFaceEXT (GLenum face) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels) +void _glew_gl_glSecondaryColor3dvEXT (const GLdouble * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_subtexture - glTexSubImage1DEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_subtexture] && glConfig.m_glTexSubImage1DEXT) + // GL_EXT_secondary_color - glSecondaryColor3dvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3dvEXT) { prototypeCalled = true; - glConfig.m_glTexSubImage1DEXT (target, level, xoffset, width, format, type, pixels); + glConfig.m_glSecondaryColor3dvEXT (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49084,18 +49805,18 @@ void _glew_gl_glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLs //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) +void _glew_gl_glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_subtexture - glTexSubImage2DEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_subtexture] && glConfig.m_glTexSubImage2DEXT) + // GL_EXT_secondary_color - glSecondaryColor3fEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3fEXT) { prototypeCalled = true; - glConfig.m_glTexSubImage2DEXT (target, level, xoffset, yoffset, width, height, format, type, pixels); + glConfig.m_glSecondaryColor3fEXT (red, green, blue); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49107,18 +49828,18 @@ void _glew_gl_glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLi //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glPatchParameteriEXT (GLenum pname, GLint value) +void _glew_gl_glSecondaryColor3fvEXT (const GLfloat * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_tessellation_shader - glPatchParameteriEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_tessellation_shader] && glConfig.m_glPatchParameteriEXT) + // GL_EXT_secondary_color - glSecondaryColor3fvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3fvEXT) { prototypeCalled = true; - glConfig.m_glPatchParameteriEXT (pname, value); + glConfig.m_glSecondaryColor3fvEXT (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49130,18 +49851,18 @@ void _glew_gl_glPatchParameteriEXT (GLenum pname, GLint value) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) +void _glew_gl_glSecondaryColor3iEXT (GLint red, GLint green, GLint blue) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture3D - glTexImage3DEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture3D] && glConfig.m_glTexImage3DEXT) + // GL_EXT_secondary_color - glSecondaryColor3iEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3iEXT) { prototypeCalled = true; - glConfig.m_glTexImage3DEXT (target, level, internalformat, width, height, depth, border, format, type, pixels); + glConfig.m_glSecondaryColor3iEXT (red, green, blue); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49153,18 +49874,18 @@ void _glew_gl_glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) +void _glew_gl_glSecondaryColor3ivEXT (const GLint * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture3D - glTexSubImage3DEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture3D] && glConfig.m_glTexSubImage3DEXT) + // GL_EXT_secondary_color - glSecondaryColor3ivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3ivEXT) { prototypeCalled = true; - glConfig.m_glTexSubImage3DEXT (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); + glConfig.m_glSecondaryColor3ivEXT (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49176,24 +49897,18 @@ void _glew_gl_glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLi //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) +void _glew_gl_glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_array - glFramebufferTextureLayerEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_array] && glConfig.m_glFramebufferTextureLayerEXT) - { - prototypeCalled = true; - glConfig.m_glFramebufferTextureLayerEXT (target, attachment, texture, level, layer); - } - // GL_NV_geometry_program4 - glFramebufferTextureLayerEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_geometry_program4] && glConfig.m_glFramebufferTextureLayerEXT) + // GL_EXT_secondary_color - glSecondaryColor3sEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3sEXT) { prototypeCalled = true; - glConfig.m_glFramebufferTextureLayerEXT (target, attachment, texture, level, layer); + glConfig.m_glSecondaryColor3sEXT (red, green, blue); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49205,24 +49920,1958 @@ void _glew_gl_glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexParameterIivEXT (GLenum target, GLenum pname, const GLint * params) +void _glew_gl_glSecondaryColor3svEXT (const GLshort * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glTexParameterIivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glTexParameterIivEXT) + // GL_EXT_secondary_color - glSecondaryColor3svEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3svEXT) + { + prototypeCalled = true; + glConfig.m_glSecondaryColor3svEXT (v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_secondary_color - glSecondaryColor3ubEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3ubEXT) + { + prototypeCalled = true; + glConfig.m_glSecondaryColor3ubEXT (red, green, blue); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glSecondaryColor3ubvEXT (const GLubyte * v) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_secondary_color - glSecondaryColor3ubvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3ubvEXT) + { + prototypeCalled = true; + glConfig.m_glSecondaryColor3ubvEXT (v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_secondary_color - glSecondaryColor3uiEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3uiEXT) + { + prototypeCalled = true; + glConfig.m_glSecondaryColor3uiEXT (red, green, blue); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glSecondaryColor3uivEXT (const GLuint * v) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_secondary_color - glSecondaryColor3uivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3uivEXT) + { + prototypeCalled = true; + glConfig.m_glSecondaryColor3uivEXT (v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_secondary_color - glSecondaryColor3usEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3usEXT) + { + prototypeCalled = true; + glConfig.m_glSecondaryColor3usEXT (red, green, blue); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glSecondaryColor3usvEXT (const GLushort * v) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_secondary_color - glSecondaryColor3usvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColor3usvEXT) + { + prototypeCalled = true; + glConfig.m_glSecondaryColor3usvEXT (v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void * pointer) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_secondary_color - glSecondaryColorPointerEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] && glConfig.m_glSecondaryColorPointerEXT) + { + prototypeCalled = true; + glConfig.m_glSecondaryColorPointerEXT (size, type, stride, pointer); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glUseShaderProgramEXT (GLenum type, GLuint program) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_separate_shader_objects - glUseShaderProgramEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glUseShaderProgramEXT) + { + prototypeCalled = true; + glConfig.m_glUseShaderProgramEXT (type, program); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glActiveProgramEXT (GLuint program) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_separate_shader_objects - glActiveProgramEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glActiveProgramEXT) + { + prototypeCalled = true; + glConfig.m_glActiveProgramEXT (program); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLuint _glew_gl_glCreateShaderProgramEXT (GLenum type, const GLchar * string) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint result = ((GLuint)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_separate_shader_objects - glCreateShaderProgramEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glCreateShaderProgramEXT) + { + prototypeCalled = true; + result = glConfig.m_glCreateShaderProgramEXT (type, string); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glActiveShaderProgramEXT (GLuint pipeline, GLuint program) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_separate_shader_objects - glActiveShaderProgramEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glActiveShaderProgramEXT) + { + prototypeCalled = true; + glConfig.m_glActiveShaderProgramEXT (pipeline, program); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glBindProgramPipelineEXT (GLuint pipeline) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_separate_shader_objects - glBindProgramPipelineEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glBindProgramPipelineEXT) + { + prototypeCalled = true; + glConfig.m_glBindProgramPipelineEXT (pipeline); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLuint _glew_gl_glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar ** strings) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint result = ((GLuint)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_separate_shader_objects - glCreateShaderProgramvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glCreateShaderProgramvEXT) + { + prototypeCalled = true; + result = glConfig.m_glCreateShaderProgramvEXT (type, count, strings); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glDeleteProgramPipelinesEXT (GLsizei n, const GLuint * pipelines) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_separate_shader_objects - glDeleteProgramPipelinesEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glDeleteProgramPipelinesEXT) + { + prototypeCalled = true; + glConfig.m_glDeleteProgramPipelinesEXT (n, pipelines); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGenProgramPipelinesEXT (GLsizei n, GLuint * pipelines) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_separate_shader_objects - glGenProgramPipelinesEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glGenProgramPipelinesEXT) + { + prototypeCalled = true; + glConfig.m_glGenProgramPipelinesEXT (n, pipelines); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_separate_shader_objects - glGetProgramPipelineInfoLogEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glGetProgramPipelineInfoLogEXT) + { + prototypeCalled = true; + glConfig.m_glGetProgramPipelineInfoLogEXT (pipeline, bufSize, length, infoLog); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint * params) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_separate_shader_objects - glGetProgramPipelineivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glGetProgramPipelineivEXT) + { + prototypeCalled = true; + glConfig.m_glGetProgramPipelineivEXT (pipeline, pname, params); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLboolean _glew_gl_glIsProgramPipelineEXT (GLuint pipeline) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLboolean result = ((GLboolean)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_separate_shader_objects - glIsProgramPipelineEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glIsProgramPipelineEXT) + { + prototypeCalled = true; + result = glConfig.m_glIsProgramPipelineEXT (pipeline); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_separate_shader_objects - glUseProgramStagesEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glUseProgramStagesEXT) + { + prototypeCalled = true; + glConfig.m_glUseProgramStagesEXT (pipeline, stages, program); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glValidateProgramPipelineEXT (GLuint pipeline) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_separate_shader_objects - glValidateProgramPipelineEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glConfig.m_glValidateProgramPipelineEXT) + { + prototypeCalled = true; + glConfig.m_glValidateProgramPipelineEXT (pipeline); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glFramebufferFetchBarrierEXT () +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_shader_framebuffer_fetch_non_coherent - glFramebufferFetchBarrierEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_shader_framebuffer_fetch_non_coherent] && glConfig.m_glFramebufferFetchBarrierEXT) + { + prototypeCalled = true; + glConfig.m_glFramebufferFetchBarrierEXT (); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_shader_image_load_store - glBindImageTextureEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_shader_image_load_store] && glConfig.m_glBindImageTextureEXT) + { + prototypeCalled = true; + glConfig.m_glBindImageTextureEXT (index, texture, level, layered, layer, access, format); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glMemoryBarrierEXT (GLbitfield barriers) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_shader_image_load_store - glMemoryBarrierEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_shader_image_load_store] && glConfig.m_glMemoryBarrierEXT) + { + prototypeCalled = true; + glConfig.m_glMemoryBarrierEXT (barriers); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glFramebufferPixelLocalStorageSizeEXT (GLuint target, GLsizei size) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_shader_pixel_local_storage2 - glFramebufferPixelLocalStorageSizeEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_shader_pixel_local_storage2] && glConfig.m_glFramebufferPixelLocalStorageSizeEXT) + { + prototypeCalled = true; + glConfig.m_glFramebufferPixelLocalStorageSizeEXT (target, size); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLsizei _glew_gl_glGetFramebufferPixelLocalStorageSizeEXT (GLuint target) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLsizei result = ((GLsizei)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_shader_pixel_local_storage2 - glGetFramebufferPixelLocalStorageSizeEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_shader_pixel_local_storage2] && glConfig.m_glGetFramebufferPixelLocalStorageSizeEXT) + { + prototypeCalled = true; + result = glConfig.m_glGetFramebufferPixelLocalStorageSizeEXT (target); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glClearPixelLocalStorageuiEXT (GLsizei offset, GLsizei n, const GLuint * values) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_shader_pixel_local_storage2 - glClearPixelLocalStorageuiEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_shader_pixel_local_storage2] && glConfig.m_glClearPixelLocalStorageuiEXT) + { + prototypeCalled = true; + glConfig.m_glClearPixelLocalStorageuiEXT (offset, n, values); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_sparse_texture - glTexPageCommitmentEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_sparse_texture] && glConfig.m_glTexPageCommitmentEXT) + { + prototypeCalled = true; + glConfig.m_glTexPageCommitmentEXT (target, level, xoffset, yoffset, zoffset, width, height, depth, commit); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_stencil_clear_tag - glStencilClearTagEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_stencil_clear_tag] && glConfig.m_glStencilClearTagEXT) + { + prototypeCalled = true; + glConfig.m_glStencilClearTagEXT (stencilTagBits, stencilClearTag); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glActiveStencilFaceEXT (GLenum face) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_stencil_two_side - glActiveStencilFaceEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_stencil_two_side] && glConfig.m_glActiveStencilFaceEXT) + { + prototypeCalled = true; + glConfig.m_glActiveStencilFaceEXT (face); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_subtexture - glTexSubImage1DEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_subtexture] && glConfig.m_glTexSubImage1DEXT) + { + prototypeCalled = true; + glConfig.m_glTexSubImage1DEXT (target, level, xoffset, width, format, type, pixels); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_subtexture - glTexSubImage2DEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_subtexture] && glConfig.m_glTexSubImage2DEXT) + { + prototypeCalled = true; + glConfig.m_glTexSubImage2DEXT (target, level, xoffset, yoffset, width, height, format, type, pixels); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glPatchParameteriEXT (GLenum pname, GLint value) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_tessellation_shader - glPatchParameteriEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_tessellation_shader] && glConfig.m_glPatchParameteriEXT) + { + prototypeCalled = true; + glConfig.m_glPatchParameteriEXT (pname, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture3D - glTexImage3DEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture3D] && glConfig.m_glTexImage3DEXT) + { + prototypeCalled = true; + glConfig.m_glTexImage3DEXT (target, level, internalformat, width, height, depth, border, format, type, pixels); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture3D - glTexSubImage3DEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture3D] && glConfig.m_glTexSubImage3DEXT) + { + prototypeCalled = true; + glConfig.m_glTexSubImage3DEXT (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_array - glFramebufferTextureLayerEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_array] && glConfig.m_glFramebufferTextureLayerEXT) + { + prototypeCalled = true; + glConfig.m_glFramebufferTextureLayerEXT (target, attachment, texture, level, layer); + } + // GL_NV_geometry_program4 - glFramebufferTextureLayerEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_geometry_program4] && glConfig.m_glFramebufferTextureLayerEXT) + { + prototypeCalled = true; + glConfig.m_glFramebufferTextureLayerEXT (target, attachment, texture, level, layer); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTexParameterIivEXT (GLenum target, GLenum pname, const GLint * params) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_border_clamp - glTexParameterIivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glTexParameterIivEXT) + { + prototypeCalled = true; + glConfig.m_glTexParameterIivEXT (target, pname, params); + } + // GL_EXT_texture_integer - glTexParameterIivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_integer] && glConfig.m_glTexParameterIivEXT) + { + prototypeCalled = true; + glConfig.m_glTexParameterIivEXT (target, pname, params); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint * params) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_border_clamp - glTexParameterIuivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glTexParameterIuivEXT) + { + prototypeCalled = true; + glConfig.m_glTexParameterIuivEXT (target, pname, params); + } + // GL_EXT_texture_integer - glTexParameterIuivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_integer] && glConfig.m_glTexParameterIuivEXT) + { + prototypeCalled = true; + glConfig.m_glTexParameterIuivEXT (target, pname, params); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint * params) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_border_clamp - glGetTexParameterIivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glGetTexParameterIivEXT) + { + prototypeCalled = true; + glConfig.m_glGetTexParameterIivEXT (target, pname, params); + } + // GL_EXT_texture_integer - glGetTexParameterIivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_integer] && glConfig.m_glGetTexParameterIivEXT) + { + prototypeCalled = true; + glConfig.m_glGetTexParameterIivEXT (target, pname, params); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint * params) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_border_clamp - glGetTexParameterIuivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glGetTexParameterIuivEXT) + { + prototypeCalled = true; + glConfig.m_glGetTexParameterIuivEXT (target, pname, params); + } + // GL_EXT_texture_integer - glGetTexParameterIuivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_integer] && glConfig.m_glGetTexParameterIuivEXT) + { + prototypeCalled = true; + glConfig.m_glGetTexParameterIuivEXT (target, pname, params); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLint * param) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_border_clamp - glSamplerParameterIivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glSamplerParameterIivEXT) + { + prototypeCalled = true; + glConfig.m_glSamplerParameterIivEXT (sampler, pname, param); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLuint * param) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_border_clamp - glSamplerParameterIuivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glSamplerParameterIuivEXT) + { + prototypeCalled = true; + glConfig.m_glSamplerParameterIuivEXT (sampler, pname, param); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint * params) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_border_clamp - glGetSamplerParameterIivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glGetSamplerParameterIivEXT) + { + prototypeCalled = true; + glConfig.m_glGetSamplerParameterIivEXT (sampler, pname, params); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint * params) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_border_clamp - glGetSamplerParameterIuivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glGetSamplerParameterIuivEXT) + { + prototypeCalled = true; + glConfig.m_glGetSamplerParameterIuivEXT (sampler, pname, params); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_buffer - glTexBufferEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_buffer] && glConfig.m_glTexBufferEXT) + { + prototypeCalled = true; + glConfig.m_glTexBufferEXT (target, internalformat, buffer); + } + // GL_EXT_texture_buffer_object - glTexBufferEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_buffer_object] && glConfig.m_glTexBufferEXT) + { + prototypeCalled = true; + glConfig.m_glTexBufferEXT (target, internalformat, buffer); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_buffer - glTexBufferRangeEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_buffer] && glConfig.m_glTexBufferRangeEXT) + { + prototypeCalled = true; + glConfig.m_glTexBufferRangeEXT (target, internalformat, buffer, offset, size); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_integer - glClearColorIiEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_integer] && glConfig.m_glClearColorIiEXT) + { + prototypeCalled = true; + glConfig.m_glClearColorIiEXT (red, green, blue, alpha); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_integer - glClearColorIuiEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_integer] && glConfig.m_glClearColorIuiEXT) + { + prototypeCalled = true; + glConfig.m_glClearColorIuiEXT (red, green, blue, alpha); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLboolean _glew_gl_glAreTexturesResidentEXT (GLsizei n, const GLuint * textures, GLboolean * residences) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLboolean result = ((GLboolean)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_object - glAreTexturesResidentEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_object] && glConfig.m_glAreTexturesResidentEXT) + { + prototypeCalled = true; + result = glConfig.m_glAreTexturesResidentEXT (n, textures, residences); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glBindTextureEXT (GLenum target, GLuint texture) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_object - glBindTextureEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_object] && glConfig.m_glBindTextureEXT) + { + prototypeCalled = true; + glConfig.m_glBindTextureEXT (target, texture); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glDeleteTexturesEXT (GLsizei n, const GLuint * textures) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_object - glDeleteTexturesEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_object] && glConfig.m_glDeleteTexturesEXT) + { + prototypeCalled = true; + glConfig.m_glDeleteTexturesEXT (n, textures); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGenTexturesEXT (GLsizei n, GLuint * textures) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_object - glGenTexturesEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_object] && glConfig.m_glGenTexturesEXT) + { + prototypeCalled = true; + glConfig.m_glGenTexturesEXT (n, textures); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLboolean _glew_gl_glIsTextureEXT (GLuint texture) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLboolean result = ((GLboolean)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_object - glIsTextureEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_object] && glConfig.m_glIsTextureEXT) + { + prototypeCalled = true; + result = glConfig.m_glIsTextureEXT (texture); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glPrioritizeTexturesEXT (GLsizei n, const GLuint * textures, const GLclampf * priorities) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_object - glPrioritizeTexturesEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_object] && glConfig.m_glPrioritizeTexturesEXT) + { + prototypeCalled = true; + glConfig.m_glPrioritizeTexturesEXT (n, textures, priorities); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTextureNormalEXT (GLenum mode) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_perturb_normal - glTextureNormalEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_perturb_normal] && glConfig.m_glTextureNormalEXT) + { + prototypeCalled = true; + glConfig.m_glTextureNormalEXT (mode); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_storage - glTexStorage1DEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glConfig.m_glTexStorage1DEXT) + { + prototypeCalled = true; + glConfig.m_glTexStorage1DEXT (target, levels, internalformat, width); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_storage - glTexStorage2DEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glConfig.m_glTexStorage2DEXT) + { + prototypeCalled = true; + glConfig.m_glTexStorage2DEXT (target, levels, internalformat, width, height); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_storage - glTexStorage3DEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glConfig.m_glTexStorage3DEXT) + { + prototypeCalled = true; + glConfig.m_glTexStorage3DEXT (target, levels, internalformat, width, height, depth); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_texture_view - glTextureViewEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_view] && glConfig.m_glTextureViewEXT) + { + prototypeCalled = true; + glConfig.m_glTextureViewEXT (texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glCreateSemaphoresNV (GLsizei n, GLuint * semaphores) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_timeline_semaphore - glCreateSemaphoresNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_timeline_semaphore] && glConfig.m_glCreateSemaphoresNV) + { + prototypeCalled = true; + glConfig.m_glCreateSemaphoresNV (n, semaphores); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glSemaphoreParameterivNV (GLuint semaphore, GLenum pname, const GLint * params) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_timeline_semaphore - glSemaphoreParameterivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_timeline_semaphore] && glConfig.m_glSemaphoreParameterivNV) + { + prototypeCalled = true; + glConfig.m_glSemaphoreParameterivNV (semaphore, pname, params); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGetSemaphoreParameterivNV (GLuint semaphore, GLenum pname, GLint * params) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_timeline_semaphore - glGetSemaphoreParameterivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_timeline_semaphore] && glConfig.m_glGetSemaphoreParameterivNV) + { + prototypeCalled = true; + glConfig.m_glGetSemaphoreParameterivNV (semaphore, pname, params); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glBeginTransformFeedbackEXT (GLenum primitiveMode) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_transform_feedback - glBeginTransformFeedbackEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_transform_feedback] && glConfig.m_glBeginTransformFeedbackEXT) + { + prototypeCalled = true; + glConfig.m_glBeginTransformFeedbackEXT (primitiveMode); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glEndTransformFeedbackEXT () +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_transform_feedback - glEndTransformFeedbackEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_transform_feedback] && glConfig.m_glEndTransformFeedbackEXT) + { + prototypeCalled = true; + glConfig.m_glEndTransformFeedbackEXT (); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_transform_feedback - glBindBufferRangeEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_transform_feedback] && glConfig.m_glBindBufferRangeEXT) + { + prototypeCalled = true; + glConfig.m_glBindBufferRangeEXT (target, index, buffer, offset, size); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_transform_feedback - glBindBufferOffsetEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_transform_feedback] && glConfig.m_glBindBufferOffsetEXT) + { + prototypeCalled = true; + glConfig.m_glBindBufferOffsetEXT (target, index, buffer, offset); + } + // GL_NV_transform_feedback - glBindBufferOffsetEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_transform_feedback] && glConfig.m_glBindBufferOffsetNV) + { + prototypeCalled = true; + glConfig.m_glBindBufferOffsetNV (target, index, buffer, offset); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_transform_feedback - glBindBufferBaseEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_transform_feedback] && glConfig.m_glBindBufferBaseEXT) + { + prototypeCalled = true; + glConfig.m_glBindBufferBaseEXT (target, index, buffer); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_transform_feedback - glTransformFeedbackVaryingsEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_transform_feedback] && glConfig.m_glTransformFeedbackVaryingsEXT) + { + prototypeCalled = true; + glConfig.m_glTransformFeedbackVaryingsEXT (program, count, varyings, bufferMode); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_transform_feedback - glGetTransformFeedbackVaryingEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_transform_feedback] && glConfig.m_glGetTransformFeedbackVaryingEXT) + { + prototypeCalled = true; + glConfig.m_glGetTransformFeedbackVaryingEXT (program, index, bufSize, length, size, type, name); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glArrayElementEXT (GLint i) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_array - glArrayElementEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glArrayElementEXT) + { + prototypeCalled = true; + glConfig.m_glArrayElementEXT (i); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_array - glColorPointerEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glColorPointerEXT) + { + prototypeCalled = true; + glConfig.m_glColorPointerEXT (size, type, stride, count, pointer); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glDrawArraysEXT (GLenum mode, GLint first, GLsizei count) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_array - glDrawArraysEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glDrawArraysEXT) + { + prototypeCalled = true; + glConfig.m_glDrawArraysEXT (mode, first, count); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean * pointer) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_array - glEdgeFlagPointerEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glEdgeFlagPointerEXT) + { + prototypeCalled = true; + glConfig.m_glEdgeFlagPointerEXT (stride, count, pointer); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGetPointervEXT (GLenum pname, void ** params) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_array - glGetPointervEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glGetPointervEXT) + { + prototypeCalled = true; + glConfig.m_glGetPointervEXT (pname, params); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void * pointer) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_array - glIndexPointerEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glIndexPointerEXT) + { + prototypeCalled = true; + glConfig.m_glIndexPointerEXT (type, stride, count, pointer); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void * pointer) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_array - glNormalPointerEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glNormalPointerEXT) + { + prototypeCalled = true; + glConfig.m_glNormalPointerEXT (type, stride, count, pointer); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_array - glTexCoordPointerEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glTexCoordPointerEXT) + { + prototypeCalled = true; + glConfig.m_glTexCoordPointerEXT (size, type, stride, count, pointer); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_array - glVertexPointerEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glVertexPointerEXT) + { + prototypeCalled = true; + glConfig.m_glVertexPointerEXT (size, type, stride, count, pointer); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glVertexAttribL1dEXT (GLuint index, GLdouble x) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_attrib_64bit - glVertexAttribL1dEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL1dEXT) + { + prototypeCalled = true; + glConfig.m_glVertexAttribL1dEXT (index, x); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_attrib_64bit - glVertexAttribL2dEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL2dEXT) + { + prototypeCalled = true; + glConfig.m_glVertexAttribL2dEXT (index, x, y); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_attrib_64bit - glVertexAttribL3dEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL3dEXT) + { + prototypeCalled = true; + glConfig.m_glVertexAttribL3dEXT (index, x, y, z); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_attrib_64bit - glVertexAttribL4dEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL4dEXT) { prototypeCalled = true; - glConfig.m_glTexParameterIivEXT (target, pname, params); + glConfig.m_glVertexAttribL4dEXT (index, x, y, z, w); } - // GL_EXT_texture_integer - glTexParameterIivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_integer] && glConfig.m_glTexParameterIivEXT) + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glVertexAttribL1dvEXT (GLuint index, const GLdouble * v) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_attrib_64bit - glVertexAttribL1dvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL1dvEXT) { prototypeCalled = true; - glConfig.m_glTexParameterIivEXT (target, pname, params); + glConfig.m_glVertexAttribL1dvEXT (index, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49234,24 +51883,41 @@ void _glew_gl_glTexParameterIivEXT (GLenum target, GLenum pname, const GLint * p //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint * params) +void _glew_gl_glVertexAttribL2dvEXT (GLuint index, const GLdouble * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glTexParameterIuivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glTexParameterIuivEXT) + // GL_EXT_vertex_attrib_64bit - glVertexAttribL2dvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL2dvEXT) { prototypeCalled = true; - glConfig.m_glTexParameterIuivEXT (target, pname, params); + glConfig.m_glVertexAttribL2dvEXT (index, v); } - // GL_EXT_texture_integer - glTexParameterIuivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_integer] && glConfig.m_glTexParameterIuivEXT) + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glVertexAttribL3dvEXT (GLuint index, const GLdouble * v) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_attrib_64bit - glVertexAttribL3dvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL3dvEXT) { prototypeCalled = true; - glConfig.m_glTexParameterIuivEXT (target, pname, params); + glConfig.m_glVertexAttribL3dvEXT (index, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49263,24 +51929,41 @@ void _glew_gl_glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint * //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint * params) +void _glew_gl_glVertexAttribL4dvEXT (GLuint index, const GLdouble * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glGetTexParameterIivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glGetTexParameterIivEXT) + // GL_EXT_vertex_attrib_64bit - glVertexAttribL4dvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL4dvEXT) { prototypeCalled = true; - glConfig.m_glGetTexParameterIivEXT (target, pname, params); + glConfig.m_glVertexAttribL4dvEXT (index, v); } - // GL_EXT_texture_integer - glGetTexParameterIivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_integer] && glConfig.m_glGetTexParameterIivEXT) + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_attrib_64bit - glVertexAttribLPointerEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribLPointerEXT) { prototypeCalled = true; - glConfig.m_glGetTexParameterIivEXT (target, pname, params); + glConfig.m_glVertexAttribLPointerEXT (index, size, type, stride, pointer); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49292,24 +51975,41 @@ void _glew_gl_glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint * para //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint * params) +void _glew_gl_glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glGetTexParameterIuivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glGetTexParameterIuivEXT) + // GL_EXT_vertex_attrib_64bit - glGetVertexAttribLdvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glGetVertexAttribLdvEXT) { prototypeCalled = true; - glConfig.m_glGetTexParameterIuivEXT (target, pname, params); + glConfig.m_glGetVertexAttribLdvEXT (index, pname, params); } - // GL_EXT_texture_integer - glGetTexParameterIuivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_integer] && glConfig.m_glGetTexParameterIuivEXT) + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glBeginVertexShaderEXT () +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glBeginVertexShaderEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glBeginVertexShaderEXT) { prototypeCalled = true; - glConfig.m_glGetTexParameterIuivEXT (target, pname, params); + glConfig.m_glBeginVertexShaderEXT (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49321,18 +52021,18 @@ void _glew_gl_glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint * pa //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLint * param) +void _glew_gl_glEndVertexShaderEXT () { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glSamplerParameterIivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glSamplerParameterIivEXT) + // GL_EXT_vertex_shader - glEndVertexShaderEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glEndVertexShaderEXT) { prototypeCalled = true; - glConfig.m_glSamplerParameterIivEXT (sampler, pname, param); + glConfig.m_glEndVertexShaderEXT (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49344,18 +52044,18 @@ void _glew_gl_glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLuint * param) +void _glew_gl_glBindVertexShaderEXT (GLuint id) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glSamplerParameterIuivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glSamplerParameterIuivEXT) + // GL_EXT_vertex_shader - glBindVertexShaderEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glBindVertexShaderEXT) { prototypeCalled = true; - glConfig.m_glSamplerParameterIuivEXT (sampler, pname, param); + glConfig.m_glBindVertexShaderEXT (id); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49367,41 +52067,390 @@ void _glew_gl_glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLu //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint * params) +GLuint _glew_gl_glGenVertexShadersEXT (GLuint range) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glGetSamplerParameterIivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glGetSamplerParameterIivEXT) + // GL_EXT_vertex_shader - glGenVertexShadersEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGenVertexShadersEXT) { prototypeCalled = true; - glConfig.m_glGetSamplerParameterIivEXT (sampler, pname, params); + result = glConfig.m_glGenVertexShadersEXT (range); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint * params) +void _glew_gl_glDeleteVertexShaderEXT (GLuint id) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glGetSamplerParameterIuivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glConfig.m_glGetSamplerParameterIuivEXT) + // GL_EXT_vertex_shader - glDeleteVertexShaderEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glDeleteVertexShaderEXT) { prototypeCalled = true; - glConfig.m_glGetSamplerParameterIuivEXT (sampler, pname, params); + glConfig.m_glDeleteVertexShaderEXT (id); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glShaderOp1EXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glShaderOp1EXT) + { + prototypeCalled = true; + glConfig.m_glShaderOp1EXT (op, res, arg1); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glShaderOp2EXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glShaderOp2EXT) + { + prototypeCalled = true; + glConfig.m_glShaderOp2EXT (op, res, arg1, arg2); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glShaderOp3EXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glShaderOp3EXT) + { + prototypeCalled = true; + glConfig.m_glShaderOp3EXT (op, res, arg1, arg2, arg3); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glSwizzleEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glSwizzleEXT) + { + prototypeCalled = true; + glConfig.m_glSwizzleEXT (res, in, outX, outY, outZ, outW); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glWriteMaskEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glWriteMaskEXT) + { + prototypeCalled = true; + glConfig.m_glWriteMaskEXT (res, in, outX, outY, outZ, outW); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glInsertComponentEXT (GLuint res, GLuint src, GLuint num) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glInsertComponentEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glInsertComponentEXT) + { + prototypeCalled = true; + glConfig.m_glInsertComponentEXT (res, src, num); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glExtractComponentEXT (GLuint res, GLuint src, GLuint num) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glExtractComponentEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glExtractComponentEXT) + { + prototypeCalled = true; + glConfig.m_glExtractComponentEXT (res, src, num); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLuint _glew_gl_glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint result = ((GLuint)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glGenSymbolsEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGenSymbolsEXT) + { + prototypeCalled = true; + result = glConfig.m_glGenSymbolsEXT (datatype, storagetype, range, components); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glSetInvariantEXT (GLuint id, GLenum type, const void * addr) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glSetInvariantEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glSetInvariantEXT) + { + prototypeCalled = true; + glConfig.m_glSetInvariantEXT (id, type, addr); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glSetLocalConstantEXT (GLuint id, GLenum type, const void * addr) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glSetLocalConstantEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glSetLocalConstantEXT) + { + prototypeCalled = true; + glConfig.m_glSetLocalConstantEXT (id, type, addr); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glVariantbvEXT (GLuint id, const GLbyte * addr) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glVariantbvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantbvEXT) + { + prototypeCalled = true; + glConfig.m_glVariantbvEXT (id, addr); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glVariantsvEXT (GLuint id, const GLshort * addr) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glVariantsvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantsvEXT) + { + prototypeCalled = true; + glConfig.m_glVariantsvEXT (id, addr); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glVariantivEXT (GLuint id, const GLint * addr) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glVariantivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantivEXT) + { + prototypeCalled = true; + glConfig.m_glVariantivEXT (id, addr); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glVariantfvEXT (GLuint id, const GLfloat * addr) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glVariantfvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantfvEXT) + { + prototypeCalled = true; + glConfig.m_glVariantfvEXT (id, addr); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glVariantdvEXT (GLuint id, const GLdouble * addr) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_vertex_shader - glVariantdvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantdvEXT) + { + prototypeCalled = true; + glConfig.m_glVariantdvEXT (id, addr); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49413,24 +52462,18 @@ void _glew_gl_glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer) +void _glew_gl_glVariantubvEXT (GLuint id, const GLubyte * addr) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_buffer - glTexBufferEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_buffer] && glConfig.m_glTexBufferEXT) - { - prototypeCalled = true; - glConfig.m_glTexBufferEXT (target, internalformat, buffer); - } - // GL_EXT_texture_buffer_object - glTexBufferEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_buffer_object] && glConfig.m_glTexBufferEXT) + // GL_EXT_vertex_shader - glVariantubvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantubvEXT) { prototypeCalled = true; - glConfig.m_glTexBufferEXT (target, internalformat, buffer); + glConfig.m_glVariantubvEXT (id, addr); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49442,18 +52485,18 @@ void _glew_gl_glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffe //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) +void _glew_gl_glVariantusvEXT (GLuint id, const GLushort * addr) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_buffer - glTexBufferRangeEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_buffer] && glConfig.m_glTexBufferRangeEXT) + // GL_EXT_vertex_shader - glVariantusvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantusvEXT) { prototypeCalled = true; - glConfig.m_glTexBufferRangeEXT (target, internalformat, buffer, offset, size); + glConfig.m_glVariantusvEXT (id, addr); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49465,18 +52508,18 @@ void _glew_gl_glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha) +void _glew_gl_glVariantuivEXT (GLuint id, const GLuint * addr) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_integer - glClearColorIiEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_integer] && glConfig.m_glClearColorIiEXT) + // GL_EXT_vertex_shader - glVariantuivEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantuivEXT) { prototypeCalled = true; - glConfig.m_glClearColorIiEXT (red, green, blue, alpha); + glConfig.m_glVariantuivEXT (id, addr); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49488,18 +52531,18 @@ void _glew_gl_glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha) +void _glew_gl_glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void * addr) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_integer - glClearColorIuiEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_integer] && glConfig.m_glClearColorIuiEXT) + // GL_EXT_vertex_shader - glVariantPointerEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantPointerEXT) { prototypeCalled = true; - glConfig.m_glClearColorIuiEXT (red, green, blue, alpha); + glConfig.m_glVariantPointerEXT (id, type, stride, addr); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49511,43 +52554,41 @@ void _glew_gl_glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gl_glAreTexturesResidentEXT (GLsizei n, const GLuint * textures, GLboolean * residences) +void _glew_gl_glEnableVariantClientStateEXT (GLuint id) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_object - glAreTexturesResidentEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_object] && glConfig.m_glAreTexturesResidentEXT) + // GL_EXT_vertex_shader - glEnableVariantClientStateEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glEnableVariantClientStateEXT) { prototypeCalled = true; - result = glConfig.m_glAreTexturesResidentEXT (n, textures, residences); + glConfig.m_glEnableVariantClientStateEXT (id); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBindTextureEXT (GLenum target, GLuint texture) +void _glew_gl_glDisableVariantClientStateEXT (GLuint id) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_object - glBindTextureEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_object] && glConfig.m_glBindTextureEXT) + // GL_EXT_vertex_shader - glDisableVariantClientStateEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glDisableVariantClientStateEXT) { prototypeCalled = true; - glConfig.m_glBindTextureEXT (target, texture); + glConfig.m_glDisableVariantClientStateEXT (id); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49559,65 +52600,69 @@ void _glew_gl_glBindTextureEXT (GLenum target, GLuint texture) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDeleteTexturesEXT (GLsizei n, const GLuint * textures) +GLuint _glew_gl_glBindLightParameterEXT (GLenum light, GLenum value) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_object - glDeleteTexturesEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_object] && glConfig.m_glDeleteTexturesEXT) + // GL_EXT_vertex_shader - glBindLightParameterEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glBindLightParameterEXT) { prototypeCalled = true; - glConfig.m_glDeleteTexturesEXT (n, textures); + result = glConfig.m_glBindLightParameterEXT (light, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGenTexturesEXT (GLsizei n, GLuint * textures) +GLuint _glew_gl_glBindMaterialParameterEXT (GLenum face, GLenum value) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_object - glGenTexturesEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_object] && glConfig.m_glGenTexturesEXT) + // GL_EXT_vertex_shader - glBindMaterialParameterEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glBindMaterialParameterEXT) { prototypeCalled = true; - glConfig.m_glGenTexturesEXT (n, textures); + result = glConfig.m_glBindMaterialParameterEXT (face, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gl_glIsTextureEXT (GLuint texture) +GLuint _glew_gl_glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLboolean result = ((GLboolean)0); + GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_object - glIsTextureEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_object] && glConfig.m_glIsTextureEXT) + // GL_EXT_vertex_shader - glBindTexGenParameterEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glBindTexGenParameterEXT) { prototypeCalled = true; - result = glConfig.m_glIsTextureEXT (texture); + result = glConfig.m_glBindTexGenParameterEXT (unit, coord, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49630,87 +52675,93 @@ GLboolean _glew_gl_glIsTextureEXT (GLuint texture) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glPrioritizeTexturesEXT (GLsizei n, const GLuint * textures, const GLclampf * priorities) +GLuint _glew_gl_glBindTextureUnitParameterEXT (GLenum unit, GLenum value) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_object - glPrioritizeTexturesEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_object] && glConfig.m_glPrioritizeTexturesEXT) + // GL_EXT_vertex_shader - glBindTextureUnitParameterEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glBindTextureUnitParameterEXT) { prototypeCalled = true; - glConfig.m_glPrioritizeTexturesEXT (n, textures, priorities); + result = glConfig.m_glBindTextureUnitParameterEXT (unit, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTextureNormalEXT (GLenum mode) +GLuint _glew_gl_glBindParameterEXT (GLenum value) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_perturb_normal - glTextureNormalEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_perturb_normal] && glConfig.m_glTextureNormalEXT) + // GL_EXT_vertex_shader - glBindParameterEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glBindParameterEXT) { prototypeCalled = true; - glConfig.m_glTextureNormalEXT (mode); + result = glConfig.m_glBindParameterEXT (value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) +GLboolean _glew_gl_glIsVariantEnabledEXT (GLuint id, GLenum cap) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_storage - glTexStorage1DEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glConfig.m_glTexStorage1DEXT) + // GL_EXT_vertex_shader - glIsVariantEnabledEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glIsVariantEnabledEXT) { prototypeCalled = true; - glConfig.m_glTexStorage1DEXT (target, levels, internalformat, width); + result = glConfig.m_glIsVariantEnabledEXT (id, cap); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) +void _glew_gl_glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_storage - glTexStorage2DEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glConfig.m_glTexStorage2DEXT) + // GL_EXT_vertex_shader - glGetVariantBooleanvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetVariantBooleanvEXT) { prototypeCalled = true; - glConfig.m_glTexStorage2DEXT (target, levels, internalformat, width, height); + glConfig.m_glGetVariantBooleanvEXT (id, value, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49722,18 +52773,18 @@ void _glew_gl_glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalf //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) +void _glew_gl_glGetVariantIntegervEXT (GLuint id, GLenum value, GLint * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_storage - glTexStorage3DEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glConfig.m_glTexStorage3DEXT) + // GL_EXT_vertex_shader - glGetVariantIntegervEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetVariantIntegervEXT) { prototypeCalled = true; - glConfig.m_glTexStorage3DEXT (target, levels, internalformat, width, height, depth); + glConfig.m_glGetVariantIntegervEXT (id, value, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49745,18 +52796,18 @@ void _glew_gl_glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalf //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers) +void _glew_gl_glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_view - glTextureViewEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_texture_view] && glConfig.m_glTextureViewEXT) + // GL_EXT_vertex_shader - glGetVariantFloatvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetVariantFloatvEXT) { prototypeCalled = true; - glConfig.m_glTextureViewEXT (texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers); + glConfig.m_glGetVariantFloatvEXT (id, value, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49768,18 +52819,18 @@ void _glew_gl_glTextureViewEXT (GLuint texture, GLenum target, GLuint origtextur //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBeginTransformFeedbackEXT (GLenum primitiveMode) +void _glew_gl_glGetVariantPointervEXT (GLuint id, GLenum value, void ** data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_transform_feedback - glBeginTransformFeedbackEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_transform_feedback] && glConfig.m_glBeginTransformFeedbackEXT) + // GL_EXT_vertex_shader - glGetVariantPointervEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetVariantPointervEXT) { prototypeCalled = true; - glConfig.m_glBeginTransformFeedbackEXT (primitiveMode); + glConfig.m_glGetVariantPointervEXT (id, value, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49791,18 +52842,18 @@ void _glew_gl_glBeginTransformFeedbackEXT (GLenum primitiveMode) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glEndTransformFeedbackEXT () +void _glew_gl_glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_transform_feedback - glEndTransformFeedbackEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_transform_feedback] && glConfig.m_glEndTransformFeedbackEXT) + // GL_EXT_vertex_shader - glGetInvariantBooleanvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetInvariantBooleanvEXT) { prototypeCalled = true; - glConfig.m_glEndTransformFeedbackEXT (); + glConfig.m_glGetInvariantBooleanvEXT (id, value, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49814,18 +52865,18 @@ void _glew_gl_glEndTransformFeedbackEXT () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) +void _glew_gl_glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_transform_feedback - glBindBufferRangeEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_transform_feedback] && glConfig.m_glBindBufferRangeEXT) + // GL_EXT_vertex_shader - glGetInvariantIntegervEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetInvariantIntegervEXT) { prototypeCalled = true; - glConfig.m_glBindBufferRangeEXT (target, index, buffer, offset, size); + glConfig.m_glGetInvariantIntegervEXT (id, value, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49837,24 +52888,18 @@ void _glew_gl_glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset) +void _glew_gl_glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_transform_feedback - glBindBufferOffsetEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_transform_feedback] && glConfig.m_glBindBufferOffsetEXT) - { - prototypeCalled = true; - glConfig.m_glBindBufferOffsetEXT (target, index, buffer, offset); - } - // GL_NV_transform_feedback - glBindBufferOffsetEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_transform_feedback] && glConfig.m_glBindBufferOffsetNV) + // GL_EXT_vertex_shader - glGetInvariantFloatvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetInvariantFloatvEXT) { prototypeCalled = true; - glConfig.m_glBindBufferOffsetNV (target, index, buffer, offset); + glConfig.m_glGetInvariantFloatvEXT (id, value, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49866,18 +52911,18 @@ void _glew_gl_glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer) +void _glew_gl_glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_transform_feedback - glBindBufferBaseEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_transform_feedback] && glConfig.m_glBindBufferBaseEXT) + // GL_EXT_vertex_shader - glGetLocalConstantBooleanvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetLocalConstantBooleanvEXT) { prototypeCalled = true; - glConfig.m_glBindBufferBaseEXT (target, index, buffer); + glConfig.m_glGetLocalConstantBooleanvEXT (id, value, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49889,18 +52934,18 @@ void _glew_gl_glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode) +void _glew_gl_glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_transform_feedback - glTransformFeedbackVaryingsEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_transform_feedback] && glConfig.m_glTransformFeedbackVaryingsEXT) + // GL_EXT_vertex_shader - glGetLocalConstantIntegervEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetLocalConstantIntegervEXT) { prototypeCalled = true; - glConfig.m_glTransformFeedbackVaryingsEXT (program, count, varyings, bufferMode); + glConfig.m_glGetLocalConstantIntegervEXT (id, value, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49912,18 +52957,18 @@ void _glew_gl_glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, con //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name) +void _glew_gl_glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_transform_feedback - glGetTransformFeedbackVaryingEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_transform_feedback] && glConfig.m_glGetTransformFeedbackVaryingEXT) + // GL_EXT_vertex_shader - glGetLocalConstantFloatvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetLocalConstantFloatvEXT) { prototypeCalled = true; - glConfig.m_glGetTransformFeedbackVaryingEXT (program, index, bufSize, length, size, type, name); + glConfig.m_glGetLocalConstantFloatvEXT (id, value, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49935,18 +52980,18 @@ void _glew_gl_glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glArrayElementEXT (GLint i) +void _glew_gl_glVertexWeightfEXT (GLfloat weight) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_array - glArrayElementEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glArrayElementEXT) + // GL_EXT_vertex_weighting - glVertexWeightfEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_weighting] && glConfig.m_glVertexWeightfEXT) { prototypeCalled = true; - glConfig.m_glArrayElementEXT (i); + glConfig.m_glVertexWeightfEXT (weight); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49958,18 +53003,18 @@ void _glew_gl_glArrayElementEXT (GLint i) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer) +void _glew_gl_glVertexWeightfvEXT (const GLfloat * weight) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_array - glColorPointerEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glColorPointerEXT) + // GL_EXT_vertex_weighting - glVertexWeightfvEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_weighting] && glConfig.m_glVertexWeightfvEXT) { prototypeCalled = true; - glConfig.m_glColorPointerEXT (size, type, stride, count, pointer); + glConfig.m_glVertexWeightfvEXT (weight); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -49981,18 +53026,18 @@ void _glew_gl_glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsize //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDrawArraysEXT (GLenum mode, GLint first, GLsizei count) +void _glew_gl_glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void * pointer) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_array - glDrawArraysEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glDrawArraysEXT) + // GL_EXT_vertex_weighting - glVertexWeightPointerEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_weighting] && glConfig.m_glVertexWeightPointerEXT) { prototypeCalled = true; - glConfig.m_glDrawArraysEXT (mode, first, count); + glConfig.m_glVertexWeightPointerEXT (size, type, stride, pointer); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50004,64 +53049,68 @@ void _glew_gl_glDrawArraysEXT (GLenum mode, GLint first, GLsizei count) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean * pointer) +GLboolean _glew_gl_glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_array - glEdgeFlagPointerEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glEdgeFlagPointerEXT) + // GL_EXT_win32_keyed_mutex - glAcquireKeyedMutexWin32EXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_win32_keyed_mutex] && glConfig.m_glAcquireKeyedMutexWin32EXT) { prototypeCalled = true; - glConfig.m_glEdgeFlagPointerEXT (stride, count, pointer); + result = glConfig.m_glAcquireKeyedMutexWin32EXT (memory, key, timeout); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetPointervEXT (GLenum pname, void ** params) +GLboolean _glew_gl_glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_array - glGetPointervEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glGetPointervEXT) + // GL_EXT_win32_keyed_mutex - glReleaseKeyedMutexWin32EXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_win32_keyed_mutex] && glConfig.m_glReleaseKeyedMutexWin32EXT) { prototypeCalled = true; - glConfig.m_glGetPointervEXT (pname, params); + result = glConfig.m_glReleaseKeyedMutexWin32EXT (memory, key); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void * pointer) +void _glew_gl_glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint * box) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_array - glIndexPointerEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glIndexPointerEXT) + // GL_EXT_window_rectangles - glWindowRectanglesEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_window_rectangles] && glConfig.m_glWindowRectanglesEXT) { prototypeCalled = true; - glConfig.m_glIndexPointerEXT (type, stride, count, pointer); + glConfig.m_glWindowRectanglesEXT (mode, count, box); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50073,41 +53122,43 @@ void _glew_gl_glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, con //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void * pointer) +GLsync _glew_gl_glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLsync result = ((GLsync)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_array - glNormalPointerEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glNormalPointerEXT) + // GL_EXT_x11_sync_object - glImportSyncEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_x11_sync_object] && glConfig.m_glImportSyncEXT) { prototypeCalled = true; - glConfig.m_glNormalPointerEXT (type, stride, count, pointer); + result = glConfig.m_glImportSyncEXT (external_sync_type, external_sync, flags); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer) +void _glew_gl_glFrameTerminatorGREMEDY () { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_array - glTexCoordPointerEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glTexCoordPointerEXT) + // GL_GREMEDY_frame_terminator - glFrameTerminatorGREMEDY + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_GREMEDY_frame_terminator] && glConfig.m_glFrameTerminatorGREMEDY) { prototypeCalled = true; - glConfig.m_glTexCoordPointerEXT (size, type, stride, count, pointer); + glConfig.m_glFrameTerminatorGREMEDY (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50119,18 +53170,18 @@ void _glew_gl_glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLs //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer) +void _glew_gl_glStringMarkerGREMEDY (GLsizei len, const void * string) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_array - glVertexPointerEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_array] && glConfig.m_glVertexPointerEXT) + // GL_GREMEDY_string_marker - glStringMarkerGREMEDY + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_GREMEDY_string_marker] && glConfig.m_glStringMarkerGREMEDY) { prototypeCalled = true; - glConfig.m_glVertexPointerEXT (size, type, stride, count, pointer); + glConfig.m_glStringMarkerGREMEDY (len, string); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50142,18 +53193,18 @@ void _glew_gl_glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsiz //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttribL1dEXT (GLuint index, GLdouble x) +void _glew_gl_glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_attrib_64bit - glVertexAttribL1dEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL1dEXT) + // GL_HP_image_transform - glImageTransformParameteriHP + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_HP_image_transform] && glConfig.m_glImageTransformParameteriHP) { prototypeCalled = true; - glConfig.m_glVertexAttribL1dEXT (index, x); + glConfig.m_glImageTransformParameteriHP (target, pname, param); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50165,18 +53216,18 @@ void _glew_gl_glVertexAttribL1dEXT (GLuint index, GLdouble x) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y) +void _glew_gl_glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_attrib_64bit - glVertexAttribL2dEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL2dEXT) + // GL_HP_image_transform - glImageTransformParameterfHP + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_HP_image_transform] && glConfig.m_glImageTransformParameterfHP) { prototypeCalled = true; - glConfig.m_glVertexAttribL2dEXT (index, x, y); + glConfig.m_glImageTransformParameterfHP (target, pname, param); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50188,18 +53239,18 @@ void _glew_gl_glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z) +void _glew_gl_glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_attrib_64bit - glVertexAttribL3dEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL3dEXT) + // GL_HP_image_transform - glImageTransformParameterivHP + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_HP_image_transform] && glConfig.m_glImageTransformParameterivHP) { prototypeCalled = true; - glConfig.m_glVertexAttribL3dEXT (index, x, y, z); + glConfig.m_glImageTransformParameterivHP (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50211,18 +53262,18 @@ void _glew_gl_glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdoub //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) +void _glew_gl_glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_attrib_64bit - glVertexAttribL4dEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL4dEXT) + // GL_HP_image_transform - glImageTransformParameterfvHP + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_HP_image_transform] && glConfig.m_glImageTransformParameterfvHP) { prototypeCalled = true; - glConfig.m_glVertexAttribL4dEXT (index, x, y, z, w); + glConfig.m_glImageTransformParameterfvHP (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50234,18 +53285,18 @@ void _glew_gl_glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdoub //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttribL1dvEXT (GLuint index, const GLdouble * v) +void _glew_gl_glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_attrib_64bit - glVertexAttribL1dvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL1dvEXT) + // GL_HP_image_transform - glGetImageTransformParameterivHP + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_HP_image_transform] && glConfig.m_glGetImageTransformParameterivHP) { prototypeCalled = true; - glConfig.m_glVertexAttribL1dvEXT (index, v); + glConfig.m_glGetImageTransformParameterivHP (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50257,18 +53308,18 @@ void _glew_gl_glVertexAttribL1dvEXT (GLuint index, const GLdouble * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttribL2dvEXT (GLuint index, const GLdouble * v) +void _glew_gl_glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_attrib_64bit - glVertexAttribL2dvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL2dvEXT) + // GL_HP_image_transform - glGetImageTransformParameterfvHP + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_HP_image_transform] && glConfig.m_glGetImageTransformParameterfvHP) { prototypeCalled = true; - glConfig.m_glVertexAttribL2dvEXT (index, v); + glConfig.m_glGetImageTransformParameterfvHP (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50280,18 +53331,18 @@ void _glew_gl_glVertexAttribL2dvEXT (GLuint index, const GLdouble * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttribL3dvEXT (GLuint index, const GLdouble * v) +void _glew_gl_glMultiModeDrawArraysIBM (const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_attrib_64bit - glVertexAttribL3dvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL3dvEXT) + // GL_IBM_multimode_draw_arrays - glMultiModeDrawArraysIBM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_multimode_draw_arrays] && glConfig.m_glMultiModeDrawArraysIBM) { prototypeCalled = true; - glConfig.m_glVertexAttribL3dvEXT (index, v); + glConfig.m_glMultiModeDrawArraysIBM (mode, first, count, primcount, modestride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50303,18 +53354,18 @@ void _glew_gl_glVertexAttribL3dvEXT (GLuint index, const GLdouble * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttribL4dvEXT (GLuint index, const GLdouble * v) +void _glew_gl_glMultiModeDrawElementsIBM (const GLenum * mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, GLint modestride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_attrib_64bit - glVertexAttribL4dvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribL4dvEXT) + // GL_IBM_multimode_draw_arrays - glMultiModeDrawElementsIBM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_multimode_draw_arrays] && glConfig.m_glMultiModeDrawElementsIBM) { prototypeCalled = true; - glConfig.m_glVertexAttribL4dvEXT (index, v); + glConfig.m_glMultiModeDrawElementsIBM (mode, count, type, indices, primcount, modestride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50326,18 +53377,18 @@ void _glew_gl_glVertexAttribL4dvEXT (GLuint index, const GLdouble * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer) +void _glew_gl_glFlushStaticDataIBM (GLenum target) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_attrib_64bit - glVertexAttribLPointerEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glVertexAttribLPointerEXT) + // GL_IBM_static_data - glFlushStaticDataIBM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_static_data] && glConfig.m_glFlushStaticDataIBM) { prototypeCalled = true; - glConfig.m_glVertexAttribLPointerEXT (index, size, type, stride, pointer); + glConfig.m_glFlushStaticDataIBM (target); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50349,18 +53400,18 @@ void _glew_gl_glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble * params) +void _glew_gl_glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_attrib_64bit - glGetVertexAttribLdvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] && glConfig.m_glGetVertexAttribLdvEXT) + // GL_IBM_vertex_array_lists - glColorPointerListIBM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glColorPointerListIBM) { prototypeCalled = true; - glConfig.m_glGetVertexAttribLdvEXT (index, pname, params); + glConfig.m_glColorPointerListIBM (size, type, stride, pointer, ptrstride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50372,18 +53423,18 @@ void _glew_gl_glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble * pa //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBeginVertexShaderEXT () +void _glew_gl_glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glBeginVertexShaderEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glBeginVertexShaderEXT) + // GL_IBM_vertex_array_lists - glSecondaryColorPointerListIBM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glSecondaryColorPointerListIBM) { prototypeCalled = true; - glConfig.m_glBeginVertexShaderEXT (); + glConfig.m_glSecondaryColorPointerListIBM (size, type, stride, pointer, ptrstride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50395,18 +53446,18 @@ void _glew_gl_glBeginVertexShaderEXT () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glEndVertexShaderEXT () +void _glew_gl_glEdgeFlagPointerListIBM (GLint stride, const GLboolean ** pointer, GLint ptrstride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glEndVertexShaderEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glEndVertexShaderEXT) + // GL_IBM_vertex_array_lists - glEdgeFlagPointerListIBM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glEdgeFlagPointerListIBM) { prototypeCalled = true; - glConfig.m_glEndVertexShaderEXT (); + glConfig.m_glEdgeFlagPointerListIBM (stride, pointer, ptrstride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50418,18 +53469,18 @@ void _glew_gl_glEndVertexShaderEXT () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBindVertexShaderEXT (GLuint id) +void _glew_gl_glFogCoordPointerListIBM (GLenum type, GLint stride, const void ** pointer, GLint ptrstride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glBindVertexShaderEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glBindVertexShaderEXT) + // GL_IBM_vertex_array_lists - glFogCoordPointerListIBM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glFogCoordPointerListIBM) { prototypeCalled = true; - glConfig.m_glBindVertexShaderEXT (id); + glConfig.m_glFogCoordPointerListIBM (type, stride, pointer, ptrstride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50441,43 +53492,41 @@ void _glew_gl_glBindVertexShaderEXT (GLuint id) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint _glew_gl_glGenVertexShadersEXT (GLuint range) +void _glew_gl_glIndexPointerListIBM (GLenum type, GLint stride, const void ** pointer, GLint ptrstride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glGenVertexShadersEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGenVertexShadersEXT) + // GL_IBM_vertex_array_lists - glIndexPointerListIBM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glIndexPointerListIBM) { prototypeCalled = true; - result = glConfig.m_glGenVertexShadersEXT (range); + glConfig.m_glIndexPointerListIBM (type, stride, pointer, ptrstride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDeleteVertexShaderEXT (GLuint id) +void _glew_gl_glNormalPointerListIBM (GLenum type, GLint stride, const void ** pointer, GLint ptrstride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glDeleteVertexShaderEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glDeleteVertexShaderEXT) + // GL_IBM_vertex_array_lists - glNormalPointerListIBM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glNormalPointerListIBM) { prototypeCalled = true; - glConfig.m_glDeleteVertexShaderEXT (id); + glConfig.m_glNormalPointerListIBM (type, stride, pointer, ptrstride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50489,18 +53538,18 @@ void _glew_gl_glDeleteVertexShaderEXT (GLuint id) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1) +void _glew_gl_glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glShaderOp1EXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glShaderOp1EXT) + // GL_IBM_vertex_array_lists - glTexCoordPointerListIBM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glTexCoordPointerListIBM) { prototypeCalled = true; - glConfig.m_glShaderOp1EXT (op, res, arg1); + glConfig.m_glTexCoordPointerListIBM (size, type, stride, pointer, ptrstride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50512,18 +53561,18 @@ void _glew_gl_glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2) +void _glew_gl_glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glShaderOp2EXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glShaderOp2EXT) + // GL_IBM_vertex_array_lists - glVertexPointerListIBM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glVertexPointerListIBM) { prototypeCalled = true; - glConfig.m_glShaderOp2EXT (op, res, arg1, arg2); + glConfig.m_glVertexPointerListIBM (size, type, stride, pointer, ptrstride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50535,64 +53584,68 @@ void _glew_gl_glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3) +GLuint64 _glew_gl_glGetTextureHandleIMG (GLuint texture) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glShaderOp3EXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glShaderOp3EXT) + // GL_IMG_bindless_texture - glGetTextureHandleIMG + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture] && glConfig.m_glGetTextureHandleIMG) { prototypeCalled = true; - glConfig.m_glShaderOp3EXT (op, res, arg1, arg2, arg3); + result = glConfig.m_glGetTextureHandleIMG (texture); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) +GLuint64 _glew_gl_glGetTextureSamplerHandleIMG (GLuint texture, GLuint sampler) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glSwizzleEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glSwizzleEXT) + // GL_IMG_bindless_texture - glGetTextureSamplerHandleIMG + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture] && glConfig.m_glGetTextureSamplerHandleIMG) { prototypeCalled = true; - glConfig.m_glSwizzleEXT (res, in, outX, outY, outZ, outW); + result = glConfig.m_glGetTextureSamplerHandleIMG (texture, sampler); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) +void _glew_gl_glUniformHandleui64IMG (GLint location, GLuint64 value) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glWriteMaskEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glWriteMaskEXT) + // GL_IMG_bindless_texture - glUniformHandleui64IMG + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture] && glConfig.m_glUniformHandleui64IMG) { prototypeCalled = true; - glConfig.m_glWriteMaskEXT (res, in, outX, outY, outZ, outW); + glConfig.m_glUniformHandleui64IMG (location, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50604,18 +53657,18 @@ void _glew_gl_glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, G //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glInsertComponentEXT (GLuint res, GLuint src, GLuint num) +void _glew_gl_glUniformHandleui64vIMG (GLint location, GLsizei count, const GLuint64 * value) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glInsertComponentEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glInsertComponentEXT) + // GL_IMG_bindless_texture - glUniformHandleui64vIMG + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture] && glConfig.m_glUniformHandleui64vIMG) { prototypeCalled = true; - glConfig.m_glInsertComponentEXT (res, src, num); + glConfig.m_glUniformHandleui64vIMG (location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50627,18 +53680,18 @@ void _glew_gl_glInsertComponentEXT (GLuint res, GLuint src, GLuint num) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glExtractComponentEXT (GLuint res, GLuint src, GLuint num) +void _glew_gl_glProgramUniformHandleui64IMG (GLuint program, GLint location, GLuint64 value) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glExtractComponentEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glExtractComponentEXT) + // GL_IMG_bindless_texture - glProgramUniformHandleui64IMG + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture] && glConfig.m_glProgramUniformHandleui64IMG) { prototypeCalled = true; - glConfig.m_glExtractComponentEXT (res, src, num); + glConfig.m_glProgramUniformHandleui64IMG (program, location, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50650,43 +53703,41 @@ void _glew_gl_glExtractComponentEXT (GLuint res, GLuint src, GLuint num) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint _glew_gl_glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components) +void _glew_gl_glProgramUniformHandleui64vIMG (GLuint program, GLint location, GLsizei count, const GLuint64 * values) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glGenSymbolsEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGenSymbolsEXT) + // GL_IMG_bindless_texture - glProgramUniformHandleui64vIMG + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture] && glConfig.m_glProgramUniformHandleui64vIMG) { prototypeCalled = true; - result = glConfig.m_glGenSymbolsEXT (datatype, storagetype, range, components); + glConfig.m_glProgramUniformHandleui64vIMG (program, location, count, values); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSetInvariantEXT (GLuint id, GLenum type, const void * addr) +void _glew_gl_glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glSetInvariantEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glSetInvariantEXT) + // GL_IMG_framebuffer_downsample - glFramebufferTexture2DDownsampleIMG + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IMG_framebuffer_downsample] && glConfig.m_glFramebufferTexture2DDownsampleIMG) { prototypeCalled = true; - glConfig.m_glSetInvariantEXT (id, type, addr); + glConfig.m_glFramebufferTexture2DDownsampleIMG (target, attachment, textarget, texture, level, xscale, yscale); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50698,18 +53749,18 @@ void _glew_gl_glSetInvariantEXT (GLuint id, GLenum type, const void * addr) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSetLocalConstantEXT (GLuint id, GLenum type, const void * addr) +void _glew_gl_glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glSetLocalConstantEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glSetLocalConstantEXT) + // GL_IMG_framebuffer_downsample - glFramebufferTextureLayerDownsampleIMG + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IMG_framebuffer_downsample] && glConfig.m_glFramebufferTextureLayerDownsampleIMG) { prototypeCalled = true; - glConfig.m_glSetLocalConstantEXT (id, type, addr); + glConfig.m_glFramebufferTextureLayerDownsampleIMG (target, attachment, texture, level, layer, xscale, yscale); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50721,18 +53772,18 @@ void _glew_gl_glSetLocalConstantEXT (GLuint id, GLenum type, const void * addr) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVariantbvEXT (GLuint id, const GLbyte * addr) +void _glew_gl_glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glVariantbvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantbvEXT) + // GL_IMG_multisampled_render_to_texture - glRenderbufferStorageMultisampleIMG + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IMG_multisampled_render_to_texture] && glConfig.m_glRenderbufferStorageMultisampleIMG) { prototypeCalled = true; - glConfig.m_glVariantbvEXT (id, addr); + glConfig.m_glRenderbufferStorageMultisampleIMG (target, samples, internalformat, width, height); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50744,18 +53795,18 @@ void _glew_gl_glVariantbvEXT (GLuint id, const GLbyte * addr) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVariantsvEXT (GLuint id, const GLshort * addr) +void _glew_gl_glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glVariantsvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantsvEXT) + // GL_IMG_multisampled_render_to_texture - glFramebufferTexture2DMultisampleIMG + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IMG_multisampled_render_to_texture] && glConfig.m_glFramebufferTexture2DMultisampleIMG) { prototypeCalled = true; - glConfig.m_glVariantsvEXT (id, addr); + glConfig.m_glFramebufferTexture2DMultisampleIMG (target, attachment, textarget, texture, level, samples); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50767,18 +53818,18 @@ void _glew_gl_glVariantsvEXT (GLuint id, const GLshort * addr) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVariantivEXT (GLuint id, const GLint * addr) +void _glew_gl_glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glVariantivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantivEXT) + // GL_INGR_blend_func_separate - glBlendFuncSeparateINGR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INGR_blend_func_separate] && glConfig.m_glBlendFuncSeparateINGR) { prototypeCalled = true; - glConfig.m_glVariantivEXT (id, addr); + glConfig.m_glBlendFuncSeparateINGR (sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50790,18 +53841,18 @@ void _glew_gl_glVariantivEXT (GLuint id, const GLint * addr) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVariantfvEXT (GLuint id, const GLfloat * addr) +void _glew_gl_glApplyFramebufferAttachmentCMAAINTEL () { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glVariantfvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantfvEXT) + // GL_INTEL_framebuffer_CMAA - glApplyFramebufferAttachmentCMAAINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_framebuffer_CMAA] && glConfig.m_glApplyFramebufferAttachmentCMAAINTEL) { prototypeCalled = true; - glConfig.m_glVariantfvEXT (id, addr); + glConfig.m_glApplyFramebufferAttachmentCMAAINTEL (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50813,18 +53864,18 @@ void _glew_gl_glVariantfvEXT (GLuint id, const GLfloat * addr) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVariantdvEXT (GLuint id, const GLdouble * addr) +void _glew_gl_glSyncTextureINTEL (GLuint texture) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glVariantdvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantdvEXT) + // GL_INTEL_map_texture - glSyncTextureINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_map_texture] && glConfig.m_glSyncTextureINTEL) { prototypeCalled = true; - glConfig.m_glVariantdvEXT (id, addr); + glConfig.m_glSyncTextureINTEL (texture); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50836,18 +53887,18 @@ void _glew_gl_glVariantdvEXT (GLuint id, const GLdouble * addr) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVariantubvEXT (GLuint id, const GLubyte * addr) +void _glew_gl_glUnmapTexture2DINTEL (GLuint texture, GLint level) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glVariantubvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantubvEXT) + // GL_INTEL_map_texture - glUnmapTexture2DINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_map_texture] && glConfig.m_glUnmapTexture2DINTEL) { prototypeCalled = true; - glConfig.m_glVariantubvEXT (id, addr); + glConfig.m_glUnmapTexture2DINTEL (texture, level); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50859,41 +53910,43 @@ void _glew_gl_glVariantubvEXT (GLuint id, const GLubyte * addr) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVariantusvEXT (GLuint id, const GLushort * addr) +void * _glew_gl_glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint * stride, GLenum * layout) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + void * result = ((void *)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glVariantusvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantusvEXT) + // GL_INTEL_map_texture - glMapTexture2DINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_map_texture] && glConfig.m_glMapTexture2DINTEL) { prototypeCalled = true; - glConfig.m_glVariantusvEXT (id, addr); + result = glConfig.m_glMapTexture2DINTEL (texture, level, access, stride, layout); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVariantuivEXT (GLuint id, const GLuint * addr) +void _glew_gl_glVertexPointervINTEL (GLint size, GLenum type, const void ** pointer) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glVariantuivEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantuivEXT) + // GL_INTEL_parallel_arrays - glVertexPointervINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_parallel_arrays] && glConfig.m_glVertexPointervINTEL) { prototypeCalled = true; - glConfig.m_glVariantuivEXT (id, addr); + glConfig.m_glVertexPointervINTEL (size, type, pointer); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50905,18 +53958,18 @@ void _glew_gl_glVariantuivEXT (GLuint id, const GLuint * addr) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void * addr) +void _glew_gl_glNormalPointervINTEL (GLenum type, const void ** pointer) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glVariantPointerEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glVariantPointerEXT) + // GL_INTEL_parallel_arrays - glNormalPointervINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_parallel_arrays] && glConfig.m_glNormalPointervINTEL) { prototypeCalled = true; - glConfig.m_glVariantPointerEXT (id, type, stride, addr); + glConfig.m_glNormalPointervINTEL (type, pointer); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50928,18 +53981,18 @@ void _glew_gl_glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glEnableVariantClientStateEXT (GLuint id) +void _glew_gl_glColorPointervINTEL (GLint size, GLenum type, const void ** pointer) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glEnableVariantClientStateEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glEnableVariantClientStateEXT) + // GL_INTEL_parallel_arrays - glColorPointervINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_parallel_arrays] && glConfig.m_glColorPointervINTEL) { prototypeCalled = true; - glConfig.m_glEnableVariantClientStateEXT (id); + glConfig.m_glColorPointervINTEL (size, type, pointer); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50951,18 +54004,18 @@ void _glew_gl_glEnableVariantClientStateEXT (GLuint id) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDisableVariantClientStateEXT (GLuint id) +void _glew_gl_glTexCoordPointervINTEL (GLint size, GLenum type, const void ** pointer) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glDisableVariantClientStateEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glDisableVariantClientStateEXT) + // GL_INTEL_parallel_arrays - glTexCoordPointervINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_parallel_arrays] && glConfig.m_glTexCoordPointervINTEL) { prototypeCalled = true; - glConfig.m_glDisableVariantClientStateEXT (id); + glConfig.m_glTexCoordPointervINTEL (size, type, pointer); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -50974,168 +54027,156 @@ void _glew_gl_glDisableVariantClientStateEXT (GLuint id) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint _glew_gl_glBindLightParameterEXT (GLenum light, GLenum value) +void _glew_gl_glBeginPerfQueryINTEL (GLuint queryHandle) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glBindLightParameterEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glBindLightParameterEXT) + // GL_INTEL_performance_query - glBeginPerfQueryINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glBeginPerfQueryINTEL) { prototypeCalled = true; - result = glConfig.m_glBindLightParameterEXT (light, value); + glConfig.m_glBeginPerfQueryINTEL (queryHandle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint _glew_gl_glBindMaterialParameterEXT (GLenum face, GLenum value) +void _glew_gl_glCreatePerfQueryINTEL (GLuint queryId, GLuint * queryHandle) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glBindMaterialParameterEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glBindMaterialParameterEXT) + // GL_INTEL_performance_query - glCreatePerfQueryINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glCreatePerfQueryINTEL) { prototypeCalled = true; - result = glConfig.m_glBindMaterialParameterEXT (face, value); + glConfig.m_glCreatePerfQueryINTEL (queryId, queryHandle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint _glew_gl_glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value) +void _glew_gl_glDeletePerfQueryINTEL (GLuint queryHandle) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glBindTexGenParameterEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glBindTexGenParameterEXT) + // GL_INTEL_performance_query - glDeletePerfQueryINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glDeletePerfQueryINTEL) { prototypeCalled = true; - result = glConfig.m_glBindTexGenParameterEXT (unit, coord, value); + glConfig.m_glDeletePerfQueryINTEL (queryHandle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint _glew_gl_glBindTextureUnitParameterEXT (GLenum unit, GLenum value) +void _glew_gl_glEndPerfQueryINTEL (GLuint queryHandle) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glBindTextureUnitParameterEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glBindTextureUnitParameterEXT) + // GL_INTEL_performance_query - glEndPerfQueryINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glEndPerfQueryINTEL) { prototypeCalled = true; - result = glConfig.m_glBindTextureUnitParameterEXT (unit, value); + glConfig.m_glEndPerfQueryINTEL (queryHandle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint _glew_gl_glBindParameterEXT (GLenum value) +void _glew_gl_glGetFirstPerfQueryIdINTEL (GLuint * queryId) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glBindParameterEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glBindParameterEXT) + // GL_INTEL_performance_query - glGetFirstPerfQueryIdINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glGetFirstPerfQueryIdINTEL) { prototypeCalled = true; - result = glConfig.m_glBindParameterEXT (value); + glConfig.m_glGetFirstPerfQueryIdINTEL (queryId); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gl_glIsVariantEnabledEXT (GLuint id, GLenum cap) +void _glew_gl_glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint * nextQueryId) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glIsVariantEnabledEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glIsVariantEnabledEXT) + // GL_INTEL_performance_query - glGetNextPerfQueryIdINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glGetNextPerfQueryIdINTEL) { prototypeCalled = true; - result = glConfig.m_glIsVariantEnabledEXT (id, cap); + glConfig.m_glGetNextPerfQueryIdINTEL (queryId, nextQueryId); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean * data) +void _glew_gl_glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glGetVariantBooleanvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetVariantBooleanvEXT) + // GL_INTEL_performance_query - glGetPerfCounterInfoINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glGetPerfCounterInfoINTEL) { prototypeCalled = true; - glConfig.m_glGetVariantBooleanvEXT (id, value, data); + glConfig.m_glGetPerfCounterInfoINTEL (queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51147,18 +54188,18 @@ void _glew_gl_glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean * data //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetVariantIntegervEXT (GLuint id, GLenum value, GLint * data) +void _glew_gl_glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void * data, GLuint * bytesWritten) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glGetVariantIntegervEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetVariantIntegervEXT) + // GL_INTEL_performance_query - glGetPerfQueryDataINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glGetPerfQueryDataINTEL) { prototypeCalled = true; - glConfig.m_glGetVariantIntegervEXT (id, value, data); + glConfig.m_glGetPerfQueryDataINTEL (queryHandle, flags, dataSize, data, bytesWritten); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51170,18 +54211,18 @@ void _glew_gl_glGetVariantIntegervEXT (GLuint id, GLenum value, GLint * data) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat * data) +void _glew_gl_glGetPerfQueryIdByNameINTEL (GLchar * queryName, GLuint * queryId) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glGetVariantFloatvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetVariantFloatvEXT) + // GL_INTEL_performance_query - glGetPerfQueryIdByNameINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glGetPerfQueryIdByNameINTEL) { prototypeCalled = true; - glConfig.m_glGetVariantFloatvEXT (id, value, data); + glConfig.m_glGetPerfQueryIdByNameINTEL (queryName, queryId); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51193,18 +54234,18 @@ void _glew_gl_glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat * data) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetVariantPointervEXT (GLuint id, GLenum value, void ** data) +void _glew_gl_glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glGetVariantPointervEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetVariantPointervEXT) + // GL_INTEL_performance_query - glGetPerfQueryInfoINTEL + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glGetPerfQueryInfoINTEL) { prototypeCalled = true; - glConfig.m_glGetVariantPointervEXT (id, value, data); + glConfig.m_glGetPerfQueryInfoINTEL (queryId, queryNameLength, queryName, dataSize, noCounters, noInstances, capsMask); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51216,18 +54257,18 @@ void _glew_gl_glGetVariantPointervEXT (GLuint id, GLenum value, void ** data) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean * data) +void _glew_gl_glBlendBarrierKHR () { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glGetInvariantBooleanvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetInvariantBooleanvEXT) + // GL_KHR_blend_equation_advanced - glBlendBarrierKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_blend_equation_advanced] && glConfig.m_glBlendBarrierKHR) { prototypeCalled = true; - glConfig.m_glGetInvariantBooleanvEXT (id, value, data); + glConfig.m_glBlendBarrierKHR (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51239,18 +54280,18 @@ void _glew_gl_glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean * da //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint * data) +void _glew_gl_glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glGetInvariantIntegervEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetInvariantIntegervEXT) + // GL_KHR_debug - glDebugMessageControlKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glDebugMessageControlKHR) { prototypeCalled = true; - glConfig.m_glGetInvariantIntegervEXT (id, value, data); + glConfig.m_glDebugMessageControlKHR (source, type, severity, count, ids, enabled); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51262,18 +54303,18 @@ void _glew_gl_glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint * data) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat * data) +void _glew_gl_glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glGetInvariantFloatvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetInvariantFloatvEXT) + // GL_KHR_debug - glDebugMessageInsertKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glDebugMessageInsertKHR) { prototypeCalled = true; - glConfig.m_glGetInvariantFloatvEXT (id, value, data); + glConfig.m_glDebugMessageInsertKHR (source, type, id, severity, length, buf); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51285,18 +54326,18 @@ void _glew_gl_glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat * data) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean * data) +void _glew_gl_glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void * userParam) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glGetLocalConstantBooleanvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetLocalConstantBooleanvEXT) + // GL_KHR_debug - glDebugMessageCallbackKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glDebugMessageCallbackKHR) { prototypeCalled = true; - glConfig.m_glGetLocalConstantBooleanvEXT (id, value, data); + glConfig.m_glDebugMessageCallbackKHR (callback, userParam); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51308,41 +54349,43 @@ void _glew_gl_glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint * data) +GLuint _glew_gl_glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glGetLocalConstantIntegervEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetLocalConstantIntegervEXT) + // GL_KHR_debug - glGetDebugMessageLogKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glGetDebugMessageLogKHR) { prototypeCalled = true; - glConfig.m_glGetLocalConstantIntegervEXT (id, value, data); + result = glConfig.m_glGetDebugMessageLogKHR (count, bufSize, sources, types, ids, severities, lengths, messageLog); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat * data) +void _glew_gl_glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar * message) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_shader - glGetLocalConstantFloatvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] && glConfig.m_glGetLocalConstantFloatvEXT) + // GL_KHR_debug - glPushDebugGroupKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glPushDebugGroupKHR) { prototypeCalled = true; - glConfig.m_glGetLocalConstantFloatvEXT (id, value, data); + glConfig.m_glPushDebugGroupKHR (source, id, length, message); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51354,18 +54397,18 @@ void _glew_gl_glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat * da //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexWeightfEXT (GLfloat weight) +void _glew_gl_glPopDebugGroupKHR () { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_weighting - glVertexWeightfEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_weighting] && glConfig.m_glVertexWeightfEXT) + // GL_KHR_debug - glPopDebugGroupKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glPopDebugGroupKHR) { prototypeCalled = true; - glConfig.m_glVertexWeightfEXT (weight); + glConfig.m_glPopDebugGroupKHR (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51377,18 +54420,18 @@ void _glew_gl_glVertexWeightfEXT (GLfloat weight) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexWeightfvEXT (const GLfloat * weight) +void _glew_gl_glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar * label) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_weighting - glVertexWeightfvEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_weighting] && glConfig.m_glVertexWeightfvEXT) + // GL_KHR_debug - glObjectLabelKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glObjectLabelKHR) { prototypeCalled = true; - glConfig.m_glVertexWeightfvEXT (weight); + glConfig.m_glObjectLabelKHR (identifier, name, length, label); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51400,18 +54443,18 @@ void _glew_gl_glVertexWeightfvEXT (const GLfloat * weight) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void * pointer) +void _glew_gl_glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_vertex_weighting - glVertexWeightPointerEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_vertex_weighting] && glConfig.m_glVertexWeightPointerEXT) + // GL_KHR_debug - glGetObjectLabelKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glGetObjectLabelKHR) { prototypeCalled = true; - glConfig.m_glVertexWeightPointerEXT (size, type, stride, pointer); + glConfig.m_glGetObjectLabelKHR (identifier, name, bufSize, length, label); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51423,43 +54466,41 @@ void _glew_gl_glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLsync _glew_gl_glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags) +void _glew_gl_glObjectPtrLabelKHR (const void * ptr, GLsizei length, const GLchar * label) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLsync result = ((GLsync)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_x11_sync_object - glImportSyncEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_EXT_x11_sync_object] && glConfig.m_glImportSyncEXT) + // GL_KHR_debug - glObjectPtrLabelKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glObjectPtrLabelKHR) { prototypeCalled = true; - result = glConfig.m_glImportSyncEXT (external_sync_type, external_sync, flags); + glConfig.m_glObjectPtrLabelKHR (ptr, length, label); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glFrameTerminatorGREMEDY () +void _glew_gl_glGetObjectPtrLabelKHR (const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_GREMEDY_frame_terminator - glFrameTerminatorGREMEDY - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_GREMEDY_frame_terminator] && glConfig.m_glFrameTerminatorGREMEDY) + // GL_KHR_debug - glGetObjectPtrLabelKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glGetObjectPtrLabelKHR) { prototypeCalled = true; - glConfig.m_glFrameTerminatorGREMEDY (); + glConfig.m_glGetObjectPtrLabelKHR (ptr, bufSize, length, label); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51471,18 +54512,18 @@ void _glew_gl_glFrameTerminatorGREMEDY () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glStringMarkerGREMEDY (GLsizei len, const void * string) +void _glew_gl_glGetPointervKHR (GLenum pname, void ** params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_GREMEDY_string_marker - glStringMarkerGREMEDY - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_GREMEDY_string_marker] && glConfig.m_glStringMarkerGREMEDY) + // GL_KHR_debug - glGetPointervKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glGetPointervKHR) { prototypeCalled = true; - glConfig.m_glStringMarkerGREMEDY (len, string); + glConfig.m_glGetPointervKHR (pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51494,41 +54535,43 @@ void _glew_gl_glStringMarkerGREMEDY (GLsizei len, const void * string) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param) +GLenum _glew_gl_glGetGraphicsResetStatusKHR () { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLenum result = ((GLenum)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_HP_image_transform - glImageTransformParameteriHP - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_HP_image_transform] && glConfig.m_glImageTransformParameteriHP) + // GL_KHR_robustness - glGetGraphicsResetStatusKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glConfig.m_glGetGraphicsResetStatusKHR) { prototypeCalled = true; - glConfig.m_glImageTransformParameteriHP (target, pname, param); + result = glConfig.m_glGetGraphicsResetStatusKHR (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param) +void _glew_gl_glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_HP_image_transform - glImageTransformParameterfHP - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_HP_image_transform] && glConfig.m_glImageTransformParameterfHP) + // GL_KHR_robustness - glReadnPixelsKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glConfig.m_glReadnPixelsKHR) { prototypeCalled = true; - glConfig.m_glImageTransformParameterfHP (target, pname, param); + glConfig.m_glReadnPixelsKHR (x, y, width, height, format, type, bufSize, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51540,18 +54583,18 @@ void _glew_gl_glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint * params) +void _glew_gl_glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_HP_image_transform - glImageTransformParameterivHP - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_HP_image_transform] && glConfig.m_glImageTransformParameterivHP) + // GL_KHR_robustness - glGetnUniformfvKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glConfig.m_glGetnUniformfvKHR) { prototypeCalled = true; - glConfig.m_glImageTransformParameterivHP (target, pname, params); + glConfig.m_glGetnUniformfvKHR (program, location, bufSize, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51563,18 +54606,18 @@ void _glew_gl_glImageTransformParameterivHP (GLenum target, GLenum pname, const //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat * params) +void _glew_gl_glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_HP_image_transform - glImageTransformParameterfvHP - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_HP_image_transform] && glConfig.m_glImageTransformParameterfvHP) + // GL_KHR_robustness - glGetnUniformivKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glConfig.m_glGetnUniformivKHR) { prototypeCalled = true; - glConfig.m_glImageTransformParameterfvHP (target, pname, params); + glConfig.m_glGetnUniformivKHR (program, location, bufSize, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51586,18 +54629,18 @@ void _glew_gl_glImageTransformParameterfvHP (GLenum target, GLenum pname, const //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint * params) +void _glew_gl_glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_HP_image_transform - glGetImageTransformParameterivHP - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_HP_image_transform] && glConfig.m_glGetImageTransformParameterivHP) + // GL_KHR_robustness - glGetnUniformuivKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glConfig.m_glGetnUniformuivKHR) { prototypeCalled = true; - glConfig.m_glGetImageTransformParameterivHP (target, pname, params); + glConfig.m_glGetnUniformuivKHR (program, location, bufSize, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51609,18 +54652,24 @@ void _glew_gl_glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLi //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat * params) +void _glew_gl_glMaxShaderCompilerThreadsKHR (GLuint count) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_HP_image_transform - glGetImageTransformParameterfvHP - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_HP_image_transform] && glConfig.m_glGetImageTransformParameterfvHP) + // GL_KHR_parallel_shader_compile - glMaxShaderCompilerThreadsKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_parallel_shader_compile] && glConfig.m_glMaxShaderCompilerThreadsKHR) { prototypeCalled = true; - glConfig.m_glGetImageTransformParameterfvHP (target, pname, params); + glConfig.m_glMaxShaderCompilerThreadsKHR (count); + } + // GL_ARB_parallel_shader_compile - glMaxShaderCompilerThreadsKHR + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_ARB_parallel_shader_compile] && glConfig.m_glMaxShaderCompilerThreadsARB) + { + prototypeCalled = true; + glConfig.m_glMaxShaderCompilerThreadsARB (count); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51632,18 +54681,18 @@ void _glew_gl_glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLf //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiModeDrawArraysIBM (const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride) +void _glew_gl_glFramebufferParameteriMESA (GLenum target, GLenum pname, GLint param) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_IBM_multimode_draw_arrays - glMultiModeDrawArraysIBM - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_multimode_draw_arrays] && glConfig.m_glMultiModeDrawArraysIBM) + // GL_MESA_framebuffer_flip_y - glFramebufferParameteriMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_framebuffer_flip_y] && glConfig.m_glFramebufferParameteriMESA) { prototypeCalled = true; - glConfig.m_glMultiModeDrawArraysIBM (mode, first, count, primcount, modestride); + glConfig.m_glFramebufferParameteriMESA (target, pname, param); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51655,18 +54704,18 @@ void _glew_gl_glMultiModeDrawArraysIBM (const GLenum * mode, const GLint * first //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiModeDrawElementsIBM (const GLenum * mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, GLint modestride) +void _glew_gl_glGetFramebufferParameterivMESA (GLenum target, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_IBM_multimode_draw_arrays - glMultiModeDrawElementsIBM - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_multimode_draw_arrays] && glConfig.m_glMultiModeDrawElementsIBM) + // GL_MESA_framebuffer_flip_y - glGetFramebufferParameterivMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_framebuffer_flip_y] && glConfig.m_glGetFramebufferParameterivMESA) { prototypeCalled = true; - glConfig.m_glMultiModeDrawElementsIBM (mode, count, type, indices, primcount, modestride); + glConfig.m_glGetFramebufferParameterivMESA (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51678,18 +54727,18 @@ void _glew_gl_glMultiModeDrawElementsIBM (const GLenum * mode, const GLsizei * c //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glFlushStaticDataIBM (GLenum target) +void _glew_gl_glResizeBuffersMESA () { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_IBM_static_data - glFlushStaticDataIBM - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_static_data] && glConfig.m_glFlushStaticDataIBM) + // GL_MESA_resize_buffers - glResizeBuffersMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_resize_buffers] && glConfig.m_glResizeBuffersMESA) { prototypeCalled = true; - glConfig.m_glFlushStaticDataIBM (target); + glConfig.m_glResizeBuffersMESA (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51701,18 +54750,18 @@ void _glew_gl_glFlushStaticDataIBM (GLenum target) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride) +void _glew_gl_glWindowPos2dMESA (GLdouble x, GLdouble y) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_IBM_vertex_array_lists - glColorPointerListIBM - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glColorPointerListIBM) + // GL_MESA_window_pos - glWindowPos2dMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2dMESA) { prototypeCalled = true; - glConfig.m_glColorPointerListIBM (size, type, stride, pointer, ptrstride); + glConfig.m_glWindowPos2dMESA (x, y); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51724,18 +54773,18 @@ void _glew_gl_glColorPointerListIBM (GLint size, GLenum type, GLint stride, cons //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride) +void _glew_gl_glWindowPos2dvMESA (const GLdouble * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_IBM_vertex_array_lists - glSecondaryColorPointerListIBM - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glSecondaryColorPointerListIBM) + // GL_MESA_window_pos - glWindowPos2dvMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2dvMESA) { prototypeCalled = true; - glConfig.m_glSecondaryColorPointerListIBM (size, type, stride, pointer, ptrstride); + glConfig.m_glWindowPos2dvMESA (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51747,18 +54796,18 @@ void _glew_gl_glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint str //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glEdgeFlagPointerListIBM (GLint stride, const GLboolean ** pointer, GLint ptrstride) +void _glew_gl_glWindowPos2fMESA (GLfloat x, GLfloat y) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_IBM_vertex_array_lists - glEdgeFlagPointerListIBM - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glEdgeFlagPointerListIBM) + // GL_MESA_window_pos - glWindowPos2fMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2fMESA) { prototypeCalled = true; - glConfig.m_glEdgeFlagPointerListIBM (stride, pointer, ptrstride); + glConfig.m_glWindowPos2fMESA (x, y); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51770,18 +54819,18 @@ void _glew_gl_glEdgeFlagPointerListIBM (GLint stride, const GLboolean ** pointer //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glFogCoordPointerListIBM (GLenum type, GLint stride, const void ** pointer, GLint ptrstride) +void _glew_gl_glWindowPos2fvMESA (const GLfloat * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_IBM_vertex_array_lists - glFogCoordPointerListIBM - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glFogCoordPointerListIBM) + // GL_MESA_window_pos - glWindowPos2fvMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2fvMESA) { prototypeCalled = true; - glConfig.m_glFogCoordPointerListIBM (type, stride, pointer, ptrstride); + glConfig.m_glWindowPos2fvMESA (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51793,18 +54842,18 @@ void _glew_gl_glFogCoordPointerListIBM (GLenum type, GLint stride, const void ** //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glIndexPointerListIBM (GLenum type, GLint stride, const void ** pointer, GLint ptrstride) +void _glew_gl_glWindowPos2iMESA (GLint x, GLint y) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_IBM_vertex_array_lists - glIndexPointerListIBM - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glIndexPointerListIBM) + // GL_MESA_window_pos - glWindowPos2iMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2iMESA) { prototypeCalled = true; - glConfig.m_glIndexPointerListIBM (type, stride, pointer, ptrstride); + glConfig.m_glWindowPos2iMESA (x, y); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51816,18 +54865,18 @@ void _glew_gl_glIndexPointerListIBM (GLenum type, GLint stride, const void ** po //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glNormalPointerListIBM (GLenum type, GLint stride, const void ** pointer, GLint ptrstride) +void _glew_gl_glWindowPos2ivMESA (const GLint * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_IBM_vertex_array_lists - glNormalPointerListIBM - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glNormalPointerListIBM) + // GL_MESA_window_pos - glWindowPos2ivMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2ivMESA) { prototypeCalled = true; - glConfig.m_glNormalPointerListIBM (type, stride, pointer, ptrstride); + glConfig.m_glWindowPos2ivMESA (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51839,18 +54888,18 @@ void _glew_gl_glNormalPointerListIBM (GLenum type, GLint stride, const void ** p //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride) +void _glew_gl_glWindowPos2sMESA (GLshort x, GLshort y) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_IBM_vertex_array_lists - glTexCoordPointerListIBM - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glTexCoordPointerListIBM) + // GL_MESA_window_pos - glWindowPos2sMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2sMESA) { prototypeCalled = true; - glConfig.m_glTexCoordPointerListIBM (size, type, stride, pointer, ptrstride); + glConfig.m_glWindowPos2sMESA (x, y); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51862,18 +54911,18 @@ void _glew_gl_glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, c //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride) +void _glew_gl_glWindowPos2svMESA (const GLshort * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_IBM_vertex_array_lists - glVertexPointerListIBM - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] && glConfig.m_glVertexPointerListIBM) + // GL_MESA_window_pos - glWindowPos2svMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2svMESA) { prototypeCalled = true; - glConfig.m_glVertexPointerListIBM (size, type, stride, pointer, ptrstride); + glConfig.m_glWindowPos2svMESA (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51885,18 +54934,18 @@ void _glew_gl_glVertexPointerListIBM (GLint size, GLenum type, GLint stride, con //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) +void _glew_gl_glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_IMG_multisampled_render_to_texture - glRenderbufferStorageMultisampleIMG - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IMG_multisampled_render_to_texture] && glConfig.m_glRenderbufferStorageMultisampleIMG) + // GL_MESA_window_pos - glWindowPos3dMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3dMESA) { prototypeCalled = true; - glConfig.m_glRenderbufferStorageMultisampleIMG (target, samples, internalformat, width, height); + glConfig.m_glWindowPos3dMESA (x, y, z); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51908,18 +54957,18 @@ void _glew_gl_glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei sample //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) +void _glew_gl_glWindowPos3dvMESA (const GLdouble * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_IMG_multisampled_render_to_texture - glFramebufferTexture2DMultisampleIMG - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_IMG_multisampled_render_to_texture] && glConfig.m_glFramebufferTexture2DMultisampleIMG) + // GL_MESA_window_pos - glWindowPos3dvMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3dvMESA) { prototypeCalled = true; - glConfig.m_glFramebufferTexture2DMultisampleIMG (target, attachment, textarget, texture, level, samples); + glConfig.m_glWindowPos3dvMESA (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51931,18 +54980,18 @@ void _glew_gl_glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attach //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) +void _glew_gl_glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INGR_blend_func_separate - glBlendFuncSeparateINGR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INGR_blend_func_separate] && glConfig.m_glBlendFuncSeparateINGR) + // GL_MESA_window_pos - glWindowPos3fMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3fMESA) { prototypeCalled = true; - glConfig.m_glBlendFuncSeparateINGR (sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); + glConfig.m_glWindowPos3fMESA (x, y, z); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51954,18 +55003,18 @@ void _glew_gl_glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLe //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glApplyFramebufferAttachmentCMAAINTEL () +void _glew_gl_glWindowPos3fvMESA (const GLfloat * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_framebuffer_CMAA - glApplyFramebufferAttachmentCMAAINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_framebuffer_CMAA] && glConfig.m_glApplyFramebufferAttachmentCMAAINTEL) + // GL_MESA_window_pos - glWindowPos3fvMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3fvMESA) { prototypeCalled = true; - glConfig.m_glApplyFramebufferAttachmentCMAAINTEL (); + glConfig.m_glWindowPos3fvMESA (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -51977,18 +55026,18 @@ void _glew_gl_glApplyFramebufferAttachmentCMAAINTEL () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSyncTextureINTEL (GLuint texture) +void _glew_gl_glWindowPos3iMESA (GLint x, GLint y, GLint z) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_map_texture - glSyncTextureINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_map_texture] && glConfig.m_glSyncTextureINTEL) + // GL_MESA_window_pos - glWindowPos3iMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3iMESA) { prototypeCalled = true; - glConfig.m_glSyncTextureINTEL (texture); + glConfig.m_glWindowPos3iMESA (x, y, z); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52000,18 +55049,18 @@ void _glew_gl_glSyncTextureINTEL (GLuint texture) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glUnmapTexture2DINTEL (GLuint texture, GLint level) +void _glew_gl_glWindowPos3ivMESA (const GLint * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_map_texture - glUnmapTexture2DINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_map_texture] && glConfig.m_glUnmapTexture2DINTEL) + // GL_MESA_window_pos - glWindowPos3ivMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3ivMESA) { prototypeCalled = true; - glConfig.m_glUnmapTexture2DINTEL (texture, level); + glConfig.m_glWindowPos3ivMESA (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52023,43 +55072,41 @@ void _glew_gl_glUnmapTexture2DINTEL (GLuint texture, GLint level) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void * _glew_gl_glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint * stride, GLenum * layout) +void _glew_gl_glWindowPos3sMESA (GLshort x, GLshort y, GLshort z) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - void * result = ((void *)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_map_texture - glMapTexture2DINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_map_texture] && glConfig.m_glMapTexture2DINTEL) + // GL_MESA_window_pos - glWindowPos3sMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3sMESA) { prototypeCalled = true; - result = glConfig.m_glMapTexture2DINTEL (texture, level, access, stride, layout); + glConfig.m_glWindowPos3sMESA (x, y, z); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexPointervINTEL (GLint size, GLenum type, const void ** pointer) +void _glew_gl_glWindowPos3svMESA (const GLshort * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_parallel_arrays - glVertexPointervINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_parallel_arrays] && glConfig.m_glVertexPointervINTEL) + // GL_MESA_window_pos - glWindowPos3svMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3svMESA) { prototypeCalled = true; - glConfig.m_glVertexPointervINTEL (size, type, pointer); + glConfig.m_glWindowPos3svMESA (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52071,18 +55118,18 @@ void _glew_gl_glVertexPointervINTEL (GLint size, GLenum type, const void ** poin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glNormalPointervINTEL (GLenum type, const void ** pointer) +void _glew_gl_glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_parallel_arrays - glNormalPointervINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_parallel_arrays] && glConfig.m_glNormalPointervINTEL) + // GL_MESA_window_pos - glWindowPos4dMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4dMESA) { prototypeCalled = true; - glConfig.m_glNormalPointervINTEL (type, pointer); + glConfig.m_glWindowPos4dMESA (x, y, z, w); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52094,18 +55141,18 @@ void _glew_gl_glNormalPointervINTEL (GLenum type, const void ** pointer) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glColorPointervINTEL (GLint size, GLenum type, const void ** pointer) +void _glew_gl_glWindowPos4dvMESA (const GLdouble * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_parallel_arrays - glColorPointervINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_parallel_arrays] && glConfig.m_glColorPointervINTEL) + // GL_MESA_window_pos - glWindowPos4dvMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4dvMESA) { prototypeCalled = true; - glConfig.m_glColorPointervINTEL (size, type, pointer); + glConfig.m_glWindowPos4dvMESA (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52117,18 +55164,18 @@ void _glew_gl_glColorPointervINTEL (GLint size, GLenum type, const void ** point //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexCoordPointervINTEL (GLint size, GLenum type, const void ** pointer) +void _glew_gl_glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_parallel_arrays - glTexCoordPointervINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_parallel_arrays] && glConfig.m_glTexCoordPointervINTEL) + // GL_MESA_window_pos - glWindowPos4fMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4fMESA) { prototypeCalled = true; - glConfig.m_glTexCoordPointervINTEL (size, type, pointer); + glConfig.m_glWindowPos4fMESA (x, y, z, w); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52140,18 +55187,18 @@ void _glew_gl_glTexCoordPointervINTEL (GLint size, GLenum type, const void ** po //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBeginPerfQueryINTEL (GLuint queryHandle) +void _glew_gl_glWindowPos4fvMESA (const GLfloat * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glBeginPerfQueryINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glBeginPerfQueryINTEL) + // GL_MESA_window_pos - glWindowPos4fvMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4fvMESA) { prototypeCalled = true; - glConfig.m_glBeginPerfQueryINTEL (queryHandle); + glConfig.m_glWindowPos4fvMESA (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52163,18 +55210,18 @@ void _glew_gl_glBeginPerfQueryINTEL (GLuint queryHandle) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glCreatePerfQueryINTEL (GLuint queryId, GLuint * queryHandle) +void _glew_gl_glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glCreatePerfQueryINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glCreatePerfQueryINTEL) + // GL_MESA_window_pos - glWindowPos4iMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4iMESA) { prototypeCalled = true; - glConfig.m_glCreatePerfQueryINTEL (queryId, queryHandle); + glConfig.m_glWindowPos4iMESA (x, y, z, w); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52186,18 +55233,18 @@ void _glew_gl_glCreatePerfQueryINTEL (GLuint queryId, GLuint * queryHandle) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDeletePerfQueryINTEL (GLuint queryHandle) +void _glew_gl_glWindowPos4ivMESA (const GLint * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glDeletePerfQueryINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glDeletePerfQueryINTEL) + // GL_MESA_window_pos - glWindowPos4ivMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4ivMESA) { prototypeCalled = true; - glConfig.m_glDeletePerfQueryINTEL (queryHandle); + glConfig.m_glWindowPos4ivMESA (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52209,18 +55256,18 @@ void _glew_gl_glDeletePerfQueryINTEL (GLuint queryHandle) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glEndPerfQueryINTEL (GLuint queryHandle) +void _glew_gl_glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glEndPerfQueryINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glEndPerfQueryINTEL) + // GL_MESA_window_pos - glWindowPos4sMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4sMESA) { prototypeCalled = true; - glConfig.m_glEndPerfQueryINTEL (queryHandle); + glConfig.m_glWindowPos4sMESA (x, y, z, w); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52232,18 +55279,18 @@ void _glew_gl_glEndPerfQueryINTEL (GLuint queryHandle) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetFirstPerfQueryIdINTEL (GLuint * queryId) +void _glew_gl_glWindowPos4svMESA (const GLshort * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glGetFirstPerfQueryIdINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glGetFirstPerfQueryIdINTEL) + // GL_MESA_window_pos - glWindowPos4svMESA + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4svMESA) { prototypeCalled = true; - glConfig.m_glGetFirstPerfQueryIdINTEL (queryId); + glConfig.m_glWindowPos4svMESA (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52255,18 +55302,18 @@ void _glew_gl_glGetFirstPerfQueryIdINTEL (GLuint * queryId) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint * nextQueryId) +void _glew_gl_glBeginConditionalRenderNVX (GLuint id) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glGetNextPerfQueryIdINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glGetNextPerfQueryIdINTEL) + // GL_NVX_conditional_render - glBeginConditionalRenderNVX + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_conditional_render] && glConfig.m_glBeginConditionalRenderNVX) { prototypeCalled = true; - glConfig.m_glGetNextPerfQueryIdINTEL (queryId, nextQueryId); + glConfig.m_glBeginConditionalRenderNVX (id); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52278,18 +55325,18 @@ void _glew_gl_glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint * nextQueryId) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue) +void _glew_gl_glEndConditionalRenderNVX () { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glGetPerfCounterInfoINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glGetPerfCounterInfoINTEL) + // GL_NVX_conditional_render - glEndConditionalRenderNVX + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_conditional_render] && glConfig.m_glEndConditionalRenderNVX) { prototypeCalled = true; - glConfig.m_glGetPerfCounterInfoINTEL (queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue); + glConfig.m_glEndConditionalRenderNVX (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52301,18 +55348,18 @@ void _glew_gl_glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid * data, GLuint * bytesWritten) +void _glew_gl_glLGPUNamedBufferSubDataNVX (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glGetPerfQueryDataINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glGetPerfQueryDataINTEL) + // GL_NVX_linked_gpu_multicast - glLGPUNamedBufferSubDataNVX + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_linked_gpu_multicast] && glConfig.m_glLGPUNamedBufferSubDataNVX) { prototypeCalled = true; - glConfig.m_glGetPerfQueryDataINTEL (queryHandle, flags, dataSize, data, bytesWritten); + glConfig.m_glLGPUNamedBufferSubDataNVX (gpuMask, buffer, offset, size, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52324,18 +55371,18 @@ void _glew_gl_glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetPerfQueryIdByNameINTEL (GLchar * queryName, GLuint * queryId) +void _glew_gl_glLGPUCopyImageSubDataNVX (GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glGetPerfQueryIdByNameINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glGetPerfQueryIdByNameINTEL) + // GL_NVX_linked_gpu_multicast - glLGPUCopyImageSubDataNVX + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_linked_gpu_multicast] && glConfig.m_glLGPUCopyImageSubDataNVX) { prototypeCalled = true; - glConfig.m_glGetPerfQueryIdByNameINTEL (queryName, queryId); + glConfig.m_glLGPUCopyImageSubDataNVX (sourceGpu, destinationGpuMask, srcName, srcTarget, srcLevel, srcX, srxY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52347,18 +55394,18 @@ void _glew_gl_glGetPerfQueryIdByNameINTEL (GLchar * queryName, GLuint * queryId) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask) +void _glew_gl_glLGPUInterlockNVX () { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glGetPerfQueryInfoINTEL - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glConfig.m_glGetPerfQueryInfoINTEL) + // GL_NVX_linked_gpu_multicast - glLGPUInterlockNVX + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_linked_gpu_multicast] && glConfig.m_glLGPUInterlockNVX) { prototypeCalled = true; - glConfig.m_glGetPerfQueryInfoINTEL (queryId, queryNameLength, queryName, dataSize, noCounters, noInstances, capsMask); + glConfig.m_glLGPUInterlockNVX (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52370,18 +55417,18 @@ void _glew_gl_glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, G //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBlendBarrierKHR () +void _glew_gl_glAlphaToCoverageDitherControlNV (GLenum mode) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_blend_equation_advanced - glBlendBarrierKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_blend_equation_advanced] && glConfig.m_glBlendBarrierKHR) + // GL_NV_alpha_to_coverage_dither_control - glAlphaToCoverageDitherControlNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_alpha_to_coverage_dither_control] && glConfig.m_glAlphaToCoverageDitherControlNV) { prototypeCalled = true; - glConfig.m_glBlendBarrierKHR (); + glConfig.m_glAlphaToCoverageDitherControlNV (mode); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52393,18 +55440,18 @@ void _glew_gl_glBlendBarrierKHR () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled) +void _glew_gl_glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glDebugMessageControlKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glDebugMessageControlKHR) + // GL_NV_bindless_multi_draw_indirect - glMultiDrawArraysIndirectBindlessNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_multi_draw_indirect] && glConfig.m_glMultiDrawArraysIndirectBindlessNV) { prototypeCalled = true; - glConfig.m_glDebugMessageControlKHR (source, type, severity, count, ids, enabled); + glConfig.m_glMultiDrawArraysIndirectBindlessNV (mode, indirect, drawCount, stride, vertexBufferCount); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52416,18 +55463,18 @@ void _glew_gl_glDebugMessageControlKHR (GLenum source, GLenum type, GLenum sever //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf) +void _glew_gl_glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glDebugMessageInsertKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glDebugMessageInsertKHR) + // GL_NV_bindless_multi_draw_indirect - glMultiDrawElementsIndirectBindlessNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_multi_draw_indirect] && glConfig.m_glMultiDrawElementsIndirectBindlessNV) { prototypeCalled = true; - glConfig.m_glDebugMessageInsertKHR (source, type, id, severity, length, buf); + glConfig.m_glMultiDrawElementsIndirectBindlessNV (mode, type, indirect, drawCount, stride, vertexBufferCount); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52439,18 +55486,18 @@ void _glew_gl_glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void * userParam) +void _glew_gl_glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void * indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glDebugMessageCallbackKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glDebugMessageCallbackKHR) + // GL_NV_bindless_multi_draw_indirect_count - glMultiDrawArraysIndirectBindlessCountNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_multi_draw_indirect_count] && glConfig.m_glMultiDrawArraysIndirectBindlessCountNV) { prototypeCalled = true; - glConfig.m_glDebugMessageCallbackKHR (callback, userParam); + glConfig.m_glMultiDrawArraysIndirectBindlessCountNV (mode, indirect, drawCount, maxDrawCount, stride, vertexBufferCount); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52462,89 +55509,91 @@ void _glew_gl_glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void * u //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint _glew_gl_glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog) +void _glew_gl_glMultiDrawElementsIndirectBindlessCountNV (GLenum mode, GLenum type, const void * indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glGetDebugMessageLogKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glGetDebugMessageLogKHR) + // GL_NV_bindless_multi_draw_indirect_count - glMultiDrawElementsIndirectBindlessCountNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_multi_draw_indirect_count] && glConfig.m_glMultiDrawElementsIndirectBindlessCountNV) { prototypeCalled = true; - result = glConfig.m_glGetDebugMessageLogKHR (count, bufSize, sources, types, ids, severities, lengths, messageLog); + glConfig.m_glMultiDrawElementsIndirectBindlessCountNV (mode, type, indirect, drawCount, maxDrawCount, stride, vertexBufferCount); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar * message) +GLuint64 _glew_gl_glGetTextureHandleNV (GLuint texture) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glPushDebugGroupKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glPushDebugGroupKHR) + // GL_NV_bindless_texture - glGetTextureHandleNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glGetTextureHandleNV) { prototypeCalled = true; - glConfig.m_glPushDebugGroupKHR (source, id, length, message); + result = glConfig.m_glGetTextureHandleNV (texture); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glPopDebugGroupKHR () +GLuint64 _glew_gl_glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glPopDebugGroupKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glPopDebugGroupKHR) + // GL_NV_bindless_texture - glGetTextureSamplerHandleNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glGetTextureSamplerHandleNV) { prototypeCalled = true; - glConfig.m_glPopDebugGroupKHR (); + result = glConfig.m_glGetTextureSamplerHandleNV (texture, sampler); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar * label) +void _glew_gl_glMakeTextureHandleResidentNV (GLuint64 handle) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glObjectLabelKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glObjectLabelKHR) + // GL_NV_bindless_texture - glMakeTextureHandleResidentNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glMakeTextureHandleResidentNV) { prototypeCalled = true; - glConfig.m_glObjectLabelKHR (identifier, name, length, label); + glConfig.m_glMakeTextureHandleResidentNV (handle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52556,18 +55605,18 @@ void _glew_gl_glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label) +void _glew_gl_glMakeTextureHandleNonResidentNV (GLuint64 handle) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glGetObjectLabelKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glGetObjectLabelKHR) + // GL_NV_bindless_texture - glMakeTextureHandleNonResidentNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glMakeTextureHandleNonResidentNV) { prototypeCalled = true; - glConfig.m_glGetObjectLabelKHR (identifier, name, bufSize, length, label); + glConfig.m_glMakeTextureHandleNonResidentNV (handle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52579,41 +55628,43 @@ void _glew_gl_glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSi //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glObjectPtrLabelKHR (const void * ptr, GLsizei length, const GLchar * label) +GLuint64 _glew_gl_glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glObjectPtrLabelKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glObjectPtrLabelKHR) + // GL_NV_bindless_texture - glGetImageHandleNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glGetImageHandleNV) { prototypeCalled = true; - glConfig.m_glObjectPtrLabelKHR (ptr, length, label); + result = glConfig.m_glGetImageHandleNV (texture, level, layered, layer, format); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetObjectPtrLabelKHR (const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label) +void _glew_gl_glMakeImageHandleResidentNV (GLuint64 handle, GLenum access) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glGetObjectPtrLabelKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glGetObjectPtrLabelKHR) + // GL_NV_bindless_texture - glMakeImageHandleResidentNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glMakeImageHandleResidentNV) { prototypeCalled = true; - glConfig.m_glGetObjectPtrLabelKHR (ptr, bufSize, length, label); + glConfig.m_glMakeImageHandleResidentNV (handle, access); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52625,18 +55676,18 @@ void _glew_gl_glGetObjectPtrLabelKHR (const void * ptr, GLsizei bufSize, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetPointervKHR (GLenum pname, void ** params) +void _glew_gl_glMakeImageHandleNonResidentNV (GLuint64 handle) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glGetPointervKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_debug] && glConfig.m_glGetPointervKHR) + // GL_NV_bindless_texture - glMakeImageHandleNonResidentNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glMakeImageHandleNonResidentNV) { prototypeCalled = true; - glConfig.m_glGetPointervKHR (pname, params); + glConfig.m_glMakeImageHandleNonResidentNV (handle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52648,43 +55699,41 @@ void _glew_gl_glGetPointervKHR (GLenum pname, void ** params) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLenum _glew_gl_glGetGraphicsResetStatusKHR () +void _glew_gl_glUniformHandleui64NV (GLint location, GLuint64 value) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLenum result = ((GLenum)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_robustness - glGetGraphicsResetStatusKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glConfig.m_glGetGraphicsResetStatusKHR) + // GL_NV_bindless_texture - glUniformHandleui64NV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glUniformHandleui64NV) { prototypeCalled = true; - result = glConfig.m_glGetGraphicsResetStatusKHR (); + glConfig.m_glUniformHandleui64NV (location, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) +void _glew_gl_glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 * value) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_robustness - glReadnPixelsKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glConfig.m_glReadnPixelsKHR) + // GL_NV_bindless_texture - glUniformHandleui64vNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glUniformHandleui64vNV) { prototypeCalled = true; - glConfig.m_glReadnPixelsKHR (x, y, width, height, format, type, bufSize, data); + glConfig.m_glUniformHandleui64vNV (location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52696,18 +55745,18 @@ void _glew_gl_glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat * params) +void _glew_gl_glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_robustness - glGetnUniformfvKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glConfig.m_glGetnUniformfvKHR) + // GL_NV_bindless_texture - glProgramUniformHandleui64NV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glProgramUniformHandleui64NV) { prototypeCalled = true; - glConfig.m_glGetnUniformfvKHR (program, location, bufSize, params); + glConfig.m_glProgramUniformHandleui64NV (program, location, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52719,18 +55768,18 @@ void _glew_gl_glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSiz //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint * params) +void _glew_gl_glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 * values) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_robustness - glGetnUniformivKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glConfig.m_glGetnUniformivKHR) + // GL_NV_bindless_texture - glProgramUniformHandleui64vNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glProgramUniformHandleui64vNV) { prototypeCalled = true; - glConfig.m_glGetnUniformivKHR (program, location, bufSize, params); + glConfig.m_glProgramUniformHandleui64vNV (program, location, count, values); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52742,64 +55791,68 @@ void _glew_gl_glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSiz //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint * params) +GLboolean _glew_gl_glIsTextureHandleResidentNV (GLuint64 handle) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_robustness - glGetnUniformuivKHR - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glConfig.m_glGetnUniformuivKHR) + // GL_NV_bindless_texture - glIsTextureHandleResidentNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glIsTextureHandleResidentNV) { prototypeCalled = true; - glConfig.m_glGetnUniformuivKHR (program, location, bufSize, params); + result = glConfig.m_glIsTextureHandleResidentNV (handle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glResizeBuffersMESA () +GLboolean _glew_gl_glIsImageHandleResidentNV (GLuint64 handle) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_resize_buffers - glResizeBuffersMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_resize_buffers] && glConfig.m_glResizeBuffersMESA) + // GL_NV_bindless_texture - glIsImageHandleResidentNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glIsImageHandleResidentNV) { prototypeCalled = true; - glConfig.m_glResizeBuffersMESA (); + result = glConfig.m_glIsImageHandleResidentNV (handle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos2dMESA (GLdouble x, GLdouble y) +void _glew_gl_glBlendParameteriNV (GLenum pname, GLint value) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos2dMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2dMESA) + // GL_NV_blend_equation_advanced - glBlendParameteriNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_blend_equation_advanced] && glConfig.m_glBlendParameteriNV) { prototypeCalled = true; - glConfig.m_glWindowPos2dMESA (x, y); + glConfig.m_glBlendParameteriNV (pname, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52811,18 +55864,18 @@ void _glew_gl_glWindowPos2dMESA (GLdouble x, GLdouble y) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos2dvMESA (const GLdouble * v) +void _glew_gl_glBlendBarrierNV () { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos2dvMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2dvMESA) + // GL_NV_blend_equation_advanced - glBlendBarrierNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_blend_equation_advanced] && glConfig.m_glBlendBarrierNV) { prototypeCalled = true; - glConfig.m_glWindowPos2dvMESA (v); + glConfig.m_glBlendBarrierNV (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52834,18 +55887,18 @@ void _glew_gl_glWindowPos2dvMESA (const GLdouble * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos2fMESA (GLfloat x, GLfloat y) +void _glew_gl_glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos2fMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2fMESA) + // GL_NV_clip_space_w_scaling - glViewportPositionWScaleNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_clip_space_w_scaling] && glConfig.m_glViewportPositionWScaleNV) { prototypeCalled = true; - glConfig.m_glWindowPos2fMESA (x, y); + glConfig.m_glViewportPositionWScaleNV (index, xcoeff, ycoeff); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52857,18 +55910,18 @@ void _glew_gl_glWindowPos2fMESA (GLfloat x, GLfloat y) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos2fvMESA (const GLfloat * v) +void _glew_gl_glCreateStatesNV (GLsizei n, GLuint * states) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos2fvMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2fvMESA) + // GL_NV_command_list - glCreateStatesNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glCreateStatesNV) { prototypeCalled = true; - glConfig.m_glWindowPos2fvMESA (v); + glConfig.m_glCreateStatesNV (n, states); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52880,18 +55933,18 @@ void _glew_gl_glWindowPos2fvMESA (const GLfloat * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos2iMESA (GLint x, GLint y) +void _glew_gl_glDeleteStatesNV (GLsizei n, const GLuint * states) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos2iMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2iMESA) + // GL_NV_command_list - glDeleteStatesNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glDeleteStatesNV) { prototypeCalled = true; - glConfig.m_glWindowPos2iMESA (x, y); + glConfig.m_glDeleteStatesNV (n, states); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52903,41 +55956,43 @@ void _glew_gl_glWindowPos2iMESA (GLint x, GLint y) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos2ivMESA (const GLint * v) +GLboolean _glew_gl_glIsStateNV (GLuint state) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos2ivMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2ivMESA) + // GL_NV_command_list - glIsStateNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glIsStateNV) { prototypeCalled = true; - glConfig.m_glWindowPos2ivMESA (v); + result = glConfig.m_glIsStateNV (state); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos2sMESA (GLshort x, GLshort y) +void _glew_gl_glStateCaptureNV (GLuint state, GLenum mode) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos2sMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2sMESA) + // GL_NV_command_list - glStateCaptureNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glStateCaptureNV) { prototypeCalled = true; - glConfig.m_glWindowPos2sMESA (x, y); + glConfig.m_glStateCaptureNV (state, mode); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -52949,64 +56004,68 @@ void _glew_gl_glWindowPos2sMESA (GLshort x, GLshort y) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos2svMESA (const GLshort * v) +GLuint _glew_gl_glGetCommandHeaderNV (GLenum tokenID, GLuint size) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos2svMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos2svMESA) + // GL_NV_command_list - glGetCommandHeaderNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glGetCommandHeaderNV) { prototypeCalled = true; - glConfig.m_glWindowPos2svMESA (v); + result = glConfig.m_glGetCommandHeaderNV (tokenID, size); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z) +GLushort _glew_gl_glGetStageIndexNV (GLenum shadertype) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLushort result = ((GLushort)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos3dMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3dMESA) + // GL_NV_command_list - glGetStageIndexNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glGetStageIndexNV) { prototypeCalled = true; - glConfig.m_glWindowPos3dMESA (x, y, z); + result = glConfig.m_glGetStageIndexNV (shadertype); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos3dvMESA (const GLdouble * v) +void _glew_gl_glDrawCommandsNV (GLenum primitiveMode, GLuint buffer, const GLintptr * indirects, const GLsizei * sizes, GLuint count) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos3dvMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3dvMESA) + // GL_NV_command_list - glDrawCommandsNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glDrawCommandsNV) { prototypeCalled = true; - glConfig.m_glWindowPos3dvMESA (v); + glConfig.m_glDrawCommandsNV (primitiveMode, buffer, indirects, sizes, count); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53018,18 +56077,18 @@ void _glew_gl_glWindowPos3dvMESA (const GLdouble * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z) +void _glew_gl_glDrawCommandsAddressNV (GLenum primitiveMode, const GLuint64 * indirects, const GLsizei * sizes, GLuint count) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos3fMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3fMESA) + // GL_NV_command_list - glDrawCommandsAddressNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glDrawCommandsAddressNV) { prototypeCalled = true; - glConfig.m_glWindowPos3fMESA (x, y, z); + glConfig.m_glDrawCommandsAddressNV (primitiveMode, indirects, sizes, count); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53041,18 +56100,18 @@ void _glew_gl_glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos3fvMESA (const GLfloat * v) +void _glew_gl_glDrawCommandsStatesNV (GLuint buffer, const GLintptr * indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos3fvMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3fvMESA) + // GL_NV_command_list - glDrawCommandsStatesNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glDrawCommandsStatesNV) { prototypeCalled = true; - glConfig.m_glWindowPos3fvMESA (v); + glConfig.m_glDrawCommandsStatesNV (buffer, indirects, sizes, states, fbos, count); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53064,18 +56123,18 @@ void _glew_gl_glWindowPos3fvMESA (const GLfloat * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos3iMESA (GLint x, GLint y, GLint z) +void _glew_gl_glDrawCommandsStatesAddressNV (const GLuint64 * indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos3iMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3iMESA) + // GL_NV_command_list - glDrawCommandsStatesAddressNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glDrawCommandsStatesAddressNV) { prototypeCalled = true; - glConfig.m_glWindowPos3iMESA (x, y, z); + glConfig.m_glDrawCommandsStatesAddressNV (indirects, sizes, states, fbos, count); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53087,18 +56146,18 @@ void _glew_gl_glWindowPos3iMESA (GLint x, GLint y, GLint z) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos3ivMESA (const GLint * v) +void _glew_gl_glCreateCommandListsNV (GLsizei n, GLuint * lists) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos3ivMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3ivMESA) + // GL_NV_command_list - glCreateCommandListsNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glCreateCommandListsNV) { prototypeCalled = true; - glConfig.m_glWindowPos3ivMESA (v); + glConfig.m_glCreateCommandListsNV (n, lists); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53110,18 +56169,18 @@ void _glew_gl_glWindowPos3ivMESA (const GLint * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos3sMESA (GLshort x, GLshort y, GLshort z) +void _glew_gl_glDeleteCommandListsNV (GLsizei n, const GLuint * lists) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos3sMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3sMESA) + // GL_NV_command_list - glDeleteCommandListsNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glDeleteCommandListsNV) { prototypeCalled = true; - glConfig.m_glWindowPos3sMESA (x, y, z); + glConfig.m_glDeleteCommandListsNV (n, lists); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53133,41 +56192,43 @@ void _glew_gl_glWindowPos3sMESA (GLshort x, GLshort y, GLshort z) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos3svMESA (const GLshort * v) +GLboolean _glew_gl_glIsCommandListNV (GLuint list) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos3svMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos3svMESA) + // GL_NV_command_list - glIsCommandListNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glIsCommandListNV) { prototypeCalled = true; - glConfig.m_glWindowPos3svMESA (v); + result = glConfig.m_glIsCommandListNV (list); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w) +void _glew_gl_glListDrawCommandsStatesClientNV (GLuint list, GLuint segment, const void ** indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos4dMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4dMESA) + // GL_NV_command_list - glListDrawCommandsStatesClientNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glListDrawCommandsStatesClientNV) { prototypeCalled = true; - glConfig.m_glWindowPos4dMESA (x, y, z, w); + glConfig.m_glListDrawCommandsStatesClientNV (list, segment, indirects, sizes, states, fbos, count); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53179,18 +56240,18 @@ void _glew_gl_glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos4dvMESA (const GLdouble * v) +void _glew_gl_glCommandListSegmentsNV (GLuint list, GLuint segments) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos4dvMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4dvMESA) + // GL_NV_command_list - glCommandListSegmentsNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glCommandListSegmentsNV) { prototypeCalled = true; - glConfig.m_glWindowPos4dvMESA (v); + glConfig.m_glCommandListSegmentsNV (list, segments); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53202,18 +56263,18 @@ void _glew_gl_glWindowPos4dvMESA (const GLdouble * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w) +void _glew_gl_glCompileCommandListNV (GLuint list) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos4fMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4fMESA) + // GL_NV_command_list - glCompileCommandListNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glCompileCommandListNV) { prototypeCalled = true; - glConfig.m_glWindowPos4fMESA (x, y, z, w); + glConfig.m_glCompileCommandListNV (list); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53225,18 +56286,18 @@ void _glew_gl_glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos4fvMESA (const GLfloat * v) +void _glew_gl_glCallCommandListNV (GLuint list) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos4fvMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4fvMESA) + // GL_NV_command_list - glCallCommandListNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glCallCommandListNV) { prototypeCalled = true; - glConfig.m_glWindowPos4fvMESA (v); + glConfig.m_glCallCommandListNV (list); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53248,18 +56309,18 @@ void _glew_gl_glWindowPos4fvMESA (const GLfloat * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w) +void _glew_gl_glBeginConditionalRenderNV (GLuint id, GLenum mode) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos4iMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4iMESA) + // GL_NV_conditional_render - glBeginConditionalRenderNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_conditional_render] && glConfig.m_glBeginConditionalRenderNV) { prototypeCalled = true; - glConfig.m_glWindowPos4iMESA (x, y, z, w); + glConfig.m_glBeginConditionalRenderNV (id, mode); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53271,18 +56332,18 @@ void _glew_gl_glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos4ivMESA (const GLint * v) +void _glew_gl_glEndConditionalRenderNV () { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos4ivMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4ivMESA) + // GL_NV_conditional_render - glEndConditionalRenderNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_conditional_render] && glConfig.m_glEndConditionalRenderNV) { prototypeCalled = true; - glConfig.m_glWindowPos4ivMESA (v); + glConfig.m_glEndConditionalRenderNV (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53294,18 +56355,18 @@ void _glew_gl_glWindowPos4ivMESA (const GLint * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w) +void _glew_gl_glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos4sMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4sMESA) + // GL_NV_conservative_raster - glSubpixelPrecisionBiasNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_conservative_raster] && glConfig.m_glSubpixelPrecisionBiasNV) { prototypeCalled = true; - glConfig.m_glWindowPos4sMESA (x, y, z, w); + glConfig.m_glSubpixelPrecisionBiasNV (xbits, ybits); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53317,18 +56378,18 @@ void _glew_gl_glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glWindowPos4svMESA (const GLshort * v) +void _glew_gl_glConservativeRasterParameterfNV (GLenum pname, GLfloat value) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_MESA_window_pos - glWindowPos4svMESA - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_MESA_window_pos] && glConfig.m_glWindowPos4svMESA) + // GL_NV_conservative_raster_dilate - glConservativeRasterParameterfNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_conservative_raster_dilate] && glConfig.m_glConservativeRasterParameterfNV) { prototypeCalled = true; - glConfig.m_glWindowPos4svMESA (v); + glConfig.m_glConservativeRasterParameterfNV (pname, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53340,18 +56401,18 @@ void _glew_gl_glWindowPos4svMESA (const GLshort * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBeginConditionalRenderNVX (GLuint id) +void _glew_gl_glConservativeRasterParameteriNV (GLenum pname, GLint param) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NVX_conditional_render - glBeginConditionalRenderNVX - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_conditional_render] && glConfig.m_glBeginConditionalRenderNVX) + // GL_NV_conservative_raster_pre_snap_triangles - glConservativeRasterParameteriNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_conservative_raster_pre_snap_triangles] && glConfig.m_glConservativeRasterParameteriNV) { prototypeCalled = true; - glConfig.m_glBeginConditionalRenderNVX (id); + glConfig.m_glConservativeRasterParameteriNV (pname, param); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53363,18 +56424,18 @@ void _glew_gl_glBeginConditionalRenderNVX (GLuint id) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glEndConditionalRenderNVX () +void _glew_gl_glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NVX_conditional_render - glEndConditionalRenderNVX - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_conditional_render] && glConfig.m_glEndConditionalRenderNVX) + // GL_NV_copy_buffer - glCopyBufferSubDataNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_copy_buffer] && glConfig.m_glCopyBufferSubDataNV) { prototypeCalled = true; - glConfig.m_glEndConditionalRenderNVX (); + glConfig.m_glCopyBufferSubDataNV (readTarget, writeTarget, readOffset, writeOffset, size); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53386,18 +56447,18 @@ void _glew_gl_glEndConditionalRenderNVX () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount) +void _glew_gl_glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_multi_draw_indirect - glMultiDrawArraysIndirectBindlessNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_multi_draw_indirect] && glConfig.m_glMultiDrawArraysIndirectBindlessNV) + // GL_NV_copy_image - glCopyImageSubDataNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_copy_image] && glConfig.m_glCopyImageSubDataNV) { prototypeCalled = true; - glConfig.m_glMultiDrawArraysIndirectBindlessNV (mode, indirect, drawCount, stride, vertexBufferCount); + glConfig.m_glCopyImageSubDataNV (srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53409,18 +56470,18 @@ void _glew_gl_glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void * ind //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount) +void _glew_gl_glCoverageMaskNV (GLboolean mask) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_multi_draw_indirect - glMultiDrawElementsIndirectBindlessNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_multi_draw_indirect] && glConfig.m_glMultiDrawElementsIndirectBindlessNV) + // GL_NV_coverage_sample - glCoverageMaskNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_coverage_sample] && glConfig.m_glCoverageMaskNV) { prototypeCalled = true; - glConfig.m_glMultiDrawElementsIndirectBindlessNV (mode, type, indirect, drawCount, stride, vertexBufferCount); + glConfig.m_glCoverageMaskNV (mask); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53432,18 +56493,18 @@ void _glew_gl_glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, c //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void * indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount) +void _glew_gl_glCoverageOperationNV (GLenum operation) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_multi_draw_indirect_count - glMultiDrawArraysIndirectBindlessCountNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_multi_draw_indirect_count] && glConfig.m_glMultiDrawArraysIndirectBindlessCountNV) + // GL_NV_coverage_sample - glCoverageOperationNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_coverage_sample] && glConfig.m_glCoverageOperationNV) { prototypeCalled = true; - glConfig.m_glMultiDrawArraysIndirectBindlessCountNV (mode, indirect, drawCount, maxDrawCount, stride, vertexBufferCount); + glConfig.m_glCoverageOperationNV (operation); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53455,18 +56516,18 @@ void _glew_gl_glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiDrawElementsIndirectBindlessCountNV (GLenum mode, GLenum type, const void * indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount) +void _glew_gl_glDepthRangedNV (GLdouble zNear, GLdouble zFar) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_multi_draw_indirect_count - glMultiDrawElementsIndirectBindlessCountNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_multi_draw_indirect_count] && glConfig.m_glMultiDrawElementsIndirectBindlessCountNV) + // GL_NV_depth_buffer_float - glDepthRangedNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_depth_buffer_float] && glConfig.m_glDepthRangedNV) { prototypeCalled = true; - glConfig.m_glMultiDrawElementsIndirectBindlessCountNV (mode, type, indirect, drawCount, maxDrawCount, stride, vertexBufferCount); + glConfig.m_glDepthRangedNV (zNear, zFar); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53478,68 +56539,64 @@ void _glew_gl_glMultiDrawElementsIndirectBindlessCountNV (GLenum mode, GLenum ty //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint64 _glew_gl_glGetTextureHandleNV (GLuint texture) +void _glew_gl_glClearDepthdNV (GLdouble depth) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glGetTextureHandleNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glGetTextureHandleNV) + // GL_NV_depth_buffer_float - glClearDepthdNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_depth_buffer_float] && glConfig.m_glClearDepthdNV) { prototypeCalled = true; - result = glConfig.m_glGetTextureHandleNV (texture); + glConfig.m_glClearDepthdNV (depth); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint64 _glew_gl_glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler) +void _glew_gl_glDepthBoundsdNV (GLdouble zmin, GLdouble zmax) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glGetTextureSamplerHandleNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glGetTextureSamplerHandleNV) + // GL_NV_depth_buffer_float - glDepthBoundsdNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_depth_buffer_float] && glConfig.m_glDepthBoundsdNV) { prototypeCalled = true; - result = glConfig.m_glGetTextureSamplerHandleNV (texture, sampler); + glConfig.m_glDepthBoundsdNV (zmin, zmax); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMakeTextureHandleResidentNV (GLuint64 handle) +void _glew_gl_glDrawBuffersNV (GLsizei n, const GLenum * bufs) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glMakeTextureHandleResidentNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glMakeTextureHandleResidentNV) + // GL_NV_draw_buffers - glDrawBuffersNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_draw_buffers] && glConfig.m_glDrawBuffersNV) { prototypeCalled = true; - glConfig.m_glMakeTextureHandleResidentNV (handle); + glConfig.m_glDrawBuffersNV (n, bufs); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53551,18 +56608,18 @@ void _glew_gl_glMakeTextureHandleResidentNV (GLuint64 handle) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMakeTextureHandleNonResidentNV (GLuint64 handle) +void _glew_gl_glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glMakeTextureHandleNonResidentNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glMakeTextureHandleNonResidentNV) + // GL_NV_draw_instanced - glDrawArraysInstancedNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_draw_instanced] && glConfig.m_glDrawArraysInstancedNV) { prototypeCalled = true; - glConfig.m_glMakeTextureHandleNonResidentNV (handle); + glConfig.m_glDrawArraysInstancedNV (mode, first, count, primcount); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53574,43 +56631,41 @@ void _glew_gl_glMakeTextureHandleNonResidentNV (GLuint64 handle) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint64 _glew_gl_glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format) +void _glew_gl_glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glGetImageHandleNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glGetImageHandleNV) + // GL_NV_draw_instanced - glDrawElementsInstancedNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_draw_instanced] && glConfig.m_glDrawElementsInstancedNV) { prototypeCalled = true; - result = glConfig.m_glGetImageHandleNV (texture, level, layered, layer, format); + glConfig.m_glDrawElementsInstancedNV (mode, count, type, indices, primcount); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMakeImageHandleResidentNV (GLuint64 handle, GLenum access) +void _glew_gl_glDrawTextureNV (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glMakeImageHandleResidentNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glMakeImageHandleResidentNV) + // GL_NV_draw_texture - glDrawTextureNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_draw_texture] && glConfig.m_glDrawTextureNV) { prototypeCalled = true; - glConfig.m_glMakeImageHandleResidentNV (handle, access); + glConfig.m_glDrawTextureNV (texture, sampler, x0, y0, x1, y1, z, s0, t0, s1, t1); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53622,18 +56677,18 @@ void _glew_gl_glMakeImageHandleResidentNV (GLuint64 handle, GLenum access) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMakeImageHandleNonResidentNV (GLuint64 handle) +void _glew_gl_glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glMakeImageHandleNonResidentNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glMakeImageHandleNonResidentNV) + // GL_NV_draw_vulkan_image - glDrawVkImageNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_draw_vulkan_image] && glConfig.m_glDrawVkImageNV) { prototypeCalled = true; - glConfig.m_glMakeImageHandleNonResidentNV (handle); + glConfig.m_glDrawVkImageNV (vkImage, sampler, x0, y0, x1, y1, z, s0, t0, s1, t1); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53645,41 +56700,43 @@ void _glew_gl_glMakeImageHandleNonResidentNV (GLuint64 handle) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glUniformHandleui64NV (GLint location, GLuint64 value) +GLVULKANPROCNV _glew_gl_glGetVkProcAddrNV (const GLchar * name) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLVULKANPROCNV result = ((GLVULKANPROCNV)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glUniformHandleui64NV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glUniformHandleui64NV) + // GL_NV_draw_vulkan_image - glGetVkProcAddrNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_draw_vulkan_image] && glConfig.m_glGetVkProcAddrNV) { prototypeCalled = true; - glConfig.m_glUniformHandleui64NV (location, value); + result = glConfig.m_glGetVkProcAddrNV (name); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 * value) +void _glew_gl_glWaitVkSemaphoreNV (GLuint64 vkSemaphore) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glUniformHandleui64vNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glUniformHandleui64vNV) + // GL_NV_draw_vulkan_image - glWaitVkSemaphoreNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_draw_vulkan_image] && glConfig.m_glWaitVkSemaphoreNV) { prototypeCalled = true; - glConfig.m_glUniformHandleui64vNV (location, count, value); + glConfig.m_glWaitVkSemaphoreNV (vkSemaphore); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53691,18 +56748,18 @@ void _glew_gl_glUniformHandleui64vNV (GLint location, GLsizei count, const GLuin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value) +void _glew_gl_glSignalVkSemaphoreNV (GLuint64 vkSemaphore) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glProgramUniformHandleui64NV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glProgramUniformHandleui64NV) + // GL_NV_draw_vulkan_image - glSignalVkSemaphoreNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_draw_vulkan_image] && glConfig.m_glSignalVkSemaphoreNV) { prototypeCalled = true; - glConfig.m_glProgramUniformHandleui64NV (program, location, value); + glConfig.m_glSignalVkSemaphoreNV (vkSemaphore); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53714,18 +56771,18 @@ void _glew_gl_glProgramUniformHandleui64NV (GLuint program, GLint location, GLui //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 * values) +void _glew_gl_glSignalVkFenceNV (GLuint64 vkFence) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glProgramUniformHandleui64vNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glProgramUniformHandleui64vNV) + // GL_NV_draw_vulkan_image - glSignalVkFenceNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_draw_vulkan_image] && glConfig.m_glSignalVkFenceNV) { prototypeCalled = true; - glConfig.m_glProgramUniformHandleui64vNV (program, location, count, values); + glConfig.m_glSignalVkFenceNV (vkFence); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53737,68 +56794,64 @@ void _glew_gl_glProgramUniformHandleui64vNV (GLuint program, GLint location, GLs //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gl_glIsTextureHandleResidentNV (GLuint64 handle) +void _glew_gl_glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void * points) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glIsTextureHandleResidentNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glIsTextureHandleResidentNV) + // GL_NV_evaluators - glMapControlPointsNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glMapControlPointsNV) { prototypeCalled = true; - result = glConfig.m_glIsTextureHandleResidentNV (handle); + glConfig.m_glMapControlPointsNV (target, index, type, ustride, vstride, uorder, vorder, packed, points); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gl_glIsImageHandleResidentNV (GLuint64 handle) +void _glew_gl_glMapParameterivNV (GLenum target, GLenum pname, const GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glIsImageHandleResidentNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glConfig.m_glIsImageHandleResidentNV) + // GL_NV_evaluators - glMapParameterivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glMapParameterivNV) { prototypeCalled = true; - result = glConfig.m_glIsImageHandleResidentNV (handle); + glConfig.m_glMapParameterivNV (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBlendParameteriNV (GLenum pname, GLint value) +void _glew_gl_glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_blend_equation_advanced - glBlendParameteriNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_blend_equation_advanced] && glConfig.m_glBlendParameteriNV) + // GL_NV_evaluators - glMapParameterfvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glMapParameterfvNV) { prototypeCalled = true; - glConfig.m_glBlendParameteriNV (pname, value); + glConfig.m_glMapParameterfvNV (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53810,18 +56863,18 @@ void _glew_gl_glBlendParameteriNV (GLenum pname, GLint value) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBlendBarrierNV () +void _glew_gl_glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void * points) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_blend_equation_advanced - glBlendBarrierNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_blend_equation_advanced] && glConfig.m_glBlendBarrierNV) + // GL_NV_evaluators - glGetMapControlPointsNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glGetMapControlPointsNV) { prototypeCalled = true; - glConfig.m_glBlendBarrierNV (); + glConfig.m_glGetMapControlPointsNV (target, index, type, ustride, vstride, packed, points); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53833,18 +56886,18 @@ void _glew_gl_glBlendBarrierNV () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glCreateStatesNV (GLsizei n, GLuint * states) +void _glew_gl_glGetMapParameterivNV (GLenum target, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glCreateStatesNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glCreateStatesNV) + // GL_NV_evaluators - glGetMapParameterivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glGetMapParameterivNV) { prototypeCalled = true; - glConfig.m_glCreateStatesNV (n, states); + glConfig.m_glGetMapParameterivNV (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53856,18 +56909,18 @@ void _glew_gl_glCreateStatesNV (GLsizei n, GLuint * states) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDeleteStatesNV (GLsizei n, const GLuint * states) +void _glew_gl_glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glDeleteStatesNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glDeleteStatesNV) + // GL_NV_evaluators - glGetMapParameterfvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glGetMapParameterfvNV) { prototypeCalled = true; - glConfig.m_glDeleteStatesNV (n, states); + glConfig.m_glGetMapParameterfvNV (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53879,43 +56932,41 @@ void _glew_gl_glDeleteStatesNV (GLsizei n, const GLuint * states) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gl_glIsStateNV (GLuint state) +void _glew_gl_glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glIsStateNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glIsStateNV) + // GL_NV_evaluators - glGetMapAttribParameterivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glGetMapAttribParameterivNV) { prototypeCalled = true; - result = glConfig.m_glIsStateNV (state); + glConfig.m_glGetMapAttribParameterivNV (target, index, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glStateCaptureNV (GLuint state, GLenum mode) +void _glew_gl_glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glStateCaptureNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glStateCaptureNV) + // GL_NV_evaluators - glGetMapAttribParameterfvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glGetMapAttribParameterfvNV) { prototypeCalled = true; - glConfig.m_glStateCaptureNV (state, mode); + glConfig.m_glGetMapAttribParameterfvNV (target, index, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -53927,68 +56978,64 @@ void _glew_gl_glStateCaptureNV (GLuint state, GLenum mode) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint _glew_gl_glGetCommandHeaderNV (GLenum tokenID, GLuint size) +void _glew_gl_glEvalMapsNV (GLenum target, GLenum mode) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glGetCommandHeaderNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glGetCommandHeaderNV) + // GL_NV_evaluators - glEvalMapsNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glEvalMapsNV) { prototypeCalled = true; - result = glConfig.m_glGetCommandHeaderNV (tokenID, size); + glConfig.m_glEvalMapsNV (target, mode); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLushort _glew_gl_glGetStageIndexNV (GLenum shadertype) +void _glew_gl_glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat * val) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLushort result = ((GLushort)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glGetStageIndexNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glGetStageIndexNV) + // GL_NV_explicit_multisample - glGetMultisamplefvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_explicit_multisample] && glConfig.m_glGetMultisamplefvNV) { prototypeCalled = true; - result = glConfig.m_glGetStageIndexNV (shadertype); + glConfig.m_glGetMultisamplefvNV (pname, index, val); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDrawCommandsNV (GLenum primitiveMode, GLuint buffer, const GLintptr * indirects, const GLsizei * sizes, GLuint count) +void _glew_gl_glSampleMaskIndexedNV (GLuint index, GLbitfield mask) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glDrawCommandsNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glDrawCommandsNV) + // GL_NV_explicit_multisample - glSampleMaskIndexedNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_explicit_multisample] && glConfig.m_glSampleMaskIndexedNV) { prototypeCalled = true; - glConfig.m_glDrawCommandsNV (primitiveMode, buffer, indirects, sizes, count); + glConfig.m_glSampleMaskIndexedNV (index, mask); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54000,18 +57047,18 @@ void _glew_gl_glDrawCommandsNV (GLenum primitiveMode, GLuint buffer, const GLint //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDrawCommandsAddressNV (GLenum primitiveMode, const GLuint64 * indirects, const GLsizei * sizes, GLuint count) +void _glew_gl_glTexRenderbufferNV (GLenum target, GLuint renderbuffer) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glDrawCommandsAddressNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glDrawCommandsAddressNV) + // GL_NV_explicit_multisample - glTexRenderbufferNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_explicit_multisample] && glConfig.m_glTexRenderbufferNV) { prototypeCalled = true; - glConfig.m_glDrawCommandsAddressNV (primitiveMode, indirects, sizes, count); + glConfig.m_glTexRenderbufferNV (target, renderbuffer); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54023,18 +57070,18 @@ void _glew_gl_glDrawCommandsAddressNV (GLenum primitiveMode, const GLuint64 * in //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDrawCommandsStatesNV (GLuint buffer, const GLintptr * indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count) +void _glew_gl_glDeleteFencesNV (GLsizei n, const GLuint * fences) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glDrawCommandsStatesNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glDrawCommandsStatesNV) + // GL_NV_fence - glDeleteFencesNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fence] && glConfig.m_glDeleteFencesNV) { prototypeCalled = true; - glConfig.m_glDrawCommandsStatesNV (buffer, indirects, sizes, states, fbos, count); + glConfig.m_glDeleteFencesNV (n, fences); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54046,18 +57093,18 @@ void _glew_gl_glDrawCommandsStatesNV (GLuint buffer, const GLintptr * indirects, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDrawCommandsStatesAddressNV (const GLuint64 * indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count) +void _glew_gl_glGenFencesNV (GLsizei n, GLuint * fences) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glDrawCommandsStatesAddressNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glDrawCommandsStatesAddressNV) + // GL_NV_fence - glGenFencesNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fence] && glConfig.m_glGenFencesNV) { prototypeCalled = true; - glConfig.m_glDrawCommandsStatesAddressNV (indirects, sizes, states, fbos, count); + glConfig.m_glGenFencesNV (n, fences); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54069,89 +57116,91 @@ void _glew_gl_glDrawCommandsStatesAddressNV (const GLuint64 * indirects, const G //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glCreateCommandListsNV (GLsizei n, GLuint * lists) +GLboolean _glew_gl_glIsFenceNV (GLuint fence) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glCreateCommandListsNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glCreateCommandListsNV) + // GL_NV_fence - glIsFenceNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fence] && glConfig.m_glIsFenceNV) { prototypeCalled = true; - glConfig.m_glCreateCommandListsNV (n, lists); + result = glConfig.m_glIsFenceNV (fence); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDeleteCommandListsNV (GLsizei n, const GLuint * lists) +GLboolean _glew_gl_glTestFenceNV (GLuint fence) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glDeleteCommandListsNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glDeleteCommandListsNV) + // GL_NV_fence - glTestFenceNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fence] && glConfig.m_glTestFenceNV) { prototypeCalled = true; - glConfig.m_glDeleteCommandListsNV (n, lists); + result = glConfig.m_glTestFenceNV (fence); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gl_glIsCommandListNV (GLuint list) +void _glew_gl_glGetFenceivNV (GLuint fence, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glIsCommandListNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glIsCommandListNV) + // GL_NV_fence - glGetFenceivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fence] && glConfig.m_glGetFenceivNV) { prototypeCalled = true; - result = glConfig.m_glIsCommandListNV (list); + glConfig.m_glGetFenceivNV (fence, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glListDrawCommandsStatesClientNV (GLuint list, GLuint segment, const void ** indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count) +void _glew_gl_glFinishFenceNV (GLuint fence) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glListDrawCommandsStatesClientNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glListDrawCommandsStatesClientNV) + // GL_NV_fence - glFinishFenceNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fence] && glConfig.m_glFinishFenceNV) { prototypeCalled = true; - glConfig.m_glListDrawCommandsStatesClientNV (list, segment, indirects, sizes, states, fbos, count); + glConfig.m_glFinishFenceNV (fence); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54163,18 +57212,18 @@ void _glew_gl_glListDrawCommandsStatesClientNV (GLuint list, GLuint segment, con //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glCommandListSegmentsNV (GLuint list, GLuint segments) +void _glew_gl_glSetFenceNV (GLuint fence, GLenum condition) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glCommandListSegmentsNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glCommandListSegmentsNV) + // GL_NV_fence - glSetFenceNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fence] && glConfig.m_glSetFenceNV) { prototypeCalled = true; - glConfig.m_glCommandListSegmentsNV (list, segments); + glConfig.m_glSetFenceNV (fence, condition); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54186,18 +57235,18 @@ void _glew_gl_glCommandListSegmentsNV (GLuint list, GLuint segments) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glCompileCommandListNV (GLuint list) +void _glew_gl_glFragmentCoverageColorNV (GLuint color) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glCompileCommandListNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glCompileCommandListNV) + // GL_NV_fragment_coverage_to_color - glFragmentCoverageColorNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fragment_coverage_to_color] && glConfig.m_glFragmentCoverageColorNV) { prototypeCalled = true; - glConfig.m_glCompileCommandListNV (list); + glConfig.m_glFragmentCoverageColorNV (color); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54209,18 +57258,18 @@ void _glew_gl_glCompileCommandListNV (GLuint list) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glCallCommandListNV (GLuint list) +void _glew_gl_glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_command_list - glCallCommandListNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_command_list] && glConfig.m_glCallCommandListNV) + // GL_NV_fragment_program - glProgramNamedParameter4fNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fragment_program] && glConfig.m_glProgramNamedParameter4fNV) { prototypeCalled = true; - glConfig.m_glCallCommandListNV (list); + glConfig.m_glProgramNamedParameter4fNV (id, len, name, x, y, z, w); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54232,18 +57281,18 @@ void _glew_gl_glCallCommandListNV (GLuint list) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBeginConditionalRenderNV (GLuint id, GLenum mode) +void _glew_gl_glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_conditional_render - glBeginConditionalRenderNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_conditional_render] && glConfig.m_glBeginConditionalRenderNV) + // GL_NV_fragment_program - glProgramNamedParameter4fvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fragment_program] && glConfig.m_glProgramNamedParameter4fvNV) { prototypeCalled = true; - glConfig.m_glBeginConditionalRenderNV (id, mode); + glConfig.m_glProgramNamedParameter4fvNV (id, len, name, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54255,18 +57304,18 @@ void _glew_gl_glBeginConditionalRenderNV (GLuint id, GLenum mode) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glEndConditionalRenderNV () +void _glew_gl_glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_conditional_render - glEndConditionalRenderNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_conditional_render] && glConfig.m_glEndConditionalRenderNV) + // GL_NV_fragment_program - glProgramNamedParameter4dNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fragment_program] && glConfig.m_glProgramNamedParameter4dNV) { prototypeCalled = true; - glConfig.m_glEndConditionalRenderNV (); + glConfig.m_glProgramNamedParameter4dNV (id, len, name, x, y, z, w); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54278,18 +57327,18 @@ void _glew_gl_glEndConditionalRenderNV () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits) +void _glew_gl_glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_conservative_raster - glSubpixelPrecisionBiasNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_conservative_raster] && glConfig.m_glSubpixelPrecisionBiasNV) + // GL_NV_fragment_program - glProgramNamedParameter4dvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fragment_program] && glConfig.m_glProgramNamedParameter4dvNV) { prototypeCalled = true; - glConfig.m_glSubpixelPrecisionBiasNV (xbits, ybits); + glConfig.m_glProgramNamedParameter4dvNV (id, len, name, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54301,18 +57350,18 @@ void _glew_gl_glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glConservativeRasterParameterfNV (GLenum pname, GLfloat value) +void _glew_gl_glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte * name, GLfloat * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_conservative_raster_dilate - glConservativeRasterParameterfNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_conservative_raster_dilate] && glConfig.m_glConservativeRasterParameterfNV) + // GL_NV_fragment_program - glGetProgramNamedParameterfvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fragment_program] && glConfig.m_glGetProgramNamedParameterfvNV) { prototypeCalled = true; - glConfig.m_glConservativeRasterParameterfNV (pname, value); + glConfig.m_glGetProgramNamedParameterfvNV (id, len, name, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54324,18 +57373,18 @@ void _glew_gl_glConservativeRasterParameterfNV (GLenum pname, GLfloat value) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) +void _glew_gl_glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte * name, GLdouble * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_copy_buffer - glCopyBufferSubDataNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_copy_buffer] && glConfig.m_glCopyBufferSubDataNV) + // GL_NV_fragment_program - glGetProgramNamedParameterdvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fragment_program] && glConfig.m_glGetProgramNamedParameterdvNV) { prototypeCalled = true; - glConfig.m_glCopyBufferSubDataNV (readTarget, writeTarget, readOffset, writeOffset, size); + glConfig.m_glGetProgramNamedParameterdvNV (id, len, name, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54347,18 +57396,18 @@ void _glew_gl_glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth) +void _glew_gl_glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_copy_image - glCopyImageSubDataNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_copy_image] && glConfig.m_glCopyImageSubDataNV) + // GL_NV_framebuffer_blit - glBlitFramebufferNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_framebuffer_blit] && glConfig.m_glBlitFramebufferNV) { prototypeCalled = true; - glConfig.m_glCopyImageSubDataNV (srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth); + glConfig.m_glBlitFramebufferNV (srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54370,18 +57419,18 @@ void _glew_gl_glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glCoverageMaskNV (GLboolean mask) +void _glew_gl_glCoverageModulationTableNV (GLsizei n, const GLfloat * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_coverage_sample - glCoverageMaskNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_coverage_sample] && glConfig.m_glCoverageMaskNV) + // GL_NV_framebuffer_mixed_samples - glCoverageModulationTableNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glConfig.m_glCoverageModulationTableNV) { prototypeCalled = true; - glConfig.m_glCoverageMaskNV (mask); + glConfig.m_glCoverageModulationTableNV (n, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54393,18 +57442,18 @@ void _glew_gl_glCoverageMaskNV (GLboolean mask) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glCoverageOperationNV (GLenum operation) +void _glew_gl_glGetCoverageModulationTableNV (GLsizei bufSize, GLfloat * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_coverage_sample - glCoverageOperationNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_coverage_sample] && glConfig.m_glCoverageOperationNV) + // GL_NV_framebuffer_mixed_samples - glGetCoverageModulationTableNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glConfig.m_glGetCoverageModulationTableNV) { prototypeCalled = true; - glConfig.m_glCoverageOperationNV (operation); + glConfig.m_glGetCoverageModulationTableNV (bufSize, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54416,18 +57465,18 @@ void _glew_gl_glCoverageOperationNV (GLenum operation) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDepthRangedNV (GLdouble zNear, GLdouble zFar) +void _glew_gl_glCoverageModulationNV (GLenum components) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_depth_buffer_float - glDepthRangedNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_depth_buffer_float] && glConfig.m_glDepthRangedNV) + // GL_NV_framebuffer_mixed_samples - glCoverageModulationNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glConfig.m_glCoverageModulationNV) { prototypeCalled = true; - glConfig.m_glDepthRangedNV (zNear, zFar); + glConfig.m_glCoverageModulationNV (components); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54439,18 +57488,18 @@ void _glew_gl_glDepthRangedNV (GLdouble zNear, GLdouble zFar) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glClearDepthdNV (GLdouble depth) +void _glew_gl_glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_depth_buffer_float - glClearDepthdNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_depth_buffer_float] && glConfig.m_glClearDepthdNV) + // GL_NV_framebuffer_multisample - glRenderbufferStorageMultisampleNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_framebuffer_multisample] && glConfig.m_glRenderbufferStorageMultisampleNV) { prototypeCalled = true; - glConfig.m_glClearDepthdNV (depth); + glConfig.m_glRenderbufferStorageMultisampleNV (target, samples, internalformat, width, height); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54462,18 +57511,18 @@ void _glew_gl_glClearDepthdNV (GLdouble depth) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDepthBoundsdNV (GLdouble zmin, GLdouble zmax) +void _glew_gl_glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_depth_buffer_float - glDepthBoundsdNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_depth_buffer_float] && glConfig.m_glDepthBoundsdNV) + // GL_NV_framebuffer_multisample_coverage - glRenderbufferStorageMultisampleCoverageNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_framebuffer_multisample_coverage] && glConfig.m_glRenderbufferStorageMultisampleCoverageNV) { prototypeCalled = true; - glConfig.m_glDepthBoundsdNV (zmin, zmax); + glConfig.m_glRenderbufferStorageMultisampleCoverageNV (target, coverageSamples, colorSamples, internalformat, width, height); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54485,18 +57534,18 @@ void _glew_gl_glDepthBoundsdNV (GLdouble zmin, GLdouble zmax) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDrawBuffersNV (GLsizei n, const GLenum * bufs) +void _glew_gl_glProgramVertexLimitNV (GLenum target, GLint limit) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_draw_buffers - glDrawBuffersNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_draw_buffers] && glConfig.m_glDrawBuffersNV) + // GL_NV_geometry_program4 - glProgramVertexLimitNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_geometry_program4] && glConfig.m_glProgramVertexLimitNV) { prototypeCalled = true; - glConfig.m_glDrawBuffersNV (n, bufs); + glConfig.m_glProgramVertexLimitNV (target, limit); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54508,18 +57557,18 @@ void _glew_gl_glDrawBuffersNV (GLsizei n, const GLenum * bufs) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount) +void _glew_gl_glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_draw_instanced - glDrawArraysInstancedNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_draw_instanced] && glConfig.m_glDrawArraysInstancedNV) + // GL_NV_geometry_program4 - glFramebufferTextureFaceEXT + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_geometry_program4] && glConfig.m_glFramebufferTextureFaceEXT) { prototypeCalled = true; - glConfig.m_glDrawArraysInstancedNV (mode, first, count, primcount); + glConfig.m_glFramebufferTextureFaceEXT (target, attachment, texture, level, face); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54531,18 +57580,18 @@ void _glew_gl_glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) +void _glew_gl_glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_draw_instanced - glDrawElementsInstancedNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_draw_instanced] && glConfig.m_glDrawElementsInstancedNV) + // GL_NV_gpu_program4 - glProgramLocalParameterI4iNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramLocalParameterI4iNV) { prototypeCalled = true; - glConfig.m_glDrawElementsInstancedNV (mode, count, type, indices, primcount); + glConfig.m_glProgramLocalParameterI4iNV (target, index, x, y, z, w); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54554,18 +57603,18 @@ void _glew_gl_glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDrawTextureNV (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1) +void _glew_gl_glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_draw_texture - glDrawTextureNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_draw_texture] && glConfig.m_glDrawTextureNV) + // GL_NV_gpu_program4 - glProgramLocalParameterI4ivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramLocalParameterI4ivNV) { prototypeCalled = true; - glConfig.m_glDrawTextureNV (texture, sampler, x0, y0, x1, y1, z, s0, t0, s1, t1); + glConfig.m_glProgramLocalParameterI4ivNV (target, index, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54577,18 +57626,18 @@ void _glew_gl_glDrawTextureNV (GLuint texture, GLuint sampler, GLfloat x0, GLflo //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void * points) +void _glew_gl_glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_evaluators - glMapControlPointsNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glMapControlPointsNV) + // GL_NV_gpu_program4 - glProgramLocalParametersI4ivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramLocalParametersI4ivNV) { prototypeCalled = true; - glConfig.m_glMapControlPointsNV (target, index, type, ustride, vstride, uorder, vorder, packed, points); + glConfig.m_glProgramLocalParametersI4ivNV (target, index, count, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54600,18 +57649,18 @@ void _glew_gl_glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMapParameterivNV (GLenum target, GLenum pname, const GLint * params) +void _glew_gl_glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_evaluators - glMapParameterivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glMapParameterivNV) + // GL_NV_gpu_program4 - glProgramLocalParameterI4uiNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramLocalParameterI4uiNV) { prototypeCalled = true; - glConfig.m_glMapParameterivNV (target, pname, params); + glConfig.m_glProgramLocalParameterI4uiNV (target, index, x, y, z, w); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54623,18 +57672,18 @@ void _glew_gl_glMapParameterivNV (GLenum target, GLenum pname, const GLint * par //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat * params) +void _glew_gl_glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_evaluators - glMapParameterfvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glMapParameterfvNV) + // GL_NV_gpu_program4 - glProgramLocalParameterI4uivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramLocalParameterI4uivNV) { prototypeCalled = true; - glConfig.m_glMapParameterfvNV (target, pname, params); + glConfig.m_glProgramLocalParameterI4uivNV (target, index, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54646,18 +57695,18 @@ void _glew_gl_glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat * p //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void * points) +void _glew_gl_glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_evaluators - glGetMapControlPointsNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glGetMapControlPointsNV) + // GL_NV_gpu_program4 - glProgramLocalParametersI4uivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramLocalParametersI4uivNV) { prototypeCalled = true; - glConfig.m_glGetMapControlPointsNV (target, index, type, ustride, vstride, packed, points); + glConfig.m_glProgramLocalParametersI4uivNV (target, index, count, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54669,18 +57718,18 @@ void _glew_gl_glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetMapParameterivNV (GLenum target, GLenum pname, GLint * params) +void _glew_gl_glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_evaluators - glGetMapParameterivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glGetMapParameterivNV) + // GL_NV_gpu_program4 - glProgramEnvParameterI4iNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramEnvParameterI4iNV) { prototypeCalled = true; - glConfig.m_glGetMapParameterivNV (target, pname, params); + glConfig.m_glProgramEnvParameterI4iNV (target, index, x, y, z, w); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54692,18 +57741,18 @@ void _glew_gl_glGetMapParameterivNV (GLenum target, GLenum pname, GLint * params //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat * params) +void _glew_gl_glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_evaluators - glGetMapParameterfvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glGetMapParameterfvNV) + // GL_NV_gpu_program4 - glProgramEnvParameterI4ivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramEnvParameterI4ivNV) { prototypeCalled = true; - glConfig.m_glGetMapParameterfvNV (target, pname, params); + glConfig.m_glProgramEnvParameterI4ivNV (target, index, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54715,18 +57764,18 @@ void _glew_gl_glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat * para //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint * params) +void _glew_gl_glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_evaluators - glGetMapAttribParameterivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glGetMapAttribParameterivNV) + // GL_NV_gpu_program4 - glProgramEnvParametersI4ivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramEnvParametersI4ivNV) { prototypeCalled = true; - glConfig.m_glGetMapAttribParameterivNV (target, index, pname, params); + glConfig.m_glProgramEnvParametersI4ivNV (target, index, count, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54738,18 +57787,18 @@ void _glew_gl_glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum p //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat * params) +void _glew_gl_glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_evaluators - glGetMapAttribParameterfvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glGetMapAttribParameterfvNV) + // GL_NV_gpu_program4 - glProgramEnvParameterI4uiNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramEnvParameterI4uiNV) { prototypeCalled = true; - glConfig.m_glGetMapAttribParameterfvNV (target, index, pname, params); + glConfig.m_glProgramEnvParameterI4uiNV (target, index, x, y, z, w); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54761,18 +57810,18 @@ void _glew_gl_glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum p //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glEvalMapsNV (GLenum target, GLenum mode) +void _glew_gl_glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_evaluators - glEvalMapsNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_evaluators] && glConfig.m_glEvalMapsNV) + // GL_NV_gpu_program4 - glProgramEnvParameterI4uivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramEnvParameterI4uivNV) { prototypeCalled = true; - glConfig.m_glEvalMapsNV (target, mode); + glConfig.m_glProgramEnvParameterI4uivNV (target, index, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54784,18 +57833,18 @@ void _glew_gl_glEvalMapsNV (GLenum target, GLenum mode) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat * val) +void _glew_gl_glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_explicit_multisample - glGetMultisamplefvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_explicit_multisample] && glConfig.m_glGetMultisamplefvNV) + // GL_NV_gpu_program4 - glProgramEnvParametersI4uivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramEnvParametersI4uivNV) { prototypeCalled = true; - glConfig.m_glGetMultisamplefvNV (pname, index, val); + glConfig.m_glProgramEnvParametersI4uivNV (target, index, count, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54807,18 +57856,18 @@ void _glew_gl_glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat * val) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSampleMaskIndexedNV (GLuint index, GLbitfield mask) +void _glew_gl_glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_explicit_multisample - glSampleMaskIndexedNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_explicit_multisample] && glConfig.m_glSampleMaskIndexedNV) + // GL_NV_gpu_program4 - glGetProgramLocalParameterIivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glGetProgramLocalParameterIivNV) { prototypeCalled = true; - glConfig.m_glSampleMaskIndexedNV (index, mask); + glConfig.m_glGetProgramLocalParameterIivNV (target, index, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54830,18 +57879,18 @@ void _glew_gl_glSampleMaskIndexedNV (GLuint index, GLbitfield mask) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexRenderbufferNV (GLenum target, GLuint renderbuffer) +void _glew_gl_glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_explicit_multisample - glTexRenderbufferNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_explicit_multisample] && glConfig.m_glTexRenderbufferNV) + // GL_NV_gpu_program4 - glGetProgramLocalParameterIuivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glGetProgramLocalParameterIuivNV) { prototypeCalled = true; - glConfig.m_glTexRenderbufferNV (target, renderbuffer); + glConfig.m_glGetProgramLocalParameterIuivNV (target, index, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54853,18 +57902,18 @@ void _glew_gl_glTexRenderbufferNV (GLenum target, GLuint renderbuffer) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glDeleteFencesNV (GLsizei n, const GLuint * fences) +void _glew_gl_glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fence - glDeleteFencesNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fence] && glConfig.m_glDeleteFencesNV) + // GL_NV_gpu_program4 - glGetProgramEnvParameterIivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glGetProgramEnvParameterIivNV) { prototypeCalled = true; - glConfig.m_glDeleteFencesNV (n, fences); + glConfig.m_glGetProgramEnvParameterIivNV (target, index, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54876,18 +57925,18 @@ void _glew_gl_glDeleteFencesNV (GLsizei n, const GLuint * fences) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGenFencesNV (GLsizei n, GLuint * fences) +void _glew_gl_glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fence - glGenFencesNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fence] && glConfig.m_glGenFencesNV) + // GL_NV_gpu_program4 - glGetProgramEnvParameterIuivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glGetProgramEnvParameterIuivNV) { prototypeCalled = true; - glConfig.m_glGenFencesNV (n, fences); + glConfig.m_glGetProgramEnvParameterIuivNV (target, index, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54899,68 +57948,64 @@ void _glew_gl_glGenFencesNV (GLsizei n, GLuint * fences) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gl_glIsFenceNV (GLuint fence) +void _glew_gl_glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fence - glIsFenceNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fence] && glConfig.m_glIsFenceNV) + // GL_NV_gpu_program5 - glProgramSubroutineParametersuivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program5] && glConfig.m_glProgramSubroutineParametersuivNV) { prototypeCalled = true; - result = glConfig.m_glIsFenceNV (fence); + glConfig.m_glProgramSubroutineParametersuivNV (target, count, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gl_glTestFenceNV (GLuint fence) +void _glew_gl_glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint * param) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fence - glTestFenceNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fence] && glConfig.m_glTestFenceNV) + // GL_NV_gpu_program5 - glGetProgramSubroutineParameteruivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program5] && glConfig.m_glGetProgramSubroutineParameteruivNV) { prototypeCalled = true; - result = glConfig.m_glTestFenceNV (fence); + glConfig.m_glGetProgramSubroutineParameteruivNV (target, index, param); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetFenceivNV (GLuint fence, GLenum pname, GLint * params) +void _glew_gl_glVertex2hNV (GLhalfNV x, GLhalfNV y) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fence - glGetFenceivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fence] && glConfig.m_glGetFenceivNV) + // GL_NV_half_float - glVertex2hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertex2hNV) { prototypeCalled = true; - glConfig.m_glGetFenceivNV (fence, pname, params); + glConfig.m_glVertex2hNV (x, y); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54972,18 +58017,18 @@ void _glew_gl_glGetFenceivNV (GLuint fence, GLenum pname, GLint * params) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glFinishFenceNV (GLuint fence) +void _glew_gl_glVertex2hvNV (const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fence - glFinishFenceNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fence] && glConfig.m_glFinishFenceNV) + // GL_NV_half_float - glVertex2hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertex2hvNV) { prototypeCalled = true; - glConfig.m_glFinishFenceNV (fence); + glConfig.m_glVertex2hvNV (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -54995,18 +58040,18 @@ void _glew_gl_glFinishFenceNV (GLuint fence) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSetFenceNV (GLuint fence, GLenum condition) +void _glew_gl_glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fence - glSetFenceNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fence] && glConfig.m_glSetFenceNV) + // GL_NV_half_float - glVertex3hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertex3hNV) { prototypeCalled = true; - glConfig.m_glSetFenceNV (fence, condition); + glConfig.m_glVertex3hNV (x, y, z); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55018,18 +58063,18 @@ void _glew_gl_glSetFenceNV (GLuint fence, GLenum condition) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glFragmentCoverageColorNV (GLuint color) +void _glew_gl_glVertex3hvNV (const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fragment_coverage_to_color - glFragmentCoverageColorNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fragment_coverage_to_color] && glConfig.m_glFragmentCoverageColorNV) + // GL_NV_half_float - glVertex3hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertex3hvNV) { prototypeCalled = true; - glConfig.m_glFragmentCoverageColorNV (color); + glConfig.m_glVertex3hvNV (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55041,18 +58086,18 @@ void _glew_gl_glFragmentCoverageColorNV (GLuint color) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +void _glew_gl_glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fragment_program - glProgramNamedParameter4fNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fragment_program] && glConfig.m_glProgramNamedParameter4fNV) + // GL_NV_half_float - glVertex4hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertex4hNV) { prototypeCalled = true; - glConfig.m_glProgramNamedParameter4fNV (id, len, name, x, y, z, w); + glConfig.m_glVertex4hNV (x, y, z, w); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55064,18 +58109,18 @@ void _glew_gl_glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v) +void _glew_gl_glVertex4hvNV (const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fragment_program - glProgramNamedParameter4fvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fragment_program] && glConfig.m_glProgramNamedParameter4fvNV) + // GL_NV_half_float - glVertex4hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertex4hvNV) { prototypeCalled = true; - glConfig.m_glProgramNamedParameter4fvNV (id, len, name, v); + glConfig.m_glVertex4hvNV (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55087,18 +58132,18 @@ void _glew_gl_glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyt //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w) +void _glew_gl_glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fragment_program - glProgramNamedParameter4dNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fragment_program] && glConfig.m_glProgramNamedParameter4dNV) + // GL_NV_half_float - glNormal3hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glNormal3hNV) { prototypeCalled = true; - glConfig.m_glProgramNamedParameter4dNV (id, len, name, x, y, z, w); + glConfig.m_glNormal3hNV (nx, ny, nz); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55110,18 +58155,18 @@ void _glew_gl_glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v) +void _glew_gl_glNormal3hvNV (const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fragment_program - glProgramNamedParameter4dvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fragment_program] && glConfig.m_glProgramNamedParameter4dvNV) + // GL_NV_half_float - glNormal3hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glNormal3hvNV) { prototypeCalled = true; - glConfig.m_glProgramNamedParameter4dvNV (id, len, name, v); + glConfig.m_glNormal3hvNV (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55133,18 +58178,18 @@ void _glew_gl_glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyt //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte * name, GLfloat * params) +void _glew_gl_glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fragment_program - glGetProgramNamedParameterfvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fragment_program] && glConfig.m_glGetProgramNamedParameterfvNV) + // GL_NV_half_float - glColor3hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glColor3hNV) { prototypeCalled = true; - glConfig.m_glGetProgramNamedParameterfvNV (id, len, name, params); + glConfig.m_glColor3hNV (red, green, blue); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55156,18 +58201,18 @@ void _glew_gl_glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLub //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte * name, GLdouble * params) +void _glew_gl_glColor3hvNV (const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fragment_program - glGetProgramNamedParameterdvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_fragment_program] && glConfig.m_glGetProgramNamedParameterdvNV) + // GL_NV_half_float - glColor3hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glColor3hvNV) { prototypeCalled = true; - glConfig.m_glGetProgramNamedParameterdvNV (id, len, name, params); + glConfig.m_glColor3hvNV (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55179,18 +58224,18 @@ void _glew_gl_glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLub //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) +void _glew_gl_glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_framebuffer_blit - glBlitFramebufferNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_framebuffer_blit] && glConfig.m_glBlitFramebufferNV) + // GL_NV_half_float - glColor4hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glColor4hNV) { prototypeCalled = true; - glConfig.m_glBlitFramebufferNV (srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); + glConfig.m_glColor4hNV (red, green, blue, alpha); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55202,18 +58247,18 @@ void _glew_gl_glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glCoverageModulationTableNV (GLsizei n, const GLfloat * v) +void _glew_gl_glColor4hvNV (const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_framebuffer_mixed_samples - glCoverageModulationTableNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glConfig.m_glCoverageModulationTableNV) + // GL_NV_half_float - glColor4hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glColor4hvNV) { prototypeCalled = true; - glConfig.m_glCoverageModulationTableNV (n, v); + glConfig.m_glColor4hvNV (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55225,18 +58270,18 @@ void _glew_gl_glCoverageModulationTableNV (GLsizei n, const GLfloat * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat * v) +void _glew_gl_glTexCoord1hNV (GLhalfNV s) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_framebuffer_mixed_samples - glGetCoverageModulationTableNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glConfig.m_glGetCoverageModulationTableNV) + // GL_NV_half_float - glTexCoord1hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord1hNV) { prototypeCalled = true; - glConfig.m_glGetCoverageModulationTableNV (bufsize, v); + glConfig.m_glTexCoord1hNV (s); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55248,18 +58293,18 @@ void _glew_gl_glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glCoverageModulationNV (GLenum components) +void _glew_gl_glTexCoord1hvNV (const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_framebuffer_mixed_samples - glCoverageModulationNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glConfig.m_glCoverageModulationNV) + // GL_NV_half_float - glTexCoord1hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord1hvNV) { prototypeCalled = true; - glConfig.m_glCoverageModulationNV (components); + glConfig.m_glTexCoord1hvNV (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55271,18 +58316,18 @@ void _glew_gl_glCoverageModulationNV (GLenum components) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) +void _glew_gl_glTexCoord2hNV (GLhalfNV s, GLhalfNV t) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_framebuffer_multisample - glRenderbufferStorageMultisampleNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_framebuffer_multisample] && glConfig.m_glRenderbufferStorageMultisampleNV) + // GL_NV_half_float - glTexCoord2hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord2hNV) { prototypeCalled = true; - glConfig.m_glRenderbufferStorageMultisampleNV (target, samples, internalformat, width, height); + glConfig.m_glTexCoord2hNV (s, t); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55294,18 +58339,18 @@ void _glew_gl_glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height) +void _glew_gl_glTexCoord2hvNV (const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_framebuffer_multisample_coverage - glRenderbufferStorageMultisampleCoverageNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_framebuffer_multisample_coverage] && glConfig.m_glRenderbufferStorageMultisampleCoverageNV) + // GL_NV_half_float - glTexCoord2hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord2hvNV) { prototypeCalled = true; - glConfig.m_glRenderbufferStorageMultisampleCoverageNV (target, coverageSamples, colorSamples, internalformat, width, height); + glConfig.m_glTexCoord2hvNV (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55317,18 +58362,18 @@ void _glew_gl_glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramVertexLimitNV (GLenum target, GLint limit) +void _glew_gl_glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_geometry_program4 - glProgramVertexLimitNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_geometry_program4] && glConfig.m_glProgramVertexLimitNV) + // GL_NV_half_float - glTexCoord3hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord3hNV) { prototypeCalled = true; - glConfig.m_glProgramVertexLimitNV (target, limit); + glConfig.m_glTexCoord3hNV (s, t, r); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55340,18 +58385,18 @@ void _glew_gl_glProgramVertexLimitNV (GLenum target, GLint limit) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face) +void _glew_gl_glTexCoord3hvNV (const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_geometry_program4 - glFramebufferTextureFaceEXT - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_geometry_program4] && glConfig.m_glFramebufferTextureFaceEXT) + // GL_NV_half_float - glTexCoord3hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord3hvNV) { prototypeCalled = true; - glConfig.m_glFramebufferTextureFaceEXT (target, attachment, texture, level, face); + glConfig.m_glTexCoord3hvNV (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55363,18 +58408,18 @@ void _glew_gl_glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLu //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) +void _glew_gl_glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glProgramLocalParameterI4iNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramLocalParameterI4iNV) + // GL_NV_half_float - glTexCoord4hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord4hNV) { prototypeCalled = true; - glConfig.m_glProgramLocalParameterI4iNV (target, index, x, y, z, w); + glConfig.m_glTexCoord4hNV (s, t, r, q); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55386,18 +58431,18 @@ void _glew_gl_glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint * params) +void _glew_gl_glTexCoord4hvNV (const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glProgramLocalParameterI4ivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramLocalParameterI4ivNV) + // GL_NV_half_float - glTexCoord4hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord4hvNV) { prototypeCalled = true; - glConfig.m_glProgramLocalParameterI4ivNV (target, index, params); + glConfig.m_glTexCoord4hvNV (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55409,18 +58454,18 @@ void _glew_gl_glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint * params) +void _glew_gl_glMultiTexCoord1hNV (GLenum target, GLhalfNV s) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glProgramLocalParametersI4ivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramLocalParametersI4ivNV) + // GL_NV_half_float - glMultiTexCoord1hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord1hNV) { prototypeCalled = true; - glConfig.m_glProgramLocalParametersI4ivNV (target, index, count, params); + glConfig.m_glMultiTexCoord1hNV (target, s); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55432,18 +58477,18 @@ void _glew_gl_glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsiz //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) +void _glew_gl_glMultiTexCoord1hvNV (GLenum target, const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glProgramLocalParameterI4uiNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramLocalParameterI4uiNV) + // GL_NV_half_float - glMultiTexCoord1hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord1hvNV) { prototypeCalled = true; - glConfig.m_glProgramLocalParameterI4uiNV (target, index, x, y, z, w); + glConfig.m_glMultiTexCoord1hvNV (target, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55455,18 +58500,18 @@ void _glew_gl_glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint * params) +void _glew_gl_glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glProgramLocalParameterI4uivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramLocalParameterI4uivNV) + // GL_NV_half_float - glMultiTexCoord2hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord2hNV) { prototypeCalled = true; - glConfig.m_glProgramLocalParameterI4uivNV (target, index, params); + glConfig.m_glMultiTexCoord2hNV (target, s, t); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55478,18 +58523,18 @@ void _glew_gl_glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint * params) +void _glew_gl_glMultiTexCoord2hvNV (GLenum target, const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glProgramLocalParametersI4uivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramLocalParametersI4uivNV) + // GL_NV_half_float - glMultiTexCoord2hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord2hvNV) { prototypeCalled = true; - glConfig.m_glProgramLocalParametersI4uivNV (target, index, count, params); + glConfig.m_glMultiTexCoord2hvNV (target, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55501,18 +58546,18 @@ void _glew_gl_glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsi //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) +void _glew_gl_glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glProgramEnvParameterI4iNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramEnvParameterI4iNV) + // GL_NV_half_float - glMultiTexCoord3hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord3hNV) { prototypeCalled = true; - glConfig.m_glProgramEnvParameterI4iNV (target, index, x, y, z, w); + glConfig.m_glMultiTexCoord3hNV (target, s, t, r); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55524,18 +58569,18 @@ void _glew_gl_glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint * params) +void _glew_gl_glMultiTexCoord3hvNV (GLenum target, const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glProgramEnvParameterI4ivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramEnvParameterI4ivNV) + // GL_NV_half_float - glMultiTexCoord3hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord3hvNV) { prototypeCalled = true; - glConfig.m_glProgramEnvParameterI4ivNV (target, index, params); + glConfig.m_glMultiTexCoord3hvNV (target, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55547,18 +58592,18 @@ void _glew_gl_glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint * params) +void _glew_gl_glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glProgramEnvParametersI4ivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramEnvParametersI4ivNV) + // GL_NV_half_float - glMultiTexCoord4hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord4hNV) { prototypeCalled = true; - glConfig.m_glProgramEnvParametersI4ivNV (target, index, count, params); + glConfig.m_glMultiTexCoord4hNV (target, s, t, r, q); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55570,18 +58615,18 @@ void _glew_gl_glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) +void _glew_gl_glMultiTexCoord4hvNV (GLenum target, const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glProgramEnvParameterI4uiNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramEnvParameterI4uiNV) + // GL_NV_half_float - glMultiTexCoord4hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord4hvNV) { prototypeCalled = true; - glConfig.m_glProgramEnvParameterI4uiNV (target, index, x, y, z, w); + glConfig.m_glMultiTexCoord4hvNV (target, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55593,18 +58638,18 @@ void _glew_gl_glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint * params) +void _glew_gl_glFogCoordhNV (GLhalfNV fog) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glProgramEnvParameterI4uivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramEnvParameterI4uivNV) + // GL_NV_half_float - glFogCoordhNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glFogCoordhNV) { prototypeCalled = true; - glConfig.m_glProgramEnvParameterI4uivNV (target, index, params); + glConfig.m_glFogCoordhNV (fog); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55616,18 +58661,18 @@ void _glew_gl_glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const G //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint * params) +void _glew_gl_glFogCoordhvNV (const GLhalfNV * fog) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glProgramEnvParametersI4uivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glProgramEnvParametersI4uivNV) + // GL_NV_half_float - glFogCoordhvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glFogCoordhvNV) { prototypeCalled = true; - glConfig.m_glProgramEnvParametersI4uivNV (target, index, count, params); + glConfig.m_glFogCoordhvNV (fog); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55639,18 +58684,18 @@ void _glew_gl_glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsize //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint * params) +void _glew_gl_glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glGetProgramLocalParameterIivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glGetProgramLocalParameterIivNV) + // GL_NV_half_float - glSecondaryColor3hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glSecondaryColor3hNV) { prototypeCalled = true; - glConfig.m_glGetProgramLocalParameterIivNV (target, index, params); + glConfig.m_glSecondaryColor3hNV (red, green, blue); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55662,18 +58707,18 @@ void _glew_gl_glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint * params) +void _glew_gl_glSecondaryColor3hvNV (const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glGetProgramLocalParameterIuivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glGetProgramLocalParameterIuivNV) + // GL_NV_half_float - glSecondaryColor3hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glSecondaryColor3hvNV) { prototypeCalled = true; - glConfig.m_glGetProgramLocalParameterIuivNV (target, index, params); + glConfig.m_glSecondaryColor3hvNV (v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55685,18 +58730,18 @@ void _glew_gl_glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLu //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint * params) +void _glew_gl_glVertexWeighthNV (GLhalfNV weight) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glGetProgramEnvParameterIivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glGetProgramEnvParameterIivNV) + // GL_NV_half_float - glVertexWeighthNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexWeighthNV) { prototypeCalled = true; - glConfig.m_glGetProgramEnvParameterIivNV (target, index, params); + glConfig.m_glVertexWeighthNV (weight); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55708,18 +58753,18 @@ void _glew_gl_glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint * params) +void _glew_gl_glVertexWeighthvNV (const GLhalfNV * weight) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program4 - glGetProgramEnvParameterIuivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program4] && glConfig.m_glGetProgramEnvParameterIuivNV) + // GL_NV_half_float - glVertexWeighthvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexWeighthvNV) { prototypeCalled = true; - glConfig.m_glGetProgramEnvParameterIuivNV (target, index, params); + glConfig.m_glVertexWeighthvNV (weight); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55731,18 +58776,18 @@ void _glew_gl_glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint * params) +void _glew_gl_glVertexAttrib1hNV (GLuint index, GLhalfNV x) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program5 - glProgramSubroutineParametersuivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program5] && glConfig.m_glProgramSubroutineParametersuivNV) + // GL_NV_half_float - glVertexAttrib1hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib1hNV) { prototypeCalled = true; - glConfig.m_glProgramSubroutineParametersuivNV (target, count, params); + glConfig.m_glVertexAttrib1hNV (index, x); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55754,18 +58799,18 @@ void _glew_gl_glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint * param) +void _glew_gl_glVertexAttrib1hvNV (GLuint index, const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_gpu_program5 - glGetProgramSubroutineParameteruivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_program5] && glConfig.m_glGetProgramSubroutineParameteruivNV) + // GL_NV_half_float - glVertexAttrib1hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib1hvNV) { prototypeCalled = true; - glConfig.m_glGetProgramSubroutineParameteruivNV (target, index, param); + glConfig.m_glVertexAttrib1hvNV (index, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55777,18 +58822,18 @@ void _glew_gl_glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertex2hNV (GLhalfNV x, GLhalfNV y) +void _glew_gl_glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertex2hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertex2hNV) + // GL_NV_half_float - glVertexAttrib2hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib2hNV) { prototypeCalled = true; - glConfig.m_glVertex2hNV (x, y); + glConfig.m_glVertexAttrib2hNV (index, x, y); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55800,18 +58845,18 @@ void _glew_gl_glVertex2hNV (GLhalfNV x, GLhalfNV y) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertex2hvNV (const GLhalfNV * v) +void _glew_gl_glVertexAttrib2hvNV (GLuint index, const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertex2hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertex2hvNV) + // GL_NV_half_float - glVertexAttrib2hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib2hvNV) { prototypeCalled = true; - glConfig.m_glVertex2hvNV (v); + glConfig.m_glVertexAttrib2hvNV (index, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55823,18 +58868,18 @@ void _glew_gl_glVertex2hvNV (const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z) +void _glew_gl_glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertex3hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertex3hNV) + // GL_NV_half_float - glVertexAttrib3hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib3hNV) { prototypeCalled = true; - glConfig.m_glVertex3hNV (x, y, z); + glConfig.m_glVertexAttrib3hNV (index, x, y, z); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55846,18 +58891,18 @@ void _glew_gl_glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertex3hvNV (const GLhalfNV * v) +void _glew_gl_glVertexAttrib3hvNV (GLuint index, const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertex3hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertex3hvNV) + // GL_NV_half_float - glVertexAttrib3hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib3hvNV) { prototypeCalled = true; - glConfig.m_glVertex3hvNV (v); + glConfig.m_glVertexAttrib3hvNV (index, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55869,18 +58914,18 @@ void _glew_gl_glVertex3hvNV (const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w) +void _glew_gl_glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertex4hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertex4hNV) + // GL_NV_half_float - glVertexAttrib4hNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib4hNV) { prototypeCalled = true; - glConfig.m_glVertex4hNV (x, y, z, w); + glConfig.m_glVertexAttrib4hNV (index, x, y, z, w); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55892,18 +58937,18 @@ void _glew_gl_glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertex4hvNV (const GLhalfNV * v) +void _glew_gl_glVertexAttrib4hvNV (GLuint index, const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertex4hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertex4hvNV) + // GL_NV_half_float - glVertexAttrib4hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib4hvNV) { prototypeCalled = true; - glConfig.m_glVertex4hvNV (v); + glConfig.m_glVertexAttrib4hvNV (index, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55915,18 +58960,18 @@ void _glew_gl_glVertex4hvNV (const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz) +void _glew_gl_glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glNormal3hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glNormal3hNV) + // GL_NV_half_float - glVertexAttribs1hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttribs1hvNV) { prototypeCalled = true; - glConfig.m_glNormal3hNV (nx, ny, nz); + glConfig.m_glVertexAttribs1hvNV (index, n, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55938,18 +58983,18 @@ void _glew_gl_glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glNormal3hvNV (const GLhalfNV * v) +void _glew_gl_glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glNormal3hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glNormal3hvNV) + // GL_NV_half_float - glVertexAttribs2hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttribs2hvNV) { prototypeCalled = true; - glConfig.m_glNormal3hvNV (v); + glConfig.m_glVertexAttribs2hvNV (index, n, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55961,18 +59006,18 @@ void _glew_gl_glNormal3hvNV (const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue) +void _glew_gl_glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glColor3hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glColor3hNV) + // GL_NV_half_float - glVertexAttribs3hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttribs3hvNV) { prototypeCalled = true; - glConfig.m_glColor3hNV (red, green, blue); + glConfig.m_glVertexAttribs3hvNV (index, n, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -55984,18 +59029,18 @@ void _glew_gl_glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glColor3hvNV (const GLhalfNV * v) +void _glew_gl_glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glColor3hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glColor3hvNV) + // GL_NV_half_float - glVertexAttribs4hvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttribs4hvNV) { prototypeCalled = true; - glConfig.m_glColor3hvNV (v); + glConfig.m_glVertexAttribs4hvNV (index, n, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56007,18 +59052,18 @@ void _glew_gl_glColor3hvNV (const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha) +void _glew_gl_glVertexAttribDivisorNV (GLuint index, GLuint divisor) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glColor4hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glColor4hNV) + // GL_NV_instanced_arrays - glVertexAttribDivisorNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_instanced_arrays] && glConfig.m_glVertexAttribDivisorNV) { prototypeCalled = true; - glConfig.m_glColor4hNV (red, green, blue, alpha); + glConfig.m_glVertexAttribDivisorNV (index, divisor); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56030,18 +59075,18 @@ void _glew_gl_glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glColor4hvNV (const GLhalfNV * v) +void _glew_gl_glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glColor4hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glColor4hvNV) + // GL_NV_internalformat_sample_query - glGetInternalformatSampleivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_internalformat_sample_query] && glConfig.m_glGetInternalformatSampleivNV) { prototypeCalled = true; - glConfig.m_glColor4hvNV (v); + glConfig.m_glGetInternalformatSampleivNV (target, internalformat, samples, pname, count, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56053,18 +59098,18 @@ void _glew_gl_glColor4hvNV (const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexCoord1hNV (GLhalfNV s) +void _glew_gl_glRenderGpuMaskNV (GLbitfield mask) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glTexCoord1hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord1hNV) + // GL_NV_gpu_multicast - glRenderGpuMaskNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_multicast] && glConfig.m_glRenderGpuMaskNV) { prototypeCalled = true; - glConfig.m_glTexCoord1hNV (s); + glConfig.m_glRenderGpuMaskNV (mask); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56076,18 +59121,18 @@ void _glew_gl_glTexCoord1hNV (GLhalfNV s) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexCoord1hvNV (const GLhalfNV * v) +void _glew_gl_glMulticastBufferSubDataNV (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glTexCoord1hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord1hvNV) + // GL_NV_gpu_multicast - glMulticastBufferSubDataNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_multicast] && glConfig.m_glMulticastBufferSubDataNV) { prototypeCalled = true; - glConfig.m_glTexCoord1hvNV (v); + glConfig.m_glMulticastBufferSubDataNV (gpuMask, buffer, offset, size, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56099,18 +59144,18 @@ void _glew_gl_glTexCoord1hvNV (const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexCoord2hNV (GLhalfNV s, GLhalfNV t) +void _glew_gl_glMulticastCopyBufferSubDataNV (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glTexCoord2hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord2hNV) + // GL_NV_gpu_multicast - glMulticastCopyBufferSubDataNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_multicast] && glConfig.m_glMulticastCopyBufferSubDataNV) { prototypeCalled = true; - glConfig.m_glTexCoord2hNV (s, t); + glConfig.m_glMulticastCopyBufferSubDataNV (readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56122,18 +59167,18 @@ void _glew_gl_glTexCoord2hNV (GLhalfNV s, GLhalfNV t) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexCoord2hvNV (const GLhalfNV * v) +void _glew_gl_glMulticastCopyImageSubDataNV (GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glTexCoord2hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord2hvNV) + // GL_NV_gpu_multicast - glMulticastCopyImageSubDataNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_multicast] && glConfig.m_glMulticastCopyImageSubDataNV) { prototypeCalled = true; - glConfig.m_glTexCoord2hvNV (v); + glConfig.m_glMulticastCopyImageSubDataNV (srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56145,18 +59190,18 @@ void _glew_gl_glTexCoord2hvNV (const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r) +void _glew_gl_glMulticastBlitFramebufferNV (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glTexCoord3hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord3hNV) + // GL_NV_gpu_multicast - glMulticastBlitFramebufferNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_multicast] && glConfig.m_glMulticastBlitFramebufferNV) { prototypeCalled = true; - glConfig.m_glTexCoord3hNV (s, t, r); + glConfig.m_glMulticastBlitFramebufferNV (srcGpu, dstGpu, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56168,18 +59213,18 @@ void _glew_gl_glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexCoord3hvNV (const GLhalfNV * v) +void _glew_gl_glMulticastFramebufferSampleLocationsfvNV (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glTexCoord3hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord3hvNV) + // GL_NV_gpu_multicast - glMulticastFramebufferSampleLocationsfvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_multicast] && glConfig.m_glMulticastFramebufferSampleLocationsfvNV) { prototypeCalled = true; - glConfig.m_glTexCoord3hvNV (v); + glConfig.m_glMulticastFramebufferSampleLocationsfvNV (gpu, framebuffer, start, count, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56191,18 +59236,18 @@ void _glew_gl_glTexCoord3hvNV (const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q) +void _glew_gl_glMulticastBarrierNV () { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glTexCoord4hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord4hNV) + // GL_NV_gpu_multicast - glMulticastBarrierNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_multicast] && glConfig.m_glMulticastBarrierNV) { prototypeCalled = true; - glConfig.m_glTexCoord4hNV (s, t, r, q); + glConfig.m_glMulticastBarrierNV (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56214,18 +59259,18 @@ void _glew_gl_glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glTexCoord4hvNV (const GLhalfNV * v) +void _glew_gl_glMulticastWaitSyncNV (GLuint signalGpu, GLbitfield waitGpuMask) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glTexCoord4hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glTexCoord4hvNV) + // GL_NV_gpu_multicast - glMulticastWaitSyncNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_multicast] && glConfig.m_glMulticastWaitSyncNV) { prototypeCalled = true; - glConfig.m_glTexCoord4hvNV (v); + glConfig.m_glMulticastWaitSyncNV (signalGpu, waitGpuMask); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56237,18 +59282,18 @@ void _glew_gl_glTexCoord4hvNV (const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiTexCoord1hNV (GLenum target, GLhalfNV s) +void _glew_gl_glMulticastGetQueryObjectivNV (GLuint gpu, GLuint id, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glMultiTexCoord1hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord1hNV) + // GL_NV_gpu_multicast - glMulticastGetQueryObjectivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_multicast] && glConfig.m_glMulticastGetQueryObjectivNV) { prototypeCalled = true; - glConfig.m_glMultiTexCoord1hNV (target, s); + glConfig.m_glMulticastGetQueryObjectivNV (gpu, id, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56260,18 +59305,18 @@ void _glew_gl_glMultiTexCoord1hNV (GLenum target, GLhalfNV s) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiTexCoord1hvNV (GLenum target, const GLhalfNV * v) +void _glew_gl_glMulticastGetQueryObjectuivNV (GLuint gpu, GLuint id, GLenum pname, GLuint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glMultiTexCoord1hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord1hvNV) + // GL_NV_gpu_multicast - glMulticastGetQueryObjectuivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_multicast] && glConfig.m_glMulticastGetQueryObjectuivNV) { prototypeCalled = true; - glConfig.m_glMultiTexCoord1hvNV (target, v); + glConfig.m_glMulticastGetQueryObjectuivNV (gpu, id, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56283,18 +59328,18 @@ void _glew_gl_glMultiTexCoord1hvNV (GLenum target, const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t) +void _glew_gl_glMulticastGetQueryObjecti64vNV (GLuint gpu, GLuint id, GLenum pname, GLint64 * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glMultiTexCoord2hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord2hNV) + // GL_NV_gpu_multicast - glMulticastGetQueryObjecti64vNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_multicast] && glConfig.m_glMulticastGetQueryObjecti64vNV) { prototypeCalled = true; - glConfig.m_glMultiTexCoord2hNV (target, s, t); + glConfig.m_glMulticastGetQueryObjecti64vNV (gpu, id, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56306,18 +59351,18 @@ void _glew_gl_glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiTexCoord2hvNV (GLenum target, const GLhalfNV * v) +void _glew_gl_glMulticastGetQueryObjectui64vNV (GLuint gpu, GLuint id, GLenum pname, GLuint64 * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glMultiTexCoord2hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord2hvNV) + // GL_NV_gpu_multicast - glMulticastGetQueryObjectui64vNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_gpu_multicast] && glConfig.m_glMulticastGetQueryObjectui64vNV) { prototypeCalled = true; - glConfig.m_glMultiTexCoord2hvNV (target, v); + glConfig.m_glMulticastGetQueryObjectui64vNV (gpu, id, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56329,18 +59374,18 @@ void _glew_gl_glMultiTexCoord2hvNV (GLenum target, const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r) +void _glew_gl_glUploadGpuMaskNVX (GLbitfield mask) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glMultiTexCoord3hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord3hNV) + // GL_NVX_gpu_multicast2 - glUploadGpuMaskNVX + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_gpu_multicast2] && glConfig.m_glUploadGpuMaskNVX) { prototypeCalled = true; - glConfig.m_glMultiTexCoord3hNV (target, s, t, r); + glConfig.m_glUploadGpuMaskNVX (mask); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56352,18 +59397,18 @@ void _glew_gl_glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalf //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiTexCoord3hvNV (GLenum target, const GLhalfNV * v) +void _glew_gl_glMulticastViewportArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLfloat * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glMultiTexCoord3hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord3hvNV) + // GL_NVX_gpu_multicast2 - glMulticastViewportArrayvNVX + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_gpu_multicast2] && glConfig.m_glMulticastViewportArrayvNVX) { prototypeCalled = true; - glConfig.m_glMultiTexCoord3hvNV (target, v); + glConfig.m_glMulticastViewportArrayvNVX (gpu, first, count, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56375,18 +59420,18 @@ void _glew_gl_glMultiTexCoord3hvNV (GLenum target, const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q) +void _glew_gl_glMulticastViewportPositionWScaleNVX (GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glMultiTexCoord4hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord4hNV) + // GL_NVX_gpu_multicast2 - glMulticastViewportPositionWScaleNVX + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_gpu_multicast2] && glConfig.m_glMulticastViewportPositionWScaleNVX) { prototypeCalled = true; - glConfig.m_glMultiTexCoord4hNV (target, s, t, r, q); + glConfig.m_glMulticastViewportPositionWScaleNVX (gpu, index, xcoeff, ycoeff); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56398,18 +59443,18 @@ void _glew_gl_glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalf //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiTexCoord4hvNV (GLenum target, const GLhalfNV * v) +void _glew_gl_glMulticastScissorArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLint * v) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glMultiTexCoord4hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glMultiTexCoord4hvNV) + // GL_NVX_gpu_multicast2 - glMulticastScissorArrayvNVX + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_gpu_multicast2] && glConfig.m_glMulticastScissorArrayvNVX) { prototypeCalled = true; - glConfig.m_glMultiTexCoord4hvNV (target, v); + glConfig.m_glMulticastScissorArrayvNVX (gpu, first, count, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56421,87 +59466,93 @@ void _glew_gl_glMultiTexCoord4hvNV (GLenum target, const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glFogCoordhNV (GLhalfNV fog) +GLuint _glew_gl_glAsyncCopyBufferSubDataNVX (GLsizei waitSemaphoreCount, const GLuint * waitSemaphoreArray, const GLuint64 * fenceValueArray, GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size, GLsizei signalSemaphoreCount, const GLuint * signalSemaphoreArray, const GLuint64 * signalValueArray) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glFogCoordhNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glFogCoordhNV) + // GL_NVX_gpu_multicast2 - glAsyncCopyBufferSubDataNVX + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_gpu_multicast2] && glConfig.m_glAsyncCopyBufferSubDataNVX) { prototypeCalled = true; - glConfig.m_glFogCoordhNV (fog); + result = glConfig.m_glAsyncCopyBufferSubDataNVX (waitSemaphoreCount, waitSemaphoreArray, fenceValueArray, readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glFogCoordhvNV (const GLhalfNV * fog) +GLuint _glew_gl_glAsyncCopyImageSubDataNVX (GLsizei waitSemaphoreCount, const GLuint * waitSemaphoreArray, const GLuint64 * waitValueArray, GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth, GLsizei signalSemaphoreCount, const GLuint * signalSemaphoreArray, const GLuint64 * signalValueArray) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glFogCoordhvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glFogCoordhvNV) + // GL_NVX_gpu_multicast2 - glAsyncCopyImageSubDataNVX + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_gpu_multicast2] && glConfig.m_glAsyncCopyImageSubDataNVX) { prototypeCalled = true; - glConfig.m_glFogCoordhvNV (fog); + result = glConfig.m_glAsyncCopyImageSubDataNVX (waitSemaphoreCount, waitSemaphoreArray, waitValueArray, srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth, signalSemaphoreCount, signalSemaphoreArray, signalValueArray); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue) +GLuint _glew_gl_glCreateProgressFenceNVX () { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glSecondaryColor3hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glSecondaryColor3hNV) + // GL_NVX_progress_fence - glCreateProgressFenceNVX + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_progress_fence] && glConfig.m_glCreateProgressFenceNVX) { prototypeCalled = true; - glConfig.m_glSecondaryColor3hNV (red, green, blue); + result = glConfig.m_glCreateProgressFenceNVX (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glSecondaryColor3hvNV (const GLhalfNV * v) +void _glew_gl_glSignalSemaphoreui64NVX (GLuint signalGpu, GLsizei fenceObjectCount, const GLuint * semaphoreArray, const GLuint64 * fenceValueArray) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glSecondaryColor3hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glSecondaryColor3hvNV) + // GL_NVX_progress_fence - glSignalSemaphoreui64NVX + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_progress_fence] && glConfig.m_glSignalSemaphoreui64NVX) { prototypeCalled = true; - glConfig.m_glSecondaryColor3hvNV (v); + glConfig.m_glSignalSemaphoreui64NVX (signalGpu, fenceObjectCount, semaphoreArray, fenceValueArray); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56513,18 +59564,18 @@ void _glew_gl_glSecondaryColor3hvNV (const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexWeighthNV (GLhalfNV weight) +void _glew_gl_glWaitSemaphoreui64NVX (GLuint waitGpu, GLsizei fenceObjectCount, const GLuint * semaphoreArray, const GLuint64 * fenceValueArray) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertexWeighthNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexWeighthNV) + // GL_NVX_progress_fence - glWaitSemaphoreui64NVX + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_progress_fence] && glConfig.m_glWaitSemaphoreui64NVX) { prototypeCalled = true; - glConfig.m_glVertexWeighthNV (weight); + glConfig.m_glWaitSemaphoreui64NVX (waitGpu, fenceObjectCount, semaphoreArray, fenceValueArray); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56536,18 +59587,18 @@ void _glew_gl_glVertexWeighthNV (GLhalfNV weight) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexWeighthvNV (const GLhalfNV * weight) +void _glew_gl_glClientWaitSemaphoreui64NVX (GLsizei fenceObjectCount, const GLuint * semaphoreArray, const GLuint64 * fenceValueArray) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertexWeighthvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexWeighthvNV) + // GL_NVX_progress_fence - glClientWaitSemaphoreui64NVX + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NVX_progress_fence] && glConfig.m_glClientWaitSemaphoreui64NVX) { prototypeCalled = true; - glConfig.m_glVertexWeighthvNV (weight); + glConfig.m_glClientWaitSemaphoreui64NVX (fenceObjectCount, semaphoreArray, fenceValueArray); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56559,18 +59610,18 @@ void _glew_gl_glVertexWeighthvNV (const GLhalfNV * weight) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttrib1hNV (GLuint index, GLhalfNV x) +void _glew_gl_glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertexAttrib1hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib1hNV) + // GL_NV_memory_attachment - glGetMemoryObjectDetachedResourcesuivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_memory_attachment] && glConfig.m_glGetMemoryObjectDetachedResourcesuivNV) { prototypeCalled = true; - glConfig.m_glVertexAttrib1hNV (index, x); + glConfig.m_glGetMemoryObjectDetachedResourcesuivNV (memory, pname, first, count, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56582,18 +59633,18 @@ void _glew_gl_glVertexAttrib1hNV (GLuint index, GLhalfNV x) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttrib1hvNV (GLuint index, const GLhalfNV * v) +void _glew_gl_glResetMemoryObjectParameterNV (GLuint memory, GLenum pname) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertexAttrib1hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib1hvNV) + // GL_NV_memory_attachment - glResetMemoryObjectParameterNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_memory_attachment] && glConfig.m_glResetMemoryObjectParameterNV) { prototypeCalled = true; - glConfig.m_glVertexAttrib1hvNV (index, v); + glConfig.m_glResetMemoryObjectParameterNV (memory, pname); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56605,18 +59656,18 @@ void _glew_gl_glVertexAttrib1hvNV (GLuint index, const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y) +void _glew_gl_glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertexAttrib2hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib2hNV) + // GL_NV_memory_attachment - glTexAttachMemoryNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_memory_attachment] && glConfig.m_glTexAttachMemoryNV) { prototypeCalled = true; - glConfig.m_glVertexAttrib2hNV (index, x, y); + glConfig.m_glTexAttachMemoryNV (target, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56628,18 +59679,18 @@ void _glew_gl_glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttrib2hvNV (GLuint index, const GLhalfNV * v) +void _glew_gl_glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertexAttrib2hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib2hvNV) + // GL_NV_memory_attachment - glBufferAttachMemoryNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_memory_attachment] && glConfig.m_glBufferAttachMemoryNV) { prototypeCalled = true; - glConfig.m_glVertexAttrib2hvNV (index, v); + glConfig.m_glBufferAttachMemoryNV (target, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56651,18 +59702,18 @@ void _glew_gl_glVertexAttrib2hvNV (GLuint index, const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z) +void _glew_gl_glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertexAttrib3hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib3hNV) + // GL_NV_memory_attachment - glTextureAttachMemoryNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_memory_attachment] && glConfig.m_glTextureAttachMemoryNV) { prototypeCalled = true; - glConfig.m_glVertexAttrib3hNV (index, x, y, z); + glConfig.m_glTextureAttachMemoryNV (texture, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56674,18 +59725,18 @@ void _glew_gl_glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttrib3hvNV (GLuint index, const GLhalfNV * v) +void _glew_gl_glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertexAttrib3hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib3hvNV) + // GL_NV_memory_attachment - glNamedBufferAttachMemoryNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_memory_attachment] && glConfig.m_glNamedBufferAttachMemoryNV) { prototypeCalled = true; - glConfig.m_glVertexAttrib3hvNV (index, v); + glConfig.m_glNamedBufferAttachMemoryNV (buffer, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56697,18 +59748,18 @@ void _glew_gl_glVertexAttrib3hvNV (GLuint index, const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w) +void _glew_gl_glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertexAttrib4hNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib4hNV) + // GL_NV_memory_object_sparse - glBufferPageCommitmentMemNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_memory_object_sparse] && glConfig.m_glBufferPageCommitmentMemNV) { prototypeCalled = true; - glConfig.m_glVertexAttrib4hNV (index, x, y, z, w); + glConfig.m_glBufferPageCommitmentMemNV (target, offset, size, memory, memOffset, commit); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56720,18 +59771,18 @@ void _glew_gl_glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttrib4hvNV (GLuint index, const GLhalfNV * v) +void _glew_gl_glTexPageCommitmentMemNV (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertexAttrib4hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttrib4hvNV) + // GL_NV_memory_object_sparse - glTexPageCommitmentMemNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_memory_object_sparse] && glConfig.m_glTexPageCommitmentMemNV) { prototypeCalled = true; - glConfig.m_glVertexAttrib4hvNV (index, v); + glConfig.m_glTexPageCommitmentMemNV (target, layer, level, xoffset, yoffset, zoffset, width, height, depth, memory, offset, commit); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56743,18 +59794,18 @@ void _glew_gl_glVertexAttrib4hvNV (GLuint index, const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV * v) +void _glew_gl_glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertexAttribs1hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttribs1hvNV) + // GL_NV_memory_object_sparse - glNamedBufferPageCommitmentMemNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_memory_object_sparse] && glConfig.m_glNamedBufferPageCommitmentMemNV) { prototypeCalled = true; - glConfig.m_glVertexAttribs1hvNV (index, n, v); + glConfig.m_glNamedBufferPageCommitmentMemNV (buffer, offset, size, memory, memOffset, commit); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56766,18 +59817,18 @@ void _glew_gl_glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV * v) +void _glew_gl_glTexturePageCommitmentMemNV (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertexAttribs2hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttribs2hvNV) + // GL_NV_memory_object_sparse - glTexturePageCommitmentMemNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_memory_object_sparse] && glConfig.m_glTexturePageCommitmentMemNV) { prototypeCalled = true; - glConfig.m_glVertexAttribs2hvNV (index, n, v); + glConfig.m_glTexturePageCommitmentMemNV (texture, layer, level, xoffset, yoffset, zoffset, width, height, depth, memory, offset, commit); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56789,18 +59840,18 @@ void _glew_gl_glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV * v) +void _glew_gl_glDrawMeshTasksNV (GLuint first, GLuint count) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertexAttribs3hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttribs3hvNV) + // GL_NV_mesh_shader - glDrawMeshTasksNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_mesh_shader] && glConfig.m_glDrawMeshTasksNV) { prototypeCalled = true; - glConfig.m_glVertexAttribs3hvNV (index, n, v); + glConfig.m_glDrawMeshTasksNV (first, count); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56812,18 +59863,18 @@ void _glew_gl_glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV * v) +void _glew_gl_glDrawMeshTasksIndirectNV (GLintptr indirect) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_half_float - glVertexAttribs4hvNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_half_float] && glConfig.m_glVertexAttribs4hvNV) + // GL_NV_mesh_shader - glDrawMeshTasksIndirectNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_mesh_shader] && glConfig.m_glDrawMeshTasksIndirectNV) { prototypeCalled = true; - glConfig.m_glVertexAttribs4hvNV (index, n, v); + glConfig.m_glDrawMeshTasksIndirectNV (indirect); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56835,18 +59886,18 @@ void _glew_gl_glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVertexAttribDivisorNV (GLuint index, GLuint divisor) +void _glew_gl_glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_instanced_arrays - glVertexAttribDivisorNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_instanced_arrays] && glConfig.m_glVertexAttribDivisorNV) + // GL_NV_mesh_shader - glMultiDrawMeshTasksIndirectNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_mesh_shader] && glConfig.m_glMultiDrawMeshTasksIndirectNV) { prototypeCalled = true; - glConfig.m_glVertexAttribDivisorNV (index, divisor); + glConfig.m_glMultiDrawMeshTasksIndirectNV (indirect, drawcount, stride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -56858,18 +59909,18 @@ void _glew_gl_glVertexAttribDivisorNV (GLuint index, GLuint divisor) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint * params) +void _glew_gl_glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_internalformat_sample_query - glGetInternalformatSampleivNV - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_internalformat_sample_query] && glConfig.m_glGetInternalformatSampleivNV) + // GL_NV_mesh_shader - glMultiDrawMeshTasksIndirectCountNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_mesh_shader] && glConfig.m_glMultiDrawMeshTasksIndirectCountNV) { prototypeCalled = true; - glConfig.m_glGetInternalformatSampleivNV (target, internalformat, samples, pname, bufSize, params); + glConfig.m_glMultiDrawMeshTasksIndirectCountNV (indirect, drawcount, maxdrawcount, stride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -58459,7 +61510,7 @@ void _glew_gl_glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLenum _glew_gl_glPathGlyphIndexRangeNV (GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]) +GLenum _glew_gl_glPathGlyphIndexRangeNV (GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint * baseAndCount) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -58557,7 +61608,7 @@ void _glew_gl_glProgramPathFragmentInputGenNV (GLuint program, GLint location, G //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLfloat * params) +void _glew_gl_glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei count, GLsizei * length, GLfloat * params) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -58568,7 +61619,7 @@ void _glew_gl_glGetProgramResourcefvNV (GLuint program, GLenum programInterface, if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glConfig.m_glGetProgramResourcefvNV) { prototypeCalled = true; - glConfig.m_glGetProgramResourcefvNV (program, programInterface, index, propCount, props, bufSize, length, params); + glConfig.m_glGetProgramResourcefvNV (program, programInterface, index, propCount, props, count, length, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -59040,6 +62091,100 @@ void _glew_gl_glPrimitiveRestartIndexNV (GLuint index) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +GLint _glew_gl_glQueryResourceNV (GLenum queryType, GLint tagId, GLuint count, GLint * buffer) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLint result = ((GLint)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_query_resource - glQueryResourceNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_query_resource] && glConfig.m_glQueryResourceNV) + { + prototypeCalled = true; + result = glConfig.m_glQueryResourceNV (queryType, tagId, count, buffer); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGenQueryResourceTagNV (GLsizei n, GLint * tagIds) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_query_resource_tag - glGenQueryResourceTagNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_query_resource_tag] && glConfig.m_glGenQueryResourceTagNV) + { + prototypeCalled = true; + glConfig.m_glGenQueryResourceTagNV (n, tagIds); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glDeleteQueryResourceTagNV (GLsizei n, const GLint * tagIds) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_query_resource_tag - glDeleteQueryResourceTagNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_query_resource_tag] && glConfig.m_glDeleteQueryResourceTagNV) + { + prototypeCalled = true; + glConfig.m_glDeleteQueryResourceTagNV (n, tagIds); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glQueryResourceTagNV (GLint tagId, const GLchar * tagString) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_query_resource_tag - glQueryResourceTagNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_query_resource_tag] && glConfig.m_glQueryResourceTagNV) + { + prototypeCalled = true; + glConfig.m_glQueryResourceTagNV (tagId, tagString); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gl_glReadBufferNV (GLenum mode) { bool prototypeCalled = false; @@ -59477,6 +62622,52 @@ void _glew_gl_glResolveDepthValuesNV () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gl_glScissorExclusiveNV (GLint x, GLint y, GLsizei width, GLsizei height) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_scissor_exclusive - glScissorExclusiveNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_scissor_exclusive] && glConfig.m_glScissorExclusiveNV) + { + prototypeCalled = true; + glConfig.m_glScissorExclusiveNV (x, y, width, height); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glScissorExclusiveArrayvNV (GLuint first, GLsizei count, const GLint * v) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_scissor_exclusive - glScissorExclusiveArrayvNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_scissor_exclusive] && glConfig.m_glScissorExclusiveArrayvNV) + { + prototypeCalled = true; + glConfig.m_glScissorExclusiveArrayvNV (first, count, v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gl_glMakeBufferResidentNV (GLenum target, GLenum access) { bool prototypeCalled = false; @@ -59780,6 +62971,167 @@ void _glew_gl_glProgramUniformui64vNV (GLuint program, GLint location, GLsizei c //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gl_glBindShadingRateImageNV (GLuint texture) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_shading_rate_image - glBindShadingRateImageNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] && glConfig.m_glBindShadingRateImageNV) + { + prototypeCalled = true; + glConfig.m_glBindShadingRateImageNV (texture); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGetShadingRateImagePaletteNV (GLuint viewport, GLuint entry, GLenum * rate) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_shading_rate_image - glGetShadingRateImagePaletteNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] && glConfig.m_glGetShadingRateImagePaletteNV) + { + prototypeCalled = true; + glConfig.m_glGetShadingRateImagePaletteNV (viewport, entry, rate); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGetShadingRateSampleLocationivNV (GLenum rate, GLuint samples, GLuint index, GLint * location) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_shading_rate_image - glGetShadingRateSampleLocationivNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] && glConfig.m_glGetShadingRateSampleLocationivNV) + { + prototypeCalled = true; + glConfig.m_glGetShadingRateSampleLocationivNV (rate, samples, index, location); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glShadingRateImageBarrierNV (GLboolean synchronize) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_shading_rate_image - glShadingRateImageBarrierNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] && glConfig.m_glShadingRateImageBarrierNV) + { + prototypeCalled = true; + glConfig.m_glShadingRateImageBarrierNV (synchronize); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glShadingRateImagePaletteNV (GLuint viewport, GLuint first, GLsizei count, const GLenum * rates) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_shading_rate_image - glShadingRateImagePaletteNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] && glConfig.m_glShadingRateImagePaletteNV) + { + prototypeCalled = true; + glConfig.m_glShadingRateImagePaletteNV (viewport, first, count, rates); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glShadingRateSampleOrderNV (GLenum order) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_shading_rate_image - glShadingRateSampleOrderNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] && glConfig.m_glShadingRateSampleOrderNV) + { + prototypeCalled = true; + glConfig.m_glShadingRateSampleOrderNV (order); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glShadingRateSampleOrderCustomNV (GLenum rate, GLuint samples, const GLint * locations) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_shading_rate_image - glShadingRateSampleOrderCustomNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] && glConfig.m_glShadingRateSampleOrderCustomNV) + { + prototypeCalled = true; + glConfig.m_glShadingRateSampleOrderCustomNV (rate, samples, locations); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gl_glTextureBarrierNV () { bool prototypeCalled = false; @@ -60526,7 +63878,7 @@ void _glew_gl_glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) +void _glew_gl_glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei count, GLsizei * length, GLint * values) { bool prototypeCalled = false; const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); @@ -60537,7 +63889,7 @@ void _glew_gl_glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLs if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_vdpau_interop] && glConfig.m_glVDPAUGetSurfaceivNV) { prototypeCalled = true; - glConfig.m_glVDPAUGetSurfaceivNV (surface, pname, bufSize, length, values); + glConfig.m_glVDPAUGetSurfaceivNV (surface, pname, count, length, values); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -60618,6 +63970,31 @@ void _glew_gl_glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +GLvdpauSurfaceNV _glew_gl_glVDPAURegisterVideoSurfaceWithPictureStructureNV (const void * vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint * textureNames, GLboolean isFrameStructure) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); + GLvdpauSurfaceNV result = ((GLvdpauSurfaceNV)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_vdpau_interop2 - glVDPAURegisterVideoSurfaceWithPictureStructureNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_vdpau_interop2] && glConfig.m_glVDPAURegisterVideoSurfaceWithPictureStructureNV) + { + prototypeCalled = true; + result = glConfig.m_glVDPAURegisterVideoSurfaceWithPictureStructureNV (vdpSurface, target, numTextureNames, textureNames, isFrameStructure); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gl_glFlushVertexArrayRangeNV () { bool prototypeCalled = false; @@ -63938,6 +67315,29 @@ GLboolean _glew_gl_glIsEnablediNV (GLenum target, GLuint index) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gl_glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_viewport_swizzle - glViewportSwizzleNV + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_NV_viewport_swizzle] && glConfig.m_glViewportSwizzleNV) + { + prototypeCalled = true; + glConfig.m_glViewportSwizzleNV (index, swizzlex, swizzley, swizzlez, swizzlew); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gl_glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image) { bool prototypeCalled = false; @@ -64526,6 +67926,12 @@ void _glew_gl_glEnableiOES (GLenum target, GLuint index) prototypeCalled = true; glConfig.m_glEnableiOES (target, index); } + // GL_OES_viewport_array - glEnableiOES + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glEnableiOES) + { + prototypeCalled = true; + glConfig.m_glEnableiOES (target, index); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -64549,6 +67955,12 @@ void _glew_gl_glDisableiOES (GLenum target, GLuint index) prototypeCalled = true; glConfig.m_glDisableiOES (target, index); } + // GL_OES_viewport_array - glDisableiOES + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glDisableiOES) + { + prototypeCalled = true; + glConfig.m_glDisableiOES (target, index); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -64688,6 +68100,12 @@ GLboolean _glew_gl_glIsEnablediOES (GLenum target, GLuint index) prototypeCalled = true; result = glConfig.m_glIsEnablediOES (target, index); } + // GL_OES_viewport_array - glIsEnablediOES + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glIsEnablediOES) + { + prototypeCalled = true; + result = glConfig.m_glIsEnablediOES (target, index); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -64768,29 +68186,6 @@ void _glew_gl_glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gl_glMultiDrawElementsBaseVertexOES (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, const GLint * basevertex) -{ - bool prototypeCalled = false; - const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); -#if GLEW_GL_PRE_ERROR_CHECK - GLEW_ASSERT (glGetError () == GL_NO_ERROR); -#endif - // GL_OES_draw_elements_base_vertex - glMultiDrawElementsBaseVertexOES - if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_draw_elements_base_vertex] && glConfig.m_glMultiDrawElementsBaseVertexOES) - { - prototypeCalled = true; - glConfig.m_glMultiDrawElementsBaseVertexOES (mode, count, type, indices, primcount, basevertex); - } - GLEW_ASSERT (prototypeCalled); -#if GLEW_GL_POST_ERROR_CHECK - GLEW_ASSERT (glGetError () == GL_NO_ERROR); -#endif -} - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - void _glew_gl_glAlphaFuncxOES (GLenum func, GLfixed ref) { bool prototypeCalled = false; @@ -68042,6 +71437,213 @@ GLboolean _glew_gl_glIsVertexArrayOES (GLuint array) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gl_glViewportArrayvOES (GLuint first, GLsizei count, const GLfloat * v) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_viewport_array - glViewportArrayvOES + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glViewportArrayvOES) + { + prototypeCalled = true; + glConfig.m_glViewportArrayvOES (first, count, v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glViewportIndexedfOES (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_viewport_array - glViewportIndexedfOES + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glViewportIndexedfOES) + { + prototypeCalled = true; + glConfig.m_glViewportIndexedfOES (index, x, y, w, h); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glViewportIndexedfvOES (GLuint index, const GLfloat * v) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_viewport_array - glViewportIndexedfvOES + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glViewportIndexedfvOES) + { + prototypeCalled = true; + glConfig.m_glViewportIndexedfvOES (index, v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glScissorArrayvOES (GLuint first, GLsizei count, const GLint * v) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_viewport_array - glScissorArrayvOES + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glScissorArrayvOES) + { + prototypeCalled = true; + glConfig.m_glScissorArrayvOES (first, count, v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glScissorIndexedOES (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_viewport_array - glScissorIndexedOES + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glScissorIndexedOES) + { + prototypeCalled = true; + glConfig.m_glScissorIndexedOES (index, left, bottom, width, height); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glScissorIndexedvOES (GLuint index, const GLint * v) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_viewport_array - glScissorIndexedvOES + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glScissorIndexedvOES) + { + prototypeCalled = true; + glConfig.m_glScissorIndexedvOES (index, v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glDepthRangeArrayfvOES (GLuint first, GLsizei count, const GLfloat * v) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_viewport_array - glDepthRangeArrayfvOES + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glDepthRangeArrayfvOES) + { + prototypeCalled = true; + glConfig.m_glDepthRangeArrayfvOES (first, count, v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glDepthRangeIndexedfOES (GLuint index, GLfloat n, GLfloat f) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_viewport_array - glDepthRangeIndexedfOES + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glDepthRangeIndexedfOES) + { + prototypeCalled = true; + glConfig.m_glDepthRangeIndexedfOES (index, n, f); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glGetFloati_vOES (GLenum target, GLuint index, GLfloat * data) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_viewport_array - glGetFloati_vOES + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glConfig.m_glGetFloati_vOES) + { + prototypeCalled = true; + glConfig.m_glGetFloati_vOES (target, index, data); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gl_glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews) { bool prototypeCalled = false; @@ -68504,6 +72106,190 @@ void _glew_gl_glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gl_glFramebufferFoveationConfigQCOM (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint * providedFeatures) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_QCOM_framebuffer_foveated - glFramebufferFoveationConfigQCOM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_QCOM_framebuffer_foveated] && glConfig.m_glFramebufferFoveationConfigQCOM) + { + prototypeCalled = true; + glConfig.m_glFramebufferFoveationConfigQCOM (framebuffer, numLayers, focalPointsPerLayer, requestedFeatures, providedFeatures); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glFramebufferFoveationParametersQCOM (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_QCOM_framebuffer_foveated - glFramebufferFoveationParametersQCOM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_QCOM_framebuffer_foveated] && glConfig.m_glFramebufferFoveationParametersQCOM) + { + prototypeCalled = true; + glConfig.m_glFramebufferFoveationParametersQCOM (framebuffer, layer, focalPoint, focalX, focalY, gainX, gainY, foveaArea); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTexEstimateMotionQCOM (GLuint ref, GLuint target, GLuint output) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_QCOM_motion_estimation - glTexEstimateMotionQCOM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_QCOM_motion_estimation] && glConfig.m_glTexEstimateMotionQCOM) + { + prototypeCalled = true; + glConfig.m_glTexEstimateMotionQCOM (ref, target, output); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTexEstimateMotionRegionsQCOM (GLuint ref, GLuint target, GLuint output, GLuint mask) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_QCOM_motion_estimation - glTexEstimateMotionRegionsQCOM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_QCOM_motion_estimation] && glConfig.m_glTexEstimateMotionRegionsQCOM) + { + prototypeCalled = true; + glConfig.m_glTexEstimateMotionRegionsQCOM (ref, target, output, mask); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glExtrapolateTex2DQCOM (GLuint src1, GLuint src2, GLuint output, GLfloat scaleFactor) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_QCOM_frame_extrapolation - glExtrapolateTex2DQCOM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_QCOM_frame_extrapolation] && glConfig.m_glExtrapolateTex2DQCOM) + { + prototypeCalled = true; + glConfig.m_glExtrapolateTex2DQCOM (src1, src2, output, scaleFactor); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glTextureFoveationParametersQCOM (GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_QCOM_texture_foveated - glTextureFoveationParametersQCOM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_QCOM_texture_foveated] && glConfig.m_glTextureFoveationParametersQCOM) + { + prototypeCalled = true; + glConfig.m_glTextureFoveationParametersQCOM (texture, layer, focalPoint, focalX, focalY, gainX, gainY, foveaArea); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glFramebufferFetchBarrierQCOM () +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_QCOM_shader_framebuffer_fetch_noncoherent - glFramebufferFetchBarrierQCOM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_QCOM_shader_framebuffer_fetch_noncoherent] && glConfig.m_glFramebufferFetchBarrierQCOM) + { + prototypeCalled = true; + glConfig.m_glFramebufferFetchBarrierQCOM (); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gl_glShadingRateQCOM (GLenum rate) +{ + bool prototypeCalled = false; + const glew::gl::DeviceConfig &glConfig = glew::gl::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_QCOM_shading_rate - glShadingRateQCOM + if (!prototypeCalled && glConfig.m_featureSupported [GLEW_GL_QCOM_shading_rate] && glConfig.m_glShadingRateQCOM) + { + prototypeCalled = true; + glConfig.m_glShadingRateQCOM (rate); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gl_glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask) { bool prototypeCalled = false; @@ -71688,9 +75474,9 @@ void glew::gl::Initialise () { memset (&s_deviceConfig, 0, sizeof (s_deviceConfig)); - // + // // Determine current driver's feature reporting. - // + // const unsigned char *glVersion = glGetString (GL_VERSION); @@ -71749,9 +75535,9 @@ void glew::gl::Initialise () } } - // + // // Evaluate extension support. - // + // std::unordered_set supportedExtensions; @@ -71774,7 +75560,7 @@ void glew::gl::Initialise () memset (thisExtBuffer, 0, sizeof (thisExtBuffer)); - do + do { const char * seperator = strchr ((const char *) thisExtStart, ' '); @@ -71784,7 +75570,7 @@ void glew::gl::Initialise () #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -71798,7 +75584,7 @@ void glew::gl::Initialise () #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -71829,7 +75615,11 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_AMD_debug_output] = (supportedExtensions.find ("GL_AMD_debug_output") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_depth_clamp_separate] = (supportedExtensions.find ("GL_AMD_depth_clamp_separate") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_draw_buffers_blend] = (supportedExtensions.find ("GL_AMD_draw_buffers_blend") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_AMD_framebuffer_multisample_advanced] = (supportedExtensions.find ("GL_AMD_framebuffer_multisample_advanced") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_AMD_framebuffer_sample_positions] = (supportedExtensions.find ("GL_AMD_framebuffer_sample_positions") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_gcn_shader] = (supportedExtensions.find ("GL_AMD_gcn_shader") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_AMD_gpu_shader_half_float] = (supportedExtensions.find ("GL_AMD_gpu_shader_half_float") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_AMD_gpu_shader_int16] = (supportedExtensions.find ("GL_AMD_gpu_shader_int16") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_gpu_shader_int64] = (supportedExtensions.find ("GL_AMD_gpu_shader_int64") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_interleaved_elements] = (supportedExtensions.find ("GL_AMD_interleaved_elements") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_multi_draw_indirect] = (supportedExtensions.find ("GL_AMD_multi_draw_indirect") != supportedExtensions.end ()); @@ -71842,10 +75632,15 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_AMD_sample_positions] = (supportedExtensions.find ("GL_AMD_sample_positions") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_seamless_cubemap_per_texture] = (supportedExtensions.find ("GL_AMD_seamless_cubemap_per_texture") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_shader_atomic_counter_ops] = (supportedExtensions.find ("GL_AMD_shader_atomic_counter_ops") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_AMD_shader_ballot] = (supportedExtensions.find ("GL_AMD_shader_ballot") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_AMD_shader_gpu_shader_half_float_fetch] = (supportedExtensions.find ("GL_AMD_shader_gpu_shader_half_float_fetch") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_AMD_shader_image_load_store_lod] = (supportedExtensions.find ("GL_AMD_shader_image_load_store_lod") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_shader_stencil_export] = (supportedExtensions.find ("GL_AMD_shader_stencil_export") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_shader_trinary_minmax] = (supportedExtensions.find ("GL_AMD_shader_trinary_minmax") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_AMD_shader_explicit_vertex_parameter] = (supportedExtensions.find ("GL_AMD_shader_explicit_vertex_parameter") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_sparse_texture] = (supportedExtensions.find ("GL_AMD_sparse_texture") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_stencil_operation_extended] = (supportedExtensions.find ("GL_AMD_stencil_operation_extended") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_AMD_texture_gather_bias_lod] = (supportedExtensions.find ("GL_AMD_texture_gather_bias_lod") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_texture_texture4] = (supportedExtensions.find ("GL_AMD_texture_texture4") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_transform_feedback3_lines_triangles] = (supportedExtensions.find ("GL_AMD_transform_feedback3_lines_triangles") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_transform_feedback4] = (supportedExtensions.find ("GL_AMD_transform_feedback4") != supportedExtensions.end ()); @@ -71936,6 +75731,7 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_ARB_geometry_shader4] = (supportedExtensions.find ("GL_ARB_geometry_shader4") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_get_program_binary] = (supportedExtensions.find ("GL_ARB_get_program_binary") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_get_texture_sub_image] = (supportedExtensions.find ("GL_ARB_get_texture_sub_image") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_ARB_gl_spirv] = (supportedExtensions.find ("GL_ARB_gl_spirv") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_gpu_shader5] = (supportedExtensions.find ("GL_ARB_gpu_shader5") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_gpu_shader_fp64] = (supportedExtensions.find ("GL_ARB_gpu_shader_fp64") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_gpu_shader_int64] = (supportedExtensions.find ("GL_ARB_gpu_shader_int64") != supportedExtensions.end ()); @@ -71961,6 +75757,7 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_ARB_pixel_buffer_object] = (supportedExtensions.find ("GL_ARB_pixel_buffer_object") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_point_parameters] = (supportedExtensions.find ("GL_ARB_point_parameters") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_point_sprite] = (supportedExtensions.find ("GL_ARB_point_sprite") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_ARB_polygon_offset_clamp] = (supportedExtensions.find ("GL_ARB_polygon_offset_clamp") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_post_depth_coverage] = (supportedExtensions.find ("GL_ARB_post_depth_coverage") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_program_interface_query] = (supportedExtensions.find ("GL_ARB_program_interface_query") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_provoking_vertex] = (supportedExtensions.find ("GL_ARB_provoking_vertex") != supportedExtensions.end ()); @@ -72001,6 +75798,7 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_ARB_sparse_texture] = (supportedExtensions.find ("GL_ARB_sparse_texture") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_sparse_texture2] = (supportedExtensions.find ("GL_ARB_sparse_texture2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_sparse_texture_clamp] = (supportedExtensions.find ("GL_ARB_sparse_texture_clamp") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_ARB_spirv_extensions] = (supportedExtensions.find ("GL_ARB_spirv_extensions") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_stencil_texturing] = (supportedExtensions.find ("GL_ARB_stencil_texturing") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_sync] = (supportedExtensions.find ("GL_ARB_sync") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_tessellation_shader] = (supportedExtensions.find ("GL_ARB_tessellation_shader") != supportedExtensions.end ()); @@ -72018,6 +75816,7 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_ARB_texture_env_combine] = (supportedExtensions.find ("GL_ARB_texture_env_combine") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_texture_env_crossbar] = (supportedExtensions.find ("GL_ARB_texture_env_crossbar") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_texture_env_dot3] = (supportedExtensions.find ("GL_ARB_texture_env_dot3") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_ARB_texture_filter_anisotropic] = (supportedExtensions.find ("GL_ARB_texture_filter_anisotropic") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_texture_filter_minmax] = (supportedExtensions.find ("GL_ARB_texture_filter_minmax") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_texture_float] = (supportedExtensions.find ("GL_ARB_texture_float") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARB_texture_gather] = (supportedExtensions.find ("GL_ARB_texture_gather") != supportedExtensions.end ()); @@ -72059,6 +75858,7 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_ARM_rgba8] = (supportedExtensions.find ("GL_ARM_rgba8") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARM_shader_framebuffer_fetch] = (supportedExtensions.find ("GL_ARM_shader_framebuffer_fetch") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARM_shader_framebuffer_fetch_depth_stencil] = (supportedExtensions.find ("GL_ARM_shader_framebuffer_fetch_depth_stencil") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_ARM_texture_unnormalized_coordinates] = (supportedExtensions.find ("GL_ARM_texture_unnormalized_coordinates") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ATI_draw_buffers] = (supportedExtensions.find ("GL_ATI_draw_buffers") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ATI_element_array] = (supportedExtensions.find ("GL_ATI_element_array") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ATI_envmap_bumpmap] = (supportedExtensions.find ("GL_ATI_envmap_bumpmap") != supportedExtensions.end ()); @@ -72078,6 +75878,9 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_DMP_program_binary] = (supportedExtensions.find ("GL_DMP_program_binary") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_DMP_shader_binary] = (supportedExtensions.find ("GL_DMP_shader_binary") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_422_pixels] = (supportedExtensions.find ("GL_EXT_422_pixels") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_EGL_image_array] = (supportedExtensions.find ("GL_EXT_EGL_image_array") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_EGL_image_storage] = (supportedExtensions.find ("GL_EXT_EGL_image_storage") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_EGL_sync] = (supportedExtensions.find ("GL_EXT_EGL_sync") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_YUV_target] = (supportedExtensions.find ("GL_EXT_YUV_target") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_abgr] = (supportedExtensions.find ("GL_EXT_abgr") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_base_instance] = (supportedExtensions.find ("GL_EXT_base_instance") != supportedExtensions.end ()); @@ -72091,12 +75894,16 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_EXT_blend_minmax] = (supportedExtensions.find ("GL_EXT_blend_minmax") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_blend_subtract] = (supportedExtensions.find ("GL_EXT_blend_subtract") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_buffer_storage] = (supportedExtensions.find ("GL_EXT_buffer_storage") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_clear_texture] = (supportedExtensions.find ("GL_EXT_clear_texture") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_clip_control] = (supportedExtensions.find ("GL_EXT_clip_control") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_clip_cull_distance] = (supportedExtensions.find ("GL_EXT_clip_cull_distance") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_clip_volume_hint] = (supportedExtensions.find ("GL_EXT_clip_volume_hint") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_cmyka] = (supportedExtensions.find ("GL_EXT_cmyka") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_color_buffer_float] = (supportedExtensions.find ("GL_EXT_color_buffer_float") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_color_buffer_half_float] = (supportedExtensions.find ("GL_EXT_color_buffer_half_float") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_color_subtable] = (supportedExtensions.find ("GL_EXT_color_subtable") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_compiled_vertex_array] = (supportedExtensions.find ("GL_EXT_compiled_vertex_array") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_conservative_depth] = (supportedExtensions.find ("GL_EXT_conservative_depth") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_convolution] = (supportedExtensions.find ("GL_EXT_convolution") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_coordinate_frame] = (supportedExtensions.find ("GL_EXT_coordinate_frame") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_copy_image] = (supportedExtensions.find ("GL_EXT_copy_image") != supportedExtensions.end ()); @@ -72105,6 +75912,7 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_EXT_debug_label] = (supportedExtensions.find ("GL_EXT_debug_label") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_debug_marker] = (supportedExtensions.find ("GL_EXT_debug_marker") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_depth_bounds_test] = (supportedExtensions.find ("GL_EXT_depth_bounds_test") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_depth_clamp] = (supportedExtensions.find ("GL_EXT_depth_clamp") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_direct_state_access] = (supportedExtensions.find ("GL_EXT_direct_state_access") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_discard_framebuffer] = (supportedExtensions.find ("GL_EXT_discard_framebuffer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_disjoint_timer_query] = (supportedExtensions.find ("GL_EXT_disjoint_timer_query") != supportedExtensions.end ()); @@ -72114,6 +75922,8 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_EXT_draw_elements_base_vertex] = (supportedExtensions.find ("GL_EXT_draw_elements_base_vertex") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_draw_instanced] = (supportedExtensions.find ("GL_EXT_draw_instanced") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_draw_range_elements] = (supportedExtensions.find ("GL_EXT_draw_range_elements") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_draw_transform_feedback] = (supportedExtensions.find ("GL_EXT_draw_transform_feedback") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_external_buffer] = (supportedExtensions.find ("GL_EXT_external_buffer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_float_blend] = (supportedExtensions.find ("GL_EXT_float_blend") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_fog_coord] = (supportedExtensions.find ("GL_EXT_fog_coord") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_framebuffer_blit] = (supportedExtensions.find ("GL_EXT_framebuffer_blit") != supportedExtensions.end ()); @@ -72135,13 +75945,20 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_EXT_instanced_arrays] = (supportedExtensions.find ("GL_EXT_instanced_arrays") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_light_texture] = (supportedExtensions.find ("GL_EXT_light_texture") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_map_buffer_range] = (supportedExtensions.find ("GL_EXT_map_buffer_range") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_memory_object] = (supportedExtensions.find ("GL_EXT_memory_object") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_memory_object_fd] = (supportedExtensions.find ("GL_EXT_memory_object_fd") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_memory_object_win32] = (supportedExtensions.find ("GL_EXT_memory_object_win32") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_misc_attribute] = (supportedExtensions.find ("GL_EXT_misc_attribute") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_arrays] = (supportedExtensions.find ("GL_EXT_multi_draw_arrays") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_indirect] = (supportedExtensions.find ("GL_EXT_multi_draw_indirect") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multisample] = (supportedExtensions.find ("GL_EXT_multisample") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multisampled_compatibility] = (supportedExtensions.find ("GL_EXT_multisampled_compatibility") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multisampled_render_to_texture] = (supportedExtensions.find ("GL_EXT_multisampled_render_to_texture") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multisampled_render_to_texture2] = (supportedExtensions.find ("GL_EXT_multisampled_render_to_texture2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multiview_draw_buffers] = (supportedExtensions.find ("GL_EXT_multiview_draw_buffers") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multiview_tessellation_geometry_shader] = (supportedExtensions.find ("GL_EXT_multiview_tessellation_geometry_shader") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multiview_texture_multisample] = (supportedExtensions.find ("GL_EXT_multiview_texture_multisample") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multiview_timer_query] = (supportedExtensions.find ("GL_EXT_multiview_timer_query") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_occlusion_query_boolean] = (supportedExtensions.find ("GL_EXT_occlusion_query_boolean") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_packed_depth_stencil] = (supportedExtensions.find ("GL_EXT_packed_depth_stencil") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_packed_float] = (supportedExtensions.find ("GL_EXT_packed_float") != supportedExtensions.end ()); @@ -72155,6 +75972,7 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_EXT_polygon_offset_clamp] = (supportedExtensions.find ("GL_EXT_polygon_offset_clamp") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_post_depth_coverage] = (supportedExtensions.find ("GL_EXT_post_depth_coverage") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_primitive_bounding_box] = (supportedExtensions.find ("GL_EXT_primitive_bounding_box") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_protected_textures] = (supportedExtensions.find ("GL_EXT_protected_textures") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_provoking_vertex] = (supportedExtensions.find ("GL_EXT_provoking_vertex") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_pvrtc_sRGB] = (supportedExtensions.find ("GL_EXT_pvrtc_sRGB") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_raster_multisample] = (supportedExtensions.find ("GL_EXT_raster_multisample") != supportedExtensions.end ()); @@ -72162,18 +75980,25 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_EXT_render_snorm] = (supportedExtensions.find ("GL_EXT_render_snorm") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_rescale_normal] = (supportedExtensions.find ("GL_EXT_rescale_normal") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_robustness] = (supportedExtensions.find ("GL_EXT_robustness") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_semaphore] = (supportedExtensions.find ("GL_EXT_semaphore") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_semaphore_fd] = (supportedExtensions.find ("GL_EXT_semaphore_fd") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_semaphore_win32] = (supportedExtensions.find ("GL_EXT_semaphore_win32") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_sRGB] = (supportedExtensions.find ("GL_EXT_sRGB") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_sRGB_write_control] = (supportedExtensions.find ("GL_EXT_sRGB_write_control") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_secondary_color] = (supportedExtensions.find ("GL_EXT_secondary_color") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] = (supportedExtensions.find ("GL_EXT_separate_shader_objects") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_separate_specular_color] = (supportedExtensions.find ("GL_EXT_separate_specular_color") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_framebuffer_fetch] = (supportedExtensions.find ("GL_EXT_shader_framebuffer_fetch") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_framebuffer_fetch_non_coherent] = (supportedExtensions.find ("GL_EXT_shader_framebuffer_fetch_non_coherent") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_group_vote] = (supportedExtensions.find ("GL_EXT_shader_group_vote") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_image_load_formatted] = (supportedExtensions.find ("GL_EXT_shader_image_load_formatted") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_image_load_store] = (supportedExtensions.find ("GL_EXT_shader_image_load_store") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_implicit_conversions] = (supportedExtensions.find ("GL_EXT_shader_implicit_conversions") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_integer_mix] = (supportedExtensions.find ("GL_EXT_shader_integer_mix") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_io_blocks] = (supportedExtensions.find ("GL_EXT_shader_io_blocks") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_non_constant_global_initializers] = (supportedExtensions.find ("GL_EXT_shader_non_constant_global_initializers") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_pixel_local_storage] = (supportedExtensions.find ("GL_EXT_shader_pixel_local_storage") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_pixel_local_storage2] = (supportedExtensions.find ("GL_EXT_shader_pixel_local_storage2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_texture_lod] = (supportedExtensions.find ("GL_EXT_shader_texture_lod") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shadow_funcs] = (supportedExtensions.find ("GL_EXT_shadow_funcs") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shadow_samplers] = (supportedExtensions.find ("GL_EXT_shadow_samplers") != supportedExtensions.end ()); @@ -72192,10 +76017,13 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] = (supportedExtensions.find ("GL_EXT_texture_border_clamp") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_buffer] = (supportedExtensions.find ("GL_EXT_texture_buffer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_buffer_object] = (supportedExtensions.find ("GL_EXT_texture_buffer_object") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_compression_astc_decode_mode] = (supportedExtensions.find ("GL_EXT_texture_compression_astc_decode_mode") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_compression_bptc] = (supportedExtensions.find ("GL_EXT_texture_compression_bptc") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_compression_dxt1] = (supportedExtensions.find ("GL_EXT_texture_compression_dxt1") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_compression_latc] = (supportedExtensions.find ("GL_EXT_texture_compression_latc") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_compression_rgtc] = (supportedExtensions.find ("GL_EXT_texture_compression_rgtc") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_compression_s3tc] = (supportedExtensions.find ("GL_EXT_texture_compression_s3tc") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_compression_s3tc_srgb] = (supportedExtensions.find ("GL_EXT_texture_compression_s3tc_srgb") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_cube_map] = (supportedExtensions.find ("GL_EXT_texture_cube_map") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_cube_map_array] = (supportedExtensions.find ("GL_EXT_texture_cube_map_array") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_env_add] = (supportedExtensions.find ("GL_EXT_texture_env_add") != supportedExtensions.end ()); @@ -72204,12 +76032,15 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_filter_anisotropic] = (supportedExtensions.find ("GL_EXT_texture_filter_anisotropic") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_filter_minmax] = (supportedExtensions.find ("GL_EXT_texture_filter_minmax") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_format_BGRA8888] = (supportedExtensions.find ("GL_EXT_texture_format_BGRA8888") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_format_sRGB_override] = (supportedExtensions.find ("GL_EXT_texture_format_sRGB_override") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_integer] = (supportedExtensions.find ("GL_EXT_texture_integer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_lod_bias] = (supportedExtensions.find ("GL_EXT_texture_lod_bias") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_mirror_clamp] = (supportedExtensions.find ("GL_EXT_texture_mirror_clamp") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_mirror_clamp_to_edge] = (supportedExtensions.find ("GL_EXT_texture_mirror_clamp_to_edge") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_norm16] = (supportedExtensions.find ("GL_EXT_texture_norm16") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_object] = (supportedExtensions.find ("GL_EXT_texture_object") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_perturb_normal] = (supportedExtensions.find ("GL_EXT_texture_perturb_normal") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_query_lod] = (supportedExtensions.find ("GL_EXT_texture_query_lod") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_rg] = (supportedExtensions.find ("GL_EXT_texture_rg") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_sRGB] = (supportedExtensions.find ("GL_EXT_texture_sRGB") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_sRGB_R8] = (supportedExtensions.find ("GL_EXT_texture_sRGB_R8") != supportedExtensions.end ()); @@ -72221,6 +76052,7 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_swizzle] = (supportedExtensions.find ("GL_EXT_texture_swizzle") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_type_2_10_10_10_REV] = (supportedExtensions.find ("GL_EXT_texture_type_2_10_10_10_REV") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_view] = (supportedExtensions.find ("GL_EXT_texture_view") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_timeline_semaphore] = (supportedExtensions.find ("GL_NV_timeline_semaphore") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_timer_query] = (supportedExtensions.find ("GL_EXT_timer_query") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_transform_feedback] = (supportedExtensions.find ("GL_EXT_transform_feedback") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_unpack_subimage] = (supportedExtensions.find ("GL_EXT_unpack_subimage") != supportedExtensions.end ()); @@ -72229,6 +76061,8 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_EXT_vertex_attrib_64bit] = (supportedExtensions.find ("GL_EXT_vertex_attrib_64bit") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_vertex_shader] = (supportedExtensions.find ("GL_EXT_vertex_shader") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_vertex_weighting] = (supportedExtensions.find ("GL_EXT_vertex_weighting") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_win32_keyed_mutex] = (supportedExtensions.find ("GL_EXT_win32_keyed_mutex") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_window_rectangles] = (supportedExtensions.find ("GL_EXT_window_rectangles") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_x11_sync_object] = (supportedExtensions.find ("GL_EXT_x11_sync_object") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_FJ_shader_binary_GCCSO] = (supportedExtensions.find ("GL_FJ_shader_binary_GCCSO") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_GREMEDY_frame_terminator] = (supportedExtensions.find ("GL_GREMEDY_frame_terminator") != supportedExtensions.end ()); @@ -72243,6 +76077,8 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_IBM_static_data] = (supportedExtensions.find ("GL_IBM_static_data") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_IBM_texture_mirrored_repeat] = (supportedExtensions.find ("GL_IBM_texture_mirrored_repeat") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_IBM_vertex_array_lists] = (supportedExtensions.find ("GL_IBM_vertex_array_lists") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture] = (supportedExtensions.find ("GL_IMG_bindless_texture") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_IMG_framebuffer_downsample] = (supportedExtensions.find ("GL_IMG_framebuffer_downsample") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_IMG_multisampled_render_to_texture] = (supportedExtensions.find ("GL_IMG_multisampled_render_to_texture") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_IMG_program_binary] = (supportedExtensions.find ("GL_IMG_program_binary") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_IMG_read_format] = (supportedExtensions.find ("GL_IMG_read_format") != supportedExtensions.end ()); @@ -72253,9 +76089,11 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_INGR_blend_func_separate] = (supportedExtensions.find ("GL_INGR_blend_func_separate") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_INGR_color_clamp] = (supportedExtensions.find ("GL_INGR_color_clamp") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_INGR_interlace_read] = (supportedExtensions.find ("GL_INGR_interlace_read") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_INTEL_conservative_rasterization] = (supportedExtensions.find ("GL_INTEL_conservative_rasterization") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_INTEL_fragment_shader_ordering] = (supportedExtensions.find ("GL_INTEL_fragment_shader_ordering") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_INTEL_framebuffer_CMAA] = (supportedExtensions.find ("GL_INTEL_framebuffer_CMAA") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_INTEL_map_texture] = (supportedExtensions.find ("GL_INTEL_map_texture") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_INTEL_blackhole_render] = (supportedExtensions.find ("GL_INTEL_blackhole_render") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_INTEL_parallel_arrays] = (supportedExtensions.find ("GL_INTEL_parallel_arrays") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] = (supportedExtensions.find ("GL_INTEL_performance_query") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_KHR_blend_equation_advanced] = (supportedExtensions.find ("GL_KHR_blend_equation_advanced") != supportedExtensions.end ()); @@ -72265,27 +76103,44 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_KHR_no_error] = (supportedExtensions.find ("GL_KHR_no_error") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_KHR_robust_buffer_access_behavior] = (supportedExtensions.find ("GL_KHR_robust_buffer_access_behavior") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_KHR_robustness] = (supportedExtensions.find ("GL_KHR_robustness") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_KHR_shader_subgroup] = (supportedExtensions.find ("GL_KHR_shader_subgroup") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_KHR_texture_compression_astc_hdr] = (supportedExtensions.find ("GL_KHR_texture_compression_astc_hdr") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_KHR_texture_compression_astc_ldr] = (supportedExtensions.find ("GL_KHR_texture_compression_astc_ldr") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_KHR_texture_compression_astc_sliced_3d] = (supportedExtensions.find ("GL_KHR_texture_compression_astc_sliced_3d") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_KHR_parallel_shader_compile] = (supportedExtensions.find ("GL_KHR_parallel_shader_compile") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_MESAX_texture_stack] = (supportedExtensions.find ("GL_MESAX_texture_stack") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_MESA_framebuffer_flip_x] = (supportedExtensions.find ("GL_MESA_framebuffer_flip_x") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_MESA_framebuffer_flip_y] = (supportedExtensions.find ("GL_MESA_framebuffer_flip_y") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_MESA_framebuffer_swap_xy] = (supportedExtensions.find ("GL_MESA_framebuffer_swap_xy") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_MESA_pack_invert] = (supportedExtensions.find ("GL_MESA_pack_invert") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_MESA_program_binary_formats] = (supportedExtensions.find ("GL_MESA_program_binary_formats") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_MESA_resize_buffers] = (supportedExtensions.find ("GL_MESA_resize_buffers") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_MESA_shader_integer_functions] = (supportedExtensions.find ("GL_MESA_shader_integer_functions") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_MESA_tile_raster_order] = (supportedExtensions.find ("GL_MESA_tile_raster_order") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_MESA_window_pos] = (supportedExtensions.find ("GL_MESA_window_pos") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_MESA_ycbcr_texture] = (supportedExtensions.find ("GL_MESA_ycbcr_texture") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NVX_blend_equation_advanced_multi_draw_buffers] = (supportedExtensions.find ("GL_NVX_blend_equation_advanced_multi_draw_buffers") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NVX_conditional_render] = (supportedExtensions.find ("GL_NVX_conditional_render") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NVX_gpu_memory_info] = (supportedExtensions.find ("GL_NVX_gpu_memory_info") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NVX_linked_gpu_multicast] = (supportedExtensions.find ("GL_NVX_linked_gpu_multicast") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_alpha_to_coverage_dither_control] = (supportedExtensions.find ("GL_NV_alpha_to_coverage_dither_control") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_bindless_multi_draw_indirect] = (supportedExtensions.find ("GL_NV_bindless_multi_draw_indirect") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_bindless_multi_draw_indirect_count] = (supportedExtensions.find ("GL_NV_bindless_multi_draw_indirect_count") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] = (supportedExtensions.find ("GL_NV_bindless_texture") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_blend_equation_advanced] = (supportedExtensions.find ("GL_NV_blend_equation_advanced") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_blend_equation_advanced_coherent] = (supportedExtensions.find ("GL_NV_blend_equation_advanced_coherent") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_blend_minmax_factor] = (supportedExtensions.find ("GL_NV_blend_minmax_factor") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_blend_square] = (supportedExtensions.find ("GL_NV_blend_square") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_clip_space_w_scaling] = (supportedExtensions.find ("GL_NV_clip_space_w_scaling") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_command_list] = (supportedExtensions.find ("GL_NV_command_list") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_compute_program5] = (supportedExtensions.find ("GL_NV_compute_program5") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_compute_shader_derivatives] = (supportedExtensions.find ("GL_NV_compute_shader_derivatives") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_conditional_render] = (supportedExtensions.find ("GL_NV_conditional_render") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_conservative_raster] = (supportedExtensions.find ("GL_NV_conservative_raster") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_conservative_raster_dilate] = (supportedExtensions.find ("GL_NV_conservative_raster_dilate") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_conservative_raster_pre_snap] = (supportedExtensions.find ("GL_NV_conservative_raster_pre_snap") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_conservative_raster_pre_snap_triangles] = (supportedExtensions.find ("GL_NV_conservative_raster_pre_snap_triangles") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_conservative_raster_underestimation] = (supportedExtensions.find ("GL_NV_conservative_raster_underestimation") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_copy_buffer] = (supportedExtensions.find ("GL_NV_copy_buffer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_copy_depth_to_color] = (supportedExtensions.find ("GL_NV_copy_depth_to_color") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_copy_image] = (supportedExtensions.find ("GL_NV_copy_image") != supportedExtensions.end ()); @@ -72297,6 +76152,7 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_NV_draw_buffers] = (supportedExtensions.find ("GL_NV_draw_buffers") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_draw_instanced] = (supportedExtensions.find ("GL_NV_draw_instanced") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_draw_texture] = (supportedExtensions.find ("GL_NV_draw_texture") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_draw_vulkan_image] = (supportedExtensions.find ("GL_NV_draw_vulkan_image") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_evaluators] = (supportedExtensions.find ("GL_NV_evaluators") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_explicit_attrib_location] = (supportedExtensions.find ("GL_NV_explicit_attrib_location") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_explicit_multisample] = (supportedExtensions.find ("GL_NV_explicit_multisample") != supportedExtensions.end ()); @@ -72310,6 +76166,7 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_NV_fragment_program2] = (supportedExtensions.find ("GL_NV_fragment_program2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_fragment_program4] = (supportedExtensions.find ("GL_NV_fragment_program4") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_fragment_program_option] = (supportedExtensions.find ("GL_NV_fragment_program_option") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_fragment_shader_barycentric] = (supportedExtensions.find ("GL_NV_fragment_shader_barycentric") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_fragment_shader_interlock] = (supportedExtensions.find ("GL_NV_fragment_shader_interlock") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_framebuffer_blit] = (supportedExtensions.find ("GL_NV_framebuffer_blit") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] = (supportedExtensions.find ("GL_NV_framebuffer_mixed_samples") != supportedExtensions.end ()); @@ -72328,6 +76185,12 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_NV_instanced_arrays] = (supportedExtensions.find ("GL_NV_instanced_arrays") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_internalformat_sample_query] = (supportedExtensions.find ("GL_NV_internalformat_sample_query") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_light_max_exponent] = (supportedExtensions.find ("GL_NV_light_max_exponent") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_gpu_multicast] = (supportedExtensions.find ("GL_NV_gpu_multicast") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NVX_gpu_multicast2] = (supportedExtensions.find ("GL_NVX_gpu_multicast2") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NVX_progress_fence] = (supportedExtensions.find ("GL_NVX_progress_fence") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_memory_attachment] = (supportedExtensions.find ("GL_NV_memory_attachment") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_memory_object_sparse] = (supportedExtensions.find ("GL_NV_memory_object_sparse") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_mesh_shader] = (supportedExtensions.find ("GL_NV_mesh_shader") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_multisample_coverage] = (supportedExtensions.find ("GL_NV_multisample_coverage") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_multisample_filter_hint] = (supportedExtensions.find ("GL_NV_multisample_filter_hint") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices] = (supportedExtensions.find ("GL_NV_non_square_matrices") != supportedExtensions.end ()); @@ -72338,10 +76201,14 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_NV_path_rendering] = (supportedExtensions.find ("GL_NV_path_rendering") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_path_rendering_shared_edge] = (supportedExtensions.find ("GL_NV_path_rendering_shared_edge") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_pixel_data_range] = (supportedExtensions.find ("GL_NV_pixel_data_range") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_pixel_buffer_object] = (supportedExtensions.find ("GL_NV_pixel_buffer_object") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_point_sprite] = (supportedExtensions.find ("GL_NV_point_sprite") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_polygon_mode] = (supportedExtensions.find ("GL_NV_polygon_mode") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_present_video] = (supportedExtensions.find ("GL_NV_present_video") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_primitive_restart] = (supportedExtensions.find ("GL_NV_primitive_restart") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_primitive_shading_rate] = (supportedExtensions.find ("GL_NV_primitive_shading_rate") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_query_resource] = (supportedExtensions.find ("GL_NV_query_resource") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_query_resource_tag] = (supportedExtensions.find ("GL_NV_query_resource_tag") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_read_buffer] = (supportedExtensions.find ("GL_NV_read_buffer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_read_buffer_front] = (supportedExtensions.find ("GL_NV_read_buffer_front") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_read_depth] = (supportedExtensions.find ("GL_NV_read_depth") != supportedExtensions.end ()); @@ -72349,21 +76216,29 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_NV_read_stencil] = (supportedExtensions.find ("GL_NV_read_stencil") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_register_combiners] = (supportedExtensions.find ("GL_NV_register_combiners") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_register_combiners2] = (supportedExtensions.find ("GL_NV_register_combiners2") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_representative_fragment_test] = (supportedExtensions.find ("GL_NV_representative_fragment_test") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_robustness_video_memory_purge] = (supportedExtensions.find ("GL_NV_robustness_video_memory_purge") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_sRGB_formats] = (supportedExtensions.find ("GL_NV_sRGB_formats") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_sample_locations] = (supportedExtensions.find ("GL_NV_sample_locations") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_sample_mask_override_coverage] = (supportedExtensions.find ("GL_NV_sample_mask_override_coverage") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_scissor_exclusive] = (supportedExtensions.find ("GL_NV_scissor_exclusive") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_atomic_counters] = (supportedExtensions.find ("GL_NV_shader_atomic_counters") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_atomic_float] = (supportedExtensions.find ("GL_NV_shader_atomic_float") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_atomic_float64] = (supportedExtensions.find ("GL_NV_shader_atomic_float64") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_atomic_fp16_vector] = (supportedExtensions.find ("GL_NV_shader_atomic_fp16_vector") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_atomic_int64] = (supportedExtensions.find ("GL_NV_shader_atomic_int64") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_buffer_load] = (supportedExtensions.find ("GL_NV_shader_buffer_load") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_buffer_store] = (supportedExtensions.find ("GL_NV_shader_buffer_store") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_noperspective_interpolation] = (supportedExtensions.find ("GL_NV_shader_noperspective_interpolation") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_storage_buffer_object] = (supportedExtensions.find ("GL_NV_shader_storage_buffer_object") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_subgroup_partitioned] = (supportedExtensions.find ("GL_NV_shader_subgroup_partitioned") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_texture_footprint] = (supportedExtensions.find ("GL_NV_shader_texture_footprint") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_thread_group] = (supportedExtensions.find ("GL_NV_shader_thread_group") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_thread_shuffle] = (supportedExtensions.find ("GL_NV_shader_thread_shuffle") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] = (supportedExtensions.find ("GL_NV_shading_rate_image") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_shadow_samplers_array] = (supportedExtensions.find ("GL_NV_shadow_samplers_array") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_shadow_samplers_cube] = (supportedExtensions.find ("GL_NV_shadow_samplers_cube") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_stereo_view_rendering] = (supportedExtensions.find ("GL_NV_stereo_view_rendering") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_tessellation_program5] = (supportedExtensions.find ("GL_NV_tessellation_program5") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_texgen_emboss] = (supportedExtensions.find ("GL_NV_texgen_emboss") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_texgen_reflection] = (supportedExtensions.find ("GL_NV_texgen_reflection") != supportedExtensions.end ()); @@ -72376,6 +76251,7 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_NV_texture_multisample] = (supportedExtensions.find ("GL_NV_texture_multisample") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_texture_npot_2D_mipmap] = (supportedExtensions.find ("GL_NV_texture_npot_2D_mipmap") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_texture_rectangle] = (supportedExtensions.find ("GL_NV_texture_rectangle") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_texture_rectangle_compressed] = (supportedExtensions.find ("GL_NV_texture_rectangle_compressed") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_texture_shader] = (supportedExtensions.find ("GL_NV_texture_shader") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_texture_shader2] = (supportedExtensions.find ("GL_NV_texture_shader2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_texture_shader3] = (supportedExtensions.find ("GL_NV_texture_shader3") != supportedExtensions.end ()); @@ -72383,6 +76259,7 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_NV_transform_feedback2] = (supportedExtensions.find ("GL_NV_transform_feedback2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_uniform_buffer_unified_memory] = (supportedExtensions.find ("GL_NV_uniform_buffer_unified_memory") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_vdpau_interop] = (supportedExtensions.find ("GL_NV_vdpau_interop") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_vdpau_interop2] = (supportedExtensions.find ("GL_NV_vdpau_interop2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_vertex_array_range] = (supportedExtensions.find ("GL_NV_vertex_array_range") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_vertex_array_range2] = (supportedExtensions.find ("GL_NV_vertex_array_range2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_vertex_attrib_integer_64bit] = (supportedExtensions.find ("GL_NV_vertex_attrib_integer_64bit") != supportedExtensions.end ()); @@ -72396,6 +76273,7 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_NV_video_capture] = (supportedExtensions.find ("GL_NV_video_capture") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_viewport_array] = (supportedExtensions.find ("GL_NV_viewport_array") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_viewport_array2] = (supportedExtensions.find ("GL_NV_viewport_array2") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_viewport_swizzle] = (supportedExtensions.find ("GL_NV_viewport_swizzle") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OES_EGL_image] = (supportedExtensions.find ("GL_OES_EGL_image") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OES_EGL_image_external] = (supportedExtensions.find ("GL_OES_EGL_image_external") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OES_EGL_image_external_essl3] = (supportedExtensions.find ("GL_OES_EGL_image_external_essl3") != supportedExtensions.end ()); @@ -72452,6 +76330,7 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_OES_vertex_array_object] = (supportedExtensions.find ("GL_OES_vertex_array_object") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OES_vertex_half_float] = (supportedExtensions.find ("GL_OES_vertex_half_float") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OES_vertex_type_10_10_10_2] = (supportedExtensions.find ("GL_OES_vertex_type_10_10_10_2") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_OES_viewport_array] = (supportedExtensions.find ("GL_OES_viewport_array") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OML_interlace] = (supportedExtensions.find ("GL_OML_interlace") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OML_resample] = (supportedExtensions.find ("GL_OML_resample") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OML_subsample] = (supportedExtensions.find ("GL_OML_subsample") != supportedExtensions.end ()); @@ -72465,9 +76344,19 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_driver_control] = (supportedExtensions.find ("GL_QCOM_driver_control") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] = (supportedExtensions.find ("GL_QCOM_extended_get") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_extended_get2] = (supportedExtensions.find ("GL_QCOM_extended_get2") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_framebuffer_foveated] = (supportedExtensions.find ("GL_QCOM_framebuffer_foveated") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_motion_estimation] = (supportedExtensions.find ("GL_QCOM_motion_estimation") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_frame_extrapolation] = (supportedExtensions.find ("GL_QCOM_frame_extrapolation") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_texture_foveated] = (supportedExtensions.find ("GL_QCOM_texture_foveated") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_texture_foveated2] = (supportedExtensions.find ("GL_QCOM_texture_foveated2") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_texture_foveated_subsampled_layout] = (supportedExtensions.find ("GL_QCOM_texture_foveated_subsampled_layout") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_perfmon_global_mode] = (supportedExtensions.find ("GL_QCOM_perfmon_global_mode") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_shader_framebuffer_fetch_noncoherent] = (supportedExtensions.find ("GL_QCOM_shader_framebuffer_fetch_noncoherent") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_shader_framebuffer_fetch_rate] = (supportedExtensions.find ("GL_QCOM_shader_framebuffer_fetch_rate") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_shading_rate] = (supportedExtensions.find ("GL_QCOM_shading_rate") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_tiled_rendering] = (supportedExtensions.find ("GL_QCOM_tiled_rendering") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_writeonly_rendering] = (supportedExtensions.find ("GL_QCOM_writeonly_rendering") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_YUV_texture_gather] = (supportedExtensions.find ("GL_QCOM_YUV_texture_gather") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_REND_screen_coordinates] = (supportedExtensions.find ("GL_REND_screen_coordinates") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_S3_s3tc] = (supportedExtensions.find ("GL_S3_s3tc") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_SGIS_detail_texture] = (supportedExtensions.find ("GL_SGIS_detail_texture") != supportedExtensions.end ()); @@ -72536,6 +76425,7 @@ void glew::gl::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_VIV_shader_binary] = (supportedExtensions.find ("GL_VIV_shader_binary") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_WIN_phong_shading] = (supportedExtensions.find ("GL_WIN_phong_shading") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_WIN_specular_fog] = (supportedExtensions.find ("GL_WIN_specular_fog") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_shadow_lod] = (supportedExtensions.find ("GL_EXT_texture_shadow_lod") != supportedExtensions.end ()); // GL_VERSION_1_1 if (s_deviceConfig.m_featureSupported [GLEW_GL_VERSION_1_1]) @@ -73364,6 +77254,15 @@ void glew::gl::Initialise () s_deviceConfig.m_glTextureBarrier = (PFNGLTEXTUREBARRIERPROC) glewGetProcAddress ("glTextureBarrier"); } + // GL_VERSION_4_6 + if (s_deviceConfig.m_featureSupported [GLEW_GL_VERSION_4_6]) + { + s_deviceConfig.m_glSpecializeShader = (PFNGLSPECIALIZESHADERPROC) glewGetProcAddress ("glSpecializeShader"); + s_deviceConfig.m_glMultiDrawArraysIndirectCount = (PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC) glewGetProcAddress ("glMultiDrawArraysIndirectCount"); + s_deviceConfig.m_glMultiDrawElementsIndirectCount = (PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC) glewGetProcAddress ("glMultiDrawElementsIndirectCount"); + s_deviceConfig.m_glPolygonOffsetClamp = (PFNGLPOLYGONOFFSETCLAMPPROC) glewGetProcAddress ("glPolygonOffsetClamp"); + } + // GL_ES_VERSION_2_0 if (s_deviceConfig.m_featureSupported [GLEW_GL_ES_VERSION_2_0]) { @@ -73766,6 +77665,22 @@ void glew::gl::Initialise () s_deviceConfig.m_glBlendEquationSeparateIndexedAMD = (PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) glewGetProcAddress ("glBlendEquationSeparateIndexedAMD"); } + // GL_AMD_framebuffer_multisample_advanced + if (s_deviceConfig.m_featureSupported [GLEW_GL_AMD_framebuffer_multisample_advanced]) + { + s_deviceConfig.m_glRenderbufferStorageMultisampleAdvancedAMD = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) glewGetProcAddress ("glRenderbufferStorageMultisampleAdvancedAMD"); + s_deviceConfig.m_glNamedRenderbufferStorageMultisampleAdvancedAMD = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) glewGetProcAddress ("glNamedRenderbufferStorageMultisampleAdvancedAMD"); + } + + // GL_AMD_framebuffer_sample_positions + if (s_deviceConfig.m_featureSupported [GLEW_GL_AMD_framebuffer_sample_positions]) + { + s_deviceConfig.m_glFramebufferSamplePositionsfvAMD = (PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) glewGetProcAddress ("glFramebufferSamplePositionsfvAMD"); + s_deviceConfig.m_glNamedFramebufferSamplePositionsfvAMD = (PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) glewGetProcAddress ("glNamedFramebufferSamplePositionsfvAMD"); + s_deviceConfig.m_glGetFramebufferParameterfvAMD = (PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC) glewGetProcAddress ("glGetFramebufferParameterfvAMD"); + s_deviceConfig.m_glGetNamedFramebufferParameterfvAMD = (PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC) glewGetProcAddress ("glGetNamedFramebufferParameterfvAMD"); + } + // GL_AMD_gpu_shader_int64 if (s_deviceConfig.m_featureSupported [GLEW_GL_AMD_gpu_shader_int64]) { @@ -74349,6 +78264,12 @@ void glew::gl::Initialise () s_deviceConfig.m_glGetCompressedTextureSubImage = (PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) glewGetProcAddress ("glGetCompressedTextureSubImage"); } + // GL_ARB_gl_spirv + if (s_deviceConfig.m_featureSupported [GLEW_GL_ARB_gl_spirv]) + { + s_deviceConfig.m_glSpecializeShaderARB = (PFNGLSPECIALIZESHADERARBPROC) glewGetProcAddress ("glSpecializeShaderARB"); + } + // GL_ARB_gpu_shader_fp64 if (s_deviceConfig.m_featureSupported [GLEW_GL_ARB_gpu_shader_fp64]) { @@ -74594,6 +78515,12 @@ void glew::gl::Initialise () s_deviceConfig.m_glPointParameterfvARB = (PFNGLPOINTPARAMETERFVARBPROC) glewGetProcAddress ("glPointParameterfvARB"); } + // GL_ARB_polygon_offset_clamp + if (s_deviceConfig.m_featureSupported [GLEW_GL_ARB_polygon_offset_clamp]) + { + s_deviceConfig.m_glPolygonOffsetClamp = (PFNGLPOLYGONOFFSETCLAMPPROC) glewGetProcAddress ("glPolygonOffsetClamp"); + } + // GL_ARB_program_interface_query if (s_deviceConfig.m_featureSupported [GLEW_GL_ARB_program_interface_query]) { @@ -74680,6 +78607,7 @@ void glew::gl::Initialise () s_deviceConfig.m_glGenProgramPipelines = (PFNGLGENPROGRAMPIPELINESPROC) glewGetProcAddress ("glGenProgramPipelines"); s_deviceConfig.m_glIsProgramPipeline = (PFNGLISPROGRAMPIPELINEPROC) glewGetProcAddress ("glIsProgramPipeline"); s_deviceConfig.m_glGetProgramPipelineiv = (PFNGLGETPROGRAMPIPELINEIVPROC) glewGetProcAddress ("glGetProgramPipelineiv"); + s_deviceConfig.m_glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC) glewGetProcAddress ("glProgramParameteri"); s_deviceConfig.m_glProgramUniform1i = (PFNGLPROGRAMUNIFORM1IPROC) glewGetProcAddress ("glProgramUniform1i"); s_deviceConfig.m_glProgramUniform1iv = (PFNGLPROGRAMUNIFORM1IVPROC) glewGetProcAddress ("glProgramUniform1iv"); s_deviceConfig.m_glProgramUniform1f = (PFNGLPROGRAMUNIFORM1FPROC) glewGetProcAddress ("glProgramUniform1f"); @@ -75214,6 +79142,8 @@ void glew::gl::Initialise () s_deviceConfig.m_glDepthRangeIndexed = (PFNGLDEPTHRANGEINDEXEDPROC) glewGetProcAddress ("glDepthRangeIndexed"); s_deviceConfig.m_glGetFloati_v = (PFNGLGETFLOATI_VPROC) glewGetProcAddress ("glGetFloati_v"); s_deviceConfig.m_glGetDoublei_v = (PFNGLGETDOUBLEI_VPROC) glewGetProcAddress ("glGetDoublei_v"); + s_deviceConfig.m_glDepthRangeArraydvNV = (PFNGLDEPTHRANGEARRAYDVNVPROC) glewGetProcAddress ("glDepthRangeArraydvNV"); + s_deviceConfig.m_glDepthRangeIndexeddNV = (PFNGLDEPTHRANGEINDEXEDDNVPROC) glewGetProcAddress ("glDepthRangeIndexeddNV"); } // GL_ARB_window_pos @@ -75375,6 +79305,13 @@ void glew::gl::Initialise () s_deviceConfig.m_glVertexBlendEnvfATI = (PFNGLVERTEXBLENDENVFATIPROC) glewGetProcAddress ("glVertexBlendEnvfATI"); } + // GL_EXT_EGL_image_storage + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_EGL_image_storage]) + { + s_deviceConfig.m_glEGLImageTargetTexStorageEXT = (PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) glewGetProcAddress ("glEGLImageTargetTexStorageEXT"); + s_deviceConfig.m_glEGLImageTargetTextureStorageEXT = (PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) glewGetProcAddress ("glEGLImageTargetTextureStorageEXT"); + } + // GL_EXT_base_instance if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_base_instance]) { @@ -75430,6 +79367,19 @@ void glew::gl::Initialise () s_deviceConfig.m_glBufferStorageEXT = (PFNGLBUFFERSTORAGEEXTPROC) glewGetProcAddress ("glBufferStorageEXT"); } + // GL_EXT_clear_texture + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_clear_texture]) + { + s_deviceConfig.m_glClearTexImageEXT = (PFNGLCLEARTEXIMAGEEXTPROC) glewGetProcAddress ("glClearTexImageEXT"); + s_deviceConfig.m_glClearTexSubImageEXT = (PFNGLCLEARTEXSUBIMAGEEXTPROC) glewGetProcAddress ("glClearTexSubImageEXT"); + } + + // GL_EXT_clip_control + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_clip_control]) + { + s_deviceConfig.m_glClipControlEXT = (PFNGLCLIPCONTROLEXTPROC) glewGetProcAddress ("glClipControlEXT"); + } + // GL_EXT_color_subtable if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_color_subtable]) { @@ -75813,6 +79763,7 @@ void glew::gl::Initialise () s_deviceConfig.m_glGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC) glewGetProcAddress ("glGetQueryObjectuivEXT"); s_deviceConfig.m_glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC) glewGetProcAddress ("glGetQueryObjecti64vEXT"); s_deviceConfig.m_glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC) glewGetProcAddress ("glGetQueryObjectui64vEXT"); + s_deviceConfig.m_glGetInteger64vEXT = (PFNGLGETINTEGER64VEXTPROC) glewGetProcAddress ("glGetInteger64vEXT"); } // GL_EXT_draw_buffers @@ -75867,6 +79818,20 @@ void glew::gl::Initialise () s_deviceConfig.m_glDrawRangeElementsEXT = (PFNGLDRAWRANGEELEMENTSEXTPROC) glewGetProcAddress ("glDrawRangeElementsEXT"); } + // GL_EXT_draw_transform_feedback + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_draw_transform_feedback]) + { + s_deviceConfig.m_glDrawTransformFeedbackEXT = (PFNGLDRAWTRANSFORMFEEDBACKEXTPROC) glewGetProcAddress ("glDrawTransformFeedbackEXT"); + s_deviceConfig.m_glDrawTransformFeedbackInstancedEXT = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC) glewGetProcAddress ("glDrawTransformFeedbackInstancedEXT"); + } + + // GL_EXT_external_buffer + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_external_buffer]) + { + s_deviceConfig.m_glBufferStorageExternalEXT = (PFNGLBUFFERSTORAGEEXTERNALEXTPROC) glewGetProcAddress ("glBufferStorageExternalEXT"); + s_deviceConfig.m_glNamedBufferStorageExternalEXT = (PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) glewGetProcAddress ("glNamedBufferStorageExternalEXT"); + } + // GL_EXT_fog_coord if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_fog_coord]) { @@ -75996,6 +79961,43 @@ void glew::gl::Initialise () s_deviceConfig.m_glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) glewGetProcAddress ("glFlushMappedBufferRangeEXT"); } + // GL_EXT_memory_object + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_memory_object]) + { + s_deviceConfig.m_glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC) glewGetProcAddress ("glGetUnsignedBytevEXT"); + s_deviceConfig.m_glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC) glewGetProcAddress ("glGetUnsignedBytei_vEXT"); + s_deviceConfig.m_glDeleteMemoryObjectsEXT = (PFNGLDELETEMEMORYOBJECTSEXTPROC) glewGetProcAddress ("glDeleteMemoryObjectsEXT"); + s_deviceConfig.m_glIsMemoryObjectEXT = (PFNGLISMEMORYOBJECTEXTPROC) glewGetProcAddress ("glIsMemoryObjectEXT"); + s_deviceConfig.m_glCreateMemoryObjectsEXT = (PFNGLCREATEMEMORYOBJECTSEXTPROC) glewGetProcAddress ("glCreateMemoryObjectsEXT"); + s_deviceConfig.m_glMemoryObjectParameterivEXT = (PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) glewGetProcAddress ("glMemoryObjectParameterivEXT"); + s_deviceConfig.m_glGetMemoryObjectParameterivEXT = (PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) glewGetProcAddress ("glGetMemoryObjectParameterivEXT"); + s_deviceConfig.m_glTexStorageMem2DEXT = (PFNGLTEXSTORAGEMEM2DEXTPROC) glewGetProcAddress ("glTexStorageMem2DEXT"); + s_deviceConfig.m_glTexStorageMem2DMultisampleEXT = (PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) glewGetProcAddress ("glTexStorageMem2DMultisampleEXT"); + s_deviceConfig.m_glTexStorageMem3DEXT = (PFNGLTEXSTORAGEMEM3DEXTPROC) glewGetProcAddress ("glTexStorageMem3DEXT"); + s_deviceConfig.m_glTexStorageMem3DMultisampleEXT = (PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) glewGetProcAddress ("glTexStorageMem3DMultisampleEXT"); + s_deviceConfig.m_glBufferStorageMemEXT = (PFNGLBUFFERSTORAGEMEMEXTPROC) glewGetProcAddress ("glBufferStorageMemEXT"); + s_deviceConfig.m_glTextureStorageMem2DEXT = (PFNGLTEXTURESTORAGEMEM2DEXTPROC) glewGetProcAddress ("glTextureStorageMem2DEXT"); + s_deviceConfig.m_glTextureStorageMem2DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) glewGetProcAddress ("glTextureStorageMem2DMultisampleEXT"); + s_deviceConfig.m_glTextureStorageMem3DEXT = (PFNGLTEXTURESTORAGEMEM3DEXTPROC) glewGetProcAddress ("glTextureStorageMem3DEXT"); + s_deviceConfig.m_glTextureStorageMem3DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) glewGetProcAddress ("glTextureStorageMem3DMultisampleEXT"); + s_deviceConfig.m_glNamedBufferStorageMemEXT = (PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) glewGetProcAddress ("glNamedBufferStorageMemEXT"); + s_deviceConfig.m_glTexStorageMem1DEXT = (PFNGLTEXSTORAGEMEM1DEXTPROC) glewGetProcAddress ("glTexStorageMem1DEXT"); + s_deviceConfig.m_glTextureStorageMem1DEXT = (PFNGLTEXTURESTORAGEMEM1DEXTPROC) glewGetProcAddress ("glTextureStorageMem1DEXT"); + } + + // GL_EXT_memory_object_fd + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_memory_object_fd]) + { + s_deviceConfig.m_glImportMemoryFdEXT = (PFNGLIMPORTMEMORYFDEXTPROC) glewGetProcAddress ("glImportMemoryFdEXT"); + } + + // GL_EXT_memory_object_win32 + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_memory_object_win32]) + { + s_deviceConfig.m_glImportMemoryWin32HandleEXT = (PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) glewGetProcAddress ("glImportMemoryWin32HandleEXT"); + s_deviceConfig.m_glImportMemoryWin32NameEXT = (PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) glewGetProcAddress ("glImportMemoryWin32NameEXT"); + } + // GL_EXT_multi_draw_arrays if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_arrays]) { @@ -76110,6 +80112,33 @@ void glew::gl::Initialise () s_deviceConfig.m_glGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC) glewGetProcAddress ("glGetnUniformivEXT"); } + // GL_EXT_semaphore + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_semaphore]) + { + s_deviceConfig.m_glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC) glewGetProcAddress ("glGetUnsignedBytevEXT"); + s_deviceConfig.m_glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC) glewGetProcAddress ("glGetUnsignedBytei_vEXT"); + s_deviceConfig.m_glGenSemaphoresEXT = (PFNGLGENSEMAPHORESEXTPROC) glewGetProcAddress ("glGenSemaphoresEXT"); + s_deviceConfig.m_glDeleteSemaphoresEXT = (PFNGLDELETESEMAPHORESEXTPROC) glewGetProcAddress ("glDeleteSemaphoresEXT"); + s_deviceConfig.m_glIsSemaphoreEXT = (PFNGLISSEMAPHOREEXTPROC) glewGetProcAddress ("glIsSemaphoreEXT"); + s_deviceConfig.m_glSemaphoreParameterui64vEXT = (PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) glewGetProcAddress ("glSemaphoreParameterui64vEXT"); + s_deviceConfig.m_glGetSemaphoreParameterui64vEXT = (PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) glewGetProcAddress ("glGetSemaphoreParameterui64vEXT"); + s_deviceConfig.m_glWaitSemaphoreEXT = (PFNGLWAITSEMAPHOREEXTPROC) glewGetProcAddress ("glWaitSemaphoreEXT"); + s_deviceConfig.m_glSignalSemaphoreEXT = (PFNGLSIGNALSEMAPHOREEXTPROC) glewGetProcAddress ("glSignalSemaphoreEXT"); + } + + // GL_EXT_semaphore_fd + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_semaphore_fd]) + { + s_deviceConfig.m_glImportSemaphoreFdEXT = (PFNGLIMPORTSEMAPHOREFDEXTPROC) glewGetProcAddress ("glImportSemaphoreFdEXT"); + } + + // GL_EXT_semaphore_win32 + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_semaphore_win32]) + { + s_deviceConfig.m_glImportSemaphoreWin32HandleEXT = (PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) glewGetProcAddress ("glImportSemaphoreWin32HandleEXT"); + s_deviceConfig.m_glImportSemaphoreWin32NameEXT = (PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) glewGetProcAddress ("glImportSemaphoreWin32NameEXT"); + } + // GL_EXT_secondary_color if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_secondary_color]) { @@ -76184,6 +80213,12 @@ void glew::gl::Initialise () s_deviceConfig.m_glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) glewGetProcAddress ("glProgramUniformMatrix4x3fvEXT"); } + // GL_EXT_shader_framebuffer_fetch_non_coherent + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_framebuffer_fetch_non_coherent]) + { + s_deviceConfig.m_glFramebufferFetchBarrierEXT = (PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) glewGetProcAddress ("glFramebufferFetchBarrierEXT"); + } + // GL_EXT_shader_image_load_store if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_image_load_store]) { @@ -76191,6 +80226,14 @@ void glew::gl::Initialise () s_deviceConfig.m_glMemoryBarrierEXT = (PFNGLMEMORYBARRIEREXTPROC) glewGetProcAddress ("glMemoryBarrierEXT"); } + // GL_EXT_shader_pixel_local_storage2 + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_pixel_local_storage2]) + { + s_deviceConfig.m_glFramebufferPixelLocalStorageSizeEXT = (PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) glewGetProcAddress ("glFramebufferPixelLocalStorageSizeEXT"); + s_deviceConfig.m_glGetFramebufferPixelLocalStorageSizeEXT = (PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) glewGetProcAddress ("glGetFramebufferPixelLocalStorageSizeEXT"); + s_deviceConfig.m_glClearPixelLocalStorageuiEXT = (PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC) glewGetProcAddress ("glClearPixelLocalStorageuiEXT"); + } + // GL_EXT_sparse_texture if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_sparse_texture]) { @@ -76261,12 +80304,6 @@ void glew::gl::Initialise () s_deviceConfig.m_glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC) glewGetProcAddress ("glTexBufferEXT"); } - // GL_EXT_texture_filter_minmax - if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_filter_minmax]) - { - s_deviceConfig.m_glRasterSamplesEXT = (PFNGLRASTERSAMPLESEXTPROC) glewGetProcAddress ("glRasterSamplesEXT"); - } - // GL_EXT_texture_integer if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_integer]) { @@ -76312,6 +80349,14 @@ void glew::gl::Initialise () s_deviceConfig.m_glTextureViewEXT = (PFNGLTEXTUREVIEWEXTPROC) glewGetProcAddress ("glTextureViewEXT"); } + // GL_NV_timeline_semaphore + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_timeline_semaphore]) + { + s_deviceConfig.m_glCreateSemaphoresNV = (PFNGLCREATESEMAPHORESNVPROC) glewGetProcAddress ("glCreateSemaphoresNV"); + s_deviceConfig.m_glSemaphoreParameterivNV = (PFNGLSEMAPHOREPARAMETERIVNVPROC) glewGetProcAddress ("glSemaphoreParameterivNV"); + s_deviceConfig.m_glGetSemaphoreParameterivNV = (PFNGLGETSEMAPHOREPARAMETERIVNVPROC) glewGetProcAddress ("glGetSemaphoreParameterivNV"); + } + // GL_EXT_timer_query if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_timer_query]) { @@ -76415,6 +80460,19 @@ void glew::gl::Initialise () s_deviceConfig.m_glVertexWeightPointerEXT = (PFNGLVERTEXWEIGHTPOINTEREXTPROC) glewGetProcAddress ("glVertexWeightPointerEXT"); } + // GL_EXT_win32_keyed_mutex + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_win32_keyed_mutex]) + { + s_deviceConfig.m_glAcquireKeyedMutexWin32EXT = (PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) glewGetProcAddress ("glAcquireKeyedMutexWin32EXT"); + s_deviceConfig.m_glReleaseKeyedMutexWin32EXT = (PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) glewGetProcAddress ("glReleaseKeyedMutexWin32EXT"); + } + + // GL_EXT_window_rectangles + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_window_rectangles]) + { + s_deviceConfig.m_glWindowRectanglesEXT = (PFNGLWINDOWRECTANGLESEXTPROC) glewGetProcAddress ("glWindowRectanglesEXT"); + } + // GL_EXT_x11_sync_object if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_x11_sync_object]) { @@ -76470,6 +80528,24 @@ void glew::gl::Initialise () s_deviceConfig.m_glVertexPointerListIBM = (PFNGLVERTEXPOINTERLISTIBMPROC) glewGetProcAddress ("glVertexPointerListIBM"); } + // GL_IMG_bindless_texture + if (s_deviceConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture]) + { + s_deviceConfig.m_glGetTextureHandleIMG = (PFNGLGETTEXTUREHANDLEIMGPROC) glewGetProcAddress ("glGetTextureHandleIMG"); + s_deviceConfig.m_glGetTextureSamplerHandleIMG = (PFNGLGETTEXTURESAMPLERHANDLEIMGPROC) glewGetProcAddress ("glGetTextureSamplerHandleIMG"); + s_deviceConfig.m_glUniformHandleui64IMG = (PFNGLUNIFORMHANDLEUI64IMGPROC) glewGetProcAddress ("glUniformHandleui64IMG"); + s_deviceConfig.m_glUniformHandleui64vIMG = (PFNGLUNIFORMHANDLEUI64VIMGPROC) glewGetProcAddress ("glUniformHandleui64vIMG"); + s_deviceConfig.m_glProgramUniformHandleui64IMG = (PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC) glewGetProcAddress ("glProgramUniformHandleui64IMG"); + s_deviceConfig.m_glProgramUniformHandleui64vIMG = (PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC) glewGetProcAddress ("glProgramUniformHandleui64vIMG"); + } + + // GL_IMG_framebuffer_downsample + if (s_deviceConfig.m_featureSupported [GLEW_GL_IMG_framebuffer_downsample]) + { + s_deviceConfig.m_glFramebufferTexture2DDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) glewGetProcAddress ("glFramebufferTexture2DDownsampleIMG"); + s_deviceConfig.m_glFramebufferTextureLayerDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) glewGetProcAddress ("glFramebufferTextureLayerDownsampleIMG"); + } + // GL_IMG_multisampled_render_to_texture if (s_deviceConfig.m_featureSupported [GLEW_GL_IMG_multisampled_render_to_texture]) { @@ -76569,6 +80645,19 @@ void glew::gl::Initialise () s_deviceConfig.m_glGetnUniformuivKHR = (PFNGLGETNUNIFORMUIVKHRPROC) glewGetProcAddress ("glGetnUniformuivKHR"); } + // GL_KHR_parallel_shader_compile + if (s_deviceConfig.m_featureSupported [GLEW_GL_KHR_parallel_shader_compile]) + { + s_deviceConfig.m_glMaxShaderCompilerThreadsKHR = (PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) glewGetProcAddress ("glMaxShaderCompilerThreadsKHR"); + } + + // GL_MESA_framebuffer_flip_y + if (s_deviceConfig.m_featureSupported [GLEW_GL_MESA_framebuffer_flip_y]) + { + s_deviceConfig.m_glFramebufferParameteriMESA = (PFNGLFRAMEBUFFERPARAMETERIMESAPROC) glewGetProcAddress ("glFramebufferParameteriMESA"); + s_deviceConfig.m_glGetFramebufferParameterivMESA = (PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC) glewGetProcAddress ("glGetFramebufferParameterivMESA"); + } + // GL_MESA_resize_buffers if (s_deviceConfig.m_featureSupported [GLEW_GL_MESA_resize_buffers]) { @@ -76611,6 +80700,20 @@ void glew::gl::Initialise () s_deviceConfig.m_glEndConditionalRenderNVX = (PFNGLENDCONDITIONALRENDERNVXPROC) glewGetProcAddress ("glEndConditionalRenderNVX"); } + // GL_NVX_linked_gpu_multicast + if (s_deviceConfig.m_featureSupported [GLEW_GL_NVX_linked_gpu_multicast]) + { + s_deviceConfig.m_glLGPUNamedBufferSubDataNVX = (PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC) glewGetProcAddress ("glLGPUNamedBufferSubDataNVX"); + s_deviceConfig.m_glLGPUCopyImageSubDataNVX = (PFNGLLGPUCOPYIMAGESUBDATANVXPROC) glewGetProcAddress ("glLGPUCopyImageSubDataNVX"); + s_deviceConfig.m_glLGPUInterlockNVX = (PFNGLLGPUINTERLOCKNVXPROC) glewGetProcAddress ("glLGPUInterlockNVX"); + } + + // GL_NV_alpha_to_coverage_dither_control + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_alpha_to_coverage_dither_control]) + { + s_deviceConfig.m_glAlphaToCoverageDitherControlNV = (PFNGLALPHATOCOVERAGEDITHERCONTROLNVPROC) glewGetProcAddress ("glAlphaToCoverageDitherControlNV"); + } + // GL_NV_bindless_multi_draw_indirect if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_bindless_multi_draw_indirect]) { @@ -76650,6 +80753,12 @@ void glew::gl::Initialise () s_deviceConfig.m_glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC) glewGetProcAddress ("glBlendBarrierNV"); } + // GL_NV_clip_space_w_scaling + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_clip_space_w_scaling]) + { + s_deviceConfig.m_glViewportPositionWScaleNV = (PFNGLVIEWPORTPOSITIONWSCALENVPROC) glewGetProcAddress ("glViewportPositionWScaleNV"); + } + // GL_NV_command_list if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_command_list]) { @@ -76691,6 +80800,12 @@ void glew::gl::Initialise () s_deviceConfig.m_glConservativeRasterParameterfNV = (PFNGLCONSERVATIVERASTERPARAMETERFNVPROC) glewGetProcAddress ("glConservativeRasterParameterfNV"); } + // GL_NV_conservative_raster_pre_snap_triangles + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_conservative_raster_pre_snap_triangles]) + { + s_deviceConfig.m_glConservativeRasterParameteriNV = (PFNGLCONSERVATIVERASTERPARAMETERINVPROC) glewGetProcAddress ("glConservativeRasterParameteriNV"); + } + // GL_NV_copy_buffer if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_copy_buffer]) { @@ -76737,6 +80852,16 @@ void glew::gl::Initialise () s_deviceConfig.m_glDrawTextureNV = (PFNGLDRAWTEXTURENVPROC) glewGetProcAddress ("glDrawTextureNV"); } + // GL_NV_draw_vulkan_image + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_draw_vulkan_image]) + { + s_deviceConfig.m_glDrawVkImageNV = (PFNGLDRAWVKIMAGENVPROC) glewGetProcAddress ("glDrawVkImageNV"); + s_deviceConfig.m_glGetVkProcAddrNV = (PFNGLGETVKPROCADDRNVPROC) glewGetProcAddress ("glGetVkProcAddrNV"); + s_deviceConfig.m_glWaitVkSemaphoreNV = (PFNGLWAITVKSEMAPHORENVPROC) glewGetProcAddress ("glWaitVkSemaphoreNV"); + s_deviceConfig.m_glSignalVkSemaphoreNV = (PFNGLSIGNALVKSEMAPHORENVPROC) glewGetProcAddress ("glSignalVkSemaphoreNV"); + s_deviceConfig.m_glSignalVkFenceNV = (PFNGLSIGNALVKFENCENVPROC) glewGetProcAddress ("glSignalVkFenceNV"); + } + // GL_NV_evaluators if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_evaluators]) { @@ -76953,6 +81078,72 @@ void glew::gl::Initialise () s_deviceConfig.m_glGetInternalformatSampleivNV = (PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) glewGetProcAddress ("glGetInternalformatSampleivNV"); } + // GL_NV_gpu_multicast + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_gpu_multicast]) + { + s_deviceConfig.m_glRenderGpuMaskNV = (PFNGLRENDERGPUMASKNVPROC) glewGetProcAddress ("glRenderGpuMaskNV"); + s_deviceConfig.m_glMulticastBufferSubDataNV = (PFNGLMULTICASTBUFFERSUBDATANVPROC) glewGetProcAddress ("glMulticastBufferSubDataNV"); + s_deviceConfig.m_glMulticastCopyBufferSubDataNV = (PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC) glewGetProcAddress ("glMulticastCopyBufferSubDataNV"); + s_deviceConfig.m_glMulticastCopyImageSubDataNV = (PFNGLMULTICASTCOPYIMAGESUBDATANVPROC) glewGetProcAddress ("glMulticastCopyImageSubDataNV"); + s_deviceConfig.m_glMulticastBlitFramebufferNV = (PFNGLMULTICASTBLITFRAMEBUFFERNVPROC) glewGetProcAddress ("glMulticastBlitFramebufferNV"); + s_deviceConfig.m_glMulticastFramebufferSampleLocationsfvNV = (PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) glewGetProcAddress ("glMulticastFramebufferSampleLocationsfvNV"); + s_deviceConfig.m_glMulticastBarrierNV = (PFNGLMULTICASTBARRIERNVPROC) glewGetProcAddress ("glMulticastBarrierNV"); + s_deviceConfig.m_glMulticastWaitSyncNV = (PFNGLMULTICASTWAITSYNCNVPROC) glewGetProcAddress ("glMulticastWaitSyncNV"); + s_deviceConfig.m_glMulticastGetQueryObjectivNV = (PFNGLMULTICASTGETQUERYOBJECTIVNVPROC) glewGetProcAddress ("glMulticastGetQueryObjectivNV"); + s_deviceConfig.m_glMulticastGetQueryObjectuivNV = (PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC) glewGetProcAddress ("glMulticastGetQueryObjectuivNV"); + s_deviceConfig.m_glMulticastGetQueryObjecti64vNV = (PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC) glewGetProcAddress ("glMulticastGetQueryObjecti64vNV"); + s_deviceConfig.m_glMulticastGetQueryObjectui64vNV = (PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC) glewGetProcAddress ("glMulticastGetQueryObjectui64vNV"); + } + + // GL_NVX_gpu_multicast2 + if (s_deviceConfig.m_featureSupported [GLEW_GL_NVX_gpu_multicast2]) + { + s_deviceConfig.m_glUploadGpuMaskNVX = (PFNGLUPLOADGPUMASKNVXPROC) glewGetProcAddress ("glUploadGpuMaskNVX"); + s_deviceConfig.m_glMulticastViewportArrayvNVX = (PFNGLMULTICASTVIEWPORTARRAYVNVXPROC) glewGetProcAddress ("glMulticastViewportArrayvNVX"); + s_deviceConfig.m_glMulticastViewportPositionWScaleNVX = (PFNGLMULTICASTVIEWPORTPOSITIONWSCALENVXPROC) glewGetProcAddress ("glMulticastViewportPositionWScaleNVX"); + s_deviceConfig.m_glMulticastScissorArrayvNVX = (PFNGLMULTICASTSCISSORARRAYVNVXPROC) glewGetProcAddress ("glMulticastScissorArrayvNVX"); + s_deviceConfig.m_glAsyncCopyBufferSubDataNVX = (PFNGLASYNCCOPYBUFFERSUBDATANVXPROC) glewGetProcAddress ("glAsyncCopyBufferSubDataNVX"); + s_deviceConfig.m_glAsyncCopyImageSubDataNVX = (PFNGLASYNCCOPYIMAGESUBDATANVXPROC) glewGetProcAddress ("glAsyncCopyImageSubDataNVX"); + } + + // GL_NVX_progress_fence + if (s_deviceConfig.m_featureSupported [GLEW_GL_NVX_progress_fence]) + { + s_deviceConfig.m_glCreateProgressFenceNVX = (PFNGLCREATEPROGRESSFENCENVXPROC) glewGetProcAddress ("glCreateProgressFenceNVX"); + s_deviceConfig.m_glSignalSemaphoreui64NVX = (PFNGLSIGNALSEMAPHOREUI64NVXPROC) glewGetProcAddress ("glSignalSemaphoreui64NVX"); + s_deviceConfig.m_glWaitSemaphoreui64NVX = (PFNGLWAITSEMAPHOREUI64NVXPROC) glewGetProcAddress ("glWaitSemaphoreui64NVX"); + s_deviceConfig.m_glClientWaitSemaphoreui64NVX = (PFNGLCLIENTWAITSEMAPHOREUI64NVXPROC) glewGetProcAddress ("glClientWaitSemaphoreui64NVX"); + } + + // GL_NV_memory_attachment + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_memory_attachment]) + { + s_deviceConfig.m_glGetMemoryObjectDetachedResourcesuivNV = (PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) glewGetProcAddress ("glGetMemoryObjectDetachedResourcesuivNV"); + s_deviceConfig.m_glResetMemoryObjectParameterNV = (PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) glewGetProcAddress ("glResetMemoryObjectParameterNV"); + s_deviceConfig.m_glTexAttachMemoryNV = (PFNGLTEXATTACHMEMORYNVPROC) glewGetProcAddress ("glTexAttachMemoryNV"); + s_deviceConfig.m_glBufferAttachMemoryNV = (PFNGLBUFFERATTACHMEMORYNVPROC) glewGetProcAddress ("glBufferAttachMemoryNV"); + s_deviceConfig.m_glTextureAttachMemoryNV = (PFNGLTEXTUREATTACHMEMORYNVPROC) glewGetProcAddress ("glTextureAttachMemoryNV"); + s_deviceConfig.m_glNamedBufferAttachMemoryNV = (PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) glewGetProcAddress ("glNamedBufferAttachMemoryNV"); + } + + // GL_NV_memory_object_sparse + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_memory_object_sparse]) + { + s_deviceConfig.m_glBufferPageCommitmentMemNV = (PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) glewGetProcAddress ("glBufferPageCommitmentMemNV"); + s_deviceConfig.m_glTexPageCommitmentMemNV = (PFNGLTEXPAGECOMMITMENTMEMNVPROC) glewGetProcAddress ("glTexPageCommitmentMemNV"); + s_deviceConfig.m_glNamedBufferPageCommitmentMemNV = (PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) glewGetProcAddress ("glNamedBufferPageCommitmentMemNV"); + s_deviceConfig.m_glTexturePageCommitmentMemNV = (PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) glewGetProcAddress ("glTexturePageCommitmentMemNV"); + } + + // GL_NV_mesh_shader + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_mesh_shader]) + { + s_deviceConfig.m_glDrawMeshTasksNV = (PFNGLDRAWMESHTASKSNVPROC) glewGetProcAddress ("glDrawMeshTasksNV"); + s_deviceConfig.m_glDrawMeshTasksIndirectNV = (PFNGLDRAWMESHTASKSINDIRECTNVPROC) glewGetProcAddress ("glDrawMeshTasksIndirectNV"); + s_deviceConfig.m_glMultiDrawMeshTasksIndirectNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) glewGetProcAddress ("glMultiDrawMeshTasksIndirectNV"); + s_deviceConfig.m_glMultiDrawMeshTasksIndirectCountNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) glewGetProcAddress ("glMultiDrawMeshTasksIndirectCountNV"); + } + // GL_NV_non_square_matrices if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices]) { @@ -77051,6 +81242,25 @@ void glew::gl::Initialise () s_deviceConfig.m_glGetPathColorGenfvNV = (PFNGLGETPATHCOLORGENFVNVPROC) glewGetProcAddress ("glGetPathColorGenfvNV"); s_deviceConfig.m_glGetPathTexGenivNV = (PFNGLGETPATHTEXGENIVNVPROC) glewGetProcAddress ("glGetPathTexGenivNV"); s_deviceConfig.m_glGetPathTexGenfvNV = (PFNGLGETPATHTEXGENFVNVPROC) glewGetProcAddress ("glGetPathTexGenfvNV"); + s_deviceConfig.m_glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC) glewGetProcAddress ("glMatrixFrustumEXT"); + s_deviceConfig.m_glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC) glewGetProcAddress ("glMatrixLoadIdentityEXT"); + s_deviceConfig.m_glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC) glewGetProcAddress ("glMatrixLoadTransposefEXT"); + s_deviceConfig.m_glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC) glewGetProcAddress ("glMatrixLoadTransposedEXT"); + s_deviceConfig.m_glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC) glewGetProcAddress ("glMatrixLoadfEXT"); + s_deviceConfig.m_glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC) glewGetProcAddress ("glMatrixLoaddEXT"); + s_deviceConfig.m_glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC) glewGetProcAddress ("glMatrixMultTransposefEXT"); + s_deviceConfig.m_glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC) glewGetProcAddress ("glMatrixMultTransposedEXT"); + s_deviceConfig.m_glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC) glewGetProcAddress ("glMatrixMultfEXT"); + s_deviceConfig.m_glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC) glewGetProcAddress ("glMatrixMultdEXT"); + s_deviceConfig.m_glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC) glewGetProcAddress ("glMatrixOrthoEXT"); + s_deviceConfig.m_glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC) glewGetProcAddress ("glMatrixPopEXT"); + s_deviceConfig.m_glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC) glewGetProcAddress ("glMatrixPushEXT"); + s_deviceConfig.m_glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC) glewGetProcAddress ("glMatrixRotatefEXT"); + s_deviceConfig.m_glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC) glewGetProcAddress ("glMatrixRotatedEXT"); + s_deviceConfig.m_glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC) glewGetProcAddress ("glMatrixScalefEXT"); + s_deviceConfig.m_glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC) glewGetProcAddress ("glMatrixScaledEXT"); + s_deviceConfig.m_glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC) glewGetProcAddress ("glMatrixTranslatefEXT"); + s_deviceConfig.m_glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC) glewGetProcAddress ("glMatrixTranslatedEXT"); } // GL_NV_pixel_data_range @@ -77091,6 +81301,20 @@ void glew::gl::Initialise () s_deviceConfig.m_glPrimitiveRestartIndexNV = (PFNGLPRIMITIVERESTARTINDEXNVPROC) glewGetProcAddress ("glPrimitiveRestartIndexNV"); } + // GL_NV_query_resource + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_query_resource]) + { + s_deviceConfig.m_glQueryResourceNV = (PFNGLQUERYRESOURCENVPROC) glewGetProcAddress ("glQueryResourceNV"); + } + + // GL_NV_query_resource_tag + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_query_resource_tag]) + { + s_deviceConfig.m_glGenQueryResourceTagNV = (PFNGLGENQUERYRESOURCETAGNVPROC) glewGetProcAddress ("glGenQueryResourceTagNV"); + s_deviceConfig.m_glDeleteQueryResourceTagNV = (PFNGLDELETEQUERYRESOURCETAGNVPROC) glewGetProcAddress ("glDeleteQueryResourceTagNV"); + s_deviceConfig.m_glQueryResourceTagNV = (PFNGLQUERYRESOURCETAGNVPROC) glewGetProcAddress ("glQueryResourceTagNV"); + } + // GL_NV_read_buffer if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_read_buffer]) { @@ -77130,6 +81354,13 @@ void glew::gl::Initialise () s_deviceConfig.m_glResolveDepthValuesNV = (PFNGLRESOLVEDEPTHVALUESNVPROC) glewGetProcAddress ("glResolveDepthValuesNV"); } + // GL_NV_scissor_exclusive + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_scissor_exclusive]) + { + s_deviceConfig.m_glScissorExclusiveNV = (PFNGLSCISSOREXCLUSIVENVPROC) glewGetProcAddress ("glScissorExclusiveNV"); + s_deviceConfig.m_glScissorExclusiveArrayvNV = (PFNGLSCISSOREXCLUSIVEARRAYVNVPROC) glewGetProcAddress ("glScissorExclusiveArrayvNV"); + } + // GL_NV_shader_buffer_load if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_buffer_load]) { @@ -77149,6 +81380,18 @@ void glew::gl::Initialise () s_deviceConfig.m_glProgramUniformui64vNV = (PFNGLPROGRAMUNIFORMUI64VNVPROC) glewGetProcAddress ("glProgramUniformui64vNV"); } + // GL_NV_shading_rate_image + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image]) + { + s_deviceConfig.m_glBindShadingRateImageNV = (PFNGLBINDSHADINGRATEIMAGENVPROC) glewGetProcAddress ("glBindShadingRateImageNV"); + s_deviceConfig.m_glGetShadingRateImagePaletteNV = (PFNGLGETSHADINGRATEIMAGEPALETTENVPROC) glewGetProcAddress ("glGetShadingRateImagePaletteNV"); + s_deviceConfig.m_glGetShadingRateSampleLocationivNV = (PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC) glewGetProcAddress ("glGetShadingRateSampleLocationivNV"); + s_deviceConfig.m_glShadingRateImageBarrierNV = (PFNGLSHADINGRATEIMAGEBARRIERNVPROC) glewGetProcAddress ("glShadingRateImageBarrierNV"); + s_deviceConfig.m_glShadingRateImagePaletteNV = (PFNGLSHADINGRATEIMAGEPALETTENVPROC) glewGetProcAddress ("glShadingRateImagePaletteNV"); + s_deviceConfig.m_glShadingRateSampleOrderNV = (PFNGLSHADINGRATESAMPLEORDERNVPROC) glewGetProcAddress ("glShadingRateSampleOrderNV"); + s_deviceConfig.m_glShadingRateSampleOrderCustomNV = (PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC) glewGetProcAddress ("glShadingRateSampleOrderCustomNV"); + } + // GL_NV_texture_barrier if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_texture_barrier]) { @@ -77210,6 +81453,12 @@ void glew::gl::Initialise () s_deviceConfig.m_glVDPAUUnmapSurfacesNV = (PFNGLVDPAUUNMAPSURFACESNVPROC) glewGetProcAddress ("glVDPAUUnmapSurfacesNV"); } + // GL_NV_vdpau_interop2 + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_vdpau_interop2]) + { + s_deviceConfig.m_glVDPAURegisterVideoSurfaceWithPictureStructureNV = (PFNGLVDPAUREGISTERVIDEOSURFACEWITHPICTURESTRUCTURENVPROC) glewGetProcAddress ("glVDPAURegisterVideoSurfaceWithPictureStructureNV"); + } + // GL_NV_vertex_array_range if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_vertex_array_range]) { @@ -77389,6 +81638,12 @@ void glew::gl::Initialise () s_deviceConfig.m_glIsEnablediNV = (PFNGLISENABLEDINVPROC) glewGetProcAddress ("glIsEnablediNV"); } + // GL_NV_viewport_swizzle + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_viewport_swizzle]) + { + s_deviceConfig.m_glViewportSwizzleNV = (PFNGLVIEWPORTSWIZZLENVPROC) glewGetProcAddress ("glViewportSwizzleNV"); + } + // GL_OES_EGL_image if (s_deviceConfig.m_featureSupported [GLEW_GL_OES_EGL_image]) { @@ -77448,7 +81703,7 @@ void glew::gl::Initialise () s_deviceConfig.m_glDrawElementsBaseVertexOES = (PFNGLDRAWELEMENTSBASEVERTEXOESPROC) glewGetProcAddress ("glDrawElementsBaseVertexOES"); s_deviceConfig.m_glDrawRangeElementsBaseVertexOES = (PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) glewGetProcAddress ("glDrawRangeElementsBaseVertexOES"); s_deviceConfig.m_glDrawElementsInstancedBaseVertexOES = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) glewGetProcAddress ("glDrawElementsInstancedBaseVertexOES"); - s_deviceConfig.m_glMultiDrawElementsBaseVertexOES = (PFNGLMULTIDRAWELEMENTSBASEVERTEXOESPROC) glewGetProcAddress ("glMultiDrawElementsBaseVertexOES"); + s_deviceConfig.m_glMultiDrawElementsBaseVertexEXT = (PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) glewGetProcAddress ("glMultiDrawElementsBaseVertexEXT"); } // GL_OES_fixed_point @@ -77667,6 +81922,23 @@ void glew::gl::Initialise () s_deviceConfig.m_glIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC) glewGetProcAddress ("glIsVertexArrayOES"); } + // GL_OES_viewport_array + if (s_deviceConfig.m_featureSupported [GLEW_GL_OES_viewport_array]) + { + s_deviceConfig.m_glViewportArrayvOES = (PFNGLVIEWPORTARRAYVOESPROC) glewGetProcAddress ("glViewportArrayvOES"); + s_deviceConfig.m_glViewportIndexedfOES = (PFNGLVIEWPORTINDEXEDFOESPROC) glewGetProcAddress ("glViewportIndexedfOES"); + s_deviceConfig.m_glViewportIndexedfvOES = (PFNGLVIEWPORTINDEXEDFVOESPROC) glewGetProcAddress ("glViewportIndexedfvOES"); + s_deviceConfig.m_glScissorArrayvOES = (PFNGLSCISSORARRAYVOESPROC) glewGetProcAddress ("glScissorArrayvOES"); + s_deviceConfig.m_glScissorIndexedOES = (PFNGLSCISSORINDEXEDOESPROC) glewGetProcAddress ("glScissorIndexedOES"); + s_deviceConfig.m_glScissorIndexedvOES = (PFNGLSCISSORINDEXEDVOESPROC) glewGetProcAddress ("glScissorIndexedvOES"); + s_deviceConfig.m_glDepthRangeArrayfvOES = (PFNGLDEPTHRANGEARRAYFVOESPROC) glewGetProcAddress ("glDepthRangeArrayfvOES"); + s_deviceConfig.m_glDepthRangeIndexedfOES = (PFNGLDEPTHRANGEINDEXEDFOESPROC) glewGetProcAddress ("glDepthRangeIndexedfOES"); + s_deviceConfig.m_glGetFloati_vOES = (PFNGLGETFLOATI_VOESPROC) glewGetProcAddress ("glGetFloati_vOES"); + s_deviceConfig.m_glEnableiOES = (PFNGLENABLEIOESPROC) glewGetProcAddress ("glEnableiOES"); + s_deviceConfig.m_glDisableiOES = (PFNGLDISABLEIOESPROC) glewGetProcAddress ("glDisableiOES"); + s_deviceConfig.m_glIsEnablediOES = (PFNGLISENABLEDIOESPROC) glewGetProcAddress ("glIsEnablediOES"); + } + // GL_OVR_multiview if (s_deviceConfig.m_featureSupported [GLEW_GL_OVR_multiview]) { @@ -77722,6 +81994,44 @@ void glew::gl::Initialise () s_deviceConfig.m_glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) glewGetProcAddress ("glExtGetProgramBinarySourceQCOM"); } + // GL_QCOM_framebuffer_foveated + if (s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_framebuffer_foveated]) + { + s_deviceConfig.m_glFramebufferFoveationConfigQCOM = (PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC) glewGetProcAddress ("glFramebufferFoveationConfigQCOM"); + s_deviceConfig.m_glFramebufferFoveationParametersQCOM = (PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC) glewGetProcAddress ("glFramebufferFoveationParametersQCOM"); + } + + // GL_QCOM_motion_estimation + if (s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_motion_estimation]) + { + s_deviceConfig.m_glTexEstimateMotionQCOM = (PFNGLTEXESTIMATEMOTIONQCOMPROC) glewGetProcAddress ("glTexEstimateMotionQCOM"); + s_deviceConfig.m_glTexEstimateMotionRegionsQCOM = (PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC) glewGetProcAddress ("glTexEstimateMotionRegionsQCOM"); + } + + // GL_QCOM_frame_extrapolation + if (s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_frame_extrapolation]) + { + s_deviceConfig.m_glExtrapolateTex2DQCOM = (PFNGLEXTRAPOLATETEX2DQCOMPROC) glewGetProcAddress ("glExtrapolateTex2DQCOM"); + } + + // GL_QCOM_texture_foveated + if (s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_texture_foveated]) + { + s_deviceConfig.m_glTextureFoveationParametersQCOM = (PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC) glewGetProcAddress ("glTextureFoveationParametersQCOM"); + } + + // GL_QCOM_shader_framebuffer_fetch_noncoherent + if (s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_shader_framebuffer_fetch_noncoherent]) + { + s_deviceConfig.m_glFramebufferFetchBarrierQCOM = (PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC) glewGetProcAddress ("glFramebufferFetchBarrierQCOM"); + } + + // GL_QCOM_shading_rate + if (s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_shading_rate]) + { + s_deviceConfig.m_glShadingRateQCOM = (PFNGLSHADINGRATEQCOMPROC) glewGetProcAddress ("glShadingRateQCOM"); + } + // GL_QCOM_tiled_rendering if (s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_tiled_rendering]) { diff --git a/src/wrangle-gles.cpp b/src/wrangle-gles.cpp index de1da3e..363165e 100644 --- a/src/wrangle-gles.cpp +++ b/src/wrangle-gles.cpp @@ -2,6 +2,10 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +#include + +#include + #include #include @@ -71,12 +75,6 @@ void _glew_gles_glTexImage3D (GLenum target, GLint level, GLint internalformat, prototypeCalled = true; glesConfig.m_glTexImage3D (target, level, internalformat, width, height, depth, border, format, type, pixels); } - // GL_OES_texture_3D - glTexImage3D - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glTexImage3DOES) - { - prototypeCalled = true; - glesConfig.m_glTexImage3DOES (target, level, (GLenum) internalformat, width, height, depth, border, format, type, pixels); - } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -100,12 +98,6 @@ void _glew_gles_glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLin prototypeCalled = true; glesConfig.m_glTexSubImage3D (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); } - // GL_OES_texture_3D - glTexSubImage3D - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glTexSubImage3DOES) - { - prototypeCalled = true; - glesConfig.m_glTexSubImage3DOES (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); - } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -129,12 +121,6 @@ void _glew_gles_glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, prototypeCalled = true; glesConfig.m_glCopyTexSubImage3D (target, level, xoffset, yoffset, zoffset, x, y, width, height); } - // GL_OES_texture_3D - glCopyTexSubImage3D - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glCopyTexSubImage3DOES) - { - prototypeCalled = true; - glesConfig.m_glCopyTexSubImage3DOES (target, level, xoffset, yoffset, zoffset, x, y, width, height); - } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -158,12 +144,6 @@ void _glew_gles_glCompressedTexImage3D (GLenum target, GLint level, GLenum inter prototypeCalled = true; glesConfig.m_glCompressedTexImage3D (target, level, internalformat, width, height, depth, border, imageSize, data); } - // GL_OES_texture_3D - glCompressedTexImage3D - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glCompressedTexImage3DOES) - { - prototypeCalled = true; - glesConfig.m_glCompressedTexImage3DOES (target, level, internalformat, width, height, depth, border, imageSize, data); - } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -187,12 +167,6 @@ void _glew_gles_glCompressedTexSubImage3D (GLenum target, GLint level, GLint xof prototypeCalled = true; glesConfig.m_glCompressedTexSubImage3D (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); } - // GL_OES_texture_3D - glCompressedTexSubImage3D - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glCompressedTexSubImage3DOES) - { - prototypeCalled = true; - glesConfig.m_glCompressedTexSubImage3DOES (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); - } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -1974,6 +1948,12 @@ void _glew_gles_glGetInteger64v (GLenum pname, GLint64 * data) prototypeCalled = true; glesConfig.m_glGetInteger64vAPPLE (pname, data); } + // GL_EXT_disjoint_timer_query - glGetInteger64v + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_disjoint_timer_query] && glesConfig.m_glGetInteger64vEXT) + { + prototypeCalled = true; + glesConfig.m_glGetInteger64vEXT (pname, data); + } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); @@ -1984,7 +1964,7 @@ void _glew_gles_glGetInteger64v (GLenum pname, GLint64 * data) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) +void _glew_gles_glGetSynciv (GLsync sync, GLenum pname, GLsizei count, GLsizei * length, GLint * values) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); @@ -1995,13 +1975,13 @@ void _glew_gles_glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_ES_VERSION_3_0] && glesConfig.m_glGetSynciv) { prototypeCalled = true; - glesConfig.m_glGetSynciv (sync, pname, bufSize, length, values); + glesConfig.m_glGetSynciv (sync, pname, count, length, values); } // GL_APPLE_sync - glGetSynciv if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_APPLE_sync] && glesConfig.m_glGetSyncivAPPLE) { prototypeCalled = true; - glesConfig.m_glGetSyncivAPPLE (sync, pname, bufSize, length, values); + glesConfig.m_glGetSyncivAPPLE (sync, pname, count, length, values); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2663,7 +2643,7 @@ void _glew_gles_glTexStorage3D (GLenum target, GLsizei levels, GLenum internalfo //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params) +void _glew_gles_glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); @@ -2674,7 +2654,7 @@ void _glew_gles_glGetInternalformativ (GLenum target, GLenum internalformat, GLe if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_ES_VERSION_3_0] && glesConfig.m_glGetInternalformativ) { prototypeCalled = true; - glesConfig.m_glGetInternalformativ (target, internalformat, pname, bufSize, params); + glesConfig.m_glGetInternalformativ (target, internalformat, pname, count, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -2895,7 +2875,7 @@ void _glew_gles_glGetProgramResourceName (GLuint program, GLenum programInterfac //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLint * params) +void _glew_gles_glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei count, GLsizei * length, GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); @@ -2906,7 +2886,7 @@ void _glew_gles_glGetProgramResourceiv (GLuint program, GLenum programInterface, if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_ES_VERSION_3_1] && glesConfig.m_glGetProgramResourceiv) { prototypeCalled = true; - glesConfig.m_glGetProgramResourceiv (program, programInterface, index, propCount, props, bufSize, length, params); + glesConfig.m_glGetProgramResourceiv (program, programInterface, index, propCount, props, count, length, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -5204,6 +5184,12 @@ GLenum _glew_gles_glGetGraphicsResetStatus () prototypeCalled = true; result = glesConfig.m_glGetGraphicsResetStatus (); } + // GL_EXT_robustness - glGetGraphicsResetStatus + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glesConfig.m_glGetGraphicsResetStatusEXT) + { + prototypeCalled = true; + result = glesConfig.m_glGetGraphicsResetStatusEXT (); + } // GL_KHR_robustness - glGetGraphicsResetStatus if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glesConfig.m_glGetGraphicsResetStatusKHR) { @@ -5269,6 +5255,12 @@ void _glew_gles_glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize prototypeCalled = true; glesConfig.m_glGetnUniformfv (program, location, bufSize, params); } + // GL_EXT_robustness - glGetnUniformfv + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glesConfig.m_glGetnUniformfvEXT) + { + prototypeCalled = true; + glesConfig.m_glGetnUniformfvEXT (program, location, bufSize, params); + } // GL_KHR_robustness - glGetnUniformfv if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glesConfig.m_glGetnUniformfvKHR) { @@ -5298,6 +5290,12 @@ void _glew_gles_glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize prototypeCalled = true; glesConfig.m_glGetnUniformiv (program, location, bufSize, params); } + // GL_EXT_robustness - glGetnUniformiv + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glesConfig.m_glGetnUniformivEXT) + { + prototypeCalled = true; + glesConfig.m_glGetnUniformivEXT (program, location, bufSize, params); + } // GL_KHR_robustness - glGetnUniformiv if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glesConfig.m_glGetnUniformivKHR) { @@ -5786,6 +5784,52 @@ void _glew_gles_glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenu //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gles_glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_AMD_framebuffer_multisample_advanced - glRenderbufferStorageMultisampleAdvancedAMD + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_AMD_framebuffer_multisample_advanced] && glesConfig.m_glRenderbufferStorageMultisampleAdvancedAMD) + { + prototypeCalled = true; + glesConfig.m_glRenderbufferStorageMultisampleAdvancedAMD (target, samples, storageSamples, internalformat, width, height); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_AMD_framebuffer_multisample_advanced - glNamedRenderbufferStorageMultisampleAdvancedAMD + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_AMD_framebuffer_multisample_advanced] && glesConfig.m_glNamedRenderbufferStorageMultisampleAdvancedAMD) + { + prototypeCalled = true; + glesConfig.m_glNamedRenderbufferStorageMultisampleAdvancedAMD (renderbuffer, samples, storageSamples, internalformat, width, height); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gles_glGetPerfMonitorGroupsAMD (GLint * numGroups, GLsizei groupsSize, GLuint * groups) { bool prototypeCalled = false; @@ -6154,7 +6198,7 @@ void _glew_gles_glVertexAttribDivisorANGLE (GLuint index, GLuint divisor) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei * length, GLchar * source) +void _glew_gles_glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); @@ -6165,7 +6209,7 @@ void _glew_gles_glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_ANGLE_translated_shader_source] && glesConfig.m_glGetTranslatedShaderSourceANGLE) { prototypeCalled = true; - glesConfig.m_glGetTranslatedShaderSourceANGLE (shader, bufsize, length, source); + glesConfig.m_glGetTranslatedShaderSourceANGLE (shader, bufSize, length, source); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -6390,7 +6434,7 @@ void _glew_gles_glGetInteger64vAPPLE (GLenum pname, GLint64 * params) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) +void _glew_gles_glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei count, GLsizei * length, GLint * values) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); @@ -6401,7 +6445,53 @@ void _glew_gles_glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GL if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_APPLE_sync] && glesConfig.m_glGetSyncivAPPLE) { prototypeCalled = true; - glesConfig.m_glGetSyncivAPPLE (sync, pname, bufSize, length, values); + glesConfig.m_glGetSyncivAPPLE (sync, pname, count, length, values); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_EGL_image_storage - glEGLImageTargetTexStorageEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_EGL_image_storage] && glesConfig.m_glEGLImageTargetTexStorageEXT) + { + prototypeCalled = true; + glesConfig.m_glEGLImageTargetTexStorageEXT (target, image, attrib_list); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_EGL_image_storage - glEGLImageTargetTextureStorageEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_EGL_image_storage] && glesConfig.m_glEGLImageTargetTextureStorageEXT) + { + prototypeCalled = true; + glesConfig.m_glEGLImageTargetTextureStorageEXT (texture, image, attrib_list); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -6601,6 +6691,75 @@ void _glew_gles_glBufferStorageEXT (GLenum target, GLsizeiptr size, const void * //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gles_glClearTexImageEXT (GLuint texture, GLint level, GLenum format, GLenum type, const void * data) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_clear_texture - glClearTexImageEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_clear_texture] && glesConfig.m_glClearTexImageEXT) + { + prototypeCalled = true; + glesConfig.m_glClearTexImageEXT (texture, level, format, type, data); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glClearTexSubImageEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_clear_texture - glClearTexSubImageEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_clear_texture] && glesConfig.m_glClearTexSubImageEXT) + { + prototypeCalled = true; + glesConfig.m_glClearTexSubImageEXT (texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glClipControlEXT (GLenum origin, GLenum depth) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_clip_control - glClipControlEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_clip_control] && glesConfig.m_glClipControlEXT) + { + prototypeCalled = true; + glesConfig.m_glClipControlEXT (origin, depth); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gles_glCopyImageSubDataEXT (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) { bool prototypeCalled = false; @@ -7059,6 +7218,29 @@ void _glew_gles_glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 * pa //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +void _glew_gles_glGetInteger64vEXT (GLenum pname, GLint64 * data) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_EXT_disjoint_timer_query - glGetInteger64vEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_disjoint_timer_query] && glesConfig.m_glGetInteger64vEXT) + { + prototypeCalled = true; + glesConfig.m_glGetInteger64vEXT (pname, data); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_gles_glDrawBuffersEXT (GLsizei n, const GLenum * bufs) { bool prototypeCalled = false; @@ -7337,7 +7519,7 @@ void _glew_gles_glDrawElementsInstancedBaseVertexEXT (GLenum mode, GLsizei count //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, const GLint * basevertex) +void _glew_gles_glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount, const GLint * basevertex) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); @@ -7348,7 +7530,13 @@ void _glew_gles_glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei * c if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_draw_elements_base_vertex] && glesConfig.m_glMultiDrawElementsBaseVertexEXT) { prototypeCalled = true; - glesConfig.m_glMultiDrawElementsBaseVertexEXT (mode, count, type, indices, primcount, basevertex); + glesConfig.m_glMultiDrawElementsBaseVertexEXT (mode, count, type, indices, drawcount, basevertex); + } + // GL_OES_draw_elements_base_vertex - glMultiDrawElementsBaseVertexEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_elements_base_vertex] && glesConfig.m_glMultiDrawElementsBaseVertexEXT) + { + prototypeCalled = true; + glesConfig.m_glMultiDrawElementsBaseVertexEXT (mode, count, type, indices, drawcount, basevertex); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7418,18 +7606,18 @@ void _glew_gles_glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum t //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level) +void _glew_gles_glDrawTransformFeedbackEXT (GLenum mode, GLuint id) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_geometry_shader - glFramebufferTextureEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_geometry_shader] && glesConfig.m_glFramebufferTextureEXT) + // GL_EXT_draw_transform_feedback - glDrawTransformFeedbackEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_draw_transform_feedback] && glesConfig.m_glDrawTransformFeedbackEXT) { prototypeCalled = true; - glesConfig.m_glFramebufferTextureEXT (target, attachment, texture, level); + glesConfig.m_glDrawTransformFeedbackEXT (mode, id); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7441,18 +7629,18 @@ void _glew_gles_glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glVertexAttribDivisorEXT (GLuint index, GLuint divisor) +void _glew_gles_glDrawTransformFeedbackInstancedEXT (GLenum mode, GLuint id, GLsizei instancecount) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_instanced_arrays - glVertexAttribDivisorEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_instanced_arrays] && glesConfig.m_glVertexAttribDivisorEXT) + // GL_EXT_draw_transform_feedback - glDrawTransformFeedbackInstancedEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_draw_transform_feedback] && glesConfig.m_glDrawTransformFeedbackInstancedEXT) { prototypeCalled = true; - glesConfig.m_glVertexAttribDivisorEXT (index, divisor); + glesConfig.m_glDrawTransformFeedbackInstancedEXT (mode, id, instancecount); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7464,43 +7652,41 @@ void _glew_gles_glVertexAttribDivisorEXT (GLuint index, GLuint divisor) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void * _glew_gles_glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) +void _glew_gles_glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - void * result = ((void *)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_map_buffer_range - glMapBufferRangeEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_map_buffer_range] && glesConfig.m_glMapBufferRangeEXT) + // GL_EXT_external_buffer - glBufferStorageExternalEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_external_buffer] && glesConfig.m_glBufferStorageExternalEXT) { prototypeCalled = true; - result = glesConfig.m_glMapBufferRangeEXT (target, offset, length, access); + glesConfig.m_glBufferStorageExternalEXT (target, offset, size, clientBuffer, flags); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length) +void _glew_gles_glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_map_buffer_range - glFlushMappedBufferRangeEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_map_buffer_range] && glesConfig.m_glFlushMappedBufferRangeEXT) + // GL_EXT_external_buffer - glNamedBufferStorageExternalEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_external_buffer] && glesConfig.m_glNamedBufferStorageExternalEXT) { prototypeCalled = true; - glesConfig.m_glFlushMappedBufferRangeEXT (target, offset, length); + glesConfig.m_glNamedBufferStorageExternalEXT (buffer, offset, size, clientBuffer, flags); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7512,18 +7698,18 @@ void _glew_gles_glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLs //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMultiDrawArraysEXT (GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount) +void _glew_gles_glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multi_draw_arrays - glMultiDrawArraysEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_arrays] && glesConfig.m_glMultiDrawArraysEXT) + // GL_EXT_geometry_shader - glFramebufferTextureEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_geometry_shader] && glesConfig.m_glFramebufferTextureEXT) { prototypeCalled = true; - glesConfig.m_glMultiDrawArraysEXT (mode, first, count, primcount); + glesConfig.m_glFramebufferTextureEXT (target, attachment, texture, level); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7535,18 +7721,18 @@ void _glew_gles_glMultiDrawArraysEXT (GLenum mode, const GLint * first, const GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMultiDrawElementsEXT (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount) +void _glew_gles_glVertexAttribDivisorEXT (GLuint index, GLuint divisor) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multi_draw_arrays - glMultiDrawElementsEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_arrays] && glesConfig.m_glMultiDrawElementsEXT) + // GL_EXT_instanced_arrays - glVertexAttribDivisorEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_instanced_arrays] && glesConfig.m_glVertexAttribDivisorEXT) { prototypeCalled = true; - glesConfig.m_glMultiDrawElementsEXT (mode, count, type, indices, primcount); + glesConfig.m_glVertexAttribDivisorEXT (index, divisor); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7558,41 +7744,43 @@ void _glew_gles_glMultiDrawElementsEXT (GLenum mode, const GLsizei * count, GLen //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMultiDrawArraysIndirectEXT (GLenum mode, const void * indirect, GLsizei drawcount, GLsizei stride) +void * _glew_gles_glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + void * result = ((void *)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multi_draw_indirect - glMultiDrawArraysIndirectEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_indirect] && glesConfig.m_glMultiDrawArraysIndirectEXT) + // GL_EXT_map_buffer_range - glMapBufferRangeEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_map_buffer_range] && glesConfig.m_glMapBufferRangeEXT) { prototypeCalled = true; - glesConfig.m_glMultiDrawArraysIndirectEXT (mode, indirect, drawcount, stride); + result = glesConfig.m_glMapBufferRangeEXT (target, offset, length, access); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void * indirect, GLsizei drawcount, GLsizei stride) +void _glew_gles_glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multi_draw_indirect - glMultiDrawElementsIndirectEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_indirect] && glesConfig.m_glMultiDrawElementsIndirectEXT) + // GL_EXT_map_buffer_range - glFlushMappedBufferRangeEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_map_buffer_range] && glesConfig.m_glFlushMappedBufferRangeEXT) { prototypeCalled = true; - glesConfig.m_glMultiDrawElementsIndirectEXT (mode, type, indirect, drawcount, stride); + glesConfig.m_glFlushMappedBufferRangeEXT (target, offset, length); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7604,18 +7792,24 @@ void _glew_gles_glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) +void _glew_gles_glGetUnsignedBytevEXT (GLenum pname, GLubyte * data) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multisampled_render_to_texture - glRenderbufferStorageMultisampleEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multisampled_render_to_texture] && glesConfig.m_glRenderbufferStorageMultisampleEXT) + // GL_EXT_memory_object - glGetUnsignedBytevEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glGetUnsignedBytevEXT) { prototypeCalled = true; - glesConfig.m_glRenderbufferStorageMultisampleEXT (target, samples, internalformat, width, height); + glesConfig.m_glGetUnsignedBytevEXT (pname, data); + } + // GL_EXT_semaphore - glGetUnsignedBytevEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glesConfig.m_glGetUnsignedBytevEXT) + { + prototypeCalled = true; + glesConfig.m_glGetUnsignedBytevEXT (pname, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7627,18 +7821,24 @@ void _glew_gles_glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samp //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) +void _glew_gles_glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte * data) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multisampled_render_to_texture - glFramebufferTexture2DMultisampleEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multisampled_render_to_texture] && glesConfig.m_glFramebufferTexture2DMultisampleEXT) + // GL_EXT_memory_object - glGetUnsignedBytei_vEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glGetUnsignedBytei_vEXT) { prototypeCalled = true; - glesConfig.m_glFramebufferTexture2DMultisampleEXT (target, attachment, textarget, texture, level, samples); + glesConfig.m_glGetUnsignedBytei_vEXT (target, index, data); + } + // GL_EXT_semaphore - glGetUnsignedBytei_vEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glesConfig.m_glGetUnsignedBytei_vEXT) + { + prototypeCalled = true; + glesConfig.m_glGetUnsignedBytei_vEXT (target, index, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7650,18 +7850,18 @@ void _glew_gles_glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum atta //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glReadBufferIndexedEXT (GLenum src, GLint index) +void _glew_gles_glDeleteMemoryObjectsEXT (GLsizei n, const GLuint * memoryObjects) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multiview_draw_buffers - glReadBufferIndexedEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multiview_draw_buffers] && glesConfig.m_glReadBufferIndexedEXT) + // GL_EXT_memory_object - glDeleteMemoryObjectsEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glDeleteMemoryObjectsEXT) { prototypeCalled = true; - glesConfig.m_glReadBufferIndexedEXT (src, index); + glesConfig.m_glDeleteMemoryObjectsEXT (n, memoryObjects); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7673,41 +7873,43 @@ void _glew_gles_glReadBufferIndexedEXT (GLenum src, GLint index) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDrawBuffersIndexedEXT (GLint n, const GLenum * location, const GLint * indices) +GLboolean _glew_gles_glIsMemoryObjectEXT (GLuint memoryObject) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multiview_draw_buffers - glDrawBuffersIndexedEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multiview_draw_buffers] && glesConfig.m_glDrawBuffersIndexedEXT) + // GL_EXT_memory_object - glIsMemoryObjectEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glIsMemoryObjectEXT) { prototypeCalled = true; - glesConfig.m_glDrawBuffersIndexedEXT (n, location, indices); + result = glesConfig.m_glIsMemoryObjectEXT (memoryObject); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetIntegeri_vEXT (GLenum target, GLuint index, GLint * data) +void _glew_gles_glCreateMemoryObjectsEXT (GLsizei n, GLuint * memoryObjects) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_multiview_draw_buffers - glGetIntegeri_vEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multiview_draw_buffers] && glesConfig.m_glGetIntegeri_vEXT) + // GL_EXT_memory_object - glCreateMemoryObjectsEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glCreateMemoryObjectsEXT) { prototypeCalled = true; - glesConfig.m_glGetIntegeri_vEXT (target, index, data); + glesConfig.m_glCreateMemoryObjectsEXT (n, memoryObjects); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7719,18 +7921,18 @@ void _glew_gles_glGetIntegeri_vEXT (GLenum target, GLuint index, GLint * data) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW) +void _glew_gles_glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_primitive_bounding_box - glPrimitiveBoundingBoxEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_primitive_bounding_box] && glesConfig.m_glPrimitiveBoundingBoxEXT) + // GL_EXT_memory_object - glMemoryObjectParameterivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glMemoryObjectParameterivEXT) { prototypeCalled = true; - glesConfig.m_glPrimitiveBoundingBoxEXT (minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); + glesConfig.m_glMemoryObjectParameterivEXT (memoryObject, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7742,30 +7944,18 @@ void _glew_gles_glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat m //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations) +void _glew_gles_glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_raster_multisample - glRasterSamplesEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_raster_multisample] && glesConfig.m_glRasterSamplesEXT) - { - prototypeCalled = true; - glesConfig.m_glRasterSamplesEXT (samples, fixedsamplelocations); - } - // GL_EXT_texture_filter_minmax - glRasterSamplesEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_filter_minmax] && glesConfig.m_glRasterSamplesEXT) - { - prototypeCalled = true; - glesConfig.m_glRasterSamplesEXT (samples, fixedsamplelocations); - } - // GL_NV_framebuffer_mixed_samples - glRasterSamplesEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glesConfig.m_glRasterSamplesEXT) + // GL_EXT_memory_object - glGetMemoryObjectParameterivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glGetMemoryObjectParameterivEXT) { prototypeCalled = true; - glesConfig.m_glRasterSamplesEXT (samples, fixedsamplelocations); + glesConfig.m_glGetMemoryObjectParameterivEXT (memoryObject, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7777,43 +7967,41 @@ void _glew_gles_glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocatio //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLenum _glew_gles_glGetGraphicsResetStatusEXT () +void _glew_gles_glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLenum result = ((GLenum)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_robustness - glGetGraphicsResetStatusEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glesConfig.m_glGetGraphicsResetStatusEXT) + // GL_EXT_memory_object - glTexStorageMem2DEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glTexStorageMem2DEXT) { prototypeCalled = true; - result = glesConfig.m_glGetGraphicsResetStatusEXT (); + glesConfig.m_glTexStorageMem2DEXT (target, levels, internalFormat, width, height, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) +void _glew_gles_glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_robustness - glReadnPixelsEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glesConfig.m_glReadnPixelsEXT) + // GL_EXT_memory_object - glTexStorageMem2DMultisampleEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glTexStorageMem2DMultisampleEXT) { prototypeCalled = true; - glesConfig.m_glReadnPixelsEXT (x, y, width, height, format, type, bufSize, data); + glesConfig.m_glTexStorageMem2DMultisampleEXT (target, samples, internalFormat, width, height, fixedSampleLocations, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7825,18 +8013,18 @@ void _glew_gles_glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei heigh //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat * params) +void _glew_gles_glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_robustness - glGetnUniformfvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glesConfig.m_glGetnUniformfvEXT) + // GL_EXT_memory_object - glTexStorageMem3DEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glTexStorageMem3DEXT) { prototypeCalled = true; - glesConfig.m_glGetnUniformfvEXT (program, location, bufSize, params); + glesConfig.m_glTexStorageMem3DEXT (target, levels, internalFormat, width, height, depth, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7848,18 +8036,18 @@ void _glew_gles_glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufS //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint * params) +void _glew_gles_glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_robustness - glGetnUniformivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glesConfig.m_glGetnUniformivEXT) + // GL_EXT_memory_object - glTexStorageMem3DMultisampleEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glTexStorageMem3DMultisampleEXT) { prototypeCalled = true; - glesConfig.m_glGetnUniformivEXT (program, location, bufSize, params); + glesConfig.m_glTexStorageMem3DMultisampleEXT (target, samples, internalFormat, width, height, depth, fixedSampleLocations, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7871,18 +8059,18 @@ void _glew_gles_glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufS //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glActiveShaderProgramEXT (GLuint pipeline, GLuint program) +void _glew_gles_glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glActiveShaderProgramEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glActiveShaderProgramEXT) + // GL_EXT_memory_object - glBufferStorageMemEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glBufferStorageMemEXT) { prototypeCalled = true; - glesConfig.m_glActiveShaderProgramEXT (pipeline, program); + glesConfig.m_glBufferStorageMemEXT (target, size, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7894,18 +8082,18 @@ void _glew_gles_glActiveShaderProgramEXT (GLuint pipeline, GLuint program) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glBindProgramPipelineEXT (GLuint pipeline) +void _glew_gles_glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glBindProgramPipelineEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glBindProgramPipelineEXT) + // GL_EXT_memory_object - glTextureStorageMem2DEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glTextureStorageMem2DEXT) { prototypeCalled = true; - glesConfig.m_glBindProgramPipelineEXT (pipeline); + glesConfig.m_glTextureStorageMem2DEXT (texture, levels, internalFormat, width, height, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7917,43 +8105,41 @@ void _glew_gles_glBindProgramPipelineEXT (GLuint pipeline) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint _glew_gles_glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar ** strings) +void _glew_gles_glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glCreateShaderProgramvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glCreateShaderProgramvEXT) + // GL_EXT_memory_object - glTextureStorageMem2DMultisampleEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glTextureStorageMem2DMultisampleEXT) { prototypeCalled = true; - result = glesConfig.m_glCreateShaderProgramvEXT (type, count, strings); + glesConfig.m_glTextureStorageMem2DMultisampleEXT (texture, samples, internalFormat, width, height, fixedSampleLocations, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDeleteProgramPipelinesEXT (GLsizei n, const GLuint * pipelines) +void _glew_gles_glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glDeleteProgramPipelinesEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glDeleteProgramPipelinesEXT) + // GL_EXT_memory_object - glTextureStorageMem3DEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glTextureStorageMem3DEXT) { prototypeCalled = true; - glesConfig.m_glDeleteProgramPipelinesEXT (n, pipelines); + glesConfig.m_glTextureStorageMem3DEXT (texture, levels, internalFormat, width, height, depth, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7965,18 +8151,18 @@ void _glew_gles_glDeleteProgramPipelinesEXT (GLsizei n, const GLuint * pipelines //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGenProgramPipelinesEXT (GLsizei n, GLuint * pipelines) +void _glew_gles_glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glGenProgramPipelinesEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glGenProgramPipelinesEXT) + // GL_EXT_memory_object - glTextureStorageMem3DMultisampleEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glTextureStorageMem3DMultisampleEXT) { prototypeCalled = true; - glesConfig.m_glGenProgramPipelinesEXT (n, pipelines); + glesConfig.m_glTextureStorageMem3DMultisampleEXT (texture, samples, internalFormat, width, height, depth, fixedSampleLocations, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -7988,18 +8174,18 @@ void _glew_gles_glGenProgramPipelinesEXT (GLsizei n, GLuint * pipelines) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog) +void _glew_gles_glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glGetProgramPipelineInfoLogEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glGetProgramPipelineInfoLogEXT) + // GL_EXT_memory_object - glNamedBufferStorageMemEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object] && glesConfig.m_glNamedBufferStorageMemEXT) { prototypeCalled = true; - glesConfig.m_glGetProgramPipelineInfoLogEXT (pipeline, bufSize, length, infoLog); + glesConfig.m_glNamedBufferStorageMemEXT (buffer, size, memory, offset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8011,18 +8197,18 @@ void _glew_gles_glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint * params) +void _glew_gles_glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glGetProgramPipelineivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glGetProgramPipelineivEXT) + // GL_EXT_memory_object_fd - glImportMemoryFdEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object_fd] && glesConfig.m_glImportMemoryFdEXT) { prototypeCalled = true; - glesConfig.m_glGetProgramPipelineivEXT (pipeline, pname, params); + glesConfig.m_glImportMemoryFdEXT (memory, size, handleType, fd); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8034,43 +8220,41 @@ void _glew_gles_glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gles_glIsProgramPipelineEXT (GLuint pipeline) +void _glew_gles_glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void * handle) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glIsProgramPipelineEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glIsProgramPipelineEXT) + // GL_EXT_memory_object_win32 - glImportMemoryWin32HandleEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object_win32] && glesConfig.m_glImportMemoryWin32HandleEXT) { prototypeCalled = true; - result = glesConfig.m_glIsProgramPipelineEXT (pipeline); + glesConfig.m_glImportMemoryWin32HandleEXT (memory, size, handleType, handle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramParameteriEXT (GLuint program, GLenum pname, GLint value) +void _glew_gles_glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void * name) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramParameteriEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramParameteriEXT) + // GL_EXT_memory_object_win32 - glImportMemoryWin32NameEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_memory_object_win32] && glesConfig.m_glImportMemoryWin32NameEXT) { prototypeCalled = true; - glesConfig.m_glProgramParameteriEXT (program, pname, value); + glesConfig.m_glImportMemoryWin32NameEXT (memory, size, handleType, name); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8082,18 +8266,18 @@ void _glew_gles_glProgramParameteriEXT (GLuint program, GLenum pname, GLint valu //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0) +void _glew_gles_glMultiDrawArraysEXT (GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform1fEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform1fEXT) + // GL_EXT_multi_draw_arrays - glMultiDrawArraysEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_arrays] && glesConfig.m_glMultiDrawArraysEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform1fEXT (program, location, v0); + glesConfig.m_glMultiDrawArraysEXT (mode, first, count, primcount); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8105,18 +8289,18 @@ void _glew_gles_glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat * value) +void _glew_gles_glMultiDrawElementsEXT (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform1fvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform1fvEXT) + // GL_EXT_multi_draw_arrays - glMultiDrawElementsEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_arrays] && glesConfig.m_glMultiDrawElementsEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform1fvEXT (program, location, count, value); + glesConfig.m_glMultiDrawElementsEXT (mode, count, type, indices, primcount); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8128,18 +8312,18 @@ void _glew_gles_glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform1iEXT (GLuint program, GLint location, GLint v0) +void _glew_gles_glMultiDrawArraysIndirectEXT (GLenum mode, const void * indirect, GLsizei drawcount, GLsizei stride) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform1iEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform1iEXT) + // GL_EXT_multi_draw_indirect - glMultiDrawArraysIndirectEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_indirect] && glesConfig.m_glMultiDrawArraysIndirectEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform1iEXT (program, location, v0); + glesConfig.m_glMultiDrawArraysIndirectEXT (mode, indirect, drawcount, stride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8151,18 +8335,18 @@ void _glew_gles_glProgramUniform1iEXT (GLuint program, GLint location, GLint v0) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint * value) +void _glew_gles_glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void * indirect, GLsizei drawcount, GLsizei stride) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform1ivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform1ivEXT) + // GL_EXT_multi_draw_indirect - glMultiDrawElementsIndirectEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_indirect] && glesConfig.m_glMultiDrawElementsIndirectEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform1ivEXT (program, location, count, value); + glesConfig.m_glMultiDrawElementsIndirectEXT (mode, type, indirect, drawcount, stride); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8174,18 +8358,18 @@ void _glew_gles_glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1) +void _glew_gles_glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform2fEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform2fEXT) + // GL_EXT_multisampled_render_to_texture - glRenderbufferStorageMultisampleEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multisampled_render_to_texture] && glesConfig.m_glRenderbufferStorageMultisampleEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform2fEXT (program, location, v0, v1); + glesConfig.m_glRenderbufferStorageMultisampleEXT (target, samples, internalformat, width, height); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8197,18 +8381,18 @@ void _glew_gles_glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat * value) +void _glew_gles_glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform2fvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform2fvEXT) + // GL_EXT_multisampled_render_to_texture - glFramebufferTexture2DMultisampleEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multisampled_render_to_texture] && glesConfig.m_glFramebufferTexture2DMultisampleEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform2fvEXT (program, location, count, value); + glesConfig.m_glFramebufferTexture2DMultisampleEXT (target, attachment, textarget, texture, level, samples); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8220,18 +8404,18 @@ void _glew_gles_glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1) +void _glew_gles_glReadBufferIndexedEXT (GLenum src, GLint index) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform2iEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform2iEXT) + // GL_EXT_multiview_draw_buffers - glReadBufferIndexedEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multiview_draw_buffers] && glesConfig.m_glReadBufferIndexedEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform2iEXT (program, location, v0, v1); + glesConfig.m_glReadBufferIndexedEXT (src, index); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8243,18 +8427,18 @@ void _glew_gles_glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint * value) +void _glew_gles_glDrawBuffersIndexedEXT (GLint n, const GLenum * location, const GLint * indices) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform2ivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform2ivEXT) + // GL_EXT_multiview_draw_buffers - glDrawBuffersIndexedEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multiview_draw_buffers] && glesConfig.m_glDrawBuffersIndexedEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform2ivEXT (program, location, count, value); + glesConfig.m_glDrawBuffersIndexedEXT (n, location, indices); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8266,18 +8450,18 @@ void _glew_gles_glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) +void _glew_gles_glGetIntegeri_vEXT (GLenum target, GLuint index, GLint * data) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform3fEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform3fEXT) + // GL_EXT_multiview_draw_buffers - glGetIntegeri_vEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_multiview_draw_buffers] && glesConfig.m_glGetIntegeri_vEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform3fEXT (program, location, v0, v1, v2); + glesConfig.m_glGetIntegeri_vEXT (target, index, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8289,18 +8473,18 @@ void _glew_gles_glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat * value) +void _glew_gles_glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform3fvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform3fvEXT) + // GL_EXT_polygon_offset_clamp - glPolygonOffsetClampEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_polygon_offset_clamp] && glesConfig.m_glPolygonOffsetClampEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform3fvEXT (program, location, count, value); + glesConfig.m_glPolygonOffsetClampEXT (factor, units, clamp); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8312,18 +8496,18 @@ void _glew_gles_glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2) +void _glew_gles_glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform3iEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform3iEXT) + // GL_EXT_primitive_bounding_box - glPrimitiveBoundingBoxEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_primitive_bounding_box] && glesConfig.m_glPrimitiveBoundingBoxEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform3iEXT (program, location, v0, v1, v2); + glesConfig.m_glPrimitiveBoundingBoxEXT (minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8335,18 +8519,24 @@ void _glew_gles_glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint * value) +void _glew_gles_glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform3ivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform3ivEXT) + // GL_EXT_raster_multisample - glRasterSamplesEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_raster_multisample] && glesConfig.m_glRasterSamplesEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform3ivEXT (program, location, count, value); + glesConfig.m_glRasterSamplesEXT (samples, fixedsamplelocations); + } + // GL_NV_framebuffer_mixed_samples - glRasterSamplesEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glesConfig.m_glRasterSamplesEXT) + { + prototypeCalled = true; + glesConfig.m_glRasterSamplesEXT (samples, fixedsamplelocations); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8358,41 +8548,43 @@ void _glew_gles_glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) +GLenum _glew_gles_glGetGraphicsResetStatusEXT () { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLenum result = ((GLenum)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform4fEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform4fEXT) + // GL_EXT_robustness - glGetGraphicsResetStatusEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glesConfig.m_glGetGraphicsResetStatusEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform4fEXT (program, location, v0, v1, v2, v3); + result = glesConfig.m_glGetGraphicsResetStatusEXT (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat * value) +void _glew_gles_glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform4fvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform4fvEXT) + // GL_EXT_robustness - glReadnPixelsEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glesConfig.m_glReadnPixelsEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform4fvEXT (program, location, count, value); + glesConfig.m_glReadnPixelsEXT (x, y, width, height, format, type, bufSize, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8404,18 +8596,18 @@ void _glew_gles_glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) +void _glew_gles_glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform4iEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform4iEXT) + // GL_EXT_robustness - glGetnUniformfvEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glesConfig.m_glGetnUniformfvEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform4iEXT (program, location, v0, v1, v2, v3); + glesConfig.m_glGetnUniformfvEXT (program, location, bufSize, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8427,18 +8619,18 @@ void _glew_gles_glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint * value) +void _glew_gles_glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform4ivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform4ivEXT) + // GL_EXT_robustness - glGetnUniformivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_robustness] && glesConfig.m_glGetnUniformivEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform4ivEXT (program, location, count, value); + glesConfig.m_glGetnUniformivEXT (program, location, bufSize, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8450,18 +8642,18 @@ void _glew_gles_glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +void _glew_gles_glGenSemaphoresEXT (GLsizei n, GLuint * semaphores) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniformMatrix2fvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix2fvEXT) + // GL_EXT_semaphore - glGenSemaphoresEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glesConfig.m_glGenSemaphoresEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniformMatrix2fvEXT (program, location, count, transpose, value); + glesConfig.m_glGenSemaphoresEXT (n, semaphores); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8473,18 +8665,18 @@ void _glew_gles_glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +void _glew_gles_glDeleteSemaphoresEXT (GLsizei n, const GLuint * semaphores) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniformMatrix3fvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix3fvEXT) + // GL_EXT_semaphore - glDeleteSemaphoresEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glesConfig.m_glDeleteSemaphoresEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniformMatrix3fvEXT (program, location, count, transpose, value); + glesConfig.m_glDeleteSemaphoresEXT (n, semaphores); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8496,47 +8688,43 @@ void _glew_gles_glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GLboolean _glew_gles_glIsSemaphoreEXT (GLuint semaphore) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniformMatrix4fvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix4fvEXT) - { - prototypeCalled = true; - glesConfig.m_glProgramUniformMatrix4fvEXT (program, location, count, transpose, value); - } - // GL_EXT_separate_shader_objects - glProgramUniformMatrix4fvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix4fvEXT) + // GL_EXT_semaphore - glIsSemaphoreEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glesConfig.m_glIsSemaphoreEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniformMatrix4fvEXT (program, location, count, transpose, value); + result = glesConfig.m_glIsSemaphoreEXT (semaphore); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program) +void _glew_gles_glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glUseProgramStagesEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glUseProgramStagesEXT) + // GL_EXT_semaphore - glSemaphoreParameterui64vEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glesConfig.m_glSemaphoreParameterui64vEXT) { prototypeCalled = true; - glesConfig.m_glUseProgramStagesEXT (pipeline, stages, program); + glesConfig.m_glSemaphoreParameterui64vEXT (semaphore, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8548,18 +8736,18 @@ void _glew_gles_glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glValidateProgramPipelineEXT (GLuint pipeline) +void _glew_gles_glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glValidateProgramPipelineEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glValidateProgramPipelineEXT) + // GL_EXT_semaphore - glGetSemaphoreParameterui64vEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glesConfig.m_glGetSemaphoreParameterui64vEXT) { prototypeCalled = true; - glesConfig.m_glValidateProgramPipelineEXT (pipeline); + glesConfig.m_glGetSemaphoreParameterui64vEXT (semaphore, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8571,18 +8759,18 @@ void _glew_gles_glValidateProgramPipelineEXT (GLuint pipeline) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0) +void _glew_gles_glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * srcLayouts) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform1uiEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform1uiEXT) + // GL_EXT_semaphore - glWaitSemaphoreEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glesConfig.m_glWaitSemaphoreEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform1uiEXT (program, location, v0); + glesConfig.m_glWaitSemaphoreEXT (semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8594,18 +8782,18 @@ void _glew_gles_glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1) +void _glew_gles_glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * dstLayouts) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform2uiEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform2uiEXT) + // GL_EXT_semaphore - glSignalSemaphoreEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_semaphore] && glesConfig.m_glSignalSemaphoreEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform2uiEXT (program, location, v0, v1); + glesConfig.m_glSignalSemaphoreEXT (semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8617,18 +8805,18 @@ void _glew_gles_glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) +void _glew_gles_glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform3uiEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform3uiEXT) + // GL_EXT_semaphore_fd - glImportSemaphoreFdEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_semaphore_fd] && glesConfig.m_glImportSemaphoreFdEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform3uiEXT (program, location, v0, v1, v2); + glesConfig.m_glImportSemaphoreFdEXT (semaphore, handleType, fd); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8640,18 +8828,18 @@ void _glew_gles_glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) +void _glew_gles_glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void * handle) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform4uiEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform4uiEXT) + // GL_EXT_semaphore_win32 - glImportSemaphoreWin32HandleEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_semaphore_win32] && glesConfig.m_glImportSemaphoreWin32HandleEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform4uiEXT (program, location, v0, v1, v2, v3); + glesConfig.m_glImportSemaphoreWin32HandleEXT (semaphore, handleType, handle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8663,18 +8851,18 @@ void _glew_gles_glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint * value) +void _glew_gles_glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void * name) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform1uivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform1uivEXT) + // GL_EXT_semaphore_win32 - glImportSemaphoreWin32NameEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_semaphore_win32] && glesConfig.m_glImportSemaphoreWin32NameEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform1uivEXT (program, location, count, value); + glesConfig.m_glImportSemaphoreWin32NameEXT (semaphore, handleType, name); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8686,18 +8874,18 @@ void _glew_gles_glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint * value) +void _glew_gles_glActiveShaderProgramEXT (GLuint pipeline, GLuint program) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform2uivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform2uivEXT) + // GL_EXT_separate_shader_objects - glActiveShaderProgramEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glActiveShaderProgramEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform2uivEXT (program, location, count, value); + glesConfig.m_glActiveShaderProgramEXT (pipeline, program); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8709,18 +8897,18 @@ void _glew_gles_glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint * value) +void _glew_gles_glBindProgramPipelineEXT (GLuint pipeline) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform3uivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform3uivEXT) + // GL_EXT_separate_shader_objects - glBindProgramPipelineEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glBindProgramPipelineEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform3uivEXT (program, location, count, value); + glesConfig.m_glBindProgramPipelineEXT (pipeline); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8732,41 +8920,43 @@ void _glew_gles_glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint * value) +GLuint _glew_gles_glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar ** strings) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniform4uivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform4uivEXT) + // GL_EXT_separate_shader_objects - glCreateShaderProgramvEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glCreateShaderProgramvEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniform4uivEXT (program, location, count, value); + result = glesConfig.m_glCreateShaderProgramvEXT (type, count, strings); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +void _glew_gles_glDeleteProgramPipelinesEXT (GLsizei n, const GLuint * pipelines) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniformMatrix2x3fvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix2x3fvEXT) + // GL_EXT_separate_shader_objects - glDeleteProgramPipelinesEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glDeleteProgramPipelinesEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniformMatrix2x3fvEXT (program, location, count, transpose, value); + glesConfig.m_glDeleteProgramPipelinesEXT (n, pipelines); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8778,18 +8968,18 @@ void _glew_gles_glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +void _glew_gles_glGenProgramPipelinesEXT (GLsizei n, GLuint * pipelines) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniformMatrix3x2fvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix3x2fvEXT) + // GL_EXT_separate_shader_objects - glGenProgramPipelinesEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glGenProgramPipelinesEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniformMatrix3x2fvEXT (program, location, count, transpose, value); + glesConfig.m_glGenProgramPipelinesEXT (n, pipelines); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8801,18 +8991,18 @@ void _glew_gles_glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +void _glew_gles_glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniformMatrix2x4fvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix2x4fvEXT) + // GL_EXT_separate_shader_objects - glGetProgramPipelineInfoLogEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glGetProgramPipelineInfoLogEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniformMatrix2x4fvEXT (program, location, count, transpose, value); + glesConfig.m_glGetProgramPipelineInfoLogEXT (pipeline, bufSize, length, infoLog); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8824,18 +9014,18 @@ void _glew_gles_glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +void _glew_gles_glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniformMatrix4x2fvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix4x2fvEXT) + // GL_EXT_separate_shader_objects - glGetProgramPipelineivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glGetProgramPipelineivEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniformMatrix4x2fvEXT (program, location, count, transpose, value); + glesConfig.m_glGetProgramPipelineivEXT (pipeline, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8847,41 +9037,43 @@ void _glew_gles_glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GLboolean _glew_gles_glIsProgramPipelineEXT (GLuint pipeline) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniformMatrix3x4fvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix3x4fvEXT) + // GL_EXT_separate_shader_objects - glIsProgramPipelineEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glIsProgramPipelineEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniformMatrix3x4fvEXT (program, location, count, transpose, value); + result = glesConfig.m_glIsProgramPipelineEXT (pipeline); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +void _glew_gles_glProgramParameteriEXT (GLuint program, GLenum pname, GLint value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_separate_shader_objects - glProgramUniformMatrix4x3fvEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix4x3fvEXT) + // GL_EXT_separate_shader_objects - glProgramParameteriEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramParameteriEXT) { prototypeCalled = true; - glesConfig.m_glProgramUniformMatrix4x3fvEXT (program, location, count, transpose, value); + glesConfig.m_glProgramParameteriEXT (program, pname, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8893,18 +9085,18 @@ void _glew_gles_glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit) +void _glew_gles_glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_sparse_texture - glTexPageCommitmentEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_sparse_texture] && glesConfig.m_glTexPageCommitmentEXT) + // GL_EXT_separate_shader_objects - glProgramUniform1fEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform1fEXT) { prototypeCalled = true; - glesConfig.m_glTexPageCommitmentEXT (target, level, xoffset, yoffset, zoffset, width, height, depth, commit); + glesConfig.m_glProgramUniform1fEXT (program, location, v0); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8916,18 +9108,18 @@ void _glew_gles_glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffse //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPatchParameteriEXT (GLenum pname, GLint value) +void _glew_gles_glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_tessellation_shader - glPatchParameteriEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_tessellation_shader] && glesConfig.m_glPatchParameteriEXT) + // GL_EXT_separate_shader_objects - glProgramUniform1fvEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform1fvEXT) { prototypeCalled = true; - glesConfig.m_glPatchParameteriEXT (pname, value); + glesConfig.m_glProgramUniform1fvEXT (program, location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8939,18 +9131,18 @@ void _glew_gles_glPatchParameteriEXT (GLenum pname, GLint value) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTexParameterIivEXT (GLenum target, GLenum pname, const GLint * params) +void _glew_gles_glProgramUniform1iEXT (GLuint program, GLint location, GLint v0) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glTexParameterIivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glTexParameterIivEXT) + // GL_EXT_separate_shader_objects - glProgramUniform1iEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform1iEXT) { prototypeCalled = true; - glesConfig.m_glTexParameterIivEXT (target, pname, params); + glesConfig.m_glProgramUniform1iEXT (program, location, v0); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8962,18 +9154,18 @@ void _glew_gles_glTexParameterIivEXT (GLenum target, GLenum pname, const GLint * //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint * params) +void _glew_gles_glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glTexParameterIuivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glTexParameterIuivEXT) + // GL_EXT_separate_shader_objects - glProgramUniform1ivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform1ivEXT) { prototypeCalled = true; - glesConfig.m_glTexParameterIuivEXT (target, pname, params); + glesConfig.m_glProgramUniform1ivEXT (program, location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -8985,18 +9177,18 @@ void _glew_gles_glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint * params) +void _glew_gles_glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glGetTexParameterIivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glGetTexParameterIivEXT) + // GL_EXT_separate_shader_objects - glProgramUniform2fEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform2fEXT) { prototypeCalled = true; - glesConfig.m_glGetTexParameterIivEXT (target, pname, params); + glesConfig.m_glProgramUniform2fEXT (program, location, v0, v1); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9008,18 +9200,18 @@ void _glew_gles_glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint * pa //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint * params) +void _glew_gles_glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glGetTexParameterIuivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glGetTexParameterIuivEXT) + // GL_EXT_separate_shader_objects - glProgramUniform2fvEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform2fvEXT) { prototypeCalled = true; - glesConfig.m_glGetTexParameterIuivEXT (target, pname, params); + glesConfig.m_glProgramUniform2fvEXT (program, location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9031,18 +9223,18 @@ void _glew_gles_glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint * //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLint * param) +void _glew_gles_glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glSamplerParameterIivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glSamplerParameterIivEXT) + // GL_EXT_separate_shader_objects - glProgramUniform2iEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform2iEXT) { prototypeCalled = true; - glesConfig.m_glSamplerParameterIivEXT (sampler, pname, param); + glesConfig.m_glProgramUniform2iEXT (program, location, v0, v1); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9054,18 +9246,18 @@ void _glew_gles_glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLuint * param) +void _glew_gles_glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glSamplerParameterIuivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glSamplerParameterIuivEXT) + // GL_EXT_separate_shader_objects - glProgramUniform2ivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform2ivEXT) { prototypeCalled = true; - glesConfig.m_glSamplerParameterIuivEXT (sampler, pname, param); + glesConfig.m_glProgramUniform2ivEXT (program, location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9077,18 +9269,18 @@ void _glew_gles_glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const G //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint * params) +void _glew_gles_glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glGetSamplerParameterIivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glGetSamplerParameterIivEXT) + // GL_EXT_separate_shader_objects - glProgramUniform3fEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform3fEXT) { prototypeCalled = true; - glesConfig.m_glGetSamplerParameterIivEXT (sampler, pname, params); + glesConfig.m_glProgramUniform3fEXT (program, location, v0, v1, v2); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9100,18 +9292,18 @@ void _glew_gles_glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint * params) +void _glew_gles_glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_border_clamp - glGetSamplerParameterIuivEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glGetSamplerParameterIuivEXT) + // GL_EXT_separate_shader_objects - glProgramUniform3fvEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform3fvEXT) { prototypeCalled = true; - glesConfig.m_glGetSamplerParameterIuivEXT (sampler, pname, params); + glesConfig.m_glProgramUniform3fvEXT (program, location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9123,18 +9315,18 @@ void _glew_gles_glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLui //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer) +void _glew_gles_glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_buffer - glTexBufferEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_buffer] && glesConfig.m_glTexBufferEXT) + // GL_EXT_separate_shader_objects - glProgramUniform3iEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform3iEXT) { prototypeCalled = true; - glesConfig.m_glTexBufferEXT (target, internalformat, buffer); + glesConfig.m_glProgramUniform3iEXT (program, location, v0, v1, v2); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9146,18 +9338,18 @@ void _glew_gles_glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buf //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) +void _glew_gles_glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_buffer - glTexBufferRangeEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_buffer] && glesConfig.m_glTexBufferRangeEXT) + // GL_EXT_separate_shader_objects - glProgramUniform3ivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform3ivEXT) { prototypeCalled = true; - glesConfig.m_glTexBufferRangeEXT (target, internalformat, buffer, offset, size); + glesConfig.m_glProgramUniform3ivEXT (program, location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9169,18 +9361,18 @@ void _glew_gles_glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) +void _glew_gles_glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_storage - glTexStorage1DEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glesConfig.m_glTexStorage1DEXT) + // GL_EXT_separate_shader_objects - glProgramUniform4fEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform4fEXT) { prototypeCalled = true; - glesConfig.m_glTexStorage1DEXT (target, levels, internalformat, width); + glesConfig.m_glProgramUniform4fEXT (program, location, v0, v1, v2, v3); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9192,18 +9384,18 @@ void _glew_gles_glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum interna //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) +void _glew_gles_glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_storage - glTexStorage2DEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glesConfig.m_glTexStorage2DEXT) + // GL_EXT_separate_shader_objects - glProgramUniform4fvEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform4fvEXT) { prototypeCalled = true; - glesConfig.m_glTexStorage2DEXT (target, levels, internalformat, width, height); + glesConfig.m_glProgramUniform4fvEXT (program, location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9215,18 +9407,18 @@ void _glew_gles_glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum interna //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) +void _glew_gles_glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_storage - glTexStorage3DEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glesConfig.m_glTexStorage3DEXT) + // GL_EXT_separate_shader_objects - glProgramUniform4iEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform4iEXT) { prototypeCalled = true; - glesConfig.m_glTexStorage3DEXT (target, levels, internalformat, width, height, depth); + glesConfig.m_glProgramUniform4iEXT (program, location, v0, v1, v2, v3); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9238,18 +9430,18 @@ void _glew_gles_glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum interna //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) +void _glew_gles_glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_storage - glTextureStorage1DEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glesConfig.m_glTextureStorage1DEXT) + // GL_EXT_separate_shader_objects - glProgramUniform4ivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform4ivEXT) { prototypeCalled = true; - glesConfig.m_glTextureStorage1DEXT (texture, target, levels, internalformat, width); + glesConfig.m_glProgramUniform4ivEXT (program, location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9261,18 +9453,18 @@ void _glew_gles_glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei le //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) +void _glew_gles_glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_storage - glTextureStorage2DEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glesConfig.m_glTextureStorage2DEXT) + // GL_EXT_separate_shader_objects - glProgramUniformMatrix2fvEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix2fvEXT) { prototypeCalled = true; - glesConfig.m_glTextureStorage2DEXT (texture, target, levels, internalformat, width, height); + glesConfig.m_glProgramUniformMatrix2fvEXT (program, location, count, transpose, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9284,18 +9476,18 @@ void _glew_gles_glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei le //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) +void _glew_gles_glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_storage - glTextureStorage3DEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glesConfig.m_glTextureStorage3DEXT) + // GL_EXT_separate_shader_objects - glProgramUniformMatrix3fvEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix3fvEXT) { prototypeCalled = true; - glesConfig.m_glTextureStorage3DEXT (texture, target, levels, internalformat, width, height, depth); + glesConfig.m_glProgramUniformMatrix3fvEXT (program, location, count, transpose, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9307,18 +9499,18 @@ void _glew_gles_glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei le //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers) +void _glew_gles_glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_EXT_texture_view - glTextureViewEXT - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_view] && glesConfig.m_glTextureViewEXT) + // GL_EXT_separate_shader_objects - glProgramUniformMatrix4fvEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix4fvEXT) { prototypeCalled = true; - glesConfig.m_glTextureViewEXT (texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers); + glesConfig.m_glProgramUniformMatrix4fvEXT (program, location, count, transpose, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9330,18 +9522,18 @@ void _glew_gles_glTextureViewEXT (GLuint texture, GLenum target, GLuint origtext //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) +void _glew_gles_glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_IMG_multisampled_render_to_texture - glRenderbufferStorageMultisampleIMG - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_IMG_multisampled_render_to_texture] && glesConfig.m_glRenderbufferStorageMultisampleIMG) + // GL_EXT_separate_shader_objects - glUseProgramStagesEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glUseProgramStagesEXT) { prototypeCalled = true; - glesConfig.m_glRenderbufferStorageMultisampleIMG (target, samples, internalformat, width, height); + glesConfig.m_glUseProgramStagesEXT (pipeline, stages, program); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9353,18 +9545,18 @@ void _glew_gles_glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samp //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) +void _glew_gles_glValidateProgramPipelineEXT (GLuint pipeline) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_IMG_multisampled_render_to_texture - glFramebufferTexture2DMultisampleIMG - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_IMG_multisampled_render_to_texture] && glesConfig.m_glFramebufferTexture2DMultisampleIMG) + // GL_EXT_separate_shader_objects - glValidateProgramPipelineEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glValidateProgramPipelineEXT) { prototypeCalled = true; - glesConfig.m_glFramebufferTexture2DMultisampleIMG (target, attachment, textarget, texture, level, samples); + glesConfig.m_glValidateProgramPipelineEXT (pipeline); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9376,18 +9568,18 @@ void _glew_gles_glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum atta //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glApplyFramebufferAttachmentCMAAINTEL () +void _glew_gles_glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_framebuffer_CMAA - glApplyFramebufferAttachmentCMAAINTEL - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_framebuffer_CMAA] && glesConfig.m_glApplyFramebufferAttachmentCMAAINTEL) + // GL_EXT_separate_shader_objects - glProgramUniform1uiEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform1uiEXT) { prototypeCalled = true; - glesConfig.m_glApplyFramebufferAttachmentCMAAINTEL (); + glesConfig.m_glProgramUniform1uiEXT (program, location, v0); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9399,18 +9591,18 @@ void _glew_gles_glApplyFramebufferAttachmentCMAAINTEL () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glBeginPerfQueryINTEL (GLuint queryHandle) +void _glew_gles_glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glBeginPerfQueryINTEL - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glBeginPerfQueryINTEL) + // GL_EXT_separate_shader_objects - glProgramUniform2uiEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform2uiEXT) { prototypeCalled = true; - glesConfig.m_glBeginPerfQueryINTEL (queryHandle); + glesConfig.m_glProgramUniform2uiEXT (program, location, v0, v1); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9422,18 +9614,18 @@ void _glew_gles_glBeginPerfQueryINTEL (GLuint queryHandle) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glCreatePerfQueryINTEL (GLuint queryId, GLuint * queryHandle) +void _glew_gles_glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glCreatePerfQueryINTEL - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glCreatePerfQueryINTEL) + // GL_EXT_separate_shader_objects - glProgramUniform3uiEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform3uiEXT) { prototypeCalled = true; - glesConfig.m_glCreatePerfQueryINTEL (queryId, queryHandle); + glesConfig.m_glProgramUniform3uiEXT (program, location, v0, v1, v2); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9445,18 +9637,18 @@ void _glew_gles_glCreatePerfQueryINTEL (GLuint queryId, GLuint * queryHandle) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDeletePerfQueryINTEL (GLuint queryHandle) +void _glew_gles_glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glDeletePerfQueryINTEL - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glDeletePerfQueryINTEL) + // GL_EXT_separate_shader_objects - glProgramUniform4uiEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform4uiEXT) { prototypeCalled = true; - glesConfig.m_glDeletePerfQueryINTEL (queryHandle); + glesConfig.m_glProgramUniform4uiEXT (program, location, v0, v1, v2, v3); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9468,18 +9660,18 @@ void _glew_gles_glDeletePerfQueryINTEL (GLuint queryHandle) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glEndPerfQueryINTEL (GLuint queryHandle) +void _glew_gles_glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glEndPerfQueryINTEL - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glEndPerfQueryINTEL) + // GL_EXT_separate_shader_objects - glProgramUniform1uivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform1uivEXT) { prototypeCalled = true; - glesConfig.m_glEndPerfQueryINTEL (queryHandle); + glesConfig.m_glProgramUniform1uivEXT (program, location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9491,18 +9683,18 @@ void _glew_gles_glEndPerfQueryINTEL (GLuint queryHandle) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetFirstPerfQueryIdINTEL (GLuint * queryId) +void _glew_gles_glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glGetFirstPerfQueryIdINTEL - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glGetFirstPerfQueryIdINTEL) + // GL_EXT_separate_shader_objects - glProgramUniform2uivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform2uivEXT) { prototypeCalled = true; - glesConfig.m_glGetFirstPerfQueryIdINTEL (queryId); + glesConfig.m_glProgramUniform2uivEXT (program, location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9514,18 +9706,18 @@ void _glew_gles_glGetFirstPerfQueryIdINTEL (GLuint * queryId) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint * nextQueryId) +void _glew_gles_glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glGetNextPerfQueryIdINTEL - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glGetNextPerfQueryIdINTEL) + // GL_EXT_separate_shader_objects - glProgramUniform3uivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform3uivEXT) { prototypeCalled = true; - glesConfig.m_glGetNextPerfQueryIdINTEL (queryId, nextQueryId); + glesConfig.m_glProgramUniform3uivEXT (program, location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9537,18 +9729,18 @@ void _glew_gles_glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint * nextQueryId) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue) +void _glew_gles_glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glGetPerfCounterInfoINTEL - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glGetPerfCounterInfoINTEL) + // GL_EXT_separate_shader_objects - glProgramUniform4uivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniform4uivEXT) { prototypeCalled = true; - glesConfig.m_glGetPerfCounterInfoINTEL (queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue); + glesConfig.m_glProgramUniform4uivEXT (program, location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9560,18 +9752,18 @@ void _glew_gles_glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLu //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid * data, GLuint * bytesWritten) +void _glew_gles_glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glGetPerfQueryDataINTEL - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glGetPerfQueryDataINTEL) + // GL_EXT_separate_shader_objects - glProgramUniformMatrix2x3fvEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix2x3fvEXT) { prototypeCalled = true; - glesConfig.m_glGetPerfQueryDataINTEL (queryHandle, flags, dataSize, data, bytesWritten); + glesConfig.m_glProgramUniformMatrix2x3fvEXT (program, location, count, transpose, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9583,18 +9775,18 @@ void _glew_gles_glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsiz //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetPerfQueryIdByNameINTEL (GLchar * queryName, GLuint * queryId) +void _glew_gles_glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glGetPerfQueryIdByNameINTEL - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glGetPerfQueryIdByNameINTEL) + // GL_EXT_separate_shader_objects - glProgramUniformMatrix3x2fvEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix3x2fvEXT) { prototypeCalled = true; - glesConfig.m_glGetPerfQueryIdByNameINTEL (queryName, queryId); + glesConfig.m_glProgramUniformMatrix3x2fvEXT (program, location, count, transpose, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9606,18 +9798,18 @@ void _glew_gles_glGetPerfQueryIdByNameINTEL (GLchar * queryName, GLuint * queryI //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask) +void _glew_gles_glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_INTEL_performance_query - glGetPerfQueryInfoINTEL - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glGetPerfQueryInfoINTEL) + // GL_EXT_separate_shader_objects - glProgramUniformMatrix2x4fvEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix2x4fvEXT) { prototypeCalled = true; - glesConfig.m_glGetPerfQueryInfoINTEL (queryId, queryNameLength, queryName, dataSize, noCounters, noInstances, capsMask); + glesConfig.m_glProgramUniformMatrix2x4fvEXT (program, location, count, transpose, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9629,18 +9821,18 @@ void _glew_gles_glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glBlendBarrierKHR () +void _glew_gles_glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_blend_equation_advanced - glBlendBarrierKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_blend_equation_advanced] && glesConfig.m_glBlendBarrierKHR) + // GL_EXT_separate_shader_objects - glProgramUniformMatrix4x2fvEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix4x2fvEXT) { prototypeCalled = true; - glesConfig.m_glBlendBarrierKHR (); + glesConfig.m_glProgramUniformMatrix4x2fvEXT (program, location, count, transpose, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9652,18 +9844,18 @@ void _glew_gles_glBlendBarrierKHR () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled) +void _glew_gles_glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glDebugMessageControlKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glDebugMessageControlKHR) + // GL_EXT_separate_shader_objects - glProgramUniformMatrix3x4fvEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix3x4fvEXT) { prototypeCalled = true; - glesConfig.m_glDebugMessageControlKHR (source, type, severity, count, ids, enabled); + glesConfig.m_glProgramUniformMatrix3x4fvEXT (program, location, count, transpose, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9675,18 +9867,18 @@ void _glew_gles_glDebugMessageControlKHR (GLenum source, GLenum type, GLenum sev //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf) +void _glew_gles_glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glDebugMessageInsertKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glDebugMessageInsertKHR) + // GL_EXT_separate_shader_objects - glProgramUniformMatrix4x3fvEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] && glesConfig.m_glProgramUniformMatrix4x3fvEXT) { prototypeCalled = true; - glesConfig.m_glDebugMessageInsertKHR (source, type, id, severity, length, buf); + glesConfig.m_glProgramUniformMatrix4x3fvEXT (program, location, count, transpose, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9698,18 +9890,18 @@ void _glew_gles_glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void * userParam) +void _glew_gles_glFramebufferFetchBarrierEXT () { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glDebugMessageCallbackKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glDebugMessageCallbackKHR) + // GL_EXT_shader_framebuffer_fetch_non_coherent - glFramebufferFetchBarrierEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_shader_framebuffer_fetch_non_coherent] && glesConfig.m_glFramebufferFetchBarrierEXT) { prototypeCalled = true; - glesConfig.m_glDebugMessageCallbackKHR (callback, userParam); + glesConfig.m_glFramebufferFetchBarrierEXT (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9721,66 +9913,66 @@ void _glew_gles_glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void * //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint _glew_gles_glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog) +void _glew_gles_glFramebufferPixelLocalStorageSizeEXT (GLuint target, GLsizei size) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glGetDebugMessageLogKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glGetDebugMessageLogKHR) + // GL_EXT_shader_pixel_local_storage2 - glFramebufferPixelLocalStorageSizeEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_shader_pixel_local_storage2] && glesConfig.m_glFramebufferPixelLocalStorageSizeEXT) { prototypeCalled = true; - result = glesConfig.m_glGetDebugMessageLogKHR (count, bufSize, sources, types, ids, severities, lengths, messageLog); + glesConfig.m_glFramebufferPixelLocalStorageSizeEXT (target, size); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar * message) +GLsizei _glew_gles_glGetFramebufferPixelLocalStorageSizeEXT (GLuint target) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLsizei result = ((GLsizei)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glPushDebugGroupKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glPushDebugGroupKHR) + // GL_EXT_shader_pixel_local_storage2 - glGetFramebufferPixelLocalStorageSizeEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_shader_pixel_local_storage2] && glesConfig.m_glGetFramebufferPixelLocalStorageSizeEXT) { prototypeCalled = true; - glesConfig.m_glPushDebugGroupKHR (source, id, length, message); + result = glesConfig.m_glGetFramebufferPixelLocalStorageSizeEXT (target); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPopDebugGroupKHR () +void _glew_gles_glClearPixelLocalStorageuiEXT (GLsizei offset, GLsizei n, const GLuint * values) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glPopDebugGroupKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glPopDebugGroupKHR) + // GL_EXT_shader_pixel_local_storage2 - glClearPixelLocalStorageuiEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_shader_pixel_local_storage2] && glesConfig.m_glClearPixelLocalStorageuiEXT) { prototypeCalled = true; - glesConfig.m_glPopDebugGroupKHR (); + glesConfig.m_glClearPixelLocalStorageuiEXT (offset, n, values); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9792,18 +9984,18 @@ void _glew_gles_glPopDebugGroupKHR () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar * label) +void _glew_gles_glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glObjectLabelKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glObjectLabelKHR) + // GL_EXT_sparse_texture - glTexPageCommitmentEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_sparse_texture] && glesConfig.m_glTexPageCommitmentEXT) { prototypeCalled = true; - glesConfig.m_glObjectLabelKHR (identifier, name, length, label); + glesConfig.m_glTexPageCommitmentEXT (target, level, xoffset, yoffset, zoffset, width, height, depth, commit); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9815,18 +10007,18 @@ void _glew_gles_glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label) +void _glew_gles_glPatchParameteriEXT (GLenum pname, GLint value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glGetObjectLabelKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glGetObjectLabelKHR) + // GL_EXT_tessellation_shader - glPatchParameteriEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_tessellation_shader] && glesConfig.m_glPatchParameteriEXT) { prototypeCalled = true; - glesConfig.m_glGetObjectLabelKHR (identifier, name, bufSize, length, label); + glesConfig.m_glPatchParameteriEXT (pname, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9838,18 +10030,18 @@ void _glew_gles_glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei buf //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glObjectPtrLabelKHR (const void * ptr, GLsizei length, const GLchar * label) +void _glew_gles_glTexParameterIivEXT (GLenum target, GLenum pname, const GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glObjectPtrLabelKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glObjectPtrLabelKHR) + // GL_EXT_texture_border_clamp - glTexParameterIivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glTexParameterIivEXT) { prototypeCalled = true; - glesConfig.m_glObjectPtrLabelKHR (ptr, length, label); + glesConfig.m_glTexParameterIivEXT (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9861,18 +10053,18 @@ void _glew_gles_glObjectPtrLabelKHR (const void * ptr, GLsizei length, const GLc //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetObjectPtrLabelKHR (const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label) +void _glew_gles_glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glGetObjectPtrLabelKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glGetObjectPtrLabelKHR) + // GL_EXT_texture_border_clamp - glTexParameterIuivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glTexParameterIuivEXT) { prototypeCalled = true; - glesConfig.m_glGetObjectPtrLabelKHR (ptr, bufSize, length, label); + glesConfig.m_glTexParameterIuivEXT (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9884,18 +10076,18 @@ void _glew_gles_glGetObjectPtrLabelKHR (const void * ptr, GLsizei bufSize, GLsiz //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetPointervKHR (GLenum pname, void ** params) +void _glew_gles_glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_debug - glGetPointervKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glGetPointervKHR) + // GL_EXT_texture_border_clamp - glGetTexParameterIivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glGetTexParameterIivEXT) { prototypeCalled = true; - glesConfig.m_glGetPointervKHR (pname, params); + glesConfig.m_glGetTexParameterIivEXT (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9907,43 +10099,41 @@ void _glew_gles_glGetPointervKHR (GLenum pname, void ** params) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLenum _glew_gles_glGetGraphicsResetStatusKHR () +void _glew_gles_glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLenum result = ((GLenum)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_robustness - glGetGraphicsResetStatusKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glesConfig.m_glGetGraphicsResetStatusKHR) + // GL_EXT_texture_border_clamp - glGetTexParameterIuivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glGetTexParameterIuivEXT) { prototypeCalled = true; - result = glesConfig.m_glGetGraphicsResetStatusKHR (); + glesConfig.m_glGetTexParameterIuivEXT (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) +void _glew_gles_glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLint * param) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_robustness - glReadnPixelsKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glesConfig.m_glReadnPixelsKHR) + // GL_EXT_texture_border_clamp - glSamplerParameterIivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glSamplerParameterIivEXT) { prototypeCalled = true; - glesConfig.m_glReadnPixelsKHR (x, y, width, height, format, type, bufSize, data); + glesConfig.m_glSamplerParameterIivEXT (sampler, pname, param); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9955,18 +10145,18 @@ void _glew_gles_glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei heigh //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat * params) +void _glew_gles_glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLuint * param) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_robustness - glGetnUniformfvKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glesConfig.m_glGetnUniformfvKHR) + // GL_EXT_texture_border_clamp - glSamplerParameterIuivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glSamplerParameterIuivEXT) { prototypeCalled = true; - glesConfig.m_glGetnUniformfvKHR (program, location, bufSize, params); + glesConfig.m_glSamplerParameterIuivEXT (sampler, pname, param); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -9978,18 +10168,18 @@ void _glew_gles_glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufS //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint * params) +void _glew_gles_glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_robustness - glGetnUniformivKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glesConfig.m_glGetnUniformivKHR) + // GL_EXT_texture_border_clamp - glGetSamplerParameterIivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glGetSamplerParameterIivEXT) { prototypeCalled = true; - glesConfig.m_glGetnUniformivKHR (program, location, bufSize, params); + glesConfig.m_glGetSamplerParameterIivEXT (sampler, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10001,18 +10191,18 @@ void _glew_gles_glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufS //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint * params) +void _glew_gles_glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_KHR_robustness - glGetnUniformuivKHR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glesConfig.m_glGetnUniformuivKHR) + // GL_EXT_texture_border_clamp - glGetSamplerParameterIuivEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] && glesConfig.m_glGetSamplerParameterIuivEXT) { prototypeCalled = true; - glesConfig.m_glGetnUniformuivKHR (program, location, bufSize, params); + glesConfig.m_glGetSamplerParameterIuivEXT (sampler, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10024,68 +10214,64 @@ void _glew_gles_glGetnUniformuivKHR (GLuint program, GLint location, GLsizei buf //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint64 _glew_gles_glGetTextureHandleNV (GLuint texture) +void _glew_gles_glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glGetTextureHandleNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glGetTextureHandleNV) + // GL_EXT_texture_buffer - glTexBufferEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_buffer] && glesConfig.m_glTexBufferEXT) { prototypeCalled = true; - result = glesConfig.m_glGetTextureHandleNV (texture); + glesConfig.m_glTexBufferEXT (target, internalformat, buffer); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint64 _glew_gles_glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler) +void _glew_gles_glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glGetTextureSamplerHandleNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glGetTextureSamplerHandleNV) + // GL_EXT_texture_buffer - glTexBufferRangeEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_buffer] && glesConfig.m_glTexBufferRangeEXT) { prototypeCalled = true; - result = glesConfig.m_glGetTextureSamplerHandleNV (texture, sampler); + glesConfig.m_glTexBufferRangeEXT (target, internalformat, buffer, offset, size); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMakeTextureHandleResidentNV (GLuint64 handle) +void _glew_gles_glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glMakeTextureHandleResidentNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glMakeTextureHandleResidentNV) + // GL_EXT_texture_storage - glTexStorage1DEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glesConfig.m_glTexStorage1DEXT) { prototypeCalled = true; - glesConfig.m_glMakeTextureHandleResidentNV (handle); + glesConfig.m_glTexStorage1DEXT (target, levels, internalformat, width); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10097,18 +10283,18 @@ void _glew_gles_glMakeTextureHandleResidentNV (GLuint64 handle) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMakeTextureHandleNonResidentNV (GLuint64 handle) +void _glew_gles_glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glMakeTextureHandleNonResidentNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glMakeTextureHandleNonResidentNV) + // GL_EXT_texture_storage - glTexStorage2DEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glesConfig.m_glTexStorage2DEXT) { prototypeCalled = true; - glesConfig.m_glMakeTextureHandleNonResidentNV (handle); + glesConfig.m_glTexStorage2DEXT (target, levels, internalformat, width, height); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10120,43 +10306,41 @@ void _glew_gles_glMakeTextureHandleNonResidentNV (GLuint64 handle) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint64 _glew_gles_glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format) +void _glew_gles_glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glGetImageHandleNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glGetImageHandleNV) + // GL_EXT_texture_storage - glTexStorage3DEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glesConfig.m_glTexStorage3DEXT) { prototypeCalled = true; - result = glesConfig.m_glGetImageHandleNV (texture, level, layered, layer, format); + glesConfig.m_glTexStorage3DEXT (target, levels, internalformat, width, height, depth); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMakeImageHandleResidentNV (GLuint64 handle, GLenum access) +void _glew_gles_glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glMakeImageHandleResidentNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glMakeImageHandleResidentNV) + // GL_EXT_texture_storage - glTextureStorage1DEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glesConfig.m_glTextureStorage1DEXT) { prototypeCalled = true; - glesConfig.m_glMakeImageHandleResidentNV (handle, access); + glesConfig.m_glTextureStorage1DEXT (texture, target, levels, internalformat, width); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10168,18 +10352,18 @@ void _glew_gles_glMakeImageHandleResidentNV (GLuint64 handle, GLenum access) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMakeImageHandleNonResidentNV (GLuint64 handle) +void _glew_gles_glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glMakeImageHandleNonResidentNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glMakeImageHandleNonResidentNV) + // GL_EXT_texture_storage - glTextureStorage2DEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glesConfig.m_glTextureStorage2DEXT) { prototypeCalled = true; - glesConfig.m_glMakeImageHandleNonResidentNV (handle); + glesConfig.m_glTextureStorage2DEXT (texture, target, levels, internalformat, width, height); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10191,18 +10375,18 @@ void _glew_gles_glMakeImageHandleNonResidentNV (GLuint64 handle) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glUniformHandleui64NV (GLint location, GLuint64 value) +void _glew_gles_glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glUniformHandleui64NV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glUniformHandleui64NV) + // GL_EXT_texture_storage - glTextureStorage3DEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] && glesConfig.m_glTextureStorage3DEXT) { prototypeCalled = true; - glesConfig.m_glUniformHandleui64NV (location, value); + glesConfig.m_glTextureStorage3DEXT (texture, target, levels, internalformat, width, height, depth); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10214,18 +10398,18 @@ void _glew_gles_glUniformHandleui64NV (GLint location, GLuint64 value) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 * value) +void _glew_gles_glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glUniformHandleui64vNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glUniformHandleui64vNV) + // GL_EXT_texture_view - glTextureViewEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_texture_view] && glesConfig.m_glTextureViewEXT) { prototypeCalled = true; - glesConfig.m_glUniformHandleui64vNV (location, count, value); + glesConfig.m_glTextureViewEXT (texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10237,18 +10421,18 @@ void _glew_gles_glUniformHandleui64vNV (GLint location, GLsizei count, const GLu //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value) +void _glew_gles_glCreateSemaphoresNV (GLsizei n, GLuint * semaphores) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glProgramUniformHandleui64NV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glProgramUniformHandleui64NV) + // GL_NV_timeline_semaphore - glCreateSemaphoresNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_timeline_semaphore] && glesConfig.m_glCreateSemaphoresNV) { prototypeCalled = true; - glesConfig.m_glProgramUniformHandleui64NV (program, location, value); + glesConfig.m_glCreateSemaphoresNV (n, semaphores); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10260,18 +10444,18 @@ void _glew_gles_glProgramUniformHandleui64NV (GLuint program, GLint location, GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 * values) +void _glew_gles_glSemaphoreParameterivNV (GLuint semaphore, GLenum pname, const GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glProgramUniformHandleui64vNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glProgramUniformHandleui64vNV) + // GL_NV_timeline_semaphore - glSemaphoreParameterivNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_timeline_semaphore] && glesConfig.m_glSemaphoreParameterivNV) { prototypeCalled = true; - glesConfig.m_glProgramUniformHandleui64vNV (program, location, count, values); + glesConfig.m_glSemaphoreParameterivNV (semaphore, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10283,32 +10467,30 @@ void _glew_gles_glProgramUniformHandleui64vNV (GLuint program, GLint location, G //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gles_glIsTextureHandleResidentNV (GLuint64 handle) +void _glew_gles_glGetSemaphoreParameterivNV (GLuint semaphore, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glIsTextureHandleResidentNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glIsTextureHandleResidentNV) + // GL_NV_timeline_semaphore - glGetSemaphoreParameterivNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_timeline_semaphore] && glesConfig.m_glGetSemaphoreParameterivNV) { prototypeCalled = true; - result = glesConfig.m_glIsTextureHandleResidentNV (handle); + glesConfig.m_glGetSemaphoreParameterivNV (semaphore, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gles_glIsImageHandleResidentNV (GLuint64 handle) +GLboolean _glew_gles_glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); @@ -10316,11 +10498,11 @@ GLboolean _glew_gles_glIsImageHandleResidentNV (GLuint64 handle) #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_bindless_texture - glIsImageHandleResidentNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glIsImageHandleResidentNV) + // GL_EXT_win32_keyed_mutex - glAcquireKeyedMutexWin32EXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_win32_keyed_mutex] && glesConfig.m_glAcquireKeyedMutexWin32EXT) { prototypeCalled = true; - result = glesConfig.m_glIsImageHandleResidentNV (handle); + result = glesConfig.m_glAcquireKeyedMutexWin32EXT (memory, key, timeout); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10333,41 +10515,43 @@ GLboolean _glew_gles_glIsImageHandleResidentNV (GLuint64 handle) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glBlendParameteriNV (GLenum pname, GLint value) +GLboolean _glew_gles_glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_blend_equation_advanced - glBlendParameteriNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_blend_equation_advanced] && glesConfig.m_glBlendParameteriNV) + // GL_EXT_win32_keyed_mutex - glReleaseKeyedMutexWin32EXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_win32_keyed_mutex] && glesConfig.m_glReleaseKeyedMutexWin32EXT) { prototypeCalled = true; - glesConfig.m_glBlendParameteriNV (pname, value); + result = glesConfig.m_glReleaseKeyedMutexWin32EXT (memory, key); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glBlendBarrierNV () +void _glew_gles_glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint * box) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_blend_equation_advanced - glBlendBarrierNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_blend_equation_advanced] && glesConfig.m_glBlendBarrierNV) + // GL_EXT_window_rectangles - glWindowRectanglesEXT + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_EXT_window_rectangles] && glesConfig.m_glWindowRectanglesEXT) { prototypeCalled = true; - glesConfig.m_glBlendBarrierNV (); + glesConfig.m_glWindowRectanglesEXT (mode, count, box); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10379,64 +10563,68 @@ void _glew_gles_glBlendBarrierNV () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glBeginConditionalRenderNV (GLuint id, GLenum mode) +GLuint64 _glew_gles_glGetTextureHandleIMG (GLuint texture) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_conditional_render - glBeginConditionalRenderNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_conditional_render] && glesConfig.m_glBeginConditionalRenderNV) + // GL_IMG_bindless_texture - glGetTextureHandleIMG + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture] && glesConfig.m_glGetTextureHandleIMG) { prototypeCalled = true; - glesConfig.m_glBeginConditionalRenderNV (id, mode); + result = glesConfig.m_glGetTextureHandleIMG (texture); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glEndConditionalRenderNV () +GLuint64 _glew_gles_glGetTextureSamplerHandleIMG (GLuint texture, GLuint sampler) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_conditional_render - glEndConditionalRenderNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_conditional_render] && glesConfig.m_glEndConditionalRenderNV) + // GL_IMG_bindless_texture - glGetTextureSamplerHandleIMG + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture] && glesConfig.m_glGetTextureSamplerHandleIMG) { prototypeCalled = true; - glesConfig.m_glEndConditionalRenderNV (); + result = glesConfig.m_glGetTextureSamplerHandleIMG (texture, sampler); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits) +void _glew_gles_glUniformHandleui64IMG (GLint location, GLuint64 value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_conservative_raster - glSubpixelPrecisionBiasNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_conservative_raster] && glesConfig.m_glSubpixelPrecisionBiasNV) + // GL_IMG_bindless_texture - glUniformHandleui64IMG + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture] && glesConfig.m_glUniformHandleui64IMG) { prototypeCalled = true; - glesConfig.m_glSubpixelPrecisionBiasNV (xbits, ybits); + glesConfig.m_glUniformHandleui64IMG (location, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10448,18 +10636,18 @@ void _glew_gles_glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) +void _glew_gles_glUniformHandleui64vIMG (GLint location, GLsizei count, const GLuint64 * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_copy_buffer - glCopyBufferSubDataNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_copy_buffer] && glesConfig.m_glCopyBufferSubDataNV) + // GL_IMG_bindless_texture - glUniformHandleui64vIMG + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture] && glesConfig.m_glUniformHandleui64vIMG) { prototypeCalled = true; - glesConfig.m_glCopyBufferSubDataNV (readTarget, writeTarget, readOffset, writeOffset, size); + glesConfig.m_glUniformHandleui64vIMG (location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10471,18 +10659,18 @@ void _glew_gles_glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glCoverageMaskNV (GLboolean mask) +void _glew_gles_glProgramUniformHandleui64IMG (GLuint program, GLint location, GLuint64 value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_coverage_sample - glCoverageMaskNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_coverage_sample] && glesConfig.m_glCoverageMaskNV) + // GL_IMG_bindless_texture - glProgramUniformHandleui64IMG + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture] && glesConfig.m_glProgramUniformHandleui64IMG) { prototypeCalled = true; - glesConfig.m_glCoverageMaskNV (mask); + glesConfig.m_glProgramUniformHandleui64IMG (program, location, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10494,18 +10682,18 @@ void _glew_gles_glCoverageMaskNV (GLboolean mask) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glCoverageOperationNV (GLenum operation) +void _glew_gles_glProgramUniformHandleui64vIMG (GLuint program, GLint location, GLsizei count, const GLuint64 * values) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_coverage_sample - glCoverageOperationNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_coverage_sample] && glesConfig.m_glCoverageOperationNV) + // GL_IMG_bindless_texture - glProgramUniformHandleui64vIMG + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture] && glesConfig.m_glProgramUniformHandleui64vIMG) { prototypeCalled = true; - glesConfig.m_glCoverageOperationNV (operation); + glesConfig.m_glProgramUniformHandleui64vIMG (program, location, count, values); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10517,18 +10705,18 @@ void _glew_gles_glCoverageOperationNV (GLenum operation) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDrawBuffersNV (GLsizei n, const GLenum * bufs) +void _glew_gles_glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_draw_buffers - glDrawBuffersNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_draw_buffers] && glesConfig.m_glDrawBuffersNV) + // GL_IMG_framebuffer_downsample - glFramebufferTexture2DDownsampleIMG + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_IMG_framebuffer_downsample] && glesConfig.m_glFramebufferTexture2DDownsampleIMG) { prototypeCalled = true; - glesConfig.m_glDrawBuffersNV (n, bufs); + glesConfig.m_glFramebufferTexture2DDownsampleIMG (target, attachment, textarget, texture, level, xscale, yscale); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10540,18 +10728,18 @@ void _glew_gles_glDrawBuffersNV (GLsizei n, const GLenum * bufs) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount) +void _glew_gles_glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_draw_instanced - glDrawArraysInstancedNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_draw_instanced] && glesConfig.m_glDrawArraysInstancedNV) + // GL_IMG_framebuffer_downsample - glFramebufferTextureLayerDownsampleIMG + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_IMG_framebuffer_downsample] && glesConfig.m_glFramebufferTextureLayerDownsampleIMG) { prototypeCalled = true; - glesConfig.m_glDrawArraysInstancedNV (mode, first, count, primcount); + glesConfig.m_glFramebufferTextureLayerDownsampleIMG (target, attachment, texture, level, layer, xscale, yscale); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10563,18 +10751,18 @@ void _glew_gles_glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) +void _glew_gles_glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_draw_instanced - glDrawElementsInstancedNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_draw_instanced] && glesConfig.m_glDrawElementsInstancedNV) + // GL_IMG_multisampled_render_to_texture - glRenderbufferStorageMultisampleIMG + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_IMG_multisampled_render_to_texture] && glesConfig.m_glRenderbufferStorageMultisampleIMG) { prototypeCalled = true; - glesConfig.m_glDrawElementsInstancedNV (mode, count, type, indices, primcount); + glesConfig.m_glRenderbufferStorageMultisampleIMG (target, samples, internalformat, width, height); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10586,18 +10774,18 @@ void _glew_gles_glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum ty //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDeleteFencesNV (GLsizei n, const GLuint * fences) +void _glew_gles_glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fence - glDeleteFencesNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fence] && glesConfig.m_glDeleteFencesNV) + // GL_IMG_multisampled_render_to_texture - glFramebufferTexture2DMultisampleIMG + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_IMG_multisampled_render_to_texture] && glesConfig.m_glFramebufferTexture2DMultisampleIMG) { prototypeCalled = true; - glesConfig.m_glDeleteFencesNV (n, fences); + glesConfig.m_glFramebufferTexture2DMultisampleIMG (target, attachment, textarget, texture, level, samples); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10609,18 +10797,18 @@ void _glew_gles_glDeleteFencesNV (GLsizei n, const GLuint * fences) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGenFencesNV (GLsizei n, GLuint * fences) +void _glew_gles_glApplyFramebufferAttachmentCMAAINTEL () { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fence - glGenFencesNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fence] && glesConfig.m_glGenFencesNV) + // GL_INTEL_framebuffer_CMAA - glApplyFramebufferAttachmentCMAAINTEL + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_framebuffer_CMAA] && glesConfig.m_glApplyFramebufferAttachmentCMAAINTEL) { prototypeCalled = true; - glesConfig.m_glGenFencesNV (n, fences); + glesConfig.m_glApplyFramebufferAttachmentCMAAINTEL (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10632,68 +10820,64 @@ void _glew_gles_glGenFencesNV (GLsizei n, GLuint * fences) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gles_glIsFenceNV (GLuint fence) +void _glew_gles_glBeginPerfQueryINTEL (GLuint queryHandle) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fence - glIsFenceNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fence] && glesConfig.m_glIsFenceNV) + // GL_INTEL_performance_query - glBeginPerfQueryINTEL + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glBeginPerfQueryINTEL) { prototypeCalled = true; - result = glesConfig.m_glIsFenceNV (fence); + glesConfig.m_glBeginPerfQueryINTEL (queryHandle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gles_glTestFenceNV (GLuint fence) +void _glew_gles_glCreatePerfQueryINTEL (GLuint queryId, GLuint * queryHandle) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fence - glTestFenceNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fence] && glesConfig.m_glTestFenceNV) + // GL_INTEL_performance_query - glCreatePerfQueryINTEL + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glCreatePerfQueryINTEL) { prototypeCalled = true; - result = glesConfig.m_glTestFenceNV (fence); + glesConfig.m_glCreatePerfQueryINTEL (queryId, queryHandle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetFenceivNV (GLuint fence, GLenum pname, GLint * params) +void _glew_gles_glDeletePerfQueryINTEL (GLuint queryHandle) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fence - glGetFenceivNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fence] && glesConfig.m_glGetFenceivNV) + // GL_INTEL_performance_query - glDeletePerfQueryINTEL + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glDeletePerfQueryINTEL) { prototypeCalled = true; - glesConfig.m_glGetFenceivNV (fence, pname, params); + glesConfig.m_glDeletePerfQueryINTEL (queryHandle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10705,18 +10889,18 @@ void _glew_gles_glGetFenceivNV (GLuint fence, GLenum pname, GLint * params) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glFinishFenceNV (GLuint fence) +void _glew_gles_glEndPerfQueryINTEL (GLuint queryHandle) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fence - glFinishFenceNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fence] && glesConfig.m_glFinishFenceNV) + // GL_INTEL_performance_query - glEndPerfQueryINTEL + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glEndPerfQueryINTEL) { prototypeCalled = true; - glesConfig.m_glFinishFenceNV (fence); + glesConfig.m_glEndPerfQueryINTEL (queryHandle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10728,18 +10912,18 @@ void _glew_gles_glFinishFenceNV (GLuint fence) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glSetFenceNV (GLuint fence, GLenum condition) +void _glew_gles_glGetFirstPerfQueryIdINTEL (GLuint * queryId) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fence - glSetFenceNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fence] && glesConfig.m_glSetFenceNV) + // GL_INTEL_performance_query - glGetFirstPerfQueryIdINTEL + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glGetFirstPerfQueryIdINTEL) { prototypeCalled = true; - glesConfig.m_glSetFenceNV (fence, condition); + glesConfig.m_glGetFirstPerfQueryIdINTEL (queryId); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10751,18 +10935,18 @@ void _glew_gles_glSetFenceNV (GLuint fence, GLenum condition) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glFragmentCoverageColorNV (GLuint color) +void _glew_gles_glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint * nextQueryId) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_fragment_coverage_to_color - glFragmentCoverageColorNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fragment_coverage_to_color] && glesConfig.m_glFragmentCoverageColorNV) + // GL_INTEL_performance_query - glGetNextPerfQueryIdINTEL + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glGetNextPerfQueryIdINTEL) { prototypeCalled = true; - glesConfig.m_glFragmentCoverageColorNV (color); + glesConfig.m_glGetNextPerfQueryIdINTEL (queryId, nextQueryId); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10774,18 +10958,18 @@ void _glew_gles_glFragmentCoverageColorNV (GLuint color) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) +void _glew_gles_glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_framebuffer_blit - glBlitFramebufferNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_framebuffer_blit] && glesConfig.m_glBlitFramebufferNV) + // GL_INTEL_performance_query - glGetPerfCounterInfoINTEL + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glGetPerfCounterInfoINTEL) { prototypeCalled = true; - glesConfig.m_glBlitFramebufferNV (srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); + glesConfig.m_glGetPerfCounterInfoINTEL (queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10797,18 +10981,18 @@ void _glew_gles_glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glCoverageModulationTableNV (GLsizei n, const GLfloat * v) +void _glew_gles_glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void * data, GLuint * bytesWritten) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_framebuffer_mixed_samples - glCoverageModulationTableNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glesConfig.m_glCoverageModulationTableNV) + // GL_INTEL_performance_query - glGetPerfQueryDataINTEL + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glGetPerfQueryDataINTEL) { prototypeCalled = true; - glesConfig.m_glCoverageModulationTableNV (n, v); + glesConfig.m_glGetPerfQueryDataINTEL (queryHandle, flags, dataSize, data, bytesWritten); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10820,18 +11004,18 @@ void _glew_gles_glCoverageModulationTableNV (GLsizei n, const GLfloat * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat * v) +void _glew_gles_glGetPerfQueryIdByNameINTEL (GLchar * queryName, GLuint * queryId) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_framebuffer_mixed_samples - glGetCoverageModulationTableNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glesConfig.m_glGetCoverageModulationTableNV) + // GL_INTEL_performance_query - glGetPerfQueryIdByNameINTEL + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glGetPerfQueryIdByNameINTEL) { prototypeCalled = true; - glesConfig.m_glGetCoverageModulationTableNV (bufsize, v); + glesConfig.m_glGetPerfQueryIdByNameINTEL (queryName, queryId); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10843,18 +11027,18 @@ void _glew_gles_glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glCoverageModulationNV (GLenum components) +void _glew_gles_glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_framebuffer_mixed_samples - glCoverageModulationNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glesConfig.m_glCoverageModulationNV) + // GL_INTEL_performance_query - glGetPerfQueryInfoINTEL + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] && glesConfig.m_glGetPerfQueryInfoINTEL) { prototypeCalled = true; - glesConfig.m_glCoverageModulationNV (components); + glesConfig.m_glGetPerfQueryInfoINTEL (queryId, queryNameLength, queryName, dataSize, noCounters, noInstances, capsMask); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10866,18 +11050,18 @@ void _glew_gles_glCoverageModulationNV (GLenum components) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) +void _glew_gles_glBlendBarrierKHR () { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_framebuffer_multisample - glRenderbufferStorageMultisampleNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_framebuffer_multisample] && glesConfig.m_glRenderbufferStorageMultisampleNV) + // GL_KHR_blend_equation_advanced - glBlendBarrierKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_blend_equation_advanced] && glesConfig.m_glBlendBarrierKHR) { prototypeCalled = true; - glesConfig.m_glRenderbufferStorageMultisampleNV (target, samples, internalformat, width, height); + glesConfig.m_glBlendBarrierKHR (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10889,18 +11073,18 @@ void _glew_gles_glRenderbufferStorageMultisampleNV (GLenum target, GLsizei sampl //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glVertexAttribDivisorNV (GLuint index, GLuint divisor) +void _glew_gles_glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_instanced_arrays - glVertexAttribDivisorNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_instanced_arrays] && glesConfig.m_glVertexAttribDivisorNV) + // GL_KHR_debug - glDebugMessageControlKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glDebugMessageControlKHR) { prototypeCalled = true; - glesConfig.m_glVertexAttribDivisorNV (index, divisor); + glesConfig.m_glDebugMessageControlKHR (source, type, severity, count, ids, enabled); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10912,18 +11096,18 @@ void _glew_gles_glVertexAttribDivisorNV (GLuint index, GLuint divisor) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint * params) +void _glew_gles_glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_internalformat_sample_query - glGetInternalformatSampleivNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_internalformat_sample_query] && glesConfig.m_glGetInternalformatSampleivNV) + // GL_KHR_debug - glDebugMessageInsertKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glDebugMessageInsertKHR) { prototypeCalled = true; - glesConfig.m_glGetInternalformatSampleivNV (target, internalformat, samples, pname, bufSize, params); + glesConfig.m_glDebugMessageInsertKHR (source, type, id, severity, length, buf); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10935,18 +11119,18 @@ void _glew_gles_glGetInternalformatSampleivNV (GLenum target, GLenum internalfor //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +void _glew_gles_glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void * userParam) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_non_square_matrices - glUniformMatrix2x3fvNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices] && glesConfig.m_glUniformMatrix2x3fvNV) + // GL_KHR_debug - glDebugMessageCallbackKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glDebugMessageCallbackKHR) { prototypeCalled = true; - glesConfig.m_glUniformMatrix2x3fvNV (location, count, transpose, value); + glesConfig.m_glDebugMessageCallbackKHR (callback, userParam); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -10958,41 +11142,43 @@ void _glew_gles_glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +GLuint _glew_gles_glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_non_square_matrices - glUniformMatrix3x2fvNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices] && glesConfig.m_glUniformMatrix3x2fvNV) + // GL_KHR_debug - glGetDebugMessageLogKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glGetDebugMessageLogKHR) { prototypeCalled = true; - glesConfig.m_glUniformMatrix3x2fvNV (location, count, transpose, value); + result = glesConfig.m_glGetDebugMessageLogKHR (count, bufSize, sources, types, ids, severities, lengths, messageLog); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +void _glew_gles_glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar * message) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_non_square_matrices - glUniformMatrix2x4fvNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices] && glesConfig.m_glUniformMatrix2x4fvNV) + // GL_KHR_debug - glPushDebugGroupKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glPushDebugGroupKHR) { prototypeCalled = true; - glesConfig.m_glUniformMatrix2x4fvNV (location, count, transpose, value); + glesConfig.m_glPushDebugGroupKHR (source, id, length, message); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11004,18 +11190,18 @@ void _glew_gles_glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +void _glew_gles_glPopDebugGroupKHR () { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_non_square_matrices - glUniformMatrix4x2fvNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices] && glesConfig.m_glUniformMatrix4x2fvNV) + // GL_KHR_debug - glPopDebugGroupKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glPopDebugGroupKHR) { prototypeCalled = true; - glesConfig.m_glUniformMatrix4x2fvNV (location, count, transpose, value); + glesConfig.m_glPopDebugGroupKHR (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11027,18 +11213,18 @@ void _glew_gles_glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +void _glew_gles_glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar * label) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_non_square_matrices - glUniformMatrix3x4fvNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices] && glesConfig.m_glUniformMatrix3x4fvNV) + // GL_KHR_debug - glObjectLabelKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glObjectLabelKHR) { prototypeCalled = true; - glesConfig.m_glUniformMatrix3x4fvNV (location, count, transpose, value); + glesConfig.m_glObjectLabelKHR (identifier, name, length, label); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11050,18 +11236,18 @@ void _glew_gles_glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +void _glew_gles_glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_non_square_matrices - glUniformMatrix4x3fvNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices] && glesConfig.m_glUniformMatrix4x3fvNV) + // GL_KHR_debug - glGetObjectLabelKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glGetObjectLabelKHR) { prototypeCalled = true; - glesConfig.m_glUniformMatrix4x3fvNV (location, count, transpose, value); + glesConfig.m_glGetObjectLabelKHR (identifier, name, bufSize, length, label); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11073,43 +11259,41 @@ void _glew_gles_glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLuint _glew_gles_glGenPathsNV (GLsizei range) +void _glew_gles_glObjectPtrLabelKHR (const void * ptr, GLsizei length, const GLchar * label) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLuint result = ((GLuint)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glGenPathsNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGenPathsNV) + // GL_KHR_debug - glObjectPtrLabelKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glObjectPtrLabelKHR) { prototypeCalled = true; - result = glesConfig.m_glGenPathsNV (range); + glesConfig.m_glObjectPtrLabelKHR (ptr, length, label); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDeletePathsNV (GLuint path, GLsizei range) +void _glew_gles_glGetObjectPtrLabelKHR (const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glDeletePathsNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glDeletePathsNV) + // GL_KHR_debug - glGetObjectPtrLabelKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glGetObjectPtrLabelKHR) { prototypeCalled = true; - glesConfig.m_glDeletePathsNV (path, range); + glesConfig.m_glGetObjectPtrLabelKHR (ptr, bufSize, length, label); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11121,66 +11305,66 @@ void _glew_gles_glDeletePathsNV (GLuint path, GLsizei range) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gles_glIsPathNV (GLuint path) +void _glew_gles_glGetPointervKHR (GLenum pname, void ** params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glIsPathNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glIsPathNV) + // GL_KHR_debug - glGetPointervKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_debug] && glesConfig.m_glGetPointervKHR) { prototypeCalled = true; - result = glesConfig.m_glIsPathNV (path); + glesConfig.m_glGetPointervKHR (pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte * commands, GLsizei numCoords, GLenum coordType, const void * coords) +GLenum _glew_gles_glGetGraphicsResetStatusKHR () { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLenum result = ((GLenum)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathCommandsNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathCommandsNV) + // GL_KHR_robustness - glGetGraphicsResetStatusKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glesConfig.m_glGetGraphicsResetStatusKHR) { prototypeCalled = true; - glesConfig.m_glPathCommandsNV (path, numCommands, commands, numCoords, coordType, coords); + result = glesConfig.m_glGetGraphicsResetStatusKHR (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void * coords) +void _glew_gles_glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathCoordsNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathCoordsNV) + // GL_KHR_robustness - glReadnPixelsKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glesConfig.m_glReadnPixelsKHR) { prototypeCalled = true; - glesConfig.m_glPathCoordsNV (path, numCoords, coordType, coords); + glesConfig.m_glReadnPixelsKHR (x, y, width, height, format, type, bufSize, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11192,18 +11376,18 @@ void _glew_gles_glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte * commands, GLsizei numCoords, GLenum coordType, const void * coords) +void _glew_gles_glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathSubCommandsNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathSubCommandsNV) + // GL_KHR_robustness - glGetnUniformfvKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glesConfig.m_glGetnUniformfvKHR) { prototypeCalled = true; - glesConfig.m_glPathSubCommandsNV (path, commandStart, commandsToDelete, numCommands, commands, numCoords, coordType, coords); + glesConfig.m_glGetnUniformfvKHR (program, location, bufSize, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11215,18 +11399,18 @@ void _glew_gles_glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void * coords) +void _glew_gles_glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathSubCoordsNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathSubCoordsNV) + // GL_KHR_robustness - glGetnUniformivKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glesConfig.m_glGetnUniformivKHR) { prototypeCalled = true; - glesConfig.m_glPathSubCoordsNV (path, coordStart, numCoords, coordType, coords); + glesConfig.m_glGetnUniformivKHR (program, location, bufSize, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11238,18 +11422,18 @@ void _glew_gles_glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numC //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPathStringNV (GLuint path, GLenum format, GLsizei length, const void * pathString) +void _glew_gles_glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathStringNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathStringNV) + // GL_KHR_robustness - glGetnUniformuivKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_robustness] && glesConfig.m_glGetnUniformuivKHR) { prototypeCalled = true; - glesConfig.m_glPathStringNV (path, format, length, pathString); + glesConfig.m_glGetnUniformuivKHR (program, location, bufSize, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11261,18 +11445,18 @@ void _glew_gles_glPathStringNV (GLuint path, GLenum format, GLsizei length, cons //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void * charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale) +void _glew_gles_glMaxShaderCompilerThreadsKHR (GLuint count) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathGlyphsNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathGlyphsNV) + // GL_KHR_parallel_shader_compile - glMaxShaderCompilerThreadsKHR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_KHR_parallel_shader_compile] && glesConfig.m_glMaxShaderCompilerThreadsKHR) { prototypeCalled = true; - glesConfig.m_glPathGlyphsNV (firstPathName, fontTarget, fontName, fontStyle, numGlyphs, type, charcodes, handleMissingGlyphs, pathParameterTemplate, emScale); + glesConfig.m_glMaxShaderCompilerThreadsKHR (count); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11284,18 +11468,18 @@ void _glew_gles_glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const v //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale) +void _glew_gles_glFramebufferParameteriMESA (GLenum target, GLenum pname, GLint param) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathGlyphRangeNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathGlyphRangeNV) + // GL_MESA_framebuffer_flip_y - glFramebufferParameteriMESA + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_MESA_framebuffer_flip_y] && glesConfig.m_glFramebufferParameteriMESA) { prototypeCalled = true; - glesConfig.m_glPathGlyphRangeNV (firstPathName, fontTarget, fontName, fontStyle, firstGlyph, numGlyphs, handleMissingGlyphs, pathParameterTemplate, emScale); + glesConfig.m_glFramebufferParameteriMESA (target, pname, param); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11307,18 +11491,18 @@ void _glew_gles_glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, con //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint * paths, const GLfloat * weights) +void _glew_gles_glGetFramebufferParameterivMESA (GLenum target, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glWeightPathsNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glWeightPathsNV) + // GL_MESA_framebuffer_flip_y - glGetFramebufferParameterivMESA + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_MESA_framebuffer_flip_y] && glesConfig.m_glGetFramebufferParameterivMESA) { prototypeCalled = true; - glesConfig.m_glWeightPathsNV (resultPath, numPaths, paths, weights); + glesConfig.m_glGetFramebufferParameterivMESA (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11330,64 +11514,68 @@ void _glew_gles_glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLui //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glCopyPathNV (GLuint resultPath, GLuint srcPath) +GLuint64 _glew_gles_glGetTextureHandleNV (GLuint texture) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glCopyPathNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glCopyPathNV) + // GL_NV_bindless_texture - glGetTextureHandleNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glGetTextureHandleNV) { prototypeCalled = true; - glesConfig.m_glCopyPathNV (resultPath, srcPath); + result = glesConfig.m_glGetTextureHandleNV (texture); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight) +GLuint64 _glew_gles_glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glInterpolatePathsNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glInterpolatePathsNV) + // GL_NV_bindless_texture - glGetTextureSamplerHandleNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glGetTextureSamplerHandleNV) { prototypeCalled = true; - glesConfig.m_glInterpolatePathsNV (resultPath, pathA, pathB, weight); + result = glesConfig.m_glGetTextureSamplerHandleNV (texture, sampler); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat * transformValues) +void _glew_gles_glMakeTextureHandleResidentNV (GLuint64 handle) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glTransformPathNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glTransformPathNV) + // GL_NV_bindless_texture - glMakeTextureHandleResidentNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glMakeTextureHandleResidentNV) { prototypeCalled = true; - glesConfig.m_glTransformPathNV (resultPath, srcPath, transformType, transformValues); + glesConfig.m_glMakeTextureHandleResidentNV (handle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11399,18 +11587,18 @@ void _glew_gles_glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum tra //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPathParameterivNV (GLuint path, GLenum pname, const GLint * value) +void _glew_gles_glMakeTextureHandleNonResidentNV (GLuint64 handle) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathParameterivNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathParameterivNV) + // GL_NV_bindless_texture - glMakeTextureHandleNonResidentNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glMakeTextureHandleNonResidentNV) { prototypeCalled = true; - glesConfig.m_glPathParameterivNV (path, pname, value); + glesConfig.m_glMakeTextureHandleNonResidentNV (handle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11422,41 +11610,43 @@ void _glew_gles_glPathParameterivNV (GLuint path, GLenum pname, const GLint * va //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPathParameteriNV (GLuint path, GLenum pname, GLint value) +GLuint64 _glew_gles_glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLuint64 result = ((GLuint64)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathParameteriNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathParameteriNV) + // GL_NV_bindless_texture - glGetImageHandleNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glGetImageHandleNV) { prototypeCalled = true; - glesConfig.m_glPathParameteriNV (path, pname, value); + result = glesConfig.m_glGetImageHandleNV (texture, level, layered, layer, format); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat * value) +void _glew_gles_glMakeImageHandleResidentNV (GLuint64 handle, GLenum access) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathParameterfvNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathParameterfvNV) + // GL_NV_bindless_texture - glMakeImageHandleResidentNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glMakeImageHandleResidentNV) { prototypeCalled = true; - glesConfig.m_glPathParameterfvNV (path, pname, value); + glesConfig.m_glMakeImageHandleResidentNV (handle, access); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11468,18 +11658,18 @@ void _glew_gles_glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat * //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPathParameterfNV (GLuint path, GLenum pname, GLfloat value) +void _glew_gles_glMakeImageHandleNonResidentNV (GLuint64 handle) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathParameterfNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathParameterfNV) + // GL_NV_bindless_texture - glMakeImageHandleNonResidentNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glMakeImageHandleNonResidentNV) { prototypeCalled = true; - glesConfig.m_glPathParameterfNV (path, pname, value); + glesConfig.m_glMakeImageHandleNonResidentNV (handle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11491,18 +11681,18 @@ void _glew_gles_glPathParameterfNV (GLuint path, GLenum pname, GLfloat value) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat * dashArray) +void _glew_gles_glUniformHandleui64NV (GLint location, GLuint64 value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathDashArrayNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathDashArrayNV) + // GL_NV_bindless_texture - glUniformHandleui64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glUniformHandleui64NV) { prototypeCalled = true; - glesConfig.m_glPathDashArrayNV (path, dashCount, dashArray); + glesConfig.m_glUniformHandleui64NV (location, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11514,18 +11704,18 @@ void _glew_gles_glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask) +void _glew_gles_glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathStencilFuncNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathStencilFuncNV) + // GL_NV_bindless_texture - glUniformHandleui64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glUniformHandleui64vNV) { prototypeCalled = true; - glesConfig.m_glPathStencilFuncNV (func, ref, mask); + glesConfig.m_glUniformHandleui64vNV (location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11537,18 +11727,18 @@ void _glew_gles_glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units) +void _glew_gles_glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathStencilDepthOffsetNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathStencilDepthOffsetNV) + // GL_NV_bindless_texture - glProgramUniformHandleui64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glProgramUniformHandleui64NV) { prototypeCalled = true; - glesConfig.m_glPathStencilDepthOffsetNV (factor, units); + glesConfig.m_glProgramUniformHandleui64NV (program, location, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11560,18 +11750,18 @@ void _glew_gles_glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask) +void _glew_gles_glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 * values) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glStencilFillPathNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilFillPathNV) + // GL_NV_bindless_texture - glProgramUniformHandleui64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glProgramUniformHandleui64vNV) { prototypeCalled = true; - glesConfig.m_glStencilFillPathNV (path, fillMode, mask); + glesConfig.m_glProgramUniformHandleui64vNV (program, location, count, values); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11583,64 +11773,68 @@ void _glew_gles_glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask) +GLboolean _glew_gles_glIsTextureHandleResidentNV (GLuint64 handle) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glStencilStrokePathNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilStrokePathNV) + // GL_NV_bindless_texture - glIsTextureHandleResidentNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glIsTextureHandleResidentNV) { prototypeCalled = true; - glesConfig.m_glStencilStrokePathNV (path, reference, mask); + result = glesConfig.m_glIsTextureHandleResidentNV (handle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat * transformValues) +GLboolean _glew_gles_glIsImageHandleResidentNV (GLuint64 handle) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glStencilFillPathInstancedNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilFillPathInstancedNV) + // GL_NV_bindless_texture - glIsImageHandleResidentNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] && glesConfig.m_glIsImageHandleResidentNV) { prototypeCalled = true; - glesConfig.m_glStencilFillPathInstancedNV (numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, transformValues); + result = glesConfig.m_glIsImageHandleResidentNV (handle); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat * transformValues) +void _glew_gles_glBlendParameteriNV (GLenum pname, GLint value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glStencilStrokePathInstancedNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilStrokePathInstancedNV) + // GL_NV_blend_equation_advanced - glBlendParameteriNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_blend_equation_advanced] && glesConfig.m_glBlendParameteriNV) { prototypeCalled = true; - glesConfig.m_glStencilStrokePathInstancedNV (numPaths, pathNameType, paths, pathBase, reference, mask, transformType, transformValues); + glesConfig.m_glBlendParameteriNV (pname, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11652,18 +11846,18 @@ void _glew_gles_glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNam //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPathCoverDepthFuncNV (GLenum func) +void _glew_gles_glBlendBarrierNV () { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathCoverDepthFuncNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathCoverDepthFuncNV) + // GL_NV_blend_equation_advanced - glBlendBarrierNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_blend_equation_advanced] && glesConfig.m_glBlendBarrierNV) { prototypeCalled = true; - glesConfig.m_glPathCoverDepthFuncNV (func); + glesConfig.m_glBlendBarrierNV (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11675,18 +11869,18 @@ void _glew_gles_glPathCoverDepthFuncNV (GLenum func) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glCoverFillPathNV (GLuint path, GLenum coverMode) +void _glew_gles_glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glCoverFillPathNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glCoverFillPathNV) + // GL_NV_clip_space_w_scaling - glViewportPositionWScaleNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_clip_space_w_scaling] && glesConfig.m_glViewportPositionWScaleNV) { prototypeCalled = true; - glesConfig.m_glCoverFillPathNV (path, coverMode); + glesConfig.m_glViewportPositionWScaleNV (index, xcoeff, ycoeff); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11698,18 +11892,18 @@ void _glew_gles_glCoverFillPathNV (GLuint path, GLenum coverMode) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glCoverStrokePathNV (GLuint path, GLenum coverMode) +void _glew_gles_glBeginConditionalRenderNV (GLuint id, GLenum mode) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glCoverStrokePathNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glCoverStrokePathNV) + // GL_NV_conditional_render - glBeginConditionalRenderNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_conditional_render] && glesConfig.m_glBeginConditionalRenderNV) { prototypeCalled = true; - glesConfig.m_glCoverStrokePathNV (path, coverMode); + glesConfig.m_glBeginConditionalRenderNV (id, mode); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11721,18 +11915,18 @@ void _glew_gles_glCoverStrokePathNV (GLuint path, GLenum coverMode) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues) +void _glew_gles_glEndConditionalRenderNV () { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glCoverFillPathInstancedNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glCoverFillPathInstancedNV) + // GL_NV_conditional_render - glEndConditionalRenderNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_conditional_render] && glesConfig.m_glEndConditionalRenderNV) { prototypeCalled = true; - glesConfig.m_glCoverFillPathInstancedNV (numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); + glesConfig.m_glEndConditionalRenderNV (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11744,18 +11938,18 @@ void _glew_gles_glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameTyp //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues) +void _glew_gles_glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glCoverStrokePathInstancedNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glCoverStrokePathInstancedNV) + // GL_NV_conservative_raster - glSubpixelPrecisionBiasNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_conservative_raster] && glesConfig.m_glSubpixelPrecisionBiasNV) { prototypeCalled = true; - glesConfig.m_glCoverStrokePathInstancedNV (numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); + glesConfig.m_glSubpixelPrecisionBiasNV (xbits, ybits); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11767,18 +11961,18 @@ void _glew_gles_glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameT //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetPathParameterivNV (GLuint path, GLenum pname, GLint * value) +void _glew_gles_glConservativeRasterParameteriNV (GLenum pname, GLint param) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glGetPathParameterivNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathParameterivNV) + // GL_NV_conservative_raster_pre_snap_triangles - glConservativeRasterParameteriNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_conservative_raster_pre_snap_triangles] && glesConfig.m_glConservativeRasterParameteriNV) { prototypeCalled = true; - glesConfig.m_glGetPathParameterivNV (path, pname, value); + glesConfig.m_glConservativeRasterParameteriNV (pname, param); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11790,18 +11984,18 @@ void _glew_gles_glGetPathParameterivNV (GLuint path, GLenum pname, GLint * value //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat * value) +void _glew_gles_glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glGetPathParameterfvNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathParameterfvNV) + // GL_NV_copy_buffer - glCopyBufferSubDataNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_copy_buffer] && glesConfig.m_glCopyBufferSubDataNV) { prototypeCalled = true; - glesConfig.m_glGetPathParameterfvNV (path, pname, value); + glesConfig.m_glCopyBufferSubDataNV (readTarget, writeTarget, readOffset, writeOffset, size); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11813,18 +12007,18 @@ void _glew_gles_glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat * val //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetPathCommandsNV (GLuint path, GLubyte * commands) +void _glew_gles_glCoverageMaskNV (GLboolean mask) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glGetPathCommandsNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathCommandsNV) + // GL_NV_coverage_sample - glCoverageMaskNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_coverage_sample] && glesConfig.m_glCoverageMaskNV) { prototypeCalled = true; - glesConfig.m_glGetPathCommandsNV (path, commands); + glesConfig.m_glCoverageMaskNV (mask); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11836,18 +12030,18 @@ void _glew_gles_glGetPathCommandsNV (GLuint path, GLubyte * commands) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetPathCoordsNV (GLuint path, GLfloat * coords) +void _glew_gles_glCoverageOperationNV (GLenum operation) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glGetPathCoordsNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathCoordsNV) + // GL_NV_coverage_sample - glCoverageOperationNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_coverage_sample] && glesConfig.m_glCoverageOperationNV) { prototypeCalled = true; - glesConfig.m_glGetPathCoordsNV (path, coords); + glesConfig.m_glCoverageOperationNV (operation); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11859,18 +12053,18 @@ void _glew_gles_glGetPathCoordsNV (GLuint path, GLfloat * coords) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetPathDashArrayNV (GLuint path, GLfloat * dashArray) +void _glew_gles_glDrawBuffersNV (GLsizei n, const GLenum * bufs) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glGetPathDashArrayNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathDashArrayNV) + // GL_NV_draw_buffers - glDrawBuffersNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_draw_buffers] && glesConfig.m_glDrawBuffersNV) { prototypeCalled = true; - glesConfig.m_glGetPathDashArrayNV (path, dashArray); + glesConfig.m_glDrawBuffersNV (n, bufs); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11882,18 +12076,18 @@ void _glew_gles_glGetPathDashArrayNV (GLuint path, GLfloat * dashArray) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLsizei stride, GLfloat * metrics) +void _glew_gles_glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glGetPathMetricsNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathMetricsNV) + // GL_NV_draw_instanced - glDrawArraysInstancedNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_draw_instanced] && glesConfig.m_glDrawArraysInstancedNV) { prototypeCalled = true; - glesConfig.m_glGetPathMetricsNV (metricQueryMask, numPaths, pathNameType, paths, pathBase, stride, metrics); + glesConfig.m_glDrawArraysInstancedNV (mode, first, count, primcount); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11905,18 +12099,18 @@ void _glew_gles_glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat * metrics) +void _glew_gles_glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glGetPathMetricRangeNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathMetricRangeNV) + // GL_NV_draw_instanced - glDrawElementsInstancedNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_draw_instanced] && glesConfig.m_glDrawElementsInstancedNV) { prototypeCalled = true; - glesConfig.m_glGetPathMetricRangeNV (metricQueryMask, firstPathName, numPaths, stride, metrics); + glesConfig.m_glDrawElementsInstancedNV (mode, count, type, indices, primcount); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11928,18 +12122,18 @@ void _glew_gles_glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint first //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat * returnedSpacing) +void _glew_gles_glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glGetPathSpacingNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathSpacingNV) + // GL_NV_draw_vulkan_image - glDrawVkImageNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_draw_vulkan_image] && glesConfig.m_glDrawVkImageNV) { prototypeCalled = true; - glesConfig.m_glGetPathSpacingNV (pathListMode, numPaths, pathNameType, paths, pathBase, advanceScale, kerningScale, transformType, returnedSpacing); + glesConfig.m_glDrawVkImageNV (vkImage, sampler, x0, y0, x1, y1, z, s0, t0, s1, t1); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11951,19 +12145,19 @@ void _glew_gles_glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenu //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gles_glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y) +GLVULKANPROCNV _glew_gles_glGetVkProcAddrNV (const GLchar * name) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLboolean result = ((GLboolean)0); + GLVULKANPROCNV result = ((GLVULKANPROCNV)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glIsPointInFillPathNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glIsPointInFillPathNV) + // GL_NV_draw_vulkan_image - glGetVkProcAddrNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_draw_vulkan_image] && glesConfig.m_glGetVkProcAddrNV) { prototypeCalled = true; - result = glesConfig.m_glIsPointInFillPathNV (path, mask, x, y); + result = glesConfig.m_glGetVkProcAddrNV (name); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -11976,93 +12170,87 @@ GLboolean _glew_gles_glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gles_glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y) +void _glew_gles_glWaitVkSemaphoreNV (GLuint64 vkSemaphore) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glIsPointInStrokePathNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glIsPointInStrokePathNV) + // GL_NV_draw_vulkan_image - glWaitVkSemaphoreNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_draw_vulkan_image] && glesConfig.m_glWaitVkSemaphoreNV) { prototypeCalled = true; - result = glesConfig.m_glIsPointInStrokePathNV (path, x, y); + glesConfig.m_glWaitVkSemaphoreNV (vkSemaphore); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLfloat _glew_gles_glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments) +void _glew_gles_glSignalVkSemaphoreNV (GLuint64 vkSemaphore) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLfloat result = ((GLfloat)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glGetPathLengthNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathLengthNV) + // GL_NV_draw_vulkan_image - glSignalVkSemaphoreNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_draw_vulkan_image] && glesConfig.m_glSignalVkSemaphoreNV) { prototypeCalled = true; - result = glesConfig.m_glGetPathLengthNV (path, startSegment, numSegments); + glesConfig.m_glSignalVkSemaphoreNV (vkSemaphore); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gles_glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat * x, GLfloat * y, GLfloat * tangentX, GLfloat * tangentY) +void _glew_gles_glSignalVkFenceNV (GLuint64 vkFence) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPointAlongPathNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPointAlongPathNV) + // GL_NV_draw_vulkan_image - glSignalVkFenceNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_draw_vulkan_image] && glesConfig.m_glSignalVkFenceNV) { prototypeCalled = true; - result = glesConfig.m_glPointAlongPathNV (path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + glesConfig.m_glSignalVkFenceNV (vkFence); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat * m) +void _glew_gles_glDeleteFencesNV (GLsizei n, const GLuint * fences) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glMatrixLoad3x2fNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glMatrixLoad3x2fNV) + // GL_NV_fence - glDeleteFencesNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fence] && glesConfig.m_glDeleteFencesNV) { prototypeCalled = true; - glesConfig.m_glMatrixLoad3x2fNV (matrixMode, m); + glesConfig.m_glDeleteFencesNV (n, fences); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12074,18 +12262,18 @@ void _glew_gles_glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat * m) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat * m) +void _glew_gles_glGenFencesNV (GLsizei n, GLuint * fences) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glMatrixLoad3x3fNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glMatrixLoad3x3fNV) + // GL_NV_fence - glGenFencesNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fence] && glesConfig.m_glGenFencesNV) { prototypeCalled = true; - glesConfig.m_glMatrixLoad3x3fNV (matrixMode, m); + glesConfig.m_glGenFencesNV (n, fences); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12097,64 +12285,68 @@ void _glew_gles_glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat * m) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat * m) +GLboolean _glew_gles_glIsFenceNV (GLuint fence) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glMatrixLoadTranspose3x3fNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glMatrixLoadTranspose3x3fNV) + // GL_NV_fence - glIsFenceNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fence] && glesConfig.m_glIsFenceNV) { prototypeCalled = true; - glesConfig.m_glMatrixLoadTranspose3x3fNV (matrixMode, m); + result = glesConfig.m_glIsFenceNV (fence); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat * m) +GLboolean _glew_gles_glTestFenceNV (GLuint fence) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glMatrixMult3x2fNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glMatrixMult3x2fNV) + // GL_NV_fence - glTestFenceNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fence] && glesConfig.m_glTestFenceNV) { prototypeCalled = true; - glesConfig.m_glMatrixMult3x2fNV (matrixMode, m); + result = glesConfig.m_glTestFenceNV (fence); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat * m) +void _glew_gles_glGetFenceivNV (GLuint fence, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glMatrixMult3x3fNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glMatrixMult3x3fNV) + // GL_NV_fence - glGetFenceivNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fence] && glesConfig.m_glGetFenceivNV) { prototypeCalled = true; - glesConfig.m_glMatrixMult3x3fNV (matrixMode, m); + glesConfig.m_glGetFenceivNV (fence, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12166,18 +12358,18 @@ void _glew_gles_glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat * m) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat * m) +void _glew_gles_glFinishFenceNV (GLuint fence) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glMatrixMultTranspose3x3fNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glMatrixMultTranspose3x3fNV) + // GL_NV_fence - glFinishFenceNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fence] && glesConfig.m_glFinishFenceNV) { prototypeCalled = true; - glesConfig.m_glMatrixMultTranspose3x3fNV (matrixMode, m); + glesConfig.m_glFinishFenceNV (fence); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12189,18 +12381,18 @@ void _glew_gles_glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat * //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode) +void _glew_gles_glSetFenceNV (GLuint fence, GLenum condition) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glStencilThenCoverFillPathNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilThenCoverFillPathNV) + // GL_NV_fence - glSetFenceNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fence] && glesConfig.m_glSetFenceNV) { prototypeCalled = true; - glesConfig.m_glStencilThenCoverFillPathNV (path, fillMode, mask, coverMode); + glesConfig.m_glSetFenceNV (fence, condition); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12212,18 +12404,18 @@ void _glew_gles_glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLui //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode) +void _glew_gles_glFragmentCoverageColorNV (GLuint color) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glStencilThenCoverStrokePathNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilThenCoverStrokePathNV) + // GL_NV_fragment_coverage_to_color - glFragmentCoverageColorNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_fragment_coverage_to_color] && glesConfig.m_glFragmentCoverageColorNV) { prototypeCalled = true; - glesConfig.m_glStencilThenCoverStrokePathNV (path, reference, mask, coverMode); + glesConfig.m_glFragmentCoverageColorNV (color); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12235,18 +12427,18 @@ void _glew_gles_glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues) +void _glew_gles_glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glStencilThenCoverFillPathInstancedNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilThenCoverFillPathInstancedNV) + // GL_NV_framebuffer_blit - glBlitFramebufferNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_framebuffer_blit] && glesConfig.m_glBlitFramebufferNV) { prototypeCalled = true; - glesConfig.m_glStencilThenCoverFillPathInstancedNV (numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, transformType, transformValues); + glesConfig.m_glBlitFramebufferNV (srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12258,18 +12450,18 @@ void _glew_gles_glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues) +void _glew_gles_glCoverageModulationTableNV (GLsizei n, const GLfloat * v) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glStencilThenCoverStrokePathInstancedNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilThenCoverStrokePathInstancedNV) + // GL_NV_framebuffer_mixed_samples - glCoverageModulationTableNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glesConfig.m_glCoverageModulationTableNV) { prototypeCalled = true; - glesConfig.m_glStencilThenCoverStrokePathInstancedNV (numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, transformType, transformValues); + glesConfig.m_glCoverageModulationTableNV (n, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12281,93 +12473,87 @@ void _glew_gles_glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenu //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLenum _glew_gles_glPathGlyphIndexRangeNV (GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]) +void _glew_gles_glGetCoverageModulationTableNV (GLsizei bufSize, GLfloat * v) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLenum result = ((GLenum)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathGlyphIndexRangeNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathGlyphIndexRangeNV) + // GL_NV_framebuffer_mixed_samples - glGetCoverageModulationTableNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glesConfig.m_glGetCoverageModulationTableNV) { prototypeCalled = true; - result = glesConfig.m_glPathGlyphIndexRangeNV (fontTarget, fontName, fontStyle, pathParameterTemplate, emScale, baseAndCount); + glesConfig.m_glGetCoverageModulationTableNV (bufSize, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLenum _glew_gles_glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale) +void _glew_gles_glCoverageModulationNV (GLenum components) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLenum result = ((GLenum)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathGlyphIndexArrayNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathGlyphIndexArrayNV) + // GL_NV_framebuffer_mixed_samples - glCoverageModulationNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] && glesConfig.m_glCoverageModulationNV) { prototypeCalled = true; - result = glesConfig.m_glPathGlyphIndexArrayNV (firstPathName, fontTarget, fontName, fontStyle, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); + glesConfig.m_glCoverageModulationNV (components); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLenum _glew_gles_glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void * fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale) +void _glew_gles_glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLenum result = ((GLenum)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glPathMemoryGlyphIndexArrayNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathMemoryGlyphIndexArrayNV) + // GL_NV_framebuffer_multisample - glRenderbufferStorageMultisampleNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_framebuffer_multisample] && glesConfig.m_glRenderbufferStorageMultisampleNV) { prototypeCalled = true; - result = glesConfig.m_glPathMemoryGlyphIndexArrayNV (firstPathName, fontTarget, fontSize, fontData, faceIndex, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); + glesConfig.m_glRenderbufferStorageMultisampleNV (target, samples, internalformat, width, height); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat * coeffs) +void _glew_gles_glUniform1i64NV (GLint location, GLint64EXT x) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glProgramPathFragmentInputGenNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glProgramPathFragmentInputGenNV) + // GL_NV_gpu_shader5 - glUniform1i64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform1i64NV) { prototypeCalled = true; - glesConfig.m_glProgramPathFragmentInputGenNV (program, location, genMode, components, coeffs); + glesConfig.m_glUniform1i64NV (location, x); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12379,18 +12565,18 @@ void _glew_gles_glProgramPathFragmentInputGenNV (GLuint program, GLint location, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLfloat * params) +void _glew_gles_glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_path_rendering - glGetProgramResourcefvNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetProgramResourcefvNV) + // GL_NV_gpu_shader5 - glUniform2i64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform2i64NV) { prototypeCalled = true; - glesConfig.m_glGetProgramResourcefvNV (program, programInterface, index, propCount, props, bufSize, length, params); + glesConfig.m_glUniform2i64NV (location, x, y); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12402,18 +12588,18 @@ void _glew_gles_glGetProgramResourcefvNV (GLuint program, GLenum programInterfac //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPolygonModeNV (GLenum face, GLenum mode) +void _glew_gles_glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_polygon_mode - glPolygonModeNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_polygon_mode] && glesConfig.m_glPolygonModeNV) + // GL_NV_gpu_shader5 - glUniform3i64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform3i64NV) { prototypeCalled = true; - glesConfig.m_glPolygonModeNV (face, mode); + glesConfig.m_glUniform3i64NV (location, x, y, z); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12425,18 +12611,18 @@ void _glew_gles_glPolygonModeNV (GLenum face, GLenum mode) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glReadBufferNV (GLenum mode) +void _glew_gles_glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_read_buffer - glReadBufferNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_read_buffer] && glesConfig.m_glReadBufferNV) + // GL_NV_gpu_shader5 - glUniform4i64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform4i64NV) { prototypeCalled = true; - glesConfig.m_glReadBufferNV (mode); + glesConfig.m_glUniform4i64NV (location, x, y, z, w); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12448,18 +12634,18 @@ void _glew_gles_glReadBufferNV (GLenum mode) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat * v) +void _glew_gles_glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_sample_locations - glFramebufferSampleLocationsfvNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_sample_locations] && glesConfig.m_glFramebufferSampleLocationsfvNV) + // GL_NV_gpu_shader5 - glUniform1i64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform1i64vNV) { prototypeCalled = true; - glesConfig.m_glFramebufferSampleLocationsfvNV (target, start, count, v); + glesConfig.m_glUniform1i64vNV (location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12471,18 +12657,18 @@ void _glew_gles_glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, G //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v) +void _glew_gles_glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_sample_locations - glNamedFramebufferSampleLocationsfvNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_sample_locations] && glesConfig.m_glNamedFramebufferSampleLocationsfvNV) + // GL_NV_gpu_shader5 - glUniform2i64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform2i64vNV) { prototypeCalled = true; - glesConfig.m_glNamedFramebufferSampleLocationsfvNV (framebuffer, start, count, v); + glesConfig.m_glUniform2i64vNV (location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12494,18 +12680,18 @@ void _glew_gles_glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glResolveDepthValuesNV () +void _glew_gles_glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_sample_locations - glResolveDepthValuesNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_sample_locations] && glesConfig.m_glResolveDepthValuesNV) + // GL_NV_gpu_shader5 - glUniform3i64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform3i64vNV) { prototypeCalled = true; - glesConfig.m_glResolveDepthValuesNV (); + glesConfig.m_glUniform3i64vNV (location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12517,18 +12703,18 @@ void _glew_gles_glResolveDepthValuesNV () //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glViewportArrayvNV (GLuint first, GLsizei count, const GLfloat * v) +void _glew_gles_glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_viewport_array - glViewportArrayvNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glViewportArrayvNV) + // GL_NV_gpu_shader5 - glUniform4i64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform4i64vNV) { prototypeCalled = true; - glesConfig.m_glViewportArrayvNV (first, count, v); + glesConfig.m_glUniform4i64vNV (location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12540,18 +12726,18 @@ void _glew_gles_glViewportArrayvNV (GLuint first, GLsizei count, const GLfloat * //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glViewportIndexedfNV (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h) +void _glew_gles_glUniform1ui64NV (GLint location, GLuint64EXT x) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_viewport_array - glViewportIndexedfNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glViewportIndexedfNV) + // GL_NV_gpu_shader5 - glUniform1ui64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform1ui64NV) { prototypeCalled = true; - glesConfig.m_glViewportIndexedfNV (index, x, y, w, h); + glesConfig.m_glUniform1ui64NV (location, x); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12563,18 +12749,18 @@ void _glew_gles_glViewportIndexedfNV (GLuint index, GLfloat x, GLfloat y, GLfloa //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glViewportIndexedfvNV (GLuint index, const GLfloat * v) +void _glew_gles_glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_viewport_array - glViewportIndexedfvNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glViewportIndexedfvNV) + // GL_NV_gpu_shader5 - glUniform2ui64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform2ui64NV) { prototypeCalled = true; - glesConfig.m_glViewportIndexedfvNV (index, v); + glesConfig.m_glUniform2ui64NV (location, x, y); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12586,18 +12772,18 @@ void _glew_gles_glViewportIndexedfvNV (GLuint index, const GLfloat * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glScissorArrayvNV (GLuint first, GLsizei count, const GLint * v) +void _glew_gles_glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_viewport_array - glScissorArrayvNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glScissorArrayvNV) + // GL_NV_gpu_shader5 - glUniform3ui64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform3ui64NV) { prototypeCalled = true; - glesConfig.m_glScissorArrayvNV (first, count, v); + glesConfig.m_glUniform3ui64NV (location, x, y, z); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12609,18 +12795,18 @@ void _glew_gles_glScissorArrayvNV (GLuint first, GLsizei count, const GLint * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glScissorIndexedNV (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height) +void _glew_gles_glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_viewport_array - glScissorIndexedNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glScissorIndexedNV) + // GL_NV_gpu_shader5 - glUniform4ui64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform4ui64NV) { prototypeCalled = true; - glesConfig.m_glScissorIndexedNV (index, left, bottom, width, height); + glesConfig.m_glUniform4ui64NV (location, x, y, z, w); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12632,18 +12818,18 @@ void _glew_gles_glScissorIndexedNV (GLuint index, GLint left, GLint bottom, GLsi //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glScissorIndexedvNV (GLuint index, const GLint * v) +void _glew_gles_glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT * value) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_viewport_array - glScissorIndexedvNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glScissorIndexedvNV) + // GL_NV_gpu_shader5 - glUniform1ui64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform1ui64vNV) { prototypeCalled = true; - glesConfig.m_glScissorIndexedvNV (index, v); + glesConfig.m_glUniform1ui64vNV (location, count, value); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12655,7 +12841,2762 @@ void _glew_gles_glScissorIndexedvNV (GLuint index, const GLint * v) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDepthRangeArrayfvNV (GLuint first, GLsizei count, const GLfloat * v) +void _glew_gles_glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glUniform2ui64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform2ui64vNV) + { + prototypeCalled = true; + glesConfig.m_glUniform2ui64vNV (location, count, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glUniform3ui64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform3ui64vNV) + { + prototypeCalled = true; + glesConfig.m_glUniform3ui64vNV (location, count, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glUniform4ui64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glUniform4ui64vNV) + { + prototypeCalled = true; + glesConfig.m_glUniform4ui64vNV (location, count, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT * params) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glGetUniformi64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glGetUniformi64vNV) + { + prototypeCalled = true; + glesConfig.m_glGetUniformi64vNV (program, location, params); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform1i64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform1i64NV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform1i64NV (program, location, x); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform2i64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform2i64NV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform2i64NV (program, location, x, y); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform3i64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform3i64NV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform3i64NV (program, location, x, y, z); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform4i64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform4i64NV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform4i64NV (program, location, x, y, z, w); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform1i64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform1i64vNV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform1i64vNV (program, location, count, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform2i64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform2i64vNV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform2i64vNV (program, location, count, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform3i64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform3i64vNV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform3i64vNV (program, location, count, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform4i64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform4i64vNV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform4i64vNV (program, location, count, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform1ui64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform1ui64NV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform1ui64NV (program, location, x); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform2ui64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform2ui64NV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform2ui64NV (program, location, x, y); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform3ui64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform3ui64NV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform3ui64NV (program, location, x, y, z); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform4ui64NV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform4ui64NV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform4ui64NV (program, location, x, y, z, w); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform1ui64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform1ui64vNV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform1ui64vNV (program, location, count, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform2ui64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform2ui64vNV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform2ui64vNV (program, location, count, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform3ui64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform3ui64vNV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform3ui64vNV (program, location, count, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_gpu_shader5 - glProgramUniform4ui64vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] && glesConfig.m_glProgramUniform4ui64vNV) + { + prototypeCalled = true; + glesConfig.m_glProgramUniform4ui64vNV (program, location, count, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glVertexAttribDivisorNV (GLuint index, GLuint divisor) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_instanced_arrays - glVertexAttribDivisorNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_instanced_arrays] && glesConfig.m_glVertexAttribDivisorNV) + { + prototypeCalled = true; + glesConfig.m_glVertexAttribDivisorNV (index, divisor); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint * params) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_internalformat_sample_query - glGetInternalformatSampleivNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_internalformat_sample_query] && glesConfig.m_glGetInternalformatSampleivNV) + { + prototypeCalled = true; + glesConfig.m_glGetInternalformatSampleivNV (target, internalformat, samples, pname, count, params); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint * params) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_memory_attachment - glGetMemoryObjectDetachedResourcesuivNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_memory_attachment] && glesConfig.m_glGetMemoryObjectDetachedResourcesuivNV) + { + prototypeCalled = true; + glesConfig.m_glGetMemoryObjectDetachedResourcesuivNV (memory, pname, first, count, params); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glResetMemoryObjectParameterNV (GLuint memory, GLenum pname) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_memory_attachment - glResetMemoryObjectParameterNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_memory_attachment] && glesConfig.m_glResetMemoryObjectParameterNV) + { + prototypeCalled = true; + glesConfig.m_glResetMemoryObjectParameterNV (memory, pname); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_memory_attachment - glTexAttachMemoryNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_memory_attachment] && glesConfig.m_glTexAttachMemoryNV) + { + prototypeCalled = true; + glesConfig.m_glTexAttachMemoryNV (target, memory, offset); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_memory_attachment - glBufferAttachMemoryNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_memory_attachment] && glesConfig.m_glBufferAttachMemoryNV) + { + prototypeCalled = true; + glesConfig.m_glBufferAttachMemoryNV (target, memory, offset); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_memory_attachment - glTextureAttachMemoryNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_memory_attachment] && glesConfig.m_glTextureAttachMemoryNV) + { + prototypeCalled = true; + glesConfig.m_glTextureAttachMemoryNV (texture, memory, offset); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_memory_attachment - glNamedBufferAttachMemoryNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_memory_attachment] && glesConfig.m_glNamedBufferAttachMemoryNV) + { + prototypeCalled = true; + glesConfig.m_glNamedBufferAttachMemoryNV (buffer, memory, offset); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_memory_object_sparse - glBufferPageCommitmentMemNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_memory_object_sparse] && glesConfig.m_glBufferPageCommitmentMemNV) + { + prototypeCalled = true; + glesConfig.m_glBufferPageCommitmentMemNV (target, offset, size, memory, memOffset, commit); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glTexPageCommitmentMemNV (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_memory_object_sparse - glTexPageCommitmentMemNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_memory_object_sparse] && glesConfig.m_glTexPageCommitmentMemNV) + { + prototypeCalled = true; + glesConfig.m_glTexPageCommitmentMemNV (target, layer, level, xoffset, yoffset, zoffset, width, height, depth, memory, offset, commit); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_memory_object_sparse - glNamedBufferPageCommitmentMemNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_memory_object_sparse] && glesConfig.m_glNamedBufferPageCommitmentMemNV) + { + prototypeCalled = true; + glesConfig.m_glNamedBufferPageCommitmentMemNV (buffer, offset, size, memory, memOffset, commit); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glTexturePageCommitmentMemNV (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_memory_object_sparse - glTexturePageCommitmentMemNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_memory_object_sparse] && glesConfig.m_glTexturePageCommitmentMemNV) + { + prototypeCalled = true; + glesConfig.m_glTexturePageCommitmentMemNV (texture, layer, level, xoffset, yoffset, zoffset, width, height, depth, memory, offset, commit); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glDrawMeshTasksNV (GLuint first, GLuint count) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_mesh_shader - glDrawMeshTasksNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_mesh_shader] && glesConfig.m_glDrawMeshTasksNV) + { + prototypeCalled = true; + glesConfig.m_glDrawMeshTasksNV (first, count); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glDrawMeshTasksIndirectNV (GLintptr indirect) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_mesh_shader - glDrawMeshTasksIndirectNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_mesh_shader] && glesConfig.m_glDrawMeshTasksIndirectNV) + { + prototypeCalled = true; + glesConfig.m_glDrawMeshTasksIndirectNV (indirect); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_mesh_shader - glMultiDrawMeshTasksIndirectNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_mesh_shader] && glesConfig.m_glMultiDrawMeshTasksIndirectNV) + { + prototypeCalled = true; + glesConfig.m_glMultiDrawMeshTasksIndirectNV (indirect, drawcount, stride); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_mesh_shader - glMultiDrawMeshTasksIndirectCountNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_mesh_shader] && glesConfig.m_glMultiDrawMeshTasksIndirectCountNV) + { + prototypeCalled = true; + glesConfig.m_glMultiDrawMeshTasksIndirectCountNV (indirect, drawcount, maxdrawcount, stride); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_non_square_matrices - glUniformMatrix2x3fvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices] && glesConfig.m_glUniformMatrix2x3fvNV) + { + prototypeCalled = true; + glesConfig.m_glUniformMatrix2x3fvNV (location, count, transpose, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_non_square_matrices - glUniformMatrix3x2fvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices] && glesConfig.m_glUniformMatrix3x2fvNV) + { + prototypeCalled = true; + glesConfig.m_glUniformMatrix3x2fvNV (location, count, transpose, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_non_square_matrices - glUniformMatrix2x4fvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices] && glesConfig.m_glUniformMatrix2x4fvNV) + { + prototypeCalled = true; + glesConfig.m_glUniformMatrix2x4fvNV (location, count, transpose, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_non_square_matrices - glUniformMatrix4x2fvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices] && glesConfig.m_glUniformMatrix4x2fvNV) + { + prototypeCalled = true; + glesConfig.m_glUniformMatrix4x2fvNV (location, count, transpose, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_non_square_matrices - glUniformMatrix3x4fvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices] && glesConfig.m_glUniformMatrix3x4fvNV) + { + prototypeCalled = true; + glesConfig.m_glUniformMatrix3x4fvNV (location, count, transpose, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_non_square_matrices - glUniformMatrix4x3fvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices] && glesConfig.m_glUniformMatrix4x3fvNV) + { + prototypeCalled = true; + glesConfig.m_glUniformMatrix4x3fvNV (location, count, transpose, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLuint _glew_gles_glGenPathsNV (GLsizei range) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLuint result = ((GLuint)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glGenPathsNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGenPathsNV) + { + prototypeCalled = true; + result = glesConfig.m_glGenPathsNV (range); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glDeletePathsNV (GLuint path, GLsizei range) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glDeletePathsNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glDeletePathsNV) + { + prototypeCalled = true; + glesConfig.m_glDeletePathsNV (path, range); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLboolean _glew_gles_glIsPathNV (GLuint path) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glIsPathNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glIsPathNV) + { + prototypeCalled = true; + result = glesConfig.m_glIsPathNV (path); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte * commands, GLsizei numCoords, GLenum coordType, const void * coords) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathCommandsNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathCommandsNV) + { + prototypeCalled = true; + glesConfig.m_glPathCommandsNV (path, numCommands, commands, numCoords, coordType, coords); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void * coords) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathCoordsNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathCoordsNV) + { + prototypeCalled = true; + glesConfig.m_glPathCoordsNV (path, numCoords, coordType, coords); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte * commands, GLsizei numCoords, GLenum coordType, const void * coords) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathSubCommandsNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathSubCommandsNV) + { + prototypeCalled = true; + glesConfig.m_glPathSubCommandsNV (path, commandStart, commandsToDelete, numCommands, commands, numCoords, coordType, coords); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void * coords) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathSubCoordsNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathSubCoordsNV) + { + prototypeCalled = true; + glesConfig.m_glPathSubCoordsNV (path, coordStart, numCoords, coordType, coords); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPathStringNV (GLuint path, GLenum format, GLsizei length, const void * pathString) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathStringNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathStringNV) + { + prototypeCalled = true; + glesConfig.m_glPathStringNV (path, format, length, pathString); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void * charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathGlyphsNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathGlyphsNV) + { + prototypeCalled = true; + glesConfig.m_glPathGlyphsNV (firstPathName, fontTarget, fontName, fontStyle, numGlyphs, type, charcodes, handleMissingGlyphs, pathParameterTemplate, emScale); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathGlyphRangeNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathGlyphRangeNV) + { + prototypeCalled = true; + glesConfig.m_glPathGlyphRangeNV (firstPathName, fontTarget, fontName, fontStyle, firstGlyph, numGlyphs, handleMissingGlyphs, pathParameterTemplate, emScale); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint * paths, const GLfloat * weights) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glWeightPathsNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glWeightPathsNV) + { + prototypeCalled = true; + glesConfig.m_glWeightPathsNV (resultPath, numPaths, paths, weights); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glCopyPathNV (GLuint resultPath, GLuint srcPath) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glCopyPathNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glCopyPathNV) + { + prototypeCalled = true; + glesConfig.m_glCopyPathNV (resultPath, srcPath); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glInterpolatePathsNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glInterpolatePathsNV) + { + prototypeCalled = true; + glesConfig.m_glInterpolatePathsNV (resultPath, pathA, pathB, weight); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat * transformValues) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glTransformPathNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glTransformPathNV) + { + prototypeCalled = true; + glesConfig.m_glTransformPathNV (resultPath, srcPath, transformType, transformValues); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPathParameterivNV (GLuint path, GLenum pname, const GLint * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathParameterivNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathParameterivNV) + { + prototypeCalled = true; + glesConfig.m_glPathParameterivNV (path, pname, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPathParameteriNV (GLuint path, GLenum pname, GLint value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathParameteriNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathParameteriNV) + { + prototypeCalled = true; + glesConfig.m_glPathParameteriNV (path, pname, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathParameterfvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathParameterfvNV) + { + prototypeCalled = true; + glesConfig.m_glPathParameterfvNV (path, pname, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPathParameterfNV (GLuint path, GLenum pname, GLfloat value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathParameterfNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathParameterfNV) + { + prototypeCalled = true; + glesConfig.m_glPathParameterfNV (path, pname, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat * dashArray) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathDashArrayNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathDashArrayNV) + { + prototypeCalled = true; + glesConfig.m_glPathDashArrayNV (path, dashCount, dashArray); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathStencilFuncNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathStencilFuncNV) + { + prototypeCalled = true; + glesConfig.m_glPathStencilFuncNV (func, ref, mask); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathStencilDepthOffsetNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathStencilDepthOffsetNV) + { + prototypeCalled = true; + glesConfig.m_glPathStencilDepthOffsetNV (factor, units); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glStencilFillPathNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilFillPathNV) + { + prototypeCalled = true; + glesConfig.m_glStencilFillPathNV (path, fillMode, mask); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glStencilStrokePathNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilStrokePathNV) + { + prototypeCalled = true; + glesConfig.m_glStencilStrokePathNV (path, reference, mask); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat * transformValues) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glStencilFillPathInstancedNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilFillPathInstancedNV) + { + prototypeCalled = true; + glesConfig.m_glStencilFillPathInstancedNV (numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, transformValues); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat * transformValues) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glStencilStrokePathInstancedNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilStrokePathInstancedNV) + { + prototypeCalled = true; + glesConfig.m_glStencilStrokePathInstancedNV (numPaths, pathNameType, paths, pathBase, reference, mask, transformType, transformValues); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPathCoverDepthFuncNV (GLenum func) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathCoverDepthFuncNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathCoverDepthFuncNV) + { + prototypeCalled = true; + glesConfig.m_glPathCoverDepthFuncNV (func); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glCoverFillPathNV (GLuint path, GLenum coverMode) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glCoverFillPathNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glCoverFillPathNV) + { + prototypeCalled = true; + glesConfig.m_glCoverFillPathNV (path, coverMode); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glCoverStrokePathNV (GLuint path, GLenum coverMode) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glCoverStrokePathNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glCoverStrokePathNV) + { + prototypeCalled = true; + glesConfig.m_glCoverStrokePathNV (path, coverMode); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glCoverFillPathInstancedNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glCoverFillPathInstancedNV) + { + prototypeCalled = true; + glesConfig.m_glCoverFillPathInstancedNV (numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glCoverStrokePathInstancedNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glCoverStrokePathInstancedNV) + { + prototypeCalled = true; + glesConfig.m_glCoverStrokePathInstancedNV (numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glGetPathParameterivNV (GLuint path, GLenum pname, GLint * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glGetPathParameterivNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathParameterivNV) + { + prototypeCalled = true; + glesConfig.m_glGetPathParameterivNV (path, pname, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat * value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glGetPathParameterfvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathParameterfvNV) + { + prototypeCalled = true; + glesConfig.m_glGetPathParameterfvNV (path, pname, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glGetPathCommandsNV (GLuint path, GLubyte * commands) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glGetPathCommandsNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathCommandsNV) + { + prototypeCalled = true; + glesConfig.m_glGetPathCommandsNV (path, commands); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glGetPathCoordsNV (GLuint path, GLfloat * coords) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glGetPathCoordsNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathCoordsNV) + { + prototypeCalled = true; + glesConfig.m_glGetPathCoordsNV (path, coords); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glGetPathDashArrayNV (GLuint path, GLfloat * dashArray) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glGetPathDashArrayNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathDashArrayNV) + { + prototypeCalled = true; + glesConfig.m_glGetPathDashArrayNV (path, dashArray); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLsizei stride, GLfloat * metrics) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glGetPathMetricsNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathMetricsNV) + { + prototypeCalled = true; + glesConfig.m_glGetPathMetricsNV (metricQueryMask, numPaths, pathNameType, paths, pathBase, stride, metrics); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat * metrics) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glGetPathMetricRangeNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathMetricRangeNV) + { + prototypeCalled = true; + glesConfig.m_glGetPathMetricRangeNV (metricQueryMask, firstPathName, numPaths, stride, metrics); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat * returnedSpacing) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glGetPathSpacingNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathSpacingNV) + { + prototypeCalled = true; + glesConfig.m_glGetPathSpacingNV (pathListMode, numPaths, pathNameType, paths, pathBase, advanceScale, kerningScale, transformType, returnedSpacing); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLboolean _glew_gles_glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glIsPointInFillPathNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glIsPointInFillPathNV) + { + prototypeCalled = true; + result = glesConfig.m_glIsPointInFillPathNV (path, mask, x, y); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLboolean _glew_gles_glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glIsPointInStrokePathNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glIsPointInStrokePathNV) + { + prototypeCalled = true; + result = glesConfig.m_glIsPointInStrokePathNV (path, x, y); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLfloat _glew_gles_glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLfloat result = ((GLfloat)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glGetPathLengthNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetPathLengthNV) + { + prototypeCalled = true; + result = glesConfig.m_glGetPathLengthNV (path, startSegment, numSegments); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLboolean _glew_gles_glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat * x, GLfloat * y, GLfloat * tangentX, GLfloat * tangentY) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPointAlongPathNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPointAlongPathNV) + { + prototypeCalled = true; + result = glesConfig.m_glPointAlongPathNV (path, startSegment, numSegments, distance, x, y, tangentX, tangentY); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat * m) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glMatrixLoad3x2fNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glMatrixLoad3x2fNV) + { + prototypeCalled = true; + glesConfig.m_glMatrixLoad3x2fNV (matrixMode, m); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat * m) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glMatrixLoad3x3fNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glMatrixLoad3x3fNV) + { + prototypeCalled = true; + glesConfig.m_glMatrixLoad3x3fNV (matrixMode, m); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat * m) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glMatrixLoadTranspose3x3fNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glMatrixLoadTranspose3x3fNV) + { + prototypeCalled = true; + glesConfig.m_glMatrixLoadTranspose3x3fNV (matrixMode, m); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat * m) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glMatrixMult3x2fNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glMatrixMult3x2fNV) + { + prototypeCalled = true; + glesConfig.m_glMatrixMult3x2fNV (matrixMode, m); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat * m) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glMatrixMult3x3fNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glMatrixMult3x3fNV) + { + prototypeCalled = true; + glesConfig.m_glMatrixMult3x3fNV (matrixMode, m); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat * m) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glMatrixMultTranspose3x3fNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glMatrixMultTranspose3x3fNV) + { + prototypeCalled = true; + glesConfig.m_glMatrixMultTranspose3x3fNV (matrixMode, m); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glStencilThenCoverFillPathNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilThenCoverFillPathNV) + { + prototypeCalled = true; + glesConfig.m_glStencilThenCoverFillPathNV (path, fillMode, mask, coverMode); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glStencilThenCoverStrokePathNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilThenCoverStrokePathNV) + { + prototypeCalled = true; + glesConfig.m_glStencilThenCoverStrokePathNV (path, reference, mask, coverMode); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glStencilThenCoverFillPathInstancedNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilThenCoverFillPathInstancedNV) + { + prototypeCalled = true; + glesConfig.m_glStencilThenCoverFillPathInstancedNV (numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, transformType, transformValues); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glStencilThenCoverStrokePathInstancedNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glStencilThenCoverStrokePathInstancedNV) + { + prototypeCalled = true; + glesConfig.m_glStencilThenCoverStrokePathInstancedNV (numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, transformType, transformValues); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLenum _glew_gles_glPathGlyphIndexRangeNV (GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint * baseAndCount) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLenum result = ((GLenum)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathGlyphIndexRangeNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathGlyphIndexRangeNV) + { + prototypeCalled = true; + result = glesConfig.m_glPathGlyphIndexRangeNV (fontTarget, fontName, fontStyle, pathParameterTemplate, emScale, baseAndCount); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLenum _glew_gles_glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLenum result = ((GLenum)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathGlyphIndexArrayNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathGlyphIndexArrayNV) + { + prototypeCalled = true; + result = glesConfig.m_glPathGlyphIndexArrayNV (firstPathName, fontTarget, fontName, fontStyle, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLenum _glew_gles_glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void * fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLenum result = ((GLenum)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glPathMemoryGlyphIndexArrayNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glPathMemoryGlyphIndexArrayNV) + { + prototypeCalled = true; + result = glesConfig.m_glPathMemoryGlyphIndexArrayNV (firstPathName, fontTarget, fontSize, fontData, faceIndex, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat * coeffs) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glProgramPathFragmentInputGenNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glProgramPathFragmentInputGenNV) + { + prototypeCalled = true; + glesConfig.m_glProgramPathFragmentInputGenNV (program, location, genMode, components, coeffs); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei count, GLsizei * length, GLfloat * params) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_path_rendering - glGetProgramResourcefvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_path_rendering] && glesConfig.m_glGetProgramResourcefvNV) + { + prototypeCalled = true; + glesConfig.m_glGetProgramResourcefvNV (program, programInterface, index, propCount, props, count, length, params); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPolygonModeNV (GLenum face, GLenum mode) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_polygon_mode - glPolygonModeNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_polygon_mode] && glesConfig.m_glPolygonModeNV) + { + prototypeCalled = true; + glesConfig.m_glPolygonModeNV (face, mode); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glReadBufferNV (GLenum mode) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_read_buffer - glReadBufferNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_read_buffer] && glesConfig.m_glReadBufferNV) + { + prototypeCalled = true; + glesConfig.m_glReadBufferNV (mode); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat * v) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_sample_locations - glFramebufferSampleLocationsfvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_sample_locations] && glesConfig.m_glFramebufferSampleLocationsfvNV) + { + prototypeCalled = true; + glesConfig.m_glFramebufferSampleLocationsfvNV (target, start, count, v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_sample_locations - glNamedFramebufferSampleLocationsfvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_sample_locations] && glesConfig.m_glNamedFramebufferSampleLocationsfvNV) + { + prototypeCalled = true; + glesConfig.m_glNamedFramebufferSampleLocationsfvNV (framebuffer, start, count, v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glResolveDepthValuesNV () +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_sample_locations - glResolveDepthValuesNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_sample_locations] && glesConfig.m_glResolveDepthValuesNV) + { + prototypeCalled = true; + glesConfig.m_glResolveDepthValuesNV (); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glScissorExclusiveNV (GLint x, GLint y, GLsizei width, GLsizei height) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_scissor_exclusive - glScissorExclusiveNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_scissor_exclusive] && glesConfig.m_glScissorExclusiveNV) + { + prototypeCalled = true; + glesConfig.m_glScissorExclusiveNV (x, y, width, height); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glScissorExclusiveArrayvNV (GLuint first, GLsizei count, const GLint * v) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_scissor_exclusive - glScissorExclusiveArrayvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_scissor_exclusive] && glesConfig.m_glScissorExclusiveArrayvNV) + { + prototypeCalled = true; + glesConfig.m_glScissorExclusiveArrayvNV (first, count, v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glBindShadingRateImageNV (GLuint texture) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_shading_rate_image - glBindShadingRateImageNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] && glesConfig.m_glBindShadingRateImageNV) + { + prototypeCalled = true; + glesConfig.m_glBindShadingRateImageNV (texture); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glGetShadingRateImagePaletteNV (GLuint viewport, GLuint entry, GLenum * rate) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_shading_rate_image - glGetShadingRateImagePaletteNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] && glesConfig.m_glGetShadingRateImagePaletteNV) + { + prototypeCalled = true; + glesConfig.m_glGetShadingRateImagePaletteNV (viewport, entry, rate); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glGetShadingRateSampleLocationivNV (GLenum rate, GLuint samples, GLuint index, GLint * location) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_shading_rate_image - glGetShadingRateSampleLocationivNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] && glesConfig.m_glGetShadingRateSampleLocationivNV) + { + prototypeCalled = true; + glesConfig.m_glGetShadingRateSampleLocationivNV (rate, samples, index, location); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glShadingRateImageBarrierNV (GLboolean synchronize) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_shading_rate_image - glShadingRateImageBarrierNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] && glesConfig.m_glShadingRateImageBarrierNV) + { + prototypeCalled = true; + glesConfig.m_glShadingRateImageBarrierNV (synchronize); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glShadingRateImagePaletteNV (GLuint viewport, GLuint first, GLsizei count, const GLenum * rates) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_shading_rate_image - glShadingRateImagePaletteNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] && glesConfig.m_glShadingRateImagePaletteNV) + { + prototypeCalled = true; + glesConfig.m_glShadingRateImagePaletteNV (viewport, first, count, rates); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glShadingRateSampleOrderNV (GLenum order) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_shading_rate_image - glShadingRateSampleOrderNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] && glesConfig.m_glShadingRateSampleOrderNV) + { + prototypeCalled = true; + glesConfig.m_glShadingRateSampleOrderNV (order); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glShadingRateSampleOrderCustomNV (GLenum rate, GLuint samples, const GLint * locations) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_shading_rate_image - glShadingRateSampleOrderCustomNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] && glesConfig.m_glShadingRateSampleOrderCustomNV) + { + prototypeCalled = true; + glesConfig.m_glShadingRateSampleOrderCustomNV (rate, samples, locations); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glViewportArrayvNV (GLuint first, GLsizei count, const GLfloat * v) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_viewport_array - glViewportArrayvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glViewportArrayvNV) + { + prototypeCalled = true; + glesConfig.m_glViewportArrayvNV (first, count, v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glViewportIndexedfNV (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_viewport_array - glViewportIndexedfNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glViewportIndexedfNV) + { + prototypeCalled = true; + glesConfig.m_glViewportIndexedfNV (index, x, y, w, h); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glViewportIndexedfvNV (GLuint index, const GLfloat * v) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_viewport_array - glViewportIndexedfvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glViewportIndexedfvNV) + { + prototypeCalled = true; + glesConfig.m_glViewportIndexedfvNV (index, v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glScissorArrayvNV (GLuint first, GLsizei count, const GLint * v) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_viewport_array - glScissorArrayvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glScissorArrayvNV) + { + prototypeCalled = true; + glesConfig.m_glScissorArrayvNV (first, count, v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glScissorIndexedNV (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_viewport_array - glScissorIndexedNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glScissorIndexedNV) + { + prototypeCalled = true; + glesConfig.m_glScissorIndexedNV (index, left, bottom, width, height); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glScissorIndexedvNV (GLuint index, const GLint * v) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_viewport_array - glScissorIndexedvNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glScissorIndexedvNV) + { + prototypeCalled = true; + glesConfig.m_glScissorIndexedvNV (index, v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glDepthRangeArrayfvNV (GLuint first, GLsizei count, const GLfloat * v) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); @@ -12666,7 +15607,274 @@ void _glew_gles_glDepthRangeArrayfvNV (GLuint first, GLsizei count, const GLfloa if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glDepthRangeArrayfvNV) { prototypeCalled = true; - glesConfig.m_glDepthRangeArrayfvNV (first, count, v); + glesConfig.m_glDepthRangeArrayfvNV (first, count, v); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glDepthRangeIndexedfNV (GLuint index, GLfloat n, GLfloat f) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_viewport_array - glDepthRangeIndexedfNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glDepthRangeIndexedfNV) + { + prototypeCalled = true; + glesConfig.m_glDepthRangeIndexedfNV (index, n, f); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glGetFloati_vNV (GLenum target, GLuint index, GLfloat * data) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_viewport_array - glGetFloati_vNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glGetFloati_vNV) + { + prototypeCalled = true; + glesConfig.m_glGetFloati_vNV (target, index, data); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glEnableiNV (GLenum target, GLuint index) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_viewport_array - glEnableiNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glEnableiNV) + { + prototypeCalled = true; + glesConfig.m_glEnableiNV (target, index); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glDisableiNV (GLenum target, GLuint index) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_viewport_array - glDisableiNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glDisableiNV) + { + prototypeCalled = true; + glesConfig.m_glDisableiNV (target, index); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLboolean _glew_gles_glIsEnablediNV (GLenum target, GLuint index) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_viewport_array - glIsEnablediNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glIsEnablediNV) + { + prototypeCalled = true; + result = glesConfig.m_glIsEnablediNV (target, index); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_NV_viewport_swizzle - glViewportSwizzleNV + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_swizzle] && glesConfig.m_glViewportSwizzleNV) + { + prototypeCalled = true; + glesConfig.m_glViewportSwizzleNV (index, swizzlex, swizzley, swizzlez, swizzlew); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_EGL_image - glEGLImageTargetTexture2DOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_EGL_image] && glesConfig.m_glEGLImageTargetTexture2DOES) + { + prototypeCalled = true; + glesConfig.m_glEGLImageTargetTexture2DOES (target, image); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_EGL_image - glEGLImageTargetRenderbufferStorageOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_EGL_image] && glesConfig.m_glEGLImageTargetRenderbufferStorageOES) + { + prototypeCalled = true; + glesConfig.m_glEGLImageTargetRenderbufferStorageOES (target, image); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glCopyImageSubDataOES (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_copy_image - glCopyImageSubDataOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_copy_image] && glesConfig.m_glCopyImageSubDataOES) + { + prototypeCalled = true; + glesConfig.m_glCopyImageSubDataOES (srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glEnableiOES (GLenum target, GLuint index) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_draw_buffers_indexed - glEnableiOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glEnableiOES) + { + prototypeCalled = true; + glesConfig.m_glEnableiOES (target, index); + } + // GL_OES_viewport_array - glEnableiOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glesConfig.m_glEnableiOES) + { + prototypeCalled = true; + glesConfig.m_glEnableiOES (target, index); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glDisableiOES (GLenum target, GLuint index) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_draw_buffers_indexed - glDisableiOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glDisableiOES) + { + prototypeCalled = true; + glesConfig.m_glDisableiOES (target, index); + } + // GL_OES_viewport_array - glDisableiOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glesConfig.m_glDisableiOES) + { + prototypeCalled = true; + glesConfig.m_glDisableiOES (target, index); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12678,18 +15886,18 @@ void _glew_gles_glDepthRangeArrayfvNV (GLuint first, GLsizei count, const GLfloa //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDepthRangeIndexedfNV (GLuint index, GLfloat n, GLfloat f) +void _glew_gles_glBlendEquationiOES (GLuint buf, GLenum mode) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_viewport_array - glDepthRangeIndexedfNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glDepthRangeIndexedfNV) + // GL_OES_draw_buffers_indexed - glBlendEquationiOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glBlendEquationiOES) { prototypeCalled = true; - glesConfig.m_glDepthRangeIndexedfNV (index, n, f); + glesConfig.m_glBlendEquationiOES (buf, mode); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12701,18 +15909,18 @@ void _glew_gles_glDepthRangeIndexedfNV (GLuint index, GLfloat n, GLfloat f) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetFloati_vNV (GLenum target, GLuint index, GLfloat * data) +void _glew_gles_glBlendEquationSeparateiOES (GLuint buf, GLenum modeRGB, GLenum modeAlpha) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_viewport_array - glGetFloati_vNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glGetFloati_vNV) + // GL_OES_draw_buffers_indexed - glBlendEquationSeparateiOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glBlendEquationSeparateiOES) { prototypeCalled = true; - glesConfig.m_glGetFloati_vNV (target, index, data); + glesConfig.m_glBlendEquationSeparateiOES (buf, modeRGB, modeAlpha); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12724,18 +15932,18 @@ void _glew_gles_glGetFloati_vNV (GLenum target, GLuint index, GLfloat * data) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glEnableiNV (GLenum target, GLuint index) +void _glew_gles_glBlendFunciOES (GLuint buf, GLenum src, GLenum dst) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_viewport_array - glEnableiNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glEnableiNV) + // GL_OES_draw_buffers_indexed - glBlendFunciOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glBlendFunciOES) { prototypeCalled = true; - glesConfig.m_glEnableiNV (target, index); + glesConfig.m_glBlendFunciOES (buf, src, dst); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12747,18 +15955,18 @@ void _glew_gles_glEnableiNV (GLenum target, GLuint index) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDisableiNV (GLenum target, GLuint index) +void _glew_gles_glBlendFuncSeparateiOES (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_viewport_array - glDisableiNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glDisableiNV) + // GL_OES_draw_buffers_indexed - glBlendFuncSeparateiOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glBlendFuncSeparateiOES) { prototypeCalled = true; - glesConfig.m_glDisableiNV (target, index); + glesConfig.m_glBlendFuncSeparateiOES (buf, srcRGB, dstRGB, srcAlpha, dstAlpha); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12770,7 +15978,30 @@ void _glew_gles_glDisableiNV (GLenum target, GLuint index) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gles_glIsEnablediNV (GLenum target, GLuint index) +void _glew_gles_glColorMaskiOES (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_draw_buffers_indexed - glColorMaskiOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glColorMaskiOES) + { + prototypeCalled = true; + glesConfig.m_glColorMaskiOES (index, r, g, b, a); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +GLboolean _glew_gles_glIsEnablediOES (GLenum target, GLuint index) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); @@ -12778,11 +16009,17 @@ GLboolean _glew_gles_glIsEnablediNV (GLenum target, GLuint index) #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_NV_viewport_array - glIsEnablediNV - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_NV_viewport_array] && glesConfig.m_glIsEnablediNV) + // GL_OES_draw_buffers_indexed - glIsEnablediOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glIsEnablediOES) { prototypeCalled = true; - result = glesConfig.m_glIsEnablediNV (target, index); + result = glesConfig.m_glIsEnablediOES (target, index); + } + // GL_OES_viewport_array - glIsEnablediOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glesConfig.m_glIsEnablediOES) + { + prototypeCalled = true; + result = glesConfig.m_glIsEnablediOES (target, index); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12795,18 +16032,18 @@ GLboolean _glew_gles_glIsEnablediNV (GLenum target, GLuint index) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image) +void _glew_gles_glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_EGL_image - glEGLImageTargetTexture2DOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_EGL_image] && glesConfig.m_glEGLImageTargetTexture2DOES) + // GL_OES_draw_elements_base_vertex - glDrawElementsBaseVertexOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_elements_base_vertex] && glesConfig.m_glDrawElementsBaseVertexOES) { prototypeCalled = true; - glesConfig.m_glEGLImageTargetTexture2DOES (target, image); + glesConfig.m_glDrawElementsBaseVertexOES (mode, count, type, indices, basevertex); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12818,18 +16055,18 @@ void _glew_gles_glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image) +void _glew_gles_glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_EGL_image - glEGLImageTargetRenderbufferStorageOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_EGL_image] && glesConfig.m_glEGLImageTargetRenderbufferStorageOES) + // GL_OES_draw_elements_base_vertex - glDrawRangeElementsBaseVertexOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_elements_base_vertex] && glesConfig.m_glDrawRangeElementsBaseVertexOES) { prototypeCalled = true; - glesConfig.m_glEGLImageTargetRenderbufferStorageOES (target, image); + glesConfig.m_glDrawRangeElementsBaseVertexOES (mode, start, end, count, type, indices, basevertex); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12841,18 +16078,18 @@ void _glew_gles_glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImag //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glCopyImageSubDataOES (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) +void _glew_gles_glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_copy_image - glCopyImageSubDataOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_copy_image] && glesConfig.m_glCopyImageSubDataOES) + // GL_OES_draw_elements_base_vertex - glDrawElementsInstancedBaseVertexOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_elements_base_vertex] && glesConfig.m_glDrawElementsInstancedBaseVertexOES) { prototypeCalled = true; - glesConfig.m_glCopyImageSubDataOES (srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); + glesConfig.m_glDrawElementsInstancedBaseVertexOES (mode, count, type, indices, instancecount, basevertex); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12864,18 +16101,18 @@ void _glew_gles_glCopyImageSubDataOES (GLuint srcName, GLenum srcTarget, GLint s //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glEnableiOES (GLenum target, GLuint index) +void _glew_gles_glFramebufferTextureOES (GLenum target, GLenum attachment, GLuint texture, GLint level) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_draw_buffers_indexed - glEnableiOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glEnableiOES) + // GL_OES_geometry_shader - glFramebufferTextureOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_geometry_shader] && glesConfig.m_glFramebufferTextureOES) { prototypeCalled = true; - glesConfig.m_glEnableiOES (target, index); + glesConfig.m_glFramebufferTextureOES (target, attachment, texture, level); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12887,18 +16124,18 @@ void _glew_gles_glEnableiOES (GLenum target, GLuint index) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDisableiOES (GLenum target, GLuint index) +void _glew_gles_glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_draw_buffers_indexed - glDisableiOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glDisableiOES) + // GL_OES_get_program_binary - glGetProgramBinaryOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_get_program_binary] && glesConfig.m_glGetProgramBinaryOES) { prototypeCalled = true; - glesConfig.m_glDisableiOES (target, index); + glesConfig.m_glGetProgramBinaryOES (program, bufSize, length, binaryFormat, binary); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12910,18 +16147,18 @@ void _glew_gles_glDisableiOES (GLenum target, GLuint index) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glBlendEquationiOES (GLuint buf, GLenum mode) +void _glew_gles_glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void * binary, GLint length) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_draw_buffers_indexed - glBlendEquationiOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glBlendEquationiOES) + // GL_OES_get_program_binary - glProgramBinaryOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_get_program_binary] && glesConfig.m_glProgramBinaryOES) { prototypeCalled = true; - glesConfig.m_glBlendEquationiOES (buf, mode); + glesConfig.m_glProgramBinaryOES (program, binaryFormat, binary, length); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -12933,64 +16170,183 @@ void _glew_gles_glBlendEquationiOES (GLuint buf, GLenum mode) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glBlendEquationSeparateiOES (GLuint buf, GLenum modeRGB, GLenum modeAlpha) +void * _glew_gles_glMapBufferOES (GLenum target, GLenum access) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + void * result = ((void *)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_draw_buffers_indexed - glBlendEquationSeparateiOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glBlendEquationSeparateiOES) + // GL_OES_mapbuffer - glMapBufferOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_mapbuffer] && glesConfig.m_glMapBufferOES) { prototypeCalled = true; - glesConfig.m_glBlendEquationSeparateiOES (buf, modeRGB, modeAlpha); + result = glesConfig.m_glMapBufferOES (target, access); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glBlendFunciOES (GLuint buf, GLenum src, GLenum dst) +GLboolean _glew_gles_glUnmapBufferOES (GLenum target) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_draw_buffers_indexed - glBlendFunciOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glBlendFunciOES) + // GL_OES_mapbuffer - glUnmapBufferOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_mapbuffer] && glesConfig.m_glUnmapBufferOES) { prototypeCalled = true; - glesConfig.m_glBlendFunciOES (buf, src, dst); + result = glesConfig.m_glUnmapBufferOES (target); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glBlendFuncSeparateiOES (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) +void _glew_gles_glGetBufferPointervOES (GLenum target, GLenum pname, void ** params) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_mapbuffer - glGetBufferPointervOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_mapbuffer] && glesConfig.m_glGetBufferPointervOES) + { + prototypeCalled = true; + glesConfig.m_glGetBufferPointervOES (target, pname, params); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPrimitiveBoundingBoxOES (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_primitive_bounding_box - glPrimitiveBoundingBoxOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_primitive_bounding_box] && glesConfig.m_glPrimitiveBoundingBoxOES) + { + prototypeCalled = true; + glesConfig.m_glPrimitiveBoundingBoxOES (minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glMinSampleShadingOES (GLfloat value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_sample_shading - glMinSampleShadingOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_sample_shading] && glesConfig.m_glMinSampleShadingOES) + { + prototypeCalled = true; + glesConfig.m_glMinSampleShadingOES (value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glPatchParameteriOES (GLenum pname, GLint value) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_tessellation_shader - glPatchParameteriOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_tessellation_shader] && glesConfig.m_glPatchParameteriOES) + { + prototypeCalled = true; + glesConfig.m_glPatchParameteriOES (pname, value); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) +{ + bool prototypeCalled = false; + const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); +#if GLEW_GL_PRE_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif + // GL_OES_texture_3D - glTexImage3DOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glTexImage3DOES) + { + prototypeCalled = true; + glesConfig.m_glTexImage3DOES (target, level, internalformat, width, height, depth, border, format, type, pixels); + } + GLEW_ASSERT (prototypeCalled); +#if GLEW_GL_POST_ERROR_CHECK + GLEW_ASSERT (glGetError () == GL_NO_ERROR); +#endif +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +void _glew_gles_glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_draw_buffers_indexed - glBlendFuncSeparateiOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glBlendFuncSeparateiOES) + // GL_OES_texture_3D - glTexSubImage3DOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glTexSubImage3DOES) { prototypeCalled = true; - glesConfig.m_glBlendFuncSeparateiOES (buf, srcRGB, dstRGB, srcAlpha, dstAlpha); + glesConfig.m_glTexSubImage3DOES (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13002,18 +16358,18 @@ void _glew_gles_glBlendFuncSeparateiOES (GLuint buf, GLenum srcRGB, GLenum dstRG //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glColorMaskiOES (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) +void _glew_gles_glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_draw_buffers_indexed - glColorMaskiOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glColorMaskiOES) + // GL_OES_texture_3D - glCopyTexSubImage3DOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glCopyTexSubImage3DOES) { prototypeCalled = true; - glesConfig.m_glColorMaskiOES (index, r, g, b, a); + glesConfig.m_glCopyTexSubImage3DOES (target, level, xoffset, yoffset, zoffset, x, y, width, height); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13025,43 +16381,41 @@ void _glew_gles_glColorMaskiOES (GLuint index, GLboolean r, GLboolean g, GLboole //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gles_glIsEnablediOES (GLenum target, GLuint index) +void _glew_gles_glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_draw_buffers_indexed - glIsEnablediOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_buffers_indexed] && glesConfig.m_glIsEnablediOES) + // GL_OES_texture_3D - glCompressedTexImage3DOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glCompressedTexImage3DOES) { prototypeCalled = true; - result = glesConfig.m_glIsEnablediOES (target, index); + glesConfig.m_glCompressedTexImage3DOES (target, level, internalformat, width, height, depth, border, imageSize, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex) +void _glew_gles_glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_draw_elements_base_vertex - glDrawElementsBaseVertexOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_elements_base_vertex] && glesConfig.m_glDrawElementsBaseVertexOES) + // GL_OES_texture_3D - glCompressedTexSubImage3DOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glCompressedTexSubImage3DOES) { prototypeCalled = true; - glesConfig.m_glDrawElementsBaseVertexOES (mode, count, type, indices, basevertex); + glesConfig.m_glCompressedTexSubImage3DOES (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13073,18 +16427,18 @@ void _glew_gles_glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex) +void _glew_gles_glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_draw_elements_base_vertex - glDrawRangeElementsBaseVertexOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_elements_base_vertex] && glesConfig.m_glDrawRangeElementsBaseVertexOES) + // GL_OES_texture_3D - glFramebufferTexture3DOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glFramebufferTexture3DOES) { prototypeCalled = true; - glesConfig.m_glDrawRangeElementsBaseVertexOES (mode, start, end, count, type, indices, basevertex); + glesConfig.m_glFramebufferTexture3DOES (target, attachment, textarget, texture, level, zoffset); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13096,18 +16450,18 @@ void _glew_gles_glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLu //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex) +void _glew_gles_glTexParameterIivOES (GLenum target, GLenum pname, const GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_draw_elements_base_vertex - glDrawElementsInstancedBaseVertexOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_elements_base_vertex] && glesConfig.m_glDrawElementsInstancedBaseVertexOES) + // GL_OES_texture_border_clamp - glTexParameterIivOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glTexParameterIivOES) { prototypeCalled = true; - glesConfig.m_glDrawElementsInstancedBaseVertexOES (mode, count, type, indices, instancecount, basevertex); + glesConfig.m_glTexParameterIivOES (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13119,18 +16473,18 @@ void _glew_gles_glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMultiDrawElementsBaseVertexOES (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, const GLint * basevertex) +void _glew_gles_glTexParameterIuivOES (GLenum target, GLenum pname, const GLuint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_draw_elements_base_vertex - glMultiDrawElementsBaseVertexOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_draw_elements_base_vertex] && glesConfig.m_glMultiDrawElementsBaseVertexOES) + // GL_OES_texture_border_clamp - glTexParameterIuivOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glTexParameterIuivOES) { prototypeCalled = true; - glesConfig.m_glMultiDrawElementsBaseVertexOES (mode, count, type, indices, primcount, basevertex); + glesConfig.m_glTexParameterIuivOES (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13142,18 +16496,18 @@ void _glew_gles_glMultiDrawElementsBaseVertexOES (GLenum mode, const GLsizei * c //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glFramebufferTextureOES (GLenum target, GLenum attachment, GLuint texture, GLint level) +void _glew_gles_glGetTexParameterIivOES (GLenum target, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_geometry_shader - glFramebufferTextureOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_geometry_shader] && glesConfig.m_glFramebufferTextureOES) + // GL_OES_texture_border_clamp - glGetTexParameterIivOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glGetTexParameterIivOES) { prototypeCalled = true; - glesConfig.m_glFramebufferTextureOES (target, attachment, texture, level); + glesConfig.m_glGetTexParameterIivOES (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13165,18 +16519,18 @@ void _glew_gles_glFramebufferTextureOES (GLenum target, GLenum attachment, GLuin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary) +void _glew_gles_glGetTexParameterIuivOES (GLenum target, GLenum pname, GLuint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_get_program_binary - glGetProgramBinaryOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_get_program_binary] && glesConfig.m_glGetProgramBinaryOES) + // GL_OES_texture_border_clamp - glGetTexParameterIuivOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glGetTexParameterIuivOES) { prototypeCalled = true; - glesConfig.m_glGetProgramBinaryOES (program, bufSize, length, binaryFormat, binary); + glesConfig.m_glGetTexParameterIuivOES (target, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13188,18 +16542,18 @@ void _glew_gles_glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void * binary, GLint length) +void _glew_gles_glSamplerParameterIivOES (GLuint sampler, GLenum pname, const GLint * param) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_get_program_binary - glProgramBinaryOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_get_program_binary] && glesConfig.m_glProgramBinaryOES) + // GL_OES_texture_border_clamp - glSamplerParameterIivOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glSamplerParameterIivOES) { prototypeCalled = true; - glesConfig.m_glProgramBinaryOES (program, binaryFormat, binary, length); + glesConfig.m_glSamplerParameterIivOES (sampler, pname, param); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13211,68 +16565,64 @@ void _glew_gles_glProgramBinaryOES (GLuint program, GLenum binaryFormat, const v //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void * _glew_gles_glMapBufferOES (GLenum target, GLenum access) +void _glew_gles_glSamplerParameterIuivOES (GLuint sampler, GLenum pname, const GLuint * param) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - void * result = ((void *)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_mapbuffer - glMapBufferOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_mapbuffer] && glesConfig.m_glMapBufferOES) + // GL_OES_texture_border_clamp - glSamplerParameterIuivOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glSamplerParameterIuivOES) { prototypeCalled = true; - result = glesConfig.m_glMapBufferOES (target, access); + glesConfig.m_glSamplerParameterIuivOES (sampler, pname, param); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gles_glUnmapBufferOES (GLenum target) +void _glew_gles_glGetSamplerParameterIivOES (GLuint sampler, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_mapbuffer - glUnmapBufferOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_mapbuffer] && glesConfig.m_glUnmapBufferOES) + // GL_OES_texture_border_clamp - glGetSamplerParameterIivOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glGetSamplerParameterIivOES) { prototypeCalled = true; - result = glesConfig.m_glUnmapBufferOES (target); + glesConfig.m_glGetSamplerParameterIivOES (sampler, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetBufferPointervOES (GLenum target, GLenum pname, void ** params) +void _glew_gles_glGetSamplerParameterIuivOES (GLuint sampler, GLenum pname, GLuint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_mapbuffer - glGetBufferPointervOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_mapbuffer] && glesConfig.m_glGetBufferPointervOES) + // GL_OES_texture_border_clamp - glGetSamplerParameterIuivOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glGetSamplerParameterIuivOES) { prototypeCalled = true; - glesConfig.m_glGetBufferPointervOES (target, pname, params); + glesConfig.m_glGetSamplerParameterIuivOES (sampler, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13284,18 +16634,18 @@ void _glew_gles_glGetBufferPointervOES (GLenum target, GLenum pname, void ** par //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPrimitiveBoundingBoxOES (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW) +void _glew_gles_glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_primitive_bounding_box - glPrimitiveBoundingBoxOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_primitive_bounding_box] && glesConfig.m_glPrimitiveBoundingBoxOES) + // GL_OES_texture_buffer - glTexBufferOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_buffer] && glesConfig.m_glTexBufferOES) { prototypeCalled = true; - glesConfig.m_glPrimitiveBoundingBoxOES (minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); + glesConfig.m_glTexBufferOES (target, internalformat, buffer); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13307,18 +16657,18 @@ void _glew_gles_glPrimitiveBoundingBoxOES (GLfloat minX, GLfloat minY, GLfloat m //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glMinSampleShadingOES (GLfloat value) +void _glew_gles_glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_sample_shading - glMinSampleShadingOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_sample_shading] && glesConfig.m_glMinSampleShadingOES) + // GL_OES_texture_buffer - glTexBufferRangeOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_buffer] && glesConfig.m_glTexBufferRangeOES) { prototypeCalled = true; - glesConfig.m_glMinSampleShadingOES (value); + glesConfig.m_glTexBufferRangeOES (target, internalformat, buffer, offset, size); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13330,18 +16680,18 @@ void _glew_gles_glMinSampleShadingOES (GLfloat value) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glPatchParameteriOES (GLenum pname, GLint value) +void _glew_gles_glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_tessellation_shader - glPatchParameteriOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_tessellation_shader] && glesConfig.m_glPatchParameteriOES) + // GL_OES_texture_storage_multisample_2d_array - glTexStorage3DMultisampleOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_storage_multisample_2d_array] && glesConfig.m_glTexStorage3DMultisampleOES) { prototypeCalled = true; - glesConfig.m_glPatchParameteriOES (pname, value); + glesConfig.m_glTexStorage3DMultisampleOES (target, samples, internalformat, width, height, depth, fixedsamplelocations); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13353,18 +16703,18 @@ void _glew_gles_glPatchParameteriOES (GLenum pname, GLint value) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) +void _glew_gles_glTextureViewOES (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_3D - glTexImage3DOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glTexImage3DOES) + // GL_OES_texture_view - glTextureViewOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_view] && glesConfig.m_glTextureViewOES) { prototypeCalled = true; - glesConfig.m_glTexImage3DOES (target, level, internalformat, width, height, depth, border, format, type, pixels); + glesConfig.m_glTextureViewOES (texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13376,18 +16726,18 @@ void _glew_gles_glTexImage3DOES (GLenum target, GLint level, GLenum internalform //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) +void _glew_gles_glBindVertexArrayOES (GLuint array) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_3D - glTexSubImage3DOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glTexSubImage3DOES) + // GL_OES_vertex_array_object - glBindVertexArrayOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_vertex_array_object] && glesConfig.m_glBindVertexArrayOES) { prototypeCalled = true; - glesConfig.m_glTexSubImage3DOES (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); + glesConfig.m_glBindVertexArrayOES (array); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13399,18 +16749,18 @@ void _glew_gles_glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, G //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) +void _glew_gles_glDeleteVertexArraysOES (GLsizei n, const GLuint * arrays) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_3D - glCopyTexSubImage3DOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glCopyTexSubImage3DOES) + // GL_OES_vertex_array_object - glDeleteVertexArraysOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_vertex_array_object] && glesConfig.m_glDeleteVertexArraysOES) { prototypeCalled = true; - glesConfig.m_glCopyTexSubImage3DOES (target, level, xoffset, yoffset, zoffset, x, y, width, height); + glesConfig.m_glDeleteVertexArraysOES (n, arrays); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13422,18 +16772,18 @@ void _glew_gles_glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffse //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data) +void _glew_gles_glGenVertexArraysOES (GLsizei n, GLuint * arrays) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_3D - glCompressedTexImage3DOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glCompressedTexImage3DOES) + // GL_OES_vertex_array_object - glGenVertexArraysOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_vertex_array_object] && glesConfig.m_glGenVertexArraysOES) { prototypeCalled = true; - glesConfig.m_glCompressedTexImage3DOES (target, level, internalformat, width, height, depth, border, imageSize, data); + glesConfig.m_glGenVertexArraysOES (n, arrays); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13445,41 +16795,43 @@ void _glew_gles_glCompressedTexImage3DOES (GLenum target, GLint level, GLenum in //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data) +GLboolean _glew_gles_glIsVertexArrayOES (GLuint array) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_3D - glCompressedTexSubImage3DOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glCompressedTexSubImage3DOES) + // GL_OES_vertex_array_object - glIsVertexArrayOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_vertex_array_object] && glesConfig.m_glIsVertexArrayOES) { prototypeCalled = true; - glesConfig.m_glCompressedTexSubImage3DOES (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); + result = glesConfig.m_glIsVertexArrayOES (array); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) +void _glew_gles_glViewportArrayvOES (GLuint first, GLsizei count, const GLfloat * v) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_3D - glFramebufferTexture3DOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_3D] && glesConfig.m_glFramebufferTexture3DOES) + // GL_OES_viewport_array - glViewportArrayvOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glesConfig.m_glViewportArrayvOES) { prototypeCalled = true; - glesConfig.m_glFramebufferTexture3DOES (target, attachment, textarget, texture, level, zoffset); + glesConfig.m_glViewportArrayvOES (first, count, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13491,18 +16843,18 @@ void _glew_gles_glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLe //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTexParameterIivOES (GLenum target, GLenum pname, const GLint * params) +void _glew_gles_glViewportIndexedfOES (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_border_clamp - glTexParameterIivOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glTexParameterIivOES) + // GL_OES_viewport_array - glViewportIndexedfOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glesConfig.m_glViewportIndexedfOES) { prototypeCalled = true; - glesConfig.m_glTexParameterIivOES (target, pname, params); + glesConfig.m_glViewportIndexedfOES (index, x, y, w, h); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13514,18 +16866,18 @@ void _glew_gles_glTexParameterIivOES (GLenum target, GLenum pname, const GLint * //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTexParameterIuivOES (GLenum target, GLenum pname, const GLuint * params) +void _glew_gles_glViewportIndexedfvOES (GLuint index, const GLfloat * v) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_border_clamp - glTexParameterIuivOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glTexParameterIuivOES) + // GL_OES_viewport_array - glViewportIndexedfvOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glesConfig.m_glViewportIndexedfvOES) { prototypeCalled = true; - glesConfig.m_glTexParameterIuivOES (target, pname, params); + glesConfig.m_glViewportIndexedfvOES (index, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13537,18 +16889,18 @@ void _glew_gles_glTexParameterIuivOES (GLenum target, GLenum pname, const GLuint //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetTexParameterIivOES (GLenum target, GLenum pname, GLint * params) +void _glew_gles_glScissorArrayvOES (GLuint first, GLsizei count, const GLint * v) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_border_clamp - glGetTexParameterIivOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glGetTexParameterIivOES) + // GL_OES_viewport_array - glScissorArrayvOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glesConfig.m_glScissorArrayvOES) { prototypeCalled = true; - glesConfig.m_glGetTexParameterIivOES (target, pname, params); + glesConfig.m_glScissorArrayvOES (first, count, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13560,18 +16912,18 @@ void _glew_gles_glGetTexParameterIivOES (GLenum target, GLenum pname, GLint * pa //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetTexParameterIuivOES (GLenum target, GLenum pname, GLuint * params) +void _glew_gles_glScissorIndexedOES (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_border_clamp - glGetTexParameterIuivOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glGetTexParameterIuivOES) + // GL_OES_viewport_array - glScissorIndexedOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glesConfig.m_glScissorIndexedOES) { prototypeCalled = true; - glesConfig.m_glGetTexParameterIuivOES (target, pname, params); + glesConfig.m_glScissorIndexedOES (index, left, bottom, width, height); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13583,18 +16935,18 @@ void _glew_gles_glGetTexParameterIuivOES (GLenum target, GLenum pname, GLuint * //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glSamplerParameterIivOES (GLuint sampler, GLenum pname, const GLint * param) +void _glew_gles_glScissorIndexedvOES (GLuint index, const GLint * v) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_border_clamp - glSamplerParameterIivOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glSamplerParameterIivOES) + // GL_OES_viewport_array - glScissorIndexedvOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glesConfig.m_glScissorIndexedvOES) { prototypeCalled = true; - glesConfig.m_glSamplerParameterIivOES (sampler, pname, param); + glesConfig.m_glScissorIndexedvOES (index, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13606,18 +16958,18 @@ void _glew_gles_glSamplerParameterIivOES (GLuint sampler, GLenum pname, const GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glSamplerParameterIuivOES (GLuint sampler, GLenum pname, const GLuint * param) +void _glew_gles_glDepthRangeArrayfvOES (GLuint first, GLsizei count, const GLfloat * v) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_border_clamp - glSamplerParameterIuivOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glSamplerParameterIuivOES) + // GL_OES_viewport_array - glDepthRangeArrayfvOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glesConfig.m_glDepthRangeArrayfvOES) { prototypeCalled = true; - glesConfig.m_glSamplerParameterIuivOES (sampler, pname, param); + glesConfig.m_glDepthRangeArrayfvOES (first, count, v); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13629,18 +16981,18 @@ void _glew_gles_glSamplerParameterIuivOES (GLuint sampler, GLenum pname, const G //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetSamplerParameterIivOES (GLuint sampler, GLenum pname, GLint * params) +void _glew_gles_glDepthRangeIndexedfOES (GLuint index, GLfloat n, GLfloat f) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_border_clamp - glGetSamplerParameterIivOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glGetSamplerParameterIivOES) + // GL_OES_viewport_array - glDepthRangeIndexedfOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glesConfig.m_glDepthRangeIndexedfOES) { prototypeCalled = true; - glesConfig.m_glGetSamplerParameterIivOES (sampler, pname, params); + glesConfig.m_glDepthRangeIndexedfOES (index, n, f); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13652,18 +17004,18 @@ void _glew_gles_glGetSamplerParameterIivOES (GLuint sampler, GLenum pname, GLint //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetSamplerParameterIuivOES (GLuint sampler, GLenum pname, GLuint * params) +void _glew_gles_glGetFloati_vOES (GLenum target, GLuint index, GLfloat * data) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_border_clamp - glGetSamplerParameterIuivOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_border_clamp] && glesConfig.m_glGetSamplerParameterIuivOES) + // GL_OES_viewport_array - glGetFloati_vOES + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_viewport_array] && glesConfig.m_glGetFloati_vOES) { prototypeCalled = true; - glesConfig.m_glGetSamplerParameterIuivOES (sampler, pname, params); + glesConfig.m_glGetFloati_vOES (target, index, data); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13675,18 +17027,18 @@ void _glew_gles_glGetSamplerParameterIuivOES (GLuint sampler, GLenum pname, GLui //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer) +void _glew_gles_glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_buffer - glTexBufferOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_buffer] && glesConfig.m_glTexBufferOES) + // GL_OVR_multiview - glFramebufferTextureMultiviewOVR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OVR_multiview] && glesConfig.m_glFramebufferTextureMultiviewOVR) { prototypeCalled = true; - glesConfig.m_glTexBufferOES (target, internalformat, buffer); + glesConfig.m_glFramebufferTextureMultiviewOVR (target, attachment, texture, level, baseViewIndex, numViews); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13698,18 +17050,18 @@ void _glew_gles_glTexBufferOES (GLenum target, GLenum internalformat, GLuint buf //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) +void _glew_gles_glFramebufferTextureMultisampleMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_buffer - glTexBufferRangeOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_buffer] && glesConfig.m_glTexBufferRangeOES) + // GL_OVR_multiview_multisampled_render_to_texture - glFramebufferTextureMultisampleMultiviewOVR + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OVR_multiview_multisampled_render_to_texture] && glesConfig.m_glFramebufferTextureMultisampleMultiviewOVR) { prototypeCalled = true; - glesConfig.m_glTexBufferRangeOES (target, internalformat, buffer, offset, size); + glesConfig.m_glFramebufferTextureMultisampleMultiviewOVR (target, attachment, texture, level, samples, baseViewIndex, numViews); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13721,18 +17073,18 @@ void _glew_gles_glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) +void _glew_gles_glAlphaFuncQCOM (GLenum func, GLclampf ref) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_storage_multisample_2d_array - glTexStorage3DMultisampleOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_storage_multisample_2d_array] && glesConfig.m_glTexStorage3DMultisampleOES) + // GL_QCOM_alpha_test - glAlphaFuncQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_alpha_test] && glesConfig.m_glAlphaFuncQCOM) { prototypeCalled = true; - glesConfig.m_glTexStorage3DMultisampleOES (target, samples, internalformat, width, height, depth, fixedsamplelocations); + glesConfig.m_glAlphaFuncQCOM (func, ref); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13744,18 +17096,18 @@ void _glew_gles_glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glTextureViewOES (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers) +void _glew_gles_glGetDriverControlsQCOM (GLint * num, GLsizei size, GLuint * driverControls) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_texture_view - glTextureViewOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_texture_view] && glesConfig.m_glTextureViewOES) + // GL_QCOM_driver_control - glGetDriverControlsQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_driver_control] && glesConfig.m_glGetDriverControlsQCOM) { prototypeCalled = true; - glesConfig.m_glTextureViewOES (texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers); + glesConfig.m_glGetDriverControlsQCOM (num, size, driverControls); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13767,18 +17119,18 @@ void _glew_gles_glTextureViewOES (GLuint texture, GLenum target, GLuint origtext //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glBindVertexArrayOES (GLuint array) +void _glew_gles_glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei * length, GLchar * driverControlString) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_vertex_array_object - glBindVertexArrayOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_vertex_array_object] && glesConfig.m_glBindVertexArrayOES) + // GL_QCOM_driver_control - glGetDriverControlStringQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_driver_control] && glesConfig.m_glGetDriverControlStringQCOM) { prototypeCalled = true; - glesConfig.m_glBindVertexArrayOES (array); + glesConfig.m_glGetDriverControlStringQCOM (driverControl, bufSize, length, driverControlString); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13790,18 +17142,18 @@ void _glew_gles_glBindVertexArrayOES (GLuint array) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDeleteVertexArraysOES (GLsizei n, const GLuint * arrays) +void _glew_gles_glEnableDriverControlQCOM (GLuint driverControl) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_vertex_array_object - glDeleteVertexArraysOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_vertex_array_object] && glesConfig.m_glDeleteVertexArraysOES) + // GL_QCOM_driver_control - glEnableDriverControlQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_driver_control] && glesConfig.m_glEnableDriverControlQCOM) { prototypeCalled = true; - glesConfig.m_glDeleteVertexArraysOES (n, arrays); + glesConfig.m_glEnableDriverControlQCOM (driverControl); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13813,18 +17165,18 @@ void _glew_gles_glDeleteVertexArraysOES (GLsizei n, const GLuint * arrays) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGenVertexArraysOES (GLsizei n, GLuint * arrays) +void _glew_gles_glDisableDriverControlQCOM (GLuint driverControl) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_vertex_array_object - glGenVertexArraysOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_vertex_array_object] && glesConfig.m_glGenVertexArraysOES) + // GL_QCOM_driver_control - glDisableDriverControlQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_driver_control] && glesConfig.m_glDisableDriverControlQCOM) { prototypeCalled = true; - glesConfig.m_glGenVertexArraysOES (n, arrays); + glesConfig.m_glDisableDriverControlQCOM (driverControl); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13836,43 +17188,41 @@ void _glew_gles_glGenVertexArraysOES (GLsizei n, GLuint * arrays) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gles_glIsVertexArrayOES (GLuint array) +void _glew_gles_glExtGetTexturesQCOM (GLuint * textures, GLint maxTextures, GLint * numTextures) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OES_vertex_array_object - glIsVertexArrayOES - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OES_vertex_array_object] && glesConfig.m_glIsVertexArrayOES) + // GL_QCOM_extended_get - glExtGetTexturesQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtGetTexturesQCOM) { prototypeCalled = true; - result = glesConfig.m_glIsVertexArrayOES (array); + glesConfig.m_glExtGetTexturesQCOM (textures, maxTextures, numTextures); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews) +void _glew_gles_glExtGetBuffersQCOM (GLuint * buffers, GLint maxBuffers, GLint * numBuffers) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OVR_multiview - glFramebufferTextureMultiviewOVR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OVR_multiview] && glesConfig.m_glFramebufferTextureMultiviewOVR) + // GL_QCOM_extended_get - glExtGetBuffersQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtGetBuffersQCOM) { prototypeCalled = true; - glesConfig.m_glFramebufferTextureMultiviewOVR (target, attachment, texture, level, baseViewIndex, numViews); + glesConfig.m_glExtGetBuffersQCOM (buffers, maxBuffers, numBuffers); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13884,18 +17234,18 @@ void _glew_gles_glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachme //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glFramebufferTextureMultisampleMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews) +void _glew_gles_glExtGetRenderbuffersQCOM (GLuint * renderbuffers, GLint maxRenderbuffers, GLint * numRenderbuffers) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_OVR_multiview_multisampled_render_to_texture - glFramebufferTextureMultisampleMultiviewOVR - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_OVR_multiview_multisampled_render_to_texture] && glesConfig.m_glFramebufferTextureMultisampleMultiviewOVR) + // GL_QCOM_extended_get - glExtGetRenderbuffersQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtGetRenderbuffersQCOM) { prototypeCalled = true; - glesConfig.m_glFramebufferTextureMultisampleMultiviewOVR (target, attachment, texture, level, samples, baseViewIndex, numViews); + glesConfig.m_glExtGetRenderbuffersQCOM (renderbuffers, maxRenderbuffers, numRenderbuffers); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13907,18 +17257,18 @@ void _glew_gles_glFramebufferTextureMultisampleMultiviewOVR (GLenum target, GLen //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glAlphaFuncQCOM (GLenum func, GLclampf ref) +void _glew_gles_glExtGetFramebuffersQCOM (GLuint * framebuffers, GLint maxFramebuffers, GLint * numFramebuffers) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_alpha_test - glAlphaFuncQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_alpha_test] && glesConfig.m_glAlphaFuncQCOM) + // GL_QCOM_extended_get - glExtGetFramebuffersQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtGetFramebuffersQCOM) { prototypeCalled = true; - glesConfig.m_glAlphaFuncQCOM (func, ref); + glesConfig.m_glExtGetFramebuffersQCOM (framebuffers, maxFramebuffers, numFramebuffers); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13930,18 +17280,18 @@ void _glew_gles_glAlphaFuncQCOM (GLenum func, GLclampf ref) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetDriverControlsQCOM (GLint * num, GLsizei size, GLuint * driverControls) +void _glew_gles_glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint * params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_driver_control - glGetDriverControlsQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_driver_control] && glesConfig.m_glGetDriverControlsQCOM) + // GL_QCOM_extended_get - glExtGetTexLevelParameterivQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtGetTexLevelParameterivQCOM) { prototypeCalled = true; - glesConfig.m_glGetDriverControlsQCOM (num, size, driverControls); + glesConfig.m_glExtGetTexLevelParameterivQCOM (texture, face, level, pname, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13953,18 +17303,18 @@ void _glew_gles_glGetDriverControlsQCOM (GLint * num, GLsizei size, GLuint * dri //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei * length, GLchar * driverControlString) +void _glew_gles_glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_driver_control - glGetDriverControlStringQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_driver_control] && glesConfig.m_glGetDriverControlStringQCOM) + // GL_QCOM_extended_get - glExtTexObjectStateOverrideiQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtTexObjectStateOverrideiQCOM) { prototypeCalled = true; - glesConfig.m_glGetDriverControlStringQCOM (driverControl, bufSize, length, driverControlString); + glesConfig.m_glExtTexObjectStateOverrideiQCOM (target, pname, param); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13976,18 +17326,18 @@ void _glew_gles_glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufS //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glEnableDriverControlQCOM (GLuint driverControl) +void _glew_gles_glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void * texels) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_driver_control - glEnableDriverControlQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_driver_control] && glesConfig.m_glEnableDriverControlQCOM) + // GL_QCOM_extended_get - glExtGetTexSubImageQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtGetTexSubImageQCOM) { prototypeCalled = true; - glesConfig.m_glEnableDriverControlQCOM (driverControl); + glesConfig.m_glExtGetTexSubImageQCOM (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, texels); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -13999,18 +17349,18 @@ void _glew_gles_glEnableDriverControlQCOM (GLuint driverControl) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glDisableDriverControlQCOM (GLuint driverControl) +void _glew_gles_glExtGetBufferPointervQCOM (GLenum target, void ** params) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_driver_control - glDisableDriverControlQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_driver_control] && glesConfig.m_glDisableDriverControlQCOM) + // GL_QCOM_extended_get - glExtGetBufferPointervQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtGetBufferPointervQCOM) { prototypeCalled = true; - glesConfig.m_glDisableDriverControlQCOM (driverControl); + glesConfig.m_glExtGetBufferPointervQCOM (target, params); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -14022,18 +17372,18 @@ void _glew_gles_glDisableDriverControlQCOM (GLuint driverControl) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glExtGetTexturesQCOM (GLuint * textures, GLint maxTextures, GLint * numTextures) +void _glew_gles_glExtGetShadersQCOM (GLuint * shaders, GLint maxShaders, GLint * numShaders) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_extended_get - glExtGetTexturesQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtGetTexturesQCOM) + // GL_QCOM_extended_get2 - glExtGetShadersQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get2] && glesConfig.m_glExtGetShadersQCOM) { prototypeCalled = true; - glesConfig.m_glExtGetTexturesQCOM (textures, maxTextures, numTextures); + glesConfig.m_glExtGetShadersQCOM (shaders, maxShaders, numShaders); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -14045,18 +17395,18 @@ void _glew_gles_glExtGetTexturesQCOM (GLuint * textures, GLint maxTextures, GLin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glExtGetBuffersQCOM (GLuint * buffers, GLint maxBuffers, GLint * numBuffers) +void _glew_gles_glExtGetProgramsQCOM (GLuint * programs, GLint maxPrograms, GLint * numPrograms) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_extended_get - glExtGetBuffersQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtGetBuffersQCOM) + // GL_QCOM_extended_get2 - glExtGetProgramsQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get2] && glesConfig.m_glExtGetProgramsQCOM) { prototypeCalled = true; - glesConfig.m_glExtGetBuffersQCOM (buffers, maxBuffers, numBuffers); + glesConfig.m_glExtGetProgramsQCOM (programs, maxPrograms, numPrograms); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -14068,41 +17418,43 @@ void _glew_gles_glExtGetBuffersQCOM (GLuint * buffers, GLint maxBuffers, GLint * //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glExtGetRenderbuffersQCOM (GLuint * renderbuffers, GLint maxRenderbuffers, GLint * numRenderbuffers) +GLboolean _glew_gles_glExtIsProgramBinaryQCOM (GLuint program) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); + GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_extended_get - glExtGetRenderbuffersQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtGetRenderbuffersQCOM) + // GL_QCOM_extended_get2 - glExtIsProgramBinaryQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get2] && glesConfig.m_glExtIsProgramBinaryQCOM) { prototypeCalled = true; - glesConfig.m_glExtGetRenderbuffersQCOM (renderbuffers, maxRenderbuffers, numRenderbuffers); + result = glesConfig.m_glExtIsProgramBinaryQCOM (program); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif + return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glExtGetFramebuffersQCOM (GLuint * framebuffers, GLint maxFramebuffers, GLint * numFramebuffers) +void _glew_gles_glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar * source, GLint * length) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_extended_get - glExtGetFramebuffersQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtGetFramebuffersQCOM) + // GL_QCOM_extended_get2 - glExtGetProgramBinarySourceQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get2] && glesConfig.m_glExtGetProgramBinarySourceQCOM) { prototypeCalled = true; - glesConfig.m_glExtGetFramebuffersQCOM (framebuffers, maxFramebuffers, numFramebuffers); + glesConfig.m_glExtGetProgramBinarySourceQCOM (program, shadertype, source, length); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -14114,18 +17466,18 @@ void _glew_gles_glExtGetFramebuffersQCOM (GLuint * framebuffers, GLint maxFrameb //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint * params) +void _glew_gles_glFramebufferFoveationConfigQCOM (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint * providedFeatures) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_extended_get - glExtGetTexLevelParameterivQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtGetTexLevelParameterivQCOM) + // GL_QCOM_framebuffer_foveated - glFramebufferFoveationConfigQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_framebuffer_foveated] && glesConfig.m_glFramebufferFoveationConfigQCOM) { prototypeCalled = true; - glesConfig.m_glExtGetTexLevelParameterivQCOM (texture, face, level, pname, params); + glesConfig.m_glFramebufferFoveationConfigQCOM (framebuffer, numLayers, focalPointsPerLayer, requestedFeatures, providedFeatures); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -14137,18 +17489,18 @@ void _glew_gles_glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GL //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param) +void _glew_gles_glFramebufferFoveationParametersQCOM (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_extended_get - glExtTexObjectStateOverrideiQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtTexObjectStateOverrideiQCOM) + // GL_QCOM_framebuffer_foveated - glFramebufferFoveationParametersQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_framebuffer_foveated] && glesConfig.m_glFramebufferFoveationParametersQCOM) { prototypeCalled = true; - glesConfig.m_glExtTexObjectStateOverrideiQCOM (target, pname, param); + glesConfig.m_glFramebufferFoveationParametersQCOM (framebuffer, layer, focalPoint, focalX, focalY, gainX, gainY, foveaArea); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -14160,18 +17512,18 @@ void _glew_gles_glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, G //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void * texels) +void _glew_gles_glTexEstimateMotionQCOM (GLuint ref, GLuint target, GLuint output) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_extended_get - glExtGetTexSubImageQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtGetTexSubImageQCOM) + // GL_QCOM_motion_estimation - glTexEstimateMotionQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_motion_estimation] && glesConfig.m_glTexEstimateMotionQCOM) { prototypeCalled = true; - glesConfig.m_glExtGetTexSubImageQCOM (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, texels); + glesConfig.m_glTexEstimateMotionQCOM (ref, target, output); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -14183,18 +17535,18 @@ void _glew_gles_glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffs //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glExtGetBufferPointervQCOM (GLenum target, void ** params) +void _glew_gles_glTexEstimateMotionRegionsQCOM (GLuint ref, GLuint target, GLuint output, GLuint mask) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_extended_get - glExtGetBufferPointervQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] && glesConfig.m_glExtGetBufferPointervQCOM) + // GL_QCOM_motion_estimation - glTexEstimateMotionRegionsQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_motion_estimation] && glesConfig.m_glTexEstimateMotionRegionsQCOM) { prototypeCalled = true; - glesConfig.m_glExtGetBufferPointervQCOM (target, params); + glesConfig.m_glTexEstimateMotionRegionsQCOM (ref, target, output, mask); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -14206,18 +17558,18 @@ void _glew_gles_glExtGetBufferPointervQCOM (GLenum target, void ** params) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glExtGetShadersQCOM (GLuint * shaders, GLint maxShaders, GLint * numShaders) +void _glew_gles_glExtrapolateTex2DQCOM (GLuint src1, GLuint src2, GLuint output, GLfloat scaleFactor) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_extended_get2 - glExtGetShadersQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get2] && glesConfig.m_glExtGetShadersQCOM) + // GL_QCOM_frame_extrapolation - glExtrapolateTex2DQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_frame_extrapolation] && glesConfig.m_glExtrapolateTex2DQCOM) { prototypeCalled = true; - glesConfig.m_glExtGetShadersQCOM (shaders, maxShaders, numShaders); + glesConfig.m_glExtrapolateTex2DQCOM (src1, src2, output, scaleFactor); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -14229,18 +17581,18 @@ void _glew_gles_glExtGetShadersQCOM (GLuint * shaders, GLint maxShaders, GLint * //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glExtGetProgramsQCOM (GLuint * programs, GLint maxPrograms, GLint * numPrograms) +void _glew_gles_glTextureFoveationParametersQCOM (GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_extended_get2 - glExtGetProgramsQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get2] && glesConfig.m_glExtGetProgramsQCOM) + // GL_QCOM_texture_foveated - glTextureFoveationParametersQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_texture_foveated] && glesConfig.m_glTextureFoveationParametersQCOM) { prototypeCalled = true; - glesConfig.m_glExtGetProgramsQCOM (programs, maxPrograms, numPrograms); + glesConfig.m_glTextureFoveationParametersQCOM (texture, layer, focalPoint, focalX, focalY, gainX, gainY, foveaArea); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -14252,43 +17604,41 @@ void _glew_gles_glExtGetProgramsQCOM (GLuint * programs, GLint maxPrograms, GLin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -GLboolean _glew_gles_glExtIsProgramBinaryQCOM (GLuint program) +void _glew_gles_glFramebufferFetchBarrierQCOM () { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); - GLboolean result = ((GLboolean)0); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_extended_get2 - glExtIsProgramBinaryQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get2] && glesConfig.m_glExtIsProgramBinaryQCOM) + // GL_QCOM_shader_framebuffer_fetch_noncoherent - glFramebufferFetchBarrierQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_shader_framebuffer_fetch_noncoherent] && glesConfig.m_glFramebufferFetchBarrierQCOM) { prototypeCalled = true; - result = glesConfig.m_glExtIsProgramBinaryQCOM (program); + glesConfig.m_glFramebufferFetchBarrierQCOM (); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -void _glew_gles_glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar * source, GLint * length) +void _glew_gles_glShadingRateQCOM (GLenum rate) { bool prototypeCalled = false; const glew::gles::DeviceConfig &glesConfig = glew::gles::GetConfig (); #if GLEW_GL_PRE_ERROR_CHECK GLEW_ASSERT (glGetError () == GL_NO_ERROR); #endif - // GL_QCOM_extended_get2 - glExtGetProgramBinarySourceQCOM - if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_extended_get2] && glesConfig.m_glExtGetProgramBinarySourceQCOM) + // GL_QCOM_shading_rate - glShadingRateQCOM + if (!prototypeCalled && glesConfig.m_featureSupported [GLEW_GL_QCOM_shading_rate] && glesConfig.m_glShadingRateQCOM) { prototypeCalled = true; - glesConfig.m_glExtGetProgramBinarySourceQCOM (program, shadertype, source, length); + glesConfig.m_glShadingRateQCOM (rate); } GLEW_ASSERT (prototypeCalled); #if GLEW_GL_POST_ERROR_CHECK @@ -14367,9 +17717,9 @@ void glew::gles::Initialise () { memset (&s_deviceConfig, 0, sizeof (s_deviceConfig)); - // + // // Determine current driver's feature reporting. - // + // const unsigned char *glVersion = glGetString (GL_VERSION); @@ -14407,9 +17757,9 @@ void glew::gles::Initialise () } } - // + // // Evaluate extension support. - // + // std::unordered_set supportedExtensions; @@ -14432,7 +17782,7 @@ void glew::gles::Initialise () memset (thisExtBuffer, 0, sizeof (thisExtBuffer)); - do + do { const char * seperator = strchr ((const char *) thisExtStart, ' '); @@ -14442,7 +17792,7 @@ void glew::gles::Initialise () #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -14456,7 +17806,7 @@ void glew::gles::Initialise () #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -14479,6 +17829,7 @@ void glew::gles::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_AMD_compressed_3DC_texture] = (supportedExtensions.find ("GL_AMD_compressed_3DC_texture") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_compressed_ATC_texture] = (supportedExtensions.find ("GL_AMD_compressed_ATC_texture") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_AMD_framebuffer_multisample_advanced] = (supportedExtensions.find ("GL_AMD_framebuffer_multisample_advanced") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_performance_monitor] = (supportedExtensions.find ("GL_AMD_performance_monitor") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_AMD_program_binary_Z400] = (supportedExtensions.find ("GL_AMD_program_binary_Z400") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ANDROID_extension_pack_es31a] = (supportedExtensions.find ("GL_ANDROID_extension_pack_es31a") != supportedExtensions.end ()); @@ -14506,65 +17857,99 @@ void glew::gles::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_ARM_rgba8] = (supportedExtensions.find ("GL_ARM_rgba8") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARM_shader_framebuffer_fetch] = (supportedExtensions.find ("GL_ARM_shader_framebuffer_fetch") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_ARM_shader_framebuffer_fetch_depth_stencil] = (supportedExtensions.find ("GL_ARM_shader_framebuffer_fetch_depth_stencil") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_ARM_texture_unnormalized_coordinates] = (supportedExtensions.find ("GL_ARM_texture_unnormalized_coordinates") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_DMP_program_binary] = (supportedExtensions.find ("GL_DMP_program_binary") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_DMP_shader_binary] = (supportedExtensions.find ("GL_DMP_shader_binary") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_EGL_image_array] = (supportedExtensions.find ("GL_EXT_EGL_image_array") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_EGL_image_storage] = (supportedExtensions.find ("GL_EXT_EGL_image_storage") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_YUV_target] = (supportedExtensions.find ("GL_EXT_YUV_target") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_base_instance] = (supportedExtensions.find ("GL_EXT_base_instance") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_blend_func_extended] = (supportedExtensions.find ("GL_EXT_blend_func_extended") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_blend_minmax] = (supportedExtensions.find ("GL_EXT_blend_minmax") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_buffer_storage] = (supportedExtensions.find ("GL_EXT_buffer_storage") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_clear_texture] = (supportedExtensions.find ("GL_EXT_clear_texture") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_clip_control] = (supportedExtensions.find ("GL_EXT_clip_control") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_clip_cull_distance] = (supportedExtensions.find ("GL_EXT_clip_cull_distance") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_color_buffer_float] = (supportedExtensions.find ("GL_EXT_color_buffer_float") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_color_buffer_half_float] = (supportedExtensions.find ("GL_EXT_color_buffer_half_float") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_conservative_depth] = (supportedExtensions.find ("GL_EXT_conservative_depth") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_copy_image] = (supportedExtensions.find ("GL_EXT_copy_image") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_debug_label] = (supportedExtensions.find ("GL_EXT_debug_label") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_debug_marker] = (supportedExtensions.find ("GL_EXT_debug_marker") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_depth_clamp] = (supportedExtensions.find ("GL_EXT_depth_clamp") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_discard_framebuffer] = (supportedExtensions.find ("GL_EXT_discard_framebuffer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_disjoint_timer_query] = (supportedExtensions.find ("GL_EXT_disjoint_timer_query") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_draw_buffers] = (supportedExtensions.find ("GL_EXT_draw_buffers") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_draw_buffers_indexed] = (supportedExtensions.find ("GL_EXT_draw_buffers_indexed") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_draw_elements_base_vertex] = (supportedExtensions.find ("GL_EXT_draw_elements_base_vertex") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_draw_instanced] = (supportedExtensions.find ("GL_EXT_draw_instanced") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_draw_transform_feedback] = (supportedExtensions.find ("GL_EXT_draw_transform_feedback") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_external_buffer] = (supportedExtensions.find ("GL_EXT_external_buffer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_float_blend] = (supportedExtensions.find ("GL_EXT_float_blend") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_geometry_point_size] = (supportedExtensions.find ("GL_EXT_geometry_point_size") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_geometry_shader] = (supportedExtensions.find ("GL_EXT_geometry_shader") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_gpu_shader5] = (supportedExtensions.find ("GL_EXT_gpu_shader5") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_instanced_arrays] = (supportedExtensions.find ("GL_EXT_instanced_arrays") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_map_buffer_range] = (supportedExtensions.find ("GL_EXT_map_buffer_range") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_memory_object] = (supportedExtensions.find ("GL_EXT_memory_object") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_memory_object_fd] = (supportedExtensions.find ("GL_EXT_memory_object_fd") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_memory_object_win32] = (supportedExtensions.find ("GL_EXT_memory_object_win32") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_arrays] = (supportedExtensions.find ("GL_EXT_multi_draw_arrays") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_indirect] = (supportedExtensions.find ("GL_EXT_multi_draw_indirect") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multisampled_compatibility] = (supportedExtensions.find ("GL_EXT_multisampled_compatibility") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multisampled_render_to_texture] = (supportedExtensions.find ("GL_EXT_multisampled_render_to_texture") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multisampled_render_to_texture2] = (supportedExtensions.find ("GL_EXT_multisampled_render_to_texture2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multiview_draw_buffers] = (supportedExtensions.find ("GL_EXT_multiview_draw_buffers") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multiview_tessellation_geometry_shader] = (supportedExtensions.find ("GL_EXT_multiview_tessellation_geometry_shader") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multiview_texture_multisample] = (supportedExtensions.find ("GL_EXT_multiview_texture_multisample") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multiview_timer_query] = (supportedExtensions.find ("GL_EXT_multiview_timer_query") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_occlusion_query_boolean] = (supportedExtensions.find ("GL_EXT_occlusion_query_boolean") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_polygon_offset_clamp] = (supportedExtensions.find ("GL_EXT_polygon_offset_clamp") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_post_depth_coverage] = (supportedExtensions.find ("GL_EXT_post_depth_coverage") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_primitive_bounding_box] = (supportedExtensions.find ("GL_EXT_primitive_bounding_box") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_protected_textures] = (supportedExtensions.find ("GL_EXT_protected_textures") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_pvrtc_sRGB] = (supportedExtensions.find ("GL_EXT_pvrtc_sRGB") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_raster_multisample] = (supportedExtensions.find ("GL_EXT_raster_multisample") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_read_format_bgra] = (supportedExtensions.find ("GL_EXT_read_format_bgra") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_render_snorm] = (supportedExtensions.find ("GL_EXT_render_snorm") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_robustness] = (supportedExtensions.find ("GL_EXT_robustness") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_semaphore] = (supportedExtensions.find ("GL_EXT_semaphore") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_semaphore_fd] = (supportedExtensions.find ("GL_EXT_semaphore_fd") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_semaphore_win32] = (supportedExtensions.find ("GL_EXT_semaphore_win32") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_sRGB] = (supportedExtensions.find ("GL_EXT_sRGB") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_sRGB_write_control] = (supportedExtensions.find ("GL_EXT_sRGB_write_control") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects] = (supportedExtensions.find ("GL_EXT_separate_shader_objects") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_framebuffer_fetch] = (supportedExtensions.find ("GL_EXT_shader_framebuffer_fetch") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_framebuffer_fetch_non_coherent] = (supportedExtensions.find ("GL_EXT_shader_framebuffer_fetch_non_coherent") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_group_vote] = (supportedExtensions.find ("GL_EXT_shader_group_vote") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_implicit_conversions] = (supportedExtensions.find ("GL_EXT_shader_implicit_conversions") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_integer_mix] = (supportedExtensions.find ("GL_EXT_shader_integer_mix") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_io_blocks] = (supportedExtensions.find ("GL_EXT_shader_io_blocks") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_non_constant_global_initializers] = (supportedExtensions.find ("GL_EXT_shader_non_constant_global_initializers") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_pixel_local_storage] = (supportedExtensions.find ("GL_EXT_shader_pixel_local_storage") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_pixel_local_storage2] = (supportedExtensions.find ("GL_EXT_shader_pixel_local_storage2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_texture_lod] = (supportedExtensions.find ("GL_EXT_shader_texture_lod") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shadow_samplers] = (supportedExtensions.find ("GL_EXT_shadow_samplers") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_sparse_texture] = (supportedExtensions.find ("GL_EXT_sparse_texture") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_sparse_texture2] = (supportedExtensions.find ("GL_EXT_sparse_texture2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_tessellation_point_size] = (supportedExtensions.find ("GL_EXT_tessellation_point_size") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_tessellation_shader] = (supportedExtensions.find ("GL_EXT_tessellation_shader") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_border_clamp] = (supportedExtensions.find ("GL_EXT_texture_border_clamp") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_buffer] = (supportedExtensions.find ("GL_EXT_texture_buffer") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_compression_astc_decode_mode] = (supportedExtensions.find ("GL_EXT_texture_compression_astc_decode_mode") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_compression_bptc] = (supportedExtensions.find ("GL_EXT_texture_compression_bptc") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_compression_dxt1] = (supportedExtensions.find ("GL_EXT_texture_compression_dxt1") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_compression_rgtc] = (supportedExtensions.find ("GL_EXT_texture_compression_rgtc") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_compression_s3tc] = (supportedExtensions.find ("GL_EXT_texture_compression_s3tc") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_compression_s3tc_srgb] = (supportedExtensions.find ("GL_EXT_texture_compression_s3tc_srgb") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_cube_map_array] = (supportedExtensions.find ("GL_EXT_texture_cube_map_array") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_filter_anisotropic] = (supportedExtensions.find ("GL_EXT_texture_filter_anisotropic") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_filter_minmax] = (supportedExtensions.find ("GL_EXT_texture_filter_minmax") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_format_BGRA8888] = (supportedExtensions.find ("GL_EXT_texture_format_BGRA8888") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_format_sRGB_override] = (supportedExtensions.find ("GL_EXT_texture_format_sRGB_override") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_mirror_clamp_to_edge] = (supportedExtensions.find ("GL_EXT_texture_mirror_clamp_to_edge") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_norm16] = (supportedExtensions.find ("GL_EXT_texture_norm16") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_query_lod] = (supportedExtensions.find ("GL_EXT_texture_query_lod") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_rg] = (supportedExtensions.find ("GL_EXT_texture_rg") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_sRGB_R8] = (supportedExtensions.find ("GL_EXT_texture_sRGB_R8") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_sRGB_RG8] = (supportedExtensions.find ("GL_EXT_texture_sRGB_RG8") != supportedExtensions.end ()); @@ -14572,8 +17957,13 @@ void glew::gles::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_storage] = (supportedExtensions.find ("GL_EXT_texture_storage") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_type_2_10_10_10_REV] = (supportedExtensions.find ("GL_EXT_texture_type_2_10_10_10_REV") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_view] = (supportedExtensions.find ("GL_EXT_texture_view") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_timeline_semaphore] = (supportedExtensions.find ("GL_NV_timeline_semaphore") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_EXT_unpack_subimage] = (supportedExtensions.find ("GL_EXT_unpack_subimage") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_win32_keyed_mutex] = (supportedExtensions.find ("GL_EXT_win32_keyed_mutex") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_window_rectangles] = (supportedExtensions.find ("GL_EXT_window_rectangles") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_FJ_shader_binary_GCCSO] = (supportedExtensions.find ("GL_FJ_shader_binary_GCCSO") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture] = (supportedExtensions.find ("GL_IMG_bindless_texture") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_IMG_framebuffer_downsample] = (supportedExtensions.find ("GL_IMG_framebuffer_downsample") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_IMG_multisampled_render_to_texture] = (supportedExtensions.find ("GL_IMG_multisampled_render_to_texture") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_IMG_program_binary] = (supportedExtensions.find ("GL_IMG_program_binary") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_IMG_read_format] = (supportedExtensions.find ("GL_IMG_read_format") != supportedExtensions.end ()); @@ -14581,7 +17971,9 @@ void glew::gles::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_IMG_texture_compression_pvrtc] = (supportedExtensions.find ("GL_IMG_texture_compression_pvrtc") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_IMG_texture_compression_pvrtc2] = (supportedExtensions.find ("GL_IMG_texture_compression_pvrtc2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_IMG_texture_filter_cubic] = (supportedExtensions.find ("GL_IMG_texture_filter_cubic") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_INTEL_conservative_rasterization] = (supportedExtensions.find ("GL_INTEL_conservative_rasterization") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_INTEL_framebuffer_CMAA] = (supportedExtensions.find ("GL_INTEL_framebuffer_CMAA") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_INTEL_blackhole_render] = (supportedExtensions.find ("GL_INTEL_blackhole_render") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_INTEL_performance_query] = (supportedExtensions.find ("GL_INTEL_performance_query") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_KHR_blend_equation_advanced] = (supportedExtensions.find ("GL_KHR_blend_equation_advanced") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_KHR_blend_equation_advanced_coherent] = (supportedExtensions.find ("GL_KHR_blend_equation_advanced_coherent") != supportedExtensions.end ()); @@ -14590,53 +17982,82 @@ void glew::gles::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_KHR_no_error] = (supportedExtensions.find ("GL_KHR_no_error") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_KHR_robust_buffer_access_behavior] = (supportedExtensions.find ("GL_KHR_robust_buffer_access_behavior") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_KHR_robustness] = (supportedExtensions.find ("GL_KHR_robustness") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_KHR_shader_subgroup] = (supportedExtensions.find ("GL_KHR_shader_subgroup") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_KHR_texture_compression_astc_hdr] = (supportedExtensions.find ("GL_KHR_texture_compression_astc_hdr") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_KHR_texture_compression_astc_ldr] = (supportedExtensions.find ("GL_KHR_texture_compression_astc_ldr") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_KHR_texture_compression_astc_sliced_3d] = (supportedExtensions.find ("GL_KHR_texture_compression_astc_sliced_3d") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_KHR_parallel_shader_compile] = (supportedExtensions.find ("GL_KHR_parallel_shader_compile") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_MESA_framebuffer_flip_x] = (supportedExtensions.find ("GL_MESA_framebuffer_flip_x") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_MESA_framebuffer_flip_y] = (supportedExtensions.find ("GL_MESA_framebuffer_flip_y") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_MESA_framebuffer_swap_xy] = (supportedExtensions.find ("GL_MESA_framebuffer_swap_xy") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_MESA_program_binary_formats] = (supportedExtensions.find ("GL_MESA_program_binary_formats") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_MESA_shader_integer_functions] = (supportedExtensions.find ("GL_MESA_shader_integer_functions") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NVX_blend_equation_advanced_multi_draw_buffers] = (supportedExtensions.find ("GL_NVX_blend_equation_advanced_multi_draw_buffers") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_bindless_texture] = (supportedExtensions.find ("GL_NV_bindless_texture") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_blend_equation_advanced] = (supportedExtensions.find ("GL_NV_blend_equation_advanced") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_blend_equation_advanced_coherent] = (supportedExtensions.find ("GL_NV_blend_equation_advanced_coherent") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_blend_minmax_factor] = (supportedExtensions.find ("GL_NV_blend_minmax_factor") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_clip_space_w_scaling] = (supportedExtensions.find ("GL_NV_clip_space_w_scaling") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_compute_shader_derivatives] = (supportedExtensions.find ("GL_NV_compute_shader_derivatives") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_conditional_render] = (supportedExtensions.find ("GL_NV_conditional_render") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_conservative_raster] = (supportedExtensions.find ("GL_NV_conservative_raster") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_conservative_raster_pre_snap] = (supportedExtensions.find ("GL_NV_conservative_raster_pre_snap") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_conservative_raster_pre_snap_triangles] = (supportedExtensions.find ("GL_NV_conservative_raster_pre_snap_triangles") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_copy_buffer] = (supportedExtensions.find ("GL_NV_copy_buffer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_coverage_sample] = (supportedExtensions.find ("GL_NV_coverage_sample") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_depth_nonlinear] = (supportedExtensions.find ("GL_NV_depth_nonlinear") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_draw_buffers] = (supportedExtensions.find ("GL_NV_draw_buffers") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_draw_instanced] = (supportedExtensions.find ("GL_NV_draw_instanced") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_draw_vulkan_image] = (supportedExtensions.find ("GL_NV_draw_vulkan_image") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_explicit_attrib_location] = (supportedExtensions.find ("GL_NV_explicit_attrib_location") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_fbo_color_attachments] = (supportedExtensions.find ("GL_NV_fbo_color_attachments") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_fence] = (supportedExtensions.find ("GL_NV_fence") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_fill_rectangle] = (supportedExtensions.find ("GL_NV_fill_rectangle") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_fragment_coverage_to_color] = (supportedExtensions.find ("GL_NV_fragment_coverage_to_color") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_fragment_shader_barycentric] = (supportedExtensions.find ("GL_NV_fragment_shader_barycentric") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_fragment_shader_interlock] = (supportedExtensions.find ("GL_NV_fragment_shader_interlock") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_framebuffer_blit] = (supportedExtensions.find ("GL_NV_framebuffer_blit") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_framebuffer_mixed_samples] = (supportedExtensions.find ("GL_NV_framebuffer_mixed_samples") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_framebuffer_multisample] = (supportedExtensions.find ("GL_NV_framebuffer_multisample") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_generate_mipmap_sRGB] = (supportedExtensions.find ("GL_NV_generate_mipmap_sRGB") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_geometry_shader_passthrough] = (supportedExtensions.find ("GL_NV_geometry_shader_passthrough") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5] = (supportedExtensions.find ("GL_NV_gpu_shader5") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_image_formats] = (supportedExtensions.find ("GL_NV_image_formats") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_instanced_arrays] = (supportedExtensions.find ("GL_NV_instanced_arrays") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_internalformat_sample_query] = (supportedExtensions.find ("GL_NV_internalformat_sample_query") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_memory_attachment] = (supportedExtensions.find ("GL_NV_memory_attachment") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_memory_object_sparse] = (supportedExtensions.find ("GL_NV_memory_object_sparse") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_mesh_shader] = (supportedExtensions.find ("GL_NV_mesh_shader") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices] = (supportedExtensions.find ("GL_NV_non_square_matrices") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_path_rendering] = (supportedExtensions.find ("GL_NV_path_rendering") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_path_rendering_shared_edge] = (supportedExtensions.find ("GL_NV_path_rendering_shared_edge") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_pixel_buffer_object] = (supportedExtensions.find ("GL_NV_pixel_buffer_object") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_polygon_mode] = (supportedExtensions.find ("GL_NV_polygon_mode") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_primitive_shading_rate] = (supportedExtensions.find ("GL_NV_primitive_shading_rate") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_read_buffer] = (supportedExtensions.find ("GL_NV_read_buffer") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_read_buffer_front] = (supportedExtensions.find ("GL_NV_read_buffer_front") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_read_depth] = (supportedExtensions.find ("GL_NV_read_depth") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_read_depth_stencil] = (supportedExtensions.find ("GL_NV_read_depth_stencil") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_read_stencil] = (supportedExtensions.find ("GL_NV_read_stencil") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_representative_fragment_test] = (supportedExtensions.find ("GL_NV_representative_fragment_test") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_sRGB_formats] = (supportedExtensions.find ("GL_NV_sRGB_formats") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_sample_locations] = (supportedExtensions.find ("GL_NV_sample_locations") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_sample_mask_override_coverage] = (supportedExtensions.find ("GL_NV_sample_mask_override_coverage") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_scissor_exclusive] = (supportedExtensions.find ("GL_NV_scissor_exclusive") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_atomic_fp16_vector] = (supportedExtensions.find ("GL_NV_shader_atomic_fp16_vector") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_noperspective_interpolation] = (supportedExtensions.find ("GL_NV_shader_noperspective_interpolation") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_subgroup_partitioned] = (supportedExtensions.find ("GL_NV_shader_subgroup_partitioned") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_shader_texture_footprint] = (supportedExtensions.find ("GL_NV_shader_texture_footprint") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image] = (supportedExtensions.find ("GL_NV_shading_rate_image") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_shadow_samplers_array] = (supportedExtensions.find ("GL_NV_shadow_samplers_array") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_shadow_samplers_cube] = (supportedExtensions.find ("GL_NV_shadow_samplers_cube") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_stereo_view_rendering] = (supportedExtensions.find ("GL_NV_stereo_view_rendering") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_texture_border_clamp] = (supportedExtensions.find ("GL_NV_texture_border_clamp") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_texture_compression_s3tc_update] = (supportedExtensions.find ("GL_NV_texture_compression_s3tc_update") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_texture_npot_2D_mipmap] = (supportedExtensions.find ("GL_NV_texture_npot_2D_mipmap") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_viewport_array] = (supportedExtensions.find ("GL_NV_viewport_array") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_NV_viewport_array2] = (supportedExtensions.find ("GL_NV_viewport_array2") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_NV_viewport_swizzle] = (supportedExtensions.find ("GL_NV_viewport_swizzle") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OES_EGL_image] = (supportedExtensions.find ("GL_OES_EGL_image") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OES_EGL_image_external] = (supportedExtensions.find ("GL_OES_EGL_image_external") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OES_EGL_image_external_essl3] = (supportedExtensions.find ("GL_OES_EGL_image_external_essl3") != supportedExtensions.end ()); @@ -14688,6 +18109,7 @@ void glew::gles::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_OES_vertex_array_object] = (supportedExtensions.find ("GL_OES_vertex_array_object") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OES_vertex_half_float] = (supportedExtensions.find ("GL_OES_vertex_half_float") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OES_vertex_type_10_10_10_2] = (supportedExtensions.find ("GL_OES_vertex_type_10_10_10_2") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_OES_viewport_array] = (supportedExtensions.find ("GL_OES_viewport_array") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OVR_multiview] = (supportedExtensions.find ("GL_OVR_multiview") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OVR_multiview2] = (supportedExtensions.find ("GL_OVR_multiview2") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_OVR_multiview_multisampled_render_to_texture] = (supportedExtensions.find ("GL_OVR_multiview_multisampled_render_to_texture") != supportedExtensions.end ()); @@ -14696,10 +18118,21 @@ void glew::gles::Initialise () s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_driver_control] = (supportedExtensions.find ("GL_QCOM_driver_control") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_extended_get] = (supportedExtensions.find ("GL_QCOM_extended_get") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_extended_get2] = (supportedExtensions.find ("GL_QCOM_extended_get2") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_framebuffer_foveated] = (supportedExtensions.find ("GL_QCOM_framebuffer_foveated") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_motion_estimation] = (supportedExtensions.find ("GL_QCOM_motion_estimation") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_frame_extrapolation] = (supportedExtensions.find ("GL_QCOM_frame_extrapolation") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_texture_foveated] = (supportedExtensions.find ("GL_QCOM_texture_foveated") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_texture_foveated2] = (supportedExtensions.find ("GL_QCOM_texture_foveated2") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_texture_foveated_subsampled_layout] = (supportedExtensions.find ("GL_QCOM_texture_foveated_subsampled_layout") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_perfmon_global_mode] = (supportedExtensions.find ("GL_QCOM_perfmon_global_mode") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_shader_framebuffer_fetch_noncoherent] = (supportedExtensions.find ("GL_QCOM_shader_framebuffer_fetch_noncoherent") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_shader_framebuffer_fetch_rate] = (supportedExtensions.find ("GL_QCOM_shader_framebuffer_fetch_rate") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_shading_rate] = (supportedExtensions.find ("GL_QCOM_shading_rate") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_tiled_rendering] = (supportedExtensions.find ("GL_QCOM_tiled_rendering") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_writeonly_rendering] = (supportedExtensions.find ("GL_QCOM_writeonly_rendering") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_YUV_texture_gather] = (supportedExtensions.find ("GL_QCOM_YUV_texture_gather") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_GL_VIV_shader_binary] = (supportedExtensions.find ("GL_VIV_shader_binary") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_GL_EXT_texture_shadow_lod] = (supportedExtensions.find ("GL_EXT_texture_shadow_lod") != supportedExtensions.end ()); // GL_ES_VERSION_3_0 if (s_deviceConfig.m_featureSupported [GLEW_GL_ES_VERSION_3_0]) @@ -14932,6 +18365,13 @@ void glew::gles::Initialise () s_deviceConfig.m_glTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC) glewGetProcAddress ("glTexStorage3DMultisample"); } + // GL_AMD_framebuffer_multisample_advanced + if (s_deviceConfig.m_featureSupported [GLEW_GL_AMD_framebuffer_multisample_advanced]) + { + s_deviceConfig.m_glRenderbufferStorageMultisampleAdvancedAMD = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) glewGetProcAddress ("glRenderbufferStorageMultisampleAdvancedAMD"); + s_deviceConfig.m_glNamedRenderbufferStorageMultisampleAdvancedAMD = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) glewGetProcAddress ("glNamedRenderbufferStorageMultisampleAdvancedAMD"); + } + // GL_AMD_performance_monitor if (s_deviceConfig.m_featureSupported [GLEW_GL_AMD_performance_monitor]) { @@ -14999,6 +18439,13 @@ void glew::gles::Initialise () s_deviceConfig.m_glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC) glewGetProcAddress ("glGetSyncivAPPLE"); } + // GL_EXT_EGL_image_storage + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_EGL_image_storage]) + { + s_deviceConfig.m_glEGLImageTargetTexStorageEXT = (PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) glewGetProcAddress ("glEGLImageTargetTexStorageEXT"); + s_deviceConfig.m_glEGLImageTargetTextureStorageEXT = (PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) glewGetProcAddress ("glEGLImageTargetTextureStorageEXT"); + } + // GL_EXT_base_instance if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_base_instance]) { @@ -15022,6 +18469,19 @@ void glew::gles::Initialise () s_deviceConfig.m_glBufferStorageEXT = (PFNGLBUFFERSTORAGEEXTPROC) glewGetProcAddress ("glBufferStorageEXT"); } + // GL_EXT_clear_texture + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_clear_texture]) + { + s_deviceConfig.m_glClearTexImageEXT = (PFNGLCLEARTEXIMAGEEXTPROC) glewGetProcAddress ("glClearTexImageEXT"); + s_deviceConfig.m_glClearTexSubImageEXT = (PFNGLCLEARTEXSUBIMAGEEXTPROC) glewGetProcAddress ("glClearTexSubImageEXT"); + } + + // GL_EXT_clip_control + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_clip_control]) + { + s_deviceConfig.m_glClipControlEXT = (PFNGLCLIPCONTROLEXTPROC) glewGetProcAddress ("glClipControlEXT"); + } + // GL_EXT_copy_image if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_copy_image]) { @@ -15063,6 +18523,7 @@ void glew::gles::Initialise () s_deviceConfig.m_glGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC) glewGetProcAddress ("glGetQueryObjectuivEXT"); s_deviceConfig.m_glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC) glewGetProcAddress ("glGetQueryObjecti64vEXT"); s_deviceConfig.m_glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC) glewGetProcAddress ("glGetQueryObjectui64vEXT"); + s_deviceConfig.m_glGetInteger64vEXT = (PFNGLGETINTEGER64VEXTPROC) glewGetProcAddress ("glGetInteger64vEXT"); } // GL_EXT_draw_buffers @@ -15100,6 +18561,20 @@ void glew::gles::Initialise () s_deviceConfig.m_glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC) glewGetProcAddress ("glDrawElementsInstancedEXT"); } + // GL_EXT_draw_transform_feedback + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_draw_transform_feedback]) + { + s_deviceConfig.m_glDrawTransformFeedbackEXT = (PFNGLDRAWTRANSFORMFEEDBACKEXTPROC) glewGetProcAddress ("glDrawTransformFeedbackEXT"); + s_deviceConfig.m_glDrawTransformFeedbackInstancedEXT = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC) glewGetProcAddress ("glDrawTransformFeedbackInstancedEXT"); + } + + // GL_EXT_external_buffer + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_external_buffer]) + { + s_deviceConfig.m_glBufferStorageExternalEXT = (PFNGLBUFFERSTORAGEEXTERNALEXTPROC) glewGetProcAddress ("glBufferStorageExternalEXT"); + s_deviceConfig.m_glNamedBufferStorageExternalEXT = (PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) glewGetProcAddress ("glNamedBufferStorageExternalEXT"); + } + // GL_EXT_geometry_shader if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_geometry_shader]) { @@ -15119,6 +18594,41 @@ void glew::gles::Initialise () s_deviceConfig.m_glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) glewGetProcAddress ("glFlushMappedBufferRangeEXT"); } + // GL_EXT_memory_object + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_memory_object]) + { + s_deviceConfig.m_glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC) glewGetProcAddress ("glGetUnsignedBytevEXT"); + s_deviceConfig.m_glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC) glewGetProcAddress ("glGetUnsignedBytei_vEXT"); + s_deviceConfig.m_glDeleteMemoryObjectsEXT = (PFNGLDELETEMEMORYOBJECTSEXTPROC) glewGetProcAddress ("glDeleteMemoryObjectsEXT"); + s_deviceConfig.m_glIsMemoryObjectEXT = (PFNGLISMEMORYOBJECTEXTPROC) glewGetProcAddress ("glIsMemoryObjectEXT"); + s_deviceConfig.m_glCreateMemoryObjectsEXT = (PFNGLCREATEMEMORYOBJECTSEXTPROC) glewGetProcAddress ("glCreateMemoryObjectsEXT"); + s_deviceConfig.m_glMemoryObjectParameterivEXT = (PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) glewGetProcAddress ("glMemoryObjectParameterivEXT"); + s_deviceConfig.m_glGetMemoryObjectParameterivEXT = (PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) glewGetProcAddress ("glGetMemoryObjectParameterivEXT"); + s_deviceConfig.m_glTexStorageMem2DEXT = (PFNGLTEXSTORAGEMEM2DEXTPROC) glewGetProcAddress ("glTexStorageMem2DEXT"); + s_deviceConfig.m_glTexStorageMem2DMultisampleEXT = (PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) glewGetProcAddress ("glTexStorageMem2DMultisampleEXT"); + s_deviceConfig.m_glTexStorageMem3DEXT = (PFNGLTEXSTORAGEMEM3DEXTPROC) glewGetProcAddress ("glTexStorageMem3DEXT"); + s_deviceConfig.m_glTexStorageMem3DMultisampleEXT = (PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) glewGetProcAddress ("glTexStorageMem3DMultisampleEXT"); + s_deviceConfig.m_glBufferStorageMemEXT = (PFNGLBUFFERSTORAGEMEMEXTPROC) glewGetProcAddress ("glBufferStorageMemEXT"); + s_deviceConfig.m_glTextureStorageMem2DEXT = (PFNGLTEXTURESTORAGEMEM2DEXTPROC) glewGetProcAddress ("glTextureStorageMem2DEXT"); + s_deviceConfig.m_glTextureStorageMem2DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) glewGetProcAddress ("glTextureStorageMem2DMultisampleEXT"); + s_deviceConfig.m_glTextureStorageMem3DEXT = (PFNGLTEXTURESTORAGEMEM3DEXTPROC) glewGetProcAddress ("glTextureStorageMem3DEXT"); + s_deviceConfig.m_glTextureStorageMem3DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) glewGetProcAddress ("glTextureStorageMem3DMultisampleEXT"); + s_deviceConfig.m_glNamedBufferStorageMemEXT = (PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) glewGetProcAddress ("glNamedBufferStorageMemEXT"); + } + + // GL_EXT_memory_object_fd + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_memory_object_fd]) + { + s_deviceConfig.m_glImportMemoryFdEXT = (PFNGLIMPORTMEMORYFDEXTPROC) glewGetProcAddress ("glImportMemoryFdEXT"); + } + + // GL_EXT_memory_object_win32 + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_memory_object_win32]) + { + s_deviceConfig.m_glImportMemoryWin32HandleEXT = (PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) glewGetProcAddress ("glImportMemoryWin32HandleEXT"); + s_deviceConfig.m_glImportMemoryWin32NameEXT = (PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) glewGetProcAddress ("glImportMemoryWin32NameEXT"); + } + // GL_EXT_multi_draw_arrays if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_multi_draw_arrays]) { @@ -15148,6 +18658,12 @@ void glew::gles::Initialise () s_deviceConfig.m_glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC) glewGetProcAddress ("glGetIntegeri_vEXT"); } + // GL_EXT_polygon_offset_clamp + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_polygon_offset_clamp]) + { + s_deviceConfig.m_glPolygonOffsetClampEXT = (PFNGLPOLYGONOFFSETCLAMPEXTPROC) glewGetProcAddress ("glPolygonOffsetClampEXT"); + } + // GL_EXT_primitive_bounding_box if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_primitive_bounding_box]) { @@ -15169,6 +18685,31 @@ void glew::gles::Initialise () s_deviceConfig.m_glGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC) glewGetProcAddress ("glGetnUniformivEXT"); } + // GL_EXT_semaphore + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_semaphore]) + { + s_deviceConfig.m_glGenSemaphoresEXT = (PFNGLGENSEMAPHORESEXTPROC) glewGetProcAddress ("glGenSemaphoresEXT"); + s_deviceConfig.m_glDeleteSemaphoresEXT = (PFNGLDELETESEMAPHORESEXTPROC) glewGetProcAddress ("glDeleteSemaphoresEXT"); + s_deviceConfig.m_glIsSemaphoreEXT = (PFNGLISSEMAPHOREEXTPROC) glewGetProcAddress ("glIsSemaphoreEXT"); + s_deviceConfig.m_glSemaphoreParameterui64vEXT = (PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) glewGetProcAddress ("glSemaphoreParameterui64vEXT"); + s_deviceConfig.m_glGetSemaphoreParameterui64vEXT = (PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) glewGetProcAddress ("glGetSemaphoreParameterui64vEXT"); + s_deviceConfig.m_glWaitSemaphoreEXT = (PFNGLWAITSEMAPHOREEXTPROC) glewGetProcAddress ("glWaitSemaphoreEXT"); + s_deviceConfig.m_glSignalSemaphoreEXT = (PFNGLSIGNALSEMAPHOREEXTPROC) glewGetProcAddress ("glSignalSemaphoreEXT"); + } + + // GL_EXT_semaphore_fd + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_semaphore_fd]) + { + s_deviceConfig.m_glImportSemaphoreFdEXT = (PFNGLIMPORTSEMAPHOREFDEXTPROC) glewGetProcAddress ("glImportSemaphoreFdEXT"); + } + + // GL_EXT_semaphore_win32 + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_semaphore_win32]) + { + s_deviceConfig.m_glImportSemaphoreWin32HandleEXT = (PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) glewGetProcAddress ("glImportSemaphoreWin32HandleEXT"); + s_deviceConfig.m_glImportSemaphoreWin32NameEXT = (PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) glewGetProcAddress ("glImportSemaphoreWin32NameEXT"); + } + // GL_EXT_separate_shader_objects if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_separate_shader_objects]) { @@ -15218,6 +18759,20 @@ void glew::gles::Initialise () s_deviceConfig.m_glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) glewGetProcAddress ("glProgramUniformMatrix4x3fvEXT"); } + // GL_EXT_shader_framebuffer_fetch_non_coherent + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_framebuffer_fetch_non_coherent]) + { + s_deviceConfig.m_glFramebufferFetchBarrierEXT = (PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) glewGetProcAddress ("glFramebufferFetchBarrierEXT"); + } + + // GL_EXT_shader_pixel_local_storage2 + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_shader_pixel_local_storage2]) + { + s_deviceConfig.m_glFramebufferPixelLocalStorageSizeEXT = (PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) glewGetProcAddress ("glFramebufferPixelLocalStorageSizeEXT"); + s_deviceConfig.m_glGetFramebufferPixelLocalStorageSizeEXT = (PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) glewGetProcAddress ("glGetFramebufferPixelLocalStorageSizeEXT"); + s_deviceConfig.m_glClearPixelLocalStorageuiEXT = (PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC) glewGetProcAddress ("glClearPixelLocalStorageuiEXT"); + } + // GL_EXT_sparse_texture if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_sparse_texture]) { @@ -15267,6 +18822,45 @@ void glew::gles::Initialise () s_deviceConfig.m_glTextureViewEXT = (PFNGLTEXTUREVIEWEXTPROC) glewGetProcAddress ("glTextureViewEXT"); } + // GL_NV_timeline_semaphore + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_timeline_semaphore]) + { + s_deviceConfig.m_glCreateSemaphoresNV = (PFNGLCREATESEMAPHORESNVPROC) glewGetProcAddress ("glCreateSemaphoresNV"); + s_deviceConfig.m_glSemaphoreParameterivNV = (PFNGLSEMAPHOREPARAMETERIVNVPROC) glewGetProcAddress ("glSemaphoreParameterivNV"); + s_deviceConfig.m_glGetSemaphoreParameterivNV = (PFNGLGETSEMAPHOREPARAMETERIVNVPROC) glewGetProcAddress ("glGetSemaphoreParameterivNV"); + } + + // GL_EXT_win32_keyed_mutex + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_win32_keyed_mutex]) + { + s_deviceConfig.m_glAcquireKeyedMutexWin32EXT = (PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) glewGetProcAddress ("glAcquireKeyedMutexWin32EXT"); + s_deviceConfig.m_glReleaseKeyedMutexWin32EXT = (PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) glewGetProcAddress ("glReleaseKeyedMutexWin32EXT"); + } + + // GL_EXT_window_rectangles + if (s_deviceConfig.m_featureSupported [GLEW_GL_EXT_window_rectangles]) + { + s_deviceConfig.m_glWindowRectanglesEXT = (PFNGLWINDOWRECTANGLESEXTPROC) glewGetProcAddress ("glWindowRectanglesEXT"); + } + + // GL_IMG_bindless_texture + if (s_deviceConfig.m_featureSupported [GLEW_GL_IMG_bindless_texture]) + { + s_deviceConfig.m_glGetTextureHandleIMG = (PFNGLGETTEXTUREHANDLEIMGPROC) glewGetProcAddress ("glGetTextureHandleIMG"); + s_deviceConfig.m_glGetTextureSamplerHandleIMG = (PFNGLGETTEXTURESAMPLERHANDLEIMGPROC) glewGetProcAddress ("glGetTextureSamplerHandleIMG"); + s_deviceConfig.m_glUniformHandleui64IMG = (PFNGLUNIFORMHANDLEUI64IMGPROC) glewGetProcAddress ("glUniformHandleui64IMG"); + s_deviceConfig.m_glUniformHandleui64vIMG = (PFNGLUNIFORMHANDLEUI64VIMGPROC) glewGetProcAddress ("glUniformHandleui64vIMG"); + s_deviceConfig.m_glProgramUniformHandleui64IMG = (PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC) glewGetProcAddress ("glProgramUniformHandleui64IMG"); + s_deviceConfig.m_glProgramUniformHandleui64vIMG = (PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC) glewGetProcAddress ("glProgramUniformHandleui64vIMG"); + } + + // GL_IMG_framebuffer_downsample + if (s_deviceConfig.m_featureSupported [GLEW_GL_IMG_framebuffer_downsample]) + { + s_deviceConfig.m_glFramebufferTexture2DDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) glewGetProcAddress ("glFramebufferTexture2DDownsampleIMG"); + s_deviceConfig.m_glFramebufferTextureLayerDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) glewGetProcAddress ("glFramebufferTextureLayerDownsampleIMG"); + } + // GL_IMG_multisampled_render_to_texture if (s_deviceConfig.m_featureSupported [GLEW_GL_IMG_multisampled_render_to_texture]) { @@ -15327,6 +18921,19 @@ void glew::gles::Initialise () s_deviceConfig.m_glGetnUniformuivKHR = (PFNGLGETNUNIFORMUIVKHRPROC) glewGetProcAddress ("glGetnUniformuivKHR"); } + // GL_KHR_parallel_shader_compile + if (s_deviceConfig.m_featureSupported [GLEW_GL_KHR_parallel_shader_compile]) + { + s_deviceConfig.m_glMaxShaderCompilerThreadsKHR = (PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) glewGetProcAddress ("glMaxShaderCompilerThreadsKHR"); + } + + // GL_MESA_framebuffer_flip_y + if (s_deviceConfig.m_featureSupported [GLEW_GL_MESA_framebuffer_flip_y]) + { + s_deviceConfig.m_glFramebufferParameteriMESA = (PFNGLFRAMEBUFFERPARAMETERIMESAPROC) glewGetProcAddress ("glFramebufferParameteriMESA"); + s_deviceConfig.m_glGetFramebufferParameterivMESA = (PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC) glewGetProcAddress ("glGetFramebufferParameterivMESA"); + } + // GL_NV_bindless_texture if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_bindless_texture]) { @@ -15352,6 +18959,12 @@ void glew::gles::Initialise () s_deviceConfig.m_glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC) glewGetProcAddress ("glBlendBarrierNV"); } + // GL_NV_clip_space_w_scaling + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_clip_space_w_scaling]) + { + s_deviceConfig.m_glViewportPositionWScaleNV = (PFNGLVIEWPORTPOSITIONWSCALENVPROC) glewGetProcAddress ("glViewportPositionWScaleNV"); + } + // GL_NV_conditional_render if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_conditional_render]) { @@ -15365,6 +18978,12 @@ void glew::gles::Initialise () s_deviceConfig.m_glSubpixelPrecisionBiasNV = (PFNGLSUBPIXELPRECISIONBIASNVPROC) glewGetProcAddress ("glSubpixelPrecisionBiasNV"); } + // GL_NV_conservative_raster_pre_snap_triangles + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_conservative_raster_pre_snap_triangles]) + { + s_deviceConfig.m_glConservativeRasterParameteriNV = (PFNGLCONSERVATIVERASTERPARAMETERINVPROC) glewGetProcAddress ("glConservativeRasterParameteriNV"); + } + // GL_NV_copy_buffer if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_copy_buffer]) { @@ -15391,6 +19010,16 @@ void glew::gles::Initialise () s_deviceConfig.m_glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC) glewGetProcAddress ("glDrawElementsInstancedNV"); } + // GL_NV_draw_vulkan_image + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_draw_vulkan_image]) + { + s_deviceConfig.m_glDrawVkImageNV = (PFNGLDRAWVKIMAGENVPROC) glewGetProcAddress ("glDrawVkImageNV"); + s_deviceConfig.m_glGetVkProcAddrNV = (PFNGLGETVKPROCADDRNVPROC) glewGetProcAddress ("glGetVkProcAddrNV"); + s_deviceConfig.m_glWaitVkSemaphoreNV = (PFNGLWAITVKSEMAPHORENVPROC) glewGetProcAddress ("glWaitVkSemaphoreNV"); + s_deviceConfig.m_glSignalVkSemaphoreNV = (PFNGLSIGNALVKSEMAPHORENVPROC) glewGetProcAddress ("glSignalVkSemaphoreNV"); + s_deviceConfig.m_glSignalVkFenceNV = (PFNGLSIGNALVKFENCENVPROC) glewGetProcAddress ("glSignalVkFenceNV"); + } + // GL_NV_fence if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_fence]) { @@ -15429,6 +19058,44 @@ void glew::gles::Initialise () s_deviceConfig.m_glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) glewGetProcAddress ("glRenderbufferStorageMultisampleNV"); } + // GL_NV_gpu_shader5 + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_gpu_shader5]) + { + s_deviceConfig.m_glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC) glewGetProcAddress ("glUniform1i64NV"); + s_deviceConfig.m_glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC) glewGetProcAddress ("glUniform2i64NV"); + s_deviceConfig.m_glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC) glewGetProcAddress ("glUniform3i64NV"); + s_deviceConfig.m_glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC) glewGetProcAddress ("glUniform4i64NV"); + s_deviceConfig.m_glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC) glewGetProcAddress ("glUniform1i64vNV"); + s_deviceConfig.m_glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC) glewGetProcAddress ("glUniform2i64vNV"); + s_deviceConfig.m_glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC) glewGetProcAddress ("glUniform3i64vNV"); + s_deviceConfig.m_glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC) glewGetProcAddress ("glUniform4i64vNV"); + s_deviceConfig.m_glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC) glewGetProcAddress ("glUniform1ui64NV"); + s_deviceConfig.m_glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC) glewGetProcAddress ("glUniform2ui64NV"); + s_deviceConfig.m_glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC) glewGetProcAddress ("glUniform3ui64NV"); + s_deviceConfig.m_glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC) glewGetProcAddress ("glUniform4ui64NV"); + s_deviceConfig.m_glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC) glewGetProcAddress ("glUniform1ui64vNV"); + s_deviceConfig.m_glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC) glewGetProcAddress ("glUniform2ui64vNV"); + s_deviceConfig.m_glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC) glewGetProcAddress ("glUniform3ui64vNV"); + s_deviceConfig.m_glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC) glewGetProcAddress ("glUniform4ui64vNV"); + s_deviceConfig.m_glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC) glewGetProcAddress ("glGetUniformi64vNV"); + s_deviceConfig.m_glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC) glewGetProcAddress ("glProgramUniform1i64NV"); + s_deviceConfig.m_glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC) glewGetProcAddress ("glProgramUniform2i64NV"); + s_deviceConfig.m_glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC) glewGetProcAddress ("glProgramUniform3i64NV"); + s_deviceConfig.m_glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC) glewGetProcAddress ("glProgramUniform4i64NV"); + s_deviceConfig.m_glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC) glewGetProcAddress ("glProgramUniform1i64vNV"); + s_deviceConfig.m_glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC) glewGetProcAddress ("glProgramUniform2i64vNV"); + s_deviceConfig.m_glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC) glewGetProcAddress ("glProgramUniform3i64vNV"); + s_deviceConfig.m_glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC) glewGetProcAddress ("glProgramUniform4i64vNV"); + s_deviceConfig.m_glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC) glewGetProcAddress ("glProgramUniform1ui64NV"); + s_deviceConfig.m_glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC) glewGetProcAddress ("glProgramUniform2ui64NV"); + s_deviceConfig.m_glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC) glewGetProcAddress ("glProgramUniform3ui64NV"); + s_deviceConfig.m_glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC) glewGetProcAddress ("glProgramUniform4ui64NV"); + s_deviceConfig.m_glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC) glewGetProcAddress ("glProgramUniform1ui64vNV"); + s_deviceConfig.m_glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC) glewGetProcAddress ("glProgramUniform2ui64vNV"); + s_deviceConfig.m_glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC) glewGetProcAddress ("glProgramUniform3ui64vNV"); + s_deviceConfig.m_glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC) glewGetProcAddress ("glProgramUniform4ui64vNV"); + } + // GL_NV_instanced_arrays if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_instanced_arrays]) { @@ -15441,6 +19108,35 @@ void glew::gles::Initialise () s_deviceConfig.m_glGetInternalformatSampleivNV = (PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) glewGetProcAddress ("glGetInternalformatSampleivNV"); } + // GL_NV_memory_attachment + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_memory_attachment]) + { + s_deviceConfig.m_glGetMemoryObjectDetachedResourcesuivNV = (PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) glewGetProcAddress ("glGetMemoryObjectDetachedResourcesuivNV"); + s_deviceConfig.m_glResetMemoryObjectParameterNV = (PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) glewGetProcAddress ("glResetMemoryObjectParameterNV"); + s_deviceConfig.m_glTexAttachMemoryNV = (PFNGLTEXATTACHMEMORYNVPROC) glewGetProcAddress ("glTexAttachMemoryNV"); + s_deviceConfig.m_glBufferAttachMemoryNV = (PFNGLBUFFERATTACHMEMORYNVPROC) glewGetProcAddress ("glBufferAttachMemoryNV"); + s_deviceConfig.m_glTextureAttachMemoryNV = (PFNGLTEXTUREATTACHMEMORYNVPROC) glewGetProcAddress ("glTextureAttachMemoryNV"); + s_deviceConfig.m_glNamedBufferAttachMemoryNV = (PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) glewGetProcAddress ("glNamedBufferAttachMemoryNV"); + } + + // GL_NV_memory_object_sparse + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_memory_object_sparse]) + { + s_deviceConfig.m_glBufferPageCommitmentMemNV = (PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) glewGetProcAddress ("glBufferPageCommitmentMemNV"); + s_deviceConfig.m_glTexPageCommitmentMemNV = (PFNGLTEXPAGECOMMITMENTMEMNVPROC) glewGetProcAddress ("glTexPageCommitmentMemNV"); + s_deviceConfig.m_glNamedBufferPageCommitmentMemNV = (PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) glewGetProcAddress ("glNamedBufferPageCommitmentMemNV"); + s_deviceConfig.m_glTexturePageCommitmentMemNV = (PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) glewGetProcAddress ("glTexturePageCommitmentMemNV"); + } + + // GL_NV_mesh_shader + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_mesh_shader]) + { + s_deviceConfig.m_glDrawMeshTasksNV = (PFNGLDRAWMESHTASKSNVPROC) glewGetProcAddress ("glDrawMeshTasksNV"); + s_deviceConfig.m_glDrawMeshTasksIndirectNV = (PFNGLDRAWMESHTASKSINDIRECTNVPROC) glewGetProcAddress ("glDrawMeshTasksIndirectNV"); + s_deviceConfig.m_glMultiDrawMeshTasksIndirectNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) glewGetProcAddress ("glMultiDrawMeshTasksIndirectNV"); + s_deviceConfig.m_glMultiDrawMeshTasksIndirectCountNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) glewGetProcAddress ("glMultiDrawMeshTasksIndirectCountNV"); + } + // GL_NV_non_square_matrices if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_non_square_matrices]) { @@ -15534,6 +19230,25 @@ void glew::gles::Initialise () s_deviceConfig.m_glResolveDepthValuesNV = (PFNGLRESOLVEDEPTHVALUESNVPROC) glewGetProcAddress ("glResolveDepthValuesNV"); } + // GL_NV_scissor_exclusive + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_scissor_exclusive]) + { + s_deviceConfig.m_glScissorExclusiveNV = (PFNGLSCISSOREXCLUSIVENVPROC) glewGetProcAddress ("glScissorExclusiveNV"); + s_deviceConfig.m_glScissorExclusiveArrayvNV = (PFNGLSCISSOREXCLUSIVEARRAYVNVPROC) glewGetProcAddress ("glScissorExclusiveArrayvNV"); + } + + // GL_NV_shading_rate_image + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_shading_rate_image]) + { + s_deviceConfig.m_glBindShadingRateImageNV = (PFNGLBINDSHADINGRATEIMAGENVPROC) glewGetProcAddress ("glBindShadingRateImageNV"); + s_deviceConfig.m_glGetShadingRateImagePaletteNV = (PFNGLGETSHADINGRATEIMAGEPALETTENVPROC) glewGetProcAddress ("glGetShadingRateImagePaletteNV"); + s_deviceConfig.m_glGetShadingRateSampleLocationivNV = (PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC) glewGetProcAddress ("glGetShadingRateSampleLocationivNV"); + s_deviceConfig.m_glShadingRateImageBarrierNV = (PFNGLSHADINGRATEIMAGEBARRIERNVPROC) glewGetProcAddress ("glShadingRateImageBarrierNV"); + s_deviceConfig.m_glShadingRateImagePaletteNV = (PFNGLSHADINGRATEIMAGEPALETTENVPROC) glewGetProcAddress ("glShadingRateImagePaletteNV"); + s_deviceConfig.m_glShadingRateSampleOrderNV = (PFNGLSHADINGRATESAMPLEORDERNVPROC) glewGetProcAddress ("glShadingRateSampleOrderNV"); + s_deviceConfig.m_glShadingRateSampleOrderCustomNV = (PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC) glewGetProcAddress ("glShadingRateSampleOrderCustomNV"); + } + // GL_NV_viewport_array if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_viewport_array]) { @@ -15551,6 +19266,12 @@ void glew::gles::Initialise () s_deviceConfig.m_glIsEnablediNV = (PFNGLISENABLEDINVPROC) glewGetProcAddress ("glIsEnablediNV"); } + // GL_NV_viewport_swizzle + if (s_deviceConfig.m_featureSupported [GLEW_GL_NV_viewport_swizzle]) + { + s_deviceConfig.m_glViewportSwizzleNV = (PFNGLVIEWPORTSWIZZLENVPROC) glewGetProcAddress ("glViewportSwizzleNV"); + } + // GL_OES_EGL_image if (s_deviceConfig.m_featureSupported [GLEW_GL_OES_EGL_image]) { @@ -15583,7 +19304,6 @@ void glew::gles::Initialise () s_deviceConfig.m_glDrawElementsBaseVertexOES = (PFNGLDRAWELEMENTSBASEVERTEXOESPROC) glewGetProcAddress ("glDrawElementsBaseVertexOES"); s_deviceConfig.m_glDrawRangeElementsBaseVertexOES = (PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) glewGetProcAddress ("glDrawRangeElementsBaseVertexOES"); s_deviceConfig.m_glDrawElementsInstancedBaseVertexOES = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) glewGetProcAddress ("glDrawElementsInstancedBaseVertexOES"); - s_deviceConfig.m_glMultiDrawElementsBaseVertexOES = (PFNGLMULTIDRAWELEMENTSBASEVERTEXOESPROC) glewGetProcAddress ("glMultiDrawElementsBaseVertexOES"); } // GL_OES_geometry_shader @@ -15677,6 +19397,20 @@ void glew::gles::Initialise () s_deviceConfig.m_glIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC) glewGetProcAddress ("glIsVertexArrayOES"); } + // GL_OES_viewport_array + if (s_deviceConfig.m_featureSupported [GLEW_GL_OES_viewport_array]) + { + s_deviceConfig.m_glViewportArrayvOES = (PFNGLVIEWPORTARRAYVOESPROC) glewGetProcAddress ("glViewportArrayvOES"); + s_deviceConfig.m_glViewportIndexedfOES = (PFNGLVIEWPORTINDEXEDFOESPROC) glewGetProcAddress ("glViewportIndexedfOES"); + s_deviceConfig.m_glViewportIndexedfvOES = (PFNGLVIEWPORTINDEXEDFVOESPROC) glewGetProcAddress ("glViewportIndexedfvOES"); + s_deviceConfig.m_glScissorArrayvOES = (PFNGLSCISSORARRAYVOESPROC) glewGetProcAddress ("glScissorArrayvOES"); + s_deviceConfig.m_glScissorIndexedOES = (PFNGLSCISSORINDEXEDOESPROC) glewGetProcAddress ("glScissorIndexedOES"); + s_deviceConfig.m_glScissorIndexedvOES = (PFNGLSCISSORINDEXEDVOESPROC) glewGetProcAddress ("glScissorIndexedvOES"); + s_deviceConfig.m_glDepthRangeArrayfvOES = (PFNGLDEPTHRANGEARRAYFVOESPROC) glewGetProcAddress ("glDepthRangeArrayfvOES"); + s_deviceConfig.m_glDepthRangeIndexedfOES = (PFNGLDEPTHRANGEINDEXEDFOESPROC) glewGetProcAddress ("glDepthRangeIndexedfOES"); + s_deviceConfig.m_glGetFloati_vOES = (PFNGLGETFLOATI_VOESPROC) glewGetProcAddress ("glGetFloati_vOES"); + } + // GL_OVR_multiview if (s_deviceConfig.m_featureSupported [GLEW_GL_OVR_multiview]) { @@ -15726,6 +19460,44 @@ void glew::gles::Initialise () s_deviceConfig.m_glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) glewGetProcAddress ("glExtGetProgramBinarySourceQCOM"); } + // GL_QCOM_framebuffer_foveated + if (s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_framebuffer_foveated]) + { + s_deviceConfig.m_glFramebufferFoveationConfigQCOM = (PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC) glewGetProcAddress ("glFramebufferFoveationConfigQCOM"); + s_deviceConfig.m_glFramebufferFoveationParametersQCOM = (PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC) glewGetProcAddress ("glFramebufferFoveationParametersQCOM"); + } + + // GL_QCOM_motion_estimation + if (s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_motion_estimation]) + { + s_deviceConfig.m_glTexEstimateMotionQCOM = (PFNGLTEXESTIMATEMOTIONQCOMPROC) glewGetProcAddress ("glTexEstimateMotionQCOM"); + s_deviceConfig.m_glTexEstimateMotionRegionsQCOM = (PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC) glewGetProcAddress ("glTexEstimateMotionRegionsQCOM"); + } + + // GL_QCOM_frame_extrapolation + if (s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_frame_extrapolation]) + { + s_deviceConfig.m_glExtrapolateTex2DQCOM = (PFNGLEXTRAPOLATETEX2DQCOMPROC) glewGetProcAddress ("glExtrapolateTex2DQCOM"); + } + + // GL_QCOM_texture_foveated + if (s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_texture_foveated]) + { + s_deviceConfig.m_glTextureFoveationParametersQCOM = (PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC) glewGetProcAddress ("glTextureFoveationParametersQCOM"); + } + + // GL_QCOM_shader_framebuffer_fetch_noncoherent + if (s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_shader_framebuffer_fetch_noncoherent]) + { + s_deviceConfig.m_glFramebufferFetchBarrierQCOM = (PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC) glewGetProcAddress ("glFramebufferFetchBarrierQCOM"); + } + + // GL_QCOM_shading_rate + if (s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_shading_rate]) + { + s_deviceConfig.m_glShadingRateQCOM = (PFNGLSHADINGRATEQCOMPROC) glewGetProcAddress ("glShadingRateQCOM"); + } + // GL_QCOM_tiled_rendering if (s_deviceConfig.m_featureSupported [GLEW_GL_QCOM_tiled_rendering]) { diff --git a/src/wrangle-glx.cpp b/src/wrangle-glx.cpp index 2a1ced6..5162bf0 100644 --- a/src/wrangle-glx.cpp +++ b/src/wrangle-glx.cpp @@ -915,11 +915,11 @@ Bool _glew_glx_glXReleaseBuffersMESA (Display * dpy, GLXDrawable drawable) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -Bool _glew_glx_glXSet3DfxModeMESA (int mode) +GLboolean _glew_glx_glXSet3DfxModeMESA (GLint mode) { bool prototypeCalled = false; const glew::glx::DeviceConfig &glxConfig = glew::glx::GetConfig (); - Bool result = ((Bool)0); + GLboolean result = ((GLboolean)0); // GLX_MESA_set_3dfx_mode - glXSet3DfxModeMESA if (!prototypeCalled && glxConfig.m_featureSupported [GLEW_GLX_MESA_set_3dfx_mode] && glxConfig.m_glXSet3DfxModeMESA) { @@ -934,6 +934,44 @@ Bool _glew_glx_glXSet3DfxModeMESA (int mode) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +int _glew_glx_glXGetSwapIntervalMESA () +{ + bool prototypeCalled = false; + const glew::glx::DeviceConfig &glxConfig = glew::glx::GetConfig (); + int result = ((int)0); + // GLX_MESA_swap_control - glXGetSwapIntervalMESA + if (!prototypeCalled && glxConfig.m_featureSupported [GLEW_GLX_MESA_swap_control] && glxConfig.m_glXGetSwapIntervalMESA) + { + prototypeCalled = true; + result = glxConfig.m_glXGetSwapIntervalMESA (); + } + GLEW_ASSERT (prototypeCalled); + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +int _glew_glx_glXSwapIntervalMESA (unsigned int interval) +{ + bool prototypeCalled = false; + const glew::glx::DeviceConfig &glxConfig = glew::glx::GetConfig (); + int result = ((int)0); + // GLX_MESA_swap_control - glXSwapIntervalMESA + if (!prototypeCalled && glxConfig.m_featureSupported [GLEW_GLX_MESA_swap_control] && glxConfig.m_glXSwapIntervalMESA) + { + prototypeCalled = true; + result = glxConfig.m_glXSwapIntervalMESA (interval); + } + GLEW_ASSERT (prototypeCalled); + return result; +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + void _glew_glx_glXCopyBufferSubDataNV (Display * dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) { bool prototypeCalled = false; @@ -1889,19 +1927,17 @@ void _glew_glx_glXDestroyGLXPbufferSGIX (Display * dpy, GLXPbufferSGIX pbuf) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -int _glew_glx_glXQueryGLXPbufferSGIX (Display * dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int * value) +void _glew_glx_glXQueryGLXPbufferSGIX (Display * dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int * value) { bool prototypeCalled = false; const glew::glx::DeviceConfig &glxConfig = glew::glx::GetConfig (); - int result = ((int)0); // GLX_SGIX_pbuffer - glXQueryGLXPbufferSGIX if (!prototypeCalled && glxConfig.m_featureSupported [GLEW_GLX_SGIX_pbuffer] && glxConfig.m_glXQueryGLXPbufferSGIX) { prototypeCalled = true; - result = glxConfig.m_glXQueryGLXPbufferSGIX (dpy, pbuf, attribute, value); + glxConfig.m_glXQueryGLXPbufferSGIX (dpy, pbuf, attribute, value); } GLEW_ASSERT (prototypeCalled); - return result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -2126,7 +2162,7 @@ void _glew_glx_glXDestroyGLXVideoSourceSGIX (Display * dpy, GLXVideoSourceSGIX g //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -Status _glew_glx_glXGetTransparentIndexSUN (Display * dpy, Window overlay, Window underlay, long * pTransparentIndex) +Status _glew_glx_glXGetTransparentIndexSUN (Display * dpy, Window overlay, Window underlay, unsigned long * pTransparentIndex) { bool prototypeCalled = false; const glew::glx::DeviceConfig &glxConfig = glew::glx::GetConfig (); diff --git a/src/wrangle-wgl.cpp b/src/wrangle-wgl.cpp index 99fedf5..f1da07d 100644 --- a/src/wrangle-wgl.cpp +++ b/src/wrangle-wgl.cpp @@ -2,6 +2,8 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +#include + #include #include @@ -50,7 +52,7 @@ UINT _glew_wgl_wglGetGPUIDsAMD (UINT maxCount, UINT * ids) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -INT _glew_wgl_wglGetGPUInfoAMD (UINT id, int property, GLenum dataType, UINT size, void * data) +INT _glew_wgl_wglGetGPUInfoAMD (UINT id, INT property, GLenum dataType, UINT size, void * data) { bool prototypeCalled = false; const glew::wgl::DeviceConfig &wglConfig = glew::wgl::GetConfig (); @@ -1735,7 +1737,7 @@ BOOL _glew_wgl_wglDeleteDCNV (HDC hdc) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -int _glew_wgl_wglEnumerateVideoDevicesNV (HDC hDC, HVIDEOOUTPUTDEVICENV * phDeviceList) +int _glew_wgl_wglEnumerateVideoDevicesNV (HDC hDc, HVIDEOOUTPUTDEVICENV * phDeviceList) { bool prototypeCalled = false; const glew::wgl::DeviceConfig &wglConfig = glew::wgl::GetConfig (); @@ -1744,7 +1746,7 @@ int _glew_wgl_wglEnumerateVideoDevicesNV (HDC hDC, HVIDEOOUTPUTDEVICENV * phDevi if (!prototypeCalled && wglConfig.m_featureSupported [GLEW_WGL_NV_present_video] && wglConfig.m_wglEnumerateVideoDevicesNV) { prototypeCalled = true; - result = wglConfig.m_wglEnumerateVideoDevicesNV (hDC, phDeviceList); + result = wglConfig.m_wglEnumerateVideoDevicesNV (hDc, phDeviceList); } GLEW_ASSERT (prototypeCalled); return result; @@ -1754,7 +1756,7 @@ int _glew_wgl_wglEnumerateVideoDevicesNV (HDC hDC, HVIDEOOUTPUTDEVICENV * phDevi //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -BOOL _glew_wgl_wglBindVideoDeviceNV (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int * piAttribList) +BOOL _glew_wgl_wglBindVideoDeviceNV (HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int * piAttribList) { bool prototypeCalled = false; const glew::wgl::DeviceConfig &wglConfig = glew::wgl::GetConfig (); @@ -1763,7 +1765,7 @@ BOOL _glew_wgl_wglBindVideoDeviceNV (HDC hDC, unsigned int uVideoSlot, HVIDEOOU if (!prototypeCalled && wglConfig.m_featureSupported [GLEW_WGL_NV_present_video] && wglConfig.m_wglBindVideoDeviceNV) { prototypeCalled = true; - result = wglConfig.m_wglBindVideoDeviceNV (hDC, uVideoSlot, hVideoDevice, piAttribList); + result = wglConfig.m_wglBindVideoDeviceNV (hDc, uVideoSlot, hVideoDevice, piAttribList); } GLEW_ASSERT (prototypeCalled); return result; @@ -2208,7 +2210,7 @@ INT64 _glew_wgl_wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -INT64 _glew_wgl_wglSwapLayerBuffersMscOML (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder) +INT64 _glew_wgl_wglSwapLayerBuffersMscOML (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder) { bool prototypeCalled = false; const glew::wgl::DeviceConfig &wglConfig = glew::wgl::GetConfig (); @@ -2286,15 +2288,15 @@ void glew::wgl::Initialise () { memset (&s_deviceConfig, 0, sizeof (s_deviceConfig)); - // + // // Determine current driver's feature reporting. - // + // s_deviceConfig.m_featureSupported [GLEW_WGL_VERSION_1_0] = true; - // + // // Evaluate extension support. - // + // std::unordered_set supportedExtensions; @@ -2331,7 +2333,7 @@ void glew::wgl::Initialise () memset (thisExtBuffer, 0, sizeof (thisExtBuffer)); - do + do { const char * seperator = strchr ((const char *) thisExtStart, ' '); @@ -2341,7 +2343,7 @@ void glew::wgl::Initialise () #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -2355,7 +2357,7 @@ void glew::wgl::Initialise () #if _WIN32 strncpy_s (thisExtBuffer, 128, (const char *)thisExtStart, len); - #else + #else strncpy (thisExtBuffer, (const char *)thisExtStart, len); #endif @@ -2382,6 +2384,7 @@ void glew::wgl::Initialise () s_deviceConfig.m_featureSupported [GLEW_WGL_ARB_buffer_region] = (supportedExtensions.find ("WGL_ARB_buffer_region") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_WGL_ARB_context_flush_control] = (supportedExtensions.find ("WGL_ARB_context_flush_control") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_WGL_ARB_create_context] = (supportedExtensions.find ("WGL_ARB_create_context") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_WGL_ARB_create_context_no_error] = (supportedExtensions.find ("WGL_ARB_create_context_no_error") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_WGL_ARB_create_context_profile] = (supportedExtensions.find ("WGL_ARB_create_context_profile") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_WGL_ARB_create_context_robustness] = (supportedExtensions.find ("WGL_ARB_create_context_robustness") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_WGL_ARB_extensions_string] = (supportedExtensions.find ("WGL_ARB_extensions_string") != supportedExtensions.end ()); @@ -2395,6 +2398,8 @@ void glew::wgl::Initialise () s_deviceConfig.m_featureSupported [GLEW_WGL_ARB_robustness_application_isolation] = (supportedExtensions.find ("WGL_ARB_robustness_application_isolation") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_WGL_ARB_robustness_share_group_isolation] = (supportedExtensions.find ("WGL_ARB_robustness_share_group_isolation") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_WGL_ATI_pixel_format_float] = (supportedExtensions.find ("WGL_ATI_pixel_format_float") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_WGL_ATI_render_texture_rectangle] = (supportedExtensions.find ("WGL_ATI_render_texture_rectangle") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_WGL_EXT_colorspace] = (supportedExtensions.find ("WGL_EXT_colorspace") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_WGL_EXT_create_context_es_profile] = (supportedExtensions.find ("WGL_EXT_create_context_es_profile") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_WGL_EXT_create_context_es2_profile] = (supportedExtensions.find ("WGL_EXT_create_context_es2_profile") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_WGL_EXT_depth_float] = (supportedExtensions.find ("WGL_EXT_depth_float") != supportedExtensions.end ()); @@ -2429,6 +2434,7 @@ void glew::wgl::Initialise () s_deviceConfig.m_featureSupported [GLEW_WGL_NV_video_output] = (supportedExtensions.find ("WGL_NV_video_output") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_WGL_NV_vertex_array_range] = (supportedExtensions.find ("WGL_NV_vertex_array_range") != supportedExtensions.end ()); s_deviceConfig.m_featureSupported [GLEW_WGL_OML_sync_control] = (supportedExtensions.find ("WGL_OML_sync_control") != supportedExtensions.end ()); + s_deviceConfig.m_featureSupported [GLEW_WGL_NV_multigpu_context] = (supportedExtensions.find ("WGL_NV_multigpu_context") != supportedExtensions.end ()); // WGL_3DL_stereo_control if (s_deviceConfig.m_featureSupported [GLEW_WGL_3DL_stereo_control]) diff --git a/tests/test-egl.cpp b/tests/test-egl.cpp index bcd5aec..ddf4137 100644 --- a/tests/test-egl.cpp +++ b/tests/test-egl.cpp @@ -2,93 +2,39 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -#if defined(GLEW_USE_OPENGL) -#include -#elif defined(GLEW_USE_OPENGL_ES) -#include -#endif - #include #include -#include - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -LRESULT CALLBACK WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -static const char* DescribeGLError (GLenum err) -{ - const char *errorText = "Unknown"; - - return errorText; -} - //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// static const char* DescribeEGLError (EGLint err) { - const char *errorText = "Unknown"; - switch (err) { - case EGL_TRUE: errorText = "EGL_TRUE"; break; - case EGL_FALSE: errorText = "EGL_FALSE"; break; + case EGL_TRUE: return "EGL_TRUE"; + case EGL_FALSE: return "EGL_FALSE"; // Error codes: - case EGL_NOT_INITIALIZED: errorText = "EGL_NOT_INITIALIZED"; break; - case EGL_BAD_ACCESS: errorText = "EGL_BAD_ACCESS"; break; - case EGL_BAD_ALLOC: errorText = "EGL_BAD_ALLOC"; break; - case EGL_BAD_ATTRIBUTE: errorText = "EGL_BAD_ATTRIBUTE"; break; - case EGL_BAD_CONTEXT: errorText = "EGL_BAD_CONTEXT"; break; - case EGL_BAD_CONFIG: errorText = "EGL_BAD_CONFIG"; break; - case EGL_BAD_CURRENT_SURFACE: errorText = "EGL_BAD_CURRENT_SURFACE"; break; - case EGL_BAD_DISPLAY: errorText = "EGL_BAD_DISPLAY"; break; - case EGL_BAD_SURFACE: errorText = "EGL_BAD_SURFACE"; break; - case EGL_BAD_MATCH: errorText = "EGL_BAD_MATCH"; break; - case EGL_BAD_PARAMETER: errorText = "EGL_BAD_PARAMETER"; break; - case EGL_BAD_NATIVE_PIXMAP: errorText = "EGL_BAD_NATIVE_PIXMAP"; break; - case EGL_BAD_NATIVE_WINDOW: errorText = "EGL_BAD_NATIVE_WINDOW"; break; - case EGL_CONTEXT_LOST: errorText = "EGL_CONTEXT_LOST"; break; - case EGL_SUCCESS: errorText = "EGL_SUCCESS"; break; - } - - return errorText; -} - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -static void CheckGLError (const bool shouldAssert, const char* file, const int line) -{ - GLenum err = glGetError (); - - if (err != GL_NO_ERROR) - { - char buffer [512]; - - sprintf (buffer, "[%s : %d] glGetError returned %d (%s)", file, line, err, DescribeGLError (err)); - - OutputDebugString (buffer); - - fprintf (stderr, buffer); - - fflush (stderr); + case EGL_NOT_INITIALIZED: return "EGL_NOT_INITIALIZED"; + case EGL_BAD_ACCESS: return "EGL_BAD_ACCESS"; + case EGL_BAD_ALLOC: return "EGL_BAD_ALLOC"; + case EGL_BAD_ATTRIBUTE: return "EGL_BAD_ATTRIBUTE"; + case EGL_BAD_CONTEXT: return "EGL_BAD_CONTEXT"; + case EGL_BAD_CONFIG: return "EGL_BAD_CONFIG"; + case EGL_BAD_CURRENT_SURFACE: return "EGL_BAD_CURRENT_SURFACE"; + case EGL_BAD_DISPLAY: return "EGL_BAD_DISPLAY"; + case EGL_BAD_SURFACE: return "EGL_BAD_SURFACE"; + case EGL_BAD_MATCH: return "EGL_BAD_MATCH"; + case EGL_BAD_PARAMETER: return "EGL_BAD_PARAMETER"; + case EGL_BAD_NATIVE_PIXMAP: return "EGL_BAD_NATIVE_PIXMAP"; + case EGL_BAD_NATIVE_WINDOW: return "EGL_BAD_NATIVE_WINDOW"; + case EGL_CONTEXT_LOST: return "EGL_CONTEXT_LOST"; + case EGL_SUCCESS: return "EGL_SUCCESS"; } - if (shouldAssert) - { - assert (err == GL_NO_ERROR); - } + return "Unknown"; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -103,18 +49,20 @@ static void CheckEGLError (const bool shouldAssert, const char* file, const int { char buffer [512]; - sprintf (buffer, "[%s : %d] eglGetError returned %d (%s)", file, line, err, DescribeEGLError (err)); + sprintf (buffer, "[%s:%d] eglGetError returned 0x%x (%s)\n", file, line, err, DescribeEGLError (err)); +#if WIN32 OutputDebugString (buffer); +#endif - fprintf (stderr, buffer); + fputs (buffer, stderr); fflush (stderr); } if (shouldAssert) { - assert (err == EGL_SUCCESS); + GLEW_ASSERT (err == EGL_SUCCESS); } } @@ -122,206 +70,45 @@ static void CheckEGLError (const bool shouldAssert, const char* file, const int //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -#define AssertNoGLErrors() CheckGLError(true, __FILE__, __LINE__) - #define AssertNoEGLErrors() CheckEGLError(true, __FILE__, __LINE__) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -int WINAPI WinMain (__in HINSTANCE hInstance, __in_opt HINSTANCE hPrevInstance, __in_opt LPSTR lpCmdLine, __in int nShowCmd) +int main (int argc, char ** argv) { - (void) hPrevInstance; - (void) lpCmdLine; - (void) nShowCmd; - - MSG msg = {0}; - WNDCLASS wc = {0}; - wc.lpfnWndProc = WndProc; - wc.hInstance = hInstance; - wc.hbrBackground = (HBRUSH) (COLOR_BACKGROUND); - wc.lpszClassName = "oglversionchecksample"; - wc.style = CS_OWNDC; - - if (!RegisterClass (&wc)) - { - return 1; - } - - CreateWindow (wc.lpszClassName, "openglversioncheck", WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, 640, 480, 0, 0, hInstance, 0); - - while (GetMessage (&msg, NULL, 0, 0) > 0) - { - DispatchMessage (&msg); - } - + GLEW_ASSERT (false); return 0; -} - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - -LRESULT CALLBACK WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) -{ - switch (message) - { - case WM_CREATE: - { - PIXELFORMATDESCRIPTOR pfd = - { - sizeof (PIXELFORMATDESCRIPTOR), - 1, - PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER, //Flags - PFD_TYPE_RGBA, //The kind of framebuffer. RGBA or palette. - 32, //Colordepth of the framebuffer. - 0, 0, 0, 0, 0, 0, - 0, - 0, - 0, - 0, 0, 0, 0, - 24, //Number of bits for the depthbuffer - 8, //Number of bits for the stencilbuffer - 0, //Number of Aux buffers in the framebuffer. - PFD_MAIN_PLANE, - 0, - 0, 0, 0 - }; - - HDC deviceContext = GetDC (hWnd); - - int windowsPixelFormat; - - windowsPixelFormat = ChoosePixelFormat (deviceContext, &pfd); - - SetPixelFormat (deviceContext, windowsPixelFormat, &pfd); - - // - // EGL prerequisites. - // - - EGLBoolean success = EGL_FALSE; - - EGLNativeDisplayType nativeDisplay = (EGLNativeDisplayType) deviceContext;// EGL_DEFAULT_DISPLAY; - - EGLDisplay eglDisplay = eglGetDisplay (nativeDisplay); - - AssertNoEGLErrors (); - - EGLint major = 0, minor = 0; - - success = eglInitialize (eglDisplay, &major, &minor); - - AssertNoEGLErrors (); - - EGLint attributes [] = - { - // Request OpenGL ES 2.0 configs - EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, - EGL_SURFACE_TYPE, EGL_WINDOW_BIT, - EGL_RED_SIZE, 8, - EGL_GREEN_SIZE, 8, - EGL_BLUE_SIZE, 8, - EGL_NONE - }; - - EGLint numConfig = 0; - - EGLConfig eglConfig = 0; - - success = eglChooseConfig (eglDisplay, attributes, &eglConfig, 1, &numConfig); - - AssertNoEGLErrors (); - - // - // Context creation. - // - - EGLContext eglContext; - - EGLint ctxattrs [] = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE}; - - eglContext = eglCreateContext (eglDisplay, eglConfig, EGL_NO_CONTEXT, ctxattrs); + EGLBoolean success = EGL_FALSE; - AssertNoEGLErrors (); + EGLDisplay display = eglGetDisplay (EGL_DEFAULT_DISPLAY); - int nativeVid; + AssertNoEGLErrors (); - success = eglGetConfigAttrib (eglDisplay, eglConfig, EGL_NATIVE_VISUAL_ID, &nativeVid); + EGLint major = 0, minor = 0; - AssertNoEGLErrors (); + success = eglInitialize(display, &major, &minor); - EGLNativeWindowType nativeWin = (EGLNativeWindowType) hWnd; + AssertNoEGLErrors (); - EGLSurface eglSurface; + GLEW_ASSERT (success == EGL_TRUE); - eglSurface = eglCreateWindowSurface (eglDisplay, eglConfig, nativeWin, NULL); + glew::egl::Initialise (display); - AssertNoEGLErrors (); + AssertNoEGLErrors (); - success = eglMakeCurrent (eglDisplay, eglSurface, eglSurface, eglContext); + success = eglTerminate (display); - AssertNoEGLErrors (); + AssertNoEGLErrors (); - glew::egl::Initialise (eglDisplay); + GLEW_ASSERT (success == EGL_TRUE); - #if defined(GLEW_USE_OPENGL) - glew::gl::Initialise (); - #elif defined(GLEW_USE_OPENGL_ES) - glew::gles::Initialise (); - #endif - - AssertNoGLErrors (); - - const char *renderer = (const char *) glGetString (GL_RENDERER); - - AssertNoGLErrors (); - - const char *version = (const char *) glGetString (GL_VERSION); - - AssertNoGLErrors (); - - const char *extensions = (const char *) glGetString (GL_EXTENSIONS); - - AssertNoGLErrors (); - - #if defined(GLEW_USE_OPENGL) - glew::gl::Deinitialise (); - #elif defined(GLEW_USE_OPENGL_ES) - glew::gles::Deinitialise (); - #endif - - AssertNoGLErrors (); - - glew::egl::Deinitialise (); - - eglMakeCurrent (EGL_NO_DISPLAY, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); - - AssertNoEGLErrors (); - - eglDestroyContext (eglDisplay, eglContext); - - AssertNoEGLErrors (); - - eglDestroySurface (eglDisplay, eglSurface); - - AssertNoEGLErrors (); - - eglTerminate (eglDisplay); - - AssertNoEGLErrors (); - - PostQuitMessage (0); - - break; - } - - default: - { - return DefWindowProc (hWnd, message, wParam, lParam); - } - } + glew::egl::Deinitialise (); return 0; } + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/tests/test-wgl.cpp b/tests/test-wgl.cpp index b3222b4..c19abf1 100644 --- a/tests/test-wgl.cpp +++ b/tests/test-wgl.cpp @@ -12,8 +12,6 @@ #include -#include - //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -24,17 +22,6 @@ LRESULT CALLBACK WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -static const char* DescribeGLError (GLenum err) -{ - const char *errorText = "Unknown"; - - return errorText; -} - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - static void CheckGLError (const bool shouldAssert, const char* file, const int line) { GLenum err = glGetError (); @@ -43,18 +30,20 @@ static void CheckGLError (const bool shouldAssert, const char* file, const int l { char buffer [512]; - sprintf (buffer, "[%s : %d] glGetError returned %d (%s)", file, line, err, DescribeGLError (err)); + sprintf (buffer, "[%s:%d] glGetError returned 0x%x\n", file, line, err); +#if WIN32 OutputDebugString (buffer); +#endif - fprintf (stderr, buffer); + fputs (buffer, stderr); fflush (stderr); } if (shouldAssert) { - assert (err == GL_NO_ERROR); + GLEW_ASSERT (err == GL_NO_ERROR); } } @@ -135,9 +124,9 @@ LRESULT CALLBACK WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) SetPixelFormat (deviceContext, windowsPixelFormat, &pfd); - // + // // Context creation and tear-down. - // + // HGLRC deviceRenderContext = wglCreateContext (deviceContext); @@ -189,14 +178,20 @@ LRESULT CALLBACK WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) AssertNoGLErrors (); + fprintf(stdout, "Renderer: %s", renderer); + const char *version = (const char *) glGetString (GL_VERSION); AssertNoGLErrors (); + fprintf(stdout, "Version: %s", version); + const char *extensions = (const char *) glGetString (GL_EXTENSIONS); AssertNoGLErrors (); + fprintf(stdout, "Extensions: %s", extensions); + #if defined(GLEW_USE_OPENGL) glew::gl::Deinitialise (); #elif defined(GLEW_USE_OPENGL_ES)