1 #ifndef __gl2ext_h_ 2 #define __gl2ext_h_ 1 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 /* 9 ** Copyright (c) 2013-2017 The Khronos Group Inc. 10 ** 11 ** Permission is hereby granted, free of charge, to any person obtaining a 12 ** copy of this software and/or associated documentation files (the 13 ** "Materials"), to deal in the Materials without restriction, including 14 ** without limitation the rights to use, copy, modify, merge, publish, 15 ** distribute, sublicense, and/or sell copies of the Materials, and to 16 ** permit persons to whom the Materials are furnished to do so, subject to 17 ** the following conditions: 18 ** 19 ** The above copyright notice and this permission notice shall be included 20 ** in all copies or substantial portions of the Materials. 21 ** 22 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 23 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 24 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 25 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 29 */ 30 /* 31 ** This header is generated from the Khronos OpenGL / OpenGL ES XML 32 ** API Registry. The current version of the Registry, generator scripts 33 ** used to make the header, and the header can be found at 34 ** https://github.com/KhronosGroup/OpenGL-Registry 35 */ 36 37 #ifndef GL_APIENTRYP 38 #define GL_APIENTRYP GL_APIENTRY* 39 #endif 40 41 /* Generated on date 20170613 */ 42 43 /* Generated C header for: 44 * API: gles2 45 * Profile: common 46 * Versions considered: 2\.[0-9] 47 * Versions emitted: _nomatch_^ 48 * Default extensions included: gles2 49 * Additional extensions included: _nomatch_^ 50 * Extensions removed: _nomatch_^ 51 */ 52 53 #ifndef GL_KHR_blend_equation_advanced 54 #define GL_KHR_blend_equation_advanced 1 55 #define GL_MULTIPLY_KHR 0x9294 56 #define GL_SCREEN_KHR 0x9295 57 #define GL_OVERLAY_KHR 0x9296 58 #define GL_DARKEN_KHR 0x9297 59 #define GL_LIGHTEN_KHR 0x9298 60 #define GL_COLORDODGE_KHR 0x9299 61 #define GL_COLORBURN_KHR 0x929A 62 #define GL_HARDLIGHT_KHR 0x929B 63 #define GL_SOFTLIGHT_KHR 0x929C 64 #define GL_DIFFERENCE_KHR 0x929E 65 #define GL_EXCLUSION_KHR 0x92A0 66 #define GL_HSL_HUE_KHR 0x92AD 67 #define GL_HSL_SATURATION_KHR 0x92AE 68 #define GL_HSL_COLOR_KHR 0x92AF 69 #define GL_HSL_LUMINOSITY_KHR 0x92B0 70 typedef void (GL_APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void); 71 #ifdef GL_GLEXT_PROTOTYPES 72 GL_APICALL void GL_APIENTRY glBlendBarrierKHR (void); 73 #endif 74 #endif /* GL_KHR_blend_equation_advanced */ 75 76 #ifndef GL_KHR_blend_equation_advanced_coherent 77 #define GL_KHR_blend_equation_advanced_coherent 1 78 #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285 79 #endif /* GL_KHR_blend_equation_advanced_coherent */ 80 81 #ifndef GL_KHR_context_flush_control 82 #define GL_KHR_context_flush_control 1 83 #define GL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x82FB 84 #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x82FC 85 #endif /* GL_KHR_context_flush_control */ 86 87 #ifndef GL_KHR_debug 88 #define GL_KHR_debug 1 89 typedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); 90 #define GL_SAMPLER 0x82E6 91 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242 92 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243 93 #define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244 94 #define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245 95 #define GL_DEBUG_SOURCE_API_KHR 0x8246 96 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247 97 #define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248 98 #define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249 99 #define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A 100 #define GL_DEBUG_SOURCE_OTHER_KHR 0x824B 101 #define GL_DEBUG_TYPE_ERROR_KHR 0x824C 102 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D 103 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E 104 #define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F 105 #define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250 106 #define GL_DEBUG_TYPE_OTHER_KHR 0x8251 107 #define GL_DEBUG_TYPE_MARKER_KHR 0x8268 108 #define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269 109 #define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A 110 #define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B 111 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C 112 #define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D 113 #define GL_BUFFER_KHR 0x82E0 114 #define GL_SHADER_KHR 0x82E1 115 #define GL_PROGRAM_KHR 0x82E2 116 #define GL_VERTEX_ARRAY_KHR 0x8074 117 #define GL_QUERY_KHR 0x82E3 118 #define GL_PROGRAM_PIPELINE_KHR 0x82E4 119 #define GL_SAMPLER_KHR 0x82E6 120 #define GL_MAX_LABEL_LENGTH_KHR 0x82E8 121 #define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143 122 #define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144 123 #define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145 124 #define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146 125 #define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147 126 #define GL_DEBUG_SEVERITY_LOW_KHR 0x9148 127 #define GL_DEBUG_OUTPUT_KHR 0x92E0 128 #define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002 129 #define GL_STACK_OVERFLOW_KHR 0x0503 130 #define GL_STACK_UNDERFLOW_KHR 0x0504 131 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 132 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 133 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam); 134 typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 135 typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); 136 typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void); 137 typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); 138 typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); 139 typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label); 140 typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); 141 typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params); 142 #ifdef GL_GLEXT_PROTOTYPES 143 GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 144 GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 145 GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam); 146 GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 147 GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message); 148 GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void); 149 GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); 150 GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); 151 GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label); 152 GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); 153 GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params); 154 #endif 155 #endif /* GL_KHR_debug */ 156 157 #ifndef GL_KHR_no_error 158 #define GL_KHR_no_error 1 159 #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008 160 #endif /* GL_KHR_no_error */ 161 162 #ifndef GL_KHR_robust_buffer_access_behavior 163 #define GL_KHR_robust_buffer_access_behavior 1 164 #endif /* GL_KHR_robust_buffer_access_behavior */ 165 166 #ifndef GL_KHR_robustness 167 #define GL_KHR_robustness 1 168 #define GL_CONTEXT_ROBUST_ACCESS_KHR 0x90F3 169 #define GL_LOSE_CONTEXT_ON_RESET_KHR 0x8252 170 #define GL_GUILTY_CONTEXT_RESET_KHR 0x8253 171 #define GL_INNOCENT_CONTEXT_RESET_KHR 0x8254 172 #define GL_UNKNOWN_CONTEXT_RESET_KHR 0x8255 173 #define GL_RESET_NOTIFICATION_STRATEGY_KHR 0x8256 174 #define GL_NO_RESET_NOTIFICATION_KHR 0x8261 175 #define GL_CONTEXT_LOST_KHR 0x0507 176 typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC) (void); 177 typedef void (GL_APIENTRYP PFNGLREADNPIXELSKHRPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 178 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 179 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); 180 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 181 #ifdef GL_GLEXT_PROTOTYPES 182 GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusKHR (void); 183 GL_APICALL void GL_APIENTRY glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 184 GL_APICALL void GL_APIENTRY glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 185 GL_APICALL void GL_APIENTRY glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint *params); 186 GL_APICALL void GL_APIENTRY glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 187 #endif 188 #endif /* GL_KHR_robustness */ 189 190 #ifndef GL_KHR_texture_compression_astc_hdr 191 #define GL_KHR_texture_compression_astc_hdr 1 192 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 193 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 194 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 195 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 196 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 197 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 198 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 199 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 200 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 201 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 202 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA 203 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB 204 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC 205 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD 206 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 207 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 208 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 209 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 210 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 211 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 212 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 213 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 214 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 215 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 216 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA 217 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB 218 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC 219 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD 220 #endif /* GL_KHR_texture_compression_astc_hdr */ 221 222 #ifndef GL_KHR_texture_compression_astc_ldr 223 #define GL_KHR_texture_compression_astc_ldr 1 224 #endif /* GL_KHR_texture_compression_astc_ldr */ 225 226 #ifndef GL_KHR_texture_compression_astc_sliced_3d 227 #define GL_KHR_texture_compression_astc_sliced_3d 1 228 #endif /* GL_KHR_texture_compression_astc_sliced_3d */ 229 230 #ifndef GL_OES_EGL_image 231 #define GL_OES_EGL_image 1 232 typedef void *GLeglImageOES; 233 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); 234 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); 235 #ifdef GL_GLEXT_PROTOTYPES 236 GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); 237 GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); 238 #endif 239 #endif /* GL_OES_EGL_image */ 240 241 #ifndef GL_OES_EGL_image_external 242 #define GL_OES_EGL_image_external 1 243 #define GL_TEXTURE_EXTERNAL_OES 0x8D65 244 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 245 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 246 #define GL_SAMPLER_EXTERNAL_OES 0x8D66 247 #endif /* GL_OES_EGL_image_external */ 248 249 #ifndef GL_OES_EGL_image_external_essl3 250 #define GL_OES_EGL_image_external_essl3 1 251 #endif /* GL_OES_EGL_image_external_essl3 */ 252 253 #ifndef GL_OES_compressed_ETC1_RGB8_sub_texture 254 #define GL_OES_compressed_ETC1_RGB8_sub_texture 1 255 #endif /* GL_OES_compressed_ETC1_RGB8_sub_texture */ 256 257 #ifndef GL_OES_compressed_ETC1_RGB8_texture 258 #define GL_OES_compressed_ETC1_RGB8_texture 1 259 #define GL_ETC1_RGB8_OES 0x8D64 260 #endif /* GL_OES_compressed_ETC1_RGB8_texture */ 261 262 #ifndef GL_OES_compressed_paletted_texture 263 #define GL_OES_compressed_paletted_texture 1 264 #define GL_PALETTE4_RGB8_OES 0x8B90 265 #define GL_PALETTE4_RGBA8_OES 0x8B91 266 #define GL_PALETTE4_R5_G6_B5_OES 0x8B92 267 #define GL_PALETTE4_RGBA4_OES 0x8B93 268 #define GL_PALETTE4_RGB5_A1_OES 0x8B94 269 #define GL_PALETTE8_RGB8_OES 0x8B95 270 #define GL_PALETTE8_RGBA8_OES 0x8B96 271 #define GL_PALETTE8_R5_G6_B5_OES 0x8B97 272 #define GL_PALETTE8_RGBA4_OES 0x8B98 273 #define GL_PALETTE8_RGB5_A1_OES 0x8B99 274 #endif /* GL_OES_compressed_paletted_texture */ 275 276 #ifndef GL_OES_copy_image 277 #define GL_OES_copy_image 1 278 typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAOESPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); 279 #ifdef GL_GLEXT_PROTOTYPES 280 GL_APICALL void GL_APIENTRY glCopyImageSubDataOES (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); 281 #endif 282 #endif /* GL_OES_copy_image */ 283 284 #ifndef GL_OES_depth24 285 #define GL_OES_depth24 1 286 #define GL_DEPTH_COMPONENT24_OES 0x81A6 287 #endif /* GL_OES_depth24 */ 288 289 #ifndef GL_OES_depth32 290 #define GL_OES_depth32 1 291 #define GL_DEPTH_COMPONENT32_OES 0x81A7 292 #endif /* GL_OES_depth32 */ 293 294 #ifndef GL_OES_depth_texture 295 #define GL_OES_depth_texture 1 296 #endif /* GL_OES_depth_texture */ 297 298 #ifndef GL_OES_draw_buffers_indexed 299 #define GL_OES_draw_buffers_indexed 1 300 #define GL_MIN 0x8007 301 #define GL_MAX 0x8008 302 typedef void (GL_APIENTRYP PFNGLENABLEIOESPROC) (GLenum target, GLuint index); 303 typedef void (GL_APIENTRYP PFNGLDISABLEIOESPROC) (GLenum target, GLuint index); 304 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIOESPROC) (GLuint buf, GLenum mode); 305 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIOESPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 306 typedef void (GL_APIENTRYP PFNGLBLENDFUNCIOESPROC) (GLuint buf, GLenum src, GLenum dst); 307 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIOESPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 308 typedef void (GL_APIENTRYP PFNGLCOLORMASKIOESPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 309 typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIOESPROC) (GLenum target, GLuint index); 310 #ifdef GL_GLEXT_PROTOTYPES 311 GL_APICALL void GL_APIENTRY glEnableiOES (GLenum target, GLuint index); 312 GL_APICALL void GL_APIENTRY glDisableiOES (GLenum target, GLuint index); 313 GL_APICALL void GL_APIENTRY glBlendEquationiOES (GLuint buf, GLenum mode); 314 GL_APICALL void GL_APIENTRY glBlendEquationSeparateiOES (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 315 GL_APICALL void GL_APIENTRY glBlendFunciOES (GLuint buf, GLenum src, GLenum dst); 316 GL_APICALL void GL_APIENTRY glBlendFuncSeparateiOES (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 317 GL_APICALL void GL_APIENTRY glColorMaskiOES (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 318 GL_APICALL GLboolean GL_APIENTRY glIsEnablediOES (GLenum target, GLuint index); 319 #endif 320 #endif /* GL_OES_draw_buffers_indexed */ 321 322 #ifndef GL_OES_draw_elements_base_vertex 323 #define GL_OES_draw_elements_base_vertex 1 324 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 325 typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 326 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 327 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); 328 #ifdef GL_GLEXT_PROTOTYPES 329 GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 330 GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 331 GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 332 GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexOES (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); 333 #endif 334 #endif /* GL_OES_draw_elements_base_vertex */ 335 336 #ifndef GL_OES_element_index_uint 337 #define GL_OES_element_index_uint 1 338 #endif /* GL_OES_element_index_uint */ 339 340 #ifndef GL_OES_fbo_render_mipmap 341 #define GL_OES_fbo_render_mipmap 1 342 #endif /* GL_OES_fbo_render_mipmap */ 343 344 #ifndef GL_OES_fragment_precision_high 345 #define GL_OES_fragment_precision_high 1 346 #endif /* GL_OES_fragment_precision_high */ 347 348 #ifndef GL_OES_geometry_point_size 349 #define GL_OES_geometry_point_size 1 350 #endif /* GL_OES_geometry_point_size */ 351 352 #ifndef GL_OES_geometry_shader 353 #define GL_OES_geometry_shader 1 354 #define GL_GEOMETRY_SHADER_OES 0x8DD9 355 #define GL_GEOMETRY_SHADER_BIT_OES 0x00000004 356 #define GL_GEOMETRY_LINKED_VERTICES_OUT_OES 0x8916 357 #define GL_GEOMETRY_LINKED_INPUT_TYPE_OES 0x8917 358 #define GL_GEOMETRY_LINKED_OUTPUT_TYPE_OES 0x8918 359 #define GL_GEOMETRY_SHADER_INVOCATIONS_OES 0x887F 360 #define GL_LAYER_PROVOKING_VERTEX_OES 0x825E 361 #define GL_LINES_ADJACENCY_OES 0x000A 362 #define GL_LINE_STRIP_ADJACENCY_OES 0x000B 363 #define GL_TRIANGLES_ADJACENCY_OES 0x000C 364 #define GL_TRIANGLE_STRIP_ADJACENCY_OES 0x000D 365 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8DDF 366 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_OES 0x8A2C 367 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8A32 368 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS_OES 0x9123 369 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_OES 0x9124 370 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_OES 0x8DE0 371 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_OES 0x8DE1 372 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_OES 0x8E5A 373 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_OES 0x8C29 374 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES 0x92CF 375 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_OES 0x92D5 376 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_OES 0x90CD 377 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_OES 0x90D7 378 #define GL_FIRST_VERTEX_CONVENTION_OES 0x8E4D 379 #define GL_LAST_VERTEX_CONVENTION_OES 0x8E4E 380 #define GL_UNDEFINED_VERTEX_OES 0x8260 381 #define GL_PRIMITIVES_GENERATED_OES 0x8C87 382 #define GL_FRAMEBUFFER_DEFAULT_LAYERS_OES 0x9312 383 #define GL_MAX_FRAMEBUFFER_LAYERS_OES 0x9317 384 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_OES 0x8DA8 385 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES 0x8DA7 386 #define GL_REFERENCED_BY_GEOMETRY_SHADER_OES 0x9309 387 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREOESPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); 388 #ifdef GL_GLEXT_PROTOTYPES 389 GL_APICALL void GL_APIENTRY glFramebufferTextureOES (GLenum target, GLenum attachment, GLuint texture, GLint level); 390 #endif 391 #endif /* GL_OES_geometry_shader */ 392 393 #ifndef GL_OES_get_program_binary 394 #define GL_OES_get_program_binary 1 395 #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 396 #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE 397 #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF 398 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); 399 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length); 400 #ifdef GL_GLEXT_PROTOTYPES 401 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); 402 GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length); 403 #endif 404 #endif /* GL_OES_get_program_binary */ 405 406 #ifndef GL_OES_gpu_shader5 407 #define GL_OES_gpu_shader5 1 408 #endif /* GL_OES_gpu_shader5 */ 409 410 #ifndef GL_OES_mapbuffer 411 #define GL_OES_mapbuffer 1 412 #define GL_WRITE_ONLY_OES 0x88B9 413 #define GL_BUFFER_ACCESS_OES 0x88BB 414 #define GL_BUFFER_MAPPED_OES 0x88BC 415 #define GL_BUFFER_MAP_POINTER_OES 0x88BD 416 typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); 417 typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); 418 typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params); 419 #ifdef GL_GLEXT_PROTOTYPES 420 GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); 421 GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); 422 GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params); 423 #endif 424 #endif /* GL_OES_mapbuffer */ 425 426 #ifndef GL_OES_packed_depth_stencil 427 #define GL_OES_packed_depth_stencil 1 428 #define GL_DEPTH_STENCIL_OES 0x84F9 429 #define GL_UNSIGNED_INT_24_8_OES 0x84FA 430 #define GL_DEPTH24_STENCIL8_OES 0x88F0 431 #endif /* GL_OES_packed_depth_stencil */ 432 433 #ifndef GL_OES_primitive_bounding_box 434 #define GL_OES_primitive_bounding_box 1 435 #define GL_PRIMITIVE_BOUNDING_BOX_OES 0x92BE 436 typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXOESPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 437 #ifdef GL_GLEXT_PROTOTYPES 438 GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxOES (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 439 #endif 440 #endif /* GL_OES_primitive_bounding_box */ 441 442 #ifndef GL_OES_required_internalformat 443 #define GL_OES_required_internalformat 1 444 #define GL_ALPHA8_OES 0x803C 445 #define GL_DEPTH_COMPONENT16_OES 0x81A5 446 #define GL_LUMINANCE4_ALPHA4_OES 0x8043 447 #define GL_LUMINANCE8_ALPHA8_OES 0x8045 448 #define GL_LUMINANCE8_OES 0x8040 449 #define GL_RGBA4_OES 0x8056 450 #define GL_RGB5_A1_OES 0x8057 451 #define GL_RGB565_OES 0x8D62 452 #define GL_RGB8_OES 0x8051 453 #define GL_RGBA8_OES 0x8058 454 #define GL_RGB10_EXT 0x8052 455 #define GL_RGB10_A2_EXT 0x8059 456 #endif /* GL_OES_required_internalformat */ 457 458 #ifndef GL_OES_rgb8_rgba8 459 #define GL_OES_rgb8_rgba8 1 460 #endif /* GL_OES_rgb8_rgba8 */ 461 462 #ifndef GL_OES_sample_shading 463 #define GL_OES_sample_shading 1 464 #define GL_SAMPLE_SHADING_OES 0x8C36 465 #define GL_MIN_SAMPLE_SHADING_VALUE_OES 0x8C37 466 typedef void (GL_APIENTRYP PFNGLMINSAMPLESHADINGOESPROC) (GLfloat value); 467 #ifdef GL_GLEXT_PROTOTYPES 468 GL_APICALL void GL_APIENTRY glMinSampleShadingOES (GLfloat value); 469 #endif 470 #endif /* GL_OES_sample_shading */ 471 472 #ifndef GL_OES_sample_variables 473 #define GL_OES_sample_variables 1 474 #endif /* GL_OES_sample_variables */ 475 476 #ifndef GL_OES_shader_image_atomic 477 #define GL_OES_shader_image_atomic 1 478 #endif /* GL_OES_shader_image_atomic */ 479 480 #ifndef GL_OES_shader_io_blocks 481 #define GL_OES_shader_io_blocks 1 482 #endif /* GL_OES_shader_io_blocks */ 483 484 #ifndef GL_OES_shader_multisample_interpolation 485 #define GL_OES_shader_multisample_interpolation 1 486 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5B 487 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5C 488 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES 0x8E5D 489 #endif /* GL_OES_shader_multisample_interpolation */ 490 491 #ifndef GL_OES_standard_derivatives 492 #define GL_OES_standard_derivatives 1 493 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B 494 #endif /* GL_OES_standard_derivatives */ 495 496 #ifndef GL_OES_stencil1 497 #define GL_OES_stencil1 1 498 #define GL_STENCIL_INDEX1_OES 0x8D46 499 #endif /* GL_OES_stencil1 */ 500 501 #ifndef GL_OES_stencil4 502 #define GL_OES_stencil4 1 503 #define GL_STENCIL_INDEX4_OES 0x8D47 504 #endif /* GL_OES_stencil4 */ 505 506 #ifndef GL_OES_surfaceless_context 507 #define GL_OES_surfaceless_context 1 508 #define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219 509 #endif /* GL_OES_surfaceless_context */ 510 511 #ifndef GL_OES_tessellation_point_size 512 #define GL_OES_tessellation_point_size 1 513 #endif /* GL_OES_tessellation_point_size */ 514 515 #ifndef GL_OES_tessellation_shader 516 #define GL_OES_tessellation_shader 1 517 #define GL_PATCHES_OES 0x000E 518 #define GL_PATCH_VERTICES_OES 0x8E72 519 #define GL_TESS_CONTROL_OUTPUT_VERTICES_OES 0x8E75 520 #define GL_TESS_GEN_MODE_OES 0x8E76 521 #define GL_TESS_GEN_SPACING_OES 0x8E77 522 #define GL_TESS_GEN_VERTEX_ORDER_OES 0x8E78 523 #define GL_TESS_GEN_POINT_MODE_OES 0x8E79 524 #define GL_ISOLINES_OES 0x8E7A 525 #define GL_QUADS_OES 0x0007 526 #define GL_FRACTIONAL_ODD_OES 0x8E7B 527 #define GL_FRACTIONAL_EVEN_OES 0x8E7C 528 #define GL_MAX_PATCH_VERTICES_OES 0x8E7D 529 #define GL_MAX_TESS_GEN_LEVEL_OES 0x8E7E 530 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E7F 531 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E80 532 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_OES 0x8E81 533 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_OES 0x8E82 534 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES 0x8E83 535 #define GL_MAX_TESS_PATCH_COMPONENTS_OES 0x8E84 536 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_OES 0x8E85 537 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_OES 0x8E86 538 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_OES 0x8E89 539 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_OES 0x8E8A 540 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_OES 0x886C 541 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_OES 0x886D 542 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E1E 543 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E1F 544 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_OES 0x92CD 545 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_OES 0x92CE 546 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_OES 0x92D3 547 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_OES 0x92D4 548 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_OES 0x90CB 549 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_OES 0x90CC 550 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_OES 0x90D8 551 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_OES 0x90D9 552 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED_OES 0x8221 553 #define GL_IS_PER_PATCH_OES 0x92E7 554 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES 0x9307 555 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_OES 0x9308 556 #define GL_TESS_CONTROL_SHADER_OES 0x8E88 557 #define GL_TESS_EVALUATION_SHADER_OES 0x8E87 558 #define GL_TESS_CONTROL_SHADER_BIT_OES 0x00000008 559 #define GL_TESS_EVALUATION_SHADER_BIT_OES 0x00000010 560 typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIOESPROC) (GLenum pname, GLint value); 561 #ifdef GL_GLEXT_PROTOTYPES 562 GL_APICALL void GL_APIENTRY glPatchParameteriOES (GLenum pname, GLint value); 563 #endif 564 #endif /* GL_OES_tessellation_shader */ 565 566 #ifndef GL_OES_texture_3D 567 #define GL_OES_texture_3D 1 568 #define GL_TEXTURE_WRAP_R_OES 0x8072 569 #define GL_TEXTURE_3D_OES 0x806F 570 #define GL_TEXTURE_BINDING_3D_OES 0x806A 571 #define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 572 #define GL_SAMPLER_3D_OES 0x8B5F 573 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 574 typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); 575 typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); 576 typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 577 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); 578 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); 579 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 580 #ifdef GL_GLEXT_PROTOTYPES 581 GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); 582 GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); 583 GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 584 GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); 585 GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); 586 GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 587 #endif 588 #endif /* GL_OES_texture_3D */ 589 590 #ifndef GL_OES_texture_border_clamp 591 #define GL_OES_texture_border_clamp 1 592 #define GL_TEXTURE_BORDER_COLOR_OES 0x1004 593 #define GL_CLAMP_TO_BORDER_OES 0x812D 594 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, const GLint *params); 595 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, const GLuint *params); 596 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, GLint *params); 597 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, GLuint *params); 598 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, const GLint *param); 599 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, const GLuint *param); 600 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, GLint *params); 601 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, GLuint *params); 602 #ifdef GL_GLEXT_PROTOTYPES 603 GL_APICALL void GL_APIENTRY glTexParameterIivOES (GLenum target, GLenum pname, const GLint *params); 604 GL_APICALL void GL_APIENTRY glTexParameterIuivOES (GLenum target, GLenum pname, const GLuint *params); 605 GL_APICALL void GL_APIENTRY glGetTexParameterIivOES (GLenum target, GLenum pname, GLint *params); 606 GL_APICALL void GL_APIENTRY glGetTexParameterIuivOES (GLenum target, GLenum pname, GLuint *params); 607 GL_APICALL void GL_APIENTRY glSamplerParameterIivOES (GLuint sampler, GLenum pname, const GLint *param); 608 GL_APICALL void GL_APIENTRY glSamplerParameterIuivOES (GLuint sampler, GLenum pname, const GLuint *param); 609 GL_APICALL void GL_APIENTRY glGetSamplerParameterIivOES (GLuint sampler, GLenum pname, GLint *params); 610 GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivOES (GLuint sampler, GLenum pname, GLuint *params); 611 #endif 612 #endif /* GL_OES_texture_border_clamp */ 613 614 #ifndef GL_OES_texture_buffer 615 #define GL_OES_texture_buffer 1 616 #define GL_TEXTURE_BUFFER_OES 0x8C2A 617 #define GL_TEXTURE_BUFFER_BINDING_OES 0x8C2A 618 #define GL_MAX_TEXTURE_BUFFER_SIZE_OES 0x8C2B 619 #define GL_TEXTURE_BINDING_BUFFER_OES 0x8C2C 620 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES 0x8C2D 621 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES 0x919F 622 #define GL_SAMPLER_BUFFER_OES 0x8DC2 623 #define GL_INT_SAMPLER_BUFFER_OES 0x8DD0 624 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_OES 0x8DD8 625 #define GL_IMAGE_BUFFER_OES 0x9051 626 #define GL_INT_IMAGE_BUFFER_OES 0x905C 627 #define GL_UNSIGNED_INT_IMAGE_BUFFER_OES 0x9067 628 #define GL_TEXTURE_BUFFER_OFFSET_OES 0x919D 629 #define GL_TEXTURE_BUFFER_SIZE_OES 0x919E 630 typedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer); 631 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 632 #ifdef GL_GLEXT_PROTOTYPES 633 GL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer); 634 GL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 635 #endif 636 #endif /* GL_OES_texture_buffer */ 637 638 #ifndef GL_OES_texture_compression_astc 639 #define GL_OES_texture_compression_astc 1 640 #define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0 641 #define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1 642 #define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2 643 #define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3 644 #define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4 645 #define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5 646 #define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6 647 #define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7 648 #define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8 649 #define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9 650 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0 651 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1 652 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2 653 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3 654 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4 655 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5 656 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6 657 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7 658 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8 659 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9 660 #endif /* GL_OES_texture_compression_astc */ 661 662 #ifndef GL_OES_texture_cube_map_array 663 #define GL_OES_texture_cube_map_array 1 664 #define GL_TEXTURE_CUBE_MAP_ARRAY_OES 0x9009 665 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_OES 0x900A 666 #define GL_SAMPLER_CUBE_MAP_ARRAY_OES 0x900C 667 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES 0x900D 668 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900E 669 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900F 670 #define GL_IMAGE_CUBE_MAP_ARRAY_OES 0x9054 671 #define GL_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x905F 672 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x906A 673 #endif /* GL_OES_texture_cube_map_array */ 674 675 #ifndef GL_OES_texture_float 676 #define GL_OES_texture_float 1 677 #endif /* GL_OES_texture_float */ 678 679 #ifndef GL_OES_texture_float_linear 680 #define GL_OES_texture_float_linear 1 681 #endif /* GL_OES_texture_float_linear */ 682 683 #ifndef GL_OES_texture_half_float 684 #define GL_OES_texture_half_float 1 685 #define GL_HALF_FLOAT_OES 0x8D61 686 #endif /* GL_OES_texture_half_float */ 687 688 #ifndef GL_OES_texture_half_float_linear 689 #define GL_OES_texture_half_float_linear 1 690 #endif /* GL_OES_texture_half_float_linear */ 691 692 #ifndef GL_OES_texture_npot 693 #define GL_OES_texture_npot 1 694 #endif /* GL_OES_texture_npot */ 695 696 #ifndef GL_OES_texture_stencil8 697 #define GL_OES_texture_stencil8 1 698 #define GL_STENCIL_INDEX_OES 0x1901 699 #define GL_STENCIL_INDEX8_OES 0x8D48 700 #endif /* GL_OES_texture_stencil8 */ 701 702 #ifndef GL_OES_texture_storage_multisample_2d_array 703 #define GL_OES_texture_storage_multisample_2d_array 1 704 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES 0x9102 705 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES 0x9105 706 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910B 707 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910C 708 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910D 709 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 710 #ifdef GL_GLEXT_PROTOTYPES 711 GL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 712 #endif 713 #endif /* GL_OES_texture_storage_multisample_2d_array */ 714 715 #ifndef GL_OES_texture_view 716 #define GL_OES_texture_view 1 717 #define GL_TEXTURE_VIEW_MIN_LEVEL_OES 0x82DB 718 #define GL_TEXTURE_VIEW_NUM_LEVELS_OES 0x82DC 719 #define GL_TEXTURE_VIEW_MIN_LAYER_OES 0x82DD 720 #define GL_TEXTURE_VIEW_NUM_LAYERS_OES 0x82DE 721 #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF 722 typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWOESPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 723 #ifdef GL_GLEXT_PROTOTYPES 724 GL_APICALL void GL_APIENTRY glTextureViewOES (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 725 #endif 726 #endif /* GL_OES_texture_view */ 727 728 #ifndef GL_OES_vertex_array_object 729 #define GL_OES_vertex_array_object 1 730 #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 731 typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); 732 typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); 733 typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); 734 typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); 735 #ifdef GL_GLEXT_PROTOTYPES 736 GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); 737 GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); 738 GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); 739 GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); 740 #endif 741 #endif /* GL_OES_vertex_array_object */ 742 743 #ifndef GL_OES_vertex_half_float 744 #define GL_OES_vertex_half_float 1 745 #endif /* GL_OES_vertex_half_float */ 746 747 #ifndef GL_OES_vertex_type_10_10_10_2 748 #define GL_OES_vertex_type_10_10_10_2 1 749 #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 750 #define GL_INT_10_10_10_2_OES 0x8DF7 751 #endif /* GL_OES_vertex_type_10_10_10_2 */ 752 753 #ifndef GL_OES_viewport_array 754 #define GL_OES_viewport_array 1 755 #define GL_MAX_VIEWPORTS_OES 0x825B 756 #define GL_VIEWPORT_SUBPIXEL_BITS_OES 0x825C 757 #define GL_VIEWPORT_BOUNDS_RANGE_OES 0x825D 758 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES 0x825F 759 typedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVOESPROC) (GLuint first, GLsizei count, const GLfloat *v); 760 typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFOESPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 761 typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVOESPROC) (GLuint index, const GLfloat *v); 762 typedef void (GL_APIENTRYP PFNGLSCISSORARRAYVOESPROC) (GLuint first, GLsizei count, const GLint *v); 763 typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDOESPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 764 typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVOESPROC) (GLuint index, const GLint *v); 765 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVOESPROC) (GLuint first, GLsizei count, const GLfloat *v); 766 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFOESPROC) (GLuint index, GLfloat n, GLfloat f); 767 typedef void (GL_APIENTRYP PFNGLGETFLOATI_VOESPROC) (GLenum target, GLuint index, GLfloat *data); 768 #ifdef GL_GLEXT_PROTOTYPES 769 GL_APICALL void GL_APIENTRY glViewportArrayvOES (GLuint first, GLsizei count, const GLfloat *v); 770 GL_APICALL void GL_APIENTRY glViewportIndexedfOES (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 771 GL_APICALL void GL_APIENTRY glViewportIndexedfvOES (GLuint index, const GLfloat *v); 772 GL_APICALL void GL_APIENTRY glScissorArrayvOES (GLuint first, GLsizei count, const GLint *v); 773 GL_APICALL void GL_APIENTRY glScissorIndexedOES (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 774 GL_APICALL void GL_APIENTRY glScissorIndexedvOES (GLuint index, const GLint *v); 775 GL_APICALL void GL_APIENTRY glDepthRangeArrayfvOES (GLuint first, GLsizei count, const GLfloat *v); 776 GL_APICALL void GL_APIENTRY glDepthRangeIndexedfOES (GLuint index, GLfloat n, GLfloat f); 777 GL_APICALL void GL_APIENTRY glGetFloati_vOES (GLenum target, GLuint index, GLfloat *data); 778 #endif 779 #endif /* GL_OES_viewport_array */ 780 781 #ifndef GL_AMD_compressed_3DC_texture 782 #define GL_AMD_compressed_3DC_texture 1 783 #define GL_3DC_X_AMD 0x87F9 784 #define GL_3DC_XY_AMD 0x87FA 785 #endif /* GL_AMD_compressed_3DC_texture */ 786 787 #ifndef GL_AMD_compressed_ATC_texture 788 #define GL_AMD_compressed_ATC_texture 1 789 #define GL_ATC_RGB_AMD 0x8C92 790 #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 791 #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE 792 #endif /* GL_AMD_compressed_ATC_texture */ 793 794 #ifndef GL_AMD_performance_monitor 795 #define GL_AMD_performance_monitor 1 796 #define GL_COUNTER_TYPE_AMD 0x8BC0 797 #define GL_COUNTER_RANGE_AMD 0x8BC1 798 #define GL_UNSIGNED_INT64_AMD 0x8BC2 799 #define GL_PERCENTAGE_AMD 0x8BC3 800 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 801 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 802 #define GL_PERFMON_RESULT_AMD 0x8BC6 803 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 804 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 805 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 806 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 807 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); 808 typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 809 typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 810 typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); 811 typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); 812 typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); 813 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 814 #ifdef GL_GLEXT_PROTOTYPES 815 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 816 GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 817 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 818 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 819 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data); 820 GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); 821 GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); 822 GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); 823 GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor); 824 GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor); 825 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 826 #endif 827 #endif /* GL_AMD_performance_monitor */ 828 829 #ifndef GL_AMD_program_binary_Z400 830 #define GL_AMD_program_binary_Z400 1 831 #define GL_Z400_BINARY_AMD 0x8740 832 #endif /* GL_AMD_program_binary_Z400 */ 833 834 #ifndef GL_ANDROID_extension_pack_es31a 835 #define GL_ANDROID_extension_pack_es31a 1 836 #endif /* GL_ANDROID_extension_pack_es31a */ 837 838 #ifndef GL_ANGLE_depth_texture 839 #define GL_ANGLE_depth_texture 1 840 #endif /* GL_ANGLE_depth_texture */ 841 842 #ifndef GL_ANGLE_framebuffer_blit 843 #define GL_ANGLE_framebuffer_blit 1 844 #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 845 #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 846 #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 847 #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA 848 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 849 #ifdef GL_GLEXT_PROTOTYPES 850 GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 851 #endif 852 #endif /* GL_ANGLE_framebuffer_blit */ 853 854 #ifndef GL_ANGLE_framebuffer_multisample 855 #define GL_ANGLE_framebuffer_multisample 1 856 #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB 857 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 858 #define GL_MAX_SAMPLES_ANGLE 0x8D57 859 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 860 #ifdef GL_GLEXT_PROTOTYPES 861 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 862 #endif 863 #endif /* GL_ANGLE_framebuffer_multisample */ 864 865 #ifndef GL_ANGLE_instanced_arrays 866 #define GL_ANGLE_instanced_arrays 1 867 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE 868 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 869 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 870 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor); 871 #ifdef GL_GLEXT_PROTOTYPES 872 GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 873 GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 874 GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor); 875 #endif 876 #endif /* GL_ANGLE_instanced_arrays */ 877 878 #ifndef GL_ANGLE_pack_reverse_row_order 879 #define GL_ANGLE_pack_reverse_row_order 1 880 #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 881 #endif /* GL_ANGLE_pack_reverse_row_order */ 882 883 #ifndef GL_ANGLE_program_binary 884 #define GL_ANGLE_program_binary 1 885 #define GL_PROGRAM_BINARY_ANGLE 0x93A6 886 #endif /* GL_ANGLE_program_binary */ 887 888 #ifndef GL_ANGLE_texture_compression_dxt3 889 #define GL_ANGLE_texture_compression_dxt3 1 890 #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2 891 #endif /* GL_ANGLE_texture_compression_dxt3 */ 892 893 #ifndef GL_ANGLE_texture_compression_dxt5 894 #define GL_ANGLE_texture_compression_dxt5 1 895 #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3 896 #endif /* GL_ANGLE_texture_compression_dxt5 */ 897 898 #ifndef GL_ANGLE_texture_usage 899 #define GL_ANGLE_texture_usage 1 900 #define GL_TEXTURE_USAGE_ANGLE 0x93A2 901 #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3 902 #endif /* GL_ANGLE_texture_usage */ 903 904 #ifndef GL_ANGLE_translated_shader_source 905 #define GL_ANGLE_translated_shader_source 1 906 #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 907 typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); 908 #ifdef GL_GLEXT_PROTOTYPES 909 GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); 910 #endif 911 #endif /* GL_ANGLE_translated_shader_source */ 912 913 #ifndef GL_APPLE_clip_distance 914 #define GL_APPLE_clip_distance 1 915 #define GL_MAX_CLIP_DISTANCES_APPLE 0x0D32 916 #define GL_CLIP_DISTANCE0_APPLE 0x3000 917 #define GL_CLIP_DISTANCE1_APPLE 0x3001 918 #define GL_CLIP_DISTANCE2_APPLE 0x3002 919 #define GL_CLIP_DISTANCE3_APPLE 0x3003 920 #define GL_CLIP_DISTANCE4_APPLE 0x3004 921 #define GL_CLIP_DISTANCE5_APPLE 0x3005 922 #define GL_CLIP_DISTANCE6_APPLE 0x3006 923 #define GL_CLIP_DISTANCE7_APPLE 0x3007 924 #endif /* GL_APPLE_clip_distance */ 925 926 #ifndef GL_APPLE_color_buffer_packed_float 927 #define GL_APPLE_color_buffer_packed_float 1 928 #endif /* GL_APPLE_color_buffer_packed_float */ 929 930 #ifndef GL_APPLE_copy_texture_levels 931 #define GL_APPLE_copy_texture_levels 1 932 typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); 933 #ifdef GL_GLEXT_PROTOTYPES 934 GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); 935 #endif 936 #endif /* GL_APPLE_copy_texture_levels */ 937 938 #ifndef GL_APPLE_framebuffer_multisample 939 #define GL_APPLE_framebuffer_multisample 1 940 #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB 941 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 942 #define GL_MAX_SAMPLES_APPLE 0x8D57 943 #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 944 #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 945 #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 946 #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA 947 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 948 typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); 949 #ifdef GL_GLEXT_PROTOTYPES 950 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 951 GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); 952 #endif 953 #endif /* GL_APPLE_framebuffer_multisample */ 954 955 #ifndef GL_APPLE_rgb_422 956 #define GL_APPLE_rgb_422 1 957 #define GL_RGB_422_APPLE 0x8A1F 958 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA 959 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB 960 #define GL_RGB_RAW_422_APPLE 0x8A51 961 #endif /* GL_APPLE_rgb_422 */ 962 963 #ifndef GL_APPLE_sync 964 #define GL_APPLE_sync 1 965 #define GL_SYNC_OBJECT_APPLE 0x8A53 966 #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 967 #define GL_OBJECT_TYPE_APPLE 0x9112 968 #define GL_SYNC_CONDITION_APPLE 0x9113 969 #define GL_SYNC_STATUS_APPLE 0x9114 970 #define GL_SYNC_FLAGS_APPLE 0x9115 971 #define GL_SYNC_FENCE_APPLE 0x9116 972 #define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 973 #define GL_UNSIGNALED_APPLE 0x9118 974 #define GL_SIGNALED_APPLE 0x9119 975 #define GL_ALREADY_SIGNALED_APPLE 0x911A 976 #define GL_TIMEOUT_EXPIRED_APPLE 0x911B 977 #define GL_CONDITION_SATISFIED_APPLE 0x911C 978 #define GL_WAIT_FAILED_APPLE 0x911D 979 #define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 980 #define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull 981 typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags); 982 typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); 983 typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); 984 typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); 985 typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); 986 typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params); 987 typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 988 #ifdef GL_GLEXT_PROTOTYPES 989 GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags); 990 GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); 991 GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); 992 GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); 993 GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); 994 GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params); 995 GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 996 #endif 997 #endif /* GL_APPLE_sync */ 998 999 #ifndef GL_APPLE_texture_format_BGRA8888 1000 #define GL_APPLE_texture_format_BGRA8888 1 1001 #define GL_BGRA_EXT 0x80E1 1002 #define GL_BGRA8_EXT 0x93A1 1003 #endif /* GL_APPLE_texture_format_BGRA8888 */ 1004 1005 #ifndef GL_APPLE_texture_max_level 1006 #define GL_APPLE_texture_max_level 1 1007 #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D 1008 #endif /* GL_APPLE_texture_max_level */ 1009 1010 #ifndef GL_APPLE_texture_packed_float 1011 #define GL_APPLE_texture_packed_float 1 1012 #define GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE 0x8C3B 1013 #define GL_UNSIGNED_INT_5_9_9_9_REV_APPLE 0x8C3E 1014 #define GL_R11F_G11F_B10F_APPLE 0x8C3A 1015 #define GL_RGB9_E5_APPLE 0x8C3D 1016 #endif /* GL_APPLE_texture_packed_float */ 1017 1018 #ifndef GL_ARM_mali_program_binary 1019 #define GL_ARM_mali_program_binary 1 1020 #define GL_MALI_PROGRAM_BINARY_ARM 0x8F61 1021 #endif /* GL_ARM_mali_program_binary */ 1022 1023 #ifndef GL_ARM_mali_shader_binary 1024 #define GL_ARM_mali_shader_binary 1 1025 #define GL_MALI_SHADER_BINARY_ARM 0x8F60 1026 #endif /* GL_ARM_mali_shader_binary */ 1027 1028 #ifndef GL_ARM_rgba8 1029 #define GL_ARM_rgba8 1 1030 #endif /* GL_ARM_rgba8 */ 1031 1032 #ifndef GL_ARM_shader_framebuffer_fetch 1033 #define GL_ARM_shader_framebuffer_fetch 1 1034 #define GL_FETCH_PER_SAMPLE_ARM 0x8F65 1035 #define GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM 0x8F66 1036 #endif /* GL_ARM_shader_framebuffer_fetch */ 1037 1038 #ifndef GL_ARM_shader_framebuffer_fetch_depth_stencil 1039 #define GL_ARM_shader_framebuffer_fetch_depth_stencil 1 1040 #endif /* GL_ARM_shader_framebuffer_fetch_depth_stencil */ 1041 1042 #ifndef GL_DMP_program_binary 1043 #define GL_DMP_program_binary 1 1044 #define GL_SMAPHS30_PROGRAM_BINARY_DMP 0x9251 1045 #define GL_SMAPHS_PROGRAM_BINARY_DMP 0x9252 1046 #define GL_DMP_PROGRAM_BINARY_DMP 0x9253 1047 #endif /* GL_DMP_program_binary */ 1048 1049 #ifndef GL_DMP_shader_binary 1050 #define GL_DMP_shader_binary 1 1051 #define GL_SHADER_BINARY_DMP 0x9250 1052 #endif /* GL_DMP_shader_binary */ 1053 1054 #ifndef GL_EXT_EGL_image_array 1055 #define GL_EXT_EGL_image_array 1 1056 #endif /* GL_EXT_EGL_image_array */ 1057 1058 #ifndef GL_EXT_YUV_target 1059 #define GL_EXT_YUV_target 1 1060 #define GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT 0x8BE7 1061 #endif /* GL_EXT_YUV_target */ 1062 1063 #ifndef GL_EXT_base_instance 1064 #define GL_EXT_base_instance 1 1065 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); 1066 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); 1067 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); 1068 #ifdef GL_GLEXT_PROTOTYPES 1069 GL_APICALL void GL_APIENTRY glDrawArraysInstancedBaseInstanceEXT (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); 1070 GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); 1071 GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); 1072 #endif 1073 #endif /* GL_EXT_base_instance */ 1074 1075 #ifndef GL_EXT_blend_func_extended 1076 #define GL_EXT_blend_func_extended 1 1077 #define GL_SRC1_COLOR_EXT 0x88F9 1078 #define GL_SRC1_ALPHA_EXT 0x8589 1079 #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA 1080 #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB 1081 #define GL_SRC_ALPHA_SATURATE_EXT 0x0308 1082 #define GL_LOCATION_INDEX_EXT 0x930F 1083 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC 1084 typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); 1085 typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name); 1086 typedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC) (GLuint program, GLenum programInterface, const GLchar *name); 1087 typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXTPROC) (GLuint program, const GLchar *name); 1088 #ifdef GL_GLEXT_PROTOTYPES 1089 GL_APICALL void GL_APIENTRY glBindFragDataLocationIndexedEXT (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); 1090 GL_APICALL void GL_APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name); 1091 GL_APICALL GLint GL_APIENTRY glGetProgramResourceLocationIndexEXT (GLuint program, GLenum programInterface, const GLchar *name); 1092 GL_APICALL GLint GL_APIENTRY glGetFragDataIndexEXT (GLuint program, const GLchar *name); 1093 #endif 1094 #endif /* GL_EXT_blend_func_extended */ 1095 1096 #ifndef GL_EXT_blend_minmax 1097 #define GL_EXT_blend_minmax 1 1098 #define GL_MIN_EXT 0x8007 1099 #define GL_MAX_EXT 0x8008 1100 #endif /* GL_EXT_blend_minmax */ 1101 1102 #ifndef GL_EXT_buffer_storage 1103 #define GL_EXT_buffer_storage 1 1104 #define GL_MAP_READ_BIT 0x0001 1105 #define GL_MAP_WRITE_BIT 0x0002 1106 #define GL_MAP_PERSISTENT_BIT_EXT 0x0040 1107 #define GL_MAP_COHERENT_BIT_EXT 0x0080 1108 #define GL_DYNAMIC_STORAGE_BIT_EXT 0x0100 1109 #define GL_CLIENT_STORAGE_BIT_EXT 0x0200 1110 #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT 0x00004000 1111 #define GL_BUFFER_IMMUTABLE_STORAGE_EXT 0x821F 1112 #define GL_BUFFER_STORAGE_FLAGS_EXT 0x8220 1113 typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); 1114 #ifdef GL_GLEXT_PROTOTYPES 1115 GL_APICALL void GL_APIENTRY glBufferStorageEXT (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); 1116 #endif 1117 #endif /* GL_EXT_buffer_storage */ 1118 1119 #ifndef GL_EXT_clear_texture 1120 #define GL_EXT_clear_texture 1 1121 typedef void (GL_APIENTRYP PFNGLCLEARTEXIMAGEEXTPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); 1122 typedef void (GL_APIENTRYP PFNGLCLEARTEXSUBIMAGEEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); 1123 #ifdef GL_GLEXT_PROTOTYPES 1124 GL_APICALL void GL_APIENTRY glClearTexImageEXT (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); 1125 GL_APICALL void GL_APIENTRY glClearTexSubImageEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); 1126 #endif 1127 #endif /* GL_EXT_clear_texture */ 1128 1129 #ifndef GL_EXT_clip_cull_distance 1130 #define GL_EXT_clip_cull_distance 1 1131 #define GL_MAX_CLIP_DISTANCES_EXT 0x0D32 1132 #define GL_MAX_CULL_DISTANCES_EXT 0x82F9 1133 #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT 0x82FA 1134 #define GL_CLIP_DISTANCE0_EXT 0x3000 1135 #define GL_CLIP_DISTANCE1_EXT 0x3001 1136 #define GL_CLIP_DISTANCE2_EXT 0x3002 1137 #define GL_CLIP_DISTANCE3_EXT 0x3003 1138 #define GL_CLIP_DISTANCE4_EXT 0x3004 1139 #define GL_CLIP_DISTANCE5_EXT 0x3005 1140 #define GL_CLIP_DISTANCE6_EXT 0x3006 1141 #define GL_CLIP_DISTANCE7_EXT 0x3007 1142 #endif /* GL_EXT_clip_cull_distance */ 1143 1144 #ifndef GL_EXT_color_buffer_float 1145 #define GL_EXT_color_buffer_float 1 1146 #endif /* GL_EXT_color_buffer_float */ 1147 1148 #ifndef GL_EXT_color_buffer_half_float 1149 #define GL_EXT_color_buffer_half_float 1 1150 #define GL_RGBA16F_EXT 0x881A 1151 #define GL_RGB16F_EXT 0x881B 1152 #define GL_RG16F_EXT 0x822F 1153 #define GL_R16F_EXT 0x822D 1154 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211 1155 #define GL_UNSIGNED_NORMALIZED_EXT 0x8C17 1156 #endif /* GL_EXT_color_buffer_half_float */ 1157 1158 #ifndef GL_EXT_conservative_depth 1159 #define GL_EXT_conservative_depth 1 1160 #endif /* GL_EXT_conservative_depth */ 1161 1162 #ifndef GL_EXT_copy_image 1163 #define GL_EXT_copy_image 1 1164 typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAEXTPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); 1165 #ifdef GL_GLEXT_PROTOTYPES 1166 GL_APICALL void GL_APIENTRY glCopyImageSubDataEXT (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); 1167 #endif 1168 #endif /* GL_EXT_copy_image */ 1169 1170 #ifndef GL_EXT_debug_label 1171 #define GL_EXT_debug_label 1 1172 #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F 1173 #define GL_PROGRAM_OBJECT_EXT 0x8B40 1174 #define GL_SHADER_OBJECT_EXT 0x8B48 1175 #define GL_BUFFER_OBJECT_EXT 0x9151 1176 #define GL_QUERY_OBJECT_EXT 0x9153 1177 #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 1178 #define GL_TRANSFORM_FEEDBACK 0x8E22 1179 typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); 1180 typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); 1181 #ifdef GL_GLEXT_PROTOTYPES 1182 GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label); 1183 GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); 1184 #endif 1185 #endif /* GL_EXT_debug_label */ 1186 1187 #ifndef GL_EXT_debug_marker 1188 #define GL_EXT_debug_marker 1 1189 typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); 1190 typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); 1191 typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); 1192 #ifdef GL_GLEXT_PROTOTYPES 1193 GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); 1194 GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); 1195 GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void); 1196 #endif 1197 #endif /* GL_EXT_debug_marker */ 1198 1199 #ifndef GL_EXT_discard_framebuffer 1200 #define GL_EXT_discard_framebuffer 1 1201 #define GL_COLOR_EXT 0x1800 1202 #define GL_DEPTH_EXT 0x1801 1203 #define GL_STENCIL_EXT 0x1802 1204 typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); 1205 #ifdef GL_GLEXT_PROTOTYPES 1206 GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments); 1207 #endif 1208 #endif /* GL_EXT_discard_framebuffer */ 1209 1210 #ifndef GL_EXT_disjoint_timer_query 1211 #define GL_EXT_disjoint_timer_query 1 1212 #define GL_QUERY_COUNTER_BITS_EXT 0x8864 1213 #define GL_CURRENT_QUERY_EXT 0x8865 1214 #define GL_QUERY_RESULT_EXT 0x8866 1215 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 1216 #define GL_TIME_ELAPSED_EXT 0x88BF 1217 #define GL_TIMESTAMP_EXT 0x8E28 1218 #define GL_GPU_DISJOINT_EXT 0x8FBB 1219 typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids); 1220 typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids); 1221 typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id); 1222 typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id); 1223 typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target); 1224 typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target); 1225 typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params); 1226 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params); 1227 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params); 1228 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params); 1229 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params); 1230 #ifdef GL_GLEXT_PROTOTYPES 1231 GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids); 1232 GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids); 1233 GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id); 1234 GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id); 1235 GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target); 1236 GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target); 1237 GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params); 1238 GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params); 1239 GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params); 1240 GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params); 1241 GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params); 1242 #endif 1243 #endif /* GL_EXT_disjoint_timer_query */ 1244 1245 #ifndef GL_EXT_draw_buffers 1246 #define GL_EXT_draw_buffers 1 1247 #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF 1248 #define GL_MAX_DRAW_BUFFERS_EXT 0x8824 1249 #define GL_DRAW_BUFFER0_EXT 0x8825 1250 #define GL_DRAW_BUFFER1_EXT 0x8826 1251 #define GL_DRAW_BUFFER2_EXT 0x8827 1252 #define GL_DRAW_BUFFER3_EXT 0x8828 1253 #define GL_DRAW_BUFFER4_EXT 0x8829 1254 #define GL_DRAW_BUFFER5_EXT 0x882A 1255 #define GL_DRAW_BUFFER6_EXT 0x882B 1256 #define GL_DRAW_BUFFER7_EXT 0x882C 1257 #define GL_DRAW_BUFFER8_EXT 0x882D 1258 #define GL_DRAW_BUFFER9_EXT 0x882E 1259 #define GL_DRAW_BUFFER10_EXT 0x882F 1260 #define GL_DRAW_BUFFER11_EXT 0x8830 1261 #define GL_DRAW_BUFFER12_EXT 0x8831 1262 #define GL_DRAW_BUFFER13_EXT 0x8832 1263 #define GL_DRAW_BUFFER14_EXT 0x8833 1264 #define GL_DRAW_BUFFER15_EXT 0x8834 1265 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 1266 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 1267 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 1268 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 1269 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 1270 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 1271 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 1272 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 1273 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 1274 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 1275 #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA 1276 #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB 1277 #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC 1278 #define GL_COLOR_ATTACHMENT13_EXT 0x8CED 1279 #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE 1280 #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF 1281 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs); 1282 #ifdef GL_GLEXT_PROTOTYPES 1283 GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs); 1284 #endif 1285 #endif /* GL_EXT_draw_buffers */ 1286 1287 #ifndef GL_EXT_draw_buffers_indexed 1288 #define GL_EXT_draw_buffers_indexed 1 1289 typedef void (GL_APIENTRYP PFNGLENABLEIEXTPROC) (GLenum target, GLuint index); 1290 typedef void (GL_APIENTRYP PFNGLDISABLEIEXTPROC) (GLenum target, GLuint index); 1291 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIEXTPROC) (GLuint buf, GLenum mode); 1292 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIEXTPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 1293 typedef void (GL_APIENTRYP PFNGLBLENDFUNCIEXTPROC) (GLuint buf, GLenum src, GLenum dst); 1294 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIEXTPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 1295 typedef void (GL_APIENTRYP PFNGLCOLORMASKIEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 1296 typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIEXTPROC) (GLenum target, GLuint index); 1297 #ifdef GL_GLEXT_PROTOTYPES 1298 GL_APICALL void GL_APIENTRY glEnableiEXT (GLenum target, GLuint index); 1299 GL_APICALL void GL_APIENTRY glDisableiEXT (GLenum target, GLuint index); 1300 GL_APICALL void GL_APIENTRY glBlendEquationiEXT (GLuint buf, GLenum mode); 1301 GL_APICALL void GL_APIENTRY glBlendEquationSeparateiEXT (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 1302 GL_APICALL void GL_APIENTRY glBlendFunciEXT (GLuint buf, GLenum src, GLenum dst); 1303 GL_APICALL void GL_APIENTRY glBlendFuncSeparateiEXT (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 1304 GL_APICALL void GL_APIENTRY glColorMaskiEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 1305 GL_APICALL GLboolean GL_APIENTRY glIsEnablediEXT (GLenum target, GLuint index); 1306 #endif 1307 #endif /* GL_EXT_draw_buffers_indexed */ 1308 1309 #ifndef GL_EXT_draw_elements_base_vertex 1310 #define GL_EXT_draw_elements_base_vertex 1 1311 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1312 typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1313 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 1314 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); 1315 #ifdef GL_GLEXT_PROTOTYPES 1316 GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1317 GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); 1318 GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); 1319 GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); 1320 #endif 1321 #endif /* GL_EXT_draw_elements_base_vertex */ 1322 1323 #ifndef GL_EXT_draw_instanced 1324 #define GL_EXT_draw_instanced 1 1325 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); 1326 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 1327 #ifdef GL_GLEXT_PROTOTYPES 1328 GL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); 1329 GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 1330 #endif 1331 #endif /* GL_EXT_draw_instanced */ 1332 1333 #ifndef GL_EXT_draw_transform_feedback 1334 #define GL_EXT_draw_transform_feedback 1 1335 typedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKEXTPROC) (GLenum mode, GLuint id); 1336 typedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC) (GLenum mode, GLuint id, GLsizei instancecount); 1337 #ifdef GL_GLEXT_PROTOTYPES 1338 GL_APICALL void GL_APIENTRY glDrawTransformFeedbackEXT (GLenum mode, GLuint id); 1339 GL_APICALL void GL_APIENTRY glDrawTransformFeedbackInstancedEXT (GLenum mode, GLuint id, GLsizei instancecount); 1340 #endif 1341 #endif /* GL_EXT_draw_transform_feedback */ 1342 1343 #ifndef GL_EXT_external_buffer 1344 #define GL_EXT_external_buffer 1 1345 typedef void *GLeglClientBufferEXT; 1346 typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1347 typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1348 #ifdef GL_GLEXT_PROTOTYPES 1349 GL_APICALL void GL_APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1350 GL_APICALL void GL_APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 1351 #endif 1352 #endif /* GL_EXT_external_buffer */ 1353 1354 #ifndef GL_EXT_float_blend 1355 #define GL_EXT_float_blend 1 1356 #endif /* GL_EXT_float_blend */ 1357 1358 #ifndef GL_EXT_geometry_point_size 1359 #define GL_EXT_geometry_point_size 1 1360 #endif /* GL_EXT_geometry_point_size */ 1361 1362 #ifndef GL_EXT_geometry_shader 1363 #define GL_EXT_geometry_shader 1 1364 #define GL_GEOMETRY_SHADER_EXT 0x8DD9 1365 #define GL_GEOMETRY_SHADER_BIT_EXT 0x00000004 1366 #define GL_GEOMETRY_LINKED_VERTICES_OUT_EXT 0x8916 1367 #define GL_GEOMETRY_LINKED_INPUT_TYPE_EXT 0x8917 1368 #define GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT 0x8918 1369 #define GL_GEOMETRY_SHADER_INVOCATIONS_EXT 0x887F 1370 #define GL_LAYER_PROVOKING_VERTEX_EXT 0x825E 1371 #define GL_LINES_ADJACENCY_EXT 0x000A 1372 #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B 1373 #define GL_TRIANGLES_ADJACENCY_EXT 0x000C 1374 #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D 1375 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF 1376 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT 0x8A2C 1377 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8A32 1378 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT 0x9123 1379 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT 0x9124 1380 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0 1381 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1 1382 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT 0x8E5A 1383 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29 1384 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT 0x92CF 1385 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT 0x92D5 1386 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT 0x90CD 1387 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT 0x90D7 1388 #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D 1389 #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E 1390 #define GL_UNDEFINED_VERTEX_EXT 0x8260 1391 #define GL_PRIMITIVES_GENERATED_EXT 0x8C87 1392 #define GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT 0x9312 1393 #define GL_MAX_FRAMEBUFFER_LAYERS_EXT 0x9317 1394 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8 1395 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7 1396 #define GL_REFERENCED_BY_GEOMETRY_SHADER_EXT 0x9309 1397 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); 1398 #ifdef GL_GLEXT_PROTOTYPES 1399 GL_APICALL void GL_APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level); 1400 #endif 1401 #endif /* GL_EXT_geometry_shader */ 1402 1403 #ifndef GL_EXT_gpu_shader5 1404 #define GL_EXT_gpu_shader5 1 1405 #endif /* GL_EXT_gpu_shader5 */ 1406 1407 #ifndef GL_EXT_instanced_arrays 1408 #define GL_EXT_instanced_arrays 1 1409 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE 1410 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor); 1411 #ifdef GL_GLEXT_PROTOTYPES 1412 GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor); 1413 #endif 1414 #endif /* GL_EXT_instanced_arrays */ 1415 1416 #ifndef GL_EXT_map_buffer_range 1417 #define GL_EXT_map_buffer_range 1 1418 #define GL_MAP_READ_BIT_EXT 0x0001 1419 #define GL_MAP_WRITE_BIT_EXT 0x0002 1420 #define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 1421 #define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 1422 #define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 1423 #define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 1424 typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 1425 typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length); 1426 #ifdef GL_GLEXT_PROTOTYPES 1427 GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 1428 GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); 1429 #endif 1430 #endif /* GL_EXT_map_buffer_range */ 1431 1432 #ifndef GL_EXT_memory_object 1433 #define GL_EXT_memory_object 1 1434 #define GL_TEXTURE_TILING_EXT 0x9580 1435 #define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581 1436 #define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B 1437 #define GL_NUM_TILING_TYPES_EXT 0x9582 1438 #define GL_TILING_TYPES_EXT 0x9583 1439 #define GL_OPTIMAL_TILING_EXT 0x9584 1440 #define GL_LINEAR_TILING_EXT 0x9585 1441 #define GL_NUM_DEVICE_UUIDS_EXT 0x9596 1442 #define GL_DEVICE_UUID_EXT 0x9597 1443 #define GL_DRIVER_UUID_EXT 0x9598 1444 #define GL_UUID_SIZE_EXT 16 1445 typedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) (GLenum pname, GLubyte *data); 1446 typedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) (GLenum target, GLuint index, GLubyte *data); 1447 typedef void (GL_APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) (GLsizei n, const GLuint *memoryObjects); 1448 typedef GLboolean (GL_APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) (GLuint memoryObject); 1449 typedef void (GL_APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) (GLsizei n, GLuint *memoryObjects); 1450 typedef void (GL_APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, const GLint *params); 1451 typedef void (GL_APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, GLint *params); 1452 typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); 1453 typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1454 typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); 1455 typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1456 typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); 1457 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); 1458 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1459 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); 1460 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1461 typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); 1462 #ifdef GL_GLEXT_PROTOTYPES 1463 GL_APICALL void GL_APIENTRY glGetUnsignedBytevEXT (GLenum pname, GLubyte *data); 1464 GL_APICALL void GL_APIENTRY glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte *data); 1465 GL_APICALL void GL_APIENTRY glDeleteMemoryObjectsEXT (GLsizei n, const GLuint *memoryObjects); 1466 GL_APICALL GLboolean GL_APIENTRY glIsMemoryObjectEXT (GLuint memoryObject); 1467 GL_APICALL void GL_APIENTRY glCreateMemoryObjectsEXT (GLsizei n, GLuint *memoryObjects); 1468 GL_APICALL void GL_APIENTRY glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint *params); 1469 GL_APICALL void GL_APIENTRY glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint *params); 1470 GL_APICALL void GL_APIENTRY glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); 1471 GL_APICALL void GL_APIENTRY glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1472 GL_APICALL void GL_APIENTRY glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); 1473 GL_APICALL void GL_APIENTRY glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1474 GL_APICALL void GL_APIENTRY glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); 1475 GL_APICALL void GL_APIENTRY glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); 1476 GL_APICALL void GL_APIENTRY glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1477 GL_APICALL void GL_APIENTRY glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); 1478 GL_APICALL void GL_APIENTRY glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 1479 GL_APICALL void GL_APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); 1480 #endif 1481 #endif /* GL_EXT_memory_object */ 1482 1483 #ifndef GL_EXT_memory_object_fd 1484 #define GL_EXT_memory_object_fd 1 1485 #define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586 1486 typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, GLint fd); 1487 #ifdef GL_GLEXT_PROTOTYPES 1488 GL_APICALL void GL_APIENTRY glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd); 1489 #endif 1490 #endif /* GL_EXT_memory_object_fd */ 1491 1492 #ifndef GL_EXT_memory_object_win32 1493 #define GL_EXT_memory_object_win32 1 1494 #define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587 1495 #define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588 1496 #define GL_DEVICE_LUID_EXT 0x9599 1497 #define GL_DEVICE_NODE_MASK_EXT 0x959A 1498 #define GL_LUID_SIZE_EXT 8 1499 #define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589 1500 #define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A 1501 #define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B 1502 #define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C 1503 typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, void *handle); 1504 typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, const void *name); 1505 #ifdef GL_GLEXT_PROTOTYPES 1506 GL_APICALL void GL_APIENTRY glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle); 1507 GL_APICALL void GL_APIENTRY glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name); 1508 #endif 1509 #endif /* GL_EXT_memory_object_win32 */ 1510 1511 #ifndef GL_EXT_multi_draw_arrays 1512 #define GL_EXT_multi_draw_arrays 1 1513 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 1514 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); 1515 #ifdef GL_GLEXT_PROTOTYPES 1516 GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 1517 GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); 1518 #endif 1519 #endif /* GL_EXT_multi_draw_arrays */ 1520 1521 #ifndef GL_EXT_multi_draw_indirect 1522 #define GL_EXT_multi_draw_indirect 1 1523 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 1524 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 1525 #ifdef GL_GLEXT_PROTOTYPES 1526 GL_APICALL void GL_APIENTRY glMultiDrawArraysIndirectEXT (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 1527 GL_APICALL void GL_APIENTRY glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 1528 #endif 1529 #endif /* GL_EXT_multi_draw_indirect */ 1530 1531 #ifndef GL_EXT_multisampled_compatibility 1532 #define GL_EXT_multisampled_compatibility 1 1533 #define GL_MULTISAMPLE_EXT 0x809D 1534 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F 1535 #endif /* GL_EXT_multisampled_compatibility */ 1536 1537 #ifndef GL_EXT_multisampled_render_to_texture 1538 #define GL_EXT_multisampled_render_to_texture 1 1539 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C 1540 #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB 1541 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 1542 #define GL_MAX_SAMPLES_EXT 0x8D57 1543 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1544 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 1545 #ifdef GL_GLEXT_PROTOTYPES 1546 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1547 GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 1548 #endif 1549 #endif /* GL_EXT_multisampled_render_to_texture */ 1550 1551 #ifndef GL_EXT_multiview_draw_buffers 1552 #define GL_EXT_multiview_draw_buffers 1 1553 #define GL_COLOR_ATTACHMENT_EXT 0x90F0 1554 #define GL_MULTIVIEW_EXT 0x90F1 1555 #define GL_DRAW_BUFFER_EXT 0x0C01 1556 #define GL_READ_BUFFER_EXT 0x0C02 1557 #define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2 1558 typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index); 1559 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices); 1560 typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data); 1561 #ifdef GL_GLEXT_PROTOTYPES 1562 GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index); 1563 GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices); 1564 GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data); 1565 #endif 1566 #endif /* GL_EXT_multiview_draw_buffers */ 1567 1568 #ifndef GL_EXT_occlusion_query_boolean 1569 #define GL_EXT_occlusion_query_boolean 1 1570 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F 1571 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A 1572 #endif /* GL_EXT_occlusion_query_boolean */ 1573 1574 #ifndef GL_EXT_polygon_offset_clamp 1575 #define GL_EXT_polygon_offset_clamp 1 1576 #define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B 1577 typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp); 1578 #ifdef GL_GLEXT_PROTOTYPES 1579 GL_APICALL void GL_APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp); 1580 #endif 1581 #endif /* GL_EXT_polygon_offset_clamp */ 1582 1583 #ifndef GL_EXT_post_depth_coverage 1584 #define GL_EXT_post_depth_coverage 1 1585 #endif /* GL_EXT_post_depth_coverage */ 1586 1587 #ifndef GL_EXT_primitive_bounding_box 1588 #define GL_EXT_primitive_bounding_box 1 1589 #define GL_PRIMITIVE_BOUNDING_BOX_EXT 0x92BE 1590 typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXEXTPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 1591 #ifdef GL_GLEXT_PROTOTYPES 1592 GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 1593 #endif 1594 #endif /* GL_EXT_primitive_bounding_box */ 1595 1596 #ifndef GL_EXT_protected_textures 1597 #define GL_EXT_protected_textures 1 1598 #define GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT 0x00000010 1599 #define GL_TEXTURE_PROTECTED_EXT 0x8BFA 1600 #endif /* GL_EXT_protected_textures */ 1601 1602 #ifndef GL_EXT_pvrtc_sRGB 1603 #define GL_EXT_pvrtc_sRGB 1 1604 #define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54 1605 #define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55 1606 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56 1607 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57 1608 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG 0x93F0 1609 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG 0x93F1 1610 #endif /* GL_EXT_pvrtc_sRGB */ 1611 1612 #ifndef GL_EXT_raster_multisample 1613 #define GL_EXT_raster_multisample 1 1614 #define GL_RASTER_MULTISAMPLE_EXT 0x9327 1615 #define GL_RASTER_SAMPLES_EXT 0x9328 1616 #define GL_MAX_RASTER_SAMPLES_EXT 0x9329 1617 #define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A 1618 #define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B 1619 #define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C 1620 typedef void (GL_APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations); 1621 #ifdef GL_GLEXT_PROTOTYPES 1622 GL_APICALL void GL_APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations); 1623 #endif 1624 #endif /* GL_EXT_raster_multisample */ 1625 1626 #ifndef GL_EXT_read_format_bgra 1627 #define GL_EXT_read_format_bgra 1 1628 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 1629 #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 1630 #endif /* GL_EXT_read_format_bgra */ 1631 1632 #ifndef GL_EXT_render_snorm 1633 #define GL_EXT_render_snorm 1 1634 #define GL_R8_SNORM 0x8F94 1635 #define GL_RG8_SNORM 0x8F95 1636 #define GL_RGBA8_SNORM 0x8F97 1637 #define GL_R16_SNORM_EXT 0x8F98 1638 #define GL_RG16_SNORM_EXT 0x8F99 1639 #define GL_RGBA16_SNORM_EXT 0x8F9B 1640 #endif /* GL_EXT_render_snorm */ 1641 1642 #ifndef GL_EXT_robustness 1643 #define GL_EXT_robustness 1 1644 #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 1645 #define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 1646 #define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 1647 #define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 1648 #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 1649 #define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 1650 #define GL_NO_RESET_NOTIFICATION_EXT 0x8261 1651 typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); 1652 typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 1653 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 1654 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); 1655 #ifdef GL_GLEXT_PROTOTYPES 1656 GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void); 1657 GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 1658 GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 1659 GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params); 1660 #endif 1661 #endif /* GL_EXT_robustness */ 1662 1663 #ifndef GL_EXT_sRGB 1664 #define GL_EXT_sRGB 1 1665 #define GL_SRGB_EXT 0x8C40 1666 #define GL_SRGB_ALPHA_EXT 0x8C42 1667 #define GL_SRGB8_ALPHA8_EXT 0x8C43 1668 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 1669 #endif /* GL_EXT_sRGB */ 1670 1671 #ifndef GL_EXT_sRGB_write_control 1672 #define GL_EXT_sRGB_write_control 1 1673 #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 1674 #endif /* GL_EXT_sRGB_write_control */ 1675 1676 #ifndef GL_EXT_semaphore 1677 #define GL_EXT_semaphore 1 1678 #define GL_LAYOUT_GENERAL_EXT 0x958D 1679 #define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E 1680 #define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F 1681 #define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590 1682 #define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591 1683 #define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592 1684 #define GL_LAYOUT_TRANSFER_DST_EXT 0x9593 1685 typedef void (GL_APIENTRYP PFNGLGENSEMAPHORESEXTPROC) (GLsizei n, GLuint *semaphores); 1686 typedef void (GL_APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) (GLsizei n, const GLuint *semaphores); 1687 typedef GLboolean (GL_APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore); 1688 typedef void (GL_APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, const GLuint64 *params); 1689 typedef void (GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, GLuint64 *params); 1690 typedef void (GL_APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts); 1691 typedef void (GL_APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts); 1692 #ifdef GL_GLEXT_PROTOTYPES 1693 GL_APICALL void GL_APIENTRY glGenSemaphoresEXT (GLsizei n, GLuint *semaphores); 1694 GL_APICALL void GL_APIENTRY glDeleteSemaphoresEXT (GLsizei n, const GLuint *semaphores); 1695 GL_APICALL GLboolean GL_APIENTRY glIsSemaphoreEXT (GLuint semaphore); 1696 GL_APICALL void GL_APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 *params); 1697 GL_APICALL void GL_APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 *params); 1698 GL_APICALL void GL_APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts); 1699 GL_APICALL void GL_APIENTRY glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts); 1700 #endif 1701 #endif /* GL_EXT_semaphore */ 1702 1703 #ifndef GL_EXT_semaphore_fd 1704 #define GL_EXT_semaphore_fd 1 1705 typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLint fd); 1706 #ifdef GL_GLEXT_PROTOTYPES 1707 GL_APICALL void GL_APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd); 1708 #endif 1709 #endif /* GL_EXT_semaphore_fd */ 1710 1711 #ifndef GL_EXT_semaphore_win32 1712 #define GL_EXT_semaphore_win32 1 1713 #define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594 1714 #define GL_D3D12_FENCE_VALUE_EXT 0x9595 1715 typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handleType, void *handle); 1716 typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) (GLuint semaphore, GLenum handleType, const void *name); 1717 #ifdef GL_GLEXT_PROTOTYPES 1718 GL_APICALL void GL_APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle); 1719 GL_APICALL void GL_APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name); 1720 #endif 1721 #endif /* GL_EXT_semaphore_win32 */ 1722 1723 #ifndef GL_EXT_separate_shader_objects 1724 #define GL_EXT_separate_shader_objects 1 1725 #define GL_ACTIVE_PROGRAM_EXT 0x8259 1726 #define GL_VERTEX_SHADER_BIT_EXT 0x00000001 1727 #define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002 1728 #define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF 1729 #define GL_PROGRAM_SEPARABLE_EXT 0x8258 1730 #define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A 1731 typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program); 1732 typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline); 1733 typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings); 1734 typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines); 1735 typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines); 1736 typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 1737 typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params); 1738 typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline); 1739 typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); 1740 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); 1741 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1742 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); 1743 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1744 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); 1745 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1746 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); 1747 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1748 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 1749 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1750 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 1751 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1752 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 1753 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1754 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 1755 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1756 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1757 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1758 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1759 typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program); 1760 typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline); 1761 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); 1762 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); 1763 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 1764 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1765 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1766 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1767 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1768 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1769 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1770 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1771 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1772 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1773 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1774 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1775 #ifdef GL_GLEXT_PROTOTYPES 1776 GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program); 1777 GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline); 1778 GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings); 1779 GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines); 1780 GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines); 1781 GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 1782 GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params); 1783 GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline); 1784 GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value); 1785 GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0); 1786 GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1787 GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0); 1788 GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1789 GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); 1790 GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1791 GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1); 1792 GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1793 GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 1794 GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1795 GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 1796 GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1797 GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 1798 GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1799 GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 1800 GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1801 GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1802 GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1803 GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1804 GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program); 1805 GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline); 1806 GL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0); 1807 GL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1); 1808 GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 1809 GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1810 GL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1811 GL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1812 GL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1813 GL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1814 GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1815 GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1816 GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1817 GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1818 GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1819 GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1820 #endif 1821 #endif /* GL_EXT_separate_shader_objects */ 1822 1823 #ifndef GL_EXT_shader_framebuffer_fetch 1824 #define GL_EXT_shader_framebuffer_fetch 1 1825 #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 1826 #endif /* GL_EXT_shader_framebuffer_fetch */ 1827 1828 #ifndef GL_EXT_shader_group_vote 1829 #define GL_EXT_shader_group_vote 1 1830 #endif /* GL_EXT_shader_group_vote */ 1831 1832 #ifndef GL_EXT_shader_implicit_conversions 1833 #define GL_EXT_shader_implicit_conversions 1 1834 #endif /* GL_EXT_shader_implicit_conversions */ 1835 1836 #ifndef GL_EXT_shader_integer_mix 1837 #define GL_EXT_shader_integer_mix 1 1838 #endif /* GL_EXT_shader_integer_mix */ 1839 1840 #ifndef GL_EXT_shader_io_blocks 1841 #define GL_EXT_shader_io_blocks 1 1842 #endif /* GL_EXT_shader_io_blocks */ 1843 1844 #ifndef GL_EXT_shader_non_constant_global_initializers 1845 #define GL_EXT_shader_non_constant_global_initializers 1 1846 #endif /* GL_EXT_shader_non_constant_global_initializers */ 1847 1848 #ifndef GL_EXT_shader_pixel_local_storage 1849 #define GL_EXT_shader_pixel_local_storage 1 1850 #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63 1851 #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67 1852 #define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64 1853 #endif /* GL_EXT_shader_pixel_local_storage */ 1854 1855 #ifndef GL_EXT_shader_pixel_local_storage2 1856 #define GL_EXT_shader_pixel_local_storage2 1 1857 #define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT 0x9650 1858 #define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT 0x9651 1859 #define GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT 0x9652 1860 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target, GLsizei size); 1861 typedef GLsizei (GL_APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target); 1862 typedef void (GL_APIENTRYP PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC) (GLsizei offset, GLsizei n, const GLuint *values); 1863 #ifdef GL_GLEXT_PROTOTYPES 1864 GL_APICALL void GL_APIENTRY glFramebufferPixelLocalStorageSizeEXT (GLuint target, GLsizei size); 1865 GL_APICALL GLsizei GL_APIENTRY glGetFramebufferPixelLocalStorageSizeEXT (GLuint target); 1866 GL_APICALL void GL_APIENTRY glClearPixelLocalStorageuiEXT (GLsizei offset, GLsizei n, const GLuint *values); 1867 #endif 1868 #endif /* GL_EXT_shader_pixel_local_storage2 */ 1869 1870 #ifndef GL_EXT_shader_texture_lod 1871 #define GL_EXT_shader_texture_lod 1 1872 #endif /* GL_EXT_shader_texture_lod */ 1873 1874 #ifndef GL_EXT_shadow_samplers 1875 #define GL_EXT_shadow_samplers 1 1876 #define GL_TEXTURE_COMPARE_MODE_EXT 0x884C 1877 #define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D 1878 #define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E 1879 #define GL_SAMPLER_2D_SHADOW_EXT 0x8B62 1880 #endif /* GL_EXT_shadow_samplers */ 1881 1882 #ifndef GL_EXT_sparse_texture 1883 #define GL_EXT_sparse_texture 1 1884 #define GL_TEXTURE_SPARSE_EXT 0x91A6 1885 #define GL_VIRTUAL_PAGE_SIZE_INDEX_EXT 0x91A7 1886 #define GL_NUM_SPARSE_LEVELS_EXT 0x91AA 1887 #define GL_NUM_VIRTUAL_PAGE_SIZES_EXT 0x91A8 1888 #define GL_VIRTUAL_PAGE_SIZE_X_EXT 0x9195 1889 #define GL_VIRTUAL_PAGE_SIZE_Y_EXT 0x9196 1890 #define GL_VIRTUAL_PAGE_SIZE_Z_EXT 0x9197 1891 #define GL_TEXTURE_2D_ARRAY 0x8C1A 1892 #define GL_TEXTURE_3D 0x806F 1893 #define GL_MAX_SPARSE_TEXTURE_SIZE_EXT 0x9198 1894 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT 0x9199 1895 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT 0x919A 1896 #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT 0x91A9 1897 typedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); 1898 #ifdef GL_GLEXT_PROTOTYPES 1899 GL_APICALL void GL_APIENTRY glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); 1900 #endif 1901 #endif /* GL_EXT_sparse_texture */ 1902 1903 #ifndef GL_EXT_sparse_texture2 1904 #define GL_EXT_sparse_texture2 1 1905 #endif /* GL_EXT_sparse_texture2 */ 1906 1907 #ifndef GL_EXT_tessellation_point_size 1908 #define GL_EXT_tessellation_point_size 1 1909 #endif /* GL_EXT_tessellation_point_size */ 1910 1911 #ifndef GL_EXT_tessellation_shader 1912 #define GL_EXT_tessellation_shader 1 1913 #define GL_PATCHES_EXT 0x000E 1914 #define GL_PATCH_VERTICES_EXT 0x8E72 1915 #define GL_TESS_CONTROL_OUTPUT_VERTICES_EXT 0x8E75 1916 #define GL_TESS_GEN_MODE_EXT 0x8E76 1917 #define GL_TESS_GEN_SPACING_EXT 0x8E77 1918 #define GL_TESS_GEN_VERTEX_ORDER_EXT 0x8E78 1919 #define GL_TESS_GEN_POINT_MODE_EXT 0x8E79 1920 #define GL_ISOLINES_EXT 0x8E7A 1921 #define GL_QUADS_EXT 0x0007 1922 #define GL_FRACTIONAL_ODD_EXT 0x8E7B 1923 #define GL_FRACTIONAL_EVEN_EXT 0x8E7C 1924 #define GL_MAX_PATCH_VERTICES_EXT 0x8E7D 1925 #define GL_MAX_TESS_GEN_LEVEL_EXT 0x8E7E 1926 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E7F 1927 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E80 1928 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT 0x8E81 1929 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT 0x8E82 1930 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT 0x8E83 1931 #define GL_MAX_TESS_PATCH_COMPONENTS_EXT 0x8E84 1932 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT 0x8E85 1933 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT 0x8E86 1934 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT 0x8E89 1935 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT 0x8E8A 1936 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT 0x886C 1937 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT 0x886D 1938 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E1E 1939 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E1F 1940 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT 0x92CD 1941 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT 0x92CE 1942 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT 0x92D3 1943 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT 0x92D4 1944 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT 0x90CB 1945 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT 0x90CC 1946 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT 0x90D8 1947 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT 0x90D9 1948 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221 1949 #define GL_IS_PER_PATCH_EXT 0x92E7 1950 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT 0x9307 1951 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT 0x9308 1952 #define GL_TESS_CONTROL_SHADER_EXT 0x8E88 1953 #define GL_TESS_EVALUATION_SHADER_EXT 0x8E87 1954 #define GL_TESS_CONTROL_SHADER_BIT_EXT 0x00000008 1955 #define GL_TESS_EVALUATION_SHADER_BIT_EXT 0x00000010 1956 typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIEXTPROC) (GLenum pname, GLint value); 1957 #ifdef GL_GLEXT_PROTOTYPES 1958 GL_APICALL void GL_APIENTRY glPatchParameteriEXT (GLenum pname, GLint value); 1959 #endif 1960 #endif /* GL_EXT_tessellation_shader */ 1961 1962 #ifndef GL_EXT_texture_border_clamp 1963 #define GL_EXT_texture_border_clamp 1 1964 #define GL_TEXTURE_BORDER_COLOR_EXT 0x1004 1965 #define GL_CLAMP_TO_BORDER_EXT 0x812D 1966 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); 1967 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params); 1968 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params); 1969 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params); 1970 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, const GLint *param); 1971 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, const GLuint *param); 1972 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, GLint *params); 1973 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, GLuint *params); 1974 #ifdef GL_GLEXT_PROTOTYPES 1975 GL_APICALL void GL_APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params); 1976 GL_APICALL void GL_APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params); 1977 GL_APICALL void GL_APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params); 1978 GL_APICALL void GL_APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params); 1979 GL_APICALL void GL_APIENTRY glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLint *param); 1980 GL_APICALL void GL_APIENTRY glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLuint *param); 1981 GL_APICALL void GL_APIENTRY glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint *params); 1982 GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint *params); 1983 #endif 1984 #endif /* GL_EXT_texture_border_clamp */ 1985 1986 #ifndef GL_EXT_texture_buffer 1987 #define GL_EXT_texture_buffer 1 1988 #define GL_TEXTURE_BUFFER_EXT 0x8C2A 1989 #define GL_TEXTURE_BUFFER_BINDING_EXT 0x8C2A 1990 #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B 1991 #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C 1992 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D 1993 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT 0x919F 1994 #define GL_SAMPLER_BUFFER_EXT 0x8DC2 1995 #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0 1996 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8 1997 #define GL_IMAGE_BUFFER_EXT 0x9051 1998 #define GL_INT_IMAGE_BUFFER_EXT 0x905C 1999 #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067 2000 #define GL_TEXTURE_BUFFER_OFFSET_EXT 0x919D 2001 #define GL_TEXTURE_BUFFER_SIZE_EXT 0x919E 2002 typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer); 2003 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 2004 #ifdef GL_GLEXT_PROTOTYPES 2005 GL_APICALL void GL_APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer); 2006 GL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 2007 #endif 2008 #endif /* GL_EXT_texture_buffer */ 2009 2010 #ifndef GL_EXT_texture_compression_astc_decode_mode 2011 #define GL_EXT_texture_compression_astc_decode_mode 1 2012 #define GL_TEXTURE_ASTC_DECODE_PRECISION_EXT 0x8F69 2013 #endif /* GL_EXT_texture_compression_astc_decode_mode */ 2014 2015 #ifndef GL_EXT_texture_compression_dxt1 2016 #define GL_EXT_texture_compression_dxt1 1 2017 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 2018 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 2019 #endif /* GL_EXT_texture_compression_dxt1 */ 2020 2021 #ifndef GL_EXT_texture_compression_s3tc 2022 #define GL_EXT_texture_compression_s3tc 1 2023 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 2024 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 2025 #endif /* GL_EXT_texture_compression_s3tc */ 2026 2027 #ifndef GL_EXT_texture_cube_map_array 2028 #define GL_EXT_texture_cube_map_array 1 2029 #define GL_TEXTURE_CUBE_MAP_ARRAY_EXT 0x9009 2030 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT 0x900A 2031 #define GL_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900C 2032 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT 0x900D 2033 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900E 2034 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900F 2035 #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054 2036 #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F 2037 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A 2038 #endif /* GL_EXT_texture_cube_map_array */ 2039 2040 #ifndef GL_EXT_texture_filter_anisotropic 2041 #define GL_EXT_texture_filter_anisotropic 1 2042 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE 2043 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF 2044 #endif /* GL_EXT_texture_filter_anisotropic */ 2045 2046 #ifndef GL_EXT_texture_filter_minmax 2047 #define GL_EXT_texture_filter_minmax 1 2048 #endif /* GL_EXT_texture_filter_minmax */ 2049 2050 #ifndef GL_EXT_texture_format_BGRA8888 2051 #define GL_EXT_texture_format_BGRA8888 1 2052 #endif /* GL_EXT_texture_format_BGRA8888 */ 2053 2054 #ifndef GL_EXT_texture_norm16 2055 #define GL_EXT_texture_norm16 1 2056 #define GL_R16_EXT 0x822A 2057 #define GL_RG16_EXT 0x822C 2058 #define GL_RGBA16_EXT 0x805B 2059 #define GL_RGB16_EXT 0x8054 2060 #define GL_RGB16_SNORM_EXT 0x8F9A 2061 #endif /* GL_EXT_texture_norm16 */ 2062 2063 #ifndef GL_EXT_texture_rg 2064 #define GL_EXT_texture_rg 1 2065 #define GL_RED_EXT 0x1903 2066 #define GL_RG_EXT 0x8227 2067 #define GL_R8_EXT 0x8229 2068 #define GL_RG8_EXT 0x822B 2069 #endif /* GL_EXT_texture_rg */ 2070 2071 #ifndef GL_EXT_texture_sRGB_R8 2072 #define GL_EXT_texture_sRGB_R8 1 2073 #define GL_SR8_EXT 0x8FBD 2074 #endif /* GL_EXT_texture_sRGB_R8 */ 2075 2076 #ifndef GL_EXT_texture_sRGB_RG8 2077 #define GL_EXT_texture_sRGB_RG8 1 2078 #define GL_SRG8_EXT 0x8FBE 2079 #endif /* GL_EXT_texture_sRGB_RG8 */ 2080 2081 #ifndef GL_EXT_texture_sRGB_decode 2082 #define GL_EXT_texture_sRGB_decode 1 2083 #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 2084 #define GL_DECODE_EXT 0x8A49 2085 #define GL_SKIP_DECODE_EXT 0x8A4A 2086 #endif /* GL_EXT_texture_sRGB_decode */ 2087 2088 #ifndef GL_EXT_texture_storage 2089 #define GL_EXT_texture_storage 1 2090 #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F 2091 #define GL_ALPHA8_EXT 0x803C 2092 #define GL_LUMINANCE8_EXT 0x8040 2093 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045 2094 #define GL_RGBA32F_EXT 0x8814 2095 #define GL_RGB32F_EXT 0x8815 2096 #define GL_ALPHA32F_EXT 0x8816 2097 #define GL_LUMINANCE32F_EXT 0x8818 2098 #define GL_LUMINANCE_ALPHA32F_EXT 0x8819 2099 #define GL_ALPHA16F_EXT 0x881C 2100 #define GL_LUMINANCE16F_EXT 0x881E 2101 #define GL_LUMINANCE_ALPHA16F_EXT 0x881F 2102 #define GL_R32F_EXT 0x822E 2103 #define GL_RG32F_EXT 0x8230 2104 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2105 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2106 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2107 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2108 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2109 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2110 #ifdef GL_GLEXT_PROTOTYPES 2111 GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2112 GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2113 GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2114 GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 2115 GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 2116 GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 2117 #endif 2118 #endif /* GL_EXT_texture_storage */ 2119 2120 #ifndef GL_EXT_texture_type_2_10_10_10_REV 2121 #define GL_EXT_texture_type_2_10_10_10_REV 1 2122 #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 2123 #endif /* GL_EXT_texture_type_2_10_10_10_REV */ 2124 2125 #ifndef GL_EXT_texture_view 2126 #define GL_EXT_texture_view 1 2127 #define GL_TEXTURE_VIEW_MIN_LEVEL_EXT 0x82DB 2128 #define GL_TEXTURE_VIEW_NUM_LEVELS_EXT 0x82DC 2129 #define GL_TEXTURE_VIEW_MIN_LAYER_EXT 0x82DD 2130 #define GL_TEXTURE_VIEW_NUM_LAYERS_EXT 0x82DE 2131 typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWEXTPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 2132 #ifdef GL_GLEXT_PROTOTYPES 2133 GL_APICALL void GL_APIENTRY glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 2134 #endif 2135 #endif /* GL_EXT_texture_view */ 2136 2137 #ifndef GL_EXT_unpack_subimage 2138 #define GL_EXT_unpack_subimage 1 2139 #define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2 2140 #define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3 2141 #define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4 2142 #endif /* GL_EXT_unpack_subimage */ 2143 2144 #ifndef GL_EXT_win32_keyed_mutex 2145 #define GL_EXT_win32_keyed_mutex 1 2146 typedef GLboolean (GL_APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key, GLuint timeout); 2147 typedef GLboolean (GL_APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key); 2148 #ifdef GL_GLEXT_PROTOTYPES 2149 GL_APICALL GLboolean GL_APIENTRY glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout); 2150 GL_APICALL GLboolean GL_APIENTRY glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key); 2151 #endif 2152 #endif /* GL_EXT_win32_keyed_mutex */ 2153 2154 #ifndef GL_EXT_window_rectangles 2155 #define GL_EXT_window_rectangles 1 2156 #define GL_INCLUSIVE_EXT 0x8F10 2157 #define GL_EXCLUSIVE_EXT 0x8F11 2158 #define GL_WINDOW_RECTANGLE_EXT 0x8F12 2159 #define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13 2160 #define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14 2161 #define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15 2162 typedef void (GL_APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box); 2163 #ifdef GL_GLEXT_PROTOTYPES 2164 GL_APICALL void GL_APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box); 2165 #endif 2166 #endif /* GL_EXT_window_rectangles */ 2167 2168 #ifndef GL_FJ_shader_binary_GCCSO 2169 #define GL_FJ_shader_binary_GCCSO 1 2170 #define GL_GCCSO_SHADER_BINARY_FJ 0x9260 2171 #endif /* GL_FJ_shader_binary_GCCSO */ 2172 2173 #ifndef GL_IMG_bindless_texture 2174 #define GL_IMG_bindless_texture 1 2175 typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLEIMGPROC) (GLuint texture); 2176 typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEIMGPROC) (GLuint texture, GLuint sampler); 2177 typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64IMGPROC) (GLint location, GLuint64 value); 2178 typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VIMGPROC) (GLint location, GLsizei count, const GLuint64 *value); 2179 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC) (GLuint program, GLint location, GLuint64 value); 2180 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2181 #ifdef GL_GLEXT_PROTOTYPES 2182 GL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleIMG (GLuint texture); 2183 GL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleIMG (GLuint texture, GLuint sampler); 2184 GL_APICALL void GL_APIENTRY glUniformHandleui64IMG (GLint location, GLuint64 value); 2185 GL_APICALL void GL_APIENTRY glUniformHandleui64vIMG (GLint location, GLsizei count, const GLuint64 *value); 2186 GL_APICALL void GL_APIENTRY glProgramUniformHandleui64IMG (GLuint program, GLint location, GLuint64 value); 2187 GL_APICALL void GL_APIENTRY glProgramUniformHandleui64vIMG (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2188 #endif 2189 #endif /* GL_IMG_bindless_texture */ 2190 2191 #ifndef GL_IMG_framebuffer_downsample 2192 #define GL_IMG_framebuffer_downsample 1 2193 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG 0x913C 2194 #define GL_NUM_DOWNSAMPLE_SCALES_IMG 0x913D 2195 #define GL_DOWNSAMPLE_SCALES_IMG 0x913E 2196 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG 0x913F 2197 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); 2198 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); 2199 #ifdef GL_GLEXT_PROTOTYPES 2200 GL_APICALL void GL_APIENTRY glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); 2201 GL_APICALL void GL_APIENTRY glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); 2202 #endif 2203 #endif /* GL_IMG_framebuffer_downsample */ 2204 2205 #ifndef GL_IMG_multisampled_render_to_texture 2206 #define GL_IMG_multisampled_render_to_texture 1 2207 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 2208 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 2209 #define GL_MAX_SAMPLES_IMG 0x9135 2210 #define GL_TEXTURE_SAMPLES_IMG 0x9136 2211 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2212 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 2213 #ifdef GL_GLEXT_PROTOTYPES 2214 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2215 GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 2216 #endif 2217 #endif /* GL_IMG_multisampled_render_to_texture */ 2218 2219 #ifndef GL_IMG_program_binary 2220 #define GL_IMG_program_binary 1 2221 #define GL_SGX_PROGRAM_BINARY_IMG 0x9130 2222 #endif /* GL_IMG_program_binary */ 2223 2224 #ifndef GL_IMG_read_format 2225 #define GL_IMG_read_format 1 2226 #define GL_BGRA_IMG 0x80E1 2227 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 2228 #endif /* GL_IMG_read_format */ 2229 2230 #ifndef GL_IMG_shader_binary 2231 #define GL_IMG_shader_binary 1 2232 #define GL_SGX_BINARY_IMG 0x8C0A 2233 #endif /* GL_IMG_shader_binary */ 2234 2235 #ifndef GL_IMG_texture_compression_pvrtc 2236 #define GL_IMG_texture_compression_pvrtc 1 2237 #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 2238 #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 2239 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 2240 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 2241 #endif /* GL_IMG_texture_compression_pvrtc */ 2242 2243 #ifndef GL_IMG_texture_compression_pvrtc2 2244 #define GL_IMG_texture_compression_pvrtc2 1 2245 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137 2246 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138 2247 #endif /* GL_IMG_texture_compression_pvrtc2 */ 2248 2249 #ifndef GL_IMG_texture_filter_cubic 2250 #define GL_IMG_texture_filter_cubic 1 2251 #define GL_CUBIC_IMG 0x9139 2252 #define GL_CUBIC_MIPMAP_NEAREST_IMG 0x913A 2253 #define GL_CUBIC_MIPMAP_LINEAR_IMG 0x913B 2254 #endif /* GL_IMG_texture_filter_cubic */ 2255 2256 #ifndef GL_INTEL_conservative_rasterization 2257 #define GL_INTEL_conservative_rasterization 1 2258 #define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE 2259 #endif /* GL_INTEL_conservative_rasterization */ 2260 2261 #ifndef GL_INTEL_framebuffer_CMAA 2262 #define GL_INTEL_framebuffer_CMAA 1 2263 typedef void (GL_APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void); 2264 #ifdef GL_GLEXT_PROTOTYPES 2265 GL_APICALL void GL_APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void); 2266 #endif 2267 #endif /* GL_INTEL_framebuffer_CMAA */ 2268 2269 #ifndef GL_INTEL_performance_query 2270 #define GL_INTEL_performance_query 1 2271 #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000 2272 #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001 2273 #define GL_PERFQUERY_WAIT_INTEL 0x83FB 2274 #define GL_PERFQUERY_FLUSH_INTEL 0x83FA 2275 #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9 2276 #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0 2277 #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1 2278 #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2 2279 #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3 2280 #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4 2281 #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5 2282 #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8 2283 #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9 2284 #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA 2285 #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB 2286 #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC 2287 #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD 2288 #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE 2289 #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF 2290 #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500 2291 typedef void (GL_APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle); 2292 typedef void (GL_APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle); 2293 typedef void (GL_APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle); 2294 typedef void (GL_APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle); 2295 typedef void (GL_APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId); 2296 typedef void (GL_APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId); 2297 typedef void (GL_APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); 2298 typedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); 2299 typedef void (GL_APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId); 2300 typedef void (GL_APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); 2301 #ifdef GL_GLEXT_PROTOTYPES 2302 GL_APICALL void GL_APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle); 2303 GL_APICALL void GL_APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle); 2304 GL_APICALL void GL_APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle); 2305 GL_APICALL void GL_APIENTRY glEndPerfQueryINTEL (GLuint queryHandle); 2306 GL_APICALL void GL_APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId); 2307 GL_APICALL void GL_APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId); 2308 GL_APICALL void GL_APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); 2309 GL_APICALL void GL_APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); 2310 GL_APICALL void GL_APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId); 2311 GL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); 2312 #endif 2313 #endif /* GL_INTEL_performance_query */ 2314 2315 #ifndef GL_MESA_shader_integer_functions 2316 #define GL_MESA_shader_integer_functions 1 2317 #endif /* GL_MESA_shader_integer_functions */ 2318 2319 #ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers 2320 #define GL_NVX_blend_equation_advanced_multi_draw_buffers 1 2321 #endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */ 2322 2323 #ifndef GL_NV_bindless_texture 2324 #define GL_NV_bindless_texture 1 2325 typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture); 2326 typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler); 2327 typedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); 2328 typedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle); 2329 typedef GLuint64 (GL_APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 2330 typedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access); 2331 typedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle); 2332 typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value); 2333 typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value); 2334 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value); 2335 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2336 typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); 2337 typedef GLboolean (GL_APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle); 2338 #ifdef GL_GLEXT_PROTOTYPES 2339 GL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleNV (GLuint texture); 2340 GL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler); 2341 GL_APICALL void GL_APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle); 2342 GL_APICALL void GL_APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle); 2343 GL_APICALL GLuint64 GL_APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 2344 GL_APICALL void GL_APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access); 2345 GL_APICALL void GL_APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle); 2346 GL_APICALL void GL_APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value); 2347 GL_APICALL void GL_APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value); 2348 GL_APICALL void GL_APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value); 2349 GL_APICALL void GL_APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 2350 GL_APICALL GLboolean GL_APIENTRY glIsTextureHandleResidentNV (GLuint64 handle); 2351 GL_APICALL GLboolean GL_APIENTRY glIsImageHandleResidentNV (GLuint64 handle); 2352 #endif 2353 #endif /* GL_NV_bindless_texture */ 2354 2355 #ifndef GL_NV_blend_equation_advanced 2356 #define GL_NV_blend_equation_advanced 1 2357 #define GL_BLEND_OVERLAP_NV 0x9281 2358 #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 2359 #define GL_BLUE_NV 0x1905 2360 #define GL_COLORBURN_NV 0x929A 2361 #define GL_COLORDODGE_NV 0x9299 2362 #define GL_CONJOINT_NV 0x9284 2363 #define GL_CONTRAST_NV 0x92A1 2364 #define GL_DARKEN_NV 0x9297 2365 #define GL_DIFFERENCE_NV 0x929E 2366 #define GL_DISJOINT_NV 0x9283 2367 #define GL_DST_ATOP_NV 0x928F 2368 #define GL_DST_IN_NV 0x928B 2369 #define GL_DST_NV 0x9287 2370 #define GL_DST_OUT_NV 0x928D 2371 #define GL_DST_OVER_NV 0x9289 2372 #define GL_EXCLUSION_NV 0x92A0 2373 #define GL_GREEN_NV 0x1904 2374 #define GL_HARDLIGHT_NV 0x929B 2375 #define GL_HARDMIX_NV 0x92A9 2376 #define GL_HSL_COLOR_NV 0x92AF 2377 #define GL_HSL_HUE_NV 0x92AD 2378 #define GL_HSL_LUMINOSITY_NV 0x92B0 2379 #define GL_HSL_SATURATION_NV 0x92AE 2380 #define GL_INVERT_OVG_NV 0x92B4 2381 #define GL_INVERT_RGB_NV 0x92A3 2382 #define GL_LIGHTEN_NV 0x9298 2383 #define GL_LINEARBURN_NV 0x92A5 2384 #define GL_LINEARDODGE_NV 0x92A4 2385 #define GL_LINEARLIGHT_NV 0x92A7 2386 #define GL_MINUS_CLAMPED_NV 0x92B3 2387 #define GL_MINUS_NV 0x929F 2388 #define GL_MULTIPLY_NV 0x9294 2389 #define GL_OVERLAY_NV 0x9296 2390 #define GL_PINLIGHT_NV 0x92A8 2391 #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 2392 #define GL_PLUS_CLAMPED_NV 0x92B1 2393 #define GL_PLUS_DARKER_NV 0x9292 2394 #define GL_PLUS_NV 0x9291 2395 #define GL_RED_NV 0x1903 2396 #define GL_SCREEN_NV 0x9295 2397 #define GL_SOFTLIGHT_NV 0x929C 2398 #define GL_SRC_ATOP_NV 0x928E 2399 #define GL_SRC_IN_NV 0x928A 2400 #define GL_SRC_NV 0x9286 2401 #define GL_SRC_OUT_NV 0x928C 2402 #define GL_SRC_OVER_NV 0x9288 2403 #define GL_UNCORRELATED_NV 0x9282 2404 #define GL_VIVIDLIGHT_NV 0x92A6 2405 #define GL_XOR_NV 0x1506 2406 typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value); 2407 typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void); 2408 #ifdef GL_GLEXT_PROTOTYPES 2409 GL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value); 2410 GL_APICALL void GL_APIENTRY glBlendBarrierNV (void); 2411 #endif 2412 #endif /* GL_NV_blend_equation_advanced */ 2413 2414 #ifndef GL_NV_blend_equation_advanced_coherent 2415 #define GL_NV_blend_equation_advanced_coherent 1 2416 #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 2417 #endif /* GL_NV_blend_equation_advanced_coherent */ 2418 2419 #ifndef GL_NV_conditional_render 2420 #define GL_NV_conditional_render 1 2421 #define GL_QUERY_WAIT_NV 0x8E13 2422 #define GL_QUERY_NO_WAIT_NV 0x8E14 2423 #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15 2424 #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 2425 typedef void (GL_APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode); 2426 typedef void (GL_APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void); 2427 #ifdef GL_GLEXT_PROTOTYPES 2428 GL_APICALL void GL_APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode); 2429 GL_APICALL void GL_APIENTRY glEndConditionalRenderNV (void); 2430 #endif 2431 #endif /* GL_NV_conditional_render */ 2432 2433 #ifndef GL_NV_conservative_raster 2434 #define GL_NV_conservative_raster 1 2435 #define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346 2436 #define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347 2437 #define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348 2438 #define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349 2439 typedef void (GL_APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits); 2440 #ifdef GL_GLEXT_PROTOTYPES 2441 GL_APICALL void GL_APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits); 2442 #endif 2443 #endif /* GL_NV_conservative_raster */ 2444 2445 #ifndef GL_NV_conservative_raster_pre_snap_triangles 2446 #define GL_NV_conservative_raster_pre_snap_triangles 1 2447 #define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D 2448 #define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E 2449 #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F 2450 typedef void (GL_APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param); 2451 #ifdef GL_GLEXT_PROTOTYPES 2452 GL_APICALL void GL_APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param); 2453 #endif 2454 #endif /* GL_NV_conservative_raster_pre_snap_triangles */ 2455 2456 #ifndef GL_NV_copy_buffer 2457 #define GL_NV_copy_buffer 1 2458 #define GL_COPY_READ_BUFFER_NV 0x8F36 2459 #define GL_COPY_WRITE_BUFFER_NV 0x8F37 2460 typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 2461 #ifdef GL_GLEXT_PROTOTYPES 2462 GL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 2463 #endif 2464 #endif /* GL_NV_copy_buffer */ 2465 2466 #ifndef GL_NV_coverage_sample 2467 #define GL_NV_coverage_sample 1 2468 #define GL_COVERAGE_COMPONENT_NV 0x8ED0 2469 #define GL_COVERAGE_COMPONENT4_NV 0x8ED1 2470 #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 2471 #define GL_COVERAGE_BUFFERS_NV 0x8ED3 2472 #define GL_COVERAGE_SAMPLES_NV 0x8ED4 2473 #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 2474 #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 2475 #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 2476 #define GL_COVERAGE_BUFFER_BIT_NV 0x00008000 2477 typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); 2478 typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); 2479 #ifdef GL_GLEXT_PROTOTYPES 2480 GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); 2481 GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); 2482 #endif 2483 #endif /* GL_NV_coverage_sample */ 2484 2485 #ifndef GL_NV_depth_nonlinear 2486 #define GL_NV_depth_nonlinear 1 2487 #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C 2488 #endif /* GL_NV_depth_nonlinear */ 2489 2490 #ifndef GL_NV_draw_buffers 2491 #define GL_NV_draw_buffers 1 2492 #define GL_MAX_DRAW_BUFFERS_NV 0x8824 2493 #define GL_DRAW_BUFFER0_NV 0x8825 2494 #define GL_DRAW_BUFFER1_NV 0x8826 2495 #define GL_DRAW_BUFFER2_NV 0x8827 2496 #define GL_DRAW_BUFFER3_NV 0x8828 2497 #define GL_DRAW_BUFFER4_NV 0x8829 2498 #define GL_DRAW_BUFFER5_NV 0x882A 2499 #define GL_DRAW_BUFFER6_NV 0x882B 2500 #define GL_DRAW_BUFFER7_NV 0x882C 2501 #define GL_DRAW_BUFFER8_NV 0x882D 2502 #define GL_DRAW_BUFFER9_NV 0x882E 2503 #define GL_DRAW_BUFFER10_NV 0x882F 2504 #define GL_DRAW_BUFFER11_NV 0x8830 2505 #define GL_DRAW_BUFFER12_NV 0x8831 2506 #define GL_DRAW_BUFFER13_NV 0x8832 2507 #define GL_DRAW_BUFFER14_NV 0x8833 2508 #define GL_DRAW_BUFFER15_NV 0x8834 2509 #define GL_COLOR_ATTACHMENT0_NV 0x8CE0 2510 #define GL_COLOR_ATTACHMENT1_NV 0x8CE1 2511 #define GL_COLOR_ATTACHMENT2_NV 0x8CE2 2512 #define GL_COLOR_ATTACHMENT3_NV 0x8CE3 2513 #define GL_COLOR_ATTACHMENT4_NV 0x8CE4 2514 #define GL_COLOR_ATTACHMENT5_NV 0x8CE5 2515 #define GL_COLOR_ATTACHMENT6_NV 0x8CE6 2516 #define GL_COLOR_ATTACHMENT7_NV 0x8CE7 2517 #define GL_COLOR_ATTACHMENT8_NV 0x8CE8 2518 #define GL_COLOR_ATTACHMENT9_NV 0x8CE9 2519 #define GL_COLOR_ATTACHMENT10_NV 0x8CEA 2520 #define GL_COLOR_ATTACHMENT11_NV 0x8CEB 2521 #define GL_COLOR_ATTACHMENT12_NV 0x8CEC 2522 #define GL_COLOR_ATTACHMENT13_NV 0x8CED 2523 #define GL_COLOR_ATTACHMENT14_NV 0x8CEE 2524 #define GL_COLOR_ATTACHMENT15_NV 0x8CEF 2525 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs); 2526 #ifdef GL_GLEXT_PROTOTYPES 2527 GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs); 2528 #endif 2529 #endif /* GL_NV_draw_buffers */ 2530 2531 #ifndef GL_NV_draw_instanced 2532 #define GL_NV_draw_instanced 1 2533 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 2534 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 2535 #ifdef GL_GLEXT_PROTOTYPES 2536 GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 2537 GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 2538 #endif 2539 #endif /* GL_NV_draw_instanced */ 2540 2541 #ifndef GL_NV_draw_vulkan_image 2542 #define GL_NV_draw_vulkan_image 1 2543 typedef void (GL_APIENTRY *GLVULKANPROCNV)(void); 2544 typedef void (GL_APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); 2545 typedef GLVULKANPROCNV (GL_APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name); 2546 typedef void (GL_APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); 2547 typedef void (GL_APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore); 2548 typedef void (GL_APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence); 2549 #ifdef GL_GLEXT_PROTOTYPES 2550 GL_APICALL void GL_APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); 2551 GL_APICALL GLVULKANPROCNV GL_APIENTRY glGetVkProcAddrNV (const GLchar *name); 2552 GL_APICALL void GL_APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore); 2553 GL_APICALL void GL_APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore); 2554 GL_APICALL void GL_APIENTRY glSignalVkFenceNV (GLuint64 vkFence); 2555 #endif 2556 #endif /* GL_NV_draw_vulkan_image */ 2557 2558 #ifndef GL_NV_explicit_attrib_location 2559 #define GL_NV_explicit_attrib_location 1 2560 #endif /* GL_NV_explicit_attrib_location */ 2561 2562 #ifndef GL_NV_fbo_color_attachments 2563 #define GL_NV_fbo_color_attachments 1 2564 #define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF 2565 #endif /* GL_NV_fbo_color_attachments */ 2566 2567 #ifndef GL_NV_fence 2568 #define GL_NV_fence 1 2569 #define GL_ALL_COMPLETED_NV 0x84F2 2570 #define GL_FENCE_STATUS_NV 0x84F3 2571 #define GL_FENCE_CONDITION_NV 0x84F4 2572 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); 2573 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); 2574 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); 2575 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); 2576 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); 2577 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); 2578 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); 2579 #ifdef GL_GLEXT_PROTOTYPES 2580 GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); 2581 GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); 2582 GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); 2583 GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); 2584 GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); 2585 GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence); 2586 GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); 2587 #endif 2588 #endif /* GL_NV_fence */ 2589 2590 #ifndef GL_NV_fill_rectangle 2591 #define GL_NV_fill_rectangle 1 2592 #define GL_FILL_RECTANGLE_NV 0x933C 2593 #endif /* GL_NV_fill_rectangle */ 2594 2595 #ifndef GL_NV_fragment_coverage_to_color 2596 #define GL_NV_fragment_coverage_to_color 1 2597 #define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD 2598 #define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE 2599 typedef void (GL_APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color); 2600 #ifdef GL_GLEXT_PROTOTYPES 2601 GL_APICALL void GL_APIENTRY glFragmentCoverageColorNV (GLuint color); 2602 #endif 2603 #endif /* GL_NV_fragment_coverage_to_color */ 2604 2605 #ifndef GL_NV_fragment_shader_interlock 2606 #define GL_NV_fragment_shader_interlock 1 2607 #endif /* GL_NV_fragment_shader_interlock */ 2608 2609 #ifndef GL_NV_framebuffer_blit 2610 #define GL_NV_framebuffer_blit 1 2611 #define GL_READ_FRAMEBUFFER_NV 0x8CA8 2612 #define GL_DRAW_FRAMEBUFFER_NV 0x8CA9 2613 #define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6 2614 #define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA 2615 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 2616 #ifdef GL_GLEXT_PROTOTYPES 2617 GL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 2618 #endif 2619 #endif /* GL_NV_framebuffer_blit */ 2620 2621 #ifndef GL_NV_framebuffer_mixed_samples 2622 #define GL_NV_framebuffer_mixed_samples 1 2623 #define GL_COVERAGE_MODULATION_TABLE_NV 0x9331 2624 #define GL_COLOR_SAMPLES_NV 0x8E20 2625 #define GL_DEPTH_SAMPLES_NV 0x932D 2626 #define GL_STENCIL_SAMPLES_NV 0x932E 2627 #define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F 2628 #define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330 2629 #define GL_COVERAGE_MODULATION_NV 0x9332 2630 #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333 2631 typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v); 2632 typedef void (GL_APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v); 2633 typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components); 2634 #ifdef GL_GLEXT_PROTOTYPES 2635 GL_APICALL void GL_APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v); 2636 GL_APICALL void GL_APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v); 2637 GL_APICALL void GL_APIENTRY glCoverageModulationNV (GLenum components); 2638 #endif 2639 #endif /* GL_NV_framebuffer_mixed_samples */ 2640 2641 #ifndef GL_NV_framebuffer_multisample 2642 #define GL_NV_framebuffer_multisample 1 2643 #define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB 2644 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56 2645 #define GL_MAX_SAMPLES_NV 0x8D57 2646 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2647 #ifdef GL_GLEXT_PROTOTYPES 2648 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2649 #endif 2650 #endif /* GL_NV_framebuffer_multisample */ 2651 2652 #ifndef GL_NV_generate_mipmap_sRGB 2653 #define GL_NV_generate_mipmap_sRGB 1 2654 #endif /* GL_NV_generate_mipmap_sRGB */ 2655 2656 #ifndef GL_NV_geometry_shader_passthrough 2657 #define GL_NV_geometry_shader_passthrough 1 2658 #endif /* GL_NV_geometry_shader_passthrough */ 2659 2660 #ifndef GL_NV_gpu_shader5 2661 #define GL_NV_gpu_shader5 1 2662 typedef khronos_int64_t GLint64EXT; 2663 typedef khronos_uint64_t GLuint64EXT; 2664 #define GL_INT64_NV 0x140E 2665 #define GL_UNSIGNED_INT64_NV 0x140F 2666 #define GL_INT8_NV 0x8FE0 2667 #define GL_INT8_VEC2_NV 0x8FE1 2668 #define GL_INT8_VEC3_NV 0x8FE2 2669 #define GL_INT8_VEC4_NV 0x8FE3 2670 #define GL_INT16_NV 0x8FE4 2671 #define GL_INT16_VEC2_NV 0x8FE5 2672 #define GL_INT16_VEC3_NV 0x8FE6 2673 #define GL_INT16_VEC4_NV 0x8FE7 2674 #define GL_INT64_VEC2_NV 0x8FE9 2675 #define GL_INT64_VEC3_NV 0x8FEA 2676 #define GL_INT64_VEC4_NV 0x8FEB 2677 #define GL_UNSIGNED_INT8_NV 0x8FEC 2678 #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED 2679 #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE 2680 #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF 2681 #define GL_UNSIGNED_INT16_NV 0x8FF0 2682 #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1 2683 #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2 2684 #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3 2685 #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 2686 #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 2687 #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 2688 #define GL_FLOAT16_NV 0x8FF8 2689 #define GL_FLOAT16_VEC2_NV 0x8FF9 2690 #define GL_FLOAT16_VEC3_NV 0x8FFA 2691 #define GL_FLOAT16_VEC4_NV 0x8FFB 2692 #define GL_PATCHES 0x000E 2693 typedef void (GL_APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x); 2694 typedef void (GL_APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y); 2695 typedef void (GL_APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 2696 typedef void (GL_APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 2697 typedef void (GL_APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 2698 typedef void (GL_APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 2699 typedef void (GL_APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 2700 typedef void (GL_APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 2701 typedef void (GL_APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x); 2702 typedef void (GL_APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y); 2703 typedef void (GL_APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 2704 typedef void (GL_APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 2705 typedef void (GL_APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 2706 typedef void (GL_APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 2707 typedef void (GL_APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 2708 typedef void (GL_APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 2709 typedef void (GL_APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params); 2710 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x); 2711 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); 2712 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 2713 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 2714 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2715 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2716 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2717 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2718 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x); 2719 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); 2720 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 2721 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 2722 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2723 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2724 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2725 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2726 #ifdef GL_GLEXT_PROTOTYPES 2727 GL_APICALL void GL_APIENTRY glUniform1i64NV (GLint location, GLint64EXT x); 2728 GL_APICALL void GL_APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y); 2729 GL_APICALL void GL_APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 2730 GL_APICALL void GL_APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 2731 GL_APICALL void GL_APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 2732 GL_APICALL void GL_APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 2733 GL_APICALL void GL_APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 2734 GL_APICALL void GL_APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 2735 GL_APICALL void GL_APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x); 2736 GL_APICALL void GL_APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y); 2737 GL_APICALL void GL_APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 2738 GL_APICALL void GL_APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 2739 GL_APICALL void GL_APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 2740 GL_APICALL void GL_APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 2741 GL_APICALL void GL_APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 2742 GL_APICALL void GL_APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 2743 GL_APICALL void GL_APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params); 2744 GL_APICALL void GL_APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x); 2745 GL_APICALL void GL_APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); 2746 GL_APICALL void GL_APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 2747 GL_APICALL void GL_APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 2748 GL_APICALL void GL_APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2749 GL_APICALL void GL_APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2750 GL_APICALL void GL_APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2751 GL_APICALL void GL_APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 2752 GL_APICALL void GL_APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x); 2753 GL_APICALL void GL_APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); 2754 GL_APICALL void GL_APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 2755 GL_APICALL void GL_APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 2756 GL_APICALL void GL_APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2757 GL_APICALL void GL_APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2758 GL_APICALL void GL_APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2759 GL_APICALL void GL_APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 2760 #endif 2761 #endif /* GL_NV_gpu_shader5 */ 2762 2763 #ifndef GL_NV_image_formats 2764 #define GL_NV_image_formats 1 2765 #endif /* GL_NV_image_formats */ 2766 2767 #ifndef GL_NV_instanced_arrays 2768 #define GL_NV_instanced_arrays 1 2769 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE 2770 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor); 2771 #ifdef GL_GLEXT_PROTOTYPES 2772 GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor); 2773 #endif 2774 #endif /* GL_NV_instanced_arrays */ 2775 2776 #ifndef GL_NV_internalformat_sample_query 2777 #define GL_NV_internalformat_sample_query 1 2778 #define GL_TEXTURE_2D_MULTISAMPLE 0x9100 2779 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 2780 #define GL_MULTISAMPLES_NV 0x9371 2781 #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372 2782 #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373 2783 #define GL_CONFORMANT_NV 0x9374 2784 typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); 2785 #ifdef GL_GLEXT_PROTOTYPES 2786 GL_APICALL void GL_APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params); 2787 #endif 2788 #endif /* GL_NV_internalformat_sample_query */ 2789 2790 #ifndef GL_NV_non_square_matrices 2791 #define GL_NV_non_square_matrices 1 2792 #define GL_FLOAT_MAT2x3_NV 0x8B65 2793 #define GL_FLOAT_MAT2x4_NV 0x8B66 2794 #define GL_FLOAT_MAT3x2_NV 0x8B67 2795 #define GL_FLOAT_MAT3x4_NV 0x8B68 2796 #define GL_FLOAT_MAT4x2_NV 0x8B69 2797 #define GL_FLOAT_MAT4x3_NV 0x8B6A 2798 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2799 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2800 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2801 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2802 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2803 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2804 #ifdef GL_GLEXT_PROTOTYPES 2805 GL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2806 GL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2807 GL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2808 GL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2809 GL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2810 GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2811 #endif 2812 #endif /* GL_NV_non_square_matrices */ 2813 2814 #ifndef GL_NV_path_rendering 2815 #define GL_NV_path_rendering 1 2816 #define GL_PATH_FORMAT_SVG_NV 0x9070 2817 #define GL_PATH_FORMAT_PS_NV 0x9071 2818 #define GL_STANDARD_FONT_NAME_NV 0x9072 2819 #define GL_SYSTEM_FONT_NAME_NV 0x9073 2820 #define GL_FILE_NAME_NV 0x9074 2821 #define GL_PATH_STROKE_WIDTH_NV 0x9075 2822 #define GL_PATH_END_CAPS_NV 0x9076 2823 #define GL_PATH_INITIAL_END_CAP_NV 0x9077 2824 #define GL_PATH_TERMINAL_END_CAP_NV 0x9078 2825 #define GL_PATH_JOIN_STYLE_NV 0x9079 2826 #define GL_PATH_MITER_LIMIT_NV 0x907A 2827 #define GL_PATH_DASH_CAPS_NV 0x907B 2828 #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C 2829 #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D 2830 #define GL_PATH_DASH_OFFSET_NV 0x907E 2831 #define GL_PATH_CLIENT_LENGTH_NV 0x907F 2832 #define GL_PATH_FILL_MODE_NV 0x9080 2833 #define GL_PATH_FILL_MASK_NV 0x9081 2834 #define GL_PATH_FILL_COVER_MODE_NV 0x9082 2835 #define GL_PATH_STROKE_COVER_MODE_NV 0x9083 2836 #define GL_PATH_STROKE_MASK_NV 0x9084 2837 #define GL_COUNT_UP_NV 0x9088 2838 #define GL_COUNT_DOWN_NV 0x9089 2839 #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A 2840 #define GL_CONVEX_HULL_NV 0x908B 2841 #define GL_BOUNDING_BOX_NV 0x908D 2842 #define GL_TRANSLATE_X_NV 0x908E 2843 #define GL_TRANSLATE_Y_NV 0x908F 2844 #define GL_TRANSLATE_2D_NV 0x9090 2845 #define GL_TRANSLATE_3D_NV 0x9091 2846 #define GL_AFFINE_2D_NV 0x9092 2847 #define GL_AFFINE_3D_NV 0x9094 2848 #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096 2849 #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098 2850 #define GL_UTF8_NV 0x909A 2851 #define GL_UTF16_NV 0x909B 2852 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C 2853 #define GL_PATH_COMMAND_COUNT_NV 0x909D 2854 #define GL_PATH_COORD_COUNT_NV 0x909E 2855 #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F 2856 #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0 2857 #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1 2858 #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2 2859 #define GL_SQUARE_NV 0x90A3 2860 #define GL_ROUND_NV 0x90A4 2861 #define GL_TRIANGULAR_NV 0x90A5 2862 #define GL_BEVEL_NV 0x90A6 2863 #define GL_MITER_REVERT_NV 0x90A7 2864 #define GL_MITER_TRUNCATE_NV 0x90A8 2865 #define GL_SKIP_MISSING_GLYPH_NV 0x90A9 2866 #define GL_USE_MISSING_GLYPH_NV 0x90AA 2867 #define GL_PATH_ERROR_POSITION_NV 0x90AB 2868 #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD 2869 #define GL_ADJACENT_PAIRS_NV 0x90AE 2870 #define GL_FIRST_TO_REST_NV 0x90AF 2871 #define GL_PATH_GEN_MODE_NV 0x90B0 2872 #define GL_PATH_GEN_COEFF_NV 0x90B1 2873 #define GL_PATH_GEN_COMPONENTS_NV 0x90B3 2874 #define GL_PATH_STENCIL_FUNC_NV 0x90B7 2875 #define GL_PATH_STENCIL_REF_NV 0x90B8 2876 #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9 2877 #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD 2878 #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE 2879 #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF 2880 #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4 2881 #define GL_MOVE_TO_RESETS_NV 0x90B5 2882 #define GL_MOVE_TO_CONTINUES_NV 0x90B6 2883 #define GL_CLOSE_PATH_NV 0x00 2884 #define GL_MOVE_TO_NV 0x02 2885 #define GL_RELATIVE_MOVE_TO_NV 0x03 2886 #define GL_LINE_TO_NV 0x04 2887 #define GL_RELATIVE_LINE_TO_NV 0x05 2888 #define GL_HORIZONTAL_LINE_TO_NV 0x06 2889 #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07 2890 #define GL_VERTICAL_LINE_TO_NV 0x08 2891 #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09 2892 #define GL_QUADRATIC_CURVE_TO_NV 0x0A 2893 #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B 2894 #define GL_CUBIC_CURVE_TO_NV 0x0C 2895 #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D 2896 #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E 2897 #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F 2898 #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10 2899 #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11 2900 #define GL_SMALL_CCW_ARC_TO_NV 0x12 2901 #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13 2902 #define GL_SMALL_CW_ARC_TO_NV 0x14 2903 #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15 2904 #define GL_LARGE_CCW_ARC_TO_NV 0x16 2905 #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17 2906 #define GL_LARGE_CW_ARC_TO_NV 0x18 2907 #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19 2908 #define GL_RESTART_PATH_NV 0xF0 2909 #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2 2910 #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4 2911 #define GL_RECT_NV 0xF6 2912 #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8 2913 #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA 2914 #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC 2915 #define GL_ARC_TO_NV 0xFE 2916 #define GL_RELATIVE_ARC_TO_NV 0xFF 2917 #define GL_BOLD_BIT_NV 0x01 2918 #define GL_ITALIC_BIT_NV 0x02 2919 #define GL_GLYPH_WIDTH_BIT_NV 0x01 2920 #define GL_GLYPH_HEIGHT_BIT_NV 0x02 2921 #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04 2922 #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08 2923 #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10 2924 #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20 2925 #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40 2926 #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80 2927 #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100 2928 #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000 2929 #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000 2930 #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000 2931 #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000 2932 #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000 2933 #define GL_FONT_ASCENDER_BIT_NV 0x00200000 2934 #define GL_FONT_DESCENDER_BIT_NV 0x00400000 2935 #define GL_FONT_HEIGHT_BIT_NV 0x00800000 2936 #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000 2937 #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000 2938 #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000 2939 #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000 2940 #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000 2941 #define GL_ROUNDED_RECT_NV 0xE8 2942 #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9 2943 #define GL_ROUNDED_RECT2_NV 0xEA 2944 #define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB 2945 #define GL_ROUNDED_RECT4_NV 0xEC 2946 #define GL_RELATIVE_ROUNDED_RECT4_NV 0xED 2947 #define GL_ROUNDED_RECT8_NV 0xEE 2948 #define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF 2949 #define GL_RELATIVE_RECT_NV 0xF7 2950 #define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368 2951 #define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369 2952 #define GL_FONT_UNAVAILABLE_NV 0x936A 2953 #define GL_FONT_UNINTELLIGIBLE_NV 0x936B 2954 #define GL_CONIC_CURVE_TO_NV 0x1A 2955 #define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B 2956 #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000 2957 #define GL_STANDARD_FONT_FORMAT_NV 0x936C 2958 #define GL_PATH_PROJECTION_NV 0x1701 2959 #define GL_PATH_MODELVIEW_NV 0x1700 2960 #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3 2961 #define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6 2962 #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36 2963 #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3 2964 #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4 2965 #define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7 2966 #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38 2967 #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4 2968 #define GL_FRAGMENT_INPUT_NV 0x936D 2969 typedef GLuint (GL_APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range); 2970 typedef void (GL_APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range); 2971 typedef GLboolean (GL_APIENTRYP PFNGLISPATHNVPROC) (GLuint path); 2972 typedef void (GL_APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 2973 typedef void (GL_APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); 2974 typedef void (GL_APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 2975 typedef void (GL_APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); 2976 typedef void (GL_APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString); 2977 typedef void (GL_APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 2978 typedef void (GL_APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 2979 typedef void (GL_APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); 2980 typedef void (GL_APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath); 2981 typedef void (GL_APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); 2982 typedef void (GL_APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); 2983 typedef void (GL_APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value); 2984 typedef void (GL_APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value); 2985 typedef void (GL_APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value); 2986 typedef void (GL_APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value); 2987 typedef void (GL_APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray); 2988 typedef void (GL_APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask); 2989 typedef void (GL_APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units); 2990 typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask); 2991 typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask); 2992 typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); 2993 typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); 2994 typedef void (GL_APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func); 2995 typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode); 2996 typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode); 2997 typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 2998 typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 2999 typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value); 3000 typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value); 3001 typedef void (GL_APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands); 3002 typedef void (GL_APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords); 3003 typedef void (GL_APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray); 3004 typedef void (GL_APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); 3005 typedef void (GL_APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); 3006 typedef void (GL_APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); 3007 typedef GLboolean (GL_APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y); 3008 typedef GLboolean (GL_APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y); 3009 typedef GLfloat (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments); 3010 typedef GLboolean (GL_APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); 3011 typedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); 3012 typedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 3013 typedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 3014 typedef void (GL_APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m); 3015 typedef void (GL_APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 3016 typedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m); 3017 typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); 3018 typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode); 3019 typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3020 typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3021 typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); 3022 typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3023 typedef GLenum (GL_APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3024 typedef void (GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); 3025 typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); 3026 #ifdef GL_GLEXT_PROTOTYPES 3027 GL_APICALL GLuint GL_APIENTRY glGenPathsNV (GLsizei range); 3028 GL_APICALL void GL_APIENTRY glDeletePathsNV (GLuint path, GLsizei range); 3029 GL_APICALL GLboolean GL_APIENTRY glIsPathNV (GLuint path); 3030 GL_APICALL void GL_APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 3031 GL_APICALL void GL_APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); 3032 GL_APICALL void GL_APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); 3033 GL_APICALL void GL_APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); 3034 GL_APICALL void GL_APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString); 3035 GL_APICALL void GL_APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3036 GL_APICALL void GL_APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3037 GL_APICALL void GL_APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); 3038 GL_APICALL void GL_APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath); 3039 GL_APICALL void GL_APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); 3040 GL_APICALL void GL_APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); 3041 GL_APICALL void GL_APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value); 3042 GL_APICALL void GL_APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value); 3043 GL_APICALL void GL_APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value); 3044 GL_APICALL void GL_APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value); 3045 GL_APICALL void GL_APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray); 3046 GL_APICALL void GL_APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask); 3047 GL_APICALL void GL_APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units); 3048 GL_APICALL void GL_APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask); 3049 GL_APICALL void GL_APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask); 3050 GL_APICALL void GL_APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); 3051 GL_APICALL void GL_APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); 3052 GL_APICALL void GL_APIENTRY glPathCoverDepthFuncNV (GLenum func); 3053 GL_APICALL void GL_APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode); 3054 GL_APICALL void GL_APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode); 3055 GL_APICALL void GL_APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3056 GL_APICALL void GL_APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3057 GL_APICALL void GL_APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value); 3058 GL_APICALL void GL_APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value); 3059 GL_APICALL void GL_APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands); 3060 GL_APICALL void GL_APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords); 3061 GL_APICALL void GL_APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray); 3062 GL_APICALL void GL_APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); 3063 GL_APICALL void GL_APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); 3064 GL_APICALL void GL_APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); 3065 GL_APICALL GLboolean GL_APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y); 3066 GL_APICALL GLboolean GL_APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y); 3067 GL_APICALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments); 3068 GL_APICALL GLboolean GL_APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); 3069 GL_APICALL void GL_APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m); 3070 GL_APICALL void GL_APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m); 3071 GL_APICALL void GL_APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); 3072 GL_APICALL void GL_APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m); 3073 GL_APICALL void GL_APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m); 3074 GL_APICALL void GL_APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m); 3075 GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); 3076 GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode); 3077 GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3078 GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 3079 GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]); 3080 GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3081 GL_APICALL GLenum GL_APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 3082 GL_APICALL void GL_APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs); 3083 GL_APICALL void GL_APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params); 3084 #endif 3085 #endif /* GL_NV_path_rendering */ 3086 3087 #ifndef GL_NV_path_rendering_shared_edge 3088 #define GL_NV_path_rendering_shared_edge 1 3089 #define GL_SHARED_EDGE_NV 0xC0 3090 #endif /* GL_NV_path_rendering_shared_edge */ 3091 3092 #ifndef GL_NV_polygon_mode 3093 #define GL_NV_polygon_mode 1 3094 #define GL_POLYGON_MODE_NV 0x0B40 3095 #define GL_POLYGON_OFFSET_POINT_NV 0x2A01 3096 #define GL_POLYGON_OFFSET_LINE_NV 0x2A02 3097 #define GL_POINT_NV 0x1B00 3098 #define GL_LINE_NV 0x1B01 3099 #define GL_FILL_NV 0x1B02 3100 typedef void (GL_APIENTRYP PFNGLPOLYGONMODENVPROC) (GLenum face, GLenum mode); 3101 #ifdef GL_GLEXT_PROTOTYPES 3102 GL_APICALL void GL_APIENTRY glPolygonModeNV (GLenum face, GLenum mode); 3103 #endif 3104 #endif /* GL_NV_polygon_mode */ 3105 3106 #ifndef GL_NV_read_buffer 3107 #define GL_NV_read_buffer 1 3108 #define GL_READ_BUFFER_NV 0x0C02 3109 typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode); 3110 #ifdef GL_GLEXT_PROTOTYPES 3111 GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode); 3112 #endif 3113 #endif /* GL_NV_read_buffer */ 3114 3115 #ifndef GL_NV_read_buffer_front 3116 #define GL_NV_read_buffer_front 1 3117 #endif /* GL_NV_read_buffer_front */ 3118 3119 #ifndef GL_NV_read_depth 3120 #define GL_NV_read_depth 1 3121 #endif /* GL_NV_read_depth */ 3122 3123 #ifndef GL_NV_read_depth_stencil 3124 #define GL_NV_read_depth_stencil 1 3125 #endif /* GL_NV_read_depth_stencil */ 3126 3127 #ifndef GL_NV_read_stencil 3128 #define GL_NV_read_stencil 1 3129 #endif /* GL_NV_read_stencil */ 3130 3131 #ifndef GL_NV_sRGB_formats 3132 #define GL_NV_sRGB_formats 1 3133 #define GL_SLUMINANCE_NV 0x8C46 3134 #define GL_SLUMINANCE_ALPHA_NV 0x8C44 3135 #define GL_SRGB8_NV 0x8C41 3136 #define GL_SLUMINANCE8_NV 0x8C47 3137 #define GL_SLUMINANCE8_ALPHA8_NV 0x8C45 3138 #define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C 3139 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D 3140 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E 3141 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F 3142 #define GL_ETC1_SRGB8_NV 0x88EE 3143 #endif /* GL_NV_sRGB_formats */ 3144 3145 #ifndef GL_NV_sample_locations 3146 #define GL_NV_sample_locations 1 3147 #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D 3148 #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E 3149 #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F 3150 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340 3151 #define GL_SAMPLE_LOCATION_NV 0x8E50 3152 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341 3153 #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342 3154 #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343 3155 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v); 3156 typedef void (GL_APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); 3157 typedef void (GL_APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void); 3158 #ifdef GL_GLEXT_PROTOTYPES 3159 GL_APICALL void GL_APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v); 3160 GL_APICALL void GL_APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v); 3161 GL_APICALL void GL_APIENTRY glResolveDepthValuesNV (void); 3162 #endif 3163 #endif /* GL_NV_sample_locations */ 3164 3165 #ifndef GL_NV_sample_mask_override_coverage 3166 #define GL_NV_sample_mask_override_coverage 1 3167 #endif /* GL_NV_sample_mask_override_coverage */ 3168 3169 #ifndef GL_NV_shader_atomic_fp16_vector 3170 #define GL_NV_shader_atomic_fp16_vector 1 3171 #endif /* GL_NV_shader_atomic_fp16_vector */ 3172 3173 #ifndef GL_NV_shader_noperspective_interpolation 3174 #define GL_NV_shader_noperspective_interpolation 1 3175 #endif /* GL_NV_shader_noperspective_interpolation */ 3176 3177 #ifndef GL_NV_shadow_samplers_array 3178 #define GL_NV_shadow_samplers_array 1 3179 #define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4 3180 #endif /* GL_NV_shadow_samplers_array */ 3181 3182 #ifndef GL_NV_shadow_samplers_cube 3183 #define GL_NV_shadow_samplers_cube 1 3184 #define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5 3185 #endif /* GL_NV_shadow_samplers_cube */ 3186 3187 #ifndef GL_NV_texture_border_clamp 3188 #define GL_NV_texture_border_clamp 1 3189 #define GL_TEXTURE_BORDER_COLOR_NV 0x1004 3190 #define GL_CLAMP_TO_BORDER_NV 0x812D 3191 #endif /* GL_NV_texture_border_clamp */ 3192 3193 #ifndef GL_NV_texture_compression_s3tc_update 3194 #define GL_NV_texture_compression_s3tc_update 1 3195 #endif /* GL_NV_texture_compression_s3tc_update */ 3196 3197 #ifndef GL_NV_texture_npot_2D_mipmap 3198 #define GL_NV_texture_npot_2D_mipmap 1 3199 #endif /* GL_NV_texture_npot_2D_mipmap */ 3200 3201 #ifndef GL_NV_viewport_array 3202 #define GL_NV_viewport_array 1 3203 #define GL_MAX_VIEWPORTS_NV 0x825B 3204 #define GL_VIEWPORT_SUBPIXEL_BITS_NV 0x825C 3205 #define GL_VIEWPORT_BOUNDS_RANGE_NV 0x825D 3206 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_NV 0x825F 3207 typedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVNVPROC) (GLuint first, GLsizei count, const GLfloat *v); 3208 typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 3209 typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVNVPROC) (GLuint index, const GLfloat *v); 3210 typedef void (GL_APIENTRYP PFNGLSCISSORARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v); 3211 typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDNVPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 3212 typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVNVPROC) (GLuint index, const GLint *v); 3213 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVNVPROC) (GLuint first, GLsizei count, const GLfloat *v); 3214 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFNVPROC) (GLuint index, GLfloat n, GLfloat f); 3215 typedef void (GL_APIENTRYP PFNGLGETFLOATI_VNVPROC) (GLenum target, GLuint index, GLfloat *data); 3216 typedef void (GL_APIENTRYP PFNGLENABLEINVPROC) (GLenum target, GLuint index); 3217 typedef void (GL_APIENTRYP PFNGLDISABLEINVPROC) (GLenum target, GLuint index); 3218 typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDINVPROC) (GLenum target, GLuint index); 3219 #ifdef GL_GLEXT_PROTOTYPES 3220 GL_APICALL void GL_APIENTRY glViewportArrayvNV (GLuint first, GLsizei count, const GLfloat *v); 3221 GL_APICALL void GL_APIENTRY glViewportIndexedfNV (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 3222 GL_APICALL void GL_APIENTRY glViewportIndexedfvNV (GLuint index, const GLfloat *v); 3223 GL_APICALL void GL_APIENTRY glScissorArrayvNV (GLuint first, GLsizei count, const GLint *v); 3224 GL_APICALL void GL_APIENTRY glScissorIndexedNV (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 3225 GL_APICALL void GL_APIENTRY glScissorIndexedvNV (GLuint index, const GLint *v); 3226 GL_APICALL void GL_APIENTRY glDepthRangeArrayfvNV (GLuint first, GLsizei count, const GLfloat *v); 3227 GL_APICALL void GL_APIENTRY glDepthRangeIndexedfNV (GLuint index, GLfloat n, GLfloat f); 3228 GL_APICALL void GL_APIENTRY glGetFloati_vNV (GLenum target, GLuint index, GLfloat *data); 3229 GL_APICALL void GL_APIENTRY glEnableiNV (GLenum target, GLuint index); 3230 GL_APICALL void GL_APIENTRY glDisableiNV (GLenum target, GLuint index); 3231 GL_APICALL GLboolean GL_APIENTRY glIsEnablediNV (GLenum target, GLuint index); 3232 #endif 3233 #endif /* GL_NV_viewport_array */ 3234 3235 #ifndef GL_NV_viewport_array2 3236 #define GL_NV_viewport_array2 1 3237 #endif /* GL_NV_viewport_array2 */ 3238 3239 #ifndef GL_NV_viewport_swizzle 3240 #define GL_NV_viewport_swizzle 1 3241 #define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350 3242 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351 3243 #define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352 3244 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353 3245 #define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354 3246 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355 3247 #define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356 3248 #define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357 3249 #define GL_VIEWPORT_SWIZZLE_X_NV 0x9358 3250 #define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359 3251 #define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A 3252 #define GL_VIEWPORT_SWIZZLE_W_NV 0x935B 3253 typedef void (GL_APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); 3254 #ifdef GL_GLEXT_PROTOTYPES 3255 GL_APICALL void GL_APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); 3256 #endif 3257 #endif /* GL_NV_viewport_swizzle */ 3258 3259 #ifndef GL_OVR_multiview 3260 #define GL_OVR_multiview 1 3261 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630 3262 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632 3263 #define GL_MAX_VIEWS_OVR 0x9631 3264 #define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633 3265 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); 3266 #ifdef GL_GLEXT_PROTOTYPES 3267 GL_APICALL void GL_APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); 3268 #endif 3269 #endif /* GL_OVR_multiview */ 3270 3271 #ifndef GL_OVR_multiview2 3272 #define GL_OVR_multiview2 1 3273 #endif /* GL_OVR_multiview2 */ 3274 3275 #ifndef GL_OVR_multiview_multisampled_render_to_texture 3276 #define GL_OVR_multiview_multisampled_render_to_texture 1 3277 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews); 3278 #ifdef GL_GLEXT_PROTOTYPES 3279 GL_APICALL void GL_APIENTRY glFramebufferTextureMultisampleMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews); 3280 #endif 3281 #endif /* GL_OVR_multiview_multisampled_render_to_texture */ 3282 3283 #ifndef GL_QCOM_alpha_test 3284 #define GL_QCOM_alpha_test 1 3285 #define GL_ALPHA_TEST_QCOM 0x0BC0 3286 #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 3287 #define GL_ALPHA_TEST_REF_QCOM 0x0BC2 3288 typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref); 3289 #ifdef GL_GLEXT_PROTOTYPES 3290 GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref); 3291 #endif 3292 #endif /* GL_QCOM_alpha_test */ 3293 3294 #ifndef GL_QCOM_binning_control 3295 #define GL_QCOM_binning_control 1 3296 #define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0 3297 #define GL_CPU_OPTIMIZED_QCOM 0x8FB1 3298 #define GL_GPU_OPTIMIZED_QCOM 0x8FB2 3299 #define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3 3300 #endif /* GL_QCOM_binning_control */ 3301 3302 #ifndef GL_QCOM_driver_control 3303 #define GL_QCOM_driver_control 1 3304 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); 3305 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); 3306 typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); 3307 typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); 3308 #ifdef GL_GLEXT_PROTOTYPES 3309 GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls); 3310 GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); 3311 GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); 3312 GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); 3313 #endif 3314 #endif /* GL_QCOM_driver_control */ 3315 3316 #ifndef GL_QCOM_extended_get 3317 #define GL_QCOM_extended_get 1 3318 #define GL_TEXTURE_WIDTH_QCOM 0x8BD2 3319 #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 3320 #define GL_TEXTURE_DEPTH_QCOM 0x8BD4 3321 #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 3322 #define GL_TEXTURE_FORMAT_QCOM 0x8BD6 3323 #define GL_TEXTURE_TYPE_QCOM 0x8BD7 3324 #define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 3325 #define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 3326 #define GL_TEXTURE_TARGET_QCOM 0x8BDA 3327 #define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB 3328 #define GL_STATE_RESTORE 0x8BDC 3329 typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); 3330 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); 3331 typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); 3332 typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); 3333 typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); 3334 typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); 3335 typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); 3336 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params); 3337 #ifdef GL_GLEXT_PROTOTYPES 3338 GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures); 3339 GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); 3340 GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); 3341 GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); 3342 GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); 3343 GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param); 3344 GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); 3345 GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params); 3346 #endif 3347 #endif /* GL_QCOM_extended_get */ 3348 3349 #ifndef GL_QCOM_extended_get2 3350 #define GL_QCOM_extended_get2 1 3351 typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); 3352 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); 3353 typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); 3354 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); 3355 #ifdef GL_GLEXT_PROTOTYPES 3356 GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders); 3357 GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms); 3358 GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); 3359 GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length); 3360 #endif 3361 #endif /* GL_QCOM_extended_get2 */ 3362 3363 #ifndef GL_QCOM_framebuffer_foveated 3364 #define GL_QCOM_framebuffer_foveated 1 3365 #define GL_FOVEATION_ENABLE_BIT_QCOM 0x00000001 3366 #define GL_FOVEATION_SCALED_BIN_METHOD_BIT_QCOM 0x00000002 3367 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC) (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint *providedFeatures); 3368 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC) (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); 3369 #ifdef GL_GLEXT_PROTOTYPES 3370 GL_APICALL void GL_APIENTRY glFramebufferFoveationConfigQCOM (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint *providedFeatures); 3371 GL_APICALL void GL_APIENTRY glFramebufferFoveationParametersQCOM (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea); 3372 #endif 3373 #endif /* GL_QCOM_framebuffer_foveated */ 3374 3375 #ifndef GL_QCOM_perfmon_global_mode 3376 #define GL_QCOM_perfmon_global_mode 1 3377 #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 3378 #endif /* GL_QCOM_perfmon_global_mode */ 3379 3380 #ifndef GL_QCOM_shader_framebuffer_fetch_noncoherent 3381 #define GL_QCOM_shader_framebuffer_fetch_noncoherent 1 3382 #define GL_FRAMEBUFFER_FETCH_NONCOHERENT_QCOM 0x96A2 3383 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC) (void); 3384 #ifdef GL_GLEXT_PROTOTYPES 3385 GL_APICALL void GL_APIENTRY glFramebufferFetchBarrierQCOM (void); 3386 #endif 3387 #endif /* GL_QCOM_shader_framebuffer_fetch_noncoherent */ 3388 3389 #ifndef GL_QCOM_tiled_rendering 3390 #define GL_QCOM_tiled_rendering 1 3391 #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 3392 #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 3393 #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 3394 #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 3395 #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 3396 #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 3397 #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 3398 #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 3399 #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 3400 #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 3401 #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 3402 #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 3403 #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 3404 #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 3405 #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 3406 #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 3407 #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 3408 #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 3409 #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 3410 #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 3411 #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 3412 #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 3413 #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 3414 #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 3415 #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 3416 #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 3417 #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 3418 #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 3419 #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 3420 #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 3421 #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 3422 #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 3423 typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); 3424 typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); 3425 #ifdef GL_GLEXT_PROTOTYPES 3426 GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); 3427 GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); 3428 #endif 3429 #endif /* GL_QCOM_tiled_rendering */ 3430 3431 #ifndef GL_QCOM_writeonly_rendering 3432 #define GL_QCOM_writeonly_rendering 1 3433 #define GL_WRITEONLY_RENDERING_QCOM 0x8823 3434 #endif /* GL_QCOM_writeonly_rendering */ 3435 3436 #ifndef GL_VIV_shader_binary 3437 #define GL_VIV_shader_binary 1 3438 #define GL_SHADER_BINARY_VIV 0x8FC4 3439 #endif /* GL_VIV_shader_binary */ 3440 3441 #ifdef __cplusplus 3442 } 3443 #endif 3444 3445 #endif 3446