1 #ifndef __glext_h_ 2 #define __glext_h_ 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 /* 9 ** Copyright (c) 2007-2012 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 /* Header file version number, required by OpenGL ABI for Linux */ 32 /* glext.h last updated $Date: 2012-06-18 11:26:35 -0700 (Mon, 18 Jun 2012) $ */ 33 /* Current version at http://www.opengl.org/registry/ */ 34 #define GL_GLEXT_VERSION 82 35 /* Function declaration macros - to move into glplatform.h */ 36 37 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) 38 #define WIN32_LEAN_AND_MEAN 1 39 #include <windows.h> 40 #endif 41 42 #ifndef APIENTRY 43 #define APIENTRY 44 #endif 45 #ifndef APIENTRYP 46 #define APIENTRYP APIENTRY * 47 #endif 48 #ifndef GLAPI 49 #define GLAPI extern 50 #endif 51 52 /*************************************************************/ 53 54 #ifndef GL_VERSION_1_2 55 #define GL_UNSIGNED_BYTE_3_3_2 0x8032 56 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 57 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 58 #define GL_UNSIGNED_INT_8_8_8_8 0x8035 59 #define GL_UNSIGNED_INT_10_10_10_2 0x8036 60 #define GL_TEXTURE_BINDING_3D 0x806A 61 #define GL_PACK_SKIP_IMAGES 0x806B 62 #define GL_PACK_IMAGE_HEIGHT 0x806C 63 #define GL_UNPACK_SKIP_IMAGES 0x806D 64 #define GL_UNPACK_IMAGE_HEIGHT 0x806E 65 #define GL_TEXTURE_3D 0x806F 66 #define GL_PROXY_TEXTURE_3D 0x8070 67 #define GL_TEXTURE_DEPTH 0x8071 68 #define GL_TEXTURE_WRAP_R 0x8072 69 #define GL_MAX_3D_TEXTURE_SIZE 0x8073 70 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 71 #define GL_UNSIGNED_SHORT_5_6_5 0x8363 72 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 73 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 74 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 75 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 76 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 77 #define GL_BGR 0x80E0 78 #define GL_BGRA 0x80E1 79 #define GL_MAX_ELEMENTS_VERTICES 0x80E8 80 #define GL_MAX_ELEMENTS_INDICES 0x80E9 81 #define GL_CLAMP_TO_EDGE 0x812F 82 #define GL_TEXTURE_MIN_LOD 0x813A 83 #define GL_TEXTURE_MAX_LOD 0x813B 84 #define GL_TEXTURE_BASE_LEVEL 0x813C 85 #define GL_TEXTURE_MAX_LEVEL 0x813D 86 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 87 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 88 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 89 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 90 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E 91 #endif 92 93 #ifndef GL_VERSION_1_2_DEPRECATED 94 #define GL_RESCALE_NORMAL 0x803A 95 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 96 #define GL_SINGLE_COLOR 0x81F9 97 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA 98 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D 99 #endif 100 101 #ifndef GL_ARB_imaging 102 #define GL_CONSTANT_COLOR 0x8001 103 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 104 #define GL_CONSTANT_ALPHA 0x8003 105 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 106 #define GL_BLEND_COLOR 0x8005 107 #define GL_FUNC_ADD 0x8006 108 #define GL_MIN 0x8007 109 #define GL_MAX 0x8008 110 #define GL_BLEND_EQUATION 0x8009 111 #define GL_FUNC_SUBTRACT 0x800A 112 #define GL_FUNC_REVERSE_SUBTRACT 0x800B 113 #endif 114 115 #ifndef GL_ARB_imaging_DEPRECATED 116 #define GL_CONVOLUTION_1D 0x8010 117 #define GL_CONVOLUTION_2D 0x8011 118 #define GL_SEPARABLE_2D 0x8012 119 #define GL_CONVOLUTION_BORDER_MODE 0x8013 120 #define GL_CONVOLUTION_FILTER_SCALE 0x8014 121 #define GL_CONVOLUTION_FILTER_BIAS 0x8015 122 #define GL_REDUCE 0x8016 123 #define GL_CONVOLUTION_FORMAT 0x8017 124 #define GL_CONVOLUTION_WIDTH 0x8018 125 #define GL_CONVOLUTION_HEIGHT 0x8019 126 #define GL_MAX_CONVOLUTION_WIDTH 0x801A 127 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B 128 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C 129 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D 130 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E 131 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F 132 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020 133 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 134 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 135 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 136 #define GL_HISTOGRAM 0x8024 137 #define GL_PROXY_HISTOGRAM 0x8025 138 #define GL_HISTOGRAM_WIDTH 0x8026 139 #define GL_HISTOGRAM_FORMAT 0x8027 140 #define GL_HISTOGRAM_RED_SIZE 0x8028 141 #define GL_HISTOGRAM_GREEN_SIZE 0x8029 142 #define GL_HISTOGRAM_BLUE_SIZE 0x802A 143 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B 144 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C 145 #define GL_HISTOGRAM_SINK 0x802D 146 #define GL_MINMAX 0x802E 147 #define GL_MINMAX_FORMAT 0x802F 148 #define GL_MINMAX_SINK 0x8030 149 #define GL_TABLE_TOO_LARGE 0x8031 150 #define GL_COLOR_MATRIX 0x80B1 151 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 152 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 153 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 154 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 155 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 156 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 157 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 158 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 159 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA 160 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB 161 #define GL_COLOR_TABLE 0x80D0 162 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 163 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 164 #define GL_PROXY_COLOR_TABLE 0x80D3 165 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 166 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 167 #define GL_COLOR_TABLE_SCALE 0x80D6 168 #define GL_COLOR_TABLE_BIAS 0x80D7 169 #define GL_COLOR_TABLE_FORMAT 0x80D8 170 #define GL_COLOR_TABLE_WIDTH 0x80D9 171 #define GL_COLOR_TABLE_RED_SIZE 0x80DA 172 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB 173 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC 174 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD 175 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE 176 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF 177 #define GL_CONSTANT_BORDER 0x8151 178 #define GL_REPLICATE_BORDER 0x8153 179 #define GL_CONVOLUTION_BORDER_COLOR 0x8154 180 #endif 181 182 #ifndef GL_VERSION_1_3 183 #define GL_TEXTURE0 0x84C0 184 #define GL_TEXTURE1 0x84C1 185 #define GL_TEXTURE2 0x84C2 186 #define GL_TEXTURE3 0x84C3 187 #define GL_TEXTURE4 0x84C4 188 #define GL_TEXTURE5 0x84C5 189 #define GL_TEXTURE6 0x84C6 190 #define GL_TEXTURE7 0x84C7 191 #define GL_TEXTURE8 0x84C8 192 #define GL_TEXTURE9 0x84C9 193 #define GL_TEXTURE10 0x84CA 194 #define GL_TEXTURE11 0x84CB 195 #define GL_TEXTURE12 0x84CC 196 #define GL_TEXTURE13 0x84CD 197 #define GL_TEXTURE14 0x84CE 198 #define GL_TEXTURE15 0x84CF 199 #define GL_TEXTURE16 0x84D0 200 #define GL_TEXTURE17 0x84D1 201 #define GL_TEXTURE18 0x84D2 202 #define GL_TEXTURE19 0x84D3 203 #define GL_TEXTURE20 0x84D4 204 #define GL_TEXTURE21 0x84D5 205 #define GL_TEXTURE22 0x84D6 206 #define GL_TEXTURE23 0x84D7 207 #define GL_TEXTURE24 0x84D8 208 #define GL_TEXTURE25 0x84D9 209 #define GL_TEXTURE26 0x84DA 210 #define GL_TEXTURE27 0x84DB 211 #define GL_TEXTURE28 0x84DC 212 #define GL_TEXTURE29 0x84DD 213 #define GL_TEXTURE30 0x84DE 214 #define GL_TEXTURE31 0x84DF 215 #define GL_ACTIVE_TEXTURE 0x84E0 216 #define GL_MULTISAMPLE 0x809D 217 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E 218 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F 219 #define GL_SAMPLE_COVERAGE 0x80A0 220 #define GL_SAMPLE_BUFFERS 0x80A8 221 #define GL_SAMPLES 0x80A9 222 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA 223 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB 224 #define GL_TEXTURE_CUBE_MAP 0x8513 225 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 226 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 227 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 228 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 229 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 230 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 231 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A 232 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B 233 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C 234 #define GL_COMPRESSED_RGB 0x84ED 235 #define GL_COMPRESSED_RGBA 0x84EE 236 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF 237 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 238 #define GL_TEXTURE_COMPRESSED 0x86A1 239 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 240 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 241 #define GL_CLAMP_TO_BORDER 0x812D 242 #endif 243 244 #ifndef GL_VERSION_1_3_DEPRECATED 245 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 246 #define GL_MAX_TEXTURE_UNITS 0x84E2 247 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 248 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 249 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 250 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 251 #define GL_MULTISAMPLE_BIT 0x20000000 252 #define GL_NORMAL_MAP 0x8511 253 #define GL_REFLECTION_MAP 0x8512 254 #define GL_COMPRESSED_ALPHA 0x84E9 255 #define GL_COMPRESSED_LUMINANCE 0x84EA 256 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB 257 #define GL_COMPRESSED_INTENSITY 0x84EC 258 #define GL_COMBINE 0x8570 259 #define GL_COMBINE_RGB 0x8571 260 #define GL_COMBINE_ALPHA 0x8572 261 #define GL_SOURCE0_RGB 0x8580 262 #define GL_SOURCE1_RGB 0x8581 263 #define GL_SOURCE2_RGB 0x8582 264 #define GL_SOURCE0_ALPHA 0x8588 265 #define GL_SOURCE1_ALPHA 0x8589 266 #define GL_SOURCE2_ALPHA 0x858A 267 #define GL_OPERAND0_RGB 0x8590 268 #define GL_OPERAND1_RGB 0x8591 269 #define GL_OPERAND2_RGB 0x8592 270 #define GL_OPERAND0_ALPHA 0x8598 271 #define GL_OPERAND1_ALPHA 0x8599 272 #define GL_OPERAND2_ALPHA 0x859A 273 #define GL_RGB_SCALE 0x8573 274 #define GL_ADD_SIGNED 0x8574 275 #define GL_INTERPOLATE 0x8575 276 #define GL_SUBTRACT 0x84E7 277 #define GL_CONSTANT 0x8576 278 #define GL_PRIMARY_COLOR 0x8577 279 #define GL_PREVIOUS 0x8578 280 #define GL_DOT3_RGB 0x86AE 281 #define GL_DOT3_RGBA 0x86AF 282 #endif 283 284 #ifndef GL_VERSION_1_4 285 #define GL_BLEND_DST_RGB 0x80C8 286 #define GL_BLEND_SRC_RGB 0x80C9 287 #define GL_BLEND_DST_ALPHA 0x80CA 288 #define GL_BLEND_SRC_ALPHA 0x80CB 289 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 290 #define GL_DEPTH_COMPONENT16 0x81A5 291 #define GL_DEPTH_COMPONENT24 0x81A6 292 #define GL_DEPTH_COMPONENT32 0x81A7 293 #define GL_MIRRORED_REPEAT 0x8370 294 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD 295 #define GL_TEXTURE_LOD_BIAS 0x8501 296 #define GL_INCR_WRAP 0x8507 297 #define GL_DECR_WRAP 0x8508 298 #define GL_TEXTURE_DEPTH_SIZE 0x884A 299 #define GL_TEXTURE_COMPARE_MODE 0x884C 300 #define GL_TEXTURE_COMPARE_FUNC 0x884D 301 #endif 302 303 #ifndef GL_VERSION_1_4_DEPRECATED 304 #define GL_POINT_SIZE_MIN 0x8126 305 #define GL_POINT_SIZE_MAX 0x8127 306 #define GL_POINT_DISTANCE_ATTENUATION 0x8129 307 #define GL_GENERATE_MIPMAP 0x8191 308 #define GL_GENERATE_MIPMAP_HINT 0x8192 309 #define GL_FOG_COORDINATE_SOURCE 0x8450 310 #define GL_FOG_COORDINATE 0x8451 311 #define GL_FRAGMENT_DEPTH 0x8452 312 #define GL_CURRENT_FOG_COORDINATE 0x8453 313 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 314 #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455 315 #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456 316 #define GL_FOG_COORDINATE_ARRAY 0x8457 317 #define GL_COLOR_SUM 0x8458 318 #define GL_CURRENT_SECONDARY_COLOR 0x8459 319 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A 320 #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B 321 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C 322 #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D 323 #define GL_SECONDARY_COLOR_ARRAY 0x845E 324 #define GL_TEXTURE_FILTER_CONTROL 0x8500 325 #define GL_DEPTH_TEXTURE_MODE 0x884B 326 #define GL_COMPARE_R_TO_TEXTURE 0x884E 327 #endif 328 329 #ifndef GL_VERSION_1_5 330 #define GL_BUFFER_SIZE 0x8764 331 #define GL_BUFFER_USAGE 0x8765 332 #define GL_QUERY_COUNTER_BITS 0x8864 333 #define GL_CURRENT_QUERY 0x8865 334 #define GL_QUERY_RESULT 0x8866 335 #define GL_QUERY_RESULT_AVAILABLE 0x8867 336 #define GL_ARRAY_BUFFER 0x8892 337 #define GL_ELEMENT_ARRAY_BUFFER 0x8893 338 #define GL_ARRAY_BUFFER_BINDING 0x8894 339 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 340 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F 341 #define GL_READ_ONLY 0x88B8 342 #define GL_WRITE_ONLY 0x88B9 343 #define GL_READ_WRITE 0x88BA 344 #define GL_BUFFER_ACCESS 0x88BB 345 #define GL_BUFFER_MAPPED 0x88BC 346 #define GL_BUFFER_MAP_POINTER 0x88BD 347 #define GL_STREAM_DRAW 0x88E0 348 #define GL_STREAM_READ 0x88E1 349 #define GL_STREAM_COPY 0x88E2 350 #define GL_STATIC_DRAW 0x88E4 351 #define GL_STATIC_READ 0x88E5 352 #define GL_STATIC_COPY 0x88E6 353 #define GL_DYNAMIC_DRAW 0x88E8 354 #define GL_DYNAMIC_READ 0x88E9 355 #define GL_DYNAMIC_COPY 0x88EA 356 #define GL_SAMPLES_PASSED 0x8914 357 #endif 358 359 #ifndef GL_VERSION_1_5_DEPRECATED 360 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 361 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 362 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 363 #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 364 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A 365 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B 366 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C 367 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D 368 #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E 369 #define GL_FOG_COORD_SRC 0x8450 370 #define GL_FOG_COORD 0x8451 371 #define GL_CURRENT_FOG_COORD 0x8453 372 #define GL_FOG_COORD_ARRAY_TYPE 0x8454 373 #define GL_FOG_COORD_ARRAY_STRIDE 0x8455 374 #define GL_FOG_COORD_ARRAY_POINTER 0x8456 375 #define GL_FOG_COORD_ARRAY 0x8457 376 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D 377 #define GL_SRC0_RGB 0x8580 378 #define GL_SRC1_RGB 0x8581 379 #define GL_SRC2_RGB 0x8582 380 #define GL_SRC0_ALPHA 0x8588 381 #define GL_SRC1_ALPHA 0x8589 382 #define GL_SRC2_ALPHA 0x858A 383 #endif 384 385 #ifndef GL_VERSION_2_0 386 #define GL_BLEND_EQUATION_RGB 0x8009 387 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 388 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 389 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 390 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 391 #define GL_CURRENT_VERTEX_ATTRIB 0x8626 392 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 393 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 394 #define GL_STENCIL_BACK_FUNC 0x8800 395 #define GL_STENCIL_BACK_FAIL 0x8801 396 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 397 #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 398 #define GL_MAX_DRAW_BUFFERS 0x8824 399 #define GL_DRAW_BUFFER0 0x8825 400 #define GL_DRAW_BUFFER1 0x8826 401 #define GL_DRAW_BUFFER2 0x8827 402 #define GL_DRAW_BUFFER3 0x8828 403 #define GL_DRAW_BUFFER4 0x8829 404 #define GL_DRAW_BUFFER5 0x882A 405 #define GL_DRAW_BUFFER6 0x882B 406 #define GL_DRAW_BUFFER7 0x882C 407 #define GL_DRAW_BUFFER8 0x882D 408 #define GL_DRAW_BUFFER9 0x882E 409 #define GL_DRAW_BUFFER10 0x882F 410 #define GL_DRAW_BUFFER11 0x8830 411 #define GL_DRAW_BUFFER12 0x8831 412 #define GL_DRAW_BUFFER13 0x8832 413 #define GL_DRAW_BUFFER14 0x8833 414 #define GL_DRAW_BUFFER15 0x8834 415 #define GL_BLEND_EQUATION_ALPHA 0x883D 416 #define GL_MAX_VERTEX_ATTRIBS 0x8869 417 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A 418 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 419 #define GL_FRAGMENT_SHADER 0x8B30 420 #define GL_VERTEX_SHADER 0x8B31 421 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 422 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A 423 #define GL_MAX_VARYING_FLOATS 0x8B4B 424 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C 425 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D 426 #define GL_SHADER_TYPE 0x8B4F 427 #define GL_FLOAT_VEC2 0x8B50 428 #define GL_FLOAT_VEC3 0x8B51 429 #define GL_FLOAT_VEC4 0x8B52 430 #define GL_INT_VEC2 0x8B53 431 #define GL_INT_VEC3 0x8B54 432 #define GL_INT_VEC4 0x8B55 433 #define GL_BOOL 0x8B56 434 #define GL_BOOL_VEC2 0x8B57 435 #define GL_BOOL_VEC3 0x8B58 436 #define GL_BOOL_VEC4 0x8B59 437 #define GL_FLOAT_MAT2 0x8B5A 438 #define GL_FLOAT_MAT3 0x8B5B 439 #define GL_FLOAT_MAT4 0x8B5C 440 #define GL_SAMPLER_1D 0x8B5D 441 #define GL_SAMPLER_2D 0x8B5E 442 #define GL_SAMPLER_3D 0x8B5F 443 #define GL_SAMPLER_CUBE 0x8B60 444 #define GL_SAMPLER_1D_SHADOW 0x8B61 445 #define GL_SAMPLER_2D_SHADOW 0x8B62 446 #define GL_DELETE_STATUS 0x8B80 447 #define GL_COMPILE_STATUS 0x8B81 448 #define GL_LINK_STATUS 0x8B82 449 #define GL_VALIDATE_STATUS 0x8B83 450 #define GL_INFO_LOG_LENGTH 0x8B84 451 #define GL_ATTACHED_SHADERS 0x8B85 452 #define GL_ACTIVE_UNIFORMS 0x8B86 453 #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 454 #define GL_SHADER_SOURCE_LENGTH 0x8B88 455 #define GL_ACTIVE_ATTRIBUTES 0x8B89 456 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A 457 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B 458 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C 459 #define GL_CURRENT_PROGRAM 0x8B8D 460 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 461 #define GL_LOWER_LEFT 0x8CA1 462 #define GL_UPPER_LEFT 0x8CA2 463 #define GL_STENCIL_BACK_REF 0x8CA3 464 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 465 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 466 #endif 467 468 #ifndef GL_VERSION_2_0_DEPRECATED 469 #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 470 #define GL_POINT_SPRITE 0x8861 471 #define GL_COORD_REPLACE 0x8862 472 #define GL_MAX_TEXTURE_COORDS 0x8871 473 #endif 474 475 #ifndef GL_VERSION_2_1 476 #define GL_PIXEL_PACK_BUFFER 0x88EB 477 #define GL_PIXEL_UNPACK_BUFFER 0x88EC 478 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED 479 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF 480 #define GL_FLOAT_MAT2x3 0x8B65 481 #define GL_FLOAT_MAT2x4 0x8B66 482 #define GL_FLOAT_MAT3x2 0x8B67 483 #define GL_FLOAT_MAT3x4 0x8B68 484 #define GL_FLOAT_MAT4x2 0x8B69 485 #define GL_FLOAT_MAT4x3 0x8B6A 486 #define GL_SRGB 0x8C40 487 #define GL_SRGB8 0x8C41 488 #define GL_SRGB_ALPHA 0x8C42 489 #define GL_SRGB8_ALPHA8 0x8C43 490 #define GL_COMPRESSED_SRGB 0x8C48 491 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49 492 #endif 493 494 #ifndef GL_VERSION_2_1_DEPRECATED 495 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F 496 #define GL_SLUMINANCE_ALPHA 0x8C44 497 #define GL_SLUMINANCE8_ALPHA8 0x8C45 498 #define GL_SLUMINANCE 0x8C46 499 #define GL_SLUMINANCE8 0x8C47 500 #define GL_COMPRESSED_SLUMINANCE 0x8C4A 501 #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B 502 #endif 503 504 #ifndef GL_VERSION_3_0 505 #define GL_COMPARE_REF_TO_TEXTURE 0x884E 506 #define GL_CLIP_DISTANCE0 0x3000 507 #define GL_CLIP_DISTANCE1 0x3001 508 #define GL_CLIP_DISTANCE2 0x3002 509 #define GL_CLIP_DISTANCE3 0x3003 510 #define GL_CLIP_DISTANCE4 0x3004 511 #define GL_CLIP_DISTANCE5 0x3005 512 #define GL_CLIP_DISTANCE6 0x3006 513 #define GL_CLIP_DISTANCE7 0x3007 514 #define GL_MAX_CLIP_DISTANCES 0x0D32 515 #define GL_MAJOR_VERSION 0x821B 516 #define GL_MINOR_VERSION 0x821C 517 #define GL_NUM_EXTENSIONS 0x821D 518 #define GL_CONTEXT_FLAGS 0x821E 519 #define GL_COMPRESSED_RED 0x8225 520 #define GL_COMPRESSED_RG 0x8226 521 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001 522 #define GL_RGBA32F 0x8814 523 #define GL_RGB32F 0x8815 524 #define GL_RGBA16F 0x881A 525 #define GL_RGB16F 0x881B 526 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD 527 #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF 528 #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 529 #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 530 #define GL_CLAMP_READ_COLOR 0x891C 531 #define GL_FIXED_ONLY 0x891D 532 #define GL_MAX_VARYING_COMPONENTS 0x8B4B 533 #define GL_TEXTURE_1D_ARRAY 0x8C18 534 #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19 535 #define GL_TEXTURE_2D_ARRAY 0x8C1A 536 #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B 537 #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C 538 #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D 539 #define GL_R11F_G11F_B10F 0x8C3A 540 #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B 541 #define GL_RGB9_E5 0x8C3D 542 #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E 543 #define GL_TEXTURE_SHARED_SIZE 0x8C3F 544 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 545 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F 546 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 547 #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 548 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 549 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 550 #define GL_PRIMITIVES_GENERATED 0x8C87 551 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 552 #define GL_RASTERIZER_DISCARD 0x8C89 553 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A 554 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B 555 #define GL_INTERLEAVED_ATTRIBS 0x8C8C 556 #define GL_SEPARATE_ATTRIBS 0x8C8D 557 #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E 558 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F 559 #define GL_RGBA32UI 0x8D70 560 #define GL_RGB32UI 0x8D71 561 #define GL_RGBA16UI 0x8D76 562 #define GL_RGB16UI 0x8D77 563 #define GL_RGBA8UI 0x8D7C 564 #define GL_RGB8UI 0x8D7D 565 #define GL_RGBA32I 0x8D82 566 #define GL_RGB32I 0x8D83 567 #define GL_RGBA16I 0x8D88 568 #define GL_RGB16I 0x8D89 569 #define GL_RGBA8I 0x8D8E 570 #define GL_RGB8I 0x8D8F 571 #define GL_RED_INTEGER 0x8D94 572 #define GL_GREEN_INTEGER 0x8D95 573 #define GL_BLUE_INTEGER 0x8D96 574 #define GL_RGB_INTEGER 0x8D98 575 #define GL_RGBA_INTEGER 0x8D99 576 #define GL_BGR_INTEGER 0x8D9A 577 #define GL_BGRA_INTEGER 0x8D9B 578 #define GL_SAMPLER_1D_ARRAY 0x8DC0 579 #define GL_SAMPLER_2D_ARRAY 0x8DC1 580 #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3 581 #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 582 #define GL_SAMPLER_CUBE_SHADOW 0x8DC5 583 #define GL_UNSIGNED_INT_VEC2 0x8DC6 584 #define GL_UNSIGNED_INT_VEC3 0x8DC7 585 #define GL_UNSIGNED_INT_VEC4 0x8DC8 586 #define GL_INT_SAMPLER_1D 0x8DC9 587 #define GL_INT_SAMPLER_2D 0x8DCA 588 #define GL_INT_SAMPLER_3D 0x8DCB 589 #define GL_INT_SAMPLER_CUBE 0x8DCC 590 #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE 591 #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF 592 #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1 593 #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 594 #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 595 #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 596 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6 597 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 598 #define GL_QUERY_WAIT 0x8E13 599 #define GL_QUERY_NO_WAIT 0x8E14 600 #define GL_QUERY_BY_REGION_WAIT 0x8E15 601 #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16 602 #define GL_BUFFER_ACCESS_FLAGS 0x911F 603 #define GL_BUFFER_MAP_LENGTH 0x9120 604 #define GL_BUFFER_MAP_OFFSET 0x9121 605 /* Reuse tokens from ARB_depth_buffer_float */ 606 /* reuse GL_DEPTH_COMPONENT32F */ 607 /* reuse GL_DEPTH32F_STENCIL8 */ 608 /* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */ 609 /* Reuse tokens from ARB_framebuffer_object */ 610 /* reuse GL_INVALID_FRAMEBUFFER_OPERATION */ 611 /* reuse GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */ 612 /* reuse GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */ 613 /* reuse GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */ 614 /* reuse GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */ 615 /* reuse GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */ 616 /* reuse GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */ 617 /* reuse GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */ 618 /* reuse GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */ 619 /* reuse GL_FRAMEBUFFER_DEFAULT */ 620 /* reuse GL_FRAMEBUFFER_UNDEFINED */ 621 /* reuse GL_DEPTH_STENCIL_ATTACHMENT */ 622 /* reuse GL_INDEX */ 623 /* reuse GL_MAX_RENDERBUFFER_SIZE */ 624 /* reuse GL_DEPTH_STENCIL */ 625 /* reuse GL_UNSIGNED_INT_24_8 */ 626 /* reuse GL_DEPTH24_STENCIL8 */ 627 /* reuse GL_TEXTURE_STENCIL_SIZE */ 628 /* reuse GL_TEXTURE_RED_TYPE */ 629 /* reuse GL_TEXTURE_GREEN_TYPE */ 630 /* reuse GL_TEXTURE_BLUE_TYPE */ 631 /* reuse GL_TEXTURE_ALPHA_TYPE */ 632 /* reuse GL_TEXTURE_DEPTH_TYPE */ 633 /* reuse GL_UNSIGNED_NORMALIZED */ 634 /* reuse GL_FRAMEBUFFER_BINDING */ 635 /* reuse GL_DRAW_FRAMEBUFFER_BINDING */ 636 /* reuse GL_RENDERBUFFER_BINDING */ 637 /* reuse GL_READ_FRAMEBUFFER */ 638 /* reuse GL_DRAW_FRAMEBUFFER */ 639 /* reuse GL_READ_FRAMEBUFFER_BINDING */ 640 /* reuse GL_RENDERBUFFER_SAMPLES */ 641 /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */ 642 /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */ 643 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */ 644 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */ 645 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */ 646 /* reuse GL_FRAMEBUFFER_COMPLETE */ 647 /* reuse GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */ 648 /* reuse GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */ 649 /* reuse GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */ 650 /* reuse GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */ 651 /* reuse GL_FRAMEBUFFER_UNSUPPORTED */ 652 /* reuse GL_MAX_COLOR_ATTACHMENTS */ 653 /* reuse GL_COLOR_ATTACHMENT0 */ 654 /* reuse GL_COLOR_ATTACHMENT1 */ 655 /* reuse GL_COLOR_ATTACHMENT2 */ 656 /* reuse GL_COLOR_ATTACHMENT3 */ 657 /* reuse GL_COLOR_ATTACHMENT4 */ 658 /* reuse GL_COLOR_ATTACHMENT5 */ 659 /* reuse GL_COLOR_ATTACHMENT6 */ 660 /* reuse GL_COLOR_ATTACHMENT7 */ 661 /* reuse GL_COLOR_ATTACHMENT8 */ 662 /* reuse GL_COLOR_ATTACHMENT9 */ 663 /* reuse GL_COLOR_ATTACHMENT10 */ 664 /* reuse GL_COLOR_ATTACHMENT11 */ 665 /* reuse GL_COLOR_ATTACHMENT12 */ 666 /* reuse GL_COLOR_ATTACHMENT13 */ 667 /* reuse GL_COLOR_ATTACHMENT14 */ 668 /* reuse GL_COLOR_ATTACHMENT15 */ 669 /* reuse GL_DEPTH_ATTACHMENT */ 670 /* reuse GL_STENCIL_ATTACHMENT */ 671 /* reuse GL_FRAMEBUFFER */ 672 /* reuse GL_RENDERBUFFER */ 673 /* reuse GL_RENDERBUFFER_WIDTH */ 674 /* reuse GL_RENDERBUFFER_HEIGHT */ 675 /* reuse GL_RENDERBUFFER_INTERNAL_FORMAT */ 676 /* reuse GL_STENCIL_INDEX1 */ 677 /* reuse GL_STENCIL_INDEX4 */ 678 /* reuse GL_STENCIL_INDEX8 */ 679 /* reuse GL_STENCIL_INDEX16 */ 680 /* reuse GL_RENDERBUFFER_RED_SIZE */ 681 /* reuse GL_RENDERBUFFER_GREEN_SIZE */ 682 /* reuse GL_RENDERBUFFER_BLUE_SIZE */ 683 /* reuse GL_RENDERBUFFER_ALPHA_SIZE */ 684 /* reuse GL_RENDERBUFFER_DEPTH_SIZE */ 685 /* reuse GL_RENDERBUFFER_STENCIL_SIZE */ 686 /* reuse GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */ 687 /* reuse GL_MAX_SAMPLES */ 688 /* Reuse tokens from ARB_framebuffer_sRGB */ 689 /* reuse GL_FRAMEBUFFER_SRGB */ 690 /* Reuse tokens from ARB_half_float_vertex */ 691 /* reuse GL_HALF_FLOAT */ 692 /* Reuse tokens from ARB_map_buffer_range */ 693 /* reuse GL_MAP_READ_BIT */ 694 /* reuse GL_MAP_WRITE_BIT */ 695 /* reuse GL_MAP_INVALIDATE_RANGE_BIT */ 696 /* reuse GL_MAP_INVALIDATE_BUFFER_BIT */ 697 /* reuse GL_MAP_FLUSH_EXPLICIT_BIT */ 698 /* reuse GL_MAP_UNSYNCHRONIZED_BIT */ 699 /* Reuse tokens from ARB_texture_compression_rgtc */ 700 /* reuse GL_COMPRESSED_RED_RGTC1 */ 701 /* reuse GL_COMPRESSED_SIGNED_RED_RGTC1 */ 702 /* reuse GL_COMPRESSED_RG_RGTC2 */ 703 /* reuse GL_COMPRESSED_SIGNED_RG_RGTC2 */ 704 /* Reuse tokens from ARB_texture_rg */ 705 /* reuse GL_RG */ 706 /* reuse GL_RG_INTEGER */ 707 /* reuse GL_R8 */ 708 /* reuse GL_R16 */ 709 /* reuse GL_RG8 */ 710 /* reuse GL_RG16 */ 711 /* reuse GL_R16F */ 712 /* reuse GL_R32F */ 713 /* reuse GL_RG16F */ 714 /* reuse GL_RG32F */ 715 /* reuse GL_R8I */ 716 /* reuse GL_R8UI */ 717 /* reuse GL_R16I */ 718 /* reuse GL_R16UI */ 719 /* reuse GL_R32I */ 720 /* reuse GL_R32UI */ 721 /* reuse GL_RG8I */ 722 /* reuse GL_RG8UI */ 723 /* reuse GL_RG16I */ 724 /* reuse GL_RG16UI */ 725 /* reuse GL_RG32I */ 726 /* reuse GL_RG32UI */ 727 /* Reuse tokens from ARB_vertex_array_object */ 728 /* reuse GL_VERTEX_ARRAY_BINDING */ 729 #endif 730 731 #ifndef GL_VERSION_3_0_DEPRECATED 732 #define GL_CLAMP_VERTEX_COLOR 0x891A 733 #define GL_CLAMP_FRAGMENT_COLOR 0x891B 734 #define GL_ALPHA_INTEGER 0x8D97 735 /* Reuse tokens from ARB_framebuffer_object */ 736 /* reuse GL_TEXTURE_LUMINANCE_TYPE */ 737 /* reuse GL_TEXTURE_INTENSITY_TYPE */ 738 #endif 739 740 #ifndef GL_VERSION_3_1 741 #define GL_SAMPLER_2D_RECT 0x8B63 742 #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64 743 #define GL_SAMPLER_BUFFER 0x8DC2 744 #define GL_INT_SAMPLER_2D_RECT 0x8DCD 745 #define GL_INT_SAMPLER_BUFFER 0x8DD0 746 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5 747 #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8 748 #define GL_TEXTURE_BUFFER 0x8C2A 749 #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B 750 #define GL_TEXTURE_BINDING_BUFFER 0x8C2C 751 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D 752 #define GL_TEXTURE_BUFFER_FORMAT 0x8C2E 753 #define GL_TEXTURE_RECTANGLE 0x84F5 754 #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6 755 #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7 756 #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8 757 #define GL_RED_SNORM 0x8F90 758 #define GL_RG_SNORM 0x8F91 759 #define GL_RGB_SNORM 0x8F92 760 #define GL_RGBA_SNORM 0x8F93 761 #define GL_R8_SNORM 0x8F94 762 #define GL_RG8_SNORM 0x8F95 763 #define GL_RGB8_SNORM 0x8F96 764 #define GL_RGBA8_SNORM 0x8F97 765 #define GL_R16_SNORM 0x8F98 766 #define GL_RG16_SNORM 0x8F99 767 #define GL_RGB16_SNORM 0x8F9A 768 #define GL_RGBA16_SNORM 0x8F9B 769 #define GL_SIGNED_NORMALIZED 0x8F9C 770 #define GL_PRIMITIVE_RESTART 0x8F9D 771 #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E 772 /* Reuse tokens from ARB_copy_buffer */ 773 /* reuse GL_COPY_READ_BUFFER */ 774 /* reuse GL_COPY_WRITE_BUFFER */ 775 /* Reuse tokens from ARB_draw_instanced (none) */ 776 /* Reuse tokens from ARB_uniform_buffer_object */ 777 /* reuse GL_UNIFORM_BUFFER */ 778 /* reuse GL_UNIFORM_BUFFER_BINDING */ 779 /* reuse GL_UNIFORM_BUFFER_START */ 780 /* reuse GL_UNIFORM_BUFFER_SIZE */ 781 /* reuse GL_MAX_VERTEX_UNIFORM_BLOCKS */ 782 /* reuse GL_MAX_FRAGMENT_UNIFORM_BLOCKS */ 783 /* reuse GL_MAX_COMBINED_UNIFORM_BLOCKS */ 784 /* reuse GL_MAX_UNIFORM_BUFFER_BINDINGS */ 785 /* reuse GL_MAX_UNIFORM_BLOCK_SIZE */ 786 /* reuse GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS */ 787 /* reuse GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS */ 788 /* reuse GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT */ 789 /* reuse GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH */ 790 /* reuse GL_ACTIVE_UNIFORM_BLOCKS */ 791 /* reuse GL_UNIFORM_TYPE */ 792 /* reuse GL_UNIFORM_SIZE */ 793 /* reuse GL_UNIFORM_NAME_LENGTH */ 794 /* reuse GL_UNIFORM_BLOCK_INDEX */ 795 /* reuse GL_UNIFORM_OFFSET */ 796 /* reuse GL_UNIFORM_ARRAY_STRIDE */ 797 /* reuse GL_UNIFORM_MATRIX_STRIDE */ 798 /* reuse GL_UNIFORM_IS_ROW_MAJOR */ 799 /* reuse GL_UNIFORM_BLOCK_BINDING */ 800 /* reuse GL_UNIFORM_BLOCK_DATA_SIZE */ 801 /* reuse GL_UNIFORM_BLOCK_NAME_LENGTH */ 802 /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS */ 803 /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES */ 804 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER */ 805 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER */ 806 /* reuse GL_INVALID_INDEX */ 807 #endif 808 809 #ifndef GL_VERSION_3_2 810 #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 811 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 812 #define GL_LINES_ADJACENCY 0x000A 813 #define GL_LINE_STRIP_ADJACENCY 0x000B 814 #define GL_TRIANGLES_ADJACENCY 0x000C 815 #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D 816 #define GL_PROGRAM_POINT_SIZE 0x8642 817 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29 818 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7 819 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8 820 #define GL_GEOMETRY_SHADER 0x8DD9 821 #define GL_GEOMETRY_VERTICES_OUT 0x8916 822 #define GL_GEOMETRY_INPUT_TYPE 0x8917 823 #define GL_GEOMETRY_OUTPUT_TYPE 0x8918 824 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF 825 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 826 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 827 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 828 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123 829 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124 830 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 831 #define GL_CONTEXT_PROFILE_MASK 0x9126 832 /* reuse GL_MAX_VARYING_COMPONENTS */ 833 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */ 834 /* Reuse tokens from ARB_depth_clamp */ 835 /* reuse GL_DEPTH_CLAMP */ 836 /* Reuse tokens from ARB_draw_elements_base_vertex (none) */ 837 /* Reuse tokens from ARB_fragment_coord_conventions (none) */ 838 /* Reuse tokens from ARB_provoking_vertex */ 839 /* reuse GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION */ 840 /* reuse GL_FIRST_VERTEX_CONVENTION */ 841 /* reuse GL_LAST_VERTEX_CONVENTION */ 842 /* reuse GL_PROVOKING_VERTEX */ 843 /* Reuse tokens from ARB_seamless_cube_map */ 844 /* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */ 845 /* Reuse tokens from ARB_sync */ 846 /* reuse GL_MAX_SERVER_WAIT_TIMEOUT */ 847 /* reuse GL_OBJECT_TYPE */ 848 /* reuse GL_SYNC_CONDITION */ 849 /* reuse GL_SYNC_STATUS */ 850 /* reuse GL_SYNC_FLAGS */ 851 /* reuse GL_SYNC_FENCE */ 852 /* reuse GL_SYNC_GPU_COMMANDS_COMPLETE */ 853 /* reuse GL_UNSIGNALED */ 854 /* reuse GL_SIGNALED */ 855 /* reuse GL_ALREADY_SIGNALED */ 856 /* reuse GL_TIMEOUT_EXPIRED */ 857 /* reuse GL_CONDITION_SATISFIED */ 858 /* reuse GL_WAIT_FAILED */ 859 /* reuse GL_TIMEOUT_IGNORED */ 860 /* reuse GL_SYNC_FLUSH_COMMANDS_BIT */ 861 /* reuse GL_TIMEOUT_IGNORED */ 862 /* Reuse tokens from ARB_texture_multisample */ 863 /* reuse GL_SAMPLE_POSITION */ 864 /* reuse GL_SAMPLE_MASK */ 865 /* reuse GL_SAMPLE_MASK_VALUE */ 866 /* reuse GL_MAX_SAMPLE_MASK_WORDS */ 867 /* reuse GL_TEXTURE_2D_MULTISAMPLE */ 868 /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE */ 869 /* reuse GL_TEXTURE_2D_MULTISAMPLE_ARRAY */ 870 /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY */ 871 /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE */ 872 /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY */ 873 /* reuse GL_TEXTURE_SAMPLES */ 874 /* reuse GL_TEXTURE_FIXED_SAMPLE_LOCATIONS */ 875 /* reuse GL_SAMPLER_2D_MULTISAMPLE */ 876 /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE */ 877 /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE */ 878 /* reuse GL_SAMPLER_2D_MULTISAMPLE_ARRAY */ 879 /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */ 880 /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */ 881 /* reuse GL_MAX_COLOR_TEXTURE_SAMPLES */ 882 /* reuse GL_MAX_DEPTH_TEXTURE_SAMPLES */ 883 /* reuse GL_MAX_INTEGER_SAMPLES */ 884 /* Don't need to reuse tokens from ARB_vertex_array_bgra since they're already in 1.2 core */ 885 #endif 886 887 #ifndef GL_VERSION_3_3 888 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE 889 /* Reuse tokens from ARB_blend_func_extended */ 890 /* reuse GL_SRC1_COLOR */ 891 /* reuse GL_ONE_MINUS_SRC1_COLOR */ 892 /* reuse GL_ONE_MINUS_SRC1_ALPHA */ 893 /* reuse GL_MAX_DUAL_SOURCE_DRAW_BUFFERS */ 894 /* Reuse tokens from ARB_explicit_attrib_location (none) */ 895 /* Reuse tokens from ARB_occlusion_query2 */ 896 /* reuse GL_ANY_SAMPLES_PASSED */ 897 /* Reuse tokens from ARB_sampler_objects */ 898 /* reuse GL_SAMPLER_BINDING */ 899 /* Reuse tokens from ARB_shader_bit_encoding (none) */ 900 /* Reuse tokens from ARB_texture_rgb10_a2ui */ 901 /* reuse GL_RGB10_A2UI */ 902 /* Reuse tokens from ARB_texture_swizzle */ 903 /* reuse GL_TEXTURE_SWIZZLE_R */ 904 /* reuse GL_TEXTURE_SWIZZLE_G */ 905 /* reuse GL_TEXTURE_SWIZZLE_B */ 906 /* reuse GL_TEXTURE_SWIZZLE_A */ 907 /* reuse GL_TEXTURE_SWIZZLE_RGBA */ 908 /* Reuse tokens from ARB_timer_query */ 909 /* reuse GL_TIME_ELAPSED */ 910 /* reuse GL_TIMESTAMP */ 911 /* Reuse tokens from ARB_vertex_type_2_10_10_10_rev */ 912 /* reuse GL_INT_2_10_10_10_REV */ 913 #endif 914 915 #ifndef GL_VERSION_4_0 916 #define GL_SAMPLE_SHADING 0x8C36 917 #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37 918 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E 919 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F 920 #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009 921 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A 922 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B 923 #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C 924 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D 925 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E 926 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F 927 /* Reuse tokens from ARB_texture_query_lod (none) */ 928 /* Reuse tokens from ARB_draw_buffers_blend (none) */ 929 /* Reuse tokens from ARB_draw_indirect */ 930 /* reuse GL_DRAW_INDIRECT_BUFFER */ 931 /* reuse GL_DRAW_INDIRECT_BUFFER_BINDING */ 932 /* Reuse tokens from ARB_gpu_shader5 */ 933 /* reuse GL_GEOMETRY_SHADER_INVOCATIONS */ 934 /* reuse GL_MAX_GEOMETRY_SHADER_INVOCATIONS */ 935 /* reuse GL_MIN_FRAGMENT_INTERPOLATION_OFFSET */ 936 /* reuse GL_MAX_FRAGMENT_INTERPOLATION_OFFSET */ 937 /* reuse GL_FRAGMENT_INTERPOLATION_OFFSET_BITS */ 938 /* reuse GL_MAX_VERTEX_STREAMS */ 939 /* Reuse tokens from ARB_gpu_shader_fp64 */ 940 /* reuse GL_DOUBLE_VEC2 */ 941 /* reuse GL_DOUBLE_VEC3 */ 942 /* reuse GL_DOUBLE_VEC4 */ 943 /* reuse GL_DOUBLE_MAT2 */ 944 /* reuse GL_DOUBLE_MAT3 */ 945 /* reuse GL_DOUBLE_MAT4 */ 946 /* reuse GL_DOUBLE_MAT2x3 */ 947 /* reuse GL_DOUBLE_MAT2x4 */ 948 /* reuse GL_DOUBLE_MAT3x2 */ 949 /* reuse GL_DOUBLE_MAT3x4 */ 950 /* reuse GL_DOUBLE_MAT4x2 */ 951 /* reuse GL_DOUBLE_MAT4x3 */ 952 /* Reuse tokens from ARB_shader_subroutine */ 953 /* reuse GL_ACTIVE_SUBROUTINES */ 954 /* reuse GL_ACTIVE_SUBROUTINE_UNIFORMS */ 955 /* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS */ 956 /* reuse GL_ACTIVE_SUBROUTINE_MAX_LENGTH */ 957 /* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH */ 958 /* reuse GL_MAX_SUBROUTINES */ 959 /* reuse GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS */ 960 /* reuse GL_NUM_COMPATIBLE_SUBROUTINES */ 961 /* reuse GL_COMPATIBLE_SUBROUTINES */ 962 /* Reuse tokens from ARB_tessellation_shader */ 963 /* reuse GL_PATCHES */ 964 /* reuse GL_PATCH_VERTICES */ 965 /* reuse GL_PATCH_DEFAULT_INNER_LEVEL */ 966 /* reuse GL_PATCH_DEFAULT_OUTER_LEVEL */ 967 /* reuse GL_TESS_CONTROL_OUTPUT_VERTICES */ 968 /* reuse GL_TESS_GEN_MODE */ 969 /* reuse GL_TESS_GEN_SPACING */ 970 /* reuse GL_TESS_GEN_VERTEX_ORDER */ 971 /* reuse GL_TESS_GEN_POINT_MODE */ 972 /* reuse GL_ISOLINES */ 973 /* reuse GL_FRACTIONAL_ODD */ 974 /* reuse GL_FRACTIONAL_EVEN */ 975 /* reuse GL_MAX_PATCH_VERTICES */ 976 /* reuse GL_MAX_TESS_GEN_LEVEL */ 977 /* reuse GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS */ 978 /* reuse GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS */ 979 /* reuse GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS */ 980 /* reuse GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS */ 981 /* reuse GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS */ 982 /* reuse GL_MAX_TESS_PATCH_COMPONENTS */ 983 /* reuse GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS */ 984 /* reuse GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS */ 985 /* reuse GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS */ 986 /* reuse GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS */ 987 /* reuse GL_MAX_TESS_CONTROL_INPUT_COMPONENTS */ 988 /* reuse GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS */ 989 /* reuse GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS */ 990 /* reuse GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS */ 991 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER */ 992 /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER */ 993 /* reuse GL_TESS_EVALUATION_SHADER */ 994 /* reuse GL_TESS_CONTROL_SHADER */ 995 /* Reuse tokens from ARB_texture_buffer_object_rgb32 (none) */ 996 /* Reuse tokens from ARB_transform_feedback2 */ 997 /* reuse GL_TRANSFORM_FEEDBACK */ 998 /* reuse GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */ 999 /* reuse GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */ 1000 /* reuse GL_TRANSFORM_FEEDBACK_BINDING */ 1001 /* Reuse tokens from ARB_transform_feedback3 */ 1002 /* reuse GL_MAX_TRANSFORM_FEEDBACK_BUFFERS */ 1003 /* reuse GL_MAX_VERTEX_STREAMS */ 1004 #endif 1005 1006 #ifndef GL_VERSION_4_1 1007 /* Reuse tokens from ARB_ES2_compatibility */ 1008 /* reuse GL_FIXED */ 1009 /* reuse GL_IMPLEMENTATION_COLOR_READ_TYPE */ 1010 /* reuse GL_IMPLEMENTATION_COLOR_READ_FORMAT */ 1011 /* reuse GL_LOW_FLOAT */ 1012 /* reuse GL_MEDIUM_FLOAT */ 1013 /* reuse GL_HIGH_FLOAT */ 1014 /* reuse GL_LOW_INT */ 1015 /* reuse GL_MEDIUM_INT */ 1016 /* reuse GL_HIGH_INT */ 1017 /* reuse GL_SHADER_COMPILER */ 1018 /* reuse GL_NUM_SHADER_BINARY_FORMATS */ 1019 /* reuse GL_MAX_VERTEX_UNIFORM_VECTORS */ 1020 /* reuse GL_MAX_VARYING_VECTORS */ 1021 /* reuse GL_MAX_FRAGMENT_UNIFORM_VECTORS */ 1022 /* reuse GL_RGB565 */ 1023 /* Reuse tokens from ARB_get_program_binary */ 1024 /* reuse GL_PROGRAM_BINARY_RETRIEVABLE_HINT */ 1025 /* reuse GL_PROGRAM_BINARY_LENGTH */ 1026 /* reuse GL_NUM_PROGRAM_BINARY_FORMATS */ 1027 /* reuse GL_PROGRAM_BINARY_FORMATS */ 1028 /* Reuse tokens from ARB_separate_shader_objects */ 1029 /* reuse GL_VERTEX_SHADER_BIT */ 1030 /* reuse GL_FRAGMENT_SHADER_BIT */ 1031 /* reuse GL_GEOMETRY_SHADER_BIT */ 1032 /* reuse GL_TESS_CONTROL_SHADER_BIT */ 1033 /* reuse GL_TESS_EVALUATION_SHADER_BIT */ 1034 /* reuse GL_ALL_SHADER_BITS */ 1035 /* reuse GL_PROGRAM_SEPARABLE */ 1036 /* reuse GL_ACTIVE_PROGRAM */ 1037 /* reuse GL_PROGRAM_PIPELINE_BINDING */ 1038 /* Reuse tokens from ARB_shader_precision (none) */ 1039 /* Reuse tokens from ARB_vertex_attrib_64bit - all are in GL 3.0 and 4.0 already */ 1040 /* Reuse tokens from ARB_viewport_array - some are in GL 1.1 and ARB_provoking_vertex already */ 1041 /* reuse GL_MAX_VIEWPORTS */ 1042 /* reuse GL_VIEWPORT_SUBPIXEL_BITS */ 1043 /* reuse GL_VIEWPORT_BOUNDS_RANGE */ 1044 /* reuse GL_LAYER_PROVOKING_VERTEX */ 1045 /* reuse GL_VIEWPORT_INDEX_PROVOKING_VERTEX */ 1046 /* reuse GL_UNDEFINED_VERTEX */ 1047 #endif 1048 1049 #ifndef GL_VERSION_4_2 1050 /* Reuse tokens from ARB_base_instance (none) */ 1051 /* Reuse tokens from ARB_shading_language_420pack (none) */ 1052 /* Reuse tokens from ARB_transform_feedback_instanced (none) */ 1053 /* Reuse tokens from ARB_compressed_texture_pixel_storage */ 1054 /* reuse GL_UNPACK_COMPRESSED_BLOCK_WIDTH */ 1055 /* reuse GL_UNPACK_COMPRESSED_BLOCK_HEIGHT */ 1056 /* reuse GL_UNPACK_COMPRESSED_BLOCK_DEPTH */ 1057 /* reuse GL_UNPACK_COMPRESSED_BLOCK_SIZE */ 1058 /* reuse GL_PACK_COMPRESSED_BLOCK_WIDTH */ 1059 /* reuse GL_PACK_COMPRESSED_BLOCK_HEIGHT */ 1060 /* reuse GL_PACK_COMPRESSED_BLOCK_DEPTH */ 1061 /* reuse GL_PACK_COMPRESSED_BLOCK_SIZE */ 1062 /* Reuse tokens from ARB_conservative_depth (none) */ 1063 /* Reuse tokens from ARB_internalformat_query */ 1064 /* reuse GL_NUM_SAMPLE_COUNTS */ 1065 /* Reuse tokens from ARB_map_buffer_alignment */ 1066 /* reuse GL_MIN_MAP_BUFFER_ALIGNMENT */ 1067 /* Reuse tokens from ARB_shader_atomic_counters */ 1068 /* reuse GL_ATOMIC_COUNTER_BUFFER */ 1069 /* reuse GL_ATOMIC_COUNTER_BUFFER_BINDING */ 1070 /* reuse GL_ATOMIC_COUNTER_BUFFER_START */ 1071 /* reuse GL_ATOMIC_COUNTER_BUFFER_SIZE */ 1072 /* reuse GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE */ 1073 /* reuse GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS */ 1074 /* reuse GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES */ 1075 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER */ 1076 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER */ 1077 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER */ 1078 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER */ 1079 /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER */ 1080 /* reuse GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS */ 1081 /* reuse GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS */ 1082 /* reuse GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS */ 1083 /* reuse GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS */ 1084 /* reuse GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS */ 1085 /* reuse GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS */ 1086 /* reuse GL_MAX_VERTEX_ATOMIC_COUNTERS */ 1087 /* reuse GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS */ 1088 /* reuse GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS */ 1089 /* reuse GL_MAX_GEOMETRY_ATOMIC_COUNTERS */ 1090 /* reuse GL_MAX_FRAGMENT_ATOMIC_COUNTERS */ 1091 /* reuse GL_MAX_COMBINED_ATOMIC_COUNTERS */ 1092 /* reuse GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE */ 1093 /* reuse GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS */ 1094 /* reuse GL_ACTIVE_ATOMIC_COUNTER_BUFFERS */ 1095 /* reuse GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX */ 1096 /* reuse GL_UNSIGNED_INT_ATOMIC_COUNTER */ 1097 /* Reuse tokens from ARB_shader_image_load_store */ 1098 /* reuse GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT */ 1099 /* reuse GL_ELEMENT_ARRAY_BARRIER_BIT */ 1100 /* reuse GL_UNIFORM_BARRIER_BIT */ 1101 /* reuse GL_TEXTURE_FETCH_BARRIER_BIT */ 1102 /* reuse GL_SHADER_IMAGE_ACCESS_BARRIER_BIT */ 1103 /* reuse GL_COMMAND_BARRIER_BIT */ 1104 /* reuse GL_PIXEL_BUFFER_BARRIER_BIT */ 1105 /* reuse GL_TEXTURE_UPDATE_BARRIER_BIT */ 1106 /* reuse GL_BUFFER_UPDATE_BARRIER_BIT */ 1107 /* reuse GL_FRAMEBUFFER_BARRIER_BIT */ 1108 /* reuse GL_TRANSFORM_FEEDBACK_BARRIER_BIT */ 1109 /* reuse GL_ATOMIC_COUNTER_BARRIER_BIT */ 1110 /* reuse GL_ALL_BARRIER_BITS */ 1111 /* reuse GL_MAX_IMAGE_UNITS */ 1112 /* reuse GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS */ 1113 /* reuse GL_IMAGE_BINDING_NAME */ 1114 /* reuse GL_IMAGE_BINDING_LEVEL */ 1115 /* reuse GL_IMAGE_BINDING_LAYERED */ 1116 /* reuse GL_IMAGE_BINDING_LAYER */ 1117 /* reuse GL_IMAGE_BINDING_ACCESS */ 1118 /* reuse GL_IMAGE_1D */ 1119 /* reuse GL_IMAGE_2D */ 1120 /* reuse GL_IMAGE_3D */ 1121 /* reuse GL_IMAGE_2D_RECT */ 1122 /* reuse GL_IMAGE_CUBE */ 1123 /* reuse GL_IMAGE_BUFFER */ 1124 /* reuse GL_IMAGE_1D_ARRAY */ 1125 /* reuse GL_IMAGE_2D_ARRAY */ 1126 /* reuse GL_IMAGE_CUBE_MAP_ARRAY */ 1127 /* reuse GL_IMAGE_2D_MULTISAMPLE */ 1128 /* reuse GL_IMAGE_2D_MULTISAMPLE_ARRAY */ 1129 /* reuse GL_INT_IMAGE_1D */ 1130 /* reuse GL_INT_IMAGE_2D */ 1131 /* reuse GL_INT_IMAGE_3D */ 1132 /* reuse GL_INT_IMAGE_2D_RECT */ 1133 /* reuse GL_INT_IMAGE_CUBE */ 1134 /* reuse GL_INT_IMAGE_BUFFER */ 1135 /* reuse GL_INT_IMAGE_1D_ARRAY */ 1136 /* reuse GL_INT_IMAGE_2D_ARRAY */ 1137 /* reuse GL_INT_IMAGE_CUBE_MAP_ARRAY */ 1138 /* reuse GL_INT_IMAGE_2D_MULTISAMPLE */ 1139 /* reuse GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY */ 1140 /* reuse GL_UNSIGNED_INT_IMAGE_1D */ 1141 /* reuse GL_UNSIGNED_INT_IMAGE_2D */ 1142 /* reuse GL_UNSIGNED_INT_IMAGE_3D */ 1143 /* reuse GL_UNSIGNED_INT_IMAGE_2D_RECT */ 1144 /* reuse GL_UNSIGNED_INT_IMAGE_CUBE */ 1145 /* reuse GL_UNSIGNED_INT_IMAGE_BUFFER */ 1146 /* reuse GL_UNSIGNED_INT_IMAGE_1D_ARRAY */ 1147 /* reuse GL_UNSIGNED_INT_IMAGE_2D_ARRAY */ 1148 /* reuse GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY */ 1149 /* reuse GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE */ 1150 /* reuse GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY */ 1151 /* reuse GL_MAX_IMAGE_SAMPLES */ 1152 /* reuse GL_IMAGE_BINDING_FORMAT */ 1153 /* reuse GL_IMAGE_FORMAT_COMPATIBILITY_TYPE */ 1154 /* reuse GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE */ 1155 /* reuse GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS */ 1156 /* reuse GL_MAX_VERTEX_IMAGE_UNIFORMS */ 1157 /* reuse GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS */ 1158 /* reuse GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS */ 1159 /* reuse GL_MAX_GEOMETRY_IMAGE_UNIFORMS */ 1160 /* reuse GL_MAX_FRAGMENT_IMAGE_UNIFORMS */ 1161 /* reuse GL_MAX_COMBINED_IMAGE_UNIFORMS */ 1162 /* Reuse tokens from ARB_shading_language_packing (none) */ 1163 /* Reuse tokens from ARB_texture_storage */ 1164 /* reuse GL_TEXTURE_IMMUTABLE_FORMAT */ 1165 #endif 1166 1167 #ifndef GL_ARB_multitexture 1168 #define GL_TEXTURE0_ARB 0x84C0 1169 #define GL_TEXTURE1_ARB 0x84C1 1170 #define GL_TEXTURE2_ARB 0x84C2 1171 #define GL_TEXTURE3_ARB 0x84C3 1172 #define GL_TEXTURE4_ARB 0x84C4 1173 #define GL_TEXTURE5_ARB 0x84C5 1174 #define GL_TEXTURE6_ARB 0x84C6 1175 #define GL_TEXTURE7_ARB 0x84C7 1176 #define GL_TEXTURE8_ARB 0x84C8 1177 #define GL_TEXTURE9_ARB 0x84C9 1178 #define GL_TEXTURE10_ARB 0x84CA 1179 #define GL_TEXTURE11_ARB 0x84CB 1180 #define GL_TEXTURE12_ARB 0x84CC 1181 #define GL_TEXTURE13_ARB 0x84CD 1182 #define GL_TEXTURE14_ARB 0x84CE 1183 #define GL_TEXTURE15_ARB 0x84CF 1184 #define GL_TEXTURE16_ARB 0x84D0 1185 #define GL_TEXTURE17_ARB 0x84D1 1186 #define GL_TEXTURE18_ARB 0x84D2 1187 #define GL_TEXTURE19_ARB 0x84D3 1188 #define GL_TEXTURE20_ARB 0x84D4 1189 #define GL_TEXTURE21_ARB 0x84D5 1190 #define GL_TEXTURE22_ARB 0x84D6 1191 #define GL_TEXTURE23_ARB 0x84D7 1192 #define GL_TEXTURE24_ARB 0x84D8 1193 #define GL_TEXTURE25_ARB 0x84D9 1194 #define GL_TEXTURE26_ARB 0x84DA 1195 #define GL_TEXTURE27_ARB 0x84DB 1196 #define GL_TEXTURE28_ARB 0x84DC 1197 #define GL_TEXTURE29_ARB 0x84DD 1198 #define GL_TEXTURE30_ARB 0x84DE 1199 #define GL_TEXTURE31_ARB 0x84DF 1200 #define GL_ACTIVE_TEXTURE_ARB 0x84E0 1201 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 1202 #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 1203 #endif 1204 1205 #ifndef GL_ARB_transpose_matrix 1206 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3 1207 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4 1208 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 1209 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 1210 #endif 1211 1212 #ifndef GL_ARB_multisample 1213 #define GL_MULTISAMPLE_ARB 0x809D 1214 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E 1215 #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F 1216 #define GL_SAMPLE_COVERAGE_ARB 0x80A0 1217 #define GL_SAMPLE_BUFFERS_ARB 0x80A8 1218 #define GL_SAMPLES_ARB 0x80A9 1219 #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA 1220 #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB 1221 #define GL_MULTISAMPLE_BIT_ARB 0x20000000 1222 #endif 1223 1224 #ifndef GL_ARB_texture_env_add 1225 #endif 1226 1227 #ifndef GL_ARB_texture_cube_map 1228 #define GL_NORMAL_MAP_ARB 0x8511 1229 #define GL_REFLECTION_MAP_ARB 0x8512 1230 #define GL_TEXTURE_CUBE_MAP_ARB 0x8513 1231 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514 1232 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515 1233 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516 1234 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517 1235 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518 1236 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519 1237 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A 1238 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B 1239 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C 1240 #endif 1241 1242 #ifndef GL_ARB_texture_compression 1243 #define GL_COMPRESSED_ALPHA_ARB 0x84E9 1244 #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA 1245 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB 1246 #define GL_COMPRESSED_INTENSITY_ARB 0x84EC 1247 #define GL_COMPRESSED_RGB_ARB 0x84ED 1248 #define GL_COMPRESSED_RGBA_ARB 0x84EE 1249 #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF 1250 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0 1251 #define GL_TEXTURE_COMPRESSED_ARB 0x86A1 1252 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2 1253 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3 1254 #endif 1255 1256 #ifndef GL_ARB_texture_border_clamp 1257 #define GL_CLAMP_TO_BORDER_ARB 0x812D 1258 #endif 1259 1260 #ifndef GL_ARB_point_parameters 1261 #define GL_POINT_SIZE_MIN_ARB 0x8126 1262 #define GL_POINT_SIZE_MAX_ARB 0x8127 1263 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128 1264 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129 1265 #endif 1266 1267 #ifndef GL_ARB_vertex_blend 1268 #define GL_MAX_VERTEX_UNITS_ARB 0x86A4 1269 #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5 1270 #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6 1271 #define GL_VERTEX_BLEND_ARB 0x86A7 1272 #define GL_CURRENT_WEIGHT_ARB 0x86A8 1273 #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9 1274 #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA 1275 #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB 1276 #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC 1277 #define GL_WEIGHT_ARRAY_ARB 0x86AD 1278 #define GL_MODELVIEW0_ARB 0x1700 1279 #define GL_MODELVIEW1_ARB 0x850A 1280 #define GL_MODELVIEW2_ARB 0x8722 1281 #define GL_MODELVIEW3_ARB 0x8723 1282 #define GL_MODELVIEW4_ARB 0x8724 1283 #define GL_MODELVIEW5_ARB 0x8725 1284 #define GL_MODELVIEW6_ARB 0x8726 1285 #define GL_MODELVIEW7_ARB 0x8727 1286 #define GL_MODELVIEW8_ARB 0x8728 1287 #define GL_MODELVIEW9_ARB 0x8729 1288 #define GL_MODELVIEW10_ARB 0x872A 1289 #define GL_MODELVIEW11_ARB 0x872B 1290 #define GL_MODELVIEW12_ARB 0x872C 1291 #define GL_MODELVIEW13_ARB 0x872D 1292 #define GL_MODELVIEW14_ARB 0x872E 1293 #define GL_MODELVIEW15_ARB 0x872F 1294 #define GL_MODELVIEW16_ARB 0x8730 1295 #define GL_MODELVIEW17_ARB 0x8731 1296 #define GL_MODELVIEW18_ARB 0x8732 1297 #define GL_MODELVIEW19_ARB 0x8733 1298 #define GL_MODELVIEW20_ARB 0x8734 1299 #define GL_MODELVIEW21_ARB 0x8735 1300 #define GL_MODELVIEW22_ARB 0x8736 1301 #define GL_MODELVIEW23_ARB 0x8737 1302 #define GL_MODELVIEW24_ARB 0x8738 1303 #define GL_MODELVIEW25_ARB 0x8739 1304 #define GL_MODELVIEW26_ARB 0x873A 1305 #define GL_MODELVIEW27_ARB 0x873B 1306 #define GL_MODELVIEW28_ARB 0x873C 1307 #define GL_MODELVIEW29_ARB 0x873D 1308 #define GL_MODELVIEW30_ARB 0x873E 1309 #define GL_MODELVIEW31_ARB 0x873F 1310 #endif 1311 1312 #ifndef GL_ARB_matrix_palette 1313 #define GL_MATRIX_PALETTE_ARB 0x8840 1314 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841 1315 #define GL_MAX_PALETTE_MATRICES_ARB 0x8842 1316 #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843 1317 #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844 1318 #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845 1319 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846 1320 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847 1321 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848 1322 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849 1323 #endif 1324 1325 #ifndef GL_ARB_texture_env_combine 1326 #define GL_COMBINE_ARB 0x8570 1327 #define GL_COMBINE_RGB_ARB 0x8571 1328 #define GL_COMBINE_ALPHA_ARB 0x8572 1329 #define GL_SOURCE0_RGB_ARB 0x8580 1330 #define GL_SOURCE1_RGB_ARB 0x8581 1331 #define GL_SOURCE2_RGB_ARB 0x8582 1332 #define GL_SOURCE0_ALPHA_ARB 0x8588 1333 #define GL_SOURCE1_ALPHA_ARB 0x8589 1334 #define GL_SOURCE2_ALPHA_ARB 0x858A 1335 #define GL_OPERAND0_RGB_ARB 0x8590 1336 #define GL_OPERAND1_RGB_ARB 0x8591 1337 #define GL_OPERAND2_RGB_ARB 0x8592 1338 #define GL_OPERAND0_ALPHA_ARB 0x8598 1339 #define GL_OPERAND1_ALPHA_ARB 0x8599 1340 #define GL_OPERAND2_ALPHA_ARB 0x859A 1341 #define GL_RGB_SCALE_ARB 0x8573 1342 #define GL_ADD_SIGNED_ARB 0x8574 1343 #define GL_INTERPOLATE_ARB 0x8575 1344 #define GL_SUBTRACT_ARB 0x84E7 1345 #define GL_CONSTANT_ARB 0x8576 1346 #define GL_PRIMARY_COLOR_ARB 0x8577 1347 #define GL_PREVIOUS_ARB 0x8578 1348 #endif 1349 1350 #ifndef GL_ARB_texture_env_crossbar 1351 #endif 1352 1353 #ifndef GL_ARB_texture_env_dot3 1354 #define GL_DOT3_RGB_ARB 0x86AE 1355 #define GL_DOT3_RGBA_ARB 0x86AF 1356 #endif 1357 1358 #ifndef GL_ARB_texture_mirrored_repeat 1359 #define GL_MIRRORED_REPEAT_ARB 0x8370 1360 #endif 1361 1362 #ifndef GL_ARB_depth_texture 1363 #define GL_DEPTH_COMPONENT16_ARB 0x81A5 1364 #define GL_DEPTH_COMPONENT24_ARB 0x81A6 1365 #define GL_DEPTH_COMPONENT32_ARB 0x81A7 1366 #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A 1367 #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B 1368 #endif 1369 1370 #ifndef GL_ARB_shadow 1371 #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C 1372 #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D 1373 #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E 1374 #endif 1375 1376 #ifndef GL_ARB_shadow_ambient 1377 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF 1378 #endif 1379 1380 #ifndef GL_ARB_window_pos 1381 #endif 1382 1383 #ifndef GL_ARB_vertex_program 1384 #define GL_COLOR_SUM_ARB 0x8458 1385 #define GL_VERTEX_PROGRAM_ARB 0x8620 1386 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622 1387 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623 1388 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624 1389 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625 1390 #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626 1391 #define GL_PROGRAM_LENGTH_ARB 0x8627 1392 #define GL_PROGRAM_STRING_ARB 0x8628 1393 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E 1394 #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F 1395 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640 1396 #define GL_CURRENT_MATRIX_ARB 0x8641 1397 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642 1398 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643 1399 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645 1400 #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B 1401 #define GL_PROGRAM_BINDING_ARB 0x8677 1402 #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869 1403 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A 1404 #define GL_PROGRAM_ERROR_STRING_ARB 0x8874 1405 #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875 1406 #define GL_PROGRAM_FORMAT_ARB 0x8876 1407 #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0 1408 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1 1409 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2 1410 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3 1411 #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4 1412 #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5 1413 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6 1414 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7 1415 #define GL_PROGRAM_PARAMETERS_ARB 0x88A8 1416 #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9 1417 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA 1418 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB 1419 #define GL_PROGRAM_ATTRIBS_ARB 0x88AC 1420 #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD 1421 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE 1422 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF 1423 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0 1424 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1 1425 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2 1426 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3 1427 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4 1428 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5 1429 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6 1430 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7 1431 #define GL_MATRIX0_ARB 0x88C0 1432 #define GL_MATRIX1_ARB 0x88C1 1433 #define GL_MATRIX2_ARB 0x88C2 1434 #define GL_MATRIX3_ARB 0x88C3 1435 #define GL_MATRIX4_ARB 0x88C4 1436 #define GL_MATRIX5_ARB 0x88C5 1437 #define GL_MATRIX6_ARB 0x88C6 1438 #define GL_MATRIX7_ARB 0x88C7 1439 #define GL_MATRIX8_ARB 0x88C8 1440 #define GL_MATRIX9_ARB 0x88C9 1441 #define GL_MATRIX10_ARB 0x88CA 1442 #define GL_MATRIX11_ARB 0x88CB 1443 #define GL_MATRIX12_ARB 0x88CC 1444 #define GL_MATRIX13_ARB 0x88CD 1445 #define GL_MATRIX14_ARB 0x88CE 1446 #define GL_MATRIX15_ARB 0x88CF 1447 #define GL_MATRIX16_ARB 0x88D0 1448 #define GL_MATRIX17_ARB 0x88D1 1449 #define GL_MATRIX18_ARB 0x88D2 1450 #define GL_MATRIX19_ARB 0x88D3 1451 #define GL_MATRIX20_ARB 0x88D4 1452 #define GL_MATRIX21_ARB 0x88D5 1453 #define GL_MATRIX22_ARB 0x88D6 1454 #define GL_MATRIX23_ARB 0x88D7 1455 #define GL_MATRIX24_ARB 0x88D8 1456 #define GL_MATRIX25_ARB 0x88D9 1457 #define GL_MATRIX26_ARB 0x88DA 1458 #define GL_MATRIX27_ARB 0x88DB 1459 #define GL_MATRIX28_ARB 0x88DC 1460 #define GL_MATRIX29_ARB 0x88DD 1461 #define GL_MATRIX30_ARB 0x88DE 1462 #define GL_MATRIX31_ARB 0x88DF 1463 #endif 1464 1465 #ifndef GL_ARB_fragment_program 1466 #define GL_FRAGMENT_PROGRAM_ARB 0x8804 1467 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805 1468 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806 1469 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807 1470 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808 1471 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809 1472 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A 1473 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B 1474 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C 1475 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D 1476 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E 1477 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F 1478 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810 1479 #define GL_MAX_TEXTURE_COORDS_ARB 0x8871 1480 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 1481 #endif 1482 1483 #ifndef GL_ARB_vertex_buffer_object 1484 #define GL_BUFFER_SIZE_ARB 0x8764 1485 #define GL_BUFFER_USAGE_ARB 0x8765 1486 #define GL_ARRAY_BUFFER_ARB 0x8892 1487 #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893 1488 #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894 1489 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895 1490 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896 1491 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897 1492 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898 1493 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899 1494 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A 1495 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B 1496 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C 1497 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D 1498 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E 1499 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F 1500 #define GL_READ_ONLY_ARB 0x88B8 1501 #define GL_WRITE_ONLY_ARB 0x88B9 1502 #define GL_READ_WRITE_ARB 0x88BA 1503 #define GL_BUFFER_ACCESS_ARB 0x88BB 1504 #define GL_BUFFER_MAPPED_ARB 0x88BC 1505 #define GL_BUFFER_MAP_POINTER_ARB 0x88BD 1506 #define GL_STREAM_DRAW_ARB 0x88E0 1507 #define GL_STREAM_READ_ARB 0x88E1 1508 #define GL_STREAM_COPY_ARB 0x88E2 1509 #define GL_STATIC_DRAW_ARB 0x88E4 1510 #define GL_STATIC_READ_ARB 0x88E5 1511 #define GL_STATIC_COPY_ARB 0x88E6 1512 #define GL_DYNAMIC_DRAW_ARB 0x88E8 1513 #define GL_DYNAMIC_READ_ARB 0x88E9 1514 #define GL_DYNAMIC_COPY_ARB 0x88EA 1515 #endif 1516 1517 #ifndef GL_ARB_occlusion_query 1518 #define GL_QUERY_COUNTER_BITS_ARB 0x8864 1519 #define GL_CURRENT_QUERY_ARB 0x8865 1520 #define GL_QUERY_RESULT_ARB 0x8866 1521 #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867 1522 #define GL_SAMPLES_PASSED_ARB 0x8914 1523 #endif 1524 1525 #ifndef GL_ARB_shader_objects 1526 #define GL_PROGRAM_OBJECT_ARB 0x8B40 1527 #define GL_SHADER_OBJECT_ARB 0x8B48 1528 #define GL_OBJECT_TYPE_ARB 0x8B4E 1529 #define GL_OBJECT_SUBTYPE_ARB 0x8B4F 1530 #define GL_FLOAT_VEC2_ARB 0x8B50 1531 #define GL_FLOAT_VEC3_ARB 0x8B51 1532 #define GL_FLOAT_VEC4_ARB 0x8B52 1533 #define GL_INT_VEC2_ARB 0x8B53 1534 #define GL_INT_VEC3_ARB 0x8B54 1535 #define GL_INT_VEC4_ARB 0x8B55 1536 #define GL_BOOL_ARB 0x8B56 1537 #define GL_BOOL_VEC2_ARB 0x8B57 1538 #define GL_BOOL_VEC3_ARB 0x8B58 1539 #define GL_BOOL_VEC4_ARB 0x8B59 1540 #define GL_FLOAT_MAT2_ARB 0x8B5A 1541 #define GL_FLOAT_MAT3_ARB 0x8B5B 1542 #define GL_FLOAT_MAT4_ARB 0x8B5C 1543 #define GL_SAMPLER_1D_ARB 0x8B5D 1544 #define GL_SAMPLER_2D_ARB 0x8B5E 1545 #define GL_SAMPLER_3D_ARB 0x8B5F 1546 #define GL_SAMPLER_CUBE_ARB 0x8B60 1547 #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61 1548 #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62 1549 #define GL_SAMPLER_2D_RECT_ARB 0x8B63 1550 #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64 1551 #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80 1552 #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81 1553 #define GL_OBJECT_LINK_STATUS_ARB 0x8B82 1554 #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83 1555 #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84 1556 #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85 1557 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86 1558 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87 1559 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88 1560 #endif 1561 1562 #ifndef GL_ARB_vertex_shader 1563 #define GL_VERTEX_SHADER_ARB 0x8B31 1564 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A 1565 #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B 1566 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C 1567 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D 1568 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89 1569 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A 1570 #endif 1571 1572 #ifndef GL_ARB_fragment_shader 1573 #define GL_FRAGMENT_SHADER_ARB 0x8B30 1574 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49 1575 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B 1576 #endif 1577 1578 #ifndef GL_ARB_shading_language_100 1579 #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C 1580 #endif 1581 1582 #ifndef GL_ARB_texture_non_power_of_two 1583 #endif 1584 1585 #ifndef GL_ARB_point_sprite 1586 #define GL_POINT_SPRITE_ARB 0x8861 1587 #define GL_COORD_REPLACE_ARB 0x8862 1588 #endif 1589 1590 #ifndef GL_ARB_fragment_program_shadow 1591 #endif 1592 1593 #ifndef GL_ARB_draw_buffers 1594 #define GL_MAX_DRAW_BUFFERS_ARB 0x8824 1595 #define GL_DRAW_BUFFER0_ARB 0x8825 1596 #define GL_DRAW_BUFFER1_ARB 0x8826 1597 #define GL_DRAW_BUFFER2_ARB 0x8827 1598 #define GL_DRAW_BUFFER3_ARB 0x8828 1599 #define GL_DRAW_BUFFER4_ARB 0x8829 1600 #define GL_DRAW_BUFFER5_ARB 0x882A 1601 #define GL_DRAW_BUFFER6_ARB 0x882B 1602 #define GL_DRAW_BUFFER7_ARB 0x882C 1603 #define GL_DRAW_BUFFER8_ARB 0x882D 1604 #define GL_DRAW_BUFFER9_ARB 0x882E 1605 #define GL_DRAW_BUFFER10_ARB 0x882F 1606 #define GL_DRAW_BUFFER11_ARB 0x8830 1607 #define GL_DRAW_BUFFER12_ARB 0x8831 1608 #define GL_DRAW_BUFFER13_ARB 0x8832 1609 #define GL_DRAW_BUFFER14_ARB 0x8833 1610 #define GL_DRAW_BUFFER15_ARB 0x8834 1611 #endif 1612 1613 #ifndef GL_ARB_texture_rectangle 1614 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5 1615 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6 1616 #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7 1617 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 1618 #endif 1619 1620 #ifndef GL_ARB_color_buffer_float 1621 #define GL_RGBA_FLOAT_MODE_ARB 0x8820 1622 #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A 1623 #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B 1624 #define GL_CLAMP_READ_COLOR_ARB 0x891C 1625 #define GL_FIXED_ONLY_ARB 0x891D 1626 #endif 1627 1628 #ifndef GL_ARB_half_float_pixel 1629 #define GL_HALF_FLOAT_ARB 0x140B 1630 #endif 1631 1632 #ifndef GL_ARB_texture_float 1633 #define GL_TEXTURE_RED_TYPE_ARB 0x8C10 1634 #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11 1635 #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12 1636 #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13 1637 #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14 1638 #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15 1639 #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16 1640 #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17 1641 #define GL_RGBA32F_ARB 0x8814 1642 #define GL_RGB32F_ARB 0x8815 1643 #define GL_ALPHA32F_ARB 0x8816 1644 #define GL_INTENSITY32F_ARB 0x8817 1645 #define GL_LUMINANCE32F_ARB 0x8818 1646 #define GL_LUMINANCE_ALPHA32F_ARB 0x8819 1647 #define GL_RGBA16F_ARB 0x881A 1648 #define GL_RGB16F_ARB 0x881B 1649 #define GL_ALPHA16F_ARB 0x881C 1650 #define GL_INTENSITY16F_ARB 0x881D 1651 #define GL_LUMINANCE16F_ARB 0x881E 1652 #define GL_LUMINANCE_ALPHA16F_ARB 0x881F 1653 #endif 1654 1655 #ifndef GL_ARB_pixel_buffer_object 1656 #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB 1657 #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC 1658 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED 1659 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF 1660 #endif 1661 1662 #ifndef GL_ARB_depth_buffer_float 1663 #define GL_DEPTH_COMPONENT32F 0x8CAC 1664 #define GL_DEPTH32F_STENCIL8 0x8CAD 1665 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD 1666 #endif 1667 1668 #ifndef GL_ARB_draw_instanced 1669 #endif 1670 1671 #ifndef GL_ARB_framebuffer_object 1672 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 1673 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 1674 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 1675 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 1676 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 1677 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 1678 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 1679 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 1680 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 1681 #define GL_FRAMEBUFFER_DEFAULT 0x8218 1682 #define GL_FRAMEBUFFER_UNDEFINED 0x8219 1683 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A 1684 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 1685 #define GL_DEPTH_STENCIL 0x84F9 1686 #define GL_UNSIGNED_INT_24_8 0x84FA 1687 #define GL_DEPTH24_STENCIL8 0x88F0 1688 #define GL_TEXTURE_STENCIL_SIZE 0x88F1 1689 #define GL_TEXTURE_RED_TYPE 0x8C10 1690 #define GL_TEXTURE_GREEN_TYPE 0x8C11 1691 #define GL_TEXTURE_BLUE_TYPE 0x8C12 1692 #define GL_TEXTURE_ALPHA_TYPE 0x8C13 1693 #define GL_TEXTURE_DEPTH_TYPE 0x8C16 1694 #define GL_UNSIGNED_NORMALIZED 0x8C17 1695 #define GL_FRAMEBUFFER_BINDING 0x8CA6 1696 #define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING 1697 #define GL_RENDERBUFFER_BINDING 0x8CA7 1698 #define GL_READ_FRAMEBUFFER 0x8CA8 1699 #define GL_DRAW_FRAMEBUFFER 0x8CA9 1700 #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA 1701 #define GL_RENDERBUFFER_SAMPLES 0x8CAB 1702 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 1703 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 1704 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 1705 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 1706 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 1707 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5 1708 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 1709 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 1710 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB 1711 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC 1712 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD 1713 #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF 1714 #define GL_COLOR_ATTACHMENT0 0x8CE0 1715 #define GL_COLOR_ATTACHMENT1 0x8CE1 1716 #define GL_COLOR_ATTACHMENT2 0x8CE2 1717 #define GL_COLOR_ATTACHMENT3 0x8CE3 1718 #define GL_COLOR_ATTACHMENT4 0x8CE4 1719 #define GL_COLOR_ATTACHMENT5 0x8CE5 1720 #define GL_COLOR_ATTACHMENT6 0x8CE6 1721 #define GL_COLOR_ATTACHMENT7 0x8CE7 1722 #define GL_COLOR_ATTACHMENT8 0x8CE8 1723 #define GL_COLOR_ATTACHMENT9 0x8CE9 1724 #define GL_COLOR_ATTACHMENT10 0x8CEA 1725 #define GL_COLOR_ATTACHMENT11 0x8CEB 1726 #define GL_COLOR_ATTACHMENT12 0x8CEC 1727 #define GL_COLOR_ATTACHMENT13 0x8CED 1728 #define GL_COLOR_ATTACHMENT14 0x8CEE 1729 #define GL_COLOR_ATTACHMENT15 0x8CEF 1730 #define GL_DEPTH_ATTACHMENT 0x8D00 1731 #define GL_STENCIL_ATTACHMENT 0x8D20 1732 #define GL_FRAMEBUFFER 0x8D40 1733 #define GL_RENDERBUFFER 0x8D41 1734 #define GL_RENDERBUFFER_WIDTH 0x8D42 1735 #define GL_RENDERBUFFER_HEIGHT 0x8D43 1736 #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 1737 #define GL_STENCIL_INDEX1 0x8D46 1738 #define GL_STENCIL_INDEX4 0x8D47 1739 #define GL_STENCIL_INDEX8 0x8D48 1740 #define GL_STENCIL_INDEX16 0x8D49 1741 #define GL_RENDERBUFFER_RED_SIZE 0x8D50 1742 #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 1743 #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 1744 #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 1745 #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 1746 #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 1747 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 1748 #define GL_MAX_SAMPLES 0x8D57 1749 #endif 1750 1751 #ifndef GL_ARB_framebuffer_object_DEPRECATED 1752 #define GL_INDEX 0x8222 1753 #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14 1754 #define GL_TEXTURE_INTENSITY_TYPE 0x8C15 1755 #endif 1756 1757 #ifndef GL_ARB_framebuffer_sRGB 1758 #define GL_FRAMEBUFFER_SRGB 0x8DB9 1759 #endif 1760 1761 #ifndef GL_ARB_geometry_shader4 1762 #define GL_LINES_ADJACENCY_ARB 0x000A 1763 #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B 1764 #define GL_TRIANGLES_ADJACENCY_ARB 0x000C 1765 #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D 1766 #define GL_PROGRAM_POINT_SIZE_ARB 0x8642 1767 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29 1768 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7 1769 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8 1770 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9 1771 #define GL_GEOMETRY_SHADER_ARB 0x8DD9 1772 #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA 1773 #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB 1774 #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC 1775 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD 1776 #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE 1777 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF 1778 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0 1779 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1 1780 /* reuse GL_MAX_VARYING_COMPONENTS */ 1781 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */ 1782 #endif 1783 1784 #ifndef GL_ARB_half_float_vertex 1785 #define GL_HALF_FLOAT 0x140B 1786 #endif 1787 1788 #ifndef GL_ARB_instanced_arrays 1789 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE 1790 #endif 1791 1792 #ifndef GL_ARB_map_buffer_range 1793 #define GL_MAP_READ_BIT 0x0001 1794 #define GL_MAP_WRITE_BIT 0x0002 1795 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 1796 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 1797 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 1798 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 1799 #endif 1800 1801 #ifndef GL_ARB_texture_buffer_object 1802 #define GL_TEXTURE_BUFFER_ARB 0x8C2A 1803 #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B 1804 #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C 1805 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D 1806 #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E 1807 #endif 1808 1809 #ifndef GL_ARB_texture_compression_rgtc 1810 #define GL_COMPRESSED_RED_RGTC1 0x8DBB 1811 #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC 1812 #define GL_COMPRESSED_RG_RGTC2 0x8DBD 1813 #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE 1814 #endif 1815 1816 #ifndef GL_ARB_texture_rg 1817 #define GL_RG 0x8227 1818 #define GL_RG_INTEGER 0x8228 1819 #define GL_R8 0x8229 1820 #define GL_R16 0x822A 1821 #define GL_RG8 0x822B 1822 #define GL_RG16 0x822C 1823 #define GL_R16F 0x822D 1824 #define GL_R32F 0x822E 1825 #define GL_RG16F 0x822F 1826 #define GL_RG32F 0x8230 1827 #define GL_R8I 0x8231 1828 #define GL_R8UI 0x8232 1829 #define GL_R16I 0x8233 1830 #define GL_R16UI 0x8234 1831 #define GL_R32I 0x8235 1832 #define GL_R32UI 0x8236 1833 #define GL_RG8I 0x8237 1834 #define GL_RG8UI 0x8238 1835 #define GL_RG16I 0x8239 1836 #define GL_RG16UI 0x823A 1837 #define GL_RG32I 0x823B 1838 #define GL_RG32UI 0x823C 1839 #endif 1840 1841 #ifndef GL_ARB_vertex_array_object 1842 #define GL_VERTEX_ARRAY_BINDING 0x85B5 1843 #endif 1844 1845 #ifndef GL_ARB_uniform_buffer_object 1846 #define GL_UNIFORM_BUFFER 0x8A11 1847 #define GL_UNIFORM_BUFFER_BINDING 0x8A28 1848 #define GL_UNIFORM_BUFFER_START 0x8A29 1849 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A 1850 #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B 1851 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C 1852 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D 1853 #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E 1854 #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F 1855 #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 1856 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 1857 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32 1858 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 1859 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 1860 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 1861 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 1862 #define GL_UNIFORM_TYPE 0x8A37 1863 #define GL_UNIFORM_SIZE 0x8A38 1864 #define GL_UNIFORM_NAME_LENGTH 0x8A39 1865 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A 1866 #define GL_UNIFORM_OFFSET 0x8A3B 1867 #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C 1868 #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D 1869 #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E 1870 #define GL_UNIFORM_BLOCK_BINDING 0x8A3F 1871 #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 1872 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 1873 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 1874 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 1875 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 1876 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45 1877 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 1878 #define GL_INVALID_INDEX 0xFFFFFFFFu 1879 #endif 1880 1881 #ifndef GL_ARB_compatibility 1882 /* ARB_compatibility just defines tokens from core 3.0 */ 1883 #endif 1884 1885 #ifndef GL_ARB_copy_buffer 1886 #define GL_COPY_READ_BUFFER_BINDING 0x8F36 1887 #define GL_COPY_READ_BUFFER GL_COPY_READ_BUFFER_BINDING 1888 #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 1889 #define GL_COPY_WRITE_BUFFER GL_COPY_WRITE_BUFFER_BINDING 1890 #endif 1891 1892 #ifndef GL_ARB_shader_texture_lod 1893 #endif 1894 1895 #ifndef GL_ARB_depth_clamp 1896 #define GL_DEPTH_CLAMP 0x864F 1897 #endif 1898 1899 #ifndef GL_ARB_draw_elements_base_vertex 1900 #endif 1901 1902 #ifndef GL_ARB_fragment_coord_conventions 1903 #endif 1904 1905 #ifndef GL_ARB_provoking_vertex 1906 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C 1907 #define GL_FIRST_VERTEX_CONVENTION 0x8E4D 1908 #define GL_LAST_VERTEX_CONVENTION 0x8E4E 1909 #define GL_PROVOKING_VERTEX 0x8E4F 1910 #endif 1911 1912 #ifndef GL_ARB_seamless_cube_map 1913 #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F 1914 #endif 1915 1916 #ifndef GL_ARB_sync 1917 #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 1918 #define GL_OBJECT_TYPE 0x9112 1919 #define GL_SYNC_CONDITION 0x9113 1920 #define GL_SYNC_STATUS 0x9114 1921 #define GL_SYNC_FLAGS 0x9115 1922 #define GL_SYNC_FENCE 0x9116 1923 #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 1924 #define GL_UNSIGNALED 0x9118 1925 #define GL_SIGNALED 0x9119 1926 #define GL_ALREADY_SIGNALED 0x911A 1927 #define GL_TIMEOUT_EXPIRED 0x911B 1928 #define GL_CONDITION_SATISFIED 0x911C 1929 #define GL_WAIT_FAILED 0x911D 1930 #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 1931 #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull 1932 #endif 1933 1934 #ifndef GL_ARB_texture_multisample 1935 #define GL_SAMPLE_POSITION 0x8E50 1936 #define GL_SAMPLE_MASK 0x8E51 1937 #define GL_SAMPLE_MASK_VALUE 0x8E52 1938 #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 1939 #define GL_TEXTURE_2D_MULTISAMPLE 0x9100 1940 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101 1941 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 1942 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103 1943 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 1944 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105 1945 #define GL_TEXTURE_SAMPLES 0x9106 1946 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 1947 #define GL_SAMPLER_2D_MULTISAMPLE 0x9108 1948 #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 1949 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A 1950 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B 1951 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C 1952 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D 1953 #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E 1954 #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F 1955 #define GL_MAX_INTEGER_SAMPLES 0x9110 1956 #endif 1957 1958 #ifndef GL_ARB_vertex_array_bgra 1959 /* reuse GL_BGRA */ 1960 #endif 1961 1962 #ifndef GL_ARB_draw_buffers_blend 1963 #endif 1964 1965 #ifndef GL_ARB_sample_shading 1966 #define GL_SAMPLE_SHADING_ARB 0x8C36 1967 #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37 1968 #endif 1969 1970 #ifndef GL_ARB_texture_cube_map_array 1971 #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009 1972 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A 1973 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B 1974 #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C 1975 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D 1976 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E 1977 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F 1978 #endif 1979 1980 #ifndef GL_ARB_texture_gather 1981 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E 1982 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F 1983 #endif 1984 1985 #ifndef GL_ARB_texture_query_lod 1986 #endif 1987 1988 #ifndef GL_ARB_shading_language_include 1989 #define GL_SHADER_INCLUDE_ARB 0x8DAE 1990 #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9 1991 #define GL_NAMED_STRING_TYPE_ARB 0x8DEA 1992 #endif 1993 1994 #ifndef GL_ARB_texture_compression_bptc 1995 #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C 1996 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D 1997 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E 1998 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F 1999 #endif 2000 2001 #ifndef GL_ARB_blend_func_extended 2002 #define GL_SRC1_COLOR 0x88F9 2003 /* reuse GL_SRC1_ALPHA */ 2004 #define GL_ONE_MINUS_SRC1_COLOR 0x88FA 2005 #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB 2006 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC 2007 #endif 2008 2009 #ifndef GL_ARB_explicit_attrib_location 2010 #endif 2011 2012 #ifndef GL_ARB_occlusion_query2 2013 #define GL_ANY_SAMPLES_PASSED 0x8C2F 2014 #endif 2015 2016 #ifndef GL_ARB_sampler_objects 2017 #define GL_SAMPLER_BINDING 0x8919 2018 #endif 2019 2020 #ifndef GL_ARB_shader_bit_encoding 2021 #endif 2022 2023 #ifndef GL_ARB_texture_rgb10_a2ui 2024 #define GL_RGB10_A2UI 0x906F 2025 #endif 2026 2027 #ifndef GL_ARB_texture_swizzle 2028 #define GL_TEXTURE_SWIZZLE_R 0x8E42 2029 #define GL_TEXTURE_SWIZZLE_G 0x8E43 2030 #define GL_TEXTURE_SWIZZLE_B 0x8E44 2031 #define GL_TEXTURE_SWIZZLE_A 0x8E45 2032 #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46 2033 #endif 2034 2035 #ifndef GL_ARB_timer_query 2036 #define GL_TIME_ELAPSED 0x88BF 2037 #define GL_TIMESTAMP 0x8E28 2038 #endif 2039 2040 #ifndef GL_ARB_vertex_type_2_10_10_10_rev 2041 /* reuse GL_UNSIGNED_INT_2_10_10_10_REV */ 2042 #define GL_INT_2_10_10_10_REV 0x8D9F 2043 #endif 2044 2045 #ifndef GL_ARB_draw_indirect 2046 #define GL_DRAW_INDIRECT_BUFFER 0x8F3F 2047 #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 2048 #endif 2049 2050 #ifndef GL_ARB_gpu_shader5 2051 #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F 2052 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A 2053 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B 2054 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C 2055 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D 2056 /* reuse GL_MAX_VERTEX_STREAMS */ 2057 #endif 2058 2059 #ifndef GL_ARB_gpu_shader_fp64 2060 /* reuse GL_DOUBLE */ 2061 #define GL_DOUBLE_VEC2 0x8FFC 2062 #define GL_DOUBLE_VEC3 0x8FFD 2063 #define GL_DOUBLE_VEC4 0x8FFE 2064 #define GL_DOUBLE_MAT2 0x8F46 2065 #define GL_DOUBLE_MAT3 0x8F47 2066 #define GL_DOUBLE_MAT4 0x8F48 2067 #define GL_DOUBLE_MAT2x3 0x8F49 2068 #define GL_DOUBLE_MAT2x4 0x8F4A 2069 #define GL_DOUBLE_MAT3x2 0x8F4B 2070 #define GL_DOUBLE_MAT3x4 0x8F4C 2071 #define GL_DOUBLE_MAT4x2 0x8F4D 2072 #define GL_DOUBLE_MAT4x3 0x8F4E 2073 #endif 2074 2075 #ifndef GL_ARB_shader_subroutine 2076 #define GL_ACTIVE_SUBROUTINES 0x8DE5 2077 #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6 2078 #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47 2079 #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48 2080 #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49 2081 #define GL_MAX_SUBROUTINES 0x8DE7 2082 #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8 2083 #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A 2084 #define GL_COMPATIBLE_SUBROUTINES 0x8E4B 2085 /* reuse GL_UNIFORM_SIZE */ 2086 /* reuse GL_UNIFORM_NAME_LENGTH */ 2087 #endif 2088 2089 #ifndef GL_ARB_tessellation_shader 2090 #define GL_PATCHES 0x000E 2091 #define GL_PATCH_VERTICES 0x8E72 2092 #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73 2093 #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74 2094 #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75 2095 #define GL_TESS_GEN_MODE 0x8E76 2096 #define GL_TESS_GEN_SPACING 0x8E77 2097 #define GL_TESS_GEN_VERTEX_ORDER 0x8E78 2098 #define GL_TESS_GEN_POINT_MODE 0x8E79 2099 /* reuse GL_TRIANGLES */ 2100 /* reuse GL_QUADS */ 2101 #define GL_ISOLINES 0x8E7A 2102 /* reuse GL_EQUAL */ 2103 #define GL_FRACTIONAL_ODD 0x8E7B 2104 #define GL_FRACTIONAL_EVEN 0x8E7C 2105 /* reuse GL_CCW */ 2106 /* reuse GL_CW */ 2107 #define GL_MAX_PATCH_VERTICES 0x8E7D 2108 #define GL_MAX_TESS_GEN_LEVEL 0x8E7E 2109 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F 2110 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80 2111 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81 2112 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82 2113 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83 2114 #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84 2115 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85 2116 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86 2117 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89 2118 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A 2119 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C 2120 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D 2121 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E 2122 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F 2123 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0 2124 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1 2125 #define GL_TESS_EVALUATION_SHADER 0x8E87 2126 #define GL_TESS_CONTROL_SHADER 0x8E88 2127 #endif 2128 2129 #ifndef GL_ARB_texture_buffer_object_rgb32 2130 /* reuse GL_RGB32F */ 2131 /* reuse GL_RGB32UI */ 2132 /* reuse GL_RGB32I */ 2133 #endif 2134 2135 #ifndef GL_ARB_transform_feedback2 2136 #define GL_TRANSFORM_FEEDBACK 0x8E22 2137 #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 2138 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED GL_TRANSFORM_FEEDBACK_PAUSED 2139 #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 2140 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE GL_TRANSFORM_FEEDBACK_ACTIVE 2141 #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 2142 #endif 2143 2144 #ifndef GL_ARB_transform_feedback3 2145 #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70 2146 #define GL_MAX_VERTEX_STREAMS 0x8E71 2147 #endif 2148 2149 #ifndef GL_ARB_ES2_compatibility 2150 #define GL_FIXED 0x140C 2151 #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A 2152 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B 2153 #define GL_LOW_FLOAT 0x8DF0 2154 #define GL_MEDIUM_FLOAT 0x8DF1 2155 #define GL_HIGH_FLOAT 0x8DF2 2156 #define GL_LOW_INT 0x8DF3 2157 #define GL_MEDIUM_INT 0x8DF4 2158 #define GL_HIGH_INT 0x8DF5 2159 #define GL_SHADER_COMPILER 0x8DFA 2160 #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 2161 #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB 2162 #define GL_MAX_VARYING_VECTORS 0x8DFC 2163 #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD 2164 #define GL_RGB565 0x8D62 2165 #endif 2166 2167 #ifndef GL_ARB_get_program_binary 2168 #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 2169 #define GL_PROGRAM_BINARY_LENGTH 0x8741 2170 #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE 2171 #define GL_PROGRAM_BINARY_FORMATS 0x87FF 2172 #endif 2173 2174 #ifndef GL_ARB_separate_shader_objects 2175 #define GL_VERTEX_SHADER_BIT 0x00000001 2176 #define GL_FRAGMENT_SHADER_BIT 0x00000002 2177 #define GL_GEOMETRY_SHADER_BIT 0x00000004 2178 #define GL_TESS_CONTROL_SHADER_BIT 0x00000008 2179 #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010 2180 #define GL_ALL_SHADER_BITS 0xFFFFFFFF 2181 #define GL_PROGRAM_SEPARABLE 0x8258 2182 #define GL_ACTIVE_PROGRAM 0x8259 2183 #define GL_PROGRAM_PIPELINE_BINDING 0x825A 2184 #endif 2185 2186 #ifndef GL_ARB_shader_precision 2187 #endif 2188 2189 #ifndef GL_ARB_vertex_attrib_64bit 2190 /* reuse GL_RGB32I */ 2191 /* reuse GL_DOUBLE_VEC2 */ 2192 /* reuse GL_DOUBLE_VEC3 */ 2193 /* reuse GL_DOUBLE_VEC4 */ 2194 /* reuse GL_DOUBLE_MAT2 */ 2195 /* reuse GL_DOUBLE_MAT3 */ 2196 /* reuse GL_DOUBLE_MAT4 */ 2197 /* reuse GL_DOUBLE_MAT2x3 */ 2198 /* reuse GL_DOUBLE_MAT2x4 */ 2199 /* reuse GL_DOUBLE_MAT3x2 */ 2200 /* reuse GL_DOUBLE_MAT3x4 */ 2201 /* reuse GL_DOUBLE_MAT4x2 */ 2202 /* reuse GL_DOUBLE_MAT4x3 */ 2203 #endif 2204 2205 #ifndef GL_ARB_viewport_array 2206 /* reuse GL_SCISSOR_BOX */ 2207 /* reuse GL_VIEWPORT */ 2208 /* reuse GL_DEPTH_RANGE */ 2209 /* reuse GL_SCISSOR_TEST */ 2210 #define GL_MAX_VIEWPORTS 0x825B 2211 #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C 2212 #define GL_VIEWPORT_BOUNDS_RANGE 0x825D 2213 #define GL_LAYER_PROVOKING_VERTEX 0x825E 2214 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F 2215 #define GL_UNDEFINED_VERTEX 0x8260 2216 /* reuse GL_FIRST_VERTEX_CONVENTION */ 2217 /* reuse GL_LAST_VERTEX_CONVENTION */ 2218 /* reuse GL_PROVOKING_VERTEX */ 2219 #endif 2220 2221 #ifndef GL_ARB_cl_event 2222 #define GL_SYNC_CL_EVENT_ARB 0x8240 2223 #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241 2224 #endif 2225 2226 #ifndef GL_ARB_debug_output 2227 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242 2228 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243 2229 #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244 2230 #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245 2231 #define GL_DEBUG_SOURCE_API_ARB 0x8246 2232 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247 2233 #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248 2234 #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249 2235 #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A 2236 #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B 2237 #define GL_DEBUG_TYPE_ERROR_ARB 0x824C 2238 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D 2239 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E 2240 #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F 2241 #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250 2242 #define GL_DEBUG_TYPE_OTHER_ARB 0x8251 2243 #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143 2244 #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144 2245 #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145 2246 #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146 2247 #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147 2248 #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148 2249 #endif 2250 2251 #ifndef GL_ARB_robustness 2252 /* reuse GL_NO_ERROR */ 2253 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004 2254 #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 2255 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 2256 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254 2257 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 2258 #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 2259 #define GL_NO_RESET_NOTIFICATION_ARB 0x8261 2260 #endif 2261 2262 #ifndef GL_ARB_shader_stencil_export 2263 #endif 2264 2265 #ifndef GL_ARB_base_instance 2266 #endif 2267 2268 #ifndef GL_ARB_shading_language_420pack 2269 #endif 2270 2271 #ifndef GL_ARB_transform_feedback_instanced 2272 #endif 2273 2274 #ifndef GL_ARB_compressed_texture_pixel_storage 2275 #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127 2276 #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128 2277 #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129 2278 #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A 2279 #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B 2280 #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C 2281 #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D 2282 #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E 2283 #endif 2284 2285 #ifndef GL_ARB_conservative_depth 2286 #endif 2287 2288 #ifndef GL_ARB_internalformat_query 2289 #define GL_NUM_SAMPLE_COUNTS 0x9380 2290 #endif 2291 2292 #ifndef GL_ARB_map_buffer_alignment 2293 #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC 2294 #endif 2295 2296 #ifndef GL_ARB_shader_atomic_counters 2297 #define GL_ATOMIC_COUNTER_BUFFER 0x92C0 2298 #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1 2299 #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2 2300 #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3 2301 #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4 2302 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5 2303 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6 2304 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7 2305 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8 2306 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9 2307 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA 2308 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB 2309 #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC 2310 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD 2311 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE 2312 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF 2313 #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0 2314 #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1 2315 #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2 2316 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3 2317 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4 2318 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5 2319 #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6 2320 #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7 2321 #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8 2322 #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC 2323 #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9 2324 #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA 2325 #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB 2326 #endif 2327 2328 #ifndef GL_ARB_shader_image_load_store 2329 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001 2330 #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002 2331 #define GL_UNIFORM_BARRIER_BIT 0x00000004 2332 #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008 2333 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020 2334 #define GL_COMMAND_BARRIER_BIT 0x00000040 2335 #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080 2336 #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100 2337 #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200 2338 #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400 2339 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800 2340 #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000 2341 #define GL_ALL_BARRIER_BITS 0xFFFFFFFF 2342 #define GL_MAX_IMAGE_UNITS 0x8F38 2343 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39 2344 #define GL_IMAGE_BINDING_NAME 0x8F3A 2345 #define GL_IMAGE_BINDING_LEVEL 0x8F3B 2346 #define GL_IMAGE_BINDING_LAYERED 0x8F3C 2347 #define GL_IMAGE_BINDING_LAYER 0x8F3D 2348 #define GL_IMAGE_BINDING_ACCESS 0x8F3E 2349 #define GL_IMAGE_1D 0x904C 2350 #define GL_IMAGE_2D 0x904D 2351 #define GL_IMAGE_3D 0x904E 2352 #define GL_IMAGE_2D_RECT 0x904F 2353 #define GL_IMAGE_CUBE 0x9050 2354 #define GL_IMAGE_BUFFER 0x9051 2355 #define GL_IMAGE_1D_ARRAY 0x9052 2356 #define GL_IMAGE_2D_ARRAY 0x9053 2357 #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054 2358 #define GL_IMAGE_2D_MULTISAMPLE 0x9055 2359 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056 2360 #define GL_INT_IMAGE_1D 0x9057 2361 #define GL_INT_IMAGE_2D 0x9058 2362 #define GL_INT_IMAGE_3D 0x9059 2363 #define GL_INT_IMAGE_2D_RECT 0x905A 2364 #define GL_INT_IMAGE_CUBE 0x905B 2365 #define GL_INT_IMAGE_BUFFER 0x905C 2366 #define GL_INT_IMAGE_1D_ARRAY 0x905D 2367 #define GL_INT_IMAGE_2D_ARRAY 0x905E 2368 #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F 2369 #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060 2370 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061 2371 #define GL_UNSIGNED_INT_IMAGE_1D 0x9062 2372 #define GL_UNSIGNED_INT_IMAGE_2D 0x9063 2373 #define GL_UNSIGNED_INT_IMAGE_3D 0x9064 2374 #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065 2375 #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066 2376 #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067 2377 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068 2378 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069 2379 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A 2380 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B 2381 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C 2382 #define GL_MAX_IMAGE_SAMPLES 0x906D 2383 #define GL_IMAGE_BINDING_FORMAT 0x906E 2384 #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7 2385 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8 2386 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9 2387 #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA 2388 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB 2389 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC 2390 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD 2391 #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE 2392 #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF 2393 #endif 2394 2395 #ifndef GL_ARB_shading_language_packing 2396 #endif 2397 2398 #ifndef GL_ARB_texture_storage 2399 #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F 2400 #endif 2401 2402 #ifndef GL_EXT_abgr 2403 #define GL_ABGR_EXT 0x8000 2404 #endif 2405 2406 #ifndef GL_EXT_blend_color 2407 #define GL_CONSTANT_COLOR_EXT 0x8001 2408 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 2409 #define GL_CONSTANT_ALPHA_EXT 0x8003 2410 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 2411 #define GL_BLEND_COLOR_EXT 0x8005 2412 #endif 2413 2414 #ifndef GL_EXT_polygon_offset 2415 #define GL_POLYGON_OFFSET_EXT 0x8037 2416 #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 2417 #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039 2418 #endif 2419 2420 #ifndef GL_EXT_texture 2421 #define GL_ALPHA4_EXT 0x803B 2422 #define GL_ALPHA8_EXT 0x803C 2423 #define GL_ALPHA12_EXT 0x803D 2424 #define GL_ALPHA16_EXT 0x803E 2425 #define GL_LUMINANCE4_EXT 0x803F 2426 #define GL_LUMINANCE8_EXT 0x8040 2427 #define GL_LUMINANCE12_EXT 0x8041 2428 #define GL_LUMINANCE16_EXT 0x8042 2429 #define GL_LUMINANCE4_ALPHA4_EXT 0x8043 2430 #define GL_LUMINANCE6_ALPHA2_EXT 0x8044 2431 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045 2432 #define GL_LUMINANCE12_ALPHA4_EXT 0x8046 2433 #define GL_LUMINANCE12_ALPHA12_EXT 0x8047 2434 #define GL_LUMINANCE16_ALPHA16_EXT 0x8048 2435 #define GL_INTENSITY_EXT 0x8049 2436 #define GL_INTENSITY4_EXT 0x804A 2437 #define GL_INTENSITY8_EXT 0x804B 2438 #define GL_INTENSITY12_EXT 0x804C 2439 #define GL_INTENSITY16_EXT 0x804D 2440 #define GL_RGB2_EXT 0x804E 2441 #define GL_RGB4_EXT 0x804F 2442 #define GL_RGB5_EXT 0x8050 2443 #define GL_RGB8_EXT 0x8051 2444 #define GL_RGB10_EXT 0x8052 2445 #define GL_RGB12_EXT 0x8053 2446 #define GL_RGB16_EXT 0x8054 2447 #define GL_RGBA2_EXT 0x8055 2448 #define GL_RGBA4_EXT 0x8056 2449 #define GL_RGB5_A1_EXT 0x8057 2450 #define GL_RGBA8_EXT 0x8058 2451 #define GL_RGB10_A2_EXT 0x8059 2452 #define GL_RGBA12_EXT 0x805A 2453 #define GL_RGBA16_EXT 0x805B 2454 #define GL_TEXTURE_RED_SIZE_EXT 0x805C 2455 #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D 2456 #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E 2457 #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F 2458 #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060 2459 #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061 2460 #define GL_REPLACE_EXT 0x8062 2461 #define GL_PROXY_TEXTURE_1D_EXT 0x8063 2462 #define GL_PROXY_TEXTURE_2D_EXT 0x8064 2463 #define GL_TEXTURE_TOO_LARGE_EXT 0x8065 2464 #endif 2465 2466 #ifndef GL_EXT_texture3D 2467 #define GL_PACK_SKIP_IMAGES_EXT 0x806B 2468 #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C 2469 #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D 2470 #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E 2471 #define GL_TEXTURE_3D_EXT 0x806F 2472 #define GL_PROXY_TEXTURE_3D_EXT 0x8070 2473 #define GL_TEXTURE_DEPTH_EXT 0x8071 2474 #define GL_TEXTURE_WRAP_R_EXT 0x8072 2475 #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 2476 #endif 2477 2478 #ifndef GL_SGIS_texture_filter4 2479 #define GL_FILTER4_SGIS 0x8146 2480 #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147 2481 #endif 2482 2483 #ifndef GL_EXT_subtexture 2484 #endif 2485 2486 #ifndef GL_EXT_copy_texture 2487 #endif 2488 2489 #ifndef GL_EXT_histogram 2490 #define GL_HISTOGRAM_EXT 0x8024 2491 #define GL_PROXY_HISTOGRAM_EXT 0x8025 2492 #define GL_HISTOGRAM_WIDTH_EXT 0x8026 2493 #define GL_HISTOGRAM_FORMAT_EXT 0x8027 2494 #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028 2495 #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029 2496 #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A 2497 #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B 2498 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C 2499 #define GL_HISTOGRAM_SINK_EXT 0x802D 2500 #define GL_MINMAX_EXT 0x802E 2501 #define GL_MINMAX_FORMAT_EXT 0x802F 2502 #define GL_MINMAX_SINK_EXT 0x8030 2503 #define GL_TABLE_TOO_LARGE_EXT 0x8031 2504 #endif 2505 2506 #ifndef GL_EXT_convolution 2507 #define GL_CONVOLUTION_1D_EXT 0x8010 2508 #define GL_CONVOLUTION_2D_EXT 0x8011 2509 #define GL_SEPARABLE_2D_EXT 0x8012 2510 #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013 2511 #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014 2512 #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015 2513 #define GL_REDUCE_EXT 0x8016 2514 #define GL_CONVOLUTION_FORMAT_EXT 0x8017 2515 #define GL_CONVOLUTION_WIDTH_EXT 0x8018 2516 #define GL_CONVOLUTION_HEIGHT_EXT 0x8019 2517 #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A 2518 #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B 2519 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C 2520 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D 2521 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E 2522 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F 2523 #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020 2524 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021 2525 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022 2526 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023 2527 #endif 2528 2529 #ifndef GL_SGI_color_matrix 2530 #define GL_COLOR_MATRIX_SGI 0x80B1 2531 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2 2532 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3 2533 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4 2534 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5 2535 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6 2536 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7 2537 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8 2538 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9 2539 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA 2540 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB 2541 #endif 2542 2543 #ifndef GL_SGI_color_table 2544 #define GL_COLOR_TABLE_SGI 0x80D0 2545 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1 2546 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2 2547 #define GL_PROXY_COLOR_TABLE_SGI 0x80D3 2548 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4 2549 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5 2550 #define GL_COLOR_TABLE_SCALE_SGI 0x80D6 2551 #define GL_COLOR_TABLE_BIAS_SGI 0x80D7 2552 #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8 2553 #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9 2554 #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA 2555 #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB 2556 #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC 2557 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD 2558 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE 2559 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF 2560 #endif 2561 2562 #ifndef GL_SGIS_pixel_texture 2563 #define GL_PIXEL_TEXTURE_SGIS 0x8353 2564 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354 2565 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355 2566 #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356 2567 #endif 2568 2569 #ifndef GL_SGIX_pixel_texture 2570 #define GL_PIXEL_TEX_GEN_SGIX 0x8139 2571 #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B 2572 #endif 2573 2574 #ifndef GL_SGIS_texture4D 2575 #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130 2576 #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131 2577 #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132 2578 #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133 2579 #define GL_TEXTURE_4D_SGIS 0x8134 2580 #define GL_PROXY_TEXTURE_4D_SGIS 0x8135 2581 #define GL_TEXTURE_4DSIZE_SGIS 0x8136 2582 #define GL_TEXTURE_WRAP_Q_SGIS 0x8137 2583 #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138 2584 #define GL_TEXTURE_4D_BINDING_SGIS 0x814F 2585 #endif 2586 2587 #ifndef GL_SGI_texture_color_table 2588 #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC 2589 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD 2590 #endif 2591 2592 #ifndef GL_EXT_cmyka 2593 #define GL_CMYK_EXT 0x800C 2594 #define GL_CMYKA_EXT 0x800D 2595 #define GL_PACK_CMYK_HINT_EXT 0x800E 2596 #define GL_UNPACK_CMYK_HINT_EXT 0x800F 2597 #endif 2598 2599 #ifndef GL_EXT_texture_object 2600 #define GL_TEXTURE_PRIORITY_EXT 0x8066 2601 #define GL_TEXTURE_RESIDENT_EXT 0x8067 2602 #define GL_TEXTURE_1D_BINDING_EXT 0x8068 2603 #define GL_TEXTURE_2D_BINDING_EXT 0x8069 2604 #define GL_TEXTURE_3D_BINDING_EXT 0x806A 2605 #endif 2606 2607 #ifndef GL_SGIS_detail_texture 2608 #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095 2609 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096 2610 #define GL_LINEAR_DETAIL_SGIS 0x8097 2611 #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098 2612 #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099 2613 #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A 2614 #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B 2615 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C 2616 #endif 2617 2618 #ifndef GL_SGIS_sharpen_texture 2619 #define GL_LINEAR_SHARPEN_SGIS 0x80AD 2620 #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE 2621 #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF 2622 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0 2623 #endif 2624 2625 #ifndef GL_EXT_packed_pixels 2626 #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032 2627 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033 2628 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034 2629 #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035 2630 #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036 2631 #endif 2632 2633 #ifndef GL_SGIS_texture_lod 2634 #define GL_TEXTURE_MIN_LOD_SGIS 0x813A 2635 #define GL_TEXTURE_MAX_LOD_SGIS 0x813B 2636 #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C 2637 #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D 2638 #endif 2639 2640 #ifndef GL_SGIS_multisample 2641 #define GL_MULTISAMPLE_SGIS 0x809D 2642 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E 2643 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F 2644 #define GL_SAMPLE_MASK_SGIS 0x80A0 2645 #define GL_1PASS_SGIS 0x80A1 2646 #define GL_2PASS_0_SGIS 0x80A2 2647 #define GL_2PASS_1_SGIS 0x80A3 2648 #define GL_4PASS_0_SGIS 0x80A4 2649 #define GL_4PASS_1_SGIS 0x80A5 2650 #define GL_4PASS_2_SGIS 0x80A6 2651 #define GL_4PASS_3_SGIS 0x80A7 2652 #define GL_SAMPLE_BUFFERS_SGIS 0x80A8 2653 #define GL_SAMPLES_SGIS 0x80A9 2654 #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA 2655 #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB 2656 #define GL_SAMPLE_PATTERN_SGIS 0x80AC 2657 #endif 2658 2659 #ifndef GL_EXT_rescale_normal 2660 #define GL_RESCALE_NORMAL_EXT 0x803A 2661 #endif 2662 2663 #ifndef GL_EXT_vertex_array 2664 #define GL_VERTEX_ARRAY_EXT 0x8074 2665 #define GL_NORMAL_ARRAY_EXT 0x8075 2666 #define GL_COLOR_ARRAY_EXT 0x8076 2667 #define GL_INDEX_ARRAY_EXT 0x8077 2668 #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078 2669 #define GL_EDGE_FLAG_ARRAY_EXT 0x8079 2670 #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A 2671 #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B 2672 #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C 2673 #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D 2674 #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E 2675 #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F 2676 #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080 2677 #define GL_COLOR_ARRAY_SIZE_EXT 0x8081 2678 #define GL_COLOR_ARRAY_TYPE_EXT 0x8082 2679 #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083 2680 #define GL_COLOR_ARRAY_COUNT_EXT 0x8084 2681 #define GL_INDEX_ARRAY_TYPE_EXT 0x8085 2682 #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086 2683 #define GL_INDEX_ARRAY_COUNT_EXT 0x8087 2684 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088 2685 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089 2686 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A 2687 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B 2688 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C 2689 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D 2690 #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E 2691 #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F 2692 #define GL_COLOR_ARRAY_POINTER_EXT 0x8090 2693 #define GL_INDEX_ARRAY_POINTER_EXT 0x8091 2694 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092 2695 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093 2696 #endif 2697 2698 #ifndef GL_EXT_misc_attribute 2699 #endif 2700 2701 #ifndef GL_SGIS_generate_mipmap 2702 #define GL_GENERATE_MIPMAP_SGIS 0x8191 2703 #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 2704 #endif 2705 2706 #ifndef GL_SGIX_clipmap 2707 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170 2708 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171 2709 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172 2710 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173 2711 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174 2712 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175 2713 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176 2714 #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177 2715 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178 2716 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D 2717 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E 2718 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F 2719 #endif 2720 2721 #ifndef GL_SGIX_shadow 2722 #define GL_TEXTURE_COMPARE_SGIX 0x819A 2723 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B 2724 #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C 2725 #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D 2726 #endif 2727 2728 #ifndef GL_SGIS_texture_edge_clamp 2729 #define GL_CLAMP_TO_EDGE_SGIS 0x812F 2730 #endif 2731 2732 #ifndef GL_SGIS_texture_border_clamp 2733 #define GL_CLAMP_TO_BORDER_SGIS 0x812D 2734 #endif 2735 2736 #ifndef GL_EXT_blend_minmax 2737 #define GL_FUNC_ADD_EXT 0x8006 2738 #define GL_MIN_EXT 0x8007 2739 #define GL_MAX_EXT 0x8008 2740 #define GL_BLEND_EQUATION_EXT 0x8009 2741 #endif 2742 2743 #ifndef GL_EXT_blend_subtract 2744 #define GL_FUNC_SUBTRACT_EXT 0x800A 2745 #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B 2746 #endif 2747 2748 #ifndef GL_EXT_blend_logic_op 2749 #endif 2750 2751 #ifndef GL_SGIX_interlace 2752 #define GL_INTERLACE_SGIX 0x8094 2753 #endif 2754 2755 #ifndef GL_SGIX_pixel_tiles 2756 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E 2757 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F 2758 #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140 2759 #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141 2760 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142 2761 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143 2762 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144 2763 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145 2764 #endif 2765 2766 #ifndef GL_SGIS_texture_select 2767 #define GL_DUAL_ALPHA4_SGIS 0x8110 2768 #define GL_DUAL_ALPHA8_SGIS 0x8111 2769 #define GL_DUAL_ALPHA12_SGIS 0x8112 2770 #define GL_DUAL_ALPHA16_SGIS 0x8113 2771 #define GL_DUAL_LUMINANCE4_SGIS 0x8114 2772 #define GL_DUAL_LUMINANCE8_SGIS 0x8115 2773 #define GL_DUAL_LUMINANCE12_SGIS 0x8116 2774 #define GL_DUAL_LUMINANCE16_SGIS 0x8117 2775 #define GL_DUAL_INTENSITY4_SGIS 0x8118 2776 #define GL_DUAL_INTENSITY8_SGIS 0x8119 2777 #define GL_DUAL_INTENSITY12_SGIS 0x811A 2778 #define GL_DUAL_INTENSITY16_SGIS 0x811B 2779 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C 2780 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D 2781 #define GL_QUAD_ALPHA4_SGIS 0x811E 2782 #define GL_QUAD_ALPHA8_SGIS 0x811F 2783 #define GL_QUAD_LUMINANCE4_SGIS 0x8120 2784 #define GL_QUAD_LUMINANCE8_SGIS 0x8121 2785 #define GL_QUAD_INTENSITY4_SGIS 0x8122 2786 #define GL_QUAD_INTENSITY8_SGIS 0x8123 2787 #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124 2788 #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125 2789 #endif 2790 2791 #ifndef GL_SGIX_sprite 2792 #define GL_SPRITE_SGIX 0x8148 2793 #define GL_SPRITE_MODE_SGIX 0x8149 2794 #define GL_SPRITE_AXIS_SGIX 0x814A 2795 #define GL_SPRITE_TRANSLATION_SGIX 0x814B 2796 #define GL_SPRITE_AXIAL_SGIX 0x814C 2797 #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D 2798 #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E 2799 #endif 2800 2801 #ifndef GL_SGIX_texture_multi_buffer 2802 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E 2803 #endif 2804 2805 #ifndef GL_EXT_point_parameters 2806 #define GL_POINT_SIZE_MIN_EXT 0x8126 2807 #define GL_POINT_SIZE_MAX_EXT 0x8127 2808 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 2809 #define GL_DISTANCE_ATTENUATION_EXT 0x8129 2810 #endif 2811 2812 #ifndef GL_SGIS_point_parameters 2813 #define GL_POINT_SIZE_MIN_SGIS 0x8126 2814 #define GL_POINT_SIZE_MAX_SGIS 0x8127 2815 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128 2816 #define GL_DISTANCE_ATTENUATION_SGIS 0x8129 2817 #endif 2818 2819 #ifndef GL_SGIX_instruments 2820 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180 2821 #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181 2822 #endif 2823 2824 #ifndef GL_SGIX_texture_scale_bias 2825 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179 2826 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A 2827 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B 2828 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C 2829 #endif 2830 2831 #ifndef GL_SGIX_framezoom 2832 #define GL_FRAMEZOOM_SGIX 0x818B 2833 #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C 2834 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D 2835 #endif 2836 2837 #ifndef GL_SGIX_tag_sample_buffer 2838 #endif 2839 2840 #ifndef GL_FfdMaskSGIX 2841 #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001 2842 #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002 2843 #endif 2844 2845 #ifndef GL_SGIX_polynomial_ffd 2846 #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194 2847 #define GL_TEXTURE_DEFORMATION_SGIX 0x8195 2848 #define GL_DEFORMATIONS_MASK_SGIX 0x8196 2849 #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197 2850 #endif 2851 2852 #ifndef GL_SGIX_reference_plane 2853 #define GL_REFERENCE_PLANE_SGIX 0x817D 2854 #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E 2855 #endif 2856 2857 #ifndef GL_SGIX_flush_raster 2858 #endif 2859 2860 #ifndef GL_SGIX_depth_texture 2861 #define GL_DEPTH_COMPONENT16_SGIX 0x81A5 2862 #define GL_DEPTH_COMPONENT24_SGIX 0x81A6 2863 #define GL_DEPTH_COMPONENT32_SGIX 0x81A7 2864 #endif 2865 2866 #ifndef GL_SGIS_fog_function 2867 #define GL_FOG_FUNC_SGIS 0x812A 2868 #define GL_FOG_FUNC_POINTS_SGIS 0x812B 2869 #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C 2870 #endif 2871 2872 #ifndef GL_SGIX_fog_offset 2873 #define GL_FOG_OFFSET_SGIX 0x8198 2874 #define GL_FOG_OFFSET_VALUE_SGIX 0x8199 2875 #endif 2876 2877 #ifndef GL_HP_image_transform 2878 #define GL_IMAGE_SCALE_X_HP 0x8155 2879 #define GL_IMAGE_SCALE_Y_HP 0x8156 2880 #define GL_IMAGE_TRANSLATE_X_HP 0x8157 2881 #define GL_IMAGE_TRANSLATE_Y_HP 0x8158 2882 #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159 2883 #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A 2884 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B 2885 #define GL_IMAGE_MAG_FILTER_HP 0x815C 2886 #define GL_IMAGE_MIN_FILTER_HP 0x815D 2887 #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E 2888 #define GL_CUBIC_HP 0x815F 2889 #define GL_AVERAGE_HP 0x8160 2890 #define GL_IMAGE_TRANSFORM_2D_HP 0x8161 2891 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162 2892 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163 2893 #endif 2894 2895 #ifndef GL_HP_convolution_border_modes 2896 #define GL_IGNORE_BORDER_HP 0x8150 2897 #define GL_CONSTANT_BORDER_HP 0x8151 2898 #define GL_REPLICATE_BORDER_HP 0x8153 2899 #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154 2900 #endif 2901 2902 #ifndef GL_INGR_palette_buffer 2903 #endif 2904 2905 #ifndef GL_SGIX_texture_add_env 2906 #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE 2907 #endif 2908 2909 #ifndef GL_EXT_color_subtable 2910 #endif 2911 2912 #ifndef GL_PGI_vertex_hints 2913 #define GL_VERTEX_DATA_HINT_PGI 0x1A22A 2914 #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B 2915 #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C 2916 #define GL_MAX_VERTEX_HINT_PGI 0x1A22D 2917 #define GL_COLOR3_BIT_PGI 0x00010000 2918 #define GL_COLOR4_BIT_PGI 0x00020000 2919 #define GL_EDGEFLAG_BIT_PGI 0x00040000 2920 #define GL_INDEX_BIT_PGI 0x00080000 2921 #define GL_MAT_AMBIENT_BIT_PGI 0x00100000 2922 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000 2923 #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000 2924 #define GL_MAT_EMISSION_BIT_PGI 0x00800000 2925 #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000 2926 #define GL_MAT_SHININESS_BIT_PGI 0x02000000 2927 #define GL_MAT_SPECULAR_BIT_PGI 0x04000000 2928 #define GL_NORMAL_BIT_PGI 0x08000000 2929 #define GL_TEXCOORD1_BIT_PGI 0x10000000 2930 #define GL_TEXCOORD2_BIT_PGI 0x20000000 2931 #define GL_TEXCOORD3_BIT_PGI 0x40000000 2932 #define GL_TEXCOORD4_BIT_PGI 0x80000000 2933 #define GL_VERTEX23_BIT_PGI 0x00000004 2934 #define GL_VERTEX4_BIT_PGI 0x00000008 2935 #endif 2936 2937 #ifndef GL_PGI_misc_hints 2938 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8 2939 #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD 2940 #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE 2941 #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202 2942 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203 2943 #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204 2944 #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C 2945 #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D 2946 #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E 2947 #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F 2948 #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210 2949 #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211 2950 #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216 2951 #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217 2952 #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218 2953 #define GL_FULL_STIPPLE_HINT_PGI 0x1A219 2954 #define GL_CLIP_NEAR_HINT_PGI 0x1A220 2955 #define GL_CLIP_FAR_HINT_PGI 0x1A221 2956 #define GL_WIDE_LINE_HINT_PGI 0x1A222 2957 #define GL_BACK_NORMALS_HINT_PGI 0x1A223 2958 #endif 2959 2960 #ifndef GL_EXT_paletted_texture 2961 #define GL_COLOR_INDEX1_EXT 0x80E2 2962 #define GL_COLOR_INDEX2_EXT 0x80E3 2963 #define GL_COLOR_INDEX4_EXT 0x80E4 2964 #define GL_COLOR_INDEX8_EXT 0x80E5 2965 #define GL_COLOR_INDEX12_EXT 0x80E6 2966 #define GL_COLOR_INDEX16_EXT 0x80E7 2967 #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED 2968 #endif 2969 2970 #ifndef GL_EXT_clip_volume_hint 2971 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0 2972 #endif 2973 2974 #ifndef GL_SGIX_list_priority 2975 #define GL_LIST_PRIORITY_SGIX 0x8182 2976 #endif 2977 2978 #ifndef GL_SGIX_ir_instrument1 2979 #define GL_IR_INSTRUMENT1_SGIX 0x817F 2980 #endif 2981 2982 #ifndef GL_SGIX_calligraphic_fragment 2983 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183 2984 #endif 2985 2986 #ifndef GL_SGIX_texture_lod_bias 2987 #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E 2988 #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F 2989 #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190 2990 #endif 2991 2992 #ifndef GL_SGIX_shadow_ambient 2993 #define GL_SHADOW_AMBIENT_SGIX 0x80BF 2994 #endif 2995 2996 #ifndef GL_EXT_index_texture 2997 #endif 2998 2999 #ifndef GL_EXT_index_material 3000 #define GL_INDEX_MATERIAL_EXT 0x81B8 3001 #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9 3002 #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA 3003 #endif 3004 3005 #ifndef GL_EXT_index_func 3006 #define GL_INDEX_TEST_EXT 0x81B5 3007 #define GL_INDEX_TEST_FUNC_EXT 0x81B6 3008 #define GL_INDEX_TEST_REF_EXT 0x81B7 3009 #endif 3010 3011 #ifndef GL_EXT_index_array_formats 3012 #define GL_IUI_V2F_EXT 0x81AD 3013 #define GL_IUI_V3F_EXT 0x81AE 3014 #define GL_IUI_N3F_V2F_EXT 0x81AF 3015 #define GL_IUI_N3F_V3F_EXT 0x81B0 3016 #define GL_T2F_IUI_V2F_EXT 0x81B1 3017 #define GL_T2F_IUI_V3F_EXT 0x81B2 3018 #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3 3019 #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4 3020 #endif 3021 3022 #ifndef GL_EXT_compiled_vertex_array 3023 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 3024 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 3025 #endif 3026 3027 #ifndef GL_EXT_cull_vertex 3028 #define GL_CULL_VERTEX_EXT 0x81AA 3029 #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB 3030 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC 3031 #endif 3032 3033 #ifndef GL_SGIX_ycrcb 3034 #define GL_YCRCB_422_SGIX 0x81BB 3035 #define GL_YCRCB_444_SGIX 0x81BC 3036 #endif 3037 3038 #ifndef GL_SGIX_fragment_lighting 3039 #define GL_FRAGMENT_LIGHTING_SGIX 0x8400 3040 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401 3041 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402 3042 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403 3043 #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404 3044 #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405 3045 #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406 3046 #define GL_LIGHT_ENV_MODE_SGIX 0x8407 3047 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408 3048 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409 3049 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A 3050 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B 3051 #define GL_FRAGMENT_LIGHT0_SGIX 0x840C 3052 #define GL_FRAGMENT_LIGHT1_SGIX 0x840D 3053 #define GL_FRAGMENT_LIGHT2_SGIX 0x840E 3054 #define GL_FRAGMENT_LIGHT3_SGIX 0x840F 3055 #define GL_FRAGMENT_LIGHT4_SGIX 0x8410 3056 #define GL_FRAGMENT_LIGHT5_SGIX 0x8411 3057 #define GL_FRAGMENT_LIGHT6_SGIX 0x8412 3058 #define GL_FRAGMENT_LIGHT7_SGIX 0x8413 3059 #endif 3060 3061 #ifndef GL_IBM_rasterpos_clip 3062 #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262 3063 #endif 3064 3065 #ifndef GL_HP_texture_lighting 3066 #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167 3067 #define GL_TEXTURE_POST_SPECULAR_HP 0x8168 3068 #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169 3069 #endif 3070 3071 #ifndef GL_EXT_draw_range_elements 3072 #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8 3073 #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9 3074 #endif 3075 3076 #ifndef GL_WIN_phong_shading 3077 #define GL_PHONG_WIN 0x80EA 3078 #define GL_PHONG_HINT_WIN 0x80EB 3079 #endif 3080 3081 #ifndef GL_WIN_specular_fog 3082 #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC 3083 #endif 3084 3085 #ifndef GL_EXT_light_texture 3086 #define GL_FRAGMENT_MATERIAL_EXT 0x8349 3087 #define GL_FRAGMENT_NORMAL_EXT 0x834A 3088 #define GL_FRAGMENT_COLOR_EXT 0x834C 3089 #define GL_ATTENUATION_EXT 0x834D 3090 #define GL_SHADOW_ATTENUATION_EXT 0x834E 3091 #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F 3092 #define GL_TEXTURE_LIGHT_EXT 0x8350 3093 #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351 3094 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352 3095 /* reuse GL_FRAGMENT_DEPTH_EXT */ 3096 #endif 3097 3098 #ifndef GL_SGIX_blend_alpha_minmax 3099 #define GL_ALPHA_MIN_SGIX 0x8320 3100 #define GL_ALPHA_MAX_SGIX 0x8321 3101 #endif 3102 3103 #ifndef GL_SGIX_impact_pixel_texture 3104 #define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX 0x8184 3105 #define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX 0x8185 3106 #define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX 0x8186 3107 #define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187 3108 #define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188 3109 #define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX 0x8189 3110 #define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX 0x818A 3111 #endif 3112 3113 #ifndef GL_EXT_bgra 3114 #define GL_BGR_EXT 0x80E0 3115 #define GL_BGRA_EXT 0x80E1 3116 #endif 3117 3118 #ifndef GL_SGIX_async 3119 #define GL_ASYNC_MARKER_SGIX 0x8329 3120 #endif 3121 3122 #ifndef GL_SGIX_async_pixel 3123 #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C 3124 #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D 3125 #define GL_ASYNC_READ_PIXELS_SGIX 0x835E 3126 #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F 3127 #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360 3128 #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361 3129 #endif 3130 3131 #ifndef GL_SGIX_async_histogram 3132 #define GL_ASYNC_HISTOGRAM_SGIX 0x832C 3133 #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D 3134 #endif 3135 3136 #ifndef GL_INTEL_texture_scissor 3137 #endif 3138 3139 #ifndef GL_INTEL_parallel_arrays 3140 #define GL_PARALLEL_ARRAYS_INTEL 0x83F4 3141 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5 3142 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6 3143 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7 3144 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8 3145 #endif 3146 3147 #ifndef GL_HP_occlusion_test 3148 #define GL_OCCLUSION_TEST_HP 0x8165 3149 #define GL_OCCLUSION_TEST_RESULT_HP 0x8166 3150 #endif 3151 3152 #ifndef GL_EXT_pixel_transform 3153 #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330 3154 #define GL_PIXEL_MAG_FILTER_EXT 0x8331 3155 #define GL_PIXEL_MIN_FILTER_EXT 0x8332 3156 #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333 3157 #define GL_CUBIC_EXT 0x8334 3158 #define GL_AVERAGE_EXT 0x8335 3159 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336 3160 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337 3161 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338 3162 #endif 3163 3164 #ifndef GL_EXT_pixel_transform_color_table 3165 #endif 3166 3167 #ifndef GL_EXT_shared_texture_palette 3168 #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB 3169 #endif 3170 3171 #ifndef GL_EXT_separate_specular_color 3172 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 3173 #define GL_SINGLE_COLOR_EXT 0x81F9 3174 #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA 3175 #endif 3176 3177 #ifndef GL_EXT_secondary_color 3178 #define GL_COLOR_SUM_EXT 0x8458 3179 #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459 3180 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A 3181 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B 3182 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C 3183 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D 3184 #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E 3185 #endif 3186 3187 #ifndef GL_EXT_texture_perturb_normal 3188 #define GL_PERTURB_EXT 0x85AE 3189 #define GL_TEXTURE_NORMAL_EXT 0x85AF 3190 #endif 3191 3192 #ifndef GL_EXT_multi_draw_arrays 3193 #endif 3194 3195 #ifndef GL_EXT_fog_coord 3196 #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450 3197 #define GL_FOG_COORDINATE_EXT 0x8451 3198 #define GL_FRAGMENT_DEPTH_EXT 0x8452 3199 #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453 3200 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454 3201 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455 3202 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 3203 #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457 3204 #endif 3205 3206 #ifndef GL_REND_screen_coordinates 3207 #define GL_SCREEN_COORDINATES_REND 0x8490 3208 #define GL_INVERTED_SCREEN_W_REND 0x8491 3209 #endif 3210 3211 #ifndef GL_EXT_coordinate_frame 3212 #define GL_TANGENT_ARRAY_EXT 0x8439 3213 #define GL_BINORMAL_ARRAY_EXT 0x843A 3214 #define GL_CURRENT_TANGENT_EXT 0x843B 3215 #define GL_CURRENT_BINORMAL_EXT 0x843C 3216 #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E 3217 #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F 3218 #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440 3219 #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441 3220 #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442 3221 #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443 3222 #define GL_MAP1_TANGENT_EXT 0x8444 3223 #define GL_MAP2_TANGENT_EXT 0x8445 3224 #define GL_MAP1_BINORMAL_EXT 0x8446 3225 #define GL_MAP2_BINORMAL_EXT 0x8447 3226 #endif 3227 3228 #ifndef GL_EXT_texture_env_combine 3229 #define GL_COMBINE_EXT 0x8570 3230 #define GL_COMBINE_RGB_EXT 0x8571 3231 #define GL_COMBINE_ALPHA_EXT 0x8572 3232 #define GL_RGB_SCALE_EXT 0x8573 3233 #define GL_ADD_SIGNED_EXT 0x8574 3234 #define GL_INTERPOLATE_EXT 0x8575 3235 #define GL_CONSTANT_EXT 0x8576 3236 #define GL_PRIMARY_COLOR_EXT 0x8577 3237 #define GL_PREVIOUS_EXT 0x8578 3238 #define GL_SOURCE0_RGB_EXT 0x8580 3239 #define GL_SOURCE1_RGB_EXT 0x8581 3240 #define GL_SOURCE2_RGB_EXT 0x8582 3241 #define GL_SOURCE0_ALPHA_EXT 0x8588 3242 #define GL_SOURCE1_ALPHA_EXT 0x8589 3243 #define GL_SOURCE2_ALPHA_EXT 0x858A 3244 #define GL_OPERAND0_RGB_EXT 0x8590 3245 #define GL_OPERAND1_RGB_EXT 0x8591 3246 #define GL_OPERAND2_RGB_EXT 0x8592 3247 #define GL_OPERAND0_ALPHA_EXT 0x8598 3248 #define GL_OPERAND1_ALPHA_EXT 0x8599 3249 #define GL_OPERAND2_ALPHA_EXT 0x859A 3250 #endif 3251 3252 #ifndef GL_APPLE_specular_vector 3253 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0 3254 #endif 3255 3256 #ifndef GL_APPLE_transform_hint 3257 #define GL_TRANSFORM_HINT_APPLE 0x85B1 3258 #endif 3259 3260 #ifndef GL_SGIX_fog_scale 3261 #define GL_FOG_SCALE_SGIX 0x81FC 3262 #define GL_FOG_SCALE_VALUE_SGIX 0x81FD 3263 #endif 3264 3265 #ifndef GL_SUNX_constant_data 3266 #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5 3267 #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6 3268 #endif 3269 3270 #ifndef GL_SUN_global_alpha 3271 #define GL_GLOBAL_ALPHA_SUN 0x81D9 3272 #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA 3273 #endif 3274 3275 #ifndef GL_SUN_triangle_list 3276 #define GL_RESTART_SUN 0x0001 3277 #define GL_REPLACE_MIDDLE_SUN 0x0002 3278 #define GL_REPLACE_OLDEST_SUN 0x0003 3279 #define GL_TRIANGLE_LIST_SUN 0x81D7 3280 #define GL_REPLACEMENT_CODE_SUN 0x81D8 3281 #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0 3282 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1 3283 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2 3284 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3 3285 #define GL_R1UI_V3F_SUN 0x85C4 3286 #define GL_R1UI_C4UB_V3F_SUN 0x85C5 3287 #define GL_R1UI_C3F_V3F_SUN 0x85C6 3288 #define GL_R1UI_N3F_V3F_SUN 0x85C7 3289 #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8 3290 #define GL_R1UI_T2F_V3F_SUN 0x85C9 3291 #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA 3292 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB 3293 #endif 3294 3295 #ifndef GL_SUN_vertex 3296 #endif 3297 3298 #ifndef GL_EXT_blend_func_separate 3299 #define GL_BLEND_DST_RGB_EXT 0x80C8 3300 #define GL_BLEND_SRC_RGB_EXT 0x80C9 3301 #define GL_BLEND_DST_ALPHA_EXT 0x80CA 3302 #define GL_BLEND_SRC_ALPHA_EXT 0x80CB 3303 #endif 3304 3305 #ifndef GL_INGR_color_clamp 3306 #define GL_RED_MIN_CLAMP_INGR 0x8560 3307 #define GL_GREEN_MIN_CLAMP_INGR 0x8561 3308 #define GL_BLUE_MIN_CLAMP_INGR 0x8562 3309 #define GL_ALPHA_MIN_CLAMP_INGR 0x8563 3310 #define GL_RED_MAX_CLAMP_INGR 0x8564 3311 #define GL_GREEN_MAX_CLAMP_INGR 0x8565 3312 #define GL_BLUE_MAX_CLAMP_INGR 0x8566 3313 #define GL_ALPHA_MAX_CLAMP_INGR 0x8567 3314 #endif 3315 3316 #ifndef GL_INGR_interlace_read 3317 #define GL_INTERLACE_READ_INGR 0x8568 3318 #endif 3319 3320 #ifndef GL_EXT_stencil_wrap 3321 #define GL_INCR_WRAP_EXT 0x8507 3322 #define GL_DECR_WRAP_EXT 0x8508 3323 #endif 3324 3325 #ifndef GL_EXT_422_pixels 3326 #define GL_422_EXT 0x80CC 3327 #define GL_422_REV_EXT 0x80CD 3328 #define GL_422_AVERAGE_EXT 0x80CE 3329 #define GL_422_REV_AVERAGE_EXT 0x80CF 3330 #endif 3331 3332 #ifndef GL_NV_texgen_reflection 3333 #define GL_NORMAL_MAP_NV 0x8511 3334 #define GL_REFLECTION_MAP_NV 0x8512 3335 #endif 3336 3337 #ifndef GL_EXT_texture_cube_map 3338 #define GL_NORMAL_MAP_EXT 0x8511 3339 #define GL_REFLECTION_MAP_EXT 0x8512 3340 #define GL_TEXTURE_CUBE_MAP_EXT 0x8513 3341 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514 3342 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515 3343 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516 3344 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517 3345 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518 3346 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519 3347 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A 3348 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B 3349 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C 3350 #endif 3351 3352 #ifndef GL_SUN_convolution_border_modes 3353 #define GL_WRAP_BORDER_SUN 0x81D4 3354 #endif 3355 3356 #ifndef GL_EXT_texture_env_add 3357 #endif 3358 3359 #ifndef GL_EXT_texture_lod_bias 3360 #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD 3361 #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 3362 #define GL_TEXTURE_LOD_BIAS_EXT 0x8501 3363 #endif 3364 3365 #ifndef GL_EXT_texture_filter_anisotropic 3366 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE 3367 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF 3368 #endif 3369 3370 #ifndef GL_EXT_vertex_weighting 3371 #define GL_MODELVIEW0_STACK_DEPTH_EXT GL_MODELVIEW_STACK_DEPTH 3372 #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502 3373 #define GL_MODELVIEW0_MATRIX_EXT GL_MODELVIEW_MATRIX 3374 #define GL_MODELVIEW1_MATRIX_EXT 0x8506 3375 #define GL_VERTEX_WEIGHTING_EXT 0x8509 3376 #define GL_MODELVIEW0_EXT GL_MODELVIEW 3377 #define GL_MODELVIEW1_EXT 0x850A 3378 #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B 3379 #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C 3380 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D 3381 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E 3382 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F 3383 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510 3384 #endif 3385 3386 #ifndef GL_NV_light_max_exponent 3387 #define GL_MAX_SHININESS_NV 0x8504 3388 #define GL_MAX_SPOT_EXPONENT_NV 0x8505 3389 #endif 3390 3391 #ifndef GL_NV_vertex_array_range 3392 #define GL_VERTEX_ARRAY_RANGE_NV 0x851D 3393 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E 3394 #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F 3395 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520 3396 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521 3397 #endif 3398 3399 #ifndef GL_NV_register_combiners 3400 #define GL_REGISTER_COMBINERS_NV 0x8522 3401 #define GL_VARIABLE_A_NV 0x8523 3402 #define GL_VARIABLE_B_NV 0x8524 3403 #define GL_VARIABLE_C_NV 0x8525 3404 #define GL_VARIABLE_D_NV 0x8526 3405 #define GL_VARIABLE_E_NV 0x8527 3406 #define GL_VARIABLE_F_NV 0x8528 3407 #define GL_VARIABLE_G_NV 0x8529 3408 #define GL_CONSTANT_COLOR0_NV 0x852A 3409 #define GL_CONSTANT_COLOR1_NV 0x852B 3410 #define GL_PRIMARY_COLOR_NV 0x852C 3411 #define GL_SECONDARY_COLOR_NV 0x852D 3412 #define GL_SPARE0_NV 0x852E 3413 #define GL_SPARE1_NV 0x852F 3414 #define GL_DISCARD_NV 0x8530 3415 #define GL_E_TIMES_F_NV 0x8531 3416 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532 3417 #define GL_UNSIGNED_IDENTITY_NV 0x8536 3418 #define GL_UNSIGNED_INVERT_NV 0x8537 3419 #define GL_EXPAND_NORMAL_NV 0x8538 3420 #define GL_EXPAND_NEGATE_NV 0x8539 3421 #define GL_HALF_BIAS_NORMAL_NV 0x853A 3422 #define GL_HALF_BIAS_NEGATE_NV 0x853B 3423 #define GL_SIGNED_IDENTITY_NV 0x853C 3424 #define GL_SIGNED_NEGATE_NV 0x853D 3425 #define GL_SCALE_BY_TWO_NV 0x853E 3426 #define GL_SCALE_BY_FOUR_NV 0x853F 3427 #define GL_SCALE_BY_ONE_HALF_NV 0x8540 3428 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541 3429 #define GL_COMBINER_INPUT_NV 0x8542 3430 #define GL_COMBINER_MAPPING_NV 0x8543 3431 #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544 3432 #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545 3433 #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546 3434 #define GL_COMBINER_MUX_SUM_NV 0x8547 3435 #define GL_COMBINER_SCALE_NV 0x8548 3436 #define GL_COMBINER_BIAS_NV 0x8549 3437 #define GL_COMBINER_AB_OUTPUT_NV 0x854A 3438 #define GL_COMBINER_CD_OUTPUT_NV 0x854B 3439 #define GL_COMBINER_SUM_OUTPUT_NV 0x854C 3440 #define GL_MAX_GENERAL_COMBINERS_NV 0x854D 3441 #define GL_NUM_GENERAL_COMBINERS_NV 0x854E 3442 #define GL_COLOR_SUM_CLAMP_NV 0x854F 3443 #define GL_COMBINER0_NV 0x8550 3444 #define GL_COMBINER1_NV 0x8551 3445 #define GL_COMBINER2_NV 0x8552 3446 #define GL_COMBINER3_NV 0x8553 3447 #define GL_COMBINER4_NV 0x8554 3448 #define GL_COMBINER5_NV 0x8555 3449 #define GL_COMBINER6_NV 0x8556 3450 #define GL_COMBINER7_NV 0x8557 3451 /* reuse GL_TEXTURE0_ARB */ 3452 /* reuse GL_TEXTURE1_ARB */ 3453 /* reuse GL_ZERO */ 3454 /* reuse GL_NONE */ 3455 /* reuse GL_FOG */ 3456 #endif 3457 3458 #ifndef GL_NV_fog_distance 3459 #define GL_FOG_DISTANCE_MODE_NV 0x855A 3460 #define GL_EYE_RADIAL_NV 0x855B 3461 #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C 3462 /* reuse GL_EYE_PLANE */ 3463 #endif 3464 3465 #ifndef GL_NV_texgen_emboss 3466 #define GL_EMBOSS_LIGHT_NV 0x855D 3467 #define GL_EMBOSS_CONSTANT_NV 0x855E 3468 #define GL_EMBOSS_MAP_NV 0x855F 3469 #endif 3470 3471 #ifndef GL_NV_blend_square 3472 #endif 3473 3474 #ifndef GL_NV_texture_env_combine4 3475 #define GL_COMBINE4_NV 0x8503 3476 #define GL_SOURCE3_RGB_NV 0x8583 3477 #define GL_SOURCE3_ALPHA_NV 0x858B 3478 #define GL_OPERAND3_RGB_NV 0x8593 3479 #define GL_OPERAND3_ALPHA_NV 0x859B 3480 #endif 3481 3482 #ifndef GL_MESA_resize_buffers 3483 #endif 3484 3485 #ifndef GL_MESA_window_pos 3486 #endif 3487 3488 #ifndef GL_EXT_texture_compression_s3tc 3489 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 3490 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 3491 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 3492 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 3493 #endif 3494 3495 #ifndef GL_IBM_cull_vertex 3496 #define GL_CULL_VERTEX_IBM 103050 3497 #endif 3498 3499 #ifndef GL_IBM_multimode_draw_arrays 3500 #endif 3501 3502 #ifndef GL_IBM_vertex_array_lists 3503 #define GL_VERTEX_ARRAY_LIST_IBM 103070 3504 #define GL_NORMAL_ARRAY_LIST_IBM 103071 3505 #define GL_COLOR_ARRAY_LIST_IBM 103072 3506 #define GL_INDEX_ARRAY_LIST_IBM 103073 3507 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074 3508 #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075 3509 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076 3510 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077 3511 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080 3512 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081 3513 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082 3514 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083 3515 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084 3516 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085 3517 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086 3518 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087 3519 #endif 3520 3521 #ifndef GL_SGIX_subsample 3522 #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0 3523 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1 3524 #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2 3525 #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3 3526 #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4 3527 #endif 3528 3529 #ifndef GL_SGIX_ycrcb_subsample 3530 #endif 3531 3532 #ifndef GL_SGIX_ycrcba 3533 #define GL_YCRCB_SGIX 0x8318 3534 #define GL_YCRCBA_SGIX 0x8319 3535 #endif 3536 3537 #ifndef GL_SGI_depth_pass_instrument 3538 #define GL_DEPTH_PASS_INSTRUMENT_SGIX 0x8310 3539 #define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311 3540 #define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312 3541 #endif 3542 3543 #ifndef GL_3DFX_texture_compression_FXT1 3544 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0 3545 #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1 3546 #endif 3547 3548 #ifndef GL_3DFX_multisample 3549 #define GL_MULTISAMPLE_3DFX 0x86B2 3550 #define GL_SAMPLE_BUFFERS_3DFX 0x86B3 3551 #define GL_SAMPLES_3DFX 0x86B4 3552 #define GL_MULTISAMPLE_BIT_3DFX 0x20000000 3553 #endif 3554 3555 #ifndef GL_3DFX_tbuffer 3556 #endif 3557 3558 #ifndef GL_EXT_multisample 3559 #define GL_MULTISAMPLE_EXT 0x809D 3560 #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E 3561 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F 3562 #define GL_SAMPLE_MASK_EXT 0x80A0 3563 #define GL_1PASS_EXT 0x80A1 3564 #define GL_2PASS_0_EXT 0x80A2 3565 #define GL_2PASS_1_EXT 0x80A3 3566 #define GL_4PASS_0_EXT 0x80A4 3567 #define GL_4PASS_1_EXT 0x80A5 3568 #define GL_4PASS_2_EXT 0x80A6 3569 #define GL_4PASS_3_EXT 0x80A7 3570 #define GL_SAMPLE_BUFFERS_EXT 0x80A8 3571 #define GL_SAMPLES_EXT 0x80A9 3572 #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA 3573 #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB 3574 #define GL_SAMPLE_PATTERN_EXT 0x80AC 3575 #define GL_MULTISAMPLE_BIT_EXT 0x20000000 3576 #endif 3577 3578 #ifndef GL_SGIX_vertex_preclip 3579 #define GL_VERTEX_PRECLIP_SGIX 0x83EE 3580 #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF 3581 #endif 3582 3583 #ifndef GL_SGIX_convolution_accuracy 3584 #define GL_CONVOLUTION_HINT_SGIX 0x8316 3585 #endif 3586 3587 #ifndef GL_SGIX_resample 3588 #define GL_PACK_RESAMPLE_SGIX 0x842C 3589 #define GL_UNPACK_RESAMPLE_SGIX 0x842D 3590 #define GL_RESAMPLE_REPLICATE_SGIX 0x842E 3591 #define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F 3592 #define GL_RESAMPLE_DECIMATE_SGIX 0x8430 3593 #endif 3594 3595 #ifndef GL_SGIS_point_line_texgen 3596 #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0 3597 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1 3598 #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2 3599 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3 3600 #define GL_EYE_POINT_SGIS 0x81F4 3601 #define GL_OBJECT_POINT_SGIS 0x81F5 3602 #define GL_EYE_LINE_SGIS 0x81F6 3603 #define GL_OBJECT_LINE_SGIS 0x81F7 3604 #endif 3605 3606 #ifndef GL_SGIS_texture_color_mask 3607 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF 3608 #endif 3609 3610 #ifndef GL_EXT_texture_env_dot3 3611 #define GL_DOT3_RGB_EXT 0x8740 3612 #define GL_DOT3_RGBA_EXT 0x8741 3613 #endif 3614 3615 #ifndef GL_ATI_texture_mirror_once 3616 #define GL_MIRROR_CLAMP_ATI 0x8742 3617 #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743 3618 #endif 3619 3620 #ifndef GL_NV_fence 3621 #define GL_ALL_COMPLETED_NV 0x84F2 3622 #define GL_FENCE_STATUS_NV 0x84F3 3623 #define GL_FENCE_CONDITION_NV 0x84F4 3624 #endif 3625 3626 #ifndef GL_IBM_texture_mirrored_repeat 3627 #define GL_MIRRORED_REPEAT_IBM 0x8370 3628 #endif 3629 3630 #ifndef GL_NV_evaluators 3631 #define GL_EVAL_2D_NV 0x86C0 3632 #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1 3633 #define GL_MAP_TESSELLATION_NV 0x86C2 3634 #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3 3635 #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4 3636 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5 3637 #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6 3638 #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7 3639 #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8 3640 #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9 3641 #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA 3642 #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB 3643 #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC 3644 #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD 3645 #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE 3646 #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF 3647 #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0 3648 #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1 3649 #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2 3650 #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3 3651 #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4 3652 #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5 3653 #define GL_MAX_MAP_TESSELLATION_NV 0x86D6 3654 #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7 3655 #endif 3656 3657 #ifndef GL_NV_packed_depth_stencil 3658 #define GL_DEPTH_STENCIL_NV 0x84F9 3659 #define GL_UNSIGNED_INT_24_8_NV 0x84FA 3660 #endif 3661 3662 #ifndef GL_NV_register_combiners2 3663 #define GL_PER_STAGE_CONSTANTS_NV 0x8535 3664 #endif 3665 3666 #ifndef GL_NV_texture_compression_vtc 3667 #endif 3668 3669 #ifndef GL_NV_texture_rectangle 3670 #define GL_TEXTURE_RECTANGLE_NV 0x84F5 3671 #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6 3672 #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7 3673 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8 3674 #endif 3675 3676 #ifndef GL_NV_texture_shader 3677 #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C 3678 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D 3679 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E 3680 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9 3681 #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA 3682 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB 3683 #define GL_DSDT_MAG_INTENSITY_NV 0x86DC 3684 #define GL_SHADER_CONSISTENT_NV 0x86DD 3685 #define GL_TEXTURE_SHADER_NV 0x86DE 3686 #define GL_SHADER_OPERATION_NV 0x86DF 3687 #define GL_CULL_MODES_NV 0x86E0 3688 #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1 3689 #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2 3690 #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3 3691 #define GL_OFFSET_TEXTURE_2D_MATRIX_NV GL_OFFSET_TEXTURE_MATRIX_NV 3692 #define GL_OFFSET_TEXTURE_2D_SCALE_NV GL_OFFSET_TEXTURE_SCALE_NV 3693 #define GL_OFFSET_TEXTURE_2D_BIAS_NV GL_OFFSET_TEXTURE_BIAS_NV 3694 #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4 3695 #define GL_CONST_EYE_NV 0x86E5 3696 #define GL_PASS_THROUGH_NV 0x86E6 3697 #define GL_CULL_FRAGMENT_NV 0x86E7 3698 #define GL_OFFSET_TEXTURE_2D_NV 0x86E8 3699 #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9 3700 #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA 3701 #define GL_DOT_PRODUCT_NV 0x86EC 3702 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED 3703 #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE 3704 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0 3705 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1 3706 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2 3707 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3 3708 #define GL_HILO_NV 0x86F4 3709 #define GL_DSDT_NV 0x86F5 3710 #define GL_DSDT_MAG_NV 0x86F6 3711 #define GL_DSDT_MAG_VIB_NV 0x86F7 3712 #define GL_HILO16_NV 0x86F8 3713 #define GL_SIGNED_HILO_NV 0x86F9 3714 #define GL_SIGNED_HILO16_NV 0x86FA 3715 #define GL_SIGNED_RGBA_NV 0x86FB 3716 #define GL_SIGNED_RGBA8_NV 0x86FC 3717 #define GL_SIGNED_RGB_NV 0x86FE 3718 #define GL_SIGNED_RGB8_NV 0x86FF 3719 #define GL_SIGNED_LUMINANCE_NV 0x8701 3720 #define GL_SIGNED_LUMINANCE8_NV 0x8702 3721 #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 3722 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 3723 #define GL_SIGNED_ALPHA_NV 0x8705 3724 #define GL_SIGNED_ALPHA8_NV 0x8706 3725 #define GL_SIGNED_INTENSITY_NV 0x8707 3726 #define GL_SIGNED_INTENSITY8_NV 0x8708 3727 #define GL_DSDT8_NV 0x8709 3728 #define GL_DSDT8_MAG8_NV 0x870A 3729 #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B 3730 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C 3731 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D 3732 #define GL_HI_SCALE_NV 0x870E 3733 #define GL_LO_SCALE_NV 0x870F 3734 #define GL_DS_SCALE_NV 0x8710 3735 #define GL_DT_SCALE_NV 0x8711 3736 #define GL_MAGNITUDE_SCALE_NV 0x8712 3737 #define GL_VIBRANCE_SCALE_NV 0x8713 3738 #define GL_HI_BIAS_NV 0x8714 3739 #define GL_LO_BIAS_NV 0x8715 3740 #define GL_DS_BIAS_NV 0x8716 3741 #define GL_DT_BIAS_NV 0x8717 3742 #define GL_MAGNITUDE_BIAS_NV 0x8718 3743 #define GL_VIBRANCE_BIAS_NV 0x8719 3744 #define GL_TEXTURE_BORDER_VALUES_NV 0x871A 3745 #define GL_TEXTURE_HI_SIZE_NV 0x871B 3746 #define GL_TEXTURE_LO_SIZE_NV 0x871C 3747 #define GL_TEXTURE_DS_SIZE_NV 0x871D 3748 #define GL_TEXTURE_DT_SIZE_NV 0x871E 3749 #define GL_TEXTURE_MAG_SIZE_NV 0x871F 3750 #endif 3751 3752 #ifndef GL_NV_texture_shader2 3753 #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF 3754 #endif 3755 3756 #ifndef GL_NV_vertex_array_range2 3757 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533 3758 #endif 3759 3760 #ifndef GL_NV_vertex_program 3761 #define GL_VERTEX_PROGRAM_NV 0x8620 3762 #define GL_VERTEX_STATE_PROGRAM_NV 0x8621 3763 #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623 3764 #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624 3765 #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625 3766 #define GL_CURRENT_ATTRIB_NV 0x8626 3767 #define GL_PROGRAM_LENGTH_NV 0x8627 3768 #define GL_PROGRAM_STRING_NV 0x8628 3769 #define GL_MODELVIEW_PROJECTION_NV 0x8629 3770 #define GL_IDENTITY_NV 0x862A 3771 #define GL_INVERSE_NV 0x862B 3772 #define GL_TRANSPOSE_NV 0x862C 3773 #define GL_INVERSE_TRANSPOSE_NV 0x862D 3774 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E 3775 #define GL_MAX_TRACK_MATRICES_NV 0x862F 3776 #define GL_MATRIX0_NV 0x8630 3777 #define GL_MATRIX1_NV 0x8631 3778 #define GL_MATRIX2_NV 0x8632 3779 #define GL_MATRIX3_NV 0x8633 3780 #define GL_MATRIX4_NV 0x8634 3781 #define GL_MATRIX5_NV 0x8635 3782 #define GL_MATRIX6_NV 0x8636 3783 #define GL_MATRIX7_NV 0x8637 3784 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640 3785 #define GL_CURRENT_MATRIX_NV 0x8641 3786 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642 3787 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643 3788 #define GL_PROGRAM_PARAMETER_NV 0x8644 3789 #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645 3790 #define GL_PROGRAM_TARGET_NV 0x8646 3791 #define GL_PROGRAM_RESIDENT_NV 0x8647 3792 #define GL_TRACK_MATRIX_NV 0x8648 3793 #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649 3794 #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A 3795 #define GL_PROGRAM_ERROR_POSITION_NV 0x864B 3796 #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650 3797 #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651 3798 #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652 3799 #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653 3800 #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654 3801 #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655 3802 #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656 3803 #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657 3804 #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658 3805 #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659 3806 #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A 3807 #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B 3808 #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C 3809 #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D 3810 #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E 3811 #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F 3812 #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660 3813 #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661 3814 #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662 3815 #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663 3816 #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664 3817 #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665 3818 #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666 3819 #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667 3820 #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668 3821 #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669 3822 #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A 3823 #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B 3824 #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C 3825 #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D 3826 #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E 3827 #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F 3828 #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670 3829 #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671 3830 #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672 3831 #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673 3832 #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674 3833 #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675 3834 #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676 3835 #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677 3836 #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678 3837 #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679 3838 #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A 3839 #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B 3840 #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C 3841 #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D 3842 #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E 3843 #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F 3844 #endif 3845 3846 #ifndef GL_SGIX_texture_coordinate_clamp 3847 #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369 3848 #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A 3849 #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B 3850 #endif 3851 3852 #ifndef GL_SGIX_scalebias_hint 3853 #define GL_SCALEBIAS_HINT_SGIX 0x8322 3854 #endif 3855 3856 #ifndef GL_OML_interlace 3857 #define GL_INTERLACE_OML 0x8980 3858 #define GL_INTERLACE_READ_OML 0x8981 3859 #endif 3860 3861 #ifndef GL_OML_subsample 3862 #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982 3863 #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983 3864 #endif 3865 3866 #ifndef GL_OML_resample 3867 #define GL_PACK_RESAMPLE_OML 0x8984 3868 #define GL_UNPACK_RESAMPLE_OML 0x8985 3869 #define GL_RESAMPLE_REPLICATE_OML 0x8986 3870 #define GL_RESAMPLE_ZERO_FILL_OML 0x8987 3871 #define GL_RESAMPLE_AVERAGE_OML 0x8988 3872 #define GL_RESAMPLE_DECIMATE_OML 0x8989 3873 #endif 3874 3875 #ifndef GL_NV_copy_depth_to_color 3876 #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E 3877 #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F 3878 #endif 3879 3880 #ifndef GL_ATI_envmap_bumpmap 3881 #define GL_BUMP_ROT_MATRIX_ATI 0x8775 3882 #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776 3883 #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777 3884 #define GL_BUMP_TEX_UNITS_ATI 0x8778 3885 #define GL_DUDV_ATI 0x8779 3886 #define GL_DU8DV8_ATI 0x877A 3887 #define GL_BUMP_ENVMAP_ATI 0x877B 3888 #define GL_BUMP_TARGET_ATI 0x877C 3889 #endif 3890 3891 #ifndef GL_ATI_fragment_shader 3892 #define GL_FRAGMENT_SHADER_ATI 0x8920 3893 #define GL_REG_0_ATI 0x8921 3894 #define GL_REG_1_ATI 0x8922 3895 #define GL_REG_2_ATI 0x8923 3896 #define GL_REG_3_ATI 0x8924 3897 #define GL_REG_4_ATI 0x8925 3898 #define GL_REG_5_ATI 0x8926 3899 #define GL_REG_6_ATI 0x8927 3900 #define GL_REG_7_ATI 0x8928 3901 #define GL_REG_8_ATI 0x8929 3902 #define GL_REG_9_ATI 0x892A 3903 #define GL_REG_10_ATI 0x892B 3904 #define GL_REG_11_ATI 0x892C 3905 #define GL_REG_12_ATI 0x892D 3906 #define GL_REG_13_ATI 0x892E 3907 #define GL_REG_14_ATI 0x892F 3908 #define GL_REG_15_ATI 0x8930 3909 #define GL_REG_16_ATI 0x8931 3910 #define GL_REG_17_ATI 0x8932 3911 #define GL_REG_18_ATI 0x8933 3912 #define GL_REG_19_ATI 0x8934 3913 #define GL_REG_20_ATI 0x8935 3914 #define GL_REG_21_ATI 0x8936 3915 #define GL_REG_22_ATI 0x8937 3916 #define GL_REG_23_ATI 0x8938 3917 #define GL_REG_24_ATI 0x8939 3918 #define GL_REG_25_ATI 0x893A 3919 #define GL_REG_26_ATI 0x893B 3920 #define GL_REG_27_ATI 0x893C 3921 #define GL_REG_28_ATI 0x893D 3922 #define GL_REG_29_ATI 0x893E 3923 #define GL_REG_30_ATI 0x893F 3924 #define GL_REG_31_ATI 0x8940 3925 #define GL_CON_0_ATI 0x8941 3926 #define GL_CON_1_ATI 0x8942 3927 #define GL_CON_2_ATI 0x8943 3928 #define GL_CON_3_ATI 0x8944 3929 #define GL_CON_4_ATI 0x8945 3930 #define GL_CON_5_ATI 0x8946 3931 #define GL_CON_6_ATI 0x8947 3932 #define GL_CON_7_ATI 0x8948 3933 #define GL_CON_8_ATI 0x8949 3934 #define GL_CON_9_ATI 0x894A 3935 #define GL_CON_10_ATI 0x894B 3936 #define GL_CON_11_ATI 0x894C 3937 #define GL_CON_12_ATI 0x894D 3938 #define GL_CON_13_ATI 0x894E 3939 #define GL_CON_14_ATI 0x894F 3940 #define GL_CON_15_ATI 0x8950 3941 #define GL_CON_16_ATI 0x8951 3942 #define GL_CON_17_ATI 0x8952 3943 #define GL_CON_18_ATI 0x8953 3944 #define GL_CON_19_ATI 0x8954 3945 #define GL_CON_20_ATI 0x8955 3946 #define GL_CON_21_ATI 0x8956 3947 #define GL_CON_22_ATI 0x8957 3948 #define GL_CON_23_ATI 0x8958 3949 #define GL_CON_24_ATI 0x8959 3950 #define GL_CON_25_ATI 0x895A 3951 #define GL_CON_26_ATI 0x895B 3952 #define GL_CON_27_ATI 0x895C 3953 #define GL_CON_28_ATI 0x895D 3954 #define GL_CON_29_ATI 0x895E 3955 #define GL_CON_30_ATI 0x895F 3956 #define GL_CON_31_ATI 0x8960 3957 #define GL_MOV_ATI 0x8961 3958 #define GL_ADD_ATI 0x8963 3959 #define GL_MUL_ATI 0x8964 3960 #define GL_SUB_ATI 0x8965 3961 #define GL_DOT3_ATI 0x8966 3962 #define GL_DOT4_ATI 0x8967 3963 #define GL_MAD_ATI 0x8968 3964 #define GL_LERP_ATI 0x8969 3965 #define GL_CND_ATI 0x896A 3966 #define GL_CND0_ATI 0x896B 3967 #define GL_DOT2_ADD_ATI 0x896C 3968 #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D 3969 #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E 3970 #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F 3971 #define GL_NUM_PASSES_ATI 0x8970 3972 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971 3973 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972 3974 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973 3975 #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974 3976 #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975 3977 #define GL_SWIZZLE_STR_ATI 0x8976 3978 #define GL_SWIZZLE_STQ_ATI 0x8977 3979 #define GL_SWIZZLE_STR_DR_ATI 0x8978 3980 #define GL_SWIZZLE_STQ_DQ_ATI 0x8979 3981 #define GL_SWIZZLE_STRQ_ATI 0x897A 3982 #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B 3983 #define GL_RED_BIT_ATI 0x00000001 3984 #define GL_GREEN_BIT_ATI 0x00000002 3985 #define GL_BLUE_BIT_ATI 0x00000004 3986 #define GL_2X_BIT_ATI 0x00000001 3987 #define GL_4X_BIT_ATI 0x00000002 3988 #define GL_8X_BIT_ATI 0x00000004 3989 #define GL_HALF_BIT_ATI 0x00000008 3990 #define GL_QUARTER_BIT_ATI 0x00000010 3991 #define GL_EIGHTH_BIT_ATI 0x00000020 3992 #define GL_SATURATE_BIT_ATI 0x00000040 3993 #define GL_COMP_BIT_ATI 0x00000002 3994 #define GL_NEGATE_BIT_ATI 0x00000004 3995 #define GL_BIAS_BIT_ATI 0x00000008 3996 #endif 3997 3998 #ifndef GL_ATI_pn_triangles 3999 #define GL_PN_TRIANGLES_ATI 0x87F0 4000 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1 4001 #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2 4002 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3 4003 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4 4004 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5 4005 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6 4006 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7 4007 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8 4008 #endif 4009 4010 #ifndef GL_ATI_vertex_array_object 4011 #define GL_STATIC_ATI 0x8760 4012 #define GL_DYNAMIC_ATI 0x8761 4013 #define GL_PRESERVE_ATI 0x8762 4014 #define GL_DISCARD_ATI 0x8763 4015 #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764 4016 #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765 4017 #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766 4018 #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767 4019 #endif 4020 4021 #ifndef GL_EXT_vertex_shader 4022 #define GL_VERTEX_SHADER_EXT 0x8780 4023 #define GL_VERTEX_SHADER_BINDING_EXT 0x8781 4024 #define GL_OP_INDEX_EXT 0x8782 4025 #define GL_OP_NEGATE_EXT 0x8783 4026 #define GL_OP_DOT3_EXT 0x8784 4027 #define GL_OP_DOT4_EXT 0x8785 4028 #define GL_OP_MUL_EXT 0x8786 4029 #define GL_OP_ADD_EXT 0x8787 4030 #define GL_OP_MADD_EXT 0x8788 4031 #define GL_OP_FRAC_EXT 0x8789 4032 #define GL_OP_MAX_EXT 0x878A 4033 #define GL_OP_MIN_EXT 0x878B 4034 #define GL_OP_SET_GE_EXT 0x878C 4035 #define GL_OP_SET_LT_EXT 0x878D 4036 #define GL_OP_CLAMP_EXT 0x878E 4037 #define GL_OP_FLOOR_EXT 0x878F 4038 #define GL_OP_ROUND_EXT 0x8790 4039 #define GL_OP_EXP_BASE_2_EXT 0x8791 4040 #define GL_OP_LOG_BASE_2_EXT 0x8792 4041 #define GL_OP_POWER_EXT 0x8793 4042 #define GL_OP_RECIP_EXT 0x8794 4043 #define GL_OP_RECIP_SQRT_EXT 0x8795 4044 #define GL_OP_SUB_EXT 0x8796 4045 #define GL_OP_CROSS_PRODUCT_EXT 0x8797 4046 #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798 4047 #define GL_OP_MOV_EXT 0x8799 4048 #define GL_OUTPUT_VERTEX_EXT 0x879A 4049 #define GL_OUTPUT_COLOR0_EXT 0x879B 4050 #define GL_OUTPUT_COLOR1_EXT 0x879C 4051 #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D 4052 #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E 4053 #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F 4054 #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0 4055 #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1 4056 #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2 4057 #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3 4058 #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4 4059 #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5 4060 #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6 4061 #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7 4062 #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8 4063 #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9 4064 #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA 4065 #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB 4066 #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC 4067 #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD 4068 #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE 4069 #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF 4070 #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0 4071 #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1 4072 #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2 4073 #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3 4074 #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4 4075 #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5 4076 #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6 4077 #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7 4078 #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8 4079 #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9 4080 #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA 4081 #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB 4082 #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC 4083 #define GL_OUTPUT_FOG_EXT 0x87BD 4084 #define GL_SCALAR_EXT 0x87BE 4085 #define GL_VECTOR_EXT 0x87BF 4086 #define GL_MATRIX_EXT 0x87C0 4087 #define GL_VARIANT_EXT 0x87C1 4088 #define GL_INVARIANT_EXT 0x87C2 4089 #define GL_LOCAL_CONSTANT_EXT 0x87C3 4090 #define GL_LOCAL_EXT 0x87C4 4091 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5 4092 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6 4093 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7 4094 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8 4095 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9 4096 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA 4097 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB 4098 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC 4099 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD 4100 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE 4101 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF 4102 #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0 4103 #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1 4104 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2 4105 #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3 4106 #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4 4107 #define GL_X_EXT 0x87D5 4108 #define GL_Y_EXT 0x87D6 4109 #define GL_Z_EXT 0x87D7 4110 #define GL_W_EXT 0x87D8 4111 #define GL_NEGATIVE_X_EXT 0x87D9 4112 #define GL_NEGATIVE_Y_EXT 0x87DA 4113 #define GL_NEGATIVE_Z_EXT 0x87DB 4114 #define GL_NEGATIVE_W_EXT 0x87DC 4115 #define GL_ZERO_EXT 0x87DD 4116 #define GL_ONE_EXT 0x87DE 4117 #define GL_NEGATIVE_ONE_EXT 0x87DF 4118 #define GL_NORMALIZED_RANGE_EXT 0x87E0 4119 #define GL_FULL_RANGE_EXT 0x87E1 4120 #define GL_CURRENT_VERTEX_EXT 0x87E2 4121 #define GL_MVP_MATRIX_EXT 0x87E3 4122 #define GL_VARIANT_VALUE_EXT 0x87E4 4123 #define GL_VARIANT_DATATYPE_EXT 0x87E5 4124 #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6 4125 #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7 4126 #define GL_VARIANT_ARRAY_EXT 0x87E8 4127 #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9 4128 #define GL_INVARIANT_VALUE_EXT 0x87EA 4129 #define GL_INVARIANT_DATATYPE_EXT 0x87EB 4130 #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC 4131 #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED 4132 #endif 4133 4134 #ifndef GL_ATI_vertex_streams 4135 #define GL_MAX_VERTEX_STREAMS_ATI 0x876B 4136 #define GL_VERTEX_STREAM0_ATI 0x876C 4137 #define GL_VERTEX_STREAM1_ATI 0x876D 4138 #define GL_VERTEX_STREAM2_ATI 0x876E 4139 #define GL_VERTEX_STREAM3_ATI 0x876F 4140 #define GL_VERTEX_STREAM4_ATI 0x8770 4141 #define GL_VERTEX_STREAM5_ATI 0x8771 4142 #define GL_VERTEX_STREAM6_ATI 0x8772 4143 #define GL_VERTEX_STREAM7_ATI 0x8773 4144 #define GL_VERTEX_SOURCE_ATI 0x8774 4145 #endif 4146 4147 #ifndef GL_ATI_element_array 4148 #define GL_ELEMENT_ARRAY_ATI 0x8768 4149 #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769 4150 #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A 4151 #endif 4152 4153 #ifndef GL_SUN_mesh_array 4154 #define GL_QUAD_MESH_SUN 0x8614 4155 #define GL_TRIANGLE_MESH_SUN 0x8615 4156 #endif 4157 4158 #ifndef GL_SUN_slice_accum 4159 #define GL_SLICE_ACCUM_SUN 0x85CC 4160 #endif 4161 4162 #ifndef GL_NV_multisample_filter_hint 4163 #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534 4164 #endif 4165 4166 #ifndef GL_NV_depth_clamp 4167 #define GL_DEPTH_CLAMP_NV 0x864F 4168 #endif 4169 4170 #ifndef GL_NV_occlusion_query 4171 #define GL_PIXEL_COUNTER_BITS_NV 0x8864 4172 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865 4173 #define GL_PIXEL_COUNT_NV 0x8866 4174 #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867 4175 #endif 4176 4177 #ifndef GL_NV_point_sprite 4178 #define GL_POINT_SPRITE_NV 0x8861 4179 #define GL_COORD_REPLACE_NV 0x8862 4180 #define GL_POINT_SPRITE_R_MODE_NV 0x8863 4181 #endif 4182 4183 #ifndef GL_NV_texture_shader3 4184 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850 4185 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851 4186 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852 4187 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853 4188 #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854 4189 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855 4190 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856 4191 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857 4192 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858 4193 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859 4194 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A 4195 #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B 4196 #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C 4197 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D 4198 #define GL_HILO8_NV 0x885E 4199 #define GL_SIGNED_HILO8_NV 0x885F 4200 #define GL_FORCE_BLUE_TO_ONE_NV 0x8860 4201 #endif 4202 4203 #ifndef GL_NV_vertex_program1_1 4204 #endif 4205 4206 #ifndef GL_EXT_shadow_funcs 4207 #endif 4208 4209 #ifndef GL_EXT_stencil_two_side 4210 #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910 4211 #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911 4212 #endif 4213 4214 #ifndef GL_ATI_text_fragment_shader 4215 #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200 4216 #endif 4217 4218 #ifndef GL_APPLE_client_storage 4219 #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2 4220 #endif 4221 4222 #ifndef GL_APPLE_element_array 4223 #define GL_ELEMENT_ARRAY_APPLE 0x8A0C 4224 #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D 4225 #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E 4226 #endif 4227 4228 #ifndef GL_APPLE_fence 4229 #define GL_DRAW_PIXELS_APPLE 0x8A0A 4230 #define GL_FENCE_APPLE 0x8A0B 4231 #endif 4232 4233 #ifndef GL_APPLE_vertex_array_object 4234 #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5 4235 #endif 4236 4237 #ifndef GL_APPLE_vertex_array_range 4238 #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D 4239 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E 4240 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F 4241 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521 4242 #define GL_STORAGE_CLIENT_APPLE 0x85B4 4243 #define GL_STORAGE_CACHED_APPLE 0x85BE 4244 #define GL_STORAGE_SHARED_APPLE 0x85BF 4245 #endif 4246 4247 #ifndef GL_APPLE_ycbcr_422 4248 #define GL_YCBCR_422_APPLE 0x85B9 4249 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA 4250 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB 4251 #endif 4252 4253 #ifndef GL_S3_s3tc 4254 #define GL_RGB_S3TC 0x83A0 4255 #define GL_RGB4_S3TC 0x83A1 4256 #define GL_RGBA_S3TC 0x83A2 4257 #define GL_RGBA4_S3TC 0x83A3 4258 #endif 4259 4260 #ifndef GL_ATI_draw_buffers 4261 #define GL_MAX_DRAW_BUFFERS_ATI 0x8824 4262 #define GL_DRAW_BUFFER0_ATI 0x8825 4263 #define GL_DRAW_BUFFER1_ATI 0x8826 4264 #define GL_DRAW_BUFFER2_ATI 0x8827 4265 #define GL_DRAW_BUFFER3_ATI 0x8828 4266 #define GL_DRAW_BUFFER4_ATI 0x8829 4267 #define GL_DRAW_BUFFER5_ATI 0x882A 4268 #define GL_DRAW_BUFFER6_ATI 0x882B 4269 #define GL_DRAW_BUFFER7_ATI 0x882C 4270 #define GL_DRAW_BUFFER8_ATI 0x882D 4271 #define GL_DRAW_BUFFER9_ATI 0x882E 4272 #define GL_DRAW_BUFFER10_ATI 0x882F 4273 #define GL_DRAW_BUFFER11_ATI 0x8830 4274 #define GL_DRAW_BUFFER12_ATI 0x8831 4275 #define GL_DRAW_BUFFER13_ATI 0x8832 4276 #define GL_DRAW_BUFFER14_ATI 0x8833 4277 #define GL_DRAW_BUFFER15_ATI 0x8834 4278 #endif 4279 4280 #ifndef GL_ATI_pixel_format_float 4281 #define GL_TYPE_RGBA_FLOAT_ATI 0x8820 4282 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 4283 #endif 4284 4285 #ifndef GL_ATI_texture_env_combine3 4286 #define GL_MODULATE_ADD_ATI 0x8744 4287 #define GL_MODULATE_SIGNED_ADD_ATI 0x8745 4288 #define GL_MODULATE_SUBTRACT_ATI 0x8746 4289 #endif 4290 4291 #ifndef GL_ATI_texture_float 4292 #define GL_RGBA_FLOAT32_ATI 0x8814 4293 #define GL_RGB_FLOAT32_ATI 0x8815 4294 #define GL_ALPHA_FLOAT32_ATI 0x8816 4295 #define GL_INTENSITY_FLOAT32_ATI 0x8817 4296 #define GL_LUMINANCE_FLOAT32_ATI 0x8818 4297 #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819 4298 #define GL_RGBA_FLOAT16_ATI 0x881A 4299 #define GL_RGB_FLOAT16_ATI 0x881B 4300 #define GL_ALPHA_FLOAT16_ATI 0x881C 4301 #define GL_INTENSITY_FLOAT16_ATI 0x881D 4302 #define GL_LUMINANCE_FLOAT16_ATI 0x881E 4303 #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F 4304 #endif 4305 4306 #ifndef GL_NV_float_buffer 4307 #define GL_FLOAT_R_NV 0x8880 4308 #define GL_FLOAT_RG_NV 0x8881 4309 #define GL_FLOAT_RGB_NV 0x8882 4310 #define GL_FLOAT_RGBA_NV 0x8883 4311 #define GL_FLOAT_R16_NV 0x8884 4312 #define GL_FLOAT_R32_NV 0x8885 4313 #define GL_FLOAT_RG16_NV 0x8886 4314 #define GL_FLOAT_RG32_NV 0x8887 4315 #define GL_FLOAT_RGB16_NV 0x8888 4316 #define GL_FLOAT_RGB32_NV 0x8889 4317 #define GL_FLOAT_RGBA16_NV 0x888A 4318 #define GL_FLOAT_RGBA32_NV 0x888B 4319 #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C 4320 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D 4321 #define GL_FLOAT_RGBA_MODE_NV 0x888E 4322 #endif 4323 4324 #ifndef GL_NV_fragment_program 4325 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868 4326 #define GL_FRAGMENT_PROGRAM_NV 0x8870 4327 #define GL_MAX_TEXTURE_COORDS_NV 0x8871 4328 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872 4329 #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873 4330 #define GL_PROGRAM_ERROR_STRING_NV 0x8874 4331 #endif 4332 4333 #ifndef GL_NV_half_float 4334 #define GL_HALF_FLOAT_NV 0x140B 4335 #endif 4336 4337 #ifndef GL_NV_pixel_data_range 4338 #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878 4339 #define GL_READ_PIXEL_DATA_RANGE_NV 0x8879 4340 #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A 4341 #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B 4342 #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C 4343 #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D 4344 #endif 4345 4346 #ifndef GL_NV_primitive_restart 4347 #define GL_PRIMITIVE_RESTART_NV 0x8558 4348 #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559 4349 #endif 4350 4351 #ifndef GL_NV_texture_expand_normal 4352 #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F 4353 #endif 4354 4355 #ifndef GL_NV_vertex_program2 4356 #endif 4357 4358 #ifndef GL_ATI_map_object_buffer 4359 #endif 4360 4361 #ifndef GL_ATI_separate_stencil 4362 #define GL_STENCIL_BACK_FUNC_ATI 0x8800 4363 #define GL_STENCIL_BACK_FAIL_ATI 0x8801 4364 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802 4365 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803 4366 #endif 4367 4368 #ifndef GL_ATI_vertex_attrib_array_object 4369 #endif 4370 4371 #ifndef GL_OES_read_format 4372 #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A 4373 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B 4374 #endif 4375 4376 #ifndef GL_EXT_depth_bounds_test 4377 #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890 4378 #define GL_DEPTH_BOUNDS_EXT 0x8891 4379 #endif 4380 4381 #ifndef GL_EXT_texture_mirror_clamp 4382 #define GL_MIRROR_CLAMP_EXT 0x8742 4383 #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 4384 #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 4385 #endif 4386 4387 #ifndef GL_EXT_blend_equation_separate 4388 #define GL_BLEND_EQUATION_RGB_EXT 0x8009 4389 #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D 4390 #endif 4391 4392 #ifndef GL_MESA_pack_invert 4393 #define GL_PACK_INVERT_MESA 0x8758 4394 #endif 4395 4396 #ifndef GL_MESA_ycbcr_texture 4397 #define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA 4398 #define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB 4399 #define GL_YCBCR_MESA 0x8757 4400 #endif 4401 4402 #ifndef GL_EXT_pixel_buffer_object 4403 #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB 4404 #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC 4405 #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED 4406 #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF 4407 #endif 4408 4409 #ifndef GL_NV_fragment_program_option 4410 #endif 4411 4412 #ifndef GL_NV_fragment_program2 4413 #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 4414 #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 4415 #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6 4416 #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7 4417 #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8 4418 #endif 4419 4420 #ifndef GL_NV_vertex_program2_option 4421 /* reuse GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */ 4422 /* reuse GL_MAX_PROGRAM_CALL_DEPTH_NV */ 4423 #endif 4424 4425 #ifndef GL_NV_vertex_program3 4426 /* reuse GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB */ 4427 #endif 4428 4429 #ifndef GL_EXT_framebuffer_object 4430 #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506 4431 #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8 4432 #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6 4433 #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7 4434 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0 4435 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1 4436 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2 4437 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3 4438 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4 4439 #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5 4440 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6 4441 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7 4442 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9 4443 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA 4444 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB 4445 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC 4446 #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD 4447 #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF 4448 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 4449 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 4450 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 4451 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 4452 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 4453 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 4454 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 4455 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 4456 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 4457 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 4458 #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA 4459 #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB 4460 #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC 4461 #define GL_COLOR_ATTACHMENT13_EXT 0x8CED 4462 #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE 4463 #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF 4464 #define GL_DEPTH_ATTACHMENT_EXT 0x8D00 4465 #define GL_STENCIL_ATTACHMENT_EXT 0x8D20 4466 #define GL_FRAMEBUFFER_EXT 0x8D40 4467 #define GL_RENDERBUFFER_EXT 0x8D41 4468 #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42 4469 #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43 4470 #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44 4471 #define GL_STENCIL_INDEX1_EXT 0x8D46 4472 #define GL_STENCIL_INDEX4_EXT 0x8D47 4473 #define GL_STENCIL_INDEX8_EXT 0x8D48 4474 #define GL_STENCIL_INDEX16_EXT 0x8D49 4475 #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50 4476 #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51 4477 #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52 4478 #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53 4479 #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54 4480 #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55 4481 #endif 4482 4483 #ifndef GL_GREMEDY_string_marker 4484 #endif 4485 4486 #ifndef GL_EXT_packed_depth_stencil 4487 #define GL_DEPTH_STENCIL_EXT 0x84F9 4488 #define GL_UNSIGNED_INT_24_8_EXT 0x84FA 4489 #define GL_DEPTH24_STENCIL8_EXT 0x88F0 4490 #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1 4491 #endif 4492 4493 #ifndef GL_EXT_stencil_clear_tag 4494 #define GL_STENCIL_TAG_BITS_EXT 0x88F2 4495 #define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3 4496 #endif 4497 4498 #ifndef GL_EXT_texture_sRGB 4499 #define GL_SRGB_EXT 0x8C40 4500 #define GL_SRGB8_EXT 0x8C41 4501 #define GL_SRGB_ALPHA_EXT 0x8C42 4502 #define GL_SRGB8_ALPHA8_EXT 0x8C43 4503 #define GL_SLUMINANCE_ALPHA_EXT 0x8C44 4504 #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45 4505 #define GL_SLUMINANCE_EXT 0x8C46 4506 #define GL_SLUMINANCE8_EXT 0x8C47 4507 #define GL_COMPRESSED_SRGB_EXT 0x8C48 4508 #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49 4509 #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A 4510 #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B 4511 #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C 4512 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D 4513 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E 4514 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F 4515 #endif 4516 4517 #ifndef GL_EXT_framebuffer_blit 4518 #define GL_READ_FRAMEBUFFER_EXT 0x8CA8 4519 #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9 4520 #define GL_DRAW_FRAMEBUFFER_BINDING_EXT GL_FRAMEBUFFER_BINDING_EXT 4521 #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA 4522 #endif 4523 4524 #ifndef GL_EXT_framebuffer_multisample 4525 #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB 4526 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 4527 #define GL_MAX_SAMPLES_EXT 0x8D57 4528 #endif 4529 4530 #ifndef GL_MESAX_texture_stack 4531 #define GL_TEXTURE_1D_STACK_MESAX 0x8759 4532 #define GL_TEXTURE_2D_STACK_MESAX 0x875A 4533 #define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B 4534 #define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C 4535 #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D 4536 #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E 4537 #endif 4538 4539 #ifndef GL_EXT_timer_query 4540 #define GL_TIME_ELAPSED_EXT 0x88BF 4541 #endif 4542 4543 #ifndef GL_EXT_gpu_program_parameters 4544 #endif 4545 4546 #ifndef GL_APPLE_flush_buffer_range 4547 #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12 4548 #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13 4549 #endif 4550 4551 #ifndef GL_NV_gpu_program4 4552 #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904 4553 #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905 4554 #define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906 4555 #define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907 4556 #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908 4557 #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909 4558 #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5 4559 #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6 4560 #endif 4561 4562 #ifndef GL_NV_geometry_program4 4563 #define GL_LINES_ADJACENCY_EXT 0x000A 4564 #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B 4565 #define GL_TRIANGLES_ADJACENCY_EXT 0x000C 4566 #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D 4567 #define GL_GEOMETRY_PROGRAM_NV 0x8C26 4568 #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27 4569 #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28 4570 #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA 4571 #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB 4572 #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC 4573 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29 4574 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7 4575 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8 4576 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9 4577 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4 4578 #define GL_PROGRAM_POINT_SIZE_EXT 0x8642 4579 #endif 4580 4581 #ifndef GL_EXT_geometry_shader4 4582 #define GL_GEOMETRY_SHADER_EXT 0x8DD9 4583 /* reuse GL_GEOMETRY_VERTICES_OUT_EXT */ 4584 /* reuse GL_GEOMETRY_INPUT_TYPE_EXT */ 4585 /* reuse GL_GEOMETRY_OUTPUT_TYPE_EXT */ 4586 /* reuse GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT */ 4587 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD 4588 #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE 4589 #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B 4590 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF 4591 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0 4592 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1 4593 /* reuse GL_LINES_ADJACENCY_EXT */ 4594 /* reuse GL_LINE_STRIP_ADJACENCY_EXT */ 4595 /* reuse GL_TRIANGLES_ADJACENCY_EXT */ 4596 /* reuse GL_TRIANGLE_STRIP_ADJACENCY_EXT */ 4597 /* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT */ 4598 /* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT */ 4599 /* reuse GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT */ 4600 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */ 4601 /* reuse GL_PROGRAM_POINT_SIZE_EXT */ 4602 #endif 4603 4604 #ifndef GL_NV_vertex_program4 4605 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD 4606 #endif 4607 4608 #ifndef GL_EXT_gpu_shader4 4609 #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0 4610 #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1 4611 #define GL_SAMPLER_BUFFER_EXT 0x8DC2 4612 #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3 4613 #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4 4614 #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5 4615 #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6 4616 #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7 4617 #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8 4618 #define GL_INT_SAMPLER_1D_EXT 0x8DC9 4619 #define GL_INT_SAMPLER_2D_EXT 0x8DCA 4620 #define GL_INT_SAMPLER_3D_EXT 0x8DCB 4621 #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC 4622 #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD 4623 #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE 4624 #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF 4625 #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0 4626 #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1 4627 #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2 4628 #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3 4629 #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4 4630 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5 4631 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6 4632 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7 4633 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8 4634 #endif 4635 4636 #ifndef GL_EXT_draw_instanced 4637 #endif 4638 4639 #ifndef GL_EXT_packed_float 4640 #define GL_R11F_G11F_B10F_EXT 0x8C3A 4641 #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B 4642 #define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C 4643 #endif 4644 4645 #ifndef GL_EXT_texture_array 4646 #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18 4647 #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19 4648 #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A 4649 #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B 4650 #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C 4651 #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D 4652 #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF 4653 #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E 4654 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */ 4655 #endif 4656 4657 #ifndef GL_EXT_texture_buffer_object 4658 #define GL_TEXTURE_BUFFER_EXT 0x8C2A 4659 #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B 4660 #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C 4661 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D 4662 #define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E 4663 #endif 4664 4665 #ifndef GL_EXT_texture_compression_latc 4666 #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70 4667 #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71 4668 #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72 4669 #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73 4670 #endif 4671 4672 #ifndef GL_EXT_texture_compression_rgtc 4673 #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB 4674 #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC 4675 #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD 4676 #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE 4677 #endif 4678 4679 #ifndef GL_EXT_texture_shared_exponent 4680 #define GL_RGB9_E5_EXT 0x8C3D 4681 #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E 4682 #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F 4683 #endif 4684 4685 #ifndef GL_NV_depth_buffer_float 4686 #define GL_DEPTH_COMPONENT32F_NV 0x8DAB 4687 #define GL_DEPTH32F_STENCIL8_NV 0x8DAC 4688 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD 4689 #define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF 4690 #endif 4691 4692 #ifndef GL_NV_fragment_program4 4693 #endif 4694 4695 #ifndef GL_NV_framebuffer_multisample_coverage 4696 #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB 4697 #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10 4698 #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11 4699 #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12 4700 #endif 4701 4702 #ifndef GL_EXT_framebuffer_sRGB 4703 #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 4704 #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA 4705 #endif 4706 4707 #ifndef GL_NV_geometry_shader4 4708 #endif 4709 4710 #ifndef GL_NV_parameter_buffer_object 4711 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0 4712 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1 4713 #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2 4714 #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3 4715 #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4 4716 #endif 4717 4718 #ifndef GL_EXT_draw_buffers2 4719 #endif 4720 4721 #ifndef GL_NV_transform_feedback 4722 #define GL_BACK_PRIMARY_COLOR_NV 0x8C77 4723 #define GL_BACK_SECONDARY_COLOR_NV 0x8C78 4724 #define GL_TEXTURE_COORD_NV 0x8C79 4725 #define GL_CLIP_DISTANCE_NV 0x8C7A 4726 #define GL_VERTEX_ID_NV 0x8C7B 4727 #define GL_PRIMITIVE_ID_NV 0x8C7C 4728 #define GL_GENERIC_ATTRIB_NV 0x8C7D 4729 #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E 4730 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F 4731 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80 4732 #define GL_ACTIVE_VARYINGS_NV 0x8C81 4733 #define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82 4734 #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83 4735 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84 4736 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85 4737 #define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86 4738 #define GL_PRIMITIVES_GENERATED_NV 0x8C87 4739 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88 4740 #define GL_RASTERIZER_DISCARD_NV 0x8C89 4741 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV 0x8C8A 4742 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B 4743 #define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C 4744 #define GL_SEPARATE_ATTRIBS_NV 0x8C8D 4745 #define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E 4746 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F 4747 #define GL_LAYER_NV 0x8DAA 4748 #define GL_NEXT_BUFFER_NV -2 4749 #define GL_SKIP_COMPONENTS4_NV -3 4750 #define GL_SKIP_COMPONENTS3_NV -4 4751 #define GL_SKIP_COMPONENTS2_NV -5 4752 #define GL_SKIP_COMPONENTS1_NV -6 4753 #endif 4754 4755 #ifndef GL_EXT_bindable_uniform 4756 #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2 4757 #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3 4758 #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4 4759 #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED 4760 #define GL_UNIFORM_BUFFER_EXT 0x8DEE 4761 #define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF 4762 #endif 4763 4764 #ifndef GL_EXT_texture_integer 4765 #define GL_RGBA32UI_EXT 0x8D70 4766 #define GL_RGB32UI_EXT 0x8D71 4767 #define GL_ALPHA32UI_EXT 0x8D72 4768 #define GL_INTENSITY32UI_EXT 0x8D73 4769 #define GL_LUMINANCE32UI_EXT 0x8D74 4770 #define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75 4771 #define GL_RGBA16UI_EXT 0x8D76 4772 #define GL_RGB16UI_EXT 0x8D77 4773 #define GL_ALPHA16UI_EXT 0x8D78 4774 #define GL_INTENSITY16UI_EXT 0x8D79 4775 #define GL_LUMINANCE16UI_EXT 0x8D7A 4776 #define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B 4777 #define GL_RGBA8UI_EXT 0x8D7C 4778 #define GL_RGB8UI_EXT 0x8D7D 4779 #define GL_ALPHA8UI_EXT 0x8D7E 4780 #define GL_INTENSITY8UI_EXT 0x8D7F 4781 #define GL_LUMINANCE8UI_EXT 0x8D80 4782 #define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81 4783 #define GL_RGBA32I_EXT 0x8D82 4784 #define GL_RGB32I_EXT 0x8D83 4785 #define GL_ALPHA32I_EXT 0x8D84 4786 #define GL_INTENSITY32I_EXT 0x8D85 4787 #define GL_LUMINANCE32I_EXT 0x8D86 4788 #define GL_LUMINANCE_ALPHA32I_EXT 0x8D87 4789 #define GL_RGBA16I_EXT 0x8D88 4790 #define GL_RGB16I_EXT 0x8D89 4791 #define GL_ALPHA16I_EXT 0x8D8A 4792 #define GL_INTENSITY16I_EXT 0x8D8B 4793 #define GL_LUMINANCE16I_EXT 0x8D8C 4794 #define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D 4795 #define GL_RGBA8I_EXT 0x8D8E 4796 #define GL_RGB8I_EXT 0x8D8F 4797 #define GL_ALPHA8I_EXT 0x8D90 4798 #define GL_INTENSITY8I_EXT 0x8D91 4799 #define GL_LUMINANCE8I_EXT 0x8D92 4800 #define GL_LUMINANCE_ALPHA8I_EXT 0x8D93 4801 #define GL_RED_INTEGER_EXT 0x8D94 4802 #define GL_GREEN_INTEGER_EXT 0x8D95 4803 #define GL_BLUE_INTEGER_EXT 0x8D96 4804 #define GL_ALPHA_INTEGER_EXT 0x8D97 4805 #define GL_RGB_INTEGER_EXT 0x8D98 4806 #define GL_RGBA_INTEGER_EXT 0x8D99 4807 #define GL_BGR_INTEGER_EXT 0x8D9A 4808 #define GL_BGRA_INTEGER_EXT 0x8D9B 4809 #define GL_LUMINANCE_INTEGER_EXT 0x8D9C 4810 #define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D 4811 #define GL_RGBA_INTEGER_MODE_EXT 0x8D9E 4812 #endif 4813 4814 #ifndef GL_GREMEDY_frame_terminator 4815 #endif 4816 4817 #ifndef GL_NV_conditional_render 4818 #define GL_QUERY_WAIT_NV 0x8E13 4819 #define GL_QUERY_NO_WAIT_NV 0x8E14 4820 #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15 4821 #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 4822 #endif 4823 4824 #ifndef GL_NV_present_video 4825 #define GL_FRAME_NV 0x8E26 4826 #define GL_FIELDS_NV 0x8E27 4827 #define GL_CURRENT_TIME_NV 0x8E28 4828 #define GL_NUM_FILL_STREAMS_NV 0x8E29 4829 #define GL_PRESENT_TIME_NV 0x8E2A 4830 #define GL_PRESENT_DURATION_NV 0x8E2B 4831 #endif 4832 4833 #ifndef GL_EXT_transform_feedback 4834 #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E 4835 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84 4836 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85 4837 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F 4838 #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C 4839 #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D 4840 #define GL_PRIMITIVES_GENERATED_EXT 0x8C87 4841 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88 4842 #define GL_RASTERIZER_DISCARD_EXT 0x8C89 4843 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A 4844 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B 4845 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80 4846 #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83 4847 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F 4848 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76 4849 #endif 4850 4851 #ifndef GL_EXT_direct_state_access 4852 #define GL_PROGRAM_MATRIX_EXT 0x8E2D 4853 #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E 4854 #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F 4855 #endif 4856 4857 #ifndef GL_EXT_vertex_array_bgra 4858 /* reuse GL_BGRA */ 4859 #endif 4860 4861 #ifndef GL_EXT_texture_swizzle 4862 #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42 4863 #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43 4864 #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44 4865 #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45 4866 #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46 4867 #endif 4868 4869 #ifndef GL_NV_explicit_multisample 4870 #define GL_SAMPLE_POSITION_NV 0x8E50 4871 #define GL_SAMPLE_MASK_NV 0x8E51 4872 #define GL_SAMPLE_MASK_VALUE_NV 0x8E52 4873 #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53 4874 #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54 4875 #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55 4876 #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56 4877 #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57 4878 #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58 4879 #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59 4880 #endif 4881 4882 #ifndef GL_NV_transform_feedback2 4883 #define GL_TRANSFORM_FEEDBACK_NV 0x8E22 4884 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23 4885 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24 4886 #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25 4887 #endif 4888 4889 #ifndef GL_ATI_meminfo 4890 #define GL_VBO_FREE_MEMORY_ATI 0x87FB 4891 #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC 4892 #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD 4893 #endif 4894 4895 #ifndef GL_AMD_performance_monitor 4896 #define GL_COUNTER_TYPE_AMD 0x8BC0 4897 #define GL_COUNTER_RANGE_AMD 0x8BC1 4898 #define GL_UNSIGNED_INT64_AMD 0x8BC2 4899 #define GL_PERCENTAGE_AMD 0x8BC3 4900 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 4901 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 4902 #define GL_PERFMON_RESULT_AMD 0x8BC6 4903 #endif 4904 4905 #ifndef GL_AMD_texture_texture4 4906 #endif 4907 4908 #ifndef GL_AMD_vertex_shader_tesselator 4909 #define GL_SAMPLER_BUFFER_AMD 0x9001 4910 #define GL_INT_SAMPLER_BUFFER_AMD 0x9002 4911 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003 4912 #define GL_TESSELLATION_MODE_AMD 0x9004 4913 #define GL_TESSELLATION_FACTOR_AMD 0x9005 4914 #define GL_DISCRETE_AMD 0x9006 4915 #define GL_CONTINUOUS_AMD 0x9007 4916 #endif 4917 4918 #ifndef GL_EXT_provoking_vertex 4919 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C 4920 #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D 4921 #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E 4922 #define GL_PROVOKING_VERTEX_EXT 0x8E4F 4923 #endif 4924 4925 #ifndef GL_EXT_texture_snorm 4926 #define GL_ALPHA_SNORM 0x9010 4927 #define GL_LUMINANCE_SNORM 0x9011 4928 #define GL_LUMINANCE_ALPHA_SNORM 0x9012 4929 #define GL_INTENSITY_SNORM 0x9013 4930 #define GL_ALPHA8_SNORM 0x9014 4931 #define GL_LUMINANCE8_SNORM 0x9015 4932 #define GL_LUMINANCE8_ALPHA8_SNORM 0x9016 4933 #define GL_INTENSITY8_SNORM 0x9017 4934 #define GL_ALPHA16_SNORM 0x9018 4935 #define GL_LUMINANCE16_SNORM 0x9019 4936 #define GL_LUMINANCE16_ALPHA16_SNORM 0x901A 4937 #define GL_INTENSITY16_SNORM 0x901B 4938 /* reuse GL_RED_SNORM */ 4939 /* reuse GL_RG_SNORM */ 4940 /* reuse GL_RGB_SNORM */ 4941 /* reuse GL_RGBA_SNORM */ 4942 /* reuse GL_R8_SNORM */ 4943 /* reuse GL_RG8_SNORM */ 4944 /* reuse GL_RGB8_SNORM */ 4945 /* reuse GL_RGBA8_SNORM */ 4946 /* reuse GL_R16_SNORM */ 4947 /* reuse GL_RG16_SNORM */ 4948 /* reuse GL_RGB16_SNORM */ 4949 /* reuse GL_RGBA16_SNORM */ 4950 /* reuse GL_SIGNED_NORMALIZED */ 4951 #endif 4952 4953 #ifndef GL_AMD_draw_buffers_blend 4954 #endif 4955 4956 #ifndef GL_APPLE_texture_range 4957 #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7 4958 #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8 4959 #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC 4960 #define GL_STORAGE_PRIVATE_APPLE 0x85BD 4961 /* reuse GL_STORAGE_CACHED_APPLE */ 4962 /* reuse GL_STORAGE_SHARED_APPLE */ 4963 #endif 4964 4965 #ifndef GL_APPLE_float_pixels 4966 #define GL_HALF_APPLE 0x140B 4967 #define GL_RGBA_FLOAT32_APPLE 0x8814 4968 #define GL_RGB_FLOAT32_APPLE 0x8815 4969 #define GL_ALPHA_FLOAT32_APPLE 0x8816 4970 #define GL_INTENSITY_FLOAT32_APPLE 0x8817 4971 #define GL_LUMINANCE_FLOAT32_APPLE 0x8818 4972 #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819 4973 #define GL_RGBA_FLOAT16_APPLE 0x881A 4974 #define GL_RGB_FLOAT16_APPLE 0x881B 4975 #define GL_ALPHA_FLOAT16_APPLE 0x881C 4976 #define GL_INTENSITY_FLOAT16_APPLE 0x881D 4977 #define GL_LUMINANCE_FLOAT16_APPLE 0x881E 4978 #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F 4979 #define GL_COLOR_FLOAT_APPLE 0x8A0F 4980 #endif 4981 4982 #ifndef GL_APPLE_vertex_program_evaluators 4983 #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00 4984 #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01 4985 #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02 4986 #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03 4987 #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04 4988 #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05 4989 #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06 4990 #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07 4991 #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08 4992 #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09 4993 #endif 4994 4995 #ifndef GL_APPLE_aux_depth_stencil 4996 #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14 4997 #endif 4998 4999 #ifndef GL_APPLE_object_purgeable 5000 #define GL_BUFFER_OBJECT_APPLE 0x85B3 5001 #define GL_RELEASED_APPLE 0x8A19 5002 #define GL_VOLATILE_APPLE 0x8A1A 5003 #define GL_RETAINED_APPLE 0x8A1B 5004 #define GL_UNDEFINED_APPLE 0x8A1C 5005 #define GL_PURGEABLE_APPLE 0x8A1D 5006 #endif 5007 5008 #ifndef GL_APPLE_row_bytes 5009 #define GL_PACK_ROW_BYTES_APPLE 0x8A15 5010 #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16 5011 #endif 5012 5013 #ifndef GL_APPLE_rgb_422 5014 #define GL_RGB_422_APPLE 0x8A1F 5015 /* reuse GL_UNSIGNED_SHORT_8_8_APPLE */ 5016 /* reuse GL_UNSIGNED_SHORT_8_8_REV_APPLE */ 5017 #endif 5018 5019 #ifndef GL_NV_video_capture 5020 #define GL_VIDEO_BUFFER_NV 0x9020 5021 #define GL_VIDEO_BUFFER_BINDING_NV 0x9021 5022 #define GL_FIELD_UPPER_NV 0x9022 5023 #define GL_FIELD_LOWER_NV 0x9023 5024 #define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024 5025 #define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025 5026 #define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026 5027 #define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027 5028 #define GL_VIDEO_BUFFER_PITCH_NV 0x9028 5029 #define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029 5030 #define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A 5031 #define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B 5032 #define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C 5033 #define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D 5034 #define GL_PARTIAL_SUCCESS_NV 0x902E 5035 #define GL_SUCCESS_NV 0x902F 5036 #define GL_FAILURE_NV 0x9030 5037 #define GL_YCBYCR8_422_NV 0x9031 5038 #define GL_YCBAYCR8A_4224_NV 0x9032 5039 #define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033 5040 #define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034 5041 #define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035 5042 #define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036 5043 #define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037 5044 #define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038 5045 #define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039 5046 #define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A 5047 #define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B 5048 #define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C 5049 #endif 5050 5051 #ifndef GL_NV_copy_image 5052 #endif 5053 5054 #ifndef GL_EXT_separate_shader_objects 5055 #define GL_ACTIVE_PROGRAM_EXT 0x8B8D 5056 #endif 5057 5058 #ifndef GL_NV_parameter_buffer_object2 5059 #endif 5060 5061 #ifndef GL_NV_shader_buffer_load 5062 #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D 5063 #define GL_GPU_ADDRESS_NV 0x8F34 5064 #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35 5065 #endif 5066 5067 #ifndef GL_NV_vertex_buffer_unified_memory 5068 #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E 5069 #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F 5070 #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20 5071 #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21 5072 #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22 5073 #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23 5074 #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24 5075 #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25 5076 #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26 5077 #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27 5078 #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28 5079 #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29 5080 #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A 5081 #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B 5082 #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C 5083 #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D 5084 #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E 5085 #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F 5086 #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30 5087 #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31 5088 #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32 5089 #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33 5090 #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40 5091 #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41 5092 #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42 5093 #endif 5094 5095 #ifndef GL_NV_texture_barrier 5096 #endif 5097 5098 #ifndef GL_AMD_shader_stencil_export 5099 #endif 5100 5101 #ifndef GL_AMD_seamless_cubemap_per_texture 5102 /* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */ 5103 #endif 5104 5105 #ifndef GL_AMD_conservative_depth 5106 #endif 5107 5108 #ifndef GL_EXT_shader_image_load_store 5109 #define GL_MAX_IMAGE_UNITS_EXT 0x8F38 5110 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39 5111 #define GL_IMAGE_BINDING_NAME_EXT 0x8F3A 5112 #define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B 5113 #define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C 5114 #define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D 5115 #define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E 5116 #define GL_IMAGE_1D_EXT 0x904C 5117 #define GL_IMAGE_2D_EXT 0x904D 5118 #define GL_IMAGE_3D_EXT 0x904E 5119 #define GL_IMAGE_2D_RECT_EXT 0x904F 5120 #define GL_IMAGE_CUBE_EXT 0x9050 5121 #define GL_IMAGE_BUFFER_EXT 0x9051 5122 #define GL_IMAGE_1D_ARRAY_EXT 0x9052 5123 #define GL_IMAGE_2D_ARRAY_EXT 0x9053 5124 #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054 5125 #define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055 5126 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056 5127 #define GL_INT_IMAGE_1D_EXT 0x9057 5128 #define GL_INT_IMAGE_2D_EXT 0x9058 5129 #define GL_INT_IMAGE_3D_EXT 0x9059 5130 #define GL_INT_IMAGE_2D_RECT_EXT 0x905A 5131 #define GL_INT_IMAGE_CUBE_EXT 0x905B 5132 #define GL_INT_IMAGE_BUFFER_EXT 0x905C 5133 #define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D 5134 #define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E 5135 #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F 5136 #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060 5137 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061 5138 #define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062 5139 #define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063 5140 #define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064 5141 #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065 5142 #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066 5143 #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067 5144 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068 5145 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069 5146 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A 5147 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B 5148 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C 5149 #define GL_MAX_IMAGE_SAMPLES_EXT 0x906D 5150 #define GL_IMAGE_BINDING_FORMAT_EXT 0x906E 5151 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001 5152 #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002 5153 #define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004 5154 #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008 5155 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020 5156 #define GL_COMMAND_BARRIER_BIT_EXT 0x00000040 5157 #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080 5158 #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100 5159 #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200 5160 #define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400 5161 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800 5162 #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000 5163 #define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF 5164 #endif 5165 5166 #ifndef GL_EXT_vertex_attrib_64bit 5167 /* reuse GL_DOUBLE */ 5168 #define GL_DOUBLE_VEC2_EXT 0x8FFC 5169 #define GL_DOUBLE_VEC3_EXT 0x8FFD 5170 #define GL_DOUBLE_VEC4_EXT 0x8FFE 5171 #define GL_DOUBLE_MAT2_EXT 0x8F46 5172 #define GL_DOUBLE_MAT3_EXT 0x8F47 5173 #define GL_DOUBLE_MAT4_EXT 0x8F48 5174 #define GL_DOUBLE_MAT2x3_EXT 0x8F49 5175 #define GL_DOUBLE_MAT2x4_EXT 0x8F4A 5176 #define GL_DOUBLE_MAT3x2_EXT 0x8F4B 5177 #define GL_DOUBLE_MAT3x4_EXT 0x8F4C 5178 #define GL_DOUBLE_MAT4x2_EXT 0x8F4D 5179 #define GL_DOUBLE_MAT4x3_EXT 0x8F4E 5180 #endif 5181 5182 #ifndef GL_NV_gpu_program5 5183 #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A 5184 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B 5185 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C 5186 #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D 5187 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E 5188 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F 5189 #define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44 5190 #define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45 5191 #endif 5192 5193 #ifndef GL_NV_gpu_shader5 5194 #define GL_INT64_NV 0x140E 5195 #define GL_UNSIGNED_INT64_NV 0x140F 5196 #define GL_INT8_NV 0x8FE0 5197 #define GL_INT8_VEC2_NV 0x8FE1 5198 #define GL_INT8_VEC3_NV 0x8FE2 5199 #define GL_INT8_VEC4_NV 0x8FE3 5200 #define GL_INT16_NV 0x8FE4 5201 #define GL_INT16_VEC2_NV 0x8FE5 5202 #define GL_INT16_VEC3_NV 0x8FE6 5203 #define GL_INT16_VEC4_NV 0x8FE7 5204 #define GL_INT64_VEC2_NV 0x8FE9 5205 #define GL_INT64_VEC3_NV 0x8FEA 5206 #define GL_INT64_VEC4_NV 0x8FEB 5207 #define GL_UNSIGNED_INT8_NV 0x8FEC 5208 #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED 5209 #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE 5210 #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF 5211 #define GL_UNSIGNED_INT16_NV 0x8FF0 5212 #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1 5213 #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2 5214 #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3 5215 #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 5216 #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 5217 #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 5218 #define GL_FLOAT16_NV 0x8FF8 5219 #define GL_FLOAT16_VEC2_NV 0x8FF9 5220 #define GL_FLOAT16_VEC3_NV 0x8FFA 5221 #define GL_FLOAT16_VEC4_NV 0x8FFB 5222 /* reuse GL_PATCHES */ 5223 #endif 5224 5225 #ifndef GL_NV_shader_buffer_store 5226 #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010 5227 /* reuse GL_READ_WRITE */ 5228 /* reuse GL_WRITE_ONLY */ 5229 #endif 5230 5231 #ifndef GL_NV_tessellation_program5 5232 #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8 5233 #define GL_TESS_CONTROL_PROGRAM_NV 0x891E 5234 #define GL_TESS_EVALUATION_PROGRAM_NV 0x891F 5235 #define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74 5236 #define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75 5237 #endif 5238 5239 #ifndef GL_NV_vertex_attrib_integer_64bit 5240 /* reuse GL_INT64_NV */ 5241 /* reuse GL_UNSIGNED_INT64_NV */ 5242 #endif 5243 5244 #ifndef GL_NV_multisample_coverage 5245 #define GL_COVERAGE_SAMPLES_NV 0x80A9 5246 #define GL_COLOR_SAMPLES_NV 0x8E20 5247 #endif 5248 5249 #ifndef GL_AMD_name_gen_delete 5250 #define GL_DATA_BUFFER_AMD 0x9151 5251 #define GL_PERFORMANCE_MONITOR_AMD 0x9152 5252 #define GL_QUERY_OBJECT_AMD 0x9153 5253 #define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154 5254 #define GL_SAMPLER_OBJECT_AMD 0x9155 5255 #endif 5256 5257 #ifndef GL_AMD_debug_output 5258 #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144 5259 #define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145 5260 #define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146 5261 #define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147 5262 #define GL_DEBUG_SEVERITY_LOW_AMD 0x9148 5263 #define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149 5264 #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A 5265 #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B 5266 #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C 5267 #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D 5268 #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E 5269 #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F 5270 #define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150 5271 #endif 5272 5273 #ifndef GL_NV_vdpau_interop 5274 #define GL_SURFACE_STATE_NV 0x86EB 5275 #define GL_SURFACE_REGISTERED_NV 0x86FD 5276 #define GL_SURFACE_MAPPED_NV 0x8700 5277 #define GL_WRITE_DISCARD_NV 0x88BE 5278 #endif 5279 5280 #ifndef GL_AMD_transform_feedback3_lines_triangles 5281 #endif 5282 5283 #ifndef GL_AMD_depth_clamp_separate 5284 #define GL_DEPTH_CLAMP_NEAR_AMD 0x901E 5285 #define GL_DEPTH_CLAMP_FAR_AMD 0x901F 5286 #endif 5287 5288 #ifndef GL_EXT_texture_sRGB_decode 5289 #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 5290 #define GL_DECODE_EXT 0x8A49 5291 #define GL_SKIP_DECODE_EXT 0x8A4A 5292 #endif 5293 5294 #ifndef GL_NV_texture_multisample 5295 #define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045 5296 #define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046 5297 #endif 5298 5299 #ifndef GL_AMD_blend_minmax_factor 5300 #define GL_FACTOR_MIN_AMD 0x901C 5301 #define GL_FACTOR_MAX_AMD 0x901D 5302 #endif 5303 5304 #ifndef GL_AMD_sample_positions 5305 #define GL_SUBSAMPLE_DISTANCE_AMD 0x883F 5306 #endif 5307 5308 #ifndef GL_EXT_x11_sync_object 5309 #define GL_SYNC_X11_FENCE_EXT 0x90E1 5310 #endif 5311 5312 #ifndef GL_AMD_multi_draw_indirect 5313 #endif 5314 5315 #ifndef GL_EXT_framebuffer_multisample_blit_scaled 5316 #define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA 5317 #define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB 5318 #endif 5319 5320 #ifndef GL_NV_path_rendering 5321 #define GL_PATH_FORMAT_SVG_NV 0x9070 5322 #define GL_PATH_FORMAT_PS_NV 0x9071 5323 #define GL_STANDARD_FONT_NAME_NV 0x9072 5324 #define GL_SYSTEM_FONT_NAME_NV 0x9073 5325 #define GL_FILE_NAME_NV 0x9074 5326 #define GL_PATH_STROKE_WIDTH_NV 0x9075 5327 #define GL_PATH_END_CAPS_NV 0x9076 5328 #define GL_PATH_INITIAL_END_CAP_NV 0x9077 5329 #define GL_PATH_TERMINAL_END_CAP_NV 0x9078 5330 #define GL_PATH_JOIN_STYLE_NV 0x9079 5331 #define GL_PATH_MITER_LIMIT_NV 0x907A 5332 #define GL_PATH_DASH_CAPS_NV 0x907B 5333 #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C 5334 #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D 5335 #define GL_PATH_DASH_OFFSET_NV 0x907E 5336 #define GL_PATH_CLIENT_LENGTH_NV 0x907F 5337 #define GL_PATH_FILL_MODE_NV 0x9080 5338 #define GL_PATH_FILL_MASK_NV 0x9081 5339 #define GL_PATH_FILL_COVER_MODE_NV 0x9082 5340 #define GL_PATH_STROKE_COVER_MODE_NV 0x9083 5341 #define GL_PATH_STROKE_MASK_NV 0x9084 5342 #define GL_PATH_SAMPLE_QUALITY_NV 0x9085 5343 #define GL_PATH_STROKE_BOUND_NV 0x9086 5344 #define GL_PATH_STROKE_OVERSAMPLE_COUNT_NV 0x9087 5345 #define GL_COUNT_UP_NV 0x9088 5346 #define GL_COUNT_DOWN_NV 0x9089 5347 #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A 5348 #define GL_CONVEX_HULL_NV 0x908B 5349 #define GL_MULTI_HULLS_NV 0x908C 5350 #define GL_BOUNDING_BOX_NV 0x908D 5351 #define GL_TRANSLATE_X_NV 0x908E 5352 #define GL_TRANSLATE_Y_NV 0x908F 5353 #define GL_TRANSLATE_2D_NV 0x9090 5354 #define GL_TRANSLATE_3D_NV 0x9091 5355 #define GL_AFFINE_2D_NV 0x9092 5356 #define GL_PROJECTIVE_2D_NV 0x9093 5357 #define GL_AFFINE_3D_NV 0x9094 5358 #define GL_PROJECTIVE_3D_NV 0x9095 5359 #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096 5360 #define GL_TRANSPOSE_PROJECTIVE_2D_NV 0x9097 5361 #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098 5362 #define GL_TRANSPOSE_PROJECTIVE_3D_NV 0x9099 5363 #define GL_UTF8_NV 0x909A 5364 #define GL_UTF16_NV 0x909B 5365 #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C 5366 #define GL_PATH_COMMAND_COUNT_NV 0x909D 5367 #define GL_PATH_COORD_COUNT_NV 0x909E 5368 #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F 5369 #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0 5370 #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1 5371 #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2 5372 #define GL_SQUARE_NV 0x90A3 5373 #define GL_ROUND_NV 0x90A4 5374 #define GL_TRIANGULAR_NV 0x90A5 5375 #define GL_BEVEL_NV 0x90A6 5376 #define GL_MITER_REVERT_NV 0x90A7 5377 #define GL_MITER_TRUNCATE_NV 0x90A8 5378 #define GL_SKIP_MISSING_GLYPH_NV 0x90A9 5379 #define GL_USE_MISSING_GLYPH_NV 0x90AA 5380 #define GL_PATH_ERROR_POSITION_NV 0x90AB 5381 #define GL_PATH_FOG_GEN_MODE_NV 0x90AC 5382 #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD 5383 #define GL_ADJACENT_PAIRS_NV 0x90AE 5384 #define GL_FIRST_TO_REST_NV 0x90AF 5385 #define GL_PATH_GEN_MODE_NV 0x90B0 5386 #define GL_PATH_GEN_COEFF_NV 0x90B1 5387 #define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2 5388 #define GL_PATH_GEN_COMPONENTS_NV 0x90B3 5389 #define GL_PATH_STENCIL_FUNC_NV 0x90B7 5390 #define GL_PATH_STENCIL_REF_NV 0x90B8 5391 #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9 5392 #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD 5393 #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE 5394 #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF 5395 #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4 5396 #define GL_MOVE_TO_RESETS_NV 0x90B5 5397 #define GL_MOVE_TO_CONTINUES_NV 0x90B6 5398 #define GL_CLOSE_PATH_NV 0x00 5399 #define GL_MOVE_TO_NV 0x02 5400 #define GL_RELATIVE_MOVE_TO_NV 0x03 5401 #define GL_LINE_TO_NV 0x04 5402 #define GL_RELATIVE_LINE_TO_NV 0x05 5403 #define GL_HORIZONTAL_LINE_TO_NV 0x06 5404 #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07 5405 #define GL_VERTICAL_LINE_TO_NV 0x08 5406 #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09 5407 #define GL_QUADRATIC_CURVE_TO_NV 0x0A 5408 #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B 5409 #define GL_CUBIC_CURVE_TO_NV 0x0C 5410 #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D 5411 #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E 5412 #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F 5413 #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10 5414 #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11 5415 #define GL_SMALL_CCW_ARC_TO_NV 0x12 5416 #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13 5417 #define GL_SMALL_CW_ARC_TO_NV 0x14 5418 #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15 5419 #define GL_LARGE_CCW_ARC_TO_NV 0x16 5420 #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17 5421 #define GL_LARGE_CW_ARC_TO_NV 0x18 5422 #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19 5423 #define GL_RESTART_PATH_NV 0xF0 5424 #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2 5425 #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4 5426 #define GL_RECT_NV 0xF6 5427 #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8 5428 #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA 5429 #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC 5430 #define GL_ARC_TO_NV 0xFE 5431 #define GL_RELATIVE_ARC_TO_NV 0xFF 5432 #define GL_BOLD_BIT_NV 0x01 5433 #define GL_ITALIC_BIT_NV 0x02 5434 #define GL_GLYPH_WIDTH_BIT_NV 0x01 5435 #define GL_GLYPH_HEIGHT_BIT_NV 0x02 5436 #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04 5437 #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08 5438 #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10 5439 #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20 5440 #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40 5441 #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80 5442 #define GL_GLYPH_HAS_KERNING_NV 0x100 5443 #define GL_FONT_X_MIN_BOUNDS_NV 0x00010000 5444 #define GL_FONT_Y_MIN_BOUNDS_NV 0x00020000 5445 #define GL_FONT_X_MAX_BOUNDS_NV 0x00040000 5446 #define GL_FONT_Y_MAX_BOUNDS_NV 0x00080000 5447 #define GL_FONT_UNITS_PER_EM_NV 0x00100000 5448 #define GL_FONT_ASCENDER_NV 0x00200000 5449 #define GL_FONT_DESCENDER_NV 0x00400000 5450 #define GL_FONT_HEIGHT_NV 0x00800000 5451 #define GL_FONT_MAX_ADVANCE_WIDTH_NV 0x01000000 5452 #define GL_FONT_MAX_ADVANCE_HEIGHT_NV 0x02000000 5453 #define GL_FONT_UNDERLINE_POSITION_NV 0x04000000 5454 #define GL_FONT_UNDERLINE_THICKNESS_NV 0x08000000 5455 #define GL_FONT_HAS_KERNING_NV 0x10000000 5456 #endif 5457 5458 #ifndef GL_AMD_pinned_memory 5459 #define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160 5460 #endif 5461 5462 #ifndef GL_AMD_stencil_operation_extended 5463 #define GL_SET_AMD 0x874A 5464 #define GL_REPLACE_VALUE_AMD 0x874B 5465 #define GL_STENCIL_OP_VALUE_AMD 0x874C 5466 #define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D 5467 #endif 5468 5469 #ifndef GL_AMD_vertex_shader_viewport_index 5470 #endif 5471 5472 #ifndef GL_AMD_vertex_shader_layer 5473 #endif 5474 5475 #ifndef GL_NV_bindless_texture 5476 #endif 5477 5478 #ifndef GL_NV_shader_atomic_float 5479 #endif 5480 5481 #ifndef GL_AMD_query_buffer_object 5482 #define GL_QUERY_BUFFER_AMD 0x9192 5483 #define GL_QUERY_BUFFER_BINDING_AMD 0x9193 5484 #define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194 5485 #endif 5486 5487 5488 /*************************************************************/ 5489 5490 #include <stddef.h> 5491 #ifndef GL_VERSION_2_0 5492 /* GL type for program/shader text */ 5493 typedef char GLchar; 5494 #endif 5495 5496 #ifndef GL_VERSION_1_5 5497 /* GL types for handling large vertex buffer objects */ 5498 typedef ptrdiff_t GLintptr; 5499 typedef ptrdiff_t GLsizeiptr; 5500 #endif 5501 5502 #ifndef GL_ARB_vertex_buffer_object 5503 /* GL types for handling large vertex buffer objects */ 5504 typedef ptrdiff_t GLintptrARB; 5505 typedef ptrdiff_t GLsizeiptrARB; 5506 #endif 5507 5508 #ifndef GL_ARB_shader_objects 5509 /* GL types for program/shader text and shader object handles */ 5510 typedef char GLcharARB; 5511 typedef unsigned int GLhandleARB; 5512 #endif 5513 5514 /* GL type for "half" precision (s10e5) float data in host memory */ 5515 #ifndef GL_ARB_half_float_pixel 5516 typedef unsigned short GLhalfARB; 5517 #endif 5518 5519 #ifndef GL_NV_half_float 5520 typedef unsigned short GLhalfNV; 5521 #endif 5522 5523 #ifndef GLEXT_64_TYPES_DEFINED 5524 /* This code block is duplicated in glxext.h, so must be protected */ 5525 #define GLEXT_64_TYPES_DEFINED 5526 /* Define int32_t, int64_t, and uint64_t types for UST/MSC */ 5527 /* (as used in the GL_EXT_timer_query extension). */ 5528 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 5529 #include <inttypes.h> 5530 #elif defined(__sun__) || defined(__digital__) 5531 #include <inttypes.h> 5532 #if defined(__STDC__) 5533 #if defined(__arch64__) || defined(_LP64) 5534 typedef long int int64_t; 5535 typedef unsigned long int uint64_t; 5536 #else 5537 typedef long long int int64_t; 5538 typedef unsigned long long int uint64_t; 5539 #endif /* __arch64__ */ 5540 #endif /* __STDC__ */ 5541 #elif defined( __VMS ) || defined(__sgi) 5542 #include <inttypes.h> 5543 #elif defined(__SCO__) || defined(__USLC__) 5544 #include <stdint.h> 5545 #elif defined(__UNIXOS2__) || defined(__SOL64__) 5546 typedef long int int32_t; 5547 typedef long long int int64_t; 5548 typedef unsigned long long int uint64_t; 5549 #elif defined(_WIN32) && defined(__GNUC__) 5550 #include <stdint.h> 5551 #elif defined(_WIN32) 5552 typedef __int32 int32_t; 5553 typedef __int64 int64_t; 5554 typedef unsigned __int64 uint64_t; 5555 #else 5556 /* Fallback if nothing above works */ 5557 #include <inttypes.h> 5558 #endif 5559 #endif 5560 5561 #ifndef GL_EXT_timer_query 5562 typedef int64_t GLint64EXT; 5563 typedef uint64_t GLuint64EXT; 5564 #endif 5565 5566 #ifndef GL_ARB_sync 5567 typedef int64_t GLint64; 5568 typedef uint64_t GLuint64; 5569 typedef struct __GLsync *GLsync; 5570 #endif 5571 5572 #ifndef GL_ARB_cl_event 5573 /* These incomplete types let us declare types compatible with OpenCL's cl_context and cl_event */ 5574 struct _cl_context; 5575 struct _cl_event; 5576 #endif 5577 5578 #ifndef GL_ARB_debug_output 5579 typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam); 5580 #endif 5581 5582 #ifndef GL_AMD_debug_output 5583 typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam); 5584 #endif 5585 5586 #ifndef GL_NV_vdpau_interop 5587 typedef GLintptr GLvdpauSurfaceNV; 5588 #endif 5589 5590 #ifndef GL_VERSION_1_2 5591 #define GL_VERSION_1_2 1 5592 #ifdef GL_GLEXT_PROTOTYPES 5593 GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 5594 GLAPI void APIENTRY glBlendEquation (GLenum mode); 5595 GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); 5596 GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 5597 GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); 5598 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 5599 #endif /* GL_GLEXT_PROTOTYPES */ 5600 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 5601 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); 5602 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); 5603 typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 5604 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); 5605 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 5606 #endif 5607 5608 #ifndef GL_VERSION_1_2_DEPRECATED 5609 #define GL_VERSION_1_2_DEPRECATED 1 5610 #ifdef GL_GLEXT_PROTOTYPES 5611 GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); 5612 GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params); 5613 GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params); 5614 GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 5615 GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, GLvoid *table); 5616 GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params); 5617 GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params); 5618 GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); 5619 GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); 5620 GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); 5621 GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); 5622 GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params); 5623 GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params); 5624 GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params); 5625 GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params); 5626 GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 5627 GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); 5628 GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, GLvoid *image); 5629 GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params); 5630 GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params); 5631 GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); 5632 GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); 5633 GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 5634 GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params); 5635 GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params); 5636 GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 5637 GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params); 5638 GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params); 5639 GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); 5640 GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink); 5641 GLAPI void APIENTRY glResetHistogram (GLenum target); 5642 GLAPI void APIENTRY glResetMinmax (GLenum target); 5643 #endif /* GL_GLEXT_PROTOTYPES */ 5644 typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); 5645 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); 5646 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); 5647 typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 5648 typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); 5649 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 5650 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 5651 typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); 5652 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); 5653 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); 5654 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); 5655 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params); 5656 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); 5657 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params); 5658 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); 5659 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 5660 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); 5661 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); 5662 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 5663 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 5664 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); 5665 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); 5666 typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 5667 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 5668 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 5669 typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 5670 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 5671 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 5672 typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); 5673 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink); 5674 typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target); 5675 typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target); 5676 #endif 5677 5678 #ifndef GL_VERSION_1_3 5679 #define GL_VERSION_1_3 1 5680 #ifdef GL_GLEXT_PROTOTYPES 5681 GLAPI void APIENTRY glActiveTexture (GLenum texture); 5682 GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); 5683 GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); 5684 GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); 5685 GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); 5686 GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); 5687 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); 5688 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); 5689 GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, GLvoid *img); 5690 #endif /* GL_GLEXT_PROTOTYPES */ 5691 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); 5692 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); 5693 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); 5694 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); 5695 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); 5696 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); 5697 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); 5698 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); 5699 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img); 5700 #endif 5701 5702 #ifndef GL_VERSION_1_3_DEPRECATED 5703 #define GL_VERSION_1_3_DEPRECATED 1 5704 #ifdef GL_GLEXT_PROTOTYPES 5705 GLAPI void APIENTRY glClientActiveTexture (GLenum texture); 5706 GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s); 5707 GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v); 5708 GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s); 5709 GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v); 5710 GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s); 5711 GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v); 5712 GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s); 5713 GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v); 5714 GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t); 5715 GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v); 5716 GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t); 5717 GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v); 5718 GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t); 5719 GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v); 5720 GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t); 5721 GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v); 5722 GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r); 5723 GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v); 5724 GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r); 5725 GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v); 5726 GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r); 5727 GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v); 5728 GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r); 5729 GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v); 5730 GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 5731 GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v); 5732 GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 5733 GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v); 5734 GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q); 5735 GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v); 5736 GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 5737 GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v); 5738 GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m); 5739 GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m); 5740 GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m); 5741 GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m); 5742 #endif /* GL_GLEXT_PROTOTYPES */ 5743 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); 5744 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s); 5745 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v); 5746 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s); 5747 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v); 5748 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s); 5749 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v); 5750 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s); 5751 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v); 5752 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t); 5753 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v); 5754 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); 5755 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v); 5756 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t); 5757 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v); 5758 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t); 5759 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v); 5760 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); 5761 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v); 5762 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); 5763 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v); 5764 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r); 5765 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v); 5766 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r); 5767 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v); 5768 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 5769 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v); 5770 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 5771 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v); 5772 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); 5773 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v); 5774 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 5775 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v); 5776 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m); 5777 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m); 5778 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m); 5779 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m); 5780 #endif 5781 5782 #ifndef GL_VERSION_1_4 5783 #define GL_VERSION_1_4 1 5784 #ifdef GL_GLEXT_PROTOTYPES 5785 GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 5786 GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 5787 GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount); 5788 GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param); 5789 GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params); 5790 GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param); 5791 GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params); 5792 #endif /* GL_GLEXT_PROTOTYPES */ 5793 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 5794 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 5795 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount); 5796 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); 5797 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); 5798 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param); 5799 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params); 5800 #endif 5801 5802 #ifndef GL_VERSION_1_4_DEPRECATED 5803 #define GL_VERSION_1_4_DEPRECATED 1 5804 #ifdef GL_GLEXT_PROTOTYPES 5805 GLAPI void APIENTRY glFogCoordf (GLfloat coord); 5806 GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord); 5807 GLAPI void APIENTRY glFogCoordd (GLdouble coord); 5808 GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord); 5809 GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const GLvoid *pointer); 5810 GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue); 5811 GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v); 5812 GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue); 5813 GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v); 5814 GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue); 5815 GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v); 5816 GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue); 5817 GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v); 5818 GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue); 5819 GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v); 5820 GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue); 5821 GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v); 5822 GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue); 5823 GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v); 5824 GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue); 5825 GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v); 5826 GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 5827 GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y); 5828 GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v); 5829 GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y); 5830 GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v); 5831 GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y); 5832 GLAPI void APIENTRY glWindowPos2iv (const GLint *v); 5833 GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y); 5834 GLAPI void APIENTRY glWindowPos2sv (const GLshort *v); 5835 GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z); 5836 GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v); 5837 GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z); 5838 GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v); 5839 GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z); 5840 GLAPI void APIENTRY glWindowPos3iv (const GLint *v); 5841 GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z); 5842 GLAPI void APIENTRY glWindowPos3sv (const GLshort *v); 5843 #endif /* GL_GLEXT_PROTOTYPES */ 5844 typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord); 5845 typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord); 5846 typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord); 5847 typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord); 5848 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); 5849 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue); 5850 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v); 5851 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue); 5852 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v); 5853 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue); 5854 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v); 5855 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue); 5856 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v); 5857 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue); 5858 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v); 5859 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue); 5860 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v); 5861 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue); 5862 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v); 5863 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue); 5864 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v); 5865 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 5866 typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y); 5867 typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v); 5868 typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y); 5869 typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v); 5870 typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y); 5871 typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v); 5872 typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y); 5873 typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v); 5874 typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z); 5875 typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v); 5876 typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z); 5877 typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v); 5878 typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z); 5879 typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v); 5880 typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z); 5881 typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v); 5882 #endif 5883 5884 #ifndef GL_VERSION_1_5 5885 #define GL_VERSION_1_5 1 5886 #ifdef GL_GLEXT_PROTOTYPES 5887 GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids); 5888 GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids); 5889 GLAPI GLboolean APIENTRY glIsQuery (GLuint id); 5890 GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id); 5891 GLAPI void APIENTRY glEndQuery (GLenum target); 5892 GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params); 5893 GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params); 5894 GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params); 5895 GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer); 5896 GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); 5897 GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); 5898 GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer); 5899 GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); 5900 GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); 5901 GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); 5902 GLAPI GLvoid* APIENTRY glMapBuffer (GLenum target, GLenum access); 5903 GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target); 5904 GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); 5905 GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, GLvoid* *params); 5906 #endif /* GL_GLEXT_PROTOTYPES */ 5907 typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); 5908 typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); 5909 typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id); 5910 typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); 5911 typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target); 5912 typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); 5913 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params); 5914 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); 5915 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); 5916 typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); 5917 typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); 5918 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); 5919 typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); 5920 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); 5921 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); 5922 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access); 5923 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target); 5924 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 5925 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params); 5926 #endif 5927 5928 #ifndef GL_VERSION_2_0 5929 #define GL_VERSION_2_0 1 5930 #ifdef GL_GLEXT_PROTOTYPES 5931 GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); 5932 GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs); 5933 GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); 5934 GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); 5935 GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); 5936 GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader); 5937 GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); 5938 GLAPI void APIENTRY glCompileShader (GLuint shader); 5939 GLAPI GLuint APIENTRY glCreateProgram (void); 5940 GLAPI GLuint APIENTRY glCreateShader (GLenum type); 5941 GLAPI void APIENTRY glDeleteProgram (GLuint program); 5942 GLAPI void APIENTRY glDeleteShader (GLuint shader); 5943 GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader); 5944 GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index); 5945 GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index); 5946 GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 5947 GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 5948 GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj); 5949 GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); 5950 GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); 5951 GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 5952 GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); 5953 GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 5954 GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); 5955 GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); 5956 GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); 5957 GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); 5958 GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params); 5959 GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); 5960 GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); 5961 GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid* *pointer); 5962 GLAPI GLboolean APIENTRY glIsProgram (GLuint program); 5963 GLAPI GLboolean APIENTRY glIsShader (GLuint shader); 5964 GLAPI void APIENTRY glLinkProgram (GLuint program); 5965 GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length); 5966 GLAPI void APIENTRY glUseProgram (GLuint program); 5967 GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0); 5968 GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); 5969 GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 5970 GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 5971 GLAPI void APIENTRY glUniform1i (GLint location, GLint v0); 5972 GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); 5973 GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); 5974 GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 5975 GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); 5976 GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); 5977 GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); 5978 GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); 5979 GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); 5980 GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); 5981 GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); 5982 GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); 5983 GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 5984 GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 5985 GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 5986 GLAPI void APIENTRY glValidateProgram (GLuint program); 5987 GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x); 5988 GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v); 5989 GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); 5990 GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); 5991 GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x); 5992 GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v); 5993 GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y); 5994 GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v); 5995 GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); 5996 GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); 5997 GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y); 5998 GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v); 5999 GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z); 6000 GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v); 6001 GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); 6002 GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); 6003 GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z); 6004 GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v); 6005 GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v); 6006 GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v); 6007 GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v); 6008 GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 6009 GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v); 6010 GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v); 6011 GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v); 6012 GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v); 6013 GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 6014 GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v); 6015 GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 6016 GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); 6017 GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v); 6018 GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 6019 GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v); 6020 GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v); 6021 GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v); 6022 GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v); 6023 GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); 6024 #endif /* GL_GLEXT_PROTOTYPES */ 6025 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); 6026 typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); 6027 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); 6028 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); 6029 typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); 6030 typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); 6031 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); 6032 typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); 6033 typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void); 6034 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); 6035 typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); 6036 typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); 6037 typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); 6038 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); 6039 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); 6040 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 6041 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 6042 typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj); 6043 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); 6044 typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); 6045 typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 6046 typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); 6047 typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 6048 typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); 6049 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); 6050 typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); 6051 typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); 6052 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params); 6053 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); 6054 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); 6055 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer); 6056 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); 6057 typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader); 6058 typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); 6059 typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length); 6060 typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); 6061 typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); 6062 typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); 6063 typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 6064 typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 6065 typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); 6066 typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); 6067 typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); 6068 typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 6069 typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); 6070 typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); 6071 typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); 6072 typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); 6073 typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); 6074 typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); 6075 typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); 6076 typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); 6077 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6078 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6079 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6080 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); 6081 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x); 6082 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v); 6083 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); 6084 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); 6085 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x); 6086 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v); 6087 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y); 6088 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v); 6089 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); 6090 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); 6091 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y); 6092 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v); 6093 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); 6094 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v); 6095 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); 6096 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); 6097 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z); 6098 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v); 6099 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v); 6100 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v); 6101 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v); 6102 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 6103 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v); 6104 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v); 6105 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v); 6106 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v); 6107 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 6108 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v); 6109 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 6110 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); 6111 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v); 6112 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 6113 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v); 6114 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v); 6115 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v); 6116 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v); 6117 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); 6118 #endif 6119 6120 #ifndef GL_VERSION_2_1 6121 #define GL_VERSION_2_1 1 6122 #ifdef GL_GLEXT_PROTOTYPES 6123 GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6124 GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6125 GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6126 GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6127 GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6128 GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6129 #endif /* GL_GLEXT_PROTOTYPES */ 6130 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6131 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6132 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6133 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6134 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6135 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6136 #endif 6137 6138 #ifndef GL_VERSION_3_0 6139 #define GL_VERSION_3_0 1 6140 /* OpenGL 3.0 also reuses entry points from these extensions: */ 6141 /* ARB_framebuffer_object */ 6142 /* ARB_map_buffer_range */ 6143 /* ARB_vertex_array_object */ 6144 #ifdef GL_GLEXT_PROTOTYPES 6145 GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 6146 GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data); 6147 GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data); 6148 GLAPI void APIENTRY glEnablei (GLenum target, GLuint index); 6149 GLAPI void APIENTRY glDisablei (GLenum target, GLuint index); 6150 GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index); 6151 GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode); 6152 GLAPI void APIENTRY glEndTransformFeedback (void); 6153 GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 6154 GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); 6155 GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode); 6156 GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); 6157 GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp); 6158 GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode); 6159 GLAPI void APIENTRY glEndConditionalRender (void); 6160 GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 6161 GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params); 6162 GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params); 6163 GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x); 6164 GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y); 6165 GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z); 6166 GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); 6167 GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x); 6168 GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y); 6169 GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z); 6170 GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 6171 GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v); 6172 GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v); 6173 GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v); 6174 GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v); 6175 GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v); 6176 GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v); 6177 GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v); 6178 GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v); 6179 GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v); 6180 GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v); 6181 GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v); 6182 GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v); 6183 GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params); 6184 GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name); 6185 GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name); 6186 GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0); 6187 GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); 6188 GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); 6189 GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 6190 GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value); 6191 GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value); 6192 GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value); 6193 GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value); 6194 GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params); 6195 GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params); 6196 GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params); 6197 GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params); 6198 GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value); 6199 GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value); 6200 GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value); 6201 GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 6202 GLAPI const GLubyte * APIENTRY glGetStringi (GLenum name, GLuint index); 6203 #endif /* GL_GLEXT_PROTOTYPES */ 6204 typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 6205 typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data); 6206 typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data); 6207 typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index); 6208 typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index); 6209 typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index); 6210 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode); 6211 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); 6212 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 6213 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); 6214 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode); 6215 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); 6216 typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp); 6217 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode); 6218 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void); 6219 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 6220 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params); 6221 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params); 6222 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x); 6223 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y); 6224 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z); 6225 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); 6226 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x); 6227 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y); 6228 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z); 6229 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 6230 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v); 6231 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v); 6232 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v); 6233 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v); 6234 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v); 6235 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v); 6236 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v); 6237 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v); 6238 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v); 6239 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v); 6240 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v); 6241 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v); 6242 typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params); 6243 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name); 6244 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name); 6245 typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0); 6246 typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1); 6247 typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); 6248 typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 6249 typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value); 6250 typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value); 6251 typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value); 6252 typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value); 6253 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params); 6254 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params); 6255 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params); 6256 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params); 6257 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); 6258 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); 6259 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); 6260 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 6261 typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index); 6262 #endif 6263 6264 #ifndef GL_VERSION_3_1 6265 #define GL_VERSION_3_1 1 6266 /* OpenGL 3.1 also reuses entry points from these extensions: */ 6267 /* ARB_copy_buffer */ 6268 /* ARB_uniform_buffer_object */ 6269 #ifdef GL_GLEXT_PROTOTYPES 6270 GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 6271 GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); 6272 GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer); 6273 GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index); 6274 #endif /* GL_GLEXT_PROTOTYPES */ 6275 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 6276 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); 6277 typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer); 6278 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index); 6279 #endif 6280 6281 #ifndef GL_VERSION_3_2 6282 #define GL_VERSION_3_2 1 6283 /* OpenGL 3.2 also reuses entry points from these extensions: */ 6284 /* ARB_draw_elements_base_vertex */ 6285 /* ARB_provoking_vertex */ 6286 /* ARB_sync */ 6287 /* ARB_texture_multisample */ 6288 #ifdef GL_GLEXT_PROTOTYPES 6289 GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); 6290 GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); 6291 GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level); 6292 #endif /* GL_GLEXT_PROTOTYPES */ 6293 typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); 6294 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); 6295 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); 6296 #endif 6297 6298 #ifndef GL_VERSION_3_3 6299 #define GL_VERSION_3_3 1 6300 /* OpenGL 3.3 also reuses entry points from these extensions: */ 6301 /* ARB_blend_func_extended */ 6302 /* ARB_sampler_objects */ 6303 /* ARB_explicit_attrib_location, but it has none */ 6304 /* ARB_occlusion_query2 (no entry points) */ 6305 /* ARB_shader_bit_encoding (no entry points) */ 6306 /* ARB_texture_rgb10_a2ui (no entry points) */ 6307 /* ARB_texture_swizzle (no entry points) */ 6308 /* ARB_timer_query */ 6309 /* ARB_vertex_type_2_10_10_10_rev */ 6310 #ifdef GL_GLEXT_PROTOTYPES 6311 GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor); 6312 #endif /* GL_GLEXT_PROTOTYPES */ 6313 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor); 6314 #endif 6315 6316 #ifndef GL_VERSION_4_0 6317 #define GL_VERSION_4_0 1 6318 /* OpenGL 4.0 also reuses entry points from these extensions: */ 6319 /* ARB_texture_query_lod (no entry points) */ 6320 /* ARB_draw_indirect */ 6321 /* ARB_gpu_shader5 (no entry points) */ 6322 /* ARB_gpu_shader_fp64 */ 6323 /* ARB_shader_subroutine */ 6324 /* ARB_tessellation_shader */ 6325 /* ARB_texture_buffer_object_rgb32 (no entry points) */ 6326 /* ARB_texture_cube_map_array (no entry points) */ 6327 /* ARB_texture_gather (no entry points) */ 6328 /* ARB_transform_feedback2 */ 6329 /* ARB_transform_feedback3 */ 6330 #ifdef GL_GLEXT_PROTOTYPES 6331 GLAPI void APIENTRY glMinSampleShading (GLfloat value); 6332 GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode); 6333 GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 6334 GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst); 6335 GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 6336 #endif /* GL_GLEXT_PROTOTYPES */ 6337 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value); 6338 typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode); 6339 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 6340 typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst); 6341 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 6342 #endif 6343 6344 #ifndef GL_VERSION_4_1 6345 #define GL_VERSION_4_1 1 6346 /* OpenGL 4.1 reuses entry points from these extensions: */ 6347 /* ARB_ES2_compatibility */ 6348 /* ARB_get_program_binary */ 6349 /* ARB_separate_shader_objects */ 6350 /* ARB_shader_precision (no entry points) */ 6351 /* ARB_vertex_attrib_64bit */ 6352 /* ARB_viewport_array */ 6353 #endif 6354 6355 #ifndef GL_VERSION_4_2 6356 #define GL_VERSION_4_2 1 6357 /* OpenGL 4.2 reuses entry points from these extensions: */ 6358 /* ARB_base_instance */ 6359 /* ARB_shading_language_420pack (no entry points) */ 6360 /* ARB_transform_feedback_instanced */ 6361 /* ARB_compressed_texture_pixel_storage (no entry points) */ 6362 /* ARB_conservative_depth (no entry points) */ 6363 /* ARB_internalformat_query */ 6364 /* ARB_map_buffer_alignment (no entry points) */ 6365 /* ARB_shader_atomic_counters */ 6366 /* ARB_shader_image_load_store */ 6367 /* ARB_shading_language_packing (no entry points) */ 6368 /* ARB_texture_storage */ 6369 #endif 6370 6371 #ifndef GL_ARB_multitexture 6372 #define GL_ARB_multitexture 1 6373 #ifdef GL_GLEXT_PROTOTYPES 6374 GLAPI void APIENTRY glActiveTextureARB (GLenum texture); 6375 GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture); 6376 GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s); 6377 GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v); 6378 GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s); 6379 GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v); 6380 GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s); 6381 GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v); 6382 GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s); 6383 GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v); 6384 GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t); 6385 GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v); 6386 GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t); 6387 GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v); 6388 GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t); 6389 GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v); 6390 GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t); 6391 GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v); 6392 GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r); 6393 GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v); 6394 GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r); 6395 GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v); 6396 GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r); 6397 GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v); 6398 GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r); 6399 GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v); 6400 GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 6401 GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v); 6402 GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 6403 GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v); 6404 GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q); 6405 GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v); 6406 GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 6407 GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v); 6408 #endif /* GL_GLEXT_PROTOTYPES */ 6409 typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture); 6410 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); 6411 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); 6412 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); 6413 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); 6414 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); 6415 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); 6416 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); 6417 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); 6418 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); 6419 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); 6420 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); 6421 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); 6422 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); 6423 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); 6424 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); 6425 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); 6426 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); 6427 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); 6428 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); 6429 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); 6430 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); 6431 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); 6432 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); 6433 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); 6434 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); 6435 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 6436 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); 6437 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 6438 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); 6439 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); 6440 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); 6441 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 6442 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); 6443 #endif 6444 6445 #ifndef GL_ARB_transpose_matrix 6446 #define GL_ARB_transpose_matrix 1 6447 #ifdef GL_GLEXT_PROTOTYPES 6448 GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m); 6449 GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m); 6450 GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m); 6451 GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m); 6452 #endif /* GL_GLEXT_PROTOTYPES */ 6453 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); 6454 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); 6455 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); 6456 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); 6457 #endif 6458 6459 #ifndef GL_ARB_multisample 6460 #define GL_ARB_multisample 1 6461 #ifdef GL_GLEXT_PROTOTYPES 6462 GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert); 6463 #endif /* GL_GLEXT_PROTOTYPES */ 6464 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert); 6465 #endif 6466 6467 #ifndef GL_ARB_texture_env_add 6468 #define GL_ARB_texture_env_add 1 6469 #endif 6470 6471 #ifndef GL_ARB_texture_cube_map 6472 #define GL_ARB_texture_cube_map 1 6473 #endif 6474 6475 #ifndef GL_ARB_texture_compression 6476 #define GL_ARB_texture_compression 1 6477 #ifdef GL_GLEXT_PROTOTYPES 6478 GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); 6479 GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); 6480 GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); 6481 GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); 6482 GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); 6483 GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); 6484 GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, GLvoid *img); 6485 #endif /* GL_GLEXT_PROTOTYPES */ 6486 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); 6487 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); 6488 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); 6489 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); 6490 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); 6491 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); 6492 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img); 6493 #endif 6494 6495 #ifndef GL_ARB_texture_border_clamp 6496 #define GL_ARB_texture_border_clamp 1 6497 #endif 6498 6499 #ifndef GL_ARB_point_parameters 6500 #define GL_ARB_point_parameters 1 6501 #ifdef GL_GLEXT_PROTOTYPES 6502 GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param); 6503 GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params); 6504 #endif /* GL_GLEXT_PROTOTYPES */ 6505 typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param); 6506 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params); 6507 #endif 6508 6509 #ifndef GL_ARB_vertex_blend 6510 #define GL_ARB_vertex_blend 1 6511 #ifdef GL_GLEXT_PROTOTYPES 6512 GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights); 6513 GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights); 6514 GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights); 6515 GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights); 6516 GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights); 6517 GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights); 6518 GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights); 6519 GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights); 6520 GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 6521 GLAPI void APIENTRY glVertexBlendARB (GLint count); 6522 #endif /* GL_GLEXT_PROTOTYPES */ 6523 typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights); 6524 typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights); 6525 typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights); 6526 typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights); 6527 typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights); 6528 typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights); 6529 typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights); 6530 typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights); 6531 typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 6532 typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count); 6533 #endif 6534 6535 #ifndef GL_ARB_matrix_palette 6536 #define GL_ARB_matrix_palette 1 6537 #ifdef GL_GLEXT_PROTOTYPES 6538 GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index); 6539 GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices); 6540 GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices); 6541 GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices); 6542 GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 6543 #endif /* GL_GLEXT_PROTOTYPES */ 6544 typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index); 6545 typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices); 6546 typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices); 6547 typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices); 6548 typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 6549 #endif 6550 6551 #ifndef GL_ARB_texture_env_combine 6552 #define GL_ARB_texture_env_combine 1 6553 #endif 6554 6555 #ifndef GL_ARB_texture_env_crossbar 6556 #define GL_ARB_texture_env_crossbar 1 6557 #endif 6558 6559 #ifndef GL_ARB_texture_env_dot3 6560 #define GL_ARB_texture_env_dot3 1 6561 #endif 6562 6563 #ifndef GL_ARB_texture_mirrored_repeat 6564 #define GL_ARB_texture_mirrored_repeat 1 6565 #endif 6566 6567 #ifndef GL_ARB_depth_texture 6568 #define GL_ARB_depth_texture 1 6569 #endif 6570 6571 #ifndef GL_ARB_shadow 6572 #define GL_ARB_shadow 1 6573 #endif 6574 6575 #ifndef GL_ARB_shadow_ambient 6576 #define GL_ARB_shadow_ambient 1 6577 #endif 6578 6579 #ifndef GL_ARB_window_pos 6580 #define GL_ARB_window_pos 1 6581 #ifdef GL_GLEXT_PROTOTYPES 6582 GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y); 6583 GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v); 6584 GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y); 6585 GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v); 6586 GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y); 6587 GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v); 6588 GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y); 6589 GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v); 6590 GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z); 6591 GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v); 6592 GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z); 6593 GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v); 6594 GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z); 6595 GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v); 6596 GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z); 6597 GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v); 6598 #endif /* GL_GLEXT_PROTOTYPES */ 6599 typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y); 6600 typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v); 6601 typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y); 6602 typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v); 6603 typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y); 6604 typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v); 6605 typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y); 6606 typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v); 6607 typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z); 6608 typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v); 6609 typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z); 6610 typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v); 6611 typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z); 6612 typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v); 6613 typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z); 6614 typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v); 6615 #endif 6616 6617 #ifndef GL_ARB_vertex_program 6618 #define GL_ARB_vertex_program 1 6619 #ifdef GL_GLEXT_PROTOTYPES 6620 GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x); 6621 GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v); 6622 GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x); 6623 GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v); 6624 GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x); 6625 GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v); 6626 GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y); 6627 GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v); 6628 GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y); 6629 GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v); 6630 GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y); 6631 GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v); 6632 GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z); 6633 GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v); 6634 GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z); 6635 GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v); 6636 GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z); 6637 GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v); 6638 GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v); 6639 GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v); 6640 GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v); 6641 GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 6642 GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v); 6643 GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v); 6644 GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v); 6645 GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v); 6646 GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 6647 GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v); 6648 GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 6649 GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v); 6650 GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v); 6651 GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 6652 GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v); 6653 GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v); 6654 GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v); 6655 GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v); 6656 GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); 6657 GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index); 6658 GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index); 6659 GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const GLvoid *string); 6660 GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program); 6661 GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs); 6662 GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs); 6663 GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 6664 GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params); 6665 GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 6666 GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params); 6667 GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 6668 GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params); 6669 GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 6670 GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params); 6671 GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params); 6672 GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params); 6673 GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params); 6674 GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params); 6675 GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params); 6676 GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, GLvoid *string); 6677 GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params); 6678 GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params); 6679 GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params); 6680 GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, GLvoid* *pointer); 6681 GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program); 6682 #endif /* GL_GLEXT_PROTOTYPES */ 6683 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x); 6684 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v); 6685 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x); 6686 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v); 6687 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x); 6688 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v); 6689 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y); 6690 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v); 6691 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y); 6692 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v); 6693 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y); 6694 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v); 6695 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); 6696 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v); 6697 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); 6698 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v); 6699 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z); 6700 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v); 6701 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v); 6702 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v); 6703 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v); 6704 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 6705 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v); 6706 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v); 6707 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v); 6708 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v); 6709 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 6710 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v); 6711 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 6712 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v); 6713 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v); 6714 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 6715 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v); 6716 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v); 6717 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v); 6718 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v); 6719 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); 6720 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); 6721 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); 6722 typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string); 6723 typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program); 6724 typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs); 6725 typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs); 6726 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 6727 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); 6728 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 6729 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); 6730 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 6731 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); 6732 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 6733 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); 6734 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); 6735 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); 6736 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); 6737 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); 6738 typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params); 6739 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string); 6740 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params); 6741 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params); 6742 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params); 6743 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer); 6744 typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program); 6745 #endif 6746 6747 #ifndef GL_ARB_fragment_program 6748 #define GL_ARB_fragment_program 1 6749 /* All ARB_fragment_program entry points are shared with ARB_vertex_program. */ 6750 #endif 6751 6752 #ifndef GL_ARB_vertex_buffer_object 6753 #define GL_ARB_vertex_buffer_object 1 6754 #ifdef GL_GLEXT_PROTOTYPES 6755 GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer); 6756 GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers); 6757 GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers); 6758 GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer); 6759 GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage); 6760 GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data); 6761 GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data); 6762 GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum target, GLenum access); 6763 GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target); 6764 GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params); 6765 GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, GLvoid* *params); 6766 #endif /* GL_GLEXT_PROTOTYPES */ 6767 typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer); 6768 typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers); 6769 typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers); 6770 typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer); 6771 typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage); 6772 typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data); 6773 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data); 6774 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access); 6775 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target); 6776 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params); 6777 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params); 6778 #endif 6779 6780 #ifndef GL_ARB_occlusion_query 6781 #define GL_ARB_occlusion_query 1 6782 #ifdef GL_GLEXT_PROTOTYPES 6783 GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids); 6784 GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids); 6785 GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id); 6786 GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id); 6787 GLAPI void APIENTRY glEndQueryARB (GLenum target); 6788 GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params); 6789 GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params); 6790 GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params); 6791 #endif /* GL_GLEXT_PROTOTYPES */ 6792 typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids); 6793 typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids); 6794 typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id); 6795 typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id); 6796 typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target); 6797 typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params); 6798 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params); 6799 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params); 6800 #endif 6801 6802 #ifndef GL_ARB_shader_objects 6803 #define GL_ARB_shader_objects 1 6804 #ifdef GL_GLEXT_PROTOTYPES 6805 GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj); 6806 GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname); 6807 GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj); 6808 GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType); 6809 GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length); 6810 GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj); 6811 GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void); 6812 GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj); 6813 GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj); 6814 GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj); 6815 GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj); 6816 GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0); 6817 GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1); 6818 GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 6819 GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 6820 GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0); 6821 GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1); 6822 GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2); 6823 GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 6824 GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value); 6825 GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value); 6826 GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value); 6827 GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value); 6828 GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value); 6829 GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value); 6830 GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value); 6831 GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value); 6832 GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6833 GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6834 GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6835 GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params); 6836 GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params); 6837 GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog); 6838 GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj); 6839 GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name); 6840 GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); 6841 GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params); 6842 GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params); 6843 GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source); 6844 #endif /* GL_GLEXT_PROTOTYPES */ 6845 typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj); 6846 typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname); 6847 typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj); 6848 typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType); 6849 typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length); 6850 typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj); 6851 typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void); 6852 typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj); 6853 typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj); 6854 typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj); 6855 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj); 6856 typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0); 6857 typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1); 6858 typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 6859 typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 6860 typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0); 6861 typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1); 6862 typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2); 6863 typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 6864 typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); 6865 typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); 6866 typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); 6867 typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); 6868 typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value); 6869 typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value); 6870 typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value); 6871 typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value); 6872 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6873 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6874 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 6875 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params); 6876 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params); 6877 typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog); 6878 typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj); 6879 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); 6880 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); 6881 typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params); 6882 typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params); 6883 typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source); 6884 #endif 6885 6886 #ifndef GL_ARB_vertex_shader 6887 #define GL_ARB_vertex_shader 1 6888 #ifdef GL_GLEXT_PROTOTYPES 6889 GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name); 6890 GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); 6891 GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name); 6892 #endif /* GL_GLEXT_PROTOTYPES */ 6893 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name); 6894 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); 6895 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); 6896 #endif 6897 6898 #ifndef GL_ARB_fragment_shader 6899 #define GL_ARB_fragment_shader 1 6900 #endif 6901 6902 #ifndef GL_ARB_shading_language_100 6903 #define GL_ARB_shading_language_100 1 6904 #endif 6905 6906 #ifndef GL_ARB_texture_non_power_of_two 6907 #define GL_ARB_texture_non_power_of_two 1 6908 #endif 6909 6910 #ifndef GL_ARB_point_sprite 6911 #define GL_ARB_point_sprite 1 6912 #endif 6913 6914 #ifndef GL_ARB_fragment_program_shadow 6915 #define GL_ARB_fragment_program_shadow 1 6916 #endif 6917 6918 #ifndef GL_ARB_draw_buffers 6919 #define GL_ARB_draw_buffers 1 6920 #ifdef GL_GLEXT_PROTOTYPES 6921 GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs); 6922 #endif /* GL_GLEXT_PROTOTYPES */ 6923 typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs); 6924 #endif 6925 6926 #ifndef GL_ARB_texture_rectangle 6927 #define GL_ARB_texture_rectangle 1 6928 #endif 6929 6930 #ifndef GL_ARB_color_buffer_float 6931 #define GL_ARB_color_buffer_float 1 6932 #ifdef GL_GLEXT_PROTOTYPES 6933 GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp); 6934 #endif /* GL_GLEXT_PROTOTYPES */ 6935 typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp); 6936 #endif 6937 6938 #ifndef GL_ARB_half_float_pixel 6939 #define GL_ARB_half_float_pixel 1 6940 #endif 6941 6942 #ifndef GL_ARB_texture_float 6943 #define GL_ARB_texture_float 1 6944 #endif 6945 6946 #ifndef GL_ARB_pixel_buffer_object 6947 #define GL_ARB_pixel_buffer_object 1 6948 #endif 6949 6950 #ifndef GL_ARB_depth_buffer_float 6951 #define GL_ARB_depth_buffer_float 1 6952 #endif 6953 6954 #ifndef GL_ARB_draw_instanced 6955 #define GL_ARB_draw_instanced 1 6956 #ifdef GL_GLEXT_PROTOTYPES 6957 GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 6958 GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); 6959 #endif /* GL_GLEXT_PROTOTYPES */ 6960 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 6961 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); 6962 #endif 6963 6964 #ifndef GL_ARB_framebuffer_object 6965 #define GL_ARB_framebuffer_object 1 6966 #ifdef GL_GLEXT_PROTOTYPES 6967 GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer); 6968 GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); 6969 GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); 6970 GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); 6971 GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 6972 GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); 6973 GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer); 6974 GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); 6975 GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); 6976 GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); 6977 GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target); 6978 GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 6979 GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 6980 GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 6981 GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 6982 GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); 6983 GLAPI void APIENTRY glGenerateMipmap (GLenum target); 6984 GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 6985 GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 6986 GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 6987 #endif /* GL_GLEXT_PROTOTYPES */ 6988 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); 6989 typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); 6990 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers); 6991 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); 6992 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 6993 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 6994 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); 6995 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); 6996 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers); 6997 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); 6998 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); 6999 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 7000 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 7001 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 7002 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 7003 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); 7004 typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target); 7005 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 7006 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 7007 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 7008 #endif 7009 7010 #ifndef GL_ARB_framebuffer_sRGB 7011 #define GL_ARB_framebuffer_sRGB 1 7012 #endif 7013 7014 #ifndef GL_ARB_geometry_shader4 7015 #define GL_ARB_geometry_shader4 1 7016 #ifdef GL_GLEXT_PROTOTYPES 7017 GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value); 7018 GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level); 7019 GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 7020 GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); 7021 #endif /* GL_GLEXT_PROTOTYPES */ 7022 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value); 7023 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); 7024 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 7025 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); 7026 #endif 7027 7028 #ifndef GL_ARB_half_float_vertex 7029 #define GL_ARB_half_float_vertex 1 7030 #endif 7031 7032 #ifndef GL_ARB_instanced_arrays 7033 #define GL_ARB_instanced_arrays 1 7034 #ifdef GL_GLEXT_PROTOTYPES 7035 GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor); 7036 #endif /* GL_GLEXT_PROTOTYPES */ 7037 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor); 7038 #endif 7039 7040 #ifndef GL_ARB_map_buffer_range 7041 #define GL_ARB_map_buffer_range 1 7042 #ifdef GL_GLEXT_PROTOTYPES 7043 GLAPI GLvoid* APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 7044 GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); 7045 #endif /* GL_GLEXT_PROTOTYPES */ 7046 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 7047 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); 7048 #endif 7049 7050 #ifndef GL_ARB_texture_buffer_object 7051 #define GL_ARB_texture_buffer_object 1 7052 #ifdef GL_GLEXT_PROTOTYPES 7053 GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer); 7054 #endif /* GL_GLEXT_PROTOTYPES */ 7055 typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer); 7056 #endif 7057 7058 #ifndef GL_ARB_texture_compression_rgtc 7059 #define GL_ARB_texture_compression_rgtc 1 7060 #endif 7061 7062 #ifndef GL_ARB_texture_rg 7063 #define GL_ARB_texture_rg 1 7064 #endif 7065 7066 #ifndef GL_ARB_vertex_array_object 7067 #define GL_ARB_vertex_array_object 1 7068 #ifdef GL_GLEXT_PROTOTYPES 7069 GLAPI void APIENTRY glBindVertexArray (GLuint array); 7070 GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays); 7071 GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays); 7072 GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array); 7073 #endif /* GL_GLEXT_PROTOTYPES */ 7074 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array); 7075 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays); 7076 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); 7077 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array); 7078 #endif 7079 7080 #ifndef GL_ARB_uniform_buffer_object 7081 #define GL_ARB_uniform_buffer_object 1 7082 #ifdef GL_GLEXT_PROTOTYPES 7083 GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices); 7084 GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); 7085 GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); 7086 GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName); 7087 GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); 7088 GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); 7089 GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); 7090 #endif /* GL_GLEXT_PROTOTYPES */ 7091 typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices); 7092 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); 7093 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); 7094 typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName); 7095 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); 7096 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); 7097 typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); 7098 #endif 7099 7100 #ifndef GL_ARB_compatibility 7101 #define GL_ARB_compatibility 1 7102 #endif 7103 7104 #ifndef GL_ARB_copy_buffer 7105 #define GL_ARB_copy_buffer 1 7106 #ifdef GL_GLEXT_PROTOTYPES 7107 GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 7108 #endif /* GL_GLEXT_PROTOTYPES */ 7109 typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 7110 #endif 7111 7112 #ifndef GL_ARB_shader_texture_lod 7113 #define GL_ARB_shader_texture_lod 1 7114 #endif 7115 7116 #ifndef GL_ARB_depth_clamp 7117 #define GL_ARB_depth_clamp 1 7118 #endif 7119 7120 #ifndef GL_ARB_draw_elements_base_vertex 7121 #define GL_ARB_draw_elements_base_vertex 1 7122 #ifdef GL_GLEXT_PROTOTYPES 7123 GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); 7124 GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); 7125 GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex); 7126 GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, const GLint *basevertex); 7127 #endif /* GL_GLEXT_PROTOTYPES */ 7128 typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); 7129 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); 7130 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex); 7131 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, const GLint *basevertex); 7132 #endif 7133 7134 #ifndef GL_ARB_fragment_coord_conventions 7135 #define GL_ARB_fragment_coord_conventions 1 7136 #endif 7137 7138 #ifndef GL_ARB_provoking_vertex 7139 #define GL_ARB_provoking_vertex 1 7140 #ifdef GL_GLEXT_PROTOTYPES 7141 GLAPI void APIENTRY glProvokingVertex (GLenum mode); 7142 #endif /* GL_GLEXT_PROTOTYPES */ 7143 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode); 7144 #endif 7145 7146 #ifndef GL_ARB_seamless_cube_map 7147 #define GL_ARB_seamless_cube_map 1 7148 #endif 7149 7150 #ifndef GL_ARB_sync 7151 #define GL_ARB_sync 1 7152 #ifdef GL_GLEXT_PROTOTYPES 7153 GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags); 7154 GLAPI GLboolean APIENTRY glIsSync (GLsync sync); 7155 GLAPI void APIENTRY glDeleteSync (GLsync sync); 7156 GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); 7157 GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); 7158 GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *params); 7159 GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 7160 #endif /* GL_GLEXT_PROTOTYPES */ 7161 typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags); 7162 typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync); 7163 typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); 7164 typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); 7165 typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); 7166 typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *params); 7167 typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 7168 #endif 7169 7170 #ifndef GL_ARB_texture_multisample 7171 #define GL_ARB_texture_multisample 1 7172 #ifdef GL_GLEXT_PROTOTYPES 7173 GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 7174 GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 7175 GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val); 7176 GLAPI void APIENTRY glSampleMaski (GLuint index, GLbitfield mask); 7177 #endif /* GL_GLEXT_PROTOTYPES */ 7178 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 7179 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 7180 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val); 7181 typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint index, GLbitfield mask); 7182 #endif 7183 7184 #ifndef GL_ARB_vertex_array_bgra 7185 #define GL_ARB_vertex_array_bgra 1 7186 #endif 7187 7188 #ifndef GL_ARB_draw_buffers_blend 7189 #define GL_ARB_draw_buffers_blend 1 7190 #ifdef GL_GLEXT_PROTOTYPES 7191 GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode); 7192 GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 7193 GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst); 7194 GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 7195 #endif /* GL_GLEXT_PROTOTYPES */ 7196 typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode); 7197 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 7198 typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst); 7199 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 7200 #endif 7201 7202 #ifndef GL_ARB_sample_shading 7203 #define GL_ARB_sample_shading 1 7204 #ifdef GL_GLEXT_PROTOTYPES 7205 GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value); 7206 #endif /* GL_GLEXT_PROTOTYPES */ 7207 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value); 7208 #endif 7209 7210 #ifndef GL_ARB_texture_cube_map_array 7211 #define GL_ARB_texture_cube_map_array 1 7212 #endif 7213 7214 #ifndef GL_ARB_texture_gather 7215 #define GL_ARB_texture_gather 1 7216 #endif 7217 7218 #ifndef GL_ARB_texture_query_lod 7219 #define GL_ARB_texture_query_lod 1 7220 #endif 7221 7222 #ifndef GL_ARB_shading_language_include 7223 #define GL_ARB_shading_language_include 1 7224 #ifdef GL_GLEXT_PROTOTYPES 7225 GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string); 7226 GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name); 7227 GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar* *path, const GLint *length); 7228 GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name); 7229 GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string); 7230 GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params); 7231 #endif /* GL_GLEXT_PROTOTYPES */ 7232 typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string); 7233 typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name); 7234 typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar* *path, const GLint *length); 7235 typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name); 7236 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string); 7237 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params); 7238 #endif 7239 7240 #ifndef GL_ARB_texture_compression_bptc 7241 #define GL_ARB_texture_compression_bptc 1 7242 #endif 7243 7244 #ifndef GL_ARB_blend_func_extended 7245 #define GL_ARB_blend_func_extended 1 7246 #ifdef GL_GLEXT_PROTOTYPES 7247 GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); 7248 GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name); 7249 #endif /* GL_GLEXT_PROTOTYPES */ 7250 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); 7251 typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name); 7252 #endif 7253 7254 #ifndef GL_ARB_explicit_attrib_location 7255 #define GL_ARB_explicit_attrib_location 1 7256 #endif 7257 7258 #ifndef GL_ARB_occlusion_query2 7259 #define GL_ARB_occlusion_query2 1 7260 #endif 7261 7262 #ifndef GL_ARB_sampler_objects 7263 #define GL_ARB_sampler_objects 1 7264 #ifdef GL_GLEXT_PROTOTYPES 7265 GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); 7266 GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers); 7267 GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler); 7268 GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler); 7269 GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); 7270 GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param); 7271 GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); 7272 GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param); 7273 GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param); 7274 GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param); 7275 GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params); 7276 GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params); 7277 GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params); 7278 GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params); 7279 #endif /* GL_GLEXT_PROTOTYPES */ 7280 typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers); 7281 typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers); 7282 typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler); 7283 typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler); 7284 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param); 7285 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param); 7286 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param); 7287 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param); 7288 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param); 7289 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param); 7290 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params); 7291 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params); 7292 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params); 7293 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params); 7294 #endif 7295 7296 #ifndef GL_ARB_shader_bit_encoding 7297 #define GL_ARB_shader_bit_encoding 1 7298 #endif 7299 7300 #ifndef GL_ARB_texture_rgb10_a2ui 7301 #define GL_ARB_texture_rgb10_a2ui 1 7302 #endif 7303 7304 #ifndef GL_ARB_texture_swizzle 7305 #define GL_ARB_texture_swizzle 1 7306 #endif 7307 7308 #ifndef GL_ARB_timer_query 7309 #define GL_ARB_timer_query 1 7310 #ifdef GL_GLEXT_PROTOTYPES 7311 GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target); 7312 GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params); 7313 GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params); 7314 #endif /* GL_GLEXT_PROTOTYPES */ 7315 typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target); 7316 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params); 7317 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params); 7318 #endif 7319 7320 #ifndef GL_ARB_vertex_type_2_10_10_10_rev 7321 #define GL_ARB_vertex_type_2_10_10_10_rev 1 7322 #ifdef GL_GLEXT_PROTOTYPES 7323 GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value); 7324 GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value); 7325 GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value); 7326 GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value); 7327 GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value); 7328 GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value); 7329 GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords); 7330 GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords); 7331 GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords); 7332 GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords); 7333 GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords); 7334 GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords); 7335 GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords); 7336 GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords); 7337 GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords); 7338 GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords); 7339 GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords); 7340 GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords); 7341 GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords); 7342 GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords); 7343 GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords); 7344 GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords); 7345 GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords); 7346 GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords); 7347 GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color); 7348 GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color); 7349 GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color); 7350 GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color); 7351 GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color); 7352 GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color); 7353 GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); 7354 GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 7355 GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); 7356 GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 7357 GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); 7358 GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 7359 GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); 7360 GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 7361 #endif /* GL_GLEXT_PROTOTYPES */ 7362 typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value); 7363 typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value); 7364 typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value); 7365 typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value); 7366 typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value); 7367 typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value); 7368 typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords); 7369 typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords); 7370 typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords); 7371 typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords); 7372 typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords); 7373 typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords); 7374 typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords); 7375 typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords); 7376 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords); 7377 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords); 7378 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords); 7379 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords); 7380 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords); 7381 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords); 7382 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords); 7383 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords); 7384 typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords); 7385 typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords); 7386 typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color); 7387 typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color); 7388 typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color); 7389 typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color); 7390 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color); 7391 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color); 7392 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); 7393 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 7394 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); 7395 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 7396 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); 7397 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 7398 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); 7399 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 7400 #endif 7401 7402 #ifndef GL_ARB_draw_indirect 7403 #define GL_ARB_draw_indirect 1 7404 #ifdef GL_GLEXT_PROTOTYPES 7405 GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const GLvoid *indirect); 7406 GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const GLvoid *indirect); 7407 #endif /* GL_GLEXT_PROTOTYPES */ 7408 typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const GLvoid *indirect); 7409 typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const GLvoid *indirect); 7410 #endif 7411 7412 #ifndef GL_ARB_gpu_shader5 7413 #define GL_ARB_gpu_shader5 1 7414 #endif 7415 7416 #ifndef GL_ARB_gpu_shader_fp64 7417 #define GL_ARB_gpu_shader_fp64 1 7418 #ifdef GL_GLEXT_PROTOTYPES 7419 GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x); 7420 GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y); 7421 GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z); 7422 GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 7423 GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value); 7424 GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value); 7425 GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value); 7426 GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value); 7427 GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7428 GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7429 GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7430 GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7431 GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7432 GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7433 GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7434 GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7435 GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7436 GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params); 7437 #endif /* GL_GLEXT_PROTOTYPES */ 7438 typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x); 7439 typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y); 7440 typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z); 7441 typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 7442 typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value); 7443 typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value); 7444 typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value); 7445 typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value); 7446 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7447 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7448 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7449 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7450 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7451 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7452 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7453 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7454 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7455 typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params); 7456 #endif 7457 7458 #ifndef GL_ARB_shader_subroutine 7459 #define GL_ARB_shader_subroutine 1 7460 #ifdef GL_GLEXT_PROTOTYPES 7461 GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name); 7462 GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name); 7463 GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); 7464 GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); 7465 GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); 7466 GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices); 7467 GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params); 7468 GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values); 7469 #endif /* GL_GLEXT_PROTOTYPES */ 7470 typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name); 7471 typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name); 7472 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); 7473 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); 7474 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); 7475 typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices); 7476 typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params); 7477 typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values); 7478 #endif 7479 7480 #ifndef GL_ARB_tessellation_shader 7481 #define GL_ARB_tessellation_shader 1 7482 #ifdef GL_GLEXT_PROTOTYPES 7483 GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value); 7484 GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values); 7485 #endif /* GL_GLEXT_PROTOTYPES */ 7486 typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value); 7487 typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values); 7488 #endif 7489 7490 #ifndef GL_ARB_texture_buffer_object_rgb32 7491 #define GL_ARB_texture_buffer_object_rgb32 1 7492 #endif 7493 7494 #ifndef GL_ARB_transform_feedback2 7495 #define GL_ARB_transform_feedback2 1 7496 #ifdef GL_GLEXT_PROTOTYPES 7497 GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id); 7498 GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids); 7499 GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids); 7500 GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id); 7501 GLAPI void APIENTRY glPauseTransformFeedback (void); 7502 GLAPI void APIENTRY glResumeTransformFeedback (void); 7503 GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id); 7504 #endif /* GL_GLEXT_PROTOTYPES */ 7505 typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id); 7506 typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids); 7507 typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids); 7508 typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id); 7509 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void); 7510 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void); 7511 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id); 7512 #endif 7513 7514 #ifndef GL_ARB_transform_feedback3 7515 #define GL_ARB_transform_feedback3 1 7516 #ifdef GL_GLEXT_PROTOTYPES 7517 GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream); 7518 GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id); 7519 GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index); 7520 GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params); 7521 #endif /* GL_GLEXT_PROTOTYPES */ 7522 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream); 7523 typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id); 7524 typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index); 7525 typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); 7526 #endif 7527 7528 #ifndef GL_ARB_ES2_compatibility 7529 #define GL_ARB_ES2_compatibility 1 7530 #ifdef GL_GLEXT_PROTOTYPES 7531 GLAPI void APIENTRY glReleaseShaderCompiler (void); 7532 GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length); 7533 GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); 7534 GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f); 7535 GLAPI void APIENTRY glClearDepthf (GLfloat d); 7536 #endif /* GL_GLEXT_PROTOTYPES */ 7537 typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); 7538 typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length); 7539 typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); 7540 typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); 7541 typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); 7542 #endif 7543 7544 #ifndef GL_ARB_get_program_binary 7545 #define GL_ARB_get_program_binary 1 7546 #ifdef GL_GLEXT_PROTOTYPES 7547 GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); 7548 GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length); 7549 GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value); 7550 #endif /* GL_GLEXT_PROTOTYPES */ 7551 typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); 7552 typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length); 7553 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value); 7554 #endif 7555 7556 #ifndef GL_ARB_separate_shader_objects 7557 #define GL_ARB_separate_shader_objects 1 7558 #ifdef GL_GLEXT_PROTOTYPES 7559 GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program); 7560 GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program); 7561 GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar* const *strings); 7562 GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline); 7563 GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines); 7564 GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines); 7565 GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline); 7566 GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params); 7567 GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0); 7568 GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value); 7569 GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0); 7570 GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); 7571 GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0); 7572 GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); 7573 GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0); 7574 GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); 7575 GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1); 7576 GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value); 7577 GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1); 7578 GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); 7579 GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1); 7580 GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); 7581 GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1); 7582 GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); 7583 GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 7584 GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value); 7585 GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 7586 GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); 7587 GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); 7588 GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); 7589 GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 7590 GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); 7591 GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 7592 GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value); 7593 GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 7594 GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); 7595 GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); 7596 GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); 7597 GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 7598 GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); 7599 GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7600 GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7601 GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7602 GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7603 GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7604 GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7605 GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7606 GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7607 GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7608 GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7609 GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7610 GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7611 GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7612 GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7613 GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7614 GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7615 GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7616 GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7617 GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline); 7618 GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 7619 #endif /* GL_GLEXT_PROTOTYPES */ 7620 typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program); 7621 typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program); 7622 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar* const *strings); 7623 typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline); 7624 typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines); 7625 typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines); 7626 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline); 7627 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params); 7628 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0); 7629 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 7630 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0); 7631 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 7632 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0); 7633 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 7634 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0); 7635 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 7636 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1); 7637 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 7638 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); 7639 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 7640 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1); 7641 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 7642 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); 7643 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 7644 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 7645 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 7646 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 7647 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 7648 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); 7649 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 7650 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 7651 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 7652 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 7653 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 7654 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 7655 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 7656 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); 7657 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 7658 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 7659 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 7660 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7661 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7662 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7663 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7664 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7665 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7666 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7667 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7668 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7669 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7670 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7671 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 7672 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7673 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7674 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7675 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7676 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7677 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 7678 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline); 7679 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 7680 #endif 7681 7682 #ifndef GL_ARB_vertex_attrib_64bit 7683 #define GL_ARB_vertex_attrib_64bit 1 7684 #ifdef GL_GLEXT_PROTOTYPES 7685 GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x); 7686 GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y); 7687 GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z); 7688 GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 7689 GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v); 7690 GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v); 7691 GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v); 7692 GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v); 7693 GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 7694 GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params); 7695 #endif /* GL_GLEXT_PROTOTYPES */ 7696 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x); 7697 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y); 7698 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); 7699 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 7700 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v); 7701 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v); 7702 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v); 7703 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v); 7704 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 7705 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params); 7706 #endif 7707 7708 #ifndef GL_ARB_viewport_array 7709 #define GL_ARB_viewport_array 1 7710 #ifdef GL_GLEXT_PROTOTYPES 7711 GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v); 7712 GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 7713 GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v); 7714 GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v); 7715 GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 7716 GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v); 7717 GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v); 7718 GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f); 7719 GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data); 7720 GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data); 7721 #endif /* GL_GLEXT_PROTOTYPES */ 7722 typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v); 7723 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 7724 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v); 7725 typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v); 7726 typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 7727 typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v); 7728 typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v); 7729 typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f); 7730 typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data); 7731 typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data); 7732 #endif 7733 7734 #ifndef GL_ARB_cl_event 7735 #define GL_ARB_cl_event 1 7736 #ifdef GL_GLEXT_PROTOTYPES 7737 GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context * context, struct _cl_event * event, GLbitfield flags); 7738 #endif /* GL_GLEXT_PROTOTYPES */ 7739 typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context * context, struct _cl_event * event, GLbitfield flags); 7740 #endif 7741 7742 #ifndef GL_ARB_debug_output 7743 #define GL_ARB_debug_output 1 7744 #ifdef GL_GLEXT_PROTOTYPES 7745 GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 7746 GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 7747 GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const GLvoid *userParam); 7748 GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 7749 #endif /* GL_GLEXT_PROTOTYPES */ 7750 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 7751 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); 7752 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const GLvoid *userParam); 7753 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); 7754 #endif 7755 7756 #ifndef GL_ARB_robustness 7757 #define GL_ARB_robustness 1 7758 #ifdef GL_GLEXT_PROTOTYPES 7759 GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void); 7760 GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v); 7761 GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v); 7762 GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v); 7763 GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values); 7764 GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values); 7765 GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values); 7766 GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern); 7767 GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *table); 7768 GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *image); 7769 GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid *row, GLsizei columnBufSize, GLvoid *column, GLvoid *span); 7770 GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values); 7771 GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values); 7772 GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *img); 7773 GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data); 7774 GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, GLvoid *img); 7775 GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 7776 GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params); 7777 GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 7778 GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); 7779 #endif /* GL_GLEXT_PROTOTYPES */ 7780 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void); 7781 typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v); 7782 typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v); 7783 typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v); 7784 typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values); 7785 typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values); 7786 typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values); 7787 typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern); 7788 typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *table); 7789 typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *image); 7790 typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid *row, GLsizei columnBufSize, GLvoid *column, GLvoid *span); 7791 typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values); 7792 typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values); 7793 typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *img); 7794 typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data); 7795 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, GLvoid *img); 7796 typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); 7797 typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); 7798 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); 7799 typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); 7800 #endif 7801 7802 #ifndef GL_ARB_shader_stencil_export 7803 #define GL_ARB_shader_stencil_export 1 7804 #endif 7805 7806 #ifndef GL_ARB_base_instance 7807 #define GL_ARB_base_instance 1 7808 #ifdef GL_GLEXT_PROTOTYPES 7809 GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei primcount, GLuint baseinstance); 7810 GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount, GLuint baseinstance); 7811 GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount, GLint basevertex, GLuint baseinstance); 7812 #endif /* GL_GLEXT_PROTOTYPES */ 7813 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount, GLuint baseinstance); 7814 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount, GLuint baseinstance); 7815 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount, GLint basevertex, GLuint baseinstance); 7816 #endif 7817 7818 #ifndef GL_ARB_shading_language_420pack 7819 #define GL_ARB_shading_language_420pack 1 7820 #endif 7821 7822 #ifndef GL_ARB_transform_feedback_instanced 7823 #define GL_ARB_transform_feedback_instanced 1 7824 #ifdef GL_GLEXT_PROTOTYPES 7825 GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei primcount); 7826 GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei primcount); 7827 #endif /* GL_GLEXT_PROTOTYPES */ 7828 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei primcount); 7829 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei primcount); 7830 #endif 7831 7832 #ifndef GL_ARB_compressed_texture_pixel_storage 7833 #define GL_ARB_compressed_texture_pixel_storage 1 7834 #endif 7835 7836 #ifndef GL_ARB_conservative_depth 7837 #define GL_ARB_conservative_depth 1 7838 #endif 7839 7840 #ifndef GL_ARB_internalformat_query 7841 #define GL_ARB_internalformat_query 1 7842 #ifdef GL_GLEXT_PROTOTYPES 7843 GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); 7844 #endif /* GL_GLEXT_PROTOTYPES */ 7845 typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); 7846 #endif 7847 7848 #ifndef GL_ARB_map_buffer_alignment 7849 #define GL_ARB_map_buffer_alignment 1 7850 #endif 7851 7852 #ifndef GL_ARB_shader_atomic_counters 7853 #define GL_ARB_shader_atomic_counters 1 7854 #ifdef GL_GLEXT_PROTOTYPES 7855 GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); 7856 #endif /* GL_GLEXT_PROTOTYPES */ 7857 typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); 7858 #endif 7859 7860 #ifndef GL_ARB_shader_image_load_store 7861 #define GL_ARB_shader_image_load_store 1 7862 #ifdef GL_GLEXT_PROTOTYPES 7863 GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); 7864 GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers); 7865 #endif /* GL_GLEXT_PROTOTYPES */ 7866 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); 7867 typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers); 7868 #endif 7869 7870 #ifndef GL_ARB_shading_language_packing 7871 #define GL_ARB_shading_language_packing 1 7872 #endif 7873 7874 #ifndef GL_ARB_texture_storage 7875 #define GL_ARB_texture_storage 1 7876 #ifdef GL_GLEXT_PROTOTYPES 7877 GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 7878 GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 7879 GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 7880 GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 7881 GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 7882 GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 7883 #endif /* GL_GLEXT_PROTOTYPES */ 7884 typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 7885 typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 7886 typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 7887 typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 7888 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 7889 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 7890 #endif 7891 7892 #ifndef GL_EXT_abgr 7893 #define GL_EXT_abgr 1 7894 #endif 7895 7896 #ifndef GL_EXT_blend_color 7897 #define GL_EXT_blend_color 1 7898 #ifdef GL_GLEXT_PROTOTYPES 7899 GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 7900 #endif /* GL_GLEXT_PROTOTYPES */ 7901 typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 7902 #endif 7903 7904 #ifndef GL_EXT_polygon_offset 7905 #define GL_EXT_polygon_offset 1 7906 #ifdef GL_GLEXT_PROTOTYPES 7907 GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias); 7908 #endif /* GL_GLEXT_PROTOTYPES */ 7909 typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias); 7910 #endif 7911 7912 #ifndef GL_EXT_texture 7913 #define GL_EXT_texture 1 7914 #endif 7915 7916 #ifndef GL_EXT_texture3D 7917 #define GL_EXT_texture3D 1 7918 #ifdef GL_GLEXT_PROTOTYPES 7919 GLAPI void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 7920 GLAPI void APIENTRY glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); 7921 #endif /* GL_GLEXT_PROTOTYPES */ 7922 typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 7923 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); 7924 #endif 7925 7926 #ifndef GL_SGIS_texture_filter4 7927 #define GL_SGIS_texture_filter4 1 7928 #ifdef GL_GLEXT_PROTOTYPES 7929 GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights); 7930 GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights); 7931 #endif /* GL_GLEXT_PROTOTYPES */ 7932 typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights); 7933 typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights); 7934 #endif 7935 7936 #ifndef GL_EXT_subtexture 7937 #define GL_EXT_subtexture 1 7938 #ifdef GL_GLEXT_PROTOTYPES 7939 GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); 7940 GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); 7941 #endif /* GL_GLEXT_PROTOTYPES */ 7942 typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); 7943 typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); 7944 #endif 7945 7946 #ifndef GL_EXT_copy_texture 7947 #define GL_EXT_copy_texture 1 7948 #ifdef GL_GLEXT_PROTOTYPES 7949 GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 7950 GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 7951 GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 7952 GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 7953 GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 7954 #endif /* GL_GLEXT_PROTOTYPES */ 7955 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 7956 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 7957 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 7958 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 7959 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 7960 #endif 7961 7962 #ifndef GL_EXT_histogram 7963 #define GL_EXT_histogram 1 7964 #ifdef GL_GLEXT_PROTOTYPES 7965 GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 7966 GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params); 7967 GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params); 7968 GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 7969 GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params); 7970 GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params); 7971 GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); 7972 GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink); 7973 GLAPI void APIENTRY glResetHistogramEXT (GLenum target); 7974 GLAPI void APIENTRY glResetMinmaxEXT (GLenum target); 7975 #endif /* GL_GLEXT_PROTOTYPES */ 7976 typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 7977 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); 7978 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); 7979 typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 7980 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); 7981 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); 7982 typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); 7983 typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink); 7984 typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target); 7985 typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target); 7986 #endif 7987 7988 #ifndef GL_EXT_convolution 7989 #define GL_EXT_convolution 1 7990 #ifdef GL_GLEXT_PROTOTYPES 7991 GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); 7992 GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); 7993 GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params); 7994 GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params); 7995 GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params); 7996 GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params); 7997 GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 7998 GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); 7999 GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, GLvoid *image); 8000 GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params); 8001 GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params); 8002 GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); 8003 GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); 8004 #endif /* GL_GLEXT_PROTOTYPES */ 8005 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); 8006 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); 8007 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params); 8008 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); 8009 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params); 8010 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); 8011 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 8012 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); 8013 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); 8014 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); 8015 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); 8016 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); 8017 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); 8018 #endif 8019 8020 #ifndef GL_SGI_color_matrix 8021 #define GL_SGI_color_matrix 1 8022 #endif 8023 8024 #ifndef GL_SGI_color_table 8025 #define GL_SGI_color_table 1 8026 #ifdef GL_GLEXT_PROTOTYPES 8027 GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); 8028 GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params); 8029 GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params); 8030 GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 8031 GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, GLvoid *table); 8032 GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params); 8033 GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params); 8034 #endif /* GL_GLEXT_PROTOTYPES */ 8035 typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); 8036 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params); 8037 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params); 8038 typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 8039 typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); 8040 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params); 8041 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params); 8042 #endif 8043 8044 #ifndef GL_SGIX_pixel_texture 8045 #define GL_SGIX_pixel_texture 1 8046 #ifdef GL_GLEXT_PROTOTYPES 8047 GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode); 8048 #endif /* GL_GLEXT_PROTOTYPES */ 8049 typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode); 8050 #endif 8051 8052 #ifndef GL_SGIS_pixel_texture 8053 #define GL_SGIS_pixel_texture 1 8054 #ifdef GL_GLEXT_PROTOTYPES 8055 GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param); 8056 GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params); 8057 GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param); 8058 GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params); 8059 GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params); 8060 GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params); 8061 #endif /* GL_GLEXT_PROTOTYPES */ 8062 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param); 8063 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params); 8064 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param); 8065 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); 8066 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params); 8067 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params); 8068 #endif 8069 8070 #ifndef GL_SGIS_texture4D 8071 #define GL_SGIS_texture4D 1 8072 #ifdef GL_GLEXT_PROTOTYPES 8073 GLAPI void APIENTRY glTexImage4DSGIS (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 8074 GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels); 8075 #endif /* GL_GLEXT_PROTOTYPES */ 8076 typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 8077 typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels); 8078 #endif 8079 8080 #ifndef GL_SGI_texture_color_table 8081 #define GL_SGI_texture_color_table 1 8082 #endif 8083 8084 #ifndef GL_EXT_cmyka 8085 #define GL_EXT_cmyka 1 8086 #endif 8087 8088 #ifndef GL_EXT_texture_object 8089 #define GL_EXT_texture_object 1 8090 #ifdef GL_GLEXT_PROTOTYPES 8091 GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences); 8092 GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture); 8093 GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures); 8094 GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures); 8095 GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture); 8096 GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities); 8097 #endif /* GL_GLEXT_PROTOTYPES */ 8098 typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences); 8099 typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture); 8100 typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures); 8101 typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures); 8102 typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture); 8103 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities); 8104 #endif 8105 8106 #ifndef GL_SGIS_detail_texture 8107 #define GL_SGIS_detail_texture 1 8108 #ifdef GL_GLEXT_PROTOTYPES 8109 GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points); 8110 GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points); 8111 #endif /* GL_GLEXT_PROTOTYPES */ 8112 typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); 8113 typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points); 8114 #endif 8115 8116 #ifndef GL_SGIS_sharpen_texture 8117 #define GL_SGIS_sharpen_texture 1 8118 #ifdef GL_GLEXT_PROTOTYPES 8119 GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points); 8120 GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points); 8121 #endif /* GL_GLEXT_PROTOTYPES */ 8122 typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); 8123 typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points); 8124 #endif 8125 8126 #ifndef GL_EXT_packed_pixels 8127 #define GL_EXT_packed_pixels 1 8128 #endif 8129 8130 #ifndef GL_SGIS_texture_lod 8131 #define GL_SGIS_texture_lod 1 8132 #endif 8133 8134 #ifndef GL_SGIS_multisample 8135 #define GL_SGIS_multisample 1 8136 #ifdef GL_GLEXT_PROTOTYPES 8137 GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert); 8138 GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern); 8139 #endif /* GL_GLEXT_PROTOTYPES */ 8140 typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert); 8141 typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern); 8142 #endif 8143 8144 #ifndef GL_EXT_rescale_normal 8145 #define GL_EXT_rescale_normal 1 8146 #endif 8147 8148 #ifndef GL_EXT_vertex_array 8149 #define GL_EXT_vertex_array 1 8150 #ifdef GL_GLEXT_PROTOTYPES 8151 GLAPI void APIENTRY glArrayElementEXT (GLint i); 8152 GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); 8153 GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count); 8154 GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer); 8155 GLAPI void APIENTRY glGetPointervEXT (GLenum pname, GLvoid* *params); 8156 GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); 8157 GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); 8158 GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); 8159 GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); 8160 #endif /* GL_GLEXT_PROTOTYPES */ 8161 typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i); 8162 typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); 8163 typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count); 8164 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer); 8165 typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params); 8166 typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); 8167 typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); 8168 typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); 8169 typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); 8170 #endif 8171 8172 #ifndef GL_EXT_misc_attribute 8173 #define GL_EXT_misc_attribute 1 8174 #endif 8175 8176 #ifndef GL_SGIS_generate_mipmap 8177 #define GL_SGIS_generate_mipmap 1 8178 #endif 8179 8180 #ifndef GL_SGIX_clipmap 8181 #define GL_SGIX_clipmap 1 8182 #endif 8183 8184 #ifndef GL_SGIX_shadow 8185 #define GL_SGIX_shadow 1 8186 #endif 8187 8188 #ifndef GL_SGIS_texture_edge_clamp 8189 #define GL_SGIS_texture_edge_clamp 1 8190 #endif 8191 8192 #ifndef GL_SGIS_texture_border_clamp 8193 #define GL_SGIS_texture_border_clamp 1 8194 #endif 8195 8196 #ifndef GL_EXT_blend_minmax 8197 #define GL_EXT_blend_minmax 1 8198 #ifdef GL_GLEXT_PROTOTYPES 8199 GLAPI void APIENTRY glBlendEquationEXT (GLenum mode); 8200 #endif /* GL_GLEXT_PROTOTYPES */ 8201 typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode); 8202 #endif 8203 8204 #ifndef GL_EXT_blend_subtract 8205 #define GL_EXT_blend_subtract 1 8206 #endif 8207 8208 #ifndef GL_EXT_blend_logic_op 8209 #define GL_EXT_blend_logic_op 1 8210 #endif 8211 8212 #ifndef GL_SGIX_interlace 8213 #define GL_SGIX_interlace 1 8214 #endif 8215 8216 #ifndef GL_SGIX_pixel_tiles 8217 #define GL_SGIX_pixel_tiles 1 8218 #endif 8219 8220 #ifndef GL_SGIX_texture_select 8221 #define GL_SGIX_texture_select 1 8222 #endif 8223 8224 #ifndef GL_SGIX_sprite 8225 #define GL_SGIX_sprite 1 8226 #ifdef GL_GLEXT_PROTOTYPES 8227 GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param); 8228 GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params); 8229 GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param); 8230 GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params); 8231 #endif /* GL_GLEXT_PROTOTYPES */ 8232 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param); 8233 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params); 8234 typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param); 8235 typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params); 8236 #endif 8237 8238 #ifndef GL_SGIX_texture_multi_buffer 8239 #define GL_SGIX_texture_multi_buffer 1 8240 #endif 8241 8242 #ifndef GL_EXT_point_parameters 8243 #define GL_EXT_point_parameters 1 8244 #ifdef GL_GLEXT_PROTOTYPES 8245 GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param); 8246 GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params); 8247 #endif /* GL_GLEXT_PROTOTYPES */ 8248 typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param); 8249 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params); 8250 #endif 8251 8252 #ifndef GL_SGIS_point_parameters 8253 #define GL_SGIS_point_parameters 1 8254 #ifdef GL_GLEXT_PROTOTYPES 8255 GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param); 8256 GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params); 8257 #endif /* GL_GLEXT_PROTOTYPES */ 8258 typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param); 8259 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); 8260 #endif 8261 8262 #ifndef GL_SGIX_instruments 8263 #define GL_SGIX_instruments 1 8264 #ifdef GL_GLEXT_PROTOTYPES 8265 GLAPI GLint APIENTRY glGetInstrumentsSGIX (void); 8266 GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer); 8267 GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p); 8268 GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker); 8269 GLAPI void APIENTRY glStartInstrumentsSGIX (void); 8270 GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker); 8271 #endif /* GL_GLEXT_PROTOTYPES */ 8272 typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void); 8273 typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer); 8274 typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p); 8275 typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker); 8276 typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void); 8277 typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker); 8278 #endif 8279 8280 #ifndef GL_SGIX_texture_scale_bias 8281 #define GL_SGIX_texture_scale_bias 1 8282 #endif 8283 8284 #ifndef GL_SGIX_framezoom 8285 #define GL_SGIX_framezoom 1 8286 #ifdef GL_GLEXT_PROTOTYPES 8287 GLAPI void APIENTRY glFrameZoomSGIX (GLint factor); 8288 #endif /* GL_GLEXT_PROTOTYPES */ 8289 typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor); 8290 #endif 8291 8292 #ifndef GL_SGIX_tag_sample_buffer 8293 #define GL_SGIX_tag_sample_buffer 1 8294 #ifdef GL_GLEXT_PROTOTYPES 8295 GLAPI void APIENTRY glTagSampleBufferSGIX (void); 8296 #endif /* GL_GLEXT_PROTOTYPES */ 8297 typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void); 8298 #endif 8299 8300 #ifndef GL_SGIX_polynomial_ffd 8301 #define GL_SGIX_polynomial_ffd 1 8302 #ifdef GL_GLEXT_PROTOTYPES 8303 GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points); 8304 GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points); 8305 GLAPI void APIENTRY glDeformSGIX (GLbitfield mask); 8306 GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask); 8307 #endif /* GL_GLEXT_PROTOTYPES */ 8308 typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points); 8309 typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points); 8310 typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask); 8311 typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask); 8312 #endif 8313 8314 #ifndef GL_SGIX_reference_plane 8315 #define GL_SGIX_reference_plane 1 8316 #ifdef GL_GLEXT_PROTOTYPES 8317 GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation); 8318 #endif /* GL_GLEXT_PROTOTYPES */ 8319 typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation); 8320 #endif 8321 8322 #ifndef GL_SGIX_flush_raster 8323 #define GL_SGIX_flush_raster 1 8324 #ifdef GL_GLEXT_PROTOTYPES 8325 GLAPI void APIENTRY glFlushRasterSGIX (void); 8326 #endif /* GL_GLEXT_PROTOTYPES */ 8327 typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void); 8328 #endif 8329 8330 #ifndef GL_SGIX_depth_texture 8331 #define GL_SGIX_depth_texture 1 8332 #endif 8333 8334 #ifndef GL_SGIS_fog_function 8335 #define GL_SGIS_fog_function 1 8336 #ifdef GL_GLEXT_PROTOTYPES 8337 GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points); 8338 GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points); 8339 #endif /* GL_GLEXT_PROTOTYPES */ 8340 typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points); 8341 typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points); 8342 #endif 8343 8344 #ifndef GL_SGIX_fog_offset 8345 #define GL_SGIX_fog_offset 1 8346 #endif 8347 8348 #ifndef GL_HP_image_transform 8349 #define GL_HP_image_transform 1 8350 #ifdef GL_GLEXT_PROTOTYPES 8351 GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param); 8352 GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param); 8353 GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params); 8354 GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params); 8355 GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params); 8356 GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params); 8357 #endif /* GL_GLEXT_PROTOTYPES */ 8358 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param); 8359 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param); 8360 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params); 8361 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params); 8362 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params); 8363 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params); 8364 #endif 8365 8366 #ifndef GL_HP_convolution_border_modes 8367 #define GL_HP_convolution_border_modes 1 8368 #endif 8369 8370 #ifndef GL_SGIX_texture_add_env 8371 #define GL_SGIX_texture_add_env 1 8372 #endif 8373 8374 #ifndef GL_EXT_color_subtable 8375 #define GL_EXT_color_subtable 1 8376 #ifdef GL_GLEXT_PROTOTYPES 8377 GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); 8378 GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); 8379 #endif /* GL_GLEXT_PROTOTYPES */ 8380 typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); 8381 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); 8382 #endif 8383 8384 #ifndef GL_PGI_vertex_hints 8385 #define GL_PGI_vertex_hints 1 8386 #endif 8387 8388 #ifndef GL_PGI_misc_hints 8389 #define GL_PGI_misc_hints 1 8390 #ifdef GL_GLEXT_PROTOTYPES 8391 GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode); 8392 #endif /* GL_GLEXT_PROTOTYPES */ 8393 typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode); 8394 #endif 8395 8396 #ifndef GL_EXT_paletted_texture 8397 #define GL_EXT_paletted_texture 1 8398 #ifdef GL_GLEXT_PROTOTYPES 8399 GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); 8400 GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, GLvoid *data); 8401 GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params); 8402 GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params); 8403 #endif /* GL_GLEXT_PROTOTYPES */ 8404 typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); 8405 typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data); 8406 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); 8407 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); 8408 #endif 8409 8410 #ifndef GL_EXT_clip_volume_hint 8411 #define GL_EXT_clip_volume_hint 1 8412 #endif 8413 8414 #ifndef GL_SGIX_list_priority 8415 #define GL_SGIX_list_priority 1 8416 #ifdef GL_GLEXT_PROTOTYPES 8417 GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params); 8418 GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params); 8419 GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param); 8420 GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params); 8421 GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param); 8422 GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params); 8423 #endif /* GL_GLEXT_PROTOTYPES */ 8424 typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params); 8425 typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params); 8426 typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param); 8427 typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params); 8428 typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param); 8429 typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params); 8430 #endif 8431 8432 #ifndef GL_SGIX_ir_instrument1 8433 #define GL_SGIX_ir_instrument1 1 8434 #endif 8435 8436 #ifndef GL_SGIX_calligraphic_fragment 8437 #define GL_SGIX_calligraphic_fragment 1 8438 #endif 8439 8440 #ifndef GL_SGIX_texture_lod_bias 8441 #define GL_SGIX_texture_lod_bias 1 8442 #endif 8443 8444 #ifndef GL_SGIX_shadow_ambient 8445 #define GL_SGIX_shadow_ambient 1 8446 #endif 8447 8448 #ifndef GL_EXT_index_texture 8449 #define GL_EXT_index_texture 1 8450 #endif 8451 8452 #ifndef GL_EXT_index_material 8453 #define GL_EXT_index_material 1 8454 #ifdef GL_GLEXT_PROTOTYPES 8455 GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode); 8456 #endif /* GL_GLEXT_PROTOTYPES */ 8457 typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode); 8458 #endif 8459 8460 #ifndef GL_EXT_index_func 8461 #define GL_EXT_index_func 1 8462 #ifdef GL_GLEXT_PROTOTYPES 8463 GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref); 8464 #endif /* GL_GLEXT_PROTOTYPES */ 8465 typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref); 8466 #endif 8467 8468 #ifndef GL_EXT_index_array_formats 8469 #define GL_EXT_index_array_formats 1 8470 #endif 8471 8472 #ifndef GL_EXT_compiled_vertex_array 8473 #define GL_EXT_compiled_vertex_array 1 8474 #ifdef GL_GLEXT_PROTOTYPES 8475 GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count); 8476 GLAPI void APIENTRY glUnlockArraysEXT (void); 8477 #endif /* GL_GLEXT_PROTOTYPES */ 8478 typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count); 8479 typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void); 8480 #endif 8481 8482 #ifndef GL_EXT_cull_vertex 8483 #define GL_EXT_cull_vertex 1 8484 #ifdef GL_GLEXT_PROTOTYPES 8485 GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params); 8486 GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params); 8487 #endif /* GL_GLEXT_PROTOTYPES */ 8488 typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params); 8489 typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params); 8490 #endif 8491 8492 #ifndef GL_SGIX_ycrcb 8493 #define GL_SGIX_ycrcb 1 8494 #endif 8495 8496 #ifndef GL_SGIX_fragment_lighting 8497 #define GL_SGIX_fragment_lighting 1 8498 #ifdef GL_GLEXT_PROTOTYPES 8499 GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode); 8500 GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param); 8501 GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params); 8502 GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param); 8503 GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params); 8504 GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param); 8505 GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params); 8506 GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param); 8507 GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params); 8508 GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param); 8509 GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params); 8510 GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param); 8511 GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params); 8512 GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params); 8513 GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params); 8514 GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params); 8515 GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params); 8516 GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param); 8517 #endif /* GL_GLEXT_PROTOTYPES */ 8518 typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode); 8519 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param); 8520 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params); 8521 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param); 8522 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params); 8523 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param); 8524 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params); 8525 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param); 8526 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params); 8527 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param); 8528 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params); 8529 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param); 8530 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params); 8531 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params); 8532 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params); 8533 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params); 8534 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params); 8535 typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param); 8536 #endif 8537 8538 #ifndef GL_IBM_rasterpos_clip 8539 #define GL_IBM_rasterpos_clip 1 8540 #endif 8541 8542 #ifndef GL_HP_texture_lighting 8543 #define GL_HP_texture_lighting 1 8544 #endif 8545 8546 #ifndef GL_EXT_draw_range_elements 8547 #define GL_EXT_draw_range_elements 1 8548 #ifdef GL_GLEXT_PROTOTYPES 8549 GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); 8550 #endif /* GL_GLEXT_PROTOTYPES */ 8551 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); 8552 #endif 8553 8554 #ifndef GL_WIN_phong_shading 8555 #define GL_WIN_phong_shading 1 8556 #endif 8557 8558 #ifndef GL_WIN_specular_fog 8559 #define GL_WIN_specular_fog 1 8560 #endif 8561 8562 #ifndef GL_EXT_light_texture 8563 #define GL_EXT_light_texture 1 8564 #ifdef GL_GLEXT_PROTOTYPES 8565 GLAPI void APIENTRY glApplyTextureEXT (GLenum mode); 8566 GLAPI void APIENTRY glTextureLightEXT (GLenum pname); 8567 GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode); 8568 #endif /* GL_GLEXT_PROTOTYPES */ 8569 typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode); 8570 typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname); 8571 typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode); 8572 #endif 8573 8574 #ifndef GL_SGIX_blend_alpha_minmax 8575 #define GL_SGIX_blend_alpha_minmax 1 8576 #endif 8577 8578 #ifndef GL_EXT_bgra 8579 #define GL_EXT_bgra 1 8580 #endif 8581 8582 #ifndef GL_SGIX_async 8583 #define GL_SGIX_async 1 8584 #ifdef GL_GLEXT_PROTOTYPES 8585 GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker); 8586 GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp); 8587 GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp); 8588 GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range); 8589 GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range); 8590 GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker); 8591 #endif /* GL_GLEXT_PROTOTYPES */ 8592 typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker); 8593 typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp); 8594 typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp); 8595 typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range); 8596 typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range); 8597 typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker); 8598 #endif 8599 8600 #ifndef GL_SGIX_async_pixel 8601 #define GL_SGIX_async_pixel 1 8602 #endif 8603 8604 #ifndef GL_SGIX_async_histogram 8605 #define GL_SGIX_async_histogram 1 8606 #endif 8607 8608 #ifndef GL_INTEL_parallel_arrays 8609 #define GL_INTEL_parallel_arrays 1 8610 #ifdef GL_GLEXT_PROTOTYPES 8611 GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer); 8612 GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const GLvoid* *pointer); 8613 GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer); 8614 GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer); 8615 #endif /* GL_GLEXT_PROTOTYPES */ 8616 typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); 8617 typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer); 8618 typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); 8619 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); 8620 #endif 8621 8622 #ifndef GL_HP_occlusion_test 8623 #define GL_HP_occlusion_test 1 8624 #endif 8625 8626 #ifndef GL_EXT_pixel_transform 8627 #define GL_EXT_pixel_transform 1 8628 #ifdef GL_GLEXT_PROTOTYPES 8629 GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param); 8630 GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param); 8631 GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params); 8632 GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params); 8633 #endif /* GL_GLEXT_PROTOTYPES */ 8634 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param); 8635 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param); 8636 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); 8637 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); 8638 #endif 8639 8640 #ifndef GL_EXT_pixel_transform_color_table 8641 #define GL_EXT_pixel_transform_color_table 1 8642 #endif 8643 8644 #ifndef GL_EXT_shared_texture_palette 8645 #define GL_EXT_shared_texture_palette 1 8646 #endif 8647 8648 #ifndef GL_EXT_separate_specular_color 8649 #define GL_EXT_separate_specular_color 1 8650 #endif 8651 8652 #ifndef GL_EXT_secondary_color 8653 #define GL_EXT_secondary_color 1 8654 #ifdef GL_GLEXT_PROTOTYPES 8655 GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue); 8656 GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v); 8657 GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue); 8658 GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v); 8659 GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue); 8660 GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v); 8661 GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue); 8662 GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v); 8663 GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue); 8664 GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v); 8665 GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue); 8666 GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v); 8667 GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue); 8668 GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v); 8669 GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue); 8670 GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v); 8671 GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 8672 #endif /* GL_GLEXT_PROTOTYPES */ 8673 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue); 8674 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v); 8675 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue); 8676 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v); 8677 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue); 8678 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v); 8679 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue); 8680 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v); 8681 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue); 8682 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v); 8683 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue); 8684 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v); 8685 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue); 8686 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v); 8687 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue); 8688 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v); 8689 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 8690 #endif 8691 8692 #ifndef GL_EXT_texture_perturb_normal 8693 #define GL_EXT_texture_perturb_normal 1 8694 #ifdef GL_GLEXT_PROTOTYPES 8695 GLAPI void APIENTRY glTextureNormalEXT (GLenum mode); 8696 #endif /* GL_GLEXT_PROTOTYPES */ 8697 typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode); 8698 #endif 8699 8700 #ifndef GL_EXT_multi_draw_arrays 8701 #define GL_EXT_multi_draw_arrays 1 8702 #ifdef GL_GLEXT_PROTOTYPES 8703 GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 8704 GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); 8705 #endif /* GL_GLEXT_PROTOTYPES */ 8706 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 8707 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); 8708 #endif 8709 8710 #ifndef GL_EXT_fog_coord 8711 #define GL_EXT_fog_coord 1 8712 #ifdef GL_GLEXT_PROTOTYPES 8713 GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord); 8714 GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord); 8715 GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord); 8716 GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord); 8717 GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer); 8718 #endif /* GL_GLEXT_PROTOTYPES */ 8719 typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord); 8720 typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord); 8721 typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord); 8722 typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord); 8723 typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); 8724 #endif 8725 8726 #ifndef GL_REND_screen_coordinates 8727 #define GL_REND_screen_coordinates 1 8728 #endif 8729 8730 #ifndef GL_EXT_coordinate_frame 8731 #define GL_EXT_coordinate_frame 1 8732 #ifdef GL_GLEXT_PROTOTYPES 8733 GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz); 8734 GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v); 8735 GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz); 8736 GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v); 8737 GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz); 8738 GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v); 8739 GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz); 8740 GLAPI void APIENTRY glTangent3ivEXT (const GLint *v); 8741 GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz); 8742 GLAPI void APIENTRY glTangent3svEXT (const GLshort *v); 8743 GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz); 8744 GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v); 8745 GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz); 8746 GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v); 8747 GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz); 8748 GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v); 8749 GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz); 8750 GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v); 8751 GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz); 8752 GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v); 8753 GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer); 8754 GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer); 8755 #endif /* GL_GLEXT_PROTOTYPES */ 8756 typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz); 8757 typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v); 8758 typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz); 8759 typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v); 8760 typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz); 8761 typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v); 8762 typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz); 8763 typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v); 8764 typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz); 8765 typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v); 8766 typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz); 8767 typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v); 8768 typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz); 8769 typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v); 8770 typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz); 8771 typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v); 8772 typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz); 8773 typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v); 8774 typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz); 8775 typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v); 8776 typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); 8777 typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); 8778 #endif 8779 8780 #ifndef GL_EXT_texture_env_combine 8781 #define GL_EXT_texture_env_combine 1 8782 #endif 8783 8784 #ifndef GL_APPLE_specular_vector 8785 #define GL_APPLE_specular_vector 1 8786 #endif 8787 8788 #ifndef GL_APPLE_transform_hint 8789 #define GL_APPLE_transform_hint 1 8790 #endif 8791 8792 #ifndef GL_SGIX_fog_scale 8793 #define GL_SGIX_fog_scale 1 8794 #endif 8795 8796 #ifndef GL_SUNX_constant_data 8797 #define GL_SUNX_constant_data 1 8798 #ifdef GL_GLEXT_PROTOTYPES 8799 GLAPI void APIENTRY glFinishTextureSUNX (void); 8800 #endif /* GL_GLEXT_PROTOTYPES */ 8801 typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void); 8802 #endif 8803 8804 #ifndef GL_SUN_global_alpha 8805 #define GL_SUN_global_alpha 1 8806 #ifdef GL_GLEXT_PROTOTYPES 8807 GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor); 8808 GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor); 8809 GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor); 8810 GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor); 8811 GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor); 8812 GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor); 8813 GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor); 8814 GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor); 8815 #endif /* GL_GLEXT_PROTOTYPES */ 8816 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor); 8817 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor); 8818 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor); 8819 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor); 8820 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor); 8821 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor); 8822 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor); 8823 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor); 8824 #endif 8825 8826 #ifndef GL_SUN_triangle_list 8827 #define GL_SUN_triangle_list 1 8828 #ifdef GL_GLEXT_PROTOTYPES 8829 GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code); 8830 GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code); 8831 GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code); 8832 GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code); 8833 GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code); 8834 GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code); 8835 GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const GLvoid* *pointer); 8836 #endif /* GL_GLEXT_PROTOTYPES */ 8837 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code); 8838 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code); 8839 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code); 8840 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code); 8841 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code); 8842 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code); 8843 typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer); 8844 #endif 8845 8846 #ifndef GL_SUN_vertex 8847 #define GL_SUN_vertex 1 8848 #ifdef GL_GLEXT_PROTOTYPES 8849 GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); 8850 GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v); 8851 GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); 8852 GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v); 8853 GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); 8854 GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v); 8855 GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8856 GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v); 8857 GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8858 GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v); 8859 GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); 8860 GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v); 8861 GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 8862 GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v); 8863 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); 8864 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v); 8865 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); 8866 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v); 8867 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8868 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v); 8869 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8870 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); 8871 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 8872 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); 8873 GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z); 8874 GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v); 8875 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); 8876 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v); 8877 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); 8878 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v); 8879 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8880 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v); 8881 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8882 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v); 8883 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); 8884 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v); 8885 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8886 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v); 8887 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8888 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); 8889 #endif /* GL_GLEXT_PROTOTYPES */ 8890 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); 8891 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v); 8892 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); 8893 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v); 8894 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); 8895 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v); 8896 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8897 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v); 8898 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8899 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v); 8900 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); 8901 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v); 8902 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 8903 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v); 8904 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); 8905 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v); 8906 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); 8907 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v); 8908 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8909 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v); 8910 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8911 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); 8912 typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 8913 typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); 8914 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z); 8915 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v); 8916 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); 8917 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v); 8918 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); 8919 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v); 8920 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8921 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v); 8922 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8923 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v); 8924 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); 8925 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v); 8926 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8927 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v); 8928 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 8929 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); 8930 #endif 8931 8932 #ifndef GL_EXT_blend_func_separate 8933 #define GL_EXT_blend_func_separate 1 8934 #ifdef GL_GLEXT_PROTOTYPES 8935 GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 8936 #endif /* GL_GLEXT_PROTOTYPES */ 8937 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 8938 #endif 8939 8940 #ifndef GL_INGR_blend_func_separate 8941 #define GL_INGR_blend_func_separate 1 8942 #ifdef GL_GLEXT_PROTOTYPES 8943 GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 8944 #endif /* GL_GLEXT_PROTOTYPES */ 8945 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 8946 #endif 8947 8948 #ifndef GL_INGR_color_clamp 8949 #define GL_INGR_color_clamp 1 8950 #endif 8951 8952 #ifndef GL_INGR_interlace_read 8953 #define GL_INGR_interlace_read 1 8954 #endif 8955 8956 #ifndef GL_EXT_stencil_wrap 8957 #define GL_EXT_stencil_wrap 1 8958 #endif 8959 8960 #ifndef GL_EXT_422_pixels 8961 #define GL_EXT_422_pixels 1 8962 #endif 8963 8964 #ifndef GL_NV_texgen_reflection 8965 #define GL_NV_texgen_reflection 1 8966 #endif 8967 8968 #ifndef GL_SUN_convolution_border_modes 8969 #define GL_SUN_convolution_border_modes 1 8970 #endif 8971 8972 #ifndef GL_EXT_texture_env_add 8973 #define GL_EXT_texture_env_add 1 8974 #endif 8975 8976 #ifndef GL_EXT_texture_lod_bias 8977 #define GL_EXT_texture_lod_bias 1 8978 #endif 8979 8980 #ifndef GL_EXT_texture_filter_anisotropic 8981 #define GL_EXT_texture_filter_anisotropic 1 8982 #endif 8983 8984 #ifndef GL_EXT_vertex_weighting 8985 #define GL_EXT_vertex_weighting 1 8986 #ifdef GL_GLEXT_PROTOTYPES 8987 GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight); 8988 GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight); 8989 GLAPI void APIENTRY glVertexWeightPointerEXT (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer); 8990 #endif /* GL_GLEXT_PROTOTYPES */ 8991 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight); 8992 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight); 8993 typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer); 8994 #endif 8995 8996 #ifndef GL_NV_light_max_exponent 8997 #define GL_NV_light_max_exponent 1 8998 #endif 8999 9000 #ifndef GL_NV_vertex_array_range 9001 #define GL_NV_vertex_array_range 1 9002 #ifdef GL_GLEXT_PROTOTYPES 9003 GLAPI void APIENTRY glFlushVertexArrayRangeNV (void); 9004 GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const GLvoid *pointer); 9005 #endif /* GL_GLEXT_PROTOTYPES */ 9006 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void); 9007 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer); 9008 #endif 9009 9010 #ifndef GL_NV_register_combiners 9011 #define GL_NV_register_combiners 1 9012 #ifdef GL_GLEXT_PROTOTYPES 9013 GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params); 9014 GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param); 9015 GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params); 9016 GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param); 9017 GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); 9018 GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); 9019 GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); 9020 GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params); 9021 GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params); 9022 GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params); 9023 GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params); 9024 GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params); 9025 GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params); 9026 #endif /* GL_GLEXT_PROTOTYPES */ 9027 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params); 9028 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param); 9029 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params); 9030 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param); 9031 typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); 9032 typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); 9033 typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); 9034 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params); 9035 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params); 9036 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params); 9037 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params); 9038 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params); 9039 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params); 9040 #endif 9041 9042 #ifndef GL_NV_fog_distance 9043 #define GL_NV_fog_distance 1 9044 #endif 9045 9046 #ifndef GL_NV_texgen_emboss 9047 #define GL_NV_texgen_emboss 1 9048 #endif 9049 9050 #ifndef GL_NV_blend_square 9051 #define GL_NV_blend_square 1 9052 #endif 9053 9054 #ifndef GL_NV_texture_env_combine4 9055 #define GL_NV_texture_env_combine4 1 9056 #endif 9057 9058 #ifndef GL_MESA_resize_buffers 9059 #define GL_MESA_resize_buffers 1 9060 #ifdef GL_GLEXT_PROTOTYPES 9061 GLAPI void APIENTRY glResizeBuffersMESA (void); 9062 #endif /* GL_GLEXT_PROTOTYPES */ 9063 typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void); 9064 #endif 9065 9066 #ifndef GL_MESA_window_pos 9067 #define GL_MESA_window_pos 1 9068 #ifdef GL_GLEXT_PROTOTYPES 9069 GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y); 9070 GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v); 9071 GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y); 9072 GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v); 9073 GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y); 9074 GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v); 9075 GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y); 9076 GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v); 9077 GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z); 9078 GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v); 9079 GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z); 9080 GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v); 9081 GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z); 9082 GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v); 9083 GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z); 9084 GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v); 9085 GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w); 9086 GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v); 9087 GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w); 9088 GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v); 9089 GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w); 9090 GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v); 9091 GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w); 9092 GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v); 9093 #endif /* GL_GLEXT_PROTOTYPES */ 9094 typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y); 9095 typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v); 9096 typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y); 9097 typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v); 9098 typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y); 9099 typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v); 9100 typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y); 9101 typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v); 9102 typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z); 9103 typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v); 9104 typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z); 9105 typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v); 9106 typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z); 9107 typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v); 9108 typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z); 9109 typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v); 9110 typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); 9111 typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v); 9112 typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); 9113 typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v); 9114 typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w); 9115 typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v); 9116 typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w); 9117 typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v); 9118 #endif 9119 9120 #ifndef GL_IBM_cull_vertex 9121 #define GL_IBM_cull_vertex 1 9122 #endif 9123 9124 #ifndef GL_IBM_multimode_draw_arrays 9125 #define GL_IBM_multimode_draw_arrays 1 9126 #ifdef GL_GLEXT_PROTOTYPES 9127 GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride); 9128 GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride); 9129 #endif /* GL_GLEXT_PROTOTYPES */ 9130 typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride); 9131 typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride); 9132 #endif 9133 9134 #ifndef GL_IBM_vertex_array_lists 9135 #define GL_IBM_vertex_array_lists 1 9136 #ifdef GL_GLEXT_PROTOTYPES 9137 GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); 9138 GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); 9139 GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean* *pointer, GLint ptrstride); 9140 GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); 9141 GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); 9142 GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); 9143 GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); 9144 GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); 9145 #endif /* GL_GLEXT_PROTOTYPES */ 9146 typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); 9147 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); 9148 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride); 9149 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); 9150 typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); 9151 typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); 9152 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); 9153 typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); 9154 #endif 9155 9156 #ifndef GL_SGIX_subsample 9157 #define GL_SGIX_subsample 1 9158 #endif 9159 9160 #ifndef GL_SGIX_ycrcba 9161 #define GL_SGIX_ycrcba 1 9162 #endif 9163 9164 #ifndef GL_SGIX_ycrcb_subsample 9165 #define GL_SGIX_ycrcb_subsample 1 9166 #endif 9167 9168 #ifndef GL_SGIX_depth_pass_instrument 9169 #define GL_SGIX_depth_pass_instrument 1 9170 #endif 9171 9172 #ifndef GL_3DFX_texture_compression_FXT1 9173 #define GL_3DFX_texture_compression_FXT1 1 9174 #endif 9175 9176 #ifndef GL_3DFX_multisample 9177 #define GL_3DFX_multisample 1 9178 #endif 9179 9180 #ifndef GL_3DFX_tbuffer 9181 #define GL_3DFX_tbuffer 1 9182 #ifdef GL_GLEXT_PROTOTYPES 9183 GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask); 9184 #endif /* GL_GLEXT_PROTOTYPES */ 9185 typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask); 9186 #endif 9187 9188 #ifndef GL_EXT_multisample 9189 #define GL_EXT_multisample 1 9190 #ifdef GL_GLEXT_PROTOTYPES 9191 GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert); 9192 GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern); 9193 #endif /* GL_GLEXT_PROTOTYPES */ 9194 typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert); 9195 typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern); 9196 #endif 9197 9198 #ifndef GL_SGIX_vertex_preclip 9199 #define GL_SGIX_vertex_preclip 1 9200 #endif 9201 9202 #ifndef GL_SGIX_convolution_accuracy 9203 #define GL_SGIX_convolution_accuracy 1 9204 #endif 9205 9206 #ifndef GL_SGIX_resample 9207 #define GL_SGIX_resample 1 9208 #endif 9209 9210 #ifndef GL_SGIS_point_line_texgen 9211 #define GL_SGIS_point_line_texgen 1 9212 #endif 9213 9214 #ifndef GL_SGIS_texture_color_mask 9215 #define GL_SGIS_texture_color_mask 1 9216 #ifdef GL_GLEXT_PROTOTYPES 9217 GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 9218 #endif /* GL_GLEXT_PROTOTYPES */ 9219 typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 9220 #endif 9221 9222 #ifndef GL_SGIX_igloo_interface 9223 #define GL_SGIX_igloo_interface 1 9224 #ifdef GL_GLEXT_PROTOTYPES 9225 GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const GLvoid *params); 9226 #endif /* GL_GLEXT_PROTOTYPES */ 9227 typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const GLvoid *params); 9228 #endif 9229 9230 #ifndef GL_EXT_texture_env_dot3 9231 #define GL_EXT_texture_env_dot3 1 9232 #endif 9233 9234 #ifndef GL_ATI_texture_mirror_once 9235 #define GL_ATI_texture_mirror_once 1 9236 #endif 9237 9238 #ifndef GL_NV_fence 9239 #define GL_NV_fence 1 9240 #ifdef GL_GLEXT_PROTOTYPES 9241 GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); 9242 GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); 9243 GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence); 9244 GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence); 9245 GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); 9246 GLAPI void APIENTRY glFinishFenceNV (GLuint fence); 9247 GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition); 9248 #endif /* GL_GLEXT_PROTOTYPES */ 9249 typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); 9250 typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); 9251 typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); 9252 typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); 9253 typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); 9254 typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); 9255 typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); 9256 #endif 9257 9258 #ifndef GL_NV_evaluators 9259 #define GL_NV_evaluators 1 9260 #ifdef GL_GLEXT_PROTOTYPES 9261 GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points); 9262 GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params); 9263 GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params); 9264 GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points); 9265 GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params); 9266 GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params); 9267 GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params); 9268 GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params); 9269 GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode); 9270 #endif /* GL_GLEXT_PROTOTYPES */ 9271 typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points); 9272 typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params); 9273 typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params); 9274 typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points); 9275 typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params); 9276 typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params); 9277 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); 9278 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); 9279 typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode); 9280 #endif 9281 9282 #ifndef GL_NV_packed_depth_stencil 9283 #define GL_NV_packed_depth_stencil 1 9284 #endif 9285 9286 #ifndef GL_NV_register_combiners2 9287 #define GL_NV_register_combiners2 1 9288 #ifdef GL_GLEXT_PROTOTYPES 9289 GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params); 9290 GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params); 9291 #endif /* GL_GLEXT_PROTOTYPES */ 9292 typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params); 9293 typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params); 9294 #endif 9295 9296 #ifndef GL_NV_texture_compression_vtc 9297 #define GL_NV_texture_compression_vtc 1 9298 #endif 9299 9300 #ifndef GL_NV_texture_rectangle 9301 #define GL_NV_texture_rectangle 1 9302 #endif 9303 9304 #ifndef GL_NV_texture_shader 9305 #define GL_NV_texture_shader 1 9306 #endif 9307 9308 #ifndef GL_NV_texture_shader2 9309 #define GL_NV_texture_shader2 1 9310 #endif 9311 9312 #ifndef GL_NV_vertex_array_range2 9313 #define GL_NV_vertex_array_range2 1 9314 #endif 9315 9316 #ifndef GL_NV_vertex_program 9317 #define GL_NV_vertex_program 1 9318 #ifdef GL_GLEXT_PROTOTYPES 9319 GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences); 9320 GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id); 9321 GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs); 9322 GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params); 9323 GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs); 9324 GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params); 9325 GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params); 9326 GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params); 9327 GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program); 9328 GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params); 9329 GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params); 9330 GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params); 9331 GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params); 9332 GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, GLvoid* *pointer); 9333 GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id); 9334 GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program); 9335 GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 9336 GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v); 9337 GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 9338 GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v); 9339 GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v); 9340 GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v); 9341 GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs); 9342 GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform); 9343 GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer); 9344 GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x); 9345 GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v); 9346 GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x); 9347 GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v); 9348 GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x); 9349 GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v); 9350 GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y); 9351 GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v); 9352 GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y); 9353 GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v); 9354 GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y); 9355 GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v); 9356 GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z); 9357 GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v); 9358 GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z); 9359 GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v); 9360 GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z); 9361 GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v); 9362 GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 9363 GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v); 9364 GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 9365 GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v); 9366 GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 9367 GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v); 9368 GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 9369 GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v); 9370 GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v); 9371 GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v); 9372 GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v); 9373 GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v); 9374 GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v); 9375 GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v); 9376 GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v); 9377 GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v); 9378 GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v); 9379 GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v); 9380 GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v); 9381 GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v); 9382 GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v); 9383 #endif /* GL_GLEXT_PROTOTYPES */ 9384 typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences); 9385 typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id); 9386 typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); 9387 typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params); 9388 typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs); 9389 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params); 9390 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); 9391 typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params); 9392 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program); 9393 typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params); 9394 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params); 9395 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params); 9396 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params); 9397 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid* *pointer); 9398 typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id); 9399 typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program); 9400 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 9401 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v); 9402 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 9403 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v); 9404 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v); 9405 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v); 9406 typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); 9407 typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform); 9408 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer); 9409 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x); 9410 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v); 9411 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x); 9412 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v); 9413 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x); 9414 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v); 9415 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y); 9416 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v); 9417 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y); 9418 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v); 9419 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y); 9420 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v); 9421 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); 9422 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v); 9423 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); 9424 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v); 9425 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z); 9426 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v); 9427 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 9428 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v); 9429 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 9430 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v); 9431 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 9432 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v); 9433 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 9434 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v); 9435 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); 9436 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); 9437 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); 9438 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); 9439 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); 9440 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); 9441 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); 9442 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); 9443 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); 9444 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); 9445 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); 9446 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); 9447 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v); 9448 #endif 9449 9450 #ifndef GL_SGIX_texture_coordinate_clamp 9451 #define GL_SGIX_texture_coordinate_clamp 1 9452 #endif 9453 9454 #ifndef GL_SGIX_scalebias_hint 9455 #define GL_SGIX_scalebias_hint 1 9456 #endif 9457 9458 #ifndef GL_OML_interlace 9459 #define GL_OML_interlace 1 9460 #endif 9461 9462 #ifndef GL_OML_subsample 9463 #define GL_OML_subsample 1 9464 #endif 9465 9466 #ifndef GL_OML_resample 9467 #define GL_OML_resample 1 9468 #endif 9469 9470 #ifndef GL_NV_copy_depth_to_color 9471 #define GL_NV_copy_depth_to_color 1 9472 #endif 9473 9474 #ifndef GL_ATI_envmap_bumpmap 9475 #define GL_ATI_envmap_bumpmap 1 9476 #ifdef GL_GLEXT_PROTOTYPES 9477 GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param); 9478 GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param); 9479 GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param); 9480 GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param); 9481 #endif /* GL_GLEXT_PROTOTYPES */ 9482 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param); 9483 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param); 9484 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param); 9485 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param); 9486 #endif 9487 9488 #ifndef GL_ATI_fragment_shader 9489 #define GL_ATI_fragment_shader 1 9490 #ifdef GL_GLEXT_PROTOTYPES 9491 GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range); 9492 GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id); 9493 GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id); 9494 GLAPI void APIENTRY glBeginFragmentShaderATI (void); 9495 GLAPI void APIENTRY glEndFragmentShaderATI (void); 9496 GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle); 9497 GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle); 9498 GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); 9499 GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); 9500 GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); 9501 GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); 9502 GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); 9503 GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); 9504 GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value); 9505 #endif /* GL_GLEXT_PROTOTYPES */ 9506 typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range); 9507 typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id); 9508 typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id); 9509 typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void); 9510 typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void); 9511 typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle); 9512 typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle); 9513 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); 9514 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); 9515 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); 9516 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); 9517 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); 9518 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); 9519 typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value); 9520 #endif 9521 9522 #ifndef GL_ATI_pn_triangles 9523 #define GL_ATI_pn_triangles 1 9524 #ifdef GL_GLEXT_PROTOTYPES 9525 GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param); 9526 GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param); 9527 #endif /* GL_GLEXT_PROTOTYPES */ 9528 typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param); 9529 typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param); 9530 #endif 9531 9532 #ifndef GL_ATI_vertex_array_object 9533 #define GL_ATI_vertex_array_object 1 9534 #ifdef GL_GLEXT_PROTOTYPES 9535 GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const GLvoid *pointer, GLenum usage); 9536 GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer); 9537 GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve); 9538 GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params); 9539 GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params); 9540 GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer); 9541 GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); 9542 GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params); 9543 GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params); 9544 GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); 9545 GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params); 9546 GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params); 9547 #endif /* GL_GLEXT_PROTOTYPES */ 9548 typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage); 9549 typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer); 9550 typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve); 9551 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params); 9552 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params); 9553 typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer); 9554 typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); 9555 typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params); 9556 typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params); 9557 typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); 9558 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params); 9559 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params); 9560 #endif 9561 9562 #ifndef GL_EXT_vertex_shader 9563 #define GL_EXT_vertex_shader 1 9564 #ifdef GL_GLEXT_PROTOTYPES 9565 GLAPI void APIENTRY glBeginVertexShaderEXT (void); 9566 GLAPI void APIENTRY glEndVertexShaderEXT (void); 9567 GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id); 9568 GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range); 9569 GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id); 9570 GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1); 9571 GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2); 9572 GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); 9573 GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); 9574 GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); 9575 GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num); 9576 GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num); 9577 GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components); 9578 GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const GLvoid *addr); 9579 GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const GLvoid *addr); 9580 GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr); 9581 GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr); 9582 GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr); 9583 GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr); 9584 GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr); 9585 GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr); 9586 GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr); 9587 GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr); 9588 GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const GLvoid *addr); 9589 GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id); 9590 GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id); 9591 GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value); 9592 GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value); 9593 GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value); 9594 GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value); 9595 GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value); 9596 GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap); 9597 GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data); 9598 GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data); 9599 GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data); 9600 GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, GLvoid* *data); 9601 GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data); 9602 GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data); 9603 GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data); 9604 GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data); 9605 GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data); 9606 GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data); 9607 #endif /* GL_GLEXT_PROTOTYPES */ 9608 typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void); 9609 typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void); 9610 typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id); 9611 typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range); 9612 typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id); 9613 typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1); 9614 typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2); 9615 typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); 9616 typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); 9617 typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); 9618 typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); 9619 typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); 9620 typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components); 9621 typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr); 9622 typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr); 9623 typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr); 9624 typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr); 9625 typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr); 9626 typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr); 9627 typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr); 9628 typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr); 9629 typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr); 9630 typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr); 9631 typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const GLvoid *addr); 9632 typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); 9633 typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); 9634 typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value); 9635 typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value); 9636 typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value); 9637 typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value); 9638 typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value); 9639 typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap); 9640 typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); 9641 typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); 9642 typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); 9643 typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid* *data); 9644 typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); 9645 typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); 9646 typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); 9647 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); 9648 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); 9649 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); 9650 #endif 9651 9652 #ifndef GL_ATI_vertex_streams 9653 #define GL_ATI_vertex_streams 1 9654 #ifdef GL_GLEXT_PROTOTYPES 9655 GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x); 9656 GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords); 9657 GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x); 9658 GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords); 9659 GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x); 9660 GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords); 9661 GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x); 9662 GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords); 9663 GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y); 9664 GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords); 9665 GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y); 9666 GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords); 9667 GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y); 9668 GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords); 9669 GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y); 9670 GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords); 9671 GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z); 9672 GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords); 9673 GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z); 9674 GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords); 9675 GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z); 9676 GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords); 9677 GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z); 9678 GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords); 9679 GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); 9680 GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords); 9681 GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w); 9682 GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords); 9683 GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 9684 GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords); 9685 GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 9686 GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords); 9687 GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz); 9688 GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords); 9689 GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz); 9690 GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords); 9691 GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz); 9692 GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords); 9693 GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz); 9694 GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords); 9695 GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz); 9696 GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords); 9697 GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream); 9698 GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param); 9699 GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param); 9700 #endif /* GL_GLEXT_PROTOTYPES */ 9701 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x); 9702 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords); 9703 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x); 9704 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords); 9705 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x); 9706 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords); 9707 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x); 9708 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords); 9709 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y); 9710 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords); 9711 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y); 9712 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords); 9713 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y); 9714 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords); 9715 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y); 9716 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords); 9717 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); 9718 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); 9719 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z); 9720 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); 9721 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); 9722 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); 9723 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); 9724 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); 9725 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); 9726 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords); 9727 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w); 9728 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords); 9729 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 9730 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords); 9731 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 9732 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords); 9733 typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz); 9734 typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords); 9735 typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz); 9736 typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); 9737 typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz); 9738 typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); 9739 typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz); 9740 typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); 9741 typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz); 9742 typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); 9743 typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream); 9744 typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param); 9745 typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param); 9746 #endif 9747 9748 #ifndef GL_ATI_element_array 9749 #define GL_ATI_element_array 1 9750 #ifdef GL_GLEXT_PROTOTYPES 9751 GLAPI void APIENTRY glElementPointerATI (GLenum type, const GLvoid *pointer); 9752 GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count); 9753 GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count); 9754 #endif /* GL_GLEXT_PROTOTYPES */ 9755 typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLvoid *pointer); 9756 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count); 9757 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count); 9758 #endif 9759 9760 #ifndef GL_SUN_mesh_array 9761 #define GL_SUN_mesh_array 1 9762 #ifdef GL_GLEXT_PROTOTYPES 9763 GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width); 9764 #endif /* GL_GLEXT_PROTOTYPES */ 9765 typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width); 9766 #endif 9767 9768 #ifndef GL_SUN_slice_accum 9769 #define GL_SUN_slice_accum 1 9770 #endif 9771 9772 #ifndef GL_NV_multisample_filter_hint 9773 #define GL_NV_multisample_filter_hint 1 9774 #endif 9775 9776 #ifndef GL_NV_depth_clamp 9777 #define GL_NV_depth_clamp 1 9778 #endif 9779 9780 #ifndef GL_NV_occlusion_query 9781 #define GL_NV_occlusion_query 1 9782 #ifdef GL_GLEXT_PROTOTYPES 9783 GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids); 9784 GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids); 9785 GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id); 9786 GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id); 9787 GLAPI void APIENTRY glEndOcclusionQueryNV (void); 9788 GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params); 9789 GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params); 9790 #endif /* GL_GLEXT_PROTOTYPES */ 9791 typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids); 9792 typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids); 9793 typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id); 9794 typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id); 9795 typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void); 9796 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params); 9797 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params); 9798 #endif 9799 9800 #ifndef GL_NV_point_sprite 9801 #define GL_NV_point_sprite 1 9802 #ifdef GL_GLEXT_PROTOTYPES 9803 GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param); 9804 GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params); 9805 #endif /* GL_GLEXT_PROTOTYPES */ 9806 typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param); 9807 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params); 9808 #endif 9809 9810 #ifndef GL_NV_texture_shader3 9811 #define GL_NV_texture_shader3 1 9812 #endif 9813 9814 #ifndef GL_NV_vertex_program1_1 9815 #define GL_NV_vertex_program1_1 1 9816 #endif 9817 9818 #ifndef GL_EXT_shadow_funcs 9819 #define GL_EXT_shadow_funcs 1 9820 #endif 9821 9822 #ifndef GL_EXT_stencil_two_side 9823 #define GL_EXT_stencil_two_side 1 9824 #ifdef GL_GLEXT_PROTOTYPES 9825 GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face); 9826 #endif /* GL_GLEXT_PROTOTYPES */ 9827 typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face); 9828 #endif 9829 9830 #ifndef GL_ATI_text_fragment_shader 9831 #define GL_ATI_text_fragment_shader 1 9832 #endif 9833 9834 #ifndef GL_APPLE_client_storage 9835 #define GL_APPLE_client_storage 1 9836 #endif 9837 9838 #ifndef GL_APPLE_element_array 9839 #define GL_APPLE_element_array 1 9840 #ifdef GL_GLEXT_PROTOTYPES 9841 GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const GLvoid *pointer); 9842 GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count); 9843 GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); 9844 GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 9845 GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); 9846 #endif /* GL_GLEXT_PROTOTYPES */ 9847 typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const GLvoid *pointer); 9848 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count); 9849 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); 9850 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 9851 typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); 9852 #endif 9853 9854 #ifndef GL_APPLE_fence 9855 #define GL_APPLE_fence 1 9856 #ifdef GL_GLEXT_PROTOTYPES 9857 GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences); 9858 GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences); 9859 GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence); 9860 GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence); 9861 GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence); 9862 GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence); 9863 GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name); 9864 GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name); 9865 #endif /* GL_GLEXT_PROTOTYPES */ 9866 typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences); 9867 typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences); 9868 typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence); 9869 typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence); 9870 typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence); 9871 typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence); 9872 typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name); 9873 typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name); 9874 #endif 9875 9876 #ifndef GL_APPLE_vertex_array_object 9877 #define GL_APPLE_vertex_array_object 1 9878 #ifdef GL_GLEXT_PROTOTYPES 9879 GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array); 9880 GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays); 9881 GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays); 9882 GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array); 9883 #endif /* GL_GLEXT_PROTOTYPES */ 9884 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array); 9885 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays); 9886 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays); 9887 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array); 9888 #endif 9889 9890 #ifndef GL_APPLE_vertex_array_range 9891 #define GL_APPLE_vertex_array_range 1 9892 #ifdef GL_GLEXT_PROTOTYPES 9893 GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, GLvoid *pointer); 9894 GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, GLvoid *pointer); 9895 GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param); 9896 #endif /* GL_GLEXT_PROTOTYPES */ 9897 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer); 9898 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer); 9899 typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param); 9900 #endif 9901 9902 #ifndef GL_APPLE_ycbcr_422 9903 #define GL_APPLE_ycbcr_422 1 9904 #endif 9905 9906 #ifndef GL_S3_s3tc 9907 #define GL_S3_s3tc 1 9908 #endif 9909 9910 #ifndef GL_ATI_draw_buffers 9911 #define GL_ATI_draw_buffers 1 9912 #ifdef GL_GLEXT_PROTOTYPES 9913 GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs); 9914 #endif /* GL_GLEXT_PROTOTYPES */ 9915 typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs); 9916 #endif 9917 9918 #ifndef GL_ATI_pixel_format_float 9919 #define GL_ATI_pixel_format_float 1 9920 /* This is really a WGL extension, but defines some associated GL enums. 9921 * ATI does not export "GL_ATI_pixel_format_float" in the GL_EXTENSIONS string. 9922 */ 9923 #endif 9924 9925 #ifndef GL_ATI_texture_env_combine3 9926 #define GL_ATI_texture_env_combine3 1 9927 #endif 9928 9929 #ifndef GL_ATI_texture_float 9930 #define GL_ATI_texture_float 1 9931 #endif 9932 9933 #ifndef GL_NV_float_buffer 9934 #define GL_NV_float_buffer 1 9935 #endif 9936 9937 #ifndef GL_NV_fragment_program 9938 #define GL_NV_fragment_program 1 9939 /* Some NV_fragment_program entry points are shared with ARB_vertex_program. */ 9940 #ifdef GL_GLEXT_PROTOTYPES 9941 GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 9942 GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 9943 GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v); 9944 GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v); 9945 GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params); 9946 GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); 9947 #endif /* GL_GLEXT_PROTOTYPES */ 9948 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 9949 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 9950 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v); 9951 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v); 9952 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params); 9953 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); 9954 #endif 9955 9956 #ifndef GL_NV_half_float 9957 #define GL_NV_half_float 1 9958 #ifdef GL_GLEXT_PROTOTYPES 9959 GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y); 9960 GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v); 9961 GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z); 9962 GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v); 9963 GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); 9964 GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v); 9965 GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz); 9966 GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v); 9967 GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue); 9968 GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v); 9969 GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha); 9970 GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v); 9971 GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s); 9972 GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v); 9973 GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t); 9974 GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v); 9975 GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r); 9976 GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v); 9977 GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); 9978 GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v); 9979 GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s); 9980 GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v); 9981 GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t); 9982 GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v); 9983 GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r); 9984 GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v); 9985 GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); 9986 GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v); 9987 GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog); 9988 GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog); 9989 GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue); 9990 GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v); 9991 GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight); 9992 GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight); 9993 GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x); 9994 GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v); 9995 GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y); 9996 GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v); 9997 GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z); 9998 GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v); 9999 GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); 10000 GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v); 10001 GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v); 10002 GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v); 10003 GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v); 10004 GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v); 10005 #endif /* GL_GLEXT_PROTOTYPES */ 10006 typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y); 10007 typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v); 10008 typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z); 10009 typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v); 10010 typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); 10011 typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v); 10012 typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz); 10013 typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v); 10014 typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); 10015 typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v); 10016 typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha); 10017 typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v); 10018 typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s); 10019 typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v); 10020 typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t); 10021 typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v); 10022 typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r); 10023 typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v); 10024 typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); 10025 typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v); 10026 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s); 10027 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v); 10028 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t); 10029 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v); 10030 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r); 10031 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v); 10032 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); 10033 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v); 10034 typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog); 10035 typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog); 10036 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); 10037 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v); 10038 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight); 10039 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight); 10040 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x); 10041 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v); 10042 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y); 10043 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v); 10044 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z); 10045 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v); 10046 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); 10047 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v); 10048 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); 10049 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); 10050 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); 10051 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); 10052 #endif 10053 10054 #ifndef GL_NV_pixel_data_range 10055 #define GL_NV_pixel_data_range 1 10056 #ifdef GL_GLEXT_PROTOTYPES 10057 GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, GLvoid *pointer); 10058 GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target); 10059 #endif /* GL_GLEXT_PROTOTYPES */ 10060 typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer); 10061 typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target); 10062 #endif 10063 10064 #ifndef GL_NV_primitive_restart 10065 #define GL_NV_primitive_restart 1 10066 #ifdef GL_GLEXT_PROTOTYPES 10067 GLAPI void APIENTRY glPrimitiveRestartNV (void); 10068 GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index); 10069 #endif /* GL_GLEXT_PROTOTYPES */ 10070 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void); 10071 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index); 10072 #endif 10073 10074 #ifndef GL_NV_texture_expand_normal 10075 #define GL_NV_texture_expand_normal 1 10076 #endif 10077 10078 #ifndef GL_NV_vertex_program2 10079 #define GL_NV_vertex_program2 1 10080 #endif 10081 10082 #ifndef GL_ATI_map_object_buffer 10083 #define GL_ATI_map_object_buffer 1 10084 #ifdef GL_GLEXT_PROTOTYPES 10085 GLAPI GLvoid* APIENTRY glMapObjectBufferATI (GLuint buffer); 10086 GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer); 10087 #endif /* GL_GLEXT_PROTOTYPES */ 10088 typedef GLvoid* (APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer); 10089 typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer); 10090 #endif 10091 10092 #ifndef GL_ATI_separate_stencil 10093 #define GL_ATI_separate_stencil 1 10094 #ifdef GL_GLEXT_PROTOTYPES 10095 GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); 10096 GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); 10097 #endif /* GL_GLEXT_PROTOTYPES */ 10098 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); 10099 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); 10100 #endif 10101 10102 #ifndef GL_ATI_vertex_attrib_array_object 10103 #define GL_ATI_vertex_attrib_array_object 1 10104 #ifdef GL_GLEXT_PROTOTYPES 10105 GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); 10106 GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params); 10107 GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params); 10108 #endif /* GL_GLEXT_PROTOTYPES */ 10109 typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); 10110 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params); 10111 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params); 10112 #endif 10113 10114 #ifndef GL_OES_read_format 10115 #define GL_OES_read_format 1 10116 #endif 10117 10118 #ifndef GL_EXT_depth_bounds_test 10119 #define GL_EXT_depth_bounds_test 1 10120 #ifdef GL_GLEXT_PROTOTYPES 10121 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax); 10122 #endif /* GL_GLEXT_PROTOTYPES */ 10123 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax); 10124 #endif 10125 10126 #ifndef GL_EXT_texture_mirror_clamp 10127 #define GL_EXT_texture_mirror_clamp 1 10128 #endif 10129 10130 #ifndef GL_EXT_blend_equation_separate 10131 #define GL_EXT_blend_equation_separate 1 10132 #ifdef GL_GLEXT_PROTOTYPES 10133 GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha); 10134 #endif /* GL_GLEXT_PROTOTYPES */ 10135 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha); 10136 #endif 10137 10138 #ifndef GL_MESA_pack_invert 10139 #define GL_MESA_pack_invert 1 10140 #endif 10141 10142 #ifndef GL_MESA_ycbcr_texture 10143 #define GL_MESA_ycbcr_texture 1 10144 #endif 10145 10146 #ifndef GL_EXT_pixel_buffer_object 10147 #define GL_EXT_pixel_buffer_object 1 10148 #endif 10149 10150 #ifndef GL_NV_fragment_program_option 10151 #define GL_NV_fragment_program_option 1 10152 #endif 10153 10154 #ifndef GL_NV_fragment_program2 10155 #define GL_NV_fragment_program2 1 10156 #endif 10157 10158 #ifndef GL_NV_vertex_program2_option 10159 #define GL_NV_vertex_program2_option 1 10160 #endif 10161 10162 #ifndef GL_NV_vertex_program3 10163 #define GL_NV_vertex_program3 1 10164 #endif 10165 10166 #ifndef GL_EXT_framebuffer_object 10167 #define GL_EXT_framebuffer_object 1 10168 #ifdef GL_GLEXT_PROTOTYPES 10169 GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer); 10170 GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer); 10171 GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers); 10172 GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers); 10173 GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 10174 GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params); 10175 GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer); 10176 GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer); 10177 GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers); 10178 GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers); 10179 GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target); 10180 GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 10181 GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 10182 GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 10183 GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 10184 GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params); 10185 GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target); 10186 #endif /* GL_GLEXT_PROTOTYPES */ 10187 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer); 10188 typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer); 10189 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers); 10190 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers); 10191 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 10192 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); 10193 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer); 10194 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer); 10195 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers); 10196 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers); 10197 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target); 10198 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 10199 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 10200 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 10201 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 10202 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); 10203 typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target); 10204 #endif 10205 10206 #ifndef GL_GREMEDY_string_marker 10207 #define GL_GREMEDY_string_marker 1 10208 #ifdef GL_GLEXT_PROTOTYPES 10209 GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const GLvoid *string); 10210 #endif /* GL_GLEXT_PROTOTYPES */ 10211 typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const GLvoid *string); 10212 #endif 10213 10214 #ifndef GL_EXT_packed_depth_stencil 10215 #define GL_EXT_packed_depth_stencil 1 10216 #endif 10217 10218 #ifndef GL_EXT_stencil_clear_tag 10219 #define GL_EXT_stencil_clear_tag 1 10220 #ifdef GL_GLEXT_PROTOTYPES 10221 GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag); 10222 #endif /* GL_GLEXT_PROTOTYPES */ 10223 typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag); 10224 #endif 10225 10226 #ifndef GL_EXT_texture_sRGB 10227 #define GL_EXT_texture_sRGB 1 10228 #endif 10229 10230 #ifndef GL_EXT_framebuffer_blit 10231 #define GL_EXT_framebuffer_blit 1 10232 #ifdef GL_GLEXT_PROTOTYPES 10233 GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 10234 #endif /* GL_GLEXT_PROTOTYPES */ 10235 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 10236 #endif 10237 10238 #ifndef GL_EXT_framebuffer_multisample 10239 #define GL_EXT_framebuffer_multisample 1 10240 #ifdef GL_GLEXT_PROTOTYPES 10241 GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 10242 #endif /* GL_GLEXT_PROTOTYPES */ 10243 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 10244 #endif 10245 10246 #ifndef GL_MESAX_texture_stack 10247 #define GL_MESAX_texture_stack 1 10248 #endif 10249 10250 #ifndef GL_EXT_timer_query 10251 #define GL_EXT_timer_query 1 10252 #ifdef GL_GLEXT_PROTOTYPES 10253 GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64EXT *params); 10254 GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64EXT *params); 10255 #endif /* GL_GLEXT_PROTOTYPES */ 10256 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params); 10257 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params); 10258 #endif 10259 10260 #ifndef GL_EXT_gpu_program_parameters 10261 #define GL_EXT_gpu_program_parameters 1 10262 #ifdef GL_GLEXT_PROTOTYPES 10263 GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params); 10264 GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params); 10265 #endif /* GL_GLEXT_PROTOTYPES */ 10266 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params); 10267 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params); 10268 #endif 10269 10270 #ifndef GL_APPLE_flush_buffer_range 10271 #define GL_APPLE_flush_buffer_range 1 10272 #ifdef GL_GLEXT_PROTOTYPES 10273 GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param); 10274 GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size); 10275 #endif /* GL_GLEXT_PROTOTYPES */ 10276 typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param); 10277 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size); 10278 #endif 10279 10280 #ifndef GL_NV_gpu_program4 10281 #define GL_NV_gpu_program4 1 10282 #ifdef GL_GLEXT_PROTOTYPES 10283 GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); 10284 GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params); 10285 GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params); 10286 GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 10287 GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params); 10288 GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params); 10289 GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); 10290 GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params); 10291 GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params); 10292 GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 10293 GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params); 10294 GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params); 10295 GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params); 10296 GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params); 10297 GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params); 10298 GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params); 10299 #endif /* GL_GLEXT_PROTOTYPES */ 10300 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); 10301 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params); 10302 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params); 10303 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 10304 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params); 10305 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params); 10306 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); 10307 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params); 10308 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params); 10309 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 10310 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params); 10311 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params); 10312 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params); 10313 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params); 10314 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params); 10315 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params); 10316 #endif 10317 10318 #ifndef GL_NV_geometry_program4 10319 #define GL_NV_geometry_program4 1 10320 #ifdef GL_GLEXT_PROTOTYPES 10321 GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit); 10322 GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level); 10323 GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 10324 GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); 10325 #endif /* GL_GLEXT_PROTOTYPES */ 10326 typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit); 10327 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); 10328 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 10329 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); 10330 #endif 10331 10332 #ifndef GL_EXT_geometry_shader4 10333 #define GL_EXT_geometry_shader4 1 10334 #ifdef GL_GLEXT_PROTOTYPES 10335 GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value); 10336 #endif /* GL_GLEXT_PROTOTYPES */ 10337 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); 10338 #endif 10339 10340 #ifndef GL_NV_vertex_program4 10341 #define GL_NV_vertex_program4 1 10342 #ifdef GL_GLEXT_PROTOTYPES 10343 GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x); 10344 GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y); 10345 GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z); 10346 GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w); 10347 GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x); 10348 GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y); 10349 GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z); 10350 GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 10351 GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v); 10352 GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v); 10353 GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v); 10354 GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v); 10355 GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v); 10356 GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v); 10357 GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v); 10358 GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v); 10359 GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v); 10360 GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v); 10361 GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v); 10362 GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v); 10363 GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 10364 GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params); 10365 GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params); 10366 #endif /* GL_GLEXT_PROTOTYPES */ 10367 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x); 10368 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y); 10369 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z); 10370 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); 10371 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x); 10372 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y); 10373 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z); 10374 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 10375 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v); 10376 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v); 10377 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v); 10378 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v); 10379 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v); 10380 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v); 10381 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v); 10382 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v); 10383 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v); 10384 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v); 10385 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v); 10386 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v); 10387 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 10388 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params); 10389 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params); 10390 #endif 10391 10392 #ifndef GL_EXT_gpu_shader4 10393 #define GL_EXT_gpu_shader4 1 10394 #ifdef GL_GLEXT_PROTOTYPES 10395 GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params); 10396 GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name); 10397 GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name); 10398 GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0); 10399 GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1); 10400 GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2); 10401 GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 10402 GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value); 10403 GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value); 10404 GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value); 10405 GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value); 10406 #endif /* GL_GLEXT_PROTOTYPES */ 10407 typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params); 10408 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name); 10409 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name); 10410 typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0); 10411 typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1); 10412 typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); 10413 typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 10414 typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); 10415 typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); 10416 typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); 10417 typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); 10418 #endif 10419 10420 #ifndef GL_EXT_draw_instanced 10421 #define GL_EXT_draw_instanced 1 10422 #ifdef GL_GLEXT_PROTOTYPES 10423 GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); 10424 GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); 10425 #endif /* GL_GLEXT_PROTOTYPES */ 10426 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); 10427 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); 10428 #endif 10429 10430 #ifndef GL_EXT_packed_float 10431 #define GL_EXT_packed_float 1 10432 #endif 10433 10434 #ifndef GL_EXT_texture_array 10435 #define GL_EXT_texture_array 1 10436 #endif 10437 10438 #ifndef GL_EXT_texture_buffer_object 10439 #define GL_EXT_texture_buffer_object 1 10440 #ifdef GL_GLEXT_PROTOTYPES 10441 GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer); 10442 #endif /* GL_GLEXT_PROTOTYPES */ 10443 typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer); 10444 #endif 10445 10446 #ifndef GL_EXT_texture_compression_latc 10447 #define GL_EXT_texture_compression_latc 1 10448 #endif 10449 10450 #ifndef GL_EXT_texture_compression_rgtc 10451 #define GL_EXT_texture_compression_rgtc 1 10452 #endif 10453 10454 #ifndef GL_EXT_texture_shared_exponent 10455 #define GL_EXT_texture_shared_exponent 1 10456 #endif 10457 10458 #ifndef GL_NV_depth_buffer_float 10459 #define GL_NV_depth_buffer_float 1 10460 #ifdef GL_GLEXT_PROTOTYPES 10461 GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar); 10462 GLAPI void APIENTRY glClearDepthdNV (GLdouble depth); 10463 GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax); 10464 #endif /* GL_GLEXT_PROTOTYPES */ 10465 typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar); 10466 typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth); 10467 typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax); 10468 #endif 10469 10470 #ifndef GL_NV_fragment_program4 10471 #define GL_NV_fragment_program4 1 10472 #endif 10473 10474 #ifndef GL_NV_framebuffer_multisample_coverage 10475 #define GL_NV_framebuffer_multisample_coverage 1 10476 #ifdef GL_GLEXT_PROTOTYPES 10477 GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); 10478 #endif /* GL_GLEXT_PROTOTYPES */ 10479 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); 10480 #endif 10481 10482 #ifndef GL_EXT_framebuffer_sRGB 10483 #define GL_EXT_framebuffer_sRGB 1 10484 #endif 10485 10486 #ifndef GL_NV_geometry_shader4 10487 #define GL_NV_geometry_shader4 1 10488 #endif 10489 10490 #ifndef GL_NV_parameter_buffer_object 10491 #define GL_NV_parameter_buffer_object 1 10492 #ifdef GL_GLEXT_PROTOTYPES 10493 GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params); 10494 GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params); 10495 GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params); 10496 #endif /* GL_GLEXT_PROTOTYPES */ 10497 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params); 10498 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params); 10499 typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params); 10500 #endif 10501 10502 #ifndef GL_EXT_draw_buffers2 10503 #define GL_EXT_draw_buffers2 1 10504 #ifdef GL_GLEXT_PROTOTYPES 10505 GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 10506 GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data); 10507 GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data); 10508 GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index); 10509 GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index); 10510 GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index); 10511 #endif /* GL_GLEXT_PROTOTYPES */ 10512 typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 10513 typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data); 10514 typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data); 10515 typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index); 10516 typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index); 10517 typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index); 10518 #endif 10519 10520 #ifndef GL_NV_transform_feedback 10521 #define GL_NV_transform_feedback 1 10522 #ifdef GL_GLEXT_PROTOTYPES 10523 GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode); 10524 GLAPI void APIENTRY glEndTransformFeedbackNV (void); 10525 GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode); 10526 GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 10527 GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset); 10528 GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer); 10529 GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode); 10530 GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name); 10531 GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name); 10532 GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); 10533 GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location); 10534 GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode); 10535 #endif /* GL_GLEXT_PROTOTYPES */ 10536 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode); 10537 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void); 10538 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode); 10539 typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 10540 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); 10541 typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer); 10542 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode); 10543 typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name); 10544 typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name); 10545 typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); 10546 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location); 10547 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode); 10548 #endif 10549 10550 #ifndef GL_EXT_bindable_uniform 10551 #define GL_EXT_bindable_uniform 1 10552 #ifdef GL_GLEXT_PROTOTYPES 10553 GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer); 10554 GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location); 10555 GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location); 10556 #endif /* GL_GLEXT_PROTOTYPES */ 10557 typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer); 10558 typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location); 10559 typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location); 10560 #endif 10561 10562 #ifndef GL_EXT_texture_integer 10563 #define GL_EXT_texture_integer 1 10564 #ifdef GL_GLEXT_PROTOTYPES 10565 GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params); 10566 GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params); 10567 GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params); 10568 GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params); 10569 GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha); 10570 GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha); 10571 #endif /* GL_GLEXT_PROTOTYPES */ 10572 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); 10573 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params); 10574 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params); 10575 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params); 10576 typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha); 10577 typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha); 10578 #endif 10579 10580 #ifndef GL_GREMEDY_frame_terminator 10581 #define GL_GREMEDY_frame_terminator 1 10582 #ifdef GL_GLEXT_PROTOTYPES 10583 GLAPI void APIENTRY glFrameTerminatorGREMEDY (void); 10584 #endif /* GL_GLEXT_PROTOTYPES */ 10585 typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void); 10586 #endif 10587 10588 #ifndef GL_NV_conditional_render 10589 #define GL_NV_conditional_render 1 10590 #ifdef GL_GLEXT_PROTOTYPES 10591 GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode); 10592 GLAPI void APIENTRY glEndConditionalRenderNV (void); 10593 #endif /* GL_GLEXT_PROTOTYPES */ 10594 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode); 10595 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void); 10596 #endif 10597 10598 #ifndef GL_NV_present_video 10599 #define GL_NV_present_video 1 10600 #ifdef GL_GLEXT_PROTOTYPES 10601 GLAPI void APIENTRY glPresentFrameKeyedNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1); 10602 GLAPI void APIENTRY glPresentFrameDualFillNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3); 10603 GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params); 10604 GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params); 10605 GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params); 10606 GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params); 10607 #endif /* GL_GLEXT_PROTOTYPES */ 10608 typedef void (APIENTRYP PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1); 10609 typedef void (APIENTRYP PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3); 10610 typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params); 10611 typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params); 10612 typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params); 10613 typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params); 10614 #endif 10615 10616 #ifndef GL_EXT_transform_feedback 10617 #define GL_EXT_transform_feedback 1 10618 #ifdef GL_GLEXT_PROTOTYPES 10619 GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode); 10620 GLAPI void APIENTRY glEndTransformFeedbackEXT (void); 10621 GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 10622 GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset); 10623 GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer); 10624 GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode); 10625 GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); 10626 #endif /* GL_GLEXT_PROTOTYPES */ 10627 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode); 10628 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void); 10629 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 10630 typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); 10631 typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer); 10632 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode); 10633 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); 10634 #endif 10635 10636 #ifndef GL_EXT_direct_state_access 10637 #define GL_EXT_direct_state_access 1 10638 #ifdef GL_GLEXT_PROTOTYPES 10639 GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask); 10640 GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask); 10641 GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m); 10642 GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m); 10643 GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m); 10644 GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m); 10645 GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode); 10646 GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 10647 GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 10648 GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 10649 GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 10650 GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 10651 GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 10652 GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 10653 GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 10654 GLAPI void APIENTRY glMatrixPopEXT (GLenum mode); 10655 GLAPI void APIENTRY glMatrixPushEXT (GLenum mode); 10656 GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m); 10657 GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m); 10658 GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m); 10659 GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m); 10660 GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param); 10661 GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params); 10662 GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param); 10663 GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params); 10664 GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 10665 GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 10666 GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); 10667 GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); 10668 GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 10669 GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 10670 GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 10671 GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 10672 GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); 10673 GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params); 10674 GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params); 10675 GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params); 10676 GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params); 10677 GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 10678 GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); 10679 GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 10680 GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param); 10681 GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); 10682 GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param); 10683 GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 10684 GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 10685 GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 10686 GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); 10687 GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); 10688 GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 10689 GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 10690 GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 10691 GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 10692 GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); 10693 GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); 10694 GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); 10695 GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params); 10696 GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params); 10697 GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 10698 GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); 10699 GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 10700 GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture); 10701 GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index); 10702 GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index); 10703 GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 10704 GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param); 10705 GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); 10706 GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param); 10707 GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 10708 GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param); 10709 GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params); 10710 GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param); 10711 GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params); 10712 GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param); 10713 GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params); 10714 GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); 10715 GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); 10716 GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params); 10717 GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params); 10718 GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params); 10719 GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data); 10720 GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data); 10721 GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, GLvoid* *data); 10722 GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits); 10723 GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits); 10724 GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits); 10725 GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits); 10726 GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits); 10727 GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits); 10728 GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, GLvoid *img); 10729 GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits); 10730 GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits); 10731 GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits); 10732 GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits); 10733 GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits); 10734 GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits); 10735 GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, GLvoid *img); 10736 GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const GLvoid *string); 10737 GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 10738 GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params); 10739 GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 10740 GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params); 10741 GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params); 10742 GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params); 10743 GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params); 10744 GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, GLvoid *string); 10745 GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params); 10746 GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); 10747 GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params); 10748 GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params); 10749 GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 10750 GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params); 10751 GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params); 10752 GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params); 10753 GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params); 10754 GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params); 10755 GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params); 10756 GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params); 10757 GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params); 10758 GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 10759 GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params); 10760 GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); 10761 GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params); 10762 GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0); 10763 GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); 10764 GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 10765 GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 10766 GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0); 10767 GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1); 10768 GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 10769 GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 10770 GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 10771 GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 10772 GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 10773 GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); 10774 GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 10775 GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 10776 GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 10777 GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); 10778 GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10779 GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10780 GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10781 GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10782 GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10783 GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10784 GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10785 GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10786 GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10787 GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0); 10788 GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1); 10789 GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 10790 GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 10791 GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 10792 GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 10793 GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 10794 GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); 10795 GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage); 10796 GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data); 10797 GLAPI GLvoid* APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access); 10798 GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer); 10799 GLAPI GLvoid* APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); 10800 GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length); 10801 GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 10802 GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params); 10803 GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, GLvoid* *params); 10804 GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLvoid *data); 10805 GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); 10806 GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); 10807 GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); 10808 GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params); 10809 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target); 10810 GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 10811 GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 10812 GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 10813 GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 10814 GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); 10815 GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target); 10816 GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target); 10817 GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode); 10818 GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs); 10819 GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode); 10820 GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params); 10821 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 10822 GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); 10823 GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); 10824 GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); 10825 GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); 10826 GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer); 10827 GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer); 10828 GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x); 10829 GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y); 10830 GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); 10831 GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 10832 GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); 10833 GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); 10834 GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); 10835 GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); 10836 GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 10837 GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 10838 GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 10839 GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 10840 GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 10841 GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 10842 GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 10843 GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 10844 GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 10845 #endif /* GL_GLEXT_PROTOTYPES */ 10846 typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); 10847 typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); 10848 typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m); 10849 typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m); 10850 typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m); 10851 typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m); 10852 typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode); 10853 typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 10854 typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 10855 typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 10856 typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 10857 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); 10858 typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); 10859 typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 10860 typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 10861 typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode); 10862 typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode); 10863 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); 10864 typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); 10865 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); 10866 typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); 10867 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param); 10868 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params); 10869 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param); 10870 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params); 10871 typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 10872 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 10873 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); 10874 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); 10875 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 10876 typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 10877 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 10878 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 10879 typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); 10880 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params); 10881 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params); 10882 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params); 10883 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params); 10884 typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 10885 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); 10886 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 10887 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); 10888 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); 10889 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); 10890 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 10891 typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 10892 typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 10893 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); 10894 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); 10895 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 10896 typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 10897 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 10898 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 10899 typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); 10900 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); 10901 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); 10902 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params); 10903 typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params); 10904 typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 10905 typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); 10906 typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 10907 typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture); 10908 typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); 10909 typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); 10910 typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 10911 typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); 10912 typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); 10913 typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); 10914 typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 10915 typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param); 10916 typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params); 10917 typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param); 10918 typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params); 10919 typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param); 10920 typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params); 10921 typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); 10922 typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); 10923 typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params); 10924 typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params); 10925 typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params); 10926 typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data); 10927 typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data); 10928 typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLvoid* *data); 10929 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits); 10930 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits); 10931 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits); 10932 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits); 10933 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits); 10934 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits); 10935 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, GLvoid *img); 10936 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits); 10937 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits); 10938 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits); 10939 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits); 10940 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits); 10941 typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits); 10942 typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, GLvoid *img); 10943 typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const GLvoid *string); 10944 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 10945 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params); 10946 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 10947 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params); 10948 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params); 10949 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params); 10950 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params); 10951 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, GLvoid *string); 10952 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params); 10953 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); 10954 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params); 10955 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params); 10956 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 10957 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params); 10958 typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params); 10959 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params); 10960 typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params); 10961 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params); 10962 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params); 10963 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params); 10964 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params); 10965 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); 10966 typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params); 10967 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); 10968 typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params); 10969 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); 10970 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); 10971 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 10972 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 10973 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); 10974 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); 10975 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); 10976 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 10977 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 10978 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 10979 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 10980 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); 10981 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 10982 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 10983 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 10984 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); 10985 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10986 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10987 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10988 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10989 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10990 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10991 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10992 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10993 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 10994 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); 10995 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); 10996 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); 10997 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 10998 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 10999 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 11000 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 11001 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); 11002 typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage); 11003 typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data); 11004 typedef GLvoid* (APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access); 11005 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer); 11006 typedef GLvoid* (APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); 11007 typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); 11008 typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); 11009 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params); 11010 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, GLvoid* *params); 11011 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLvoid *data); 11012 typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); 11013 typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); 11014 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); 11015 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params); 11016 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target); 11017 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 11018 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 11019 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 11020 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 11021 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); 11022 typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target); 11023 typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target); 11024 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); 11025 typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs); 11026 typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); 11027 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params); 11028 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 11029 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); 11030 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); 11031 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); 11032 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); 11033 typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer); 11034 typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer); 11035 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x); 11036 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y); 11037 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); 11038 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 11039 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 11040 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 11041 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 11042 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); 11043 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 11044 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 11045 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 11046 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 11047 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 11048 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 11049 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 11050 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 11051 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 11052 #endif 11053 11054 #ifndef GL_EXT_vertex_array_bgra 11055 #define GL_EXT_vertex_array_bgra 1 11056 #endif 11057 11058 #ifndef GL_EXT_texture_swizzle 11059 #define GL_EXT_texture_swizzle 1 11060 #endif 11061 11062 #ifndef GL_NV_explicit_multisample 11063 #define GL_NV_explicit_multisample 1 11064 #ifdef GL_GLEXT_PROTOTYPES 11065 GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val); 11066 GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask); 11067 GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer); 11068 #endif /* GL_GLEXT_PROTOTYPES */ 11069 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val); 11070 typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask); 11071 typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer); 11072 #endif 11073 11074 #ifndef GL_NV_transform_feedback2 11075 #define GL_NV_transform_feedback2 1 11076 #ifdef GL_GLEXT_PROTOTYPES 11077 GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id); 11078 GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids); 11079 GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids); 11080 GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id); 11081 GLAPI void APIENTRY glPauseTransformFeedbackNV (void); 11082 GLAPI void APIENTRY glResumeTransformFeedbackNV (void); 11083 GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id); 11084 #endif /* GL_GLEXT_PROTOTYPES */ 11085 typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id); 11086 typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids); 11087 typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids); 11088 typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id); 11089 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void); 11090 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void); 11091 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id); 11092 #endif 11093 11094 #ifndef GL_ATI_meminfo 11095 #define GL_ATI_meminfo 1 11096 #endif 11097 11098 #ifndef GL_AMD_performance_monitor 11099 #define GL_AMD_performance_monitor 1 11100 #ifdef GL_GLEXT_PROTOTYPES 11101 GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 11102 GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 11103 GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 11104 GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 11105 GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, GLvoid *data); 11106 GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); 11107 GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); 11108 GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); 11109 GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor); 11110 GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor); 11111 GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 11112 #endif /* GL_GLEXT_PROTOTYPES */ 11113 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); 11114 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); 11115 typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); 11116 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); 11117 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, GLvoid *data); 11118 typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 11119 typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); 11120 typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); 11121 typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); 11122 typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); 11123 typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); 11124 #endif 11125 11126 #ifndef GL_AMD_texture_texture4 11127 #define GL_AMD_texture_texture4 1 11128 #endif 11129 11130 #ifndef GL_AMD_vertex_shader_tesselator 11131 #define GL_AMD_vertex_shader_tesselator 1 11132 #ifdef GL_GLEXT_PROTOTYPES 11133 GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor); 11134 GLAPI void APIENTRY glTessellationModeAMD (GLenum mode); 11135 #endif /* GL_GLEXT_PROTOTYPES */ 11136 typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor); 11137 typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode); 11138 #endif 11139 11140 #ifndef GL_EXT_provoking_vertex 11141 #define GL_EXT_provoking_vertex 1 11142 #ifdef GL_GLEXT_PROTOTYPES 11143 GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode); 11144 #endif /* GL_GLEXT_PROTOTYPES */ 11145 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode); 11146 #endif 11147 11148 #ifndef GL_EXT_texture_snorm 11149 #define GL_EXT_texture_snorm 1 11150 #endif 11151 11152 #ifndef GL_AMD_draw_buffers_blend 11153 #define GL_AMD_draw_buffers_blend 1 11154 #ifdef GL_GLEXT_PROTOTYPES 11155 GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst); 11156 GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 11157 GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode); 11158 GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 11159 #endif /* GL_GLEXT_PROTOTYPES */ 11160 typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst); 11161 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 11162 typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode); 11163 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); 11164 #endif 11165 11166 #ifndef GL_APPLE_texture_range 11167 #define GL_APPLE_texture_range 1 11168 #ifdef GL_GLEXT_PROTOTYPES 11169 GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const GLvoid *pointer); 11170 GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, GLvoid* *params); 11171 #endif /* GL_GLEXT_PROTOTYPES */ 11172 typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const GLvoid *pointer); 11173 typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, GLvoid* *params); 11174 #endif 11175 11176 #ifndef GL_APPLE_float_pixels 11177 #define GL_APPLE_float_pixels 1 11178 #endif 11179 11180 #ifndef GL_APPLE_vertex_program_evaluators 11181 #define GL_APPLE_vertex_program_evaluators 1 11182 #ifdef GL_GLEXT_PROTOTYPES 11183 GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname); 11184 GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname); 11185 GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname); 11186 GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); 11187 GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); 11188 GLAPI void APIENTRY glMapVertexAttrib2dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); 11189 GLAPI void APIENTRY glMapVertexAttrib2fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); 11190 #endif /* GL_GLEXT_PROTOTYPES */ 11191 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname); 11192 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname); 11193 typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname); 11194 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); 11195 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); 11196 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); 11197 typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); 11198 #endif 11199 11200 #ifndef GL_APPLE_aux_depth_stencil 11201 #define GL_APPLE_aux_depth_stencil 1 11202 #endif 11203 11204 #ifndef GL_APPLE_object_purgeable 11205 #define GL_APPLE_object_purgeable 1 11206 #ifdef GL_GLEXT_PROTOTYPES 11207 GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option); 11208 GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option); 11209 GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params); 11210 #endif /* GL_GLEXT_PROTOTYPES */ 11211 typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option); 11212 typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option); 11213 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params); 11214 #endif 11215 11216 #ifndef GL_APPLE_row_bytes 11217 #define GL_APPLE_row_bytes 1 11218 #endif 11219 11220 #ifndef GL_APPLE_rgb_422 11221 #define GL_APPLE_rgb_422 1 11222 #endif 11223 11224 #ifndef GL_NV_video_capture 11225 #define GL_NV_video_capture 1 11226 #ifdef GL_GLEXT_PROTOTYPES 11227 GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot); 11228 GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset); 11229 GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture); 11230 GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot); 11231 GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params); 11232 GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params); 11233 GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params); 11234 GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params); 11235 GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time); 11236 GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params); 11237 GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params); 11238 GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params); 11239 #endif /* GL_GLEXT_PROTOTYPES */ 11240 typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot); 11241 typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset); 11242 typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture); 11243 typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot); 11244 typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params); 11245 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params); 11246 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params); 11247 typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params); 11248 typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time); 11249 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params); 11250 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params); 11251 typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params); 11252 #endif 11253 11254 #ifndef GL_NV_copy_image 11255 #define GL_NV_copy_image 1 11256 #ifdef GL_GLEXT_PROTOTYPES 11257 GLAPI void APIENTRY glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); 11258 #endif /* GL_GLEXT_PROTOTYPES */ 11259 typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATANVPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); 11260 #endif 11261 11262 #ifndef GL_EXT_separate_shader_objects 11263 #define GL_EXT_separate_shader_objects 1 11264 #ifdef GL_GLEXT_PROTOTYPES 11265 GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program); 11266 GLAPI void APIENTRY glActiveProgramEXT (GLuint program); 11267 GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string); 11268 #endif /* GL_GLEXT_PROTOTYPES */ 11269 typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program); 11270 typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program); 11271 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string); 11272 #endif 11273 11274 #ifndef GL_NV_parameter_buffer_object2 11275 #define GL_NV_parameter_buffer_object2 1 11276 #endif 11277 11278 #ifndef GL_NV_shader_buffer_load 11279 #define GL_NV_shader_buffer_load 1 11280 #ifdef GL_GLEXT_PROTOTYPES 11281 GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access); 11282 GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target); 11283 GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target); 11284 GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access); 11285 GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer); 11286 GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer); 11287 GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params); 11288 GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params); 11289 GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result); 11290 GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value); 11291 GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 11292 GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params); 11293 GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value); 11294 GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 11295 #endif /* GL_GLEXT_PROTOTYPES */ 11296 typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access); 11297 typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target); 11298 typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target); 11299 typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access); 11300 typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer); 11301 typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer); 11302 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params); 11303 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params); 11304 typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result); 11305 typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value); 11306 typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 11307 typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params); 11308 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value); 11309 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 11310 #endif 11311 11312 #ifndef GL_NV_vertex_buffer_unified_memory 11313 #define GL_NV_vertex_buffer_unified_memory 1 11314 #ifdef GL_GLEXT_PROTOTYPES 11315 GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); 11316 GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride); 11317 GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride); 11318 GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride); 11319 GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride); 11320 GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride); 11321 GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride); 11322 GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride); 11323 GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride); 11324 GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); 11325 GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride); 11326 GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result); 11327 #endif /* GL_GLEXT_PROTOTYPES */ 11328 typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); 11329 typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); 11330 typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride); 11331 typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); 11332 typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride); 11333 typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); 11334 typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride); 11335 typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); 11336 typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride); 11337 typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); 11338 typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride); 11339 typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result); 11340 #endif 11341 11342 #ifndef GL_NV_texture_barrier 11343 #define GL_NV_texture_barrier 1 11344 #ifdef GL_GLEXT_PROTOTYPES 11345 GLAPI void APIENTRY glTextureBarrierNV (void); 11346 #endif /* GL_GLEXT_PROTOTYPES */ 11347 typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void); 11348 #endif 11349 11350 #ifndef GL_AMD_shader_stencil_export 11351 #define GL_AMD_shader_stencil_export 1 11352 #endif 11353 11354 #ifndef GL_AMD_seamless_cubemap_per_texture 11355 #define GL_AMD_seamless_cubemap_per_texture 1 11356 #endif 11357 11358 #ifndef GL_AMD_conservative_depth 11359 #define GL_AMD_conservative_depth 1 11360 #endif 11361 11362 #ifndef GL_EXT_shader_image_load_store 11363 #define GL_EXT_shader_image_load_store 1 11364 #ifdef GL_GLEXT_PROTOTYPES 11365 GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format); 11366 GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers); 11367 #endif /* GL_GLEXT_PROTOTYPES */ 11368 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format); 11369 typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers); 11370 #endif 11371 11372 #ifndef GL_EXT_vertex_attrib_64bit 11373 #define GL_EXT_vertex_attrib_64bit 1 11374 #ifdef GL_GLEXT_PROTOTYPES 11375 GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x); 11376 GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y); 11377 GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z); 11378 GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 11379 GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v); 11380 GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v); 11381 GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v); 11382 GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v); 11383 GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 11384 GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params); 11385 GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); 11386 #endif /* GL_GLEXT_PROTOTYPES */ 11387 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x); 11388 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y); 11389 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); 11390 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 11391 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v); 11392 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v); 11393 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v); 11394 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v); 11395 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 11396 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params); 11397 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); 11398 #endif 11399 11400 #ifndef GL_NV_gpu_program5 11401 #define GL_NV_gpu_program5 1 11402 #ifdef GL_GLEXT_PROTOTYPES 11403 GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params); 11404 GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param); 11405 #endif /* GL_GLEXT_PROTOTYPES */ 11406 typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params); 11407 typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param); 11408 #endif 11409 11410 #ifndef GL_NV_gpu_shader5 11411 #define GL_NV_gpu_shader5 1 11412 #ifdef GL_GLEXT_PROTOTYPES 11413 GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x); 11414 GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y); 11415 GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 11416 GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 11417 GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 11418 GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 11419 GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 11420 GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value); 11421 GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x); 11422 GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y); 11423 GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 11424 GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 11425 GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 11426 GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 11427 GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 11428 GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); 11429 GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params); 11430 GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x); 11431 GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); 11432 GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 11433 GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 11434 GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 11435 GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 11436 GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 11437 GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 11438 GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x); 11439 GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); 11440 GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 11441 GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 11442 GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 11443 GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 11444 GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 11445 GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 11446 #endif /* GL_GLEXT_PROTOTYPES */ 11447 typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x); 11448 typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y); 11449 typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 11450 typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 11451 typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 11452 typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 11453 typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 11454 typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); 11455 typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x); 11456 typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y); 11457 typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 11458 typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 11459 typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 11460 typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 11461 typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 11462 typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); 11463 typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params); 11464 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x); 11465 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); 11466 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); 11467 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 11468 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 11469 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 11470 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 11471 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); 11472 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x); 11473 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); 11474 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 11475 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 11476 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 11477 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 11478 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 11479 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); 11480 #endif 11481 11482 #ifndef GL_NV_shader_buffer_store 11483 #define GL_NV_shader_buffer_store 1 11484 #endif 11485 11486 #ifndef GL_NV_tessellation_program5 11487 #define GL_NV_tessellation_program5 1 11488 #endif 11489 11490 #ifndef GL_NV_vertex_attrib_integer_64bit 11491 #define GL_NV_vertex_attrib_integer_64bit 1 11492 #ifdef GL_GLEXT_PROTOTYPES 11493 GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x); 11494 GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y); 11495 GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); 11496 GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 11497 GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v); 11498 GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v); 11499 GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v); 11500 GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v); 11501 GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x); 11502 GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y); 11503 GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 11504 GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 11505 GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v); 11506 GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v); 11507 GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v); 11508 GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v); 11509 GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params); 11510 GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params); 11511 GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride); 11512 #endif /* GL_GLEXT_PROTOTYPES */ 11513 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x); 11514 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y); 11515 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); 11516 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); 11517 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v); 11518 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v); 11519 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v); 11520 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v); 11521 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x); 11522 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y); 11523 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); 11524 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); 11525 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v); 11526 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v); 11527 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v); 11528 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v); 11529 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params); 11530 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params); 11531 typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride); 11532 #endif 11533 11534 #ifndef GL_NV_multisample_coverage 11535 #define GL_NV_multisample_coverage 1 11536 #endif 11537 11538 #ifndef GL_AMD_name_gen_delete 11539 #define GL_AMD_name_gen_delete 1 11540 #ifdef GL_GLEXT_PROTOTYPES 11541 GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names); 11542 GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names); 11543 GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name); 11544 #endif /* GL_GLEXT_PROTOTYPES */ 11545 typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names); 11546 typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names); 11547 typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name); 11548 #endif 11549 11550 #ifndef GL_AMD_debug_output 11551 #define GL_AMD_debug_output 1 11552 #ifdef GL_GLEXT_PROTOTYPES 11553 GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 11554 GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf); 11555 GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, GLvoid *userParam); 11556 GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message); 11557 #endif /* GL_GLEXT_PROTOTYPES */ 11558 typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); 11559 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf); 11560 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, GLvoid *userParam); 11561 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message); 11562 #endif 11563 11564 #ifndef GL_NV_vdpau_interop 11565 #define GL_NV_vdpau_interop 1 11566 #ifdef GL_GLEXT_PROTOTYPES 11567 GLAPI void APIENTRY glVDPAUInitNV (const GLvoid *vdpDevice, const GLvoid *getProcAddress); 11568 GLAPI void APIENTRY glVDPAUFiniNV (void); 11569 GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); 11570 GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); 11571 GLAPI void APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface); 11572 GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface); 11573 GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 11574 GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access); 11575 GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces); 11576 GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces); 11577 #endif /* GL_GLEXT_PROTOTYPES */ 11578 typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const GLvoid *vdpDevice, const GLvoid *getProcAddress); 11579 typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void); 11580 typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); 11581 typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); 11582 typedef void (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface); 11583 typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface); 11584 typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 11585 typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access); 11586 typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces); 11587 typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces); 11588 #endif 11589 11590 #ifndef GL_AMD_transform_feedback3_lines_triangles 11591 #define GL_AMD_transform_feedback3_lines_triangles 1 11592 #endif 11593 11594 #ifndef GL_AMD_depth_clamp_separate 11595 #define GL_AMD_depth_clamp_separate 1 11596 #endif 11597 11598 #ifndef GL_EXT_texture_sRGB_decode 11599 #define GL_EXT_texture_sRGB_decode 1 11600 #endif 11601 11602 #ifndef GL_NV_texture_multisample 11603 #define GL_NV_texture_multisample 1 11604 #ifdef GL_GLEXT_PROTOTYPES 11605 GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); 11606 GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); 11607 GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); 11608 GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); 11609 GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); 11610 GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); 11611 #endif /* GL_GLEXT_PROTOTYPES */ 11612 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); 11613 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); 11614 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); 11615 typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); 11616 typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); 11617 typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); 11618 #endif 11619 11620 #ifndef GL_AMD_blend_minmax_factor 11621 #define GL_AMD_blend_minmax_factor 1 11622 #endif 11623 11624 #ifndef GL_AMD_sample_positions 11625 #define GL_AMD_sample_positions 1 11626 #ifdef GL_GLEXT_PROTOTYPES 11627 GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val); 11628 #endif /* GL_GLEXT_PROTOTYPES */ 11629 typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val); 11630 #endif 11631 11632 #ifndef GL_EXT_x11_sync_object 11633 #define GL_EXT_x11_sync_object 1 11634 #ifdef GL_GLEXT_PROTOTYPES 11635 GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags); 11636 #endif /* GL_GLEXT_PROTOTYPES */ 11637 typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags); 11638 #endif 11639 11640 #ifndef GL_AMD_multi_draw_indirect 11641 #define GL_AMD_multi_draw_indirect 1 11642 #ifdef GL_GLEXT_PROTOTYPES 11643 GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const GLvoid *indirect, GLsizei primcount, GLsizei stride); 11644 GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const GLvoid *indirect, GLsizei primcount, GLsizei stride); 11645 #endif /* GL_GLEXT_PROTOTYPES */ 11646 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const GLvoid *indirect, GLsizei primcount, GLsizei stride); 11647 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const GLvoid *indirect, GLsizei primcount, GLsizei stride); 11648 #endif 11649 11650 #ifndef GL_EXT_framebuffer_multisample_blit_scaled 11651 #define GL_EXT_framebuffer_multisample_blit_scaled 1 11652 #endif 11653 11654 #ifndef GL_NV_path_rendering 11655 #define GL_NV_path_rendering 1 11656 #ifdef GL_GLEXT_PROTOTYPES 11657 GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range); 11658 GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range); 11659 GLAPI GLboolean APIENTRY glIsPathNV (GLuint path); 11660 GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords); 11661 GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const GLvoid *coords); 11662 GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords); 11663 GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const GLvoid *coords); 11664 GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const GLvoid *pathString); 11665 GLAPI void APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const GLvoid *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 11666 GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 11667 GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); 11668 GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath); 11669 GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); 11670 GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); 11671 GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value); 11672 GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value); 11673 GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value); 11674 GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value); 11675 GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray); 11676 GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask); 11677 GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units); 11678 GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask); 11679 GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask); 11680 GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); 11681 GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); 11682 GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func); 11683 GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs); 11684 GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs); 11685 GLAPI void APIENTRY glPathFogGenNV (GLenum genMode); 11686 GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode); 11687 GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode); 11688 GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 11689 GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 11690 GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value); 11691 GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value); 11692 GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands); 11693 GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords); 11694 GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray); 11695 GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); 11696 GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); 11697 GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); 11698 GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value); 11699 GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value); 11700 GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value); 11701 GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value); 11702 GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y); 11703 GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y); 11704 GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments); 11705 GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); 11706 #endif /* GL_GLEXT_PROTOTYPES */ 11707 typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range); 11708 typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range); 11709 typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path); 11710 typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords); 11711 typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const GLvoid *coords); 11712 typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords); 11713 typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const GLvoid *coords); 11714 typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const GLvoid *pathString); 11715 typedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const GLvoid *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 11716 typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); 11717 typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); 11718 typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath); 11719 typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); 11720 typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); 11721 typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value); 11722 typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value); 11723 typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value); 11724 typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value); 11725 typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray); 11726 typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask); 11727 typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units); 11728 typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask); 11729 typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask); 11730 typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); 11731 typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); 11732 typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func); 11733 typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs); 11734 typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs); 11735 typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode); 11736 typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode); 11737 typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode); 11738 typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 11739 typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); 11740 typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value); 11741 typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value); 11742 typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands); 11743 typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords); 11744 typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray); 11745 typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); 11746 typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); 11747 typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); 11748 typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value); 11749 typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value); 11750 typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value); 11751 typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value); 11752 typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y); 11753 typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y); 11754 typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments); 11755 typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); 11756 #endif 11757 11758 #ifndef GL_AMD_pinned_memory 11759 #define GL_AMD_pinned_memory 1 11760 #endif 11761 11762 #ifndef GL_AMD_stencil_operation_extended 11763 #define GL_AMD_stencil_operation_extended 1 11764 #ifdef GL_GLEXT_PROTOTYPES 11765 GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value); 11766 #endif /* GL_GLEXT_PROTOTYPES */ 11767 typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value); 11768 #endif 11769 11770 #ifndef GL_AMD_vertex_shader_viewport_index 11771 #define GL_AMD_vertex_shader_viewport_index 1 11772 #endif 11773 11774 #ifndef GL_AMD_vertex_shader_layer 11775 #define GL_AMD_vertex_shader_layer 1 11776 #endif 11777 11778 #ifndef GL_NV_bindless_texture 11779 #define GL_NV_bindless_texture 1 11780 #ifdef GL_GLEXT_PROTOTYPES 11781 GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture); 11782 GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler); 11783 GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle); 11784 GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle); 11785 GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 11786 GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access); 11787 GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle); 11788 GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value); 11789 GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value); 11790 GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value); 11791 GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 11792 GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle); 11793 GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle); 11794 #endif /* GL_GLEXT_PROTOTYPES */ 11795 typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture); 11796 typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler); 11797 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); 11798 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle); 11799 typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); 11800 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access); 11801 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle); 11802 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value); 11803 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value); 11804 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value); 11805 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); 11806 typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); 11807 typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle); 11808 #endif 11809 11810 #ifndef GL_NV_shader_atomic_float 11811 #define GL_NV_shader_atomic_float 1 11812 #endif 11813 11814 #ifndef GL_AMD_query_buffer_object 11815 #define GL_AMD_query_buffer_object 1 11816 #endif 11817 11818 11819 #ifdef __cplusplus 11820 } 11821 #endif 11822 11823 #endif 11824