1 #ifndef __gl2ext_h_ 2 #define __gl2ext_h_ 1 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 /* 9 ** Copyright (c) 2013-2014 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 ** http://www.opengl.org/registry/ 35 ** 36 ** Khronos $Revision$ on $Date$ 37 */ 38 39 #ifndef GL_APIENTRYP 40 #define GL_APIENTRYP GL_APIENTRY* 41 #endif 42 43 /* Generated on date 20140519 */ 44 45 /* Generated C header for: 46 * API: gles2 47 * Profile: common 48 * Versions considered: 2\.[0-9] 49 * Versions emitted: _nomatch_^ 50 * Default extensions included: gles2 51 * Additional extensions included: _nomatch_^ 52 * Extensions removed: _nomatch_^ 53 */ 54 55 #ifndef GL_KHR_blend_equation_advanced 56 #define GL_KHR_blend_equation_advanced 1 57 #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285 58 #define GL_MULTIPLY_KHR 0x9294 59 #define GL_SCREEN_KHR 0x9295 60 #define GL_OVERLAY_KHR 0x9296 61 #define GL_DARKEN_KHR 0x9297 62 #define GL_LIGHTEN_KHR 0x9298 63 #define GL_COLORDODGE_KHR 0x9299 64 #define GL_COLORBURN_KHR 0x929A 65 #define GL_HARDLIGHT_KHR 0x929B 66 #define GL_SOFTLIGHT_KHR 0x929C 67 #define GL_DIFFERENCE_KHR 0x929E 68 #define GL_EXCLUSION_KHR 0x92A0 69 #define GL_HSL_HUE_KHR 0x92AD 70 #define GL_HSL_SATURATION_KHR 0x92AE 71 #define GL_HSL_COLOR_KHR 0x92AF 72 #define GL_HSL_LUMINOSITY_KHR 0x92B0 73 typedef void (GL_APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void); 74 #ifdef GL_GLEXT_PROTOTYPES 75 GL_APICALL void GL_APIENTRY glBlendBarrierKHR (void); 76 #endif 77 #endif /* GL_KHR_blend_equation_advanced */ 78 79 #ifndef GL_KHR_debug 80 #define GL_KHR_debug 1 81 typedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); 82 #define GL_SAMPLER 0x82E6 83 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242 84 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243 85 #define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244 86 #define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245 87 #define GL_DEBUG_SOURCE_API_KHR 0x8246 88 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247 89 #define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248 90 #define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249 91 #define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A 92 #define GL_DEBUG_SOURCE_OTHER_KHR 0x824B 93 #define GL_DEBUG_TYPE_ERROR_KHR 0x824C 94 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D 95 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E 96 #define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F 97 #define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250 98 #define GL_DEBUG_TYPE_OTHER_KHR 0x8251 99 #define GL_DEBUG_TYPE_MARKER_KHR 0x8268 100 #define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269 101 #define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A 102 #define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B 103 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C 104 #define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D 105 #define GL_BUFFER_KHR 0x82E0 106 #define GL_SHADER_KHR 0x82E1 107 #define GL_PROGRAM_KHR 0x82E2 108 #define GL_VERTEX_ARRAY_KHR 0x8074 109 #define GL_QUERY_KHR 0x82E3 110 #define GL_SAMPLER_KHR 0x82E6 111 #define GL_MAX_LABEL_LENGTH_KHR 0x82E8 112 #define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143 113 #define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144 114 #define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145 115 #define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146 116 #define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147 117 #define GL_DEBUG_SEVERITY_LOW_KHR 0x9148 118 #define GL_DEBUG_OUTPUT_KHR 0x92E0 119 #define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002 120 #define GL_STACK_OVERFLOW_KHR 0x0503 121 #define GL_STACK_UNDERFLOW_KHR 0x0504 122 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 123 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 124 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam); 125 typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 126 typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); 127 typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void); 128 typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); 129 typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); 130 typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label); 131 typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); 132 typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params); 133 #ifdef GL_GLEXT_PROTOTYPES 134 GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 135 GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 136 GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam); 137 GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 138 GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message); 139 GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void); 140 GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); 141 GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); 142 GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label); 143 GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); 144 GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params); 145 #endif 146 #endif /* GL_KHR_debug */ 147 148 #ifndef GL_KHR_texture_compression_astc_hdr 149 #define GL_KHR_texture_compression_astc_hdr 1 150 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 151 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 152 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 153 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 154 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 155 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 156 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 157 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 158 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 159 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 160 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA 161 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB 162 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC 163 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD 164 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 165 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 166 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 167 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 168 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 169 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 170 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 171 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 172 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 173 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 174 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA 175 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB 176 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC 177 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD 178 #endif /* GL_KHR_texture_compression_astc_hdr */ 179 180 #ifndef GL_KHR_texture_compression_astc_ldr 181 #define GL_KHR_texture_compression_astc_ldr 1 182 #endif /* GL_KHR_texture_compression_astc_ldr */ 183 184 #ifndef GL_OES_EGL_image 185 #define GL_OES_EGL_image 1 186 typedef void *GLeglImageOES; 187 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); 188 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); 189 #ifdef GL_GLEXT_PROTOTYPES 190 GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); 191 GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); 192 #endif 193 #endif /* GL_OES_EGL_image */ 194 195 #ifndef GL_OES_EGL_image_external 196 #define GL_OES_EGL_image_external 1 197 #define GL_TEXTURE_EXTERNAL_OES 0x8D65 198 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 199 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 200 #define GL_SAMPLER_EXTERNAL_OES 0x8D66 201 #endif /* GL_OES_EGL_image_external */ 202 203 #ifndef GL_OES_compressed_ETC1_RGB8_texture 204 #define GL_OES_compressed_ETC1_RGB8_texture 1 205 #define GL_ETC1_RGB8_OES 0x8D64 206 #endif /* GL_OES_compressed_ETC1_RGB8_texture */ 207 208 #ifndef GL_OES_compressed_paletted_texture 209 #define GL_OES_compressed_paletted_texture 1 210 #define GL_PALETTE4_RGB8_OES 0x8B90 211 #define GL_PALETTE4_RGBA8_OES 0x8B91 212 #define GL_PALETTE4_R5_G6_B5_OES 0x8B92 213 #define GL_PALETTE4_RGBA4_OES 0x8B93 214 #define GL_PALETTE4_RGB5_A1_OES 0x8B94 215 #define GL_PALETTE8_RGB8_OES 0x8B95 216 #define GL_PALETTE8_RGBA8_OES 0x8B96 217 #define GL_PALETTE8_R5_G6_B5_OES 0x8B97 218 #define GL_PALETTE8_RGBA4_OES 0x8B98 219 #define GL_PALETTE8_RGB5_A1_OES 0x8B99 220 #endif /* GL_OES_compressed_paletted_texture */ 221 222 #ifndef GL_OES_depth24 223 #define GL_OES_depth24 1 224 #define GL_DEPTH_COMPONENT24_OES 0x81A6 225 #endif /* GL_OES_depth24 */ 226 227 #ifndef GL_OES_depth32 228 #define GL_OES_depth32 1 229 #define GL_DEPTH_COMPONENT32_OES 0x81A7 230 #endif /* GL_OES_depth32 */ 231 232 #ifndef GL_OES_depth_texture 233 #define GL_OES_depth_texture 1 234 #endif /* GL_OES_depth_texture */ 235 236 #ifndef GL_OES_element_index_uint 237 #define GL_OES_element_index_uint 1 238 #endif /* GL_OES_element_index_uint */ 239 240 #ifndef GL_OES_fbo_render_mipmap 241 #define GL_OES_fbo_render_mipmap 1 242 #endif /* GL_OES_fbo_render_mipmap */ 243 244 #ifndef GL_OES_fragment_precision_high 245 #define GL_OES_fragment_precision_high 1 246 #endif /* GL_OES_fragment_precision_high */ 247 248 #ifndef GL_OES_get_program_binary 249 #define GL_OES_get_program_binary 1 250 #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 251 #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE 252 #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF 253 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); 254 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length); 255 #ifdef GL_GLEXT_PROTOTYPES 256 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); 257 GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length); 258 #endif 259 #endif /* GL_OES_get_program_binary */ 260 261 #ifndef GL_OES_mapbuffer 262 #define GL_OES_mapbuffer 1 263 #define GL_WRITE_ONLY_OES 0x88B9 264 #define GL_BUFFER_ACCESS_OES 0x88BB 265 #define GL_BUFFER_MAPPED_OES 0x88BC 266 #define GL_BUFFER_MAP_POINTER_OES 0x88BD 267 typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); 268 typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); 269 typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params); 270 #ifdef GL_GLEXT_PROTOTYPES 271 GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); 272 GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); 273 GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params); 274 #endif 275 #endif /* GL_OES_mapbuffer */ 276 277 #ifndef GL_OES_packed_depth_stencil 278 #define GL_OES_packed_depth_stencil 1 279 #define GL_DEPTH_STENCIL_OES 0x84F9 280 #define GL_UNSIGNED_INT_24_8_OES 0x84FA 281 #define GL_DEPTH24_STENCIL8_OES 0x88F0 282 #endif /* GL_OES_packed_depth_stencil */ 283 284 #ifndef GL_OES_required_internalformat 285 #define GL_OES_required_internalformat 1 286 #define GL_ALPHA8_OES 0x803C 287 #define GL_DEPTH_COMPONENT16_OES 0x81A5 288 #define GL_LUMINANCE4_ALPHA4_OES 0x8043 289 #define GL_LUMINANCE8_ALPHA8_OES 0x8045 290 #define GL_LUMINANCE8_OES 0x8040 291 #define GL_RGBA4_OES 0x8056 292 #define GL_RGB5_A1_OES 0x8057 293 #define GL_RGB565_OES 0x8D62 294 #define GL_RGB8_OES 0x8051 295 #define GL_RGBA8_OES 0x8058 296 #define GL_RGB10_EXT 0x8052 297 #define GL_RGB10_A2_EXT 0x8059 298 #endif /* GL_OES_required_internalformat */ 299 300 #ifndef GL_OES_rgb8_rgba8 301 #define GL_OES_rgb8_rgba8 1 302 #endif /* GL_OES_rgb8_rgba8 */ 303 304 #ifndef GL_OES_sample_shading 305 #define GL_OES_sample_shading 1 306 #define GL_SAMPLE_SHADING_OES 0x8C36 307 #define GL_MIN_SAMPLE_SHADING_VALUE_OES 0x8C37 308 typedef void (GL_APIENTRYP PFNGLMINSAMPLESHADINGOESPROC) (GLfloat value); 309 #ifdef GL_GLEXT_PROTOTYPES 310 GL_APICALL void GL_APIENTRY glMinSampleShadingOES (GLfloat value); 311 #endif 312 #endif /* GL_OES_sample_shading */ 313 314 #ifndef GL_OES_sample_variables 315 #define GL_OES_sample_variables 1 316 #endif /* GL_OES_sample_variables */ 317 318 #ifndef GL_OES_shader_image_atomic 319 #define GL_OES_shader_image_atomic 1 320 #endif /* GL_OES_shader_image_atomic */ 321 322 #ifndef GL_OES_shader_multisample_interpolation 323 #define GL_OES_shader_multisample_interpolation 1 324 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5B 325 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5C 326 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES 0x8E5D 327 #endif /* GL_OES_shader_multisample_interpolation */ 328 329 #ifndef GL_OES_standard_derivatives 330 #define GL_OES_standard_derivatives 1 331 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B 332 #endif /* GL_OES_standard_derivatives */ 333 334 #ifndef GL_OES_stencil1 335 #define GL_OES_stencil1 1 336 #define GL_STENCIL_INDEX1_OES 0x8D46 337 #endif /* GL_OES_stencil1 */ 338 339 #ifndef GL_OES_stencil4 340 #define GL_OES_stencil4 1 341 #define GL_STENCIL_INDEX4_OES 0x8D47 342 #endif /* GL_OES_stencil4 */ 343 344 #ifndef GL_OES_surfaceless_context 345 #define GL_OES_surfaceless_context 1 346 #define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219 347 #endif /* GL_OES_surfaceless_context */ 348 349 #ifndef GL_OES_texture_3D 350 #define GL_OES_texture_3D 1 351 #define GL_TEXTURE_WRAP_R_OES 0x8072 352 #define GL_TEXTURE_3D_OES 0x806F 353 #define GL_TEXTURE_BINDING_3D_OES 0x806A 354 #define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 355 #define GL_SAMPLER_3D_OES 0x8B5F 356 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 357 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); 358 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); 359 typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 360 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); 361 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); 362 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 363 #ifdef GL_GLEXT_PROTOTYPES 364 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); 365 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); 366 GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 367 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); 368 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); 369 GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 370 #endif 371 #endif /* GL_OES_texture_3D */ 372 373 #ifndef GL_OES_texture_compression_astc 374 #define GL_OES_texture_compression_astc 1 375 #define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0 376 #define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1 377 #define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2 378 #define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3 379 #define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4 380 #define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5 381 #define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6 382 #define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7 383 #define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8 384 #define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9 385 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0 386 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1 387 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2 388 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3 389 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4 390 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5 391 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6 392 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7 393 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8 394 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9 395 #endif /* GL_OES_texture_compression_astc */ 396 397 #ifndef GL_OES_texture_float 398 #define GL_OES_texture_float 1 399 #endif /* GL_OES_texture_float */ 400 401 #ifndef GL_OES_texture_float_linear 402 #define GL_OES_texture_float_linear 1 403 #endif /* GL_OES_texture_float_linear */ 404 405 #ifndef GL_OES_texture_half_float 406 #define GL_OES_texture_half_float 1 407 #define GL_HALF_FLOAT_OES 0x8D61 408 #endif /* GL_OES_texture_half_float */ 409 410 #ifndef GL_OES_texture_half_float_linear 411 #define GL_OES_texture_half_float_linear 1 412 #endif /* GL_OES_texture_half_float_linear */ 413 414 #ifndef GL_OES_texture_npot 415 #define GL_OES_texture_npot 1 416 #endif /* GL_OES_texture_npot */ 417 418 #ifndef GL_OES_texture_stencil8 419 #define GL_OES_texture_stencil8 1 420 #define GL_STENCIL_INDEX_OES 0x1901 421 #define GL_STENCIL_INDEX8_OES 0x8D48 422 #endif /* GL_OES_texture_stencil8 */ 423 424 #ifndef GL_OES_texture_storage_multisample_2d_array 425 #define GL_OES_texture_storage_multisample_2d_array 1 426 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES 0x9102 427 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES 0x9105 428 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910B 429 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910C 430 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910D 431 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 432 #ifdef GL_GLEXT_PROTOTYPES 433 GL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 434 #endif 435 #endif /* GL_OES_texture_storage_multisample_2d_array */ 436 437 #ifndef GL_OES_vertex_array_object 438 #define GL_OES_vertex_array_object 1 439 #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 440 typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); 441 typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); 442 typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); 443 typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); 444 #ifdef GL_GLEXT_PROTOTYPES 445 GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); 446 GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); 447 GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); 448 GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); 449 #endif 450 #endif /* GL_OES_vertex_array_object */ 451 452 #ifndef GL_OES_vertex_half_float 453 #define GL_OES_vertex_half_float 1 454 #endif /* GL_OES_vertex_half_float */ 455 456 #ifndef GL_OES_vertex_type_10_10_10_2 457 #define GL_OES_vertex_type_10_10_10_2 1 458 #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 459 #define GL_INT_10_10_10_2_OES 0x8DF7 460 #endif /* GL_OES_vertex_type_10_10_10_2 */ 461 462 #ifndef GL_AMD_compressed_3DC_texture 463 #define GL_AMD_compressed_3DC_texture 1 464 #define GL_3DC_X_AMD 0x87F9 465 #define GL_3DC_XY_AMD 0x87FA 466 #endif /* GL_AMD_compressed_3DC_texture */ 467 468 #ifndef GL_AMD_compressed_ATC_texture 469 #define GL_AMD_compressed_ATC_texture 1 470 #define GL_ATC_RGB_AMD 0x8C92 471 #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 472 #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE 473 #endif /* GL_AMD_compressed_ATC_texture */ 474 475 #ifndef GL_AMD_performance_monitor 476 #define GL_AMD_performance_monitor 1 477 #define GL_COUNTER_TYPE_AMD 0x8BC0 478 #define GL_COUNTER_RANGE_AMD 0x8BC1 479 #define GL_UNSIGNED_INT64_AMD 0x8BC2 480 #define GL_PERCENTAGE_AMD 0x8BC3 481 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 482 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 483 #define GL_PERFMON_RESULT_AMD 0x8BC6 484 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 485 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 486 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 487 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 488 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); 489 typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 490 typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 491 typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); 492 typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); 493 typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); 494 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 495 #ifdef GL_GLEXT_PROTOTYPES 496 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 497 GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 498 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 499 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 500 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data); 501 GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); 502 GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); 503 GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); 504 GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor); 505 GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor); 506 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 507 #endif 508 #endif /* GL_AMD_performance_monitor */ 509 510 #ifndef GL_AMD_program_binary_Z400 511 #define GL_AMD_program_binary_Z400 1 512 #define GL_Z400_BINARY_AMD 0x8740 513 #endif /* GL_AMD_program_binary_Z400 */ 514 515 #ifndef GL_ANGLE_depth_texture 516 #define GL_ANGLE_depth_texture 1 517 #endif /* GL_ANGLE_depth_texture */ 518 519 #ifndef GL_ANGLE_framebuffer_blit 520 #define GL_ANGLE_framebuffer_blit 1 521 #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 522 #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 523 #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 524 #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA 525 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); 526 #ifdef GL_GLEXT_PROTOTYPES 527 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); 528 #endif 529 #endif /* GL_ANGLE_framebuffer_blit */ 530 531 #ifndef GL_ANGLE_framebuffer_multisample 532 #define GL_ANGLE_framebuffer_multisample 1 533 #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB 534 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 535 #define GL_MAX_SAMPLES_ANGLE 0x8D57 536 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 537 #ifdef GL_GLEXT_PROTOTYPES 538 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 539 #endif 540 #endif /* GL_ANGLE_framebuffer_multisample */ 541 542 #ifndef GL_ANGLE_instanced_arrays 543 #define GL_ANGLE_instanced_arrays 1 544 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE 545 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 546 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 547 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor); 548 #ifdef GL_GLEXT_PROTOTYPES 549 GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 550 GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 551 GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor); 552 #endif 553 #endif /* GL_ANGLE_instanced_arrays */ 554 555 #ifndef GL_ANGLE_pack_reverse_row_order 556 #define GL_ANGLE_pack_reverse_row_order 1 557 #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 558 #endif /* GL_ANGLE_pack_reverse_row_order */ 559 560 #ifndef GL_ANGLE_program_binary 561 #define GL_ANGLE_program_binary 1 562 #define GL_PROGRAM_BINARY_ANGLE 0x93A6 563 #endif /* GL_ANGLE_program_binary */ 564 565 #ifndef GL_ANGLE_texture_compression_dxt3 566 #define GL_ANGLE_texture_compression_dxt3 1 567 #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2 568 #endif /* GL_ANGLE_texture_compression_dxt3 */ 569 570 #ifndef GL_ANGLE_texture_compression_dxt5 571 #define GL_ANGLE_texture_compression_dxt5 1 572 #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3 573 #endif /* GL_ANGLE_texture_compression_dxt5 */ 574 575 #ifndef GL_ANGLE_texture_usage 576 #define GL_ANGLE_texture_usage 1 577 #define GL_TEXTURE_USAGE_ANGLE 0x93A2 578 #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3 579 #endif /* GL_ANGLE_texture_usage */ 580 581 #ifndef GL_ANGLE_translated_shader_source 582 #define GL_ANGLE_translated_shader_source 1 583 #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 584 typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); 585 #ifdef GL_GLEXT_PROTOTYPES 586 GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); 587 #endif 588 #endif /* GL_ANGLE_translated_shader_source */ 589 590 #ifndef GL_APPLE_copy_texture_levels 591 #define GL_APPLE_copy_texture_levels 1 592 typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); 593 #ifdef GL_GLEXT_PROTOTYPES 594 GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); 595 #endif 596 #endif /* GL_APPLE_copy_texture_levels */ 597 598 #ifndef GL_APPLE_framebuffer_multisample 599 #define GL_APPLE_framebuffer_multisample 1 600 #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB 601 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 602 #define GL_MAX_SAMPLES_APPLE 0x8D57 603 #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 604 #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 605 #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 606 #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA 607 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 608 typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); 609 #ifdef GL_GLEXT_PROTOTYPES 610 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 611 GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); 612 #endif 613 #endif /* GL_APPLE_framebuffer_multisample */ 614 615 #ifndef GL_APPLE_rgb_422 616 #define GL_APPLE_rgb_422 1 617 #define GL_RGB_422_APPLE 0x8A1F 618 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA 619 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB 620 #define GL_RGB_RAW_422_APPLE 0x8A51 621 #endif /* GL_APPLE_rgb_422 */ 622 623 #ifndef GL_APPLE_sync 624 #define GL_APPLE_sync 1 625 #define GL_SYNC_OBJECT_APPLE 0x8A53 626 #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 627 #define GL_OBJECT_TYPE_APPLE 0x9112 628 #define GL_SYNC_CONDITION_APPLE 0x9113 629 #define GL_SYNC_STATUS_APPLE 0x9114 630 #define GL_SYNC_FLAGS_APPLE 0x9115 631 #define GL_SYNC_FENCE_APPLE 0x9116 632 #define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 633 #define GL_UNSIGNALED_APPLE 0x9118 634 #define GL_SIGNALED_APPLE 0x9119 635 #define GL_ALREADY_SIGNALED_APPLE 0x911A 636 #define GL_TIMEOUT_EXPIRED_APPLE 0x911B 637 #define GL_CONDITION_SATISFIED_APPLE 0x911C 638 #define GL_WAIT_FAILED_APPLE 0x911D 639 #define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 640 #define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull 641 typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags); 642 typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); 643 typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); 644 typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); 645 typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); 646 typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params); 647 typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 648 #ifdef GL_GLEXT_PROTOTYPES 649 GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags); 650 GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); 651 GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); 652 GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); 653 GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); 654 GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params); 655 GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 656 #endif 657 #endif /* GL_APPLE_sync */ 658 659 #ifndef GL_APPLE_texture_format_BGRA8888 660 #define GL_APPLE_texture_format_BGRA8888 1 661 #define GL_BGRA_EXT 0x80E1 662 #define GL_BGRA8_EXT 0x93A1 663 #endif /* GL_APPLE_texture_format_BGRA8888 */ 664 665 #ifndef GL_APPLE_texture_max_level 666 #define GL_APPLE_texture_max_level 1 667 #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D 668 #endif /* GL_APPLE_texture_max_level */ 669 670 #ifndef GL_ARM_mali_program_binary 671 #define GL_ARM_mali_program_binary 1 672 #define GL_MALI_PROGRAM_BINARY_ARM 0x8F61 673 #endif /* GL_ARM_mali_program_binary */ 674 675 #ifndef GL_ARM_mali_shader_binary 676 #define GL_ARM_mali_shader_binary 1 677 #define GL_MALI_SHADER_BINARY_ARM 0x8F60 678 #endif /* GL_ARM_mali_shader_binary */ 679 680 #ifndef GL_ARM_rgba8 681 #define GL_ARM_rgba8 1 682 #endif /* GL_ARM_rgba8 */ 683 684 #ifndef GL_ARM_shader_framebuffer_fetch 685 #define GL_ARM_shader_framebuffer_fetch 1 686 #define GL_FETCH_PER_SAMPLE_ARM 0x8F65 687 #define GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM 0x8F66 688 #endif /* GL_ARM_shader_framebuffer_fetch */ 689 690 #ifndef GL_ARM_shader_framebuffer_fetch_depth_stencil 691 #define GL_ARM_shader_framebuffer_fetch_depth_stencil 1 692 #endif /* GL_ARM_shader_framebuffer_fetch_depth_stencil */ 693 694 #ifndef GL_DMP_shader_binary 695 #define GL_DMP_shader_binary 1 696 #define GL_SHADER_BINARY_DMP 0x9250 697 #endif /* GL_DMP_shader_binary */ 698 699 #ifndef GL_EXT_blend_minmax 700 #define GL_EXT_blend_minmax 1 701 #define GL_MIN_EXT 0x8007 702 #define GL_MAX_EXT 0x8008 703 #endif /* GL_EXT_blend_minmax */ 704 705 #ifndef GL_EXT_color_buffer_half_float 706 #define GL_EXT_color_buffer_half_float 1 707 #define GL_RGBA16F_EXT 0x881A 708 #define GL_RGB16F_EXT 0x881B 709 #define GL_RG16F_EXT 0x822F 710 #define GL_R16F_EXT 0x822D 711 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211 712 #define GL_UNSIGNED_NORMALIZED_EXT 0x8C17 713 #endif /* GL_EXT_color_buffer_half_float */ 714 715 #ifndef GL_EXT_copy_image 716 #define GL_EXT_copy_image 1 717 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); 718 #ifdef GL_GLEXT_PROTOTYPES 719 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); 720 #endif 721 #endif /* GL_EXT_copy_image */ 722 723 #ifndef GL_EXT_debug_label 724 #define GL_EXT_debug_label 1 725 #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F 726 #define GL_PROGRAM_OBJECT_EXT 0x8B40 727 #define GL_SHADER_OBJECT_EXT 0x8B48 728 #define GL_BUFFER_OBJECT_EXT 0x9151 729 #define GL_QUERY_OBJECT_EXT 0x9153 730 #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 731 #define GL_TRANSFORM_FEEDBACK 0x8E22 732 typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); 733 typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); 734 #ifdef GL_GLEXT_PROTOTYPES 735 GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label); 736 GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); 737 #endif 738 #endif /* GL_EXT_debug_label */ 739 740 #ifndef GL_EXT_debug_marker 741 #define GL_EXT_debug_marker 1 742 typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); 743 typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); 744 typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); 745 #ifdef GL_GLEXT_PROTOTYPES 746 GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); 747 GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); 748 GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void); 749 #endif 750 #endif /* GL_EXT_debug_marker */ 751 752 #ifndef GL_EXT_discard_framebuffer 753 #define GL_EXT_discard_framebuffer 1 754 #define GL_COLOR_EXT 0x1800 755 #define GL_DEPTH_EXT 0x1801 756 #define GL_STENCIL_EXT 0x1802 757 typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); 758 #ifdef GL_GLEXT_PROTOTYPES 759 GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments); 760 #endif 761 #endif /* GL_EXT_discard_framebuffer */ 762 763 #ifndef GL_EXT_disjoint_timer_query 764 #define GL_EXT_disjoint_timer_query 1 765 #define GL_QUERY_COUNTER_BITS_EXT 0x8864 766 #define GL_CURRENT_QUERY_EXT 0x8865 767 #define GL_QUERY_RESULT_EXT 0x8866 768 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 769 #define GL_TIME_ELAPSED_EXT 0x88BF 770 #define GL_TIMESTAMP_EXT 0x8E28 771 #define GL_GPU_DISJOINT_EXT 0x8FBB 772 typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids); 773 typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids); 774 typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id); 775 typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id); 776 typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target); 777 typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target); 778 typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params); 779 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params); 780 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params); 781 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params); 782 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params); 783 #ifdef GL_GLEXT_PROTOTYPES 784 GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids); 785 GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids); 786 GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id); 787 GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id); 788 GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target); 789 GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target); 790 GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params); 791 GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params); 792 GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params); 793 GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params); 794 GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params); 795 #endif 796 #endif /* GL_EXT_disjoint_timer_query */ 797 798 #ifndef GL_EXT_draw_buffers 799 #define GL_EXT_draw_buffers 1 800 #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF 801 #define GL_MAX_DRAW_BUFFERS_EXT 0x8824 802 #define GL_DRAW_BUFFER0_EXT 0x8825 803 #define GL_DRAW_BUFFER1_EXT 0x8826 804 #define GL_DRAW_BUFFER2_EXT 0x8827 805 #define GL_DRAW_BUFFER3_EXT 0x8828 806 #define GL_DRAW_BUFFER4_EXT 0x8829 807 #define GL_DRAW_BUFFER5_EXT 0x882A 808 #define GL_DRAW_BUFFER6_EXT 0x882B 809 #define GL_DRAW_BUFFER7_EXT 0x882C 810 #define GL_DRAW_BUFFER8_EXT 0x882D 811 #define GL_DRAW_BUFFER9_EXT 0x882E 812 #define GL_DRAW_BUFFER10_EXT 0x882F 813 #define GL_DRAW_BUFFER11_EXT 0x8830 814 #define GL_DRAW_BUFFER12_EXT 0x8831 815 #define GL_DRAW_BUFFER13_EXT 0x8832 816 #define GL_DRAW_BUFFER14_EXT 0x8833 817 #define GL_DRAW_BUFFER15_EXT 0x8834 818 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 819 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 820 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 821 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 822 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 823 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 824 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 825 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 826 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 827 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 828 #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA 829 #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB 830 #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC 831 #define GL_COLOR_ATTACHMENT13_EXT 0x8CED 832 #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE 833 #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF 834 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs); 835 #ifdef GL_GLEXT_PROTOTYPES 836 GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs); 837 #endif 838 #endif /* GL_EXT_draw_buffers */ 839 840 #ifndef GL_EXT_draw_buffers_indexed 841 #define GL_EXT_draw_buffers_indexed 1 842 #define GL_MIN 0x8007 843 #define GL_MAX 0x8008 844 typedef void (GL_APIENTRYP PFNGLENABLEIEXTPROC) (GLenum target, GLuint index); 845 typedef void (GL_APIENTRYP PFNGLDISABLEIEXTPROC) (GLenum target, GLuint index); 846 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIEXTPROC) (GLuint buf, GLenum mode); 847 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIEXTPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 848 typedef void (GL_APIENTRYP PFNGLBLENDFUNCIEXTPROC) (GLuint buf, GLenum src, GLenum dst); 849 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIEXTPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 850 typedef void (GL_APIENTRYP PFNGLCOLORMASKIEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 851 typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIEXTPROC) (GLenum target, GLuint index); 852 #ifdef GL_GLEXT_PROTOTYPES 853 GL_APICALL void GL_APIENTRY glEnableiEXT (GLenum target, GLuint index); 854 GL_APICALL void GL_APIENTRY glDisableiEXT (GLenum target, GLuint index); 855 GL_APICALL void GL_APIENTRY glBlendEquationiEXT (GLuint buf, GLenum mode); 856 GL_APICALL void GL_APIENTRY glBlendEquationSeparateiEXT (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 857 GL_APICALL void GL_APIENTRY glBlendFunciEXT (GLuint buf, GLenum src, GLenum dst); 858 GL_APICALL void GL_APIENTRY glBlendFuncSeparateiEXT (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 859 GL_APICALL void GL_APIENTRY glColorMaskiEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 860 GL_APICALL GLboolean GL_APIENTRY glIsEnablediEXT (GLenum target, GLuint index); 861 #endif 862 #endif /* GL_EXT_draw_buffers_indexed */ 863 864 #ifndef GL_EXT_draw_instanced 865 #define GL_EXT_draw_instanced 1 866 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); 867 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 868 #ifdef GL_GLEXT_PROTOTYPES 869 GL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); 870 GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 871 #endif 872 #endif /* GL_EXT_draw_instanced */ 873 874 #ifndef GL_EXT_geometry_shader 875 #define GL_EXT_geometry_shader 1 876 #define GL_GEOMETRY_SHADER_EXT 0x8DD9 877 #define GL_GEOMETRY_SHADER_BIT_EXT 0x00000004 878 #define GL_GEOMETRY_LINKED_VERTICES_OUT_EXT 0x8916 879 #define GL_GEOMETRY_LINKED_INPUT_TYPE_EXT 0x8917 880 #define GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT 0x8918 881 #define GL_GEOMETRY_SHADER_INVOCATIONS_EXT 0x887F 882 #define GL_LAYER_PROVOKING_VERTEX_EXT 0x825E 883 #define GL_LINES_ADJACENCY_EXT 0x000A 884 #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B 885 #define GL_TRIANGLES_ADJACENCY_EXT 0x000C 886 #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D 887 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF 888 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT 0x8A2C 889 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8A32 890 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT 0x9123 891 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT 0x9124 892 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0 893 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1 894 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT 0x8E5A 895 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29 896 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT 0x92CF 897 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT 0x92D5 898 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT 0x90CD 899 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT 0x90D7 900 #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D 901 #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E 902 #define GL_UNDEFINED_VERTEX_EXT 0x8260 903 #define GL_PRIMITIVES_GENERATED_EXT 0x8C87 904 #define GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT 0x9312 905 #define GL_MAX_FRAMEBUFFER_LAYERS_EXT 0x9317 906 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8 907 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7 908 #define GL_REFERENCED_BY_GEOMETRY_SHADER_EXT 0x9309 909 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); 910 #ifdef GL_GLEXT_PROTOTYPES 911 GL_APICALL void GL_APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level); 912 #endif 913 #endif /* GL_EXT_geometry_shader */ 914 915 #ifndef GL_EXT_gpu_shader5 916 #define GL_EXT_gpu_shader5 1 917 #endif /* GL_EXT_gpu_shader5 */ 918 919 #ifndef GL_EXT_instanced_arrays 920 #define GL_EXT_instanced_arrays 1 921 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE 922 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor); 923 #ifdef GL_GLEXT_PROTOTYPES 924 GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor); 925 #endif 926 #endif /* GL_EXT_instanced_arrays */ 927 928 #ifndef GL_EXT_map_buffer_range 929 #define GL_EXT_map_buffer_range 1 930 #define GL_MAP_READ_BIT_EXT 0x0001 931 #define GL_MAP_WRITE_BIT_EXT 0x0002 932 #define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 933 #define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 934 #define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 935 #define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 936 typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 937 typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length); 938 #ifdef GL_GLEXT_PROTOTYPES 939 GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 940 GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); 941 #endif 942 #endif /* GL_EXT_map_buffer_range */ 943 944 #ifndef GL_EXT_multi_draw_arrays 945 #define GL_EXT_multi_draw_arrays 1 946 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 947 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); 948 #ifdef GL_GLEXT_PROTOTYPES 949 GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 950 GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); 951 #endif 952 #endif /* GL_EXT_multi_draw_arrays */ 953 954 #ifndef GL_EXT_multisampled_render_to_texture 955 #define GL_EXT_multisampled_render_to_texture 1 956 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C 957 #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB 958 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 959 #define GL_MAX_SAMPLES_EXT 0x8D57 960 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 961 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 962 #ifdef GL_GLEXT_PROTOTYPES 963 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 964 GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 965 #endif 966 #endif /* GL_EXT_multisampled_render_to_texture */ 967 968 #ifndef GL_EXT_multiview_draw_buffers 969 #define GL_EXT_multiview_draw_buffers 1 970 #define GL_COLOR_ATTACHMENT_EXT 0x90F0 971 #define GL_MULTIVIEW_EXT 0x90F1 972 #define GL_DRAW_BUFFER_EXT 0x0C01 973 #define GL_READ_BUFFER_EXT 0x0C02 974 #define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2 975 typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index); 976 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices); 977 typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data); 978 #ifdef GL_GLEXT_PROTOTYPES 979 GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index); 980 GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices); 981 GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data); 982 #endif 983 #endif /* GL_EXT_multiview_draw_buffers */ 984 985 #ifndef GL_EXT_occlusion_query_boolean 986 #define GL_EXT_occlusion_query_boolean 1 987 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F 988 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A 989 #endif /* GL_EXT_occlusion_query_boolean */ 990 991 #ifndef GL_EXT_primitive_bounding_box 992 #define GL_EXT_primitive_bounding_box 1 993 #define GL_PRIMITIVE_BOUNDING_BOX_EXT 0x92BE 994 typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXEXTPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 995 #ifdef GL_GLEXT_PROTOTYPES 996 GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); 997 #endif 998 #endif /* GL_EXT_primitive_bounding_box */ 999 1000 #ifndef GL_EXT_pvrtc_sRGB 1001 #define GL_EXT_pvrtc_sRGB 1 1002 #define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54 1003 #define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55 1004 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56 1005 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57 1006 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG 0x93F0 1007 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG 0x93F1 1008 #endif /* GL_EXT_pvrtc_sRGB */ 1009 1010 #ifndef GL_EXT_read_format_bgra 1011 #define GL_EXT_read_format_bgra 1 1012 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 1013 #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 1014 #endif /* GL_EXT_read_format_bgra */ 1015 1016 #ifndef GL_EXT_robustness 1017 #define GL_EXT_robustness 1 1018 #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 1019 #define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 1020 #define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 1021 #define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 1022 #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 1023 #define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 1024 #define GL_NO_RESET_NOTIFICATION_EXT 0x8261 1025 typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); 1026 typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 1027 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 1028 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); 1029 #ifdef GL_GLEXT_PROTOTYPES 1030 GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void); 1031 GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 1032 GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 1033 GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params); 1034 #endif 1035 #endif /* GL_EXT_robustness */ 1036 1037 #ifndef GL_EXT_sRGB 1038 #define GL_EXT_sRGB 1 1039 #define GL_SRGB_EXT 0x8C40 1040 #define GL_SRGB_ALPHA_EXT 0x8C42 1041 #define GL_SRGB8_ALPHA8_EXT 0x8C43 1042 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 1043 #endif /* GL_EXT_sRGB */ 1044 1045 #ifndef GL_EXT_sRGB_write_control 1046 #define GL_EXT_sRGB_write_control 1 1047 #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 1048 #endif /* GL_EXT_sRGB_write_control */ 1049 1050 #ifndef GL_EXT_separate_shader_objects 1051 #define GL_EXT_separate_shader_objects 1 1052 #define GL_ACTIVE_PROGRAM_EXT 0x8259 1053 #define GL_VERTEX_SHADER_BIT_EXT 0x00000001 1054 #define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002 1055 #define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF 1056 #define GL_PROGRAM_SEPARABLE_EXT 0x8258 1057 #define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A 1058 typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program); 1059 typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline); 1060 typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings); 1061 typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines); 1062 typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines); 1063 typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 1064 typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params); 1065 typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline); 1066 typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); 1067 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); 1068 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1069 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); 1070 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1071 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); 1072 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1073 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); 1074 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1075 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 1076 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1077 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 1078 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1079 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 1080 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1081 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 1082 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 1083 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1084 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1085 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1086 typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program); 1087 typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline); 1088 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); 1089 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); 1090 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 1091 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1092 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1093 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1094 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1095 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 1096 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1097 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1098 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1099 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1100 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1101 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1102 #ifdef GL_GLEXT_PROTOTYPES 1103 GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program); 1104 GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline); 1105 GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings); 1106 GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines); 1107 GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines); 1108 GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 1109 GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params); 1110 GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline); 1111 GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value); 1112 GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0); 1113 GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1114 GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0); 1115 GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1116 GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); 1117 GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1118 GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1); 1119 GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1120 GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 1121 GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1122 GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 1123 GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1124 GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 1125 GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 1126 GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 1127 GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 1128 GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1129 GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1130 GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1131 GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program); 1132 GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline); 1133 GL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0); 1134 GL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1); 1135 GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 1136 GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 1137 GL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1138 GL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1139 GL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1140 GL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 1141 GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1142 GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1143 GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1144 GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1145 GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1146 GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1147 #endif 1148 #endif /* GL_EXT_separate_shader_objects */ 1149 1150 #ifndef GL_EXT_shader_framebuffer_fetch 1151 #define GL_EXT_shader_framebuffer_fetch 1 1152 #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 1153 #endif /* GL_EXT_shader_framebuffer_fetch */ 1154 1155 #ifndef GL_EXT_shader_implicit_conversions 1156 #define GL_EXT_shader_implicit_conversions 1 1157 #endif /* GL_EXT_shader_implicit_conversions */ 1158 1159 #ifndef GL_EXT_shader_integer_mix 1160 #define GL_EXT_shader_integer_mix 1 1161 #endif /* GL_EXT_shader_integer_mix */ 1162 1163 #ifndef GL_EXT_shader_io_blocks 1164 #define GL_EXT_shader_io_blocks 1 1165 #endif /* GL_EXT_shader_io_blocks */ 1166 1167 #ifndef GL_EXT_shader_pixel_local_storage 1168 #define GL_EXT_shader_pixel_local_storage 1 1169 #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63 1170 #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67 1171 #define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64 1172 #endif /* GL_EXT_shader_pixel_local_storage */ 1173 1174 #ifndef GL_EXT_shader_texture_lod 1175 #define GL_EXT_shader_texture_lod 1 1176 #endif /* GL_EXT_shader_texture_lod */ 1177 1178 #ifndef GL_EXT_shadow_samplers 1179 #define GL_EXT_shadow_samplers 1 1180 #define GL_TEXTURE_COMPARE_MODE_EXT 0x884C 1181 #define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D 1182 #define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E 1183 #define GL_SAMPLER_2D_SHADOW_EXT 0x8B62 1184 #endif /* GL_EXT_shadow_samplers */ 1185 1186 #ifndef GL_EXT_tessellation_shader 1187 #define GL_EXT_tessellation_shader 1 1188 #define GL_PATCHES_EXT 0x000E 1189 #define GL_PATCH_VERTICES_EXT 0x8E72 1190 #define GL_TESS_CONTROL_OUTPUT_VERTICES_EXT 0x8E75 1191 #define GL_TESS_GEN_MODE_EXT 0x8E76 1192 #define GL_TESS_GEN_SPACING_EXT 0x8E77 1193 #define GL_TESS_GEN_VERTEX_ORDER_EXT 0x8E78 1194 #define GL_TESS_GEN_POINT_MODE_EXT 0x8E79 1195 #define GL_ISOLINES_EXT 0x8E7A 1196 #define GL_QUADS_EXT 0x0007 1197 #define GL_FRACTIONAL_ODD_EXT 0x8E7B 1198 #define GL_FRACTIONAL_EVEN_EXT 0x8E7C 1199 #define GL_MAX_PATCH_VERTICES_EXT 0x8E7D 1200 #define GL_MAX_TESS_GEN_LEVEL_EXT 0x8E7E 1201 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E7F 1202 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E80 1203 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT 0x8E81 1204 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT 0x8E82 1205 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT 0x8E83 1206 #define GL_MAX_TESS_PATCH_COMPONENTS_EXT 0x8E84 1207 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT 0x8E85 1208 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT 0x8E86 1209 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT 0x8E89 1210 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT 0x8E8A 1211 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT 0x886C 1212 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT 0x886D 1213 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E1E 1214 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E1F 1215 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT 0x92CD 1216 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT 0x92CE 1217 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT 0x92D3 1218 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT 0x92D4 1219 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT 0x90CB 1220 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT 0x90CC 1221 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT 0x90D8 1222 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT 0x90D9 1223 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221 1224 #define GL_IS_PER_PATCH_EXT 0x92E7 1225 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT 0x9307 1226 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT 0x9308 1227 #define GL_TESS_CONTROL_SHADER_EXT 0x8E88 1228 #define GL_TESS_EVALUATION_SHADER_EXT 0x8E87 1229 #define GL_TESS_CONTROL_SHADER_BIT_EXT 0x00000008 1230 #define GL_TESS_EVALUATION_SHADER_BIT_EXT 0x00000010 1231 typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIEXTPROC) (GLenum pname, GLint value); 1232 #ifdef GL_GLEXT_PROTOTYPES 1233 GL_APICALL void GL_APIENTRY glPatchParameteriEXT (GLenum pname, GLint value); 1234 #endif 1235 #endif /* GL_EXT_tessellation_shader */ 1236 1237 #ifndef GL_EXT_texture_border_clamp 1238 #define GL_EXT_texture_border_clamp 1 1239 #define GL_TEXTURE_BORDER_COLOR_EXT 0x1004 1240 #define GL_CLAMP_TO_BORDER_EXT 0x812D 1241 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); 1242 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params); 1243 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params); 1244 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params); 1245 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, const GLint *param); 1246 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, const GLuint *param); 1247 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, GLint *params); 1248 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, GLuint *params); 1249 #ifdef GL_GLEXT_PROTOTYPES 1250 GL_APICALL void GL_APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params); 1251 GL_APICALL void GL_APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params); 1252 GL_APICALL void GL_APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params); 1253 GL_APICALL void GL_APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params); 1254 GL_APICALL void GL_APIENTRY glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLint *param); 1255 GL_APICALL void GL_APIENTRY glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLuint *param); 1256 GL_APICALL void GL_APIENTRY glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint *params); 1257 GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint *params); 1258 #endif 1259 #endif /* GL_EXT_texture_border_clamp */ 1260 1261 #ifndef GL_EXT_texture_buffer 1262 #define GL_EXT_texture_buffer 1 1263 #define GL_TEXTURE_BUFFER_EXT 0x8C2A 1264 #define GL_TEXTURE_BUFFER_BINDING_EXT 0x8C2A 1265 #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B 1266 #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C 1267 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D 1268 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT 0x919F 1269 #define GL_SAMPLER_BUFFER_EXT 0x8DC2 1270 #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0 1271 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8 1272 #define GL_IMAGE_BUFFER_EXT 0x9051 1273 #define GL_INT_IMAGE_BUFFER_EXT 0x905C 1274 #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067 1275 #define GL_TEXTURE_BUFFER_OFFSET_EXT 0x919D 1276 #define GL_TEXTURE_BUFFER_SIZE_EXT 0x919E 1277 typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer); 1278 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 1279 #ifdef GL_GLEXT_PROTOTYPES 1280 GL_APICALL void GL_APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer); 1281 GL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); 1282 #endif 1283 #endif /* GL_EXT_texture_buffer */ 1284 1285 #ifndef GL_EXT_texture_compression_dxt1 1286 #define GL_EXT_texture_compression_dxt1 1 1287 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 1288 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 1289 #endif /* GL_EXT_texture_compression_dxt1 */ 1290 1291 #ifndef GL_EXT_texture_compression_s3tc 1292 #define GL_EXT_texture_compression_s3tc 1 1293 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 1294 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 1295 #endif /* GL_EXT_texture_compression_s3tc */ 1296 1297 #ifndef GL_EXT_texture_cube_map_array 1298 #define GL_EXT_texture_cube_map_array 1 1299 #define GL_TEXTURE_CUBE_MAP_ARRAY_EXT 0x9009 1300 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT 0x900A 1301 #define GL_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900C 1302 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT 0x900D 1303 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900E 1304 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900F 1305 #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054 1306 #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F 1307 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A 1308 #endif /* GL_EXT_texture_cube_map_array */ 1309 1310 #ifndef GL_EXT_texture_filter_anisotropic 1311 #define GL_EXT_texture_filter_anisotropic 1 1312 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE 1313 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF 1314 #endif /* GL_EXT_texture_filter_anisotropic */ 1315 1316 #ifndef GL_EXT_texture_format_BGRA8888 1317 #define GL_EXT_texture_format_BGRA8888 1 1318 #endif /* GL_EXT_texture_format_BGRA8888 */ 1319 1320 #ifndef GL_EXT_texture_rg 1321 #define GL_EXT_texture_rg 1 1322 #define GL_RED_EXT 0x1903 1323 #define GL_RG_EXT 0x8227 1324 #define GL_R8_EXT 0x8229 1325 #define GL_RG8_EXT 0x822B 1326 #endif /* GL_EXT_texture_rg */ 1327 1328 #ifndef GL_EXT_texture_sRGB_decode 1329 #define GL_EXT_texture_sRGB_decode 1 1330 #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 1331 #define GL_DECODE_EXT 0x8A49 1332 #define GL_SKIP_DECODE_EXT 0x8A4A 1333 #endif /* GL_EXT_texture_sRGB_decode */ 1334 1335 #ifndef GL_EXT_texture_storage 1336 #define GL_EXT_texture_storage 1 1337 #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F 1338 #define GL_ALPHA8_EXT 0x803C 1339 #define GL_LUMINANCE8_EXT 0x8040 1340 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045 1341 #define GL_RGBA32F_EXT 0x8814 1342 #define GL_RGB32F_EXT 0x8815 1343 #define GL_ALPHA32F_EXT 0x8816 1344 #define GL_LUMINANCE32F_EXT 0x8818 1345 #define GL_LUMINANCE_ALPHA32F_EXT 0x8819 1346 #define GL_ALPHA16F_EXT 0x881C 1347 #define GL_LUMINANCE16F_EXT 0x881E 1348 #define GL_LUMINANCE_ALPHA16F_EXT 0x881F 1349 #define GL_R32F_EXT 0x822E 1350 #define GL_RG32F_EXT 0x8230 1351 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 1352 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 1353 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 1354 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 1355 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 1356 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 1357 #ifdef GL_GLEXT_PROTOTYPES 1358 GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 1359 GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 1360 GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 1361 GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 1362 GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 1363 GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 1364 #endif 1365 #endif /* GL_EXT_texture_storage */ 1366 1367 #ifndef GL_EXT_texture_type_2_10_10_10_REV 1368 #define GL_EXT_texture_type_2_10_10_10_REV 1 1369 #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 1370 #endif /* GL_EXT_texture_type_2_10_10_10_REV */ 1371 1372 #ifndef GL_EXT_texture_view 1373 #define GL_EXT_texture_view 1 1374 #define GL_TEXTURE_VIEW_MIN_LEVEL_EXT 0x82DB 1375 #define GL_TEXTURE_VIEW_NUM_LEVELS_EXT 0x82DC 1376 #define GL_TEXTURE_VIEW_MIN_LAYER_EXT 0x82DD 1377 #define GL_TEXTURE_VIEW_NUM_LAYERS_EXT 0x82DE 1378 #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF 1379 typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWEXTPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 1380 #ifdef GL_GLEXT_PROTOTYPES 1381 GL_APICALL void GL_APIENTRY glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); 1382 #endif 1383 #endif /* GL_EXT_texture_view */ 1384 1385 #ifndef GL_EXT_unpack_subimage 1386 #define GL_EXT_unpack_subimage 1 1387 #define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2 1388 #define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3 1389 #define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4 1390 #endif /* GL_EXT_unpack_subimage */ 1391 1392 #ifndef GL_FJ_shader_binary_GCCSO 1393 #define GL_FJ_shader_binary_GCCSO 1 1394 #define GL_GCCSO_SHADER_BINARY_FJ 0x9260 1395 #endif /* GL_FJ_shader_binary_GCCSO */ 1396 1397 #ifndef GL_IMG_multisampled_render_to_texture 1398 #define GL_IMG_multisampled_render_to_texture 1 1399 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 1400 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 1401 #define GL_MAX_SAMPLES_IMG 0x9135 1402 #define GL_TEXTURE_SAMPLES_IMG 0x9136 1403 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1404 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 1405 #ifdef GL_GLEXT_PROTOTYPES 1406 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1407 GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 1408 #endif 1409 #endif /* GL_IMG_multisampled_render_to_texture */ 1410 1411 #ifndef GL_IMG_program_binary 1412 #define GL_IMG_program_binary 1 1413 #define GL_SGX_PROGRAM_BINARY_IMG 0x9130 1414 #endif /* GL_IMG_program_binary */ 1415 1416 #ifndef GL_IMG_read_format 1417 #define GL_IMG_read_format 1 1418 #define GL_BGRA_IMG 0x80E1 1419 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 1420 #endif /* GL_IMG_read_format */ 1421 1422 #ifndef GL_IMG_shader_binary 1423 #define GL_IMG_shader_binary 1 1424 #define GL_SGX_BINARY_IMG 0x8C0A 1425 #endif /* GL_IMG_shader_binary */ 1426 1427 #ifndef GL_IMG_texture_compression_pvrtc 1428 #define GL_IMG_texture_compression_pvrtc 1 1429 #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 1430 #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 1431 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 1432 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 1433 #endif /* GL_IMG_texture_compression_pvrtc */ 1434 1435 #ifndef GL_IMG_texture_compression_pvrtc2 1436 #define GL_IMG_texture_compression_pvrtc2 1 1437 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137 1438 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138 1439 #endif /* GL_IMG_texture_compression_pvrtc2 */ 1440 1441 #ifndef GL_INTEL_performance_query 1442 #define GL_INTEL_performance_query 1 1443 #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000 1444 #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001 1445 #define GL_PERFQUERY_WAIT_INTEL 0x83FB 1446 #define GL_PERFQUERY_FLUSH_INTEL 0x83FA 1447 #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9 1448 #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0 1449 #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1 1450 #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2 1451 #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3 1452 #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4 1453 #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5 1454 #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8 1455 #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9 1456 #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA 1457 #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB 1458 #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC 1459 #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD 1460 #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE 1461 #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF 1462 #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500 1463 typedef void (GL_APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle); 1464 typedef void (GL_APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle); 1465 typedef void (GL_APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle); 1466 typedef void (GL_APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle); 1467 typedef void (GL_APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId); 1468 typedef void (GL_APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId); 1469 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); 1470 typedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); 1471 typedef void (GL_APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId); 1472 typedef void (GL_APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); 1473 #ifdef GL_GLEXT_PROTOTYPES 1474 GL_APICALL void GL_APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle); 1475 GL_APICALL void GL_APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle); 1476 GL_APICALL void GL_APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle); 1477 GL_APICALL void GL_APIENTRY glEndPerfQueryINTEL (GLuint queryHandle); 1478 GL_APICALL void GL_APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId); 1479 GL_APICALL void GL_APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId); 1480 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); 1481 GL_APICALL void GL_APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); 1482 GL_APICALL void GL_APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId); 1483 GL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); 1484 #endif 1485 #endif /* GL_INTEL_performance_query */ 1486 1487 #ifndef GL_NV_blend_equation_advanced 1488 #define GL_NV_blend_equation_advanced 1 1489 #define GL_BLEND_OVERLAP_NV 0x9281 1490 #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 1491 #define GL_BLUE_NV 0x1905 1492 #define GL_COLORBURN_NV 0x929A 1493 #define GL_COLORDODGE_NV 0x9299 1494 #define GL_CONJOINT_NV 0x9284 1495 #define GL_CONTRAST_NV 0x92A1 1496 #define GL_DARKEN_NV 0x9297 1497 #define GL_DIFFERENCE_NV 0x929E 1498 #define GL_DISJOINT_NV 0x9283 1499 #define GL_DST_ATOP_NV 0x928F 1500 #define GL_DST_IN_NV 0x928B 1501 #define GL_DST_NV 0x9287 1502 #define GL_DST_OUT_NV 0x928D 1503 #define GL_DST_OVER_NV 0x9289 1504 #define GL_EXCLUSION_NV 0x92A0 1505 #define GL_GREEN_NV 0x1904 1506 #define GL_HARDLIGHT_NV 0x929B 1507 #define GL_HARDMIX_NV 0x92A9 1508 #define GL_HSL_COLOR_NV 0x92AF 1509 #define GL_HSL_HUE_NV 0x92AD 1510 #define GL_HSL_LUMINOSITY_NV 0x92B0 1511 #define GL_HSL_SATURATION_NV 0x92AE 1512 #define GL_INVERT_OVG_NV 0x92B4 1513 #define GL_INVERT_RGB_NV 0x92A3 1514 #define GL_LIGHTEN_NV 0x9298 1515 #define GL_LINEARBURN_NV 0x92A5 1516 #define GL_LINEARDODGE_NV 0x92A4 1517 #define GL_LINEARLIGHT_NV 0x92A7 1518 #define GL_MINUS_CLAMPED_NV 0x92B3 1519 #define GL_MINUS_NV 0x929F 1520 #define GL_MULTIPLY_NV 0x9294 1521 #define GL_OVERLAY_NV 0x9296 1522 #define GL_PINLIGHT_NV 0x92A8 1523 #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 1524 #define GL_PLUS_CLAMPED_NV 0x92B1 1525 #define GL_PLUS_DARKER_NV 0x9292 1526 #define GL_PLUS_NV 0x9291 1527 #define GL_RED_NV 0x1903 1528 #define GL_SCREEN_NV 0x9295 1529 #define GL_SOFTLIGHT_NV 0x929C 1530 #define GL_SRC_ATOP_NV 0x928E 1531 #define GL_SRC_IN_NV 0x928A 1532 #define GL_SRC_NV 0x9286 1533 #define GL_SRC_OUT_NV 0x928C 1534 #define GL_SRC_OVER_NV 0x9288 1535 #define GL_UNCORRELATED_NV 0x9282 1536 #define GL_VIVIDLIGHT_NV 0x92A6 1537 #define GL_XOR_NV 0x1506 1538 typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value); 1539 typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void); 1540 #ifdef GL_GLEXT_PROTOTYPES 1541 GL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value); 1542 GL_APICALL void GL_APIENTRY glBlendBarrierNV (void); 1543 #endif 1544 #endif /* GL_NV_blend_equation_advanced */ 1545 1546 #ifndef GL_NV_blend_equation_advanced_coherent 1547 #define GL_NV_blend_equation_advanced_coherent 1 1548 #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 1549 #endif /* GL_NV_blend_equation_advanced_coherent */ 1550 1551 #ifndef GL_NV_copy_buffer 1552 #define GL_NV_copy_buffer 1 1553 #define GL_COPY_READ_BUFFER_NV 0x8F36 1554 #define GL_COPY_WRITE_BUFFER_NV 0x8F37 1555 typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 1556 #ifdef GL_GLEXT_PROTOTYPES 1557 GL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 1558 #endif 1559 #endif /* GL_NV_copy_buffer */ 1560 1561 #ifndef GL_NV_coverage_sample 1562 #define GL_NV_coverage_sample 1 1563 #define GL_COVERAGE_COMPONENT_NV 0x8ED0 1564 #define GL_COVERAGE_COMPONENT4_NV 0x8ED1 1565 #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 1566 #define GL_COVERAGE_BUFFERS_NV 0x8ED3 1567 #define GL_COVERAGE_SAMPLES_NV 0x8ED4 1568 #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 1569 #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 1570 #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 1571 #define GL_COVERAGE_BUFFER_BIT_NV 0x00008000 1572 typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); 1573 typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); 1574 #ifdef GL_GLEXT_PROTOTYPES 1575 GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); 1576 GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); 1577 #endif 1578 #endif /* GL_NV_coverage_sample */ 1579 1580 #ifndef GL_NV_depth_nonlinear 1581 #define GL_NV_depth_nonlinear 1 1582 #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C 1583 #endif /* GL_NV_depth_nonlinear */ 1584 1585 #ifndef GL_NV_draw_buffers 1586 #define GL_NV_draw_buffers 1 1587 #define GL_MAX_DRAW_BUFFERS_NV 0x8824 1588 #define GL_DRAW_BUFFER0_NV 0x8825 1589 #define GL_DRAW_BUFFER1_NV 0x8826 1590 #define GL_DRAW_BUFFER2_NV 0x8827 1591 #define GL_DRAW_BUFFER3_NV 0x8828 1592 #define GL_DRAW_BUFFER4_NV 0x8829 1593 #define GL_DRAW_BUFFER5_NV 0x882A 1594 #define GL_DRAW_BUFFER6_NV 0x882B 1595 #define GL_DRAW_BUFFER7_NV 0x882C 1596 #define GL_DRAW_BUFFER8_NV 0x882D 1597 #define GL_DRAW_BUFFER9_NV 0x882E 1598 #define GL_DRAW_BUFFER10_NV 0x882F 1599 #define GL_DRAW_BUFFER11_NV 0x8830 1600 #define GL_DRAW_BUFFER12_NV 0x8831 1601 #define GL_DRAW_BUFFER13_NV 0x8832 1602 #define GL_DRAW_BUFFER14_NV 0x8833 1603 #define GL_DRAW_BUFFER15_NV 0x8834 1604 #define GL_COLOR_ATTACHMENT0_NV 0x8CE0 1605 #define GL_COLOR_ATTACHMENT1_NV 0x8CE1 1606 #define GL_COLOR_ATTACHMENT2_NV 0x8CE2 1607 #define GL_COLOR_ATTACHMENT3_NV 0x8CE3 1608 #define GL_COLOR_ATTACHMENT4_NV 0x8CE4 1609 #define GL_COLOR_ATTACHMENT5_NV 0x8CE5 1610 #define GL_COLOR_ATTACHMENT6_NV 0x8CE6 1611 #define GL_COLOR_ATTACHMENT7_NV 0x8CE7 1612 #define GL_COLOR_ATTACHMENT8_NV 0x8CE8 1613 #define GL_COLOR_ATTACHMENT9_NV 0x8CE9 1614 #define GL_COLOR_ATTACHMENT10_NV 0x8CEA 1615 #define GL_COLOR_ATTACHMENT11_NV 0x8CEB 1616 #define GL_COLOR_ATTACHMENT12_NV 0x8CEC 1617 #define GL_COLOR_ATTACHMENT13_NV 0x8CED 1618 #define GL_COLOR_ATTACHMENT14_NV 0x8CEE 1619 #define GL_COLOR_ATTACHMENT15_NV 0x8CEF 1620 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs); 1621 #ifdef GL_GLEXT_PROTOTYPES 1622 GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs); 1623 #endif 1624 #endif /* GL_NV_draw_buffers */ 1625 1626 #ifndef GL_NV_draw_instanced 1627 #define GL_NV_draw_instanced 1 1628 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 1629 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 1630 #ifdef GL_GLEXT_PROTOTYPES 1631 GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 1632 GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); 1633 #endif 1634 #endif /* GL_NV_draw_instanced */ 1635 1636 #ifndef GL_NV_explicit_attrib_location 1637 #define GL_NV_explicit_attrib_location 1 1638 #endif /* GL_NV_explicit_attrib_location */ 1639 1640 #ifndef GL_NV_fbo_color_attachments 1641 #define GL_NV_fbo_color_attachments 1 1642 #define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF 1643 #endif /* GL_NV_fbo_color_attachments */ 1644 1645 #ifndef GL_NV_fence 1646 #define GL_NV_fence 1 1647 #define GL_ALL_COMPLETED_NV 0x84F2 1648 #define GL_FENCE_STATUS_NV 0x84F3 1649 #define GL_FENCE_CONDITION_NV 0x84F4 1650 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); 1651 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); 1652 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); 1653 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); 1654 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); 1655 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); 1656 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); 1657 #ifdef GL_GLEXT_PROTOTYPES 1658 GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); 1659 GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); 1660 GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); 1661 GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); 1662 GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); 1663 GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence); 1664 GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); 1665 #endif 1666 #endif /* GL_NV_fence */ 1667 1668 #ifndef GL_NV_framebuffer_blit 1669 #define GL_NV_framebuffer_blit 1 1670 #define GL_READ_FRAMEBUFFER_NV 0x8CA8 1671 #define GL_DRAW_FRAMEBUFFER_NV 0x8CA9 1672 #define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6 1673 #define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA 1674 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); 1675 #ifdef GL_GLEXT_PROTOTYPES 1676 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); 1677 #endif 1678 #endif /* GL_NV_framebuffer_blit */ 1679 1680 #ifndef GL_NV_framebuffer_multisample 1681 #define GL_NV_framebuffer_multisample 1 1682 #define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB 1683 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56 1684 #define GL_MAX_SAMPLES_NV 0x8D57 1685 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1686 #ifdef GL_GLEXT_PROTOTYPES 1687 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1688 #endif 1689 #endif /* GL_NV_framebuffer_multisample */ 1690 1691 #ifndef GL_NV_generate_mipmap_sRGB 1692 #define GL_NV_generate_mipmap_sRGB 1 1693 #endif /* GL_NV_generate_mipmap_sRGB */ 1694 1695 #ifndef GL_NV_instanced_arrays 1696 #define GL_NV_instanced_arrays 1 1697 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE 1698 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor); 1699 #ifdef GL_GLEXT_PROTOTYPES 1700 GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor); 1701 #endif 1702 #endif /* GL_NV_instanced_arrays */ 1703 1704 #ifndef GL_NV_non_square_matrices 1705 #define GL_NV_non_square_matrices 1 1706 #define GL_FLOAT_MAT2x3_NV 0x8B65 1707 #define GL_FLOAT_MAT2x4_NV 0x8B66 1708 #define GL_FLOAT_MAT3x2_NV 0x8B67 1709 #define GL_FLOAT_MAT3x4_NV 0x8B68 1710 #define GL_FLOAT_MAT4x2_NV 0x8B69 1711 #define GL_FLOAT_MAT4x3_NV 0x8B6A 1712 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1713 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1714 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1715 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1716 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1717 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1718 #ifdef GL_GLEXT_PROTOTYPES 1719 GL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1720 GL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1721 GL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1722 GL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1723 GL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1724 GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 1725 #endif 1726 #endif /* GL_NV_non_square_matrices */ 1727 1728 #ifndef GL_NV_read_buffer 1729 #define GL_NV_read_buffer 1 1730 #define GL_READ_BUFFER_NV 0x0C02 1731 typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode); 1732 #ifdef GL_GLEXT_PROTOTYPES 1733 GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode); 1734 #endif 1735 #endif /* GL_NV_read_buffer */ 1736 1737 #ifndef GL_NV_read_buffer_front 1738 #define GL_NV_read_buffer_front 1 1739 #endif /* GL_NV_read_buffer_front */ 1740 1741 #ifndef GL_NV_read_depth 1742 #define GL_NV_read_depth 1 1743 #endif /* GL_NV_read_depth */ 1744 1745 #ifndef GL_NV_read_depth_stencil 1746 #define GL_NV_read_depth_stencil 1 1747 #endif /* GL_NV_read_depth_stencil */ 1748 1749 #ifndef GL_NV_read_stencil 1750 #define GL_NV_read_stencil 1 1751 #endif /* GL_NV_read_stencil */ 1752 1753 #ifndef GL_NV_sRGB_formats 1754 #define GL_NV_sRGB_formats 1 1755 #define GL_SLUMINANCE_NV 0x8C46 1756 #define GL_SLUMINANCE_ALPHA_NV 0x8C44 1757 #define GL_SRGB8_NV 0x8C41 1758 #define GL_SLUMINANCE8_NV 0x8C47 1759 #define GL_SLUMINANCE8_ALPHA8_NV 0x8C45 1760 #define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C 1761 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D 1762 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E 1763 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F 1764 #define GL_ETC1_SRGB8_NV 0x88EE 1765 #endif /* GL_NV_sRGB_formats */ 1766 1767 #ifndef GL_NV_shadow_samplers_array 1768 #define GL_NV_shadow_samplers_array 1 1769 #define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4 1770 #endif /* GL_NV_shadow_samplers_array */ 1771 1772 #ifndef GL_NV_shadow_samplers_cube 1773 #define GL_NV_shadow_samplers_cube 1 1774 #define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5 1775 #endif /* GL_NV_shadow_samplers_cube */ 1776 1777 #ifndef GL_NV_texture_border_clamp 1778 #define GL_NV_texture_border_clamp 1 1779 #define GL_TEXTURE_BORDER_COLOR_NV 0x1004 1780 #define GL_CLAMP_TO_BORDER_NV 0x812D 1781 #endif /* GL_NV_texture_border_clamp */ 1782 1783 #ifndef GL_NV_texture_compression_s3tc_update 1784 #define GL_NV_texture_compression_s3tc_update 1 1785 #endif /* GL_NV_texture_compression_s3tc_update */ 1786 1787 #ifndef GL_NV_texture_npot_2D_mipmap 1788 #define GL_NV_texture_npot_2D_mipmap 1 1789 #endif /* GL_NV_texture_npot_2D_mipmap */ 1790 1791 #ifndef GL_QCOM_alpha_test 1792 #define GL_QCOM_alpha_test 1 1793 #define GL_ALPHA_TEST_QCOM 0x0BC0 1794 #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 1795 #define GL_ALPHA_TEST_REF_QCOM 0x0BC2 1796 typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref); 1797 #ifdef GL_GLEXT_PROTOTYPES 1798 GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref); 1799 #endif 1800 #endif /* GL_QCOM_alpha_test */ 1801 1802 #ifndef GL_QCOM_binning_control 1803 #define GL_QCOM_binning_control 1 1804 #define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0 1805 #define GL_CPU_OPTIMIZED_QCOM 0x8FB1 1806 #define GL_GPU_OPTIMIZED_QCOM 0x8FB2 1807 #define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3 1808 #endif /* GL_QCOM_binning_control */ 1809 1810 #ifndef GL_QCOM_driver_control 1811 #define GL_QCOM_driver_control 1 1812 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); 1813 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); 1814 typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); 1815 typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); 1816 #ifdef GL_GLEXT_PROTOTYPES 1817 GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls); 1818 GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); 1819 GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); 1820 GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); 1821 #endif 1822 #endif /* GL_QCOM_driver_control */ 1823 1824 #ifndef GL_QCOM_extended_get 1825 #define GL_QCOM_extended_get 1 1826 #define GL_TEXTURE_WIDTH_QCOM 0x8BD2 1827 #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 1828 #define GL_TEXTURE_DEPTH_QCOM 0x8BD4 1829 #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 1830 #define GL_TEXTURE_FORMAT_QCOM 0x8BD6 1831 #define GL_TEXTURE_TYPE_QCOM 0x8BD7 1832 #define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 1833 #define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 1834 #define GL_TEXTURE_TARGET_QCOM 0x8BDA 1835 #define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB 1836 #define GL_STATE_RESTORE 0x8BDC 1837 typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); 1838 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); 1839 typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); 1840 typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); 1841 typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); 1842 typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); 1843 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); 1844 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params); 1845 #ifdef GL_GLEXT_PROTOTYPES 1846 GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures); 1847 GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); 1848 GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); 1849 GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); 1850 GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); 1851 GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param); 1852 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); 1853 GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params); 1854 #endif 1855 #endif /* GL_QCOM_extended_get */ 1856 1857 #ifndef GL_QCOM_extended_get2 1858 #define GL_QCOM_extended_get2 1 1859 typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); 1860 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); 1861 typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); 1862 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); 1863 #ifdef GL_GLEXT_PROTOTYPES 1864 GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders); 1865 GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms); 1866 GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); 1867 GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length); 1868 #endif 1869 #endif /* GL_QCOM_extended_get2 */ 1870 1871 #ifndef GL_QCOM_perfmon_global_mode 1872 #define GL_QCOM_perfmon_global_mode 1 1873 #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 1874 #endif /* GL_QCOM_perfmon_global_mode */ 1875 1876 #ifndef GL_QCOM_tiled_rendering 1877 #define GL_QCOM_tiled_rendering 1 1878 #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 1879 #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 1880 #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 1881 #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 1882 #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 1883 #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 1884 #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 1885 #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 1886 #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 1887 #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 1888 #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 1889 #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 1890 #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 1891 #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 1892 #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 1893 #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 1894 #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 1895 #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 1896 #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 1897 #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 1898 #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 1899 #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 1900 #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 1901 #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 1902 #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 1903 #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 1904 #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 1905 #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 1906 #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 1907 #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 1908 #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 1909 #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 1910 typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); 1911 typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); 1912 #ifdef GL_GLEXT_PROTOTYPES 1913 GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); 1914 GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); 1915 #endif 1916 #endif /* GL_QCOM_tiled_rendering */ 1917 1918 #ifndef GL_QCOM_writeonly_rendering 1919 #define GL_QCOM_writeonly_rendering 1 1920 #define GL_WRITEONLY_RENDERING_QCOM 0x8823 1921 #endif /* GL_QCOM_writeonly_rendering */ 1922 1923 #ifndef GL_VIV_shader_binary 1924 #define GL_VIV_shader_binary 1 1925 #define GL_SHADER_BINARY_VIV 0x8FC4 1926 #endif /* GL_VIV_shader_binary */ 1927 1928 #ifdef __cplusplus 1929 } 1930 #endif 1931 1932 #endif 1933