1b8e80941Smrg#ifndef __gles2_gl2ext_h_ 2b8e80941Smrg#define __gles2_gl2ext_h_ 1 3848b8605Smrg 4848b8605Smrg#ifdef __cplusplus 5848b8605Smrgextern "C" { 6848b8605Smrg#endif 7848b8605Smrg 8848b8605Smrg/* 9b8e80941Smrg** Copyright (c) 2013-2018 The Khronos Group Inc. 10848b8605Smrg** 11848b8605Smrg** Permission is hereby granted, free of charge, to any person obtaining a 12848b8605Smrg** copy of this software and/or associated documentation files (the 13848b8605Smrg** "Materials"), to deal in the Materials without restriction, including 14848b8605Smrg** without limitation the rights to use, copy, modify, merge, publish, 15848b8605Smrg** distribute, sublicense, and/or sell copies of the Materials, and to 16848b8605Smrg** permit persons to whom the Materials are furnished to do so, subject to 17848b8605Smrg** the following conditions: 18848b8605Smrg** 19848b8605Smrg** The above copyright notice and this permission notice shall be included 20848b8605Smrg** in all copies or substantial portions of the Materials. 21848b8605Smrg** 22848b8605Smrg** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 23848b8605Smrg** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 24848b8605Smrg** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 25848b8605Smrg** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 26848b8605Smrg** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 27848b8605Smrg** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 28848b8605Smrg** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 29848b8605Smrg*/ 30848b8605Smrg/* 31848b8605Smrg** This header is generated from the Khronos OpenGL / OpenGL ES XML 32848b8605Smrg** API Registry. The current version of the Registry, generator scripts 33848b8605Smrg** used to make the header, and the header can be found at 34b8e80941Smrg** https://github.com/KhronosGroup/OpenGL-Registry 35848b8605Smrg*/ 36848b8605Smrg 37848b8605Smrg#ifndef GL_APIENTRYP 38848b8605Smrg#define GL_APIENTRYP GL_APIENTRY* 39848b8605Smrg#endif 40848b8605Smrg 41b8e80941Smrg/* Generated on date 20180725 */ 42848b8605Smrg 43848b8605Smrg/* Generated C header for: 44848b8605Smrg * API: gles2 45848b8605Smrg * Profile: common 46848b8605Smrg * Versions considered: 2\.[0-9] 47848b8605Smrg * Versions emitted: _nomatch_^ 48848b8605Smrg * Default extensions included: gles2 49848b8605Smrg * Additional extensions included: _nomatch_^ 50848b8605Smrg * Extensions removed: _nomatch_^ 51848b8605Smrg */ 52848b8605Smrg 53848b8605Smrg#ifndef GL_KHR_blend_equation_advanced 54848b8605Smrg#define GL_KHR_blend_equation_advanced 1 55848b8605Smrg#define GL_MULTIPLY_KHR 0x9294 56848b8605Smrg#define GL_SCREEN_KHR 0x9295 57848b8605Smrg#define GL_OVERLAY_KHR 0x9296 58848b8605Smrg#define GL_DARKEN_KHR 0x9297 59848b8605Smrg#define GL_LIGHTEN_KHR 0x9298 60848b8605Smrg#define GL_COLORDODGE_KHR 0x9299 61848b8605Smrg#define GL_COLORBURN_KHR 0x929A 62848b8605Smrg#define GL_HARDLIGHT_KHR 0x929B 63848b8605Smrg#define GL_SOFTLIGHT_KHR 0x929C 64848b8605Smrg#define GL_DIFFERENCE_KHR 0x929E 65848b8605Smrg#define GL_EXCLUSION_KHR 0x92A0 66848b8605Smrg#define GL_HSL_HUE_KHR 0x92AD 67848b8605Smrg#define GL_HSL_SATURATION_KHR 0x92AE 68848b8605Smrg#define GL_HSL_COLOR_KHR 0x92AF 69848b8605Smrg#define GL_HSL_LUMINOSITY_KHR 0x92B0 70848b8605Smrgtypedef void (GL_APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void); 71848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 72848b8605SmrgGL_APICALL void GL_APIENTRY glBlendBarrierKHR (void); 73848b8605Smrg#endif 74848b8605Smrg#endif /* GL_KHR_blend_equation_advanced */ 75848b8605Smrg 76b8e80941Smrg#ifndef GL_KHR_blend_equation_advanced_coherent 77b8e80941Smrg#define GL_KHR_blend_equation_advanced_coherent 1 78b8e80941Smrg#define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285 79b8e80941Smrg#endif /* GL_KHR_blend_equation_advanced_coherent */ 80b8e80941Smrg 81b8e80941Smrg#ifndef GL_KHR_context_flush_control 82b8e80941Smrg#define GL_KHR_context_flush_control 1 83b8e80941Smrg#define GL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x82FB 84b8e80941Smrg#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x82FC 85b8e80941Smrg#endif /* GL_KHR_context_flush_control */ 86b8e80941Smrg 87848b8605Smrg#ifndef GL_KHR_debug 88848b8605Smrg#define GL_KHR_debug 1 89848b8605Smrgtypedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); 90848b8605Smrg#define GL_SAMPLER 0x82E6 91848b8605Smrg#define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242 92848b8605Smrg#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243 93848b8605Smrg#define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244 94848b8605Smrg#define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245 95848b8605Smrg#define GL_DEBUG_SOURCE_API_KHR 0x8246 96848b8605Smrg#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247 97848b8605Smrg#define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248 98848b8605Smrg#define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249 99848b8605Smrg#define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A 100848b8605Smrg#define GL_DEBUG_SOURCE_OTHER_KHR 0x824B 101848b8605Smrg#define GL_DEBUG_TYPE_ERROR_KHR 0x824C 102848b8605Smrg#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D 103848b8605Smrg#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E 104848b8605Smrg#define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F 105848b8605Smrg#define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250 106848b8605Smrg#define GL_DEBUG_TYPE_OTHER_KHR 0x8251 107848b8605Smrg#define GL_DEBUG_TYPE_MARKER_KHR 0x8268 108848b8605Smrg#define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269 109848b8605Smrg#define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A 110848b8605Smrg#define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B 111848b8605Smrg#define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C 112848b8605Smrg#define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D 113848b8605Smrg#define GL_BUFFER_KHR 0x82E0 114848b8605Smrg#define GL_SHADER_KHR 0x82E1 115848b8605Smrg#define GL_PROGRAM_KHR 0x82E2 116848b8605Smrg#define GL_VERTEX_ARRAY_KHR 0x8074 117848b8605Smrg#define GL_QUERY_KHR 0x82E3 118b8e80941Smrg#define GL_PROGRAM_PIPELINE_KHR 0x82E4 119848b8605Smrg#define GL_SAMPLER_KHR 0x82E6 120848b8605Smrg#define GL_MAX_LABEL_LENGTH_KHR 0x82E8 121848b8605Smrg#define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143 122848b8605Smrg#define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144 123848b8605Smrg#define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145 124848b8605Smrg#define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146 125848b8605Smrg#define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147 126848b8605Smrg#define GL_DEBUG_SEVERITY_LOW_KHR 0x9148 127848b8605Smrg#define GL_DEBUG_OUTPUT_KHR 0x92E0 128848b8605Smrg#define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002 129848b8605Smrg#define GL_STACK_OVERFLOW_KHR 0x0503 130848b8605Smrg#define GL_STACK_UNDERFLOW_KHR 0x0504 131848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 132848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 133848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam); 134848b8605Smrgtypedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 135848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); 136848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void); 137848b8605Smrgtypedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); 138848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); 139848b8605Smrgtypedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label); 140848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); 141848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params); 142848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 143848b8605SmrgGL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 144848b8605SmrgGL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 145848b8605SmrgGL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam); 146848b8605SmrgGL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 147848b8605SmrgGL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message); 148848b8605SmrgGL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void); 149848b8605SmrgGL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); 150848b8605SmrgGL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); 151848b8605SmrgGL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label); 152848b8605SmrgGL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); 153848b8605SmrgGL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params); 154848b8605Smrg#endif 155848b8605Smrg#endif /* GL_KHR_debug */ 156848b8605Smrg 157b8e80941Smrg#ifndef GL_KHR_no_error 158b8e80941Smrg#define GL_KHR_no_error 1 159b8e80941Smrg#define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008 160b8e80941Smrg#endif /* GL_KHR_no_error */ 161b8e80941Smrg 162b8e80941Smrg#ifndef GL_KHR_parallel_shader_compile 163b8e80941Smrg#define GL_KHR_parallel_shader_compile 1 164b8e80941Smrg#define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0 165b8e80941Smrg#define GL_COMPLETION_STATUS_KHR 0x91B1 166b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count); 167b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 168b8e80941SmrgGL_APICALL void GL_APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count); 169b8e80941Smrg#endif 170b8e80941Smrg#endif /* GL_KHR_parallel_shader_compile */ 171b8e80941Smrg 172b8e80941Smrg#ifndef GL_KHR_robust_buffer_access_behavior 173b8e80941Smrg#define GL_KHR_robust_buffer_access_behavior 1 174b8e80941Smrg#endif /* GL_KHR_robust_buffer_access_behavior */ 175b8e80941Smrg 176b8e80941Smrg#ifndef GL_KHR_robustness 177b8e80941Smrg#define GL_KHR_robustness 1 178b8e80941Smrg#define GL_CONTEXT_ROBUST_ACCESS_KHR 0x90F3 179b8e80941Smrg#define GL_LOSE_CONTEXT_ON_RESET_KHR 0x8252 180b8e80941Smrg#define GL_GUILTY_CONTEXT_RESET_KHR 0x8253 181b8e80941Smrg#define GL_INNOCENT_CONTEXT_RESET_KHR 0x8254 182b8e80941Smrg#define GL_UNKNOWN_CONTEXT_RESET_KHR 0x8255 183b8e80941Smrg#define GL_RESET_NOTIFICATION_STRATEGY_KHR 0x8256 184b8e80941Smrg#define GL_NO_RESET_NOTIFICATION_KHR 0x8261 185b8e80941Smrg#define GL_CONTEXT_LOST_KHR 0x0507 186b8e80941Smrgtypedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC) (void); 187b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLREADNPIXELSKHRPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 188b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 189b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); 190b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 191b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 192b8e80941SmrgGL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusKHR (void); 193b8e80941SmrgGL_APICALL void GL_APIENTRY glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 194b8e80941SmrgGL_APICALL void GL_APIENTRY glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 195b8e80941SmrgGL_APICALL void GL_APIENTRY glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint *params); 196b8e80941SmrgGL_APICALL void GL_APIENTRY glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 197b8e80941Smrg#endif 198b8e80941Smrg#endif /* GL_KHR_robustness */ 199b8e80941Smrg 200848b8605Smrg#ifndef GL_KHR_texture_compression_astc_hdr 201848b8605Smrg#define GL_KHR_texture_compression_astc_hdr 1 202848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 203848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 204848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 205848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 206848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 207848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 208848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 209848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 210848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 211848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 212848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA 213848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB 214848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC 215848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD 216848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 217848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 218848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 219848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 220848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 221848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 222848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 223848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 224848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 225848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 226848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA 227848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB 228848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC 229848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD 230848b8605Smrg#endif /* GL_KHR_texture_compression_astc_hdr */ 231848b8605Smrg 232848b8605Smrg#ifndef GL_KHR_texture_compression_astc_ldr 233848b8605Smrg#define GL_KHR_texture_compression_astc_ldr 1 234848b8605Smrg#endif /* GL_KHR_texture_compression_astc_ldr */ 235848b8605Smrg 236b8e80941Smrg#ifndef GL_KHR_texture_compression_astc_sliced_3d 237b8e80941Smrg#define GL_KHR_texture_compression_astc_sliced_3d 1 238b8e80941Smrg#endif /* GL_KHR_texture_compression_astc_sliced_3d */ 239b8e80941Smrg 240848b8605Smrg#ifndef GL_OES_EGL_image 241848b8605Smrg#define GL_OES_EGL_image 1 242848b8605Smrgtypedef void *GLeglImageOES; 243848b8605Smrgtypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); 244848b8605Smrgtypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); 245848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 246848b8605SmrgGL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); 247848b8605SmrgGL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); 248848b8605Smrg#endif 249848b8605Smrg#endif /* GL_OES_EGL_image */ 250848b8605Smrg 251848b8605Smrg#ifndef GL_OES_EGL_image_external 252848b8605Smrg#define GL_OES_EGL_image_external 1 253848b8605Smrg#define GL_TEXTURE_EXTERNAL_OES 0x8D65 254848b8605Smrg#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 255848b8605Smrg#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 256848b8605Smrg#define GL_SAMPLER_EXTERNAL_OES 0x8D66 257848b8605Smrg#endif /* GL_OES_EGL_image_external */ 258848b8605Smrg 259b8e80941Smrg#ifndef GL_OES_EGL_image_external_essl3 260b8e80941Smrg#define GL_OES_EGL_image_external_essl3 1 261b8e80941Smrg#endif /* GL_OES_EGL_image_external_essl3 */ 262b8e80941Smrg 263b8e80941Smrg#ifndef GL_OES_compressed_ETC1_RGB8_sub_texture 264b8e80941Smrg#define GL_OES_compressed_ETC1_RGB8_sub_texture 1 265b8e80941Smrg#endif /* GL_OES_compressed_ETC1_RGB8_sub_texture */ 266b8e80941Smrg 267848b8605Smrg#ifndef GL_OES_compressed_ETC1_RGB8_texture 268848b8605Smrg#define GL_OES_compressed_ETC1_RGB8_texture 1 269848b8605Smrg#define GL_ETC1_RGB8_OES 0x8D64 270848b8605Smrg#endif /* GL_OES_compressed_ETC1_RGB8_texture */ 271848b8605Smrg 272848b8605Smrg#ifndef GL_OES_compressed_paletted_texture 273848b8605Smrg#define GL_OES_compressed_paletted_texture 1 274848b8605Smrg#define GL_PALETTE4_RGB8_OES 0x8B90 275848b8605Smrg#define GL_PALETTE4_RGBA8_OES 0x8B91 276848b8605Smrg#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 277848b8605Smrg#define GL_PALETTE4_RGBA4_OES 0x8B93 278848b8605Smrg#define GL_PALETTE4_RGB5_A1_OES 0x8B94 279848b8605Smrg#define GL_PALETTE8_RGB8_OES 0x8B95 280848b8605Smrg#define GL_PALETTE8_RGBA8_OES 0x8B96 281848b8605Smrg#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 282848b8605Smrg#define GL_PALETTE8_RGBA4_OES 0x8B98 283848b8605Smrg#define GL_PALETTE8_RGB5_A1_OES 0x8B99 284848b8605Smrg#endif /* GL_OES_compressed_paletted_texture */ 285848b8605Smrg 286b8e80941Smrg#ifndef GL_OES_copy_image 287b8e80941Smrg#define GL_OES_copy_image 1 288b8e80941Smrgtypedef 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); 289b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 290b8e80941SmrgGL_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); 291b8e80941Smrg#endif 292b8e80941Smrg#endif /* GL_OES_copy_image */ 293b8e80941Smrg 294848b8605Smrg#ifndef GL_OES_depth24 295848b8605Smrg#define GL_OES_depth24 1 296848b8605Smrg#define GL_DEPTH_COMPONENT24_OES 0x81A6 297848b8605Smrg#endif /* GL_OES_depth24 */ 298848b8605Smrg 299848b8605Smrg#ifndef GL_OES_depth32 300848b8605Smrg#define GL_OES_depth32 1 301848b8605Smrg#define GL_DEPTH_COMPONENT32_OES 0x81A7 302848b8605Smrg#endif /* GL_OES_depth32 */ 303848b8605Smrg 304848b8605Smrg#ifndef GL_OES_depth_texture 305848b8605Smrg#define GL_OES_depth_texture 1 306848b8605Smrg#endif /* GL_OES_depth_texture */ 307848b8605Smrg 308b8e80941Smrg#ifndef GL_OES_draw_buffers_indexed 309b8e80941Smrg#define GL_OES_draw_buffers_indexed 1 310b8e80941Smrg#define GL_MIN 0x8007 311b8e80941Smrg#define GL_MAX 0x8008 312b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLENABLEIOESPROC) (GLenum target, GLuint index); 313b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDISABLEIOESPROC) (GLenum target, GLuint index); 314b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIOESPROC) (GLuint buf, GLenum mode); 315b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIOESPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 316b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLBLENDFUNCIOESPROC) (GLuint buf, GLenum src, GLenum dst); 317b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIOESPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 318b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLCOLORMASKIOESPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 319b8e80941Smrgtypedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIOESPROC) (GLenum target, GLuint index); 320b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 321b8e80941SmrgGL_APICALL void GL_APIENTRY glEnableiOES (GLenum target, GLuint index); 322b8e80941SmrgGL_APICALL void GL_APIENTRY glDisableiOES (GLenum target, GLuint index); 323b8e80941SmrgGL_APICALL void GL_APIENTRY glBlendEquationiOES (GLuint buf, GLenum mode); 324b8e80941SmrgGL_APICALL void GL_APIENTRY glBlendEquationSeparateiOES (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 325b8e80941SmrgGL_APICALL void GL_APIENTRY glBlendFunciOES (GLuint buf, GLenum src, GLenum dst); 326b8e80941SmrgGL_APICALL void GL_APIENTRY glBlendFuncSeparateiOES (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 327b8e80941SmrgGL_APICALL void GL_APIENTRY glColorMaskiOES (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 328b8e80941SmrgGL_APICALL GLboolean GL_APIENTRY glIsEnablediOES (GLenum target, GLuint index); 329b8e80941Smrg#endif 330b8e80941Smrg#endif /* GL_OES_draw_buffers_indexed */ 331b8e80941Smrg 332b8e80941Smrg#ifndef GL_OES_draw_elements_base_vertex 333b8e80941Smrg#define GL_OES_draw_elements_base_vertex 1 334b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 335b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 336b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 337b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); 338b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 339b8e80941SmrgGL_APICALL void GL_APIENTRY glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 340b8e80941SmrgGL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 341b8e80941SmrgGL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 342b8e80941SmrgGL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); 343b8e80941Smrg#endif 344b8e80941Smrg#endif /* GL_OES_draw_elements_base_vertex */ 345b8e80941Smrg 346848b8605Smrg#ifndef GL_OES_element_index_uint 347848b8605Smrg#define GL_OES_element_index_uint 1 348848b8605Smrg#endif /* GL_OES_element_index_uint */ 349848b8605Smrg 350848b8605Smrg#ifndef GL_OES_fbo_render_mipmap 351848b8605Smrg#define GL_OES_fbo_render_mipmap 1 352848b8605Smrg#endif /* GL_OES_fbo_render_mipmap */ 353848b8605Smrg 354848b8605Smrg#ifndef GL_OES_fragment_precision_high 355848b8605Smrg#define GL_OES_fragment_precision_high 1 356848b8605Smrg#endif /* GL_OES_fragment_precision_high */ 357848b8605Smrg 358b8e80941Smrg#ifndef GL_OES_geometry_point_size 359b8e80941Smrg#define GL_OES_geometry_point_size 1 360b8e80941Smrg#endif /* GL_OES_geometry_point_size */ 361b8e80941Smrg 362b8e80941Smrg#ifndef GL_OES_geometry_shader 363b8e80941Smrg#define GL_OES_geometry_shader 1 364b8e80941Smrg#define GL_GEOMETRY_SHADER_OES 0x8DD9 365b8e80941Smrg#define GL_GEOMETRY_SHADER_BIT_OES 0x00000004 366b8e80941Smrg#define GL_GEOMETRY_LINKED_VERTICES_OUT_OES 0x8916 367b8e80941Smrg#define GL_GEOMETRY_LINKED_INPUT_TYPE_OES 0x8917 368b8e80941Smrg#define GL_GEOMETRY_LINKED_OUTPUT_TYPE_OES 0x8918 369b8e80941Smrg#define GL_GEOMETRY_SHADER_INVOCATIONS_OES 0x887F 370b8e80941Smrg#define GL_LAYER_PROVOKING_VERTEX_OES 0x825E 371b8e80941Smrg#define GL_LINES_ADJACENCY_OES 0x000A 372b8e80941Smrg#define GL_LINE_STRIP_ADJACENCY_OES 0x000B 373b8e80941Smrg#define GL_TRIANGLES_ADJACENCY_OES 0x000C 374b8e80941Smrg#define GL_TRIANGLE_STRIP_ADJACENCY_OES 0x000D 375b8e80941Smrg#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8DDF 376b8e80941Smrg#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_OES 0x8A2C 377b8e80941Smrg#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8A32 378b8e80941Smrg#define GL_MAX_GEOMETRY_INPUT_COMPONENTS_OES 0x9123 379b8e80941Smrg#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_OES 0x9124 380b8e80941Smrg#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_OES 0x8DE0 381b8e80941Smrg#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_OES 0x8DE1 382b8e80941Smrg#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_OES 0x8E5A 383b8e80941Smrg#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_OES 0x8C29 384b8e80941Smrg#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES 0x92CF 385b8e80941Smrg#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_OES 0x92D5 386b8e80941Smrg#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_OES 0x90CD 387b8e80941Smrg#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_OES 0x90D7 388b8e80941Smrg#define GL_FIRST_VERTEX_CONVENTION_OES 0x8E4D 389b8e80941Smrg#define GL_LAST_VERTEX_CONVENTION_OES 0x8E4E 390b8e80941Smrg#define GL_UNDEFINED_VERTEX_OES 0x8260 391b8e80941Smrg#define GL_PRIMITIVES_GENERATED_OES 0x8C87 392b8e80941Smrg#define GL_FRAMEBUFFER_DEFAULT_LAYERS_OES 0x9312 393b8e80941Smrg#define GL_MAX_FRAMEBUFFER_LAYERS_OES 0x9317 394b8e80941Smrg#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_OES 0x8DA8 395b8e80941Smrg#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES 0x8DA7 396b8e80941Smrg#define GL_REFERENCED_BY_GEOMETRY_SHADER_OES 0x9309 397b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREOESPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); 398b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 399b8e80941SmrgGL_APICALL void GL_APIENTRY glFramebufferTextureOES (GLenum target, GLenum attachment, GLuint texture, GLint level); 400b8e80941Smrg#endif 401b8e80941Smrg#endif /* GL_OES_geometry_shader */ 402b8e80941Smrg 403848b8605Smrg#ifndef GL_OES_get_program_binary 404848b8605Smrg#define GL_OES_get_program_binary 1 405848b8605Smrg#define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 406848b8605Smrg#define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE 407848b8605Smrg#define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF 408848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); 409848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length); 410848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 411848b8605SmrgGL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); 412848b8605SmrgGL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length); 413848b8605Smrg#endif 414848b8605Smrg#endif /* GL_OES_get_program_binary */ 415848b8605Smrg 416b8e80941Smrg#ifndef GL_OES_gpu_shader5 417b8e80941Smrg#define GL_OES_gpu_shader5 1 418b8e80941Smrg#endif /* GL_OES_gpu_shader5 */ 419b8e80941Smrg 420848b8605Smrg#ifndef GL_OES_mapbuffer 421848b8605Smrg#define GL_OES_mapbuffer 1 422848b8605Smrg#define GL_WRITE_ONLY_OES 0x88B9 423848b8605Smrg#define GL_BUFFER_ACCESS_OES 0x88BB 424848b8605Smrg#define GL_BUFFER_MAPPED_OES 0x88BC 425848b8605Smrg#define GL_BUFFER_MAP_POINTER_OES 0x88BD 426848b8605Smrgtypedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); 427848b8605Smrgtypedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); 428848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params); 429848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 430848b8605SmrgGL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); 431848b8605SmrgGL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); 432848b8605SmrgGL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params); 433848b8605Smrg#endif 434848b8605Smrg#endif /* GL_OES_mapbuffer */ 435848b8605Smrg 436848b8605Smrg#ifndef GL_OES_packed_depth_stencil 437848b8605Smrg#define GL_OES_packed_depth_stencil 1 438848b8605Smrg#define GL_DEPTH_STENCIL_OES 0x84F9 439848b8605Smrg#define GL_UNSIGNED_INT_24_8_OES 0x84FA 440848b8605Smrg#define GL_DEPTH24_STENCIL8_OES 0x88F0 441848b8605Smrg#endif /* GL_OES_packed_depth_stencil */ 442848b8605Smrg 443b8e80941Smrg#ifndef GL_OES_primitive_bounding_box 444b8e80941Smrg#define GL_OES_primitive_bounding_box 1 445b8e80941Smrg#define GL_PRIMITIVE_BOUNDING_BOX_OES 0x92BE 446b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXOESPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 447b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 448b8e80941SmrgGL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxOES (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 449b8e80941Smrg#endif 450b8e80941Smrg#endif /* GL_OES_primitive_bounding_box */ 451b8e80941Smrg 452848b8605Smrg#ifndef GL_OES_required_internalformat 453848b8605Smrg#define GL_OES_required_internalformat 1 454848b8605Smrg#define GL_ALPHA8_OES 0x803C 455848b8605Smrg#define GL_DEPTH_COMPONENT16_OES 0x81A5 456848b8605Smrg#define GL_LUMINANCE4_ALPHA4_OES 0x8043 457848b8605Smrg#define GL_LUMINANCE8_ALPHA8_OES 0x8045 458848b8605Smrg#define GL_LUMINANCE8_OES 0x8040 459848b8605Smrg#define GL_RGBA4_OES 0x8056 460848b8605Smrg#define GL_RGB5_A1_OES 0x8057 461848b8605Smrg#define GL_RGB565_OES 0x8D62 462848b8605Smrg#define GL_RGB8_OES 0x8051 463848b8605Smrg#define GL_RGBA8_OES 0x8058 464848b8605Smrg#define GL_RGB10_EXT 0x8052 465848b8605Smrg#define GL_RGB10_A2_EXT 0x8059 466848b8605Smrg#endif /* GL_OES_required_internalformat */ 467848b8605Smrg 468848b8605Smrg#ifndef GL_OES_rgb8_rgba8 469848b8605Smrg#define GL_OES_rgb8_rgba8 1 470848b8605Smrg#endif /* GL_OES_rgb8_rgba8 */ 471848b8605Smrg 472848b8605Smrg#ifndef GL_OES_sample_shading 473848b8605Smrg#define GL_OES_sample_shading 1 474848b8605Smrg#define GL_SAMPLE_SHADING_OES 0x8C36 475848b8605Smrg#define GL_MIN_SAMPLE_SHADING_VALUE_OES 0x8C37 476848b8605Smrgtypedef void (GL_APIENTRYP PFNGLMINSAMPLESHADINGOESPROC) (GLfloat value); 477848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 478848b8605SmrgGL_APICALL void GL_APIENTRY glMinSampleShadingOES (GLfloat value); 479848b8605Smrg#endif 480848b8605Smrg#endif /* GL_OES_sample_shading */ 481848b8605Smrg 482848b8605Smrg#ifndef GL_OES_sample_variables 483848b8605Smrg#define GL_OES_sample_variables 1 484848b8605Smrg#endif /* GL_OES_sample_variables */ 485848b8605Smrg 486848b8605Smrg#ifndef GL_OES_shader_image_atomic 487848b8605Smrg#define GL_OES_shader_image_atomic 1 488848b8605Smrg#endif /* GL_OES_shader_image_atomic */ 489848b8605Smrg 490b8e80941Smrg#ifndef GL_OES_shader_io_blocks 491b8e80941Smrg#define GL_OES_shader_io_blocks 1 492b8e80941Smrg#endif /* GL_OES_shader_io_blocks */ 493b8e80941Smrg 494848b8605Smrg#ifndef GL_OES_shader_multisample_interpolation 495848b8605Smrg#define GL_OES_shader_multisample_interpolation 1 496848b8605Smrg#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5B 497848b8605Smrg#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5C 498848b8605Smrg#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES 0x8E5D 499848b8605Smrg#endif /* GL_OES_shader_multisample_interpolation */ 500848b8605Smrg 501848b8605Smrg#ifndef GL_OES_standard_derivatives 502848b8605Smrg#define GL_OES_standard_derivatives 1 503848b8605Smrg#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B 504848b8605Smrg#endif /* GL_OES_standard_derivatives */ 505848b8605Smrg 506848b8605Smrg#ifndef GL_OES_stencil1 507848b8605Smrg#define GL_OES_stencil1 1 508848b8605Smrg#define GL_STENCIL_INDEX1_OES 0x8D46 509848b8605Smrg#endif /* GL_OES_stencil1 */ 510848b8605Smrg 511848b8605Smrg#ifndef GL_OES_stencil4 512848b8605Smrg#define GL_OES_stencil4 1 513848b8605Smrg#define GL_STENCIL_INDEX4_OES 0x8D47 514848b8605Smrg#endif /* GL_OES_stencil4 */ 515848b8605Smrg 516848b8605Smrg#ifndef GL_OES_surfaceless_context 517848b8605Smrg#define GL_OES_surfaceless_context 1 518848b8605Smrg#define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219 519848b8605Smrg#endif /* GL_OES_surfaceless_context */ 520848b8605Smrg 521b8e80941Smrg#ifndef GL_OES_tessellation_point_size 522b8e80941Smrg#define GL_OES_tessellation_point_size 1 523b8e80941Smrg#endif /* GL_OES_tessellation_point_size */ 524b8e80941Smrg 525b8e80941Smrg#ifndef GL_OES_tessellation_shader 526b8e80941Smrg#define GL_OES_tessellation_shader 1 527b8e80941Smrg#define GL_PATCHES_OES 0x000E 528b8e80941Smrg#define GL_PATCH_VERTICES_OES 0x8E72 529b8e80941Smrg#define GL_TESS_CONTROL_OUTPUT_VERTICES_OES 0x8E75 530b8e80941Smrg#define GL_TESS_GEN_MODE_OES 0x8E76 531b8e80941Smrg#define GL_TESS_GEN_SPACING_OES 0x8E77 532b8e80941Smrg#define GL_TESS_GEN_VERTEX_ORDER_OES 0x8E78 533b8e80941Smrg#define GL_TESS_GEN_POINT_MODE_OES 0x8E79 534b8e80941Smrg#define GL_ISOLINES_OES 0x8E7A 535b8e80941Smrg#define GL_QUADS_OES 0x0007 536b8e80941Smrg#define GL_FRACTIONAL_ODD_OES 0x8E7B 537b8e80941Smrg#define GL_FRACTIONAL_EVEN_OES 0x8E7C 538b8e80941Smrg#define GL_MAX_PATCH_VERTICES_OES 0x8E7D 539b8e80941Smrg#define GL_MAX_TESS_GEN_LEVEL_OES 0x8E7E 540b8e80941Smrg#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E7F 541b8e80941Smrg#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E80 542b8e80941Smrg#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_OES 0x8E81 543b8e80941Smrg#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_OES 0x8E82 544b8e80941Smrg#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES 0x8E83 545b8e80941Smrg#define GL_MAX_TESS_PATCH_COMPONENTS_OES 0x8E84 546b8e80941Smrg#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_OES 0x8E85 547b8e80941Smrg#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_OES 0x8E86 548b8e80941Smrg#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_OES 0x8E89 549b8e80941Smrg#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_OES 0x8E8A 550b8e80941Smrg#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_OES 0x886C 551b8e80941Smrg#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_OES 0x886D 552b8e80941Smrg#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E1E 553b8e80941Smrg#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E1F 554b8e80941Smrg#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_OES 0x92CD 555b8e80941Smrg#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_OES 0x92CE 556b8e80941Smrg#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_OES 0x92D3 557b8e80941Smrg#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_OES 0x92D4 558b8e80941Smrg#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_OES 0x90CB 559b8e80941Smrg#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_OES 0x90CC 560b8e80941Smrg#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_OES 0x90D8 561b8e80941Smrg#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_OES 0x90D9 562b8e80941Smrg#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED_OES 0x8221 563b8e80941Smrg#define GL_IS_PER_PATCH_OES 0x92E7 564b8e80941Smrg#define GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES 0x9307 565b8e80941Smrg#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_OES 0x9308 566b8e80941Smrg#define GL_TESS_CONTROL_SHADER_OES 0x8E88 567b8e80941Smrg#define GL_TESS_EVALUATION_SHADER_OES 0x8E87 568b8e80941Smrg#define GL_TESS_CONTROL_SHADER_BIT_OES 0x00000008 569b8e80941Smrg#define GL_TESS_EVALUATION_SHADER_BIT_OES 0x00000010 570b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIOESPROC) (GLenum pname, GLint value); 571b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 572b8e80941SmrgGL_APICALL void GL_APIENTRY glPatchParameteriOES (GLenum pname, GLint value); 573b8e80941Smrg#endif 574b8e80941Smrg#endif /* GL_OES_tessellation_shader */ 575b8e80941Smrg 576848b8605Smrg#ifndef GL_OES_texture_3D 577848b8605Smrg#define GL_OES_texture_3D 1 578848b8605Smrg#define GL_TEXTURE_WRAP_R_OES 0x8072 579848b8605Smrg#define GL_TEXTURE_3D_OES 0x806F 580848b8605Smrg#define GL_TEXTURE_BINDING_3D_OES 0x806A 581848b8605Smrg#define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 582848b8605Smrg#define GL_SAMPLER_3D_OES 0x8B5F 583848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 584848b8605Smrgtypedef 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); 585848b8605Smrgtypedef 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); 586848b8605Smrgtypedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 587848b8605Smrgtypedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); 588848b8605Smrgtypedef 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); 589848b8605Smrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 590848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 591848b8605SmrgGL_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); 592848b8605SmrgGL_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); 593848b8605SmrgGL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 594848b8605SmrgGL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); 595848b8605SmrgGL_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); 596848b8605SmrgGL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 597848b8605Smrg#endif 598848b8605Smrg#endif /* GL_OES_texture_3D */ 599848b8605Smrg 600b8e80941Smrg#ifndef GL_OES_texture_border_clamp 601b8e80941Smrg#define GL_OES_texture_border_clamp 1 602b8e80941Smrg#define GL_TEXTURE_BORDER_COLOR_OES 0x1004 603b8e80941Smrg#define GL_CLAMP_TO_BORDER_OES 0x812D 604b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, const GLint *params); 605b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, const GLuint *params); 606b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, GLint *params); 607b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, GLuint *params); 608b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, const GLint *param); 609b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, const GLuint *param); 610b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, GLint *params); 611b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, GLuint *params); 612b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 613b8e80941SmrgGL_APICALL void GL_APIENTRY glTexParameterIivOES (GLenum target, GLenum pname, const GLint *params); 614b8e80941SmrgGL_APICALL void GL_APIENTRY glTexParameterIuivOES (GLenum target, GLenum pname, const GLuint *params); 615b8e80941SmrgGL_APICALL void GL_APIENTRY glGetTexParameterIivOES (GLenum target, GLenum pname, GLint *params); 616b8e80941SmrgGL_APICALL void GL_APIENTRY glGetTexParameterIuivOES (GLenum target, GLenum pname, GLuint *params); 617b8e80941SmrgGL_APICALL void GL_APIENTRY glSamplerParameterIivOES (GLuint sampler, GLenum pname, const GLint *param); 618b8e80941SmrgGL_APICALL void GL_APIENTRY glSamplerParameterIuivOES (GLuint sampler, GLenum pname, const GLuint *param); 619b8e80941SmrgGL_APICALL void GL_APIENTRY glGetSamplerParameterIivOES (GLuint sampler, GLenum pname, GLint *params); 620b8e80941SmrgGL_APICALL void GL_APIENTRY glGetSamplerParameterIuivOES (GLuint sampler, GLenum pname, GLuint *params); 621b8e80941Smrg#endif 622b8e80941Smrg#endif /* GL_OES_texture_border_clamp */ 623b8e80941Smrg 624b8e80941Smrg#ifndef GL_OES_texture_buffer 625b8e80941Smrg#define GL_OES_texture_buffer 1 626b8e80941Smrg#define GL_TEXTURE_BUFFER_OES 0x8C2A 627b8e80941Smrg#define GL_TEXTURE_BUFFER_BINDING_OES 0x8C2A 628b8e80941Smrg#define GL_MAX_TEXTURE_BUFFER_SIZE_OES 0x8C2B 629b8e80941Smrg#define GL_TEXTURE_BINDING_BUFFER_OES 0x8C2C 630b8e80941Smrg#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES 0x8C2D 631b8e80941Smrg#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES 0x919F 632b8e80941Smrg#define GL_SAMPLER_BUFFER_OES 0x8DC2 633b8e80941Smrg#define GL_INT_SAMPLER_BUFFER_OES 0x8DD0 634b8e80941Smrg#define GL_UNSIGNED_INT_SAMPLER_BUFFER_OES 0x8DD8 635b8e80941Smrg#define GL_IMAGE_BUFFER_OES 0x9051 636b8e80941Smrg#define GL_INT_IMAGE_BUFFER_OES 0x905C 637b8e80941Smrg#define GL_UNSIGNED_INT_IMAGE_BUFFER_OES 0x9067 638b8e80941Smrg#define GL_TEXTURE_BUFFER_OFFSET_OES 0x919D 639b8e80941Smrg#define GL_TEXTURE_BUFFER_SIZE_OES 0x919E 640b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer); 641b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 642b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 643b8e80941SmrgGL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer); 644b8e80941SmrgGL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 645b8e80941Smrg#endif 646b8e80941Smrg#endif /* GL_OES_texture_buffer */ 647b8e80941Smrg 648848b8605Smrg#ifndef GL_OES_texture_compression_astc 649848b8605Smrg#define GL_OES_texture_compression_astc 1 650848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0 651848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1 652848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2 653848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3 654848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4 655848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5 656848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6 657848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7 658848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8 659848b8605Smrg#define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9 660848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0 661848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1 662848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2 663848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3 664848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4 665848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5 666848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6 667848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7 668848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8 669848b8605Smrg#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9 670848b8605Smrg#endif /* GL_OES_texture_compression_astc */ 671848b8605Smrg 672b8e80941Smrg#ifndef GL_OES_texture_cube_map_array 673b8e80941Smrg#define GL_OES_texture_cube_map_array 1 674b8e80941Smrg#define GL_TEXTURE_CUBE_MAP_ARRAY_OES 0x9009 675b8e80941Smrg#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_OES 0x900A 676b8e80941Smrg#define GL_SAMPLER_CUBE_MAP_ARRAY_OES 0x900C 677b8e80941Smrg#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES 0x900D 678b8e80941Smrg#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900E 679b8e80941Smrg#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900F 680b8e80941Smrg#define GL_IMAGE_CUBE_MAP_ARRAY_OES 0x9054 681b8e80941Smrg#define GL_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x905F 682b8e80941Smrg#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x906A 683b8e80941Smrg#endif /* GL_OES_texture_cube_map_array */ 684b8e80941Smrg 685848b8605Smrg#ifndef GL_OES_texture_float 686848b8605Smrg#define GL_OES_texture_float 1 687848b8605Smrg#endif /* GL_OES_texture_float */ 688848b8605Smrg 689848b8605Smrg#ifndef GL_OES_texture_float_linear 690848b8605Smrg#define GL_OES_texture_float_linear 1 691848b8605Smrg#endif /* GL_OES_texture_float_linear */ 692848b8605Smrg 693848b8605Smrg#ifndef GL_OES_texture_half_float 694848b8605Smrg#define GL_OES_texture_half_float 1 695848b8605Smrg#define GL_HALF_FLOAT_OES 0x8D61 696848b8605Smrg#endif /* GL_OES_texture_half_float */ 697848b8605Smrg 698848b8605Smrg#ifndef GL_OES_texture_half_float_linear 699848b8605Smrg#define GL_OES_texture_half_float_linear 1 700848b8605Smrg#endif /* GL_OES_texture_half_float_linear */ 701848b8605Smrg 702848b8605Smrg#ifndef GL_OES_texture_npot 703848b8605Smrg#define GL_OES_texture_npot 1 704848b8605Smrg#endif /* GL_OES_texture_npot */ 705848b8605Smrg 706848b8605Smrg#ifndef GL_OES_texture_stencil8 707848b8605Smrg#define GL_OES_texture_stencil8 1 708848b8605Smrg#define GL_STENCIL_INDEX_OES 0x1901 709848b8605Smrg#define GL_STENCIL_INDEX8_OES 0x8D48 710848b8605Smrg#endif /* GL_OES_texture_stencil8 */ 711848b8605Smrg 712848b8605Smrg#ifndef GL_OES_texture_storage_multisample_2d_array 713848b8605Smrg#define GL_OES_texture_storage_multisample_2d_array 1 714848b8605Smrg#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES 0x9102 715848b8605Smrg#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES 0x9105 716848b8605Smrg#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910B 717848b8605Smrg#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910C 718848b8605Smrg#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910D 719848b8605Smrgtypedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 720848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 721848b8605SmrgGL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 722848b8605Smrg#endif 723848b8605Smrg#endif /* GL_OES_texture_storage_multisample_2d_array */ 724848b8605Smrg 725b8e80941Smrg#ifndef GL_OES_texture_view 726b8e80941Smrg#define GL_OES_texture_view 1 727b8e80941Smrg#define GL_TEXTURE_VIEW_MIN_LEVEL_OES 0x82DB 728b8e80941Smrg#define GL_TEXTURE_VIEW_NUM_LEVELS_OES 0x82DC 729b8e80941Smrg#define GL_TEXTURE_VIEW_MIN_LAYER_OES 0x82DD 730b8e80941Smrg#define GL_TEXTURE_VIEW_NUM_LAYERS_OES 0x82DE 731b8e80941Smrg#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF 732b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXTUREVIEWOESPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 733b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 734b8e80941SmrgGL_APICALL void GL_APIENTRY glTextureViewOES (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 735b8e80941Smrg#endif 736b8e80941Smrg#endif /* GL_OES_texture_view */ 737b8e80941Smrg 738848b8605Smrg#ifndef GL_OES_vertex_array_object 739848b8605Smrg#define GL_OES_vertex_array_object 1 740848b8605Smrg#define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 741848b8605Smrgtypedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); 742848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); 743848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); 744848b8605Smrgtypedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); 745848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 746848b8605SmrgGL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); 747848b8605SmrgGL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); 748848b8605SmrgGL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); 749848b8605SmrgGL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); 750848b8605Smrg#endif 751848b8605Smrg#endif /* GL_OES_vertex_array_object */ 752848b8605Smrg 753848b8605Smrg#ifndef GL_OES_vertex_half_float 754848b8605Smrg#define GL_OES_vertex_half_float 1 755848b8605Smrg#endif /* GL_OES_vertex_half_float */ 756848b8605Smrg 757848b8605Smrg#ifndef GL_OES_vertex_type_10_10_10_2 758848b8605Smrg#define GL_OES_vertex_type_10_10_10_2 1 759848b8605Smrg#define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 760848b8605Smrg#define GL_INT_10_10_10_2_OES 0x8DF7 761848b8605Smrg#endif /* GL_OES_vertex_type_10_10_10_2 */ 762848b8605Smrg 763b8e80941Smrg#ifndef GL_OES_viewport_array 764b8e80941Smrg#define GL_OES_viewport_array 1 765b8e80941Smrg#define GL_MAX_VIEWPORTS_OES 0x825B 766b8e80941Smrg#define GL_VIEWPORT_SUBPIXEL_BITS_OES 0x825C 767b8e80941Smrg#define GL_VIEWPORT_BOUNDS_RANGE_OES 0x825D 768b8e80941Smrg#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES 0x825F 769b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVOESPROC) (GLuint first, GLsizei count, const GLfloat *v); 770b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFOESPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 771b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVOESPROC) (GLuint index, const GLfloat *v); 772b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSCISSORARRAYVOESPROC) (GLuint first, GLsizei count, const GLint *v); 773b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDOESPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 774b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVOESPROC) (GLuint index, const GLint *v); 775b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVOESPROC) (GLuint first, GLsizei count, const GLfloat *v); 776b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFOESPROC) (GLuint index, GLfloat n, GLfloat f); 777b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETFLOATI_VOESPROC) (GLenum target, GLuint index, GLfloat *data); 778b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 779b8e80941SmrgGL_APICALL void GL_APIENTRY glViewportArrayvOES (GLuint first, GLsizei count, const GLfloat *v); 780b8e80941SmrgGL_APICALL void GL_APIENTRY glViewportIndexedfOES (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 781b8e80941SmrgGL_APICALL void GL_APIENTRY glViewportIndexedfvOES (GLuint index, const GLfloat *v); 782b8e80941SmrgGL_APICALL void GL_APIENTRY glScissorArrayvOES (GLuint first, GLsizei count, const GLint *v); 783b8e80941SmrgGL_APICALL void GL_APIENTRY glScissorIndexedOES (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 784b8e80941SmrgGL_APICALL void GL_APIENTRY glScissorIndexedvOES (GLuint index, const GLint *v); 785b8e80941SmrgGL_APICALL void GL_APIENTRY glDepthRangeArrayfvOES (GLuint first, GLsizei count, const GLfloat *v); 786b8e80941SmrgGL_APICALL void GL_APIENTRY glDepthRangeIndexedfOES (GLuint index, GLfloat n, GLfloat f); 787b8e80941SmrgGL_APICALL void GL_APIENTRY glGetFloati_vOES (GLenum target, GLuint index, GLfloat *data); 788b8e80941Smrg#endif 789b8e80941Smrg#endif /* GL_OES_viewport_array */ 790b8e80941Smrg 791848b8605Smrg#ifndef GL_AMD_compressed_3DC_texture 792848b8605Smrg#define GL_AMD_compressed_3DC_texture 1 793848b8605Smrg#define GL_3DC_X_AMD 0x87F9 794848b8605Smrg#define GL_3DC_XY_AMD 0x87FA 795848b8605Smrg#endif /* GL_AMD_compressed_3DC_texture */ 796848b8605Smrg 797848b8605Smrg#ifndef GL_AMD_compressed_ATC_texture 798848b8605Smrg#define GL_AMD_compressed_ATC_texture 1 799848b8605Smrg#define GL_ATC_RGB_AMD 0x8C92 800848b8605Smrg#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 801848b8605Smrg#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE 802848b8605Smrg#endif /* GL_AMD_compressed_ATC_texture */ 803848b8605Smrg 804b8e80941Smrg#ifndef GL_AMD_framebuffer_multisample_advanced 805b8e80941Smrg#define GL_AMD_framebuffer_multisample_advanced 1 806b8e80941Smrg#define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2 807b8e80941Smrg#define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3 808b8e80941Smrg#define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4 809b8e80941Smrg#define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5 810b8e80941Smrg#define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6 811b8e80941Smrg#define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7 812b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); 813b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); 814b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 815b8e80941SmrgGL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); 816b8e80941SmrgGL_APICALL void GL_APIENTRY glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height); 817b8e80941Smrg#endif 818b8e80941Smrg#endif /* GL_AMD_framebuffer_multisample_advanced */ 819b8e80941Smrg 820848b8605Smrg#ifndef GL_AMD_performance_monitor 821848b8605Smrg#define GL_AMD_performance_monitor 1 822848b8605Smrg#define GL_COUNTER_TYPE_AMD 0x8BC0 823848b8605Smrg#define GL_COUNTER_RANGE_AMD 0x8BC1 824848b8605Smrg#define GL_UNSIGNED_INT64_AMD 0x8BC2 825848b8605Smrg#define GL_PERCENTAGE_AMD 0x8BC3 826848b8605Smrg#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 827848b8605Smrg#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 828848b8605Smrg#define GL_PERFMON_RESULT_AMD 0x8BC6 829848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 830848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 831848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 832848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 833848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); 834848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 835848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 836848b8605Smrgtypedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); 837848b8605Smrgtypedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); 838848b8605Smrgtypedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); 839848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 840848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 841848b8605SmrgGL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 842848b8605SmrgGL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 843848b8605SmrgGL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 844848b8605SmrgGL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 845848b8605SmrgGL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data); 846848b8605SmrgGL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); 847848b8605SmrgGL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); 848848b8605SmrgGL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); 849848b8605SmrgGL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor); 850848b8605SmrgGL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor); 851848b8605SmrgGL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 852848b8605Smrg#endif 853848b8605Smrg#endif /* GL_AMD_performance_monitor */ 854848b8605Smrg 855848b8605Smrg#ifndef GL_AMD_program_binary_Z400 856848b8605Smrg#define GL_AMD_program_binary_Z400 1 857848b8605Smrg#define GL_Z400_BINARY_AMD 0x8740 858848b8605Smrg#endif /* GL_AMD_program_binary_Z400 */ 859848b8605Smrg 860b8e80941Smrg#ifndef GL_ANDROID_extension_pack_es31a 861b8e80941Smrg#define GL_ANDROID_extension_pack_es31a 1 862b8e80941Smrg#endif /* GL_ANDROID_extension_pack_es31a */ 863b8e80941Smrg 864848b8605Smrg#ifndef GL_ANGLE_depth_texture 865848b8605Smrg#define GL_ANGLE_depth_texture 1 866848b8605Smrg#endif /* GL_ANGLE_depth_texture */ 867848b8605Smrg 868848b8605Smrg#ifndef GL_ANGLE_framebuffer_blit 869848b8605Smrg#define GL_ANGLE_framebuffer_blit 1 870848b8605Smrg#define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 871848b8605Smrg#define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 872848b8605Smrg#define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 873848b8605Smrg#define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA 874848b8605Smrgtypedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 875848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 876848b8605SmrgGL_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); 877848b8605Smrg#endif 878848b8605Smrg#endif /* GL_ANGLE_framebuffer_blit */ 879848b8605Smrg 880848b8605Smrg#ifndef GL_ANGLE_framebuffer_multisample 881848b8605Smrg#define GL_ANGLE_framebuffer_multisample 1 882848b8605Smrg#define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB 883848b8605Smrg#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 884848b8605Smrg#define GL_MAX_SAMPLES_ANGLE 0x8D57 885848b8605Smrgtypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 886848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 887848b8605SmrgGL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 888848b8605Smrg#endif 889848b8605Smrg#endif /* GL_ANGLE_framebuffer_multisample */ 890848b8605Smrg 891848b8605Smrg#ifndef GL_ANGLE_instanced_arrays 892848b8605Smrg#define GL_ANGLE_instanced_arrays 1 893848b8605Smrg#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE 894848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 895848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 896848b8605Smrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor); 897848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 898848b8605SmrgGL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 899848b8605SmrgGL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 900848b8605SmrgGL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor); 901848b8605Smrg#endif 902848b8605Smrg#endif /* GL_ANGLE_instanced_arrays */ 903848b8605Smrg 904848b8605Smrg#ifndef GL_ANGLE_pack_reverse_row_order 905848b8605Smrg#define GL_ANGLE_pack_reverse_row_order 1 906848b8605Smrg#define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 907848b8605Smrg#endif /* GL_ANGLE_pack_reverse_row_order */ 908848b8605Smrg 909848b8605Smrg#ifndef GL_ANGLE_program_binary 910848b8605Smrg#define GL_ANGLE_program_binary 1 911848b8605Smrg#define GL_PROGRAM_BINARY_ANGLE 0x93A6 912848b8605Smrg#endif /* GL_ANGLE_program_binary */ 913848b8605Smrg 914848b8605Smrg#ifndef GL_ANGLE_texture_compression_dxt3 915848b8605Smrg#define GL_ANGLE_texture_compression_dxt3 1 916848b8605Smrg#define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2 917848b8605Smrg#endif /* GL_ANGLE_texture_compression_dxt3 */ 918848b8605Smrg 919848b8605Smrg#ifndef GL_ANGLE_texture_compression_dxt5 920848b8605Smrg#define GL_ANGLE_texture_compression_dxt5 1 921848b8605Smrg#define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3 922848b8605Smrg#endif /* GL_ANGLE_texture_compression_dxt5 */ 923848b8605Smrg 924848b8605Smrg#ifndef GL_ANGLE_texture_usage 925848b8605Smrg#define GL_ANGLE_texture_usage 1 926848b8605Smrg#define GL_TEXTURE_USAGE_ANGLE 0x93A2 927848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3 928848b8605Smrg#endif /* GL_ANGLE_texture_usage */ 929848b8605Smrg 930848b8605Smrg#ifndef GL_ANGLE_translated_shader_source 931848b8605Smrg#define GL_ANGLE_translated_shader_source 1 932848b8605Smrg#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 933848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); 934848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 935848b8605SmrgGL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); 936848b8605Smrg#endif 937848b8605Smrg#endif /* GL_ANGLE_translated_shader_source */ 938848b8605Smrg 939b8e80941Smrg#ifndef GL_APPLE_clip_distance 940b8e80941Smrg#define GL_APPLE_clip_distance 1 941b8e80941Smrg#define GL_MAX_CLIP_DISTANCES_APPLE 0x0D32 942b8e80941Smrg#define GL_CLIP_DISTANCE0_APPLE 0x3000 943b8e80941Smrg#define GL_CLIP_DISTANCE1_APPLE 0x3001 944b8e80941Smrg#define GL_CLIP_DISTANCE2_APPLE 0x3002 945b8e80941Smrg#define GL_CLIP_DISTANCE3_APPLE 0x3003 946b8e80941Smrg#define GL_CLIP_DISTANCE4_APPLE 0x3004 947b8e80941Smrg#define GL_CLIP_DISTANCE5_APPLE 0x3005 948b8e80941Smrg#define GL_CLIP_DISTANCE6_APPLE 0x3006 949b8e80941Smrg#define GL_CLIP_DISTANCE7_APPLE 0x3007 950b8e80941Smrg#endif /* GL_APPLE_clip_distance */ 951b8e80941Smrg 952b8e80941Smrg#ifndef GL_APPLE_color_buffer_packed_float 953b8e80941Smrg#define GL_APPLE_color_buffer_packed_float 1 954b8e80941Smrg#endif /* GL_APPLE_color_buffer_packed_float */ 955b8e80941Smrg 956848b8605Smrg#ifndef GL_APPLE_copy_texture_levels 957848b8605Smrg#define GL_APPLE_copy_texture_levels 1 958848b8605Smrgtypedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); 959848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 960848b8605SmrgGL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); 961848b8605Smrg#endif 962848b8605Smrg#endif /* GL_APPLE_copy_texture_levels */ 963848b8605Smrg 964848b8605Smrg#ifndef GL_APPLE_framebuffer_multisample 965848b8605Smrg#define GL_APPLE_framebuffer_multisample 1 966848b8605Smrg#define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB 967848b8605Smrg#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 968848b8605Smrg#define GL_MAX_SAMPLES_APPLE 0x8D57 969848b8605Smrg#define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 970848b8605Smrg#define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 971848b8605Smrg#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 972848b8605Smrg#define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA 973848b8605Smrgtypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 974848b8605Smrgtypedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); 975848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 976848b8605SmrgGL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 977848b8605SmrgGL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); 978848b8605Smrg#endif 979848b8605Smrg#endif /* GL_APPLE_framebuffer_multisample */ 980848b8605Smrg 981848b8605Smrg#ifndef GL_APPLE_rgb_422 982848b8605Smrg#define GL_APPLE_rgb_422 1 983848b8605Smrg#define GL_RGB_422_APPLE 0x8A1F 984848b8605Smrg#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA 985848b8605Smrg#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB 986848b8605Smrg#define GL_RGB_RAW_422_APPLE 0x8A51 987848b8605Smrg#endif /* GL_APPLE_rgb_422 */ 988848b8605Smrg 989848b8605Smrg#ifndef GL_APPLE_sync 990848b8605Smrg#define GL_APPLE_sync 1 991848b8605Smrg#define GL_SYNC_OBJECT_APPLE 0x8A53 992848b8605Smrg#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 993848b8605Smrg#define GL_OBJECT_TYPE_APPLE 0x9112 994848b8605Smrg#define GL_SYNC_CONDITION_APPLE 0x9113 995848b8605Smrg#define GL_SYNC_STATUS_APPLE 0x9114 996848b8605Smrg#define GL_SYNC_FLAGS_APPLE 0x9115 997848b8605Smrg#define GL_SYNC_FENCE_APPLE 0x9116 998848b8605Smrg#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 999848b8605Smrg#define GL_UNSIGNALED_APPLE 0x9118 1000848b8605Smrg#define GL_SIGNALED_APPLE 0x9119 1001848b8605Smrg#define GL_ALREADY_SIGNALED_APPLE 0x911A 1002848b8605Smrg#define GL_TIMEOUT_EXPIRED_APPLE 0x911B 1003848b8605Smrg#define GL_CONDITION_SATISFIED_APPLE 0x911C 1004848b8605Smrg#define GL_WAIT_FAILED_APPLE 0x911D 1005848b8605Smrg#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 1006848b8605Smrg#define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull 1007848b8605Smrgtypedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags); 1008848b8605Smrgtypedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); 1009848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); 1010848b8605Smrgtypedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); 1011848b8605Smrgtypedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); 1012848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params); 1013848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 1014848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1015848b8605SmrgGL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags); 1016848b8605SmrgGL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); 1017848b8605SmrgGL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); 1018848b8605SmrgGL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); 1019848b8605SmrgGL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); 1020848b8605SmrgGL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params); 1021848b8605SmrgGL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 1022848b8605Smrg#endif 1023848b8605Smrg#endif /* GL_APPLE_sync */ 1024848b8605Smrg 1025848b8605Smrg#ifndef GL_APPLE_texture_format_BGRA8888 1026848b8605Smrg#define GL_APPLE_texture_format_BGRA8888 1 1027848b8605Smrg#define GL_BGRA_EXT 0x80E1 1028848b8605Smrg#define GL_BGRA8_EXT 0x93A1 1029848b8605Smrg#endif /* GL_APPLE_texture_format_BGRA8888 */ 1030848b8605Smrg 1031848b8605Smrg#ifndef GL_APPLE_texture_max_level 1032848b8605Smrg#define GL_APPLE_texture_max_level 1 1033848b8605Smrg#define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D 1034848b8605Smrg#endif /* GL_APPLE_texture_max_level */ 1035848b8605Smrg 1036b8e80941Smrg#ifndef GL_APPLE_texture_packed_float 1037b8e80941Smrg#define GL_APPLE_texture_packed_float 1 1038b8e80941Smrg#define GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE 0x8C3B 1039b8e80941Smrg#define GL_UNSIGNED_INT_5_9_9_9_REV_APPLE 0x8C3E 1040b8e80941Smrg#define GL_R11F_G11F_B10F_APPLE 0x8C3A 1041b8e80941Smrg#define GL_RGB9_E5_APPLE 0x8C3D 1042b8e80941Smrg#endif /* GL_APPLE_texture_packed_float */ 1043b8e80941Smrg 1044848b8605Smrg#ifndef GL_ARM_mali_program_binary 1045848b8605Smrg#define GL_ARM_mali_program_binary 1 1046848b8605Smrg#define GL_MALI_PROGRAM_BINARY_ARM 0x8F61 1047848b8605Smrg#endif /* GL_ARM_mali_program_binary */ 1048848b8605Smrg 1049848b8605Smrg#ifndef GL_ARM_mali_shader_binary 1050848b8605Smrg#define GL_ARM_mali_shader_binary 1 1051848b8605Smrg#define GL_MALI_SHADER_BINARY_ARM 0x8F60 1052848b8605Smrg#endif /* GL_ARM_mali_shader_binary */ 1053848b8605Smrg 1054848b8605Smrg#ifndef GL_ARM_rgba8 1055848b8605Smrg#define GL_ARM_rgba8 1 1056848b8605Smrg#endif /* GL_ARM_rgba8 */ 1057848b8605Smrg 1058848b8605Smrg#ifndef GL_ARM_shader_framebuffer_fetch 1059848b8605Smrg#define GL_ARM_shader_framebuffer_fetch 1 1060848b8605Smrg#define GL_FETCH_PER_SAMPLE_ARM 0x8F65 1061848b8605Smrg#define GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM 0x8F66 1062848b8605Smrg#endif /* GL_ARM_shader_framebuffer_fetch */ 1063848b8605Smrg 1064848b8605Smrg#ifndef GL_ARM_shader_framebuffer_fetch_depth_stencil 1065848b8605Smrg#define GL_ARM_shader_framebuffer_fetch_depth_stencil 1 1066848b8605Smrg#endif /* GL_ARM_shader_framebuffer_fetch_depth_stencil */ 1067848b8605Smrg 1068b8e80941Smrg#ifndef GL_DMP_program_binary 1069b8e80941Smrg#define GL_DMP_program_binary 1 1070b8e80941Smrg#define GL_SMAPHS30_PROGRAM_BINARY_DMP 0x9251 1071b8e80941Smrg#define GL_SMAPHS_PROGRAM_BINARY_DMP 0x9252 1072b8e80941Smrg#define GL_DMP_PROGRAM_BINARY_DMP 0x9253 1073b8e80941Smrg#endif /* GL_DMP_program_binary */ 1074b8e80941Smrg 1075848b8605Smrg#ifndef GL_DMP_shader_binary 1076848b8605Smrg#define GL_DMP_shader_binary 1 1077848b8605Smrg#define GL_SHADER_BINARY_DMP 0x9250 1078848b8605Smrg#endif /* GL_DMP_shader_binary */ 1079848b8605Smrg 1080b8e80941Smrg#ifndef GL_EXT_EGL_image_array 1081b8e80941Smrg#define GL_EXT_EGL_image_array 1 1082b8e80941Smrg#endif /* GL_EXT_EGL_image_array */ 1083b8e80941Smrg 1084b8e80941Smrg#ifndef GL_EXT_EGL_image_storage 1085b8e80941Smrg#define GL_EXT_EGL_image_storage 1 1086b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list); 1087b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list); 1088b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1089b8e80941SmrgGL_APICALL void GL_APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list); 1090b8e80941SmrgGL_APICALL void GL_APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list); 1091b8e80941Smrg#endif 1092b8e80941Smrg#endif /* GL_EXT_EGL_image_storage */ 1093b8e80941Smrg 1094b8e80941Smrg#ifndef GL_EXT_YUV_target 1095b8e80941Smrg#define GL_EXT_YUV_target 1 1096b8e80941Smrg#define GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT 0x8BE7 1097b8e80941Smrg#endif /* GL_EXT_YUV_target */ 1098b8e80941Smrg 1099b8e80941Smrg#ifndef GL_EXT_base_instance 1100b8e80941Smrg#define GL_EXT_base_instance 1 1101b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); 1102b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); 1103b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); 1104b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1105b8e80941SmrgGL_APICALL void GL_APIENTRY glDrawArraysInstancedBaseInstanceEXT (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); 1106b8e80941SmrgGL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); 1107b8e80941SmrgGL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); 1108b8e80941Smrg#endif 1109b8e80941Smrg#endif /* GL_EXT_base_instance */ 1110b8e80941Smrg 1111b8e80941Smrg#ifndef GL_EXT_blend_func_extended 1112b8e80941Smrg#define GL_EXT_blend_func_extended 1 1113b8e80941Smrg#define GL_SRC1_COLOR_EXT 0x88F9 1114b8e80941Smrg#define GL_SRC1_ALPHA_EXT 0x8589 1115b8e80941Smrg#define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA 1116b8e80941Smrg#define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB 1117b8e80941Smrg#define GL_SRC_ALPHA_SATURATE_EXT 0x0308 1118b8e80941Smrg#define GL_LOCATION_INDEX_EXT 0x930F 1119b8e80941Smrg#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC 1120b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); 1121b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name); 1122b8e80941Smrgtypedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC) (GLuint program, GLenum programInterface, const GLchar *name); 1123b8e80941Smrgtypedef GLint (GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXTPROC) (GLuint program, const GLchar *name); 1124b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1125b8e80941SmrgGL_APICALL void GL_APIENTRY glBindFragDataLocationIndexedEXT (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); 1126b8e80941SmrgGL_APICALL void GL_APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name); 1127b8e80941SmrgGL_APICALL GLint GL_APIENTRY glGetProgramResourceLocationIndexEXT (GLuint program, GLenum programInterface, const GLchar *name); 1128b8e80941SmrgGL_APICALL GLint GL_APIENTRY glGetFragDataIndexEXT (GLuint program, const GLchar *name); 1129b8e80941Smrg#endif 1130b8e80941Smrg#endif /* GL_EXT_blend_func_extended */ 1131b8e80941Smrg 1132848b8605Smrg#ifndef GL_EXT_blend_minmax 1133848b8605Smrg#define GL_EXT_blend_minmax 1 1134848b8605Smrg#define GL_MIN_EXT 0x8007 1135848b8605Smrg#define GL_MAX_EXT 0x8008 1136848b8605Smrg#endif /* GL_EXT_blend_minmax */ 1137848b8605Smrg 1138b8e80941Smrg#ifndef GL_EXT_buffer_storage 1139b8e80941Smrg#define GL_EXT_buffer_storage 1 1140b8e80941Smrg#define GL_MAP_READ_BIT 0x0001 1141b8e80941Smrg#define GL_MAP_WRITE_BIT 0x0002 1142b8e80941Smrg#define GL_MAP_PERSISTENT_BIT_EXT 0x0040 1143b8e80941Smrg#define GL_MAP_COHERENT_BIT_EXT 0x0080 1144b8e80941Smrg#define GL_DYNAMIC_STORAGE_BIT_EXT 0x0100 1145b8e80941Smrg#define GL_CLIENT_STORAGE_BIT_EXT 0x0200 1146b8e80941Smrg#define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT 0x00004000 1147b8e80941Smrg#define GL_BUFFER_IMMUTABLE_STORAGE_EXT 0x821F 1148b8e80941Smrg#define GL_BUFFER_STORAGE_FLAGS_EXT 0x8220 1149b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); 1150b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1151b8e80941SmrgGL_APICALL void GL_APIENTRY glBufferStorageEXT (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); 1152b8e80941Smrg#endif 1153b8e80941Smrg#endif /* GL_EXT_buffer_storage */ 1154b8e80941Smrg 1155b8e80941Smrg#ifndef GL_EXT_clear_texture 1156b8e80941Smrg#define GL_EXT_clear_texture 1 1157b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLCLEARTEXIMAGEEXTPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); 1158b8e80941Smrgtypedef 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); 1159b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1160b8e80941SmrgGL_APICALL void GL_APIENTRY glClearTexImageEXT (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); 1161b8e80941SmrgGL_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); 1162b8e80941Smrg#endif 1163b8e80941Smrg#endif /* GL_EXT_clear_texture */ 1164b8e80941Smrg 1165b8e80941Smrg#ifndef GL_EXT_clip_control 1166b8e80941Smrg#define GL_EXT_clip_control 1 1167b8e80941Smrg#define GL_LOWER_LEFT_EXT 0x8CA1 1168b8e80941Smrg#define GL_UPPER_LEFT_EXT 0x8CA2 1169b8e80941Smrg#define GL_NEGATIVE_ONE_TO_ONE_EXT 0x935E 1170b8e80941Smrg#define GL_ZERO_TO_ONE_EXT 0x935F 1171b8e80941Smrg#define GL_CLIP_ORIGIN_EXT 0x935C 1172b8e80941Smrg#define GL_CLIP_DEPTH_MODE_EXT 0x935D 1173b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLCLIPCONTROLEXTPROC) (GLenum origin, GLenum depth); 1174b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1175b8e80941SmrgGL_APICALL void GL_APIENTRY glClipControlEXT (GLenum origin, GLenum depth); 1176b8e80941Smrg#endif 1177b8e80941Smrg#endif /* GL_EXT_clip_control */ 1178b8e80941Smrg 1179b8e80941Smrg#ifndef GL_EXT_clip_cull_distance 1180b8e80941Smrg#define GL_EXT_clip_cull_distance 1 1181b8e80941Smrg#define GL_MAX_CLIP_DISTANCES_EXT 0x0D32 1182b8e80941Smrg#define GL_MAX_CULL_DISTANCES_EXT 0x82F9 1183b8e80941Smrg#define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT 0x82FA 1184b8e80941Smrg#define GL_CLIP_DISTANCE0_EXT 0x3000 1185b8e80941Smrg#define GL_CLIP_DISTANCE1_EXT 0x3001 1186b8e80941Smrg#define GL_CLIP_DISTANCE2_EXT 0x3002 1187b8e80941Smrg#define GL_CLIP_DISTANCE3_EXT 0x3003 1188b8e80941Smrg#define GL_CLIP_DISTANCE4_EXT 0x3004 1189b8e80941Smrg#define GL_CLIP_DISTANCE5_EXT 0x3005 1190b8e80941Smrg#define GL_CLIP_DISTANCE6_EXT 0x3006 1191b8e80941Smrg#define GL_CLIP_DISTANCE7_EXT 0x3007 1192b8e80941Smrg#endif /* GL_EXT_clip_cull_distance */ 1193b8e80941Smrg 1194b8e80941Smrg#ifndef GL_EXT_color_buffer_float 1195b8e80941Smrg#define GL_EXT_color_buffer_float 1 1196b8e80941Smrg#endif /* GL_EXT_color_buffer_float */ 1197b8e80941Smrg 1198848b8605Smrg#ifndef GL_EXT_color_buffer_half_float 1199848b8605Smrg#define GL_EXT_color_buffer_half_float 1 1200848b8605Smrg#define GL_RGBA16F_EXT 0x881A 1201848b8605Smrg#define GL_RGB16F_EXT 0x881B 1202848b8605Smrg#define GL_RG16F_EXT 0x822F 1203848b8605Smrg#define GL_R16F_EXT 0x822D 1204848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211 1205848b8605Smrg#define GL_UNSIGNED_NORMALIZED_EXT 0x8C17 1206848b8605Smrg#endif /* GL_EXT_color_buffer_half_float */ 1207848b8605Smrg 1208b8e80941Smrg#ifndef GL_EXT_conservative_depth 1209b8e80941Smrg#define GL_EXT_conservative_depth 1 1210b8e80941Smrg#endif /* GL_EXT_conservative_depth */ 1211b8e80941Smrg 1212b8e80941Smrg#ifndef GL_EXT_copy_image 1213b8e80941Smrg#define GL_EXT_copy_image 1 1214b8e80941Smrgtypedef 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); 1215b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1216b8e80941SmrgGL_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); 1217b8e80941Smrg#endif 1218b8e80941Smrg#endif /* GL_EXT_copy_image */ 1219b8e80941Smrg 1220848b8605Smrg#ifndef GL_EXT_debug_label 1221848b8605Smrg#define GL_EXT_debug_label 1 1222848b8605Smrg#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F 1223848b8605Smrg#define GL_PROGRAM_OBJECT_EXT 0x8B40 1224848b8605Smrg#define GL_SHADER_OBJECT_EXT 0x8B48 1225848b8605Smrg#define GL_BUFFER_OBJECT_EXT 0x9151 1226848b8605Smrg#define GL_QUERY_OBJECT_EXT 0x9153 1227848b8605Smrg#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 1228848b8605Smrg#define GL_TRANSFORM_FEEDBACK 0x8E22 1229848b8605Smrgtypedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); 1230848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); 1231848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1232848b8605SmrgGL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label); 1233848b8605SmrgGL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); 1234848b8605Smrg#endif 1235848b8605Smrg#endif /* GL_EXT_debug_label */ 1236848b8605Smrg 1237848b8605Smrg#ifndef GL_EXT_debug_marker 1238848b8605Smrg#define GL_EXT_debug_marker 1 1239848b8605Smrgtypedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); 1240848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); 1241848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); 1242848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1243848b8605SmrgGL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); 1244848b8605SmrgGL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); 1245848b8605SmrgGL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void); 1246848b8605Smrg#endif 1247848b8605Smrg#endif /* GL_EXT_debug_marker */ 1248848b8605Smrg 1249848b8605Smrg#ifndef GL_EXT_discard_framebuffer 1250848b8605Smrg#define GL_EXT_discard_framebuffer 1 1251848b8605Smrg#define GL_COLOR_EXT 0x1800 1252848b8605Smrg#define GL_DEPTH_EXT 0x1801 1253848b8605Smrg#define GL_STENCIL_EXT 0x1802 1254848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); 1255848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1256848b8605SmrgGL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments); 1257848b8605Smrg#endif 1258848b8605Smrg#endif /* GL_EXT_discard_framebuffer */ 1259848b8605Smrg 1260848b8605Smrg#ifndef GL_EXT_disjoint_timer_query 1261848b8605Smrg#define GL_EXT_disjoint_timer_query 1 1262848b8605Smrg#define GL_QUERY_COUNTER_BITS_EXT 0x8864 1263848b8605Smrg#define GL_CURRENT_QUERY_EXT 0x8865 1264848b8605Smrg#define GL_QUERY_RESULT_EXT 0x8866 1265848b8605Smrg#define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 1266848b8605Smrg#define GL_TIME_ELAPSED_EXT 0x88BF 1267848b8605Smrg#define GL_TIMESTAMP_EXT 0x8E28 1268848b8605Smrg#define GL_GPU_DISJOINT_EXT 0x8FBB 1269848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids); 1270848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids); 1271848b8605Smrgtypedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id); 1272848b8605Smrgtypedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id); 1273848b8605Smrgtypedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target); 1274848b8605Smrgtypedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target); 1275848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params); 1276848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params); 1277848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params); 1278848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params); 1279848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params); 1280848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1281848b8605SmrgGL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids); 1282848b8605SmrgGL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids); 1283848b8605SmrgGL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id); 1284848b8605SmrgGL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id); 1285848b8605SmrgGL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target); 1286848b8605SmrgGL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target); 1287848b8605SmrgGL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params); 1288848b8605SmrgGL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params); 1289848b8605SmrgGL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params); 1290848b8605SmrgGL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params); 1291848b8605SmrgGL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params); 1292848b8605Smrg#endif 1293848b8605Smrg#endif /* GL_EXT_disjoint_timer_query */ 1294848b8605Smrg 1295848b8605Smrg#ifndef GL_EXT_draw_buffers 1296848b8605Smrg#define GL_EXT_draw_buffers 1 1297848b8605Smrg#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF 1298848b8605Smrg#define GL_MAX_DRAW_BUFFERS_EXT 0x8824 1299848b8605Smrg#define GL_DRAW_BUFFER0_EXT 0x8825 1300848b8605Smrg#define GL_DRAW_BUFFER1_EXT 0x8826 1301848b8605Smrg#define GL_DRAW_BUFFER2_EXT 0x8827 1302848b8605Smrg#define GL_DRAW_BUFFER3_EXT 0x8828 1303848b8605Smrg#define GL_DRAW_BUFFER4_EXT 0x8829 1304848b8605Smrg#define GL_DRAW_BUFFER5_EXT 0x882A 1305848b8605Smrg#define GL_DRAW_BUFFER6_EXT 0x882B 1306848b8605Smrg#define GL_DRAW_BUFFER7_EXT 0x882C 1307848b8605Smrg#define GL_DRAW_BUFFER8_EXT 0x882D 1308848b8605Smrg#define GL_DRAW_BUFFER9_EXT 0x882E 1309848b8605Smrg#define GL_DRAW_BUFFER10_EXT 0x882F 1310848b8605Smrg#define GL_DRAW_BUFFER11_EXT 0x8830 1311848b8605Smrg#define GL_DRAW_BUFFER12_EXT 0x8831 1312848b8605Smrg#define GL_DRAW_BUFFER13_EXT 0x8832 1313848b8605Smrg#define GL_DRAW_BUFFER14_EXT 0x8833 1314848b8605Smrg#define GL_DRAW_BUFFER15_EXT 0x8834 1315848b8605Smrg#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 1316848b8605Smrg#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 1317848b8605Smrg#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 1318848b8605Smrg#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 1319848b8605Smrg#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 1320848b8605Smrg#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 1321848b8605Smrg#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 1322848b8605Smrg#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 1323848b8605Smrg#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 1324848b8605Smrg#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 1325848b8605Smrg#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA 1326848b8605Smrg#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB 1327848b8605Smrg#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC 1328848b8605Smrg#define GL_COLOR_ATTACHMENT13_EXT 0x8CED 1329848b8605Smrg#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE 1330848b8605Smrg#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF 1331848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs); 1332848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1333848b8605SmrgGL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs); 1334848b8605Smrg#endif 1335848b8605Smrg#endif /* GL_EXT_draw_buffers */ 1336848b8605Smrg 1337b8e80941Smrg#ifndef GL_EXT_draw_buffers_indexed 1338b8e80941Smrg#define GL_EXT_draw_buffers_indexed 1 1339b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLENABLEIEXTPROC) (GLenum target, GLuint index); 1340b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDISABLEIEXTPROC) (GLenum target, GLuint index); 1341b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIEXTPROC) (GLuint buf, GLenum mode); 1342b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIEXTPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 1343b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLBLENDFUNCIEXTPROC) (GLuint buf, GLenum src, GLenum dst); 1344b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIEXTPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 1345b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLCOLORMASKIEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 1346b8e80941Smrgtypedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIEXTPROC) (GLenum target, GLuint index); 1347b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1348b8e80941SmrgGL_APICALL void GL_APIENTRY glEnableiEXT (GLenum target, GLuint index); 1349b8e80941SmrgGL_APICALL void GL_APIENTRY glDisableiEXT (GLenum target, GLuint index); 1350b8e80941SmrgGL_APICALL void GL_APIENTRY glBlendEquationiEXT (GLuint buf, GLenum mode); 1351b8e80941SmrgGL_APICALL void GL_APIENTRY glBlendEquationSeparateiEXT (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 1352b8e80941SmrgGL_APICALL void GL_APIENTRY glBlendFunciEXT (GLuint buf, GLenum src, GLenum dst); 1353b8e80941SmrgGL_APICALL void GL_APIENTRY glBlendFuncSeparateiEXT (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 1354b8e80941SmrgGL_APICALL void GL_APIENTRY glColorMaskiEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 1355b8e80941SmrgGL_APICALL GLboolean GL_APIENTRY glIsEnablediEXT (GLenum target, GLuint index); 1356b8e80941Smrg#endif 1357b8e80941Smrg#endif /* GL_EXT_draw_buffers_indexed */ 1358b8e80941Smrg 1359b8e80941Smrg#ifndef GL_EXT_draw_elements_base_vertex 1360b8e80941Smrg#define GL_EXT_draw_elements_base_vertex 1 1361b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1362b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1363b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 1364b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1365b8e80941SmrgGL_APICALL void GL_APIENTRY glDrawElementsBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1366b8e80941SmrgGL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1367b8e80941SmrgGL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 1368b8e80941Smrg#endif 1369b8e80941Smrg#endif /* GL_EXT_draw_elements_base_vertex */ 1370b8e80941Smrg 1371848b8605Smrg#ifndef GL_EXT_draw_instanced 1372848b8605Smrg#define GL_EXT_draw_instanced 1 1373848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); 1374848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 1375848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1376848b8605SmrgGL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); 1377848b8605SmrgGL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 1378848b8605Smrg#endif 1379848b8605Smrg#endif /* GL_EXT_draw_instanced */ 1380848b8605Smrg 1381b8e80941Smrg#ifndef GL_EXT_draw_transform_feedback 1382b8e80941Smrg#define GL_EXT_draw_transform_feedback 1 1383b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKEXTPROC) (GLenum mode, GLuint id); 1384b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC) (GLenum mode, GLuint id, GLsizei instancecount); 1385b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1386b8e80941SmrgGL_APICALL void GL_APIENTRY glDrawTransformFeedbackEXT (GLenum mode, GLuint id); 1387b8e80941SmrgGL_APICALL void GL_APIENTRY glDrawTransformFeedbackInstancedEXT (GLenum mode, GLuint id, GLsizei instancecount); 1388b8e80941Smrg#endif 1389b8e80941Smrg#endif /* GL_EXT_draw_transform_feedback */ 1390b8e80941Smrg 1391b8e80941Smrg#ifndef GL_EXT_external_buffer 1392b8e80941Smrg#define GL_EXT_external_buffer 1 1393b8e80941Smrgtypedef void *GLeglClientBufferEXT; 1394b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1395b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1396b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1397b8e80941SmrgGL_APICALL void GL_APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1398b8e80941SmrgGL_APICALL void GL_APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1399b8e80941Smrg#endif 1400b8e80941Smrg#endif /* GL_EXT_external_buffer */ 1401b8e80941Smrg 1402b8e80941Smrg#ifndef GL_EXT_float_blend 1403b8e80941Smrg#define GL_EXT_float_blend 1 1404b8e80941Smrg#endif /* GL_EXT_float_blend */ 1405b8e80941Smrg 1406b8e80941Smrg#ifndef GL_EXT_geometry_point_size 1407b8e80941Smrg#define GL_EXT_geometry_point_size 1 1408b8e80941Smrg#endif /* GL_EXT_geometry_point_size */ 1409b8e80941Smrg 1410b8e80941Smrg#ifndef GL_EXT_geometry_shader 1411b8e80941Smrg#define GL_EXT_geometry_shader 1 1412b8e80941Smrg#define GL_GEOMETRY_SHADER_EXT 0x8DD9 1413b8e80941Smrg#define GL_GEOMETRY_SHADER_BIT_EXT 0x00000004 1414b8e80941Smrg#define GL_GEOMETRY_LINKED_VERTICES_OUT_EXT 0x8916 1415b8e80941Smrg#define GL_GEOMETRY_LINKED_INPUT_TYPE_EXT 0x8917 1416b8e80941Smrg#define GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT 0x8918 1417b8e80941Smrg#define GL_GEOMETRY_SHADER_INVOCATIONS_EXT 0x887F 1418b8e80941Smrg#define GL_LAYER_PROVOKING_VERTEX_EXT 0x825E 1419b8e80941Smrg#define GL_LINES_ADJACENCY_EXT 0x000A 1420b8e80941Smrg#define GL_LINE_STRIP_ADJACENCY_EXT 0x000B 1421b8e80941Smrg#define GL_TRIANGLES_ADJACENCY_EXT 0x000C 1422b8e80941Smrg#define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D 1423b8e80941Smrg#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF 1424b8e80941Smrg#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT 0x8A2C 1425b8e80941Smrg#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8A32 1426b8e80941Smrg#define GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT 0x9123 1427b8e80941Smrg#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT 0x9124 1428b8e80941Smrg#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0 1429b8e80941Smrg#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1 1430b8e80941Smrg#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT 0x8E5A 1431b8e80941Smrg#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29 1432b8e80941Smrg#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT 0x92CF 1433b8e80941Smrg#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT 0x92D5 1434b8e80941Smrg#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT 0x90CD 1435b8e80941Smrg#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT 0x90D7 1436b8e80941Smrg#define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D 1437b8e80941Smrg#define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E 1438b8e80941Smrg#define GL_UNDEFINED_VERTEX_EXT 0x8260 1439b8e80941Smrg#define GL_PRIMITIVES_GENERATED_EXT 0x8C87 1440b8e80941Smrg#define GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT 0x9312 1441b8e80941Smrg#define GL_MAX_FRAMEBUFFER_LAYERS_EXT 0x9317 1442b8e80941Smrg#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8 1443b8e80941Smrg#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7 1444b8e80941Smrg#define GL_REFERENCED_BY_GEOMETRY_SHADER_EXT 0x9309 1445b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); 1446b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1447b8e80941SmrgGL_APICALL void GL_APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level); 1448b8e80941Smrg#endif 1449b8e80941Smrg#endif /* GL_EXT_geometry_shader */ 1450b8e80941Smrg 1451b8e80941Smrg#ifndef GL_EXT_gpu_shader5 1452b8e80941Smrg#define GL_EXT_gpu_shader5 1 1453b8e80941Smrg#endif /* GL_EXT_gpu_shader5 */ 1454b8e80941Smrg 1455848b8605Smrg#ifndef GL_EXT_instanced_arrays 1456848b8605Smrg#define GL_EXT_instanced_arrays 1 1457848b8605Smrg#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE 1458848b8605Smrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor); 1459848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1460848b8605SmrgGL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor); 1461848b8605Smrg#endif 1462848b8605Smrg#endif /* GL_EXT_instanced_arrays */ 1463848b8605Smrg 1464848b8605Smrg#ifndef GL_EXT_map_buffer_range 1465848b8605Smrg#define GL_EXT_map_buffer_range 1 1466848b8605Smrg#define GL_MAP_READ_BIT_EXT 0x0001 1467848b8605Smrg#define GL_MAP_WRITE_BIT_EXT 0x0002 1468848b8605Smrg#define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 1469848b8605Smrg#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 1470848b8605Smrg#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 1471848b8605Smrg#define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 1472848b8605Smrgtypedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 1473848b8605Smrgtypedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length); 1474848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1475848b8605SmrgGL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 1476848b8605SmrgGL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); 1477848b8605Smrg#endif 1478848b8605Smrg#endif /* GL_EXT_map_buffer_range */ 1479848b8605Smrg 1480b8e80941Smrg#ifndef GL_EXT_memory_object 1481b8e80941Smrg#define GL_EXT_memory_object 1 1482b8e80941Smrg#define GL_TEXTURE_TILING_EXT 0x9580 1483b8e80941Smrg#define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581 1484b8e80941Smrg#define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B 1485b8e80941Smrg#define GL_NUM_TILING_TYPES_EXT 0x9582 1486b8e80941Smrg#define GL_TILING_TYPES_EXT 0x9583 1487b8e80941Smrg#define GL_OPTIMAL_TILING_EXT 0x9584 1488b8e80941Smrg#define GL_LINEAR_TILING_EXT 0x9585 1489b8e80941Smrg#define GL_NUM_DEVICE_UUIDS_EXT 0x9596 1490b8e80941Smrg#define GL_DEVICE_UUID_EXT 0x9597 1491b8e80941Smrg#define GL_DRIVER_UUID_EXT 0x9598 1492b8e80941Smrg#define GL_UUID_SIZE_EXT 16 1493b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) (GLenum pname, GLubyte *data); 1494b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) (GLenum target, GLuint index, GLubyte *data); 1495b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) (GLsizei n, const GLuint *memoryObjects); 1496b8e80941Smrgtypedef GLboolean (GL_APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) (GLuint memoryObject); 1497b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) (GLsizei n, GLuint *memoryObjects); 1498b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, const GLint *params); 1499b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, GLint *params); 1500b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); 1501b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1502b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); 1503b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1504b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); 1505b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); 1506b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1507b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); 1508b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1509b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); 1510b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1511b8e80941SmrgGL_APICALL void GL_APIENTRY glGetUnsignedBytevEXT (GLenum pname, GLubyte *data); 1512b8e80941SmrgGL_APICALL void GL_APIENTRY glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte *data); 1513b8e80941SmrgGL_APICALL void GL_APIENTRY glDeleteMemoryObjectsEXT (GLsizei n, const GLuint *memoryObjects); 1514b8e80941SmrgGL_APICALL GLboolean GL_APIENTRY glIsMemoryObjectEXT (GLuint memoryObject); 1515b8e80941SmrgGL_APICALL void GL_APIENTRY glCreateMemoryObjectsEXT (GLsizei n, GLuint *memoryObjects); 1516b8e80941SmrgGL_APICALL void GL_APIENTRY glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint *params); 1517b8e80941SmrgGL_APICALL void GL_APIENTRY glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint *params); 1518b8e80941SmrgGL_APICALL void GL_APIENTRY glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); 1519b8e80941SmrgGL_APICALL void GL_APIENTRY glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1520b8e80941SmrgGL_APICALL void GL_APIENTRY glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); 1521b8e80941SmrgGL_APICALL void GL_APIENTRY glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1522b8e80941SmrgGL_APICALL void GL_APIENTRY glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); 1523b8e80941SmrgGL_APICALL void GL_APIENTRY glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); 1524b8e80941SmrgGL_APICALL void GL_APIENTRY glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1525b8e80941SmrgGL_APICALL void GL_APIENTRY glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); 1526b8e80941SmrgGL_APICALL void GL_APIENTRY glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1527b8e80941SmrgGL_APICALL void GL_APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); 1528b8e80941Smrg#endif 1529b8e80941Smrg#endif /* GL_EXT_memory_object */ 1530b8e80941Smrg 1531b8e80941Smrg#ifndef GL_EXT_memory_object_fd 1532b8e80941Smrg#define GL_EXT_memory_object_fd 1 1533b8e80941Smrg#define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586 1534b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, GLint fd); 1535b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1536b8e80941SmrgGL_APICALL void GL_APIENTRY glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd); 1537b8e80941Smrg#endif 1538b8e80941Smrg#endif /* GL_EXT_memory_object_fd */ 1539b8e80941Smrg 1540b8e80941Smrg#ifndef GL_EXT_memory_object_win32 1541b8e80941Smrg#define GL_EXT_memory_object_win32 1 1542b8e80941Smrg#define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587 1543b8e80941Smrg#define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588 1544b8e80941Smrg#define GL_DEVICE_LUID_EXT 0x9599 1545b8e80941Smrg#define GL_DEVICE_NODE_MASK_EXT 0x959A 1546b8e80941Smrg#define GL_LUID_SIZE_EXT 8 1547b8e80941Smrg#define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589 1548b8e80941Smrg#define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A 1549b8e80941Smrg#define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B 1550b8e80941Smrg#define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C 1551b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, void *handle); 1552b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, const void *name); 1553b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1554b8e80941SmrgGL_APICALL void GL_APIENTRY glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle); 1555b8e80941SmrgGL_APICALL void GL_APIENTRY glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name); 1556b8e80941Smrg#endif 1557b8e80941Smrg#endif /* GL_EXT_memory_object_win32 */ 1558b8e80941Smrg 1559848b8605Smrg#ifndef GL_EXT_multi_draw_arrays 1560848b8605Smrg#define GL_EXT_multi_draw_arrays 1 1561848b8605Smrgtypedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 1562848b8605Smrgtypedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); 1563848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1564848b8605SmrgGL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 1565848b8605SmrgGL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); 1566848b8605Smrg#endif 1567848b8605Smrg#endif /* GL_EXT_multi_draw_arrays */ 1568848b8605Smrg 1569b8e80941Smrg#ifndef GL_EXT_multi_draw_indirect 1570b8e80941Smrg#define GL_EXT_multi_draw_indirect 1 1571b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 1572b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 1573b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1574b8e80941SmrgGL_APICALL void GL_APIENTRY glMultiDrawArraysIndirectEXT (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 1575b8e80941SmrgGL_APICALL void GL_APIENTRY glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 1576b8e80941Smrg#endif 1577b8e80941Smrg#endif /* GL_EXT_multi_draw_indirect */ 1578b8e80941Smrg 1579b8e80941Smrg#ifndef GL_EXT_multisampled_compatibility 1580b8e80941Smrg#define GL_EXT_multisampled_compatibility 1 1581b8e80941Smrg#define GL_MULTISAMPLE_EXT 0x809D 1582b8e80941Smrg#define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F 1583b8e80941Smrg#endif /* GL_EXT_multisampled_compatibility */ 1584b8e80941Smrg 1585848b8605Smrg#ifndef GL_EXT_multisampled_render_to_texture 1586848b8605Smrg#define GL_EXT_multisampled_render_to_texture 1 1587848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C 1588848b8605Smrg#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB 1589848b8605Smrg#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 1590848b8605Smrg#define GL_MAX_SAMPLES_EXT 0x8D57 1591848b8605Smrgtypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1592848b8605Smrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 1593848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1594848b8605SmrgGL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1595848b8605SmrgGL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 1596848b8605Smrg#endif 1597848b8605Smrg#endif /* GL_EXT_multisampled_render_to_texture */ 1598848b8605Smrg 1599848b8605Smrg#ifndef GL_EXT_multiview_draw_buffers 1600848b8605Smrg#define GL_EXT_multiview_draw_buffers 1 1601848b8605Smrg#define GL_COLOR_ATTACHMENT_EXT 0x90F0 1602848b8605Smrg#define GL_MULTIVIEW_EXT 0x90F1 1603848b8605Smrg#define GL_DRAW_BUFFER_EXT 0x0C01 1604848b8605Smrg#define GL_READ_BUFFER_EXT 0x0C02 1605848b8605Smrg#define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2 1606848b8605Smrgtypedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index); 1607848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices); 1608848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data); 1609848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1610848b8605SmrgGL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index); 1611848b8605SmrgGL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices); 1612848b8605SmrgGL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data); 1613848b8605Smrg#endif 1614848b8605Smrg#endif /* GL_EXT_multiview_draw_buffers */ 1615848b8605Smrg 1616848b8605Smrg#ifndef GL_EXT_occlusion_query_boolean 1617848b8605Smrg#define GL_EXT_occlusion_query_boolean 1 1618848b8605Smrg#define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F 1619848b8605Smrg#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A 1620848b8605Smrg#endif /* GL_EXT_occlusion_query_boolean */ 1621848b8605Smrg 1622b8e80941Smrg#ifndef GL_EXT_polygon_offset_clamp 1623b8e80941Smrg#define GL_EXT_polygon_offset_clamp 1 1624b8e80941Smrg#define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B 1625b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp); 1626b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1627b8e80941SmrgGL_APICALL void GL_APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp); 1628b8e80941Smrg#endif 1629b8e80941Smrg#endif /* GL_EXT_polygon_offset_clamp */ 1630b8e80941Smrg 1631b8e80941Smrg#ifndef GL_EXT_post_depth_coverage 1632b8e80941Smrg#define GL_EXT_post_depth_coverage 1 1633b8e80941Smrg#endif /* GL_EXT_post_depth_coverage */ 1634b8e80941Smrg 1635b8e80941Smrg#ifndef GL_EXT_primitive_bounding_box 1636b8e80941Smrg#define GL_EXT_primitive_bounding_box 1 1637b8e80941Smrg#define GL_PRIMITIVE_BOUNDING_BOX_EXT 0x92BE 1638b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXEXTPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 1639b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1640b8e80941SmrgGL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 1641b8e80941Smrg#endif 1642b8e80941Smrg#endif /* GL_EXT_primitive_bounding_box */ 1643b8e80941Smrg 1644b8e80941Smrg#ifndef GL_EXT_protected_textures 1645b8e80941Smrg#define GL_EXT_protected_textures 1 1646b8e80941Smrg#define GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT 0x00000010 1647b8e80941Smrg#define GL_TEXTURE_PROTECTED_EXT 0x8BFA 1648b8e80941Smrg#endif /* GL_EXT_protected_textures */ 1649b8e80941Smrg 1650848b8605Smrg#ifndef GL_EXT_pvrtc_sRGB 1651848b8605Smrg#define GL_EXT_pvrtc_sRGB 1 1652848b8605Smrg#define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54 1653848b8605Smrg#define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55 1654848b8605Smrg#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56 1655848b8605Smrg#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57 1656b8e80941Smrg#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG 0x93F0 1657b8e80941Smrg#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG 0x93F1 1658848b8605Smrg#endif /* GL_EXT_pvrtc_sRGB */ 1659848b8605Smrg 1660b8e80941Smrg#ifndef GL_EXT_raster_multisample 1661b8e80941Smrg#define GL_EXT_raster_multisample 1 1662b8e80941Smrg#define GL_RASTER_MULTISAMPLE_EXT 0x9327 1663b8e80941Smrg#define GL_RASTER_SAMPLES_EXT 0x9328 1664b8e80941Smrg#define GL_MAX_RASTER_SAMPLES_EXT 0x9329 1665b8e80941Smrg#define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A 1666b8e80941Smrg#define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B 1667b8e80941Smrg#define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C 1668b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations); 1669b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1670b8e80941SmrgGL_APICALL void GL_APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations); 1671b8e80941Smrg#endif 1672b8e80941Smrg#endif /* GL_EXT_raster_multisample */ 1673b8e80941Smrg 1674848b8605Smrg#ifndef GL_EXT_read_format_bgra 1675848b8605Smrg#define GL_EXT_read_format_bgra 1 1676848b8605Smrg#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 1677848b8605Smrg#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 1678848b8605Smrg#endif /* GL_EXT_read_format_bgra */ 1679848b8605Smrg 1680b8e80941Smrg#ifndef GL_EXT_render_snorm 1681b8e80941Smrg#define GL_EXT_render_snorm 1 1682b8e80941Smrg#define GL_R8_SNORM 0x8F94 1683b8e80941Smrg#define GL_RG8_SNORM 0x8F95 1684b8e80941Smrg#define GL_RGBA8_SNORM 0x8F97 1685b8e80941Smrg#define GL_R16_SNORM_EXT 0x8F98 1686b8e80941Smrg#define GL_RG16_SNORM_EXT 0x8F99 1687b8e80941Smrg#define GL_RGBA16_SNORM_EXT 0x8F9B 1688b8e80941Smrg#endif /* GL_EXT_render_snorm */ 1689b8e80941Smrg 1690848b8605Smrg#ifndef GL_EXT_robustness 1691848b8605Smrg#define GL_EXT_robustness 1 1692848b8605Smrg#define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 1693848b8605Smrg#define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 1694848b8605Smrg#define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 1695848b8605Smrg#define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 1696848b8605Smrg#define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 1697848b8605Smrg#define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 1698848b8605Smrg#define GL_NO_RESET_NOTIFICATION_EXT 0x8261 1699848b8605Smrgtypedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); 1700848b8605Smrgtypedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 1701848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 1702848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); 1703848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1704848b8605SmrgGL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void); 1705848b8605SmrgGL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 1706848b8605SmrgGL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 1707848b8605SmrgGL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params); 1708848b8605Smrg#endif 1709848b8605Smrg#endif /* GL_EXT_robustness */ 1710848b8605Smrg 1711848b8605Smrg#ifndef GL_EXT_sRGB 1712848b8605Smrg#define GL_EXT_sRGB 1 1713848b8605Smrg#define GL_SRGB_EXT 0x8C40 1714848b8605Smrg#define GL_SRGB_ALPHA_EXT 0x8C42 1715848b8605Smrg#define GL_SRGB8_ALPHA8_EXT 0x8C43 1716848b8605Smrg#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 1717848b8605Smrg#endif /* GL_EXT_sRGB */ 1718848b8605Smrg 1719848b8605Smrg#ifndef GL_EXT_sRGB_write_control 1720848b8605Smrg#define GL_EXT_sRGB_write_control 1 1721848b8605Smrg#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 1722848b8605Smrg#endif /* GL_EXT_sRGB_write_control */ 1723848b8605Smrg 1724b8e80941Smrg#ifndef GL_EXT_semaphore 1725b8e80941Smrg#define GL_EXT_semaphore 1 1726b8e80941Smrg#define GL_LAYOUT_GENERAL_EXT 0x958D 1727b8e80941Smrg#define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E 1728b8e80941Smrg#define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F 1729b8e80941Smrg#define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590 1730b8e80941Smrg#define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591 1731b8e80941Smrg#define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592 1732b8e80941Smrg#define GL_LAYOUT_TRANSFER_DST_EXT 0x9593 1733b8e80941Smrg#define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530 1734b8e80941Smrg#define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531 1735b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGENSEMAPHORESEXTPROC) (GLsizei n, GLuint *semaphores); 1736b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) (GLsizei n, const GLuint *semaphores); 1737b8e80941Smrgtypedef GLboolean (GL_APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore); 1738b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, const GLuint64 *params); 1739b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, GLuint64 *params); 1740b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts); 1741b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts); 1742b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1743b8e80941SmrgGL_APICALL void GL_APIENTRY glGenSemaphoresEXT (GLsizei n, GLuint *semaphores); 1744b8e80941SmrgGL_APICALL void GL_APIENTRY glDeleteSemaphoresEXT (GLsizei n, const GLuint *semaphores); 1745b8e80941SmrgGL_APICALL GLboolean GL_APIENTRY glIsSemaphoreEXT (GLuint semaphore); 1746b8e80941SmrgGL_APICALL void GL_APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 *params); 1747b8e80941SmrgGL_APICALL void GL_APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 *params); 1748b8e80941SmrgGL_APICALL void GL_APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts); 1749b8e80941SmrgGL_APICALL void GL_APIENTRY glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts); 1750b8e80941Smrg#endif 1751b8e80941Smrg#endif /* GL_EXT_semaphore */ 1752b8e80941Smrg 1753b8e80941Smrg#ifndef GL_EXT_semaphore_fd 1754b8e80941Smrg#define GL_EXT_semaphore_fd 1 1755b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLint fd); 1756b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1757b8e80941SmrgGL_APICALL void GL_APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd); 1758b8e80941Smrg#endif 1759b8e80941Smrg#endif /* GL_EXT_semaphore_fd */ 1760b8e80941Smrg 1761b8e80941Smrg#ifndef GL_EXT_semaphore_win32 1762b8e80941Smrg#define GL_EXT_semaphore_win32 1 1763b8e80941Smrg#define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594 1764b8e80941Smrg#define GL_D3D12_FENCE_VALUE_EXT 0x9595 1765b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handleType, void *handle); 1766b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) (GLuint semaphore, GLenum handleType, const void *name); 1767b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1768b8e80941SmrgGL_APICALL void GL_APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle); 1769b8e80941SmrgGL_APICALL void GL_APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name); 1770b8e80941Smrg#endif 1771b8e80941Smrg#endif /* GL_EXT_semaphore_win32 */ 1772b8e80941Smrg 1773848b8605Smrg#ifndef GL_EXT_separate_shader_objects 1774848b8605Smrg#define GL_EXT_separate_shader_objects 1 1775848b8605Smrg#define GL_ACTIVE_PROGRAM_EXT 0x8259 1776848b8605Smrg#define GL_VERTEX_SHADER_BIT_EXT 0x00000001 1777848b8605Smrg#define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002 1778848b8605Smrg#define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF 1779848b8605Smrg#define GL_PROGRAM_SEPARABLE_EXT 0x8258 1780848b8605Smrg#define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A 1781848b8605Smrgtypedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program); 1782848b8605Smrgtypedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline); 1783848b8605Smrgtypedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings); 1784848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines); 1785848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines); 1786848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 1787848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params); 1788848b8605Smrgtypedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline); 1789848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); 1790848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); 1791848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1792848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); 1793848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1794848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); 1795848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1796848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); 1797848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1798848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 1799848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1800848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 1801848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1802848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 1803848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1804848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 1805848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1806848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1807848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1808848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1809848b8605Smrgtypedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program); 1810848b8605Smrgtypedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline); 1811848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); 1812848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); 1813848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 1814848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1815848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1816848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1817848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1818848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1819848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1820848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1821848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1822848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1823848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1824848b8605Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1825848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 1826848b8605SmrgGL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program); 1827848b8605SmrgGL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline); 1828848b8605SmrgGL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings); 1829848b8605SmrgGL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines); 1830848b8605SmrgGL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines); 1831848b8605SmrgGL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 1832848b8605SmrgGL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params); 1833848b8605SmrgGL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline); 1834848b8605SmrgGL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value); 1835848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0); 1836848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1837848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0); 1838848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1839848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); 1840848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1841848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1); 1842848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1843848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 1844848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1845848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 1846848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1847848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 1848848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1849848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 1850848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1851848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1852848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1853848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1854848b8605SmrgGL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program); 1855848b8605SmrgGL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline); 1856848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0); 1857848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1); 1858848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 1859848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1860848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1861848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1862848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1863848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1864848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1865848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1866848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1867848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1868848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1869848b8605SmrgGL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1870848b8605Smrg#endif 1871848b8605Smrg#endif /* GL_EXT_separate_shader_objects */ 1872848b8605Smrg 1873848b8605Smrg#ifndef GL_EXT_shader_framebuffer_fetch 1874848b8605Smrg#define GL_EXT_shader_framebuffer_fetch 1 1875848b8605Smrg#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 1876848b8605Smrg#endif /* GL_EXT_shader_framebuffer_fetch */ 1877848b8605Smrg 1878b8e80941Smrg#ifndef GL_EXT_shader_framebuffer_fetch_non_coherent 1879b8e80941Smrg#define GL_EXT_shader_framebuffer_fetch_non_coherent 1 1880b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void); 1881b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1882b8e80941SmrgGL_APICALL void GL_APIENTRY glFramebufferFetchBarrierEXT (void); 1883b8e80941Smrg#endif 1884b8e80941Smrg#endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */ 1885b8e80941Smrg 1886b8e80941Smrg#ifndef GL_EXT_shader_group_vote 1887b8e80941Smrg#define GL_EXT_shader_group_vote 1 1888b8e80941Smrg#endif /* GL_EXT_shader_group_vote */ 1889b8e80941Smrg 1890b8e80941Smrg#ifndef GL_EXT_shader_implicit_conversions 1891b8e80941Smrg#define GL_EXT_shader_implicit_conversions 1 1892b8e80941Smrg#endif /* GL_EXT_shader_implicit_conversions */ 1893b8e80941Smrg 1894848b8605Smrg#ifndef GL_EXT_shader_integer_mix 1895848b8605Smrg#define GL_EXT_shader_integer_mix 1 1896848b8605Smrg#endif /* GL_EXT_shader_integer_mix */ 1897848b8605Smrg 1898b8e80941Smrg#ifndef GL_EXT_shader_io_blocks 1899b8e80941Smrg#define GL_EXT_shader_io_blocks 1 1900b8e80941Smrg#endif /* GL_EXT_shader_io_blocks */ 1901b8e80941Smrg 1902b8e80941Smrg#ifndef GL_EXT_shader_non_constant_global_initializers 1903b8e80941Smrg#define GL_EXT_shader_non_constant_global_initializers 1 1904b8e80941Smrg#endif /* GL_EXT_shader_non_constant_global_initializers */ 1905b8e80941Smrg 1906848b8605Smrg#ifndef GL_EXT_shader_pixel_local_storage 1907848b8605Smrg#define GL_EXT_shader_pixel_local_storage 1 1908848b8605Smrg#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63 1909848b8605Smrg#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67 1910848b8605Smrg#define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64 1911848b8605Smrg#endif /* GL_EXT_shader_pixel_local_storage */ 1912848b8605Smrg 1913b8e80941Smrg#ifndef GL_EXT_shader_pixel_local_storage2 1914b8e80941Smrg#define GL_EXT_shader_pixel_local_storage2 1 1915b8e80941Smrg#define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT 0x9650 1916b8e80941Smrg#define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT 0x9651 1917b8e80941Smrg#define GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT 0x9652 1918b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target, GLsizei size); 1919b8e80941Smrgtypedef GLsizei (GL_APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target); 1920b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC) (GLsizei offset, GLsizei n, const GLuint *values); 1921b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1922b8e80941SmrgGL_APICALL void GL_APIENTRY glFramebufferPixelLocalStorageSizeEXT (GLuint target, GLsizei size); 1923b8e80941SmrgGL_APICALL GLsizei GL_APIENTRY glGetFramebufferPixelLocalStorageSizeEXT (GLuint target); 1924b8e80941SmrgGL_APICALL void GL_APIENTRY glClearPixelLocalStorageuiEXT (GLsizei offset, GLsizei n, const GLuint *values); 1925b8e80941Smrg#endif 1926b8e80941Smrg#endif /* GL_EXT_shader_pixel_local_storage2 */ 1927b8e80941Smrg 1928848b8605Smrg#ifndef GL_EXT_shader_texture_lod 1929848b8605Smrg#define GL_EXT_shader_texture_lod 1 1930848b8605Smrg#endif /* GL_EXT_shader_texture_lod */ 1931848b8605Smrg 1932848b8605Smrg#ifndef GL_EXT_shadow_samplers 1933848b8605Smrg#define GL_EXT_shadow_samplers 1 1934848b8605Smrg#define GL_TEXTURE_COMPARE_MODE_EXT 0x884C 1935848b8605Smrg#define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D 1936848b8605Smrg#define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E 1937848b8605Smrg#define GL_SAMPLER_2D_SHADOW_EXT 0x8B62 1938848b8605Smrg#endif /* GL_EXT_shadow_samplers */ 1939848b8605Smrg 1940b8e80941Smrg#ifndef GL_EXT_sparse_texture 1941b8e80941Smrg#define GL_EXT_sparse_texture 1 1942b8e80941Smrg#define GL_TEXTURE_SPARSE_EXT 0x91A6 1943b8e80941Smrg#define GL_VIRTUAL_PAGE_SIZE_INDEX_EXT 0x91A7 1944b8e80941Smrg#define GL_NUM_SPARSE_LEVELS_EXT 0x91AA 1945b8e80941Smrg#define GL_NUM_VIRTUAL_PAGE_SIZES_EXT 0x91A8 1946b8e80941Smrg#define GL_VIRTUAL_PAGE_SIZE_X_EXT 0x9195 1947b8e80941Smrg#define GL_VIRTUAL_PAGE_SIZE_Y_EXT 0x9196 1948b8e80941Smrg#define GL_VIRTUAL_PAGE_SIZE_Z_EXT 0x9197 1949b8e80941Smrg#define GL_TEXTURE_2D_ARRAY 0x8C1A 1950b8e80941Smrg#define GL_TEXTURE_3D 0x806F 1951b8e80941Smrg#define GL_MAX_SPARSE_TEXTURE_SIZE_EXT 0x9198 1952b8e80941Smrg#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT 0x9199 1953b8e80941Smrg#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT 0x919A 1954b8e80941Smrg#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT 0x91A9 1955b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); 1956b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 1957b8e80941SmrgGL_APICALL void GL_APIENTRY glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); 1958b8e80941Smrg#endif 1959b8e80941Smrg#endif /* GL_EXT_sparse_texture */ 1960b8e80941Smrg 1961b8e80941Smrg#ifndef GL_EXT_sparse_texture2 1962b8e80941Smrg#define GL_EXT_sparse_texture2 1 1963b8e80941Smrg#endif /* GL_EXT_sparse_texture2 */ 1964b8e80941Smrg 1965b8e80941Smrg#ifndef GL_EXT_tessellation_point_size 1966b8e80941Smrg#define GL_EXT_tessellation_point_size 1 1967b8e80941Smrg#endif /* GL_EXT_tessellation_point_size */ 1968b8e80941Smrg 1969b8e80941Smrg#ifndef GL_EXT_tessellation_shader 1970b8e80941Smrg#define GL_EXT_tessellation_shader 1 1971b8e80941Smrg#define GL_PATCHES_EXT 0x000E 1972b8e80941Smrg#define GL_PATCH_VERTICES_EXT 0x8E72 1973b8e80941Smrg#define GL_TESS_CONTROL_OUTPUT_VERTICES_EXT 0x8E75 1974b8e80941Smrg#define GL_TESS_GEN_MODE_EXT 0x8E76 1975b8e80941Smrg#define GL_TESS_GEN_SPACING_EXT 0x8E77 1976b8e80941Smrg#define GL_TESS_GEN_VERTEX_ORDER_EXT 0x8E78 1977b8e80941Smrg#define GL_TESS_GEN_POINT_MODE_EXT 0x8E79 1978b8e80941Smrg#define GL_ISOLINES_EXT 0x8E7A 1979b8e80941Smrg#define GL_QUADS_EXT 0x0007 1980b8e80941Smrg#define GL_FRACTIONAL_ODD_EXT 0x8E7B 1981b8e80941Smrg#define GL_FRACTIONAL_EVEN_EXT 0x8E7C 1982b8e80941Smrg#define GL_MAX_PATCH_VERTICES_EXT 0x8E7D 1983b8e80941Smrg#define GL_MAX_TESS_GEN_LEVEL_EXT 0x8E7E 1984b8e80941Smrg#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E7F 1985b8e80941Smrg#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E80 1986b8e80941Smrg#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT 0x8E81 1987b8e80941Smrg#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT 0x8E82 1988b8e80941Smrg#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT 0x8E83 1989b8e80941Smrg#define GL_MAX_TESS_PATCH_COMPONENTS_EXT 0x8E84 1990b8e80941Smrg#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT 0x8E85 1991b8e80941Smrg#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT 0x8E86 1992b8e80941Smrg#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT 0x8E89 1993b8e80941Smrg#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT 0x8E8A 1994b8e80941Smrg#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT 0x886C 1995b8e80941Smrg#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT 0x886D 1996b8e80941Smrg#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E1E 1997b8e80941Smrg#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E1F 1998b8e80941Smrg#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT 0x92CD 1999b8e80941Smrg#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT 0x92CE 2000b8e80941Smrg#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT 0x92D3 2001b8e80941Smrg#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT 0x92D4 2002b8e80941Smrg#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT 0x90CB 2003b8e80941Smrg#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT 0x90CC 2004b8e80941Smrg#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT 0x90D8 2005b8e80941Smrg#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT 0x90D9 2006b8e80941Smrg#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221 2007b8e80941Smrg#define GL_IS_PER_PATCH_EXT 0x92E7 2008b8e80941Smrg#define GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT 0x9307 2009b8e80941Smrg#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT 0x9308 2010b8e80941Smrg#define GL_TESS_CONTROL_SHADER_EXT 0x8E88 2011b8e80941Smrg#define GL_TESS_EVALUATION_SHADER_EXT 0x8E87 2012b8e80941Smrg#define GL_TESS_CONTROL_SHADER_BIT_EXT 0x00000008 2013b8e80941Smrg#define GL_TESS_EVALUATION_SHADER_BIT_EXT 0x00000010 2014b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIEXTPROC) (GLenum pname, GLint value); 2015b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2016b8e80941SmrgGL_APICALL void GL_APIENTRY glPatchParameteriEXT (GLenum pname, GLint value); 2017b8e80941Smrg#endif 2018b8e80941Smrg#endif /* GL_EXT_tessellation_shader */ 2019b8e80941Smrg 2020b8e80941Smrg#ifndef GL_EXT_texture_border_clamp 2021b8e80941Smrg#define GL_EXT_texture_border_clamp 1 2022b8e80941Smrg#define GL_TEXTURE_BORDER_COLOR_EXT 0x1004 2023b8e80941Smrg#define GL_CLAMP_TO_BORDER_EXT 0x812D 2024b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); 2025b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params); 2026b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params); 2027b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params); 2028b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, const GLint *param); 2029b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, const GLuint *param); 2030b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, GLint *params); 2031b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, GLuint *params); 2032b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2033b8e80941SmrgGL_APICALL void GL_APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params); 2034b8e80941SmrgGL_APICALL void GL_APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params); 2035b8e80941SmrgGL_APICALL void GL_APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params); 2036b8e80941SmrgGL_APICALL void GL_APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params); 2037b8e80941SmrgGL_APICALL void GL_APIENTRY glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLint *param); 2038b8e80941SmrgGL_APICALL void GL_APIENTRY glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLuint *param); 2039b8e80941SmrgGL_APICALL void GL_APIENTRY glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint *params); 2040b8e80941SmrgGL_APICALL void GL_APIENTRY glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint *params); 2041b8e80941Smrg#endif 2042b8e80941Smrg#endif /* GL_EXT_texture_border_clamp */ 2043b8e80941Smrg 2044b8e80941Smrg#ifndef GL_EXT_texture_buffer 2045b8e80941Smrg#define GL_EXT_texture_buffer 1 2046b8e80941Smrg#define GL_TEXTURE_BUFFER_EXT 0x8C2A 2047b8e80941Smrg#define GL_TEXTURE_BUFFER_BINDING_EXT 0x8C2A 2048b8e80941Smrg#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B 2049b8e80941Smrg#define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C 2050b8e80941Smrg#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D 2051b8e80941Smrg#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT 0x919F 2052b8e80941Smrg#define GL_SAMPLER_BUFFER_EXT 0x8DC2 2053b8e80941Smrg#define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0 2054b8e80941Smrg#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8 2055b8e80941Smrg#define GL_IMAGE_BUFFER_EXT 0x9051 2056b8e80941Smrg#define GL_INT_IMAGE_BUFFER_EXT 0x905C 2057b8e80941Smrg#define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067 2058b8e80941Smrg#define GL_TEXTURE_BUFFER_OFFSET_EXT 0x919D 2059b8e80941Smrg#define GL_TEXTURE_BUFFER_SIZE_EXT 0x919E 2060b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer); 2061b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 2062b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2063b8e80941SmrgGL_APICALL void GL_APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer); 2064b8e80941SmrgGL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 2065b8e80941Smrg#endif 2066b8e80941Smrg#endif /* GL_EXT_texture_buffer */ 2067b8e80941Smrg 2068b8e80941Smrg#ifndef GL_EXT_texture_compression_astc_decode_mode 2069b8e80941Smrg#define GL_EXT_texture_compression_astc_decode_mode 1 2070b8e80941Smrg#define GL_TEXTURE_ASTC_DECODE_PRECISION_EXT 0x8F69 2071b8e80941Smrg#endif /* GL_EXT_texture_compression_astc_decode_mode */ 2072b8e80941Smrg 2073b8e80941Smrg#ifndef GL_EXT_texture_compression_bptc 2074b8e80941Smrg#define GL_EXT_texture_compression_bptc 1 2075b8e80941Smrg#define GL_COMPRESSED_RGBA_BPTC_UNORM_EXT 0x8E8C 2076b8e80941Smrg#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT 0x8E8D 2077b8e80941Smrg#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT 0x8E8E 2078b8e80941Smrg#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT 0x8E8F 2079b8e80941Smrg#endif /* GL_EXT_texture_compression_bptc */ 2080b8e80941Smrg 2081848b8605Smrg#ifndef GL_EXT_texture_compression_dxt1 2082848b8605Smrg#define GL_EXT_texture_compression_dxt1 1 2083848b8605Smrg#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 2084848b8605Smrg#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 2085848b8605Smrg#endif /* GL_EXT_texture_compression_dxt1 */ 2086848b8605Smrg 2087b8e80941Smrg#ifndef GL_EXT_texture_compression_rgtc 2088b8e80941Smrg#define GL_EXT_texture_compression_rgtc 1 2089b8e80941Smrg#define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB 2090b8e80941Smrg#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC 2091b8e80941Smrg#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD 2092b8e80941Smrg#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE 2093b8e80941Smrg#endif /* GL_EXT_texture_compression_rgtc */ 2094b8e80941Smrg 2095848b8605Smrg#ifndef GL_EXT_texture_compression_s3tc 2096848b8605Smrg#define GL_EXT_texture_compression_s3tc 1 2097848b8605Smrg#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 2098848b8605Smrg#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 2099848b8605Smrg#endif /* GL_EXT_texture_compression_s3tc */ 2100848b8605Smrg 2101b8e80941Smrg#ifndef GL_EXT_texture_compression_s3tc_srgb 2102b8e80941Smrg#define GL_EXT_texture_compression_s3tc_srgb 1 2103b8e80941Smrg#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C 2104b8e80941Smrg#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D 2105b8e80941Smrg#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E 2106b8e80941Smrg#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F 2107b8e80941Smrg#endif /* GL_EXT_texture_compression_s3tc_srgb */ 2108b8e80941Smrg 2109b8e80941Smrg#ifndef GL_EXT_texture_cube_map_array 2110b8e80941Smrg#define GL_EXT_texture_cube_map_array 1 2111b8e80941Smrg#define GL_TEXTURE_CUBE_MAP_ARRAY_EXT 0x9009 2112b8e80941Smrg#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT 0x900A 2113b8e80941Smrg#define GL_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900C 2114b8e80941Smrg#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT 0x900D 2115b8e80941Smrg#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900E 2116b8e80941Smrg#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900F 2117b8e80941Smrg#define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054 2118b8e80941Smrg#define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F 2119b8e80941Smrg#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A 2120b8e80941Smrg#endif /* GL_EXT_texture_cube_map_array */ 2121b8e80941Smrg 2122848b8605Smrg#ifndef GL_EXT_texture_filter_anisotropic 2123848b8605Smrg#define GL_EXT_texture_filter_anisotropic 1 2124848b8605Smrg#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE 2125848b8605Smrg#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF 2126848b8605Smrg#endif /* GL_EXT_texture_filter_anisotropic */ 2127848b8605Smrg 2128b8e80941Smrg#ifndef GL_EXT_texture_filter_minmax 2129b8e80941Smrg#define GL_EXT_texture_filter_minmax 1 2130b8e80941Smrg#define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366 2131b8e80941Smrg#define GL_WEIGHTED_AVERAGE_EXT 0x9367 2132b8e80941Smrg#endif /* GL_EXT_texture_filter_minmax */ 2133b8e80941Smrg 2134848b8605Smrg#ifndef GL_EXT_texture_format_BGRA8888 2135848b8605Smrg#define GL_EXT_texture_format_BGRA8888 1 2136848b8605Smrg#endif /* GL_EXT_texture_format_BGRA8888 */ 2137848b8605Smrg 2138b8e80941Smrg#ifndef GL_EXT_texture_format_sRGB_override 2139b8e80941Smrg#define GL_EXT_texture_format_sRGB_override 1 2140b8e80941Smrg#define GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT 0x8FBF 2141b8e80941Smrg#endif /* GL_EXT_texture_format_sRGB_override */ 2142b8e80941Smrg 2143b8e80941Smrg#ifndef GL_EXT_texture_mirror_clamp_to_edge 2144b8e80941Smrg#define GL_EXT_texture_mirror_clamp_to_edge 1 2145b8e80941Smrg#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 2146b8e80941Smrg#endif /* GL_EXT_texture_mirror_clamp_to_edge */ 2147b8e80941Smrg 2148b8e80941Smrg#ifndef GL_EXT_texture_norm16 2149b8e80941Smrg#define GL_EXT_texture_norm16 1 2150b8e80941Smrg#define GL_R16_EXT 0x822A 2151b8e80941Smrg#define GL_RG16_EXT 0x822C 2152b8e80941Smrg#define GL_RGBA16_EXT 0x805B 2153b8e80941Smrg#define GL_RGB16_EXT 0x8054 2154b8e80941Smrg#define GL_RGB16_SNORM_EXT 0x8F9A 2155b8e80941Smrg#endif /* GL_EXT_texture_norm16 */ 2156b8e80941Smrg 2157848b8605Smrg#ifndef GL_EXT_texture_rg 2158848b8605Smrg#define GL_EXT_texture_rg 1 2159848b8605Smrg#define GL_RED_EXT 0x1903 2160848b8605Smrg#define GL_RG_EXT 0x8227 2161848b8605Smrg#define GL_R8_EXT 0x8229 2162848b8605Smrg#define GL_RG8_EXT 0x822B 2163848b8605Smrg#endif /* GL_EXT_texture_rg */ 2164848b8605Smrg 2165b8e80941Smrg#ifndef GL_EXT_texture_sRGB_R8 2166b8e80941Smrg#define GL_EXT_texture_sRGB_R8 1 2167b8e80941Smrg#define GL_SR8_EXT 0x8FBD 2168b8e80941Smrg#endif /* GL_EXT_texture_sRGB_R8 */ 2169b8e80941Smrg 2170b8e80941Smrg#ifndef GL_EXT_texture_sRGB_RG8 2171b8e80941Smrg#define GL_EXT_texture_sRGB_RG8 1 2172b8e80941Smrg#define GL_SRG8_EXT 0x8FBE 2173b8e80941Smrg#endif /* GL_EXT_texture_sRGB_RG8 */ 2174b8e80941Smrg 2175848b8605Smrg#ifndef GL_EXT_texture_sRGB_decode 2176848b8605Smrg#define GL_EXT_texture_sRGB_decode 1 2177848b8605Smrg#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 2178848b8605Smrg#define GL_DECODE_EXT 0x8A49 2179848b8605Smrg#define GL_SKIP_DECODE_EXT 0x8A4A 2180848b8605Smrg#endif /* GL_EXT_texture_sRGB_decode */ 2181848b8605Smrg 2182848b8605Smrg#ifndef GL_EXT_texture_storage 2183848b8605Smrg#define GL_EXT_texture_storage 1 2184848b8605Smrg#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F 2185848b8605Smrg#define GL_ALPHA8_EXT 0x803C 2186848b8605Smrg#define GL_LUMINANCE8_EXT 0x8040 2187848b8605Smrg#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 2188848b8605Smrg#define GL_RGBA32F_EXT 0x8814 2189848b8605Smrg#define GL_RGB32F_EXT 0x8815 2190848b8605Smrg#define GL_ALPHA32F_EXT 0x8816 2191848b8605Smrg#define GL_LUMINANCE32F_EXT 0x8818 2192848b8605Smrg#define GL_LUMINANCE_ALPHA32F_EXT 0x8819 2193848b8605Smrg#define GL_ALPHA16F_EXT 0x881C 2194848b8605Smrg#define GL_LUMINANCE16F_EXT 0x881E 2195848b8605Smrg#define GL_LUMINANCE_ALPHA16F_EXT 0x881F 2196848b8605Smrg#define GL_R32F_EXT 0x822E 2197848b8605Smrg#define GL_RG32F_EXT 0x8230 2198848b8605Smrgtypedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2199848b8605Smrgtypedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2200848b8605Smrgtypedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2201848b8605Smrgtypedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2202848b8605Smrgtypedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2203848b8605Smrgtypedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2204848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2205848b8605SmrgGL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2206848b8605SmrgGL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2207848b8605SmrgGL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2208848b8605SmrgGL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2209848b8605SmrgGL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2210848b8605SmrgGL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2211848b8605Smrg#endif 2212848b8605Smrg#endif /* GL_EXT_texture_storage */ 2213848b8605Smrg 2214848b8605Smrg#ifndef GL_EXT_texture_type_2_10_10_10_REV 2215848b8605Smrg#define GL_EXT_texture_type_2_10_10_10_REV 1 2216848b8605Smrg#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 2217848b8605Smrg#endif /* GL_EXT_texture_type_2_10_10_10_REV */ 2218848b8605Smrg 2219b8e80941Smrg#ifndef GL_EXT_texture_view 2220b8e80941Smrg#define GL_EXT_texture_view 1 2221b8e80941Smrg#define GL_TEXTURE_VIEW_MIN_LEVEL_EXT 0x82DB 2222b8e80941Smrg#define GL_TEXTURE_VIEW_NUM_LEVELS_EXT 0x82DC 2223b8e80941Smrg#define GL_TEXTURE_VIEW_MIN_LAYER_EXT 0x82DD 2224b8e80941Smrg#define GL_TEXTURE_VIEW_NUM_LAYERS_EXT 0x82DE 2225b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXTUREVIEWEXTPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 2226b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2227b8e80941SmrgGL_APICALL void GL_APIENTRY glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 2228b8e80941Smrg#endif 2229b8e80941Smrg#endif /* GL_EXT_texture_view */ 2230b8e80941Smrg 2231848b8605Smrg#ifndef GL_EXT_unpack_subimage 2232848b8605Smrg#define GL_EXT_unpack_subimage 1 2233848b8605Smrg#define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2 2234848b8605Smrg#define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3 2235848b8605Smrg#define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4 2236848b8605Smrg#endif /* GL_EXT_unpack_subimage */ 2237848b8605Smrg 2238b8e80941Smrg#ifndef GL_EXT_win32_keyed_mutex 2239b8e80941Smrg#define GL_EXT_win32_keyed_mutex 1 2240b8e80941Smrgtypedef GLboolean (GL_APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key, GLuint timeout); 2241b8e80941Smrgtypedef GLboolean (GL_APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key); 2242b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2243b8e80941SmrgGL_APICALL GLboolean GL_APIENTRY glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout); 2244b8e80941SmrgGL_APICALL GLboolean GL_APIENTRY glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key); 2245b8e80941Smrg#endif 2246b8e80941Smrg#endif /* GL_EXT_win32_keyed_mutex */ 2247b8e80941Smrg 2248b8e80941Smrg#ifndef GL_EXT_window_rectangles 2249b8e80941Smrg#define GL_EXT_window_rectangles 1 2250b8e80941Smrg#define GL_INCLUSIVE_EXT 0x8F10 2251b8e80941Smrg#define GL_EXCLUSIVE_EXT 0x8F11 2252b8e80941Smrg#define GL_WINDOW_RECTANGLE_EXT 0x8F12 2253b8e80941Smrg#define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13 2254b8e80941Smrg#define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14 2255b8e80941Smrg#define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15 2256b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box); 2257b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2258b8e80941SmrgGL_APICALL void GL_APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box); 2259b8e80941Smrg#endif 2260b8e80941Smrg#endif /* GL_EXT_window_rectangles */ 2261b8e80941Smrg 2262848b8605Smrg#ifndef GL_FJ_shader_binary_GCCSO 2263848b8605Smrg#define GL_FJ_shader_binary_GCCSO 1 2264848b8605Smrg#define GL_GCCSO_SHADER_BINARY_FJ 0x9260 2265848b8605Smrg#endif /* GL_FJ_shader_binary_GCCSO */ 2266848b8605Smrg 2267b8e80941Smrg#ifndef GL_IMG_bindless_texture 2268b8e80941Smrg#define GL_IMG_bindless_texture 1 2269b8e80941Smrgtypedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLEIMGPROC) (GLuint texture); 2270b8e80941Smrgtypedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEIMGPROC) (GLuint texture, GLuint sampler); 2271b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64IMGPROC) (GLint location, GLuint64 value); 2272b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VIMGPROC) (GLint location, GLsizei count, const GLuint64 *value); 2273b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC) (GLuint program, GLint location, GLuint64 value); 2274b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2275b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2276b8e80941SmrgGL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleIMG (GLuint texture); 2277b8e80941SmrgGL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleIMG (GLuint texture, GLuint sampler); 2278b8e80941SmrgGL_APICALL void GL_APIENTRY glUniformHandleui64IMG (GLint location, GLuint64 value); 2279b8e80941SmrgGL_APICALL void GL_APIENTRY glUniformHandleui64vIMG (GLint location, GLsizei count, const GLuint64 *value); 2280b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniformHandleui64IMG (GLuint program, GLint location, GLuint64 value); 2281b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniformHandleui64vIMG (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2282b8e80941Smrg#endif 2283b8e80941Smrg#endif /* GL_IMG_bindless_texture */ 2284b8e80941Smrg 2285b8e80941Smrg#ifndef GL_IMG_framebuffer_downsample 2286b8e80941Smrg#define GL_IMG_framebuffer_downsample 1 2287b8e80941Smrg#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG 0x913C 2288b8e80941Smrg#define GL_NUM_DOWNSAMPLE_SCALES_IMG 0x913D 2289b8e80941Smrg#define GL_DOWNSAMPLE_SCALES_IMG 0x913E 2290b8e80941Smrg#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG 0x913F 2291b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); 2292b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); 2293b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2294b8e80941SmrgGL_APICALL void GL_APIENTRY glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); 2295b8e80941SmrgGL_APICALL void GL_APIENTRY glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); 2296b8e80941Smrg#endif 2297b8e80941Smrg#endif /* GL_IMG_framebuffer_downsample */ 2298b8e80941Smrg 2299848b8605Smrg#ifndef GL_IMG_multisampled_render_to_texture 2300848b8605Smrg#define GL_IMG_multisampled_render_to_texture 1 2301848b8605Smrg#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 2302848b8605Smrg#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 2303848b8605Smrg#define GL_MAX_SAMPLES_IMG 0x9135 2304848b8605Smrg#define GL_TEXTURE_SAMPLES_IMG 0x9136 2305848b8605Smrgtypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2306848b8605Smrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 2307848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2308848b8605SmrgGL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2309848b8605SmrgGL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 2310848b8605Smrg#endif 2311848b8605Smrg#endif /* GL_IMG_multisampled_render_to_texture */ 2312848b8605Smrg 2313848b8605Smrg#ifndef GL_IMG_program_binary 2314848b8605Smrg#define GL_IMG_program_binary 1 2315848b8605Smrg#define GL_SGX_PROGRAM_BINARY_IMG 0x9130 2316848b8605Smrg#endif /* GL_IMG_program_binary */ 2317848b8605Smrg 2318848b8605Smrg#ifndef GL_IMG_read_format 2319848b8605Smrg#define GL_IMG_read_format 1 2320848b8605Smrg#define GL_BGRA_IMG 0x80E1 2321848b8605Smrg#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 2322848b8605Smrg#endif /* GL_IMG_read_format */ 2323848b8605Smrg 2324848b8605Smrg#ifndef GL_IMG_shader_binary 2325848b8605Smrg#define GL_IMG_shader_binary 1 2326848b8605Smrg#define GL_SGX_BINARY_IMG 0x8C0A 2327848b8605Smrg#endif /* GL_IMG_shader_binary */ 2328848b8605Smrg 2329848b8605Smrg#ifndef GL_IMG_texture_compression_pvrtc 2330848b8605Smrg#define GL_IMG_texture_compression_pvrtc 1 2331848b8605Smrg#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 2332848b8605Smrg#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 2333848b8605Smrg#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 2334848b8605Smrg#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 2335848b8605Smrg#endif /* GL_IMG_texture_compression_pvrtc */ 2336848b8605Smrg 2337848b8605Smrg#ifndef GL_IMG_texture_compression_pvrtc2 2338848b8605Smrg#define GL_IMG_texture_compression_pvrtc2 1 2339848b8605Smrg#define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137 2340848b8605Smrg#define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138 2341848b8605Smrg#endif /* GL_IMG_texture_compression_pvrtc2 */ 2342848b8605Smrg 2343b8e80941Smrg#ifndef GL_IMG_texture_filter_cubic 2344b8e80941Smrg#define GL_IMG_texture_filter_cubic 1 2345b8e80941Smrg#define GL_CUBIC_IMG 0x9139 2346b8e80941Smrg#define GL_CUBIC_MIPMAP_NEAREST_IMG 0x913A 2347b8e80941Smrg#define GL_CUBIC_MIPMAP_LINEAR_IMG 0x913B 2348b8e80941Smrg#endif /* GL_IMG_texture_filter_cubic */ 2349b8e80941Smrg 2350b8e80941Smrg#ifndef GL_INTEL_blackhole_render 2351b8e80941Smrg#define GL_INTEL_blackhole_render 1 2352b8e80941Smrg#define GL_BLACKHOLE_RENDER_INTEL 0x83FC 2353b8e80941Smrg#endif /* GL_INTEL_blackhole_render */ 2354b8e80941Smrg 2355b8e80941Smrg#ifndef GL_INTEL_conservative_rasterization 2356b8e80941Smrg#define GL_INTEL_conservative_rasterization 1 2357b8e80941Smrg#define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE 2358b8e80941Smrg#endif /* GL_INTEL_conservative_rasterization */ 2359b8e80941Smrg 2360b8e80941Smrg#ifndef GL_INTEL_framebuffer_CMAA 2361b8e80941Smrg#define GL_INTEL_framebuffer_CMAA 1 2362b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void); 2363b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2364b8e80941SmrgGL_APICALL void GL_APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void); 2365b8e80941Smrg#endif 2366b8e80941Smrg#endif /* GL_INTEL_framebuffer_CMAA */ 2367b8e80941Smrg 2368848b8605Smrg#ifndef GL_INTEL_performance_query 2369848b8605Smrg#define GL_INTEL_performance_query 1 2370848b8605Smrg#define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000 2371848b8605Smrg#define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001 2372848b8605Smrg#define GL_PERFQUERY_WAIT_INTEL 0x83FB 2373848b8605Smrg#define GL_PERFQUERY_FLUSH_INTEL 0x83FA 2374848b8605Smrg#define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9 2375848b8605Smrg#define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0 2376848b8605Smrg#define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1 2377848b8605Smrg#define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2 2378848b8605Smrg#define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3 2379848b8605Smrg#define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4 2380848b8605Smrg#define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5 2381848b8605Smrg#define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8 2382848b8605Smrg#define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9 2383848b8605Smrg#define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA 2384848b8605Smrg#define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB 2385848b8605Smrg#define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC 2386848b8605Smrg#define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD 2387848b8605Smrg#define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE 2388848b8605Smrg#define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF 2389848b8605Smrg#define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500 2390848b8605Smrgtypedef void (GL_APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle); 2391848b8605Smrgtypedef void (GL_APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle); 2392848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle); 2393848b8605Smrgtypedef void (GL_APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle); 2394848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId); 2395848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId); 2396848b8605Smrgtypedef 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); 2397b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten); 2398848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId); 2399848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); 2400848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2401848b8605SmrgGL_APICALL void GL_APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle); 2402848b8605SmrgGL_APICALL void GL_APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle); 2403848b8605SmrgGL_APICALL void GL_APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle); 2404848b8605SmrgGL_APICALL void GL_APIENTRY glEndPerfQueryINTEL (GLuint queryHandle); 2405848b8605SmrgGL_APICALL void GL_APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId); 2406848b8605SmrgGL_APICALL void GL_APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId); 2407848b8605SmrgGL_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); 2408b8e80941SmrgGL_APICALL void GL_APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten); 2409848b8605SmrgGL_APICALL void GL_APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId); 2410848b8605SmrgGL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); 2411848b8605Smrg#endif 2412848b8605Smrg#endif /* GL_INTEL_performance_query */ 2413848b8605Smrg 2414b8e80941Smrg#ifndef GL_MESA_framebuffer_flip_y 2415b8e80941Smrg#define GL_MESA_framebuffer_flip_y 1 2416b8e80941Smrg#define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB 2417b8e80941Smrg#endif /* GL_MESA_framebuffer_flip_y */ 2418b8e80941Smrg 2419b8e80941Smrg#ifndef GL_MESA_program_binary_formats 2420b8e80941Smrg#define GL_MESA_program_binary_formats 1 2421b8e80941Smrg#define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F 2422b8e80941Smrg#endif /* GL_MESA_program_binary_formats */ 2423b8e80941Smrg 2424b8e80941Smrg#ifndef GL_MESA_shader_integer_functions 2425b8e80941Smrg#define GL_MESA_shader_integer_functions 1 2426b8e80941Smrg#endif /* GL_MESA_shader_integer_functions */ 2427b8e80941Smrg 2428b8e80941Smrg#ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers 2429b8e80941Smrg#define GL_NVX_blend_equation_advanced_multi_draw_buffers 1 2430b8e80941Smrg#endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */ 2431b8e80941Smrg 2432b8e80941Smrg#ifndef GL_NV_bindless_texture 2433b8e80941Smrg#define GL_NV_bindless_texture 1 2434b8e80941Smrgtypedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture); 2435b8e80941Smrgtypedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler); 2436b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); 2437b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle); 2438b8e80941Smrgtypedef GLuint64 (GL_APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 2439b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access); 2440b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle); 2441b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value); 2442b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value); 2443b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value); 2444b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2445b8e80941Smrgtypedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); 2446b8e80941Smrgtypedef GLboolean (GL_APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle); 2447b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2448b8e80941SmrgGL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleNV (GLuint texture); 2449b8e80941SmrgGL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler); 2450b8e80941SmrgGL_APICALL void GL_APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle); 2451b8e80941SmrgGL_APICALL void GL_APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle); 2452b8e80941SmrgGL_APICALL GLuint64 GL_APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 2453b8e80941SmrgGL_APICALL void GL_APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access); 2454b8e80941SmrgGL_APICALL void GL_APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle); 2455b8e80941SmrgGL_APICALL void GL_APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value); 2456b8e80941SmrgGL_APICALL void GL_APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value); 2457b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value); 2458b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2459b8e80941SmrgGL_APICALL GLboolean GL_APIENTRY glIsTextureHandleResidentNV (GLuint64 handle); 2460b8e80941SmrgGL_APICALL GLboolean GL_APIENTRY glIsImageHandleResidentNV (GLuint64 handle); 2461b8e80941Smrg#endif 2462b8e80941Smrg#endif /* GL_NV_bindless_texture */ 2463b8e80941Smrg 2464848b8605Smrg#ifndef GL_NV_blend_equation_advanced 2465848b8605Smrg#define GL_NV_blend_equation_advanced 1 2466848b8605Smrg#define GL_BLEND_OVERLAP_NV 0x9281 2467848b8605Smrg#define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 2468848b8605Smrg#define GL_BLUE_NV 0x1905 2469848b8605Smrg#define GL_COLORBURN_NV 0x929A 2470848b8605Smrg#define GL_COLORDODGE_NV 0x9299 2471848b8605Smrg#define GL_CONJOINT_NV 0x9284 2472848b8605Smrg#define GL_CONTRAST_NV 0x92A1 2473848b8605Smrg#define GL_DARKEN_NV 0x9297 2474848b8605Smrg#define GL_DIFFERENCE_NV 0x929E 2475848b8605Smrg#define GL_DISJOINT_NV 0x9283 2476848b8605Smrg#define GL_DST_ATOP_NV 0x928F 2477848b8605Smrg#define GL_DST_IN_NV 0x928B 2478848b8605Smrg#define GL_DST_NV 0x9287 2479848b8605Smrg#define GL_DST_OUT_NV 0x928D 2480848b8605Smrg#define GL_DST_OVER_NV 0x9289 2481848b8605Smrg#define GL_EXCLUSION_NV 0x92A0 2482848b8605Smrg#define GL_GREEN_NV 0x1904 2483848b8605Smrg#define GL_HARDLIGHT_NV 0x929B 2484848b8605Smrg#define GL_HARDMIX_NV 0x92A9 2485848b8605Smrg#define GL_HSL_COLOR_NV 0x92AF 2486848b8605Smrg#define GL_HSL_HUE_NV 0x92AD 2487848b8605Smrg#define GL_HSL_LUMINOSITY_NV 0x92B0 2488848b8605Smrg#define GL_HSL_SATURATION_NV 0x92AE 2489848b8605Smrg#define GL_INVERT_OVG_NV 0x92B4 2490848b8605Smrg#define GL_INVERT_RGB_NV 0x92A3 2491848b8605Smrg#define GL_LIGHTEN_NV 0x9298 2492848b8605Smrg#define GL_LINEARBURN_NV 0x92A5 2493848b8605Smrg#define GL_LINEARDODGE_NV 0x92A4 2494848b8605Smrg#define GL_LINEARLIGHT_NV 0x92A7 2495848b8605Smrg#define GL_MINUS_CLAMPED_NV 0x92B3 2496848b8605Smrg#define GL_MINUS_NV 0x929F 2497848b8605Smrg#define GL_MULTIPLY_NV 0x9294 2498848b8605Smrg#define GL_OVERLAY_NV 0x9296 2499848b8605Smrg#define GL_PINLIGHT_NV 0x92A8 2500848b8605Smrg#define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 2501848b8605Smrg#define GL_PLUS_CLAMPED_NV 0x92B1 2502848b8605Smrg#define GL_PLUS_DARKER_NV 0x9292 2503848b8605Smrg#define GL_PLUS_NV 0x9291 2504848b8605Smrg#define GL_RED_NV 0x1903 2505848b8605Smrg#define GL_SCREEN_NV 0x9295 2506848b8605Smrg#define GL_SOFTLIGHT_NV 0x929C 2507848b8605Smrg#define GL_SRC_ATOP_NV 0x928E 2508848b8605Smrg#define GL_SRC_IN_NV 0x928A 2509848b8605Smrg#define GL_SRC_NV 0x9286 2510848b8605Smrg#define GL_SRC_OUT_NV 0x928C 2511848b8605Smrg#define GL_SRC_OVER_NV 0x9288 2512848b8605Smrg#define GL_UNCORRELATED_NV 0x9282 2513848b8605Smrg#define GL_VIVIDLIGHT_NV 0x92A6 2514848b8605Smrg#define GL_XOR_NV 0x1506 2515848b8605Smrgtypedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value); 2516848b8605Smrgtypedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void); 2517848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2518848b8605SmrgGL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value); 2519848b8605SmrgGL_APICALL void GL_APIENTRY glBlendBarrierNV (void); 2520848b8605Smrg#endif 2521848b8605Smrg#endif /* GL_NV_blend_equation_advanced */ 2522848b8605Smrg 2523848b8605Smrg#ifndef GL_NV_blend_equation_advanced_coherent 2524848b8605Smrg#define GL_NV_blend_equation_advanced_coherent 1 2525848b8605Smrg#define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 2526848b8605Smrg#endif /* GL_NV_blend_equation_advanced_coherent */ 2527848b8605Smrg 2528b8e80941Smrg#ifndef GL_NV_blend_minmax_factor 2529b8e80941Smrg#define GL_NV_blend_minmax_factor 1 2530b8e80941Smrg#define GL_FACTOR_MIN_AMD 0x901C 2531b8e80941Smrg#define GL_FACTOR_MAX_AMD 0x901D 2532b8e80941Smrg#endif /* GL_NV_blend_minmax_factor */ 2533b8e80941Smrg 2534b8e80941Smrg#ifndef GL_NV_clip_space_w_scaling 2535b8e80941Smrg#define GL_NV_clip_space_w_scaling 1 2536b8e80941Smrg#define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C 2537b8e80941Smrg#define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D 2538b8e80941Smrg#define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E 2539b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff); 2540b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2541b8e80941SmrgGL_APICALL void GL_APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff); 2542b8e80941Smrg#endif 2543b8e80941Smrg#endif /* GL_NV_clip_space_w_scaling */ 2544b8e80941Smrg 2545b8e80941Smrg#ifndef GL_NV_conditional_render 2546b8e80941Smrg#define GL_NV_conditional_render 1 2547b8e80941Smrg#define GL_QUERY_WAIT_NV 0x8E13 2548b8e80941Smrg#define GL_QUERY_NO_WAIT_NV 0x8E14 2549b8e80941Smrg#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15 2550b8e80941Smrg#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 2551b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode); 2552b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void); 2553b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2554b8e80941SmrgGL_APICALL void GL_APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode); 2555b8e80941SmrgGL_APICALL void GL_APIENTRY glEndConditionalRenderNV (void); 2556b8e80941Smrg#endif 2557b8e80941Smrg#endif /* GL_NV_conditional_render */ 2558b8e80941Smrg 2559b8e80941Smrg#ifndef GL_NV_conservative_raster 2560b8e80941Smrg#define GL_NV_conservative_raster 1 2561b8e80941Smrg#define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346 2562b8e80941Smrg#define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347 2563b8e80941Smrg#define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348 2564b8e80941Smrg#define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349 2565b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits); 2566b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2567b8e80941SmrgGL_APICALL void GL_APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits); 2568b8e80941Smrg#endif 2569b8e80941Smrg#endif /* GL_NV_conservative_raster */ 2570b8e80941Smrg 2571b8e80941Smrg#ifndef GL_NV_conservative_raster_pre_snap 2572b8e80941Smrg#define GL_NV_conservative_raster_pre_snap 1 2573b8e80941Smrg#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550 2574b8e80941Smrg#endif /* GL_NV_conservative_raster_pre_snap */ 2575b8e80941Smrg 2576b8e80941Smrg#ifndef GL_NV_conservative_raster_pre_snap_triangles 2577b8e80941Smrg#define GL_NV_conservative_raster_pre_snap_triangles 1 2578b8e80941Smrg#define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D 2579b8e80941Smrg#define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E 2580b8e80941Smrg#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F 2581b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param); 2582b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2583b8e80941SmrgGL_APICALL void GL_APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param); 2584b8e80941Smrg#endif 2585b8e80941Smrg#endif /* GL_NV_conservative_raster_pre_snap_triangles */ 2586b8e80941Smrg 2587848b8605Smrg#ifndef GL_NV_copy_buffer 2588848b8605Smrg#define GL_NV_copy_buffer 1 2589848b8605Smrg#define GL_COPY_READ_BUFFER_NV 0x8F36 2590848b8605Smrg#define GL_COPY_WRITE_BUFFER_NV 0x8F37 2591848b8605Smrgtypedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 2592848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2593848b8605SmrgGL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 2594848b8605Smrg#endif 2595848b8605Smrg#endif /* GL_NV_copy_buffer */ 2596848b8605Smrg 2597848b8605Smrg#ifndef GL_NV_coverage_sample 2598848b8605Smrg#define GL_NV_coverage_sample 1 2599848b8605Smrg#define GL_COVERAGE_COMPONENT_NV 0x8ED0 2600848b8605Smrg#define GL_COVERAGE_COMPONENT4_NV 0x8ED1 2601848b8605Smrg#define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 2602848b8605Smrg#define GL_COVERAGE_BUFFERS_NV 0x8ED3 2603848b8605Smrg#define GL_COVERAGE_SAMPLES_NV 0x8ED4 2604848b8605Smrg#define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 2605848b8605Smrg#define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 2606848b8605Smrg#define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 2607848b8605Smrg#define GL_COVERAGE_BUFFER_BIT_NV 0x00008000 2608848b8605Smrgtypedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); 2609848b8605Smrgtypedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); 2610848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2611848b8605SmrgGL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); 2612848b8605SmrgGL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); 2613848b8605Smrg#endif 2614848b8605Smrg#endif /* GL_NV_coverage_sample */ 2615848b8605Smrg 2616848b8605Smrg#ifndef GL_NV_depth_nonlinear 2617848b8605Smrg#define GL_NV_depth_nonlinear 1 2618848b8605Smrg#define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C 2619848b8605Smrg#endif /* GL_NV_depth_nonlinear */ 2620848b8605Smrg 2621848b8605Smrg#ifndef GL_NV_draw_buffers 2622848b8605Smrg#define GL_NV_draw_buffers 1 2623848b8605Smrg#define GL_MAX_DRAW_BUFFERS_NV 0x8824 2624848b8605Smrg#define GL_DRAW_BUFFER0_NV 0x8825 2625848b8605Smrg#define GL_DRAW_BUFFER1_NV 0x8826 2626848b8605Smrg#define GL_DRAW_BUFFER2_NV 0x8827 2627848b8605Smrg#define GL_DRAW_BUFFER3_NV 0x8828 2628848b8605Smrg#define GL_DRAW_BUFFER4_NV 0x8829 2629848b8605Smrg#define GL_DRAW_BUFFER5_NV 0x882A 2630848b8605Smrg#define GL_DRAW_BUFFER6_NV 0x882B 2631848b8605Smrg#define GL_DRAW_BUFFER7_NV 0x882C 2632848b8605Smrg#define GL_DRAW_BUFFER8_NV 0x882D 2633848b8605Smrg#define GL_DRAW_BUFFER9_NV 0x882E 2634848b8605Smrg#define GL_DRAW_BUFFER10_NV 0x882F 2635848b8605Smrg#define GL_DRAW_BUFFER11_NV 0x8830 2636848b8605Smrg#define GL_DRAW_BUFFER12_NV 0x8831 2637848b8605Smrg#define GL_DRAW_BUFFER13_NV 0x8832 2638848b8605Smrg#define GL_DRAW_BUFFER14_NV 0x8833 2639848b8605Smrg#define GL_DRAW_BUFFER15_NV 0x8834 2640848b8605Smrg#define GL_COLOR_ATTACHMENT0_NV 0x8CE0 2641848b8605Smrg#define GL_COLOR_ATTACHMENT1_NV 0x8CE1 2642848b8605Smrg#define GL_COLOR_ATTACHMENT2_NV 0x8CE2 2643848b8605Smrg#define GL_COLOR_ATTACHMENT3_NV 0x8CE3 2644848b8605Smrg#define GL_COLOR_ATTACHMENT4_NV 0x8CE4 2645848b8605Smrg#define GL_COLOR_ATTACHMENT5_NV 0x8CE5 2646848b8605Smrg#define GL_COLOR_ATTACHMENT6_NV 0x8CE6 2647848b8605Smrg#define GL_COLOR_ATTACHMENT7_NV 0x8CE7 2648848b8605Smrg#define GL_COLOR_ATTACHMENT8_NV 0x8CE8 2649848b8605Smrg#define GL_COLOR_ATTACHMENT9_NV 0x8CE9 2650848b8605Smrg#define GL_COLOR_ATTACHMENT10_NV 0x8CEA 2651848b8605Smrg#define GL_COLOR_ATTACHMENT11_NV 0x8CEB 2652848b8605Smrg#define GL_COLOR_ATTACHMENT12_NV 0x8CEC 2653848b8605Smrg#define GL_COLOR_ATTACHMENT13_NV 0x8CED 2654848b8605Smrg#define GL_COLOR_ATTACHMENT14_NV 0x8CEE 2655848b8605Smrg#define GL_COLOR_ATTACHMENT15_NV 0x8CEF 2656848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs); 2657848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2658848b8605SmrgGL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs); 2659848b8605Smrg#endif 2660848b8605Smrg#endif /* GL_NV_draw_buffers */ 2661848b8605Smrg 2662848b8605Smrg#ifndef GL_NV_draw_instanced 2663848b8605Smrg#define GL_NV_draw_instanced 1 2664848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 2665848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 2666848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2667848b8605SmrgGL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 2668848b8605SmrgGL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 2669848b8605Smrg#endif 2670848b8605Smrg#endif /* GL_NV_draw_instanced */ 2671848b8605Smrg 2672b8e80941Smrg#ifndef GL_NV_draw_vulkan_image 2673b8e80941Smrg#define GL_NV_draw_vulkan_image 1 2674b8e80941Smrgtypedef void (GL_APIENTRY *GLVULKANPROCNV)(void); 2675b8e80941Smrgtypedef 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); 2676b8e80941Smrgtypedef GLVULKANPROCNV (GL_APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name); 2677b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); 2678b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); 2679b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence); 2680b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2681b8e80941SmrgGL_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); 2682b8e80941SmrgGL_APICALL GLVULKANPROCNV GL_APIENTRY glGetVkProcAddrNV (const GLchar *name); 2683b8e80941SmrgGL_APICALL void GL_APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore); 2684b8e80941SmrgGL_APICALL void GL_APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore); 2685b8e80941SmrgGL_APICALL void GL_APIENTRY glSignalVkFenceNV (GLuint64 vkFence); 2686b8e80941Smrg#endif 2687b8e80941Smrg#endif /* GL_NV_draw_vulkan_image */ 2688b8e80941Smrg 2689848b8605Smrg#ifndef GL_NV_explicit_attrib_location 2690848b8605Smrg#define GL_NV_explicit_attrib_location 1 2691848b8605Smrg#endif /* GL_NV_explicit_attrib_location */ 2692848b8605Smrg 2693848b8605Smrg#ifndef GL_NV_fbo_color_attachments 2694848b8605Smrg#define GL_NV_fbo_color_attachments 1 2695848b8605Smrg#define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF 2696848b8605Smrg#endif /* GL_NV_fbo_color_attachments */ 2697848b8605Smrg 2698848b8605Smrg#ifndef GL_NV_fence 2699848b8605Smrg#define GL_NV_fence 1 2700848b8605Smrg#define GL_ALL_COMPLETED_NV 0x84F2 2701848b8605Smrg#define GL_FENCE_STATUS_NV 0x84F3 2702848b8605Smrg#define GL_FENCE_CONDITION_NV 0x84F4 2703848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); 2704848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); 2705848b8605Smrgtypedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); 2706848b8605Smrgtypedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); 2707848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); 2708848b8605Smrgtypedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); 2709848b8605Smrgtypedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); 2710848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2711848b8605SmrgGL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); 2712848b8605SmrgGL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); 2713848b8605SmrgGL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); 2714848b8605SmrgGL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); 2715848b8605SmrgGL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); 2716848b8605SmrgGL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence); 2717848b8605SmrgGL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); 2718848b8605Smrg#endif 2719848b8605Smrg#endif /* GL_NV_fence */ 2720848b8605Smrg 2721b8e80941Smrg#ifndef GL_NV_fill_rectangle 2722b8e80941Smrg#define GL_NV_fill_rectangle 1 2723b8e80941Smrg#define GL_FILL_RECTANGLE_NV 0x933C 2724b8e80941Smrg#endif /* GL_NV_fill_rectangle */ 2725b8e80941Smrg 2726b8e80941Smrg#ifndef GL_NV_fragment_coverage_to_color 2727b8e80941Smrg#define GL_NV_fragment_coverage_to_color 1 2728b8e80941Smrg#define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD 2729b8e80941Smrg#define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE 2730b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color); 2731b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2732b8e80941SmrgGL_APICALL void GL_APIENTRY glFragmentCoverageColorNV (GLuint color); 2733b8e80941Smrg#endif 2734b8e80941Smrg#endif /* GL_NV_fragment_coverage_to_color */ 2735b8e80941Smrg 2736b8e80941Smrg#ifndef GL_NV_fragment_shader_interlock 2737b8e80941Smrg#define GL_NV_fragment_shader_interlock 1 2738b8e80941Smrg#endif /* GL_NV_fragment_shader_interlock */ 2739b8e80941Smrg 2740848b8605Smrg#ifndef GL_NV_framebuffer_blit 2741848b8605Smrg#define GL_NV_framebuffer_blit 1 2742848b8605Smrg#define GL_READ_FRAMEBUFFER_NV 0x8CA8 2743848b8605Smrg#define GL_DRAW_FRAMEBUFFER_NV 0x8CA9 2744848b8605Smrg#define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6 2745848b8605Smrg#define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA 2746848b8605Smrgtypedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 2747848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2748848b8605SmrgGL_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); 2749848b8605Smrg#endif 2750848b8605Smrg#endif /* GL_NV_framebuffer_blit */ 2751848b8605Smrg 2752b8e80941Smrg#ifndef GL_NV_framebuffer_mixed_samples 2753b8e80941Smrg#define GL_NV_framebuffer_mixed_samples 1 2754b8e80941Smrg#define GL_COVERAGE_MODULATION_TABLE_NV 0x9331 2755b8e80941Smrg#define GL_COLOR_SAMPLES_NV 0x8E20 2756b8e80941Smrg#define GL_DEPTH_SAMPLES_NV 0x932D 2757b8e80941Smrg#define GL_STENCIL_SAMPLES_NV 0x932E 2758b8e80941Smrg#define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F 2759b8e80941Smrg#define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330 2760b8e80941Smrg#define GL_COVERAGE_MODULATION_NV 0x9332 2761b8e80941Smrg#define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333 2762b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v); 2763b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v); 2764b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components); 2765b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2766b8e80941SmrgGL_APICALL void GL_APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v); 2767b8e80941SmrgGL_APICALL void GL_APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v); 2768b8e80941SmrgGL_APICALL void GL_APIENTRY glCoverageModulationNV (GLenum components); 2769b8e80941Smrg#endif 2770b8e80941Smrg#endif /* GL_NV_framebuffer_mixed_samples */ 2771b8e80941Smrg 2772848b8605Smrg#ifndef GL_NV_framebuffer_multisample 2773848b8605Smrg#define GL_NV_framebuffer_multisample 1 2774848b8605Smrg#define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB 2775848b8605Smrg#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56 2776848b8605Smrg#define GL_MAX_SAMPLES_NV 0x8D57 2777848b8605Smrgtypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2778848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2779848b8605SmrgGL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2780848b8605Smrg#endif 2781848b8605Smrg#endif /* GL_NV_framebuffer_multisample */ 2782848b8605Smrg 2783848b8605Smrg#ifndef GL_NV_generate_mipmap_sRGB 2784848b8605Smrg#define GL_NV_generate_mipmap_sRGB 1 2785848b8605Smrg#endif /* GL_NV_generate_mipmap_sRGB */ 2786848b8605Smrg 2787b8e80941Smrg#ifndef GL_NV_geometry_shader_passthrough 2788b8e80941Smrg#define GL_NV_geometry_shader_passthrough 1 2789b8e80941Smrg#endif /* GL_NV_geometry_shader_passthrough */ 2790b8e80941Smrg 2791b8e80941Smrg#ifndef GL_NV_gpu_shader5 2792b8e80941Smrg#define GL_NV_gpu_shader5 1 2793b8e80941Smrgtypedef khronos_int64_t GLint64EXT; 2794b8e80941Smrgtypedef khronos_uint64_t GLuint64EXT; 2795b8e80941Smrg#define GL_INT64_NV 0x140E 2796b8e80941Smrg#define GL_UNSIGNED_INT64_NV 0x140F 2797b8e80941Smrg#define GL_INT8_NV 0x8FE0 2798b8e80941Smrg#define GL_INT8_VEC2_NV 0x8FE1 2799b8e80941Smrg#define GL_INT8_VEC3_NV 0x8FE2 2800b8e80941Smrg#define GL_INT8_VEC4_NV 0x8FE3 2801b8e80941Smrg#define GL_INT16_NV 0x8FE4 2802b8e80941Smrg#define GL_INT16_VEC2_NV 0x8FE5 2803b8e80941Smrg#define GL_INT16_VEC3_NV 0x8FE6 2804b8e80941Smrg#define GL_INT16_VEC4_NV 0x8FE7 2805b8e80941Smrg#define GL_INT64_VEC2_NV 0x8FE9 2806b8e80941Smrg#define GL_INT64_VEC3_NV 0x8FEA 2807b8e80941Smrg#define GL_INT64_VEC4_NV 0x8FEB 2808b8e80941Smrg#define GL_UNSIGNED_INT8_NV 0x8FEC 2809b8e80941Smrg#define GL_UNSIGNED_INT8_VEC2_NV 0x8FED 2810b8e80941Smrg#define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE 2811b8e80941Smrg#define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF 2812b8e80941Smrg#define GL_UNSIGNED_INT16_NV 0x8FF0 2813b8e80941Smrg#define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1 2814b8e80941Smrg#define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2 2815b8e80941Smrg#define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3 2816b8e80941Smrg#define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 2817b8e80941Smrg#define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 2818b8e80941Smrg#define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 2819b8e80941Smrg#define GL_FLOAT16_NV 0x8FF8 2820b8e80941Smrg#define GL_FLOAT16_VEC2_NV 0x8FF9 2821b8e80941Smrg#define GL_FLOAT16_VEC3_NV 0x8FFA 2822b8e80941Smrg#define GL_FLOAT16_VEC4_NV 0x8FFB 2823b8e80941Smrg#define GL_PATCHES 0x000E 2824b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x); 2825b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y); 2826b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 2827b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 2828b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 2829b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 2830b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 2831b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 2832b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x); 2833b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y); 2834b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 2835b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 2836b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 2837b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 2838b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 2839b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 2840b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params); 2841b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x); 2842b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); 2843b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 2844b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 2845b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2846b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2847b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2848b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2849b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x); 2850b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); 2851b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 2852b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 2853b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2854b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2855b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2856b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2857b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2858b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform1i64NV (GLint location, GLint64EXT x); 2859b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y); 2860b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 2861b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 2862b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 2863b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 2864b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 2865b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 2866b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x); 2867b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y); 2868b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 2869b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 2870b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 2871b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 2872b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 2873b8e80941SmrgGL_APICALL void GL_APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 2874b8e80941SmrgGL_APICALL void GL_APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params); 2875b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x); 2876b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); 2877b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 2878b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 2879b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2880b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2881b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2882b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2883b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x); 2884b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); 2885b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 2886b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 2887b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2888b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2889b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2890b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2891b8e80941Smrg#endif 2892b8e80941Smrg#endif /* GL_NV_gpu_shader5 */ 2893b8e80941Smrg 2894b8e80941Smrg#ifndef GL_NV_image_formats 2895b8e80941Smrg#define GL_NV_image_formats 1 2896b8e80941Smrg#endif /* GL_NV_image_formats */ 2897b8e80941Smrg 2898848b8605Smrg#ifndef GL_NV_instanced_arrays 2899848b8605Smrg#define GL_NV_instanced_arrays 1 2900848b8605Smrg#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE 2901848b8605Smrgtypedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor); 2902848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2903848b8605SmrgGL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor); 2904848b8605Smrg#endif 2905848b8605Smrg#endif /* GL_NV_instanced_arrays */ 2906848b8605Smrg 2907b8e80941Smrg#ifndef GL_NV_internalformat_sample_query 2908b8e80941Smrg#define GL_NV_internalformat_sample_query 1 2909b8e80941Smrg#define GL_TEXTURE_2D_MULTISAMPLE 0x9100 2910b8e80941Smrg#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 2911b8e80941Smrg#define GL_MULTISAMPLES_NV 0x9371 2912b8e80941Smrg#define GL_SUPERSAMPLE_SCALE_X_NV 0x9372 2913b8e80941Smrg#define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373 2914b8e80941Smrg#define GL_CONFORMANT_NV 0x9374 2915b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); 2916b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 2917b8e80941SmrgGL_APICALL void GL_APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); 2918b8e80941Smrg#endif 2919b8e80941Smrg#endif /* GL_NV_internalformat_sample_query */ 2920b8e80941Smrg 2921848b8605Smrg#ifndef GL_NV_non_square_matrices 2922848b8605Smrg#define GL_NV_non_square_matrices 1 2923848b8605Smrg#define GL_FLOAT_MAT2x3_NV 0x8B65 2924848b8605Smrg#define GL_FLOAT_MAT2x4_NV 0x8B66 2925848b8605Smrg#define GL_FLOAT_MAT3x2_NV 0x8B67 2926848b8605Smrg#define GL_FLOAT_MAT3x4_NV 0x8B68 2927848b8605Smrg#define GL_FLOAT_MAT4x2_NV 0x8B69 2928848b8605Smrg#define GL_FLOAT_MAT4x3_NV 0x8B6A 2929848b8605Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2930848b8605Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2931848b8605Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2932848b8605Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2933848b8605Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2934848b8605Smrgtypedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2935848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 2936848b8605SmrgGL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2937848b8605SmrgGL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2938848b8605SmrgGL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2939848b8605SmrgGL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2940848b8605SmrgGL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2941848b8605SmrgGL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2942848b8605Smrg#endif 2943848b8605Smrg#endif /* GL_NV_non_square_matrices */ 2944848b8605Smrg 2945b8e80941Smrg#ifndef GL_NV_path_rendering 2946b8e80941Smrg#define GL_NV_path_rendering 1 2947b8e80941Smrgtypedef double GLdouble; 2948b8e80941Smrg#define GL_PATH_FORMAT_SVG_NV 0x9070 2949b8e80941Smrg#define GL_PATH_FORMAT_PS_NV 0x9071 2950b8e80941Smrg#define GL_STANDARD_FONT_NAME_NV 0x9072 2951b8e80941Smrg#define GL_SYSTEM_FONT_NAME_NV 0x9073 2952b8e80941Smrg#define GL_FILE_NAME_NV 0x9074 2953b8e80941Smrg#define GL_PATH_STROKE_WIDTH_NV 0x9075 2954b8e80941Smrg#define GL_PATH_END_CAPS_NV 0x9076 2955b8e80941Smrg#define GL_PATH_INITIAL_END_CAP_NV 0x9077 2956b8e80941Smrg#define GL_PATH_TERMINAL_END_CAP_NV 0x9078 2957b8e80941Smrg#define GL_PATH_JOIN_STYLE_NV 0x9079 2958b8e80941Smrg#define GL_PATH_MITER_LIMIT_NV 0x907A 2959b8e80941Smrg#define GL_PATH_DASH_CAPS_NV 0x907B 2960b8e80941Smrg#define GL_PATH_INITIAL_DASH_CAP_NV 0x907C 2961b8e80941Smrg#define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D 2962b8e80941Smrg#define GL_PATH_DASH_OFFSET_NV 0x907E 2963b8e80941Smrg#define GL_PATH_CLIENT_LENGTH_NV 0x907F 2964b8e80941Smrg#define GL_PATH_FILL_MODE_NV 0x9080 2965b8e80941Smrg#define GL_PATH_FILL_MASK_NV 0x9081 2966b8e80941Smrg#define GL_PATH_FILL_COVER_MODE_NV 0x9082 2967b8e80941Smrg#define GL_PATH_STROKE_COVER_MODE_NV 0x9083 2968b8e80941Smrg#define GL_PATH_STROKE_MASK_NV 0x9084 2969b8e80941Smrg#define GL_COUNT_UP_NV 0x9088 2970b8e80941Smrg#define GL_COUNT_DOWN_NV 0x9089 2971b8e80941Smrg#define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A 2972b8e80941Smrg#define GL_CONVEX_HULL_NV 0x908B 2973b8e80941Smrg#define GL_BOUNDING_BOX_NV 0x908D 2974b8e80941Smrg#define GL_TRANSLATE_X_NV 0x908E 2975b8e80941Smrg#define GL_TRANSLATE_Y_NV 0x908F 2976b8e80941Smrg#define GL_TRANSLATE_2D_NV 0x9090 2977b8e80941Smrg#define GL_TRANSLATE_3D_NV 0x9091 2978b8e80941Smrg#define GL_AFFINE_2D_NV 0x9092 2979b8e80941Smrg#define GL_AFFINE_3D_NV 0x9094 2980b8e80941Smrg#define GL_TRANSPOSE_AFFINE_2D_NV 0x9096 2981b8e80941Smrg#define GL_TRANSPOSE_AFFINE_3D_NV 0x9098 2982b8e80941Smrg#define GL_UTF8_NV 0x909A 2983b8e80941Smrg#define GL_UTF16_NV 0x909B 2984b8e80941Smrg#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C 2985b8e80941Smrg#define GL_PATH_COMMAND_COUNT_NV 0x909D 2986b8e80941Smrg#define GL_PATH_COORD_COUNT_NV 0x909E 2987b8e80941Smrg#define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F 2988b8e80941Smrg#define GL_PATH_COMPUTED_LENGTH_NV 0x90A0 2989b8e80941Smrg#define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1 2990b8e80941Smrg#define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2 2991b8e80941Smrg#define GL_SQUARE_NV 0x90A3 2992b8e80941Smrg#define GL_ROUND_NV 0x90A4 2993b8e80941Smrg#define GL_TRIANGULAR_NV 0x90A5 2994b8e80941Smrg#define GL_BEVEL_NV 0x90A6 2995b8e80941Smrg#define GL_MITER_REVERT_NV 0x90A7 2996b8e80941Smrg#define GL_MITER_TRUNCATE_NV 0x90A8 2997b8e80941Smrg#define GL_SKIP_MISSING_GLYPH_NV 0x90A9 2998b8e80941Smrg#define GL_USE_MISSING_GLYPH_NV 0x90AA 2999b8e80941Smrg#define GL_PATH_ERROR_POSITION_NV 0x90AB 3000b8e80941Smrg#define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD 3001b8e80941Smrg#define GL_ADJACENT_PAIRS_NV 0x90AE 3002b8e80941Smrg#define GL_FIRST_TO_REST_NV 0x90AF 3003b8e80941Smrg#define GL_PATH_GEN_MODE_NV 0x90B0 3004b8e80941Smrg#define GL_PATH_GEN_COEFF_NV 0x90B1 3005b8e80941Smrg#define GL_PATH_GEN_COMPONENTS_NV 0x90B3 3006b8e80941Smrg#define GL_PATH_STENCIL_FUNC_NV 0x90B7 3007b8e80941Smrg#define GL_PATH_STENCIL_REF_NV 0x90B8 3008b8e80941Smrg#define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9 3009b8e80941Smrg#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD 3010b8e80941Smrg#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE 3011b8e80941Smrg#define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF 3012b8e80941Smrg#define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4 3013b8e80941Smrg#define GL_MOVE_TO_RESETS_NV 0x90B5 3014b8e80941Smrg#define GL_MOVE_TO_CONTINUES_NV 0x90B6 3015b8e80941Smrg#define GL_CLOSE_PATH_NV 0x00 3016b8e80941Smrg#define GL_MOVE_TO_NV 0x02 3017b8e80941Smrg#define GL_RELATIVE_MOVE_TO_NV 0x03 3018b8e80941Smrg#define GL_LINE_TO_NV 0x04 3019b8e80941Smrg#define GL_RELATIVE_LINE_TO_NV 0x05 3020b8e80941Smrg#define GL_HORIZONTAL_LINE_TO_NV 0x06 3021b8e80941Smrg#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07 3022b8e80941Smrg#define GL_VERTICAL_LINE_TO_NV 0x08 3023b8e80941Smrg#define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09 3024b8e80941Smrg#define GL_QUADRATIC_CURVE_TO_NV 0x0A 3025b8e80941Smrg#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B 3026b8e80941Smrg#define GL_CUBIC_CURVE_TO_NV 0x0C 3027b8e80941Smrg#define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D 3028b8e80941Smrg#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E 3029b8e80941Smrg#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F 3030b8e80941Smrg#define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10 3031b8e80941Smrg#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11 3032b8e80941Smrg#define GL_SMALL_CCW_ARC_TO_NV 0x12 3033b8e80941Smrg#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13 3034b8e80941Smrg#define GL_SMALL_CW_ARC_TO_NV 0x14 3035b8e80941Smrg#define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15 3036b8e80941Smrg#define GL_LARGE_CCW_ARC_TO_NV 0x16 3037b8e80941Smrg#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17 3038b8e80941Smrg#define GL_LARGE_CW_ARC_TO_NV 0x18 3039b8e80941Smrg#define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19 3040b8e80941Smrg#define GL_RESTART_PATH_NV 0xF0 3041b8e80941Smrg#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2 3042b8e80941Smrg#define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4 3043b8e80941Smrg#define GL_RECT_NV 0xF6 3044b8e80941Smrg#define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8 3045b8e80941Smrg#define GL_CIRCULAR_CW_ARC_TO_NV 0xFA 3046b8e80941Smrg#define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC 3047b8e80941Smrg#define GL_ARC_TO_NV 0xFE 3048b8e80941Smrg#define GL_RELATIVE_ARC_TO_NV 0xFF 3049b8e80941Smrg#define GL_BOLD_BIT_NV 0x01 3050b8e80941Smrg#define GL_ITALIC_BIT_NV 0x02 3051b8e80941Smrg#define GL_GLYPH_WIDTH_BIT_NV 0x01 3052b8e80941Smrg#define GL_GLYPH_HEIGHT_BIT_NV 0x02 3053b8e80941Smrg#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04 3054b8e80941Smrg#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08 3055b8e80941Smrg#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10 3056b8e80941Smrg#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20 3057b8e80941Smrg#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40 3058b8e80941Smrg#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80 3059b8e80941Smrg#define GL_GLYPH_HAS_KERNING_BIT_NV 0x100 3060b8e80941Smrg#define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000 3061b8e80941Smrg#define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000 3062b8e80941Smrg#define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000 3063b8e80941Smrg#define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000 3064b8e80941Smrg#define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000 3065b8e80941Smrg#define GL_FONT_ASCENDER_BIT_NV 0x00200000 3066b8e80941Smrg#define GL_FONT_DESCENDER_BIT_NV 0x00400000 3067b8e80941Smrg#define GL_FONT_HEIGHT_BIT_NV 0x00800000 3068b8e80941Smrg#define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000 3069b8e80941Smrg#define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000 3070b8e80941Smrg#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000 3071b8e80941Smrg#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000 3072b8e80941Smrg#define GL_FONT_HAS_KERNING_BIT_NV 0x10000000 3073b8e80941Smrg#define GL_ROUNDED_RECT_NV 0xE8 3074b8e80941Smrg#define GL_RELATIVE_ROUNDED_RECT_NV 0xE9 3075b8e80941Smrg#define GL_ROUNDED_RECT2_NV 0xEA 3076b8e80941Smrg#define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB 3077b8e80941Smrg#define GL_ROUNDED_RECT4_NV 0xEC 3078b8e80941Smrg#define GL_RELATIVE_ROUNDED_RECT4_NV 0xED 3079b8e80941Smrg#define GL_ROUNDED_RECT8_NV 0xEE 3080b8e80941Smrg#define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF 3081b8e80941Smrg#define GL_RELATIVE_RECT_NV 0xF7 3082b8e80941Smrg#define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368 3083b8e80941Smrg#define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369 3084b8e80941Smrg#define GL_FONT_UNAVAILABLE_NV 0x936A 3085b8e80941Smrg#define GL_FONT_UNINTELLIGIBLE_NV 0x936B 3086b8e80941Smrg#define GL_CONIC_CURVE_TO_NV 0x1A 3087b8e80941Smrg#define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B 3088b8e80941Smrg#define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000 3089b8e80941Smrg#define GL_STANDARD_FONT_FORMAT_NV 0x936C 3090b8e80941Smrg#define GL_PATH_PROJECTION_NV 0x1701 3091b8e80941Smrg#define GL_PATH_MODELVIEW_NV 0x1700 3092b8e80941Smrg#define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3 3093b8e80941Smrg#define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6 3094b8e80941Smrg#define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36 3095b8e80941Smrg#define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3 3096b8e80941Smrg#define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4 3097b8e80941Smrg#define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7 3098b8e80941Smrg#define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38 3099b8e80941Smrg#define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4 3100b8e80941Smrg#define GL_FRAGMENT_INPUT_NV 0x936D 3101b8e80941Smrgtypedef GLuint (GL_APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range); 3102b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range); 3103b8e80941Smrgtypedef GLboolean (GL_APIENTRYP PFNGLISPATHNVPROC) (GLuint path); 3104b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 3105b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); 3106b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 3107b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); 3108b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString); 3109b8e80941Smrgtypedef 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); 3110b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3111b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); 3112b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath); 3113b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); 3114b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); 3115b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value); 3116b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value); 3117b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value); 3118b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value); 3119b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray); 3120b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask); 3121b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units); 3122b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask); 3123b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask); 3124b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); 3125b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); 3126b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func); 3127b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode); 3128b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode); 3129b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3130b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3131b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value); 3132b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value); 3133b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands); 3134b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords); 3135b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray); 3136b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); 3137b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); 3138b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); 3139b8e80941Smrgtypedef GLboolean (GL_APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y); 3140b8e80941Smrgtypedef GLboolean (GL_APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y); 3141b8e80941Smrgtypedef GLfloat (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments); 3142b8e80941Smrgtypedef GLboolean (GL_APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); 3143b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); 3144b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 3145b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 3146b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); 3147b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 3148b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 3149b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); 3150b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode); 3151b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3152b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3153b8e80941Smrgtypedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); 3154b8e80941Smrgtypedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3155b8e80941Smrgtypedef GLenum (GL_APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3156b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); 3157b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); 3158b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 3159b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode); 3160b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); 3161b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); 3162b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m); 3163b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m); 3164b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); 3165b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); 3166b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m); 3167b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m); 3168b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 3169b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode); 3170b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode); 3171b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 3172b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 3173b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 3174b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 3175b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 3176b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 3177b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3178b8e80941SmrgGL_APICALL GLuint GL_APIENTRY glGenPathsNV (GLsizei range); 3179b8e80941SmrgGL_APICALL void GL_APIENTRY glDeletePathsNV (GLuint path, GLsizei range); 3180b8e80941SmrgGL_APICALL GLboolean GL_APIENTRY glIsPathNV (GLuint path); 3181b8e80941SmrgGL_APICALL void GL_APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 3182b8e80941SmrgGL_APICALL void GL_APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); 3183b8e80941SmrgGL_APICALL void GL_APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 3184b8e80941SmrgGL_APICALL void GL_APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); 3185b8e80941SmrgGL_APICALL void GL_APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString); 3186b8e80941SmrgGL_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); 3187b8e80941SmrgGL_APICALL void GL_APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3188b8e80941SmrgGL_APICALL void GL_APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); 3189b8e80941SmrgGL_APICALL void GL_APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath); 3190b8e80941SmrgGL_APICALL void GL_APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); 3191b8e80941SmrgGL_APICALL void GL_APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); 3192b8e80941SmrgGL_APICALL void GL_APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value); 3193b8e80941SmrgGL_APICALL void GL_APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value); 3194b8e80941SmrgGL_APICALL void GL_APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value); 3195b8e80941SmrgGL_APICALL void GL_APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value); 3196b8e80941SmrgGL_APICALL void GL_APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray); 3197b8e80941SmrgGL_APICALL void GL_APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask); 3198b8e80941SmrgGL_APICALL void GL_APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units); 3199b8e80941SmrgGL_APICALL void GL_APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask); 3200b8e80941SmrgGL_APICALL void GL_APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask); 3201b8e80941SmrgGL_APICALL void GL_APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); 3202b8e80941SmrgGL_APICALL void GL_APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); 3203b8e80941SmrgGL_APICALL void GL_APIENTRY glPathCoverDepthFuncNV (GLenum func); 3204b8e80941SmrgGL_APICALL void GL_APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode); 3205b8e80941SmrgGL_APICALL void GL_APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode); 3206b8e80941SmrgGL_APICALL void GL_APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3207b8e80941SmrgGL_APICALL void GL_APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3208b8e80941SmrgGL_APICALL void GL_APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value); 3209b8e80941SmrgGL_APICALL void GL_APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value); 3210b8e80941SmrgGL_APICALL void GL_APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands); 3211b8e80941SmrgGL_APICALL void GL_APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords); 3212b8e80941SmrgGL_APICALL void GL_APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray); 3213b8e80941SmrgGL_APICALL void GL_APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); 3214b8e80941SmrgGL_APICALL void GL_APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); 3215b8e80941SmrgGL_APICALL void GL_APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); 3216b8e80941SmrgGL_APICALL GLboolean GL_APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y); 3217b8e80941SmrgGL_APICALL GLboolean GL_APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y); 3218b8e80941SmrgGL_APICALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments); 3219b8e80941SmrgGL_APICALL GLboolean GL_APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); 3220b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m); 3221b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m); 3222b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); 3223b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m); 3224b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m); 3225b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); 3226b8e80941SmrgGL_APICALL void GL_APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); 3227b8e80941SmrgGL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode); 3228b8e80941SmrgGL_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); 3229b8e80941SmrgGL_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); 3230b8e80941SmrgGL_APICALL GLenum GL_APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); 3231b8e80941SmrgGL_APICALL GLenum GL_APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3232b8e80941SmrgGL_APICALL GLenum GL_APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3233b8e80941SmrgGL_APICALL void GL_APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); 3234b8e80941SmrgGL_APICALL void GL_APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); 3235b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 3236b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixLoadIdentityEXT (GLenum mode); 3237b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m); 3238b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m); 3239b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m); 3240b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m); 3241b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m); 3242b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m); 3243b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m); 3244b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m); 3245b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 3246b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixPopEXT (GLenum mode); 3247b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixPushEXT (GLenum mode); 3248b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 3249b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 3250b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 3251b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 3252b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 3253b8e80941SmrgGL_APICALL void GL_APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 3254b8e80941Smrg#endif 3255b8e80941Smrg#endif /* GL_NV_path_rendering */ 3256b8e80941Smrg 3257b8e80941Smrg#ifndef GL_NV_path_rendering_shared_edge 3258b8e80941Smrg#define GL_NV_path_rendering_shared_edge 1 3259b8e80941Smrg#define GL_SHARED_EDGE_NV 0xC0 3260b8e80941Smrg#endif /* GL_NV_path_rendering_shared_edge */ 3261b8e80941Smrg 3262b8e80941Smrg#ifndef GL_NV_pixel_buffer_object 3263b8e80941Smrg#define GL_NV_pixel_buffer_object 1 3264b8e80941Smrg#define GL_PIXEL_PACK_BUFFER_NV 0x88EB 3265b8e80941Smrg#define GL_PIXEL_UNPACK_BUFFER_NV 0x88EC 3266b8e80941Smrg#define GL_PIXEL_PACK_BUFFER_BINDING_NV 0x88ED 3267b8e80941Smrg#define GL_PIXEL_UNPACK_BUFFER_BINDING_NV 0x88EF 3268b8e80941Smrg#endif /* GL_NV_pixel_buffer_object */ 3269b8e80941Smrg 3270b8e80941Smrg#ifndef GL_NV_polygon_mode 3271b8e80941Smrg#define GL_NV_polygon_mode 1 3272b8e80941Smrg#define GL_POLYGON_MODE_NV 0x0B40 3273b8e80941Smrg#define GL_POLYGON_OFFSET_POINT_NV 0x2A01 3274b8e80941Smrg#define GL_POLYGON_OFFSET_LINE_NV 0x2A02 3275b8e80941Smrg#define GL_POINT_NV 0x1B00 3276b8e80941Smrg#define GL_LINE_NV 0x1B01 3277b8e80941Smrg#define GL_FILL_NV 0x1B02 3278b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLPOLYGONMODENVPROC) (GLenum face, GLenum mode); 3279b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3280b8e80941SmrgGL_APICALL void GL_APIENTRY glPolygonModeNV (GLenum face, GLenum mode); 3281b8e80941Smrg#endif 3282b8e80941Smrg#endif /* GL_NV_polygon_mode */ 3283b8e80941Smrg 3284848b8605Smrg#ifndef GL_NV_read_buffer 3285848b8605Smrg#define GL_NV_read_buffer 1 3286848b8605Smrg#define GL_READ_BUFFER_NV 0x0C02 3287848b8605Smrgtypedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode); 3288848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3289848b8605SmrgGL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode); 3290848b8605Smrg#endif 3291848b8605Smrg#endif /* GL_NV_read_buffer */ 3292848b8605Smrg 3293848b8605Smrg#ifndef GL_NV_read_buffer_front 3294848b8605Smrg#define GL_NV_read_buffer_front 1 3295848b8605Smrg#endif /* GL_NV_read_buffer_front */ 3296848b8605Smrg 3297848b8605Smrg#ifndef GL_NV_read_depth 3298848b8605Smrg#define GL_NV_read_depth 1 3299848b8605Smrg#endif /* GL_NV_read_depth */ 3300848b8605Smrg 3301848b8605Smrg#ifndef GL_NV_read_depth_stencil 3302848b8605Smrg#define GL_NV_read_depth_stencil 1 3303848b8605Smrg#endif /* GL_NV_read_depth_stencil */ 3304848b8605Smrg 3305848b8605Smrg#ifndef GL_NV_read_stencil 3306848b8605Smrg#define GL_NV_read_stencil 1 3307848b8605Smrg#endif /* GL_NV_read_stencil */ 3308848b8605Smrg 3309848b8605Smrg#ifndef GL_NV_sRGB_formats 3310848b8605Smrg#define GL_NV_sRGB_formats 1 3311848b8605Smrg#define GL_SLUMINANCE_NV 0x8C46 3312848b8605Smrg#define GL_SLUMINANCE_ALPHA_NV 0x8C44 3313848b8605Smrg#define GL_SRGB8_NV 0x8C41 3314848b8605Smrg#define GL_SLUMINANCE8_NV 0x8C47 3315848b8605Smrg#define GL_SLUMINANCE8_ALPHA8_NV 0x8C45 3316848b8605Smrg#define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C 3317848b8605Smrg#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D 3318848b8605Smrg#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E 3319848b8605Smrg#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F 3320848b8605Smrg#define GL_ETC1_SRGB8_NV 0x88EE 3321848b8605Smrg#endif /* GL_NV_sRGB_formats */ 3322848b8605Smrg 3323b8e80941Smrg#ifndef GL_NV_sample_locations 3324b8e80941Smrg#define GL_NV_sample_locations 1 3325b8e80941Smrg#define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D 3326b8e80941Smrg#define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E 3327b8e80941Smrg#define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F 3328b8e80941Smrg#define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340 3329b8e80941Smrg#define GL_SAMPLE_LOCATION_NV 0x8E50 3330b8e80941Smrg#define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341 3331b8e80941Smrg#define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342 3332b8e80941Smrg#define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343 3333b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v); 3334b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); 3335b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void); 3336b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3337b8e80941SmrgGL_APICALL void GL_APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v); 3338b8e80941SmrgGL_APICALL void GL_APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); 3339b8e80941SmrgGL_APICALL void GL_APIENTRY glResolveDepthValuesNV (void); 3340b8e80941Smrg#endif 3341b8e80941Smrg#endif /* GL_NV_sample_locations */ 3342b8e80941Smrg 3343b8e80941Smrg#ifndef GL_NV_sample_mask_override_coverage 3344b8e80941Smrg#define GL_NV_sample_mask_override_coverage 1 3345b8e80941Smrg#endif /* GL_NV_sample_mask_override_coverage */ 3346b8e80941Smrg 3347b8e80941Smrg#ifndef GL_NV_shader_atomic_fp16_vector 3348b8e80941Smrg#define GL_NV_shader_atomic_fp16_vector 1 3349b8e80941Smrg#endif /* GL_NV_shader_atomic_fp16_vector */ 3350b8e80941Smrg 3351b8e80941Smrg#ifndef GL_NV_shader_noperspective_interpolation 3352b8e80941Smrg#define GL_NV_shader_noperspective_interpolation 1 3353b8e80941Smrg#endif /* GL_NV_shader_noperspective_interpolation */ 3354b8e80941Smrg 3355848b8605Smrg#ifndef GL_NV_shadow_samplers_array 3356848b8605Smrg#define GL_NV_shadow_samplers_array 1 3357848b8605Smrg#define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4 3358848b8605Smrg#endif /* GL_NV_shadow_samplers_array */ 3359848b8605Smrg 3360848b8605Smrg#ifndef GL_NV_shadow_samplers_cube 3361848b8605Smrg#define GL_NV_shadow_samplers_cube 1 3362848b8605Smrg#define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5 3363848b8605Smrg#endif /* GL_NV_shadow_samplers_cube */ 3364848b8605Smrg 3365b8e80941Smrg#ifndef GL_NV_stereo_view_rendering 3366b8e80941Smrg#define GL_NV_stereo_view_rendering 1 3367b8e80941Smrg#endif /* GL_NV_stereo_view_rendering */ 3368b8e80941Smrg 3369848b8605Smrg#ifndef GL_NV_texture_border_clamp 3370848b8605Smrg#define GL_NV_texture_border_clamp 1 3371848b8605Smrg#define GL_TEXTURE_BORDER_COLOR_NV 0x1004 3372848b8605Smrg#define GL_CLAMP_TO_BORDER_NV 0x812D 3373848b8605Smrg#endif /* GL_NV_texture_border_clamp */ 3374848b8605Smrg 3375848b8605Smrg#ifndef GL_NV_texture_compression_s3tc_update 3376848b8605Smrg#define GL_NV_texture_compression_s3tc_update 1 3377848b8605Smrg#endif /* GL_NV_texture_compression_s3tc_update */ 3378848b8605Smrg 3379848b8605Smrg#ifndef GL_NV_texture_npot_2D_mipmap 3380848b8605Smrg#define GL_NV_texture_npot_2D_mipmap 1 3381848b8605Smrg#endif /* GL_NV_texture_npot_2D_mipmap */ 3382848b8605Smrg 3383b8e80941Smrg#ifndef GL_NV_viewport_array 3384b8e80941Smrg#define GL_NV_viewport_array 1 3385b8e80941Smrg#define GL_MAX_VIEWPORTS_NV 0x825B 3386b8e80941Smrg#define GL_VIEWPORT_SUBPIXEL_BITS_NV 0x825C 3387b8e80941Smrg#define GL_VIEWPORT_BOUNDS_RANGE_NV 0x825D 3388b8e80941Smrg#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_NV 0x825F 3389b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVNVPROC) (GLuint first, GLsizei count, const GLfloat *v); 3390b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 3391b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVNVPROC) (GLuint index, const GLfloat *v); 3392b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSCISSORARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v); 3393b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDNVPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 3394b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVNVPROC) (GLuint index, const GLint *v); 3395b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVNVPROC) (GLuint first, GLsizei count, const GLfloat *v); 3396b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFNVPROC) (GLuint index, GLfloat n, GLfloat f); 3397b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLGETFLOATI_VNVPROC) (GLenum target, GLuint index, GLfloat *data); 3398b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLENABLEINVPROC) (GLenum target, GLuint index); 3399b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLDISABLEINVPROC) (GLenum target, GLuint index); 3400b8e80941Smrgtypedef GLboolean (GL_APIENTRYP PFNGLISENABLEDINVPROC) (GLenum target, GLuint index); 3401b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3402b8e80941SmrgGL_APICALL void GL_APIENTRY glViewportArrayvNV (GLuint first, GLsizei count, const GLfloat *v); 3403b8e80941SmrgGL_APICALL void GL_APIENTRY glViewportIndexedfNV (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 3404b8e80941SmrgGL_APICALL void GL_APIENTRY glViewportIndexedfvNV (GLuint index, const GLfloat *v); 3405b8e80941SmrgGL_APICALL void GL_APIENTRY glScissorArrayvNV (GLuint first, GLsizei count, const GLint *v); 3406b8e80941SmrgGL_APICALL void GL_APIENTRY glScissorIndexedNV (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 3407b8e80941SmrgGL_APICALL void GL_APIENTRY glScissorIndexedvNV (GLuint index, const GLint *v); 3408b8e80941SmrgGL_APICALL void GL_APIENTRY glDepthRangeArrayfvNV (GLuint first, GLsizei count, const GLfloat *v); 3409b8e80941SmrgGL_APICALL void GL_APIENTRY glDepthRangeIndexedfNV (GLuint index, GLfloat n, GLfloat f); 3410b8e80941SmrgGL_APICALL void GL_APIENTRY glGetFloati_vNV (GLenum target, GLuint index, GLfloat *data); 3411b8e80941SmrgGL_APICALL void GL_APIENTRY glEnableiNV (GLenum target, GLuint index); 3412b8e80941SmrgGL_APICALL void GL_APIENTRY glDisableiNV (GLenum target, GLuint index); 3413b8e80941SmrgGL_APICALL GLboolean GL_APIENTRY glIsEnablediNV (GLenum target, GLuint index); 3414b8e80941Smrg#endif 3415b8e80941Smrg#endif /* GL_NV_viewport_array */ 3416b8e80941Smrg 3417b8e80941Smrg#ifndef GL_NV_viewport_array2 3418b8e80941Smrg#define GL_NV_viewport_array2 1 3419b8e80941Smrg#endif /* GL_NV_viewport_array2 */ 3420b8e80941Smrg 3421b8e80941Smrg#ifndef GL_NV_viewport_swizzle 3422b8e80941Smrg#define GL_NV_viewport_swizzle 1 3423b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350 3424b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351 3425b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352 3426b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353 3427b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354 3428b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355 3429b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356 3430b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357 3431b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_X_NV 0x9358 3432b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359 3433b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A 3434b8e80941Smrg#define GL_VIEWPORT_SWIZZLE_W_NV 0x935B 3435b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); 3436b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3437b8e80941SmrgGL_APICALL void GL_APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); 3438b8e80941Smrg#endif 3439b8e80941Smrg#endif /* GL_NV_viewport_swizzle */ 3440b8e80941Smrg 3441b8e80941Smrg#ifndef GL_OVR_multiview 3442b8e80941Smrg#define GL_OVR_multiview 1 3443b8e80941Smrg#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630 3444b8e80941Smrg#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632 3445b8e80941Smrg#define GL_MAX_VIEWS_OVR 0x9631 3446b8e80941Smrg#define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633 3447b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); 3448b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3449b8e80941SmrgGL_APICALL void GL_APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); 3450b8e80941Smrg#endif 3451b8e80941Smrg#endif /* GL_OVR_multiview */ 3452b8e80941Smrg 3453b8e80941Smrg#ifndef GL_OVR_multiview2 3454b8e80941Smrg#define GL_OVR_multiview2 1 3455b8e80941Smrg#endif /* GL_OVR_multiview2 */ 3456b8e80941Smrg 3457b8e80941Smrg#ifndef GL_OVR_multiview_multisampled_render_to_texture 3458b8e80941Smrg#define GL_OVR_multiview_multisampled_render_to_texture 1 3459b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews); 3460b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3461b8e80941SmrgGL_APICALL void GL_APIENTRY glFramebufferTextureMultisampleMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews); 3462b8e80941Smrg#endif 3463b8e80941Smrg#endif /* GL_OVR_multiview_multisampled_render_to_texture */ 3464b8e80941Smrg 3465848b8605Smrg#ifndef GL_QCOM_alpha_test 3466848b8605Smrg#define GL_QCOM_alpha_test 1 3467848b8605Smrg#define GL_ALPHA_TEST_QCOM 0x0BC0 3468848b8605Smrg#define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 3469848b8605Smrg#define GL_ALPHA_TEST_REF_QCOM 0x0BC2 3470848b8605Smrgtypedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref); 3471848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3472848b8605SmrgGL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref); 3473848b8605Smrg#endif 3474848b8605Smrg#endif /* GL_QCOM_alpha_test */ 3475848b8605Smrg 3476848b8605Smrg#ifndef GL_QCOM_binning_control 3477848b8605Smrg#define GL_QCOM_binning_control 1 3478848b8605Smrg#define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0 3479848b8605Smrg#define GL_CPU_OPTIMIZED_QCOM 0x8FB1 3480848b8605Smrg#define GL_GPU_OPTIMIZED_QCOM 0x8FB2 3481848b8605Smrg#define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3 3482848b8605Smrg#endif /* GL_QCOM_binning_control */ 3483848b8605Smrg 3484848b8605Smrg#ifndef GL_QCOM_driver_control 3485848b8605Smrg#define GL_QCOM_driver_control 1 3486848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); 3487848b8605Smrgtypedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); 3488848b8605Smrgtypedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); 3489848b8605Smrgtypedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); 3490848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3491848b8605SmrgGL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls); 3492848b8605SmrgGL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); 3493848b8605SmrgGL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); 3494848b8605SmrgGL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); 3495848b8605Smrg#endif 3496848b8605Smrg#endif /* GL_QCOM_driver_control */ 3497848b8605Smrg 3498848b8605Smrg#ifndef GL_QCOM_extended_get 3499848b8605Smrg#define GL_QCOM_extended_get 1 3500848b8605Smrg#define GL_TEXTURE_WIDTH_QCOM 0x8BD2 3501848b8605Smrg#define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 3502848b8605Smrg#define GL_TEXTURE_DEPTH_QCOM 0x8BD4 3503848b8605Smrg#define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 3504848b8605Smrg#define GL_TEXTURE_FORMAT_QCOM 0x8BD6 3505848b8605Smrg#define GL_TEXTURE_TYPE_QCOM 0x8BD7 3506848b8605Smrg#define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 3507848b8605Smrg#define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 3508848b8605Smrg#define GL_TEXTURE_TARGET_QCOM 0x8BDA 3509848b8605Smrg#define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB 3510848b8605Smrg#define GL_STATE_RESTORE 0x8BDC 3511848b8605Smrgtypedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); 3512848b8605Smrgtypedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); 3513848b8605Smrgtypedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); 3514848b8605Smrgtypedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); 3515848b8605Smrgtypedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); 3516848b8605Smrgtypedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); 3517848b8605Smrgtypedef 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); 3518848b8605Smrgtypedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params); 3519848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3520848b8605SmrgGL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures); 3521848b8605SmrgGL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); 3522848b8605SmrgGL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); 3523848b8605SmrgGL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); 3524848b8605SmrgGL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); 3525848b8605SmrgGL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param); 3526848b8605SmrgGL_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); 3527848b8605SmrgGL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params); 3528848b8605Smrg#endif 3529848b8605Smrg#endif /* GL_QCOM_extended_get */ 3530848b8605Smrg 3531848b8605Smrg#ifndef GL_QCOM_extended_get2 3532848b8605Smrg#define GL_QCOM_extended_get2 1 3533848b8605Smrgtypedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); 3534848b8605Smrgtypedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); 3535848b8605Smrgtypedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); 3536848b8605Smrgtypedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); 3537848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3538848b8605SmrgGL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders); 3539848b8605SmrgGL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms); 3540848b8605SmrgGL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); 3541848b8605SmrgGL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length); 3542848b8605Smrg#endif 3543848b8605Smrg#endif /* GL_QCOM_extended_get2 */ 3544848b8605Smrg 3545b8e80941Smrg#ifndef GL_QCOM_framebuffer_foveated 3546b8e80941Smrg#define GL_QCOM_framebuffer_foveated 1 3547b8e80941Smrg#define GL_FOVEATION_ENABLE_BIT_QCOM 0x00000001 3548b8e80941Smrg#define GL_FOVEATION_SCALED_BIN_METHOD_BIT_QCOM 0x00000002 3549b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC) (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint *providedFeatures); 3550b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC) (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); 3551b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3552b8e80941SmrgGL_APICALL void GL_APIENTRY glFramebufferFoveationConfigQCOM (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint *providedFeatures); 3553b8e80941SmrgGL_APICALL void GL_APIENTRY glFramebufferFoveationParametersQCOM (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); 3554b8e80941Smrg#endif 3555b8e80941Smrg#endif /* GL_QCOM_framebuffer_foveated */ 3556b8e80941Smrg 3557848b8605Smrg#ifndef GL_QCOM_perfmon_global_mode 3558848b8605Smrg#define GL_QCOM_perfmon_global_mode 1 3559848b8605Smrg#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 3560848b8605Smrg#endif /* GL_QCOM_perfmon_global_mode */ 3561848b8605Smrg 3562b8e80941Smrg#ifndef GL_QCOM_shader_framebuffer_fetch_noncoherent 3563b8e80941Smrg#define GL_QCOM_shader_framebuffer_fetch_noncoherent 1 3564b8e80941Smrg#define GL_FRAMEBUFFER_FETCH_NONCOHERENT_QCOM 0x96A2 3565b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC) (void); 3566b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3567b8e80941SmrgGL_APICALL void GL_APIENTRY glFramebufferFetchBarrierQCOM (void); 3568b8e80941Smrg#endif 3569b8e80941Smrg#endif /* GL_QCOM_shader_framebuffer_fetch_noncoherent */ 3570b8e80941Smrg 3571b8e80941Smrg#ifndef GL_QCOM_texture_foveated 3572b8e80941Smrg#define GL_QCOM_texture_foveated 1 3573b8e80941Smrg#define GL_TEXTURE_FOVEATED_FEATURE_BITS_QCOM 0x8BFB 3574b8e80941Smrg#define GL_TEXTURE_FOVEATED_MIN_PIXEL_DENSITY_QCOM 0x8BFC 3575b8e80941Smrg#define GL_TEXTURE_FOVEATED_FEATURE_QUERY_QCOM 0x8BFD 3576b8e80941Smrg#define GL_TEXTURE_FOVEATED_NUM_FOCAL_POINTS_QUERY_QCOM 0x8BFE 3577b8e80941Smrg#define GL_FRAMEBUFFER_INCOMPLETE_FOVEATION_QCOM 0x8BFF 3578b8e80941Smrgtypedef void (GL_APIENTRYP PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC) (GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); 3579b8e80941Smrg#ifdef GL_GLEXT_PROTOTYPES 3580b8e80941SmrgGL_APICALL void GL_APIENTRY glTextureFoveationParametersQCOM (GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); 3581b8e80941Smrg#endif 3582b8e80941Smrg#endif /* GL_QCOM_texture_foveated */ 3583b8e80941Smrg 3584848b8605Smrg#ifndef GL_QCOM_tiled_rendering 3585848b8605Smrg#define GL_QCOM_tiled_rendering 1 3586848b8605Smrg#define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 3587848b8605Smrg#define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 3588848b8605Smrg#define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 3589848b8605Smrg#define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 3590848b8605Smrg#define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 3591848b8605Smrg#define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 3592848b8605Smrg#define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 3593848b8605Smrg#define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 3594848b8605Smrg#define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 3595848b8605Smrg#define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 3596848b8605Smrg#define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 3597848b8605Smrg#define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 3598848b8605Smrg#define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 3599848b8605Smrg#define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 3600848b8605Smrg#define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 3601848b8605Smrg#define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 3602848b8605Smrg#define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 3603848b8605Smrg#define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 3604848b8605Smrg#define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 3605848b8605Smrg#define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 3606848b8605Smrg#define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 3607848b8605Smrg#define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 3608848b8605Smrg#define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 3609848b8605Smrg#define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 3610848b8605Smrg#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 3611848b8605Smrg#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 3612848b8605Smrg#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 3613848b8605Smrg#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 3614848b8605Smrg#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 3615848b8605Smrg#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 3616848b8605Smrg#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 3617848b8605Smrg#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 3618848b8605Smrgtypedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); 3619848b8605Smrgtypedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); 3620848b8605Smrg#ifdef GL_GLEXT_PROTOTYPES 3621848b8605SmrgGL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); 3622848b8605SmrgGL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); 3623848b8605Smrg#endif 3624848b8605Smrg#endif /* GL_QCOM_tiled_rendering */ 3625848b8605Smrg 3626848b8605Smrg#ifndef GL_QCOM_writeonly_rendering 3627848b8605Smrg#define GL_QCOM_writeonly_rendering 1 3628848b8605Smrg#define GL_WRITEONLY_RENDERING_QCOM 0x8823 3629848b8605Smrg#endif /* GL_QCOM_writeonly_rendering */ 3630848b8605Smrg 3631848b8605Smrg#ifndef GL_VIV_shader_binary 3632848b8605Smrg#define GL_VIV_shader_binary 1 3633848b8605Smrg#define GL_SHADER_BINARY_VIV 0x8FC4 3634848b8605Smrg#endif /* GL_VIV_shader_binary */ 3635848b8605Smrg 3636848b8605Smrg#ifdef __cplusplus 3637848b8605Smrg} 3638848b8605Smrg#endif 3639848b8605Smrg 3640848b8605Smrg#endif 3641