1 /*
   2  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   3  *
   4  * This code is free software; you can redistribute it and/or modify it
   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
 455 #define GL_FLOAT_MAT3                     0x8B5B
 456 #define GL_FLOAT_MAT4                     0x8B5C
 457 #define GL_SAMPLER_1D                     0x8B5D
 458 #define GL_SAMPLER_2D                     0x8B5E
 459 #define GL_SAMPLER_3D                     0x8B5F
 460 #define GL_SAMPLER_CUBE                   0x8B60
 461 #define GL_SAMPLER_1D_SHADOW              0x8B61
 462 #define GL_SAMPLER_2D_SHADOW              0x8B62
 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 
6510 #ifdef __cplusplus
6511 }
6512 #endif
6513 
6514 #endif
--- EOF ---