< prev index next >

src/java.desktop/share/native/common/java2d/opengl/J2D_GL/glext.h

Print this page




   5  * under the terms of the GNU General Public License version 2 only, as
   6  * published by the Free Software Foundation.  Oracle designates this
   7  * particular file as subject to the "Classpath" exception as provided
   8  * by Oracle in the LICENSE file that accompanied this code.
   9  *
  10  * This code is distributed in the hope that it will be useful, but WITHOUT
  11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  */
  24 
  25 #ifndef __glext_h_
  26 #define __glext_h_
  27 
  28 #ifdef __cplusplus
  29 extern "C" {
  30 #endif
  31 
  32 /*
  33 ** This file is available under and governed by the GNU General Public
  34 ** License version 2 only, as published by the Free Software Foundation.
  35 ** However, the following notice accompanied the original version of this
  36 ** file:
  37 **
  38 ** Copyright (c) 2007 The Khronos Group Inc.
  39 **
  40 ** Permission is hereby granted, free of charge, to any person obtaining a
  41 ** copy of this software and/or associated documentation files (the
  42 ** "Materials"), to deal in the Materials without restriction, including
  43 ** without limitation the rights to use, copy, modify, merge, publish,
  44 ** distribute, sublicense, and/or sell copies of the Materials, and to
  45 ** permit persons to whom the Materials are furnished to do so, subject to
  46 ** the following conditions:
  47 **
  48 ** The above copyright notice and this permission notice shall be included
  49 ** in all copies or substantial portions of the Materials.
  50 **
  51 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  52 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  53 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  54 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  55 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  56 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  57 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
  58 */






  59 
  60 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)

  61 #define WIN32_LEAN_AND_MEAN 1

  62 #include <windows.h>
  63 #endif
  64 
  65 #ifndef APIENTRY
  66 #define APIENTRY
  67 #endif
  68 #ifndef APIENTRYP
  69 #define APIENTRYP APIENTRY *
  70 #endif
  71 #ifndef GLAPI
  72 #define GLAPI extern
  73 #endif
  74 
  75 /*************************************************************/



  76 
  77 /* Header file version number, required by OpenGL ABI for Linux */
  78 /* glext.h last updated 2005/03/17 */
  79 /* Current version at http://oss.sgi.com/projects/ogl-sample/registry/ */
  80 #define GL_GLEXT_VERSION 27





  81 
  82 #ifndef GL_VERSION_1_2

  83 #define GL_UNSIGNED_BYTE_3_3_2            0x8032
  84 #define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
  85 #define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
  86 #define GL_UNSIGNED_INT_8_8_8_8           0x8035
  87 #define GL_UNSIGNED_INT_10_10_10_2        0x8036
  88 #define GL_RESCALE_NORMAL                 0x803A
  89 #define GL_TEXTURE_BINDING_3D             0x806A
  90 #define GL_PACK_SKIP_IMAGES               0x806B
  91 #define GL_PACK_IMAGE_HEIGHT              0x806C
  92 #define GL_UNPACK_SKIP_IMAGES             0x806D
  93 #define GL_UNPACK_IMAGE_HEIGHT            0x806E
  94 #define GL_TEXTURE_3D                     0x806F
  95 #define GL_PROXY_TEXTURE_3D               0x8070
  96 #define GL_TEXTURE_DEPTH                  0x8071
  97 #define GL_TEXTURE_WRAP_R                 0x8072
  98 #define GL_MAX_3D_TEXTURE_SIZE            0x8073
  99 #define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
 100 #define GL_UNSIGNED_SHORT_5_6_5           0x8363
 101 #define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
 102 #define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
 103 #define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
 104 #define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
 105 #define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
 106 #define GL_BGR                            0x80E0
 107 #define GL_BGRA                           0x80E1
 108 #define GL_MAX_ELEMENTS_VERTICES          0x80E8
 109 #define GL_MAX_ELEMENTS_INDICES           0x80E9
 110 #define GL_CLAMP_TO_EDGE                  0x812F
 111 #define GL_TEXTURE_MIN_LOD                0x813A
 112 #define GL_TEXTURE_MAX_LOD                0x813B
 113 #define GL_TEXTURE_BASE_LEVEL             0x813C
 114 #define GL_TEXTURE_MAX_LEVEL              0x813D
 115 #define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
 116 #define GL_SINGLE_COLOR                   0x81F9
 117 #define GL_SEPARATE_SPECULAR_COLOR        0x81FA
 118 #define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
 119 #define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
 120 #define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
 121 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
 122 #define GL_ALIASED_POINT_SIZE_RANGE       0x846D
 123 #define GL_ALIASED_LINE_WIDTH_RANGE       0x846E














 124 #endif
 125 
 126 #ifndef GL_ARB_imaging
 127 #define GL_CONSTANT_COLOR                 0x8001
 128 #define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
 129 #define GL_CONSTANT_ALPHA                 0x8003
 130 #define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
 131 #define GL_BLEND_COLOR                    0x8005
 132 #define GL_FUNC_ADD                       0x8006
 133 #define GL_MIN                            0x8007
 134 #define GL_MAX                            0x8008
 135 #define GL_BLEND_EQUATION                 0x8009
 136 #define GL_FUNC_SUBTRACT                  0x800A
 137 #define GL_FUNC_REVERSE_SUBTRACT          0x800B
 138 #define GL_CONVOLUTION_1D                 0x8010
 139 #define GL_CONVOLUTION_2D                 0x8011
 140 #define GL_SEPARABLE_2D                   0x8012
 141 #define GL_CONVOLUTION_BORDER_MODE        0x8013
 142 #define GL_CONVOLUTION_FILTER_SCALE       0x8014
 143 #define GL_CONVOLUTION_FILTER_BIAS        0x8015
 144 #define GL_REDUCE                         0x8016
 145 #define GL_CONVOLUTION_FORMAT             0x8017
 146 #define GL_CONVOLUTION_WIDTH              0x8018
 147 #define GL_CONVOLUTION_HEIGHT             0x8019
 148 #define GL_MAX_CONVOLUTION_WIDTH          0x801A
 149 #define GL_MAX_CONVOLUTION_HEIGHT         0x801B
 150 #define GL_POST_CONVOLUTION_RED_SCALE     0x801C
 151 #define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
 152 #define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
 153 #define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
 154 #define GL_POST_CONVOLUTION_RED_BIAS      0x8020
 155 #define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
 156 #define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
 157 #define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
 158 #define GL_HISTOGRAM                      0x8024
 159 #define GL_PROXY_HISTOGRAM                0x8025
 160 #define GL_HISTOGRAM_WIDTH                0x8026
 161 #define GL_HISTOGRAM_FORMAT               0x8027
 162 #define GL_HISTOGRAM_RED_SIZE             0x8028
 163 #define GL_HISTOGRAM_GREEN_SIZE           0x8029
 164 #define GL_HISTOGRAM_BLUE_SIZE            0x802A
 165 #define GL_HISTOGRAM_ALPHA_SIZE           0x802B
 166 #define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
 167 #define GL_HISTOGRAM_SINK                 0x802D
 168 #define GL_MINMAX                         0x802E
 169 #define GL_MINMAX_FORMAT                  0x802F
 170 #define GL_MINMAX_SINK                    0x8030
 171 #define GL_TABLE_TOO_LARGE                0x8031
 172 #define GL_COLOR_MATRIX                   0x80B1
 173 #define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
 174 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
 175 #define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
 176 #define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
 177 #define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
 178 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
 179 #define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
 180 #define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
 181 #define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
 182 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
 183 #define GL_COLOR_TABLE                    0x80D0
 184 #define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
 185 #define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
 186 #define GL_PROXY_COLOR_TABLE              0x80D3
 187 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
 188 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
 189 #define GL_COLOR_TABLE_SCALE              0x80D6
 190 #define GL_COLOR_TABLE_BIAS               0x80D7
 191 #define GL_COLOR_TABLE_FORMAT             0x80D8
 192 #define GL_COLOR_TABLE_WIDTH              0x80D9
 193 #define GL_COLOR_TABLE_RED_SIZE           0x80DA
 194 #define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
 195 #define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
 196 #define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
 197 #define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
 198 #define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
 199 #define GL_CONSTANT_BORDER                0x8151
 200 #define GL_REPLICATE_BORDER               0x8153
 201 #define GL_CONVOLUTION_BORDER_COLOR       0x8154
 202 #endif
 203 
 204 #ifndef GL_VERSION_1_3

 205 #define GL_TEXTURE0                       0x84C0
 206 #define GL_TEXTURE1                       0x84C1
 207 #define GL_TEXTURE2                       0x84C2
 208 #define GL_TEXTURE3                       0x84C3
 209 #define GL_TEXTURE4                       0x84C4
 210 #define GL_TEXTURE5                       0x84C5
 211 #define GL_TEXTURE6                       0x84C6
 212 #define GL_TEXTURE7                       0x84C7
 213 #define GL_TEXTURE8                       0x84C8
 214 #define GL_TEXTURE9                       0x84C9
 215 #define GL_TEXTURE10                      0x84CA
 216 #define GL_TEXTURE11                      0x84CB
 217 #define GL_TEXTURE12                      0x84CC
 218 #define GL_TEXTURE13                      0x84CD
 219 #define GL_TEXTURE14                      0x84CE
 220 #define GL_TEXTURE15                      0x84CF
 221 #define GL_TEXTURE16                      0x84D0
 222 #define GL_TEXTURE17                      0x84D1
 223 #define GL_TEXTURE18                      0x84D2
 224 #define GL_TEXTURE19                      0x84D3
 225 #define GL_TEXTURE20                      0x84D4
 226 #define GL_TEXTURE21                      0x84D5
 227 #define GL_TEXTURE22                      0x84D6
 228 #define GL_TEXTURE23                      0x84D7
 229 #define GL_TEXTURE24                      0x84D8
 230 #define GL_TEXTURE25                      0x84D9
 231 #define GL_TEXTURE26                      0x84DA
 232 #define GL_TEXTURE27                      0x84DB
 233 #define GL_TEXTURE28                      0x84DC
 234 #define GL_TEXTURE29                      0x84DD
 235 #define GL_TEXTURE30                      0x84DE
 236 #define GL_TEXTURE31                      0x84DF
 237 #define GL_ACTIVE_TEXTURE                 0x84E0
 238 #define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
 239 #define GL_MAX_TEXTURE_UNITS              0x84E2
 240 #define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
 241 #define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
 242 #define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
 243 #define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
 244 #define GL_MULTISAMPLE                    0x809D
 245 #define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
 246 #define GL_SAMPLE_ALPHA_TO_ONE            0x809F
 247 #define GL_SAMPLE_COVERAGE                0x80A0
 248 #define GL_SAMPLE_BUFFERS                 0x80A8
 249 #define GL_SAMPLES                        0x80A9
 250 #define GL_SAMPLE_COVERAGE_VALUE          0x80AA
 251 #define GL_SAMPLE_COVERAGE_INVERT         0x80AB
 252 #define GL_MULTISAMPLE_BIT                0x20000000
 253 #define GL_NORMAL_MAP                     0x8511
 254 #define GL_REFLECTION_MAP                 0x8512
 255 #define GL_TEXTURE_CUBE_MAP               0x8513
 256 #define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
 257 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
 258 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
 259 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
 260 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
 261 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
 262 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
 263 #define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
 264 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
 265 #define GL_COMPRESSED_ALPHA               0x84E9
 266 #define GL_COMPRESSED_LUMINANCE           0x84EA
 267 #define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
 268 #define GL_COMPRESSED_INTENSITY           0x84EC
 269 #define GL_COMPRESSED_RGB                 0x84ED
 270 #define GL_COMPRESSED_RGBA                0x84EE
 271 #define GL_TEXTURE_COMPRESSION_HINT       0x84EF
 272 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
 273 #define GL_TEXTURE_COMPRESSED             0x86A1
 274 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
 275 #define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
 276 #define GL_CLAMP_TO_BORDER                0x812D













 277 #define GL_COMBINE                        0x8570
 278 #define GL_COMBINE_RGB                    0x8571
 279 #define GL_COMBINE_ALPHA                  0x8572
 280 #define GL_SOURCE0_RGB                    0x8580
 281 #define GL_SOURCE1_RGB                    0x8581
 282 #define GL_SOURCE2_RGB                    0x8582
 283 #define GL_SOURCE0_ALPHA                  0x8588
 284 #define GL_SOURCE1_ALPHA                  0x8589
 285 #define GL_SOURCE2_ALPHA                  0x858A
 286 #define GL_OPERAND0_RGB                   0x8590
 287 #define GL_OPERAND1_RGB                   0x8591
 288 #define GL_OPERAND2_RGB                   0x8592
 289 #define GL_OPERAND0_ALPHA                 0x8598
 290 #define GL_OPERAND1_ALPHA                 0x8599
 291 #define GL_OPERAND2_ALPHA                 0x859A
 292 #define GL_RGB_SCALE                      0x8573
 293 #define GL_ADD_SIGNED                     0x8574
 294 #define GL_INTERPOLATE                    0x8575
 295 #define GL_SUBTRACT                       0x84E7
 296 #define GL_CONSTANT                       0x8576
 297 #define GL_PRIMARY_COLOR                  0x8577
 298 #define GL_PREVIOUS                       0x8578
 299 #define GL_DOT3_RGB                       0x86AE
 300 #define GL_DOT3_RGBA                      0x86AF





























































































 301 #endif

 302 
 303 #ifndef GL_VERSION_1_4

 304 #define GL_BLEND_DST_RGB                  0x80C8
 305 #define GL_BLEND_SRC_RGB                  0x80C9
 306 #define GL_BLEND_DST_ALPHA                0x80CA
 307 #define GL_BLEND_SRC_ALPHA                0x80CB
 308 #define GL_POINT_SIZE_MIN                 0x8126
 309 #define GL_POINT_SIZE_MAX                 0x8127
 310 #define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
 311 #define GL_POINT_DISTANCE_ATTENUATION     0x8129
 312 #define GL_GENERATE_MIPMAP                0x8191
 313 #define GL_GENERATE_MIPMAP_HINT           0x8192
 314 #define GL_DEPTH_COMPONENT16              0x81A5
 315 #define GL_DEPTH_COMPONENT24              0x81A6
 316 #define GL_DEPTH_COMPONENT32              0x81A7
 317 #define GL_MIRRORED_REPEAT                0x8370












 318 #define GL_FOG_COORDINATE_SOURCE          0x8450
 319 #define GL_FOG_COORDINATE                 0x8451
 320 #define GL_FRAGMENT_DEPTH                 0x8452
 321 #define GL_CURRENT_FOG_COORDINATE         0x8453
 322 #define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
 323 #define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
 324 #define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
 325 #define GL_FOG_COORDINATE_ARRAY           0x8457
 326 #define GL_COLOR_SUM                      0x8458
 327 #define GL_CURRENT_SECONDARY_COLOR        0x8459
 328 #define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
 329 #define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
 330 #define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
 331 #define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
 332 #define GL_SECONDARY_COLOR_ARRAY          0x845E
 333 #define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
 334 #define GL_TEXTURE_FILTER_CONTROL         0x8500
 335 #define GL_TEXTURE_LOD_BIAS               0x8501
 336 #define GL_INCR_WRAP                      0x8507
 337 #define GL_DECR_WRAP                      0x8508
 338 #define GL_TEXTURE_DEPTH_SIZE             0x884A
 339 #define GL_DEPTH_TEXTURE_MODE             0x884B
 340 #define GL_TEXTURE_COMPARE_MODE           0x884C
 341 #define GL_TEXTURE_COMPARE_FUNC           0x884D
 342 #define GL_COMPARE_R_TO_TEXTURE           0x884E










































































































 343 #endif

 344 
 345 #ifndef GL_VERSION_1_5



 346 #define GL_BUFFER_SIZE                    0x8764
 347 #define GL_BUFFER_USAGE                   0x8765
 348 #define GL_QUERY_COUNTER_BITS             0x8864
 349 #define GL_CURRENT_QUERY                  0x8865
 350 #define GL_QUERY_RESULT                   0x8866
 351 #define GL_QUERY_RESULT_AVAILABLE         0x8867
 352 #define GL_ARRAY_BUFFER                   0x8892
 353 #define GL_ELEMENT_ARRAY_BUFFER           0x8893
 354 #define GL_ARRAY_BUFFER_BINDING           0x8894
 355 #define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
 356 #define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
 357 #define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
 358 #define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
 359 #define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
 360 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
 361 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
 362 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
 363 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
 364 #define GL_WEIGHT_ARRAY_BUFFER_BINDING    0x889E
 365 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
 366 #define GL_READ_ONLY                      0x88B8
 367 #define GL_WRITE_ONLY                     0x88B9
 368 #define GL_READ_WRITE                     0x88BA
 369 #define GL_BUFFER_ACCESS                  0x88BB
 370 #define GL_BUFFER_MAPPED                  0x88BC
 371 #define GL_BUFFER_MAP_POINTER             0x88BD
 372 #define GL_STREAM_DRAW                    0x88E0
 373 #define GL_STREAM_READ                    0x88E1
 374 #define GL_STREAM_COPY                    0x88E2
 375 #define GL_STATIC_DRAW                    0x88E4
 376 #define GL_STATIC_READ                    0x88E5
 377 #define GL_STATIC_COPY                    0x88E6
 378 #define GL_DYNAMIC_DRAW                   0x88E8
 379 #define GL_DYNAMIC_READ                   0x88E9
 380 #define GL_DYNAMIC_COPY                   0x88EA
 381 #define GL_SAMPLES_PASSED                 0x8914
 382 #define GL_FOG_COORD_SRC                  GL_FOG_COORDINATE_SOURCE
 383 #define GL_FOG_COORD                      GL_FOG_COORDINATE
 384 #define GL_CURRENT_FOG_COORD              GL_CURRENT_FOG_COORDINATE
 385 #define GL_FOG_COORD_ARRAY_TYPE           GL_FOG_COORDINATE_ARRAY_TYPE
 386 #define GL_FOG_COORD_ARRAY_STRIDE         GL_FOG_COORDINATE_ARRAY_STRIDE
 387 #define GL_FOG_COORD_ARRAY_POINTER        GL_FOG_COORDINATE_ARRAY_POINTER
 388 #define GL_FOG_COORD_ARRAY                GL_FOG_COORDINATE_ARRAY
 389 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
 390 #define GL_SRC0_RGB                       GL_SOURCE0_RGB
 391 #define GL_SRC1_RGB                       GL_SOURCE1_RGB
 392 #define GL_SRC2_RGB                       GL_SOURCE2_RGB
 393 #define GL_SRC0_ALPHA                     GL_SOURCE0_ALPHA
 394 #define GL_SRC1_ALPHA                     GL_SOURCE1_ALPHA
 395 #define GL_SRC2_ALPHA                     GL_SOURCE2_ALPHA
 396 #endif
 397 
 398 #ifndef GL_VERSION_2_0
 399 #define GL_BLEND_EQUATION_RGB             GL_BLEND_EQUATION
 400 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
 401 #define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623



















































 402 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
 403 #define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
 404 #define GL_CURRENT_VERTEX_ATTRIB          0x8626
 405 #define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642
 406 #define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
 407 #define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
 408 #define GL_STENCIL_BACK_FUNC              0x8800
 409 #define GL_STENCIL_BACK_FAIL              0x8801
 410 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
 411 #define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
 412 #define GL_MAX_DRAW_BUFFERS               0x8824
 413 #define GL_DRAW_BUFFER0                   0x8825
 414 #define GL_DRAW_BUFFER1                   0x8826
 415 #define GL_DRAW_BUFFER2                   0x8827
 416 #define GL_DRAW_BUFFER3                   0x8828
 417 #define GL_DRAW_BUFFER4                   0x8829
 418 #define GL_DRAW_BUFFER5                   0x882A
 419 #define GL_DRAW_BUFFER6                   0x882B
 420 #define GL_DRAW_BUFFER7                   0x882C
 421 #define GL_DRAW_BUFFER8                   0x882D
 422 #define GL_DRAW_BUFFER9                   0x882E
 423 #define GL_DRAW_BUFFER10                  0x882F
 424 #define GL_DRAW_BUFFER11                  0x8830
 425 #define GL_DRAW_BUFFER12                  0x8831
 426 #define GL_DRAW_BUFFER13                  0x8832
 427 #define GL_DRAW_BUFFER14                  0x8833
 428 #define GL_DRAW_BUFFER15                  0x8834
 429 #define GL_BLEND_EQUATION_ALPHA           0x883D
 430 #define GL_POINT_SPRITE                   0x8861
 431 #define GL_COORD_REPLACE                  0x8862
 432 #define GL_MAX_VERTEX_ATTRIBS             0x8869
 433 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
 434 #define GL_MAX_TEXTURE_COORDS             0x8871
 435 #define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
 436 #define GL_FRAGMENT_SHADER                0x8B30
 437 #define GL_VERTEX_SHADER                  0x8B31
 438 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
 439 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
 440 #define GL_MAX_VARYING_FLOATS             0x8B4B
 441 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
 442 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
 443 #define GL_SHADER_TYPE                    0x8B4F
 444 #define GL_FLOAT_VEC2                     0x8B50
 445 #define GL_FLOAT_VEC3                     0x8B51
 446 #define GL_FLOAT_VEC4                     0x8B52
 447 #define GL_INT_VEC2                       0x8B53
 448 #define GL_INT_VEC3                       0x8B54
 449 #define GL_INT_VEC4                       0x8B55
 450 #define GL_BOOL                           0x8B56
 451 #define GL_BOOL_VEC2                      0x8B57
 452 #define GL_BOOL_VEC3                      0x8B58
 453 #define GL_BOOL_VEC4                      0x8B59
 454 #define GL_FLOAT_MAT2                     0x8B5A


 463 #define GL_DELETE_STATUS                  0x8B80
 464 #define GL_COMPILE_STATUS                 0x8B81
 465 #define GL_LINK_STATUS                    0x8B82
 466 #define GL_VALIDATE_STATUS                0x8B83
 467 #define GL_INFO_LOG_LENGTH                0x8B84
 468 #define GL_ATTACHED_SHADERS               0x8B85
 469 #define GL_ACTIVE_UNIFORMS                0x8B86
 470 #define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
 471 #define GL_SHADER_SOURCE_LENGTH           0x8B88
 472 #define GL_ACTIVE_ATTRIBUTES              0x8B89
 473 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
 474 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
 475 #define GL_SHADING_LANGUAGE_VERSION       0x8B8C
 476 #define GL_CURRENT_PROGRAM                0x8B8D
 477 #define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
 478 #define GL_LOWER_LEFT                     0x8CA1
 479 #define GL_UPPER_LEFT                     0x8CA2
 480 #define GL_STENCIL_BACK_REF               0x8CA3
 481 #define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
 482 #define GL_STENCIL_BACK_WRITEMASK         0x8CA5
 483 #endif





















































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































 484 
 485 #ifndef GL_ARB_multitexture
 486 #define GL_TEXTURE0_ARB                   0x84C0
 487 #define GL_TEXTURE1_ARB                   0x84C1
 488 #define GL_TEXTURE2_ARB                   0x84C2
 489 #define GL_TEXTURE3_ARB                   0x84C3
 490 #define GL_TEXTURE4_ARB                   0x84C4
 491 #define GL_TEXTURE5_ARB                   0x84C5
 492 #define GL_TEXTURE6_ARB                   0x84C6
 493 #define GL_TEXTURE7_ARB                   0x84C7
 494 #define GL_TEXTURE8_ARB                   0x84C8
 495 #define GL_TEXTURE9_ARB                   0x84C9
 496 #define GL_TEXTURE10_ARB                  0x84CA
 497 #define GL_TEXTURE11_ARB                  0x84CB
 498 #define GL_TEXTURE12_ARB                  0x84CC
 499 #define GL_TEXTURE13_ARB                  0x84CD
 500 #define GL_TEXTURE14_ARB                  0x84CE
 501 #define GL_TEXTURE15_ARB                  0x84CF
 502 #define GL_TEXTURE16_ARB                  0x84D0
 503 #define GL_TEXTURE17_ARB                  0x84D1
 504 #define GL_TEXTURE18_ARB                  0x84D2
 505 #define GL_TEXTURE19_ARB                  0x84D3
 506 #define GL_TEXTURE20_ARB                  0x84D4
 507 #define GL_TEXTURE21_ARB                  0x84D5
 508 #define GL_TEXTURE22_ARB                  0x84D6
 509 #define GL_TEXTURE23_ARB                  0x84D7
 510 #define GL_TEXTURE24_ARB                  0x84D8
 511 #define GL_TEXTURE25_ARB                  0x84D9
 512 #define GL_TEXTURE26_ARB                  0x84DA
 513 #define GL_TEXTURE27_ARB                  0x84DB
 514 #define GL_TEXTURE28_ARB                  0x84DC
 515 #define GL_TEXTURE29_ARB                  0x84DD
 516 #define GL_TEXTURE30_ARB                  0x84DE
 517 #define GL_TEXTURE31_ARB                  0x84DF
 518 #define GL_ACTIVE_TEXTURE_ARB             0x84E0
 519 #define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
 520 #define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
 521 #endif

 522 
 523 #ifndef GL_ARB_transpose_matrix
 524 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
 525 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
 526 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
 527 #define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
 528 #endif


















































































 529 
 530 #ifndef GL_ARB_multisample
 531 #define GL_MULTISAMPLE_ARB                0x809D
 532 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
 533 #define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
 534 #define GL_SAMPLE_COVERAGE_ARB            0x80A0
 535 #define GL_SAMPLE_BUFFERS_ARB             0x80A8
 536 #define GL_SAMPLES_ARB                    0x80A9
 537 #define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
 538 #define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
 539 #define GL_MULTISAMPLE_BIT_ARB            0x20000000
 540 #endif
 541 
 542 #ifndef GL_ARB_texture_env_add
 543 #endif





 544 
 545 #ifndef GL_ARB_texture_cube_map
 546 #define GL_NORMAL_MAP_ARB                 0x8511
 547 #define GL_REFLECTION_MAP_ARB             0x8512
 548 #define GL_TEXTURE_CUBE_MAP_ARB           0x8513
 549 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
 550 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
 551 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
 552 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
 553 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
 554 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
 555 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
 556 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
 557 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C









 558 #endif

 559 
 560 #ifndef GL_ARB_texture_compression
 561 #define GL_COMPRESSED_ALPHA_ARB           0x84E9
 562 #define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
 563 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
 564 #define GL_COMPRESSED_INTENSITY_ARB       0x84EC
 565 #define GL_COMPRESSED_RGB_ARB             0x84ED
 566 #define GL_COMPRESSED_RGBA_ARB            0x84EE
 567 #define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
 568 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
 569 #define GL_TEXTURE_COMPRESSED_ARB         0x86A1
 570 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
 571 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
 572 #endif

 573 
 574 #ifndef GL_ARB_texture_border_clamp
 575 #define GL_CLAMP_TO_BORDER_ARB            0x812D
 576 #endif
 577 
 578 #ifndef GL_ARB_point_parameters
 579 #define GL_POINT_SIZE_MIN_ARB             0x8126
 580 #define GL_POINT_SIZE_MAX_ARB             0x8127
 581 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB  0x8128
 582 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
 583 #endif
 584 
 585 #ifndef GL_ARB_vertex_blend
 586 #define GL_MAX_VERTEX_UNITS_ARB           0x86A4
 587 #define GL_ACTIVE_VERTEX_UNITS_ARB        0x86A5
 588 #define GL_WEIGHT_SUM_UNITY_ARB           0x86A6
 589 #define GL_VERTEX_BLEND_ARB               0x86A7
 590 #define GL_CURRENT_WEIGHT_ARB             0x86A8
 591 #define GL_WEIGHT_ARRAY_TYPE_ARB          0x86A9
 592 #define GL_WEIGHT_ARRAY_STRIDE_ARB        0x86AA
 593 #define GL_WEIGHT_ARRAY_SIZE_ARB          0x86AB
 594 #define GL_WEIGHT_ARRAY_POINTER_ARB       0x86AC
 595 #define GL_WEIGHT_ARRAY_ARB               0x86AD
 596 #define GL_MODELVIEW0_ARB                 0x1700
 597 #define GL_MODELVIEW1_ARB                 0x850A
 598 #define GL_MODELVIEW2_ARB                 0x8722
 599 #define GL_MODELVIEW3_ARB                 0x8723
 600 #define GL_MODELVIEW4_ARB                 0x8724
 601 #define GL_MODELVIEW5_ARB                 0x8725
 602 #define GL_MODELVIEW6_ARB                 0x8726
 603 #define GL_MODELVIEW7_ARB                 0x8727
 604 #define GL_MODELVIEW8_ARB                 0x8728
 605 #define GL_MODELVIEW9_ARB                 0x8729
 606 #define GL_MODELVIEW10_ARB                0x872A
 607 #define GL_MODELVIEW11_ARB                0x872B
 608 #define GL_MODELVIEW12_ARB                0x872C
 609 #define GL_MODELVIEW13_ARB                0x872D
 610 #define GL_MODELVIEW14_ARB                0x872E
 611 #define GL_MODELVIEW15_ARB                0x872F
 612 #define GL_MODELVIEW16_ARB                0x8730
 613 #define GL_MODELVIEW17_ARB                0x8731
 614 #define GL_MODELVIEW18_ARB                0x8732
 615 #define GL_MODELVIEW19_ARB                0x8733
 616 #define GL_MODELVIEW20_ARB                0x8734
 617 #define GL_MODELVIEW21_ARB                0x8735
 618 #define GL_MODELVIEW22_ARB                0x8736
 619 #define GL_MODELVIEW23_ARB                0x8737
 620 #define GL_MODELVIEW24_ARB                0x8738
 621 #define GL_MODELVIEW25_ARB                0x8739
 622 #define GL_MODELVIEW26_ARB                0x873A
 623 #define GL_MODELVIEW27_ARB                0x873B
 624 #define GL_MODELVIEW28_ARB                0x873C
 625 #define GL_MODELVIEW29_ARB                0x873D
 626 #define GL_MODELVIEW30_ARB                0x873E
 627 #define GL_MODELVIEW31_ARB                0x873F
 628 #endif
 629 
 630 #ifndef GL_ARB_matrix_palette
 631 #define GL_MATRIX_PALETTE_ARB             0x8840
 632 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
 633 #define GL_MAX_PALETTE_MATRICES_ARB       0x8842
 634 #define GL_CURRENT_PALETTE_MATRIX_ARB     0x8843
 635 #define GL_MATRIX_INDEX_ARRAY_ARB         0x8844
 636 #define GL_CURRENT_MATRIX_INDEX_ARB       0x8845
 637 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB    0x8846
 638 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB    0x8847
 639 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB  0x8848
 640 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
 641 #endif
 642 
 643 #ifndef GL_ARB_texture_env_combine
 644 #define GL_COMBINE_ARB                    0x8570
 645 #define GL_COMBINE_RGB_ARB                0x8571
 646 #define GL_COMBINE_ALPHA_ARB              0x8572
 647 #define GL_SOURCE0_RGB_ARB                0x8580
 648 #define GL_SOURCE1_RGB_ARB                0x8581
 649 #define GL_SOURCE2_RGB_ARB                0x8582
 650 #define GL_SOURCE0_ALPHA_ARB              0x8588
 651 #define GL_SOURCE1_ALPHA_ARB              0x8589
 652 #define GL_SOURCE2_ALPHA_ARB              0x858A
 653 #define GL_OPERAND0_RGB_ARB               0x8590
 654 #define GL_OPERAND1_RGB_ARB               0x8591
 655 #define GL_OPERAND2_RGB_ARB               0x8592
 656 #define GL_OPERAND0_ALPHA_ARB             0x8598
 657 #define GL_OPERAND1_ALPHA_ARB             0x8599
 658 #define GL_OPERAND2_ALPHA_ARB             0x859A
 659 #define GL_RGB_SCALE_ARB                  0x8573
 660 #define GL_ADD_SIGNED_ARB                 0x8574
 661 #define GL_INTERPOLATE_ARB                0x8575
 662 #define GL_SUBTRACT_ARB                   0x84E7
 663 #define GL_CONSTANT_ARB                   0x8576
 664 #define GL_PRIMARY_COLOR_ARB              0x8577
 665 #define GL_PREVIOUS_ARB                   0x8578
 666 #endif
 667 
 668 #ifndef GL_ARB_texture_env_crossbar
 669 #endif
 670 
 671 #ifndef GL_ARB_texture_env_dot3
 672 #define GL_DOT3_RGB_ARB                   0x86AE
 673 #define GL_DOT3_RGBA_ARB                  0x86AF
 674 #endif

 675 
 676 #ifndef GL_ARB_texture_mirrored_repeat
 677 #define GL_MIRRORED_REPEAT_ARB            0x8370
 678 #endif
 679 
 680 #ifndef GL_ARB_depth_texture
 681 #define GL_DEPTH_COMPONENT16_ARB          0x81A5
 682 #define GL_DEPTH_COMPONENT24_ARB          0x81A6
 683 #define GL_DEPTH_COMPONENT32_ARB          0x81A7
 684 #define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
 685 #define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
 686 #endif
 687 
 688 #ifndef GL_ARB_shadow
 689 #define GL_TEXTURE_COMPARE_MODE_ARB       0x884C
 690 #define GL_TEXTURE_COMPARE_FUNC_ARB       0x884D
 691 #define GL_COMPARE_R_TO_TEXTURE_ARB       0x884E
 692 #endif
 693 
 694 #ifndef GL_ARB_shadow_ambient
 695 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
 696 #endif
 697 
 698 #ifndef GL_ARB_window_pos
 699 #endif

 700 
 701 #ifndef GL_ARB_vertex_program
 702 #define GL_COLOR_SUM_ARB                  0x8458
 703 #define GL_VERTEX_PROGRAM_ARB             0x8620
 704 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
 705 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB   0x8623
 706 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
 707 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB   0x8625
 708 #define GL_CURRENT_VERTEX_ATTRIB_ARB      0x8626
 709 #define GL_PROGRAM_LENGTH_ARB             0x8627
 710 #define GL_PROGRAM_STRING_ARB             0x8628
 711 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
 712 #define GL_MAX_PROGRAM_MATRICES_ARB       0x862F
 713 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
 714 #define GL_CURRENT_MATRIX_ARB             0x8641
 715 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB  0x8642
 716 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB    0x8643
 717 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
 718 #define GL_PROGRAM_ERROR_POSITION_ARB     0x864B
 719 #define GL_PROGRAM_BINDING_ARB            0x8677
 720 #define GL_MAX_VERTEX_ATTRIBS_ARB         0x8869
 721 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
 722 #define GL_PROGRAM_ERROR_STRING_ARB       0x8874
 723 #define GL_PROGRAM_FORMAT_ASCII_ARB       0x8875

 724 #define GL_PROGRAM_FORMAT_ARB             0x8876

 725 #define GL_PROGRAM_INSTRUCTIONS_ARB       0x88A0
 726 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB   0x88A1
 727 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
 728 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
 729 #define GL_PROGRAM_TEMPORARIES_ARB        0x88A4
 730 #define GL_MAX_PROGRAM_TEMPORARIES_ARB    0x88A5
 731 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
 732 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
 733 #define GL_PROGRAM_PARAMETERS_ARB         0x88A8
 734 #define GL_MAX_PROGRAM_PARAMETERS_ARB     0x88A9
 735 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB  0x88AA
 736 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
 737 #define GL_PROGRAM_ATTRIBS_ARB            0x88AC
 738 #define GL_MAX_PROGRAM_ATTRIBS_ARB        0x88AD
 739 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB     0x88AE
 740 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
 741 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB  0x88B0
 742 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
 743 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
 744 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
 745 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
 746 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
 747 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6















 748 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB   0x88B7






 749 #define GL_MATRIX0_ARB                    0x88C0
 750 #define GL_MATRIX1_ARB                    0x88C1
 751 #define GL_MATRIX2_ARB                    0x88C2
 752 #define GL_MATRIX3_ARB                    0x88C3
 753 #define GL_MATRIX4_ARB                    0x88C4
 754 #define GL_MATRIX5_ARB                    0x88C5
 755 #define GL_MATRIX6_ARB                    0x88C6
 756 #define GL_MATRIX7_ARB                    0x88C7
 757 #define GL_MATRIX8_ARB                    0x88C8
 758 #define GL_MATRIX9_ARB                    0x88C9
 759 #define GL_MATRIX10_ARB                   0x88CA
 760 #define GL_MATRIX11_ARB                   0x88CB
 761 #define GL_MATRIX12_ARB                   0x88CC
 762 #define GL_MATRIX13_ARB                   0x88CD
 763 #define GL_MATRIX14_ARB                   0x88CE
 764 #define GL_MATRIX15_ARB                   0x88CF
 765 #define GL_MATRIX16_ARB                   0x88D0
 766 #define GL_MATRIX17_ARB                   0x88D1
 767 #define GL_MATRIX18_ARB                   0x88D2
 768 #define GL_MATRIX19_ARB                   0x88D3
 769 #define GL_MATRIX20_ARB                   0x88D4
 770 #define GL_MATRIX21_ARB                   0x88D5
 771 #define GL_MATRIX22_ARB                   0x88D6
 772 #define GL_MATRIX23_ARB                   0x88D7
 773 #define GL_MATRIX24_ARB                   0x88D8
 774 #define GL_MATRIX25_ARB                   0x88D9
 775 #define GL_MATRIX26_ARB                   0x88DA
 776 #define GL_MATRIX27_ARB                   0x88DB
 777 #define GL_MATRIX28_ARB                   0x88DC
 778 #define GL_MATRIX29_ARB                   0x88DD
 779 #define GL_MATRIX30_ARB                   0x88DE
 780 #define GL_MATRIX31_ARB                   0x88DF







































 781 #endif

 782 
 783 #ifndef GL_ARB_fragment_program
 784 #define GL_FRAGMENT_PROGRAM_ARB           0x8804
 785 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB   0x8805
 786 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB   0x8806
 787 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB   0x8807
 788 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
 789 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
 790 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
 791 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
 792 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
 793 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
 794 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
 795 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
 796 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
 797 #define GL_MAX_TEXTURE_COORDS_ARB         0x8871
 798 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB    0x8872
 799 #endif
 800 
 801 #ifndef GL_ARB_vertex_buffer_object
 802 #define GL_BUFFER_SIZE_ARB                0x8764
 803 #define GL_BUFFER_USAGE_ARB               0x8765
 804 #define GL_ARRAY_BUFFER_ARB               0x8892
 805 #define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893
 806 #define GL_ARRAY_BUFFER_BINDING_ARB       0x8894
 807 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
 808 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
 809 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
 810 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
 811 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
 812 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
 813 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
 814 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
 815 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
 816 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
 817 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
 818 #define GL_READ_ONLY_ARB                  0x88B8
 819 #define GL_WRITE_ONLY_ARB                 0x88B9
 820 #define GL_READ_WRITE_ARB                 0x88BA
 821 #define GL_BUFFER_ACCESS_ARB              0x88BB
 822 #define GL_BUFFER_MAPPED_ARB              0x88BC
 823 #define GL_BUFFER_MAP_POINTER_ARB         0x88BD
 824 #define GL_STREAM_DRAW_ARB                0x88E0
 825 #define GL_STREAM_READ_ARB                0x88E1
 826 #define GL_STREAM_COPY_ARB                0x88E2
 827 #define GL_STATIC_DRAW_ARB                0x88E4
 828 #define GL_STATIC_READ_ARB                0x88E5
 829 #define GL_STATIC_COPY_ARB                0x88E6
 830 #define GL_DYNAMIC_DRAW_ARB               0x88E8
 831 #define GL_DYNAMIC_READ_ARB               0x88E9
 832 #define GL_DYNAMIC_COPY_ARB               0x88EA
 833 #endif
 834 
 835 #ifndef GL_ARB_occlusion_query
 836 #define GL_QUERY_COUNTER_BITS_ARB         0x8864
 837 #define GL_CURRENT_QUERY_ARB              0x8865
 838 #define GL_QUERY_RESULT_ARB               0x8866
 839 #define GL_QUERY_RESULT_AVAILABLE_ARB     0x8867
 840 #define GL_SAMPLES_PASSED_ARB             0x8914






















































































































































 841 #endif

 842 
 843 #ifndef GL_ARB_shader_objects
 844 #define GL_PROGRAM_OBJECT_ARB             0x8B40
 845 #define GL_SHADER_OBJECT_ARB              0x8B48
 846 #define GL_OBJECT_TYPE_ARB                0x8B4E
 847 #define GL_OBJECT_SUBTYPE_ARB             0x8B4F
 848 #define GL_FLOAT_VEC2_ARB                 0x8B50
 849 #define GL_FLOAT_VEC3_ARB                 0x8B51
 850 #define GL_FLOAT_VEC4_ARB                 0x8B52
 851 #define GL_INT_VEC2_ARB                   0x8B53
 852 #define GL_INT_VEC3_ARB                   0x8B54
 853 #define GL_INT_VEC4_ARB                   0x8B55
 854 #define GL_BOOL_ARB                       0x8B56
 855 #define GL_BOOL_VEC2_ARB                  0x8B57
 856 #define GL_BOOL_VEC3_ARB                  0x8B58
 857 #define GL_BOOL_VEC4_ARB                  0x8B59
 858 #define GL_FLOAT_MAT2_ARB                 0x8B5A
 859 #define GL_FLOAT_MAT3_ARB                 0x8B5B
 860 #define GL_FLOAT_MAT4_ARB                 0x8B5C
 861 #define GL_SAMPLER_1D_ARB                 0x8B5D
 862 #define GL_SAMPLER_2D_ARB                 0x8B5E
 863 #define GL_SAMPLER_3D_ARB                 0x8B5F
 864 #define GL_SAMPLER_CUBE_ARB               0x8B60
 865 #define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
 866 #define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
 867 #define GL_SAMPLER_2D_RECT_ARB            0x8B63
 868 #define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
 869 #define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
 870 #define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
 871 #define GL_OBJECT_LINK_STATUS_ARB         0x8B82
 872 #define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
 873 #define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
 874 #define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
 875 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
 876 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
 877 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
 878 #endif
 879 
 880 #ifndef GL_ARB_vertex_shader
 881 #define GL_VERTEX_SHADER_ARB              0x8B31
 882 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
 883 #define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
 884 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
 885 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
 886 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
 887 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
 888 #endif
 889 
 890 #ifndef GL_ARB_fragment_shader
 891 #define GL_FRAGMENT_SHADER_ARB            0x8B30
 892 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
 893 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
 894 #endif





























































































































































































 895 
 896 #ifndef GL_ARB_shading_language_100
 897 #define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C
 898 #endif






























 899 
 900 #ifndef GL_ARB_texture_non_power_of_two













 901 #endif

 902 
 903 #ifndef GL_ARB_point_sprite
 904 #define GL_POINT_SPRITE_ARB               0x8861
 905 #define GL_COORD_REPLACE_ARB              0x8862







































































































 906 #endif

 907 
 908 #ifndef GL_ARB_fragment_program_shadow
 909 #endif




















































 910 
 911 #ifndef GL_ARB_draw_buffers
 912 #define GL_MAX_DRAW_BUFFERS_ARB           0x8824
 913 #define GL_DRAW_BUFFER0_ARB               0x8825
 914 #define GL_DRAW_BUFFER1_ARB               0x8826
 915 #define GL_DRAW_BUFFER2_ARB               0x8827
 916 #define GL_DRAW_BUFFER3_ARB               0x8828
 917 #define GL_DRAW_BUFFER4_ARB               0x8829
 918 #define GL_DRAW_BUFFER5_ARB               0x882A
 919 #define GL_DRAW_BUFFER6_ARB               0x882B
 920 #define GL_DRAW_BUFFER7_ARB               0x882C
 921 #define GL_DRAW_BUFFER8_ARB               0x882D
 922 #define GL_DRAW_BUFFER9_ARB               0x882E
 923 #define GL_DRAW_BUFFER10_ARB              0x882F
 924 #define GL_DRAW_BUFFER11_ARB              0x8830
 925 #define GL_DRAW_BUFFER12_ARB              0x8831
 926 #define GL_DRAW_BUFFER13_ARB              0x8832
 927 #define GL_DRAW_BUFFER14_ARB              0x8833
 928 #define GL_DRAW_BUFFER15_ARB              0x8834
 929 #endif
 930 
 931 #ifndef GL_ARB_texture_rectangle
 932 #define GL_TEXTURE_RECTANGLE_ARB          0x84F5
 933 #define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
 934 #define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
 935 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8






 936 #endif

 937 
 938 #ifndef GL_ARB_color_buffer_float
 939 #define GL_RGBA_FLOAT_MODE_ARB            0x8820
 940 #define GL_CLAMP_VERTEX_COLOR_ARB         0x891A
 941 #define GL_CLAMP_FRAGMENT_COLOR_ARB       0x891B
 942 #define GL_CLAMP_READ_COLOR_ARB           0x891C
 943 #define GL_FIXED_ONLY_ARB                 0x891D
 944 #endif
 945 
 946 #ifndef GL_ARB_half_float_pixel
 947 #define GL_HALF_FLOAT_ARB                 0x140B












































































































































































 948 #endif













































































































































































































































































































































































































 949 
 950 #ifndef GL_ARB_texture_float

 951 #define GL_TEXTURE_RED_TYPE_ARB           0x8C10
 952 #define GL_TEXTURE_GREEN_TYPE_ARB         0x8C11
 953 #define GL_TEXTURE_BLUE_TYPE_ARB          0x8C12
 954 #define GL_TEXTURE_ALPHA_TYPE_ARB         0x8C13
 955 #define GL_TEXTURE_LUMINANCE_TYPE_ARB     0x8C14
 956 #define GL_TEXTURE_INTENSITY_TYPE_ARB     0x8C15
 957 #define GL_TEXTURE_DEPTH_TYPE_ARB         0x8C16
 958 #define GL_UNSIGNED_NORMALIZED_ARB        0x8C17
 959 #define GL_RGBA32F_ARB                    0x8814
 960 #define GL_RGB32F_ARB                     0x8815
 961 #define GL_ALPHA32F_ARB                   0x8816
 962 #define GL_INTENSITY32F_ARB               0x8817
 963 #define GL_LUMINANCE32F_ARB               0x8818
 964 #define GL_LUMINANCE_ALPHA32F_ARB         0x8819
 965 #define GL_RGBA16F_ARB                    0x881A
 966 #define GL_RGB16F_ARB                     0x881B
 967 #define GL_ALPHA16F_ARB                   0x881C
 968 #define GL_INTENSITY16F_ARB               0x881D
 969 #define GL_LUMINANCE16F_ARB               0x881E
 970 #define GL_LUMINANCE_ALPHA16F_ARB         0x881F
 971 #endif
 972 
 973 #ifndef GL_ARB_pixel_buffer_object
 974 #define GL_PIXEL_PACK_BUFFER_ARB          0x88EB
 975 #define GL_PIXEL_UNPACK_BUFFER_ARB        0x88EC
 976 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB  0x88ED
 977 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
 978 #endif




 979 
 980 #ifndef GL_EXT_abgr
 981 #define GL_ABGR_EXT                       0x8000
 982 #endif

 983 
 984 #ifndef GL_EXT_blend_color
 985 #define GL_CONSTANT_COLOR_EXT             0x8001
 986 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
 987 #define GL_CONSTANT_ALPHA_EXT             0x8003
 988 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
 989 #define GL_BLEND_COLOR_EXT                0x8005
 990 #endif
 991 
 992 #ifndef GL_EXT_polygon_offset
 993 #define GL_POLYGON_OFFSET_EXT             0x8037
 994 #define GL_POLYGON_OFFSET_FACTOR_EXT      0x8038
 995 #define GL_POLYGON_OFFSET_BIAS_EXT        0x8039
 996 #endif
 997 
 998 #ifndef GL_EXT_texture
 999 #define GL_ALPHA4_EXT                     0x803B
1000 #define GL_ALPHA8_EXT                     0x803C
1001 #define GL_ALPHA12_EXT                    0x803D
1002 #define GL_ALPHA16_EXT                    0x803E
1003 #define GL_LUMINANCE4_EXT                 0x803F
1004 #define GL_LUMINANCE8_EXT                 0x8040
1005 #define GL_LUMINANCE12_EXT                0x8041
1006 #define GL_LUMINANCE16_EXT                0x8042
1007 #define GL_LUMINANCE4_ALPHA4_EXT          0x8043
1008 #define GL_LUMINANCE6_ALPHA2_EXT          0x8044
1009 #define GL_LUMINANCE8_ALPHA8_EXT          0x8045
1010 #define GL_LUMINANCE12_ALPHA4_EXT         0x8046
1011 #define GL_LUMINANCE12_ALPHA12_EXT        0x8047
1012 #define GL_LUMINANCE16_ALPHA16_EXT        0x8048
1013 #define GL_INTENSITY_EXT                  0x8049
1014 #define GL_INTENSITY4_EXT                 0x804A
1015 #define GL_INTENSITY8_EXT                 0x804B
1016 #define GL_INTENSITY12_EXT                0x804C
1017 #define GL_INTENSITY16_EXT                0x804D
1018 #define GL_RGB2_EXT                       0x804E
1019 #define GL_RGB4_EXT                       0x804F
1020 #define GL_RGB5_EXT                       0x8050
1021 #define GL_RGB8_EXT                       0x8051
1022 #define GL_RGB10_EXT                      0x8052
1023 #define GL_RGB12_EXT                      0x8053
1024 #define GL_RGB16_EXT                      0x8054
1025 #define GL_RGBA2_EXT                      0x8055
1026 #define GL_RGBA4_EXT                      0x8056
1027 #define GL_RGB5_A1_EXT                    0x8057
1028 #define GL_RGBA8_EXT                      0x8058
1029 #define GL_RGB10_A2_EXT                   0x8059
1030 #define GL_RGBA12_EXT                     0x805A
1031 #define GL_RGBA16_EXT                     0x805B
1032 #define GL_TEXTURE_RED_SIZE_EXT           0x805C
1033 #define GL_TEXTURE_GREEN_SIZE_EXT         0x805D
1034 #define GL_TEXTURE_BLUE_SIZE_EXT          0x805E
1035 #define GL_TEXTURE_ALPHA_SIZE_EXT         0x805F
1036 #define GL_TEXTURE_LUMINANCE_SIZE_EXT     0x8060
1037 #define GL_TEXTURE_INTENSITY_SIZE_EXT     0x8061
1038 #define GL_REPLACE_EXT                    0x8062
1039 #define GL_PROXY_TEXTURE_1D_EXT           0x8063
1040 #define GL_PROXY_TEXTURE_2D_EXT           0x8064
1041 #define GL_TEXTURE_TOO_LARGE_EXT          0x8065
1042 #endif
1043 
1044 #ifndef GL_EXT_texture3D
1045 #define GL_PACK_SKIP_IMAGES_EXT           0x806B
1046 #define GL_PACK_IMAGE_HEIGHT_EXT          0x806C
1047 #define GL_UNPACK_SKIP_IMAGES_EXT         0x806D
1048 #define GL_UNPACK_IMAGE_HEIGHT_EXT        0x806E
1049 #define GL_TEXTURE_3D_EXT                 0x806F
1050 #define GL_PROXY_TEXTURE_3D_EXT           0x8070
1051 #define GL_TEXTURE_DEPTH_EXT              0x8071
1052 #define GL_TEXTURE_WRAP_R_EXT             0x8072
1053 #define GL_MAX_3D_TEXTURE_SIZE_EXT        0x8073
1054 #endif
1055 
1056 #ifndef GL_SGIS_texture_filter4
1057 #define GL_FILTER4_SGIS                   0x8146
1058 #define GL_TEXTURE_FILTER4_SIZE_SGIS      0x8147
1059 #endif













































1060 
1061 #ifndef GL_EXT_subtexture






































































































1062 #endif

1063 
1064 #ifndef GL_EXT_copy_texture

























































1065 #endif

1066 
1067 #ifndef GL_EXT_histogram
1068 #define GL_HISTOGRAM_EXT                  0x8024
1069 #define GL_PROXY_HISTOGRAM_EXT            0x8025
1070 #define GL_HISTOGRAM_WIDTH_EXT            0x8026
1071 #define GL_HISTOGRAM_FORMAT_EXT           0x8027
1072 #define GL_HISTOGRAM_RED_SIZE_EXT         0x8028
1073 #define GL_HISTOGRAM_GREEN_SIZE_EXT       0x8029
1074 #define GL_HISTOGRAM_BLUE_SIZE_EXT        0x802A
1075 #define GL_HISTOGRAM_ALPHA_SIZE_EXT       0x802B
1076 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT   0x802C
1077 #define GL_HISTOGRAM_SINK_EXT             0x802D
1078 #define GL_MINMAX_EXT                     0x802E
1079 #define GL_MINMAX_FORMAT_EXT              0x802F
1080 #define GL_MINMAX_SINK_EXT                0x8030
1081 #define GL_TABLE_TOO_LARGE_EXT            0x8031


























































































1082 #endif

1083 
1084 #ifndef GL_EXT_convolution
1085 #define GL_CONVOLUTION_1D_EXT             0x8010
1086 #define GL_CONVOLUTION_2D_EXT             0x8011
1087 #define GL_SEPARABLE_2D_EXT               0x8012
1088 #define GL_CONVOLUTION_BORDER_MODE_EXT    0x8013
1089 #define GL_CONVOLUTION_FILTER_SCALE_EXT   0x8014
1090 #define GL_CONVOLUTION_FILTER_BIAS_EXT    0x8015
1091 #define GL_REDUCE_EXT                     0x8016
1092 #define GL_CONVOLUTION_FORMAT_EXT         0x8017
1093 #define GL_CONVOLUTION_WIDTH_EXT          0x8018
1094 #define GL_CONVOLUTION_HEIGHT_EXT         0x8019
1095 #define GL_MAX_CONVOLUTION_WIDTH_EXT      0x801A
1096 #define GL_MAX_CONVOLUTION_HEIGHT_EXT     0x801B
1097 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
1098 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
1099 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
1100 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
1101 #define GL_POST_CONVOLUTION_RED_BIAS_EXT  0x8020
1102 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
1103 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
1104 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
1105 #endif








1106 
1107 #ifndef GL_SGI_color_matrix
1108 #define GL_COLOR_MATRIX_SGI               0x80B1
1109 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI   0x80B2
1110 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
1111 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
1112 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
1113 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
1114 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
1115 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
1116 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
1117 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
1118 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB

























































































































































































































































































































































































































1119 #endif

1120 
1121 #ifndef GL_SGI_color_table
1122 #define GL_COLOR_TABLE_SGI                0x80D0
1123 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
1124 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
1125 #define GL_PROXY_COLOR_TABLE_SGI          0x80D3
1126 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
1127 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
1128 #define GL_COLOR_TABLE_SCALE_SGI          0x80D6
1129 #define GL_COLOR_TABLE_BIAS_SGI           0x80D7
1130 #define GL_COLOR_TABLE_FORMAT_SGI         0x80D8
1131 #define GL_COLOR_TABLE_WIDTH_SGI          0x80D9
1132 #define GL_COLOR_TABLE_RED_SIZE_SGI       0x80DA
1133 #define GL_COLOR_TABLE_GREEN_SIZE_SGI     0x80DB
1134 #define GL_COLOR_TABLE_BLUE_SIZE_SGI      0x80DC
1135 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI     0x80DD
1136 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
1137 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
1138 #endif
1139 
1140 #ifndef GL_SGIS_pixel_texture
1141 #define GL_PIXEL_TEXTURE_SGIS             0x8353
1142 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
1143 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
1144 #define GL_PIXEL_GROUP_COLOR_SGIS         0x8356










1145 #endif

1146 
1147 #ifndef GL_SGIX_pixel_texture
1148 #define GL_PIXEL_TEX_GEN_SGIX             0x8139
1149 #define GL_PIXEL_TEX_GEN_MODE_SGIX        0x832B
1150 #endif



1151 
1152 #ifndef GL_SGIS_texture4D
1153 #define GL_PACK_SKIP_VOLUMES_SGIS         0x8130
1154 #define GL_PACK_IMAGE_DEPTH_SGIS          0x8131
1155 #define GL_UNPACK_SKIP_VOLUMES_SGIS       0x8132
1156 #define GL_UNPACK_IMAGE_DEPTH_SGIS        0x8133
1157 #define GL_TEXTURE_4D_SGIS                0x8134
1158 #define GL_PROXY_TEXTURE_4D_SGIS          0x8135
1159 #define GL_TEXTURE_4DSIZE_SGIS            0x8136
1160 #define GL_TEXTURE_WRAP_Q_SGIS            0x8137
1161 #define GL_MAX_4D_TEXTURE_SIZE_SGIS       0x8138
1162 #define GL_TEXTURE_4D_BINDING_SGIS        0x814F
1163 #endif

1164 
1165 #ifndef GL_SGI_texture_color_table
1166 #define GL_TEXTURE_COLOR_TABLE_SGI        0x80BC
1167 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI  0x80BD
1168 #endif

1169 
1170 #ifndef GL_EXT_cmyka
1171 #define GL_CMYK_EXT                       0x800C
1172 #define GL_CMYKA_EXT                      0x800D
1173 #define GL_PACK_CMYK_HINT_EXT             0x800E
1174 #define GL_UNPACK_CMYK_HINT_EXT           0x800F
1175 #endif










































































































































































































































































































































































































































1176 
1177 #ifndef GL_EXT_texture_object
1178 #define GL_TEXTURE_PRIORITY_EXT           0x8066
1179 #define GL_TEXTURE_RESIDENT_EXT           0x8067
1180 #define GL_TEXTURE_1D_BINDING_EXT         0x8068
1181 #define GL_TEXTURE_2D_BINDING_EXT         0x8069
1182 #define GL_TEXTURE_3D_BINDING_EXT         0x806A
1183 #endif
1184 
1185 #ifndef GL_SGIS_detail_texture
1186 #define GL_DETAIL_TEXTURE_2D_SGIS         0x8095
1187 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
1188 #define GL_LINEAR_DETAIL_SGIS             0x8097
1189 #define GL_LINEAR_DETAIL_ALPHA_SGIS       0x8098
1190 #define GL_LINEAR_DETAIL_COLOR_SGIS       0x8099
1191 #define GL_DETAIL_TEXTURE_LEVEL_SGIS      0x809A
1192 #define GL_DETAIL_TEXTURE_MODE_SGIS       0x809B
1193 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C







1194 #endif

1195 
1196 #ifndef GL_SGIS_sharpen_texture
1197 #define GL_LINEAR_SHARPEN_SGIS            0x80AD
1198 #define GL_LINEAR_SHARPEN_ALPHA_SGIS      0x80AE
1199 #define GL_LINEAR_SHARPEN_COLOR_SGIS      0x80AF
1200 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
1201 #endif









































































1202 
1203 #ifndef GL_EXT_packed_pixels
1204 #define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
1205 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
1206 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
1207 #define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
1208 #define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
1209 #endif
1210 
1211 #ifndef GL_SGIS_texture_lod
1212 #define GL_TEXTURE_MIN_LOD_SGIS           0x813A
1213 #define GL_TEXTURE_MAX_LOD_SGIS           0x813B
1214 #define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
1215 #define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
1216 #endif
1217 
1218 #ifndef GL_SGIS_multisample
1219 #define GL_MULTISAMPLE_SGIS               0x809D
1220 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS      0x809E
1221 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS       0x809F
1222 #define GL_SAMPLE_MASK_SGIS               0x80A0
1223 #define GL_1PASS_SGIS                     0x80A1
1224 #define GL_2PASS_0_SGIS                   0x80A2
1225 #define GL_2PASS_1_SGIS                   0x80A3
1226 #define GL_4PASS_0_SGIS                   0x80A4
1227 #define GL_4PASS_1_SGIS                   0x80A5
1228 #define GL_4PASS_2_SGIS                   0x80A6
1229 #define GL_4PASS_3_SGIS                   0x80A7
1230 #define GL_SAMPLE_BUFFERS_SGIS            0x80A8
1231 #define GL_SAMPLES_SGIS                   0x80A9
1232 #define GL_SAMPLE_MASK_VALUE_SGIS         0x80AA
1233 #define GL_SAMPLE_MASK_INVERT_SGIS        0x80AB
1234 #define GL_SAMPLE_PATTERN_SGIS            0x80AC
1235 #endif

1236 
1237 #ifndef GL_EXT_rescale_normal
1238 #define GL_RESCALE_NORMAL_EXT             0x803A
1239 #endif

1240 
1241 #ifndef GL_EXT_vertex_array
1242 #define GL_VERTEX_ARRAY_EXT               0x8074
1243 #define GL_NORMAL_ARRAY_EXT               0x8075
1244 #define GL_COLOR_ARRAY_EXT                0x8076
1245 #define GL_INDEX_ARRAY_EXT                0x8077
1246 #define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
1247 #define GL_EDGE_FLAG_ARRAY_EXT            0x8079
1248 #define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
1249 #define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
1250 #define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
1251 #define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
1252 #define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
1253 #define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
1254 #define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
1255 #define GL_COLOR_ARRAY_SIZE_EXT           0x8081
1256 #define GL_COLOR_ARRAY_TYPE_EXT           0x8082
1257 #define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
1258 #define GL_COLOR_ARRAY_COUNT_EXT          0x8084
1259 #define GL_INDEX_ARRAY_TYPE_EXT           0x8085
1260 #define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
1261 #define GL_INDEX_ARRAY_COUNT_EXT          0x8087
1262 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
1263 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
1264 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
1265 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
1266 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
1267 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
1268 #define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
1269 #define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
1270 #define GL_COLOR_ARRAY_POINTER_EXT        0x8090
1271 #define GL_INDEX_ARRAY_POINTER_EXT        0x8091
1272 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
1273 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
1274 #endif

1275 
1276 #ifndef GL_EXT_misc_attribute











































1277 #endif

1278 
1279 #ifndef GL_SGIS_generate_mipmap
1280 #define GL_GENERATE_MIPMAP_SGIS           0x8191
1281 #define GL_GENERATE_MIPMAP_HINT_SGIS      0x8192
1282 #endif
1283 
1284 #ifndef GL_SGIX_clipmap
1285 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX     0x8170
1286 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX    0x8171
1287 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX     0x8172
1288 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX    0x8173
1289 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
1290 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
1291 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX     0x8176
1292 #define GL_MAX_CLIPMAP_DEPTH_SGIX         0x8177
1293 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
1294 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX   0x844D
1295 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX    0x844E
1296 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX    0x844F









1297 #endif

1298 
1299 #ifndef GL_SGIX_shadow
1300 #define GL_TEXTURE_COMPARE_SGIX           0x819A
1301 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX  0x819B
1302 #define GL_TEXTURE_LEQUAL_R_SGIX          0x819C
1303 #define GL_TEXTURE_GEQUAL_R_SGIX          0x819D







1304 #endif

1305 
1306 #ifndef GL_SGIS_texture_edge_clamp
1307 #define GL_CLAMP_TO_EDGE_SGIS             0x812F

















1308 #endif

1309 
1310 #ifndef GL_SGIS_texture_border_clamp
1311 #define GL_CLAMP_TO_BORDER_SGIS           0x812D





































































































































1312 #endif

1313 
1314 #ifndef GL_EXT_blend_minmax
1315 #define GL_FUNC_ADD_EXT                   0x8006
1316 #define GL_MIN_EXT                        0x8007
1317 #define GL_MAX_EXT                        0x8008
1318 #define GL_BLEND_EQUATION_EXT             0x8009


1319 #endif

1320 
1321 #ifndef GL_EXT_blend_subtract
1322 #define GL_FUNC_SUBTRACT_EXT              0x800A
1323 #define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
1324 #endif


1325 
1326 #ifndef GL_EXT_blend_logic_op
1327 #endif



1328 
1329 #ifndef GL_SGIX_interlace
1330 #define GL_INTERLACE_SGIX                 0x8094














1331 #endif

1332 
1333 #ifndef GL_SGIX_pixel_tiles
1334 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
1335 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
1336 #define GL_PIXEL_TILE_WIDTH_SGIX          0x8140
1337 #define GL_PIXEL_TILE_HEIGHT_SGIX         0x8141
1338 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX     0x8142
1339 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX    0x8143
1340 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX     0x8144
1341 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX     0x8145


1342 #endif

1343 
1344 #ifndef GL_SGIS_texture_select
1345 #define GL_DUAL_ALPHA4_SGIS               0x8110
1346 #define GL_DUAL_ALPHA8_SGIS               0x8111
1347 #define GL_DUAL_ALPHA12_SGIS              0x8112
1348 #define GL_DUAL_ALPHA16_SGIS              0x8113
1349 #define GL_DUAL_LUMINANCE4_SGIS           0x8114
1350 #define GL_DUAL_LUMINANCE8_SGIS           0x8115
1351 #define GL_DUAL_LUMINANCE12_SGIS          0x8116
1352 #define GL_DUAL_LUMINANCE16_SGIS          0x8117
1353 #define GL_DUAL_INTENSITY4_SGIS           0x8118
1354 #define GL_DUAL_INTENSITY8_SGIS           0x8119
1355 #define GL_DUAL_INTENSITY12_SGIS          0x811A
1356 #define GL_DUAL_INTENSITY16_SGIS          0x811B
1357 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS     0x811C
1358 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS     0x811D
1359 #define GL_QUAD_ALPHA4_SGIS               0x811E
1360 #define GL_QUAD_ALPHA8_SGIS               0x811F
1361 #define GL_QUAD_LUMINANCE4_SGIS           0x8120
1362 #define GL_QUAD_LUMINANCE8_SGIS           0x8121
1363 #define GL_QUAD_INTENSITY4_SGIS           0x8122
1364 #define GL_QUAD_INTENSITY8_SGIS           0x8123
1365 #define GL_DUAL_TEXTURE_SELECT_SGIS       0x8124
1366 #define GL_QUAD_TEXTURE_SELECT_SGIS       0x8125
1367 #endif
1368 
1369 #ifndef GL_SGIX_sprite
1370 #define GL_SPRITE_SGIX                    0x8148
1371 #define GL_SPRITE_MODE_SGIX               0x8149
1372 #define GL_SPRITE_AXIS_SGIX               0x814A
1373 #define GL_SPRITE_TRANSLATION_SGIX        0x814B
1374 #define GL_SPRITE_AXIAL_SGIX              0x814C
1375 #define GL_SPRITE_OBJECT_ALIGNED_SGIX     0x814D
1376 #define GL_SPRITE_EYE_ALIGNED_SGIX        0x814E
1377 #endif
1378 
1379 #ifndef GL_SGIX_texture_multi_buffer
1380 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
1381 #endif












1382 
1383 #ifndef GL_EXT_point_parameters
1384 #define GL_POINT_SIZE_MIN_EXT             0x8126
1385 #define GL_POINT_SIZE_MAX_EXT             0x8127
1386 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT  0x8128
1387 #define GL_DISTANCE_ATTENUATION_EXT       0x8129
1388 #endif
1389 
1390 #ifndef GL_SGIS_point_parameters
1391 #define GL_POINT_SIZE_MIN_SGIS            0x8126
1392 #define GL_POINT_SIZE_MAX_SGIS            0x8127
1393 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
1394 #define GL_DISTANCE_ATTENUATION_SGIS      0x8129






























1395 #endif

1396 
1397 #ifndef GL_SGIX_instruments
1398 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
1399 #define GL_INSTRUMENT_MEASUREMENTS_SGIX   0x8181






1400 #endif

1401 
1402 #ifndef GL_SGIX_texture_scale_bias
1403 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX  0x8179
1404 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
1405 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
1406 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C


































































































1407 #endif

1408 
1409 #ifndef GL_SGIX_framezoom
1410 #define GL_FRAMEZOOM_SGIX                 0x818B
1411 #define GL_FRAMEZOOM_FACTOR_SGIX          0x818C
1412 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX      0x818D
1413 #endif


1414 
1415 #ifndef GL_SGIX_tag_sample_buffer







1416 #endif

1417 
1418 #ifndef GL_FfdMaskSGIX
1419 #define GL_TEXTURE_DEFORMATION_BIT_SGIX   0x00000001
1420 #define GL_GEOMETRY_DEFORMATION_BIT_SGIX  0x00000002
1421 #endif
1422 
1423 #ifndef GL_SGIX_polynomial_ffd
1424 #define GL_GEOMETRY_DEFORMATION_SGIX      0x8194
1425 #define GL_TEXTURE_DEFORMATION_SGIX       0x8195
1426 #define GL_DEFORMATIONS_MASK_SGIX         0x8196
1427 #define GL_MAX_DEFORMATION_ORDER_SGIX     0x8197
1428 #endif
1429 
1430 #ifndef GL_SGIX_reference_plane
1431 #define GL_REFERENCE_PLANE_SGIX           0x817D
1432 #define GL_REFERENCE_PLANE_EQUATION_SGIX  0x817E












1433 #endif

1434 
1435 #ifndef GL_SGIX_flush_raster









1436 #endif

1437 
1438 #ifndef GL_SGIX_depth_texture
1439 #define GL_DEPTH_COMPONENT16_SGIX         0x81A5
1440 #define GL_DEPTH_COMPONENT24_SGIX         0x81A6
1441 #define GL_DEPTH_COMPONENT32_SGIX         0x81A7



1442 #endif

1443 
1444 #ifndef GL_SGIS_fog_function
1445 #define GL_FOG_FUNC_SGIS                  0x812A
1446 #define GL_FOG_FUNC_POINTS_SGIS           0x812B
1447 #define GL_MAX_FOG_FUNC_POINTS_SGIS       0x812C





1448 #endif

1449 
1450 #ifndef GL_SGIX_fog_offset
1451 #define GL_FOG_OFFSET_SGIX                0x8198
1452 #define GL_FOG_OFFSET_VALUE_SGIX          0x8199
1453 #endif
1454 
1455 #ifndef GL_HP_image_transform
1456 #define GL_IMAGE_SCALE_X_HP               0x8155
1457 #define GL_IMAGE_SCALE_Y_HP               0x8156
1458 #define GL_IMAGE_TRANSLATE_X_HP           0x8157
1459 #define GL_IMAGE_TRANSLATE_Y_HP           0x8158
1460 #define GL_IMAGE_ROTATE_ANGLE_HP          0x8159
1461 #define GL_IMAGE_ROTATE_ORIGIN_X_HP       0x815A
1462 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP       0x815B
1463 #define GL_IMAGE_MAG_FILTER_HP            0x815C
1464 #define GL_IMAGE_MIN_FILTER_HP            0x815D
1465 #define GL_IMAGE_CUBIC_WEIGHT_HP          0x815E
1466 #define GL_CUBIC_HP                       0x815F
1467 #define GL_AVERAGE_HP                     0x8160
1468 #define GL_IMAGE_TRANSFORM_2D_HP          0x8161
1469 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
1470 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
1471 #endif

1472 
1473 #ifndef GL_HP_convolution_border_modes
1474 #define GL_IGNORE_BORDER_HP               0x8150
1475 #define GL_CONSTANT_BORDER_HP             0x8151
1476 #define GL_REPLICATE_BORDER_HP            0x8153
1477 #define GL_CONVOLUTION_BORDER_COLOR_HP    0x8154
1478 #endif
1479 
1480 #ifndef GL_INGR_palette_buffer
1481 #endif
1482 
1483 #ifndef GL_SGIX_texture_add_env
1484 #define GL_TEXTURE_ENV_BIAS_SGIX          0x80BE
1485 #endif
1486 
1487 #ifndef GL_EXT_color_subtable
1488 #endif
1489 
1490 #ifndef GL_PGI_vertex_hints
1491 #define GL_VERTEX_DATA_HINT_PGI           0x1A22A
1492 #define GL_VERTEX_CONSISTENT_HINT_PGI     0x1A22B
1493 #define GL_MATERIAL_SIDE_HINT_PGI         0x1A22C
1494 #define GL_MAX_VERTEX_HINT_PGI            0x1A22D
1495 #define GL_COLOR3_BIT_PGI                 0x00010000
1496 #define GL_COLOR4_BIT_PGI                 0x00020000
1497 #define GL_EDGEFLAG_BIT_PGI               0x00040000
1498 #define GL_INDEX_BIT_PGI                  0x00080000
1499 #define GL_MAT_AMBIENT_BIT_PGI            0x00100000
1500 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
1501 #define GL_MAT_DIFFUSE_BIT_PGI            0x00400000
1502 #define GL_MAT_EMISSION_BIT_PGI           0x00800000
1503 #define GL_MAT_COLOR_INDEXES_BIT_PGI      0x01000000
1504 #define GL_MAT_SHININESS_BIT_PGI          0x02000000
1505 #define GL_MAT_SPECULAR_BIT_PGI           0x04000000
1506 #define GL_NORMAL_BIT_PGI                 0x08000000
1507 #define GL_TEXCOORD1_BIT_PGI              0x10000000
1508 #define GL_TEXCOORD2_BIT_PGI              0x20000000
1509 #define GL_TEXCOORD3_BIT_PGI              0x40000000
1510 #define GL_TEXCOORD4_BIT_PGI              0x80000000
1511 #define GL_VERTEX23_BIT_PGI               0x00000004
1512 #define GL_VERTEX4_BIT_PGI                0x00000008
1513 #endif
1514 
1515 #ifndef GL_PGI_misc_hints
1516 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI   0x1A1F8
1517 #define GL_CONSERVE_MEMORY_HINT_PGI       0x1A1FD
1518 #define GL_RECLAIM_MEMORY_HINT_PGI        0x1A1FE
1519 #define GL_NATIVE_GRAPHICS_HANDLE_PGI     0x1A202
1520 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
1521 #define GL_NATIVE_GRAPHICS_END_HINT_PGI   0x1A204
1522 #define GL_ALWAYS_FAST_HINT_PGI           0x1A20C
1523 #define GL_ALWAYS_SOFT_HINT_PGI           0x1A20D
1524 #define GL_ALLOW_DRAW_OBJ_HINT_PGI        0x1A20E
1525 #define GL_ALLOW_DRAW_WIN_HINT_PGI        0x1A20F
1526 #define GL_ALLOW_DRAW_FRG_HINT_PGI        0x1A210
1527 #define GL_ALLOW_DRAW_MEM_HINT_PGI        0x1A211
1528 #define GL_STRICT_DEPTHFUNC_HINT_PGI      0x1A216
1529 #define GL_STRICT_LIGHTING_HINT_PGI       0x1A217
1530 #define GL_STRICT_SCISSOR_HINT_PGI        0x1A218
1531 #define GL_FULL_STIPPLE_HINT_PGI          0x1A219
1532 #define GL_CLIP_NEAR_HINT_PGI             0x1A220
1533 #define GL_CLIP_FAR_HINT_PGI              0x1A221
1534 #define GL_WIDE_LINE_HINT_PGI             0x1A222
1535 #define GL_BACK_NORMALS_HINT_PGI          0x1A223
1536 #endif
1537 
1538 #ifndef GL_EXT_paletted_texture
1539 #define GL_COLOR_INDEX1_EXT               0x80E2
1540 #define GL_COLOR_INDEX2_EXT               0x80E3
1541 #define GL_COLOR_INDEX4_EXT               0x80E4
1542 #define GL_COLOR_INDEX8_EXT               0x80E5
1543 #define GL_COLOR_INDEX12_EXT              0x80E6
1544 #define GL_COLOR_INDEX16_EXT              0x80E7
1545 #define GL_TEXTURE_INDEX_SIZE_EXT         0x80ED
1546 #endif
1547 
1548 #ifndef GL_EXT_clip_volume_hint

1549 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT  0x80F0
1550 #endif
1551 
1552 #ifndef GL_SGIX_list_priority
1553 #define GL_LIST_PRIORITY_SGIX             0x8182
1554 #endif
1555 
1556 #ifndef GL_SGIX_ir_instrument1
1557 #define GL_IR_INSTRUMENT1_SGIX            0x817F
1558 #endif
1559 
1560 #ifndef GL_SGIX_calligraphic_fragment
1561 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX     0x8183
1562 #endif
1563 
1564 #ifndef GL_SGIX_texture_lod_bias
1565 #define GL_TEXTURE_LOD_BIAS_S_SGIX        0x818E
1566 #define GL_TEXTURE_LOD_BIAS_T_SGIX        0x818F
1567 #define GL_TEXTURE_LOD_BIAS_R_SGIX        0x8190
1568 #endif
1569 
1570 #ifndef GL_SGIX_shadow_ambient
1571 #define GL_SHADOW_AMBIENT_SGIX            0x80BF
1572 #endif




1573 
1574 #ifndef GL_EXT_index_texture






1575 #endif

1576 
1577 #ifndef GL_EXT_index_material
1578 #define GL_INDEX_MATERIAL_EXT             0x81B8
1579 #define GL_INDEX_MATERIAL_PARAMETER_EXT   0x81B9
1580 #define GL_INDEX_MATERIAL_FACE_EXT        0x81BA





1581 #endif

1582 
1583 #ifndef GL_EXT_index_func
1584 #define GL_INDEX_TEST_EXT                 0x81B5
1585 #define GL_INDEX_TEST_FUNC_EXT            0x81B6
1586 #define GL_INDEX_TEST_REF_EXT             0x81B7













































1587 #endif

1588 
1589 #ifndef GL_EXT_index_array_formats
1590 #define GL_IUI_V2F_EXT                    0x81AD
1591 #define GL_IUI_V3F_EXT                    0x81AE
1592 #define GL_IUI_N3F_V2F_EXT                0x81AF
1593 #define GL_IUI_N3F_V3F_EXT                0x81B0
1594 #define GL_T2F_IUI_V2F_EXT                0x81B1
1595 #define GL_T2F_IUI_V3F_EXT                0x81B2
1596 #define GL_T2F_IUI_N3F_V2F_EXT            0x81B3
1597 #define GL_T2F_IUI_N3F_V3F_EXT            0x81B4




















































1598 #endif

1599 
1600 #ifndef GL_EXT_compiled_vertex_array
1601 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT   0x81A8
1602 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT   0x81A9










1603 #endif

1604 
1605 #ifndef GL_EXT_cull_vertex

1606 #define GL_CULL_VERTEX_EXT                0x81AA
1607 #define GL_CULL_VERTEX_EYE_POSITION_EXT   0x81AB
1608 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC





1609 #endif

1610 
1611 #ifndef GL_SGIX_ycrcb
1612 #define GL_YCRCB_422_SGIX                 0x81BB
1613 #define GL_YCRCB_444_SGIX                 0x81BC
1614 #endif
1615 
1616 #ifndef GL_SGIX_fragment_lighting
1617 #define GL_FRAGMENT_LIGHTING_SGIX         0x8400
1618 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX   0x8401
1619 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
1620 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
1621 #define GL_MAX_FRAGMENT_LIGHTS_SGIX       0x8404
1622 #define GL_MAX_ACTIVE_LIGHTS_SGIX         0x8405
1623 #define GL_CURRENT_RASTER_NORMAL_SGIX     0x8406
1624 #define GL_LIGHT_ENV_MODE_SGIX            0x8407
1625 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
1626 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
1627 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
1628 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
1629 #define GL_FRAGMENT_LIGHT0_SGIX           0x840C
1630 #define GL_FRAGMENT_LIGHT1_SGIX           0x840D
1631 #define GL_FRAGMENT_LIGHT2_SGIX           0x840E
1632 #define GL_FRAGMENT_LIGHT3_SGIX           0x840F
1633 #define GL_FRAGMENT_LIGHT4_SGIX           0x8410
1634 #define GL_FRAGMENT_LIGHT5_SGIX           0x8411
1635 #define GL_FRAGMENT_LIGHT6_SGIX           0x8412
1636 #define GL_FRAGMENT_LIGHT7_SGIX           0x8413
1637 #endif

1638 
1639 #ifndef GL_IBM_rasterpos_clip
1640 #define GL_RASTER_POSITION_UNCLIPPED_IBM  0x19262





1641 #endif

1642 
1643 #ifndef GL_HP_texture_lighting
1644 #define GL_TEXTURE_LIGHTING_MODE_HP       0x8167
1645 #define GL_TEXTURE_POST_SPECULAR_HP       0x8168
1646 #define GL_TEXTURE_PRE_SPECULAR_HP        0x8169


















































































































































































































































































































































































































































































































































1647 #endif

1648 
1649 #ifndef GL_EXT_draw_range_elements

1650 #define GL_MAX_ELEMENTS_VERTICES_EXT      0x80E8
1651 #define GL_MAX_ELEMENTS_INDICES_EXT       0x80E9



1652 #endif

1653 
1654 #ifndef GL_WIN_phong_shading
1655 #define GL_PHONG_WIN                      0x80EA
1656 #define GL_PHONG_HINT_WIN                 0x80EB





1657 #endif

1658 
1659 #ifndef GL_WIN_specular_fog
1660 #define GL_FOG_SPECULAR_TEXTURE_WIN       0x80EC

























































































































































































































































































































1661 #endif





1662 
1663 #ifndef GL_EXT_light_texture

1664 #define GL_FRAGMENT_MATERIAL_EXT          0x8349
1665 #define GL_FRAGMENT_NORMAL_EXT            0x834A
1666 #define GL_FRAGMENT_COLOR_EXT             0x834C
1667 #define GL_ATTENUATION_EXT                0x834D
1668 #define GL_SHADOW_ATTENUATION_EXT         0x834E
1669 #define GL_TEXTURE_APPLICATION_MODE_EXT   0x834F
1670 #define GL_TEXTURE_LIGHT_EXT              0x8350
1671 #define GL_TEXTURE_MATERIAL_FACE_EXT      0x8351
1672 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
1673 /* reuse GL_FRAGMENT_DEPTH_EXT */
1674 #endif
1675 
1676 #ifndef GL_SGIX_blend_alpha_minmax
1677 #define GL_ALPHA_MIN_SGIX                 0x8320
1678 #define GL_ALPHA_MAX_SGIX                 0x8321
1679 #endif
1680 
1681 #ifndef GL_SGIX_impact_pixel_texture
1682 #define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX   0x8184
1683 #define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX     0x8185
1684 #define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX     0x8186
1685 #define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187
1686 #define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188
1687 #define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX    0x8189
1688 #define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX    0x818A










































































1689 #endif

1690 
1691 #ifndef GL_EXT_bgra
1692 #define GL_BGR_EXT                        0x80E0
1693 #define GL_BGRA_EXT                       0x80E1
1694 #endif
1695 
1696 #ifndef GL_SGIX_async
1697 #define GL_ASYNC_MARKER_SGIX              0x8329





1698 #endif

1699 
1700 #ifndef GL_SGIX_async_pixel
1701 #define GL_ASYNC_TEX_IMAGE_SGIX           0x835C
1702 #define GL_ASYNC_DRAW_PIXELS_SGIX         0x835D
1703 #define GL_ASYNC_READ_PIXELS_SGIX         0x835E
1704 #define GL_MAX_ASYNC_TEX_IMAGE_SGIX       0x835F
1705 #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX     0x8360
1706 #define GL_MAX_ASYNC_READ_PIXELS_SGIX     0x8361

















1707 #endif

1708 
1709 #ifndef GL_SGIX_async_histogram
1710 #define GL_ASYNC_HISTOGRAM_SGIX           0x832C
1711 #define GL_MAX_ASYNC_HISTOGRAM_SGIX       0x832D
1712 #endif






















1713 
1714 #ifndef GL_INTEL_texture_scissor
1715 #endif






1716 
1717 #ifndef GL_INTEL_parallel_arrays
1718 #define GL_PARALLEL_ARRAYS_INTEL          0x83F4
1719 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
1720 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
1721 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
1722 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8












1723 #endif

1724 
1725 #ifndef GL_HP_occlusion_test
1726 #define GL_OCCLUSION_TEST_HP              0x8165
1727 #define GL_OCCLUSION_TEST_RESULT_HP       0x8166
1728 #endif



1729 
1730 #ifndef GL_EXT_pixel_transform

1731 #define GL_PIXEL_TRANSFORM_2D_EXT         0x8330
1732 #define GL_PIXEL_MAG_FILTER_EXT           0x8331
1733 #define GL_PIXEL_MIN_FILTER_EXT           0x8332
1734 #define GL_PIXEL_CUBIC_WEIGHT_EXT         0x8333
1735 #define GL_CUBIC_EXT                      0x8334
1736 #define GL_AVERAGE_EXT                    0x8335
1737 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
1738 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
1739 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT  0x8338













1740 #endif

1741 
1742 #ifndef GL_EXT_pixel_transform_color_table
1743 #endif

1744 
1745 #ifndef GL_EXT_shared_texture_palette
1746 #define GL_SHARED_TEXTURE_PALETTE_EXT     0x81FB









1747 #endif

1748 
1749 #ifndef GL_EXT_separate_specular_color
1750 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT  0x81F8
1751 #define GL_SINGLE_COLOR_EXT               0x81F9
1752 #define GL_SEPARATE_SPECULAR_COLOR_EXT    0x81FA
1753 #endif

















































1754 
1755 #ifndef GL_EXT_secondary_color

1756 #define GL_COLOR_SUM_EXT                  0x8458
1757 #define GL_CURRENT_SECONDARY_COLOR_EXT    0x8459
1758 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
1759 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
1760 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
1761 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
1762 #define GL_SECONDARY_COLOR_ARRAY_EXT      0x845E

































































































1763 #endif

1764 
1765 #ifndef GL_EXT_texture_perturb_normal
1766 #define GL_PERTURB_EXT                    0x85AE
1767 #define GL_TEXTURE_NORMAL_EXT             0x85AF
1768 #endif


1769 
1770 #ifndef GL_EXT_multi_draw_arrays









































































































1771 #endif

1772 
1773 #ifndef GL_EXT_fog_coord
1774 #define GL_FOG_COORDINATE_SOURCE_EXT      0x8450
1775 #define GL_FOG_COORDINATE_EXT             0x8451
1776 #define GL_FRAGMENT_DEPTH_EXT             0x8452
1777 #define GL_CURRENT_FOG_COORDINATE_EXT     0x8453
1778 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT  0x8454
1779 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
1780 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
1781 #define GL_FOG_COORDINATE_ARRAY_EXT       0x8457
1782 #endif

1783 
1784 #ifndef GL_REND_screen_coordinates
1785 #define GL_SCREEN_COORDINATES_REND        0x8490
1786 #define GL_INVERTED_SCREEN_W_REND         0x8491










1787 #endif

1788 
1789 #ifndef GL_EXT_coordinate_frame
1790 #define GL_TANGENT_ARRAY_EXT              0x8439
1791 #define GL_BINORMAL_ARRAY_EXT             0x843A
1792 #define GL_CURRENT_TANGENT_EXT            0x843B
1793 #define GL_CURRENT_BINORMAL_EXT           0x843C
1794 #define GL_TANGENT_ARRAY_TYPE_EXT         0x843E
1795 #define GL_TANGENT_ARRAY_STRIDE_EXT       0x843F
1796 #define GL_BINORMAL_ARRAY_TYPE_EXT        0x8440
1797 #define GL_BINORMAL_ARRAY_STRIDE_EXT      0x8441
1798 #define GL_TANGENT_ARRAY_POINTER_EXT      0x8442
1799 #define GL_BINORMAL_ARRAY_POINTER_EXT     0x8443
1800 #define GL_MAP1_TANGENT_EXT               0x8444
1801 #define GL_MAP2_TANGENT_EXT               0x8445
1802 #define GL_MAP1_BINORMAL_EXT              0x8446
1803 #define GL_MAP2_BINORMAL_EXT              0x8447
















































1804 #endif










































































1805 
1806 #ifndef GL_EXT_texture_env_combine

1807 #define GL_COMBINE_EXT                    0x8570
1808 #define GL_COMBINE_RGB_EXT                0x8571
1809 #define GL_COMBINE_ALPHA_EXT              0x8572
1810 #define GL_RGB_SCALE_EXT                  0x8573
1811 #define GL_ADD_SIGNED_EXT                 0x8574
1812 #define GL_INTERPOLATE_EXT                0x8575
1813 #define GL_CONSTANT_EXT                   0x8576
1814 #define GL_PRIMARY_COLOR_EXT              0x8577
1815 #define GL_PREVIOUS_EXT                   0x8578
1816 #define GL_SOURCE0_RGB_EXT                0x8580
1817 #define GL_SOURCE1_RGB_EXT                0x8581
1818 #define GL_SOURCE2_RGB_EXT                0x8582
1819 #define GL_SOURCE0_ALPHA_EXT              0x8588
1820 #define GL_SOURCE1_ALPHA_EXT              0x8589
1821 #define GL_SOURCE2_ALPHA_EXT              0x858A
1822 #define GL_OPERAND0_RGB_EXT               0x8590
1823 #define GL_OPERAND1_RGB_EXT               0x8591
1824 #define GL_OPERAND2_RGB_EXT               0x8592
1825 #define GL_OPERAND0_ALPHA_EXT             0x8598
1826 #define GL_OPERAND1_ALPHA_EXT             0x8599
1827 #define GL_OPERAND2_ALPHA_EXT             0x859A
1828 #endif
1829 
1830 #ifndef GL_APPLE_specular_vector
1831 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
1832 #endif


1833 
1834 #ifndef GL_APPLE_transform_hint
1835 #define GL_TRANSFORM_HINT_APPLE           0x85B1
1836 #endif


1837 
1838 #ifndef GL_SGIX_fog_scale
1839 #define GL_FOG_SCALE_SGIX                 0x81FC
1840 #define GL_FOG_SCALE_VALUE_SGIX           0x81FD

































































1841 #endif

1842 
1843 #ifndef GL_SUNX_constant_data
1844 #define GL_UNPACK_CONSTANT_DATA_SUNX      0x81D5
1845 #define GL_TEXTURE_CONSTANT_DATA_SUNX     0x81D6
1846 #endif


1847 
1848 #ifndef GL_SUN_global_alpha
1849 #define GL_GLOBAL_ALPHA_SUN               0x81D9
1850 #define GL_GLOBAL_ALPHA_FACTOR_SUN        0x81DA
























1851 #endif

1852 
1853 #ifndef GL_SUN_triangle_list
1854 #define GL_RESTART_SUN                    0x0001
1855 #define GL_REPLACE_MIDDLE_SUN             0x0002
1856 #define GL_REPLACE_OLDEST_SUN             0x0003
1857 #define GL_TRIANGLE_LIST_SUN              0x81D7
1858 #define GL_REPLACEMENT_CODE_SUN           0x81D8
1859 #define GL_REPLACEMENT_CODE_ARRAY_SUN     0x85C0
1860 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
1861 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
1862 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
1863 #define GL_R1UI_V3F_SUN                   0x85C4
1864 #define GL_R1UI_C4UB_V3F_SUN              0x85C5
1865 #define GL_R1UI_C3F_V3F_SUN               0x85C6
1866 #define GL_R1UI_N3F_V3F_SUN               0x85C7
1867 #define GL_R1UI_C4F_N3F_V3F_SUN           0x85C8
1868 #define GL_R1UI_T2F_V3F_SUN               0x85C9
1869 #define GL_R1UI_T2F_N3F_V3F_SUN           0x85CA
1870 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN       0x85CB
1871 #endif

1872 
1873 #ifndef GL_SUN_vertex


















































































































1874 #endif

1875 
1876 #ifndef GL_EXT_blend_func_separate
1877 #define GL_BLEND_DST_RGB_EXT              0x80C8
1878 #define GL_BLEND_SRC_RGB_EXT              0x80C9
1879 #define GL_BLEND_DST_ALPHA_EXT            0x80CA
1880 #define GL_BLEND_SRC_ALPHA_EXT            0x80CB
1881 #endif
1882 
1883 #ifndef GL_INGR_color_clamp
1884 #define GL_RED_MIN_CLAMP_INGR             0x8560
1885 #define GL_GREEN_MIN_CLAMP_INGR           0x8561
1886 #define GL_BLUE_MIN_CLAMP_INGR            0x8562
1887 #define GL_ALPHA_MIN_CLAMP_INGR           0x8563
1888 #define GL_RED_MAX_CLAMP_INGR             0x8564
1889 #define GL_GREEN_MAX_CLAMP_INGR           0x8565
1890 #define GL_BLUE_MAX_CLAMP_INGR            0x8566
1891 #define GL_ALPHA_MAX_CLAMP_INGR           0x8567
1892 #endif
1893 
1894 #ifndef GL_INGR_interlace_read
1895 #define GL_INTERLACE_READ_INGR            0x8568
1896 #endif
1897 
1898 #ifndef GL_EXT_stencil_wrap
1899 #define GL_INCR_WRAP_EXT                  0x8507
1900 #define GL_DECR_WRAP_EXT                  0x8508
1901 #endif
1902 
1903 #ifndef GL_EXT_422_pixels
1904 #define GL_422_EXT                        0x80CC
1905 #define GL_422_REV_EXT                    0x80CD
1906 #define GL_422_AVERAGE_EXT                0x80CE
1907 #define GL_422_REV_AVERAGE_EXT            0x80CF
1908 #endif
1909 
1910 #ifndef GL_NV_texgen_reflection
1911 #define GL_NORMAL_MAP_NV                  0x8511
1912 #define GL_REFLECTION_MAP_NV              0x8512
1913 #endif
1914 
1915 #ifndef GL_EXT_texture_cube_map
1916 #define GL_NORMAL_MAP_EXT                 0x8511
1917 #define GL_REFLECTION_MAP_EXT             0x8512
1918 #define GL_TEXTURE_CUBE_MAP_EXT           0x8513
1919 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
1920 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
1921 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
1922 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
1923 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
1924 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
1925 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
1926 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT     0x851B
1927 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT  0x851C
1928 #endif
1929 
1930 #ifndef GL_SUN_convolution_border_modes
1931 #define GL_WRAP_BORDER_SUN                0x81D4
1932 #endif
1933 
1934 #ifndef GL_EXT_texture_env_add
1935 #endif
1936 
1937 #ifndef GL_EXT_texture_lod_bias
1938 #define GL_MAX_TEXTURE_LOD_BIAS_EXT       0x84FD
1939 #define GL_TEXTURE_FILTER_CONTROL_EXT     0x8500
1940 #define GL_TEXTURE_LOD_BIAS_EXT           0x8501
1941 #endif
1942 
1943 #ifndef GL_EXT_texture_filter_anisotropic
1944 #define GL_TEXTURE_MAX_ANISOTROPY_EXT     0x84FE
1945 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
1946 #endif
1947 
1948 #ifndef GL_EXT_vertex_weighting
1949 #define GL_MODELVIEW0_STACK_DEPTH_EXT     GL_MODELVIEW_STACK_DEPTH
1950 #define GL_MODELVIEW1_STACK_DEPTH_EXT     0x8502
1951 #define GL_MODELVIEW0_MATRIX_EXT          GL_MODELVIEW_MATRIX
1952 #define GL_MODELVIEW1_MATRIX_EXT          0x8506
1953 #define GL_VERTEX_WEIGHTING_EXT           0x8509
1954 #define GL_MODELVIEW0_EXT                 GL_MODELVIEW
1955 #define GL_MODELVIEW1_EXT                 0x850A
1956 #define GL_CURRENT_VERTEX_WEIGHT_EXT      0x850B
1957 #define GL_VERTEX_WEIGHT_ARRAY_EXT        0x850C
1958 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT   0x850D
1959 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT   0x850E
1960 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
1961 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
1962 #endif
1963 
1964 #ifndef GL_NV_light_max_exponent
1965 #define GL_MAX_SHININESS_NV               0x8504
1966 #define GL_MAX_SPOT_EXPONENT_NV           0x8505
1967 #endif
1968 
1969 #ifndef GL_NV_vertex_array_range
1970 #define GL_VERTEX_ARRAY_RANGE_NV          0x851D
1971 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV   0x851E
1972 #define GL_VERTEX_ARRAY_RANGE_VALID_NV    0x851F
1973 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
1974 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV  0x8521
1975 #endif
1976 
1977 #ifndef GL_NV_register_combiners
1978 #define GL_REGISTER_COMBINERS_NV          0x8522
1979 #define GL_VARIABLE_A_NV                  0x8523
1980 #define GL_VARIABLE_B_NV                  0x8524
1981 #define GL_VARIABLE_C_NV                  0x8525
1982 #define GL_VARIABLE_D_NV                  0x8526
1983 #define GL_VARIABLE_E_NV                  0x8527
1984 #define GL_VARIABLE_F_NV                  0x8528
1985 #define GL_VARIABLE_G_NV                  0x8529
1986 #define GL_CONSTANT_COLOR0_NV             0x852A
1987 #define GL_CONSTANT_COLOR1_NV             0x852B
1988 #define GL_PRIMARY_COLOR_NV               0x852C
1989 #define GL_SECONDARY_COLOR_NV             0x852D
1990 #define GL_SPARE0_NV                      0x852E
1991 #define GL_SPARE1_NV                      0x852F
1992 #define GL_DISCARD_NV                     0x8530
1993 #define GL_E_TIMES_F_NV                   0x8531
1994 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
1995 #define GL_UNSIGNED_IDENTITY_NV           0x8536
1996 #define GL_UNSIGNED_INVERT_NV             0x8537
1997 #define GL_EXPAND_NORMAL_NV               0x8538
1998 #define GL_EXPAND_NEGATE_NV               0x8539
1999 #define GL_HALF_BIAS_NORMAL_NV            0x853A
2000 #define GL_HALF_BIAS_NEGATE_NV            0x853B
2001 #define GL_SIGNED_IDENTITY_NV             0x853C
2002 #define GL_SIGNED_NEGATE_NV               0x853D
2003 #define GL_SCALE_BY_TWO_NV                0x853E
2004 #define GL_SCALE_BY_FOUR_NV               0x853F
2005 #define GL_SCALE_BY_ONE_HALF_NV           0x8540
2006 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV   0x8541
2007 #define GL_COMBINER_INPUT_NV              0x8542
2008 #define GL_COMBINER_MAPPING_NV            0x8543
2009 #define GL_COMBINER_COMPONENT_USAGE_NV    0x8544
2010 #define GL_COMBINER_AB_DOT_PRODUCT_NV     0x8545
2011 #define GL_COMBINER_CD_DOT_PRODUCT_NV     0x8546
2012 #define GL_COMBINER_MUX_SUM_NV            0x8547
2013 #define GL_COMBINER_SCALE_NV              0x8548
2014 #define GL_COMBINER_BIAS_NV               0x8549
2015 #define GL_COMBINER_AB_OUTPUT_NV          0x854A
2016 #define GL_COMBINER_CD_OUTPUT_NV          0x854B
2017 #define GL_COMBINER_SUM_OUTPUT_NV         0x854C
2018 #define GL_MAX_GENERAL_COMBINERS_NV       0x854D
2019 #define GL_NUM_GENERAL_COMBINERS_NV       0x854E
2020 #define GL_COLOR_SUM_CLAMP_NV             0x854F
2021 #define GL_COMBINER0_NV                   0x8550
2022 #define GL_COMBINER1_NV                   0x8551
2023 #define GL_COMBINER2_NV                   0x8552
2024 #define GL_COMBINER3_NV                   0x8553
2025 #define GL_COMBINER4_NV                   0x8554
2026 #define GL_COMBINER5_NV                   0x8555
2027 #define GL_COMBINER6_NV                   0x8556
2028 #define GL_COMBINER7_NV                   0x8557
2029 /* reuse GL_TEXTURE0_ARB */
2030 /* reuse GL_TEXTURE1_ARB */
2031 /* reuse GL_ZERO */
2032 /* reuse GL_NONE */
2033 /* reuse GL_FOG */
2034 #endif
2035 
2036 #ifndef GL_NV_fog_distance
2037 #define GL_FOG_DISTANCE_MODE_NV           0x855A
2038 #define GL_EYE_RADIAL_NV                  0x855B
2039 #define GL_EYE_PLANE_ABSOLUTE_NV          0x855C
2040 /* reuse GL_EYE_PLANE */
2041 #endif
2042 
2043 #ifndef GL_NV_texgen_emboss
2044 #define GL_EMBOSS_LIGHT_NV                0x855D
2045 #define GL_EMBOSS_CONSTANT_NV             0x855E
2046 #define GL_EMBOSS_MAP_NV                  0x855F
2047 #endif
2048 
2049 #ifndef GL_NV_blend_square
2050 #endif
2051 
2052 #ifndef GL_NV_texture_env_combine4
2053 #define GL_COMBINE4_NV                    0x8503
2054 #define GL_SOURCE3_RGB_NV                 0x8583
2055 #define GL_SOURCE3_ALPHA_NV               0x858B
2056 #define GL_OPERAND3_RGB_NV                0x8593
2057 #define GL_OPERAND3_ALPHA_NV              0x859B
2058 #endif
2059 
2060 #ifndef GL_MESA_resize_buffers
2061 #endif
2062 
2063 #ifndef GL_MESA_window_pos
2064 #endif
2065 
2066 #ifndef GL_EXT_texture_compression_s3tc
2067 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
2068 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
2069 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
2070 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
2071 #endif
2072 
2073 #ifndef GL_IBM_cull_vertex
2074 #define GL_CULL_VERTEX_IBM                103050
2075 #endif
2076 
2077 #ifndef GL_IBM_multimode_draw_arrays
2078 #endif
2079 
2080 #ifndef GL_IBM_vertex_array_lists
2081 #define GL_VERTEX_ARRAY_LIST_IBM          103070
2082 #define GL_NORMAL_ARRAY_LIST_IBM          103071
2083 #define GL_COLOR_ARRAY_LIST_IBM           103072
2084 #define GL_INDEX_ARRAY_LIST_IBM           103073
2085 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM   103074
2086 #define GL_EDGE_FLAG_ARRAY_LIST_IBM       103075
2087 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM  103076
2088 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
2089 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM   103080
2090 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM   103081
2091 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM    103082
2092 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM    103083
2093 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
2094 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
2095 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
2096 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
2097 #endif
2098 
2099 #ifndef GL_SGIX_subsample
2100 #define GL_PACK_SUBSAMPLE_RATE_SGIX       0x85A0
2101 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX     0x85A1
2102 #define GL_PIXEL_SUBSAMPLE_4444_SGIX      0x85A2
2103 #define GL_PIXEL_SUBSAMPLE_2424_SGIX      0x85A3
2104 #define GL_PIXEL_SUBSAMPLE_4242_SGIX      0x85A4
2105 #endif
2106 
2107 #ifndef GL_SGIX_ycrcb_subsample
2108 #endif
2109 
2110 #ifndef GL_SGIX_ycrcba
2111 #define GL_YCRCB_SGIX                     0x8318
2112 #define GL_YCRCBA_SGIX                    0x8319
2113 #endif
2114 
2115 #ifndef GL_SGI_depth_pass_instrument
2116 #define GL_DEPTH_PASS_INSTRUMENT_SGIX     0x8310
2117 #define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
2118 #define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
2119 #endif
2120 
2121 #ifndef GL_3DFX_texture_compression_FXT1
2122 #define GL_COMPRESSED_RGB_FXT1_3DFX       0x86B0
2123 #define GL_COMPRESSED_RGBA_FXT1_3DFX      0x86B1
2124 #endif
2125 
2126 #ifndef GL_3DFX_multisample
2127 #define GL_MULTISAMPLE_3DFX               0x86B2
2128 #define GL_SAMPLE_BUFFERS_3DFX            0x86B3
2129 #define GL_SAMPLES_3DFX                   0x86B4
2130 #define GL_MULTISAMPLE_BIT_3DFX           0x20000000
2131 #endif
2132 
2133 #ifndef GL_3DFX_tbuffer
2134 #endif
2135 
2136 #ifndef GL_EXT_multisample
2137 #define GL_MULTISAMPLE_EXT                0x809D
2138 #define GL_SAMPLE_ALPHA_TO_MASK_EXT       0x809E
2139 #define GL_SAMPLE_ALPHA_TO_ONE_EXT        0x809F
2140 #define GL_SAMPLE_MASK_EXT                0x80A0
2141 #define GL_1PASS_EXT                      0x80A1
2142 #define GL_2PASS_0_EXT                    0x80A2
2143 #define GL_2PASS_1_EXT                    0x80A3
2144 #define GL_4PASS_0_EXT                    0x80A4
2145 #define GL_4PASS_1_EXT                    0x80A5
2146 #define GL_4PASS_2_EXT                    0x80A6
2147 #define GL_4PASS_3_EXT                    0x80A7
2148 #define GL_SAMPLE_BUFFERS_EXT             0x80A8
2149 #define GL_SAMPLES_EXT                    0x80A9
2150 #define GL_SAMPLE_MASK_VALUE_EXT          0x80AA
2151 #define GL_SAMPLE_MASK_INVERT_EXT         0x80AB
2152 #define GL_SAMPLE_PATTERN_EXT             0x80AC
2153 #define GL_MULTISAMPLE_BIT_EXT            0x20000000
2154 #endif
2155 
2156 #ifndef GL_SGIX_vertex_preclip
2157 #define GL_VERTEX_PRECLIP_SGIX            0x83EE
2158 #define GL_VERTEX_PRECLIP_HINT_SGIX       0x83EF
2159 #endif
2160 
2161 #ifndef GL_SGIX_convolution_accuracy
2162 #define GL_CONVOLUTION_HINT_SGIX          0x8316
2163 #endif
2164 
2165 #ifndef GL_SGIX_resample
2166 #define GL_PACK_RESAMPLE_SGIX             0x842C
2167 #define GL_UNPACK_RESAMPLE_SGIX           0x842D
2168 #define GL_RESAMPLE_REPLICATE_SGIX        0x842E
2169 #define GL_RESAMPLE_ZERO_FILL_SGIX        0x842F
2170 #define GL_RESAMPLE_DECIMATE_SGIX         0x8430
2171 #endif
2172 
2173 #ifndef GL_SGIS_point_line_texgen
2174 #define GL_EYE_DISTANCE_TO_POINT_SGIS     0x81F0
2175 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS  0x81F1
2176 #define GL_EYE_DISTANCE_TO_LINE_SGIS      0x81F2
2177 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS   0x81F3
2178 #define GL_EYE_POINT_SGIS                 0x81F4
2179 #define GL_OBJECT_POINT_SGIS              0x81F5
2180 #define GL_EYE_LINE_SGIS                  0x81F6
2181 #define GL_OBJECT_LINE_SGIS               0x81F7
2182 #endif
2183 
2184 #ifndef GL_SGIS_texture_color_mask
2185 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS   0x81EF
2186 #endif
2187 
2188 #ifndef GL_EXT_texture_env_dot3
2189 #define GL_DOT3_RGB_EXT                   0x8740
2190 #define GL_DOT3_RGBA_EXT                  0x8741
2191 #endif
2192 
2193 #ifndef GL_ATI_texture_mirror_once
2194 #define GL_MIRROR_CLAMP_ATI               0x8742
2195 #define GL_MIRROR_CLAMP_TO_EDGE_ATI       0x8743
2196 #endif
2197 
2198 #ifndef GL_NV_fence
2199 #define GL_ALL_COMPLETED_NV               0x84F2
2200 #define GL_FENCE_STATUS_NV                0x84F3
2201 #define GL_FENCE_CONDITION_NV             0x84F4
2202 #endif
2203 
2204 #ifndef GL_IBM_texture_mirrored_repeat
2205 #define GL_MIRRORED_REPEAT_IBM            0x8370
2206 #endif
2207 
2208 #ifndef GL_NV_evaluators
2209 #define GL_EVAL_2D_NV                     0x86C0
2210 #define GL_EVAL_TRIANGULAR_2D_NV          0x86C1
2211 #define GL_MAP_TESSELLATION_NV            0x86C2
2212 #define GL_MAP_ATTRIB_U_ORDER_NV          0x86C3
2213 #define GL_MAP_ATTRIB_V_ORDER_NV          0x86C4
2214 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
2215 #define GL_EVAL_VERTEX_ATTRIB0_NV         0x86C6
2216 #define GL_EVAL_VERTEX_ATTRIB1_NV         0x86C7
2217 #define GL_EVAL_VERTEX_ATTRIB2_NV         0x86C8
2218 #define GL_EVAL_VERTEX_ATTRIB3_NV         0x86C9
2219 #define GL_EVAL_VERTEX_ATTRIB4_NV         0x86CA
2220 #define GL_EVAL_VERTEX_ATTRIB5_NV         0x86CB
2221 #define GL_EVAL_VERTEX_ATTRIB6_NV         0x86CC
2222 #define GL_EVAL_VERTEX_ATTRIB7_NV         0x86CD
2223 #define GL_EVAL_VERTEX_ATTRIB8_NV         0x86CE
2224 #define GL_EVAL_VERTEX_ATTRIB9_NV         0x86CF
2225 #define GL_EVAL_VERTEX_ATTRIB10_NV        0x86D0
2226 #define GL_EVAL_VERTEX_ATTRIB11_NV        0x86D1
2227 #define GL_EVAL_VERTEX_ATTRIB12_NV        0x86D2
2228 #define GL_EVAL_VERTEX_ATTRIB13_NV        0x86D3
2229 #define GL_EVAL_VERTEX_ATTRIB14_NV        0x86D4
2230 #define GL_EVAL_VERTEX_ATTRIB15_NV        0x86D5
2231 #define GL_MAX_MAP_TESSELLATION_NV        0x86D6
2232 #define GL_MAX_RATIONAL_EVAL_ORDER_NV     0x86D7
2233 #endif
2234 
2235 #ifndef GL_NV_packed_depth_stencil
2236 #define GL_DEPTH_STENCIL_NV               0x84F9
2237 #define GL_UNSIGNED_INT_24_8_NV           0x84FA
2238 #endif
2239 
2240 #ifndef GL_NV_register_combiners2
2241 #define GL_PER_STAGE_CONSTANTS_NV         0x8535
2242 #endif
2243 
2244 #ifndef GL_NV_texture_compression_vtc
2245 #endif
2246 
2247 #ifndef GL_NV_texture_rectangle
2248 #define GL_TEXTURE_RECTANGLE_NV           0x84F5
2249 #define GL_TEXTURE_BINDING_RECTANGLE_NV   0x84F6
2250 #define GL_PROXY_TEXTURE_RECTANGLE_NV     0x84F7
2251 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV  0x84F8
2252 #endif
2253 
2254 #ifndef GL_NV_texture_shader
2255 #define GL_OFFSET_TEXTURE_RECTANGLE_NV    0x864C
2256 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
2257 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
2258 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
2259 #define GL_UNSIGNED_INT_S8_S8_8_8_NV      0x86DA
2260 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV  0x86DB
2261 #define GL_DSDT_MAG_INTENSITY_NV          0x86DC
2262 #define GL_SHADER_CONSISTENT_NV           0x86DD
2263 #define GL_TEXTURE_SHADER_NV              0x86DE
2264 #define GL_SHADER_OPERATION_NV            0x86DF
2265 #define GL_CULL_MODES_NV                  0x86E0
2266 #define GL_OFFSET_TEXTURE_MATRIX_NV       0x86E1
2267 #define GL_OFFSET_TEXTURE_SCALE_NV        0x86E2
2268 #define GL_OFFSET_TEXTURE_BIAS_NV         0x86E3
2269 #define GL_OFFSET_TEXTURE_2D_MATRIX_NV    GL_OFFSET_TEXTURE_MATRIX_NV
2270 #define GL_OFFSET_TEXTURE_2D_SCALE_NV     GL_OFFSET_TEXTURE_SCALE_NV
2271 #define GL_OFFSET_TEXTURE_2D_BIAS_NV      GL_OFFSET_TEXTURE_BIAS_NV
2272 #define GL_PREVIOUS_TEXTURE_INPUT_NV      0x86E4
2273 #define GL_CONST_EYE_NV                   0x86E5
2274 #define GL_PASS_THROUGH_NV                0x86E6
2275 #define GL_CULL_FRAGMENT_NV               0x86E7
2276 #define GL_OFFSET_TEXTURE_2D_NV           0x86E8
2277 #define GL_DEPENDENT_AR_TEXTURE_2D_NV     0x86E9
2278 #define GL_DEPENDENT_GB_TEXTURE_2D_NV     0x86EA
2279 #define GL_DOT_PRODUCT_NV                 0x86EC
2280 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV   0x86ED
2281 #define GL_DOT_PRODUCT_TEXTURE_2D_NV      0x86EE
2282 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
2283 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
2284 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
2285 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
2286 #define GL_HILO_NV                        0x86F4
2287 #define GL_DSDT_NV                        0x86F5
2288 #define GL_DSDT_MAG_NV                    0x86F6
2289 #define GL_DSDT_MAG_VIB_NV                0x86F7
2290 #define GL_HILO16_NV                      0x86F8
2291 #define GL_SIGNED_HILO_NV                 0x86F9
2292 #define GL_SIGNED_HILO16_NV               0x86FA
2293 #define GL_SIGNED_RGBA_NV                 0x86FB
2294 #define GL_SIGNED_RGBA8_NV                0x86FC
2295 #define GL_SIGNED_RGB_NV                  0x86FE
2296 #define GL_SIGNED_RGB8_NV                 0x86FF
2297 #define GL_SIGNED_LUMINANCE_NV            0x8701
2298 #define GL_SIGNED_LUMINANCE8_NV           0x8702
2299 #define GL_SIGNED_LUMINANCE_ALPHA_NV      0x8703
2300 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV    0x8704
2301 #define GL_SIGNED_ALPHA_NV                0x8705
2302 #define GL_SIGNED_ALPHA8_NV               0x8706
2303 #define GL_SIGNED_INTENSITY_NV            0x8707
2304 #define GL_SIGNED_INTENSITY8_NV           0x8708
2305 #define GL_DSDT8_NV                       0x8709
2306 #define GL_DSDT8_MAG8_NV                  0x870A
2307 #define GL_DSDT8_MAG8_INTENSITY8_NV       0x870B
2308 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV   0x870C
2309 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
2310 #define GL_HI_SCALE_NV                    0x870E
2311 #define GL_LO_SCALE_NV                    0x870F
2312 #define GL_DS_SCALE_NV                    0x8710
2313 #define GL_DT_SCALE_NV                    0x8711
2314 #define GL_MAGNITUDE_SCALE_NV             0x8712
2315 #define GL_VIBRANCE_SCALE_NV              0x8713
2316 #define GL_HI_BIAS_NV                     0x8714
2317 #define GL_LO_BIAS_NV                     0x8715
2318 #define GL_DS_BIAS_NV                     0x8716
2319 #define GL_DT_BIAS_NV                     0x8717
2320 #define GL_MAGNITUDE_BIAS_NV              0x8718
2321 #define GL_VIBRANCE_BIAS_NV               0x8719
2322 #define GL_TEXTURE_BORDER_VALUES_NV       0x871A
2323 #define GL_TEXTURE_HI_SIZE_NV             0x871B
2324 #define GL_TEXTURE_LO_SIZE_NV             0x871C
2325 #define GL_TEXTURE_DS_SIZE_NV             0x871D
2326 #define GL_TEXTURE_DT_SIZE_NV             0x871E
2327 #define GL_TEXTURE_MAG_SIZE_NV            0x871F
2328 #endif
2329 
2330 #ifndef GL_NV_texture_shader2
2331 #define GL_DOT_PRODUCT_TEXTURE_3D_NV      0x86EF
2332 #endif
2333 
2334 #ifndef GL_NV_vertex_array_range2
2335 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
2336 #endif
2337 
2338 #ifndef GL_NV_vertex_program
2339 #define GL_VERTEX_PROGRAM_NV              0x8620
2340 #define GL_VERTEX_STATE_PROGRAM_NV        0x8621
2341 #define GL_ATTRIB_ARRAY_SIZE_NV           0x8623
2342 #define GL_ATTRIB_ARRAY_STRIDE_NV         0x8624
2343 #define GL_ATTRIB_ARRAY_TYPE_NV           0x8625
2344 #define GL_CURRENT_ATTRIB_NV              0x8626
2345 #define GL_PROGRAM_LENGTH_NV              0x8627
2346 #define GL_PROGRAM_STRING_NV              0x8628
2347 #define GL_MODELVIEW_PROJECTION_NV        0x8629
2348 #define GL_IDENTITY_NV                    0x862A
2349 #define GL_INVERSE_NV                     0x862B
2350 #define GL_TRANSPOSE_NV                   0x862C
2351 #define GL_INVERSE_TRANSPOSE_NV           0x862D
2352 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
2353 #define GL_MAX_TRACK_MATRICES_NV          0x862F
2354 #define GL_MATRIX0_NV                     0x8630
2355 #define GL_MATRIX1_NV                     0x8631
2356 #define GL_MATRIX2_NV                     0x8632
2357 #define GL_MATRIX3_NV                     0x8633
2358 #define GL_MATRIX4_NV                     0x8634
2359 #define GL_MATRIX5_NV                     0x8635
2360 #define GL_MATRIX6_NV                     0x8636
2361 #define GL_MATRIX7_NV                     0x8637
2362 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV  0x8640
2363 #define GL_CURRENT_MATRIX_NV              0x8641
2364 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV   0x8642
2365 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV     0x8643
2366 #define GL_PROGRAM_PARAMETER_NV           0x8644
2367 #define GL_ATTRIB_ARRAY_POINTER_NV        0x8645
2368 #define GL_PROGRAM_TARGET_NV              0x8646
2369 #define GL_PROGRAM_RESIDENT_NV            0x8647
2370 #define GL_TRACK_MATRIX_NV                0x8648
2371 #define GL_TRACK_MATRIX_TRANSFORM_NV      0x8649
2372 #define GL_VERTEX_PROGRAM_BINDING_NV      0x864A
2373 #define GL_PROGRAM_ERROR_POSITION_NV      0x864B
2374 #define GL_VERTEX_ATTRIB_ARRAY0_NV        0x8650
2375 #define GL_VERTEX_ATTRIB_ARRAY1_NV        0x8651
2376 #define GL_VERTEX_ATTRIB_ARRAY2_NV        0x8652
2377 #define GL_VERTEX_ATTRIB_ARRAY3_NV        0x8653
2378 #define GL_VERTEX_ATTRIB_ARRAY4_NV        0x8654
2379 #define GL_VERTEX_ATTRIB_ARRAY5_NV        0x8655
2380 #define GL_VERTEX_ATTRIB_ARRAY6_NV        0x8656
2381 #define GL_VERTEX_ATTRIB_ARRAY7_NV        0x8657
2382 #define GL_VERTEX_ATTRIB_ARRAY8_NV        0x8658
2383 #define GL_VERTEX_ATTRIB_ARRAY9_NV        0x8659
2384 #define GL_VERTEX_ATTRIB_ARRAY10_NV       0x865A
2385 #define GL_VERTEX_ATTRIB_ARRAY11_NV       0x865B
2386 #define GL_VERTEX_ATTRIB_ARRAY12_NV       0x865C
2387 #define GL_VERTEX_ATTRIB_ARRAY13_NV       0x865D
2388 #define GL_VERTEX_ATTRIB_ARRAY14_NV       0x865E
2389 #define GL_VERTEX_ATTRIB_ARRAY15_NV       0x865F
2390 #define GL_MAP1_VERTEX_ATTRIB0_4_NV       0x8660
2391 #define GL_MAP1_VERTEX_ATTRIB1_4_NV       0x8661
2392 #define GL_MAP1_VERTEX_ATTRIB2_4_NV       0x8662
2393 #define GL_MAP1_VERTEX_ATTRIB3_4_NV       0x8663
2394 #define GL_MAP1_VERTEX_ATTRIB4_4_NV       0x8664
2395 #define GL_MAP1_VERTEX_ATTRIB5_4_NV       0x8665
2396 #define GL_MAP1_VERTEX_ATTRIB6_4_NV       0x8666
2397 #define GL_MAP1_VERTEX_ATTRIB7_4_NV       0x8667
2398 #define GL_MAP1_VERTEX_ATTRIB8_4_NV       0x8668
2399 #define GL_MAP1_VERTEX_ATTRIB9_4_NV       0x8669
2400 #define GL_MAP1_VERTEX_ATTRIB10_4_NV      0x866A
2401 #define GL_MAP1_VERTEX_ATTRIB11_4_NV      0x866B
2402 #define GL_MAP1_VERTEX_ATTRIB12_4_NV      0x866C
2403 #define GL_MAP1_VERTEX_ATTRIB13_4_NV      0x866D
2404 #define GL_MAP1_VERTEX_ATTRIB14_4_NV      0x866E
2405 #define GL_MAP1_VERTEX_ATTRIB15_4_NV      0x866F
2406 #define GL_MAP2_VERTEX_ATTRIB0_4_NV       0x8670
2407 #define GL_MAP2_VERTEX_ATTRIB1_4_NV       0x8671
2408 #define GL_MAP2_VERTEX_ATTRIB2_4_NV       0x8672
2409 #define GL_MAP2_VERTEX_ATTRIB3_4_NV       0x8673
2410 #define GL_MAP2_VERTEX_ATTRIB4_4_NV       0x8674
2411 #define GL_MAP2_VERTEX_ATTRIB5_4_NV       0x8675
2412 #define GL_MAP2_VERTEX_ATTRIB6_4_NV       0x8676
2413 #define GL_MAP2_VERTEX_ATTRIB7_4_NV       0x8677
2414 #define GL_MAP2_VERTEX_ATTRIB8_4_NV       0x8678
2415 #define GL_MAP2_VERTEX_ATTRIB9_4_NV       0x8679
2416 #define GL_MAP2_VERTEX_ATTRIB10_4_NV      0x867A
2417 #define GL_MAP2_VERTEX_ATTRIB11_4_NV      0x867B
2418 #define GL_MAP2_VERTEX_ATTRIB12_4_NV      0x867C
2419 #define GL_MAP2_VERTEX_ATTRIB13_4_NV      0x867D
2420 #define GL_MAP2_VERTEX_ATTRIB14_4_NV      0x867E
2421 #define GL_MAP2_VERTEX_ATTRIB15_4_NV      0x867F
2422 #endif
2423 
2424 #ifndef GL_SGIX_texture_coordinate_clamp
2425 #define GL_TEXTURE_MAX_CLAMP_S_SGIX       0x8369
2426 #define GL_TEXTURE_MAX_CLAMP_T_SGIX       0x836A
2427 #define GL_TEXTURE_MAX_CLAMP_R_SGIX       0x836B
2428 #endif
2429 
2430 #ifndef GL_SGIX_scalebias_hint
2431 #define GL_SCALEBIAS_HINT_SGIX            0x8322
2432 #endif
2433 
2434 #ifndef GL_OML_interlace
2435 #define GL_INTERLACE_OML                  0x8980
2436 #define GL_INTERLACE_READ_OML             0x8981
2437 #endif
2438 
2439 #ifndef GL_OML_subsample
2440 #define GL_FORMAT_SUBSAMPLE_24_24_OML     0x8982
2441 #define GL_FORMAT_SUBSAMPLE_244_244_OML   0x8983
2442 #endif
2443 
2444 #ifndef GL_OML_resample
2445 #define GL_PACK_RESAMPLE_OML              0x8984
2446 #define GL_UNPACK_RESAMPLE_OML            0x8985
2447 #define GL_RESAMPLE_REPLICATE_OML         0x8986
2448 #define GL_RESAMPLE_ZERO_FILL_OML         0x8987
2449 #define GL_RESAMPLE_AVERAGE_OML           0x8988
2450 #define GL_RESAMPLE_DECIMATE_OML          0x8989
2451 #endif
2452 
2453 #ifndef GL_NV_copy_depth_to_color
2454 #define GL_DEPTH_STENCIL_TO_RGBA_NV       0x886E
2455 #define GL_DEPTH_STENCIL_TO_BGRA_NV       0x886F
2456 #endif
2457 
2458 #ifndef GL_ATI_envmap_bumpmap
2459 #define GL_BUMP_ROT_MATRIX_ATI            0x8775
2460 #define GL_BUMP_ROT_MATRIX_SIZE_ATI       0x8776
2461 #define GL_BUMP_NUM_TEX_UNITS_ATI         0x8777
2462 #define GL_BUMP_TEX_UNITS_ATI             0x8778
2463 #define GL_DUDV_ATI                       0x8779
2464 #define GL_DU8DV8_ATI                     0x877A
2465 #define GL_BUMP_ENVMAP_ATI                0x877B
2466 #define GL_BUMP_TARGET_ATI                0x877C
2467 #endif
2468 
2469 #ifndef GL_ATI_fragment_shader
2470 #define GL_FRAGMENT_SHADER_ATI            0x8920
2471 #define GL_REG_0_ATI                      0x8921
2472 #define GL_REG_1_ATI                      0x8922
2473 #define GL_REG_2_ATI                      0x8923
2474 #define GL_REG_3_ATI                      0x8924
2475 #define GL_REG_4_ATI                      0x8925
2476 #define GL_REG_5_ATI                      0x8926
2477 #define GL_REG_6_ATI                      0x8927
2478 #define GL_REG_7_ATI                      0x8928
2479 #define GL_REG_8_ATI                      0x8929
2480 #define GL_REG_9_ATI                      0x892A
2481 #define GL_REG_10_ATI                     0x892B
2482 #define GL_REG_11_ATI                     0x892C
2483 #define GL_REG_12_ATI                     0x892D
2484 #define GL_REG_13_ATI                     0x892E
2485 #define GL_REG_14_ATI                     0x892F
2486 #define GL_REG_15_ATI                     0x8930
2487 #define GL_REG_16_ATI                     0x8931
2488 #define GL_REG_17_ATI                     0x8932
2489 #define GL_REG_18_ATI                     0x8933
2490 #define GL_REG_19_ATI                     0x8934
2491 #define GL_REG_20_ATI                     0x8935
2492 #define GL_REG_21_ATI                     0x8936
2493 #define GL_REG_22_ATI                     0x8937
2494 #define GL_REG_23_ATI                     0x8938
2495 #define GL_REG_24_ATI                     0x8939
2496 #define GL_REG_25_ATI                     0x893A
2497 #define GL_REG_26_ATI                     0x893B
2498 #define GL_REG_27_ATI                     0x893C
2499 #define GL_REG_28_ATI                     0x893D
2500 #define GL_REG_29_ATI                     0x893E
2501 #define GL_REG_30_ATI                     0x893F
2502 #define GL_REG_31_ATI                     0x8940
2503 #define GL_CON_0_ATI                      0x8941
2504 #define GL_CON_1_ATI                      0x8942
2505 #define GL_CON_2_ATI                      0x8943
2506 #define GL_CON_3_ATI                      0x8944
2507 #define GL_CON_4_ATI                      0x8945
2508 #define GL_CON_5_ATI                      0x8946
2509 #define GL_CON_6_ATI                      0x8947
2510 #define GL_CON_7_ATI                      0x8948
2511 #define GL_CON_8_ATI                      0x8949
2512 #define GL_CON_9_ATI                      0x894A
2513 #define GL_CON_10_ATI                     0x894B
2514 #define GL_CON_11_ATI                     0x894C
2515 #define GL_CON_12_ATI                     0x894D
2516 #define GL_CON_13_ATI                     0x894E
2517 #define GL_CON_14_ATI                     0x894F
2518 #define GL_CON_15_ATI                     0x8950
2519 #define GL_CON_16_ATI                     0x8951
2520 #define GL_CON_17_ATI                     0x8952
2521 #define GL_CON_18_ATI                     0x8953
2522 #define GL_CON_19_ATI                     0x8954
2523 #define GL_CON_20_ATI                     0x8955
2524 #define GL_CON_21_ATI                     0x8956
2525 #define GL_CON_22_ATI                     0x8957
2526 #define GL_CON_23_ATI                     0x8958
2527 #define GL_CON_24_ATI                     0x8959
2528 #define GL_CON_25_ATI                     0x895A
2529 #define GL_CON_26_ATI                     0x895B
2530 #define GL_CON_27_ATI                     0x895C
2531 #define GL_CON_28_ATI                     0x895D
2532 #define GL_CON_29_ATI                     0x895E
2533 #define GL_CON_30_ATI                     0x895F
2534 #define GL_CON_31_ATI                     0x8960
2535 #define GL_MOV_ATI                        0x8961
2536 #define GL_ADD_ATI                        0x8963
2537 #define GL_MUL_ATI                        0x8964
2538 #define GL_SUB_ATI                        0x8965
2539 #define GL_DOT3_ATI                       0x8966
2540 #define GL_DOT4_ATI                       0x8967
2541 #define GL_MAD_ATI                        0x8968
2542 #define GL_LERP_ATI                       0x8969
2543 #define GL_CND_ATI                        0x896A
2544 #define GL_CND0_ATI                       0x896B
2545 #define GL_DOT2_ADD_ATI                   0x896C
2546 #define GL_SECONDARY_INTERPOLATOR_ATI     0x896D
2547 #define GL_NUM_FRAGMENT_REGISTERS_ATI     0x896E
2548 #define GL_NUM_FRAGMENT_CONSTANTS_ATI     0x896F
2549 #define GL_NUM_PASSES_ATI                 0x8970
2550 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI  0x8971
2551 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI     0x8972
2552 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
2553 #define GL_NUM_LOOPBACK_COMPONENTS_ATI    0x8974
2554 #define GL_COLOR_ALPHA_PAIRING_ATI        0x8975
2555 #define GL_SWIZZLE_STR_ATI                0x8976
2556 #define GL_SWIZZLE_STQ_ATI                0x8977
2557 #define GL_SWIZZLE_STR_DR_ATI             0x8978
2558 #define GL_SWIZZLE_STQ_DQ_ATI             0x8979
2559 #define GL_SWIZZLE_STRQ_ATI               0x897A
2560 #define GL_SWIZZLE_STRQ_DQ_ATI            0x897B
2561 #define GL_RED_BIT_ATI                    0x00000001
2562 #define GL_GREEN_BIT_ATI                  0x00000002
2563 #define GL_BLUE_BIT_ATI                   0x00000004
2564 #define GL_2X_BIT_ATI                     0x00000001
2565 #define GL_4X_BIT_ATI                     0x00000002
2566 #define GL_8X_BIT_ATI                     0x00000004
2567 #define GL_HALF_BIT_ATI                   0x00000008
2568 #define GL_QUARTER_BIT_ATI                0x00000010
2569 #define GL_EIGHTH_BIT_ATI                 0x00000020
2570 #define GL_SATURATE_BIT_ATI               0x00000040
2571 #define GL_COMP_BIT_ATI                   0x00000002
2572 #define GL_NEGATE_BIT_ATI                 0x00000004
2573 #define GL_BIAS_BIT_ATI                   0x00000008
2574 #endif
2575 
2576 #ifndef GL_ATI_pn_triangles
2577 #define GL_PN_TRIANGLES_ATI               0x87F0
2578 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
2579 #define GL_PN_TRIANGLES_POINT_MODE_ATI    0x87F2
2580 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI   0x87F3
2581 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
2582 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
2583 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
2584 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
2585 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
2586 #endif
2587 
2588 #ifndef GL_ATI_vertex_array_object
2589 #define GL_STATIC_ATI                     0x8760
2590 #define GL_DYNAMIC_ATI                    0x8761
2591 #define GL_PRESERVE_ATI                   0x8762
2592 #define GL_DISCARD_ATI                    0x8763
2593 #define GL_OBJECT_BUFFER_SIZE_ATI         0x8764
2594 #define GL_OBJECT_BUFFER_USAGE_ATI        0x8765
2595 #define GL_ARRAY_OBJECT_BUFFER_ATI        0x8766
2596 #define GL_ARRAY_OBJECT_OFFSET_ATI        0x8767
2597 #endif
2598 
2599 #ifndef GL_EXT_vertex_shader
2600 #define GL_VERTEX_SHADER_EXT              0x8780
2601 #define GL_VERTEX_SHADER_BINDING_EXT      0x8781
2602 #define GL_OP_INDEX_EXT                   0x8782
2603 #define GL_OP_NEGATE_EXT                  0x8783
2604 #define GL_OP_DOT3_EXT                    0x8784
2605 #define GL_OP_DOT4_EXT                    0x8785
2606 #define GL_OP_MUL_EXT                     0x8786
2607 #define GL_OP_ADD_EXT                     0x8787
2608 #define GL_OP_MADD_EXT                    0x8788
2609 #define GL_OP_FRAC_EXT                    0x8789
2610 #define GL_OP_MAX_EXT                     0x878A
2611 #define GL_OP_MIN_EXT                     0x878B
2612 #define GL_OP_SET_GE_EXT                  0x878C
2613 #define GL_OP_SET_LT_EXT                  0x878D
2614 #define GL_OP_CLAMP_EXT                   0x878E
2615 #define GL_OP_FLOOR_EXT                   0x878F
2616 #define GL_OP_ROUND_EXT                   0x8790
2617 #define GL_OP_EXP_BASE_2_EXT              0x8791
2618 #define GL_OP_LOG_BASE_2_EXT              0x8792
2619 #define GL_OP_POWER_EXT                   0x8793
2620 #define GL_OP_RECIP_EXT                   0x8794
2621 #define GL_OP_RECIP_SQRT_EXT              0x8795
2622 #define GL_OP_SUB_EXT                     0x8796
2623 #define GL_OP_CROSS_PRODUCT_EXT           0x8797
2624 #define GL_OP_MULTIPLY_MATRIX_EXT         0x8798
2625 #define GL_OP_MOV_EXT                     0x8799
2626 #define GL_OUTPUT_VERTEX_EXT              0x879A
2627 #define GL_OUTPUT_COLOR0_EXT              0x879B
2628 #define GL_OUTPUT_COLOR1_EXT              0x879C
2629 #define GL_OUTPUT_TEXTURE_COORD0_EXT      0x879D
2630 #define GL_OUTPUT_TEXTURE_COORD1_EXT      0x879E
2631 #define GL_OUTPUT_TEXTURE_COORD2_EXT      0x879F
2632 #define GL_OUTPUT_TEXTURE_COORD3_EXT      0x87A0
2633 #define GL_OUTPUT_TEXTURE_COORD4_EXT      0x87A1
2634 #define GL_OUTPUT_TEXTURE_COORD5_EXT      0x87A2
2635 #define GL_OUTPUT_TEXTURE_COORD6_EXT      0x87A3
2636 #define GL_OUTPUT_TEXTURE_COORD7_EXT      0x87A4
2637 #define GL_OUTPUT_TEXTURE_COORD8_EXT      0x87A5
2638 #define GL_OUTPUT_TEXTURE_COORD9_EXT      0x87A6
2639 #define GL_OUTPUT_TEXTURE_COORD10_EXT     0x87A7
2640 #define GL_OUTPUT_TEXTURE_COORD11_EXT     0x87A8
2641 #define GL_OUTPUT_TEXTURE_COORD12_EXT     0x87A9
2642 #define GL_OUTPUT_TEXTURE_COORD13_EXT     0x87AA
2643 #define GL_OUTPUT_TEXTURE_COORD14_EXT     0x87AB
2644 #define GL_OUTPUT_TEXTURE_COORD15_EXT     0x87AC
2645 #define GL_OUTPUT_TEXTURE_COORD16_EXT     0x87AD
2646 #define GL_OUTPUT_TEXTURE_COORD17_EXT     0x87AE
2647 #define GL_OUTPUT_TEXTURE_COORD18_EXT     0x87AF
2648 #define GL_OUTPUT_TEXTURE_COORD19_EXT     0x87B0
2649 #define GL_OUTPUT_TEXTURE_COORD20_EXT     0x87B1
2650 #define GL_OUTPUT_TEXTURE_COORD21_EXT     0x87B2
2651 #define GL_OUTPUT_TEXTURE_COORD22_EXT     0x87B3
2652 #define GL_OUTPUT_TEXTURE_COORD23_EXT     0x87B4
2653 #define GL_OUTPUT_TEXTURE_COORD24_EXT     0x87B5
2654 #define GL_OUTPUT_TEXTURE_COORD25_EXT     0x87B6
2655 #define GL_OUTPUT_TEXTURE_COORD26_EXT     0x87B7
2656 #define GL_OUTPUT_TEXTURE_COORD27_EXT     0x87B8
2657 #define GL_OUTPUT_TEXTURE_COORD28_EXT     0x87B9
2658 #define GL_OUTPUT_TEXTURE_COORD29_EXT     0x87BA
2659 #define GL_OUTPUT_TEXTURE_COORD30_EXT     0x87BB
2660 #define GL_OUTPUT_TEXTURE_COORD31_EXT     0x87BC
2661 #define GL_OUTPUT_FOG_EXT                 0x87BD
2662 #define GL_SCALAR_EXT                     0x87BE
2663 #define GL_VECTOR_EXT                     0x87BF
2664 #define GL_MATRIX_EXT                     0x87C0
2665 #define GL_VARIANT_EXT                    0x87C1
2666 #define GL_INVARIANT_EXT                  0x87C2
2667 #define GL_LOCAL_CONSTANT_EXT             0x87C3
2668 #define GL_LOCAL_EXT                      0x87C4
2669 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
2670 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
2671 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
2672 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
2673 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT   0x87C9
2674 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
2675 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
2676 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
2677 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
2678 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
2679 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
2680 #define GL_VERTEX_SHADER_VARIANTS_EXT     0x87D0
2681 #define GL_VERTEX_SHADER_INVARIANTS_EXT   0x87D1
2682 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
2683 #define GL_VERTEX_SHADER_LOCALS_EXT       0x87D3
2684 #define GL_VERTEX_SHADER_OPTIMIZED_EXT    0x87D4
2685 #define GL_X_EXT                          0x87D5
2686 #define GL_Y_EXT                          0x87D6
2687 #define GL_Z_EXT                          0x87D7
2688 #define GL_W_EXT                          0x87D8
2689 #define GL_NEGATIVE_X_EXT                 0x87D9
2690 #define GL_NEGATIVE_Y_EXT                 0x87DA
2691 #define GL_NEGATIVE_Z_EXT                 0x87DB
2692 #define GL_NEGATIVE_W_EXT                 0x87DC
2693 #define GL_ZERO_EXT                       0x87DD
2694 #define GL_ONE_EXT                        0x87DE
2695 #define GL_NEGATIVE_ONE_EXT               0x87DF
2696 #define GL_NORMALIZED_RANGE_EXT           0x87E0
2697 #define GL_FULL_RANGE_EXT                 0x87E1
2698 #define GL_CURRENT_VERTEX_EXT             0x87E2
2699 #define GL_MVP_MATRIX_EXT                 0x87E3
2700 #define GL_VARIANT_VALUE_EXT              0x87E4
2701 #define GL_VARIANT_DATATYPE_EXT           0x87E5
2702 #define GL_VARIANT_ARRAY_STRIDE_EXT       0x87E6
2703 #define GL_VARIANT_ARRAY_TYPE_EXT         0x87E7
2704 #define GL_VARIANT_ARRAY_EXT              0x87E8
2705 #define GL_VARIANT_ARRAY_POINTER_EXT      0x87E9
2706 #define GL_INVARIANT_VALUE_EXT            0x87EA
2707 #define GL_INVARIANT_DATATYPE_EXT         0x87EB
2708 #define GL_LOCAL_CONSTANT_VALUE_EXT       0x87EC
2709 #define GL_LOCAL_CONSTANT_DATATYPE_EXT    0x87ED
2710 #endif
2711 
2712 #ifndef GL_ATI_vertex_streams
2713 #define GL_MAX_VERTEX_STREAMS_ATI         0x876B
2714 #define GL_VERTEX_STREAM0_ATI             0x876C
2715 #define GL_VERTEX_STREAM1_ATI             0x876D
2716 #define GL_VERTEX_STREAM2_ATI             0x876E
2717 #define GL_VERTEX_STREAM3_ATI             0x876F
2718 #define GL_VERTEX_STREAM4_ATI             0x8770
2719 #define GL_VERTEX_STREAM5_ATI             0x8771
2720 #define GL_VERTEX_STREAM6_ATI             0x8772
2721 #define GL_VERTEX_STREAM7_ATI             0x8773
2722 #define GL_VERTEX_SOURCE_ATI              0x8774
2723 #endif
2724 
2725 #ifndef GL_ATI_element_array
2726 #define GL_ELEMENT_ARRAY_ATI              0x8768
2727 #define GL_ELEMENT_ARRAY_TYPE_ATI         0x8769
2728 #define GL_ELEMENT_ARRAY_POINTER_ATI      0x876A
2729 #endif
2730 
2731 #ifndef GL_SUN_mesh_array
2732 #define GL_QUAD_MESH_SUN                  0x8614
2733 #define GL_TRIANGLE_MESH_SUN              0x8615
2734 #endif
2735 
2736 #ifndef GL_SUN_slice_accum
2737 #define GL_SLICE_ACCUM_SUN                0x85CC
2738 #endif
2739 
2740 #ifndef GL_NV_multisample_filter_hint
2741 #define GL_MULTISAMPLE_FILTER_HINT_NV     0x8534
2742 #endif
2743 
2744 #ifndef GL_NV_depth_clamp
2745 #define GL_DEPTH_CLAMP_NV                 0x864F
2746 #endif
2747 
2748 #ifndef GL_NV_occlusion_query
2749 #define GL_PIXEL_COUNTER_BITS_NV          0x8864
2750 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV  0x8865
2751 #define GL_PIXEL_COUNT_NV                 0x8866
2752 #define GL_PIXEL_COUNT_AVAILABLE_NV       0x8867
2753 #endif
2754 
2755 #ifndef GL_NV_point_sprite
2756 #define GL_POINT_SPRITE_NV                0x8861
2757 #define GL_COORD_REPLACE_NV               0x8862
2758 #define GL_POINT_SPRITE_R_MODE_NV         0x8863
2759 #endif
2760 
2761 #ifndef GL_NV_texture_shader3
2762 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
2763 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
2764 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
2765 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
2766 #define GL_OFFSET_HILO_TEXTURE_2D_NV      0x8854
2767 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
2768 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
2769 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
2770 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV   0x8858
2771 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV    0x8859
2772 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
2773 #define GL_DOT_PRODUCT_PASS_THROUGH_NV    0x885B
2774 #define GL_DOT_PRODUCT_TEXTURE_1D_NV      0x885C
2775 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
2776 #define GL_HILO8_NV                       0x885E
2777 #define GL_SIGNED_HILO8_NV                0x885F
2778 #define GL_FORCE_BLUE_TO_ONE_NV           0x8860
2779 #endif
2780 
2781 #ifndef GL_NV_vertex_program1_1
2782 #endif
2783 
2784 #ifndef GL_EXT_shadow_funcs
2785 #endif
2786 
2787 #ifndef GL_EXT_stencil_two_side
2788 #define GL_STENCIL_TEST_TWO_SIDE_EXT      0x8910
2789 #define GL_ACTIVE_STENCIL_FACE_EXT        0x8911
2790 #endif
2791 
2792 #ifndef GL_ATI_text_fragment_shader
2793 #define GL_TEXT_FRAGMENT_SHADER_ATI       0x8200
2794 #endif
2795 
2796 #ifndef GL_APPLE_client_storage
2797 #define GL_UNPACK_CLIENT_STORAGE_APPLE    0x85B2
2798 #endif
2799 
2800 #ifndef GL_APPLE_element_array
2801 #define GL_ELEMENT_ARRAY_APPLE            0x8768
2802 #define GL_ELEMENT_ARRAY_TYPE_APPLE       0x8769
2803 #define GL_ELEMENT_ARRAY_POINTER_APPLE    0x876A
2804 #endif
2805 
2806 #ifndef GL_APPLE_fence
2807 #define GL_DRAW_PIXELS_APPLE              0x8A0A
2808 #define GL_FENCE_APPLE                    0x8A0B
2809 #endif
2810 
2811 #ifndef GL_APPLE_vertex_array_object
2812 #define GL_VERTEX_ARRAY_BINDING_APPLE     0x85B5
2813 #endif
2814 
2815 #ifndef GL_APPLE_vertex_array_range
2816 #define GL_VERTEX_ARRAY_RANGE_APPLE       0x851D
2817 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
2818 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
2819 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
2820 #define GL_STORAGE_CACHED_APPLE           0x85BE
2821 #define GL_STORAGE_SHARED_APPLE           0x85BF
2822 #endif
2823 
2824 #ifndef GL_APPLE_ycbcr_422
2825 #define GL_YCBCR_422_APPLE                0x85B9
2826 #define GL_UNSIGNED_SHORT_8_8_APPLE       0x85BA
2827 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE   0x85BB
2828 #endif
2829 
2830 #ifndef GL_S3_s3tc
2831 #define GL_RGB_S3TC                       0x83A0
2832 #define GL_RGB4_S3TC                      0x83A1
2833 #define GL_RGBA_S3TC                      0x83A2
2834 #define GL_RGBA4_S3TC                     0x83A3
2835 #endif
2836 
2837 #ifndef GL_ATI_draw_buffers
2838 #define GL_MAX_DRAW_BUFFERS_ATI           0x8824
2839 #define GL_DRAW_BUFFER0_ATI               0x8825
2840 #define GL_DRAW_BUFFER1_ATI               0x8826
2841 #define GL_DRAW_BUFFER2_ATI               0x8827
2842 #define GL_DRAW_BUFFER3_ATI               0x8828
2843 #define GL_DRAW_BUFFER4_ATI               0x8829
2844 #define GL_DRAW_BUFFER5_ATI               0x882A
2845 #define GL_DRAW_BUFFER6_ATI               0x882B
2846 #define GL_DRAW_BUFFER7_ATI               0x882C
2847 #define GL_DRAW_BUFFER8_ATI               0x882D
2848 #define GL_DRAW_BUFFER9_ATI               0x882E
2849 #define GL_DRAW_BUFFER10_ATI              0x882F
2850 #define GL_DRAW_BUFFER11_ATI              0x8830
2851 #define GL_DRAW_BUFFER12_ATI              0x8831
2852 #define GL_DRAW_BUFFER13_ATI              0x8832
2853 #define GL_DRAW_BUFFER14_ATI              0x8833
2854 #define GL_DRAW_BUFFER15_ATI              0x8834
2855 #endif
2856 
2857 #ifndef GL_ATI_pixel_format_float
2858 #define GL_TYPE_RGBA_FLOAT_ATI            0x8820
2859 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
2860 #endif
2861 
2862 #ifndef GL_ATI_texture_env_combine3
2863 #define GL_MODULATE_ADD_ATI               0x8744
2864 #define GL_MODULATE_SIGNED_ADD_ATI        0x8745
2865 #define GL_MODULATE_SUBTRACT_ATI          0x8746
2866 #endif
2867 
2868 #ifndef GL_ATI_texture_float
2869 #define GL_RGBA_FLOAT32_ATI               0x8814
2870 #define GL_RGB_FLOAT32_ATI                0x8815
2871 #define GL_ALPHA_FLOAT32_ATI              0x8816
2872 #define GL_INTENSITY_FLOAT32_ATI          0x8817
2873 #define GL_LUMINANCE_FLOAT32_ATI          0x8818
2874 #define GL_LUMINANCE_ALPHA_FLOAT32_ATI    0x8819
2875 #define GL_RGBA_FLOAT16_ATI               0x881A
2876 #define GL_RGB_FLOAT16_ATI                0x881B
2877 #define GL_ALPHA_FLOAT16_ATI              0x881C
2878 #define GL_INTENSITY_FLOAT16_ATI          0x881D
2879 #define GL_LUMINANCE_FLOAT16_ATI          0x881E
2880 #define GL_LUMINANCE_ALPHA_FLOAT16_ATI    0x881F
2881 #endif
2882 
2883 #ifndef GL_NV_float_buffer
2884 #define GL_FLOAT_R_NV                     0x8880
2885 #define GL_FLOAT_RG_NV                    0x8881
2886 #define GL_FLOAT_RGB_NV                   0x8882
2887 #define GL_FLOAT_RGBA_NV                  0x8883
2888 #define GL_FLOAT_R16_NV                   0x8884
2889 #define GL_FLOAT_R32_NV                   0x8885
2890 #define GL_FLOAT_RG16_NV                  0x8886
2891 #define GL_FLOAT_RG32_NV                  0x8887
2892 #define GL_FLOAT_RGB16_NV                 0x8888
2893 #define GL_FLOAT_RGB32_NV                 0x8889
2894 #define GL_FLOAT_RGBA16_NV                0x888A
2895 #define GL_FLOAT_RGBA32_NV                0x888B
2896 #define GL_TEXTURE_FLOAT_COMPONENTS_NV    0x888C
2897 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV     0x888D
2898 #define GL_FLOAT_RGBA_MODE_NV             0x888E
2899 #endif
2900 
2901 #ifndef GL_NV_fragment_program
2902 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
2903 #define GL_FRAGMENT_PROGRAM_NV            0x8870
2904 #define GL_MAX_TEXTURE_COORDS_NV          0x8871
2905 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV     0x8872
2906 #define GL_FRAGMENT_PROGRAM_BINDING_NV    0x8873
2907 #define GL_PROGRAM_ERROR_STRING_NV        0x8874
2908 #endif
2909 
2910 #ifndef GL_NV_half_float
2911 #define GL_HALF_FLOAT_NV                  0x140B
2912 #endif
2913 
2914 #ifndef GL_NV_pixel_data_range
2915 #define GL_WRITE_PIXEL_DATA_RANGE_NV      0x8878
2916 #define GL_READ_PIXEL_DATA_RANGE_NV       0x8879
2917 #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
2918 #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
2919 #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
2920 #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
2921 #endif
2922 
2923 #ifndef GL_NV_primitive_restart
2924 #define GL_PRIMITIVE_RESTART_NV           0x8558
2925 #define GL_PRIMITIVE_RESTART_INDEX_NV     0x8559
2926 #endif
2927 
2928 #ifndef GL_NV_texture_expand_normal
2929 #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
2930 #endif
2931 
2932 #ifndef GL_NV_vertex_program2
2933 #endif
2934 
2935 #ifndef GL_ATI_map_object_buffer
2936 #endif
2937 
2938 #ifndef GL_ATI_separate_stencil
2939 #define GL_STENCIL_BACK_FUNC_ATI          0x8800
2940 #define GL_STENCIL_BACK_FAIL_ATI          0x8801
2941 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
2942 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
2943 #endif
2944 
2945 #ifndef GL_ATI_vertex_attrib_array_object
2946 #endif
2947 
2948 #ifndef GL_OES_read_format
2949 #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
2950 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
2951 #endif
2952 
2953 #ifndef GL_EXT_depth_bounds_test
2954 #define GL_DEPTH_BOUNDS_TEST_EXT          0x8890
2955 #define GL_DEPTH_BOUNDS_EXT               0x8891
2956 #endif
2957 
2958 #ifndef GL_EXT_texture_mirror_clamp
2959 #define GL_MIRROR_CLAMP_EXT               0x8742
2960 #define GL_MIRROR_CLAMP_TO_EDGE_EXT       0x8743
2961 #define GL_MIRROR_CLAMP_TO_BORDER_EXT     0x8912
2962 #endif
2963 
2964 #ifndef GL_EXT_blend_equation_separate
2965 #define GL_BLEND_EQUATION_RGB_EXT         GL_BLEND_EQUATION
2966 #define GL_BLEND_EQUATION_ALPHA_EXT       0x883D
2967 #endif
2968 
2969 #ifndef GL_MESA_pack_invert
2970 #define GL_PACK_INVERT_MESA               0x8758
2971 #endif
2972 
2973 #ifndef GL_MESA_ycbcr_texture
2974 #define GL_UNSIGNED_SHORT_8_8_MESA        0x85BA
2975 #define GL_UNSIGNED_SHORT_8_8_REV_MESA    0x85BB
2976 #define GL_YCBCR_MESA                     0x8757
2977 #endif
2978 
2979 #ifndef GL_EXT_pixel_buffer_object
2980 #define GL_PIXEL_PACK_BUFFER_EXT          0x88EB
2981 #define GL_PIXEL_UNPACK_BUFFER_EXT        0x88EC
2982 #define GL_PIXEL_PACK_BUFFER_BINDING_EXT  0x88ED
2983 #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
2984 #endif
2985 
2986 #ifndef GL_NV_fragment_program_option
2987 #endif
2988 
2989 #ifndef GL_NV_fragment_program2
2990 #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
2991 #define GL_MAX_PROGRAM_CALL_DEPTH_NV      0x88F5
2992 #define GL_MAX_PROGRAM_IF_DEPTH_NV        0x88F6
2993 #define GL_MAX_PROGRAM_LOOP_DEPTH_NV      0x88F7
2994 #define GL_MAX_PROGRAM_LOOP_COUNT_NV      0x88F8
2995 #endif
2996 
2997 #ifndef GL_NV_vertex_program2_option
2998 /* reuse GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */
2999 /* reuse GL_MAX_PROGRAM_CALL_DEPTH_NV */
3000 #endif
3001 
3002 #ifndef GL_NV_vertex_program3
3003 /* reuse GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB */
3004 #endif
3005 
3006 #ifndef GL_EXT_framebuffer_object
3007 #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
3008 #define GL_MAX_RENDERBUFFER_SIZE_EXT      0x84E8
3009 #define GL_FRAMEBUFFER_BINDING_EXT        0x8CA6
3010 #define GL_RENDERBUFFER_BINDING_EXT       0x8CA7
3011 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
3012 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
3013 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
3014 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
3015 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
3016 #define GL_FRAMEBUFFER_COMPLETE_EXT       0x8CD5
3017 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENTS_EXT 0x8CD6
3018 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
3019 #define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT 0x8CD8
3020 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
3021 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
3022 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
3023 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
3024 #define GL_FRAMEBUFFER_UNSUPPORTED_EXT    0x8CDD
3025 #define GL_FRAMEBUFFER_STATUS_ERROR_EXT   0x8CDE
3026 #define GL_MAX_COLOR_ATTACHMENTS_EXT      0x8CDF
3027 #define GL_COLOR_ATTACHMENT0_EXT          0x8CE0
3028 #define GL_COLOR_ATTACHMENT1_EXT          0x8CE1
3029 #define GL_COLOR_ATTACHMENT2_EXT          0x8CE2
3030 #define GL_COLOR_ATTACHMENT3_EXT          0x8CE3
3031 #define GL_COLOR_ATTACHMENT4_EXT          0x8CE4
3032 #define GL_COLOR_ATTACHMENT5_EXT          0x8CE5
3033 #define GL_COLOR_ATTACHMENT6_EXT          0x8CE6
3034 #define GL_COLOR_ATTACHMENT7_EXT          0x8CE7
3035 #define GL_COLOR_ATTACHMENT8_EXT          0x8CE8
3036 #define GL_COLOR_ATTACHMENT9_EXT          0x8CE9
3037 #define GL_COLOR_ATTACHMENT10_EXT         0x8CEA
3038 #define GL_COLOR_ATTACHMENT11_EXT         0x8CEB
3039 #define GL_COLOR_ATTACHMENT12_EXT         0x8CEC
3040 #define GL_COLOR_ATTACHMENT13_EXT         0x8CED
3041 #define GL_COLOR_ATTACHMENT14_EXT         0x8CEE
3042 #define GL_COLOR_ATTACHMENT15_EXT         0x8CEF
3043 #define GL_DEPTH_ATTACHMENT_EXT           0x8D00
3044 #define GL_STENCIL_ATTACHMENT_EXT         0x8D20
3045 #define GL_FRAMEBUFFER_EXT                0x8D40
3046 #define GL_RENDERBUFFER_EXT               0x8D41
3047 #define GL_RENDERBUFFER_WIDTH_EXT         0x8D42
3048 #define GL_RENDERBUFFER_HEIGHT_EXT        0x8D43
3049 #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
3050 #define GL_STENCIL_INDEX_EXT              0x8D45
3051 #define GL_STENCIL_INDEX1_EXT             0x8D46
3052 #define GL_STENCIL_INDEX4_EXT             0x8D47
3053 #define GL_STENCIL_INDEX8_EXT             0x8D48
3054 #define GL_STENCIL_INDEX16_EXT            0x8D49
3055 #endif
3056 
3057 #ifndef GL_GREMEDY_string_marker
3058 #endif
3059 
3060 
3061 /*************************************************************/
3062 
3063 #include <stddef.h>
3064 #ifndef GL_VERSION_2_0
3065 /* GL type for program/shader text */
3066 typedef char GLchar;                    /* native character */
3067 #endif
3068 
3069 #ifndef GL_VERSION_1_5
3070 /* GL types for handling large vertex buffer objects */
3071 typedef ptrdiff_t GLintptr;
3072 typedef ptrdiff_t GLsizeiptr;
3073 #endif
3074 
3075 #ifndef GL_ARB_vertex_buffer_object
3076 /* GL types for handling large vertex buffer objects */
3077 typedef ptrdiff_t GLintptrARB;
3078 typedef ptrdiff_t GLsizeiptrARB;
3079 #endif
3080 
3081 #ifndef GL_ARB_shader_objects
3082 /* GL types for handling shader object handles and program/shader text */
3083 typedef char GLcharARB;         /* native character */
3084 typedef unsigned int GLhandleARB;       /* shader object handle */
3085 #endif
3086 
3087 /* GL types for "half" precision (s10e5) float data in host memory */
3088 #ifndef GL_ARB_half_float_pixel
3089 typedef unsigned short GLhalfARB;
3090 #endif
3091 
3092 #ifndef GL_NV_half_float
3093 typedef unsigned short GLhalfNV;
3094 #endif
3095 
3096 #ifndef GL_VERSION_1_2
3097 #define GL_VERSION_1_2 1
3098 #ifdef GL_GLEXT_PROTOTYPES
3099 GLAPI void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf);
3100 GLAPI void APIENTRY glBlendEquation (GLenum);
3101 GLAPI void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
3102 GLAPI void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
3103 GLAPI void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat *);
3104 GLAPI void APIENTRY glColorTableParameteriv (GLenum, GLenum, const GLint *);
3105 GLAPI void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint, GLsizei);
3106 GLAPI void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *);
3107 GLAPI void APIENTRY glGetColorTableParameterfv (GLenum, GLenum, GLfloat *);
3108 GLAPI void APIENTRY glGetColorTableParameteriv (GLenum, GLenum, GLint *);
3109 GLAPI void APIENTRY glColorSubTable (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
3110 GLAPI void APIENTRY glCopyColorSubTable (GLenum, GLsizei, GLint, GLint, GLsizei);
3111 GLAPI void APIENTRY glConvolutionFilter1D (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
3112 GLAPI void APIENTRY glConvolutionFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
3113 GLAPI void APIENTRY glConvolutionParameterf (GLenum, GLenum, GLfloat);
3114 GLAPI void APIENTRY glConvolutionParameterfv (GLenum, GLenum, const GLfloat *);
3115 GLAPI void APIENTRY glConvolutionParameteri (GLenum, GLenum, GLint);
3116 GLAPI void APIENTRY glConvolutionParameteriv (GLenum, GLenum, const GLint *);
3117 GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum, GLenum, GLint, GLint, GLsizei);
3118 GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
3119 GLAPI void APIENTRY glGetConvolutionFilter (GLenum, GLenum, GLenum, GLvoid *);
3120 GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum, GLenum, GLfloat *);
3121 GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum, GLenum, GLint *);
3122 GLAPI void APIENTRY glGetSeparableFilter (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
3123 GLAPI void APIENTRY glSeparableFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
3124 GLAPI void APIENTRY glGetHistogram (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
3125 GLAPI void APIENTRY glGetHistogramParameterfv (GLenum, GLenum, GLfloat *);
3126 GLAPI void APIENTRY glGetHistogramParameteriv (GLenum, GLenum, GLint *);
3127 GLAPI void APIENTRY glGetMinmax (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
3128 GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum, GLenum, GLfloat *);
3129 GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *);
3130 GLAPI void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean);
3131 GLAPI void APIENTRY glMinmax (GLenum, GLenum, GLboolean);
3132 GLAPI void APIENTRY glResetHistogram (GLenum);
3133 GLAPI void APIENTRY glResetMinmax (GLenum);
3134 GLAPI void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
3135 GLAPI void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
3136 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
3137 #endif /* GL_GLEXT_PROTOTYPES */
3138 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
3139 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
3140 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
3141 typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
3142 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3143 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3144 typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3145 typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
3146 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3147 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3148 typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
3149 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
3150 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
3151 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
3152 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
3153 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3154 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
3155 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3156 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3157 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
3158 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
3159 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3160 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3161 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
3162 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
3163 typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
3164 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3165 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3166 typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
3167 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3168 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3169 typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3170 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
3171 typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
3172 typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
3173 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);
3174 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);
3175 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
3176 #endif
3177 
3178 #ifndef GL_VERSION_1_3
3179 #define GL_VERSION_1_3 1
3180 #ifdef GL_GLEXT_PROTOTYPES
3181 GLAPI void APIENTRY glActiveTexture (GLenum);
3182 GLAPI void APIENTRY glClientActiveTexture (GLenum);
3183 GLAPI void APIENTRY glMultiTexCoord1d (GLenum, GLdouble);
3184 GLAPI void APIENTRY glMultiTexCoord1dv (GLenum, const GLdouble *);
3185 GLAPI void APIENTRY glMultiTexCoord1f (GLenum, GLfloat);
3186 GLAPI void APIENTRY glMultiTexCoord1fv (GLenum, const GLfloat *);
3187 GLAPI void APIENTRY glMultiTexCoord1i (GLenum, GLint);
3188 GLAPI void APIENTRY glMultiTexCoord1iv (GLenum, const GLint *);
3189 GLAPI void APIENTRY glMultiTexCoord1s (GLenum, GLshort);
3190 GLAPI void APIENTRY glMultiTexCoord1sv (GLenum, const GLshort *);
3191 GLAPI void APIENTRY glMultiTexCoord2d (GLenum, GLdouble, GLdouble);
3192 GLAPI void APIENTRY glMultiTexCoord2dv (GLenum, const GLdouble *);
3193 GLAPI void APIENTRY glMultiTexCoord2f (GLenum, GLfloat, GLfloat);
3194 GLAPI void APIENTRY glMultiTexCoord2fv (GLenum, const GLfloat *);
3195 GLAPI void APIENTRY glMultiTexCoord2i (GLenum, GLint, GLint);
3196 GLAPI void APIENTRY glMultiTexCoord2iv (GLenum, const GLint *);
3197 GLAPI void APIENTRY glMultiTexCoord2s (GLenum, GLshort, GLshort);
3198 GLAPI void APIENTRY glMultiTexCoord2sv (GLenum, const GLshort *);
3199 GLAPI void APIENTRY glMultiTexCoord3d (GLenum, GLdouble, GLdouble, GLdouble);
3200 GLAPI void APIENTRY glMultiTexCoord3dv (GLenum, const GLdouble *);
3201 GLAPI void APIENTRY glMultiTexCoord3f (GLenum, GLfloat, GLfloat, GLfloat);
3202 GLAPI void APIENTRY glMultiTexCoord3fv (GLenum, const GLfloat *);
3203 GLAPI void APIENTRY glMultiTexCoord3i (GLenum, GLint, GLint, GLint);
3204 GLAPI void APIENTRY glMultiTexCoord3iv (GLenum, const GLint *);
3205 GLAPI void APIENTRY glMultiTexCoord3s (GLenum, GLshort, GLshort, GLshort);
3206 GLAPI void APIENTRY glMultiTexCoord3sv (GLenum, const GLshort *);
3207 GLAPI void APIENTRY glMultiTexCoord4d (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
3208 GLAPI void APIENTRY glMultiTexCoord4dv (GLenum, const GLdouble *);
3209 GLAPI void APIENTRY glMultiTexCoord4f (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
3210 GLAPI void APIENTRY glMultiTexCoord4fv (GLenum, const GLfloat *);
3211 GLAPI void APIENTRY glMultiTexCoord4i (GLenum, GLint, GLint, GLint, GLint);
3212 GLAPI void APIENTRY glMultiTexCoord4iv (GLenum, const GLint *);
3213 GLAPI void APIENTRY glMultiTexCoord4s (GLenum, GLshort, GLshort, GLshort, GLshort);
3214 GLAPI void APIENTRY glMultiTexCoord4sv (GLenum, const GLshort *);
3215 GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *);
3216 GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *);
3217 GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *);
3218 GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *);
3219 GLAPI void APIENTRY glSampleCoverage (GLclampf, GLboolean);
3220 GLAPI void APIENTRY glCompressedTexImage3D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
3221 GLAPI void APIENTRY glCompressedTexImage2D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
3222 GLAPI void APIENTRY glCompressedTexImage1D (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
3223 GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
3224 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
3225 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
3226 GLAPI void APIENTRY glGetCompressedTexImage (GLenum, GLint, GLvoid *);
3227 #endif /* GL_GLEXT_PROTOTYPES */
3228 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
3229 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
3230 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
3231 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
3232 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
3233 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
3234 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
3235 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
3236 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
3237 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
3238 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
3239 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
3240 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
3241 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
3242 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
3243 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
3244 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
3245 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
3246 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3247 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
3248 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3249 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
3250 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
3251 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
3252 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
3253 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
3254 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3255 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
3256 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3257 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
3258 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
3259 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
3260 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3261 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
3262 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
3263 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
3264 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
3265 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
3266 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
3267 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
3268 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
3269 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
3270 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);
3271 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
3272 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
3273 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img);
3274 #endif
3275 
3276 #ifndef GL_VERSION_1_4
3277 #define GL_VERSION_1_4 1
3278 #ifdef GL_GLEXT_PROTOTYPES
3279 GLAPI void APIENTRY glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum);
3280 GLAPI void APIENTRY glFogCoordf (GLfloat);
3281 GLAPI void APIENTRY glFogCoordfv (const GLfloat *);
3282 GLAPI void APIENTRY glFogCoordd (GLdouble);
3283 GLAPI void APIENTRY glFogCoorddv (const GLdouble *);
3284 GLAPI void APIENTRY glFogCoordPointer (GLenum, GLsizei, const GLvoid *);
3285 GLAPI void APIENTRY glMultiDrawArrays (GLenum, GLint *, GLsizei *, GLsizei);
3286 GLAPI void APIENTRY glMultiDrawElements (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
3287 GLAPI void APIENTRY glPointParameterf (GLenum, GLfloat);
3288 GLAPI void APIENTRY glPointParameterfv (GLenum, const GLfloat *);
3289 GLAPI void APIENTRY glPointParameteri (GLenum, GLint);
3290 GLAPI void APIENTRY glPointParameteriv (GLenum, const GLint *);
3291 GLAPI void APIENTRY glSecondaryColor3b (GLbyte, GLbyte, GLbyte);
3292 GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *);
3293 GLAPI void APIENTRY glSecondaryColor3d (GLdouble, GLdouble, GLdouble);
3294 GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *);
3295 GLAPI void APIENTRY glSecondaryColor3f (GLfloat, GLfloat, GLfloat);
3296 GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *);
3297 GLAPI void APIENTRY glSecondaryColor3i (GLint, GLint, GLint);
3298 GLAPI void APIENTRY glSecondaryColor3iv (const GLint *);
3299 GLAPI void APIENTRY glSecondaryColor3s (GLshort, GLshort, GLshort);
3300 GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *);
3301 GLAPI void APIENTRY glSecondaryColor3ub (GLubyte, GLubyte, GLubyte);
3302 GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *);
3303 GLAPI void APIENTRY glSecondaryColor3ui (GLuint, GLuint, GLuint);
3304 GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *);
3305 GLAPI void APIENTRY glSecondaryColor3us (GLushort, GLushort, GLushort);
3306 GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *);
3307 GLAPI void APIENTRY glSecondaryColorPointer (GLint, GLenum, GLsizei, const GLvoid *);
3308 GLAPI void APIENTRY glWindowPos2d (GLdouble, GLdouble);
3309 GLAPI void APIENTRY glWindowPos2dv (const GLdouble *);
3310 GLAPI void APIENTRY glWindowPos2f (GLfloat, GLfloat);
3311 GLAPI void APIENTRY glWindowPos2fv (const GLfloat *);
3312 GLAPI void APIENTRY glWindowPos2i (GLint, GLint);
3313 GLAPI void APIENTRY glWindowPos2iv (const GLint *);
3314 GLAPI void APIENTRY glWindowPos2s (GLshort, GLshort);
3315 GLAPI void APIENTRY glWindowPos2sv (const GLshort *);
3316 GLAPI void APIENTRY glWindowPos3d (GLdouble, GLdouble, GLdouble);
3317 GLAPI void APIENTRY glWindowPos3dv (const GLdouble *);
3318 GLAPI void APIENTRY glWindowPos3f (GLfloat, GLfloat, GLfloat);
3319 GLAPI void APIENTRY glWindowPos3fv (const GLfloat *);
3320 GLAPI void APIENTRY glWindowPos3i (GLint, GLint, GLint);
3321 GLAPI void APIENTRY glWindowPos3iv (const GLint *);
3322 GLAPI void APIENTRY glWindowPos3s (GLshort, GLshort, GLshort);
3323 GLAPI void APIENTRY glWindowPos3sv (const GLshort *);
3324 #endif /* GL_GLEXT_PROTOTYPES */
3325 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
3326 typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
3327 typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
3328 typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
3329 typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
3330 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
3331 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
3332 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
3333 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
3334 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
3335 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
3336 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
3337 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
3338 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
3339 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
3340 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
3341 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
3342 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
3343 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
3344 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
3345 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
3346 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
3347 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
3348 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
3349 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
3350 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
3351 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
3352 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
3353 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
3354 typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
3355 typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
3356 typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
3357 typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
3358 typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
3359 typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
3360 typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
3361 typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
3362 typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
3363 typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
3364 typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
3365 typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
3366 typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
3367 typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
3368 typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
3369 typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
3370 #endif
3371 
3372 #ifndef GL_VERSION_1_5
3373 #define GL_VERSION_1_5 1
3374 #ifdef GL_GLEXT_PROTOTYPES
3375 GLAPI void APIENTRY glGenQueries (GLsizei, GLuint *);
3376 GLAPI void APIENTRY glDeleteQueries (GLsizei, const GLuint *);
3377 GLAPI GLboolean APIENTRY glIsQuery (GLuint);
3378 GLAPI void APIENTRY glBeginQuery (GLenum, GLuint);
3379 GLAPI void APIENTRY glEndQuery (GLenum);
3380 GLAPI void APIENTRY glGetQueryiv (GLenum, GLenum, GLint *);
3381 GLAPI void APIENTRY glGetQueryObjectiv (GLuint, GLenum, GLint *);
3382 GLAPI void APIENTRY glGetQueryObjectuiv (GLuint, GLenum, GLuint *);
3383 GLAPI void APIENTRY glBindBuffer (GLenum, GLuint);
3384 GLAPI void APIENTRY glDeleteBuffers (GLsizei, const GLuint *);
3385 GLAPI void APIENTRY glGenBuffers (GLsizei, GLuint *);
3386 GLAPI GLboolean APIENTRY glIsBuffer (GLuint);
3387 GLAPI void APIENTRY glBufferData (GLenum, GLsizeiptr, const GLvoid *, GLenum);
3388 GLAPI void APIENTRY glBufferSubData (GLenum, GLintptr, GLsizeiptr, const GLvoid *);
3389 GLAPI void APIENTRY glGetBufferSubData (GLenum, GLintptr, GLsizeiptr, GLvoid *);
3390 GLAPI GLvoid* APIENTRY glMapBuffer (GLenum, GLenum);
3391 GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum);
3392 GLAPI void APIENTRY glGetBufferParameteriv (GLenum, GLenum, GLint *);
3393 GLAPI void APIENTRY glGetBufferPointerv (GLenum, GLenum, GLvoid* *);
3394 #endif /* GL_GLEXT_PROTOTYPES */
3395 typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
3396 typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
3397 typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
3398 typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
3399 typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
3400 typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
3401 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
3402 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
3403 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
3404 typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
3405 typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
3406 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
3407 typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
3408 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
3409 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
3410 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
3411 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
3412 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3413 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params);
3414 #endif
3415 
3416 #ifndef GL_VERSION_2_0
3417 #define GL_VERSION_2_0 1
3418 #ifdef GL_GLEXT_PROTOTYPES
3419 GLAPI void APIENTRY glBlendEquationSeparate (GLenum, GLenum);
3420 GLAPI void APIENTRY glDrawBuffers (GLsizei, const GLenum *);
3421 GLAPI void APIENTRY glStencilOpSeparate (GLenum, GLenum, GLenum, GLenum);
3422 GLAPI void APIENTRY glStencilFuncSeparate (GLenum, GLenum, GLint, GLuint);
3423 GLAPI void APIENTRY glStencilMaskSeparate (GLenum, GLuint);
3424 GLAPI void APIENTRY glAttachShader (GLuint, GLuint);
3425 GLAPI void APIENTRY glBindAttribLocation (GLuint, GLuint, const GLchar *);
3426 GLAPI void APIENTRY glCompileShader (GLuint);
3427 GLAPI GLuint APIENTRY glCreateProgram (void);
3428 GLAPI GLuint APIENTRY glCreateShader (GLenum);
3429 GLAPI void APIENTRY glDeleteProgram (GLuint);
3430 GLAPI void APIENTRY glDeleteShader (GLuint);
3431 GLAPI void APIENTRY glDetachShader (GLuint, GLuint);
3432 GLAPI void APIENTRY glDisableVertexAttribArray (GLuint);
3433 GLAPI void APIENTRY glEnableVertexAttribArray (GLuint);
3434 GLAPI void APIENTRY glGetActiveAttrib (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);
3435 GLAPI void APIENTRY glGetActiveUniform (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);
3436 GLAPI void APIENTRY glGetAttachedShaders (GLuint, GLsizei, GLsizei *, GLuint *);
3437 GLAPI GLint APIENTRY glGetAttribLocation (GLuint, const GLchar *);
3438 GLAPI void APIENTRY glGetProgramiv (GLuint, GLenum, GLint *);
3439 GLAPI void APIENTRY glGetProgramInfoLog (GLuint, GLsizei, GLsizei *, GLchar *);
3440 GLAPI void APIENTRY glGetShaderiv (GLuint, GLenum, GLint *);
3441 GLAPI void APIENTRY glGetShaderInfoLog (GLuint, GLsizei, GLsizei *, GLchar *);
3442 GLAPI void APIENTRY glGetShaderSource (GLuint, GLsizei, GLsizei *, GLchar *);
3443 GLAPI GLint APIENTRY glGetUniformLocation (GLuint, const GLchar *);
3444 GLAPI void APIENTRY glGetUniformfv (GLuint, GLint, GLfloat *);
3445 GLAPI void APIENTRY glGetUniformiv (GLuint, GLint, GLint *);
3446 GLAPI void APIENTRY glGetVertexAttribdv (GLuint, GLenum, GLdouble *);
3447 GLAPI void APIENTRY glGetVertexAttribfv (GLuint, GLenum, GLfloat *);
3448 GLAPI void APIENTRY glGetVertexAttribiv (GLuint, GLenum, GLint *);
3449 GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint, GLenum, GLvoid* *);
3450 GLAPI GLboolean APIENTRY glIsProgram (GLuint);
3451 GLAPI GLboolean APIENTRY glIsShader (GLuint);
3452 GLAPI void APIENTRY glLinkProgram (GLuint);
3453 GLAPI void APIENTRY glShaderSource (GLuint, GLsizei, const GLchar* *, const GLint *);
3454 GLAPI void APIENTRY glUseProgram (GLuint);
3455 GLAPI void APIENTRY glUniform1f (GLint, GLfloat);
3456 GLAPI void APIENTRY glUniform2f (GLint, GLfloat, GLfloat);
3457 GLAPI void APIENTRY glUniform3f (GLint, GLfloat, GLfloat, GLfloat);
3458 GLAPI void APIENTRY glUniform4f (GLint, GLfloat, GLfloat, GLfloat, GLfloat);
3459 GLAPI void APIENTRY glUniform1i (GLint, GLint);
3460 GLAPI void APIENTRY glUniform2i (GLint, GLint, GLint);
3461 GLAPI void APIENTRY glUniform3i (GLint, GLint, GLint, GLint);
3462 GLAPI void APIENTRY glUniform4i (GLint, GLint, GLint, GLint, GLint);
3463 GLAPI void APIENTRY glUniform1fv (GLint, GLsizei, const GLfloat *);
3464 GLAPI void APIENTRY glUniform2fv (GLint, GLsizei, const GLfloat *);
3465 GLAPI void APIENTRY glUniform3fv (GLint, GLsizei, const GLfloat *);
3466 GLAPI void APIENTRY glUniform4fv (GLint, GLsizei, const GLfloat *);
3467 GLAPI void APIENTRY glUniform1iv (GLint, GLsizei, const GLint *);
3468 GLAPI void APIENTRY glUniform2iv (GLint, GLsizei, const GLint *);
3469 GLAPI void APIENTRY glUniform3iv (GLint, GLsizei, const GLint *);
3470 GLAPI void APIENTRY glUniform4iv (GLint, GLsizei, const GLint *);
3471 GLAPI void APIENTRY glUniformMatrix2fv (GLint, GLsizei, GLboolean, const GLfloat *);
3472 GLAPI void APIENTRY glUniformMatrix3fv (GLint, GLsizei, GLboolean, const GLfloat *);
3473 GLAPI void APIENTRY glUniformMatrix4fv (GLint, GLsizei, GLboolean, const GLfloat *);
3474 GLAPI void APIENTRY glValidateProgram (GLuint);
3475 GLAPI void APIENTRY glVertexAttrib1d (GLuint, GLdouble);
3476 GLAPI void APIENTRY glVertexAttrib1dv (GLuint, const GLdouble *);
3477 GLAPI void APIENTRY glVertexAttrib1f (GLuint, GLfloat);
3478 GLAPI void APIENTRY glVertexAttrib1fv (GLuint, const GLfloat *);
3479 GLAPI void APIENTRY glVertexAttrib1s (GLuint, GLshort);
3480 GLAPI void APIENTRY glVertexAttrib1sv (GLuint, const GLshort *);
3481 GLAPI void APIENTRY glVertexAttrib2d (GLuint, GLdouble, GLdouble);
3482 GLAPI void APIENTRY glVertexAttrib2dv (GLuint, const GLdouble *);
3483 GLAPI void APIENTRY glVertexAttrib2f (GLuint, GLfloat, GLfloat);
3484 GLAPI void APIENTRY glVertexAttrib2fv (GLuint, const GLfloat *);
3485 GLAPI void APIENTRY glVertexAttrib2s (GLuint, GLshort, GLshort);
3486 GLAPI void APIENTRY glVertexAttrib2sv (GLuint, const GLshort *);
3487 GLAPI void APIENTRY glVertexAttrib3d (GLuint, GLdouble, GLdouble, GLdouble);
3488 GLAPI void APIENTRY glVertexAttrib3dv (GLuint, const GLdouble *);
3489 GLAPI void APIENTRY glVertexAttrib3f (GLuint, GLfloat, GLfloat, GLfloat);
3490 GLAPI void APIENTRY glVertexAttrib3fv (GLuint, const GLfloat *);
3491 GLAPI void APIENTRY glVertexAttrib3s (GLuint, GLshort, GLshort, GLshort);
3492 GLAPI void APIENTRY glVertexAttrib3sv (GLuint, const GLshort *);
3493 GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint, const GLbyte *);
3494 GLAPI void APIENTRY glVertexAttrib4Niv (GLuint, const GLint *);
3495 GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint, const GLshort *);
3496 GLAPI void APIENTRY glVertexAttrib4Nub (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
3497 GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint, const GLubyte *);
3498 GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint, const GLuint *);
3499 GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint, const GLushort *);
3500 GLAPI void APIENTRY glVertexAttrib4bv (GLuint, const GLbyte *);
3501 GLAPI void APIENTRY glVertexAttrib4d (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
3502 GLAPI void APIENTRY glVertexAttrib4dv (GLuint, const GLdouble *);
3503 GLAPI void APIENTRY glVertexAttrib4f (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
3504 GLAPI void APIENTRY glVertexAttrib4fv (GLuint, const GLfloat *);
3505 GLAPI void APIENTRY glVertexAttrib4iv (GLuint, const GLint *);
3506 GLAPI void APIENTRY glVertexAttrib4s (GLuint, GLshort, GLshort, GLshort, GLshort);
3507 GLAPI void APIENTRY glVertexAttrib4sv (GLuint, const GLshort *);
3508 GLAPI void APIENTRY glVertexAttrib4ubv (GLuint, const GLubyte *);
3509 GLAPI void APIENTRY glVertexAttrib4uiv (GLuint, const GLuint *);
3510 GLAPI void APIENTRY glVertexAttrib4usv (GLuint, const GLushort *);
3511 GLAPI void APIENTRY glVertexAttribPointer (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
3512 #endif /* GL_GLEXT_PROTOTYPES */
3513 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
3514 typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
3515 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
3516 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
3517 typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
3518 typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
3519 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
3520 typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
3521 typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
3522 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
3523 typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
3524 typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
3525 typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
3526 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
3527 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
3528 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
3529 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
3530 typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
3531 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
3532 typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
3533 typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
3534 typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
3535 typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
3536 typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
3537 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
3538 typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
3539 typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
3540 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
3541 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
3542 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
3543 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
3544 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
3545 typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
3546 typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
3547 typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
3548 typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
3549 typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
3550 typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
3551 typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
3552 typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
3553 typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
3554 typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
3555 typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
3556 typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
3557 typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
3558 typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
3559 typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
3560 typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
3561 typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
3562 typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
3563 typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
3564 typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
3565 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3566 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3567 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3568 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
3569 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
3570 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
3571 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
3572 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
3573 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
3574 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
3575 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
3576 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
3577 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
3578 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
3579 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
3580 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
3581 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
3582 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
3583 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
3584 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
3585 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
3586 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
3587 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
3588 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
3589 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
3590 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
3591 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
3592 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
3593 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
3594 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
3595 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3596 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
3597 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3598 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
3599 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
3600 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
3601 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
3602 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
3603 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
3604 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
3605 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
3606 #endif
3607 
3608 #ifndef GL_ARB_multitexture
3609 #define GL_ARB_multitexture 1
3610 #ifdef GL_GLEXT_PROTOTYPES
3611 GLAPI void APIENTRY glActiveTextureARB (GLenum);
3612 GLAPI void APIENTRY glClientActiveTextureARB (GLenum);
3613 GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum, GLdouble);
3614 GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum, const GLdouble *);
3615 GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum, GLfloat);
3616 GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum, const GLfloat *);
3617 GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum, GLint);
3618 GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum, const GLint *);
3619 GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum, GLshort);
3620 GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum, const GLshort *);
3621 GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum, GLdouble, GLdouble);
3622 GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum, const GLdouble *);
3623 GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum, GLfloat, GLfloat);
3624 GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum, const GLfloat *);
3625 GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum, GLint, GLint);
3626 GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum, const GLint *);
3627 GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum, GLshort, GLshort);
3628 GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum, const GLshort *);
3629 GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum, GLdouble, GLdouble, GLdouble);
3630 GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum, const GLdouble *);
3631 GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum, GLfloat, GLfloat, GLfloat);
3632 GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum, const GLfloat *);
3633 GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum, GLint, GLint, GLint);
3634 GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum, const GLint *);
3635 GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum, GLshort, GLshort, GLshort);
3636 GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum, const GLshort *);
3637 GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
3638 GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum, const GLdouble *);
3639 GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
3640 GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum, const GLfloat *);
3641 GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum, GLint, GLint, GLint, GLint);
3642 GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum, const GLint *);
3643 GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum, GLshort, GLshort, GLshort, GLshort);
3644 GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum, const GLshort *);
3645 #endif /* GL_GLEXT_PROTOTYPES */
3646 typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
3647 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
3648 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
3649 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
3650 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
3651 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
3652 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
3653 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
3654 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
3655 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
3656 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
3657 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
3658 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
3659 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
3660 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
3661 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
3662 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
3663 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
3664 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3665 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
3666 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3667 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
3668 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
3669 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
3670 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
3671 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
3672 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3673 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
3674 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3675 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
3676 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
3677 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
3678 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3679 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
3680 #endif
3681 
3682 #ifndef GL_ARB_transpose_matrix
3683 #define GL_ARB_transpose_matrix 1
3684 #ifdef GL_GLEXT_PROTOTYPES
3685 GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *);
3686 GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *);
3687 GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *);
3688 GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *);
3689 #endif /* GL_GLEXT_PROTOTYPES */
3690 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
3691 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
3692 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
3693 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
3694 #endif
3695 
3696 #ifndef GL_ARB_multisample
3697 #define GL_ARB_multisample 1
3698 #ifdef GL_GLEXT_PROTOTYPES
3699 GLAPI void APIENTRY glSampleCoverageARB (GLclampf, GLboolean);
3700 #endif /* GL_GLEXT_PROTOTYPES */
3701 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
3702 #endif
3703 
3704 #ifndef GL_ARB_texture_env_add
3705 #define GL_ARB_texture_env_add 1
3706 #endif
3707 
3708 #ifndef GL_ARB_texture_cube_map
3709 #define GL_ARB_texture_cube_map 1
3710 #endif
3711 
3712 #ifndef GL_ARB_texture_compression
3713 #define GL_ARB_texture_compression 1
3714 #ifdef GL_GLEXT_PROTOTYPES
3715 GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
3716 GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
3717 GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
3718 GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
3719 GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
3720 GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
3721 GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum, GLint, GLvoid *);
3722 #endif /* GL_GLEXT_PROTOTYPES */
3723 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
3724 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
3725 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
3726 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);
3727 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
3728 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
3729 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img);
3730 #endif
3731 
3732 #ifndef GL_ARB_texture_border_clamp
3733 #define GL_ARB_texture_border_clamp 1
3734 #endif
3735 
3736 #ifndef GL_ARB_point_parameters
3737 #define GL_ARB_point_parameters 1
3738 #ifdef GL_GLEXT_PROTOTYPES
3739 GLAPI void APIENTRY glPointParameterfARB (GLenum, GLfloat);
3740 GLAPI void APIENTRY glPointParameterfvARB (GLenum, const GLfloat *);
3741 #endif /* GL_GLEXT_PROTOTYPES */
3742 typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
3743 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
3744 #endif
3745 
3746 #ifndef GL_ARB_vertex_blend
3747 #define GL_ARB_vertex_blend 1
3748 #ifdef GL_GLEXT_PROTOTYPES
3749 GLAPI void APIENTRY glWeightbvARB (GLint, const GLbyte *);
3750 GLAPI void APIENTRY glWeightsvARB (GLint, const GLshort *);
3751 GLAPI void APIENTRY glWeightivARB (GLint, const GLint *);
3752 GLAPI void APIENTRY glWeightfvARB (GLint, const GLfloat *);
3753 GLAPI void APIENTRY glWeightdvARB (GLint, const GLdouble *);
3754 GLAPI void APIENTRY glWeightubvARB (GLint, const GLubyte *);
3755 GLAPI void APIENTRY glWeightusvARB (GLint, const GLushort *);
3756 GLAPI void APIENTRY glWeightuivARB (GLint, const GLuint *);
3757 GLAPI void APIENTRY glWeightPointerARB (GLint, GLenum, GLsizei, const GLvoid *);
3758 GLAPI void APIENTRY glVertexBlendARB (GLint);
3759 #endif /* GL_GLEXT_PROTOTYPES */
3760 typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
3761 typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
3762 typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
3763 typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
3764 typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
3765 typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
3766 typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
3767 typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
3768 typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
3769 typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
3770 #endif
3771 
3772 #ifndef GL_ARB_matrix_palette
3773 #define GL_ARB_matrix_palette 1
3774 #ifdef GL_GLEXT_PROTOTYPES
3775 GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint);
3776 GLAPI void APIENTRY glMatrixIndexubvARB (GLint, const GLubyte *);
3777 GLAPI void APIENTRY glMatrixIndexusvARB (GLint, const GLushort *);
3778 GLAPI void APIENTRY glMatrixIndexuivARB (GLint, const GLuint *);
3779 GLAPI void APIENTRY glMatrixIndexPointerARB (GLint, GLenum, GLsizei, const GLvoid *);
3780 #endif /* GL_GLEXT_PROTOTYPES */
3781 typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
3782 typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
3783 typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
3784 typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
3785 typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
3786 #endif
3787 
3788 #ifndef GL_ARB_texture_env_combine
3789 #define GL_ARB_texture_env_combine 1
3790 #endif
3791 
3792 #ifndef GL_ARB_texture_env_crossbar
3793 #define GL_ARB_texture_env_crossbar 1
3794 #endif
3795 
3796 #ifndef GL_ARB_texture_env_dot3
3797 #define GL_ARB_texture_env_dot3 1
3798 #endif
3799 
3800 #ifndef GL_ARB_texture_mirrored_repeat
3801 #define GL_ARB_texture_mirrored_repeat 1
3802 #endif
3803 
3804 #ifndef GL_ARB_depth_texture
3805 #define GL_ARB_depth_texture 1
3806 #endif
3807 
3808 #ifndef GL_ARB_shadow
3809 #define GL_ARB_shadow 1
3810 #endif
3811 
3812 #ifndef GL_ARB_shadow_ambient
3813 #define GL_ARB_shadow_ambient 1
3814 #endif
3815 
3816 #ifndef GL_ARB_window_pos
3817 #define GL_ARB_window_pos 1
3818 #ifdef GL_GLEXT_PROTOTYPES
3819 GLAPI void APIENTRY glWindowPos2dARB (GLdouble, GLdouble);
3820 GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *);
3821 GLAPI void APIENTRY glWindowPos2fARB (GLfloat, GLfloat);
3822 GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *);
3823 GLAPI void APIENTRY glWindowPos2iARB (GLint, GLint);
3824 GLAPI void APIENTRY glWindowPos2ivARB (const GLint *);
3825 GLAPI void APIENTRY glWindowPos2sARB (GLshort, GLshort);
3826 GLAPI void APIENTRY glWindowPos2svARB (const GLshort *);
3827 GLAPI void APIENTRY glWindowPos3dARB (GLdouble, GLdouble, GLdouble);
3828 GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *);
3829 GLAPI void APIENTRY glWindowPos3fARB (GLfloat, GLfloat, GLfloat);
3830 GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *);
3831 GLAPI void APIENTRY glWindowPos3iARB (GLint, GLint, GLint);
3832 GLAPI void APIENTRY glWindowPos3ivARB (const GLint *);
3833 GLAPI void APIENTRY glWindowPos3sARB (GLshort, GLshort, GLshort);
3834 GLAPI void APIENTRY glWindowPos3svARB (const GLshort *);
3835 #endif /* GL_GLEXT_PROTOTYPES */
3836 typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
3837 typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
3838 typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
3839 typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
3840 typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
3841 typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
3842 typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
3843 typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
3844 typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
3845 typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
3846 typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
3847 typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
3848 typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
3849 typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
3850 typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
3851 typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
3852 #endif
3853 
3854 #ifndef GL_ARB_vertex_program
3855 #define GL_ARB_vertex_program 1
3856 #ifdef GL_GLEXT_PROTOTYPES
3857 GLAPI void APIENTRY glVertexAttrib1dARB (GLuint, GLdouble);
3858 GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint, const GLdouble *);
3859 GLAPI void APIENTRY glVertexAttrib1fARB (GLuint, GLfloat);
3860 GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint, const GLfloat *);
3861 GLAPI void APIENTRY glVertexAttrib1sARB (GLuint, GLshort);
3862 GLAPI void APIENTRY glVertexAttrib1svARB (GLuint, const GLshort *);
3863 GLAPI void APIENTRY glVertexAttrib2dARB (GLuint, GLdouble, GLdouble);
3864 GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint, const GLdouble *);
3865 GLAPI void APIENTRY glVertexAttrib2fARB (GLuint, GLfloat, GLfloat);
3866 GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint, const GLfloat *);
3867 GLAPI void APIENTRY glVertexAttrib2sARB (GLuint, GLshort, GLshort);
3868 GLAPI void APIENTRY glVertexAttrib2svARB (GLuint, const GLshort *);
3869 GLAPI void APIENTRY glVertexAttrib3dARB (GLuint, GLdouble, GLdouble, GLdouble);
3870 GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint, const GLdouble *);
3871 GLAPI void APIENTRY glVertexAttrib3fARB (GLuint, GLfloat, GLfloat, GLfloat);
3872 GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint, const GLfloat *);
3873 GLAPI void APIENTRY glVertexAttrib3sARB (GLuint, GLshort, GLshort, GLshort);
3874 GLAPI void APIENTRY glVertexAttrib3svARB (GLuint, const GLshort *);
3875 GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint, const GLbyte *);
3876 GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint, const GLint *);
3877 GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint, const GLshort *);
3878 GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
3879 GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint, const GLubyte *);
3880 GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint, const GLuint *);
3881 GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint, const GLushort *);
3882 GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint, const GLbyte *);
3883 GLAPI void APIENTRY glVertexAttrib4dARB (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
3884 GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint, const GLdouble *);
3885 GLAPI void APIENTRY glVertexAttrib4fARB (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
3886 GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint, const GLfloat *);
3887 GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint, const GLint *);
3888 GLAPI void APIENTRY glVertexAttrib4sARB (GLuint, GLshort, GLshort, GLshort, GLshort);
3889 GLAPI void APIENTRY glVertexAttrib4svARB (GLuint, const GLshort *);
3890 GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint, const GLubyte *);
3891 GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint, const GLuint *);
3892 GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint, const GLushort *);
3893 GLAPI void APIENTRY glVertexAttribPointerARB (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
3894 GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint);
3895 GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint);
3896 GLAPI void APIENTRY glProgramStringARB (GLenum, GLenum, GLsizei, const GLvoid *);
3897 GLAPI void APIENTRY glBindProgramARB (GLenum, GLuint);
3898 GLAPI void APIENTRY glDeleteProgramsARB (GLsizei, const GLuint *);
3899 GLAPI void APIENTRY glGenProgramsARB (GLsizei, GLuint *);
3900 GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
3901 GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum, GLuint, const GLdouble *);
3902 GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
3903 GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum, GLuint, const GLfloat *);
3904 GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
3905 GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum, GLuint, const GLdouble *);
3906 GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
3907 GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum, GLuint, const GLfloat *);
3908 GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum, GLuint, GLdouble *);
3909 GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum, GLuint, GLfloat *);
3910 GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum, GLuint, GLdouble *);
3911 GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum, GLuint, GLfloat *);
3912 GLAPI void APIENTRY glGetProgramivARB (GLenum, GLenum, GLint *);
3913 GLAPI void APIENTRY glGetProgramStringARB (GLenum, GLenum, GLvoid *);
3914 GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint, GLenum, GLdouble *);
3915 GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint, GLenum, GLfloat *);
3916 GLAPI void APIENTRY glGetVertexAttribivARB (GLuint, GLenum, GLint *);
3917 GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint, GLenum, GLvoid* *);
3918 GLAPI GLboolean APIENTRY glIsProgramARB (GLuint);
3919 #endif /* GL_GLEXT_PROTOTYPES */
3920 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
3921 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
3922 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
3923 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
3924 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
3925 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
3926 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
3927 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
3928 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
3929 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
3930 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
3931 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
3932 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
3933 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
3934 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
3935 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
3936 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
3937 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
3938 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
3939 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
3940 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
3941 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
3942 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
3943 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
3944 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
3945 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
3946 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3947 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
3948 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3949 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
3950 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
3951 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
3952 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
3953 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
3954 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
3955 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
3956 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
3957 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
3958 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
3959 typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
3960 typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
3961 typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
3962 typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
3963 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3964 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
3965 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3966 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
3967 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3968 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
3969 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3970 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
3971 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
3972 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
3973 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
3974 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
3975 typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
3976 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string);
3977 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
3978 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
3979 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
3980 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
3981 typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
3982 #endif
3983 
3984 #ifndef GL_ARB_fragment_program
3985 #define GL_ARB_fragment_program 1
3986 /* All ARB_fragment_program entry points are shared with ARB_vertex_program. */
3987 #endif
3988 
3989 #ifndef GL_ARB_vertex_buffer_object
3990 #define GL_ARB_vertex_buffer_object 1
3991 #ifdef GL_GLEXT_PROTOTYPES
3992 GLAPI void APIENTRY glBindBufferARB (GLenum, GLuint);
3993 GLAPI void APIENTRY glDeleteBuffersARB (GLsizei, const GLuint *);
3994 GLAPI void APIENTRY glGenBuffersARB (GLsizei, GLuint *);
3995 GLAPI GLboolean APIENTRY glIsBufferARB (GLuint);
3996 GLAPI void APIENTRY glBufferDataARB (GLenum, GLsizeiptrARB, const GLvoid *, GLenum);
3997 GLAPI void APIENTRY glBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *);
3998 GLAPI void APIENTRY glGetBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *);
3999 GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum, GLenum);
4000 GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum);
4001 GLAPI void APIENTRY glGetBufferParameterivARB (GLenum, GLenum, GLint *);
4002 GLAPI void APIENTRY glGetBufferPointervARB (GLenum, GLenum, GLvoid* *);
4003 #endif /* GL_GLEXT_PROTOTYPES */
4004 typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
4005 typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
4006 typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
4007 typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
4008 typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
4009 typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
4010 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
4011 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
4012 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
4013 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
4014 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params);
4015 #endif
4016 
4017 #ifndef GL_ARB_occlusion_query
4018 #define GL_ARB_occlusion_query 1
4019 #ifdef GL_GLEXT_PROTOTYPES
4020 GLAPI void APIENTRY glGenQueriesARB (GLsizei, GLuint *);
4021 GLAPI void APIENTRY glDeleteQueriesARB (GLsizei, const GLuint *);
4022 GLAPI GLboolean APIENTRY glIsQueryARB (GLuint);
4023 GLAPI void APIENTRY glBeginQueryARB (GLenum, GLuint);
4024 GLAPI void APIENTRY glEndQueryARB (GLenum);
4025 GLAPI void APIENTRY glGetQueryivARB (GLenum, GLenum, GLint *);
4026 GLAPI void APIENTRY glGetQueryObjectivARB (GLuint, GLenum, GLint *);
4027 GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint, GLenum, GLuint *);
4028 #endif /* GL_GLEXT_PROTOTYPES */
4029 typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
4030 typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
4031 typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
4032 typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
4033 typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
4034 typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
4035 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
4036 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
4037 #endif
4038 
4039 #ifndef GL_ARB_shader_objects
4040 #define GL_ARB_shader_objects 1
4041 #ifdef GL_GLEXT_PROTOTYPES
4042 GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB);
4043 GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum);
4044 GLAPI void APIENTRY glDetachObjectARB (GLhandleARB, GLhandleARB);
4045 GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum);
4046 GLAPI void APIENTRY glShaderSourceARB (GLhandleARB, GLsizei, const GLcharARB* *, const GLint *);
4047 GLAPI void APIENTRY glCompileShaderARB (GLhandleARB);
4048 GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
4049 GLAPI void APIENTRY glAttachObjectARB (GLhandleARB, GLhandleARB);
4050 GLAPI void APIENTRY glLinkProgramARB (GLhandleARB);
4051 GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB);
4052 GLAPI void APIENTRY glValidateProgramARB (GLhandleARB);
4053 GLAPI void APIENTRY glUniform1fARB (GLint, GLfloat);
4054 GLAPI void APIENTRY glUniform2fARB (GLint, GLfloat, GLfloat);
4055 GLAPI void APIENTRY glUniform3fARB (GLint, GLfloat, GLfloat, GLfloat);
4056 GLAPI void APIENTRY glUniform4fARB (GLint, GLfloat, GLfloat, GLfloat, GLfloat);
4057 GLAPI void APIENTRY glUniform1iARB (GLint, GLint);
4058 GLAPI void APIENTRY glUniform2iARB (GLint, GLint, GLint);
4059 GLAPI void APIENTRY glUniform3iARB (GLint, GLint, GLint, GLint);
4060 GLAPI void APIENTRY glUniform4iARB (GLint, GLint, GLint, GLint, GLint);
4061 GLAPI void APIENTRY glUniform1fvARB (GLint, GLsizei, const GLfloat *);
4062 GLAPI void APIENTRY glUniform2fvARB (GLint, GLsizei, const GLfloat *);
4063 GLAPI void APIENTRY glUniform3fvARB (GLint, GLsizei, const GLfloat *);
4064 GLAPI void APIENTRY glUniform4fvARB (GLint, GLsizei, const GLfloat *);
4065 GLAPI void APIENTRY glUniform1ivARB (GLint, GLsizei, const GLint *);
4066 GLAPI void APIENTRY glUniform2ivARB (GLint, GLsizei, const GLint *);
4067 GLAPI void APIENTRY glUniform3ivARB (GLint, GLsizei, const GLint *);
4068 GLAPI void APIENTRY glUniform4ivARB (GLint, GLsizei, const GLint *);
4069 GLAPI void APIENTRY glUniformMatrix2fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
4070 GLAPI void APIENTRY glUniformMatrix3fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
4071 GLAPI void APIENTRY glUniformMatrix4fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
4072 GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB, GLenum, GLfloat *);
4073 GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB, GLenum, GLint *);
4074 GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
4075 GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB, GLsizei, GLsizei *, GLhandleARB *);
4076 GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB, const GLcharARB *);
4077 GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
4078 GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB, GLint, GLfloat *);
4079 GLAPI void APIENTRY glGetUniformivARB (GLhandleARB, GLint, GLint *);
4080 GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
4081 #endif /* GL_GLEXT_PROTOTYPES */
4082 typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
4083 typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
4084 typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
4085 typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
4086 typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length);
4087 typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
4088 typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
4089 typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
4090 typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
4091 typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
4092 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
4093 typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
4094 typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
4095 typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
4096 typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
4097 typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
4098 typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
4099 typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
4100 typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
4101 typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4102 typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4103 typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4104 typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4105 typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4106 typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4107 typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4108 typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4109 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4110 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4111 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4112 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
4113 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
4114 typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
4115 typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
4116 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
4117 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4118 typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
4119 typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
4120 typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
4121 #endif
4122 
4123 #ifndef GL_ARB_vertex_shader
4124 #define GL_ARB_vertex_shader 1
4125 #ifdef GL_GLEXT_PROTOTYPES
4126 GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB, GLuint, const GLcharARB *);
4127 GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
4128 GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB, const GLcharARB *);
4129 #endif /* GL_GLEXT_PROTOTYPES */
4130 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
4131 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4132 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
4133 #endif
4134 
4135 #ifndef GL_ARB_fragment_shader
4136 #define GL_ARB_fragment_shader 1
4137 #endif
4138 
4139 #ifndef GL_ARB_shading_language_100
4140 #define GL_ARB_shading_language_100 1
4141 #endif
4142 
4143 #ifndef GL_ARB_texture_non_power_of_two
4144 #define GL_ARB_texture_non_power_of_two 1
4145 #endif
4146 
4147 #ifndef GL_ARB_point_sprite
4148 #define GL_ARB_point_sprite 1
4149 #endif
4150 
4151 #ifndef GL_ARB_fragment_program_shadow
4152 #define GL_ARB_fragment_program_shadow 1
4153 #endif
4154 
4155 #ifndef GL_ARB_draw_buffers
4156 #define GL_ARB_draw_buffers 1
4157 #ifdef GL_GLEXT_PROTOTYPES
4158 GLAPI void APIENTRY glDrawBuffersARB (GLsizei, const GLenum *);
4159 #endif /* GL_GLEXT_PROTOTYPES */
4160 typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
4161 #endif
4162 
4163 #ifndef GL_ARB_texture_rectangle
4164 #define GL_ARB_texture_rectangle 1
4165 #endif
4166 
4167 #ifndef GL_ARB_color_buffer_float
4168 #define GL_ARB_color_buffer_float 1
4169 #ifdef GL_GLEXT_PROTOTYPES
4170 GLAPI void APIENTRY glClampColorARB (GLenum, GLenum);
4171 #endif /* GL_GLEXT_PROTOTYPES */
4172 typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
4173 #endif
4174 
4175 #ifndef GL_ARB_half_float_pixel
4176 #define GL_ARB_half_float_pixel 1
4177 #endif
4178 
4179 #ifndef GL_ARB_texture_float
4180 #define GL_ARB_texture_float 1
4181 #endif
4182 
4183 #ifndef GL_ARB_pixel_buffer_object
4184 #define GL_ARB_pixel_buffer_object 1
4185 #endif
4186 
4187 #ifndef GL_EXT_abgr
4188 #define GL_EXT_abgr 1
4189 #endif
4190 
4191 #ifndef GL_EXT_blend_color
4192 #define GL_EXT_blend_color 1
4193 #ifdef GL_GLEXT_PROTOTYPES
4194 GLAPI void APIENTRY glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf);
4195 #endif /* GL_GLEXT_PROTOTYPES */
4196 typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
4197 #endif
4198 
4199 #ifndef GL_EXT_polygon_offset
4200 #define GL_EXT_polygon_offset 1
4201 #ifdef GL_GLEXT_PROTOTYPES
4202 GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat, GLfloat);
4203 #endif /* GL_GLEXT_PROTOTYPES */
4204 typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
4205 #endif
4206 
4207 #ifndef GL_EXT_texture
4208 #define GL_EXT_texture 1
4209 #endif
4210 
4211 #ifndef GL_EXT_texture3D
4212 #define GL_EXT_texture3D 1
4213 #ifdef GL_GLEXT_PROTOTYPES
4214 GLAPI void APIENTRY glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
4215 GLAPI void APIENTRY glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
4216 #endif /* GL_GLEXT_PROTOTYPES */
4217 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);
4218 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);
4219 #endif
4220 
4221 #ifndef GL_SGIS_texture_filter4
4222 #define GL_SGIS_texture_filter4 1
4223 #ifdef GL_GLEXT_PROTOTYPES
4224 GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *);
4225 GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *);
4226 #endif /* GL_GLEXT_PROTOTYPES */
4227 typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
4228 typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
4229 #endif
4230 
4231 #ifndef GL_EXT_subtexture
4232 #define GL_EXT_subtexture 1
4233 #ifdef GL_GLEXT_PROTOTYPES
4234 GLAPI void APIENTRY glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
4235 GLAPI void APIENTRY glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
4236 #endif /* GL_GLEXT_PROTOTYPES */
4237 typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
4238 typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
4239 #endif
4240 
4241 #ifndef GL_EXT_copy_texture
4242 #define GL_EXT_copy_texture 1
4243 #ifdef GL_GLEXT_PROTOTYPES
4244 GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
4245 GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
4246 GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei);
4247 GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
4248 GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
4249 #endif /* GL_GLEXT_PROTOTYPES */
4250 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
4251 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
4252 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
4253 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
4254 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
4255 #endif
4256 
4257 #ifndef GL_EXT_histogram
4258 #define GL_EXT_histogram 1
4259 #ifdef GL_GLEXT_PROTOTYPES
4260 GLAPI void APIENTRY glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
4261 GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat *);
4262 GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum, GLenum, GLint *);
4263 GLAPI void APIENTRY glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
4264 GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *);
4265 GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *);
4266 GLAPI void APIENTRY glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean);
4267 GLAPI void APIENTRY glMinmaxEXT (GLenum, GLenum, GLboolean);
4268 GLAPI void APIENTRY glResetHistogramEXT (GLenum);
4269 GLAPI void APIENTRY glResetMinmaxEXT (GLenum);
4270 #endif /* GL_GLEXT_PROTOTYPES */
4271 typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
4272 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
4273 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
4274 typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
4275 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
4276 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
4277 typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
4278 typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
4279 typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
4280 typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
4281 #endif
4282 
4283 #ifndef GL_EXT_convolution
4284 #define GL_EXT_convolution 1
4285 #ifdef GL_GLEXT_PROTOTYPES
4286 GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
4287 GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
4288 GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum, GLenum, GLfloat);
4289 GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum, GLenum, const GLfloat *);
4290 GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum, GLenum, GLint);
4291 GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum, GLenum, const GLint *);
4292 GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GLint, GLsizei);
4293 GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
4294 GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvoid *);
4295 GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat *);
4296 GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum, GLenum, GLint *);
4297 GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
4298 GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
4299 #endif /* GL_GLEXT_PROTOTYPES */
4300 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
4301 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
4302 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
4303 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
4304 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
4305 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
4306 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
4307 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
4308 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
4309 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
4310 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
4311 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
4312 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
4313 #endif
4314 
4315 #ifndef GL_EXT_color_matrix
4316 #define GL_EXT_color_matrix 1
4317 #endif
4318 
4319 #ifndef GL_SGI_color_table
4320 #define GL_SGI_color_table 1
4321 #ifdef GL_GLEXT_PROTOTYPES
4322 GLAPI void APIENTRY glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
4323 GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *);
4324 GLAPI void APIENTRY glColorTableParameterivSGI (GLenum, GLenum, const GLint *);
4325 GLAPI void APIENTRY glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei);
4326 GLAPI void APIENTRY glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *);
4327 GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *);
4328 GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum, GLenum, GLint *);
4329 #endif /* GL_GLEXT_PROTOTYPES */
4330 typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
4331 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
4332 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
4333 typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
4334 typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
4335 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
4336 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
4337 #endif
4338 
4339 #ifndef GL_SGIX_pixel_texture
4340 #define GL_SGIX_pixel_texture 1
4341 #ifdef GL_GLEXT_PROTOTYPES
4342 GLAPI void APIENTRY glPixelTexGenSGIX (GLenum);
4343 #endif /* GL_GLEXT_PROTOTYPES */
4344 typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
4345 #endif
4346 
4347 #ifndef GL_SGIS_pixel_texture
4348 #define GL_SGIS_pixel_texture 1
4349 #ifdef GL_GLEXT_PROTOTYPES
4350 GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum, GLint);
4351 GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum, const GLint *);
4352 GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum, GLfloat);
4353 GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *);
4354 GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum, GLint *);
4355 GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *);
4356 #endif /* GL_GLEXT_PROTOTYPES */
4357 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
4358 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
4359 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
4360 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
4361 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
4362 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
4363 #endif
4364 
4365 #ifndef GL_SGIS_texture4D
4366 #define GL_SGIS_texture4D 1
4367 #ifdef GL_GLEXT_PROTOTYPES
4368 GLAPI void APIENTRY glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
4369 GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
4370 #endif /* GL_GLEXT_PROTOTYPES */
4371 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);
4372 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);
4373 #endif
4374 
4375 #ifndef GL_SGI_texture_color_table
4376 #define GL_SGI_texture_color_table 1
4377 #endif
4378 
4379 #ifndef GL_EXT_cmyka
4380 #define GL_EXT_cmyka 1
4381 #endif
4382 
4383 #ifndef GL_EXT_texture_object
4384 #define GL_EXT_texture_object 1
4385 #ifdef GL_GLEXT_PROTOTYPES
4386 GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei, const GLuint *, GLboolean *);
4387 GLAPI void APIENTRY glBindTextureEXT (GLenum, GLuint);
4388 GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei, const GLuint *);
4389 GLAPI void APIENTRY glGenTexturesEXT (GLsizei, GLuint *);
4390 GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint);
4391 GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLclampf *);
4392 #endif /* GL_GLEXT_PROTOTYPES */
4393 typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
4394 typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
4395 typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
4396 typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
4397 typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
4398 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
4399 #endif
4400 
4401 #ifndef GL_SGIS_detail_texture
4402 #define GL_SGIS_detail_texture 1
4403 #ifdef GL_GLEXT_PROTOTYPES
4404 GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
4405 GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum, GLfloat *);
4406 #endif /* GL_GLEXT_PROTOTYPES */
4407 typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
4408 typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
4409 #endif
4410 
4411 #ifndef GL_SGIS_sharpen_texture
4412 #define GL_SGIS_sharpen_texture 1
4413 #ifdef GL_GLEXT_PROTOTYPES
4414 GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
4415 GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum, GLfloat *);
4416 #endif /* GL_GLEXT_PROTOTYPES */
4417 typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
4418 typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
4419 #endif
4420 
4421 #ifndef GL_EXT_packed_pixels
4422 #define GL_EXT_packed_pixels 1
4423 #endif
4424 
4425 #ifndef GL_SGIS_texture_lod
4426 #define GL_SGIS_texture_lod 1
4427 #endif
4428 
4429 #ifndef GL_SGIS_multisample
4430 #define GL_SGIS_multisample 1
4431 #ifdef GL_GLEXT_PROTOTYPES
4432 GLAPI void APIENTRY glSampleMaskSGIS (GLclampf, GLboolean);
4433 GLAPI void APIENTRY glSamplePatternSGIS (GLenum);
4434 #endif /* GL_GLEXT_PROTOTYPES */
4435 typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
4436 typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
4437 #endif
4438 
4439 #ifndef GL_EXT_rescale_normal
4440 #define GL_EXT_rescale_normal 1
4441 #endif
4442 
4443 #ifndef GL_EXT_vertex_array
4444 #define GL_EXT_vertex_array 1
4445 #ifdef GL_GLEXT_PROTOTYPES
4446 GLAPI void APIENTRY glArrayElementEXT (GLint);
4447 GLAPI void APIENTRY glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
4448 GLAPI void APIENTRY glDrawArraysEXT (GLenum, GLint, GLsizei);
4449 GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean *);
4450 GLAPI void APIENTRY glGetPointervEXT (GLenum, GLvoid* *);
4451 GLAPI void APIENTRY glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
4452 GLAPI void APIENTRY glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
4453 GLAPI void APIENTRY glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
4454 GLAPI void APIENTRY glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
4455 #endif /* GL_GLEXT_PROTOTYPES */
4456 typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
4457 typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
4458 typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
4459 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
4460 typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
4461 typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
4462 typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
4463 typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
4464 typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
4465 #endif
4466 
4467 #ifndef GL_EXT_misc_attribute
4468 #define GL_EXT_misc_attribute 1
4469 #endif
4470 
4471 #ifndef GL_SGIS_generate_mipmap
4472 #define GL_SGIS_generate_mipmap 1
4473 #endif
4474 
4475 #ifndef GL_SGIX_clipmap
4476 #define GL_SGIX_clipmap 1
4477 #endif
4478 
4479 #ifndef GL_SGIX_shadow
4480 #define GL_SGIX_shadow 1
4481 #endif
4482 
4483 #ifndef GL_SGIS_texture_edge_clamp
4484 #define GL_SGIS_texture_edge_clamp 1
4485 #endif
4486 
4487 #ifndef GL_SGIS_texture_border_clamp
4488 #define GL_SGIS_texture_border_clamp 1
4489 #endif
4490 
4491 #ifndef GL_EXT_blend_minmax
4492 #define GL_EXT_blend_minmax 1
4493 #ifdef GL_GLEXT_PROTOTYPES
4494 GLAPI void APIENTRY glBlendEquationEXT (GLenum);
4495 #endif /* GL_GLEXT_PROTOTYPES */
4496 typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
4497 #endif
4498 
4499 #ifndef GL_EXT_blend_subtract
4500 #define GL_EXT_blend_subtract 1
4501 #endif
4502 
4503 #ifndef GL_EXT_blend_logic_op
4504 #define GL_EXT_blend_logic_op 1
4505 #endif
4506 
4507 #ifndef GL_SGIX_interlace
4508 #define GL_SGIX_interlace 1
4509 #endif
4510 
4511 #ifndef GL_SGIX_pixel_tiles
4512 #define GL_SGIX_pixel_tiles 1
4513 #endif
4514 
4515 #ifndef GL_SGIX_texture_select
4516 #define GL_SGIX_texture_select 1
4517 #endif
4518 
4519 #ifndef GL_SGIX_sprite
4520 #define GL_SGIX_sprite 1
4521 #ifdef GL_GLEXT_PROTOTYPES
4522 GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum, GLfloat);
4523 GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum, const GLfloat *);
4524 GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum, GLint);
4525 GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum, const GLint *);
4526 #endif /* GL_GLEXT_PROTOTYPES */
4527 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
4528 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
4529 typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
4530 typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
4531 #endif
4532 
4533 #ifndef GL_SGIX_texture_multi_buffer
4534 #define GL_SGIX_texture_multi_buffer 1
4535 #endif
4536 
4537 #ifndef GL_EXT_point_parameters
4538 #define GL_EXT_point_parameters 1
4539 #ifdef GL_GLEXT_PROTOTYPES
4540 GLAPI void APIENTRY glPointParameterfEXT (GLenum, GLfloat);
4541 GLAPI void APIENTRY glPointParameterfvEXT (GLenum, const GLfloat *);
4542 #endif /* GL_GLEXT_PROTOTYPES */
4543 typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
4544 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
4545 #endif
4546 
4547 #ifndef GL_SGIS_point_parameters
4548 #define GL_SGIS_point_parameters 1
4549 #ifdef GL_GLEXT_PROTOTYPES
4550 GLAPI void APIENTRY glPointParameterfSGIS (GLenum, GLfloat);
4551 GLAPI void APIENTRY glPointParameterfvSGIS (GLenum, const GLfloat *);
4552 #endif /* GL_GLEXT_PROTOTYPES */
4553 typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
4554 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
4555 #endif
4556 
4557 #ifndef GL_SGIX_instruments
4558 #define GL_SGIX_instruments 1
4559 #ifdef GL_GLEXT_PROTOTYPES
4560 GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
4561 GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei, GLint *);
4562 GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *);
4563 GLAPI void APIENTRY glReadInstrumentsSGIX (GLint);
4564 GLAPI void APIENTRY glStartInstrumentsSGIX (void);
4565 GLAPI void APIENTRY glStopInstrumentsSGIX (GLint);
4566 #endif /* GL_GLEXT_PROTOTYPES */
4567 typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
4568 typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
4569 typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
4570 typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
4571 typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
4572 typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
4573 #endif
4574 
4575 #ifndef GL_SGIX_texture_scale_bias
4576 #define GL_SGIX_texture_scale_bias 1
4577 #endif
4578 
4579 #ifndef GL_SGIX_framezoom
4580 #define GL_SGIX_framezoom 1
4581 #ifdef GL_GLEXT_PROTOTYPES
4582 GLAPI void APIENTRY glFrameZoomSGIX (GLint);
4583 #endif /* GL_GLEXT_PROTOTYPES */
4584 typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
4585 #endif
4586 
4587 #ifndef GL_SGIX_tag_sample_buffer
4588 #define GL_SGIX_tag_sample_buffer 1
4589 #ifdef GL_GLEXT_PROTOTYPES
4590 GLAPI void APIENTRY glTagSampleBufferSGIX (void);
4591 #endif /* GL_GLEXT_PROTOTYPES */
4592 typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
4593 #endif
4594 
4595 #ifndef GL_SGIX_polynomial_ffd
4596 #define GL_SGIX_polynomial_ffd 1
4597 #ifdef GL_GLEXT_PROTOTYPES
4598 GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
4599 GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
4600 GLAPI void APIENTRY glDeformSGIX (GLbitfield);
4601 GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield);
4602 #endif /* GL_GLEXT_PROTOTYPES */
4603 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);
4604 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);
4605 typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
4606 typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
4607 #endif
4608 
4609 #ifndef GL_SGIX_reference_plane
4610 #define GL_SGIX_reference_plane 1
4611 #ifdef GL_GLEXT_PROTOTYPES
4612 GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *);
4613 #endif /* GL_GLEXT_PROTOTYPES */
4614 typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
4615 #endif
4616 
4617 #ifndef GL_SGIX_flush_raster
4618 #define GL_SGIX_flush_raster 1
4619 #ifdef GL_GLEXT_PROTOTYPES
4620 GLAPI void APIENTRY glFlushRasterSGIX (void);
4621 #endif /* GL_GLEXT_PROTOTYPES */
4622 typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
4623 #endif
4624 
4625 #ifndef GL_SGIX_depth_texture
4626 #define GL_SGIX_depth_texture 1
4627 #endif
4628 
4629 #ifndef GL_SGIS_fog_function
4630 #define GL_SGIS_fog_function 1
4631 #ifdef GL_GLEXT_PROTOTYPES
4632 GLAPI void APIENTRY glFogFuncSGIS (GLsizei, const GLfloat *);
4633 GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *);
4634 #endif /* GL_GLEXT_PROTOTYPES */
4635 typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
4636 typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
4637 #endif
4638 
4639 #ifndef GL_SGIX_fog_offset
4640 #define GL_SGIX_fog_offset 1
4641 #endif
4642 
4643 #ifndef GL_HP_image_transform
4644 #define GL_HP_image_transform 1
4645 #ifdef GL_GLEXT_PROTOTYPES
4646 GLAPI void APIENTRY glImageTransformParameteriHP (GLenum, GLenum, GLint);
4647 GLAPI void APIENTRY glImageTransformParameterfHP (GLenum, GLenum, GLfloat);
4648 GLAPI void APIENTRY glImageTransformParameterivHP (GLenum, GLenum, const GLint *);
4649 GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum, GLenum, const GLfloat *);
4650 GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum, GLenum, GLint *);
4651 GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum, GLenum, GLfloat *);
4652 #endif /* GL_GLEXT_PROTOTYPES */
4653 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
4654 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
4655 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
4656 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
4657 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
4658 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
4659 #endif
4660 
4661 #ifndef GL_HP_convolution_border_modes
4662 #define GL_HP_convolution_border_modes 1
4663 #endif
4664 
4665 #ifndef GL_SGIX_texture_add_env
4666 #define GL_SGIX_texture_add_env 1
4667 #endif
4668 
4669 #ifndef GL_EXT_color_subtable
4670 #define GL_EXT_color_subtable 1
4671 #ifdef GL_GLEXT_PROTOTYPES
4672 GLAPI void APIENTRY glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
4673 GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei);
4674 #endif /* GL_GLEXT_PROTOTYPES */
4675 typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
4676 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
4677 #endif
4678 
4679 #ifndef GL_PGI_vertex_hints
4680 #define GL_PGI_vertex_hints 1
4681 #endif
4682 
4683 #ifndef GL_PGI_misc_hints
4684 #define GL_PGI_misc_hints 1
4685 #ifdef GL_GLEXT_PROTOTYPES
4686 GLAPI void APIENTRY glHintPGI (GLenum, GLint);
4687 #endif /* GL_GLEXT_PROTOTYPES */
4688 typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
4689 #endif
4690 
4691 #ifndef GL_EXT_paletted_texture
4692 #define GL_EXT_paletted_texture 1
4693 #ifdef GL_GLEXT_PROTOTYPES
4694 GLAPI void APIENTRY glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
4695 GLAPI void APIENTRY glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *);
4696 GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum, GLenum, GLint *);
4697 GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat *);
4698 #endif /* GL_GLEXT_PROTOTYPES */
4699 typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
4700 typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data);
4701 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
4702 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
4703 #endif
4704 
4705 #ifndef GL_EXT_clip_volume_hint
4706 #define GL_EXT_clip_volume_hint 1
4707 #endif
4708 
4709 #ifndef GL_SGIX_list_priority
4710 #define GL_SGIX_list_priority 1
4711 #ifdef GL_GLEXT_PROTOTYPES
4712 GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *);
4713 GLAPI void APIENTRY glGetListParameterivSGIX (GLuint, GLenum, GLint *);
4714 GLAPI void APIENTRY glListParameterfSGIX (GLuint, GLenum, GLfloat);
4715 GLAPI void APIENTRY glListParameterfvSGIX (GLuint, GLenum, const GLfloat *);
4716 GLAPI void APIENTRY glListParameteriSGIX (GLuint, GLenum, GLint);
4717 GLAPI void APIENTRY glListParameterivSGIX (GLuint, GLenum, const GLint *);
4718 #endif /* GL_GLEXT_PROTOTYPES */
4719 typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
4720 typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
4721 typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
4722 typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
4723 typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
4724 typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
4725 #endif
4726 
4727 #ifndef GL_SGIX_ir_instrument1
4728 #define GL_SGIX_ir_instrument1 1
4729 #endif
4730 
4731 #ifndef GL_SGIX_calligraphic_fragment
4732 #define GL_SGIX_calligraphic_fragment 1
4733 #endif
4734 
4735 #ifndef GL_SGIX_texture_lod_bias
4736 #define GL_SGIX_texture_lod_bias 1
4737 #endif
4738 
4739 #ifndef GL_SGIX_shadow_ambient
4740 #define GL_SGIX_shadow_ambient 1
4741 #endif
4742 
4743 #ifndef GL_EXT_index_texture
4744 #define GL_EXT_index_texture 1
4745 #endif
4746 
4747 #ifndef GL_EXT_index_material
4748 #define GL_EXT_index_material 1
4749 #ifdef GL_GLEXT_PROTOTYPES
4750 GLAPI void APIENTRY glIndexMaterialEXT (GLenum, GLenum);
4751 #endif /* GL_GLEXT_PROTOTYPES */
4752 typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
4753 #endif
4754 
4755 #ifndef GL_EXT_index_func
4756 #define GL_EXT_index_func 1
4757 #ifdef GL_GLEXT_PROTOTYPES
4758 GLAPI void APIENTRY glIndexFuncEXT (GLenum, GLclampf);
4759 #endif /* GL_GLEXT_PROTOTYPES */
4760 typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
4761 #endif
4762 
4763 #ifndef GL_EXT_index_array_formats
4764 #define GL_EXT_index_array_formats 1
4765 #endif
4766 
4767 #ifndef GL_EXT_compiled_vertex_array
4768 #define GL_EXT_compiled_vertex_array 1
4769 #ifdef GL_GLEXT_PROTOTYPES
4770 GLAPI void APIENTRY glLockArraysEXT (GLint, GLsizei);
4771 GLAPI void APIENTRY glUnlockArraysEXT (void);
4772 #endif /* GL_GLEXT_PROTOTYPES */
4773 typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
4774 typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
4775 #endif
4776 
4777 #ifndef GL_EXT_cull_vertex
4778 #define GL_EXT_cull_vertex 1
4779 #ifdef GL_GLEXT_PROTOTYPES
4780 GLAPI void APIENTRY glCullParameterdvEXT (GLenum, GLdouble *);
4781 GLAPI void APIENTRY glCullParameterfvEXT (GLenum, GLfloat *);
4782 #endif /* GL_GLEXT_PROTOTYPES */
4783 typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
4784 typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
4785 #endif
4786 
4787 #ifndef GL_SGIX_ycrcb
4788 #define GL_SGIX_ycrcb 1
4789 #endif
4790 
4791 #ifndef GL_SGIX_fragment_lighting
4792 #define GL_SGIX_fragment_lighting 1
4793 #ifdef GL_GLEXT_PROTOTYPES
4794 GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum, GLenum);
4795 GLAPI void APIENTRY glFragmentLightfSGIX (GLenum, GLenum, GLfloat);
4796 GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *);
4797 GLAPI void APIENTRY glFragmentLightiSGIX (GLenum, GLenum, GLint);
4798 GLAPI void APIENTRY glFragmentLightivSGIX (GLenum, GLenum, const GLint *);
4799 GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum, GLfloat);
4800 GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum, const GLfloat *);
4801 GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum, GLint);
4802 GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum, const GLint *);
4803 GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat);
4804 GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat *);
4805 GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum, GLenum, GLint);
4806 GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum, GLenum, const GLint *);
4807 GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *);
4808 GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum, GLenum, GLint *);
4809 GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *);
4810 GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *);
4811 GLAPI void APIENTRY glLightEnviSGIX (GLenum, GLint);
4812 #endif /* GL_GLEXT_PROTOTYPES */
4813 typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
4814 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
4815 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
4816 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
4817 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
4818 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
4819 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
4820 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
4821 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
4822 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
4823 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
4824 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
4825 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
4826 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
4827 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
4828 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
4829 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
4830 typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
4831 #endif
4832 
4833 #ifndef GL_IBM_rasterpos_clip
4834 #define GL_IBM_rasterpos_clip 1
4835 #endif
4836 
4837 #ifndef GL_HP_texture_lighting
4838 #define GL_HP_texture_lighting 1
4839 #endif
4840 
4841 #ifndef GL_EXT_draw_range_elements
4842 #define GL_EXT_draw_range_elements 1
4843 #ifdef GL_GLEXT_PROTOTYPES
4844 GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
4845 #endif /* GL_GLEXT_PROTOTYPES */
4846 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
4847 #endif
4848 
4849 #ifndef GL_WIN_phong_shading
4850 #define GL_WIN_phong_shading 1
4851 #endif
4852 
4853 #ifndef GL_WIN_specular_fog
4854 #define GL_WIN_specular_fog 1
4855 #endif
4856 
4857 #ifndef GL_EXT_light_texture
4858 #define GL_EXT_light_texture 1
4859 #ifdef GL_GLEXT_PROTOTYPES
4860 GLAPI void APIENTRY glApplyTextureEXT (GLenum);
4861 GLAPI void APIENTRY glTextureLightEXT (GLenum);
4862 GLAPI void APIENTRY glTextureMaterialEXT (GLenum, GLenum);
4863 #endif /* GL_GLEXT_PROTOTYPES */
4864 typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
4865 typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
4866 typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
4867 #endif
4868 
4869 #ifndef GL_SGIX_blend_alpha_minmax
4870 #define GL_SGIX_blend_alpha_minmax 1
4871 #endif
4872 
4873 #ifndef GL_EXT_bgra
4874 #define GL_EXT_bgra 1
4875 #endif
4876 
4877 #ifndef GL_SGIX_async
4878 #define GL_SGIX_async 1
4879 #ifdef GL_GLEXT_PROTOTYPES
4880 GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint);
4881 GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *);
4882 GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *);
4883 GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei);
4884 GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint, GLsizei);
4885 GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint);
4886 #endif /* GL_GLEXT_PROTOTYPES */
4887 typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
4888 typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
4889 typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
4890 typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
4891 typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
4892 typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
4893 #endif
4894 
4895 #ifndef GL_SGIX_async_pixel
4896 #define GL_SGIX_async_pixel 1
4897 #endif
4898 
4899 #ifndef GL_SGIX_async_histogram
4900 #define GL_SGIX_async_histogram 1
4901 #endif
4902 
4903 #ifndef GL_INTEL_parallel_arrays
4904 #define GL_INTEL_parallel_arrays 1
4905 #ifdef GL_GLEXT_PROTOTYPES
4906 GLAPI void APIENTRY glVertexPointervINTEL (GLint, GLenum, const GLvoid* *);
4907 GLAPI void APIENTRY glNormalPointervINTEL (GLenum, const GLvoid* *);
4908 GLAPI void APIENTRY glColorPointervINTEL (GLint, GLenum, const GLvoid* *);
4909 GLAPI void APIENTRY glTexCoordPointervINTEL (GLint, GLenum, const GLvoid* *);
4910 #endif /* GL_GLEXT_PROTOTYPES */
4911 typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
4912 typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer);
4913 typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
4914 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
4915 #endif
4916 
4917 #ifndef GL_HP_occlusion_test
4918 #define GL_HP_occlusion_test 1
4919 #endif
4920 
4921 #ifndef GL_EXT_pixel_transform
4922 #define GL_EXT_pixel_transform 1
4923 #ifdef GL_GLEXT_PROTOTYPES
4924 GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum, GLenum, GLint);
4925 GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum, GLenum, GLfloat);
4926 GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum, GLenum, const GLint *);
4927 GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum, GLenum, const GLfloat *);
4928 #endif /* GL_GLEXT_PROTOTYPES */
4929 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
4930 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
4931 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
4932 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
4933 #endif
4934 
4935 #ifndef GL_EXT_pixel_transform_color_table
4936 #define GL_EXT_pixel_transform_color_table 1
4937 #endif
4938 
4939 #ifndef GL_EXT_shared_texture_palette
4940 #define GL_EXT_shared_texture_palette 1
4941 #endif
4942 
4943 #ifndef GL_EXT_separate_specular_color
4944 #define GL_EXT_separate_specular_color 1
4945 #endif
4946 
4947 #ifndef GL_EXT_secondary_color
4948 #define GL_EXT_secondary_color 1
4949 #ifdef GL_GLEXT_PROTOTYPES
4950 GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte, GLbyte, GLbyte);
4951 GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *);
4952 GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble, GLdouble, GLdouble);
4953 GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *);
4954 GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat, GLfloat, GLfloat);
4955 GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *);
4956 GLAPI void APIENTRY glSecondaryColor3iEXT (GLint, GLint, GLint);
4957 GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *);
4958 GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort, GLshort, GLshort);
4959 GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *);
4960 GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte, GLubyte, GLubyte);
4961 GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *);
4962 GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint, GLuint, GLuint);
4963 GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *);
4964 GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort, GLushort, GLushort);
4965 GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *);
4966 GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint, GLenum, GLsizei, const GLvoid *);
4967 #endif /* GL_GLEXT_PROTOTYPES */
4968 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
4969 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
4970 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
4971 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
4972 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
4973 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
4974 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
4975 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
4976 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
4977 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
4978 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
4979 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
4980 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
4981 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
4982 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
4983 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
4984 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
4985 #endif
4986 
4987 #ifndef GL_EXT_texture_perturb_normal
4988 #define GL_EXT_texture_perturb_normal 1
4989 #ifdef GL_GLEXT_PROTOTYPES
4990 GLAPI void APIENTRY glTextureNormalEXT (GLenum);
4991 #endif /* GL_GLEXT_PROTOTYPES */
4992 typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
4993 #endif
4994 
4995 #ifndef GL_EXT_multi_draw_arrays
4996 #define GL_EXT_multi_draw_arrays 1
4997 #ifdef GL_GLEXT_PROTOTYPES
4998 GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsizei);
4999 GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
5000 #endif /* GL_GLEXT_PROTOTYPES */
5001 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
5002 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
5003 #endif
5004 
5005 #ifndef GL_EXT_fog_coord
5006 #define GL_EXT_fog_coord 1
5007 #ifdef GL_GLEXT_PROTOTYPES
5008 GLAPI void APIENTRY glFogCoordfEXT (GLfloat);
5009 GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *);
5010 GLAPI void APIENTRY glFogCoorddEXT (GLdouble);
5011 GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *);
5012 GLAPI void APIENTRY glFogCoordPointerEXT (GLenum, GLsizei, const GLvoid *);
5013 #endif /* GL_GLEXT_PROTOTYPES */
5014 typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
5015 typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
5016 typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
5017 typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
5018 typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
5019 #endif
5020 
5021 #ifndef GL_REND_screen_coordinates
5022 #define GL_REND_screen_coordinates 1
5023 #endif
5024 
5025 #ifndef GL_EXT_coordinate_frame
5026 #define GL_EXT_coordinate_frame 1
5027 #ifdef GL_GLEXT_PROTOTYPES
5028 GLAPI void APIENTRY glTangent3bEXT (GLbyte, GLbyte, GLbyte);
5029 GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *);
5030 GLAPI void APIENTRY glTangent3dEXT (GLdouble, GLdouble, GLdouble);
5031 GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *);
5032 GLAPI void APIENTRY glTangent3fEXT (GLfloat, GLfloat, GLfloat);
5033 GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *);
5034 GLAPI void APIENTRY glTangent3iEXT (GLint, GLint, GLint);
5035 GLAPI void APIENTRY glTangent3ivEXT (const GLint *);
5036 GLAPI void APIENTRY glTangent3sEXT (GLshort, GLshort, GLshort);
5037 GLAPI void APIENTRY glTangent3svEXT (const GLshort *);
5038 GLAPI void APIENTRY glBinormal3bEXT (GLbyte, GLbyte, GLbyte);
5039 GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *);
5040 GLAPI void APIENTRY glBinormal3dEXT (GLdouble, GLdouble, GLdouble);
5041 GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *);
5042 GLAPI void APIENTRY glBinormal3fEXT (GLfloat, GLfloat, GLfloat);
5043 GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *);
5044 GLAPI void APIENTRY glBinormal3iEXT (GLint, GLint, GLint);
5045 GLAPI void APIENTRY glBinormal3ivEXT (const GLint *);
5046 GLAPI void APIENTRY glBinormal3sEXT (GLshort, GLshort, GLshort);
5047 GLAPI void APIENTRY glBinormal3svEXT (const GLshort *);
5048 GLAPI void APIENTRY glTangentPointerEXT (GLenum, GLsizei, const GLvoid *);
5049 GLAPI void APIENTRY glBinormalPointerEXT (GLenum, GLsizei, const GLvoid *);
5050 #endif /* GL_GLEXT_PROTOTYPES */
5051 typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
5052 typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
5053 typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
5054 typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
5055 typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
5056 typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
5057 typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
5058 typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
5059 typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
5060 typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
5061 typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
5062 typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
5063 typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
5064 typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
5065 typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
5066 typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
5067 typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
5068 typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
5069 typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
5070 typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
5071 typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
5072 typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
5073 #endif
5074 
5075 #ifndef GL_EXT_texture_env_combine
5076 #define GL_EXT_texture_env_combine 1
5077 #endif
5078 
5079 #ifndef GL_APPLE_specular_vector
5080 #define GL_APPLE_specular_vector 1
5081 #endif
5082 
5083 #ifndef GL_APPLE_transform_hint
5084 #define GL_APPLE_transform_hint 1
5085 #endif
5086 
5087 #ifndef GL_SGIX_fog_scale
5088 #define GL_SGIX_fog_scale 1
5089 #endif
5090 
5091 #ifndef GL_SUNX_constant_data
5092 #define GL_SUNX_constant_data 1
5093 #ifdef GL_GLEXT_PROTOTYPES
5094 GLAPI void APIENTRY glFinishTextureSUNX (void);
5095 #endif /* GL_GLEXT_PROTOTYPES */
5096 typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
5097 #endif
5098 
5099 #ifndef GL_SUN_global_alpha
5100 #define GL_SUN_global_alpha 1
5101 #ifdef GL_GLEXT_PROTOTYPES
5102 GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte);
5103 GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort);
5104 GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint);
5105 GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat);
5106 GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble);
5107 GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte);
5108 GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort);
5109 GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint);
5110 #endif /* GL_GLEXT_PROTOTYPES */
5111 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
5112 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
5113 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
5114 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
5115 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
5116 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
5117 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
5118 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
5119 #endif
5120 
5121 #ifndef GL_SUN_triangle_list
5122 #define GL_SUN_triangle_list 1
5123 #ifdef GL_GLEXT_PROTOTYPES
5124 GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint);
5125 GLAPI void APIENTRY glReplacementCodeusSUN (GLushort);
5126 GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte);
5127 GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *);
5128 GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *);
5129 GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *);
5130 GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum, GLsizei, const GLvoid* *);
5131 #endif /* GL_GLEXT_PROTOTYPES */
5132 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
5133 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
5134 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
5135 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
5136 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
5137 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
5138 typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer);
5139 #endif

5140 
5141 #ifndef GL_SUN_vertex
5142 #define GL_SUN_vertex 1
























































































































































5143 #ifdef GL_GLEXT_PROTOTYPES
5144 GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat);
5145 GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *, const GLfloat *);
5146 GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
5147 GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *, const GLfloat *);
5148 GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
5149 GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *, const GLfloat *);
5150 GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
5151 GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *);
5152 GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
5153 GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
5154 GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
5155 GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *, const GLfloat *);
5156 GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
5157 GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *, const GLfloat *);
5158 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat, GLfloat, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
5159 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *, const GLubyte *, const GLfloat *);
5160 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
5161 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
5162 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
5163 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
5164 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
5165 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
5166 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
5167 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
5168 GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat);
5169 GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *, const GLfloat *);
5170 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
5171 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *, const GLubyte *, const GLfloat *);
5172 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
5173 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *);
5174 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
5175 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *);
5176 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
5177 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *);
5178 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
5179 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *);
5180 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
5181 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *);
5182 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
5183 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
5184 #endif /* GL_GLEXT_PROTOTYPES */
5185 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
5186 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
5187 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
5188 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
5189 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
5190 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
5191 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
5192 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
5193 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
5194 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
5195 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
5196 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
5197 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5198 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
5199 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
5200 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
5201 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
5202 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
5203 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
5204 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
5205 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);
5206 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
5207 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);
5208 typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
5209 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
5210 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
5211 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
5212 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
5213 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
5214 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
5215 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
5216 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
5217 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);
5218 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
5219 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
5220 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
5221 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
5222 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
5223 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);
5224 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
5225 #endif

5226 
5227 #ifndef GL_EXT_blend_func_separate
5228 #define GL_EXT_blend_func_separate 1
















5229 #ifdef GL_GLEXT_PROTOTYPES
5230 GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum, GLenum, GLenum, GLenum);
5231 #endif /* GL_GLEXT_PROTOTYPES */
5232 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
5233 #endif

5234 
5235 #ifndef GL_INGR_blend_func_separate
5236 #define GL_INGR_blend_func_separate 1


5237 #ifdef GL_GLEXT_PROTOTYPES
5238 GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum, GLenum, GLenum, GLenum);
5239 #endif /* GL_GLEXT_PROTOTYPES */
5240 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
5241 #endif

5242 
5243 #ifndef GL_INGR_color_clamp
5244 #define GL_INGR_color_clamp 1









5245 #endif

5246 
5247 #ifndef GL_INGR_interlace_read
5248 #define GL_INGR_interlace_read 1




5249 #endif

5250 
5251 #ifndef GL_EXT_stencil_wrap
5252 #define GL_EXT_stencil_wrap 1



5253 #endif

5254 
5255 #ifndef GL_EXT_422_pixels
5256 #define GL_EXT_422_pixels 1



5257 #endif

5258 
5259 #ifndef GL_NV_texgen_reflection
5260 #define GL_NV_texgen_reflection 1
5261 #endif




5262 
5263 #ifndef GL_SUN_convolution_border_modes
5264 #define GL_SUN_convolution_border_modes 1




























5265 #endif

5266 
5267 #ifndef GL_EXT_texture_env_add
5268 #define GL_EXT_texture_env_add 1
5269 #endif


5270 
5271 #ifndef GL_EXT_texture_lod_bias
5272 #define GL_EXT_texture_lod_bias 1
5273 #endif



5274 
5275 #ifndef GL_EXT_texture_filter_anisotropic
5276 #define GL_EXT_texture_filter_anisotropic 1
5277 #endif

5278 
5279 #ifndef GL_EXT_vertex_weighting
5280 #define GL_EXT_vertex_weighting 1


5281 #ifdef GL_GLEXT_PROTOTYPES
5282 GLAPI void APIENTRY glVertexWeightfEXT (GLfloat);
5283 GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *);
5284 GLAPI void APIENTRY glVertexWeightPointerEXT (GLsizei, GLenum, GLsizei, const GLvoid *);
5285 #endif /* GL_GLEXT_PROTOTYPES */
5286 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
5287 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
5288 typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer);
5289 #endif

5290 
5291 #ifndef GL_NV_light_max_exponent
5292 #define GL_NV_light_max_exponent 1
5293 #endif

5294 
5295 #ifndef GL_NV_vertex_array_range
5296 #define GL_NV_vertex_array_range 1



5297 #ifdef GL_GLEXT_PROTOTYPES
5298 GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
5299 GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei, const GLvoid *);
5300 #endif /* GL_GLEXT_PROTOTYPES */
5301 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
5302 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer);
5303 #endif

5304 
5305 #ifndef GL_NV_register_combiners
5306 #define GL_NV_register_combiners 1
5307 #ifdef GL_GLEXT_PROTOTYPES
5308 GLAPI void APIENTRY glCombinerParameterfvNV (GLenum, const GLfloat *);
5309 GLAPI void APIENTRY glCombinerParameterfNV (GLenum, GLfloat);
5310 GLAPI void APIENTRY glCombinerParameterivNV (GLenum, const GLint *);
5311 GLAPI void APIENTRY glCombinerParameteriNV (GLenum, GLint);
5312 GLAPI void APIENTRY glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum);
5313 GLAPI void APIENTRY glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean);
5314 GLAPI void APIENTRY glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum);
5315 GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum, GLenum, GLfloat *);
5316 GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum, GLenum, GLint *);
5317 GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenum, GLfloat *);
5318 GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenum, GLint *);
5319 GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, GLfloat *);
5320 GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum, GLenum, GLint *);
5321 #endif /* GL_GLEXT_PROTOTYPES */
5322 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
5323 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
5324 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
5325 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
5326 typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
5327 typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
5328 typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
5329 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
5330 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
5331 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
5332 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
5333 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
5334 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
5335 #endif
5336 
5337 #ifndef GL_NV_fog_distance
5338 #define GL_NV_fog_distance 1

































5339 #endif

5340 
5341 #ifndef GL_NV_texgen_emboss
5342 #define GL_NV_texgen_emboss 1



5343 #endif

5344 
5345 #ifndef GL_NV_blend_square
5346 #define GL_NV_blend_square 1
5347 #endif








5348 
5349 #ifndef GL_NV_texture_env_combine4
5350 #define GL_NV_texture_env_combine4 1






































5351 #endif






















































































5352 
5353 #ifndef GL_MESA_resize_buffers
5354 #define GL_MESA_resize_buffers 1

5355 #ifdef GL_GLEXT_PROTOTYPES
5356 GLAPI void APIENTRY glResizeBuffersMESA (void);
5357 #endif /* GL_GLEXT_PROTOTYPES */
5358 typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
5359 #endif












5360 
5361 #ifndef GL_MESA_window_pos
5362 #define GL_MESA_window_pos 1
5363 #ifdef GL_GLEXT_PROTOTYPES
5364 GLAPI void APIENTRY glWindowPos2dMESA (GLdouble, GLdouble);
5365 GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *);
5366 GLAPI void APIENTRY glWindowPos2fMESA (GLfloat, GLfloat);
5367 GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *);
5368 GLAPI void APIENTRY glWindowPos2iMESA (GLint, GLint);
5369 GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *);
5370 GLAPI void APIENTRY glWindowPos2sMESA (GLshort, GLshort);
5371 GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *);
5372 GLAPI void APIENTRY glWindowPos3dMESA (GLdouble, GLdouble, GLdouble);
5373 GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *);
5374 GLAPI void APIENTRY glWindowPos3fMESA (GLfloat, GLfloat, GLfloat);
5375 GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *);
5376 GLAPI void APIENTRY glWindowPos3iMESA (GLint, GLint, GLint);
5377 GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *);
5378 GLAPI void APIENTRY glWindowPos3sMESA (GLshort, GLshort, GLshort);
5379 GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *);
5380 GLAPI void APIENTRY glWindowPos4dMESA (GLdouble, GLdouble, GLdouble, GLdouble);
5381 GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *);
5382 GLAPI void APIENTRY glWindowPos4fMESA (GLfloat, GLfloat, GLfloat, GLfloat);
5383 GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *);
5384 GLAPI void APIENTRY glWindowPos4iMESA (GLint, GLint, GLint, GLint);
5385 GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *);
5386 GLAPI void APIENTRY glWindowPos4sMESA (GLshort, GLshort, GLshort, GLshort);
5387 GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *);
5388 #endif /* GL_GLEXT_PROTOTYPES */
5389 typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
5390 typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
5391 typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
5392 typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
5393 typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
5394 typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
5395 typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
5396 typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
5397 typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
5398 typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
5399 typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
5400 typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
5401 typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
5402 typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
5403 typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
5404 typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
5405 typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5406 typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
5407 typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5408 typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
5409 typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
5410 typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
5411 typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
5412 typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);






























































































































































































































































































































































































































































































5413 #endif
















































5414 
5415 #ifndef GL_IBM_cull_vertex
5416 #define GL_IBM_cull_vertex 1
5417 #endif



5418 
5419 #ifndef GL_IBM_multimode_draw_arrays
5420 #define GL_IBM_multimode_draw_arrays 1



5421 #ifdef GL_GLEXT_PROTOTYPES
5422 GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint);
5423 GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *, const GLsizei *, GLenum, const GLvoid* const *, GLsizei, GLint);
5424 #endif /* GL_GLEXT_PROTOTYPES */
5425 typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
5426 typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride);
5427 #endif

5428 
5429 #ifndef GL_IBM_vertex_array_lists
5430 #define GL_IBM_vertex_array_lists 1












5431 #ifdef GL_GLEXT_PROTOTYPES
5432 GLAPI void APIENTRY glColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
5433 GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
5434 GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint, const GLboolean* *, GLint);
5435 GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
5436 GLAPI void APIENTRY glIndexPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
5437 GLAPI void APIENTRY glNormalPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
5438 GLAPI void APIENTRY glTexCoordPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
5439 GLAPI void APIENTRY glVertexPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
5440 #endif /* GL_GLEXT_PROTOTYPES */
5441 typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
5442 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
5443 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride);
5444 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
5445 typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
5446 typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
5447 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
5448 typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
5449 #endif

5450 
5451 #ifndef GL_SGIX_subsample
5452 #define GL_SGIX_subsample 1
5453 #endif





5454 
5455 #ifndef GL_SGIX_ycrcba
5456 #define GL_SGIX_ycrcba 1
5457 #endif
5458 
5459 #ifndef GL_SGIX_ycrcb_subsample
5460 #define GL_SGIX_ycrcb_subsample 1
5461 #endif
5462 
5463 #ifndef GL_SGIX_depth_pass_instrument
5464 #define GL_SGIX_depth_pass_instrument 1
5465 #endif






































































































































































5466 
5467 #ifndef GL_3DFX_texture_compression_FXT1
5468 #define GL_3DFX_texture_compression_FXT1 1











































































































5469 #endif

5470 
5471 #ifndef GL_3DFX_multisample
5472 #define GL_3DFX_multisample 1
5473 #endif


5474 
5475 #ifndef GL_3DFX_tbuffer
5476 #define GL_3DFX_tbuffer 1
5477 #ifdef GL_GLEXT_PROTOTYPES
5478 GLAPI void APIENTRY glTbufferMask3DFX (GLuint);
5479 #endif /* GL_GLEXT_PROTOTYPES */
5480 typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
5481 #endif






















































































5482 
5483 #ifndef GL_EXT_multisample
5484 #define GL_EXT_multisample 1
5485 #ifdef GL_GLEXT_PROTOTYPES
5486 GLAPI void APIENTRY glSampleMaskEXT (GLclampf, GLboolean);
5487 GLAPI void APIENTRY glSamplePatternEXT (GLenum);
5488 #endif /* GL_GLEXT_PROTOTYPES */
5489 typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
5490 typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
5491 #endif
5492 
5493 #ifndef GL_SGIX_vertex_preclip
5494 #define GL_SGIX_vertex_preclip 1



















5495 #endif

5496 
5497 #ifndef GL_SGIX_convolution_accuracy
5498 #define GL_SGIX_convolution_accuracy 1
5499 #endif


5500 
5501 #ifndef GL_SGIX_resample
5502 #define GL_SGIX_resample 1
5503 #endif































































































































































































































































































































5504 
5505 #ifndef GL_SGIS_point_line_texgen
5506 #define GL_SGIS_point_line_texgen 1











5507 #endif

5508 
5509 #ifndef GL_SGIS_texture_color_mask
5510 #define GL_SGIS_texture_color_mask 1





5511 #ifdef GL_GLEXT_PROTOTYPES
5512 GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean, GLboolean, GLboolean, GLboolean);
5513 #endif /* GL_GLEXT_PROTOTYPES */
5514 typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
5515 #endif

5516 
5517 #ifndef GL_SGIX_igloo_interface
5518 #define GL_SGIX_igloo_interface 1
5519 #ifdef GL_GLEXT_PROTOTYPES
5520 GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum, const GLvoid *);
5521 #endif /* GL_GLEXT_PROTOTYPES */
5522 typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const GLvoid *params);















5523 #endif

5524 
5525 #ifndef GL_EXT_texture_env_dot3
5526 #define GL_EXT_texture_env_dot3 1







5527 #endif

5528 
5529 #ifndef GL_ATI_texture_mirror_once
5530 #define GL_ATI_texture_mirror_once 1





















5531 #endif

5532 
5533 #ifndef GL_NV_fence
5534 #define GL_NV_fence 1






























































5535 #ifdef GL_GLEXT_PROTOTYPES
5536 GLAPI void APIENTRY glDeleteFencesNV (GLsizei, const GLuint *);
5537 GLAPI void APIENTRY glGenFencesNV (GLsizei, GLuint *);
5538 GLAPI GLboolean APIENTRY glIsFenceNV (GLuint);
5539 GLAPI GLboolean APIENTRY glTestFenceNV (GLuint);
5540 GLAPI void APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *);
5541 GLAPI void APIENTRY glFinishFenceNV (GLuint);
5542 GLAPI void APIENTRY glSetFenceNV (GLuint, GLenum);
5543 #endif /* GL_GLEXT_PROTOTYPES */
5544 typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
5545 typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
5546 typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
5547 typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
5548 typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
5549 typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
5550 typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
5551 #endif

5552 
5553 #ifndef GL_NV_evaluators
5554 #define GL_NV_evaluators 1



5555 #ifdef GL_GLEXT_PROTOTYPES
5556 GLAPI void APIENTRY glMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLint, GLint, GLboolean, const GLvoid *);
5557 GLAPI void APIENTRY glMapParameterivNV (GLenum, GLenum, const GLint *);
5558 GLAPI void APIENTRY glMapParameterfvNV (GLenum, GLenum, const GLfloat *);
5559 GLAPI void APIENTRY glGetMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLboolean, GLvoid *);
5560 GLAPI void APIENTRY glGetMapParameterivNV (GLenum, GLenum, GLint *);
5561 GLAPI void APIENTRY glGetMapParameterfvNV (GLenum, GLenum, GLfloat *);
5562 GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum, GLuint, GLenum, GLint *);
5563 GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum, GLuint, GLenum, GLfloat *);
5564 GLAPI void APIENTRY glEvalMapsNV (GLenum, GLenum);
5565 #endif /* GL_GLEXT_PROTOTYPES */
5566 typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
5567 typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
5568 typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
5569 typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
5570 typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
5571 typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
5572 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
5573 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
5574 typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
5575 #endif

5576 
5577 #ifndef GL_NV_packed_depth_stencil
5578 #define GL_NV_packed_depth_stencil 1
5579 #endif















































































































































































5580 
5581 #ifndef GL_NV_register_combiners2
5582 #define GL_NV_register_combiners2 1














5583 #ifdef GL_GLEXT_PROTOTYPES
5584 GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum, GLenum, const GLfloat *);
5585 GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum, GLenum, GLfloat *);
5586 #endif /* GL_GLEXT_PROTOTYPES */
5587 typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
5588 typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
5589 #endif

5590 
5591 #ifndef GL_NV_texture_compression_vtc
5592 #define GL_NV_texture_compression_vtc 1

































5593 #endif

5594 
5595 #ifndef GL_NV_texture_rectangle
5596 #define GL_NV_texture_rectangle 1
5597 #endif








5598 
5599 #ifndef GL_NV_texture_shader
5600 #define GL_NV_texture_shader 1
5601 #endif









































































5602 
5603 #ifndef GL_NV_texture_shader2
5604 #define GL_NV_texture_shader2 1







































































































































































5605 #endif

5606 
5607 #ifndef GL_NV_vertex_array_range2
5608 #define GL_NV_vertex_array_range2 1



































































































5609 #endif

5610 
5611 #ifndef GL_NV_vertex_program
5612 #define GL_NV_vertex_program 1
5613 #ifdef GL_GLEXT_PROTOTYPES
5614 GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei, const GLuint *, GLboolean *);
5615 GLAPI void APIENTRY glBindProgramNV (GLenum, GLuint);
5616 GLAPI void APIENTRY glDeleteProgramsNV (GLsizei, const GLuint *);
5617 GLAPI void APIENTRY glExecuteProgramNV (GLenum, GLuint, const GLfloat *);
5618 GLAPI void APIENTRY glGenProgramsNV (GLsizei, GLuint *);
5619 GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum, GLuint, GLenum, GLdouble *);
5620 GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum, GLuint, GLenum, GLfloat *);
5621 GLAPI void APIENTRY glGetProgramivNV (GLuint, GLenum, GLint *);
5622 GLAPI void APIENTRY glGetProgramStringNV (GLuint, GLenum, GLubyte *);
5623 GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum, GLuint, GLenum, GLint *);
5624 GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint, GLenum, GLdouble *);
5625 GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint, GLenum, GLfloat *);
5626 GLAPI void APIENTRY glGetVertexAttribivNV (GLuint, GLenum, GLint *);
5627 GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint, GLenum, GLvoid* *);
5628 GLAPI GLboolean APIENTRY glIsProgramNV (GLuint);
5629 GLAPI void APIENTRY glLoadProgramNV (GLenum, GLuint, GLsizei, const GLubyte *);
5630 GLAPI void APIENTRY glProgramParameter4dNV (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
5631 GLAPI void APIENTRY glProgramParameter4dvNV (GLenum, GLuint, const GLdouble *);
5632 GLAPI void APIENTRY glProgramParameter4fNV (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
5633 GLAPI void APIENTRY glProgramParameter4fvNV (GLenum, GLuint, const GLfloat *);
5634 GLAPI void APIENTRY glProgramParameters4dvNV (GLenum, GLuint, GLuint, const GLdouble *);
5635 GLAPI void APIENTRY glProgramParameters4fvNV (GLenum, GLuint, GLuint, const GLfloat *);
5636 GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei, const GLuint *);
5637 GLAPI void APIENTRY glTrackMatrixNV (GLenum, GLuint, GLenum, GLenum);
5638 GLAPI void APIENTRY glVertexAttribPointerNV (GLuint, GLint, GLenum, GLsizei, const GLvoid *);
5639 GLAPI void APIENTRY glVertexAttrib1dNV (GLuint, GLdouble);
5640 GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint, const GLdouble *);
5641 GLAPI void APIENTRY glVertexAttrib1fNV (GLuint, GLfloat);
5642 GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint, const GLfloat *);
5643 GLAPI void APIENTRY glVertexAttrib1sNV (GLuint, GLshort);
5644 GLAPI void APIENTRY glVertexAttrib1svNV (GLuint, const GLshort *);
5645 GLAPI void APIENTRY glVertexAttrib2dNV (GLuint, GLdouble, GLdouble);
5646 GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint, const GLdouble *);
5647 GLAPI void APIENTRY glVertexAttrib2fNV (GLuint, GLfloat, GLfloat);
5648 GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint, const GLfloat *);
5649 GLAPI void APIENTRY glVertexAttrib2sNV (GLuint, GLshort, GLshort);
5650 GLAPI void APIENTRY glVertexAttrib2svNV (GLuint, const GLshort *);
5651 GLAPI void APIENTRY glVertexAttrib3dNV (GLuint, GLdouble, GLdouble, GLdouble);
5652 GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint, const GLdouble *);
5653 GLAPI void APIENTRY glVertexAttrib3fNV (GLuint, GLfloat, GLfloat, GLfloat);
5654 GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint, const GLfloat *);
5655 GLAPI void APIENTRY glVertexAttrib3sNV (GLuint, GLshort, GLshort, GLshort);
5656 GLAPI void APIENTRY glVertexAttrib3svNV (GLuint, const GLshort *);
5657 GLAPI void APIENTRY glVertexAttrib4dNV (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
5658 GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint, const GLdouble *);
5659 GLAPI void APIENTRY glVertexAttrib4fNV (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
5660 GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint, const GLfloat *);
5661 GLAPI void APIENTRY glVertexAttrib4sNV (GLuint, GLshort, GLshort, GLshort, GLshort);
5662 GLAPI void APIENTRY glVertexAttrib4svNV (GLuint, const GLshort *);
5663 GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
5664 GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint, const GLubyte *);
5665 GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint, GLsizei, const GLdouble *);
5666 GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint, GLsizei, const GLfloat *);
5667 GLAPI void APIENTRY glVertexAttribs1svNV (GLuint, GLsizei, const GLshort *);
5668 GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint, GLsizei, const GLdouble *);
5669 GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint, GLsizei, const GLfloat *);
5670 GLAPI void APIENTRY glVertexAttribs2svNV (GLuint, GLsizei, const GLshort *);
5671 GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint, GLsizei, const GLdouble *);
5672 GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint, GLsizei, const GLfloat *);
5673 GLAPI void APIENTRY glVertexAttribs3svNV (GLuint, GLsizei, const GLshort *);
5674 GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint, GLsizei, const GLdouble *);
5675 GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint, GLsizei, const GLfloat *);
5676 GLAPI void APIENTRY glVertexAttribs4svNV (GLuint, GLsizei, const GLshort *);
5677 GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint, GLsizei, const GLubyte *);
5678 #endif /* GL_GLEXT_PROTOTYPES */

















5679 typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
5680 typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
5681 typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
5682 typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
5683 typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
5684 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
5685 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
5686 typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
5687 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
5688 typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
5689 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
5690 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
5691 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
5692 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
5693 typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
5694 typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
5695 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5696 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
5697 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5698 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
5699 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLuint count, const GLdouble *v);
5700 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLuint count, const GLfloat *v);
5701 typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
5702 typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
5703 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer);
5704 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
5705 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
5706 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
5707 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
5708 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
5709 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
5710 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
5711 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
5712 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
5713 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
5714 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
5715 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
5716 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
5717 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
5718 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
5719 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
5720 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
5721 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
5722 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
5723 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
5724 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
5725 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
5726 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
5727 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
5728 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
5729 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
5730 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
5731 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
5732 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
5733 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
5734 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
5735 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
5736 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
5737 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
5738 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
5739 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
5740 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
5741 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
5742 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);

































































5743 #endif

5744 
5745 #ifndef GL_SGIX_texture_coordinate_clamp
5746 #define GL_SGIX_texture_coordinate_clamp 1
5747 #endif
5748 
5749 #ifndef GL_SGIX_scalebias_hint
5750 #define GL_SGIX_scalebias_hint 1















































































































































5751 #endif

5752 
5753 #ifndef GL_OML_interlace
5754 #define GL_OML_interlace 1
5755 #endif












5756 
5757 #ifndef GL_OML_subsample
5758 #define GL_OML_subsample 1
5759 #endif


5760 
5761 #ifndef GL_OML_resample
5762 #define GL_OML_resample 1
5763 #endif












5764 
5765 #ifndef GL_NV_copy_depth_to_color
5766 #define GL_NV_copy_depth_to_color 1























5767 #endif

5768 
5769 #ifndef GL_ATI_envmap_bumpmap
5770 #define GL_ATI_envmap_bumpmap 1




















































5771 #ifdef GL_GLEXT_PROTOTYPES
5772 GLAPI void APIENTRY glTexBumpParameterivATI (GLenum, const GLint *);
5773 GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum, const GLfloat *);
5774 GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum, GLint *);
5775 GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum, GLfloat *);
5776 #endif /* GL_GLEXT_PROTOTYPES */
5777 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
5778 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
5779 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
5780 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
5781 #endif

5782 
5783 #ifndef GL_ATI_fragment_shader
5784 #define GL_ATI_fragment_shader 1





5785 #ifdef GL_GLEXT_PROTOTYPES
5786 GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint);
5787 GLAPI void APIENTRY glBindFragmentShaderATI (GLuint);
5788 GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint);
5789 GLAPI void APIENTRY glBeginFragmentShaderATI (void);
5790 GLAPI void APIENTRY glEndFragmentShaderATI (void);
5791 GLAPI void APIENTRY glPassTexCoordATI (GLuint, GLuint, GLenum);
5792 GLAPI void APIENTRY glSampleMapATI (GLuint, GLuint, GLenum);
5793 GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
5794 GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
5795 GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
5796 GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint);
5797 GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
5798 GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
5799 GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint, const GLfloat *);
5800 #endif /* GL_GLEXT_PROTOTYPES */
5801 typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
5802 typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
5803 typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
5804 typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
5805 typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
5806 typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
5807 typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
5808 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5809 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
5810 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);
5811 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
5812 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
5813 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);
5814 typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
5815 #endif

5816 
5817 #ifndef GL_ATI_pn_triangles
5818 #define GL_ATI_pn_triangles 1
























5819 #ifdef GL_GLEXT_PROTOTYPES
5820 GLAPI void APIENTRY glPNTrianglesiATI (GLenum, GLint);
5821 GLAPI void APIENTRY glPNTrianglesfATI (GLenum, GLfloat);
5822 #endif /* GL_GLEXT_PROTOTYPES */
5823 typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
5824 typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
5825 #endif

5826 
5827 #ifndef GL_ATI_vertex_array_object
5828 #define GL_ATI_vertex_array_object 1










5829 #ifdef GL_GLEXT_PROTOTYPES
5830 GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei, const GLvoid *, GLenum);
5831 GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint);
5832 GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint, GLuint, GLsizei, const GLvoid *, GLenum);
5833 GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint, GLenum, GLfloat *);
5834 GLAPI void APIENTRY glGetObjectBufferivATI (GLuint, GLenum, GLint *);
5835 GLAPI void APIENTRY glFreeObjectBufferATI (GLuint);
5836 GLAPI void APIENTRY glArrayObjectATI (GLenum, GLint, GLenum, GLsizei, GLuint, GLuint);
5837 GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum, GLenum, GLfloat *);
5838 GLAPI void APIENTRY glGetArrayObjectivATI (GLenum, GLenum, GLint *);
5839 GLAPI void APIENTRY glVariantArrayObjectATI (GLuint, GLenum, GLsizei, GLuint, GLuint);
5840 GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint, GLenum, GLfloat *);
5841 GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint, GLenum, GLint *);
5842 #endif /* GL_GLEXT_PROTOTYPES */
5843 typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage);
5844 typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
5845 typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve);
5846 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
5847 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
5848 typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
5849 typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
5850 typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
5851 typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
5852 typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
5853 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
5854 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
5855 #endif

5856 
5857 #ifndef GL_EXT_vertex_shader
5858 #define GL_EXT_vertex_shader 1
5859 #ifdef GL_GLEXT_PROTOTYPES
5860 GLAPI void APIENTRY glBeginVertexShaderEXT (void);
5861 GLAPI void APIENTRY glEndVertexShaderEXT (void);
5862 GLAPI void APIENTRY glBindVertexShaderEXT (GLuint);
5863 GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint);
5864 GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint);
5865 GLAPI void APIENTRY glShaderOp1EXT (GLenum, GLuint, GLuint);
5866 GLAPI void APIENTRY glShaderOp2EXT (GLenum, GLuint, GLuint, GLuint);
5867 GLAPI void APIENTRY glShaderOp3EXT (GLenum, GLuint, GLuint, GLuint, GLuint);
5868 GLAPI void APIENTRY glSwizzleEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum);
5869 GLAPI void APIENTRY glWriteMaskEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum);
5870 GLAPI void APIENTRY glInsertComponentEXT (GLuint, GLuint, GLuint);
5871 GLAPI void APIENTRY glExtractComponentEXT (GLuint, GLuint, GLuint);
5872 GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum, GLenum, GLenum, GLuint);
5873 GLAPI void APIENTRY glSetInvariantEXT (GLuint, GLenum, const GLvoid *);
5874 GLAPI void APIENTRY glSetLocalConstantEXT (GLuint, GLenum, const GLvoid *);
5875 GLAPI void APIENTRY glVariantbvEXT (GLuint, const GLbyte *);
5876 GLAPI void APIENTRY glVariantsvEXT (GLuint, const GLshort *);
5877 GLAPI void APIENTRY glVariantivEXT (GLuint, const GLint *);
5878 GLAPI void APIENTRY glVariantfvEXT (GLuint, const GLfloat *);
5879 GLAPI void APIENTRY glVariantdvEXT (GLuint, const GLdouble *);
5880 GLAPI void APIENTRY glVariantubvEXT (GLuint, const GLubyte *);
5881 GLAPI void APIENTRY glVariantusvEXT (GLuint, const GLushort *);
5882 GLAPI void APIENTRY glVariantuivEXT (GLuint, const GLuint *);
5883 GLAPI void APIENTRY glVariantPointerEXT (GLuint, GLenum, GLuint, const GLvoid *);
5884 GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint);
5885 GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint);
5886 GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum, GLenum);
5887 GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum, GLenum);
5888 GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum, GLenum, GLenum);
5889 GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum, GLenum);
5890 GLAPI GLuint APIENTRY glBindParameterEXT (GLenum);
5891 GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint, GLenum);
5892 GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint, GLenum, GLboolean *);
5893 GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint, GLenum, GLint *);
5894 GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint, GLenum, GLfloat *);
5895 GLAPI void APIENTRY glGetVariantPointervEXT (GLuint, GLenum, GLvoid* *);
5896 GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint, GLenum, GLboolean *);
5897 GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint, GLenum, GLint *);
5898 GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint, GLenum, GLfloat *);
5899 GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint, GLenum, GLboolean *);
5900 GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint, GLenum, GLint *);
5901 GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint, GLenum, GLfloat *);
5902 #endif /* GL_GLEXT_PROTOTYPES */
5903 typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
5904 typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
5905 typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
5906 typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
5907 typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
5908 typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
5909 typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
5910 typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
5911 typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
5912 typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
5913 typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
5914 typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
5915 typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
5916 typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr);
5917 typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr);
5918 typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
5919 typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
5920 typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
5921 typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
5922 typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
5923 typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
5924 typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
5925 typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
5926 typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const GLvoid *addr);
5927 typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
5928 typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
5929 typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
5930 typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
5931 typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
5932 typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
5933 typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
5934 typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
5935 typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
5936 typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
5937 typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
5938 typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid* *data);
5939 typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
5940 typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
5941 typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
5942 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
5943 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
5944 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
5945 #endif

5946 
5947 #ifndef GL_ATI_vertex_streams
5948 #define GL_ATI_vertex_streams 1






5949 #ifdef GL_GLEXT_PROTOTYPES
5950 GLAPI void APIENTRY glVertexStream1sATI (GLenum, GLshort);
5951 GLAPI void APIENTRY glVertexStream1svATI (GLenum, const GLshort *);
5952 GLAPI void APIENTRY glVertexStream1iATI (GLenum, GLint);
5953 GLAPI void APIENTRY glVertexStream1ivATI (GLenum, const GLint *);
5954 GLAPI void APIENTRY glVertexStream1fATI (GLenum, GLfloat);
5955 GLAPI void APIENTRY glVertexStream1fvATI (GLenum, const GLfloat *);
5956 GLAPI void APIENTRY glVertexStream1dATI (GLenum, GLdouble);
5957 GLAPI void APIENTRY glVertexStream1dvATI (GLenum, const GLdouble *);
5958 GLAPI void APIENTRY glVertexStream2sATI (GLenum, GLshort, GLshort);
5959 GLAPI void APIENTRY glVertexStream2svATI (GLenum, const GLshort *);
5960 GLAPI void APIENTRY glVertexStream2iATI (GLenum, GLint, GLint);
5961 GLAPI void APIENTRY glVertexStream2ivATI (GLenum, const GLint *);
5962 GLAPI void APIENTRY glVertexStream2fATI (GLenum, GLfloat, GLfloat);
5963 GLAPI void APIENTRY glVertexStream2fvATI (GLenum, const GLfloat *);
5964 GLAPI void APIENTRY glVertexStream2dATI (GLenum, GLdouble, GLdouble);
5965 GLAPI void APIENTRY glVertexStream2dvATI (GLenum, const GLdouble *);
5966 GLAPI void APIENTRY glVertexStream3sATI (GLenum, GLshort, GLshort, GLshort);
5967 GLAPI void APIENTRY glVertexStream3svATI (GLenum, const GLshort *);
5968 GLAPI void APIENTRY glVertexStream3iATI (GLenum, GLint, GLint, GLint);
5969 GLAPI void APIENTRY glVertexStream3ivATI (GLenum, const GLint *);
5970 GLAPI void APIENTRY glVertexStream3fATI (GLenum, GLfloat, GLfloat, GLfloat);
5971 GLAPI void APIENTRY glVertexStream3fvATI (GLenum, const GLfloat *);
5972 GLAPI void APIENTRY glVertexStream3dATI (GLenum, GLdouble, GLdouble, GLdouble);
5973 GLAPI void APIENTRY glVertexStream3dvATI (GLenum, const GLdouble *);
5974 GLAPI void APIENTRY glVertexStream4sATI (GLenum, GLshort, GLshort, GLshort, GLshort);
5975 GLAPI void APIENTRY glVertexStream4svATI (GLenum, const GLshort *);
5976 GLAPI void APIENTRY glVertexStream4iATI (GLenum, GLint, GLint, GLint, GLint);
5977 GLAPI void APIENTRY glVertexStream4ivATI (GLenum, const GLint *);
5978 GLAPI void APIENTRY glVertexStream4fATI (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
5979 GLAPI void APIENTRY glVertexStream4fvATI (GLenum, const GLfloat *);
5980 GLAPI void APIENTRY glVertexStream4dATI (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
5981 GLAPI void APIENTRY glVertexStream4dvATI (GLenum, const GLdouble *);
5982 GLAPI void APIENTRY glNormalStream3bATI (GLenum, GLbyte, GLbyte, GLbyte);
5983 GLAPI void APIENTRY glNormalStream3bvATI (GLenum, const GLbyte *);
5984 GLAPI void APIENTRY glNormalStream3sATI (GLenum, GLshort, GLshort, GLshort);
5985 GLAPI void APIENTRY glNormalStream3svATI (GLenum, const GLshort *);
5986 GLAPI void APIENTRY glNormalStream3iATI (GLenum, GLint, GLint, GLint);
5987 GLAPI void APIENTRY glNormalStream3ivATI (GLenum, const GLint *);
5988 GLAPI void APIENTRY glNormalStream3fATI (GLenum, GLfloat, GLfloat, GLfloat);
5989 GLAPI void APIENTRY glNormalStream3fvATI (GLenum, const GLfloat *);
5990 GLAPI void APIENTRY glNormalStream3dATI (GLenum, GLdouble, GLdouble, GLdouble);
5991 GLAPI void APIENTRY glNormalStream3dvATI (GLenum, const GLdouble *);
5992 GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum);
5993 GLAPI void APIENTRY glVertexBlendEnviATI (GLenum, GLint);
5994 GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum, GLfloat);
5995 #endif /* GL_GLEXT_PROTOTYPES */
5996 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
5997 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
5998 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
5999 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
6000 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
6001 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
6002 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
6003 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
6004 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
6005 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
6006 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
6007 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
6008 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
6009 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
6010 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
6011 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
6012 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
6013 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
6014 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
6015 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
6016 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
6017 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
6018 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
6019 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
6020 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
6021 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
6022 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
6023 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
6024 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6025 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
6026 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6027 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
6028 typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
6029 typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
6030 typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
6031 typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
6032 typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
6033 typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
6034 typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
6035 typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
6036 typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
6037 typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
6038 typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
6039 typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
6040 typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
6041 #endif

6042 
6043 #ifndef GL_ATI_element_array
6044 #define GL_ATI_element_array 1












6045 #ifdef GL_GLEXT_PROTOTYPES
6046 GLAPI void APIENTRY glElementPointerATI (GLenum, const GLvoid *);
6047 GLAPI void APIENTRY glDrawElementArrayATI (GLenum, GLsizei);
6048 GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum, GLuint, GLuint, GLsizei);
6049 #endif /* GL_GLEXT_PROTOTYPES */
6050 typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLvoid *pointer);
6051 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
6052 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
6053 #endif

6054 
6055 #ifndef GL_SUN_mesh_array
6056 #define GL_SUN_mesh_array 1







6057 #ifdef GL_GLEXT_PROTOTYPES
6058 GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum, GLint, GLsizei, GLsizei);
6059 #endif /* GL_GLEXT_PROTOTYPES */
6060 typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
6061 #endif

6062 
6063 #ifndef GL_SUN_slice_accum
6064 #define GL_SUN_slice_accum 1
6065 #endif

6066 
6067 #ifndef GL_NV_multisample_filter_hint
6068 #define GL_NV_multisample_filter_hint 1







6069 #endif

6070 
6071 #ifndef GL_NV_depth_clamp
6072 #define GL_NV_depth_clamp 1
















































6073 #endif

6074 
6075 #ifndef GL_NV_occlusion_query
6076 #define GL_NV_occlusion_query 1




























































6077 #ifdef GL_GLEXT_PROTOTYPES
6078 GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei, GLuint *);
6079 GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei, const GLuint *);
6080 GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint);
6081 GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint);
6082 GLAPI void APIENTRY glEndOcclusionQueryNV (void);
6083 GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint, GLenum, GLint *);
6084 GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint, GLenum, GLuint *);
6085 #endif /* GL_GLEXT_PROTOTYPES */
6086 typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
6087 typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
6088 typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
6089 typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
6090 typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
6091 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
6092 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
6093 #endif

6094 
6095 #ifndef GL_NV_point_sprite
6096 #define GL_NV_point_sprite 1












































6097 #ifdef GL_GLEXT_PROTOTYPES
6098 GLAPI void APIENTRY glPointParameteriNV (GLenum, GLint);
6099 GLAPI void APIENTRY glPointParameterivNV (GLenum, const GLint *);
6100 #endif /* GL_GLEXT_PROTOTYPES */
6101 typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
6102 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
6103 #endif
6104 
6105 #ifndef GL_NV_texture_shader3
6106 #define GL_NV_texture_shader3 1









6107 #endif

6108 
6109 #ifndef GL_NV_vertex_program1_1
6110 #define GL_NV_vertex_program1_1 1






6111 #endif

6112 
6113 #ifndef GL_EXT_shadow_funcs
6114 #define GL_EXT_shadow_funcs 1



6115 #endif

6116 
6117 #ifndef GL_EXT_stencil_two_side
6118 #define GL_EXT_stencil_two_side 1








6119 #ifdef GL_GLEXT_PROTOTYPES
6120 GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum);
6121 #endif /* GL_GLEXT_PROTOTYPES */
6122 typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);



6123 #endif

6124 
6125 #ifndef GL_ATI_text_fragment_shader
6126 #define GL_ATI_text_fragment_shader 1
6127 #endif

6128 
6129 #ifndef GL_APPLE_client_storage
6130 #define GL_APPLE_client_storage 1
6131 #endif

6132 
6133 #ifndef GL_APPLE_element_array
6134 #define GL_APPLE_element_array 1







6135 #ifdef GL_GLEXT_PROTOTYPES
6136 GLAPI void APIENTRY glElementPointerAPPLE (GLenum, const GLvoid *);
6137 GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum, GLint, GLsizei);
6138 GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, GLint, GLsizei);
6139 GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum, const GLint *, const GLsizei *, GLsizei);
6140 GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, const GLint *, const GLsizei *, GLsizei);
6141 #endif /* GL_GLEXT_PROTOTYPES */
6142 typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const GLvoid *pointer);
6143 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
6144 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
6145 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
6146 typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
6147 #endif

6148 
6149 #ifndef GL_APPLE_fence
6150 #define GL_APPLE_fence 1



6151 #ifdef GL_GLEXT_PROTOTYPES
6152 GLAPI void APIENTRY glGenFencesAPPLE (GLsizei, GLuint *);
6153 GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei, const GLuint *);
6154 GLAPI void APIENTRY glSetFenceAPPLE (GLuint);
6155 GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint);
6156 GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint);
6157 GLAPI void APIENTRY glFinishFenceAPPLE (GLuint);
6158 GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum, GLuint);
6159 GLAPI void APIENTRY glFinishObjectAPPLE (GLenum, GLint);
6160 #endif /* GL_GLEXT_PROTOTYPES */
6161 typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
6162 typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
6163 typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
6164 typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
6165 typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
6166 typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
6167 typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
6168 typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
6169 #endif

6170 
6171 #ifndef GL_APPLE_vertex_array_object
6172 #define GL_APPLE_vertex_array_object 1
6173 #ifdef GL_GLEXT_PROTOTYPES
6174 GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint);
6175 GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei, const GLuint *);
6176 GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei, const GLuint *);
6177 GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint);
6178 #endif /* GL_GLEXT_PROTOTYPES */
6179 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
6180 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
6181 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
6182 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
6183 #endif
6184 
6185 #ifndef GL_APPLE_vertex_array_range
6186 #define GL_APPLE_vertex_array_range 1










6187 #ifdef GL_GLEXT_PROTOTYPES
6188 GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei, GLvoid *);
6189 GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei, GLvoid *);
6190 GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum, GLint);
6191 #endif /* GL_GLEXT_PROTOTYPES */
6192 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer);
6193 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer);
6194 typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
6195 #endif
6196 
6197 #ifndef GL_APPLE_ycbcr_422
6198 #define GL_APPLE_ycbcr_422 1
6199 #endif
6200 
6201 #ifndef GL_S3_s3tc
6202 #define GL_S3_s3tc 1
6203 #endif

6204 
6205 #ifndef GL_ATI_draw_buffers
6206 #define GL_ATI_draw_buffers 1



6207 #ifdef GL_GLEXT_PROTOTYPES
6208 GLAPI void APIENTRY glDrawBuffersATI (GLsizei, const GLenum *);
6209 #endif /* GL_GLEXT_PROTOTYPES */
6210 typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
6211 #endif

6212 
6213 #ifndef GL_ATI_pixel_format_float
6214 #define GL_ATI_pixel_format_float 1
6215 /* This is really a WGL extension, but defines some associated GL enums.
6216  * ATI does not export "GL_ATI_pixel_format_float" in the GL_EXTENSIONS string.
6217  */
6218 #endif


6219 
6220 #ifndef GL_ATI_texture_env_combine3
6221 #define GL_ATI_texture_env_combine3 1
6222 #endif

6223 
6224 #ifndef GL_ATI_texture_float
6225 #define GL_ATI_texture_float 1
6226 #endif




6227 
6228 #ifndef GL_NV_float_buffer
6229 #define GL_NV_float_buffer 1
6230 #endif

6231 
6232 #ifndef GL_NV_fragment_program
6233 #define GL_NV_fragment_program 1
6234 /* Some NV_fragment_program entry points are shared with ARB_vertex_program. */










6235 #ifdef GL_GLEXT_PROTOTYPES
6236 GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat);
6237 GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble);
6238 GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint, GLsizei, const GLubyte *, const GLfloat *);
6239 GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint, GLsizei, const GLubyte *, const GLdouble *);
6240 GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint, GLsizei, const GLubyte *, GLfloat *);
6241 GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint, GLsizei, const GLubyte *, GLdouble *);
6242 #endif /* GL_GLEXT_PROTOTYPES */
6243 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
6244 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
6245 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
6246 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
6247 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
6248 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
6249 #endif

6250 
6251 #ifndef GL_NV_half_float
6252 #define GL_NV_half_float 1
6253 #ifdef GL_GLEXT_PROTOTYPES
6254 GLAPI void APIENTRY glVertex2hNV (GLhalfNV, GLhalfNV);
6255 GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *);
6256 GLAPI void APIENTRY glVertex3hNV (GLhalfNV, GLhalfNV, GLhalfNV);
6257 GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *);
6258 GLAPI void APIENTRY glVertex4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV);
6259 GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *);
6260 GLAPI void APIENTRY glNormal3hNV (GLhalfNV, GLhalfNV, GLhalfNV);
6261 GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *);
6262 GLAPI void APIENTRY glColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV);
6263 GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *);
6264 GLAPI void APIENTRY glColor4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV);
6265 GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *);
6266 GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV);
6267 GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *);
6268 GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV, GLhalfNV);
6269 GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *);
6270 GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV, GLhalfNV, GLhalfNV);
6271 GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *);
6272 GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV);
6273 GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *);
6274 GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum, GLhalfNV);
6275 GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum, const GLhalfNV *);
6276 GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum, GLhalfNV, GLhalfNV);
6277 GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum, const GLhalfNV *);
6278 GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV);
6279 GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum, const GLhalfNV *);
6280 GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV);
6281 GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum, const GLhalfNV *);
6282 GLAPI void APIENTRY glFogCoordhNV (GLhalfNV);
6283 GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *);
6284 GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV);
6285 GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *);
6286 GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV);
6287 GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *);
6288 GLAPI void APIENTRY glVertexAttrib1hNV (GLuint, GLhalfNV);
6289 GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint, const GLhalfNV *);
6290 GLAPI void APIENTRY glVertexAttrib2hNV (GLuint, GLhalfNV, GLhalfNV);
6291 GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint, const GLhalfNV *);
6292 GLAPI void APIENTRY glVertexAttrib3hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV);
6293 GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint, const GLhalfNV *);
6294 GLAPI void APIENTRY glVertexAttrib4hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV);
6295 GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint, const GLhalfNV *);
6296 GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint, GLsizei, const GLhalfNV *);
6297 GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint, GLsizei, const GLhalfNV *);
6298 GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint, GLsizei, const GLhalfNV *);
6299 GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint, GLsizei, const GLhalfNV *);
6300 #endif /* GL_GLEXT_PROTOTYPES */
6301 typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
6302 typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
6303 typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
6304 typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
6305 typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
6306 typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
6307 typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
6308 typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
6309 typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
6310 typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
6311 typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
6312 typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
6313 typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
6314 typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
6315 typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
6316 typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
6317 typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
6318 typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
6319 typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
6320 typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
6321 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
6322 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
6323 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
6324 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
6325 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
6326 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
6327 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
6328 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
6329 typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
6330 typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
6331 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
6332 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
6333 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
6334 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
6335 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
6336 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
6337 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
6338 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
6339 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
6340 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
6341 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
6342 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
6343 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
6344 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
6345 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
6346 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
6347 #endif
6348 
6349 #ifndef GL_NV_pixel_data_range
6350 #define GL_NV_pixel_data_range 1

6351 #ifdef GL_GLEXT_PROTOTYPES
6352 GLAPI void APIENTRY glPixelDataRangeNV (GLenum, GLsizei, GLvoid *);
6353 GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum);
6354 #endif /* GL_GLEXT_PROTOTYPES */
6355 typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer);
6356 typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
6357 #endif

6358 
6359 #ifndef GL_NV_primitive_restart
6360 #define GL_NV_primitive_restart 1
6361 #ifdef GL_GLEXT_PROTOTYPES
6362 GLAPI void APIENTRY glPrimitiveRestartNV (void);
6363 GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint);
6364 #endif /* GL_GLEXT_PROTOTYPES */
6365 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
6366 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
6367 #endif


6368 
6369 #ifndef GL_NV_texture_expand_normal
6370 #define GL_NV_texture_expand_normal 1
6371 #endif



6372 
6373 #ifndef GL_NV_vertex_program2
6374 #define GL_NV_vertex_program2 1
6375 #endif

6376 
6377 #ifndef GL_ATI_map_object_buffer
6378 #define GL_ATI_map_object_buffer 1
6379 #ifdef GL_GLEXT_PROTOTYPES
6380 GLAPI GLvoid* APIENTRY glMapObjectBufferATI (GLuint);
6381 GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint);
6382 #endif /* GL_GLEXT_PROTOTYPES */
6383 typedef GLvoid* (APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
6384 typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
6385 #endif
6386 
6387 #ifndef GL_ATI_separate_stencil
6388 #define GL_ATI_separate_stencil 1
6389 #ifdef GL_GLEXT_PROTOTYPES
6390 GLAPI void APIENTRY glStencilOpSeparateATI (GLenum, GLenum, GLenum, GLenum);
6391 GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum, GLenum, GLint, GLuint);
6392 #endif /* GL_GLEXT_PROTOTYPES */
6393 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
6394 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
6395 #endif
6396 
6397 #ifndef GL_ATI_vertex_attrib_array_object
6398 #define GL_ATI_vertex_attrib_array_object 1
6399 #ifdef GL_GLEXT_PROTOTYPES
6400 GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint, GLint, GLenum, GLboolean, GLsizei, GLuint, GLuint);
6401 GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint, GLenum, GLfloat *);
6402 GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint, GLenum, GLint *);
6403 #endif /* GL_GLEXT_PROTOTYPES */
6404 typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
6405 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
6406 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
6407 #endif
6408 
6409 #ifndef GL_OES_read_format
6410 #define GL_OES_read_format 1
6411 #endif
6412 
6413 #ifndef GL_EXT_depth_bounds_test
6414 #define GL_EXT_depth_bounds_test 1
6415 #ifdef GL_GLEXT_PROTOTYPES
6416 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd, GLclampd);
6417 #endif /* GL_GLEXT_PROTOTYPES */
6418 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
6419 #endif
6420 
6421 #ifndef GL_EXT_texture_mirror_clamp
6422 #define GL_EXT_texture_mirror_clamp 1
6423 #endif











6424 
6425 #ifndef GL_EXT_blend_equation_separate
6426 #define GL_EXT_blend_equation_separate 1























6427 #ifdef GL_GLEXT_PROTOTYPES
6428 GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum, GLenum);
6429 #endif /* GL_GLEXT_PROTOTYPES */
6430 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
6431 #endif
6432 
6433 #ifndef GL_MESA_pack_invert
6434 #define GL_MESA_pack_invert 1
6435 #endif

6436 
6437 #ifndef GL_MESA_ycbcr_texture
6438 #define GL_MESA_ycbcr_texture 1
6439 #endif


6440 
6441 #ifndef GL_EXT_pixel_buffer_object
6442 #define GL_EXT_pixel_buffer_object 1





6443 #endif

6444 
6445 #ifndef GL_NV_fragment_program_option
6446 #define GL_NV_fragment_program_option 1
6447 #endif

6448 
6449 #ifndef GL_NV_fragment_program2
6450 #define GL_NV_fragment_program2 1



















6451 #endif

6452 
6453 #ifndef GL_NV_vertex_program2_option
6454 #define GL_NV_vertex_program2_option 1





6455 #endif

6456 
6457 #ifndef GL_NV_vertex_program3
6458 #define GL_NV_vertex_program3 1
6459 #endif

6460 
6461 #ifndef GL_EXT_framebuffer_object
6462 #define GL_EXT_framebuffer_object 1
























6463 #ifdef GL_GLEXT_PROTOTYPES
6464 GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint);
6465 GLAPI void APIENTRY glBindRenderbufferEXT (GLenum, GLuint);
6466 GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei, const GLuint *);
6467 GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei, GLuint *);
6468 GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum, GLenum, GLsizei, GLsizei);
6469 GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum, GLenum, GLint *);
6470 GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint);
6471 GLAPI void APIENTRY glBindFramebufferEXT (GLenum, GLuint);
6472 GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei, const GLuint *);
6473 GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei, GLuint *);
6474 GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum);
6475 GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum, GLenum, GLenum, GLuint, GLint);
6476 GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum, GLenum, GLenum, GLuint, GLint);
6477 GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum, GLenum, GLenum, GLuint, GLint, GLint);
6478 GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum, GLenum, GLenum, GLuint);
6479 GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum, GLenum, GLenum, GLint *);
6480 GLAPI void APIENTRY glGenerateMipmapEXT (GLenum);
6481 #endif /* GL_GLEXT_PROTOTYPES */
6482 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
6483 typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
6484 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
6485 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
6486 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
6487 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
6488 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
6489 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
6490 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
6491 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
6492 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
6493 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6494 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
6495 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
6496 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
6497 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
6498 typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
6499 #endif

6500 
6501 #ifndef GL_GREMEDY_string_marker
6502 #define GL_GREMEDY_string_marker 1








































6503 #ifdef GL_GLEXT_PROTOTYPES
6504 GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei, const GLvoid *);
6505 #endif /* GL_GLEXT_PROTOTYPES */
6506 typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const GLvoid *string);





































6507 #endif

6508 
6509 #ifndef GL_NV_texture_barrier
6510 #define GL_NV_texture_barrier 1
6511 #ifdef GL_EXT_PROTOTYPES
6512 GLAPI void APIENTRY glTextureBarrierNV (void);
6513 #endif /* GL_EXT_PROTOTYPES */
6514 typedef void (APIENTRYP PNFGLTEXTUREBARRIERNVPROC) (void);
6515 #endif



6516 
6517 #ifdef __cplusplus
6518 }
6519 #endif
6520 
6521 #endif


   5  * under the terms of the GNU General Public License version 2 only, as
   6  * published by the Free Software Foundation.  Oracle designates this
   7  * particular file as subject to the "Classpath" exception as provided
   8  * by Oracle in the LICENSE file that accompanied this code.
   9  *
  10  * This code is distributed in the hope that it will be useful, but WITHOUT
  11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  */
  24 
  25 #ifndef __gl_glext_h_
  26 #define __gl_glext_h_ 1
  27 
  28 #ifdef __cplusplus
  29 extern "C" {
  30 #endif
  31 
  32 /*
  33 ** This file is available under and governed by the GNU General Public
  34 ** License version 2 only, as published by the Free Software Foundation.
  35 ** However, the following notice accompanied the original version of this
  36 ** file:
  37 **
  38 ** Copyright (c) 2013-2018 The Khronos Group Inc.
  39 **
  40 ** Permission is hereby granted, free of charge, to any person obtaining a
  41 ** copy of this software and/or associated documentation files (the
  42 ** "Materials"), to deal in the Materials without restriction, including
  43 ** without limitation the rights to use, copy, modify, merge, publish,
  44 ** distribute, sublicense, and/or sell copies of the Materials, and to
  45 ** permit persons to whom the Materials are furnished to do so, subject to
  46 ** the following conditions:
  47 **
  48 ** The above copyright notice and this permission notice shall be included
  49 ** in all copies or substantial portions of the Materials.
  50 **
  51 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  52 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  53 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  54 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  55 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  56 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  57 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
  58 */
  59 /*
  60 ** This header is generated from the Khronos OpenGL / OpenGL ES XML
  61 ** API Registry. The current version of the Registry, generator scripts
  62 ** used to make the header, and the header can be found at
  63 **   https://github.com/KhronosGroup/OpenGL-Registry
  64 */
  65 
  66 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
  67 #ifndef WIN32_LEAN_AND_MEAN
  68 #define WIN32_LEAN_AND_MEAN 1
  69 #endif
  70 #include <windows.h>
  71 #endif
  72 
  73 #ifndef APIENTRY
  74 #define APIENTRY
  75 #endif
  76 #ifndef APIENTRYP
  77 #define APIENTRYP APIENTRY *
  78 #endif
  79 #ifndef GLAPI
  80 #define GLAPI extern
  81 #endif
  82 
  83 #define GL_GLEXT_VERSION 20190611
  84 
  85 /* JDK modification */
  86 #include <J2D_GL/khrplatform.h>
  87 
  88 /* Generated C header for:
  89  * API: gl
  90  * Profile: compatibility
  91  * Versions considered: .*
  92  * Versions emitted: 1\.[2-9]|[234]\.[0-9]
  93  * Default extensions included: gl
  94  * Additional extensions included: _nomatch_^
  95  * Extensions removed: _nomatch_^
  96  */
  97 
  98 #ifndef GL_VERSION_1_2
  99 #define GL_VERSION_1_2 1
 100 #define GL_UNSIGNED_BYTE_3_3_2            0x8032
 101 #define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
 102 #define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
 103 #define GL_UNSIGNED_INT_8_8_8_8           0x8035
 104 #define GL_UNSIGNED_INT_10_10_10_2        0x8036

 105 #define GL_TEXTURE_BINDING_3D             0x806A
 106 #define GL_PACK_SKIP_IMAGES               0x806B
 107 #define GL_PACK_IMAGE_HEIGHT              0x806C
 108 #define GL_UNPACK_SKIP_IMAGES             0x806D
 109 #define GL_UNPACK_IMAGE_HEIGHT            0x806E
 110 #define GL_TEXTURE_3D                     0x806F
 111 #define GL_PROXY_TEXTURE_3D               0x8070
 112 #define GL_TEXTURE_DEPTH                  0x8071
 113 #define GL_TEXTURE_WRAP_R                 0x8072
 114 #define GL_MAX_3D_TEXTURE_SIZE            0x8073
 115 #define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
 116 #define GL_UNSIGNED_SHORT_5_6_5           0x8363
 117 #define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
 118 #define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
 119 #define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
 120 #define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
 121 #define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
 122 #define GL_BGR                            0x80E0
 123 #define GL_BGRA                           0x80E1
 124 #define GL_MAX_ELEMENTS_VERTICES          0x80E8
 125 #define GL_MAX_ELEMENTS_INDICES           0x80E9
 126 #define GL_CLAMP_TO_EDGE                  0x812F
 127 #define GL_TEXTURE_MIN_LOD                0x813A
 128 #define GL_TEXTURE_MAX_LOD                0x813B
 129 #define GL_TEXTURE_BASE_LEVEL             0x813C
 130 #define GL_TEXTURE_MAX_LEVEL              0x813D



 131 #define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
 132 #define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
 133 #define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
 134 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23

 135 #define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
 136 #define GL_RESCALE_NORMAL                 0x803A
 137 #define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
 138 #define GL_SINGLE_COLOR                   0x81F9
 139 #define GL_SEPARATE_SPECULAR_COLOR        0x81FA
 140 #define GL_ALIASED_POINT_SIZE_RANGE       0x846D
 141 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
 142 typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
 143 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
 144 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
 145 #ifdef GL_GLEXT_PROTOTYPES
 146 GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
 147 GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
 148 GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
 149 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
 150 #endif
 151 #endif /* GL_VERSION_1_2 */













































































 152 
 153 #ifndef GL_VERSION_1_3
 154 #define GL_VERSION_1_3 1
 155 #define GL_TEXTURE0                       0x84C0
 156 #define GL_TEXTURE1                       0x84C1
 157 #define GL_TEXTURE2                       0x84C2
 158 #define GL_TEXTURE3                       0x84C3
 159 #define GL_TEXTURE4                       0x84C4
 160 #define GL_TEXTURE5                       0x84C5
 161 #define GL_TEXTURE6                       0x84C6
 162 #define GL_TEXTURE7                       0x84C7
 163 #define GL_TEXTURE8                       0x84C8
 164 #define GL_TEXTURE9                       0x84C9
 165 #define GL_TEXTURE10                      0x84CA
 166 #define GL_TEXTURE11                      0x84CB
 167 #define GL_TEXTURE12                      0x84CC
 168 #define GL_TEXTURE13                      0x84CD
 169 #define GL_TEXTURE14                      0x84CE
 170 #define GL_TEXTURE15                      0x84CF
 171 #define GL_TEXTURE16                      0x84D0
 172 #define GL_TEXTURE17                      0x84D1
 173 #define GL_TEXTURE18                      0x84D2
 174 #define GL_TEXTURE19                      0x84D3
 175 #define GL_TEXTURE20                      0x84D4
 176 #define GL_TEXTURE21                      0x84D5
 177 #define GL_TEXTURE22                      0x84D6
 178 #define GL_TEXTURE23                      0x84D7
 179 #define GL_TEXTURE24                      0x84D8
 180 #define GL_TEXTURE25                      0x84D9
 181 #define GL_TEXTURE26                      0x84DA
 182 #define GL_TEXTURE27                      0x84DB
 183 #define GL_TEXTURE28                      0x84DC
 184 #define GL_TEXTURE29                      0x84DD
 185 #define GL_TEXTURE30                      0x84DE
 186 #define GL_TEXTURE31                      0x84DF
 187 #define GL_ACTIVE_TEXTURE                 0x84E0






 188 #define GL_MULTISAMPLE                    0x809D
 189 #define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
 190 #define GL_SAMPLE_ALPHA_TO_ONE            0x809F
 191 #define GL_SAMPLE_COVERAGE                0x80A0
 192 #define GL_SAMPLE_BUFFERS                 0x80A8
 193 #define GL_SAMPLES                        0x80A9
 194 #define GL_SAMPLE_COVERAGE_VALUE          0x80AA
 195 #define GL_SAMPLE_COVERAGE_INVERT         0x80AB



 196 #define GL_TEXTURE_CUBE_MAP               0x8513
 197 #define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
 198 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
 199 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
 200 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
 201 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
 202 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
 203 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
 204 #define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
 205 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C




 206 #define GL_COMPRESSED_RGB                 0x84ED
 207 #define GL_COMPRESSED_RGBA                0x84EE
 208 #define GL_TEXTURE_COMPRESSION_HINT       0x84EF
 209 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
 210 #define GL_TEXTURE_COMPRESSED             0x86A1
 211 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
 212 #define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
 213 #define GL_CLAMP_TO_BORDER                0x812D
 214 #define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
 215 #define GL_MAX_TEXTURE_UNITS              0x84E2
 216 #define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
 217 #define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
 218 #define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
 219 #define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
 220 #define GL_MULTISAMPLE_BIT                0x20000000
 221 #define GL_NORMAL_MAP                     0x8511
 222 #define GL_REFLECTION_MAP                 0x8512
 223 #define GL_COMPRESSED_ALPHA               0x84E9
 224 #define GL_COMPRESSED_LUMINANCE           0x84EA
 225 #define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
 226 #define GL_COMPRESSED_INTENSITY           0x84EC
 227 #define GL_COMBINE                        0x8570
 228 #define GL_COMBINE_RGB                    0x8571
 229 #define GL_COMBINE_ALPHA                  0x8572
 230 #define GL_SOURCE0_RGB                    0x8580
 231 #define GL_SOURCE1_RGB                    0x8581
 232 #define GL_SOURCE2_RGB                    0x8582
 233 #define GL_SOURCE0_ALPHA                  0x8588
 234 #define GL_SOURCE1_ALPHA                  0x8589
 235 #define GL_SOURCE2_ALPHA                  0x858A
 236 #define GL_OPERAND0_RGB                   0x8590
 237 #define GL_OPERAND1_RGB                   0x8591
 238 #define GL_OPERAND2_RGB                   0x8592
 239 #define GL_OPERAND0_ALPHA                 0x8598
 240 #define GL_OPERAND1_ALPHA                 0x8599
 241 #define GL_OPERAND2_ALPHA                 0x859A
 242 #define GL_RGB_SCALE                      0x8573
 243 #define GL_ADD_SIGNED                     0x8574
 244 #define GL_INTERPOLATE                    0x8575
 245 #define GL_SUBTRACT                       0x84E7
 246 #define GL_CONSTANT                       0x8576
 247 #define GL_PRIMARY_COLOR                  0x8577
 248 #define GL_PREVIOUS                       0x8578
 249 #define GL_DOT3_RGB                       0x86AE
 250 #define GL_DOT3_RGBA                      0x86AF
 251 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
 252 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
 253 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
 254 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
 255 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
 256 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
 257 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
 258 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
 259 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
 260 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
 261 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
 262 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
 263 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
 264 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
 265 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
 266 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
 267 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
 268 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
 269 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
 270 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
 271 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
 272 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
 273 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
 274 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
 275 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
 276 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
 277 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
 278 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
 279 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
 280 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
 281 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
 282 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
 283 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
 284 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
 285 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
 286 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
 287 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
 288 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
 289 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
 290 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
 291 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
 292 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
 293 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
 294 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
 295 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
 296 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
 297 #ifdef GL_GLEXT_PROTOTYPES
 298 GLAPI void APIENTRY glActiveTexture (GLenum texture);
 299 GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
 300 GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
 301 GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
 302 GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
 303 GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
 304 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
 305 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
 306 GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
 307 GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
 308 GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
 309 GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
 310 GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
 311 GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
 312 GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
 313 GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
 314 GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
 315 GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
 316 GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
 317 GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
 318 GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
 319 GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
 320 GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
 321 GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
 322 GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
 323 GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
 324 GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
 325 GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
 326 GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
 327 GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
 328 GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
 329 GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
 330 GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
 331 GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
 332 GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
 333 GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
 334 GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
 335 GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
 336 GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
 337 GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
 338 GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
 339 GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
 340 GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
 341 GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
 342 GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
 343 GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
 344 #endif
 345 #endif /* GL_VERSION_1_3 */
 346 
 347 #ifndef GL_VERSION_1_4
 348 #define GL_VERSION_1_4 1
 349 #define GL_BLEND_DST_RGB                  0x80C8
 350 #define GL_BLEND_SRC_RGB                  0x80C9
 351 #define GL_BLEND_DST_ALPHA                0x80CA
 352 #define GL_BLEND_SRC_ALPHA                0x80CB


 353 #define GL_POINT_FADE_THRESHOLD_SIZE      0x8128



 354 #define GL_DEPTH_COMPONENT16              0x81A5
 355 #define GL_DEPTH_COMPONENT24              0x81A6
 356 #define GL_DEPTH_COMPONENT32              0x81A7
 357 #define GL_MIRRORED_REPEAT                0x8370
 358 #define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
 359 #define GL_TEXTURE_LOD_BIAS               0x8501
 360 #define GL_INCR_WRAP                      0x8507
 361 #define GL_DECR_WRAP                      0x8508
 362 #define GL_TEXTURE_DEPTH_SIZE             0x884A
 363 #define GL_TEXTURE_COMPARE_MODE           0x884C
 364 #define GL_TEXTURE_COMPARE_FUNC           0x884D
 365 #define GL_POINT_SIZE_MIN                 0x8126
 366 #define GL_POINT_SIZE_MAX                 0x8127
 367 #define GL_POINT_DISTANCE_ATTENUATION     0x8129
 368 #define GL_GENERATE_MIPMAP                0x8191
 369 #define GL_GENERATE_MIPMAP_HINT           0x8192
 370 #define GL_FOG_COORDINATE_SOURCE          0x8450
 371 #define GL_FOG_COORDINATE                 0x8451
 372 #define GL_FRAGMENT_DEPTH                 0x8452
 373 #define GL_CURRENT_FOG_COORDINATE         0x8453
 374 #define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
 375 #define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
 376 #define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
 377 #define GL_FOG_COORDINATE_ARRAY           0x8457
 378 #define GL_COLOR_SUM                      0x8458
 379 #define GL_CURRENT_SECONDARY_COLOR        0x8459
 380 #define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
 381 #define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
 382 #define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
 383 #define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
 384 #define GL_SECONDARY_COLOR_ARRAY          0x845E

 385 #define GL_TEXTURE_FILTER_CONTROL         0x8500




 386 #define GL_DEPTH_TEXTURE_MODE             0x884B


 387 #define GL_COMPARE_R_TO_TEXTURE           0x884E
 388 #define GL_BLEND_COLOR                    0x8005
 389 #define GL_BLEND_EQUATION                 0x8009
 390 #define GL_CONSTANT_COLOR                 0x8001
 391 #define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
 392 #define GL_CONSTANT_ALPHA                 0x8003
 393 #define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
 394 #define GL_FUNC_ADD                       0x8006
 395 #define GL_FUNC_REVERSE_SUBTRACT          0x800B
 396 #define GL_FUNC_SUBTRACT                  0x800A
 397 #define GL_MIN                            0x8007
 398 #define GL_MAX                            0x8008
 399 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
 400 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
 401 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
 402 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
 403 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
 404 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
 405 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
 406 typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
 407 typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
 408 typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
 409 typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
 410 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer);
 411 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
 412 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
 413 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
 414 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
 415 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
 416 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
 417 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
 418 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
 419 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
 420 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
 421 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
 422 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
 423 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
 424 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
 425 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
 426 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
 427 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
 428 typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
 429 typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
 430 typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
 431 typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
 432 typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
 433 typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
 434 typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
 435 typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
 436 typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
 437 typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
 438 typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
 439 typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
 440 typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
 441 typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
 442 typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
 443 typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
 444 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
 445 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
 446 #ifdef GL_GLEXT_PROTOTYPES
 447 GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
 448 GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
 449 GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
 450 GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
 451 GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
 452 GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
 453 GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
 454 GLAPI void APIENTRY glFogCoordf (GLfloat coord);
 455 GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
 456 GLAPI void APIENTRY glFogCoordd (GLdouble coord);
 457 GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
 458 GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer);
 459 GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
 460 GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
 461 GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
 462 GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
 463 GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
 464 GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
 465 GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
 466 GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
 467 GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
 468 GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
 469 GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
 470 GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
 471 GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
 472 GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
 473 GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
 474 GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
 475 GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
 476 GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
 477 GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
 478 GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
 479 GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
 480 GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
 481 GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
 482 GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
 483 GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
 484 GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
 485 GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
 486 GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
 487 GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
 488 GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
 489 GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
 490 GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
 491 GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
 492 GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
 493 GLAPI void APIENTRY glBlendEquation (GLenum mode);
 494 #endif
 495 #endif /* GL_VERSION_1_4 */
 496 
 497 #ifndef GL_VERSION_1_5
 498 #define GL_VERSION_1_5 1
 499 typedef khronos_ssize_t GLsizeiptr;
 500 typedef khronos_intptr_t GLintptr;
 501 #define GL_BUFFER_SIZE                    0x8764
 502 #define GL_BUFFER_USAGE                   0x8765
 503 #define GL_QUERY_COUNTER_BITS             0x8864
 504 #define GL_CURRENT_QUERY                  0x8865
 505 #define GL_QUERY_RESULT                   0x8866
 506 #define GL_QUERY_RESULT_AVAILABLE         0x8867
 507 #define GL_ARRAY_BUFFER                   0x8892
 508 #define GL_ELEMENT_ARRAY_BUFFER           0x8893
 509 #define GL_ARRAY_BUFFER_BINDING           0x8894
 510 #define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895









 511 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
 512 #define GL_READ_ONLY                      0x88B8
 513 #define GL_WRITE_ONLY                     0x88B9
 514 #define GL_READ_WRITE                     0x88BA
 515 #define GL_BUFFER_ACCESS                  0x88BB
 516 #define GL_BUFFER_MAPPED                  0x88BC
 517 #define GL_BUFFER_MAP_POINTER             0x88BD
 518 #define GL_STREAM_DRAW                    0x88E0
 519 #define GL_STREAM_READ                    0x88E1
 520 #define GL_STREAM_COPY                    0x88E2
 521 #define GL_STATIC_DRAW                    0x88E4
 522 #define GL_STATIC_READ                    0x88E5
 523 #define GL_STATIC_COPY                    0x88E6
 524 #define GL_DYNAMIC_DRAW                   0x88E8
 525 #define GL_DYNAMIC_READ                   0x88E9
 526 #define GL_DYNAMIC_COPY                   0x88EA
 527 #define GL_SAMPLES_PASSED                 0x8914
 528 #define GL_SRC1_ALPHA                     0x8589
 529 #define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
 530 #define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
 531 #define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
 532 #define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
 533 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
 534 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
 535 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
 536 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
 537 #define GL_WEIGHT_ARRAY_BUFFER_BINDING    0x889E
 538 #define GL_FOG_COORD_SRC                  0x8450
 539 #define GL_FOG_COORD                      0x8451
 540 #define GL_CURRENT_FOG_COORD              0x8453
 541 #define GL_FOG_COORD_ARRAY_TYPE           0x8454
 542 #define GL_FOG_COORD_ARRAY_STRIDE         0x8455
 543 #define GL_FOG_COORD_ARRAY_POINTER        0x8456
 544 #define GL_FOG_COORD_ARRAY                0x8457
 545 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
 546 #define GL_SRC0_RGB                       0x8580
 547 #define GL_SRC1_RGB                       0x8581
 548 #define GL_SRC2_RGB                       0x8582
 549 #define GL_SRC0_ALPHA                     0x8588
 550 #define GL_SRC2_ALPHA                     0x858A
 551 typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
 552 typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
 553 typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
 554 typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
 555 typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
 556 typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
 557 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
 558 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
 559 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
 560 typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
 561 typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
 562 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
 563 typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
 564 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
 565 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
 566 typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
 567 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
 568 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
 569 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
 570 #ifdef GL_GLEXT_PROTOTYPES
 571 GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
 572 GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
 573 GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
 574 GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
 575 GLAPI void APIENTRY glEndQuery (GLenum target);
 576 GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
 577 GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
 578 GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
 579 GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
 580 GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
 581 GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
 582 GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
 583 GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
 584 GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
 585 GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
 586 GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
 587 GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
 588 GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
 589 GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
 590 #endif
 591 #endif /* GL_VERSION_1_5 */
 592 
 593 #ifndef GL_VERSION_2_0
 594 #define GL_VERSION_2_0 1
 595 typedef char GLchar;
 596 #define GL_BLEND_EQUATION_RGB             0x8009
 597 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
 598 #define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
 599 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
 600 #define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
 601 #define GL_CURRENT_VERTEX_ATTRIB          0x8626
 602 #define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642

 603 #define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
 604 #define GL_STENCIL_BACK_FUNC              0x8800
 605 #define GL_STENCIL_BACK_FAIL              0x8801
 606 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
 607 #define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
 608 #define GL_MAX_DRAW_BUFFERS               0x8824
 609 #define GL_DRAW_BUFFER0                   0x8825
 610 #define GL_DRAW_BUFFER1                   0x8826
 611 #define GL_DRAW_BUFFER2                   0x8827
 612 #define GL_DRAW_BUFFER3                   0x8828
 613 #define GL_DRAW_BUFFER4                   0x8829
 614 #define GL_DRAW_BUFFER5                   0x882A
 615 #define GL_DRAW_BUFFER6                   0x882B
 616 #define GL_DRAW_BUFFER7                   0x882C
 617 #define GL_DRAW_BUFFER8                   0x882D
 618 #define GL_DRAW_BUFFER9                   0x882E
 619 #define GL_DRAW_BUFFER10                  0x882F
 620 #define GL_DRAW_BUFFER11                  0x8830
 621 #define GL_DRAW_BUFFER12                  0x8831
 622 #define GL_DRAW_BUFFER13                  0x8832
 623 #define GL_DRAW_BUFFER14                  0x8833
 624 #define GL_DRAW_BUFFER15                  0x8834
 625 #define GL_BLEND_EQUATION_ALPHA           0x883D


 626 #define GL_MAX_VERTEX_ATTRIBS             0x8869
 627 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A

 628 #define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
 629 #define GL_FRAGMENT_SHADER                0x8B30
 630 #define GL_VERTEX_SHADER                  0x8B31
 631 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
 632 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
 633 #define GL_MAX_VARYING_FLOATS             0x8B4B
 634 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
 635 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
 636 #define GL_SHADER_TYPE                    0x8B4F
 637 #define GL_FLOAT_VEC2                     0x8B50
 638 #define GL_FLOAT_VEC3                     0x8B51
 639 #define GL_FLOAT_VEC4                     0x8B52
 640 #define GL_INT_VEC2                       0x8B53
 641 #define GL_INT_VEC3                       0x8B54
 642 #define GL_INT_VEC4                       0x8B55
 643 #define GL_BOOL                           0x8B56
 644 #define GL_BOOL_VEC2                      0x8B57
 645 #define GL_BOOL_VEC3                      0x8B58
 646 #define GL_BOOL_VEC4                      0x8B59
 647 #define GL_FLOAT_MAT2                     0x8B5A


 656 #define GL_DELETE_STATUS                  0x8B80
 657 #define GL_COMPILE_STATUS                 0x8B81
 658 #define GL_LINK_STATUS                    0x8B82
 659 #define GL_VALIDATE_STATUS                0x8B83
 660 #define GL_INFO_LOG_LENGTH                0x8B84
 661 #define GL_ATTACHED_SHADERS               0x8B85
 662 #define GL_ACTIVE_UNIFORMS                0x8B86
 663 #define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
 664 #define GL_SHADER_SOURCE_LENGTH           0x8B88
 665 #define GL_ACTIVE_ATTRIBUTES              0x8B89
 666 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
 667 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
 668 #define GL_SHADING_LANGUAGE_VERSION       0x8B8C
 669 #define GL_CURRENT_PROGRAM                0x8B8D
 670 #define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
 671 #define GL_LOWER_LEFT                     0x8CA1
 672 #define GL_UPPER_LEFT                     0x8CA2
 673 #define GL_STENCIL_BACK_REF               0x8CA3
 674 #define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
 675 #define GL_STENCIL_BACK_WRITEMASK         0x8CA5
 676 #define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
 677 #define GL_POINT_SPRITE                   0x8861
 678 #define GL_COORD_REPLACE                  0x8862
 679 #define GL_MAX_TEXTURE_COORDS             0x8871
 680 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
 681 typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
 682 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
 683 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
 684 typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
 685 typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
 686 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
 687 typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
 688 typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
 689 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
 690 typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
 691 typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
 692 typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
 693 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
 694 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
 695 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
 696 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
 697 typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
 698 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
 699 typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
 700 typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
 701 typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
 702 typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
 703 typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
 704 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
 705 typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
 706 typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
 707 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
 708 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
 709 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
 710 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
 711 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
 712 typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
 713 typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
 714 typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
 715 typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
 716 typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
 717 typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
 718 typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
 719 typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
 720 typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
 721 typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
 722 typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
 723 typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
 724 typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
 725 typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
 726 typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
 727 typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
 728 typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
 729 typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
 730 typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
 731 typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
 732 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 733 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 734 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 735 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
 736 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
 737 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
 738 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
 739 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
 740 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
 741 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
 742 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
 743 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
 744 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
 745 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
 746 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
 747 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
 748 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
 749 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
 750 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
 751 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
 752 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
 753 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
 754 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
 755 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
 756 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
 757 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
 758 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
 759 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
 760 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
 761 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
 762 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
 763 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
 764 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
 765 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
 766 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
 767 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
 768 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
 769 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
 770 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
 771 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
 772 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
 773 #ifdef GL_GLEXT_PROTOTYPES
 774 GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
 775 GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
 776 GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
 777 GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
 778 GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
 779 GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
 780 GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
 781 GLAPI void APIENTRY glCompileShader (GLuint shader);
 782 GLAPI GLuint APIENTRY glCreateProgram (void);
 783 GLAPI GLuint APIENTRY glCreateShader (GLenum type);
 784 GLAPI void APIENTRY glDeleteProgram (GLuint program);
 785 GLAPI void APIENTRY glDeleteShader (GLuint shader);
 786 GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
 787 GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
 788 GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
 789 GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
 790 GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
 791 GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
 792 GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
 793 GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
 794 GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
 795 GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
 796 GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
 797 GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
 798 GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
 799 GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
 800 GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
 801 GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
 802 GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
 803 GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
 804 GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
 805 GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
 806 GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
 807 GLAPI void APIENTRY glLinkProgram (GLuint program);
 808 GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
 809 GLAPI void APIENTRY glUseProgram (GLuint program);
 810 GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
 811 GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
 812 GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
 813 GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
 814 GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
 815 GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
 816 GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
 817 GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
 818 GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
 819 GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
 820 GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
 821 GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
 822 GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
 823 GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
 824 GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
 825 GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
 826 GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 827 GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 828 GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 829 GLAPI void APIENTRY glValidateProgram (GLuint program);
 830 GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
 831 GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
 832 GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
 833 GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
 834 GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
 835 GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
 836 GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
 837 GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
 838 GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
 839 GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
 840 GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
 841 GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
 842 GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
 843 GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
 844 GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
 845 GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
 846 GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
 847 GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
 848 GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
 849 GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
 850 GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
 851 GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
 852 GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
 853 GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
 854 GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
 855 GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
 856 GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
 857 GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
 858 GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
 859 GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
 860 GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
 861 GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
 862 GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
 863 GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
 864 GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
 865 GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
 866 GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
 867 #endif
 868 #endif /* GL_VERSION_2_0 */
 869 
 870 #ifndef GL_VERSION_2_1
 871 #define GL_VERSION_2_1 1
 872 #define GL_PIXEL_PACK_BUFFER              0x88EB
 873 #define GL_PIXEL_UNPACK_BUFFER            0x88EC
 874 #define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
 875 #define GL_PIXEL_UNPACK_BUFFER_BINDING    0x88EF
 876 #define GL_FLOAT_MAT2x3                   0x8B65
 877 #define GL_FLOAT_MAT2x4                   0x8B66
 878 #define GL_FLOAT_MAT3x2                   0x8B67
 879 #define GL_FLOAT_MAT3x4                   0x8B68
 880 #define GL_FLOAT_MAT4x2                   0x8B69
 881 #define GL_FLOAT_MAT4x3                   0x8B6A
 882 #define GL_SRGB                           0x8C40
 883 #define GL_SRGB8                          0x8C41
 884 #define GL_SRGB_ALPHA                     0x8C42
 885 #define GL_SRGB8_ALPHA8                   0x8C43
 886 #define GL_COMPRESSED_SRGB                0x8C48
 887 #define GL_COMPRESSED_SRGB_ALPHA          0x8C49
 888 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
 889 #define GL_SLUMINANCE_ALPHA               0x8C44
 890 #define GL_SLUMINANCE8_ALPHA8             0x8C45
 891 #define GL_SLUMINANCE                     0x8C46
 892 #define GL_SLUMINANCE8                    0x8C47
 893 #define GL_COMPRESSED_SLUMINANCE          0x8C4A
 894 #define GL_COMPRESSED_SLUMINANCE_ALPHA    0x8C4B
 895 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 896 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 897 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 898 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 899 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 900 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 901 #ifdef GL_GLEXT_PROTOTYPES
 902 GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 903 GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 904 GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 905 GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 906 GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 907 GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
 908 #endif
 909 #endif /* GL_VERSION_2_1 */
 910 
 911 #ifndef GL_VERSION_3_0
 912 #define GL_VERSION_3_0 1
 913 typedef khronos_uint16_t GLhalf;
 914 #define GL_COMPARE_REF_TO_TEXTURE         0x884E
 915 #define GL_CLIP_DISTANCE0                 0x3000
 916 #define GL_CLIP_DISTANCE1                 0x3001
 917 #define GL_CLIP_DISTANCE2                 0x3002
 918 #define GL_CLIP_DISTANCE3                 0x3003
 919 #define GL_CLIP_DISTANCE4                 0x3004
 920 #define GL_CLIP_DISTANCE5                 0x3005
 921 #define GL_CLIP_DISTANCE6                 0x3006
 922 #define GL_CLIP_DISTANCE7                 0x3007
 923 #define GL_MAX_CLIP_DISTANCES             0x0D32
 924 #define GL_MAJOR_VERSION                  0x821B
 925 #define GL_MINOR_VERSION                  0x821C
 926 #define GL_NUM_EXTENSIONS                 0x821D
 927 #define GL_CONTEXT_FLAGS                  0x821E
 928 #define GL_COMPRESSED_RED                 0x8225
 929 #define GL_COMPRESSED_RG                  0x8226
 930 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
 931 #define GL_RGBA32F                        0x8814
 932 #define GL_RGB32F                         0x8815
 933 #define GL_RGBA16F                        0x881A
 934 #define GL_RGB16F                         0x881B
 935 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER    0x88FD
 936 #define GL_MAX_ARRAY_TEXTURE_LAYERS       0x88FF
 937 #define GL_MIN_PROGRAM_TEXEL_OFFSET       0x8904
 938 #define GL_MAX_PROGRAM_TEXEL_OFFSET       0x8905
 939 #define GL_CLAMP_READ_COLOR               0x891C
 940 #define GL_FIXED_ONLY                     0x891D
 941 #define GL_MAX_VARYING_COMPONENTS         0x8B4B
 942 #define GL_TEXTURE_1D_ARRAY               0x8C18
 943 #define GL_PROXY_TEXTURE_1D_ARRAY         0x8C19
 944 #define GL_TEXTURE_2D_ARRAY               0x8C1A
 945 #define GL_PROXY_TEXTURE_2D_ARRAY         0x8C1B
 946 #define GL_TEXTURE_BINDING_1D_ARRAY       0x8C1C
 947 #define GL_TEXTURE_BINDING_2D_ARRAY       0x8C1D
 948 #define GL_R11F_G11F_B10F                 0x8C3A
 949 #define GL_UNSIGNED_INT_10F_11F_11F_REV   0x8C3B
 950 #define GL_RGB9_E5                        0x8C3D
 951 #define GL_UNSIGNED_INT_5_9_9_9_REV       0x8C3E
 952 #define GL_TEXTURE_SHARED_SIZE            0x8C3F
 953 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
 954 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
 955 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
 956 #define GL_TRANSFORM_FEEDBACK_VARYINGS    0x8C83
 957 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
 958 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
 959 #define GL_PRIMITIVES_GENERATED           0x8C87
 960 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
 961 #define GL_RASTERIZER_DISCARD             0x8C89
 962 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
 963 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
 964 #define GL_INTERLEAVED_ATTRIBS            0x8C8C
 965 #define GL_SEPARATE_ATTRIBS               0x8C8D
 966 #define GL_TRANSFORM_FEEDBACK_BUFFER      0x8C8E
 967 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
 968 #define GL_RGBA32UI                       0x8D70
 969 #define GL_RGB32UI                        0x8D71
 970 #define GL_RGBA16UI                       0x8D76
 971 #define GL_RGB16UI                        0x8D77
 972 #define GL_RGBA8UI                        0x8D7C
 973 #define GL_RGB8UI                         0x8D7D
 974 #define GL_RGBA32I                        0x8D82
 975 #define GL_RGB32I                         0x8D83
 976 #define GL_RGBA16I                        0x8D88
 977 #define GL_RGB16I                         0x8D89
 978 #define GL_RGBA8I                         0x8D8E
 979 #define GL_RGB8I                          0x8D8F
 980 #define GL_RED_INTEGER                    0x8D94
 981 #define GL_GREEN_INTEGER                  0x8D95
 982 #define GL_BLUE_INTEGER                   0x8D96
 983 #define GL_RGB_INTEGER                    0x8D98
 984 #define GL_RGBA_INTEGER                   0x8D99
 985 #define GL_BGR_INTEGER                    0x8D9A
 986 #define GL_BGRA_INTEGER                   0x8D9B
 987 #define GL_SAMPLER_1D_ARRAY               0x8DC0
 988 #define GL_SAMPLER_2D_ARRAY               0x8DC1
 989 #define GL_SAMPLER_1D_ARRAY_SHADOW        0x8DC3
 990 #define GL_SAMPLER_2D_ARRAY_SHADOW        0x8DC4
 991 #define GL_SAMPLER_CUBE_SHADOW            0x8DC5
 992 #define GL_UNSIGNED_INT_VEC2              0x8DC6
 993 #define GL_UNSIGNED_INT_VEC3              0x8DC7
 994 #define GL_UNSIGNED_INT_VEC4              0x8DC8
 995 #define GL_INT_SAMPLER_1D                 0x8DC9
 996 #define GL_INT_SAMPLER_2D                 0x8DCA
 997 #define GL_INT_SAMPLER_3D                 0x8DCB
 998 #define GL_INT_SAMPLER_CUBE               0x8DCC
 999 #define GL_INT_SAMPLER_1D_ARRAY           0x8DCE
1000 #define GL_INT_SAMPLER_2D_ARRAY           0x8DCF
1001 #define GL_UNSIGNED_INT_SAMPLER_1D        0x8DD1
1002 #define GL_UNSIGNED_INT_SAMPLER_2D        0x8DD2
1003 #define GL_UNSIGNED_INT_SAMPLER_3D        0x8DD3
1004 #define GL_UNSIGNED_INT_SAMPLER_CUBE      0x8DD4
1005 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY  0x8DD6
1006 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY  0x8DD7
1007 #define GL_QUERY_WAIT                     0x8E13
1008 #define GL_QUERY_NO_WAIT                  0x8E14
1009 #define GL_QUERY_BY_REGION_WAIT           0x8E15
1010 #define GL_QUERY_BY_REGION_NO_WAIT        0x8E16
1011 #define GL_BUFFER_ACCESS_FLAGS            0x911F
1012 #define GL_BUFFER_MAP_LENGTH              0x9120
1013 #define GL_BUFFER_MAP_OFFSET              0x9121
1014 #define GL_DEPTH_COMPONENT32F             0x8CAC
1015 #define GL_DEPTH32F_STENCIL8              0x8CAD
1016 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
1017 #define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
1018 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
1019 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
1020 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
1021 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
1022 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
1023 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
1024 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
1025 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
1026 #define GL_FRAMEBUFFER_DEFAULT            0x8218
1027 #define GL_FRAMEBUFFER_UNDEFINED          0x8219
1028 #define GL_DEPTH_STENCIL_ATTACHMENT       0x821A
1029 #define GL_MAX_RENDERBUFFER_SIZE          0x84E8
1030 #define GL_DEPTH_STENCIL                  0x84F9
1031 #define GL_UNSIGNED_INT_24_8              0x84FA
1032 #define GL_DEPTH24_STENCIL8               0x88F0
1033 #define GL_TEXTURE_STENCIL_SIZE           0x88F1
1034 #define GL_TEXTURE_RED_TYPE               0x8C10
1035 #define GL_TEXTURE_GREEN_TYPE             0x8C11
1036 #define GL_TEXTURE_BLUE_TYPE              0x8C12
1037 #define GL_TEXTURE_ALPHA_TYPE             0x8C13
1038 #define GL_TEXTURE_DEPTH_TYPE             0x8C16
1039 #define GL_UNSIGNED_NORMALIZED            0x8C17
1040 #define GL_FRAMEBUFFER_BINDING            0x8CA6
1041 #define GL_DRAW_FRAMEBUFFER_BINDING       0x8CA6
1042 #define GL_RENDERBUFFER_BINDING           0x8CA7
1043 #define GL_READ_FRAMEBUFFER               0x8CA8
1044 #define GL_DRAW_FRAMEBUFFER               0x8CA9
1045 #define GL_READ_FRAMEBUFFER_BINDING       0x8CAA
1046 #define GL_RENDERBUFFER_SAMPLES           0x8CAB
1047 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
1048 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
1049 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
1050 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
1051 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
1052 #define GL_FRAMEBUFFER_COMPLETE           0x8CD5
1053 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
1054 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
1055 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
1056 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
1057 #define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
1058 #define GL_MAX_COLOR_ATTACHMENTS          0x8CDF
1059 #define GL_COLOR_ATTACHMENT0              0x8CE0
1060 #define GL_COLOR_ATTACHMENT1              0x8CE1
1061 #define GL_COLOR_ATTACHMENT2              0x8CE2
1062 #define GL_COLOR_ATTACHMENT3              0x8CE3
1063 #define GL_COLOR_ATTACHMENT4              0x8CE4
1064 #define GL_COLOR_ATTACHMENT5              0x8CE5
1065 #define GL_COLOR_ATTACHMENT6              0x8CE6
1066 #define GL_COLOR_ATTACHMENT7              0x8CE7
1067 #define GL_COLOR_ATTACHMENT8              0x8CE8
1068 #define GL_COLOR_ATTACHMENT9              0x8CE9
1069 #define GL_COLOR_ATTACHMENT10             0x8CEA
1070 #define GL_COLOR_ATTACHMENT11             0x8CEB
1071 #define GL_COLOR_ATTACHMENT12             0x8CEC
1072 #define GL_COLOR_ATTACHMENT13             0x8CED
1073 #define GL_COLOR_ATTACHMENT14             0x8CEE
1074 #define GL_COLOR_ATTACHMENT15             0x8CEF
1075 #define GL_COLOR_ATTACHMENT16             0x8CF0
1076 #define GL_COLOR_ATTACHMENT17             0x8CF1
1077 #define GL_COLOR_ATTACHMENT18             0x8CF2
1078 #define GL_COLOR_ATTACHMENT19             0x8CF3
1079 #define GL_COLOR_ATTACHMENT20             0x8CF4
1080 #define GL_COLOR_ATTACHMENT21             0x8CF5
1081 #define GL_COLOR_ATTACHMENT22             0x8CF6
1082 #define GL_COLOR_ATTACHMENT23             0x8CF7
1083 #define GL_COLOR_ATTACHMENT24             0x8CF8
1084 #define GL_COLOR_ATTACHMENT25             0x8CF9
1085 #define GL_COLOR_ATTACHMENT26             0x8CFA
1086 #define GL_COLOR_ATTACHMENT27             0x8CFB
1087 #define GL_COLOR_ATTACHMENT28             0x8CFC
1088 #define GL_COLOR_ATTACHMENT29             0x8CFD
1089 #define GL_COLOR_ATTACHMENT30             0x8CFE
1090 #define GL_COLOR_ATTACHMENT31             0x8CFF
1091 #define GL_DEPTH_ATTACHMENT               0x8D00
1092 #define GL_STENCIL_ATTACHMENT             0x8D20
1093 #define GL_FRAMEBUFFER                    0x8D40
1094 #define GL_RENDERBUFFER                   0x8D41
1095 #define GL_RENDERBUFFER_WIDTH             0x8D42
1096 #define GL_RENDERBUFFER_HEIGHT            0x8D43
1097 #define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
1098 #define GL_STENCIL_INDEX1                 0x8D46
1099 #define GL_STENCIL_INDEX4                 0x8D47
1100 #define GL_STENCIL_INDEX8                 0x8D48
1101 #define GL_STENCIL_INDEX16                0x8D49
1102 #define GL_RENDERBUFFER_RED_SIZE          0x8D50
1103 #define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
1104 #define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
1105 #define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
1106 #define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
1107 #define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
1108 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
1109 #define GL_MAX_SAMPLES                    0x8D57
1110 #define GL_INDEX                          0x8222
1111 #define GL_TEXTURE_LUMINANCE_TYPE         0x8C14
1112 #define GL_TEXTURE_INTENSITY_TYPE         0x8C15
1113 #define GL_FRAMEBUFFER_SRGB               0x8DB9
1114 #define GL_HALF_FLOAT                     0x140B
1115 #define GL_MAP_READ_BIT                   0x0001
1116 #define GL_MAP_WRITE_BIT                  0x0002
1117 #define GL_MAP_INVALIDATE_RANGE_BIT       0x0004
1118 #define GL_MAP_INVALIDATE_BUFFER_BIT      0x0008
1119 #define GL_MAP_FLUSH_EXPLICIT_BIT         0x0010
1120 #define GL_MAP_UNSYNCHRONIZED_BIT         0x0020
1121 #define GL_COMPRESSED_RED_RGTC1           0x8DBB
1122 #define GL_COMPRESSED_SIGNED_RED_RGTC1    0x8DBC
1123 #define GL_COMPRESSED_RG_RGTC2            0x8DBD
1124 #define GL_COMPRESSED_SIGNED_RG_RGTC2     0x8DBE
1125 #define GL_RG                             0x8227
1126 #define GL_RG_INTEGER                     0x8228
1127 #define GL_R8                             0x8229
1128 #define GL_R16                            0x822A
1129 #define GL_RG8                            0x822B
1130 #define GL_RG16                           0x822C
1131 #define GL_R16F                           0x822D
1132 #define GL_R32F                           0x822E
1133 #define GL_RG16F                          0x822F
1134 #define GL_RG32F                          0x8230
1135 #define GL_R8I                            0x8231
1136 #define GL_R8UI                           0x8232
1137 #define GL_R16I                           0x8233
1138 #define GL_R16UI                          0x8234
1139 #define GL_R32I                           0x8235
1140 #define GL_R32UI                          0x8236
1141 #define GL_RG8I                           0x8237
1142 #define GL_RG8UI                          0x8238
1143 #define GL_RG16I                          0x8239
1144 #define GL_RG16UI                         0x823A
1145 #define GL_RG32I                          0x823B
1146 #define GL_RG32UI                         0x823C
1147 #define GL_VERTEX_ARRAY_BINDING           0x85B5
1148 #define GL_CLAMP_VERTEX_COLOR             0x891A
1149 #define GL_CLAMP_FRAGMENT_COLOR           0x891B
1150 #define GL_ALPHA_INTEGER                  0x8D97
1151 typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1152 typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
1153 typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
1154 typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
1155 typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
1156 typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
1157 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
1158 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
1159 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
1160 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
1161 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
1162 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
1163 typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
1164 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
1165 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
1166 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1167 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
1168 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
1169 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
1170 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
1171 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
1172 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
1173 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
1174 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
1175 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
1176 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
1177 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
1178 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
1179 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
1180 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
1181 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
1182 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
1183 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
1184 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
1185 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
1186 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
1187 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
1188 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
1189 typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
1190 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
1191 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
1192 typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
1193 typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
1194 typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
1195 typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1196 typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1197 typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1198 typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1199 typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
1200 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
1201 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
1202 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
1203 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
1204 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
1205 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
1206 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
1207 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
1208 typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
1209 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
1210 typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
1211 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
1212 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
1213 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
1214 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
1215 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
1216 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
1217 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
1218 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
1219 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
1220 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1221 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1222 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
1223 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
1224 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
1225 typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
1226 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
1227 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1228 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
1229 typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1230 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
1231 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
1232 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
1233 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
1234 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
1235 #ifdef GL_GLEXT_PROTOTYPES
1236 GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1237 GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
1238 GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
1239 GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
1240 GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
1241 GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
1242 GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
1243 GLAPI void APIENTRY glEndTransformFeedback (void);
1244 GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
1245 GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
1246 GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
1247 GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
1248 GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
1249 GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
1250 GLAPI void APIENTRY glEndConditionalRender (void);
1251 GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1252 GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
1253 GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
1254 GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
1255 GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
1256 GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
1257 GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
1258 GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
1259 GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
1260 GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
1261 GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
1262 GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
1263 GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
1264 GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
1265 GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
1266 GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
1267 GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
1268 GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
1269 GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
1270 GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
1271 GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
1272 GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
1273 GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
1274 GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
1275 GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
1276 GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
1277 GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
1278 GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
1279 GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
1280 GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1281 GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
1282 GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
1283 GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
1284 GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
1285 GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
1286 GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
1287 GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
1288 GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
1289 GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
1290 GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
1291 GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
1292 GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
1293 GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
1294 GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
1295 GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
1296 GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
1297 GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
1298 GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
1299 GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
1300 GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
1301 GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
1302 GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
1303 GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
1304 GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
1305 GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1306 GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
1307 GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
1308 GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
1309 GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
1310 GLAPI void APIENTRY glGenerateMipmap (GLenum target);
1311 GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
1312 GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1313 GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
1314 GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1315 GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
1316 GLAPI void APIENTRY glBindVertexArray (GLuint array);
1317 GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
1318 GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
1319 GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
1320 #endif
1321 #endif /* GL_VERSION_3_0 */
1322 
1323 #ifndef GL_VERSION_3_1
1324 #define GL_VERSION_3_1 1
1325 #define GL_SAMPLER_2D_RECT                0x8B63
1326 #define GL_SAMPLER_2D_RECT_SHADOW         0x8B64
1327 #define GL_SAMPLER_BUFFER                 0x8DC2
1328 #define GL_INT_SAMPLER_2D_RECT            0x8DCD
1329 #define GL_INT_SAMPLER_BUFFER             0x8DD0
1330 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT   0x8DD5
1331 #define GL_UNSIGNED_INT_SAMPLER_BUFFER    0x8DD8
1332 #define GL_TEXTURE_BUFFER                 0x8C2A
1333 #define GL_MAX_TEXTURE_BUFFER_SIZE        0x8C2B
1334 #define GL_TEXTURE_BINDING_BUFFER         0x8C2C
1335 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
1336 #define GL_TEXTURE_RECTANGLE              0x84F5
1337 #define GL_TEXTURE_BINDING_RECTANGLE      0x84F6
1338 #define GL_PROXY_TEXTURE_RECTANGLE        0x84F7
1339 #define GL_MAX_RECTANGLE_TEXTURE_SIZE     0x84F8
1340 #define GL_R8_SNORM                       0x8F94
1341 #define GL_RG8_SNORM                      0x8F95
1342 #define GL_RGB8_SNORM                     0x8F96
1343 #define GL_RGBA8_SNORM                    0x8F97
1344 #define GL_R16_SNORM                      0x8F98
1345 #define GL_RG16_SNORM                     0x8F99
1346 #define GL_RGB16_SNORM                    0x8F9A
1347 #define GL_RGBA16_SNORM                   0x8F9B
1348 #define GL_SIGNED_NORMALIZED              0x8F9C
1349 #define GL_PRIMITIVE_RESTART              0x8F9D
1350 #define GL_PRIMITIVE_RESTART_INDEX        0x8F9E
1351 #define GL_COPY_READ_BUFFER               0x8F36
1352 #define GL_COPY_WRITE_BUFFER              0x8F37
1353 #define GL_UNIFORM_BUFFER                 0x8A11
1354 #define GL_UNIFORM_BUFFER_BINDING         0x8A28
1355 #define GL_UNIFORM_BUFFER_START           0x8A29
1356 #define GL_UNIFORM_BUFFER_SIZE            0x8A2A
1357 #define GL_MAX_VERTEX_UNIFORM_BLOCKS      0x8A2B
1358 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS    0x8A2C
1359 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS    0x8A2D
1360 #define GL_MAX_COMBINED_UNIFORM_BLOCKS    0x8A2E
1361 #define GL_MAX_UNIFORM_BUFFER_BINDINGS    0x8A2F
1362 #define GL_MAX_UNIFORM_BLOCK_SIZE         0x8A30
1363 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
1364 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
1365 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
1366 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
1367 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
1368 #define GL_ACTIVE_UNIFORM_BLOCKS          0x8A36
1369 #define GL_UNIFORM_TYPE                   0x8A37
1370 #define GL_UNIFORM_SIZE                   0x8A38
1371 #define GL_UNIFORM_NAME_LENGTH            0x8A39
1372 #define GL_UNIFORM_BLOCK_INDEX            0x8A3A
1373 #define GL_UNIFORM_OFFSET                 0x8A3B
1374 #define GL_UNIFORM_ARRAY_STRIDE           0x8A3C
1375 #define GL_UNIFORM_MATRIX_STRIDE          0x8A3D
1376 #define GL_UNIFORM_IS_ROW_MAJOR           0x8A3E
1377 #define GL_UNIFORM_BLOCK_BINDING          0x8A3F
1378 #define GL_UNIFORM_BLOCK_DATA_SIZE        0x8A40
1379 #define GL_UNIFORM_BLOCK_NAME_LENGTH      0x8A41
1380 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS  0x8A42
1381 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
1382 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
1383 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
1384 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
1385 #define GL_INVALID_INDEX                  0xFFFFFFFFu
1386 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
1387 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
1388 typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
1389 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
1390 typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
1391 typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1392 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1393 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
1394 typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
1395 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
1396 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
1397 typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
1398 #ifdef GL_GLEXT_PROTOTYPES
1399 GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
1400 GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
1401 GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
1402 GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
1403 GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
1404 GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
1405 GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
1406 GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
1407 GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
1408 GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
1409 GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
1410 GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
1411 #endif
1412 #endif /* GL_VERSION_3_1 */
1413 
1414 #ifndef GL_VERSION_3_2
1415 #define GL_VERSION_3_2 1
1416 typedef struct __GLsync *GLsync;
1417 typedef khronos_uint64_t GLuint64;
1418 typedef khronos_int64_t GLint64;
1419 #define GL_CONTEXT_CORE_PROFILE_BIT       0x00000001
1420 #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
1421 #define GL_LINES_ADJACENCY                0x000A
1422 #define GL_LINE_STRIP_ADJACENCY           0x000B
1423 #define GL_TRIANGLES_ADJACENCY            0x000C
1424 #define GL_TRIANGLE_STRIP_ADJACENCY       0x000D
1425 #define GL_PROGRAM_POINT_SIZE             0x8642
1426 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
1427 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
1428 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
1429 #define GL_GEOMETRY_SHADER                0x8DD9
1430 #define GL_GEOMETRY_VERTICES_OUT          0x8916
1431 #define GL_GEOMETRY_INPUT_TYPE            0x8917
1432 #define GL_GEOMETRY_OUTPUT_TYPE           0x8918
1433 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
1434 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES   0x8DE0
1435 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
1436 #define GL_MAX_VERTEX_OUTPUT_COMPONENTS   0x9122
1437 #define GL_MAX_GEOMETRY_INPUT_COMPONENTS  0x9123
1438 #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
1439 #define GL_MAX_FRAGMENT_INPUT_COMPONENTS  0x9125
1440 #define GL_CONTEXT_PROFILE_MASK           0x9126
1441 #define GL_DEPTH_CLAMP                    0x864F
1442 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
1443 #define GL_FIRST_VERTEX_CONVENTION        0x8E4D
1444 #define GL_LAST_VERTEX_CONVENTION         0x8E4E
1445 #define GL_PROVOKING_VERTEX               0x8E4F
1446 #define GL_TEXTURE_CUBE_MAP_SEAMLESS      0x884F
1447 #define GL_MAX_SERVER_WAIT_TIMEOUT        0x9111
1448 #define GL_OBJECT_TYPE                    0x9112
1449 #define GL_SYNC_CONDITION                 0x9113
1450 #define GL_SYNC_STATUS                    0x9114
1451 #define GL_SYNC_FLAGS                     0x9115
1452 #define GL_SYNC_FENCE                     0x9116
1453 #define GL_SYNC_GPU_COMMANDS_COMPLETE     0x9117
1454 #define GL_UNSIGNALED                     0x9118
1455 #define GL_SIGNALED                       0x9119
1456 #define GL_ALREADY_SIGNALED               0x911A
1457 #define GL_TIMEOUT_EXPIRED                0x911B
1458 #define GL_CONDITION_SATISFIED            0x911C
1459 #define GL_WAIT_FAILED                    0x911D
1460 #define GL_TIMEOUT_IGNORED                0xFFFFFFFFFFFFFFFFull
1461 #define GL_SYNC_FLUSH_COMMANDS_BIT        0x00000001
1462 #define GL_SAMPLE_POSITION                0x8E50
1463 #define GL_SAMPLE_MASK                    0x8E51
1464 #define GL_SAMPLE_MASK_VALUE              0x8E52
1465 #define GL_MAX_SAMPLE_MASK_WORDS          0x8E59
1466 #define GL_TEXTURE_2D_MULTISAMPLE         0x9100
1467 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE   0x9101
1468 #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY   0x9102
1469 #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
1470 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
1471 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
1472 #define GL_TEXTURE_SAMPLES                0x9106
1473 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
1474 #define GL_SAMPLER_2D_MULTISAMPLE         0x9108
1475 #define GL_INT_SAMPLER_2D_MULTISAMPLE     0x9109
1476 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
1477 #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY   0x910B
1478 #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
1479 #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
1480 #define GL_MAX_COLOR_TEXTURE_SAMPLES      0x910E
1481 #define GL_MAX_DEPTH_TEXTURE_SAMPLES      0x910F
1482 #define GL_MAX_INTEGER_SAMPLES            0x9110
1483 typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1484 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1485 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1486 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
1487 typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
1488 typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
1489 typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
1490 typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
1491 typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1492 typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1493 typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
1494 typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1495 typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
1496 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
1497 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
1498 typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
1499 typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
1500 typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
1501 typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
1502 #ifdef GL_GLEXT_PROTOTYPES
1503 GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1504 GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1505 GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1506 GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
1507 GLAPI void APIENTRY glProvokingVertex (GLenum mode);
1508 GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
1509 GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
1510 GLAPI void APIENTRY glDeleteSync (GLsync sync);
1511 GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1512 GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1513 GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
1514 GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1515 GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
1516 GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
1517 GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
1518 GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
1519 GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
1520 GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
1521 GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
1522 #endif
1523 #endif /* GL_VERSION_3_2 */
1524 
1525 #ifndef GL_VERSION_3_3
1526 #define GL_VERSION_3_3 1
1527 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR    0x88FE
1528 #define GL_SRC1_COLOR                     0x88F9
1529 #define GL_ONE_MINUS_SRC1_COLOR           0x88FA
1530 #define GL_ONE_MINUS_SRC1_ALPHA           0x88FB
1531 #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS   0x88FC
1532 #define GL_ANY_SAMPLES_PASSED             0x8C2F
1533 #define GL_SAMPLER_BINDING                0x8919
1534 #define GL_RGB10_A2UI                     0x906F
1535 #define GL_TEXTURE_SWIZZLE_R              0x8E42
1536 #define GL_TEXTURE_SWIZZLE_G              0x8E43
1537 #define GL_TEXTURE_SWIZZLE_B              0x8E44
1538 #define GL_TEXTURE_SWIZZLE_A              0x8E45
1539 #define GL_TEXTURE_SWIZZLE_RGBA           0x8E46
1540 #define GL_TIME_ELAPSED                   0x88BF
1541 #define GL_TIMESTAMP                      0x8E28
1542 #define GL_INT_2_10_10_10_REV             0x8D9F
1543 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1544 typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
1545 typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
1546 typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
1547 typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
1548 typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
1549 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
1550 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
1551 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
1552 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
1553 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
1554 typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
1555 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
1556 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
1557 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
1558 typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
1559 typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
1560 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
1561 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
1562 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
1563 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1564 typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1565 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1566 typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1567 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1568 typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1569 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1570 typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1571 typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
1572 typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
1573 typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
1574 typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
1575 typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
1576 typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
1577 typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
1578 typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
1579 typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
1580 typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
1581 typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
1582 typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
1583 typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
1584 typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
1585 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
1586 typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1587 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
1588 typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1589 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
1590 typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1591 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
1592 typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
1593 typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
1594 typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
1595 typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
1596 typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
1597 typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
1598 typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
1599 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
1600 typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
1601 #ifdef GL_GLEXT_PROTOTYPES
1602 GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1603 GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
1604 GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
1605 GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
1606 GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
1607 GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
1608 GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
1609 GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
1610 GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
1611 GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
1612 GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
1613 GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
1614 GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
1615 GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
1616 GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
1617 GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
1618 GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
1619 GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
1620 GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
1621 GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
1622 GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1623 GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1624 GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1625 GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1626 GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1627 GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1628 GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
1629 GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
1630 GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
1631 GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
1632 GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
1633 GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
1634 GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
1635 GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
1636 GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
1637 GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
1638 GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
1639 GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
1640 GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
1641 GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
1642 GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
1643 GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
1644 GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
1645 GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
1646 GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
1647 GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
1648 GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
1649 GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
1650 GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
1651 GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
1652 GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
1653 GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
1654 GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
1655 GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
1656 GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
1657 GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
1658 GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
1659 GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
1660 #endif
1661 #endif /* GL_VERSION_3_3 */
1662 
1663 #ifndef GL_VERSION_4_0
1664 #define GL_VERSION_4_0 1
1665 #define GL_SAMPLE_SHADING                 0x8C36
1666 #define GL_MIN_SAMPLE_SHADING_VALUE       0x8C37
1667 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
1668 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
1669 #define GL_TEXTURE_CUBE_MAP_ARRAY         0x9009
1670 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
1671 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY   0x900B
1672 #define GL_SAMPLER_CUBE_MAP_ARRAY         0x900C
1673 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW  0x900D
1674 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY     0x900E
1675 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
1676 #define GL_DRAW_INDIRECT_BUFFER           0x8F3F
1677 #define GL_DRAW_INDIRECT_BUFFER_BINDING   0x8F43
1678 #define GL_GEOMETRY_SHADER_INVOCATIONS    0x887F
1679 #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
1680 #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
1681 #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
1682 #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
1683 #define GL_MAX_VERTEX_STREAMS             0x8E71
1684 #define GL_DOUBLE_VEC2                    0x8FFC
1685 #define GL_DOUBLE_VEC3                    0x8FFD
1686 #define GL_DOUBLE_VEC4                    0x8FFE
1687 #define GL_DOUBLE_MAT2                    0x8F46
1688 #define GL_DOUBLE_MAT3                    0x8F47
1689 #define GL_DOUBLE_MAT4                    0x8F48
1690 #define GL_DOUBLE_MAT2x3                  0x8F49
1691 #define GL_DOUBLE_MAT2x4                  0x8F4A
1692 #define GL_DOUBLE_MAT3x2                  0x8F4B
1693 #define GL_DOUBLE_MAT3x4                  0x8F4C
1694 #define GL_DOUBLE_MAT4x2                  0x8F4D
1695 #define GL_DOUBLE_MAT4x3                  0x8F4E
1696 #define GL_ACTIVE_SUBROUTINES             0x8DE5
1697 #define GL_ACTIVE_SUBROUTINE_UNIFORMS     0x8DE6
1698 #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
1699 #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH   0x8E48
1700 #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
1701 #define GL_MAX_SUBROUTINES                0x8DE7
1702 #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
1703 #define GL_NUM_COMPATIBLE_SUBROUTINES     0x8E4A
1704 #define GL_COMPATIBLE_SUBROUTINES         0x8E4B
1705 #define GL_PATCHES                        0x000E
1706 #define GL_PATCH_VERTICES                 0x8E72
1707 #define GL_PATCH_DEFAULT_INNER_LEVEL      0x8E73
1708 #define GL_PATCH_DEFAULT_OUTER_LEVEL      0x8E74
1709 #define GL_TESS_CONTROL_OUTPUT_VERTICES   0x8E75
1710 #define GL_TESS_GEN_MODE                  0x8E76
1711 #define GL_TESS_GEN_SPACING               0x8E77
1712 #define GL_TESS_GEN_VERTEX_ORDER          0x8E78
1713 #define GL_TESS_GEN_POINT_MODE            0x8E79
1714 #define GL_ISOLINES                       0x8E7A
1715 #define GL_FRACTIONAL_ODD                 0x8E7B
1716 #define GL_FRACTIONAL_EVEN                0x8E7C
1717 #define GL_MAX_PATCH_VERTICES             0x8E7D
1718 #define GL_MAX_TESS_GEN_LEVEL             0x8E7E
1719 #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
1720 #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
1721 #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
1722 #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
1723 #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
1724 #define GL_MAX_TESS_PATCH_COMPONENTS      0x8E84
1725 #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
1726 #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
1727 #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
1728 #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
1729 #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
1730 #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
1731 #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
1732 #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
1733 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
1734 #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
1735 #define GL_TESS_EVALUATION_SHADER         0x8E87
1736 #define GL_TESS_CONTROL_SHADER            0x8E88
1737 #define GL_TRANSFORM_FEEDBACK             0x8E22
1738 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
1739 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
1740 #define GL_TRANSFORM_FEEDBACK_BINDING     0x8E25
1741 #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
1742 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
1743 typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
1744 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1745 typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
1746 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1747 typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
1748 typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
1749 typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
1750 typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
1751 typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
1752 typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1753 typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1754 typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1755 typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1756 typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
1757 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1758 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1759 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1760 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1761 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1762 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1763 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1764 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1765 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1766 typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
1767 typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1768 typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1769 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1770 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1771 typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1772 typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
1773 typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
1774 typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
1775 typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
1776 typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
1777 typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
1778 typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
1779 typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
1780 typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
1781 typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
1782 typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
1783 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
1784 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
1785 typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
1786 typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
1787 typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
1788 #ifdef GL_GLEXT_PROTOTYPES
1789 GLAPI void APIENTRY glMinSampleShading (GLfloat value);
1790 GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
1791 GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1792 GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
1793 GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1794 GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
1795 GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
1796 GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
1797 GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
1798 GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
1799 GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1800 GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
1801 GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
1802 GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
1803 GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
1804 GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1805 GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1806 GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1807 GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1808 GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1809 GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1810 GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1811 GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1812 GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1813 GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
1814 GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
1815 GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
1816 GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1817 GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1818 GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1819 GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
1820 GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
1821 GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
1822 GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
1823 GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
1824 GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
1825 GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
1826 GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
1827 GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
1828 GLAPI void APIENTRY glPauseTransformFeedback (void);
1829 GLAPI void APIENTRY glResumeTransformFeedback (void);
1830 GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
1831 GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
1832 GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
1833 GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
1834 GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
1835 #endif
1836 #endif /* GL_VERSION_4_0 */
1837 
1838 #ifndef GL_VERSION_4_1
1839 #define GL_VERSION_4_1 1
1840 #define GL_FIXED                          0x140C
1841 #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
1842 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
1843 #define GL_LOW_FLOAT                      0x8DF0
1844 #define GL_MEDIUM_FLOAT                   0x8DF1
1845 #define GL_HIGH_FLOAT                     0x8DF2
1846 #define GL_LOW_INT                        0x8DF3
1847 #define GL_MEDIUM_INT                     0x8DF4
1848 #define GL_HIGH_INT                       0x8DF5
1849 #define GL_SHADER_COMPILER                0x8DFA
1850 #define GL_SHADER_BINARY_FORMATS          0x8DF8
1851 #define GL_NUM_SHADER_BINARY_FORMATS      0x8DF9
1852 #define GL_MAX_VERTEX_UNIFORM_VECTORS     0x8DFB
1853 #define GL_MAX_VARYING_VECTORS            0x8DFC
1854 #define GL_MAX_FRAGMENT_UNIFORM_VECTORS   0x8DFD
1855 #define GL_RGB565                         0x8D62
1856 #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
1857 #define GL_PROGRAM_BINARY_LENGTH          0x8741
1858 #define GL_NUM_PROGRAM_BINARY_FORMATS     0x87FE
1859 #define GL_PROGRAM_BINARY_FORMATS         0x87FF
1860 #define GL_VERTEX_SHADER_BIT              0x00000001
1861 #define GL_FRAGMENT_SHADER_BIT            0x00000002
1862 #define GL_GEOMETRY_SHADER_BIT            0x00000004
1863 #define GL_TESS_CONTROL_SHADER_BIT        0x00000008
1864 #define GL_TESS_EVALUATION_SHADER_BIT     0x00000010
1865 #define GL_ALL_SHADER_BITS                0xFFFFFFFF
1866 #define GL_PROGRAM_SEPARABLE              0x8258
1867 #define GL_ACTIVE_PROGRAM                 0x8259
1868 #define GL_PROGRAM_PIPELINE_BINDING       0x825A
1869 #define GL_MAX_VIEWPORTS                  0x825B
1870 #define GL_VIEWPORT_SUBPIXEL_BITS         0x825C
1871 #define GL_VIEWPORT_BOUNDS_RANGE          0x825D
1872 #define GL_LAYER_PROVOKING_VERTEX         0x825E
1873 #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
1874 #define GL_UNDEFINED_VERTEX               0x8260
1875 typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
1876 typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
1877 typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
1878 typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
1879 typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
1880 typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1881 typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
1882 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
1883 typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
1884 typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
1885 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
1886 typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
1887 typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
1888 typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
1889 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
1890 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
1891 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
1892 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1893 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
1894 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1895 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
1896 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1897 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
1898 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1899 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
1900 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1901 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1902 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1903 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
1904 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1905 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
1906 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1907 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1908 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1909 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1910 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1911 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
1912 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1913 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1914 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1915 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1916 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1917 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1918 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1919 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
1920 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1921 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1922 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1923 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1924 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1925 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1926 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1927 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1928 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1929 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1930 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1931 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1932 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1933 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1934 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1935 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1936 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1937 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1938 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1939 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1940 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
1941 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
1942 typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1943 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
1944 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
1945 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
1946 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1947 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
1948 typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
1949 typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
1950 typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
1951 typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
1952 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
1953 typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
1954 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
1955 typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
1956 typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
1957 typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
1958 typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
1959 typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
1960 typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
1961 typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
1962 typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
1963 #ifdef GL_GLEXT_PROTOTYPES
1964 GLAPI void APIENTRY glReleaseShaderCompiler (void);
1965 GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
1966 GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
1967 GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
1968 GLAPI void APIENTRY glClearDepthf (GLfloat d);
1969 GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1970 GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
1971 GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
1972 GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
1973 GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
1974 GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
1975 GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
1976 GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
1977 GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
1978 GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
1979 GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
1980 GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
1981 GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1982 GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
1983 GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1984 GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
1985 GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1986 GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
1987 GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
1988 GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
1989 GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1990 GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1991 GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1992 GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
1993 GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
1994 GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
1995 GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
1996 GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1997 GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
1998 GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1999 GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
2000 GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
2001 GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
2002 GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
2003 GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
2004 GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
2005 GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
2006 GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
2007 GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
2008 GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
2009 GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
2010 GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
2011 GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
2012 GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2013 GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2014 GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2015 GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2016 GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2017 GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2018 GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2019 GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2020 GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2021 GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2022 GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2023 GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
2024 GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2025 GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2026 GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2027 GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2028 GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2029 GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
2030 GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
2031 GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
2032 GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
2033 GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
2034 GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
2035 GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
2036 GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
2037 GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
2038 GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
2039 GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
2040 GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
2041 GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
2042 GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
2043 GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
2044 GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
2045 GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
2046 GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
2047 GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
2048 GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
2049 GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
2050 GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
2051 GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
2052 #endif
2053 #endif /* GL_VERSION_4_1 */
2054 
2055 #ifndef GL_VERSION_4_2
2056 #define GL_VERSION_4_2 1
2057 #define GL_COPY_READ_BUFFER_BINDING       0x8F36
2058 #define GL_COPY_WRITE_BUFFER_BINDING      0x8F37
2059 #define GL_TRANSFORM_FEEDBACK_ACTIVE      0x8E24
2060 #define GL_TRANSFORM_FEEDBACK_PAUSED      0x8E23
2061 #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH  0x9127
2062 #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
2063 #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH  0x9129
2064 #define GL_UNPACK_COMPRESSED_BLOCK_SIZE   0x912A
2065 #define GL_PACK_COMPRESSED_BLOCK_WIDTH    0x912B
2066 #define GL_PACK_COMPRESSED_BLOCK_HEIGHT   0x912C
2067 #define GL_PACK_COMPRESSED_BLOCK_DEPTH    0x912D
2068 #define GL_PACK_COMPRESSED_BLOCK_SIZE     0x912E
2069 #define GL_NUM_SAMPLE_COUNTS              0x9380
2070 #define GL_MIN_MAP_BUFFER_ALIGNMENT       0x90BC
2071 #define GL_ATOMIC_COUNTER_BUFFER          0x92C0
2072 #define GL_ATOMIC_COUNTER_BUFFER_BINDING  0x92C1
2073 #define GL_ATOMIC_COUNTER_BUFFER_START    0x92C2
2074 #define GL_ATOMIC_COUNTER_BUFFER_SIZE     0x92C3
2075 #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
2076 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
2077 #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
2078 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
2079 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
2080 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
2081 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
2082 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
2083 #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
2084 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
2085 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
2086 #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
2087 #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
2088 #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
2089 #define GL_MAX_VERTEX_ATOMIC_COUNTERS     0x92D2
2090 #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
2091 #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
2092 #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS   0x92D5
2093 #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS   0x92D6
2094 #define GL_MAX_COMBINED_ATOMIC_COUNTERS   0x92D7
2095 #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
2096 #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
2097 #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS  0x92D9
2098 #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
2099 #define GL_UNSIGNED_INT_ATOMIC_COUNTER    0x92DB
2100 #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
2101 #define GL_ELEMENT_ARRAY_BARRIER_BIT      0x00000002
2102 #define GL_UNIFORM_BARRIER_BIT            0x00000004
2103 #define GL_TEXTURE_FETCH_BARRIER_BIT      0x00000008
2104 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
2105 #define GL_COMMAND_BARRIER_BIT            0x00000040
2106 #define GL_PIXEL_BUFFER_BARRIER_BIT       0x00000080
2107 #define GL_TEXTURE_UPDATE_BARRIER_BIT     0x00000100
2108 #define GL_BUFFER_UPDATE_BARRIER_BIT      0x00000200
2109 #define GL_FRAMEBUFFER_BARRIER_BIT        0x00000400
2110 #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
2111 #define GL_ATOMIC_COUNTER_BARRIER_BIT     0x00001000
2112 #define GL_ALL_BARRIER_BITS               0xFFFFFFFF
2113 #define GL_MAX_IMAGE_UNITS                0x8F38
2114 #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
2115 #define GL_IMAGE_BINDING_NAME             0x8F3A
2116 #define GL_IMAGE_BINDING_LEVEL            0x8F3B
2117 #define GL_IMAGE_BINDING_LAYERED          0x8F3C
2118 #define GL_IMAGE_BINDING_LAYER            0x8F3D
2119 #define GL_IMAGE_BINDING_ACCESS           0x8F3E
2120 #define GL_IMAGE_1D                       0x904C
2121 #define GL_IMAGE_2D                       0x904D
2122 #define GL_IMAGE_3D                       0x904E
2123 #define GL_IMAGE_2D_RECT                  0x904F
2124 #define GL_IMAGE_CUBE                     0x9050
2125 #define GL_IMAGE_BUFFER                   0x9051
2126 #define GL_IMAGE_1D_ARRAY                 0x9052
2127 #define GL_IMAGE_2D_ARRAY                 0x9053
2128 #define GL_IMAGE_CUBE_MAP_ARRAY           0x9054
2129 #define GL_IMAGE_2D_MULTISAMPLE           0x9055
2130 #define GL_IMAGE_2D_MULTISAMPLE_ARRAY     0x9056
2131 #define GL_INT_IMAGE_1D                   0x9057
2132 #define GL_INT_IMAGE_2D                   0x9058
2133 #define GL_INT_IMAGE_3D                   0x9059
2134 #define GL_INT_IMAGE_2D_RECT              0x905A
2135 #define GL_INT_IMAGE_CUBE                 0x905B
2136 #define GL_INT_IMAGE_BUFFER               0x905C
2137 #define GL_INT_IMAGE_1D_ARRAY             0x905D
2138 #define GL_INT_IMAGE_2D_ARRAY             0x905E
2139 #define GL_INT_IMAGE_CUBE_MAP_ARRAY       0x905F
2140 #define GL_INT_IMAGE_2D_MULTISAMPLE       0x9060
2141 #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
2142 #define GL_UNSIGNED_INT_IMAGE_1D          0x9062
2143 #define GL_UNSIGNED_INT_IMAGE_2D          0x9063
2144 #define GL_UNSIGNED_INT_IMAGE_3D          0x9064
2145 #define GL_UNSIGNED_INT_IMAGE_2D_RECT     0x9065
2146 #define GL_UNSIGNED_INT_IMAGE_CUBE        0x9066
2147 #define GL_UNSIGNED_INT_IMAGE_BUFFER      0x9067
2148 #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY    0x9068
2149 #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY    0x9069
2150 #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
2151 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
2152 #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
2153 #define GL_MAX_IMAGE_SAMPLES              0x906D
2154 #define GL_IMAGE_BINDING_FORMAT           0x906E
2155 #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
2156 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
2157 #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
2158 #define GL_MAX_VERTEX_IMAGE_UNIFORMS      0x90CA
2159 #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
2160 #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
2161 #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS    0x90CD
2162 #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS    0x90CE
2163 #define GL_MAX_COMBINED_IMAGE_UNIFORMS    0x90CF
2164 #define GL_COMPRESSED_RGBA_BPTC_UNORM     0x8E8C
2165 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
2166 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
2167 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
2168 #define GL_TEXTURE_IMMUTABLE_FORMAT       0x912F
2169 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2170 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2171 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2172 typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
2173 typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2174 typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2175 typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
2176 typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2177 typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2178 typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2179 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
2180 typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
2181 #ifdef GL_GLEXT_PROTOTYPES
2182 GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2183 GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2184 GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2185 GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
2186 GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2187 GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2188 GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
2189 GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2190 GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2191 GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2192 GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
2193 GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
2194 #endif
2195 #endif /* GL_VERSION_4_2 */
2196 
2197 #ifndef GL_VERSION_4_3
2198 #define GL_VERSION_4_3 1
2199 typedef void (APIENTRY  *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
2200 #define GL_NUM_SHADING_LANGUAGE_VERSIONS  0x82E9
2201 #define GL_VERTEX_ATTRIB_ARRAY_LONG       0x874E
2202 #define GL_COMPRESSED_RGB8_ETC2           0x9274
2203 #define GL_COMPRESSED_SRGB8_ETC2          0x9275
2204 #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
2205 #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
2206 #define GL_COMPRESSED_RGBA8_ETC2_EAC      0x9278
2207 #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
2208 #define GL_COMPRESSED_R11_EAC             0x9270
2209 #define GL_COMPRESSED_SIGNED_R11_EAC      0x9271
2210 #define GL_COMPRESSED_RG11_EAC            0x9272
2211 #define GL_COMPRESSED_SIGNED_RG11_EAC     0x9273
2212 #define GL_PRIMITIVE_RESTART_FIXED_INDEX  0x8D69
2213 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
2214 #define GL_MAX_ELEMENT_INDEX              0x8D6B
2215 #define GL_COMPUTE_SHADER                 0x91B9
2216 #define GL_MAX_COMPUTE_UNIFORM_BLOCKS     0x91BB
2217 #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
2218 #define GL_MAX_COMPUTE_IMAGE_UNIFORMS     0x91BD
2219 #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
2220 #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
2221 #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
2222 #define GL_MAX_COMPUTE_ATOMIC_COUNTERS    0x8265
2223 #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
2224 #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
2225 #define GL_MAX_COMPUTE_WORK_GROUP_COUNT   0x91BE
2226 #define GL_MAX_COMPUTE_WORK_GROUP_SIZE    0x91BF
2227 #define GL_COMPUTE_WORK_GROUP_SIZE        0x8267
2228 #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
2229 #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
2230 #define GL_DISPATCH_INDIRECT_BUFFER       0x90EE
2231 #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
2232 #define GL_COMPUTE_SHADER_BIT             0x00000020
2233 #define GL_DEBUG_OUTPUT_SYNCHRONOUS       0x8242
2234 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
2235 #define GL_DEBUG_CALLBACK_FUNCTION        0x8244
2236 #define GL_DEBUG_CALLBACK_USER_PARAM      0x8245
2237 #define GL_DEBUG_SOURCE_API               0x8246
2238 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM     0x8247
2239 #define GL_DEBUG_SOURCE_SHADER_COMPILER   0x8248
2240 #define GL_DEBUG_SOURCE_THIRD_PARTY       0x8249
2241 #define GL_DEBUG_SOURCE_APPLICATION       0x824A
2242 #define GL_DEBUG_SOURCE_OTHER             0x824B
2243 #define GL_DEBUG_TYPE_ERROR               0x824C
2244 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
2245 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR  0x824E
2246 #define GL_DEBUG_TYPE_PORTABILITY         0x824F
2247 #define GL_DEBUG_TYPE_PERFORMANCE         0x8250
2248 #define GL_DEBUG_TYPE_OTHER               0x8251
2249 #define GL_MAX_DEBUG_MESSAGE_LENGTH       0x9143
2250 #define GL_MAX_DEBUG_LOGGED_MESSAGES      0x9144
2251 #define GL_DEBUG_LOGGED_MESSAGES          0x9145
2252 #define GL_DEBUG_SEVERITY_HIGH            0x9146
2253 #define GL_DEBUG_SEVERITY_MEDIUM          0x9147
2254 #define GL_DEBUG_SEVERITY_LOW             0x9148
2255 #define GL_DEBUG_TYPE_MARKER              0x8268
2256 #define GL_DEBUG_TYPE_PUSH_GROUP          0x8269
2257 #define GL_DEBUG_TYPE_POP_GROUP           0x826A
2258 #define GL_DEBUG_SEVERITY_NOTIFICATION    0x826B
2259 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH    0x826C
2260 #define GL_DEBUG_GROUP_STACK_DEPTH        0x826D
2261 #define GL_BUFFER                         0x82E0
2262 #define GL_SHADER                         0x82E1
2263 #define GL_PROGRAM                        0x82E2
2264 #define GL_QUERY                          0x82E3
2265 #define GL_PROGRAM_PIPELINE               0x82E4
2266 #define GL_SAMPLER                        0x82E6
2267 #define GL_MAX_LABEL_LENGTH               0x82E8
2268 #define GL_DEBUG_OUTPUT                   0x92E0
2269 #define GL_CONTEXT_FLAG_DEBUG_BIT         0x00000002
2270 #define GL_MAX_UNIFORM_LOCATIONS          0x826E
2271 #define GL_FRAMEBUFFER_DEFAULT_WIDTH      0x9310
2272 #define GL_FRAMEBUFFER_DEFAULT_HEIGHT     0x9311
2273 #define GL_FRAMEBUFFER_DEFAULT_LAYERS     0x9312
2274 #define GL_FRAMEBUFFER_DEFAULT_SAMPLES    0x9313
2275 #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
2276 #define GL_MAX_FRAMEBUFFER_WIDTH          0x9315
2277 #define GL_MAX_FRAMEBUFFER_HEIGHT         0x9316
2278 #define GL_MAX_FRAMEBUFFER_LAYERS         0x9317
2279 #define GL_MAX_FRAMEBUFFER_SAMPLES        0x9318
2280 #define GL_INTERNALFORMAT_SUPPORTED       0x826F
2281 #define GL_INTERNALFORMAT_PREFERRED       0x8270
2282 #define GL_INTERNALFORMAT_RED_SIZE        0x8271
2283 #define GL_INTERNALFORMAT_GREEN_SIZE      0x8272
2284 #define GL_INTERNALFORMAT_BLUE_SIZE       0x8273
2285 #define GL_INTERNALFORMAT_ALPHA_SIZE      0x8274
2286 #define GL_INTERNALFORMAT_DEPTH_SIZE      0x8275
2287 #define GL_INTERNALFORMAT_STENCIL_SIZE    0x8276
2288 #define GL_INTERNALFORMAT_SHARED_SIZE     0x8277
2289 #define GL_INTERNALFORMAT_RED_TYPE        0x8278
2290 #define GL_INTERNALFORMAT_GREEN_TYPE      0x8279
2291 #define GL_INTERNALFORMAT_BLUE_TYPE       0x827A
2292 #define GL_INTERNALFORMAT_ALPHA_TYPE      0x827B
2293 #define GL_INTERNALFORMAT_DEPTH_TYPE      0x827C
2294 #define GL_INTERNALFORMAT_STENCIL_TYPE    0x827D
2295 #define GL_MAX_WIDTH                      0x827E
2296 #define GL_MAX_HEIGHT                     0x827F
2297 #define GL_MAX_DEPTH                      0x8280
2298 #define GL_MAX_LAYERS                     0x8281
2299 #define GL_MAX_COMBINED_DIMENSIONS        0x8282
2300 #define GL_COLOR_COMPONENTS               0x8283
2301 #define GL_DEPTH_COMPONENTS               0x8284
2302 #define GL_STENCIL_COMPONENTS             0x8285
2303 #define GL_COLOR_RENDERABLE               0x8286
2304 #define GL_DEPTH_RENDERABLE               0x8287
2305 #define GL_STENCIL_RENDERABLE             0x8288
2306 #define GL_FRAMEBUFFER_RENDERABLE         0x8289
2307 #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
2308 #define GL_FRAMEBUFFER_BLEND              0x828B
2309 #define GL_READ_PIXELS                    0x828C
2310 #define GL_READ_PIXELS_FORMAT             0x828D
2311 #define GL_READ_PIXELS_TYPE               0x828E
2312 #define GL_TEXTURE_IMAGE_FORMAT           0x828F
2313 #define GL_TEXTURE_IMAGE_TYPE             0x8290
2314 #define GL_GET_TEXTURE_IMAGE_FORMAT       0x8291
2315 #define GL_GET_TEXTURE_IMAGE_TYPE         0x8292
2316 #define GL_MIPMAP                         0x8293
2317 #define GL_MANUAL_GENERATE_MIPMAP         0x8294
2318 #define GL_AUTO_GENERATE_MIPMAP           0x8295
2319 #define GL_COLOR_ENCODING                 0x8296
2320 #define GL_SRGB_READ                      0x8297
2321 #define GL_SRGB_WRITE                     0x8298
2322 #define GL_FILTER                         0x829A
2323 #define GL_VERTEX_TEXTURE                 0x829B
2324 #define GL_TESS_CONTROL_TEXTURE           0x829C
2325 #define GL_TESS_EVALUATION_TEXTURE        0x829D
2326 #define GL_GEOMETRY_TEXTURE               0x829E
2327 #define GL_FRAGMENT_TEXTURE               0x829F
2328 #define GL_COMPUTE_TEXTURE                0x82A0
2329 #define GL_TEXTURE_SHADOW                 0x82A1
2330 #define GL_TEXTURE_GATHER                 0x82A2
2331 #define GL_TEXTURE_GATHER_SHADOW          0x82A3
2332 #define GL_SHADER_IMAGE_LOAD              0x82A4
2333 #define GL_SHADER_IMAGE_STORE             0x82A5
2334 #define GL_SHADER_IMAGE_ATOMIC            0x82A6
2335 #define GL_IMAGE_TEXEL_SIZE               0x82A7
2336 #define GL_IMAGE_COMPATIBILITY_CLASS      0x82A8
2337 #define GL_IMAGE_PIXEL_FORMAT             0x82A9
2338 #define GL_IMAGE_PIXEL_TYPE               0x82AA
2339 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
2340 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
2341 #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
2342 #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
2343 #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
2344 #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
2345 #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE  0x82B3
2346 #define GL_CLEAR_BUFFER                   0x82B4
2347 #define GL_TEXTURE_VIEW                   0x82B5
2348 #define GL_VIEW_COMPATIBILITY_CLASS       0x82B6
2349 #define GL_FULL_SUPPORT                   0x82B7
2350 #define GL_CAVEAT_SUPPORT                 0x82B8
2351 #define GL_IMAGE_CLASS_4_X_32             0x82B9
2352 #define GL_IMAGE_CLASS_2_X_32             0x82BA
2353 #define GL_IMAGE_CLASS_1_X_32             0x82BB
2354 #define GL_IMAGE_CLASS_4_X_16             0x82BC
2355 #define GL_IMAGE_CLASS_2_X_16             0x82BD
2356 #define GL_IMAGE_CLASS_1_X_16             0x82BE
2357 #define GL_IMAGE_CLASS_4_X_8              0x82BF
2358 #define GL_IMAGE_CLASS_2_X_8              0x82C0
2359 #define GL_IMAGE_CLASS_1_X_8              0x82C1
2360 #define GL_IMAGE_CLASS_11_11_10           0x82C2
2361 #define GL_IMAGE_CLASS_10_10_10_2         0x82C3
2362 #define GL_VIEW_CLASS_128_BITS            0x82C4
2363 #define GL_VIEW_CLASS_96_BITS             0x82C5
2364 #define GL_VIEW_CLASS_64_BITS             0x82C6
2365 #define GL_VIEW_CLASS_48_BITS             0x82C7
2366 #define GL_VIEW_CLASS_32_BITS             0x82C8
2367 #define GL_VIEW_CLASS_24_BITS             0x82C9
2368 #define GL_VIEW_CLASS_16_BITS             0x82CA
2369 #define GL_VIEW_CLASS_8_BITS              0x82CB
2370 #define GL_VIEW_CLASS_S3TC_DXT1_RGB       0x82CC
2371 #define GL_VIEW_CLASS_S3TC_DXT1_RGBA      0x82CD
2372 #define GL_VIEW_CLASS_S3TC_DXT3_RGBA      0x82CE
2373 #define GL_VIEW_CLASS_S3TC_DXT5_RGBA      0x82CF
2374 #define GL_VIEW_CLASS_RGTC1_RED           0x82D0
2375 #define GL_VIEW_CLASS_RGTC2_RG            0x82D1
2376 #define GL_VIEW_CLASS_BPTC_UNORM          0x82D2
2377 #define GL_VIEW_CLASS_BPTC_FLOAT          0x82D3
2378 #define GL_UNIFORM                        0x92E1
2379 #define GL_UNIFORM_BLOCK                  0x92E2
2380 #define GL_PROGRAM_INPUT                  0x92E3
2381 #define GL_PROGRAM_OUTPUT                 0x92E4
2382 #define GL_BUFFER_VARIABLE                0x92E5
2383 #define GL_SHADER_STORAGE_BLOCK           0x92E6
2384 #define GL_VERTEX_SUBROUTINE              0x92E8
2385 #define GL_TESS_CONTROL_SUBROUTINE        0x92E9
2386 #define GL_TESS_EVALUATION_SUBROUTINE     0x92EA
2387 #define GL_GEOMETRY_SUBROUTINE            0x92EB
2388 #define GL_FRAGMENT_SUBROUTINE            0x92EC
2389 #define GL_COMPUTE_SUBROUTINE             0x92ED
2390 #define GL_VERTEX_SUBROUTINE_UNIFORM      0x92EE
2391 #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
2392 #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
2393 #define GL_GEOMETRY_SUBROUTINE_UNIFORM    0x92F1
2394 #define GL_FRAGMENT_SUBROUTINE_UNIFORM    0x92F2
2395 #define GL_COMPUTE_SUBROUTINE_UNIFORM     0x92F3
2396 #define GL_TRANSFORM_FEEDBACK_VARYING     0x92F4
2397 #define GL_ACTIVE_RESOURCES               0x92F5
2398 #define GL_MAX_NAME_LENGTH                0x92F6
2399 #define GL_MAX_NUM_ACTIVE_VARIABLES       0x92F7
2400 #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
2401 #define GL_NAME_LENGTH                    0x92F9
2402 #define GL_TYPE                           0x92FA
2403 #define GL_ARRAY_SIZE                     0x92FB
2404 #define GL_OFFSET                         0x92FC
2405 #define GL_BLOCK_INDEX                    0x92FD
2406 #define GL_ARRAY_STRIDE                   0x92FE
2407 #define GL_MATRIX_STRIDE                  0x92FF
2408 #define GL_IS_ROW_MAJOR                   0x9300
2409 #define GL_ATOMIC_COUNTER_BUFFER_INDEX    0x9301
2410 #define GL_BUFFER_BINDING                 0x9302
2411 #define GL_BUFFER_DATA_SIZE               0x9303
2412 #define GL_NUM_ACTIVE_VARIABLES           0x9304
2413 #define GL_ACTIVE_VARIABLES               0x9305
2414 #define GL_REFERENCED_BY_VERTEX_SHADER    0x9306
2415 #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
2416 #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
2417 #define GL_REFERENCED_BY_GEOMETRY_SHADER  0x9309
2418 #define GL_REFERENCED_BY_FRAGMENT_SHADER  0x930A
2419 #define GL_REFERENCED_BY_COMPUTE_SHADER   0x930B
2420 #define GL_TOP_LEVEL_ARRAY_SIZE           0x930C
2421 #define GL_TOP_LEVEL_ARRAY_STRIDE         0x930D
2422 #define GL_LOCATION                       0x930E
2423 #define GL_LOCATION_INDEX                 0x930F
2424 #define GL_IS_PER_PATCH                   0x92E7
2425 #define GL_SHADER_STORAGE_BUFFER          0x90D2
2426 #define GL_SHADER_STORAGE_BUFFER_BINDING  0x90D3
2427 #define GL_SHADER_STORAGE_BUFFER_START    0x90D4
2428 #define GL_SHADER_STORAGE_BUFFER_SIZE     0x90D5
2429 #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
2430 #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
2431 #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
2432 #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
2433 #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
2434 #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
2435 #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
2436 #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
2437 #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE  0x90DE
2438 #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
2439 #define GL_SHADER_STORAGE_BARRIER_BIT     0x00002000
2440 #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
2441 #define GL_DEPTH_STENCIL_TEXTURE_MODE     0x90EA
2442 #define GL_TEXTURE_BUFFER_OFFSET          0x919D
2443 #define GL_TEXTURE_BUFFER_SIZE            0x919E
2444 #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
2445 #define GL_TEXTURE_VIEW_MIN_LEVEL         0x82DB
2446 #define GL_TEXTURE_VIEW_NUM_LEVELS        0x82DC
2447 #define GL_TEXTURE_VIEW_MIN_LAYER         0x82DD
2448 #define GL_TEXTURE_VIEW_NUM_LAYERS        0x82DE
2449 #define GL_TEXTURE_IMMUTABLE_LEVELS       0x82DF
2450 #define GL_VERTEX_ATTRIB_BINDING          0x82D4
2451 #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET  0x82D5
2452 #define GL_VERTEX_BINDING_DIVISOR         0x82D6
2453 #define GL_VERTEX_BINDING_OFFSET          0x82D7
2454 #define GL_VERTEX_BINDING_STRIDE          0x82D8
2455 #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
2456 #define GL_MAX_VERTEX_ATTRIB_BINDINGS     0x82DA
2457 #define GL_VERTEX_BINDING_BUFFER          0x8F4F
2458 #define GL_DISPLAY_LIST                   0x82E7
2459 typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
2460 typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2461 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
2462 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
2463 typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
2464 typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
2465 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2466 typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
2467 typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2468 typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
2469 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
2470 typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
2471 typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
2472 typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2473 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
2474 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
2475 typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2476 typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2477 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2478 typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
2479 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2480 typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2481 typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
2482 typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2483 typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2484 typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2485 typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2486 typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2487 typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2488 typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2489 typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2490 typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
2491 typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
2492 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2493 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2494 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
2495 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2496 typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
2497 typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
2498 typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
2499 typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
2500 typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
2501 typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
2502 #ifdef GL_GLEXT_PROTOTYPES
2503 GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
2504 GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2505 GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
2506 GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
2507 GLAPI void APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
2508 GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
2509 GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
2510 GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
2511 GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2512 GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
2513 GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
2514 GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
2515 GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
2516 GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2517 GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
2518 GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
2519 GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2520 GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
2521 GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2522 GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
2523 GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
2524 GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
2525 GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
2526 GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2527 GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2528 GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2529 GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2530 GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2531 GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2532 GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2533 GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2534 GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
2535 GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
2536 GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
2537 GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
2538 GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
2539 GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
2540 GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
2541 GLAPI void APIENTRY glPopDebugGroup (void);
2542 GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
2543 GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
2544 GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
2545 GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
2546 #endif
2547 #endif /* GL_VERSION_4_3 */
2548 
2549 #ifndef GL_VERSION_4_4
2550 #define GL_VERSION_4_4 1
2551 #define GL_MAX_VERTEX_ATTRIB_STRIDE       0x82E5
2552 #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
2553 #define GL_TEXTURE_BUFFER_BINDING         0x8C2A
2554 #define GL_MAP_PERSISTENT_BIT             0x0040
2555 #define GL_MAP_COHERENT_BIT               0x0080
2556 #define GL_DYNAMIC_STORAGE_BIT            0x0100
2557 #define GL_CLIENT_STORAGE_BIT             0x0200
2558 #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
2559 #define GL_BUFFER_IMMUTABLE_STORAGE       0x821F
2560 #define GL_BUFFER_STORAGE_FLAGS           0x8220
2561 #define GL_CLEAR_TEXTURE                  0x9365
2562 #define GL_LOCATION_COMPONENT             0x934A
2563 #define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
2564 #define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
2565 #define GL_QUERY_BUFFER                   0x9192
2566 #define GL_QUERY_BUFFER_BARRIER_BIT       0x00008000
2567 #define GL_QUERY_BUFFER_BINDING           0x9193
2568 #define GL_QUERY_RESULT_NO_WAIT           0x9194
2569 #define GL_MIRROR_CLAMP_TO_EDGE           0x8743
2570 typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
2571 typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
2572 typedef void (APIENTRYP PFNGLCLEARTEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
2573 typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
2574 typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
2575 typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
2576 typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
2577 typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
2578 typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2579 #ifdef GL_GLEXT_PROTOTYPES
2580 GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
2581 GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
2582 GLAPI void APIENTRY glClearTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
2583 GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
2584 GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
2585 GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
2586 GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
2587 GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
2588 GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2589 #endif
2590 #endif /* GL_VERSION_4_4 */
2591 
2592 #ifndef GL_VERSION_4_5
2593 #define GL_VERSION_4_5 1
2594 #define GL_CONTEXT_LOST                   0x0507
2595 #define GL_NEGATIVE_ONE_TO_ONE            0x935E
2596 #define GL_ZERO_TO_ONE                    0x935F
2597 #define GL_CLIP_ORIGIN                    0x935C
2598 #define GL_CLIP_DEPTH_MODE                0x935D
2599 #define GL_QUERY_WAIT_INVERTED            0x8E17
2600 #define GL_QUERY_NO_WAIT_INVERTED         0x8E18
2601 #define GL_QUERY_BY_REGION_WAIT_INVERTED  0x8E19
2602 #define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A
2603 #define GL_MAX_CULL_DISTANCES             0x82F9
2604 #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA
2605 #define GL_TEXTURE_TARGET                 0x1006
2606 #define GL_QUERY_TARGET                   0x82EA
2607 #define GL_GUILTY_CONTEXT_RESET           0x8253
2608 #define GL_INNOCENT_CONTEXT_RESET         0x8254
2609 #define GL_UNKNOWN_CONTEXT_RESET          0x8255
2610 #define GL_RESET_NOTIFICATION_STRATEGY    0x8256
2611 #define GL_LOSE_CONTEXT_ON_RESET          0x8252
2612 #define GL_NO_RESET_NOTIFICATION          0x8261
2613 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
2614 #define GL_CONTEXT_RELEASE_BEHAVIOR       0x82FB
2615 #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
2616 typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth);
2617 typedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
2618 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer);
2619 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
2620 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param);
2621 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param);
2622 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
2623 typedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers);
2624 typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
2625 typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
2626 typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
2627 typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2628 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2629 typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2630 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access);
2631 typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
2632 typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer);
2633 typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
2634 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params);
2635 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params);
2636 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params);
2637 typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
2638 typedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
2639 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
2640 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param);
2641 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
2642 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
2643 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf);
2644 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
2645 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC) (GLuint framebuffer, GLenum src);
2646 typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
2647 typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2648 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
2649 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
2650 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2651 typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
2652 typedef void (APIENTRYP PFNGLBLITNAMEDFRAMEBUFFERPROC) (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2653 typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target);
2654 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param);
2655 typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
2656 typedef void (APIENTRYP PFNGLCREATERENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
2657 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
2658 typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2659 typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
2660 typedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures);
2661 typedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer);
2662 typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2663 typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
2664 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2665 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2666 typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2667 typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2668 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
2669 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
2670 typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
2671 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
2672 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
2673 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
2674 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
2675 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2676 typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2677 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFPROC) (GLuint texture, GLenum pname, GLfloat param);
2678 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, const GLfloat *param);
2679 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIPROC) (GLuint texture, GLenum pname, GLint param);
2680 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, const GLint *params);
2681 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, const GLuint *params);
2682 typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, const GLint *param);
2683 typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPPROC) (GLuint texture);
2684 typedef void (APIENTRYP PFNGLBINDTEXTUREUNITPROC) (GLuint unit, GLuint texture);
2685 typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2686 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
2687 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVPROC) (GLuint texture, GLint level, GLenum pname, GLfloat *params);
2688 typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVPROC) (GLuint texture, GLint level, GLenum pname, GLint *params);
2689 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, GLfloat *params);
2690 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, GLint *params);
2691 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, GLuint *params);
2692 typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, GLint *params);
2693 typedef void (APIENTRYP PFNGLCREATEVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
2694 typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2695 typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2696 typedef void (APIENTRYP PFNGLVERTEXARRAYELEMENTBUFFERPROC) (GLuint vaobj, GLuint buffer);
2697 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2698 typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERSPROC) (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2699 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBBINDINGPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
2700 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2701 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBIFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2702 typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBLFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2703 typedef void (APIENTRYP PFNGLVERTEXARRAYBINDINGDIVISORPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
2704 typedef void (APIENTRYP PFNGLGETVERTEXARRAYIVPROC) (GLuint vaobj, GLenum pname, GLint *param);
2705 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXEDIVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
2706 typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXED64IVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
2707 typedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers);
2708 typedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
2709 typedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids);
2710 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2711 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2712 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2713 typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2714 typedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers);
2715 typedef void (APIENTRYP PFNGLGETTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2716 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
2717 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void);
2718 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
2719 typedef void (APIENTRYP PFNGLGETNTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2720 typedef void (APIENTRYP PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
2721 typedef void (APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
2722 typedef void (APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
2723 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
2724 typedef void (APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
2725 typedef void (APIENTRYP PFNGLGETNMAPDVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
2726 typedef void (APIENTRYP PFNGLGETNMAPFVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
2727 typedef void (APIENTRYP PFNGLGETNMAPIVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
2728 typedef void (APIENTRYP PFNGLGETNPIXELMAPFVPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
2729 typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVPROC) (GLenum map, GLsizei bufSize, GLuint *values);
2730 typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVPROC) (GLenum map, GLsizei bufSize, GLushort *values);
2731 typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEPROC) (GLsizei bufSize, GLubyte *pattern);
2732 typedef void (APIENTRYP PFNGLGETNCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
2733 typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
2734 typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
2735 typedef void (APIENTRYP PFNGLGETNHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2736 typedef void (APIENTRYP PFNGLGETNMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2737 typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) (void);
2738 #ifdef GL_GLEXT_PROTOTYPES
2739 GLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth);
2740 GLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids);
2741 GLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer);
2742 GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
2743 GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param);
2744 GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param);
2745 GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
2746 GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers);
2747 GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
2748 GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
2749 GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
2750 GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2751 GLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2752 GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2753 GLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access);
2754 GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
2755 GLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer);
2756 GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length);
2757 GLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params);
2758 GLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params);
2759 GLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params);
2760 GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
2761 GLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers);
2762 GLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
2763 GLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param);
2764 GLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
2765 GLAPI void APIENTRY glNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
2766 GLAPI void APIENTRY glNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf);
2767 GLAPI void APIENTRY glNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs);
2768 GLAPI void APIENTRY glNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src);
2769 GLAPI void APIENTRY glInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
2770 GLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2771 GLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
2772 GLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
2773 GLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2774 GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
2775 GLAPI void APIENTRY glBlitNamedFramebuffer (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2776 GLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target);
2777 GLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param);
2778 GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
2779 GLAPI void APIENTRY glCreateRenderbuffers (GLsizei n, GLuint *renderbuffers);
2780 GLAPI void APIENTRY glNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
2781 GLAPI void APIENTRY glNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2782 GLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params);
2783 GLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures);
2784 GLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer);
2785 GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2786 GLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
2787 GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2788 GLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2789 GLAPI void APIENTRY glTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2790 GLAPI void APIENTRY glTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2791 GLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
2792 GLAPI void APIENTRY glTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
2793 GLAPI void APIENTRY glTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
2794 GLAPI void APIENTRY glCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
2795 GLAPI void APIENTRY glCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
2796 GLAPI void APIENTRY glCompressedTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
2797 GLAPI void APIENTRY glCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
2798 GLAPI void APIENTRY glCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2799 GLAPI void APIENTRY glCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2800 GLAPI void APIENTRY glTextureParameterf (GLuint texture, GLenum pname, GLfloat param);
2801 GLAPI void APIENTRY glTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param);
2802 GLAPI void APIENTRY glTextureParameteri (GLuint texture, GLenum pname, GLint param);
2803 GLAPI void APIENTRY glTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params);
2804 GLAPI void APIENTRY glTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params);
2805 GLAPI void APIENTRY glTextureParameteriv (GLuint texture, GLenum pname, const GLint *param);
2806 GLAPI void APIENTRY glGenerateTextureMipmap (GLuint texture);
2807 GLAPI void APIENTRY glBindTextureUnit (GLuint unit, GLuint texture);
2808 GLAPI void APIENTRY glGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2809 GLAPI void APIENTRY glGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
2810 GLAPI void APIENTRY glGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params);
2811 GLAPI void APIENTRY glGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params);
2812 GLAPI void APIENTRY glGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params);
2813 GLAPI void APIENTRY glGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params);
2814 GLAPI void APIENTRY glGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params);
2815 GLAPI void APIENTRY glGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params);
2816 GLAPI void APIENTRY glCreateVertexArrays (GLsizei n, GLuint *arrays);
2817 GLAPI void APIENTRY glDisableVertexArrayAttrib (GLuint vaobj, GLuint index);
2818 GLAPI void APIENTRY glEnableVertexArrayAttrib (GLuint vaobj, GLuint index);
2819 GLAPI void APIENTRY glVertexArrayElementBuffer (GLuint vaobj, GLuint buffer);
2820 GLAPI void APIENTRY glVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2821 GLAPI void APIENTRY glVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2822 GLAPI void APIENTRY glVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
2823 GLAPI void APIENTRY glVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2824 GLAPI void APIENTRY glVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2825 GLAPI void APIENTRY glVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2826 GLAPI void APIENTRY glVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor);
2827 GLAPI void APIENTRY glGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param);
2828 GLAPI void APIENTRY glGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
2829 GLAPI void APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
2830 GLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers);
2831 GLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines);
2832 GLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids);
2833 GLAPI void APIENTRY glGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2834 GLAPI void APIENTRY glGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2835 GLAPI void APIENTRY glGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2836 GLAPI void APIENTRY glGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2837 GLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers);
2838 GLAPI void APIENTRY glGetTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2839 GLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
2840 GLAPI GLenum APIENTRY glGetGraphicsResetStatus (void);
2841 GLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
2842 GLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2843 GLAPI void APIENTRY glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
2844 GLAPI void APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
2845 GLAPI void APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params);
2846 GLAPI void APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
2847 GLAPI void APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
2848 GLAPI void APIENTRY glGetnMapdv (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
2849 GLAPI void APIENTRY glGetnMapfv (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
2850 GLAPI void APIENTRY glGetnMapiv (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
2851 GLAPI void APIENTRY glGetnPixelMapfv (GLenum map, GLsizei bufSize, GLfloat *values);
2852 GLAPI void APIENTRY glGetnPixelMapuiv (GLenum map, GLsizei bufSize, GLuint *values);
2853 GLAPI void APIENTRY glGetnPixelMapusv (GLenum map, GLsizei bufSize, GLushort *values);
2854 GLAPI void APIENTRY glGetnPolygonStipple (GLsizei bufSize, GLubyte *pattern);
2855 GLAPI void APIENTRY glGetnColorTable (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
2856 GLAPI void APIENTRY glGetnConvolutionFilter (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
2857 GLAPI void APIENTRY glGetnSeparableFilter (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
2858 GLAPI void APIENTRY glGetnHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2859 GLAPI void APIENTRY glGetnMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
2860 GLAPI void APIENTRY glTextureBarrier (void);
2861 #endif
2862 #endif /* GL_VERSION_4_5 */
2863 
2864 #ifndef GL_VERSION_4_6
2865 #define GL_VERSION_4_6 1
2866 #define GL_SHADER_BINARY_FORMAT_SPIR_V    0x9551
2867 #define GL_SPIR_V_BINARY                  0x9552
2868 #define GL_PARAMETER_BUFFER               0x80EE
2869 #define GL_PARAMETER_BUFFER_BINDING       0x80EF
2870 #define GL_CONTEXT_FLAG_NO_ERROR_BIT      0x00000008
2871 #define GL_VERTICES_SUBMITTED             0x82EE
2872 #define GL_PRIMITIVES_SUBMITTED           0x82EF
2873 #define GL_VERTEX_SHADER_INVOCATIONS      0x82F0
2874 #define GL_TESS_CONTROL_SHADER_PATCHES    0x82F1
2875 #define GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2
2876 #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3
2877 #define GL_FRAGMENT_SHADER_INVOCATIONS    0x82F4
2878 #define GL_COMPUTE_SHADER_INVOCATIONS     0x82F5
2879 #define GL_CLIPPING_INPUT_PRIMITIVES      0x82F6
2880 #define GL_CLIPPING_OUTPUT_PRIMITIVES     0x82F7
2881 #define GL_POLYGON_OFFSET_CLAMP           0x8E1B
2882 #define GL_SPIR_V_EXTENSIONS              0x9553
2883 #define GL_NUM_SPIR_V_EXTENSIONS          0x9554
2884 #define GL_TEXTURE_MAX_ANISOTROPY         0x84FE
2885 #define GL_MAX_TEXTURE_MAX_ANISOTROPY     0x84FF
2886 #define GL_TRANSFORM_FEEDBACK_OVERFLOW    0x82EC
2887 #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED
2888 typedef void (APIENTRYP PFNGLSPECIALIZESHADERPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
2889 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
2890 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
2891 typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
2892 #ifdef GL_GLEXT_PROTOTYPES
2893 GLAPI void APIENTRY glSpecializeShader (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
2894 GLAPI void APIENTRY glMultiDrawArraysIndirectCount (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
2895 GLAPI void APIENTRY glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
2896 GLAPI void APIENTRY glPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp);
2897 #endif
2898 #endif /* GL_VERSION_4_6 */
2899 
2900 #ifndef GL_ARB_ES2_compatibility
2901 #define GL_ARB_ES2_compatibility 1
2902 #endif /* GL_ARB_ES2_compatibility */
2903 
2904 #ifndef GL_ARB_ES3_1_compatibility
2905 #define GL_ARB_ES3_1_compatibility 1
2906 #endif /* GL_ARB_ES3_1_compatibility */
2907 
2908 #ifndef GL_ARB_ES3_2_compatibility
2909 #define GL_ARB_ES3_2_compatibility 1
2910 #define GL_PRIMITIVE_BOUNDING_BOX_ARB     0x92BE
2911 #define GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB 0x9381
2912 #define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB 0x9382
2913 typedef void (APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXARBPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
2914 #ifdef GL_GLEXT_PROTOTYPES
2915 GLAPI void APIENTRY glPrimitiveBoundingBoxARB (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
2916 #endif
2917 #endif /* GL_ARB_ES3_2_compatibility */
2918 
2919 #ifndef GL_ARB_ES3_compatibility
2920 #define GL_ARB_ES3_compatibility 1
2921 #endif /* GL_ARB_ES3_compatibility */
2922 
2923 #ifndef GL_ARB_arrays_of_arrays
2924 #define GL_ARB_arrays_of_arrays 1
2925 #endif /* GL_ARB_arrays_of_arrays */
2926 
2927 #ifndef GL_ARB_base_instance
2928 #define GL_ARB_base_instance 1
2929 #endif /* GL_ARB_base_instance */
2930 
2931 #ifndef GL_ARB_bindless_texture
2932 #define GL_ARB_bindless_texture 1
2933 typedef khronos_uint64_t GLuint64EXT;
2934 #define GL_UNSIGNED_INT64_ARB             0x140F
2935 typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
2936 typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
2937 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
2938 typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
2939 typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2940 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
2941 typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
2942 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
2943 typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
2944 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
2945 typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2946 typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
2947 typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
2948 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
2949 typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
2950 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
2951 #ifdef GL_GLEXT_PROTOTYPES
2952 GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
2953 GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
2954 GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
2955 GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
2956 GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2957 GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
2958 GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
2959 GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
2960 GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
2961 GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
2962 GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2963 GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
2964 GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
2965 GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
2966 GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
2967 GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
2968 #endif
2969 #endif /* GL_ARB_bindless_texture */
2970 
2971 #ifndef GL_ARB_blend_func_extended
2972 #define GL_ARB_blend_func_extended 1
2973 #endif /* GL_ARB_blend_func_extended */
2974 
2975 #ifndef GL_ARB_buffer_storage
2976 #define GL_ARB_buffer_storage 1
2977 #endif /* GL_ARB_buffer_storage */
2978 
2979 #ifndef GL_ARB_cl_event
2980 #define GL_ARB_cl_event 1
2981 struct _cl_context;
2982 struct _cl_event;
2983 #define GL_SYNC_CL_EVENT_ARB              0x8240
2984 #define GL_SYNC_CL_EVENT_COMPLETE_ARB     0x8241
2985 typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
2986 #ifdef GL_GLEXT_PROTOTYPES
2987 GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
2988 #endif
2989 #endif /* GL_ARB_cl_event */
2990 
2991 #ifndef GL_ARB_clear_buffer_object
2992 #define GL_ARB_clear_buffer_object 1
2993 #endif /* GL_ARB_clear_buffer_object */
2994 
2995 #ifndef GL_ARB_clear_texture
2996 #define GL_ARB_clear_texture 1
2997 #endif /* GL_ARB_clear_texture */
2998 
2999 #ifndef GL_ARB_clip_control
3000 #define GL_ARB_clip_control 1
3001 #endif /* GL_ARB_clip_control */
3002 
3003 #ifndef GL_ARB_color_buffer_float
3004 #define GL_ARB_color_buffer_float 1
3005 #define GL_RGBA_FLOAT_MODE_ARB            0x8820
3006 #define GL_CLAMP_VERTEX_COLOR_ARB         0x891A
3007 #define GL_CLAMP_FRAGMENT_COLOR_ARB       0x891B
3008 #define GL_CLAMP_READ_COLOR_ARB           0x891C
3009 #define GL_FIXED_ONLY_ARB                 0x891D
3010 typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
3011 #ifdef GL_GLEXT_PROTOTYPES
3012 GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);


























3013 #endif
3014 #endif /* GL_ARB_color_buffer_float */
3015 
3016 #ifndef GL_ARB_compatibility
3017 #define GL_ARB_compatibility 1
3018 #endif /* GL_ARB_compatibility */
3019 
3020 #ifndef GL_ARB_compressed_texture_pixel_storage
3021 #define GL_ARB_compressed_texture_pixel_storage 1
3022 #endif /* GL_ARB_compressed_texture_pixel_storage */
3023 
3024 #ifndef GL_ARB_compute_shader
3025 #define GL_ARB_compute_shader 1
3026 #endif /* GL_ARB_compute_shader */
3027 
3028 #ifndef GL_ARB_compute_variable_group_size
3029 #define GL_ARB_compute_variable_group_size 1
3030 #define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
3031 #define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
3032 #define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
3033 #define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
3034 typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
3035 #ifdef GL_GLEXT_PROTOTYPES
3036 GLAPI void APIENTRY glDispatchComputeGroupSizeARB (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
3037 #endif
3038 #endif /* GL_ARB_compute_variable_group_size */
3039 
3040 #ifndef GL_ARB_conditional_render_inverted
3041 #define GL_ARB_conditional_render_inverted 1
3042 #endif /* GL_ARB_conditional_render_inverted */
3043 
3044 #ifndef GL_ARB_conservative_depth
3045 #define GL_ARB_conservative_depth 1
3046 #endif /* GL_ARB_conservative_depth */
3047 
3048 #ifndef GL_ARB_copy_buffer
3049 #define GL_ARB_copy_buffer 1
3050 #endif /* GL_ARB_copy_buffer */
3051 
3052 #ifndef GL_ARB_copy_image
3053 #define GL_ARB_copy_image 1
3054 #endif /* GL_ARB_copy_image */
3055 
3056 #ifndef GL_ARB_cull_distance
3057 #define GL_ARB_cull_distance 1
3058 #endif /* GL_ARB_cull_distance */
3059 
3060 #ifndef GL_ARB_debug_output
3061 #define GL_ARB_debug_output 1
3062 typedef void (APIENTRY  *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
3063 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB   0x8242
3064 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
3065 #define GL_DEBUG_CALLBACK_FUNCTION_ARB    0x8244
3066 #define GL_DEBUG_CALLBACK_USER_PARAM_ARB  0x8245
3067 #define GL_DEBUG_SOURCE_API_ARB           0x8246
3068 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
3069 #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
3070 #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB   0x8249
3071 #define GL_DEBUG_SOURCE_APPLICATION_ARB   0x824A
3072 #define GL_DEBUG_SOURCE_OTHER_ARB         0x824B
3073 #define GL_DEBUG_TYPE_ERROR_ARB           0x824C
3074 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
3075 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
3076 #define GL_DEBUG_TYPE_PORTABILITY_ARB     0x824F
3077 #define GL_DEBUG_TYPE_PERFORMANCE_ARB     0x8250
3078 #define GL_DEBUG_TYPE_OTHER_ARB           0x8251
3079 #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB   0x9143
3080 #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB  0x9144
3081 #define GL_DEBUG_LOGGED_MESSAGES_ARB      0x9145
3082 #define GL_DEBUG_SEVERITY_HIGH_ARB        0x9146
3083 #define GL_DEBUG_SEVERITY_MEDIUM_ARB      0x9147
3084 #define GL_DEBUG_SEVERITY_LOW_ARB         0x9148
3085 typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
3086 typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
3087 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
3088 typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
3089 #ifdef GL_GLEXT_PROTOTYPES
3090 GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
3091 GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
3092 GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
3093 GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
3094 #endif
3095 #endif /* GL_ARB_debug_output */
3096 
3097 #ifndef GL_ARB_depth_buffer_float
3098 #define GL_ARB_depth_buffer_float 1
3099 #endif /* GL_ARB_depth_buffer_float */
3100 
3101 #ifndef GL_ARB_depth_clamp
3102 #define GL_ARB_depth_clamp 1
3103 #endif /* GL_ARB_depth_clamp */
3104 
3105 #ifndef GL_ARB_depth_texture
3106 #define GL_ARB_depth_texture 1
3107 #define GL_DEPTH_COMPONENT16_ARB          0x81A5
3108 #define GL_DEPTH_COMPONENT24_ARB          0x81A6
3109 #define GL_DEPTH_COMPONENT32_ARB          0x81A7
3110 #define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
3111 #define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
3112 #endif /* GL_ARB_depth_texture */



3113 
3114 #ifndef GL_ARB_derivative_control
3115 #define GL_ARB_derivative_control 1
3116 #endif /* GL_ARB_derivative_control */
3117 
3118 #ifndef GL_ARB_direct_state_access
3119 #define GL_ARB_direct_state_access 1
3120 #endif /* GL_ARB_direct_state_access */
3121 
3122 #ifndef GL_ARB_draw_buffers
3123 #define GL_ARB_draw_buffers 1
3124 #define GL_MAX_DRAW_BUFFERS_ARB           0x8824
3125 #define GL_DRAW_BUFFER0_ARB               0x8825
3126 #define GL_DRAW_BUFFER1_ARB               0x8826
3127 #define GL_DRAW_BUFFER2_ARB               0x8827
3128 #define GL_DRAW_BUFFER3_ARB               0x8828
3129 #define GL_DRAW_BUFFER4_ARB               0x8829
3130 #define GL_DRAW_BUFFER5_ARB               0x882A
3131 #define GL_DRAW_BUFFER6_ARB               0x882B
3132 #define GL_DRAW_BUFFER7_ARB               0x882C
3133 #define GL_DRAW_BUFFER8_ARB               0x882D
3134 #define GL_DRAW_BUFFER9_ARB               0x882E
3135 #define GL_DRAW_BUFFER10_ARB              0x882F
3136 #define GL_DRAW_BUFFER11_ARB              0x8830
3137 #define GL_DRAW_BUFFER12_ARB              0x8831
3138 #define GL_DRAW_BUFFER13_ARB              0x8832
3139 #define GL_DRAW_BUFFER14_ARB              0x8833
3140 #define GL_DRAW_BUFFER15_ARB              0x8834
3141 typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
3142 #ifdef GL_GLEXT_PROTOTYPES
3143 GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
3144 #endif
3145 #endif /* GL_ARB_draw_buffers */
3146 
3147 #ifndef GL_ARB_draw_buffers_blend
3148 #define GL_ARB_draw_buffers_blend 1
3149 typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
3150 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
3151 typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
3152 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
3153 #ifdef GL_GLEXT_PROTOTYPES
3154 GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
3155 GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
3156 GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
3157 GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);

3158 #endif
3159 #endif /* GL_ARB_draw_buffers_blend */
3160 
3161 #ifndef GL_ARB_draw_elements_base_vertex
3162 #define GL_ARB_draw_elements_base_vertex 1
3163 #endif /* GL_ARB_draw_elements_base_vertex */
3164 
3165 #ifndef GL_ARB_draw_indirect
3166 #define GL_ARB_draw_indirect 1
3167 #endif /* GL_ARB_draw_indirect */



3168 
3169 #ifndef GL_ARB_draw_instanced
3170 #define GL_ARB_draw_instanced 1
3171 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
3172 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
3173 #ifdef GL_GLEXT_PROTOTYPES
3174 GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
3175 GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);


















































































3176 #endif
3177 #endif /* GL_ARB_draw_instanced */
3178 
3179 #ifndef GL_ARB_enhanced_layouts
3180 #define GL_ARB_enhanced_layouts 1
3181 #endif /* GL_ARB_enhanced_layouts */
3182 
3183 #ifndef GL_ARB_explicit_attrib_location
3184 #define GL_ARB_explicit_attrib_location 1
3185 #endif /* GL_ARB_explicit_attrib_location */




3186 
3187 #ifndef GL_ARB_explicit_uniform_location
3188 #define GL_ARB_explicit_uniform_location 1
3189 #endif /* GL_ARB_explicit_uniform_location */


3190 
3191 #ifndef GL_ARB_fragment_coord_conventions
3192 #define GL_ARB_fragment_coord_conventions 1
3193 #endif /* GL_ARB_fragment_coord_conventions */
3194 
3195 #ifndef GL_ARB_fragment_layer_viewport
3196 #define GL_ARB_fragment_layer_viewport 1
3197 #endif /* GL_ARB_fragment_layer_viewport */
3198 
3199 #ifndef GL_ARB_fragment_program
3200 #define GL_ARB_fragment_program 1
3201 #define GL_FRAGMENT_PROGRAM_ARB           0x8804



















3202 #define GL_PROGRAM_FORMAT_ASCII_ARB       0x8875
3203 #define GL_PROGRAM_LENGTH_ARB             0x8627
3204 #define GL_PROGRAM_FORMAT_ARB             0x8876
3205 #define GL_PROGRAM_BINDING_ARB            0x8677
3206 #define GL_PROGRAM_INSTRUCTIONS_ARB       0x88A0
3207 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB   0x88A1
3208 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
3209 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
3210 #define GL_PROGRAM_TEMPORARIES_ARB        0x88A4
3211 #define GL_MAX_PROGRAM_TEMPORARIES_ARB    0x88A5
3212 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
3213 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
3214 #define GL_PROGRAM_PARAMETERS_ARB         0x88A8
3215 #define GL_MAX_PROGRAM_PARAMETERS_ARB     0x88A9
3216 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB  0x88AA
3217 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
3218 #define GL_PROGRAM_ATTRIBS_ARB            0x88AC
3219 #define GL_MAX_PROGRAM_ATTRIBS_ARB        0x88AD
3220 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB     0x88AE
3221 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF




3222 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
3223 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
3224 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
3225 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB   0x8805
3226 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB   0x8806
3227 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB   0x8807
3228 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
3229 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
3230 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
3231 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
3232 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
3233 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
3234 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
3235 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
3236 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
3237 #define GL_PROGRAM_STRING_ARB             0x8628
3238 #define GL_PROGRAM_ERROR_POSITION_ARB     0x864B
3239 #define GL_CURRENT_MATRIX_ARB             0x8641
3240 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB   0x88B7
3241 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
3242 #define GL_MAX_PROGRAM_MATRICES_ARB       0x862F
3243 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
3244 #define GL_MAX_TEXTURE_COORDS_ARB         0x8871
3245 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB    0x8872
3246 #define GL_PROGRAM_ERROR_STRING_ARB       0x8874
3247 #define GL_MATRIX0_ARB                    0x88C0
3248 #define GL_MATRIX1_ARB                    0x88C1
3249 #define GL_MATRIX2_ARB                    0x88C2
3250 #define GL_MATRIX3_ARB                    0x88C3
3251 #define GL_MATRIX4_ARB                    0x88C4
3252 #define GL_MATRIX5_ARB                    0x88C5
3253 #define GL_MATRIX6_ARB                    0x88C6
3254 #define GL_MATRIX7_ARB                    0x88C7
3255 #define GL_MATRIX8_ARB                    0x88C8
3256 #define GL_MATRIX9_ARB                    0x88C9
3257 #define GL_MATRIX10_ARB                   0x88CA
3258 #define GL_MATRIX11_ARB                   0x88CB
3259 #define GL_MATRIX12_ARB                   0x88CC
3260 #define GL_MATRIX13_ARB                   0x88CD
3261 #define GL_MATRIX14_ARB                   0x88CE
3262 #define GL_MATRIX15_ARB                   0x88CF
3263 #define GL_MATRIX16_ARB                   0x88D0
3264 #define GL_MATRIX17_ARB                   0x88D1
3265 #define GL_MATRIX18_ARB                   0x88D2
3266 #define GL_MATRIX19_ARB                   0x88D3
3267 #define GL_MATRIX20_ARB                   0x88D4
3268 #define GL_MATRIX21_ARB                   0x88D5
3269 #define GL_MATRIX22_ARB                   0x88D6
3270 #define GL_MATRIX23_ARB                   0x88D7
3271 #define GL_MATRIX24_ARB                   0x88D8
3272 #define GL_MATRIX25_ARB                   0x88D9
3273 #define GL_MATRIX26_ARB                   0x88DA
3274 #define GL_MATRIX27_ARB                   0x88DB
3275 #define GL_MATRIX28_ARB                   0x88DC
3276 #define GL_MATRIX29_ARB                   0x88DD
3277 #define GL_MATRIX30_ARB                   0x88DE
3278 #define GL_MATRIX31_ARB                   0x88DF
3279 typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string);
3280 typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
3281 typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
3282 typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
3283 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3284 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
3285 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3286 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
3287 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3288 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
3289 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3290 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
3291 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
3292 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
3293 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
3294 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
3295 typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
3296 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string);
3297 typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
3298 #ifdef GL_GLEXT_PROTOTYPES
3299 GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string);
3300 GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
3301 GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
3302 GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
3303 GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3304 GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
3305 GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3306 GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
3307 GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
3308 GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
3309 GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
3310 GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
3311 GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
3312 GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
3313 GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
3314 GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
3315 GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
3316 GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string);
3317 GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
3318 #endif
3319 #endif /* GL_ARB_fragment_program */
3320 
3321 #ifndef GL_ARB_fragment_program_shadow
3322 #define GL_ARB_fragment_program_shadow 1
3323 #endif /* GL_ARB_fragment_program_shadow */














3324 
3325 #ifndef GL_ARB_fragment_shader
3326 #define GL_ARB_fragment_shader 1
3327 #define GL_FRAGMENT_SHADER_ARB            0x8B30
3328 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
3329 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
3330 #endif /* GL_ARB_fragment_shader */



























3331 
3332 #ifndef GL_ARB_fragment_shader_interlock
3333 #define GL_ARB_fragment_shader_interlock 1
3334 #endif /* GL_ARB_fragment_shader_interlock */
3335 
3336 #ifndef GL_ARB_framebuffer_no_attachments
3337 #define GL_ARB_framebuffer_no_attachments 1
3338 #endif /* GL_ARB_framebuffer_no_attachments */
3339 
3340 #ifndef GL_ARB_framebuffer_object
3341 #define GL_ARB_framebuffer_object 1
3342 #endif /* GL_ARB_framebuffer_object */
3343 
3344 #ifndef GL_ARB_framebuffer_sRGB
3345 #define GL_ARB_framebuffer_sRGB 1
3346 #endif /* GL_ARB_framebuffer_sRGB */
3347 
3348 #ifndef GL_ARB_geometry_shader4
3349 #define GL_ARB_geometry_shader4 1
3350 #define GL_LINES_ADJACENCY_ARB            0x000A
3351 #define GL_LINE_STRIP_ADJACENCY_ARB       0x000B
3352 #define GL_TRIANGLES_ADJACENCY_ARB        0x000C
3353 #define GL_TRIANGLE_STRIP_ADJACENCY_ARB   0x000D
3354 #define GL_PROGRAM_POINT_SIZE_ARB         0x8642
3355 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
3356 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
3357 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
3358 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
3359 #define GL_GEOMETRY_SHADER_ARB            0x8DD9
3360 #define GL_GEOMETRY_VERTICES_OUT_ARB      0x8DDA
3361 #define GL_GEOMETRY_INPUT_TYPE_ARB        0x8DDB
3362 #define GL_GEOMETRY_OUTPUT_TYPE_ARB       0x8DDC
3363 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
3364 #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
3365 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
3366 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
3367 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
3368 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
3369 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
3370 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
3371 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
3372 #ifdef GL_GLEXT_PROTOTYPES
3373 GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
3374 GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
3375 GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
3376 GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
3377 #endif
3378 #endif /* GL_ARB_geometry_shader4 */
3379 
3380 #ifndef GL_ARB_get_program_binary
3381 #define GL_ARB_get_program_binary 1
3382 #endif /* GL_ARB_get_program_binary */
3383 
3384 #ifndef GL_ARB_get_texture_sub_image
3385 #define GL_ARB_get_texture_sub_image 1
3386 #endif /* GL_ARB_get_texture_sub_image */
3387 
3388 #ifndef GL_ARB_gl_spirv
3389 #define GL_ARB_gl_spirv 1
3390 #define GL_SHADER_BINARY_FORMAT_SPIR_V_ARB 0x9551
3391 #define GL_SPIR_V_BINARY_ARB              0x9552
3392 typedef void (APIENTRYP PFNGLSPECIALIZESHADERARBPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
3393 #ifdef GL_GLEXT_PROTOTYPES
3394 GLAPI void APIENTRY glSpecializeShaderARB (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
3395 #endif
3396 #endif /* GL_ARB_gl_spirv */
3397 
3398 #ifndef GL_ARB_gpu_shader5
3399 #define GL_ARB_gpu_shader5 1
3400 #endif /* GL_ARB_gpu_shader5 */
3401 
3402 #ifndef GL_ARB_gpu_shader_fp64
3403 #define GL_ARB_gpu_shader_fp64 1
3404 #endif /* GL_ARB_gpu_shader_fp64 */
3405 
3406 #ifndef GL_ARB_gpu_shader_int64
3407 #define GL_ARB_gpu_shader_int64 1
3408 #define GL_INT64_ARB                      0x140E
3409 #define GL_INT64_VEC2_ARB                 0x8FE9
3410 #define GL_INT64_VEC3_ARB                 0x8FEA
3411 #define GL_INT64_VEC4_ARB                 0x8FEB
3412 #define GL_UNSIGNED_INT64_VEC2_ARB        0x8FF5
3413 #define GL_UNSIGNED_INT64_VEC3_ARB        0x8FF6
3414 #define GL_UNSIGNED_INT64_VEC4_ARB        0x8FF7
3415 typedef void (APIENTRYP PFNGLUNIFORM1I64ARBPROC) (GLint location, GLint64 x);
3416 typedef void (APIENTRYP PFNGLUNIFORM2I64ARBPROC) (GLint location, GLint64 x, GLint64 y);
3417 typedef void (APIENTRYP PFNGLUNIFORM3I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z);
3418 typedef void (APIENTRYP PFNGLUNIFORM4I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3419 typedef void (APIENTRYP PFNGLUNIFORM1I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3420 typedef void (APIENTRYP PFNGLUNIFORM2I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3421 typedef void (APIENTRYP PFNGLUNIFORM3I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3422 typedef void (APIENTRYP PFNGLUNIFORM4I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3423 typedef void (APIENTRYP PFNGLUNIFORM1UI64ARBPROC) (GLint location, GLuint64 x);
3424 typedef void (APIENTRYP PFNGLUNIFORM2UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y);
3425 typedef void (APIENTRYP PFNGLUNIFORM3UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3426 typedef void (APIENTRYP PFNGLUNIFORM4UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3427 typedef void (APIENTRYP PFNGLUNIFORM1UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3428 typedef void (APIENTRYP PFNGLUNIFORM2UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3429 typedef void (APIENTRYP PFNGLUNIFORM3UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3430 typedef void (APIENTRYP PFNGLUNIFORM4UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3431 typedef void (APIENTRYP PFNGLGETUNIFORMI64VARBPROC) (GLuint program, GLint location, GLint64 *params);
3432 typedef void (APIENTRYP PFNGLGETUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLuint64 *params);
3433 typedef void (APIENTRYP PFNGLGETNUNIFORMI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
3434 typedef void (APIENTRYP PFNGLGETNUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
3435 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64ARBPROC) (GLuint program, GLint location, GLint64 x);
3436 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y);
3437 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
3438 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3439 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3440 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3441 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3442 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3443 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64ARBPROC) (GLuint program, GLint location, GLuint64 x);
3444 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y);
3445 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3446 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3447 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3448 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3449 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3450 typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3451 #ifdef GL_GLEXT_PROTOTYPES
3452 GLAPI void APIENTRY glUniform1i64ARB (GLint location, GLint64 x);
3453 GLAPI void APIENTRY glUniform2i64ARB (GLint location, GLint64 x, GLint64 y);
3454 GLAPI void APIENTRY glUniform3i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z);
3455 GLAPI void APIENTRY glUniform4i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3456 GLAPI void APIENTRY glUniform1i64vARB (GLint location, GLsizei count, const GLint64 *value);
3457 GLAPI void APIENTRY glUniform2i64vARB (GLint location, GLsizei count, const GLint64 *value);
3458 GLAPI void APIENTRY glUniform3i64vARB (GLint location, GLsizei count, const GLint64 *value);
3459 GLAPI void APIENTRY glUniform4i64vARB (GLint location, GLsizei count, const GLint64 *value);
3460 GLAPI void APIENTRY glUniform1ui64ARB (GLint location, GLuint64 x);
3461 GLAPI void APIENTRY glUniform2ui64ARB (GLint location, GLuint64 x, GLuint64 y);
3462 GLAPI void APIENTRY glUniform3ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3463 GLAPI void APIENTRY glUniform4ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3464 GLAPI void APIENTRY glUniform1ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3465 GLAPI void APIENTRY glUniform2ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3466 GLAPI void APIENTRY glUniform3ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3467 GLAPI void APIENTRY glUniform4ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3468 GLAPI void APIENTRY glGetUniformi64vARB (GLuint program, GLint location, GLint64 *params);
3469 GLAPI void APIENTRY glGetUniformui64vARB (GLuint program, GLint location, GLuint64 *params);
3470 GLAPI void APIENTRY glGetnUniformi64vARB (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
3471 GLAPI void APIENTRY glGetnUniformui64vARB (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
3472 GLAPI void APIENTRY glProgramUniform1i64ARB (GLuint program, GLint location, GLint64 x);
3473 GLAPI void APIENTRY glProgramUniform2i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y);
3474 GLAPI void APIENTRY glProgramUniform3i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
3475 GLAPI void APIENTRY glProgramUniform4i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3476 GLAPI void APIENTRY glProgramUniform1i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3477 GLAPI void APIENTRY glProgramUniform2i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3478 GLAPI void APIENTRY glProgramUniform3i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3479 GLAPI void APIENTRY glProgramUniform4i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3480 GLAPI void APIENTRY glProgramUniform1ui64ARB (GLuint program, GLint location, GLuint64 x);
3481 GLAPI void APIENTRY glProgramUniform2ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y);
3482 GLAPI void APIENTRY glProgramUniform3ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3483 GLAPI void APIENTRY glProgramUniform4ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3484 GLAPI void APIENTRY glProgramUniform1ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3485 GLAPI void APIENTRY glProgramUniform2ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3486 GLAPI void APIENTRY glProgramUniform3ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3487 GLAPI void APIENTRY glProgramUniform4ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3488 #endif
3489 #endif /* GL_ARB_gpu_shader_int64 */
3490 
3491 #ifndef GL_ARB_half_float_pixel
3492 #define GL_ARB_half_float_pixel 1
3493 typedef khronos_uint16_t GLhalfARB;
3494 #define GL_HALF_FLOAT_ARB                 0x140B
3495 #endif /* GL_ARB_half_float_pixel */































3496 
3497 #ifndef GL_ARB_half_float_vertex
3498 #define GL_ARB_half_float_vertex 1
3499 #endif /* GL_ARB_half_float_vertex */






3500 
3501 #ifndef GL_ARB_imaging
3502 #define GL_ARB_imaging 1
3503 #define GL_CONVOLUTION_1D                 0x8010
3504 #define GL_CONVOLUTION_2D                 0x8011
3505 #define GL_SEPARABLE_2D                   0x8012
3506 #define GL_CONVOLUTION_BORDER_MODE        0x8013
3507 #define GL_CONVOLUTION_FILTER_SCALE       0x8014
3508 #define GL_CONVOLUTION_FILTER_BIAS        0x8015
3509 #define GL_REDUCE                         0x8016
3510 #define GL_CONVOLUTION_FORMAT             0x8017
3511 #define GL_CONVOLUTION_WIDTH              0x8018
3512 #define GL_CONVOLUTION_HEIGHT             0x8019
3513 #define GL_MAX_CONVOLUTION_WIDTH          0x801A
3514 #define GL_MAX_CONVOLUTION_HEIGHT         0x801B
3515 #define GL_POST_CONVOLUTION_RED_SCALE     0x801C
3516 #define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
3517 #define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
3518 #define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
3519 #define GL_POST_CONVOLUTION_RED_BIAS      0x8020
3520 #define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
3521 #define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
3522 #define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
3523 #define GL_HISTOGRAM                      0x8024
3524 #define GL_PROXY_HISTOGRAM                0x8025
3525 #define GL_HISTOGRAM_WIDTH                0x8026
3526 #define GL_HISTOGRAM_FORMAT               0x8027
3527 #define GL_HISTOGRAM_RED_SIZE             0x8028
3528 #define GL_HISTOGRAM_GREEN_SIZE           0x8029
3529 #define GL_HISTOGRAM_BLUE_SIZE            0x802A
3530 #define GL_HISTOGRAM_ALPHA_SIZE           0x802B
3531 #define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
3532 #define GL_HISTOGRAM_SINK                 0x802D
3533 #define GL_MINMAX                         0x802E
3534 #define GL_MINMAX_FORMAT                  0x802F
3535 #define GL_MINMAX_SINK                    0x8030
3536 #define GL_TABLE_TOO_LARGE                0x8031
3537 #define GL_COLOR_MATRIX                   0x80B1
3538 #define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
3539 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
3540 #define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
3541 #define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
3542 #define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
3543 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
3544 #define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
3545 #define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
3546 #define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
3547 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
3548 #define GL_COLOR_TABLE                    0x80D0
3549 #define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
3550 #define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
3551 #define GL_PROXY_COLOR_TABLE              0x80D3
3552 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
3553 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
3554 #define GL_COLOR_TABLE_SCALE              0x80D6
3555 #define GL_COLOR_TABLE_BIAS               0x80D7
3556 #define GL_COLOR_TABLE_FORMAT             0x80D8
3557 #define GL_COLOR_TABLE_WIDTH              0x80D9
3558 #define GL_COLOR_TABLE_RED_SIZE           0x80DA
3559 #define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
3560 #define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
3561 #define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
3562 #define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
3563 #define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
3564 #define GL_CONSTANT_BORDER                0x8151
3565 #define GL_REPLICATE_BORDER               0x8153
3566 #define GL_CONVOLUTION_BORDER_COLOR       0x8154
3567 typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
3568 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3569 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3570 typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3571 typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table);
3572 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3573 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3574 typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
3575 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
3576 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
3577 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
3578 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
3579 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
3580 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
3581 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
3582 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3583 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
3584 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image);
3585 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3586 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3587 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
3588 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
3589 typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3590 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3591 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3592 typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3593 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
3594 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
3595 typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3596 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
3597 typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
3598 typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
3599 #ifdef GL_GLEXT_PROTOTYPES
3600 GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
3601 GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
3602 GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
3603 GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3604 GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table);
3605 GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
3606 GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
3607 GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
3608 GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
3609 GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
3610 GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
3611 GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
3612 GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
3613 GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
3614 GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
3615 GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
3616 GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
3617 GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image);
3618 GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
3619 GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
3620 GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
3621 GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
3622 GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3623 GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
3624 GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
3625 GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
3626 GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
3627 GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
3628 GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3629 GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
3630 GLAPI void APIENTRY glResetHistogram (GLenum target);
3631 GLAPI void APIENTRY glResetMinmax (GLenum target);
3632 #endif
3633 #endif /* GL_ARB_imaging */
3634 
3635 #ifndef GL_ARB_indirect_parameters
3636 #define GL_ARB_indirect_parameters 1
3637 #define GL_PARAMETER_BUFFER_ARB           0x80EE
3638 #define GL_PARAMETER_BUFFER_BINDING_ARB   0x80EF
3639 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3640 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3641 #ifdef GL_GLEXT_PROTOTYPES
3642 GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3643 GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3644 #endif
3645 #endif /* GL_ARB_indirect_parameters */
3646 
3647 #ifndef GL_ARB_instanced_arrays
3648 #define GL_ARB_instanced_arrays 1
3649 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
3650 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
3651 #ifdef GL_GLEXT_PROTOTYPES
3652 GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
3653 #endif
3654 #endif /* GL_ARB_instanced_arrays */
3655 
3656 #ifndef GL_ARB_internalformat_query
3657 #define GL_ARB_internalformat_query 1
3658 #endif /* GL_ARB_internalformat_query */
3659 
3660 #ifndef GL_ARB_internalformat_query2
3661 #define GL_ARB_internalformat_query2 1
3662 #define GL_SRGB_DECODE_ARB                0x8299
3663 #define GL_VIEW_CLASS_EAC_R11             0x9383
3664 #define GL_VIEW_CLASS_EAC_RG11            0x9384
3665 #define GL_VIEW_CLASS_ETC2_RGB            0x9385
3666 #define GL_VIEW_CLASS_ETC2_RGBA           0x9386
3667 #define GL_VIEW_CLASS_ETC2_EAC_RGBA       0x9387
3668 #define GL_VIEW_CLASS_ASTC_4x4_RGBA       0x9388
3669 #define GL_VIEW_CLASS_ASTC_5x4_RGBA       0x9389
3670 #define GL_VIEW_CLASS_ASTC_5x5_RGBA       0x938A
3671 #define GL_VIEW_CLASS_ASTC_6x5_RGBA       0x938B
3672 #define GL_VIEW_CLASS_ASTC_6x6_RGBA       0x938C
3673 #define GL_VIEW_CLASS_ASTC_8x5_RGBA       0x938D
3674 #define GL_VIEW_CLASS_ASTC_8x6_RGBA       0x938E
3675 #define GL_VIEW_CLASS_ASTC_8x8_RGBA       0x938F
3676 #define GL_VIEW_CLASS_ASTC_10x5_RGBA      0x9390
3677 #define GL_VIEW_CLASS_ASTC_10x6_RGBA      0x9391
3678 #define GL_VIEW_CLASS_ASTC_10x8_RGBA      0x9392
3679 #define GL_VIEW_CLASS_ASTC_10x10_RGBA     0x9393
3680 #define GL_VIEW_CLASS_ASTC_12x10_RGBA     0x9394
3681 #define GL_VIEW_CLASS_ASTC_12x12_RGBA     0x9395
3682 #endif /* GL_ARB_internalformat_query2 */
3683 
3684 #ifndef GL_ARB_invalidate_subdata
3685 #define GL_ARB_invalidate_subdata 1
3686 #endif /* GL_ARB_invalidate_subdata */
3687 
3688 #ifndef GL_ARB_map_buffer_alignment
3689 #define GL_ARB_map_buffer_alignment 1
3690 #endif /* GL_ARB_map_buffer_alignment */
3691 
3692 #ifndef GL_ARB_map_buffer_range
3693 #define GL_ARB_map_buffer_range 1
3694 #endif /* GL_ARB_map_buffer_range */
3695 
3696 #ifndef GL_ARB_matrix_palette
3697 #define GL_ARB_matrix_palette 1
3698 #define GL_MATRIX_PALETTE_ARB             0x8840
3699 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
3700 #define GL_MAX_PALETTE_MATRICES_ARB       0x8842
3701 #define GL_CURRENT_PALETTE_MATRIX_ARB     0x8843
3702 #define GL_MATRIX_INDEX_ARRAY_ARB         0x8844
3703 #define GL_CURRENT_MATRIX_INDEX_ARB       0x8845
3704 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB    0x8846
3705 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB    0x8847
3706 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB  0x8848
3707 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
3708 typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
3709 typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
3710 typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
3711 typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
3712 typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
3713 #ifdef GL_GLEXT_PROTOTYPES
3714 GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
3715 GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
3716 GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
3717 GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
3718 GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
3719 #endif
3720 #endif /* GL_ARB_matrix_palette */
3721 
3722 #ifndef GL_ARB_multi_bind
3723 #define GL_ARB_multi_bind 1
3724 #endif /* GL_ARB_multi_bind */
3725 
3726 #ifndef GL_ARB_multi_draw_indirect
3727 #define GL_ARB_multi_draw_indirect 1
3728 #endif /* GL_ARB_multi_draw_indirect */
3729 
3730 #ifndef GL_ARB_multisample
3731 #define GL_ARB_multisample 1
3732 #define GL_MULTISAMPLE_ARB                0x809D
3733 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
3734 #define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
3735 #define GL_SAMPLE_COVERAGE_ARB            0x80A0
3736 #define GL_SAMPLE_BUFFERS_ARB             0x80A8
3737 #define GL_SAMPLES_ARB                    0x80A9
3738 #define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
3739 #define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
3740 #define GL_MULTISAMPLE_BIT_ARB            0x20000000
3741 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
3742 #ifdef GL_GLEXT_PROTOTYPES
3743 GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
3744 #endif
3745 #endif /* GL_ARB_multisample */
3746 
3747 #ifndef GL_ARB_multitexture
3748 #define GL_ARB_multitexture 1
3749 #define GL_TEXTURE0_ARB                   0x84C0
3750 #define GL_TEXTURE1_ARB                   0x84C1
3751 #define GL_TEXTURE2_ARB                   0x84C2
3752 #define GL_TEXTURE3_ARB                   0x84C3
3753 #define GL_TEXTURE4_ARB                   0x84C4
3754 #define GL_TEXTURE5_ARB                   0x84C5
3755 #define GL_TEXTURE6_ARB                   0x84C6
3756 #define GL_TEXTURE7_ARB                   0x84C7
3757 #define GL_TEXTURE8_ARB                   0x84C8
3758 #define GL_TEXTURE9_ARB                   0x84C9
3759 #define GL_TEXTURE10_ARB                  0x84CA
3760 #define GL_TEXTURE11_ARB                  0x84CB
3761 #define GL_TEXTURE12_ARB                  0x84CC
3762 #define GL_TEXTURE13_ARB                  0x84CD
3763 #define GL_TEXTURE14_ARB                  0x84CE
3764 #define GL_TEXTURE15_ARB                  0x84CF
3765 #define GL_TEXTURE16_ARB                  0x84D0
3766 #define GL_TEXTURE17_ARB                  0x84D1
3767 #define GL_TEXTURE18_ARB                  0x84D2
3768 #define GL_TEXTURE19_ARB                  0x84D3
3769 #define GL_TEXTURE20_ARB                  0x84D4
3770 #define GL_TEXTURE21_ARB                  0x84D5
3771 #define GL_TEXTURE22_ARB                  0x84D6
3772 #define GL_TEXTURE23_ARB                  0x84D7
3773 #define GL_TEXTURE24_ARB                  0x84D8
3774 #define GL_TEXTURE25_ARB                  0x84D9
3775 #define GL_TEXTURE26_ARB                  0x84DA
3776 #define GL_TEXTURE27_ARB                  0x84DB
3777 #define GL_TEXTURE28_ARB                  0x84DC
3778 #define GL_TEXTURE29_ARB                  0x84DD
3779 #define GL_TEXTURE30_ARB                  0x84DE
3780 #define GL_TEXTURE31_ARB                  0x84DF
3781 #define GL_ACTIVE_TEXTURE_ARB             0x84E0
3782 #define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
3783 #define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
3784 typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
3785 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
3786 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
3787 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
3788 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
3789 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
3790 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
3791 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
3792 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
3793 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
3794 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
3795 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
3796 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
3797 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
3798 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
3799 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
3800 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
3801 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
3802 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3803 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
3804 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3805 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
3806 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
3807 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
3808 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
3809 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
3810 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3811 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
3812 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3813 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
3814 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
3815 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
3816 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3817 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
3818 #ifdef GL_GLEXT_PROTOTYPES
3819 GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
3820 GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
3821 GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
3822 GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
3823 GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
3824 GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
3825 GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
3826 GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
3827 GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
3828 GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
3829 GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
3830 GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
3831 GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
3832 GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
3833 GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
3834 GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
3835 GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
3836 GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
3837 GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
3838 GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
3839 GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
3840 GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
3841 GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
3842 GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
3843 GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
3844 GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
3845 GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
3846 GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
3847 GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
3848 GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
3849 GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
3850 GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
3851 GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
3852 GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
3853 #endif
3854 #endif /* GL_ARB_multitexture */
3855 
3856 #ifndef GL_ARB_occlusion_query
3857 #define GL_ARB_occlusion_query 1
3858 #define GL_QUERY_COUNTER_BITS_ARB         0x8864
3859 #define GL_CURRENT_QUERY_ARB              0x8865
3860 #define GL_QUERY_RESULT_ARB               0x8866
3861 #define GL_QUERY_RESULT_AVAILABLE_ARB     0x8867
3862 #define GL_SAMPLES_PASSED_ARB             0x8914
3863 typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
3864 typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
3865 typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
3866 typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
3867 typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
3868 typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
3869 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
3870 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
3871 #ifdef GL_GLEXT_PROTOTYPES
3872 GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
3873 GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
3874 GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
3875 GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
3876 GLAPI void APIENTRY glEndQueryARB (GLenum target);
3877 GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
3878 GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
3879 GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
3880 #endif
3881 #endif /* GL_ARB_occlusion_query */
3882 
3883 #ifndef GL_ARB_occlusion_query2
3884 #define GL_ARB_occlusion_query2 1
3885 #endif /* GL_ARB_occlusion_query2 */
3886 
3887 #ifndef GL_ARB_parallel_shader_compile
3888 #define GL_ARB_parallel_shader_compile 1
3889 #define GL_MAX_SHADER_COMPILER_THREADS_ARB 0x91B0
3890 #define GL_COMPLETION_STATUS_ARB          0x91B1
3891 typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSARBPROC) (GLuint count);
3892 #ifdef GL_GLEXT_PROTOTYPES
3893 GLAPI void APIENTRY glMaxShaderCompilerThreadsARB (GLuint count);
3894 #endif
3895 #endif /* GL_ARB_parallel_shader_compile */
3896 
3897 #ifndef GL_ARB_pipeline_statistics_query
3898 #define GL_ARB_pipeline_statistics_query 1
3899 #define GL_VERTICES_SUBMITTED_ARB         0x82EE
3900 #define GL_PRIMITIVES_SUBMITTED_ARB       0x82EF
3901 #define GL_VERTEX_SHADER_INVOCATIONS_ARB  0x82F0
3902 #define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1
3903 #define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2
3904 #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3
3905 #define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4
3906 #define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5
3907 #define GL_CLIPPING_INPUT_PRIMITIVES_ARB  0x82F6
3908 #define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7
3909 #endif /* GL_ARB_pipeline_statistics_query */
3910 
3911 #ifndef GL_ARB_pixel_buffer_object
3912 #define GL_ARB_pixel_buffer_object 1
3913 #define GL_PIXEL_PACK_BUFFER_ARB          0x88EB
3914 #define GL_PIXEL_UNPACK_BUFFER_ARB        0x88EC
3915 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB  0x88ED
3916 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
3917 #endif /* GL_ARB_pixel_buffer_object */












3918 
3919 #ifndef GL_ARB_point_parameters
3920 #define GL_ARB_point_parameters 1
3921 #define GL_POINT_SIZE_MIN_ARB             0x8126
3922 #define GL_POINT_SIZE_MAX_ARB             0x8127
3923 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB  0x8128
3924 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
3925 typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
3926 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
3927 #ifdef GL_GLEXT_PROTOTYPES
3928 GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
3929 GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
3930 #endif
3931 #endif /* GL_ARB_point_parameters */
3932 
3933 #ifndef GL_ARB_point_sprite
3934 #define GL_ARB_point_sprite 1
3935 #define GL_POINT_SPRITE_ARB               0x8861
3936 #define GL_COORD_REPLACE_ARB              0x8862
3937 #endif /* GL_ARB_point_sprite */


3938 
3939 #ifndef GL_ARB_polygon_offset_clamp
3940 #define GL_ARB_polygon_offset_clamp 1
3941 #endif /* GL_ARB_polygon_offset_clamp */
3942 
3943 #ifndef GL_ARB_post_depth_coverage
3944 #define GL_ARB_post_depth_coverage 1
3945 #endif /* GL_ARB_post_depth_coverage */
3946 
3947 #ifndef GL_ARB_program_interface_query
3948 #define GL_ARB_program_interface_query 1
3949 #endif /* GL_ARB_program_interface_query */
3950 
3951 #ifndef GL_ARB_provoking_vertex
3952 #define GL_ARB_provoking_vertex 1
3953 #endif /* GL_ARB_provoking_vertex */
3954 
3955 #ifndef GL_ARB_query_buffer_object
3956 #define GL_ARB_query_buffer_object 1
3957 #endif /* GL_ARB_query_buffer_object */
3958 
3959 #ifndef GL_ARB_robust_buffer_access_behavior
3960 #define GL_ARB_robust_buffer_access_behavior 1
3961 #endif /* GL_ARB_robust_buffer_access_behavior */
3962 
3963 #ifndef GL_ARB_robustness
3964 #define GL_ARB_robustness 1
3965 #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
3966 #define GL_LOSE_CONTEXT_ON_RESET_ARB      0x8252
3967 #define GL_GUILTY_CONTEXT_RESET_ARB       0x8253
3968 #define GL_INNOCENT_CONTEXT_RESET_ARB     0x8254
3969 #define GL_UNKNOWN_CONTEXT_RESET_ARB      0x8255
3970 #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
3971 #define GL_NO_RESET_NOTIFICATION_ARB      0x8261
3972 typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
3973 typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
3974 typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3975 typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
3976 typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3977 typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3978 typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
3979 typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
3980 typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
3981 typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
3982 typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
3983 typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
3984 typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
3985 typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
3986 typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
3987 typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
3988 typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
3989 typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
3990 typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3991 typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3992 #ifdef GL_GLEXT_PROTOTYPES
3993 GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
3994 GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
3995 GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3996 GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
3997 GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3998 GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3999 GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
4000 GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
4001 GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
4002 GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
4003 GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
4004 GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
4005 GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
4006 GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
4007 GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
4008 GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
4009 GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
4010 GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
4011 GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
4012 GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
4013 #endif
4014 #endif /* GL_ARB_robustness */
4015 
4016 #ifndef GL_ARB_robustness_isolation
4017 #define GL_ARB_robustness_isolation 1
4018 #endif /* GL_ARB_robustness_isolation */
4019 
4020 #ifndef GL_ARB_sample_locations
4021 #define GL_ARB_sample_locations 1
4022 #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB 0x933D
4023 #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB 0x933E
4024 #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB 0x933F
4025 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB 0x9340
4026 #define GL_SAMPLE_LOCATION_ARB            0x8E50
4027 #define GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB 0x9341
4028 #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB 0x9342
4029 #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB 0x9343
4030 typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
4031 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
4032 typedef void (APIENTRYP PFNGLEVALUATEDEPTHVALUESARBPROC) (void);
4033 #ifdef GL_GLEXT_PROTOTYPES
4034 GLAPI void APIENTRY glFramebufferSampleLocationsfvARB (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
4035 GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvARB (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
4036 GLAPI void APIENTRY glEvaluateDepthValuesARB (void);
4037 #endif
4038 #endif /* GL_ARB_sample_locations */
4039 
4040 #ifndef GL_ARB_sample_shading
4041 #define GL_ARB_sample_shading 1
4042 #define GL_SAMPLE_SHADING_ARB             0x8C36
4043 #define GL_MIN_SAMPLE_SHADING_VALUE_ARB   0x8C37
4044 typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
4045 #ifdef GL_GLEXT_PROTOTYPES
4046 GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
4047 #endif
4048 #endif /* GL_ARB_sample_shading */
4049 
4050 #ifndef GL_ARB_sampler_objects
4051 #define GL_ARB_sampler_objects 1
4052 #endif /* GL_ARB_sampler_objects */
4053 
4054 #ifndef GL_ARB_seamless_cube_map
4055 #define GL_ARB_seamless_cube_map 1
4056 #endif /* GL_ARB_seamless_cube_map */
4057 
4058 #ifndef GL_ARB_seamless_cubemap_per_texture
4059 #define GL_ARB_seamless_cubemap_per_texture 1
4060 #endif /* GL_ARB_seamless_cubemap_per_texture */
4061 
4062 #ifndef GL_ARB_separate_shader_objects
4063 #define GL_ARB_separate_shader_objects 1
4064 #endif /* GL_ARB_separate_shader_objects */
4065 
4066 #ifndef GL_ARB_shader_atomic_counter_ops
4067 #define GL_ARB_shader_atomic_counter_ops 1
4068 #endif /* GL_ARB_shader_atomic_counter_ops */
4069 
4070 #ifndef GL_ARB_shader_atomic_counters
4071 #define GL_ARB_shader_atomic_counters 1
4072 #endif /* GL_ARB_shader_atomic_counters */
4073 
4074 #ifndef GL_ARB_shader_ballot
4075 #define GL_ARB_shader_ballot 1
4076 #endif /* GL_ARB_shader_ballot */
4077 
4078 #ifndef GL_ARB_shader_bit_encoding
4079 #define GL_ARB_shader_bit_encoding 1
4080 #endif /* GL_ARB_shader_bit_encoding */
4081 
4082 #ifndef GL_ARB_shader_clock
4083 #define GL_ARB_shader_clock 1
4084 #endif /* GL_ARB_shader_clock */
4085 
4086 #ifndef GL_ARB_shader_draw_parameters
4087 #define GL_ARB_shader_draw_parameters 1
4088 #endif /* GL_ARB_shader_draw_parameters */
4089 
4090 #ifndef GL_ARB_shader_group_vote
4091 #define GL_ARB_shader_group_vote 1
4092 #endif /* GL_ARB_shader_group_vote */
4093 
4094 #ifndef GL_ARB_shader_image_load_store
4095 #define GL_ARB_shader_image_load_store 1
4096 #endif /* GL_ARB_shader_image_load_store */
4097 
4098 #ifndef GL_ARB_shader_image_size
4099 #define GL_ARB_shader_image_size 1
4100 #endif /* GL_ARB_shader_image_size */
4101 
4102 #ifndef GL_ARB_shader_objects
4103 #define GL_ARB_shader_objects 1
4104 #ifdef __APPLE__
4105 #ifdef BUILDING_MESA
4106 /* Avoid uint <-> void* warnings */
4107 typedef unsigned long GLhandleARB;
4108 #else
4109 typedef void *GLhandleARB;
4110 #endif
4111 #else
4112 typedef unsigned int GLhandleARB;
4113 #endif
4114 typedef char GLcharARB;
4115 #define GL_PROGRAM_OBJECT_ARB             0x8B40
4116 #define GL_SHADER_OBJECT_ARB              0x8B48
4117 #define GL_OBJECT_TYPE_ARB                0x8B4E
4118 #define GL_OBJECT_SUBTYPE_ARB             0x8B4F
4119 #define GL_FLOAT_VEC2_ARB                 0x8B50
4120 #define GL_FLOAT_VEC3_ARB                 0x8B51
4121 #define GL_FLOAT_VEC4_ARB                 0x8B52
4122 #define GL_INT_VEC2_ARB                   0x8B53
4123 #define GL_INT_VEC3_ARB                   0x8B54
4124 #define GL_INT_VEC4_ARB                   0x8B55
4125 #define GL_BOOL_ARB                       0x8B56
4126 #define GL_BOOL_VEC2_ARB                  0x8B57
4127 #define GL_BOOL_VEC3_ARB                  0x8B58
4128 #define GL_BOOL_VEC4_ARB                  0x8B59
4129 #define GL_FLOAT_MAT2_ARB                 0x8B5A
4130 #define GL_FLOAT_MAT3_ARB                 0x8B5B
4131 #define GL_FLOAT_MAT4_ARB                 0x8B5C
4132 #define GL_SAMPLER_1D_ARB                 0x8B5D
4133 #define GL_SAMPLER_2D_ARB                 0x8B5E
4134 #define GL_SAMPLER_3D_ARB                 0x8B5F
4135 #define GL_SAMPLER_CUBE_ARB               0x8B60
4136 #define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
4137 #define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
4138 #define GL_SAMPLER_2D_RECT_ARB            0x8B63
4139 #define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
4140 #define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
4141 #define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
4142 #define GL_OBJECT_LINK_STATUS_ARB         0x8B82
4143 #define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
4144 #define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
4145 #define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
4146 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
4147 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
4148 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
4149 typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
4150 typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
4151 typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
4152 typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
4153 typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
4154 typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
4155 typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
4156 typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
4157 typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
4158 typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
4159 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
4160 typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
4161 typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
4162 typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
4163 typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
4164 typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
4165 typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
4166 typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
4167 typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
4168 typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4169 typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4170 typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4171 typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
4172 typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4173 typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4174 typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4175 typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
4176 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4177 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4178 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4179 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
4180 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
4181 typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
4182 typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
4183 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
4184 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4185 typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
4186 typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
4187 typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
4188 #ifdef GL_GLEXT_PROTOTYPES
4189 GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
4190 GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
4191 GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
4192 GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
4193 GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
4194 GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
4195 GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
4196 GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
4197 GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
4198 GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
4199 GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
4200 GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
4201 GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
4202 GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
4203 GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
4204 GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
4205 GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
4206 GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
4207 GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
4208 GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
4209 GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
4210 GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
4211 GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
4212 GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
4213 GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
4214 GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
4215 GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
4216 GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4217 GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4218 GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
4219 GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
4220 GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
4221 GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
4222 GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
4223 GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
4224 GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4225 GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
4226 GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
4227 GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
4228 #endif
4229 #endif /* GL_ARB_shader_objects */
4230 
4231 #ifndef GL_ARB_shader_precision
4232 #define GL_ARB_shader_precision 1
4233 #endif /* GL_ARB_shader_precision */
4234 
4235 #ifndef GL_ARB_shader_stencil_export
4236 #define GL_ARB_shader_stencil_export 1
4237 #endif /* GL_ARB_shader_stencil_export */
4238 
4239 #ifndef GL_ARB_shader_storage_buffer_object
4240 #define GL_ARB_shader_storage_buffer_object 1
4241 #endif /* GL_ARB_shader_storage_buffer_object */
4242 
4243 #ifndef GL_ARB_shader_subroutine
4244 #define GL_ARB_shader_subroutine 1
4245 #endif /* GL_ARB_shader_subroutine */
4246 
4247 #ifndef GL_ARB_shader_texture_image_samples
4248 #define GL_ARB_shader_texture_image_samples 1
4249 #endif /* GL_ARB_shader_texture_image_samples */
4250 
4251 #ifndef GL_ARB_shader_texture_lod
4252 #define GL_ARB_shader_texture_lod 1
4253 #endif /* GL_ARB_shader_texture_lod */
4254 
4255 #ifndef GL_ARB_shader_viewport_layer_array
4256 #define GL_ARB_shader_viewport_layer_array 1
4257 #endif /* GL_ARB_shader_viewport_layer_array */
4258 
4259 #ifndef GL_ARB_shading_language_100
4260 #define GL_ARB_shading_language_100 1
4261 #define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C
4262 #endif /* GL_ARB_shading_language_100 */
4263 
4264 #ifndef GL_ARB_shading_language_420pack
4265 #define GL_ARB_shading_language_420pack 1
4266 #endif /* GL_ARB_shading_language_420pack */
4267 
4268 #ifndef GL_ARB_shading_language_include
4269 #define GL_ARB_shading_language_include 1
4270 #define GL_SHADER_INCLUDE_ARB             0x8DAE
4271 #define GL_NAMED_STRING_LENGTH_ARB        0x8DE9
4272 #define GL_NAMED_STRING_TYPE_ARB          0x8DEA
4273 typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
4274 typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
4275 typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
4276 typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
4277 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
4278 typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
4279 #ifdef GL_GLEXT_PROTOTYPES
4280 GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
4281 GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
4282 GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
4283 GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
4284 GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
4285 GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
4286 #endif
4287 #endif /* GL_ARB_shading_language_include */
4288 
4289 #ifndef GL_ARB_shading_language_packing
4290 #define GL_ARB_shading_language_packing 1
4291 #endif /* GL_ARB_shading_language_packing */
4292 
4293 #ifndef GL_ARB_shadow
4294 #define GL_ARB_shadow 1
4295 #define GL_TEXTURE_COMPARE_MODE_ARB       0x884C
4296 #define GL_TEXTURE_COMPARE_FUNC_ARB       0x884D
4297 #define GL_COMPARE_R_TO_TEXTURE_ARB       0x884E
4298 #endif /* GL_ARB_shadow */
4299 
4300 #ifndef GL_ARB_shadow_ambient
4301 #define GL_ARB_shadow_ambient 1
4302 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
4303 #endif /* GL_ARB_shadow_ambient */
4304 
4305 #ifndef GL_ARB_sparse_buffer
4306 #define GL_ARB_sparse_buffer 1
4307 #define GL_SPARSE_STORAGE_BIT_ARB         0x0400
4308 #define GL_SPARSE_BUFFER_PAGE_SIZE_ARB    0x82F8
4309 typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
4310 typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4311 typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4312 #ifdef GL_GLEXT_PROTOTYPES
4313 GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
4314 GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4315 GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4316 #endif
4317 #endif /* GL_ARB_sparse_buffer */
4318 
4319 #ifndef GL_ARB_sparse_texture
4320 #define GL_ARB_sparse_texture 1
4321 #define GL_TEXTURE_SPARSE_ARB             0x91A6
4322 #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB    0x91A7
4323 #define GL_NUM_SPARSE_LEVELS_ARB          0x91AA
4324 #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB     0x91A8
4325 #define GL_VIRTUAL_PAGE_SIZE_X_ARB        0x9195
4326 #define GL_VIRTUAL_PAGE_SIZE_Y_ARB        0x9196
4327 #define GL_VIRTUAL_PAGE_SIZE_Z_ARB        0x9197
4328 #define GL_MAX_SPARSE_TEXTURE_SIZE_ARB    0x9198
4329 #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
4330 #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
4331 #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
4332 typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
4333 #ifdef GL_GLEXT_PROTOTYPES
4334 GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
4335 #endif
4336 #endif /* GL_ARB_sparse_texture */
4337 
4338 #ifndef GL_ARB_sparse_texture2
4339 #define GL_ARB_sparse_texture2 1
4340 #endif /* GL_ARB_sparse_texture2 */
4341 
4342 #ifndef GL_ARB_sparse_texture_clamp
4343 #define GL_ARB_sparse_texture_clamp 1
4344 #endif /* GL_ARB_sparse_texture_clamp */
4345 
4346 #ifndef GL_ARB_spirv_extensions
4347 #define GL_ARB_spirv_extensions 1
4348 #endif /* GL_ARB_spirv_extensions */
4349 
4350 #ifndef GL_ARB_stencil_texturing
4351 #define GL_ARB_stencil_texturing 1
4352 #endif /* GL_ARB_stencil_texturing */
4353 
4354 #ifndef GL_ARB_sync
4355 #define GL_ARB_sync 1
4356 #endif /* GL_ARB_sync */
4357 
4358 #ifndef GL_ARB_tessellation_shader
4359 #define GL_ARB_tessellation_shader 1
4360 #endif /* GL_ARB_tessellation_shader */
4361 
4362 #ifndef GL_ARB_texture_barrier
4363 #define GL_ARB_texture_barrier 1
4364 #endif /* GL_ARB_texture_barrier */
4365 
4366 #ifndef GL_ARB_texture_border_clamp
4367 #define GL_ARB_texture_border_clamp 1
4368 #define GL_CLAMP_TO_BORDER_ARB            0x812D
4369 #endif /* GL_ARB_texture_border_clamp */
4370 
4371 #ifndef GL_ARB_texture_buffer_object
4372 #define GL_ARB_texture_buffer_object 1
4373 #define GL_TEXTURE_BUFFER_ARB             0x8C2A
4374 #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB    0x8C2B
4375 #define GL_TEXTURE_BINDING_BUFFER_ARB     0x8C2C
4376 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
4377 #define GL_TEXTURE_BUFFER_FORMAT_ARB      0x8C2E
4378 typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
4379 #ifdef GL_GLEXT_PROTOTYPES
4380 GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
4381 #endif
4382 #endif /* GL_ARB_texture_buffer_object */
4383 
4384 #ifndef GL_ARB_texture_buffer_object_rgb32
4385 #define GL_ARB_texture_buffer_object_rgb32 1
4386 #endif /* GL_ARB_texture_buffer_object_rgb32 */
4387 
4388 #ifndef GL_ARB_texture_buffer_range
4389 #define GL_ARB_texture_buffer_range 1
4390 #endif /* GL_ARB_texture_buffer_range */
4391 
4392 #ifndef GL_ARB_texture_compression
4393 #define GL_ARB_texture_compression 1
4394 #define GL_COMPRESSED_ALPHA_ARB           0x84E9
4395 #define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
4396 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
4397 #define GL_COMPRESSED_INTENSITY_ARB       0x84EC
4398 #define GL_COMPRESSED_RGB_ARB             0x84ED
4399 #define GL_COMPRESSED_RGBA_ARB            0x84EE
4400 #define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
4401 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
4402 #define GL_TEXTURE_COMPRESSED_ARB         0x86A1
4403 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
4404 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
4405 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
4406 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
4407 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
4408 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
4409 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
4410 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
4411 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
4412 #ifdef GL_GLEXT_PROTOTYPES
4413 GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
4414 GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
4415 GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
4416 GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
4417 GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
4418 GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
4419 GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img);
4420 #endif
4421 #endif /* GL_ARB_texture_compression */
4422 
4423 #ifndef GL_ARB_texture_compression_bptc
4424 #define GL_ARB_texture_compression_bptc 1
4425 #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
4426 #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
4427 #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
4428 #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
4429 #endif /* GL_ARB_texture_compression_bptc */
4430 
4431 #ifndef GL_ARB_texture_compression_rgtc
4432 #define GL_ARB_texture_compression_rgtc 1
4433 #endif /* GL_ARB_texture_compression_rgtc */
4434 
4435 #ifndef GL_ARB_texture_cube_map
4436 #define GL_ARB_texture_cube_map 1
4437 #define GL_NORMAL_MAP_ARB                 0x8511
4438 #define GL_REFLECTION_MAP_ARB             0x8512
4439 #define GL_TEXTURE_CUBE_MAP_ARB           0x8513
4440 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
4441 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
4442 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
4443 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
4444 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
4445 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
4446 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
4447 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
4448 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
4449 #endif /* GL_ARB_texture_cube_map */
4450 
4451 #ifndef GL_ARB_texture_cube_map_array
4452 #define GL_ARB_texture_cube_map_array 1
4453 #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB     0x9009
4454 #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
4455 #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
4456 #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB     0x900C
4457 #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
4458 #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
4459 #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
4460 #endif /* GL_ARB_texture_cube_map_array */
4461 
4462 #ifndef GL_ARB_texture_env_add
4463 #define GL_ARB_texture_env_add 1
4464 #endif /* GL_ARB_texture_env_add */
4465 
4466 #ifndef GL_ARB_texture_env_combine
4467 #define GL_ARB_texture_env_combine 1
4468 #define GL_COMBINE_ARB                    0x8570
4469 #define GL_COMBINE_RGB_ARB                0x8571
4470 #define GL_COMBINE_ALPHA_ARB              0x8572
4471 #define GL_SOURCE0_RGB_ARB                0x8580
4472 #define GL_SOURCE1_RGB_ARB                0x8581
4473 #define GL_SOURCE2_RGB_ARB                0x8582
4474 #define GL_SOURCE0_ALPHA_ARB              0x8588
4475 #define GL_SOURCE1_ALPHA_ARB              0x8589
4476 #define GL_SOURCE2_ALPHA_ARB              0x858A
4477 #define GL_OPERAND0_RGB_ARB               0x8590
4478 #define GL_OPERAND1_RGB_ARB               0x8591
4479 #define GL_OPERAND2_RGB_ARB               0x8592
4480 #define GL_OPERAND0_ALPHA_ARB             0x8598
4481 #define GL_OPERAND1_ALPHA_ARB             0x8599
4482 #define GL_OPERAND2_ALPHA_ARB             0x859A
4483 #define GL_RGB_SCALE_ARB                  0x8573
4484 #define GL_ADD_SIGNED_ARB                 0x8574
4485 #define GL_INTERPOLATE_ARB                0x8575
4486 #define GL_SUBTRACT_ARB                   0x84E7
4487 #define GL_CONSTANT_ARB                   0x8576
4488 #define GL_PRIMARY_COLOR_ARB              0x8577
4489 #define GL_PREVIOUS_ARB                   0x8578
4490 #endif /* GL_ARB_texture_env_combine */
4491 
4492 #ifndef GL_ARB_texture_env_crossbar
4493 #define GL_ARB_texture_env_crossbar 1
4494 #endif /* GL_ARB_texture_env_crossbar */
4495 
4496 #ifndef GL_ARB_texture_env_dot3
4497 #define GL_ARB_texture_env_dot3 1
4498 #define GL_DOT3_RGB_ARB                   0x86AE
4499 #define GL_DOT3_RGBA_ARB                  0x86AF
4500 #endif /* GL_ARB_texture_env_dot3 */
4501 
4502 #ifndef GL_ARB_texture_filter_anisotropic
4503 #define GL_ARB_texture_filter_anisotropic 1
4504 #endif /* GL_ARB_texture_filter_anisotropic */
4505 
4506 #ifndef GL_ARB_texture_filter_minmax
4507 #define GL_ARB_texture_filter_minmax 1
4508 #define GL_TEXTURE_REDUCTION_MODE_ARB     0x9366
4509 #define GL_WEIGHTED_AVERAGE_ARB           0x9367
4510 #endif /* GL_ARB_texture_filter_minmax */
4511 
4512 #ifndef GL_ARB_texture_float
4513 #define GL_ARB_texture_float 1
4514 #define GL_TEXTURE_RED_TYPE_ARB           0x8C10
4515 #define GL_TEXTURE_GREEN_TYPE_ARB         0x8C11
4516 #define GL_TEXTURE_BLUE_TYPE_ARB          0x8C12
4517 #define GL_TEXTURE_ALPHA_TYPE_ARB         0x8C13
4518 #define GL_TEXTURE_LUMINANCE_TYPE_ARB     0x8C14
4519 #define GL_TEXTURE_INTENSITY_TYPE_ARB     0x8C15
4520 #define GL_TEXTURE_DEPTH_TYPE_ARB         0x8C16
4521 #define GL_UNSIGNED_NORMALIZED_ARB        0x8C17
4522 #define GL_RGBA32F_ARB                    0x8814
4523 #define GL_RGB32F_ARB                     0x8815
4524 #define GL_ALPHA32F_ARB                   0x8816
4525 #define GL_INTENSITY32F_ARB               0x8817
4526 #define GL_LUMINANCE32F_ARB               0x8818
4527 #define GL_LUMINANCE_ALPHA32F_ARB         0x8819
4528 #define GL_RGBA16F_ARB                    0x881A
4529 #define GL_RGB16F_ARB                     0x881B
4530 #define GL_ALPHA16F_ARB                   0x881C
4531 #define GL_INTENSITY16F_ARB               0x881D
4532 #define GL_LUMINANCE16F_ARB               0x881E
4533 #define GL_LUMINANCE_ALPHA16F_ARB         0x881F
4534 #endif /* GL_ARB_texture_float */
4535 
4536 #ifndef GL_ARB_texture_gather
4537 #define GL_ARB_texture_gather 1
4538 #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
4539 #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
4540 #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
4541 #endif /* GL_ARB_texture_gather */
4542 
4543 #ifndef GL_ARB_texture_mirror_clamp_to_edge
4544 #define GL_ARB_texture_mirror_clamp_to_edge 1
4545 #endif /* GL_ARB_texture_mirror_clamp_to_edge */
4546 
4547 #ifndef GL_ARB_texture_mirrored_repeat
4548 #define GL_ARB_texture_mirrored_repeat 1
4549 #define GL_MIRRORED_REPEAT_ARB            0x8370
4550 #endif /* GL_ARB_texture_mirrored_repeat */
4551 
4552 #ifndef GL_ARB_texture_multisample
4553 #define GL_ARB_texture_multisample 1
4554 #endif /* GL_ARB_texture_multisample */




4555 
4556 #ifndef GL_ARB_texture_non_power_of_two
4557 #define GL_ARB_texture_non_power_of_two 1
4558 #endif /* GL_ARB_texture_non_power_of_two */


4559 
4560 #ifndef GL_ARB_texture_query_levels
4561 #define GL_ARB_texture_query_levels 1
4562 #endif /* GL_ARB_texture_query_levels */
4563 
4564 #ifndef GL_ARB_texture_query_lod
4565 #define GL_ARB_texture_query_lod 1
4566 #endif /* GL_ARB_texture_query_lod */






































4567 
4568 #ifndef GL_ARB_texture_rectangle
4569 #define GL_ARB_texture_rectangle 1
4570 #define GL_TEXTURE_RECTANGLE_ARB          0x84F5
4571 #define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
4572 #define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
4573 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
4574 #endif /* GL_ARB_texture_rectangle */




4575 
4576 #ifndef GL_ARB_texture_rg
4577 #define GL_ARB_texture_rg 1
4578 #endif /* GL_ARB_texture_rg */
4579 
4580 #ifndef GL_ARB_texture_rgb10_a2ui
4581 #define GL_ARB_texture_rgb10_a2ui 1
4582 #endif /* GL_ARB_texture_rgb10_a2ui */
4583 
4584 #ifndef GL_ARB_texture_stencil8
4585 #define GL_ARB_texture_stencil8 1
4586 #endif /* GL_ARB_texture_stencil8 */
4587 
4588 #ifndef GL_ARB_texture_storage
4589 #define GL_ARB_texture_storage 1
4590 #endif /* GL_ARB_texture_storage */
4591 
4592 #ifndef GL_ARB_texture_storage_multisample
4593 #define GL_ARB_texture_storage_multisample 1
4594 #endif /* GL_ARB_texture_storage_multisample */
4595 
4596 #ifndef GL_ARB_texture_swizzle
4597 #define GL_ARB_texture_swizzle 1
4598 #endif /* GL_ARB_texture_swizzle */
4599 
4600 #ifndef GL_ARB_texture_view
4601 #define GL_ARB_texture_view 1
4602 #endif /* GL_ARB_texture_view */
4603 
4604 #ifndef GL_ARB_timer_query
4605 #define GL_ARB_timer_query 1
4606 #endif /* GL_ARB_timer_query */
4607 
4608 #ifndef GL_ARB_transform_feedback2
4609 #define GL_ARB_transform_feedback2 1
4610 #endif /* GL_ARB_transform_feedback2 */
4611 
4612 #ifndef GL_ARB_transform_feedback3
4613 #define GL_ARB_transform_feedback3 1
4614 #endif /* GL_ARB_transform_feedback3 */
4615 
4616 #ifndef GL_ARB_transform_feedback_instanced
4617 #define GL_ARB_transform_feedback_instanced 1
4618 #endif /* GL_ARB_transform_feedback_instanced */
4619 
4620 #ifndef GL_ARB_transform_feedback_overflow_query
4621 #define GL_ARB_transform_feedback_overflow_query 1
4622 #define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC
4623 #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED
4624 #endif /* GL_ARB_transform_feedback_overflow_query */
4625 
4626 #ifndef GL_ARB_transpose_matrix
4627 #define GL_ARB_transpose_matrix 1
4628 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
4629 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
4630 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
4631 #define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
4632 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
4633 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
4634 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
4635 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
4636 #ifdef GL_GLEXT_PROTOTYPES
4637 GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
4638 GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
4639 GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
4640 GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
4641 #endif
4642 #endif /* GL_ARB_transpose_matrix */
4643 
4644 #ifndef GL_ARB_uniform_buffer_object
4645 #define GL_ARB_uniform_buffer_object 1
4646 #endif /* GL_ARB_uniform_buffer_object */
4647 
4648 #ifndef GL_ARB_vertex_array_bgra
4649 #define GL_ARB_vertex_array_bgra 1
4650 #endif /* GL_ARB_vertex_array_bgra */
4651 
4652 #ifndef GL_ARB_vertex_array_object
4653 #define GL_ARB_vertex_array_object 1
4654 #endif /* GL_ARB_vertex_array_object */
4655 
4656 #ifndef GL_ARB_vertex_attrib_64bit
4657 #define GL_ARB_vertex_attrib_64bit 1
4658 #endif /* GL_ARB_vertex_attrib_64bit */
4659 
4660 #ifndef GL_ARB_vertex_attrib_binding
4661 #define GL_ARB_vertex_attrib_binding 1
4662 #endif /* GL_ARB_vertex_attrib_binding */
4663 
4664 #ifndef GL_ARB_vertex_blend
4665 #define GL_ARB_vertex_blend 1
4666 #define GL_MAX_VERTEX_UNITS_ARB           0x86A4
4667 #define GL_ACTIVE_VERTEX_UNITS_ARB        0x86A5
4668 #define GL_WEIGHT_SUM_UNITY_ARB           0x86A6
4669 #define GL_VERTEX_BLEND_ARB               0x86A7
4670 #define GL_CURRENT_WEIGHT_ARB             0x86A8
4671 #define GL_WEIGHT_ARRAY_TYPE_ARB          0x86A9
4672 #define GL_WEIGHT_ARRAY_STRIDE_ARB        0x86AA
4673 #define GL_WEIGHT_ARRAY_SIZE_ARB          0x86AB
4674 #define GL_WEIGHT_ARRAY_POINTER_ARB       0x86AC
4675 #define GL_WEIGHT_ARRAY_ARB               0x86AD
4676 #define GL_MODELVIEW0_ARB                 0x1700
4677 #define GL_MODELVIEW1_ARB                 0x850A
4678 #define GL_MODELVIEW2_ARB                 0x8722
4679 #define GL_MODELVIEW3_ARB                 0x8723
4680 #define GL_MODELVIEW4_ARB                 0x8724
4681 #define GL_MODELVIEW5_ARB                 0x8725
4682 #define GL_MODELVIEW6_ARB                 0x8726
4683 #define GL_MODELVIEW7_ARB                 0x8727
4684 #define GL_MODELVIEW8_ARB                 0x8728
4685 #define GL_MODELVIEW9_ARB                 0x8729
4686 #define GL_MODELVIEW10_ARB                0x872A
4687 #define GL_MODELVIEW11_ARB                0x872B
4688 #define GL_MODELVIEW12_ARB                0x872C
4689 #define GL_MODELVIEW13_ARB                0x872D
4690 #define GL_MODELVIEW14_ARB                0x872E
4691 #define GL_MODELVIEW15_ARB                0x872F
4692 #define GL_MODELVIEW16_ARB                0x8730
4693 #define GL_MODELVIEW17_ARB                0x8731
4694 #define GL_MODELVIEW18_ARB                0x8732
4695 #define GL_MODELVIEW19_ARB                0x8733
4696 #define GL_MODELVIEW20_ARB                0x8734
4697 #define GL_MODELVIEW21_ARB                0x8735
4698 #define GL_MODELVIEW22_ARB                0x8736
4699 #define GL_MODELVIEW23_ARB                0x8737
4700 #define GL_MODELVIEW24_ARB                0x8738
4701 #define GL_MODELVIEW25_ARB                0x8739
4702 #define GL_MODELVIEW26_ARB                0x873A
4703 #define GL_MODELVIEW27_ARB                0x873B
4704 #define GL_MODELVIEW28_ARB                0x873C
4705 #define GL_MODELVIEW29_ARB                0x873D
4706 #define GL_MODELVIEW30_ARB                0x873E
4707 #define GL_MODELVIEW31_ARB                0x873F
4708 typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
4709 typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
4710 typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
4711 typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
4712 typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
4713 typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
4714 typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
4715 typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
4716 typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
4717 typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
4718 #ifdef GL_GLEXT_PROTOTYPES
4719 GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
4720 GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
4721 GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
4722 GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
4723 GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
4724 GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
4725 GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
4726 GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
4727 GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
4728 GLAPI void APIENTRY glVertexBlendARB (GLint count);
4729 #endif
4730 #endif /* GL_ARB_vertex_blend */
4731 
4732 #ifndef GL_ARB_vertex_buffer_object
4733 #define GL_ARB_vertex_buffer_object 1
4734 typedef khronos_ssize_t GLsizeiptrARB;
4735 typedef khronos_intptr_t GLintptrARB;
4736 #define GL_BUFFER_SIZE_ARB                0x8764
4737 #define GL_BUFFER_USAGE_ARB               0x8765
4738 #define GL_ARRAY_BUFFER_ARB               0x8892
4739 #define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893
4740 #define GL_ARRAY_BUFFER_BINDING_ARB       0x8894
4741 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
4742 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
4743 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
4744 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
4745 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
4746 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
4747 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
4748 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
4749 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
4750 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
4751 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
4752 #define GL_READ_ONLY_ARB                  0x88B8
4753 #define GL_WRITE_ONLY_ARB                 0x88B9
4754 #define GL_READ_WRITE_ARB                 0x88BA
4755 #define GL_BUFFER_ACCESS_ARB              0x88BB
4756 #define GL_BUFFER_MAPPED_ARB              0x88BC
4757 #define GL_BUFFER_MAP_POINTER_ARB         0x88BD
4758 #define GL_STREAM_DRAW_ARB                0x88E0
4759 #define GL_STREAM_READ_ARB                0x88E1
4760 #define GL_STREAM_COPY_ARB                0x88E2
4761 #define GL_STATIC_DRAW_ARB                0x88E4
4762 #define GL_STATIC_READ_ARB                0x88E5
4763 #define GL_STATIC_COPY_ARB                0x88E6
4764 #define GL_DYNAMIC_DRAW_ARB               0x88E8
4765 #define GL_DYNAMIC_READ_ARB               0x88E9
4766 #define GL_DYNAMIC_COPY_ARB               0x88EA
4767 typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
4768 typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
4769 typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
4770 typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
4771 typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
4772 typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
4773 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
4774 typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
4775 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
4776 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
4777 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, void **params);
4778 #ifdef GL_GLEXT_PROTOTYPES
4779 GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
4780 GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
4781 GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
4782 GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
4783 GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
4784 GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
4785 GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
4786 GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access);
4787 GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
4788 GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
4789 GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, void **params);
4790 #endif
4791 #endif /* GL_ARB_vertex_buffer_object */
4792 
4793 #ifndef GL_ARB_vertex_program
4794 #define GL_ARB_vertex_program 1
4795 #define GL_COLOR_SUM_ARB                  0x8458
4796 #define GL_VERTEX_PROGRAM_ARB             0x8620
4797 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
4798 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB   0x8623
4799 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
4800 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB   0x8625
4801 #define GL_CURRENT_VERTEX_ATTRIB_ARB      0x8626
4802 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB  0x8642
4803 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB    0x8643
4804 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
4805 #define GL_MAX_VERTEX_ATTRIBS_ARB         0x8869
4806 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
4807 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB  0x88B0
4808 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
4809 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
4810 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
4811 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
4812 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
4813 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
4814 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
4815 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
4816 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
4817 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
4818 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
4819 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
4820 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
4821 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
4822 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
4823 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
4824 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
4825 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
4826 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
4827 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
4828 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
4829 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
4830 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
4831 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
4832 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
4833 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
4834 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
4835 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
4836 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
4837 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
4838 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
4839 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
4840 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
4841 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
4842 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
4843 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
4844 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
4845 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
4846 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
4847 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
4848 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
4849 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
4850 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
4851 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
4852 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
4853 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, void **pointer);
4854 #ifdef GL_GLEXT_PROTOTYPES
4855 GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
4856 GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
4857 GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
4858 GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
4859 GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
4860 GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
4861 GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
4862 GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
4863 GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
4864 GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
4865 GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
4866 GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
4867 GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
4868 GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
4869 GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
4870 GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
4871 GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
4872 GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
4873 GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
4874 GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
4875 GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
4876 GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
4877 GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
4878 GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
4879 GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
4880 GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
4881 GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
4882 GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
4883 GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
4884 GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
4885 GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
4886 GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
4887 GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
4888 GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
4889 GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
4890 GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
4891 GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
4892 GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
4893 GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
4894 GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
4895 GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
4896 GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
4897 GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, void **pointer);
4898 #endif
4899 #endif /* GL_ARB_vertex_program */
4900 
4901 #ifndef GL_ARB_vertex_shader
4902 #define GL_ARB_vertex_shader 1
4903 #define GL_VERTEX_SHADER_ARB              0x8B31
4904 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
4905 #define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
4906 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
4907 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
4908 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
4909 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
4910 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
4911 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4912 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
4913 #ifdef GL_GLEXT_PROTOTYPES
4914 GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
4915 GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
4916 GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
4917 #endif
4918 #endif /* GL_ARB_vertex_shader */
4919 
4920 #ifndef GL_ARB_vertex_type_10f_11f_11f_rev
4921 #define GL_ARB_vertex_type_10f_11f_11f_rev 1
4922 #endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
4923 
4924 #ifndef GL_ARB_vertex_type_2_10_10_10_rev
4925 #define GL_ARB_vertex_type_2_10_10_10_rev 1
4926 #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
4927 
4928 #ifndef GL_ARB_viewport_array
4929 #define GL_ARB_viewport_array 1
4930 #endif /* GL_ARB_viewport_array */
4931 
4932 #ifndef GL_ARB_window_pos
4933 #define GL_ARB_window_pos 1
4934 typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
4935 typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
4936 typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
4937 typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
4938 typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
4939 typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
4940 typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
4941 typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
4942 typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
4943 typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
4944 typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
4945 typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
4946 typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
4947 typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
4948 typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
4949 typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
4950 #ifdef GL_GLEXT_PROTOTYPES
4951 GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
4952 GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
4953 GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
4954 GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
4955 GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
4956 GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
4957 GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
4958 GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
4959 GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
4960 GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
4961 GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
4962 GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
4963 GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
4964 GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
4965 GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
4966 GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
4967 #endif
4968 #endif /* GL_ARB_window_pos */
4969 
4970 #ifndef GL_KHR_blend_equation_advanced
4971 #define GL_KHR_blend_equation_advanced 1
4972 #define GL_MULTIPLY_KHR                   0x9294
4973 #define GL_SCREEN_KHR                     0x9295
4974 #define GL_OVERLAY_KHR                    0x9296
4975 #define GL_DARKEN_KHR                     0x9297
4976 #define GL_LIGHTEN_KHR                    0x9298
4977 #define GL_COLORDODGE_KHR                 0x9299
4978 #define GL_COLORBURN_KHR                  0x929A
4979 #define GL_HARDLIGHT_KHR                  0x929B
4980 #define GL_SOFTLIGHT_KHR                  0x929C
4981 #define GL_DIFFERENCE_KHR                 0x929E
4982 #define GL_EXCLUSION_KHR                  0x92A0
4983 #define GL_HSL_HUE_KHR                    0x92AD
4984 #define GL_HSL_SATURATION_KHR             0x92AE
4985 #define GL_HSL_COLOR_KHR                  0x92AF
4986 #define GL_HSL_LUMINOSITY_KHR             0x92B0
4987 typedef void (APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void);
4988 #ifdef GL_GLEXT_PROTOTYPES
4989 GLAPI void APIENTRY glBlendBarrierKHR (void);
4990 #endif
4991 #endif /* GL_KHR_blend_equation_advanced */
4992 
4993 #ifndef GL_KHR_blend_equation_advanced_coherent
4994 #define GL_KHR_blend_equation_advanced_coherent 1
4995 #define GL_BLEND_ADVANCED_COHERENT_KHR    0x9285
4996 #endif /* GL_KHR_blend_equation_advanced_coherent */
4997 
4998 #ifndef GL_KHR_context_flush_control
4999 #define GL_KHR_context_flush_control 1
5000 #endif /* GL_KHR_context_flush_control */
5001 
5002 #ifndef GL_KHR_debug
5003 #define GL_KHR_debug 1
5004 #endif /* GL_KHR_debug */
5005 
5006 #ifndef GL_KHR_no_error
5007 #define GL_KHR_no_error 1
5008 #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR  0x00000008
5009 #endif /* GL_KHR_no_error */
5010 
5011 #ifndef GL_KHR_parallel_shader_compile
5012 #define GL_KHR_parallel_shader_compile 1
5013 #define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0
5014 #define GL_COMPLETION_STATUS_KHR          0x91B1
5015 typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count);
5016 #ifdef GL_GLEXT_PROTOTYPES
5017 GLAPI void APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count);
5018 #endif
5019 #endif /* GL_KHR_parallel_shader_compile */
5020 
5021 #ifndef GL_KHR_robust_buffer_access_behavior
5022 #define GL_KHR_robust_buffer_access_behavior 1
5023 #endif /* GL_KHR_robust_buffer_access_behavior */
5024 
5025 #ifndef GL_KHR_robustness
5026 #define GL_KHR_robustness 1
5027 #define GL_CONTEXT_ROBUST_ACCESS          0x90F3
5028 #endif /* GL_KHR_robustness */
5029 
5030 #ifndef GL_KHR_texture_compression_astc_hdr
5031 #define GL_KHR_texture_compression_astc_hdr 1
5032 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR   0x93B0
5033 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR   0x93B1
5034 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR   0x93B2
5035 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR   0x93B3
5036 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR   0x93B4
5037 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR   0x93B5
5038 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR   0x93B6
5039 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR   0x93B7
5040 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR  0x93B8
5041 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR  0x93B9
5042 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR  0x93BA
5043 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
5044 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
5045 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
5046 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
5047 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
5048 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
5049 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
5050 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
5051 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
5052 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
5053 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
5054 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
5055 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
5056 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
5057 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
5058 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
5059 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
5060 #endif /* GL_KHR_texture_compression_astc_hdr */
5061 
5062 #ifndef GL_KHR_texture_compression_astc_ldr
5063 #define GL_KHR_texture_compression_astc_ldr 1
5064 #endif /* GL_KHR_texture_compression_astc_ldr */
5065 
5066 #ifndef GL_KHR_texture_compression_astc_sliced_3d
5067 #define GL_KHR_texture_compression_astc_sliced_3d 1
5068 #endif /* GL_KHR_texture_compression_astc_sliced_3d */
5069 
5070 #ifndef GL_OES_byte_coordinates
5071 #define GL_OES_byte_coordinates 1
5072 typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
5073 typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords);
5074 typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t);
5075 typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords);
5076 typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
5077 typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords);
5078 typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
5079 typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords);
5080 typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s);
5081 typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords);
5082 typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t);
5083 typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords);
5084 typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r);
5085 typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
5086 typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
5087 typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
5088 typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x, GLbyte y);
5089 typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
5090 typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
5091 typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
5092 typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
5093 typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
5094 #ifdef GL_GLEXT_PROTOTYPES
5095 GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
5096 GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords);
5097 GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t);
5098 GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords);
5099 GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
5100 GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords);
5101 GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
5102 GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords);
5103 GLAPI void APIENTRY glTexCoord1bOES (GLbyte s);
5104 GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords);
5105 GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t);
5106 GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords);
5107 GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r);
5108 GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
5109 GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
5110 GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
5111 GLAPI void APIENTRY glVertex2bOES (GLbyte x, GLbyte y);
5112 GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
5113 GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y, GLbyte z);
5114 GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
5115 GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
5116 GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
5117 #endif
5118 #endif /* GL_OES_byte_coordinates */
5119 
5120 #ifndef GL_OES_compressed_paletted_texture
5121 #define GL_OES_compressed_paletted_texture 1
5122 #define GL_PALETTE4_RGB8_OES              0x8B90
5123 #define GL_PALETTE4_RGBA8_OES             0x8B91
5124 #define GL_PALETTE4_R5_G6_B5_OES          0x8B92
5125 #define GL_PALETTE4_RGBA4_OES             0x8B93
5126 #define GL_PALETTE4_RGB5_A1_OES           0x8B94
5127 #define GL_PALETTE8_RGB8_OES              0x8B95
5128 #define GL_PALETTE8_RGBA8_OES             0x8B96
5129 #define GL_PALETTE8_R5_G6_B5_OES          0x8B97
5130 #define GL_PALETTE8_RGBA4_OES             0x8B98
5131 #define GL_PALETTE8_RGB5_A1_OES           0x8B99
5132 #endif /* GL_OES_compressed_paletted_texture */
5133 
5134 #ifndef GL_OES_fixed_point
5135 #define GL_OES_fixed_point 1
5136 typedef khronos_int32_t GLfixed;
5137 #define GL_FIXED_OES                      0x140C
5138 typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
5139 typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5140 typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth);
5141 typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
5142 typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5143 typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f);
5144 typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
5145 typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param);
5146 typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
5147 typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
5148 typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
5149 typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
5150 typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
5151 typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
5152 typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param);
5153 typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
5154 typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
5155 typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
5156 typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
5157 typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
5158 typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param);
5159 typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
5160 typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
5161 typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
5162 typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
5163 typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
5164 typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
5165 typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
5166 typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
5167 typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
5168 typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
5169 typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
5170 typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
5171 typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
5172 typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
5173 typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value);
5174 typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
5175 typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5176 typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
5177 typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue);
5178 typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components);
5179 typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components);
5180 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
5181 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
5182 typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u);
51