include/SDL_opengl.h
author Sam Lantinga <slouken@libsdl.org>
Tue, 25 Nov 2008 08:40:52 +0000
changeset 2788 44be910366a9
parent 1978 542c78b6fb12
child 2859 99210400e8b9
permissions -rw-r--r--
Updated with latest glext.h
     1 /*
     2     SDL - Simple DirectMedia Layer
     3     Copyright (C) 1997-2006 Sam Lantinga
     4 
     5     This library is free software; you can redistribute it and/or
     6     modify it under the terms of the GNU Lesser General Public
     7     License as published by the Free Software Foundation; either
     8     version 2.1 of the License, or (at your option) any later version.
     9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Lesser General Public License for more details.
    14 
    15     You should have received a copy of the GNU Lesser General Public
    16     License along with this library; if not, write to the Free Software
    17     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    18 
    19     Sam Lantinga
    20     slouken@libsdl.org
    21 */
    22 
    23 /* This is a simple file to encapsulate the OpenGL API headers */
    24 
    25 #include "SDL_config.h"
    26 
    27 #ifdef __WIN32__
    28 #define WIN32_LEAN_AND_MEAN
    29 #ifndef NOMINMAX
    30 #define NOMINMAX                /* Don't defined min() and max() */
    31 #endif
    32 #include <windows.h>
    33 #endif
    34 #ifndef NO_SDL_GLEXT
    35 #define __glext_h_              /* Don't let gl.h include glext.h */
    36 #endif
    37 #if defined(__MACOSX__)
    38 #include <OpenGL/gl.h>          /* Header File For The OpenGL Library */
    39 #include <OpenGL/glu.h>         /* Header File For The GLU Library */
    40 #else
    41 #include <GL/gl.h>              /* Header File For The OpenGL Library */
    42 #include <GL/glu.h>             /* Header File For The GLU Library */
    43 #endif
    44 #ifndef NO_SDL_GLEXT
    45 #undef __glext_h_
    46 #endif
    47 
    48 /* This file is included because glext.h is not available on some systems.
    49    If you don't want this version included, simply define "NO_SDL_GLEXT"
    50    The latest version is available from:
    51 	http://oss.sgi.com/projects/ogl-sample/registry/
    52  */
    53 #if !defined(NO_SDL_GLEXT) && !defined(GL_GLEXT_LEGACY)
    54 /* *INDENT-OFF* */
    55 #ifndef __glext_h_
    56 #define __glext_h_
    57 
    58 #ifdef __cplusplus
    59 extern "C" {
    60 #endif
    61 
    62 /*
    63 ** Copyright (c) 2007 The Khronos Group Inc.
    64 ** 
    65 ** Permission is hereby granted, free of charge, to any person obtaining a
    66 ** copy of this software and/or associated documentation files (the
    67 ** "Materials"), to deal in the Materials without restriction, including
    68 ** without limitation the rights to use, copy, modify, merge, publish,
    69 ** distribute, sublicense, and/or sell copies of the Materials, and to
    70 ** permit persons to whom the Materials are furnished to do so, subject to
    71 ** the following conditions:
    72 ** 
    73 ** The above copyright notice and this permission notice shall be included
    74 ** in all copies or substantial portions of the Materials.
    75 ** 
    76 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    77 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    78 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    79 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
    80 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
    81 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
    82 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
    83 */
    84 
    85 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
    86 #define WIN32_LEAN_AND_MEAN 1
    87 #include <windows.h>
    88 #endif
    89 
    90 #ifndef APIENTRY
    91 #define APIENTRY
    92 #endif
    93 #ifndef APIENTRYP
    94 #define APIENTRYP APIENTRY *
    95 #endif
    96 #ifndef GLAPI
    97 #define GLAPI extern
    98 #endif
    99 
   100 /*************************************************************/
   101 
   102 /* Header file version number, required by OpenGL ABI for Linux */
   103 /* glext.h last updated 2008/11/14 */
   104 /* Current version at http://www.opengl.org/registry/ */
   105 #define GL_GLEXT_VERSION 44
   106 
   107 #ifndef GL_VERSION_1_2
   108 #define GL_UNSIGNED_BYTE_3_3_2            0x8032
   109 #define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
   110 #define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
   111 #define GL_UNSIGNED_INT_8_8_8_8           0x8035
   112 #define GL_UNSIGNED_INT_10_10_10_2        0x8036
   113 #define GL_RESCALE_NORMAL                 0x803A
   114 #define GL_TEXTURE_BINDING_3D             0x806A
   115 #define GL_PACK_SKIP_IMAGES               0x806B
   116 #define GL_PACK_IMAGE_HEIGHT              0x806C
   117 #define GL_UNPACK_SKIP_IMAGES             0x806D
   118 #define GL_UNPACK_IMAGE_HEIGHT            0x806E
   119 #define GL_TEXTURE_3D                     0x806F
   120 #define GL_PROXY_TEXTURE_3D               0x8070
   121 #define GL_TEXTURE_DEPTH                  0x8071
   122 #define GL_TEXTURE_WRAP_R                 0x8072
   123 #define GL_MAX_3D_TEXTURE_SIZE            0x8073
   124 #define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
   125 #define GL_UNSIGNED_SHORT_5_6_5           0x8363
   126 #define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
   127 #define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
   128 #define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
   129 #define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
   130 #define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
   131 #define GL_BGR                            0x80E0
   132 #define GL_BGRA                           0x80E1
   133 #define GL_MAX_ELEMENTS_VERTICES          0x80E8
   134 #define GL_MAX_ELEMENTS_INDICES           0x80E9
   135 #define GL_CLAMP_TO_EDGE                  0x812F
   136 #define GL_TEXTURE_MIN_LOD                0x813A
   137 #define GL_TEXTURE_MAX_LOD                0x813B
   138 #define GL_TEXTURE_BASE_LEVEL             0x813C
   139 #define GL_TEXTURE_MAX_LEVEL              0x813D
   140 #define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
   141 #define GL_SINGLE_COLOR                   0x81F9
   142 #define GL_SEPARATE_SPECULAR_COLOR        0x81FA
   143 #define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
   144 #define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
   145 #define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
   146 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
   147 #define GL_ALIASED_POINT_SIZE_RANGE       0x846D
   148 #define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
   149 #endif
   150 
   151 #ifndef GL_ARB_imaging
   152 #define GL_CONSTANT_COLOR                 0x8001
   153 #define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
   154 #define GL_CONSTANT_ALPHA                 0x8003
   155 #define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
   156 #define GL_BLEND_COLOR                    0x8005
   157 #define GL_FUNC_ADD                       0x8006
   158 #define GL_MIN                            0x8007
   159 #define GL_MAX                            0x8008
   160 #define GL_BLEND_EQUATION                 0x8009
   161 #define GL_FUNC_SUBTRACT                  0x800A
   162 #define GL_FUNC_REVERSE_SUBTRACT          0x800B
   163 #define GL_CONVOLUTION_1D                 0x8010
   164 #define GL_CONVOLUTION_2D                 0x8011
   165 #define GL_SEPARABLE_2D                   0x8012
   166 #define GL_CONVOLUTION_BORDER_MODE        0x8013
   167 #define GL_CONVOLUTION_FILTER_SCALE       0x8014
   168 #define GL_CONVOLUTION_FILTER_BIAS        0x8015
   169 #define GL_REDUCE                         0x8016
   170 #define GL_CONVOLUTION_FORMAT             0x8017
   171 #define GL_CONVOLUTION_WIDTH              0x8018
   172 #define GL_CONVOLUTION_HEIGHT             0x8019
   173 #define GL_MAX_CONVOLUTION_WIDTH          0x801A
   174 #define GL_MAX_CONVOLUTION_HEIGHT         0x801B
   175 #define GL_POST_CONVOLUTION_RED_SCALE     0x801C
   176 #define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
   177 #define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
   178 #define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
   179 #define GL_POST_CONVOLUTION_RED_BIAS      0x8020
   180 #define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
   181 #define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
   182 #define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
   183 #define GL_HISTOGRAM                      0x8024
   184 #define GL_PROXY_HISTOGRAM                0x8025
   185 #define GL_HISTOGRAM_WIDTH                0x8026
   186 #define GL_HISTOGRAM_FORMAT               0x8027
   187 #define GL_HISTOGRAM_RED_SIZE             0x8028
   188 #define GL_HISTOGRAM_GREEN_SIZE           0x8029
   189 #define GL_HISTOGRAM_BLUE_SIZE            0x802A
   190 #define GL_HISTOGRAM_ALPHA_SIZE           0x802B
   191 #define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
   192 #define GL_HISTOGRAM_SINK                 0x802D
   193 #define GL_MINMAX                         0x802E
   194 #define GL_MINMAX_FORMAT                  0x802F
   195 #define GL_MINMAX_SINK                    0x8030
   196 #define GL_TABLE_TOO_LARGE                0x8031
   197 #define GL_COLOR_MATRIX                   0x80B1
   198 #define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
   199 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
   200 #define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
   201 #define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
   202 #define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
   203 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
   204 #define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
   205 #define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
   206 #define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
   207 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
   208 #define GL_COLOR_TABLE                    0x80D0
   209 #define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
   210 #define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
   211 #define GL_PROXY_COLOR_TABLE              0x80D3
   212 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
   213 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
   214 #define GL_COLOR_TABLE_SCALE              0x80D6
   215 #define GL_COLOR_TABLE_BIAS               0x80D7
   216 #define GL_COLOR_TABLE_FORMAT             0x80D8
   217 #define GL_COLOR_TABLE_WIDTH              0x80D9
   218 #define GL_COLOR_TABLE_RED_SIZE           0x80DA
   219 #define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
   220 #define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
   221 #define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
   222 #define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
   223 #define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
   224 #define GL_CONSTANT_BORDER                0x8151
   225 #define GL_REPLICATE_BORDER               0x8153
   226 #define GL_CONVOLUTION_BORDER_COLOR       0x8154
   227 #endif
   228 
   229 #ifndef GL_VERSION_1_3
   230 #define GL_TEXTURE0                       0x84C0
   231 #define GL_TEXTURE1                       0x84C1
   232 #define GL_TEXTURE2                       0x84C2
   233 #define GL_TEXTURE3                       0x84C3
   234 #define GL_TEXTURE4                       0x84C4
   235 #define GL_TEXTURE5                       0x84C5
   236 #define GL_TEXTURE6                       0x84C6
   237 #define GL_TEXTURE7                       0x84C7
   238 #define GL_TEXTURE8                       0x84C8
   239 #define GL_TEXTURE9                       0x84C9
   240 #define GL_TEXTURE10                      0x84CA
   241 #define GL_TEXTURE11                      0x84CB
   242 #define GL_TEXTURE12                      0x84CC
   243 #define GL_TEXTURE13                      0x84CD
   244 #define GL_TEXTURE14                      0x84CE
   245 #define GL_TEXTURE15                      0x84CF
   246 #define GL_TEXTURE16                      0x84D0
   247 #define GL_TEXTURE17                      0x84D1
   248 #define GL_TEXTURE18                      0x84D2
   249 #define GL_TEXTURE19                      0x84D3
   250 #define GL_TEXTURE20                      0x84D4
   251 #define GL_TEXTURE21                      0x84D5
   252 #define GL_TEXTURE22                      0x84D6
   253 #define GL_TEXTURE23                      0x84D7
   254 #define GL_TEXTURE24                      0x84D8
   255 #define GL_TEXTURE25                      0x84D9
   256 #define GL_TEXTURE26                      0x84DA
   257 #define GL_TEXTURE27                      0x84DB
   258 #define GL_TEXTURE28                      0x84DC
   259 #define GL_TEXTURE29                      0x84DD
   260 #define GL_TEXTURE30                      0x84DE
   261 #define GL_TEXTURE31                      0x84DF
   262 #define GL_ACTIVE_TEXTURE                 0x84E0
   263 #define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
   264 #define GL_MAX_TEXTURE_UNITS              0x84E2
   265 #define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
   266 #define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
   267 #define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
   268 #define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
   269 #define GL_MULTISAMPLE                    0x809D
   270 #define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
   271 #define GL_SAMPLE_ALPHA_TO_ONE            0x809F
   272 #define GL_SAMPLE_COVERAGE                0x80A0
   273 #define GL_SAMPLE_BUFFERS                 0x80A8
   274 #define GL_SAMPLES                        0x80A9
   275 #define GL_SAMPLE_COVERAGE_VALUE          0x80AA
   276 #define GL_SAMPLE_COVERAGE_INVERT         0x80AB
   277 #define GL_MULTISAMPLE_BIT                0x20000000
   278 #define GL_NORMAL_MAP                     0x8511
   279 #define GL_REFLECTION_MAP                 0x8512
   280 #define GL_TEXTURE_CUBE_MAP               0x8513
   281 #define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
   282 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
   283 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
   284 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
   285 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
   286 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
   287 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
   288 #define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
   289 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
   290 #define GL_COMPRESSED_ALPHA               0x84E9
   291 #define GL_COMPRESSED_LUMINANCE           0x84EA
   292 #define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
   293 #define GL_COMPRESSED_INTENSITY           0x84EC
   294 #define GL_COMPRESSED_RGB                 0x84ED
   295 #define GL_COMPRESSED_RGBA                0x84EE
   296 #define GL_TEXTURE_COMPRESSION_HINT       0x84EF
   297 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
   298 #define GL_TEXTURE_COMPRESSED             0x86A1
   299 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
   300 #define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
   301 #define GL_CLAMP_TO_BORDER                0x812D
   302 #define GL_COMBINE                        0x8570
   303 #define GL_COMBINE_RGB                    0x8571
   304 #define GL_COMBINE_ALPHA                  0x8572
   305 #define GL_SOURCE0_RGB                    0x8580
   306 #define GL_SOURCE1_RGB                    0x8581
   307 #define GL_SOURCE2_RGB                    0x8582
   308 #define GL_SOURCE0_ALPHA                  0x8588
   309 #define GL_SOURCE1_ALPHA                  0x8589
   310 #define GL_SOURCE2_ALPHA                  0x858A
   311 #define GL_OPERAND0_RGB                   0x8590
   312 #define GL_OPERAND1_RGB                   0x8591
   313 #define GL_OPERAND2_RGB                   0x8592
   314 #define GL_OPERAND0_ALPHA                 0x8598
   315 #define GL_OPERAND1_ALPHA                 0x8599
   316 #define GL_OPERAND2_ALPHA                 0x859A
   317 #define GL_RGB_SCALE                      0x8573
   318 #define GL_ADD_SIGNED                     0x8574
   319 #define GL_INTERPOLATE                    0x8575
   320 #define GL_SUBTRACT                       0x84E7
   321 #define GL_CONSTANT                       0x8576
   322 #define GL_PRIMARY_COLOR                  0x8577
   323 #define GL_PREVIOUS                       0x8578
   324 #define GL_DOT3_RGB                       0x86AE
   325 #define GL_DOT3_RGBA                      0x86AF
   326 #endif
   327 
   328 #ifndef GL_VERSION_1_4
   329 #define GL_BLEND_DST_RGB                  0x80C8
   330 #define GL_BLEND_SRC_RGB                  0x80C9
   331 #define GL_BLEND_DST_ALPHA                0x80CA
   332 #define GL_BLEND_SRC_ALPHA                0x80CB
   333 #define GL_POINT_SIZE_MIN                 0x8126
   334 #define GL_POINT_SIZE_MAX                 0x8127
   335 #define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
   336 #define GL_POINT_DISTANCE_ATTENUATION     0x8129
   337 #define GL_GENERATE_MIPMAP                0x8191
   338 #define GL_GENERATE_MIPMAP_HINT           0x8192
   339 #define GL_DEPTH_COMPONENT16              0x81A5
   340 #define GL_DEPTH_COMPONENT24              0x81A6
   341 #define GL_DEPTH_COMPONENT32              0x81A7
   342 #define GL_MIRRORED_REPEAT                0x8370
   343 #define GL_FOG_COORDINATE_SOURCE          0x8450
   344 #define GL_FOG_COORDINATE                 0x8451
   345 #define GL_FRAGMENT_DEPTH                 0x8452
   346 #define GL_CURRENT_FOG_COORDINATE         0x8453
   347 #define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
   348 #define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
   349 #define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
   350 #define GL_FOG_COORDINATE_ARRAY           0x8457
   351 #define GL_COLOR_SUM                      0x8458
   352 #define GL_CURRENT_SECONDARY_COLOR        0x8459
   353 #define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
   354 #define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
   355 #define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
   356 #define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
   357 #define GL_SECONDARY_COLOR_ARRAY          0x845E
   358 #define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
   359 #define GL_TEXTURE_FILTER_CONTROL         0x8500
   360 #define GL_TEXTURE_LOD_BIAS               0x8501
   361 #define GL_INCR_WRAP                      0x8507
   362 #define GL_DECR_WRAP                      0x8508
   363 #define GL_TEXTURE_DEPTH_SIZE             0x884A
   364 #define GL_DEPTH_TEXTURE_MODE             0x884B
   365 #define GL_TEXTURE_COMPARE_MODE           0x884C
   366 #define GL_TEXTURE_COMPARE_FUNC           0x884D
   367 #define GL_COMPARE_R_TO_TEXTURE           0x884E
   368 #endif
   369 
   370 #ifndef GL_VERSION_1_5
   371 #define GL_BUFFER_SIZE                    0x8764
   372 #define GL_BUFFER_USAGE                   0x8765
   373 #define GL_QUERY_COUNTER_BITS             0x8864
   374 #define GL_CURRENT_QUERY                  0x8865
   375 #define GL_QUERY_RESULT                   0x8866
   376 #define GL_QUERY_RESULT_AVAILABLE         0x8867
   377 #define GL_ARRAY_BUFFER                   0x8892
   378 #define GL_ELEMENT_ARRAY_BUFFER           0x8893
   379 #define GL_ARRAY_BUFFER_BINDING           0x8894
   380 #define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
   381 #define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
   382 #define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
   383 #define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
   384 #define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
   385 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
   386 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
   387 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
   388 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
   389 #define GL_WEIGHT_ARRAY_BUFFER_BINDING    0x889E
   390 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
   391 #define GL_READ_ONLY                      0x88B8
   392 #define GL_WRITE_ONLY                     0x88B9
   393 #define GL_READ_WRITE                     0x88BA
   394 #define GL_BUFFER_ACCESS                  0x88BB
   395 #define GL_BUFFER_MAPPED                  0x88BC
   396 #define GL_BUFFER_MAP_POINTER             0x88BD
   397 #define GL_STREAM_DRAW                    0x88E0
   398 #define GL_STREAM_READ                    0x88E1
   399 #define GL_STREAM_COPY                    0x88E2
   400 #define GL_STATIC_DRAW                    0x88E4
   401 #define GL_STATIC_READ                    0x88E5
   402 #define GL_STATIC_COPY                    0x88E6
   403 #define GL_DYNAMIC_DRAW                   0x88E8
   404 #define GL_DYNAMIC_READ                   0x88E9
   405 #define GL_DYNAMIC_COPY                   0x88EA
   406 #define GL_SAMPLES_PASSED                 0x8914
   407 #define GL_FOG_COORD_SRC                  GL_FOG_COORDINATE_SOURCE
   408 #define GL_FOG_COORD                      GL_FOG_COORDINATE
   409 #define GL_CURRENT_FOG_COORD              GL_CURRENT_FOG_COORDINATE
   410 #define GL_FOG_COORD_ARRAY_TYPE           GL_FOG_COORDINATE_ARRAY_TYPE
   411 #define GL_FOG_COORD_ARRAY_STRIDE         GL_FOG_COORDINATE_ARRAY_STRIDE
   412 #define GL_FOG_COORD_ARRAY_POINTER        GL_FOG_COORDINATE_ARRAY_POINTER
   413 #define GL_FOG_COORD_ARRAY                GL_FOG_COORDINATE_ARRAY
   414 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
   415 #define GL_SRC0_RGB                       GL_SOURCE0_RGB
   416 #define GL_SRC1_RGB                       GL_SOURCE1_RGB
   417 #define GL_SRC2_RGB                       GL_SOURCE2_RGB
   418 #define GL_SRC0_ALPHA                     GL_SOURCE0_ALPHA
   419 #define GL_SRC1_ALPHA                     GL_SOURCE1_ALPHA
   420 #define GL_SRC2_ALPHA                     GL_SOURCE2_ALPHA
   421 #endif
   422 
   423 #ifndef GL_VERSION_2_0
   424 #define GL_BLEND_EQUATION_RGB             GL_BLEND_EQUATION
   425 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
   426 #define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
   427 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
   428 #define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
   429 #define GL_CURRENT_VERTEX_ATTRIB          0x8626
   430 #define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642
   431 #define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
   432 #define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
   433 #define GL_STENCIL_BACK_FUNC              0x8800
   434 #define GL_STENCIL_BACK_FAIL              0x8801
   435 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
   436 #define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
   437 #define GL_MAX_DRAW_BUFFERS               0x8824
   438 #define GL_DRAW_BUFFER0                   0x8825
   439 #define GL_DRAW_BUFFER1                   0x8826
   440 #define GL_DRAW_BUFFER2                   0x8827
   441 #define GL_DRAW_BUFFER3                   0x8828
   442 #define GL_DRAW_BUFFER4                   0x8829
   443 #define GL_DRAW_BUFFER5                   0x882A
   444 #define GL_DRAW_BUFFER6                   0x882B
   445 #define GL_DRAW_BUFFER7                   0x882C
   446 #define GL_DRAW_BUFFER8                   0x882D
   447 #define GL_DRAW_BUFFER9                   0x882E
   448 #define GL_DRAW_BUFFER10                  0x882F
   449 #define GL_DRAW_BUFFER11                  0x8830
   450 #define GL_DRAW_BUFFER12                  0x8831
   451 #define GL_DRAW_BUFFER13                  0x8832
   452 #define GL_DRAW_BUFFER14                  0x8833
   453 #define GL_DRAW_BUFFER15                  0x8834
   454 #define GL_BLEND_EQUATION_ALPHA           0x883D
   455 #define GL_POINT_SPRITE                   0x8861
   456 #define GL_COORD_REPLACE                  0x8862
   457 #define GL_MAX_VERTEX_ATTRIBS             0x8869
   458 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
   459 #define GL_MAX_TEXTURE_COORDS             0x8871
   460 #define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
   461 #define GL_FRAGMENT_SHADER                0x8B30
   462 #define GL_VERTEX_SHADER                  0x8B31
   463 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
   464 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
   465 #define GL_MAX_VARYING_FLOATS             0x8B4B
   466 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
   467 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
   468 #define GL_SHADER_TYPE                    0x8B4F
   469 #define GL_FLOAT_VEC2                     0x8B50
   470 #define GL_FLOAT_VEC3                     0x8B51
   471 #define GL_FLOAT_VEC4                     0x8B52
   472 #define GL_INT_VEC2                       0x8B53
   473 #define GL_INT_VEC3                       0x8B54
   474 #define GL_INT_VEC4                       0x8B55
   475 #define GL_BOOL                           0x8B56
   476 #define GL_BOOL_VEC2                      0x8B57
   477 #define GL_BOOL_VEC3                      0x8B58
   478 #define GL_BOOL_VEC4                      0x8B59
   479 #define GL_FLOAT_MAT2                     0x8B5A
   480 #define GL_FLOAT_MAT3                     0x8B5B
   481 #define GL_FLOAT_MAT4                     0x8B5C
   482 #define GL_SAMPLER_1D                     0x8B5D
   483 #define GL_SAMPLER_2D                     0x8B5E
   484 #define GL_SAMPLER_3D                     0x8B5F
   485 #define GL_SAMPLER_CUBE                   0x8B60
   486 #define GL_SAMPLER_1D_SHADOW              0x8B61
   487 #define GL_SAMPLER_2D_SHADOW              0x8B62
   488 #define GL_DELETE_STATUS                  0x8B80
   489 #define GL_COMPILE_STATUS                 0x8B81
   490 #define GL_LINK_STATUS                    0x8B82
   491 #define GL_VALIDATE_STATUS                0x8B83
   492 #define GL_INFO_LOG_LENGTH                0x8B84
   493 #define GL_ATTACHED_SHADERS               0x8B85
   494 #define GL_ACTIVE_UNIFORMS                0x8B86
   495 #define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
   496 #define GL_SHADER_SOURCE_LENGTH           0x8B88
   497 #define GL_ACTIVE_ATTRIBUTES              0x8B89
   498 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
   499 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
   500 #define GL_SHADING_LANGUAGE_VERSION       0x8B8C
   501 #define GL_CURRENT_PROGRAM                0x8B8D
   502 #define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
   503 #define GL_LOWER_LEFT                     0x8CA1
   504 #define GL_UPPER_LEFT                     0x8CA2
   505 #define GL_STENCIL_BACK_REF               0x8CA3
   506 #define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
   507 #define GL_STENCIL_BACK_WRITEMASK         0x8CA5
   508 #endif
   509 
   510 #ifndef GL_VERSION_2_1
   511 #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
   512 #define GL_PIXEL_PACK_BUFFER              0x88EB
   513 #define GL_PIXEL_UNPACK_BUFFER            0x88EC
   514 #define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
   515 #define GL_PIXEL_UNPACK_BUFFER_BINDING    0x88EF
   516 #define GL_FLOAT_MAT2x3                   0x8B65
   517 #define GL_FLOAT_MAT2x4                   0x8B66
   518 #define GL_FLOAT_MAT3x2                   0x8B67
   519 #define GL_FLOAT_MAT3x4                   0x8B68
   520 #define GL_FLOAT_MAT4x2                   0x8B69
   521 #define GL_FLOAT_MAT4x3                   0x8B6A
   522 #define GL_SRGB                           0x8C40
   523 #define GL_SRGB8                          0x8C41
   524 #define GL_SRGB_ALPHA                     0x8C42
   525 #define GL_SRGB8_ALPHA8                   0x8C43
   526 #define GL_SLUMINANCE_ALPHA               0x8C44
   527 #define GL_SLUMINANCE8_ALPHA8             0x8C45
   528 #define GL_SLUMINANCE                     0x8C46
   529 #define GL_SLUMINANCE8                    0x8C47
   530 #define GL_COMPRESSED_SRGB                0x8C48
   531 #define GL_COMPRESSED_SRGB_ALPHA          0x8C49
   532 #define GL_COMPRESSED_SLUMINANCE          0x8C4A
   533 #define GL_COMPRESSED_SLUMINANCE_ALPHA    0x8C4B
   534 #endif
   535 
   536 #ifndef GL_VERSION_3_0
   537 #define GL_COMPARE_REF_TO_TEXTURE         GL_COMPARE_R_TO_TEXTURE_ARB
   538 #define GL_CLIP_DISTANCE0                 GL_CLIP_PLANE0
   539 #define GL_CLIP_DISTANCE1                 GL_CLIP_PLANE1
   540 #define GL_CLIP_DISTANCE2                 GL_CLIP_PLANE2
   541 #define GL_CLIP_DISTANCE3                 GL_CLIP_PLANE3
   542 #define GL_CLIP_DISTANCE4                 GL_CLIP_PLANE4
   543 #define GL_CLIP_DISTANCE5                 GL_CLIP_PLANE5
   544 #define GL_MAX_CLIP_DISTANCES             GL_MAX_CLIP_PLANES
   545 #define GL_MAJOR_VERSION                  0x821B
   546 #define GL_MINOR_VERSION                  0x821C
   547 #define GL_NUM_EXTENSIONS                 0x821D
   548 #define GL_CONTEXT_FLAGS                  0x821E
   549 #define GL_DEPTH_BUFFER                   0x8223
   550 #define GL_STENCIL_BUFFER                 0x8224
   551 #define GL_COMPRESSED_RED                 0x8225
   552 #define GL_COMPRESSED_RG                  0x8226
   553 #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
   554 #define GL_RGBA32F                        0x8814
   555 #define GL_RGB32F                         0x8815
   556 #define GL_RGBA16F                        0x881A
   557 #define GL_RGB16F                         0x881B
   558 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER    0x88FD
   559 #define GL_MAX_ARRAY_TEXTURE_LAYERS       0x88FF
   560 #define GL_MIN_PROGRAM_TEXEL_OFFSET       0x8904
   561 #define GL_MAX_PROGRAM_TEXEL_OFFSET       0x8905
   562 #define GL_CLAMP_VERTEX_COLOR             0x891A
   563 #define GL_CLAMP_FRAGMENT_COLOR           0x891B
   564 #define GL_CLAMP_READ_COLOR               0x891C
   565 #define GL_FIXED_ONLY                     0x891D
   566 #define GL_MAX_VARYING_COMPONENTS         GL_MAX_VARYING_FLOATS
   567 #define GL_TEXTURE_RED_TYPE               0x8C10
   568 #define GL_TEXTURE_GREEN_TYPE             0x8C11
   569 #define GL_TEXTURE_BLUE_TYPE              0x8C12
   570 #define GL_TEXTURE_ALPHA_TYPE             0x8C13
   571 #define GL_TEXTURE_LUMINANCE_TYPE         0x8C14
   572 #define GL_TEXTURE_INTENSITY_TYPE         0x8C15
   573 #define GL_TEXTURE_DEPTH_TYPE             0x8C16
   574 #define GL_UNSIGNED_NORMALIZED            0x8C17
   575 #define GL_TEXTURE_1D_ARRAY               0x8C18
   576 #define GL_PROXY_TEXTURE_1D_ARRAY         0x8C19
   577 #define GL_TEXTURE_2D_ARRAY               0x8C1A
   578 #define GL_PROXY_TEXTURE_2D_ARRAY         0x8C1B
   579 #define GL_TEXTURE_BINDING_1D_ARRAY       0x8C1C
   580 #define GL_TEXTURE_BINDING_2D_ARRAY       0x8C1D
   581 #define GL_R11F_G11F_B10F                 0x8C3A
   582 #define GL_UNSIGNED_INT_10F_11F_11F_REV   0x8C3B
   583 #define GL_RGB9_E5                        0x8C3D
   584 #define GL_UNSIGNED_INT_5_9_9_9_REV       0x8C3E
   585 #define GL_TEXTURE_SHARED_SIZE            0x8C3F
   586 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
   587 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
   588 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
   589 #define GL_TRANSFORM_FEEDBACK_VARYINGS    0x8C83
   590 #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
   591 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
   592 #define GL_PRIMITIVES_GENERATED           0x8C87
   593 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
   594 #define GL_RASTERIZER_DISCARD             0x8C89
   595 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
   596 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
   597 #define GL_INTERLEAVED_ATTRIBS            0x8C8C
   598 #define GL_SEPARATE_ATTRIBS               0x8C8D
   599 #define GL_TRANSFORM_FEEDBACK_BUFFER      0x8C8E
   600 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
   601 #define GL_RGBA32UI                       0x8D70
   602 #define GL_RGB32UI                        0x8D71
   603 #define GL_RGBA16UI                       0x8D76
   604 #define GL_RGB16UI                        0x8D77
   605 #define GL_RGBA8UI                        0x8D7C
   606 #define GL_RGB8UI                         0x8D7D
   607 #define GL_RGBA32I                        0x8D82
   608 #define GL_RGB32I                         0x8D83
   609 #define GL_RGBA16I                        0x8D88
   610 #define GL_RGB16I                         0x8D89
   611 #define GL_RGBA8I                         0x8D8E
   612 #define GL_RGB8I                          0x8D8F
   613 #define GL_RED_INTEGER                    0x8D94
   614 #define GL_GREEN_INTEGER                  0x8D95
   615 #define GL_BLUE_INTEGER                   0x8D96
   616 #define GL_ALPHA_INTEGER                  0x8D97
   617 #define GL_RGB_INTEGER                    0x8D98
   618 #define GL_RGBA_INTEGER                   0x8D99
   619 #define GL_BGR_INTEGER                    0x8D9A
   620 #define GL_BGRA_INTEGER                   0x8D9B
   621 #define GL_SAMPLER_1D_ARRAY               0x8DC0
   622 #define GL_SAMPLER_2D_ARRAY               0x8DC1
   623 #define GL_SAMPLER_1D_ARRAY_SHADOW        0x8DC3
   624 #define GL_SAMPLER_2D_ARRAY_SHADOW        0x8DC4
   625 #define GL_SAMPLER_CUBE_SHADOW            0x8DC5
   626 #define GL_UNSIGNED_INT_VEC2              0x8DC6
   627 #define GL_UNSIGNED_INT_VEC3              0x8DC7
   628 #define GL_UNSIGNED_INT_VEC4              0x8DC8
   629 #define GL_INT_SAMPLER_1D                 0x8DC9
   630 #define GL_INT_SAMPLER_2D                 0x8DCA
   631 #define GL_INT_SAMPLER_3D                 0x8DCB
   632 #define GL_INT_SAMPLER_CUBE               0x8DCC
   633 #define GL_INT_SAMPLER_1D_ARRAY           0x8DCE
   634 #define GL_INT_SAMPLER_2D_ARRAY           0x8DCF
   635 #define GL_UNSIGNED_INT_SAMPLER_1D        0x8DD1
   636 #define GL_UNSIGNED_INT_SAMPLER_2D        0x8DD2
   637 #define GL_UNSIGNED_INT_SAMPLER_3D        0x8DD3
   638 #define GL_UNSIGNED_INT_SAMPLER_CUBE      0x8DD4
   639 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY  0x8DD6
   640 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY  0x8DD7
   641 #define GL_QUERY_WAIT                     0x8E13
   642 #define GL_QUERY_NO_WAIT                  0x8E14
   643 #define GL_QUERY_BY_REGION_WAIT           0x8E15
   644 #define GL_QUERY_BY_REGION_NO_WAIT        0x8E16
   645 /* Reuse tokens from ARB_depth_buffer_float */
   646 /* reuse GL_DEPTH_COMPONENT32F */
   647 /* reuse GL_DEPTH32F_STENCIL8 */
   648 /* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */
   649 /* Reuse tokens from ARB_framebuffer_object */
   650 /* reuse GL_INVALID_FRAMEBUFFER_OPERATION */
   651 /* reuse GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
   652 /* reuse GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
   653 /* reuse GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
   654 /* reuse GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
   655 /* reuse GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
   656 /* reuse GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
   657 /* reuse GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
   658 /* reuse GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
   659 /* reuse GL_FRAMEBUFFER_DEFAULT */
   660 /* reuse GL_FRAMEBUFFER_UNDEFINED */
   661 /* reuse GL_DEPTH_STENCIL_ATTACHMENT */
   662 /* reuse GL_INDEX */
   663 /* reuse GL_MAX_RENDERBUFFER_SIZE */
   664 /* reuse GL_DEPTH_STENCIL */
   665 /* reuse GL_UNSIGNED_INT_24_8 */
   666 /* reuse GL_DEPTH24_STENCIL8 */
   667 /* reuse GL_TEXTURE_STENCIL_SIZE */
   668 /* reuse GL_TEXTURE_RED_TYPE */
   669 /* reuse GL_TEXTURE_GREEN_TYPE */
   670 /* reuse GL_TEXTURE_BLUE_TYPE */
   671 /* reuse GL_TEXTURE_ALPHA_TYPE */
   672 /* reuse GL_TEXTURE_LUMINANCE_TYPE */
   673 /* reuse GL_TEXTURE_INTENSITY_TYPE */
   674 /* reuse GL_TEXTURE_DEPTH_TYPE */
   675 /* reuse GL_UNSIGNED_NORMALIZED */
   676 /* reuse GL_FRAMEBUFFER_BINDING */
   677 /* reuse GL_DRAW_FRAMEBUFFER_BINDING */
   678 /* reuse GL_RENDERBUFFER_BINDING */
   679 /* reuse GL_READ_FRAMEBUFFER */
   680 /* reuse GL_DRAW_FRAMEBUFFER */
   681 /* reuse GL_READ_FRAMEBUFFER_BINDING */
   682 /* reuse GL_RENDERBUFFER_SAMPLES */
   683 /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
   684 /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
   685 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
   686 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
   687 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
   688 /* reuse GL_FRAMEBUFFER_COMPLETE */
   689 /* reuse GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
   690 /* reuse GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
   691 /* reuse GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */
   692 /* reuse GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */
   693 /* reuse GL_FRAMEBUFFER_UNSUPPORTED */
   694 /* reuse GL_MAX_COLOR_ATTACHMENTS */
   695 /* reuse GL_COLOR_ATTACHMENT0 */
   696 /* reuse GL_COLOR_ATTACHMENT1 */
   697 /* reuse GL_COLOR_ATTACHMENT2 */
   698 /* reuse GL_COLOR_ATTACHMENT3 */
   699 /* reuse GL_COLOR_ATTACHMENT4 */
   700 /* reuse GL_COLOR_ATTACHMENT5 */
   701 /* reuse GL_COLOR_ATTACHMENT6 */
   702 /* reuse GL_COLOR_ATTACHMENT7 */
   703 /* reuse GL_COLOR_ATTACHMENT8 */
   704 /* reuse GL_COLOR_ATTACHMENT9 */
   705 /* reuse GL_COLOR_ATTACHMENT10 */
   706 /* reuse GL_COLOR_ATTACHMENT11 */
   707 /* reuse GL_COLOR_ATTACHMENT12 */
   708 /* reuse GL_COLOR_ATTACHMENT13 */
   709 /* reuse GL_COLOR_ATTACHMENT14 */
   710 /* reuse GL_COLOR_ATTACHMENT15 */
   711 /* reuse GL_DEPTH_ATTACHMENT */
   712 /* reuse GL_STENCIL_ATTACHMENT */
   713 /* reuse GL_FRAMEBUFFER */
   714 /* reuse GL_RENDERBUFFER */
   715 /* reuse GL_RENDERBUFFER_WIDTH */
   716 /* reuse GL_RENDERBUFFER_HEIGHT */
   717 /* reuse GL_RENDERBUFFER_INTERNAL_FORMAT */
   718 /* reuse GL_STENCIL_INDEX1 */
   719 /* reuse GL_STENCIL_INDEX4 */
   720 /* reuse GL_STENCIL_INDEX8 */
   721 /* reuse GL_STENCIL_INDEX16 */
   722 /* reuse GL_RENDERBUFFER_RED_SIZE */
   723 /* reuse GL_RENDERBUFFER_GREEN_SIZE */
   724 /* reuse GL_RENDERBUFFER_BLUE_SIZE */
   725 /* reuse GL_RENDERBUFFER_ALPHA_SIZE */
   726 /* reuse GL_RENDERBUFFER_DEPTH_SIZE */
   727 /* reuse GL_RENDERBUFFER_STENCIL_SIZE */
   728 /* reuse GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
   729 /* reuse GL_MAX_SAMPLES */
   730 /* Reuse tokens from ARB_framebuffer_sRGB */
   731 /* reuse GL_FRAMEBUFFER_SRGB */
   732 /* Reuse tokens from ARB_half_float_vertex */
   733 /* reuse GL_HALF_FLOAT */
   734 /* Reuse tokens from ARB_map_buffer_range */
   735 /* reuse GL_MAP_READ_BIT */
   736 /* reuse GL_MAP_WRITE_BIT */
   737 /* reuse GL_MAP_INVALIDATE_RANGE_BIT */
   738 /* reuse GL_MAP_INVALIDATE_BUFFER_BIT */
   739 /* reuse GL_MAP_FLUSH_EXPLICIT_BIT */
   740 /* reuse GL_MAP_UNSYNCHRONIZED_BIT */
   741 /* Reuse tokens from ARB_texture_compression_rgtc */
   742 /* reuse GL_COMPRESSED_RED_RGTC1 */
   743 /* reuse GL_COMPRESSED_SIGNED_RED_RGTC1 */
   744 /* reuse GL_COMPRESSED_RG_RGTC2 */
   745 /* reuse GL_COMPRESSED_SIGNED_RG_RGTC2 */
   746 /* Reuse tokens from ARB_texture_rg */
   747 /* reuse GL_RG */
   748 /* reuse GL_RG_INTEGER */
   749 /* reuse GL_R8 */
   750 /* reuse GL_R16 */
   751 /* reuse GL_RG8 */
   752 /* reuse GL_RG16 */
   753 /* reuse GL_R16F */
   754 /* reuse GL_R32F */
   755 /* reuse GL_RG16F */
   756 /* reuse GL_RG32F */
   757 /* reuse GL_R8I */
   758 /* reuse GL_R8UI */
   759 /* reuse GL_R16I */
   760 /* reuse GL_R16UI */
   761 /* reuse GL_R32I */
   762 /* reuse GL_R32UI */
   763 /* reuse GL_RG8I */
   764 /* reuse GL_RG8UI */
   765 /* reuse GL_RG16I */
   766 /* reuse GL_RG16UI */
   767 /* reuse GL_RG32I */
   768 /* reuse GL_RG32UI */
   769 /* Reuse tokens from ARB_vertex_array_object */
   770 /* reuse GL_VERTEX_ARRAY_BINDING */
   771 #endif
   772 
   773 #ifndef GL_ARB_multitexture
   774 #define GL_TEXTURE0_ARB                   0x84C0
   775 #define GL_TEXTURE1_ARB                   0x84C1
   776 #define GL_TEXTURE2_ARB                   0x84C2
   777 #define GL_TEXTURE3_ARB                   0x84C3
   778 #define GL_TEXTURE4_ARB                   0x84C4
   779 #define GL_TEXTURE5_ARB                   0x84C5
   780 #define GL_TEXTURE6_ARB                   0x84C6
   781 #define GL_TEXTURE7_ARB                   0x84C7
   782 #define GL_TEXTURE8_ARB                   0x84C8
   783 #define GL_TEXTURE9_ARB                   0x84C9
   784 #define GL_TEXTURE10_ARB                  0x84CA
   785 #define GL_TEXTURE11_ARB                  0x84CB
   786 #define GL_TEXTURE12_ARB                  0x84CC
   787 #define GL_TEXTURE13_ARB                  0x84CD
   788 #define GL_TEXTURE14_ARB                  0x84CE
   789 #define GL_TEXTURE15_ARB                  0x84CF
   790 #define GL_TEXTURE16_ARB                  0x84D0
   791 #define GL_TEXTURE17_ARB                  0x84D1
   792 #define GL_TEXTURE18_ARB                  0x84D2
   793 #define GL_TEXTURE19_ARB                  0x84D3
   794 #define GL_TEXTURE20_ARB                  0x84D4
   795 #define GL_TEXTURE21_ARB                  0x84D5
   796 #define GL_TEXTURE22_ARB                  0x84D6
   797 #define GL_TEXTURE23_ARB                  0x84D7
   798 #define GL_TEXTURE24_ARB                  0x84D8
   799 #define GL_TEXTURE25_ARB                  0x84D9
   800 #define GL_TEXTURE26_ARB                  0x84DA
   801 #define GL_TEXTURE27_ARB                  0x84DB
   802 #define GL_TEXTURE28_ARB                  0x84DC
   803 #define GL_TEXTURE29_ARB                  0x84DD
   804 #define GL_TEXTURE30_ARB                  0x84DE
   805 #define GL_TEXTURE31_ARB                  0x84DF
   806 #define GL_ACTIVE_TEXTURE_ARB             0x84E0
   807 #define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
   808 #define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
   809 #endif
   810 
   811 #ifndef GL_ARB_transpose_matrix
   812 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
   813 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
   814 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
   815 #define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
   816 #endif
   817 
   818 #ifndef GL_ARB_multisample
   819 #define GL_MULTISAMPLE_ARB                0x809D
   820 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
   821 #define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
   822 #define GL_SAMPLE_COVERAGE_ARB            0x80A0
   823 #define GL_SAMPLE_BUFFERS_ARB             0x80A8
   824 #define GL_SAMPLES_ARB                    0x80A9
   825 #define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
   826 #define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
   827 #define GL_MULTISAMPLE_BIT_ARB            0x20000000
   828 #endif
   829 
   830 #ifndef GL_ARB_texture_env_add
   831 #endif
   832 
   833 #ifndef GL_ARB_texture_cube_map
   834 #define GL_NORMAL_MAP_ARB                 0x8511
   835 #define GL_REFLECTION_MAP_ARB             0x8512
   836 #define GL_TEXTURE_CUBE_MAP_ARB           0x8513
   837 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
   838 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
   839 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
   840 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
   841 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
   842 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
   843 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
   844 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
   845 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
   846 #endif
   847 
   848 #ifndef GL_ARB_texture_compression
   849 #define GL_COMPRESSED_ALPHA_ARB           0x84E9
   850 #define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
   851 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
   852 #define GL_COMPRESSED_INTENSITY_ARB       0x84EC
   853 #define GL_COMPRESSED_RGB_ARB             0x84ED
   854 #define GL_COMPRESSED_RGBA_ARB            0x84EE
   855 #define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
   856 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
   857 #define GL_TEXTURE_COMPRESSED_ARB         0x86A1
   858 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
   859 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
   860 #endif
   861 
   862 #ifndef GL_ARB_texture_border_clamp
   863 #define GL_CLAMP_TO_BORDER_ARB            0x812D
   864 #endif
   865 
   866 #ifndef GL_ARB_point_parameters
   867 #define GL_POINT_SIZE_MIN_ARB             0x8126
   868 #define GL_POINT_SIZE_MAX_ARB             0x8127
   869 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB  0x8128
   870 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
   871 #endif
   872 
   873 #ifndef GL_ARB_vertex_blend
   874 #define GL_MAX_VERTEX_UNITS_ARB           0x86A4
   875 #define GL_ACTIVE_VERTEX_UNITS_ARB        0x86A5
   876 #define GL_WEIGHT_SUM_UNITY_ARB           0x86A6
   877 #define GL_VERTEX_BLEND_ARB               0x86A7
   878 #define GL_CURRENT_WEIGHT_ARB             0x86A8
   879 #define GL_WEIGHT_ARRAY_TYPE_ARB          0x86A9
   880 #define GL_WEIGHT_ARRAY_STRIDE_ARB        0x86AA
   881 #define GL_WEIGHT_ARRAY_SIZE_ARB          0x86AB
   882 #define GL_WEIGHT_ARRAY_POINTER_ARB       0x86AC
   883 #define GL_WEIGHT_ARRAY_ARB               0x86AD
   884 #define GL_MODELVIEW0_ARB                 0x1700
   885 #define GL_MODELVIEW1_ARB                 0x850A
   886 #define GL_MODELVIEW2_ARB                 0x8722
   887 #define GL_MODELVIEW3_ARB                 0x8723
   888 #define GL_MODELVIEW4_ARB                 0x8724
   889 #define GL_MODELVIEW5_ARB                 0x8725
   890 #define GL_MODELVIEW6_ARB                 0x8726
   891 #define GL_MODELVIEW7_ARB                 0x8727
   892 #define GL_MODELVIEW8_ARB                 0x8728
   893 #define GL_MODELVIEW9_ARB                 0x8729
   894 #define GL_MODELVIEW10_ARB                0x872A
   895 #define GL_MODELVIEW11_ARB                0x872B
   896 #define GL_MODELVIEW12_ARB                0x872C
   897 #define GL_MODELVIEW13_ARB                0x872D
   898 #define GL_MODELVIEW14_ARB                0x872E
   899 #define GL_MODELVIEW15_ARB                0x872F
   900 #define GL_MODELVIEW16_ARB                0x8730
   901 #define GL_MODELVIEW17_ARB                0x8731
   902 #define GL_MODELVIEW18_ARB                0x8732
   903 #define GL_MODELVIEW19_ARB                0x8733
   904 #define GL_MODELVIEW20_ARB                0x8734
   905 #define GL_MODELVIEW21_ARB                0x8735
   906 #define GL_MODELVIEW22_ARB                0x8736
   907 #define GL_MODELVIEW23_ARB                0x8737
   908 #define GL_MODELVIEW24_ARB                0x8738
   909 #define GL_MODELVIEW25_ARB                0x8739
   910 #define GL_MODELVIEW26_ARB                0x873A
   911 #define GL_MODELVIEW27_ARB                0x873B
   912 #define GL_MODELVIEW28_ARB                0x873C
   913 #define GL_MODELVIEW29_ARB                0x873D
   914 #define GL_MODELVIEW30_ARB                0x873E
   915 #define GL_MODELVIEW31_ARB                0x873F
   916 #endif
   917 
   918 #ifndef GL_ARB_matrix_palette
   919 #define GL_MATRIX_PALETTE_ARB             0x8840
   920 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
   921 #define GL_MAX_PALETTE_MATRICES_ARB       0x8842
   922 #define GL_CURRENT_PALETTE_MATRIX_ARB     0x8843
   923 #define GL_MATRIX_INDEX_ARRAY_ARB         0x8844
   924 #define GL_CURRENT_MATRIX_INDEX_ARB       0x8845
   925 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB    0x8846
   926 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB    0x8847
   927 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB  0x8848
   928 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
   929 #endif
   930 
   931 #ifndef GL_ARB_texture_env_combine
   932 #define GL_COMBINE_ARB                    0x8570
   933 #define GL_COMBINE_RGB_ARB                0x8571
   934 #define GL_COMBINE_ALPHA_ARB              0x8572
   935 #define GL_SOURCE0_RGB_ARB                0x8580
   936 #define GL_SOURCE1_RGB_ARB                0x8581
   937 #define GL_SOURCE2_RGB_ARB                0x8582
   938 #define GL_SOURCE0_ALPHA_ARB              0x8588
   939 #define GL_SOURCE1_ALPHA_ARB              0x8589
   940 #define GL_SOURCE2_ALPHA_ARB              0x858A
   941 #define GL_OPERAND0_RGB_ARB               0x8590
   942 #define GL_OPERAND1_RGB_ARB               0x8591
   943 #define GL_OPERAND2_RGB_ARB               0x8592
   944 #define GL_OPERAND0_ALPHA_ARB             0x8598
   945 #define GL_OPERAND1_ALPHA_ARB             0x8599
   946 #define GL_OPERAND2_ALPHA_ARB             0x859A
   947 #define GL_RGB_SCALE_ARB                  0x8573
   948 #define GL_ADD_SIGNED_ARB                 0x8574
   949 #define GL_INTERPOLATE_ARB                0x8575
   950 #define GL_SUBTRACT_ARB                   0x84E7
   951 #define GL_CONSTANT_ARB                   0x8576
   952 #define GL_PRIMARY_COLOR_ARB              0x8577
   953 #define GL_PREVIOUS_ARB                   0x8578
   954 #endif
   955 
   956 #ifndef GL_ARB_texture_env_crossbar
   957 #endif
   958 
   959 #ifndef GL_ARB_texture_env_dot3
   960 #define GL_DOT3_RGB_ARB                   0x86AE
   961 #define GL_DOT3_RGBA_ARB                  0x86AF
   962 #endif
   963 
   964 #ifndef GL_ARB_texture_mirrored_repeat
   965 #define GL_MIRRORED_REPEAT_ARB            0x8370
   966 #endif
   967 
   968 #ifndef GL_ARB_depth_texture
   969 #define GL_DEPTH_COMPONENT16_ARB          0x81A5
   970 #define GL_DEPTH_COMPONENT24_ARB          0x81A6
   971 #define GL_DEPTH_COMPONENT32_ARB          0x81A7
   972 #define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
   973 #define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
   974 #endif
   975 
   976 #ifndef GL_ARB_shadow
   977 #define GL_TEXTURE_COMPARE_MODE_ARB       0x884C
   978 #define GL_TEXTURE_COMPARE_FUNC_ARB       0x884D
   979 #define GL_COMPARE_R_TO_TEXTURE_ARB       0x884E
   980 #endif
   981 
   982 #ifndef GL_ARB_shadow_ambient
   983 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
   984 #endif
   985 
   986 #ifndef GL_ARB_window_pos
   987 #endif
   988 
   989 #ifndef GL_ARB_vertex_program
   990 #define GL_COLOR_SUM_ARB                  0x8458
   991 #define GL_VERTEX_PROGRAM_ARB             0x8620
   992 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
   993 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB   0x8623
   994 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
   995 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB   0x8625
   996 #define GL_CURRENT_VERTEX_ATTRIB_ARB      0x8626
   997 #define GL_PROGRAM_LENGTH_ARB             0x8627
   998 #define GL_PROGRAM_STRING_ARB             0x8628
   999 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
  1000 #define GL_MAX_PROGRAM_MATRICES_ARB       0x862F
  1001 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
  1002 #define GL_CURRENT_MATRIX_ARB             0x8641
  1003 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB  0x8642
  1004 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB    0x8643
  1005 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
  1006 #define GL_PROGRAM_ERROR_POSITION_ARB     0x864B
  1007 #define GL_PROGRAM_BINDING_ARB            0x8677
  1008 #define GL_MAX_VERTEX_ATTRIBS_ARB         0x8869
  1009 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
  1010 #define GL_PROGRAM_ERROR_STRING_ARB       0x8874
  1011 #define GL_PROGRAM_FORMAT_ASCII_ARB       0x8875
  1012 #define GL_PROGRAM_FORMAT_ARB             0x8876
  1013 #define GL_PROGRAM_INSTRUCTIONS_ARB       0x88A0
  1014 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB   0x88A1
  1015 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
  1016 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
  1017 #define GL_PROGRAM_TEMPORARIES_ARB        0x88A4
  1018 #define GL_MAX_PROGRAM_TEMPORARIES_ARB    0x88A5
  1019 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
  1020 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
  1021 #define GL_PROGRAM_PARAMETERS_ARB         0x88A8
  1022 #define GL_MAX_PROGRAM_PARAMETERS_ARB     0x88A9
  1023 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB  0x88AA
  1024 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
  1025 #define GL_PROGRAM_ATTRIBS_ARB            0x88AC
  1026 #define GL_MAX_PROGRAM_ATTRIBS_ARB        0x88AD
  1027 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB     0x88AE
  1028 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
  1029 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB  0x88B0
  1030 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
  1031 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
  1032 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
  1033 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
  1034 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
  1035 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
  1036 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB   0x88B7
  1037 #define GL_MATRIX0_ARB                    0x88C0
  1038 #define GL_MATRIX1_ARB                    0x88C1
  1039 #define GL_MATRIX2_ARB                    0x88C2
  1040 #define GL_MATRIX3_ARB                    0x88C3
  1041 #define GL_MATRIX4_ARB                    0x88C4
  1042 #define GL_MATRIX5_ARB                    0x88C5
  1043 #define GL_MATRIX6_ARB                    0x88C6
  1044 #define GL_MATRIX7_ARB                    0x88C7
  1045 #define GL_MATRIX8_ARB                    0x88C8
  1046 #define GL_MATRIX9_ARB                    0x88C9
  1047 #define GL_MATRIX10_ARB                   0x88CA
  1048 #define GL_MATRIX11_ARB                   0x88CB
  1049 #define GL_MATRIX12_ARB                   0x88CC
  1050 #define GL_MATRIX13_ARB                   0x88CD
  1051 #define GL_MATRIX14_ARB                   0x88CE
  1052 #define GL_MATRIX15_ARB                   0x88CF
  1053 #define GL_MATRIX16_ARB                   0x88D0
  1054 #define GL_MATRIX17_ARB                   0x88D1
  1055 #define GL_MATRIX18_ARB                   0x88D2
  1056 #define GL_MATRIX19_ARB                   0x88D3
  1057 #define GL_MATRIX20_ARB                   0x88D4
  1058 #define GL_MATRIX21_ARB                   0x88D5
  1059 #define GL_MATRIX22_ARB                   0x88D6
  1060 #define GL_MATRIX23_ARB                   0x88D7
  1061 #define GL_MATRIX24_ARB                   0x88D8
  1062 #define GL_MATRIX25_ARB                   0x88D9
  1063 #define GL_MATRIX26_ARB                   0x88DA
  1064 #define GL_MATRIX27_ARB                   0x88DB
  1065 #define GL_MATRIX28_ARB                   0x88DC
  1066 #define GL_MATRIX29_ARB                   0x88DD
  1067 #define GL_MATRIX30_ARB                   0x88DE
  1068 #define GL_MATRIX31_ARB                   0x88DF
  1069 #endif
  1070 
  1071 #ifndef GL_ARB_fragment_program
  1072 #define GL_FRAGMENT_PROGRAM_ARB           0x8804
  1073 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB   0x8805
  1074 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB   0x8806
  1075 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB   0x8807
  1076 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
  1077 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
  1078 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
  1079 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
  1080 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
  1081 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
  1082 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
  1083 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
  1084 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
  1085 #define GL_MAX_TEXTURE_COORDS_ARB         0x8871
  1086 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB    0x8872
  1087 #endif
  1088 
  1089 #ifndef GL_ARB_vertex_buffer_object
  1090 #define GL_BUFFER_SIZE_ARB                0x8764
  1091 #define GL_BUFFER_USAGE_ARB               0x8765
  1092 #define GL_ARRAY_BUFFER_ARB               0x8892
  1093 #define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893
  1094 #define GL_ARRAY_BUFFER_BINDING_ARB       0x8894
  1095 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
  1096 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
  1097 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
  1098 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
  1099 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
  1100 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
  1101 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
  1102 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
  1103 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
  1104 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
  1105 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
  1106 #define GL_READ_ONLY_ARB                  0x88B8
  1107 #define GL_WRITE_ONLY_ARB                 0x88B9
  1108 #define GL_READ_WRITE_ARB                 0x88BA
  1109 #define GL_BUFFER_ACCESS_ARB              0x88BB
  1110 #define GL_BUFFER_MAPPED_ARB              0x88BC
  1111 #define GL_BUFFER_MAP_POINTER_ARB         0x88BD
  1112 #define GL_STREAM_DRAW_ARB                0x88E0
  1113 #define GL_STREAM_READ_ARB                0x88E1
  1114 #define GL_STREAM_COPY_ARB                0x88E2
  1115 #define GL_STATIC_DRAW_ARB                0x88E4
  1116 #define GL_STATIC_READ_ARB                0x88E5
  1117 #define GL_STATIC_COPY_ARB                0x88E6
  1118 #define GL_DYNAMIC_DRAW_ARB               0x88E8
  1119 #define GL_DYNAMIC_READ_ARB               0x88E9
  1120 #define GL_DYNAMIC_COPY_ARB               0x88EA
  1121 #endif
  1122 
  1123 #ifndef GL_ARB_occlusion_query
  1124 #define GL_QUERY_COUNTER_BITS_ARB         0x8864
  1125 #define GL_CURRENT_QUERY_ARB              0x8865
  1126 #define GL_QUERY_RESULT_ARB               0x8866
  1127 #define GL_QUERY_RESULT_AVAILABLE_ARB     0x8867
  1128 #define GL_SAMPLES_PASSED_ARB             0x8914
  1129 #endif
  1130 
  1131 #ifndef GL_ARB_shader_objects
  1132 #define GL_PROGRAM_OBJECT_ARB             0x8B40
  1133 #define GL_SHADER_OBJECT_ARB              0x8B48
  1134 #define GL_OBJECT_TYPE_ARB                0x8B4E
  1135 #define GL_OBJECT_SUBTYPE_ARB             0x8B4F
  1136 #define GL_FLOAT_VEC2_ARB                 0x8B50
  1137 #define GL_FLOAT_VEC3_ARB                 0x8B51
  1138 #define GL_FLOAT_VEC4_ARB                 0x8B52
  1139 #define GL_INT_VEC2_ARB                   0x8B53
  1140 #define GL_INT_VEC3_ARB                   0x8B54
  1141 #define GL_INT_VEC4_ARB                   0x8B55
  1142 #define GL_BOOL_ARB                       0x8B56
  1143 #define GL_BOOL_VEC2_ARB                  0x8B57
  1144 #define GL_BOOL_VEC3_ARB                  0x8B58
  1145 #define GL_BOOL_VEC4_ARB                  0x8B59
  1146 #define GL_FLOAT_MAT2_ARB                 0x8B5A
  1147 #define GL_FLOAT_MAT3_ARB                 0x8B5B
  1148 #define GL_FLOAT_MAT4_ARB                 0x8B5C
  1149 #define GL_SAMPLER_1D_ARB                 0x8B5D
  1150 #define GL_SAMPLER_2D_ARB                 0x8B5E
  1151 #define GL_SAMPLER_3D_ARB                 0x8B5F
  1152 #define GL_SAMPLER_CUBE_ARB               0x8B60
  1153 #define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
  1154 #define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
  1155 #define GL_SAMPLER_2D_RECT_ARB            0x8B63
  1156 #define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
  1157 #define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
  1158 #define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
  1159 #define GL_OBJECT_LINK_STATUS_ARB         0x8B82
  1160 #define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
  1161 #define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
  1162 #define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
  1163 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
  1164 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
  1165 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
  1166 #endif
  1167 
  1168 #ifndef GL_ARB_vertex_shader
  1169 #define GL_VERTEX_SHADER_ARB              0x8B31
  1170 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
  1171 #define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
  1172 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
  1173 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
  1174 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
  1175 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
  1176 #endif
  1177 
  1178 #ifndef GL_ARB_fragment_shader
  1179 #define GL_FRAGMENT_SHADER_ARB            0x8B30
  1180 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
  1181 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
  1182 #endif
  1183 
  1184 #ifndef GL_ARB_shading_language_100
  1185 #define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C
  1186 #endif
  1187 
  1188 #ifndef GL_ARB_texture_non_power_of_two
  1189 #endif
  1190 
  1191 #ifndef GL_ARB_point_sprite
  1192 #define GL_POINT_SPRITE_ARB               0x8861
  1193 #define GL_COORD_REPLACE_ARB              0x8862
  1194 #endif
  1195 
  1196 #ifndef GL_ARB_fragment_program_shadow
  1197 #endif
  1198 
  1199 #ifndef GL_ARB_draw_buffers
  1200 #define GL_MAX_DRAW_BUFFERS_ARB           0x8824
  1201 #define GL_DRAW_BUFFER0_ARB               0x8825
  1202 #define GL_DRAW_BUFFER1_ARB               0x8826
  1203 #define GL_DRAW_BUFFER2_ARB               0x8827
  1204 #define GL_DRAW_BUFFER3_ARB               0x8828
  1205 #define GL_DRAW_BUFFER4_ARB               0x8829
  1206 #define GL_DRAW_BUFFER5_ARB               0x882A
  1207 #define GL_DRAW_BUFFER6_ARB               0x882B
  1208 #define GL_DRAW_BUFFER7_ARB               0x882C
  1209 #define GL_DRAW_BUFFER8_ARB               0x882D
  1210 #define GL_DRAW_BUFFER9_ARB               0x882E
  1211 #define GL_DRAW_BUFFER10_ARB              0x882F
  1212 #define GL_DRAW_BUFFER11_ARB              0x8830
  1213 #define GL_DRAW_BUFFER12_ARB              0x8831
  1214 #define GL_DRAW_BUFFER13_ARB              0x8832
  1215 #define GL_DRAW_BUFFER14_ARB              0x8833
  1216 #define GL_DRAW_BUFFER15_ARB              0x8834
  1217 #endif
  1218 
  1219 #ifndef GL_ARB_texture_rectangle
  1220 #define GL_TEXTURE_RECTANGLE_ARB          0x84F5
  1221 #define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
  1222 #define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
  1223 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
  1224 #endif
  1225 
  1226 #ifndef GL_ARB_color_buffer_float
  1227 #define GL_RGBA_FLOAT_MODE_ARB            0x8820
  1228 #define GL_CLAMP_VERTEX_COLOR_ARB         0x891A
  1229 #define GL_CLAMP_FRAGMENT_COLOR_ARB       0x891B
  1230 #define GL_CLAMP_READ_COLOR_ARB           0x891C
  1231 #define GL_FIXED_ONLY_ARB                 0x891D
  1232 #endif
  1233 
  1234 #ifndef GL_ARB_half_float_pixel
  1235 #define GL_HALF_FLOAT_ARB                 0x140B
  1236 #endif
  1237 
  1238 #ifndef GL_ARB_texture_float
  1239 #define GL_TEXTURE_RED_TYPE_ARB           0x8C10
  1240 #define GL_TEXTURE_GREEN_TYPE_ARB         0x8C11
  1241 #define GL_TEXTURE_BLUE_TYPE_ARB          0x8C12
  1242 #define GL_TEXTURE_ALPHA_TYPE_ARB         0x8C13
  1243 #define GL_TEXTURE_LUMINANCE_TYPE_ARB     0x8C14
  1244 #define GL_TEXTURE_INTENSITY_TYPE_ARB     0x8C15
  1245 #define GL_TEXTURE_DEPTH_TYPE_ARB         0x8C16
  1246 #define GL_UNSIGNED_NORMALIZED_ARB        0x8C17
  1247 #define GL_RGBA32F_ARB                    0x8814
  1248 #define GL_RGB32F_ARB                     0x8815
  1249 #define GL_ALPHA32F_ARB                   0x8816
  1250 #define GL_INTENSITY32F_ARB               0x8817
  1251 #define GL_LUMINANCE32F_ARB               0x8818
  1252 #define GL_LUMINANCE_ALPHA32F_ARB         0x8819
  1253 #define GL_RGBA16F_ARB                    0x881A
  1254 #define GL_RGB16F_ARB                     0x881B
  1255 #define GL_ALPHA16F_ARB                   0x881C
  1256 #define GL_INTENSITY16F_ARB               0x881D
  1257 #define GL_LUMINANCE16F_ARB               0x881E
  1258 #define GL_LUMINANCE_ALPHA16F_ARB         0x881F
  1259 #endif
  1260 
  1261 #ifndef GL_ARB_pixel_buffer_object
  1262 #define GL_PIXEL_PACK_BUFFER_ARB          0x88EB
  1263 #define GL_PIXEL_UNPACK_BUFFER_ARB        0x88EC
  1264 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB  0x88ED
  1265 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
  1266 #endif
  1267 
  1268 #ifndef GL_ARB_depth_buffer_float
  1269 #define GL_DEPTH_COMPONENT32F             0x8CAC
  1270 #define GL_DEPTH32F_STENCIL8              0x8CAD
  1271 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
  1272 #endif
  1273 
  1274 #ifndef GL_ARB_draw_instanced
  1275 #endif
  1276 
  1277 #ifndef GL_ARB_framebuffer_object
  1278 #define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
  1279 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
  1280 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
  1281 #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
  1282 #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
  1283 #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
  1284 #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
  1285 #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
  1286 #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
  1287 #define GL_FRAMEBUFFER_DEFAULT            0x8218
  1288 #define GL_FRAMEBUFFER_UNDEFINED          0x8219
  1289 #define GL_DEPTH_STENCIL_ATTACHMENT       0x821A
  1290 #define GL_INDEX                          0x8222
  1291 #define GL_MAX_RENDERBUFFER_SIZE          0x84E8
  1292 #define GL_DEPTH_STENCIL                  0x84F9
  1293 #define GL_UNSIGNED_INT_24_8              0x84FA
  1294 #define GL_DEPTH24_STENCIL8               0x88F0
  1295 #define GL_TEXTURE_STENCIL_SIZE           0x88F1
  1296 #define GL_FRAMEBUFFER_BINDING            0x8CA6
  1297 #define GL_DRAW_FRAMEBUFFER_BINDING       GL_FRAMEBUFFER_BINDING
  1298 #define GL_RENDERBUFFER_BINDING           0x8CA7
  1299 #define GL_READ_FRAMEBUFFER               0x8CA8
  1300 #define GL_DRAW_FRAMEBUFFER               0x8CA9
  1301 #define GL_READ_FRAMEBUFFER_BINDING       0x8CAA
  1302 #define GL_RENDERBUFFER_SAMPLES           0x8CAB
  1303 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
  1304 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
  1305 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
  1306 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
  1307 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
  1308 #define GL_FRAMEBUFFER_COMPLETE           0x8CD5
  1309 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
  1310 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
  1311 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
  1312 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
  1313 #define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
  1314 #define GL_MAX_COLOR_ATTACHMENTS          0x8CDF
  1315 #define GL_COLOR_ATTACHMENT0              0x8CE0
  1316 #define GL_COLOR_ATTACHMENT1              0x8CE1
  1317 #define GL_COLOR_ATTACHMENT2              0x8CE2
  1318 #define GL_COLOR_ATTACHMENT3              0x8CE3
  1319 #define GL_COLOR_ATTACHMENT4              0x8CE4
  1320 #define GL_COLOR_ATTACHMENT5              0x8CE5
  1321 #define GL_COLOR_ATTACHMENT6              0x8CE6
  1322 #define GL_COLOR_ATTACHMENT7              0x8CE7
  1323 #define GL_COLOR_ATTACHMENT8              0x8CE8
  1324 #define GL_COLOR_ATTACHMENT9              0x8CE9
  1325 #define GL_COLOR_ATTACHMENT10             0x8CEA
  1326 #define GL_COLOR_ATTACHMENT11             0x8CEB
  1327 #define GL_COLOR_ATTACHMENT12             0x8CEC
  1328 #define GL_COLOR_ATTACHMENT13             0x8CED
  1329 #define GL_COLOR_ATTACHMENT14             0x8CEE
  1330 #define GL_COLOR_ATTACHMENT15             0x8CEF
  1331 #define GL_DEPTH_ATTACHMENT               0x8D00
  1332 #define GL_STENCIL_ATTACHMENT             0x8D20
  1333 #define GL_FRAMEBUFFER                    0x8D40
  1334 #define GL_RENDERBUFFER                   0x8D41
  1335 #define GL_RENDERBUFFER_WIDTH             0x8D42
  1336 #define GL_RENDERBUFFER_HEIGHT            0x8D43
  1337 #define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
  1338 #define GL_STENCIL_INDEX1                 0x8D46
  1339 #define GL_STENCIL_INDEX4                 0x8D47
  1340 #define GL_STENCIL_INDEX8                 0x8D48
  1341 #define GL_STENCIL_INDEX16                0x8D49
  1342 #define GL_RENDERBUFFER_RED_SIZE          0x8D50
  1343 #define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
  1344 #define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
  1345 #define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
  1346 #define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
  1347 #define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
  1348 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
  1349 #define GL_MAX_SAMPLES                    0x8D57
  1350 #endif
  1351 
  1352 #ifndef GL_ARB_framebuffer_sRGB
  1353 #define GL_FRAMEBUFFER_SRGB               0x8DB9
  1354 #endif
  1355 
  1356 #ifndef GL_ARB_geometry_shader4
  1357 #define GL_LINES_ADJACENCY_ARB            0x000A
  1358 #define GL_LINE_STRIP_ADJACENCY_ARB       0x000B
  1359 #define GL_TRIANGLES_ADJACENCY_ARB        0x000C
  1360 #define GL_TRIANGLE_STRIP_ADJACENCY_ARB   0x000D
  1361 #define GL_PROGRAM_POINT_SIZE_ARB         0x8642
  1362 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
  1363 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
  1364 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
  1365 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
  1366 #define GL_GEOMETRY_SHADER_ARB            0x8DD9
  1367 #define GL_GEOMETRY_VERTICES_OUT_ARB      0x8DDA
  1368 #define GL_GEOMETRY_INPUT_TYPE_ARB        0x8DDB
  1369 #define GL_GEOMETRY_OUTPUT_TYPE_ARB       0x8DDC
  1370 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
  1371 #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
  1372 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
  1373 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
  1374 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
  1375 /* reuse GL_MAX_VARYING_COMPONENTS */
  1376 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
  1377 #endif
  1378 
  1379 #ifndef GL_ARB_half_float_vertex
  1380 #define GL_HALF_FLOAT                     0x140B
  1381 #endif
  1382 
  1383 #ifndef GL_ARB_instanced_arrays
  1384 #endif
  1385 
  1386 #ifndef GL_ARB_map_buffer_range
  1387 #define GL_MAP_READ_BIT                   0x0001
  1388 #define GL_MAP_WRITE_BIT                  0x0002
  1389 #define GL_MAP_INVALIDATE_RANGE_BIT       0x0004
  1390 #define GL_MAP_INVALIDATE_BUFFER_BIT      0x0008
  1391 #define GL_MAP_FLUSH_EXPLICIT_BIT         0x0010
  1392 #define GL_MAP_UNSYNCHRONIZED_BIT         0x0020
  1393 #endif
  1394 
  1395 #ifndef GL_ARB_texture_buffer_object
  1396 #define GL_TEXTURE_BUFFER_ARB             0x8C2A
  1397 #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB    0x8C2B
  1398 #define GL_TEXTURE_BINDING_BUFFER_ARB     0x8C2C
  1399 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
  1400 #define GL_TEXTURE_BUFFER_FORMAT_ARB      0x8C2E
  1401 #endif
  1402 
  1403 #ifndef GL_ARB_texture_compression_rgtc
  1404 #define GL_COMPRESSED_RED_RGTC1           0x8DBB
  1405 #define GL_COMPRESSED_SIGNED_RED_RGTC1    0x8DBC
  1406 #define GL_COMPRESSED_RG_RGTC2            0x8DBD
  1407 #define GL_COMPRESSED_SIGNED_RG_RGTC2     0x8DBE
  1408 #endif
  1409 
  1410 #ifndef GL_ARB_texture_rg
  1411 #define GL_RG                             0x8227
  1412 #define GL_RG_INTEGER                     0x8228
  1413 #define GL_R8                             0x8229
  1414 #define GL_R16                            0x822A
  1415 #define GL_RG8                            0x822B
  1416 #define GL_RG16                           0x822C
  1417 #define GL_R16F                           0x822D
  1418 #define GL_R32F                           0x822E
  1419 #define GL_RG16F                          0x822F
  1420 #define GL_RG32F                          0x8230
  1421 #define GL_R8I                            0x8231
  1422 #define GL_R8UI                           0x8232
  1423 #define GL_R16I                           0x8233
  1424 #define GL_R16UI                          0x8234
  1425 #define GL_R32I                           0x8235
  1426 #define GL_R32UI                          0x8236
  1427 #define GL_RG8I                           0x8237
  1428 #define GL_RG8UI                          0x8238
  1429 #define GL_RG16I                          0x8239
  1430 #define GL_RG16UI                         0x823A
  1431 #define GL_RG32I                          0x823B
  1432 #define GL_RG32UI                         0x823C
  1433 #endif
  1434 
  1435 #ifndef GL_ARB_vertex_array_object
  1436 #define GL_VERTEX_ARRAY_BINDING           0x85B5
  1437 #endif
  1438 
  1439 #ifndef GL_EXT_abgr
  1440 #define GL_ABGR_EXT                       0x8000
  1441 #endif
  1442 
  1443 #ifndef GL_EXT_blend_color
  1444 #define GL_CONSTANT_COLOR_EXT             0x8001
  1445 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
  1446 #define GL_CONSTANT_ALPHA_EXT             0x8003
  1447 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
  1448 #define GL_BLEND_COLOR_EXT                0x8005
  1449 #endif
  1450 
  1451 #ifndef GL_EXT_polygon_offset
  1452 #define GL_POLYGON_OFFSET_EXT             0x8037
  1453 #define GL_POLYGON_OFFSET_FACTOR_EXT      0x8038
  1454 #define GL_POLYGON_OFFSET_BIAS_EXT        0x8039
  1455 #endif
  1456 
  1457 #ifndef GL_EXT_texture
  1458 #define GL_ALPHA4_EXT                     0x803B
  1459 #define GL_ALPHA8_EXT                     0x803C
  1460 #define GL_ALPHA12_EXT                    0x803D
  1461 #define GL_ALPHA16_EXT                    0x803E
  1462 #define GL_LUMINANCE4_EXT                 0x803F
  1463 #define GL_LUMINANCE8_EXT                 0x8040
  1464 #define GL_LUMINANCE12_EXT                0x8041
  1465 #define GL_LUMINANCE16_EXT                0x8042
  1466 #define GL_LUMINANCE4_ALPHA4_EXT          0x8043
  1467 #define GL_LUMINANCE6_ALPHA2_EXT          0x8044
  1468 #define GL_LUMINANCE8_ALPHA8_EXT          0x8045
  1469 #define GL_LUMINANCE12_ALPHA4_EXT         0x8046
  1470 #define GL_LUMINANCE12_ALPHA12_EXT        0x8047
  1471 #define GL_LUMINANCE16_ALPHA16_EXT        0x8048
  1472 #define GL_INTENSITY_EXT                  0x8049
  1473 #define GL_INTENSITY4_EXT                 0x804A
  1474 #define GL_INTENSITY8_EXT                 0x804B
  1475 #define GL_INTENSITY12_EXT                0x804C
  1476 #define GL_INTENSITY16_EXT                0x804D
  1477 #define GL_RGB2_EXT                       0x804E
  1478 #define GL_RGB4_EXT                       0x804F
  1479 #define GL_RGB5_EXT                       0x8050
  1480 #define GL_RGB8_EXT                       0x8051
  1481 #define GL_RGB10_EXT                      0x8052
  1482 #define GL_RGB12_EXT                      0x8053
  1483 #define GL_RGB16_EXT                      0x8054
  1484 #define GL_RGBA2_EXT                      0x8055
  1485 #define GL_RGBA4_EXT                      0x8056
  1486 #define GL_RGB5_A1_EXT                    0x8057
  1487 #define GL_RGBA8_EXT                      0x8058
  1488 #define GL_RGB10_A2_EXT                   0x8059
  1489 #define GL_RGBA12_EXT                     0x805A
  1490 #define GL_RGBA16_EXT                     0x805B
  1491 #define GL_TEXTURE_RED_SIZE_EXT           0x805C
  1492 #define GL_TEXTURE_GREEN_SIZE_EXT         0x805D
  1493 #define GL_TEXTURE_BLUE_SIZE_EXT          0x805E
  1494 #define GL_TEXTURE_ALPHA_SIZE_EXT         0x805F
  1495 #define GL_TEXTURE_LUMINANCE_SIZE_EXT     0x8060
  1496 #define GL_TEXTURE_INTENSITY_SIZE_EXT     0x8061
  1497 #define GL_REPLACE_EXT                    0x8062
  1498 #define GL_PROXY_TEXTURE_1D_EXT           0x8063
  1499 #define GL_PROXY_TEXTURE_2D_EXT           0x8064
  1500 #define GL_TEXTURE_TOO_LARGE_EXT          0x8065
  1501 #endif
  1502 
  1503 #ifndef GL_EXT_texture3D
  1504 #define GL_PACK_SKIP_IMAGES_EXT           0x806B
  1505 #define GL_PACK_IMAGE_HEIGHT_EXT          0x806C
  1506 #define GL_UNPACK_SKIP_IMAGES_EXT         0x806D
  1507 #define GL_UNPACK_IMAGE_HEIGHT_EXT        0x806E
  1508 #define GL_TEXTURE_3D_EXT                 0x806F
  1509 #define GL_PROXY_TEXTURE_3D_EXT           0x8070
  1510 #define GL_TEXTURE_DEPTH_EXT              0x8071
  1511 #define GL_TEXTURE_WRAP_R_EXT             0x8072
  1512 #define GL_MAX_3D_TEXTURE_SIZE_EXT        0x8073
  1513 #endif
  1514 
  1515 #ifndef GL_SGIS_texture_filter4
  1516 #define GL_FILTER4_SGIS                   0x8146
  1517 #define GL_TEXTURE_FILTER4_SIZE_SGIS      0x8147
  1518 #endif
  1519 
  1520 #ifndef GL_EXT_subtexture
  1521 #endif
  1522 
  1523 #ifndef GL_EXT_copy_texture
  1524 #endif
  1525 
  1526 #ifndef GL_EXT_histogram
  1527 #define GL_HISTOGRAM_EXT                  0x8024
  1528 #define GL_PROXY_HISTOGRAM_EXT            0x8025
  1529 #define GL_HISTOGRAM_WIDTH_EXT            0x8026
  1530 #define GL_HISTOGRAM_FORMAT_EXT           0x8027
  1531 #define GL_HISTOGRAM_RED_SIZE_EXT         0x8028
  1532 #define GL_HISTOGRAM_GREEN_SIZE_EXT       0x8029
  1533 #define GL_HISTOGRAM_BLUE_SIZE_EXT        0x802A
  1534 #define GL_HISTOGRAM_ALPHA_SIZE_EXT       0x802B
  1535 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT   0x802C
  1536 #define GL_HISTOGRAM_SINK_EXT             0x802D
  1537 #define GL_MINMAX_EXT                     0x802E
  1538 #define GL_MINMAX_FORMAT_EXT              0x802F
  1539 #define GL_MINMAX_SINK_EXT                0x8030
  1540 #define GL_TABLE_TOO_LARGE_EXT            0x8031
  1541 #endif
  1542 
  1543 #ifndef GL_EXT_convolution
  1544 #define GL_CONVOLUTION_1D_EXT             0x8010
  1545 #define GL_CONVOLUTION_2D_EXT             0x8011
  1546 #define GL_SEPARABLE_2D_EXT               0x8012
  1547 #define GL_CONVOLUTION_BORDER_MODE_EXT    0x8013
  1548 #define GL_CONVOLUTION_FILTER_SCALE_EXT   0x8014
  1549 #define GL_CONVOLUTION_FILTER_BIAS_EXT    0x8015
  1550 #define GL_REDUCE_EXT                     0x8016
  1551 #define GL_CONVOLUTION_FORMAT_EXT         0x8017
  1552 #define GL_CONVOLUTION_WIDTH_EXT          0x8018
  1553 #define GL_CONVOLUTION_HEIGHT_EXT         0x8019
  1554 #define GL_MAX_CONVOLUTION_WIDTH_EXT      0x801A
  1555 #define GL_MAX_CONVOLUTION_HEIGHT_EXT     0x801B
  1556 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
  1557 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
  1558 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
  1559 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
  1560 #define GL_POST_CONVOLUTION_RED_BIAS_EXT  0x8020
  1561 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
  1562 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
  1563 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
  1564 #endif
  1565 
  1566 #ifndef GL_SGI_color_matrix
  1567 #define GL_COLOR_MATRIX_SGI               0x80B1
  1568 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI   0x80B2
  1569 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
  1570 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
  1571 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
  1572 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
  1573 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
  1574 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
  1575 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
  1576 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
  1577 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
  1578 #endif
  1579 
  1580 #ifndef GL_SGI_color_table
  1581 #define GL_COLOR_TABLE_SGI                0x80D0
  1582 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
  1583 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
  1584 #define GL_PROXY_COLOR_TABLE_SGI          0x80D3
  1585 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
  1586 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
  1587 #define GL_COLOR_TABLE_SCALE_SGI          0x80D6
  1588 #define GL_COLOR_TABLE_BIAS_SGI           0x80D7
  1589 #define GL_COLOR_TABLE_FORMAT_SGI         0x80D8
  1590 #define GL_COLOR_TABLE_WIDTH_SGI          0x80D9
  1591 #define GL_COLOR_TABLE_RED_SIZE_SGI       0x80DA
  1592 #define GL_COLOR_TABLE_GREEN_SIZE_SGI     0x80DB
  1593 #define GL_COLOR_TABLE_BLUE_SIZE_SGI      0x80DC
  1594 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI     0x80DD
  1595 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
  1596 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
  1597 #endif
  1598 
  1599 #ifndef GL_SGIS_pixel_texture
  1600 #define GL_PIXEL_TEXTURE_SGIS             0x8353
  1601 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
  1602 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
  1603 #define GL_PIXEL_GROUP_COLOR_SGIS         0x8356
  1604 #endif
  1605 
  1606 #ifndef GL_SGIX_pixel_texture
  1607 #define GL_PIXEL_TEX_GEN_SGIX             0x8139
  1608 #define GL_PIXEL_TEX_GEN_MODE_SGIX        0x832B
  1609 #endif
  1610 
  1611 #ifndef GL_SGIS_texture4D
  1612 #define GL_PACK_SKIP_VOLUMES_SGIS         0x8130
  1613 #define GL_PACK_IMAGE_DEPTH_SGIS          0x8131
  1614 #define GL_UNPACK_SKIP_VOLUMES_SGIS       0x8132
  1615 #define GL_UNPACK_IMAGE_DEPTH_SGIS        0x8133
  1616 #define GL_TEXTURE_4D_SGIS                0x8134
  1617 #define GL_PROXY_TEXTURE_4D_SGIS          0x8135
  1618 #define GL_TEXTURE_4DSIZE_SGIS            0x8136
  1619 #define GL_TEXTURE_WRAP_Q_SGIS            0x8137
  1620 #define GL_MAX_4D_TEXTURE_SIZE_SGIS       0x8138
  1621 #define GL_TEXTURE_4D_BINDING_SGIS        0x814F
  1622 #endif
  1623 
  1624 #ifndef GL_SGI_texture_color_table
  1625 #define GL_TEXTURE_COLOR_TABLE_SGI        0x80BC
  1626 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI  0x80BD
  1627 #endif
  1628 
  1629 #ifndef GL_EXT_cmyka
  1630 #define GL_CMYK_EXT                       0x800C
  1631 #define GL_CMYKA_EXT                      0x800D
  1632 #define GL_PACK_CMYK_HINT_EXT             0x800E
  1633 #define GL_UNPACK_CMYK_HINT_EXT           0x800F
  1634 #endif
  1635 
  1636 #ifndef GL_EXT_texture_object
  1637 #define GL_TEXTURE_PRIORITY_EXT           0x8066
  1638 #define GL_TEXTURE_RESIDENT_EXT           0x8067
  1639 #define GL_TEXTURE_1D_BINDING_EXT         0x8068
  1640 #define GL_TEXTURE_2D_BINDING_EXT         0x8069
  1641 #define GL_TEXTURE_3D_BINDING_EXT         0x806A
  1642 #endif
  1643 
  1644 #ifndef GL_SGIS_detail_texture
  1645 #define GL_DETAIL_TEXTURE_2D_SGIS         0x8095
  1646 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
  1647 #define GL_LINEAR_DETAIL_SGIS             0x8097
  1648 #define GL_LINEAR_DETAIL_ALPHA_SGIS       0x8098
  1649 #define GL_LINEAR_DETAIL_COLOR_SGIS       0x8099
  1650 #define GL_DETAIL_TEXTURE_LEVEL_SGIS      0x809A
  1651 #define GL_DETAIL_TEXTURE_MODE_SGIS       0x809B
  1652 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
  1653 #endif
  1654 
  1655 #ifndef GL_SGIS_sharpen_texture
  1656 #define GL_LINEAR_SHARPEN_SGIS            0x80AD
  1657 #define GL_LINEAR_SHARPEN_ALPHA_SGIS      0x80AE
  1658 #define GL_LINEAR_SHARPEN_COLOR_SGIS      0x80AF
  1659 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
  1660 #endif
  1661 
  1662 #ifndef GL_EXT_packed_pixels
  1663 #define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
  1664 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
  1665 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
  1666 #define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
  1667 #define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
  1668 #endif
  1669 
  1670 #ifndef GL_SGIS_texture_lod
  1671 #define GL_TEXTURE_MIN_LOD_SGIS           0x813A
  1672 #define GL_TEXTURE_MAX_LOD_SGIS           0x813B
  1673 #define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
  1674 #define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
  1675 #endif
  1676 
  1677 #ifndef GL_SGIS_multisample
  1678 #define GL_MULTISAMPLE_SGIS               0x809D
  1679 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS      0x809E
  1680 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS       0x809F
  1681 #define GL_SAMPLE_MASK_SGIS               0x80A0
  1682 #define GL_1PASS_SGIS                     0x80A1
  1683 #define GL_2PASS_0_SGIS                   0x80A2
  1684 #define GL_2PASS_1_SGIS                   0x80A3
  1685 #define GL_4PASS_0_SGIS                   0x80A4
  1686 #define GL_4PASS_1_SGIS                   0x80A5
  1687 #define GL_4PASS_2_SGIS                   0x80A6
  1688 #define GL_4PASS_3_SGIS                   0x80A7
  1689 #define GL_SAMPLE_BUFFERS_SGIS            0x80A8
  1690 #define GL_SAMPLES_SGIS                   0x80A9
  1691 #define GL_SAMPLE_MASK_VALUE_SGIS         0x80AA
  1692 #define GL_SAMPLE_MASK_INVERT_SGIS        0x80AB
  1693 #define GL_SAMPLE_PATTERN_SGIS            0x80AC
  1694 #endif
  1695 
  1696 #ifndef GL_EXT_rescale_normal
  1697 #define GL_RESCALE_NORMAL_EXT             0x803A
  1698 #endif
  1699 
  1700 #ifndef GL_EXT_vertex_array
  1701 #define GL_VERTEX_ARRAY_EXT               0x8074
  1702 #define GL_NORMAL_ARRAY_EXT               0x8075
  1703 #define GL_COLOR_ARRAY_EXT                0x8076
  1704 #define GL_INDEX_ARRAY_EXT                0x8077
  1705 #define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
  1706 #define GL_EDGE_FLAG_ARRAY_EXT            0x8079
  1707 #define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
  1708 #define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
  1709 #define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
  1710 #define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
  1711 #define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
  1712 #define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
  1713 #define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
  1714 #define GL_COLOR_ARRAY_SIZE_EXT           0x8081
  1715 #define GL_COLOR_ARRAY_TYPE_EXT           0x8082
  1716 #define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
  1717 #define GL_COLOR_ARRAY_COUNT_EXT          0x8084
  1718 #define GL_INDEX_ARRAY_TYPE_EXT           0x8085
  1719 #define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
  1720 #define GL_INDEX_ARRAY_COUNT_EXT          0x8087
  1721 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
  1722 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
  1723 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
  1724 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
  1725 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
  1726 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
  1727 #define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
  1728 #define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
  1729 #define GL_COLOR_ARRAY_POINTER_EXT        0x8090
  1730 #define GL_INDEX_ARRAY_POINTER_EXT        0x8091
  1731 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
  1732 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
  1733 #endif
  1734 
  1735 #ifndef GL_EXT_misc_attribute
  1736 #endif
  1737 
  1738 #ifndef GL_SGIS_generate_mipmap
  1739 #define GL_GENERATE_MIPMAP_SGIS           0x8191
  1740 #define GL_GENERATE_MIPMAP_HINT_SGIS      0x8192
  1741 #endif
  1742 
  1743 #ifndef GL_SGIX_clipmap
  1744 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX     0x8170
  1745 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX    0x8171
  1746 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX     0x8172
  1747 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX    0x8173
  1748 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
  1749 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
  1750 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX     0x8176
  1751 #define GL_MAX_CLIPMAP_DEPTH_SGIX         0x8177
  1752 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
  1753 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX   0x844D
  1754 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX    0x844E
  1755 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX    0x844F
  1756 #endif
  1757 
  1758 #ifndef GL_SGIX_shadow
  1759 #define GL_TEXTURE_COMPARE_SGIX           0x819A
  1760 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX  0x819B
  1761 #define GL_TEXTURE_LEQUAL_R_SGIX          0x819C
  1762 #define GL_TEXTURE_GEQUAL_R_SGIX          0x819D
  1763 #endif
  1764 
  1765 #ifndef GL_SGIS_texture_edge_clamp
  1766 #define GL_CLAMP_TO_EDGE_SGIS             0x812F
  1767 #endif
  1768 
  1769 #ifndef GL_SGIS_texture_border_clamp
  1770 #define GL_CLAMP_TO_BORDER_SGIS           0x812D
  1771 #endif
  1772 
  1773 #ifndef GL_EXT_blend_minmax
  1774 #define GL_FUNC_ADD_EXT                   0x8006
  1775 #define GL_MIN_EXT                        0x8007
  1776 #define GL_MAX_EXT                        0x8008
  1777 #define GL_BLEND_EQUATION_EXT             0x8009
  1778 #endif
  1779 
  1780 #ifndef GL_EXT_blend_subtract
  1781 #define GL_FUNC_SUBTRACT_EXT              0x800A
  1782 #define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
  1783 #endif
  1784 
  1785 #ifndef GL_EXT_blend_logic_op
  1786 #endif
  1787 
  1788 #ifndef GL_SGIX_interlace
  1789 #define GL_INTERLACE_SGIX                 0x8094
  1790 #endif
  1791 
  1792 #ifndef GL_SGIX_pixel_tiles
  1793 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
  1794 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
  1795 #define GL_PIXEL_TILE_WIDTH_SGIX          0x8140
  1796 #define GL_PIXEL_TILE_HEIGHT_SGIX         0x8141
  1797 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX     0x8142
  1798 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX    0x8143
  1799 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX     0x8144
  1800 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX     0x8145
  1801 #endif
  1802 
  1803 #ifndef GL_SGIS_texture_select
  1804 #define GL_DUAL_ALPHA4_SGIS               0x8110
  1805 #define GL_DUAL_ALPHA8_SGIS               0x8111
  1806 #define GL_DUAL_ALPHA12_SGIS              0x8112
  1807 #define GL_DUAL_ALPHA16_SGIS              0x8113
  1808 #define GL_DUAL_LUMINANCE4_SGIS           0x8114
  1809 #define GL_DUAL_LUMINANCE8_SGIS           0x8115
  1810 #define GL_DUAL_LUMINANCE12_SGIS          0x8116
  1811 #define GL_DUAL_LUMINANCE16_SGIS          0x8117
  1812 #define GL_DUAL_INTENSITY4_SGIS           0x8118
  1813 #define GL_DUAL_INTENSITY8_SGIS           0x8119
  1814 #define GL_DUAL_INTENSITY12_SGIS          0x811A
  1815 #define GL_DUAL_INTENSITY16_SGIS          0x811B
  1816 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS     0x811C
  1817 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS     0x811D
  1818 #define GL_QUAD_ALPHA4_SGIS               0x811E
  1819 #define GL_QUAD_ALPHA8_SGIS               0x811F
  1820 #define GL_QUAD_LUMINANCE4_SGIS           0x8120
  1821 #define GL_QUAD_LUMINANCE8_SGIS           0x8121
  1822 #define GL_QUAD_INTENSITY4_SGIS           0x8122
  1823 #define GL_QUAD_INTENSITY8_SGIS           0x8123
  1824 #define GL_DUAL_TEXTURE_SELECT_SGIS       0x8124
  1825 #define GL_QUAD_TEXTURE_SELECT_SGIS       0x8125
  1826 #endif
  1827 
  1828 #ifndef GL_SGIX_sprite
  1829 #define GL_SPRITE_SGIX                    0x8148
  1830 #define GL_SPRITE_MODE_SGIX               0x8149
  1831 #define GL_SPRITE_AXIS_SGIX               0x814A
  1832 #define GL_SPRITE_TRANSLATION_SGIX        0x814B
  1833 #define GL_SPRITE_AXIAL_SGIX              0x814C
  1834 #define GL_SPRITE_OBJECT_ALIGNED_SGIX     0x814D
  1835 #define GL_SPRITE_EYE_ALIGNED_SGIX        0x814E
  1836 #endif
  1837 
  1838 #ifndef GL_SGIX_texture_multi_buffer
  1839 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
  1840 #endif
  1841 
  1842 #ifndef GL_EXT_point_parameters
  1843 #define GL_POINT_SIZE_MIN_EXT             0x8126
  1844 #define GL_POINT_SIZE_MAX_EXT             0x8127
  1845 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT  0x8128
  1846 #define GL_DISTANCE_ATTENUATION_EXT       0x8129
  1847 #endif
  1848 
  1849 #ifndef GL_SGIS_point_parameters
  1850 #define GL_POINT_SIZE_MIN_SGIS            0x8126
  1851 #define GL_POINT_SIZE_MAX_SGIS            0x8127
  1852 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
  1853 #define GL_DISTANCE_ATTENUATION_SGIS      0x8129
  1854 #endif
  1855 
  1856 #ifndef GL_SGIX_instruments
  1857 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
  1858 #define GL_INSTRUMENT_MEASUREMENTS_SGIX   0x8181
  1859 #endif
  1860 
  1861 #ifndef GL_SGIX_texture_scale_bias
  1862 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX  0x8179
  1863 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
  1864 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
  1865 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
  1866 #endif
  1867 
  1868 #ifndef GL_SGIX_framezoom
  1869 #define GL_FRAMEZOOM_SGIX                 0x818B
  1870 #define GL_FRAMEZOOM_FACTOR_SGIX          0x818C
  1871 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX      0x818D
  1872 #endif
  1873 
  1874 #ifndef GL_SGIX_tag_sample_buffer
  1875 #endif
  1876 
  1877 #ifndef GL_FfdMaskSGIX
  1878 #define GL_TEXTURE_DEFORMATION_BIT_SGIX   0x00000001
  1879 #define GL_GEOMETRY_DEFORMATION_BIT_SGIX  0x00000002
  1880 #endif
  1881 
  1882 #ifndef GL_SGIX_polynomial_ffd
  1883 #define GL_GEOMETRY_DEFORMATION_SGIX      0x8194
  1884 #define GL_TEXTURE_DEFORMATION_SGIX       0x8195
  1885 #define GL_DEFORMATIONS_MASK_SGIX         0x8196
  1886 #define GL_MAX_DEFORMATION_ORDER_SGIX     0x8197
  1887 #endif
  1888 
  1889 #ifndef GL_SGIX_reference_plane
  1890 #define GL_REFERENCE_PLANE_SGIX           0x817D
  1891 #define GL_REFERENCE_PLANE_EQUATION_SGIX  0x817E
  1892 #endif
  1893 
  1894 #ifndef GL_SGIX_flush_raster
  1895 #endif
  1896 
  1897 #ifndef GL_SGIX_depth_texture
  1898 #define GL_DEPTH_COMPONENT16_SGIX         0x81A5
  1899 #define GL_DEPTH_COMPONENT24_SGIX         0x81A6
  1900 #define GL_DEPTH_COMPONENT32_SGIX         0x81A7
  1901 #endif
  1902 
  1903 #ifndef GL_SGIS_fog_function
  1904 #define GL_FOG_FUNC_SGIS                  0x812A
  1905 #define GL_FOG_FUNC_POINTS_SGIS           0x812B
  1906 #define GL_MAX_FOG_FUNC_POINTS_SGIS       0x812C
  1907 #endif
  1908 
  1909 #ifndef GL_SGIX_fog_offset
  1910 #define GL_FOG_OFFSET_SGIX                0x8198
  1911 #define GL_FOG_OFFSET_VALUE_SGIX          0x8199
  1912 #endif
  1913 
  1914 #ifndef GL_HP_image_transform
  1915 #define GL_IMAGE_SCALE_X_HP               0x8155
  1916 #define GL_IMAGE_SCALE_Y_HP               0x8156
  1917 #define GL_IMAGE_TRANSLATE_X_HP           0x8157
  1918 #define GL_IMAGE_TRANSLATE_Y_HP           0x8158
  1919 #define GL_IMAGE_ROTATE_ANGLE_HP          0x8159
  1920 #define GL_IMAGE_ROTATE_ORIGIN_X_HP       0x815A
  1921 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP       0x815B
  1922 #define GL_IMAGE_MAG_FILTER_HP            0x815C
  1923 #define GL_IMAGE_MIN_FILTER_HP            0x815D
  1924 #define GL_IMAGE_CUBIC_WEIGHT_HP          0x815E
  1925 #define GL_CUBIC_HP                       0x815F
  1926 #define GL_AVERAGE_HP                     0x8160
  1927 #define GL_IMAGE_TRANSFORM_2D_HP          0x8161
  1928 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
  1929 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
  1930 #endif
  1931 
  1932 #ifndef GL_HP_convolution_border_modes
  1933 #define GL_IGNORE_BORDER_HP               0x8150
  1934 #define GL_CONSTANT_BORDER_HP             0x8151
  1935 #define GL_REPLICATE_BORDER_HP            0x8153
  1936 #define GL_CONVOLUTION_BORDER_COLOR_HP    0x8154
  1937 #endif
  1938 
  1939 #ifndef GL_INGR_palette_buffer
  1940 #endif
  1941 
  1942 #ifndef GL_SGIX_texture_add_env
  1943 #define GL_TEXTURE_ENV_BIAS_SGIX          0x80BE
  1944 #endif
  1945 
  1946 #ifndef GL_EXT_color_subtable
  1947 #endif
  1948 
  1949 #ifndef GL_PGI_vertex_hints
  1950 #define GL_VERTEX_DATA_HINT_PGI           0x1A22A
  1951 #define GL_VERTEX_CONSISTENT_HINT_PGI     0x1A22B
  1952 #define GL_MATERIAL_SIDE_HINT_PGI         0x1A22C
  1953 #define GL_MAX_VERTEX_HINT_PGI            0x1A22D
  1954 #define GL_COLOR3_BIT_PGI                 0x00010000
  1955 #define GL_COLOR4_BIT_PGI                 0x00020000
  1956 #define GL_EDGEFLAG_BIT_PGI               0x00040000
  1957 #define GL_INDEX_BIT_PGI                  0x00080000
  1958 #define GL_MAT_AMBIENT_BIT_PGI            0x00100000
  1959 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
  1960 #define GL_MAT_DIFFUSE_BIT_PGI            0x00400000
  1961 #define GL_MAT_EMISSION_BIT_PGI           0x00800000
  1962 #define GL_MAT_COLOR_INDEXES_BIT_PGI      0x01000000
  1963 #define GL_MAT_SHININESS_BIT_PGI          0x02000000
  1964 #define GL_MAT_SPECULAR_BIT_PGI           0x04000000
  1965 #define GL_NORMAL_BIT_PGI                 0x08000000
  1966 #define GL_TEXCOORD1_BIT_PGI              0x10000000
  1967 #define GL_TEXCOORD2_BIT_PGI              0x20000000
  1968 #define GL_TEXCOORD3_BIT_PGI              0x40000000
  1969 #define GL_TEXCOORD4_BIT_PGI              0x80000000
  1970 #define GL_VERTEX23_BIT_PGI               0x00000004
  1971 #define GL_VERTEX4_BIT_PGI                0x00000008
  1972 #endif
  1973 
  1974 #ifndef GL_PGI_misc_hints
  1975 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI   0x1A1F8
  1976 #define GL_CONSERVE_MEMORY_HINT_PGI       0x1A1FD
  1977 #define GL_RECLAIM_MEMORY_HINT_PGI        0x1A1FE
  1978 #define GL_NATIVE_GRAPHICS_HANDLE_PGI     0x1A202
  1979 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
  1980 #define GL_NATIVE_GRAPHICS_END_HINT_PGI   0x1A204
  1981 #define GL_ALWAYS_FAST_HINT_PGI           0x1A20C
  1982 #define GL_ALWAYS_SOFT_HINT_PGI           0x1A20D
  1983 #define GL_ALLOW_DRAW_OBJ_HINT_PGI        0x1A20E
  1984 #define GL_ALLOW_DRAW_WIN_HINT_PGI        0x1A20F
  1985 #define GL_ALLOW_DRAW_FRG_HINT_PGI        0x1A210
  1986 #define GL_ALLOW_DRAW_MEM_HINT_PGI        0x1A211
  1987 #define GL_STRICT_DEPTHFUNC_HINT_PGI      0x1A216
  1988 #define GL_STRICT_LIGHTING_HINT_PGI       0x1A217
  1989 #define GL_STRICT_SCISSOR_HINT_PGI        0x1A218
  1990 #define GL_FULL_STIPPLE_HINT_PGI          0x1A219
  1991 #define GL_CLIP_NEAR_HINT_PGI             0x1A220
  1992 #define GL_CLIP_FAR_HINT_PGI              0x1A221
  1993 #define GL_WIDE_LINE_HINT_PGI             0x1A222
  1994 #define GL_BACK_NORMALS_HINT_PGI          0x1A223
  1995 #endif
  1996 
  1997 #ifndef GL_EXT_paletted_texture
  1998 #define GL_COLOR_INDEX1_EXT               0x80E2
  1999 #define GL_COLOR_INDEX2_EXT               0x80E3
  2000 #define GL_COLOR_INDEX4_EXT               0x80E4
  2001 #define GL_COLOR_INDEX8_EXT               0x80E5
  2002 #define GL_COLOR_INDEX12_EXT              0x80E6
  2003 #define GL_COLOR_INDEX16_EXT              0x80E7
  2004 #define GL_TEXTURE_INDEX_SIZE_EXT         0x80ED
  2005 #endif
  2006 
  2007 #ifndef GL_EXT_clip_volume_hint
  2008 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT  0x80F0
  2009 #endif
  2010 
  2011 #ifndef GL_SGIX_list_priority
  2012 #define GL_LIST_PRIORITY_SGIX             0x8182
  2013 #endif
  2014 
  2015 #ifndef GL_SGIX_ir_instrument1
  2016 #define GL_IR_INSTRUMENT1_SGIX            0x817F
  2017 #endif
  2018 
  2019 #ifndef GL_SGIX_calligraphic_fragment
  2020 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX     0x8183
  2021 #endif
  2022 
  2023 #ifndef GL_SGIX_texture_lod_bias
  2024 #define GL_TEXTURE_LOD_BIAS_S_SGIX        0x818E
  2025 #define GL_TEXTURE_LOD_BIAS_T_SGIX        0x818F
  2026 #define GL_TEXTURE_LOD_BIAS_R_SGIX        0x8190
  2027 #endif
  2028 
  2029 #ifndef GL_SGIX_shadow_ambient
  2030 #define GL_SHADOW_AMBIENT_SGIX            0x80BF
  2031 #endif
  2032 
  2033 #ifndef GL_EXT_index_texture
  2034 #endif
  2035 
  2036 #ifndef GL_EXT_index_material
  2037 #define GL_INDEX_MATERIAL_EXT             0x81B8
  2038 #define GL_INDEX_MATERIAL_PARAMETER_EXT   0x81B9
  2039 #define GL_INDEX_MATERIAL_FACE_EXT        0x81BA
  2040 #endif
  2041 
  2042 #ifndef GL_EXT_index_func
  2043 #define GL_INDEX_TEST_EXT                 0x81B5
  2044 #define GL_INDEX_TEST_FUNC_EXT            0x81B6
  2045 #define GL_INDEX_TEST_REF_EXT             0x81B7
  2046 #endif
  2047 
  2048 #ifndef GL_EXT_index_array_formats
  2049 #define GL_IUI_V2F_EXT                    0x81AD
  2050 #define GL_IUI_V3F_EXT                    0x81AE
  2051 #define GL_IUI_N3F_V2F_EXT                0x81AF
  2052 #define GL_IUI_N3F_V3F_EXT                0x81B0
  2053 #define GL_T2F_IUI_V2F_EXT                0x81B1
  2054 #define GL_T2F_IUI_V3F_EXT                0x81B2
  2055 #define GL_T2F_IUI_N3F_V2F_EXT            0x81B3
  2056 #define GL_T2F_IUI_N3F_V3F_EXT            0x81B4
  2057 #endif
  2058 
  2059 #ifndef GL_EXT_compiled_vertex_array
  2060 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT   0x81A8
  2061 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT   0x81A9
  2062 #endif
  2063 
  2064 #ifndef GL_EXT_cull_vertex
  2065 #define GL_CULL_VERTEX_EXT                0x81AA
  2066 #define GL_CULL_VERTEX_EYE_POSITION_EXT   0x81AB
  2067 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
  2068 #endif
  2069 
  2070 #ifndef GL_SGIX_ycrcb
  2071 #define GL_YCRCB_422_SGIX                 0x81BB
  2072 #define GL_YCRCB_444_SGIX                 0x81BC
  2073 #endif
  2074 
  2075 #ifndef GL_SGIX_fragment_lighting
  2076 #define GL_FRAGMENT_LIGHTING_SGIX         0x8400
  2077 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX   0x8401
  2078 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
  2079 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
  2080 #define GL_MAX_FRAGMENT_LIGHTS_SGIX       0x8404
  2081 #define GL_MAX_ACTIVE_LIGHTS_SGIX         0x8405
  2082 #define GL_CURRENT_RASTER_NORMAL_SGIX     0x8406
  2083 #define GL_LIGHT_ENV_MODE_SGIX            0x8407
  2084 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
  2085 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
  2086 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
  2087 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
  2088 #define GL_FRAGMENT_LIGHT0_SGIX           0x840C
  2089 #define GL_FRAGMENT_LIGHT1_SGIX           0x840D
  2090 #define GL_FRAGMENT_LIGHT2_SGIX           0x840E
  2091 #define GL_FRAGMENT_LIGHT3_SGIX           0x840F
  2092 #define GL_FRAGMENT_LIGHT4_SGIX           0x8410
  2093 #define GL_FRAGMENT_LIGHT5_SGIX           0x8411
  2094 #define GL_FRAGMENT_LIGHT6_SGIX           0x8412
  2095 #define GL_FRAGMENT_LIGHT7_SGIX           0x8413
  2096 #endif
  2097 
  2098 #ifndef GL_IBM_rasterpos_clip
  2099 #define GL_RASTER_POSITION_UNCLIPPED_IBM  0x19262
  2100 #endif
  2101 
  2102 #ifndef GL_HP_texture_lighting
  2103 #define GL_TEXTURE_LIGHTING_MODE_HP       0x8167
  2104 #define GL_TEXTURE_POST_SPECULAR_HP       0x8168
  2105 #define GL_TEXTURE_PRE_SPECULAR_HP        0x8169
  2106 #endif
  2107 
  2108 #ifndef GL_EXT_draw_range_elements
  2109 #define GL_MAX_ELEMENTS_VERTICES_EXT      0x80E8
  2110 #define GL_MAX_ELEMENTS_INDICES_EXT       0x80E9
  2111 #endif
  2112 
  2113 #ifndef GL_WIN_phong_shading
  2114 #define GL_PHONG_WIN                      0x80EA
  2115 #define GL_PHONG_HINT_WIN                 0x80EB
  2116 #endif
  2117 
  2118 #ifndef GL_WIN_specular_fog
  2119 #define GL_FOG_SPECULAR_TEXTURE_WIN       0x80EC
  2120 #endif
  2121 
  2122 #ifndef GL_EXT_light_texture
  2123 #define GL_FRAGMENT_MATERIAL_EXT          0x8349
  2124 #define GL_FRAGMENT_NORMAL_EXT            0x834A
  2125 #define GL_FRAGMENT_COLOR_EXT             0x834C
  2126 #define GL_ATTENUATION_EXT                0x834D
  2127 #define GL_SHADOW_ATTENUATION_EXT         0x834E
  2128 #define GL_TEXTURE_APPLICATION_MODE_EXT   0x834F
  2129 #define GL_TEXTURE_LIGHT_EXT              0x8350
  2130 #define GL_TEXTURE_MATERIAL_FACE_EXT      0x8351
  2131 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
  2132 /* reuse GL_FRAGMENT_DEPTH_EXT */
  2133 #endif
  2134 
  2135 #ifndef GL_SGIX_blend_alpha_minmax
  2136 #define GL_ALPHA_MIN_SGIX                 0x8320
  2137 #define GL_ALPHA_MAX_SGIX                 0x8321
  2138 #endif
  2139 
  2140 #ifndef GL_SGIX_impact_pixel_texture
  2141 #define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX   0x8184
  2142 #define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX     0x8185
  2143 #define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX     0x8186
  2144 #define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187
  2145 #define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188
  2146 #define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX    0x8189
  2147 #define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX    0x818A
  2148 #endif
  2149 
  2150 #ifndef GL_EXT_bgra
  2151 #define GL_BGR_EXT                        0x80E0
  2152 #define GL_BGRA_EXT                       0x80E1
  2153 #endif
  2154 
  2155 #ifndef GL_SGIX_async
  2156 #define GL_ASYNC_MARKER_SGIX              0x8329
  2157 #endif
  2158 
  2159 #ifndef GL_SGIX_async_pixel
  2160 #define GL_ASYNC_TEX_IMAGE_SGIX           0x835C
  2161 #define GL_ASYNC_DRAW_PIXELS_SGIX         0x835D
  2162 #define GL_ASYNC_READ_PIXELS_SGIX         0x835E
  2163 #define GL_MAX_ASYNC_TEX_IMAGE_SGIX       0x835F
  2164 #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX     0x8360
  2165 #define GL_MAX_ASYNC_READ_PIXELS_SGIX     0x8361
  2166 #endif
  2167 
  2168 #ifndef GL_SGIX_async_histogram
  2169 #define GL_ASYNC_HISTOGRAM_SGIX           0x832C
  2170 #define GL_MAX_ASYNC_HISTOGRAM_SGIX       0x832D
  2171 #endif
  2172 
  2173 #ifndef GL_INTEL_texture_scissor
  2174 #endif
  2175 
  2176 #ifndef GL_INTEL_parallel_arrays
  2177 #define GL_PARALLEL_ARRAYS_INTEL          0x83F4
  2178 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
  2179 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
  2180 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
  2181 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
  2182 #endif
  2183 
  2184 #ifndef GL_HP_occlusion_test
  2185 #define GL_OCCLUSION_TEST_HP              0x8165
  2186 #define GL_OCCLUSION_TEST_RESULT_HP       0x8166
  2187 #endif
  2188 
  2189 #ifndef GL_EXT_pixel_transform
  2190 #define GL_PIXEL_TRANSFORM_2D_EXT         0x8330
  2191 #define GL_PIXEL_MAG_FILTER_EXT           0x8331
  2192 #define GL_PIXEL_MIN_FILTER_EXT           0x8332
  2193 #define GL_PIXEL_CUBIC_WEIGHT_EXT         0x8333
  2194 #define GL_CUBIC_EXT                      0x8334
  2195 #define GL_AVERAGE_EXT                    0x8335
  2196 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
  2197 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
  2198 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT  0x8338
  2199 #endif
  2200 
  2201 #ifndef GL_EXT_pixel_transform_color_table
  2202 #endif
  2203 
  2204 #ifndef GL_EXT_shared_texture_palette
  2205 #define GL_SHARED_TEXTURE_PALETTE_EXT     0x81FB
  2206 #endif
  2207 
  2208 #ifndef GL_EXT_separate_specular_color
  2209 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT  0x81F8
  2210 #define GL_SINGLE_COLOR_EXT               0x81F9
  2211 #define GL_SEPARATE_SPECULAR_COLOR_EXT    0x81FA
  2212 #endif
  2213 
  2214 #ifndef GL_EXT_secondary_color
  2215 #define GL_COLOR_SUM_EXT                  0x8458
  2216 #define GL_CURRENT_SECONDARY_COLOR_EXT    0x8459
  2217 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
  2218 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
  2219 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
  2220 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
  2221 #define GL_SECONDARY_COLOR_ARRAY_EXT      0x845E
  2222 #endif
  2223 
  2224 #ifndef GL_EXT_texture_perturb_normal
  2225 #define GL_PERTURB_EXT                    0x85AE
  2226 #define GL_TEXTURE_NORMAL_EXT             0x85AF
  2227 #endif
  2228 
  2229 #ifndef GL_EXT_multi_draw_arrays
  2230 #endif
  2231 
  2232 #ifndef GL_EXT_fog_coord
  2233 #define GL_FOG_COORDINATE_SOURCE_EXT      0x8450
  2234 #define GL_FOG_COORDINATE_EXT             0x8451
  2235 #define GL_FRAGMENT_DEPTH_EXT             0x8452
  2236 #define GL_CURRENT_FOG_COORDINATE_EXT     0x8453
  2237 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT  0x8454
  2238 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
  2239 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
  2240 #define GL_FOG_COORDINATE_ARRAY_EXT       0x8457
  2241 #endif
  2242 
  2243 #ifndef GL_REND_screen_coordinates
  2244 #define GL_SCREEN_COORDINATES_REND        0x8490
  2245 #define GL_INVERTED_SCREEN_W_REND         0x8491
  2246 #endif
  2247 
  2248 #ifndef GL_EXT_coordinate_frame
  2249 #define GL_TANGENT_ARRAY_EXT              0x8439
  2250 #define GL_BINORMAL_ARRAY_EXT             0x843A
  2251 #define GL_CURRENT_TANGENT_EXT            0x843B
  2252 #define GL_CURRENT_BINORMAL_EXT           0x843C
  2253 #define GL_TANGENT_ARRAY_TYPE_EXT         0x843E
  2254 #define GL_TANGENT_ARRAY_STRIDE_EXT       0x843F
  2255 #define GL_BINORMAL_ARRAY_TYPE_EXT        0x8440
  2256 #define GL_BINORMAL_ARRAY_STRIDE_EXT      0x8441
  2257 #define GL_TANGENT_ARRAY_POINTER_EXT      0x8442
  2258 #define GL_BINORMAL_ARRAY_POINTER_EXT     0x8443
  2259 #define GL_MAP1_TANGENT_EXT               0x8444
  2260 #define GL_MAP2_TANGENT_EXT               0x8445
  2261 #define GL_MAP1_BINORMAL_EXT              0x8446
  2262 #define GL_MAP2_BINORMAL_EXT              0x8447
  2263 #endif
  2264 
  2265 #ifndef GL_EXT_texture_env_combine
  2266 #define GL_COMBINE_EXT                    0x8570
  2267 #define GL_COMBINE_RGB_EXT                0x8571
  2268 #define GL_COMBINE_ALPHA_EXT              0x8572
  2269 #define GL_RGB_SCALE_EXT                  0x8573
  2270 #define GL_ADD_SIGNED_EXT                 0x8574
  2271 #define GL_INTERPOLATE_EXT                0x8575
  2272 #define GL_CONSTANT_EXT                   0x8576
  2273 #define GL_PRIMARY_COLOR_EXT              0x8577
  2274 #define GL_PREVIOUS_EXT                   0x8578
  2275 #define GL_SOURCE0_RGB_EXT                0x8580
  2276 #define GL_SOURCE1_RGB_EXT                0x8581
  2277 #define GL_SOURCE2_RGB_EXT                0x8582
  2278 #define GL_SOURCE0_ALPHA_EXT              0x8588
  2279 #define GL_SOURCE1_ALPHA_EXT              0x8589
  2280 #define GL_SOURCE2_ALPHA_EXT              0x858A
  2281 #define GL_OPERAND0_RGB_EXT               0x8590
  2282 #define GL_OPERAND1_RGB_EXT               0x8591
  2283 #define GL_OPERAND2_RGB_EXT               0x8592
  2284 #define GL_OPERAND0_ALPHA_EXT             0x8598
  2285 #define GL_OPERAND1_ALPHA_EXT             0x8599
  2286 #define GL_OPERAND2_ALPHA_EXT             0x859A
  2287 #endif
  2288 
  2289 #ifndef GL_APPLE_specular_vector
  2290 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
  2291 #endif
  2292 
  2293 #ifndef GL_APPLE_transform_hint
  2294 #define GL_TRANSFORM_HINT_APPLE           0x85B1
  2295 #endif
  2296 
  2297 #ifndef GL_SGIX_fog_scale
  2298 #define GL_FOG_SCALE_SGIX                 0x81FC
  2299 #define GL_FOG_SCALE_VALUE_SGIX           0x81FD
  2300 #endif
  2301 
  2302 #ifndef GL_SUNX_constant_data
  2303 #define GL_UNPACK_CONSTANT_DATA_SUNX      0x81D5
  2304 #define GL_TEXTURE_CONSTANT_DATA_SUNX     0x81D6
  2305 #endif
  2306 
  2307 #ifndef GL_SUN_global_alpha
  2308 #define GL_GLOBAL_ALPHA_SUN               0x81D9
  2309 #define GL_GLOBAL_ALPHA_FACTOR_SUN        0x81DA
  2310 #endif
  2311 
  2312 #ifndef GL_SUN_triangle_list
  2313 #define GL_RESTART_SUN                    0x0001
  2314 #define GL_REPLACE_MIDDLE_SUN             0x0002
  2315 #define GL_REPLACE_OLDEST_SUN             0x0003
  2316 #define GL_TRIANGLE_LIST_SUN              0x81D7
  2317 #define GL_REPLACEMENT_CODE_SUN           0x81D8
  2318 #define GL_REPLACEMENT_CODE_ARRAY_SUN     0x85C0
  2319 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
  2320 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
  2321 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
  2322 #define GL_R1UI_V3F_SUN                   0x85C4
  2323 #define GL_R1UI_C4UB_V3F_SUN              0x85C5
  2324 #define GL_R1UI_C3F_V3F_SUN               0x85C6
  2325 #define GL_R1UI_N3F_V3F_SUN               0x85C7
  2326 #define GL_R1UI_C4F_N3F_V3F_SUN           0x85C8
  2327 #define GL_R1UI_T2F_V3F_SUN               0x85C9
  2328 #define GL_R1UI_T2F_N3F_V3F_SUN           0x85CA
  2329 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN       0x85CB
  2330 #endif
  2331 
  2332 #ifndef GL_SUN_vertex
  2333 #endif
  2334 
  2335 #ifndef GL_EXT_blend_func_separate
  2336 #define GL_BLEND_DST_RGB_EXT              0x80C8
  2337 #define GL_BLEND_SRC_RGB_EXT              0x80C9
  2338 #define GL_BLEND_DST_ALPHA_EXT            0x80CA
  2339 #define GL_BLEND_SRC_ALPHA_EXT            0x80CB
  2340 #endif
  2341 
  2342 #ifndef GL_INGR_color_clamp
  2343 #define GL_RED_MIN_CLAMP_INGR             0x8560
  2344 #define GL_GREEN_MIN_CLAMP_INGR           0x8561
  2345 #define GL_BLUE_MIN_CLAMP_INGR            0x8562
  2346 #define GL_ALPHA_MIN_CLAMP_INGR           0x8563
  2347 #define GL_RED_MAX_CLAMP_INGR             0x8564
  2348 #define GL_GREEN_MAX_CLAMP_INGR           0x8565
  2349 #define GL_BLUE_MAX_CLAMP_INGR            0x8566
  2350 #define GL_ALPHA_MAX_CLAMP_INGR           0x8567
  2351 #endif
  2352 
  2353 #ifndef GL_INGR_interlace_read
  2354 #define GL_INTERLACE_READ_INGR            0x8568
  2355 #endif
  2356 
  2357 #ifndef GL_EXT_stencil_wrap
  2358 #define GL_INCR_WRAP_EXT                  0x8507
  2359 #define GL_DECR_WRAP_EXT                  0x8508
  2360 #endif
  2361 
  2362 #ifndef GL_EXT_422_pixels
  2363 #define GL_422_EXT                        0x80CC
  2364 #define GL_422_REV_EXT                    0x80CD
  2365 #define GL_422_AVERAGE_EXT                0x80CE
  2366 #define GL_422_REV_AVERAGE_EXT            0x80CF
  2367 #endif
  2368 
  2369 #ifndef GL_NV_texgen_reflection
  2370 #define GL_NORMAL_MAP_NV                  0x8511
  2371 #define GL_REFLECTION_MAP_NV              0x8512
  2372 #endif
  2373 
  2374 #ifndef GL_EXT_texture_cube_map
  2375 #define GL_NORMAL_MAP_EXT                 0x8511
  2376 #define GL_REFLECTION_MAP_EXT             0x8512
  2377 #define GL_TEXTURE_CUBE_MAP_EXT           0x8513
  2378 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
  2379 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
  2380 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
  2381 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
  2382 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
  2383 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
  2384 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
  2385 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT     0x851B
  2386 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT  0x851C
  2387 #endif
  2388 
  2389 #ifndef GL_SUN_convolution_border_modes
  2390 #define GL_WRAP_BORDER_SUN                0x81D4
  2391 #endif
  2392 
  2393 #ifndef GL_EXT_texture_env_add
  2394 #endif
  2395 
  2396 #ifndef GL_EXT_texture_lod_bias
  2397 #define GL_MAX_TEXTURE_LOD_BIAS_EXT       0x84FD
  2398 #define GL_TEXTURE_FILTER_CONTROL_EXT     0x8500
  2399 #define GL_TEXTURE_LOD_BIAS_EXT           0x8501
  2400 #endif
  2401 
  2402 #ifndef GL_EXT_texture_filter_anisotropic
  2403 #define GL_TEXTURE_MAX_ANISOTROPY_EXT     0x84FE
  2404 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
  2405 #endif
  2406 
  2407 #ifndef GL_EXT_vertex_weighting
  2408 #define GL_MODELVIEW0_STACK_DEPTH_EXT     GL_MODELVIEW_STACK_DEPTH
  2409 #define GL_MODELVIEW1_STACK_DEPTH_EXT     0x8502
  2410 #define GL_MODELVIEW0_MATRIX_EXT          GL_MODELVIEW_MATRIX
  2411 #define GL_MODELVIEW1_MATRIX_EXT          0x8506
  2412 #define GL_VERTEX_WEIGHTING_EXT           0x8509
  2413 #define GL_MODELVIEW0_EXT                 GL_MODELVIEW
  2414 #define GL_MODELVIEW1_EXT                 0x850A
  2415 #define GL_CURRENT_VERTEX_WEIGHT_EXT      0x850B
  2416 #define GL_VERTEX_WEIGHT_ARRAY_EXT        0x850C
  2417 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT   0x850D
  2418 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT   0x850E
  2419 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
  2420 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
  2421 #endif
  2422 
  2423 #ifndef GL_NV_light_max_exponent
  2424 #define GL_MAX_SHININESS_NV               0x8504
  2425 #define GL_MAX_SPOT_EXPONENT_NV           0x8505
  2426 #endif
  2427 
  2428 #ifndef GL_NV_vertex_array_range
  2429 #define GL_VERTEX_ARRAY_RANGE_NV          0x851D
  2430 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV   0x851E
  2431 #define GL_VERTEX_ARRAY_RANGE_VALID_NV    0x851F
  2432 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
  2433 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV  0x8521
  2434 #endif
  2435 
  2436 #ifndef GL_NV_register_combiners
  2437 #define GL_REGISTER_COMBINERS_NV          0x8522
  2438 #define GL_VARIABLE_A_NV                  0x8523
  2439 #define GL_VARIABLE_B_NV                  0x8524
  2440 #define GL_VARIABLE_C_NV                  0x8525
  2441 #define GL_VARIABLE_D_NV                  0x8526
  2442 #define GL_VARIABLE_E_NV                  0x8527
  2443 #define GL_VARIABLE_F_NV                  0x8528
  2444 #define GL_VARIABLE_G_NV                  0x8529
  2445 #define GL_CONSTANT_COLOR0_NV             0x852A
  2446 #define GL_CONSTANT_COLOR1_NV             0x852B
  2447 #define GL_PRIMARY_COLOR_NV               0x852C
  2448 #define GL_SECONDARY_COLOR_NV             0x852D
  2449 #define GL_SPARE0_NV                      0x852E
  2450 #define GL_SPARE1_NV                      0x852F
  2451 #define GL_DISCARD_NV                     0x8530
  2452 #define GL_E_TIMES_F_NV                   0x8531
  2453 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
  2454 #define GL_UNSIGNED_IDENTITY_NV           0x8536
  2455 #define GL_UNSIGNED_INVERT_NV             0x8537
  2456 #define GL_EXPAND_NORMAL_NV               0x8538
  2457 #define GL_EXPAND_NEGATE_NV               0x8539
  2458 #define GL_HALF_BIAS_NORMAL_NV            0x853A
  2459 #define GL_HALF_BIAS_NEGATE_NV            0x853B
  2460 #define GL_SIGNED_IDENTITY_NV             0x853C
  2461 #define GL_SIGNED_NEGATE_NV               0x853D
  2462 #define GL_SCALE_BY_TWO_NV                0x853E
  2463 #define GL_SCALE_BY_FOUR_NV               0x853F
  2464 #define GL_SCALE_BY_ONE_HALF_NV           0x8540
  2465 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV   0x8541
  2466 #define GL_COMBINER_INPUT_NV              0x8542
  2467 #define GL_COMBINER_MAPPING_NV            0x8543
  2468 #define GL_COMBINER_COMPONENT_USAGE_NV    0x8544
  2469 #define GL_COMBINER_AB_DOT_PRODUCT_NV     0x8545
  2470 #define GL_COMBINER_CD_DOT_PRODUCT_NV     0x8546
  2471 #define GL_COMBINER_MUX_SUM_NV            0x8547
  2472 #define GL_COMBINER_SCALE_NV              0x8548
  2473 #define GL_COMBINER_BIAS_NV               0x8549
  2474 #define GL_COMBINER_AB_OUTPUT_NV          0x854A
  2475 #define GL_COMBINER_CD_OUTPUT_NV          0x854B
  2476 #define GL_COMBINER_SUM_OUTPUT_NV         0x854C
  2477 #define GL_MAX_GENERAL_COMBINERS_NV       0x854D
  2478 #define GL_NUM_GENERAL_COMBINERS_NV       0x854E
  2479 #define GL_COLOR_SUM_CLAMP_NV             0x854F
  2480 #define GL_COMBINER0_NV                   0x8550
  2481 #define GL_COMBINER1_NV                   0x8551
  2482 #define GL_COMBINER2_NV                   0x8552
  2483 #define GL_COMBINER3_NV                   0x8553
  2484 #define GL_COMBINER4_NV                   0x8554
  2485 #define GL_COMBINER5_NV                   0x8555
  2486 #define GL_COMBINER6_NV                   0x8556
  2487 #define GL_COMBINER7_NV                   0x8557
  2488 /* reuse GL_TEXTURE0_ARB */
  2489 /* reuse GL_TEXTURE1_ARB */
  2490 /* reuse GL_ZERO */
  2491 /* reuse GL_NONE */
  2492 /* reuse GL_FOG */
  2493 #endif
  2494 
  2495 #ifndef GL_NV_fog_distance
  2496 #define GL_FOG_DISTANCE_MODE_NV           0x855A
  2497 #define GL_EYE_RADIAL_NV                  0x855B
  2498 #define GL_EYE_PLANE_ABSOLUTE_NV          0x855C
  2499 /* reuse GL_EYE_PLANE */
  2500 #endif
  2501 
  2502 #ifndef GL_NV_texgen_emboss
  2503 #define GL_EMBOSS_LIGHT_NV                0x855D
  2504 #define GL_EMBOSS_CONSTANT_NV             0x855E
  2505 #define GL_EMBOSS_MAP_NV                  0x855F
  2506 #endif
  2507 
  2508 #ifndef GL_NV_blend_square
  2509 #endif
  2510 
  2511 #ifndef GL_NV_texture_env_combine4
  2512 #define GL_COMBINE4_NV                    0x8503
  2513 #define GL_SOURCE3_RGB_NV                 0x8583
  2514 #define GL_SOURCE3_ALPHA_NV               0x858B
  2515 #define GL_OPERAND3_RGB_NV                0x8593
  2516 #define GL_OPERAND3_ALPHA_NV              0x859B
  2517 #endif
  2518 
  2519 #ifndef GL_MESA_resize_buffers
  2520 #endif
  2521 
  2522 #ifndef GL_MESA_window_pos
  2523 #endif
  2524 
  2525 #ifndef GL_EXT_texture_compression_s3tc
  2526 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
  2527 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
  2528 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
  2529 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
  2530 #endif
  2531 
  2532 #ifndef GL_IBM_cull_vertex
  2533 #define GL_CULL_VERTEX_IBM                103050
  2534 #endif
  2535 
  2536 #ifndef GL_IBM_multimode_draw_arrays
  2537 #endif
  2538 
  2539 #ifndef GL_IBM_vertex_array_lists
  2540 #define GL_VERTEX_ARRAY_LIST_IBM          103070
  2541 #define GL_NORMAL_ARRAY_LIST_IBM          103071
  2542 #define GL_COLOR_ARRAY_LIST_IBM           103072
  2543 #define GL_INDEX_ARRAY_LIST_IBM           103073
  2544 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM   103074
  2545 #define GL_EDGE_FLAG_ARRAY_LIST_IBM       103075
  2546 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM  103076
  2547 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
  2548 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM   103080
  2549 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM   103081
  2550 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM    103082
  2551 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM    103083
  2552 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
  2553 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
  2554 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
  2555 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
  2556 #endif
  2557 
  2558 #ifndef GL_SGIX_subsample
  2559 #define GL_PACK_SUBSAMPLE_RATE_SGIX       0x85A0
  2560 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX     0x85A1
  2561 #define GL_PIXEL_SUBSAMPLE_4444_SGIX      0x85A2
  2562 #define GL_PIXEL_SUBSAMPLE_2424_SGIX      0x85A3
  2563 #define GL_PIXEL_SUBSAMPLE_4242_SGIX      0x85A4
  2564 #endif
  2565 
  2566 #ifndef GL_SGIX_ycrcb_subsample
  2567 #endif
  2568 
  2569 #ifndef GL_SGIX_ycrcba
  2570 #define GL_YCRCB_SGIX                     0x8318
  2571 #define GL_YCRCBA_SGIX                    0x8319
  2572 #endif
  2573 
  2574 #ifndef GL_SGI_depth_pass_instrument
  2575 #define GL_DEPTH_PASS_INSTRUMENT_SGIX     0x8310
  2576 #define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
  2577 #define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
  2578 #endif
  2579 
  2580 #ifndef GL_3DFX_texture_compression_FXT1
  2581 #define GL_COMPRESSED_RGB_FXT1_3DFX       0x86B0
  2582 #define GL_COMPRESSED_RGBA_FXT1_3DFX      0x86B1
  2583 #endif
  2584 
  2585 #ifndef GL_3DFX_multisample
  2586 #define GL_MULTISAMPLE_3DFX               0x86B2
  2587 #define GL_SAMPLE_BUFFERS_3DFX            0x86B3
  2588 #define GL_SAMPLES_3DFX                   0x86B4
  2589 #define GL_MULTISAMPLE_BIT_3DFX           0x20000000
  2590 #endif
  2591 
  2592 #ifndef GL_3DFX_tbuffer
  2593 #endif
  2594 
  2595 #ifndef GL_EXT_multisample
  2596 #define GL_MULTISAMPLE_EXT                0x809D
  2597 #define GL_SAMPLE_ALPHA_TO_MASK_EXT       0x809E
  2598 #define GL_SAMPLE_ALPHA_TO_ONE_EXT        0x809F
  2599 #define GL_SAMPLE_MASK_EXT                0x80A0
  2600 #define GL_1PASS_EXT                      0x80A1
  2601 #define GL_2PASS_0_EXT                    0x80A2
  2602 #define GL_2PASS_1_EXT                    0x80A3
  2603 #define GL_4PASS_0_EXT                    0x80A4
  2604 #define GL_4PASS_1_EXT                    0x80A5
  2605 #define GL_4PASS_2_EXT                    0x80A6
  2606 #define GL_4PASS_3_EXT                    0x80A7
  2607 #define GL_SAMPLE_BUFFERS_EXT             0x80A8
  2608 #define GL_SAMPLES_EXT                    0x80A9
  2609 #define GL_SAMPLE_MASK_VALUE_EXT          0x80AA
  2610 #define GL_SAMPLE_MASK_INVERT_EXT         0x80AB
  2611 #define GL_SAMPLE_PATTERN_EXT             0x80AC
  2612 #define GL_MULTISAMPLE_BIT_EXT            0x20000000
  2613 #endif
  2614 
  2615 #ifndef GL_SGIX_vertex_preclip
  2616 #define GL_VERTEX_PRECLIP_SGIX            0x83EE
  2617 #define GL_VERTEX_PRECLIP_HINT_SGIX       0x83EF
  2618 #endif
  2619 
  2620 #ifndef GL_SGIX_convolution_accuracy
  2621 #define GL_CONVOLUTION_HINT_SGIX          0x8316
  2622 #endif
  2623 
  2624 #ifndef GL_SGIX_resample
  2625 #define GL_PACK_RESAMPLE_SGIX             0x842C
  2626 #define GL_UNPACK_RESAMPLE_SGIX           0x842D
  2627 #define GL_RESAMPLE_REPLICATE_SGIX        0x842E
  2628 #define GL_RESAMPLE_ZERO_FILL_SGIX        0x842F
  2629 #define GL_RESAMPLE_DECIMATE_SGIX         0x8430
  2630 #endif
  2631 
  2632 #ifndef GL_SGIS_point_line_texgen
  2633 #define GL_EYE_DISTANCE_TO_POINT_SGIS     0x81F0
  2634 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS  0x81F1
  2635 #define GL_EYE_DISTANCE_TO_LINE_SGIS      0x81F2
  2636 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS   0x81F3
  2637 #define GL_EYE_POINT_SGIS                 0x81F4
  2638 #define GL_OBJECT_POINT_SGIS              0x81F5
  2639 #define GL_EYE_LINE_SGIS                  0x81F6
  2640 #define GL_OBJECT_LINE_SGIS               0x81F7
  2641 #endif
  2642 
  2643 #ifndef GL_SGIS_texture_color_mask
  2644 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS   0x81EF
  2645 #endif
  2646 
  2647 #ifndef GL_EXT_texture_env_dot3
  2648 #define GL_DOT3_RGB_EXT                   0x8740
  2649 #define GL_DOT3_RGBA_EXT                  0x8741
  2650 #endif
  2651 
  2652 #ifndef GL_ATI_texture_mirror_once
  2653 #define GL_MIRROR_CLAMP_ATI               0x8742
  2654 #define GL_MIRROR_CLAMP_TO_EDGE_ATI       0x8743
  2655 #endif
  2656 
  2657 #ifndef GL_NV_fence
  2658 #define GL_ALL_COMPLETED_NV               0x84F2
  2659 #define GL_FENCE_STATUS_NV                0x84F3
  2660 #define GL_FENCE_CONDITION_NV             0x84F4
  2661 #endif
  2662 
  2663 #ifndef GL_IBM_texture_mirrored_repeat
  2664 #define GL_MIRRORED_REPEAT_IBM            0x8370
  2665 #endif
  2666 
  2667 #ifndef GL_NV_evaluators
  2668 #define GL_EVAL_2D_NV                     0x86C0
  2669 #define GL_EVAL_TRIANGULAR_2D_NV          0x86C1
  2670 #define GL_MAP_TESSELLATION_NV            0x86C2
  2671 #define GL_MAP_ATTRIB_U_ORDER_NV          0x86C3
  2672 #define GL_MAP_ATTRIB_V_ORDER_NV          0x86C4
  2673 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
  2674 #define GL_EVAL_VERTEX_ATTRIB0_NV         0x86C6
  2675 #define GL_EVAL_VERTEX_ATTRIB1_NV         0x86C7
  2676 #define GL_EVAL_VERTEX_ATTRIB2_NV         0x86C8
  2677 #define GL_EVAL_VERTEX_ATTRIB3_NV         0x86C9
  2678 #define GL_EVAL_VERTEX_ATTRIB4_NV         0x86CA
  2679 #define GL_EVAL_VERTEX_ATTRIB5_NV         0x86CB
  2680 #define GL_EVAL_VERTEX_ATTRIB6_NV         0x86CC
  2681 #define GL_EVAL_VERTEX_ATTRIB7_NV         0x86CD
  2682 #define GL_EVAL_VERTEX_ATTRIB8_NV         0x86CE
  2683 #define GL_EVAL_VERTEX_ATTRIB9_NV         0x86CF
  2684 #define GL_EVAL_VERTEX_ATTRIB10_NV        0x86D0
  2685 #define GL_EVAL_VERTEX_ATTRIB11_NV        0x86D1
  2686 #define GL_EVAL_VERTEX_ATTRIB12_NV        0x86D2
  2687 #define GL_EVAL_VERTEX_ATTRIB13_NV        0x86D3
  2688 #define GL_EVAL_VERTEX_ATTRIB14_NV        0x86D4
  2689 #define GL_EVAL_VERTEX_ATTRIB15_NV        0x86D5
  2690 #define GL_MAX_MAP_TESSELLATION_NV        0x86D6
  2691 #define GL_MAX_RATIONAL_EVAL_ORDER_NV     0x86D7
  2692 #endif
  2693 
  2694 #ifndef GL_NV_packed_depth_stencil
  2695 #define GL_DEPTH_STENCIL_NV               0x84F9
  2696 #define GL_UNSIGNED_INT_24_8_NV           0x84FA
  2697 #endif
  2698 
  2699 #ifndef GL_NV_register_combiners2
  2700 #define GL_PER_STAGE_CONSTANTS_NV         0x8535
  2701 #endif
  2702 
  2703 #ifndef GL_NV_texture_compression_vtc
  2704 #endif
  2705 
  2706 #ifndef GL_NV_texture_rectangle
  2707 #define GL_TEXTURE_RECTANGLE_NV           0x84F5
  2708 #define GL_TEXTURE_BINDING_RECTANGLE_NV   0x84F6
  2709 #define GL_PROXY_TEXTURE_RECTANGLE_NV     0x84F7
  2710 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV  0x84F8
  2711 #endif
  2712 
  2713 #ifndef GL_NV_texture_shader
  2714 #define GL_OFFSET_TEXTURE_RECTANGLE_NV    0x864C
  2715 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
  2716 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
  2717 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
  2718 #define GL_UNSIGNED_INT_S8_S8_8_8_NV      0x86DA
  2719 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV  0x86DB
  2720 #define GL_DSDT_MAG_INTENSITY_NV          0x86DC
  2721 #define GL_SHADER_CONSISTENT_NV           0x86DD
  2722 #define GL_TEXTURE_SHADER_NV              0x86DE
  2723 #define GL_SHADER_OPERATION_NV            0x86DF
  2724 #define GL_CULL_MODES_NV                  0x86E0
  2725 #define GL_OFFSET_TEXTURE_MATRIX_NV       0x86E1
  2726 #define GL_OFFSET_TEXTURE_SCALE_NV        0x86E2
  2727 #define GL_OFFSET_TEXTURE_BIAS_NV         0x86E3
  2728 #define GL_OFFSET_TEXTURE_2D_MATRIX_NV    GL_OFFSET_TEXTURE_MATRIX_NV
  2729 #define GL_OFFSET_TEXTURE_2D_SCALE_NV     GL_OFFSET_TEXTURE_SCALE_NV
  2730 #define GL_OFFSET_TEXTURE_2D_BIAS_NV      GL_OFFSET_TEXTURE_BIAS_NV
  2731 #define GL_PREVIOUS_TEXTURE_INPUT_NV      0x86E4
  2732 #define GL_CONST_EYE_NV                   0x86E5
  2733 #define GL_PASS_THROUGH_NV                0x86E6
  2734 #define GL_CULL_FRAGMENT_NV               0x86E7
  2735 #define GL_OFFSET_TEXTURE_2D_NV           0x86E8
  2736 #define GL_DEPENDENT_AR_TEXTURE_2D_NV     0x86E9
  2737 #define GL_DEPENDENT_GB_TEXTURE_2D_NV     0x86EA
  2738 #define GL_DOT_PRODUCT_NV                 0x86EC
  2739 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV   0x86ED
  2740 #define GL_DOT_PRODUCT_TEXTURE_2D_NV      0x86EE
  2741 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
  2742 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
  2743 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
  2744 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
  2745 #define GL_HILO_NV                        0x86F4
  2746 #define GL_DSDT_NV                        0x86F5
  2747 #define GL_DSDT_MAG_NV                    0x86F6
  2748 #define GL_DSDT_MAG_VIB_NV                0x86F7
  2749 #define GL_HILO16_NV                      0x86F8
  2750 #define GL_SIGNED_HILO_NV                 0x86F9
  2751 #define GL_SIGNED_HILO16_NV               0x86FA
  2752 #define GL_SIGNED_RGBA_NV                 0x86FB
  2753 #define GL_SIGNED_RGBA8_NV                0x86FC
  2754 #define GL_SIGNED_RGB_NV                  0x86FE
  2755 #define GL_SIGNED_RGB8_NV                 0x86FF
  2756 #define GL_SIGNED_LUMINANCE_NV            0x8701
  2757 #define GL_SIGNED_LUMINANCE8_NV           0x8702
  2758 #define GL_SIGNED_LUMINANCE_ALPHA_NV      0x8703
  2759 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV    0x8704
  2760 #define GL_SIGNED_ALPHA_NV                0x8705
  2761 #define GL_SIGNED_ALPHA8_NV               0x8706
  2762 #define GL_SIGNED_INTENSITY_NV            0x8707
  2763 #define GL_SIGNED_INTENSITY8_NV           0x8708
  2764 #define GL_DSDT8_NV                       0x8709
  2765 #define GL_DSDT8_MAG8_NV                  0x870A
  2766 #define GL_DSDT8_MAG8_INTENSITY8_NV       0x870B
  2767 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV   0x870C
  2768 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
  2769 #define GL_HI_SCALE_NV                    0x870E
  2770 #define GL_LO_SCALE_NV                    0x870F
  2771 #define GL_DS_SCALE_NV                    0x8710
  2772 #define GL_DT_SCALE_NV                    0x8711
  2773 #define GL_MAGNITUDE_SCALE_NV             0x8712
  2774 #define GL_VIBRANCE_SCALE_NV              0x8713
  2775 #define GL_HI_BIAS_NV                     0x8714
  2776 #define GL_LO_BIAS_NV                     0x8715
  2777 #define GL_DS_BIAS_NV                     0x8716
  2778 #define GL_DT_BIAS_NV                     0x8717
  2779 #define GL_MAGNITUDE_BIAS_NV              0x8718
  2780 #define GL_VIBRANCE_BIAS_NV               0x8719
  2781 #define GL_TEXTURE_BORDER_VALUES_NV       0x871A
  2782 #define GL_TEXTURE_HI_SIZE_NV             0x871B
  2783 #define GL_TEXTURE_LO_SIZE_NV             0x871C
  2784 #define GL_TEXTURE_DS_SIZE_NV             0x871D
  2785 #define GL_TEXTURE_DT_SIZE_NV             0x871E
  2786 #define GL_TEXTURE_MAG_SIZE_NV            0x871F
  2787 #endif
  2788 
  2789 #ifndef GL_NV_texture_shader2
  2790 #define GL_DOT_PRODUCT_TEXTURE_3D_NV      0x86EF
  2791 #endif
  2792 
  2793 #ifndef GL_NV_vertex_array_range2
  2794 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
  2795 #endif
  2796 
  2797 #ifndef GL_NV_vertex_program
  2798 #define GL_VERTEX_PROGRAM_NV              0x8620
  2799 #define GL_VERTEX_STATE_PROGRAM_NV        0x8621
  2800 #define GL_ATTRIB_ARRAY_SIZE_NV           0x8623
  2801 #define GL_ATTRIB_ARRAY_STRIDE_NV         0x8624
  2802 #define GL_ATTRIB_ARRAY_TYPE_NV           0x8625
  2803 #define GL_CURRENT_ATTRIB_NV              0x8626
  2804 #define GL_PROGRAM_LENGTH_NV              0x8627
  2805 #define GL_PROGRAM_STRING_NV              0x8628
  2806 #define GL_MODELVIEW_PROJECTION_NV        0x8629
  2807 #define GL_IDENTITY_NV                    0x862A
  2808 #define GL_INVERSE_NV                     0x862B
  2809 #define GL_TRANSPOSE_NV                   0x862C
  2810 #define GL_INVERSE_TRANSPOSE_NV           0x862D
  2811 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
  2812 #define GL_MAX_TRACK_MATRICES_NV          0x862F
  2813 #define GL_MATRIX0_NV                     0x8630
  2814 #define GL_MATRIX1_NV                     0x8631
  2815 #define GL_MATRIX2_NV                     0x8632
  2816 #define GL_MATRIX3_NV                     0x8633
  2817 #define GL_MATRIX4_NV                     0x8634
  2818 #define GL_MATRIX5_NV                     0x8635
  2819 #define GL_MATRIX6_NV                     0x8636
  2820 #define GL_MATRIX7_NV                     0x8637
  2821 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV  0x8640
  2822 #define GL_CURRENT_MATRIX_NV              0x8641
  2823 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV   0x8642
  2824 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV     0x8643
  2825 #define GL_PROGRAM_PARAMETER_NV           0x8644
  2826 #define GL_ATTRIB_ARRAY_POINTER_NV        0x8645
  2827 #define GL_PROGRAM_TARGET_NV              0x8646
  2828 #define GL_PROGRAM_RESIDENT_NV            0x8647
  2829 #define GL_TRACK_MATRIX_NV                0x8648
  2830 #define GL_TRACK_MATRIX_TRANSFORM_NV      0x8649
  2831 #define GL_VERTEX_PROGRAM_BINDING_NV      0x864A
  2832 #define GL_PROGRAM_ERROR_POSITION_NV      0x864B
  2833 #define GL_VERTEX_ATTRIB_ARRAY0_NV        0x8650
  2834 #define GL_VERTEX_ATTRIB_ARRAY1_NV        0x8651
  2835 #define GL_VERTEX_ATTRIB_ARRAY2_NV        0x8652
  2836 #define GL_VERTEX_ATTRIB_ARRAY3_NV        0x8653
  2837 #define GL_VERTEX_ATTRIB_ARRAY4_NV        0x8654
  2838 #define GL_VERTEX_ATTRIB_ARRAY5_NV        0x8655
  2839 #define GL_VERTEX_ATTRIB_ARRAY6_NV        0x8656
  2840 #define GL_VERTEX_ATTRIB_ARRAY7_NV        0x8657
  2841 #define GL_VERTEX_ATTRIB_ARRAY8_NV        0x8658
  2842 #define GL_VERTEX_ATTRIB_ARRAY9_NV        0x8659
  2843 #define GL_VERTEX_ATTRIB_ARRAY10_NV       0x865A
  2844 #define GL_VERTEX_ATTRIB_ARRAY11_NV       0x865B
  2845 #define GL_VERTEX_ATTRIB_ARRAY12_NV       0x865C
  2846 #define GL_VERTEX_ATTRIB_ARRAY13_NV       0x865D
  2847 #define GL_VERTEX_ATTRIB_ARRAY14_NV       0x865E
  2848 #define GL_VERTEX_ATTRIB_ARRAY15_NV       0x865F
  2849 #define GL_MAP1_VERTEX_ATTRIB0_4_NV       0x8660
  2850 #define GL_MAP1_VERTEX_ATTRIB1_4_NV       0x8661
  2851 #define GL_MAP1_VERTEX_ATTRIB2_4_NV       0x8662
  2852 #define GL_MAP1_VERTEX_ATTRIB3_4_NV       0x8663
  2853 #define GL_MAP1_VERTEX_ATTRIB4_4_NV       0x8664
  2854 #define GL_MAP1_VERTEX_ATTRIB5_4_NV       0x8665
  2855 #define GL_MAP1_VERTEX_ATTRIB6_4_NV       0x8666
  2856 #define GL_MAP1_VERTEX_ATTRIB7_4_NV       0x8667
  2857 #define GL_MAP1_VERTEX_ATTRIB8_4_NV       0x8668
  2858 #define GL_MAP1_VERTEX_ATTRIB9_4_NV       0x8669
  2859 #define GL_MAP1_VERTEX_ATTRIB10_4_NV      0x866A
  2860 #define GL_MAP1_VERTEX_ATTRIB11_4_NV      0x866B
  2861 #define GL_MAP1_VERTEX_ATTRIB12_4_NV      0x866C
  2862 #define GL_MAP1_VERTEX_ATTRIB13_4_NV      0x866D
  2863 #define GL_MAP1_VERTEX_ATTRIB14_4_NV      0x866E
  2864 #define GL_MAP1_VERTEX_ATTRIB15_4_NV      0x866F
  2865 #define GL_MAP2_VERTEX_ATTRIB0_4_NV       0x8670
  2866 #define GL_MAP2_VERTEX_ATTRIB1_4_NV       0x8671
  2867 #define GL_MAP2_VERTEX_ATTRIB2_4_NV       0x8672
  2868 #define GL_MAP2_VERTEX_ATTRIB3_4_NV       0x8673
  2869 #define GL_MAP2_VERTEX_ATTRIB4_4_NV       0x8674
  2870 #define GL_MAP2_VERTEX_ATTRIB5_4_NV       0x8675
  2871 #define GL_MAP2_VERTEX_ATTRIB6_4_NV       0x8676
  2872 #define GL_MAP2_VERTEX_ATTRIB7_4_NV       0x8677
  2873 #define GL_MAP2_VERTEX_ATTRIB8_4_NV       0x8678
  2874 #define GL_MAP2_VERTEX_ATTRIB9_4_NV       0x8679
  2875 #define GL_MAP2_VERTEX_ATTRIB10_4_NV      0x867A
  2876 #define GL_MAP2_VERTEX_ATTRIB11_4_NV      0x867B
  2877 #define GL_MAP2_VERTEX_ATTRIB12_4_NV      0x867C
  2878 #define GL_MAP2_VERTEX_ATTRIB13_4_NV      0x867D
  2879 #define GL_MAP2_VERTEX_ATTRIB14_4_NV      0x867E
  2880 #define GL_MAP2_VERTEX_ATTRIB15_4_NV      0x867F
  2881 #endif
  2882 
  2883 #ifndef GL_SGIX_texture_coordinate_clamp
  2884 #define GL_TEXTURE_MAX_CLAMP_S_SGIX       0x8369
  2885 #define GL_TEXTURE_MAX_CLAMP_T_SGIX       0x836A
  2886 #define GL_TEXTURE_MAX_CLAMP_R_SGIX       0x836B
  2887 #endif
  2888 
  2889 #ifndef GL_SGIX_scalebias_hint
  2890 #define GL_SCALEBIAS_HINT_SGIX            0x8322
  2891 #endif
  2892 
  2893 #ifndef GL_OML_interlace
  2894 #define GL_INTERLACE_OML                  0x8980
  2895 #define GL_INTERLACE_READ_OML             0x8981
  2896 #endif
  2897 
  2898 #ifndef GL_OML_subsample
  2899 #define GL_FORMAT_SUBSAMPLE_24_24_OML     0x8982
  2900 #define GL_FORMAT_SUBSAMPLE_244_244_OML   0x8983
  2901 #endif
  2902 
  2903 #ifndef GL_OML_resample
  2904 #define GL_PACK_RESAMPLE_OML              0x8984
  2905 #define GL_UNPACK_RESAMPLE_OML            0x8985
  2906 #define GL_RESAMPLE_REPLICATE_OML         0x8986
  2907 #define GL_RESAMPLE_ZERO_FILL_OML         0x8987
  2908 #define GL_RESAMPLE_AVERAGE_OML           0x8988
  2909 #define GL_RESAMPLE_DECIMATE_OML          0x8989
  2910 #endif
  2911 
  2912 #ifndef GL_NV_copy_depth_to_color
  2913 #define GL_DEPTH_STENCIL_TO_RGBA_NV       0x886E
  2914 #define GL_DEPTH_STENCIL_TO_BGRA_NV       0x886F
  2915 #endif
  2916 
  2917 #ifndef GL_ATI_envmap_bumpmap
  2918 #define GL_BUMP_ROT_MATRIX_ATI            0x8775
  2919 #define GL_BUMP_ROT_MATRIX_SIZE_ATI       0x8776
  2920 #define GL_BUMP_NUM_TEX_UNITS_ATI         0x8777
  2921 #define GL_BUMP_TEX_UNITS_ATI             0x8778
  2922 #define GL_DUDV_ATI                       0x8779
  2923 #define GL_DU8DV8_ATI                     0x877A
  2924 #define GL_BUMP_ENVMAP_ATI                0x877B
  2925 #define GL_BUMP_TARGET_ATI                0x877C
  2926 #endif
  2927 
  2928 #ifndef GL_ATI_fragment_shader
  2929 #define GL_FRAGMENT_SHADER_ATI            0x8920
  2930 #define GL_REG_0_ATI                      0x8921
  2931 #define GL_REG_1_ATI                      0x8922
  2932 #define GL_REG_2_ATI                      0x8923
  2933 #define GL_REG_3_ATI                      0x8924
  2934 #define GL_REG_4_ATI                      0x8925
  2935 #define GL_REG_5_ATI                      0x8926
  2936 #define GL_REG_6_ATI                      0x8927
  2937 #define GL_REG_7_ATI                      0x8928
  2938 #define GL_REG_8_ATI                      0x8929
  2939 #define GL_REG_9_ATI                      0x892A
  2940 #define GL_REG_10_ATI                     0x892B
  2941 #define GL_REG_11_ATI                     0x892C
  2942 #define GL_REG_12_ATI                     0x892D
  2943 #define GL_REG_13_ATI                     0x892E
  2944 #define GL_REG_14_ATI                     0x892F
  2945 #define GL_REG_15_ATI                     0x8930
  2946 #define GL_REG_16_ATI                     0x8931
  2947 #define GL_REG_17_ATI                     0x8932
  2948 #define GL_REG_18_ATI                     0x8933
  2949 #define GL_REG_19_ATI                     0x8934
  2950 #define GL_REG_20_ATI                     0x8935
  2951 #define GL_REG_21_ATI                     0x8936
  2952 #define GL_REG_22_ATI                     0x8937
  2953 #define GL_REG_23_ATI                     0x8938
  2954 #define GL_REG_24_ATI                     0x8939
  2955 #define GL_REG_25_ATI                     0x893A
  2956 #define GL_REG_26_ATI                     0x893B
  2957 #define GL_REG_27_ATI                     0x893C
  2958 #define GL_REG_28_ATI                     0x893D
  2959 #define GL_REG_29_ATI                     0x893E
  2960 #define GL_REG_30_ATI                     0x893F
  2961 #define GL_REG_31_ATI                     0x8940
  2962 #define GL_CON_0_ATI                      0x8941
  2963 #define GL_CON_1_ATI                      0x8942
  2964 #define GL_CON_2_ATI                      0x8943
  2965 #define GL_CON_3_ATI                      0x8944
  2966 #define GL_CON_4_ATI                      0x8945
  2967 #define GL_CON_5_ATI                      0x8946
  2968 #define GL_CON_6_ATI                      0x8947
  2969 #define GL_CON_7_ATI                      0x8948
  2970 #define GL_CON_8_ATI                      0x8949
  2971 #define GL_CON_9_ATI                      0x894A
  2972 #define GL_CON_10_ATI                     0x894B
  2973 #define GL_CON_11_ATI                     0x894C
  2974 #define GL_CON_12_ATI                     0x894D
  2975 #define GL_CON_13_ATI                     0x894E
  2976 #define GL_CON_14_ATI                     0x894F
  2977 #define GL_CON_15_ATI                     0x8950
  2978 #define GL_CON_16_ATI                     0x8951
  2979 #define GL_CON_17_ATI                     0x8952
  2980 #define GL_CON_18_ATI                     0x8953
  2981 #define GL_CON_19_ATI                     0x8954
  2982 #define GL_CON_20_ATI                     0x8955
  2983 #define GL_CON_21_ATI                     0x8956
  2984 #define GL_CON_22_ATI                     0x8957
  2985 #define GL_CON_23_ATI                     0x8958
  2986 #define GL_CON_24_ATI                     0x8959
  2987 #define GL_CON_25_ATI                     0x895A
  2988 #define GL_CON_26_ATI                     0x895B
  2989 #define GL_CON_27_ATI                     0x895C
  2990 #define GL_CON_28_ATI                     0x895D
  2991 #define GL_CON_29_ATI                     0x895E
  2992 #define GL_CON_30_ATI                     0x895F
  2993 #define GL_CON_31_ATI                     0x8960
  2994 #define GL_MOV_ATI                        0x8961
  2995 #define GL_ADD_ATI                        0x8963
  2996 #define GL_MUL_ATI                        0x8964
  2997 #define GL_SUB_ATI                        0x8965
  2998 #define GL_DOT3_ATI                       0x8966
  2999 #define GL_DOT4_ATI                       0x8967
  3000 #define GL_MAD_ATI                        0x8968
  3001 #define GL_LERP_ATI                       0x8969
  3002 #define GL_CND_ATI                        0x896A
  3003 #define GL_CND0_ATI                       0x896B
  3004 #define GL_DOT2_ADD_ATI                   0x896C
  3005 #define GL_SECONDARY_INTERPOLATOR_ATI     0x896D
  3006 #define GL_NUM_FRAGMENT_REGISTERS_ATI     0x896E
  3007 #define GL_NUM_FRAGMENT_CONSTANTS_ATI     0x896F
  3008 #define GL_NUM_PASSES_ATI                 0x8970
  3009 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI  0x8971
  3010 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI     0x8972
  3011 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
  3012 #define GL_NUM_LOOPBACK_COMPONENTS_ATI    0x8974
  3013 #define GL_COLOR_ALPHA_PAIRING_ATI        0x8975
  3014 #define GL_SWIZZLE_STR_ATI                0x8976
  3015 #define GL_SWIZZLE_STQ_ATI                0x8977
  3016 #define GL_SWIZZLE_STR_DR_ATI             0x8978
  3017 #define GL_SWIZZLE_STQ_DQ_ATI             0x8979
  3018 #define GL_SWIZZLE_STRQ_ATI               0x897A
  3019 #define GL_SWIZZLE_STRQ_DQ_ATI            0x897B
  3020 #define GL_RED_BIT_ATI                    0x00000001
  3021 #define GL_GREEN_BIT_ATI                  0x00000002
  3022 #define GL_BLUE_BIT_ATI                   0x00000004
  3023 #define GL_2X_BIT_ATI                     0x00000001
  3024 #define GL_4X_BIT_ATI                     0x00000002
  3025 #define GL_8X_BIT_ATI                     0x00000004
  3026 #define GL_HALF_BIT_ATI                   0x00000008
  3027 #define GL_QUARTER_BIT_ATI                0x00000010
  3028 #define GL_EIGHTH_BIT_ATI                 0x00000020
  3029 #define GL_SATURATE_BIT_ATI               0x00000040
  3030 #define GL_COMP_BIT_ATI                   0x00000002
  3031 #define GL_NEGATE_BIT_ATI                 0x00000004
  3032 #define GL_BIAS_BIT_ATI                   0x00000008
  3033 #endif
  3034 
  3035 #ifndef GL_ATI_pn_triangles
  3036 #define GL_PN_TRIANGLES_ATI               0x87F0
  3037 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
  3038 #define GL_PN_TRIANGLES_POINT_MODE_ATI    0x87F2
  3039 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI   0x87F3
  3040 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
  3041 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
  3042 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
  3043 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
  3044 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
  3045 #endif
  3046 
  3047 #ifndef GL_ATI_vertex_array_object
  3048 #define GL_STATIC_ATI                     0x8760
  3049 #define GL_DYNAMIC_ATI                    0x8761
  3050 #define GL_PRESERVE_ATI                   0x8762
  3051 #define GL_DISCARD_ATI                    0x8763
  3052 #define GL_OBJECT_BUFFER_SIZE_ATI         0x8764
  3053 #define GL_OBJECT_BUFFER_USAGE_ATI        0x8765
  3054 #define GL_ARRAY_OBJECT_BUFFER_ATI        0x8766
  3055 #define GL_ARRAY_OBJECT_OFFSET_ATI        0x8767
  3056 #endif
  3057 
  3058 #ifndef GL_EXT_vertex_shader
  3059 #define GL_VERTEX_SHADER_EXT              0x8780
  3060 #define GL_VERTEX_SHADER_BINDING_EXT      0x8781
  3061 #define GL_OP_INDEX_EXT                   0x8782
  3062 #define GL_OP_NEGATE_EXT                  0x8783
  3063 #define GL_OP_DOT3_EXT                    0x8784
  3064 #define GL_OP_DOT4_EXT                    0x8785
  3065 #define GL_OP_MUL_EXT                     0x8786
  3066 #define GL_OP_ADD_EXT                     0x8787
  3067 #define GL_OP_MADD_EXT                    0x8788
  3068 #define GL_OP_FRAC_EXT                    0x8789
  3069 #define GL_OP_MAX_EXT                     0x878A
  3070 #define GL_OP_MIN_EXT                     0x878B
  3071 #define GL_OP_SET_GE_EXT                  0x878C
  3072 #define GL_OP_SET_LT_EXT                  0x878D
  3073 #define GL_OP_CLAMP_EXT                   0x878E
  3074 #define GL_OP_FLOOR_EXT                   0x878F
  3075 #define GL_OP_ROUND_EXT                   0x8790
  3076 #define GL_OP_EXP_BASE_2_EXT              0x8791
  3077 #define GL_OP_LOG_BASE_2_EXT              0x8792
  3078 #define GL_OP_POWER_EXT                   0x8793
  3079 #define GL_OP_RECIP_EXT                   0x8794
  3080 #define GL_OP_RECIP_SQRT_EXT              0x8795
  3081 #define GL_OP_SUB_EXT                     0x8796
  3082 #define GL_OP_CROSS_PRODUCT_EXT           0x8797
  3083 #define GL_OP_MULTIPLY_MATRIX_EXT         0x8798
  3084 #define GL_OP_MOV_EXT                     0x8799
  3085 #define GL_OUTPUT_VERTEX_EXT              0x879A
  3086 #define GL_OUTPUT_COLOR0_EXT              0x879B
  3087 #define GL_OUTPUT_COLOR1_EXT              0x879C
  3088 #define GL_OUTPUT_TEXTURE_COORD0_EXT      0x879D
  3089 #define GL_OUTPUT_TEXTURE_COORD1_EXT      0x879E
  3090 #define GL_OUTPUT_TEXTURE_COORD2_EXT      0x879F
  3091 #define GL_OUTPUT_TEXTURE_COORD3_EXT      0x87A0
  3092 #define GL_OUTPUT_TEXTURE_COORD4_EXT      0x87A1
  3093 #define GL_OUTPUT_TEXTURE_COORD5_EXT      0x87A2
  3094 #define GL_OUTPUT_TEXTURE_COORD6_EXT      0x87A3
  3095 #define GL_OUTPUT_TEXTURE_COORD7_EXT      0x87A4
  3096 #define GL_OUTPUT_TEXTURE_COORD8_EXT      0x87A5
  3097 #define GL_OUTPUT_TEXTURE_COORD9_EXT      0x87A6
  3098 #define GL_OUTPUT_TEXTURE_COORD10_EXT     0x87A7
  3099 #define GL_OUTPUT_TEXTURE_COORD11_EXT     0x87A8
  3100 #define GL_OUTPUT_TEXTURE_COORD12_EXT     0x87A9
  3101 #define GL_OUTPUT_TEXTURE_COORD13_EXT     0x87AA
  3102 #define GL_OUTPUT_TEXTURE_COORD14_EXT     0x87AB
  3103 #define GL_OUTPUT_TEXTURE_COORD15_EXT     0x87AC
  3104 #define GL_OUTPUT_TEXTURE_COORD16_EXT     0x87AD
  3105 #define GL_OUTPUT_TEXTURE_COORD17_EXT     0x87AE
  3106 #define GL_OUTPUT_TEXTURE_COORD18_EXT     0x87AF
  3107 #define GL_OUTPUT_TEXTURE_COORD19_EXT     0x87B0
  3108 #define GL_OUTPUT_TEXTURE_COORD20_EXT     0x87B1
  3109 #define GL_OUTPUT_TEXTURE_COORD21_EXT     0x87B2
  3110 #define GL_OUTPUT_TEXTURE_COORD22_EXT     0x87B3
  3111 #define GL_OUTPUT_TEXTURE_COORD23_EXT     0x87B4
  3112 #define GL_OUTPUT_TEXTURE_COORD24_EXT     0x87B5
  3113 #define GL_OUTPUT_TEXTURE_COORD25_EXT     0x87B6
  3114 #define GL_OUTPUT_TEXTURE_COORD26_EXT     0x87B7
  3115 #define GL_OUTPUT_TEXTURE_COORD27_EXT     0x87B8
  3116 #define GL_OUTPUT_TEXTURE_COORD28_EXT     0x87B9
  3117 #define GL_OUTPUT_TEXTURE_COORD29_EXT     0x87BA
  3118 #define GL_OUTPUT_TEXTURE_COORD30_EXT     0x87BB
  3119 #define GL_OUTPUT_TEXTURE_COORD31_EXT     0x87BC
  3120 #define GL_OUTPUT_FOG_EXT                 0x87BD
  3121 #define GL_SCALAR_EXT                     0x87BE
  3122 #define GL_VECTOR_EXT                     0x87BF
  3123 #define GL_MATRIX_EXT                     0x87C0
  3124 #define GL_VARIANT_EXT                    0x87C1
  3125 #define GL_INVARIANT_EXT                  0x87C2
  3126 #define GL_LOCAL_CONSTANT_EXT             0x87C3
  3127 #define GL_LOCAL_EXT                      0x87C4
  3128 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
  3129 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
  3130 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
  3131 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
  3132 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT   0x87C9
  3133 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
  3134 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
  3135 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
  3136 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
  3137 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
  3138 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
  3139 #define GL_VERTEX_SHADER_VARIANTS_EXT     0x87D0
  3140 #define GL_VERTEX_SHADER_INVARIANTS_EXT   0x87D1
  3141 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
  3142 #define GL_VERTEX_SHADER_LOCALS_EXT       0x87D3
  3143 #define GL_VERTEX_SHADER_OPTIMIZED_EXT    0x87D4
  3144 #define GL_X_EXT                          0x87D5
  3145 #define GL_Y_EXT                          0x87D6
  3146 #define GL_Z_EXT                          0x87D7
  3147 #define GL_W_EXT                          0x87D8
  3148 #define GL_NEGATIVE_X_EXT                 0x87D9
  3149 #define GL_NEGATIVE_Y_EXT                 0x87DA
  3150 #define GL_NEGATIVE_Z_EXT                 0x87DB
  3151 #define GL_NEGATIVE_W_EXT                 0x87DC
  3152 #define GL_ZERO_EXT                       0x87DD
  3153 #define GL_ONE_EXT                        0x87DE
  3154 #define GL_NEGATIVE_ONE_EXT               0x87DF
  3155 #define GL_NORMALIZED_RANGE_EXT           0x87E0
  3156 #define GL_FULL_RANGE_EXT                 0x87E1
  3157 #define GL_CURRENT_VERTEX_EXT             0x87E2
  3158 #define GL_MVP_MATRIX_EXT                 0x87E3
  3159 #define GL_VARIANT_VALUE_EXT              0x87E4
  3160 #define GL_VARIANT_DATATYPE_EXT           0x87E5
  3161 #define GL_VARIANT_ARRAY_STRIDE_EXT       0x87E6
  3162 #define GL_VARIANT_ARRAY_TYPE_EXT         0x87E7
  3163 #define GL_VARIANT_ARRAY_EXT              0x87E8
  3164 #define GL_VARIANT_ARRAY_POINTER_EXT      0x87E9
  3165 #define GL_INVARIANT_VALUE_EXT            0x87EA
  3166 #define GL_INVARIANT_DATATYPE_EXT         0x87EB
  3167 #define GL_LOCAL_CONSTANT_VALUE_EXT       0x87EC
  3168 #define GL_LOCAL_CONSTANT_DATATYPE_EXT    0x87ED
  3169 #endif
  3170 
  3171 #ifndef GL_ATI_vertex_streams
  3172 #define GL_MAX_VERTEX_STREAMS_ATI         0x876B
  3173 #define GL_VERTEX_STREAM0_ATI             0x876C
  3174 #define GL_VERTEX_STREAM1_ATI             0x876D
  3175 #define GL_VERTEX_STREAM2_ATI             0x876E
  3176 #define GL_VERTEX_STREAM3_ATI             0x876F
  3177 #define GL_VERTEX_STREAM4_ATI             0x8770
  3178 #define GL_VERTEX_STREAM5_ATI             0x8771
  3179 #define GL_VERTEX_STREAM6_ATI             0x8772
  3180 #define GL_VERTEX_STREAM7_ATI             0x8773
  3181 #define GL_VERTEX_SOURCE_ATI              0x8774
  3182 #endif
  3183 
  3184 #ifndef GL_ATI_element_array
  3185 #define GL_ELEMENT_ARRAY_ATI              0x8768
  3186 #define GL_ELEMENT_ARRAY_TYPE_ATI         0x8769
  3187 #define GL_ELEMENT_ARRAY_POINTER_ATI      0x876A
  3188 #endif
  3189 
  3190 #ifndef GL_SUN_mesh_array
  3191 #define GL_QUAD_MESH_SUN                  0x8614
  3192 #define GL_TRIANGLE_MESH_SUN              0x8615
  3193 #endif
  3194 
  3195 #ifndef GL_SUN_slice_accum
  3196 #define GL_SLICE_ACCUM_SUN                0x85CC
  3197 #endif
  3198 
  3199 #ifndef GL_NV_multisample_filter_hint
  3200 #define GL_MULTISAMPLE_FILTER_HINT_NV     0x8534
  3201 #endif
  3202 
  3203 #ifndef GL_NV_depth_clamp
  3204 #define GL_DEPTH_CLAMP_NV                 0x864F
  3205 #endif
  3206 
  3207 #ifndef GL_NV_occlusion_query
  3208 #define GL_PIXEL_COUNTER_BITS_NV          0x8864
  3209 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV  0x8865
  3210 #define GL_PIXEL_COUNT_NV                 0x8866
  3211 #define GL_PIXEL_COUNT_AVAILABLE_NV       0x8867
  3212 #endif
  3213 
  3214 #ifndef GL_NV_point_sprite
  3215 #define GL_POINT_SPRITE_NV                0x8861
  3216 #define GL_COORD_REPLACE_NV               0x8862
  3217 #define GL_POINT_SPRITE_R_MODE_NV         0x8863
  3218 #endif
  3219 
  3220 #ifndef GL_NV_texture_shader3
  3221 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
  3222 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
  3223 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
  3224 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
  3225 #define GL_OFFSET_HILO_TEXTURE_2D_NV      0x8854
  3226 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
  3227 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
  3228 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
  3229 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV   0x8858
  3230 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV    0x8859
  3231 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
  3232 #define GL_DOT_PRODUCT_PASS_THROUGH_NV    0x885B
  3233 #define GL_DOT_PRODUCT_TEXTURE_1D_NV      0x885C
  3234 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
  3235 #define GL_HILO8_NV                       0x885E
  3236 #define GL_SIGNED_HILO8_NV                0x885F
  3237 #define GL_FORCE_BLUE_TO_ONE_NV           0x8860
  3238 #endif
  3239 
  3240 #ifndef GL_NV_vertex_program1_1
  3241 #endif
  3242 
  3243 #ifndef GL_EXT_shadow_funcs
  3244 #endif
  3245 
  3246 #ifndef GL_EXT_stencil_two_side
  3247 #define GL_STENCIL_TEST_TWO_SIDE_EXT      0x8910
  3248 #define GL_ACTIVE_STENCIL_FACE_EXT        0x8911
  3249 #endif
  3250 
  3251 #ifndef GL_ATI_text_fragment_shader
  3252 #define GL_TEXT_FRAGMENT_SHADER_ATI       0x8200
  3253 #endif
  3254 
  3255 #ifndef GL_APPLE_client_storage
  3256 #define GL_UNPACK_CLIENT_STORAGE_APPLE    0x85B2
  3257 #endif
  3258 
  3259 #ifndef GL_APPLE_element_array
  3260 #define GL_ELEMENT_ARRAY_APPLE            0x8768
  3261 #define GL_ELEMENT_ARRAY_TYPE_APPLE       0x8769
  3262 #define GL_ELEMENT_ARRAY_POINTER_APPLE    0x876A
  3263 #endif
  3264 
  3265 #ifndef GL_APPLE_fence
  3266 #define GL_DRAW_PIXELS_APPLE              0x8A0A
  3267 #define GL_FENCE_APPLE                    0x8A0B
  3268 #endif
  3269 
  3270 #ifndef GL_APPLE_vertex_array_object
  3271 #define GL_VERTEX_ARRAY_BINDING_APPLE     0x85B5
  3272 #endif
  3273 
  3274 #ifndef GL_APPLE_vertex_array_range
  3275 #define GL_VERTEX_ARRAY_RANGE_APPLE       0x851D
  3276 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
  3277 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
  3278 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
  3279 #define GL_STORAGE_CACHED_APPLE           0x85BE
  3280 #define GL_STORAGE_SHARED_APPLE           0x85BF
  3281 #endif
  3282 
  3283 #ifndef GL_APPLE_ycbcr_422
  3284 #define GL_YCBCR_422_APPLE                0x85B9
  3285 #define GL_UNSIGNED_SHORT_8_8_APPLE       0x85BA
  3286 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE   0x85BB
  3287 #endif
  3288 
  3289 #ifndef GL_S3_s3tc
  3290 #define GL_RGB_S3TC                       0x83A0
  3291 #define GL_RGB4_S3TC                      0x83A1
  3292 #define GL_RGBA_S3TC                      0x83A2
  3293 #define GL_RGBA4_S3TC                     0x83A3
  3294 #endif
  3295 
  3296 #ifndef GL_ATI_draw_buffers
  3297 #define GL_MAX_DRAW_BUFFERS_ATI           0x8824
  3298 #define GL_DRAW_BUFFER0_ATI               0x8825
  3299 #define GL_DRAW_BUFFER1_ATI               0x8826
  3300 #define GL_DRAW_BUFFER2_ATI               0x8827
  3301 #define GL_DRAW_BUFFER3_ATI               0x8828
  3302 #define GL_DRAW_BUFFER4_ATI               0x8829
  3303 #define GL_DRAW_BUFFER5_ATI               0x882A
  3304 #define GL_DRAW_BUFFER6_ATI               0x882B
  3305 #define GL_DRAW_BUFFER7_ATI               0x882C
  3306 #define GL_DRAW_BUFFER8_ATI               0x882D
  3307 #define GL_DRAW_BUFFER9_ATI               0x882E
  3308 #define GL_DRAW_BUFFER10_ATI              0x882F
  3309 #define GL_DRAW_BUFFER11_ATI              0x8830
  3310 #define GL_DRAW_BUFFER12_ATI              0x8831
  3311 #define GL_DRAW_BUFFER13_ATI              0x8832
  3312 #define GL_DRAW_BUFFER14_ATI              0x8833
  3313 #define GL_DRAW_BUFFER15_ATI              0x8834
  3314 #endif
  3315 
  3316 #ifndef GL_ATI_pixel_format_float
  3317 #define GL_TYPE_RGBA_FLOAT_ATI            0x8820
  3318 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
  3319 #endif
  3320 
  3321 #ifndef GL_ATI_texture_env_combine3
  3322 #define GL_MODULATE_ADD_ATI               0x8744
  3323 #define GL_MODULATE_SIGNED_ADD_ATI        0x8745
  3324 #define GL_MODULATE_SUBTRACT_ATI          0x8746
  3325 #endif
  3326 
  3327 #ifndef GL_ATI_texture_float
  3328 #define GL_RGBA_FLOAT32_ATI               0x8814
  3329 #define GL_RGB_FLOAT32_ATI                0x8815
  3330 #define GL_ALPHA_FLOAT32_ATI              0x8816
  3331 #define GL_INTENSITY_FLOAT32_ATI          0x8817
  3332 #define GL_LUMINANCE_FLOAT32_ATI          0x8818
  3333 #define GL_LUMINANCE_ALPHA_FLOAT32_ATI    0x8819
  3334 #define GL_RGBA_FLOAT16_ATI               0x881A
  3335 #define GL_RGB_FLOAT16_ATI                0x881B
  3336 #define GL_ALPHA_FLOAT16_ATI              0x881C
  3337 #define GL_INTENSITY_FLOAT16_ATI          0x881D
  3338 #define GL_LUMINANCE_FLOAT16_ATI          0x881E
  3339 #define GL_LUMINANCE_ALPHA_FLOAT16_ATI    0x881F
  3340 #endif
  3341 
  3342 #ifndef GL_NV_float_buffer
  3343 #define GL_FLOAT_R_NV                     0x8880
  3344 #define GL_FLOAT_RG_NV                    0x8881
  3345 #define GL_FLOAT_RGB_NV                   0x8882
  3346 #define GL_FLOAT_RGBA_NV                  0x8883
  3347 #define GL_FLOAT_R16_NV                   0x8884
  3348 #define GL_FLOAT_R32_NV                   0x8885
  3349 #define GL_FLOAT_RG16_NV                  0x8886
  3350 #define GL_FLOAT_RG32_NV                  0x8887
  3351 #define GL_FLOAT_RGB16_NV                 0x8888
  3352 #define GL_FLOAT_RGB32_NV                 0x8889
  3353 #define GL_FLOAT_RGBA16_NV                0x888A
  3354 #define GL_FLOAT_RGBA32_NV                0x888B
  3355 #define GL_TEXTURE_FLOAT_COMPONENTS_NV    0x888C
  3356 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV     0x888D
  3357 #define GL_FLOAT_RGBA_MODE_NV             0x888E
  3358 #endif
  3359 
  3360 #ifndef GL_NV_fragment_program
  3361 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
  3362 #define GL_FRAGMENT_PROGRAM_NV            0x8870
  3363 #define GL_MAX_TEXTURE_COORDS_NV          0x8871
  3364 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV     0x8872
  3365 #define GL_FRAGMENT_PROGRAM_BINDING_NV    0x8873
  3366 #define GL_PROGRAM_ERROR_STRING_NV        0x8874
  3367 #endif
  3368 
  3369 #ifndef GL_NV_half_float
  3370 #define GL_HALF_FLOAT_NV                  0x140B
  3371 #endif
  3372 
  3373 #ifndef GL_NV_pixel_data_range
  3374 #define GL_WRITE_PIXEL_DATA_RANGE_NV      0x8878
  3375 #define GL_READ_PIXEL_DATA_RANGE_NV       0x8879
  3376 #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
  3377 #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
  3378 #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
  3379 #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
  3380 #endif
  3381 
  3382 #ifndef GL_NV_primitive_restart
  3383 #define GL_PRIMITIVE_RESTART_NV           0x8558
  3384 #define GL_PRIMITIVE_RESTART_INDEX_NV     0x8559
  3385 #endif
  3386 
  3387 #ifndef GL_NV_texture_expand_normal
  3388 #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
  3389 #endif
  3390 
  3391 #ifndef GL_NV_vertex_program2
  3392 #endif
  3393 
  3394 #ifndef GL_ATI_map_object_buffer
  3395 #endif
  3396 
  3397 #ifndef GL_ATI_separate_stencil
  3398 #define GL_STENCIL_BACK_FUNC_ATI          0x8800
  3399 #define GL_STENCIL_BACK_FAIL_ATI          0x8801
  3400 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
  3401 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
  3402 #endif
  3403 
  3404 #ifndef GL_ATI_vertex_attrib_array_object
  3405 #endif
  3406 
  3407 #ifndef GL_OES_read_format
  3408 #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
  3409 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
  3410 #endif
  3411 
  3412 #ifndef GL_EXT_depth_bounds_test
  3413 #define GL_DEPTH_BOUNDS_TEST_EXT          0x8890
  3414 #define GL_DEPTH_BOUNDS_EXT               0x8891
  3415 #endif
  3416 
  3417 #ifndef GL_EXT_texture_mirror_clamp
  3418 #define GL_MIRROR_CLAMP_EXT               0x8742
  3419 #define GL_MIRROR_CLAMP_TO_EDGE_EXT       0x8743
  3420 #define GL_MIRROR_CLAMP_TO_BORDER_EXT     0x8912
  3421 #endif
  3422 
  3423 #ifndef GL_EXT_blend_equation_separate
  3424 #define GL_BLEND_EQUATION_RGB_EXT         GL_BLEND_EQUATION
  3425 #define GL_BLEND_EQUATION_ALPHA_EXT       0x883D
  3426 #endif
  3427 
  3428 #ifndef GL_MESA_pack_invert
  3429 #define GL_PACK_INVERT_MESA               0x8758
  3430 #endif
  3431 
  3432 #ifndef GL_MESA_ycbcr_texture
  3433 #define GL_UNSIGNED_SHORT_8_8_MESA        0x85BA
  3434 #define GL_UNSIGNED_SHORT_8_8_REV_MESA    0x85BB
  3435 #define GL_YCBCR_MESA                     0x8757
  3436 #endif
  3437 
  3438 #ifndef GL_EXT_pixel_buffer_object
  3439 #define GL_PIXEL_PACK_BUFFER_EXT          0x88EB
  3440 #define GL_PIXEL_UNPACK_BUFFER_EXT        0x88EC
  3441 #define GL_PIXEL_PACK_BUFFER_BINDING_EXT  0x88ED
  3442 #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
  3443 #endif
  3444 
  3445 #ifndef GL_NV_fragment_program_option
  3446 #endif
  3447 
  3448 #ifndef GL_NV_fragment_program2
  3449 #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
  3450 #define GL_MAX_PROGRAM_CALL_DEPTH_NV      0x88F5
  3451 #define GL_MAX_PROGRAM_IF_DEPTH_NV        0x88F6
  3452 #define GL_MAX_PROGRAM_LOOP_DEPTH_NV      0x88F7
  3453 #define GL_MAX_PROGRAM_LOOP_COUNT_NV      0x88F8
  3454 #endif
  3455 
  3456 #ifndef GL_NV_vertex_program2_option
  3457 /* reuse GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */
  3458 /* reuse GL_MAX_PROGRAM_CALL_DEPTH_NV */
  3459 #endif
  3460 
  3461 #ifndef GL_NV_vertex_program3
  3462 /* reuse GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB */
  3463 #endif
  3464 
  3465 #ifndef GL_EXT_framebuffer_object
  3466 #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
  3467 #define GL_MAX_RENDERBUFFER_SIZE_EXT      0x84E8
  3468 #define GL_FRAMEBUFFER_BINDING_EXT        0x8CA6
  3469 #define GL_RENDERBUFFER_BINDING_EXT       0x8CA7
  3470 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
  3471 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
  3472 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
  3473 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
  3474 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
  3475 #define GL_FRAMEBUFFER_COMPLETE_EXT       0x8CD5
  3476 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
  3477 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
  3478 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
  3479 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
  3480 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
  3481 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
  3482 #define GL_FRAMEBUFFER_UNSUPPORTED_EXT    0x8CDD
  3483 #define GL_MAX_COLOR_ATTACHMENTS_EXT      0x8CDF
  3484 #define GL_COLOR_ATTACHMENT0_EXT          0x8CE0
  3485 #define GL_COLOR_ATTACHMENT1_EXT          0x8CE1
  3486 #define GL_COLOR_ATTACHMENT2_EXT          0x8CE2
  3487 #define GL_COLOR_ATTACHMENT3_EXT          0x8CE3
  3488 #define GL_COLOR_ATTACHMENT4_EXT          0x8CE4
  3489 #define GL_COLOR_ATTACHMENT5_EXT          0x8CE5
  3490 #define GL_COLOR_ATTACHMENT6_EXT          0x8CE6
  3491 #define GL_COLOR_ATTACHMENT7_EXT          0x8CE7
  3492 #define GL_COLOR_ATTACHMENT8_EXT          0x8CE8
  3493 #define GL_COLOR_ATTACHMENT9_EXT          0x8CE9
  3494 #define GL_COLOR_ATTACHMENT10_EXT         0x8CEA
  3495 #define GL_COLOR_ATTACHMENT11_EXT         0x8CEB
  3496 #define GL_COLOR_ATTACHMENT12_EXT         0x8CEC
  3497 #define GL_COLOR_ATTACHMENT13_EXT         0x8CED
  3498 #define GL_COLOR_ATTACHMENT14_EXT         0x8CEE
  3499 #define GL_COLOR_ATTACHMENT15_EXT         0x8CEF
  3500 #define GL_DEPTH_ATTACHMENT_EXT           0x8D00
  3501 #define GL_STENCIL_ATTACHMENT_EXT         0x8D20
  3502 #define GL_FRAMEBUFFER_EXT                0x8D40
  3503 #define GL_RENDERBUFFER_EXT               0x8D41
  3504 #define GL_RENDERBUFFER_WIDTH_EXT         0x8D42
  3505 #define GL_RENDERBUFFER_HEIGHT_EXT        0x8D43
  3506 #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
  3507 #define GL_STENCIL_INDEX1_EXT             0x8D46
  3508 #define GL_STENCIL_INDEX4_EXT             0x8D47
  3509 #define GL_STENCIL_INDEX8_EXT             0x8D48
  3510 #define GL_STENCIL_INDEX16_EXT            0x8D49
  3511 #define GL_RENDERBUFFER_RED_SIZE_EXT      0x8D50
  3512 #define GL_RENDERBUFFER_GREEN_SIZE_EXT    0x8D51
  3513 #define GL_RENDERBUFFER_BLUE_SIZE_EXT     0x8D52
  3514 #define GL_RENDERBUFFER_ALPHA_SIZE_EXT    0x8D53
  3515 #define GL_RENDERBUFFER_DEPTH_SIZE_EXT    0x8D54
  3516 #define GL_RENDERBUFFER_STENCIL_SIZE_EXT  0x8D55
  3517 #endif
  3518 
  3519 #ifndef GL_GREMEDY_string_marker
  3520 #endif
  3521 
  3522 #ifndef GL_EXT_packed_depth_stencil
  3523 #define GL_DEPTH_STENCIL_EXT              0x84F9
  3524 #define GL_UNSIGNED_INT_24_8_EXT          0x84FA
  3525 #define GL_DEPTH24_STENCIL8_EXT           0x88F0
  3526 #define GL_TEXTURE_STENCIL_SIZE_EXT       0x88F1
  3527 #endif
  3528 
  3529 #ifndef GL_EXT_stencil_clear_tag
  3530 #define GL_STENCIL_TAG_BITS_EXT           0x88F2
  3531 #define GL_STENCIL_CLEAR_TAG_VALUE_EXT    0x88F3
  3532 #endif
  3533 
  3534 #ifndef GL_EXT_texture_sRGB
  3535 #define GL_SRGB_EXT                       0x8C40
  3536 #define GL_SRGB8_EXT                      0x8C41
  3537 #define GL_SRGB_ALPHA_EXT                 0x8C42
  3538 #define GL_SRGB8_ALPHA8_EXT               0x8C43
  3539 #define GL_SLUMINANCE_ALPHA_EXT           0x8C44
  3540 #define GL_SLUMINANCE8_ALPHA8_EXT         0x8C45
  3541 #define GL_SLUMINANCE_EXT                 0x8C46
  3542 #define GL_SLUMINANCE8_EXT                0x8C47
  3543 #define GL_COMPRESSED_SRGB_EXT            0x8C48
  3544 #define GL_COMPRESSED_SRGB_ALPHA_EXT      0x8C49
  3545 #define GL_COMPRESSED_SLUMINANCE_EXT      0x8C4A
  3546 #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
  3547 #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT  0x8C4C
  3548 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
  3549 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
  3550 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
  3551 #endif
  3552 
  3553 #ifndef GL_EXT_framebuffer_blit
  3554 #define GL_READ_FRAMEBUFFER_EXT           0x8CA8
  3555 #define GL_DRAW_FRAMEBUFFER_EXT           0x8CA9
  3556 #define GL_DRAW_FRAMEBUFFER_BINDING_EXT   GL_FRAMEBUFFER_BINDING_EXT
  3557 #define GL_READ_FRAMEBUFFER_BINDING_EXT   0x8CAA
  3558 #endif
  3559 
  3560 #ifndef GL_EXT_framebuffer_multisample
  3561 #define GL_RENDERBUFFER_SAMPLES_EXT       0x8CAB
  3562 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
  3563 #define GL_MAX_SAMPLES_EXT                0x8D57
  3564 #endif
  3565 
  3566 #ifndef GL_MESAX_texture_stack
  3567 #define GL_TEXTURE_1D_STACK_MESAX         0x8759
  3568 #define GL_TEXTURE_2D_STACK_MESAX         0x875A
  3569 #define GL_PROXY_TEXTURE_1D_STACK_MESAX   0x875B
  3570 #define GL_PROXY_TEXTURE_2D_STACK_MESAX   0x875C
  3571 #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
  3572 #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
  3573 #endif
  3574 
  3575 #ifndef GL_EXT_timer_query
  3576 #define GL_TIME_ELAPSED_EXT               0x88BF
  3577 #endif
  3578 
  3579 #ifndef GL_EXT_gpu_program_parameters
  3580 #endif
  3581 
  3582 #ifndef GL_APPLE_flush_buffer_range
  3583 #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
  3584 #define GL_BUFFER_FLUSHING_UNMAP_APPLE    0x8A13
  3585 #endif
  3586 
  3587 #ifndef GL_NV_gpu_program4
  3588 #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV    0x8904
  3589 #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV    0x8905
  3590 #define GL_PROGRAM_ATTRIB_COMPONENTS_NV   0x8906
  3591 #define GL_PROGRAM_RESULT_COMPONENTS_NV   0x8907
  3592 #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
  3593 #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
  3594 #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
  3595 #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
  3596 #endif
  3597 
  3598 #ifndef GL_NV_geometry_program4
  3599 #define GL_LINES_ADJACENCY_EXT            0x000A
  3600 #define GL_LINE_STRIP_ADJACENCY_EXT       0x000B
  3601 #define GL_TRIANGLES_ADJACENCY_EXT        0x000C
  3602 #define GL_TRIANGLE_STRIP_ADJACENCY_EXT   0x000D
  3603 #define GL_GEOMETRY_PROGRAM_NV            0x8C26
  3604 #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
  3605 #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
  3606 #define GL_GEOMETRY_VERTICES_OUT_EXT      0x8DDA
  3607 #define GL_GEOMETRY_INPUT_TYPE_EXT        0x8DDB
  3608 #define GL_GEOMETRY_OUTPUT_TYPE_EXT       0x8DDC
  3609 #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
  3610 #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
  3611 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
  3612 #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
  3613 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
  3614 #define GL_PROGRAM_POINT_SIZE_EXT         0x8642
  3615 #endif
  3616 
  3617 #ifndef GL_EXT_geometry_shader4
  3618 #define GL_GEOMETRY_SHADER_EXT            0x8DD9
  3619 /* reuse GL_GEOMETRY_VERTICES_OUT_EXT */
  3620 /* reuse GL_GEOMETRY_INPUT_TYPE_EXT */
  3621 /* reuse GL_GEOMETRY_OUTPUT_TYPE_EXT */
  3622 /* reuse GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT */
  3623 #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
  3624 #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
  3625 #define GL_MAX_VARYING_COMPONENTS_EXT     0x8B4B
  3626 #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
  3627 #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
  3628 #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
  3629 /* reuse GL_LINES_ADJACENCY_EXT */
  3630 /* reuse GL_LINE_STRIP_ADJACENCY_EXT */
  3631 /* reuse GL_TRIANGLES_ADJACENCY_EXT */
  3632 /* reuse GL_TRIANGLE_STRIP_ADJACENCY_EXT */
  3633 /* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT */
  3634 /* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT */
  3635 /* reuse GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT */
  3636 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
  3637 /* reuse GL_PROGRAM_POINT_SIZE_EXT */
  3638 #endif
  3639 
  3640 #ifndef GL_NV_vertex_program4
  3641 #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
  3642 #endif
  3643 
  3644 #ifndef GL_EXT_gpu_shader4
  3645 #define GL_SAMPLER_1D_ARRAY_EXT           0x8DC0
  3646 #define GL_SAMPLER_2D_ARRAY_EXT           0x8DC1
  3647 #define GL_SAMPLER_BUFFER_EXT             0x8DC2
  3648 #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT    0x8DC3
  3649 #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT    0x8DC4
  3650 #define GL_SAMPLER_CUBE_SHADOW_EXT        0x8DC5
  3651 #define GL_UNSIGNED_INT_VEC2_EXT          0x8DC6
  3652 #define GL_UNSIGNED_INT_VEC3_EXT          0x8DC7
  3653 #define GL_UNSIGNED_INT_VEC4_EXT          0x8DC8
  3654 #define GL_INT_SAMPLER_1D_EXT             0x8DC9
  3655 #define GL_INT_SAMPLER_2D_EXT             0x8DCA
  3656 #define GL_INT_SAMPLER_3D_EXT             0x8DCB
  3657 #define GL_INT_SAMPLER_CUBE_EXT           0x8DCC
  3658 #define GL_INT_SAMPLER_2D_RECT_EXT        0x8DCD
  3659 #define GL_INT_SAMPLER_1D_ARRAY_EXT       0x8DCE
  3660 #define GL_INT_SAMPLER_2D_ARRAY_EXT       0x8DCF
  3661 #define GL_INT_SAMPLER_BUFFER_EXT         0x8DD0
  3662 #define GL_UNSIGNED_INT_SAMPLER_1D_EXT    0x8DD1
  3663 #define GL_UNSIGNED_INT_SAMPLER_2D_EXT    0x8DD2
  3664 #define GL_UNSIGNED_INT_SAMPLER_3D_EXT    0x8DD3
  3665 #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT  0x8DD4
  3666 #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
  3667 #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
  3668 #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
  3669 #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
  3670 #endif
  3671 
  3672 #ifndef GL_EXT_draw_instanced
  3673 #endif
  3674 
  3675 #ifndef GL_EXT_packed_float
  3676 #define GL_R11F_G11F_B10F_EXT             0x8C3A
  3677 #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
  3678 #define GL_RGBA_SIGNED_COMPONENTS_EXT     0x8C3C
  3679 #endif
  3680 
  3681 #ifndef GL_EXT_texture_array
  3682 #define GL_TEXTURE_1D_ARRAY_EXT           0x8C18
  3683 #define GL_PROXY_TEXTURE_1D_ARRAY_EXT     0x8C19
  3684 #define GL_TEXTURE_2D_ARRAY_EXT           0x8C1A
  3685 #define GL_PROXY_TEXTURE_2D_ARRAY_EXT     0x8C1B
  3686 #define GL_TEXTURE_BINDING_1D_ARRAY_EXT   0x8C1C
  3687 #define GL_TEXTURE_BINDING_2D_ARRAY_EXT   0x8C1D
  3688 #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT   0x88FF
  3689 #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
  3690 /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
  3691 #endif
  3692 
  3693 #ifndef GL_EXT_texture_buffer_object
  3694 #define GL_TEXTURE_BUFFER_EXT             0x8C2A
  3695 #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT    0x8C2B
  3696 #define GL_TEXTURE_BINDING_BUFFER_EXT     0x8C2C
  3697 #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
  3698 #define GL_TEXTURE_BUFFER_FORMAT_EXT      0x8C2E
  3699 #endif
  3700 
  3701 #ifndef GL_EXT_texture_compression_latc
  3702 #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
  3703 #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
  3704 #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
  3705 #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
  3706 #endif
  3707 
  3708 #ifndef GL_EXT_texture_compression_rgtc
  3709 #define GL_COMPRESSED_RED_RGTC1_EXT       0x8DBB
  3710 #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
  3711 #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
  3712 #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
  3713 #endif
  3714 
  3715 #ifndef GL_EXT_texture_shared_exponent
  3716 #define GL_RGB9_E5_EXT                    0x8C3D
  3717 #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT   0x8C3E
  3718 #define GL_TEXTURE_SHARED_SIZE_EXT        0x8C3F
  3719 #endif
  3720 
  3721 #ifndef GL_NV_depth_buffer_float
  3722 #define GL_DEPTH_COMPONENT32F_NV          0x8DAB
  3723 #define GL_DEPTH32F_STENCIL8_NV           0x8DAC
  3724 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
  3725 #define GL_DEPTH_BUFFER_FLOAT_MODE_NV     0x8DAF
  3726 #endif
  3727 
  3728 #ifndef GL_NV_fragment_program4
  3729 #endif
  3730 
  3731 #ifndef GL_NV_framebuffer_multisample_coverage
  3732 #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
  3733 #define GL_RENDERBUFFER_COLOR_SAMPLES_NV  0x8E10
  3734 #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
  3735 #define GL_MULTISAMPLE_COVERAGE_MODES_NV  0x8E12
  3736 #endif
  3737 
  3738 #ifndef GL_EXT_framebuffer_sRGB
  3739 #define GL_FRAMEBUFFER_SRGB_EXT           0x8DB9
  3740 #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT   0x8DBA
  3741 #endif
  3742 
  3743 #ifndef GL_NV_geometry_shader4
  3744 #endif
  3745 
  3746 #ifndef GL_NV_parameter_buffer_object
  3747 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
  3748 #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
  3749 #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
  3750 #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
  3751 #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
  3752 #endif
  3753 
  3754 #ifndef GL_EXT_draw_buffers2
  3755 #endif
  3756 
  3757 #ifndef GL_NV_transform_feedback
  3758 #define GL_BACK_PRIMARY_COLOR_NV          0x8C77
  3759 #define GL_BACK_SECONDARY_COLOR_NV        0x8C78
  3760 #define GL_TEXTURE_COORD_NV               0x8C79
  3761 #define GL_CLIP_DISTANCE_NV               0x8C7A
  3762 #define GL_VERTEX_ID_NV                   0x8C7B
  3763 #define GL_PRIMITIVE_ID_NV                0x8C7C
  3764 #define GL_GENERIC_ATTRIB_NV              0x8C7D
  3765 #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV  0x8C7E
  3766 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
  3767 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
  3768 #define GL_ACTIVE_VARYINGS_NV             0x8C81
  3769 #define GL_ACTIVE_VARYING_MAX_LENGTH_NV   0x8C82
  3770 #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
  3771 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
  3772 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
  3773 #define GL_TRANSFORM_FEEDBACK_RECORD_NV   0x8C86
  3774 #define GL_PRIMITIVES_GENERATED_NV        0x8C87
  3775 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
  3776 #define GL_RASTERIZER_DISCARD_NV          0x8C89
  3777 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV 0x8C8A
  3778 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
  3779 #define GL_INTERLEAVED_ATTRIBS_NV         0x8C8C
  3780 #define GL_SEPARATE_ATTRIBS_NV            0x8C8D
  3781 #define GL_TRANSFORM_FEEDBACK_BUFFER_NV   0x8C8E
  3782 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
  3783 #endif
  3784 
  3785 #ifndef GL_EXT_bindable_uniform
  3786 #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
  3787 #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
  3788 #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
  3789 #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT  0x8DED
  3790 #define GL_UNIFORM_BUFFER_EXT             0x8DEE
  3791 #define GL_UNIFORM_BUFFER_BINDING_EXT     0x8DEF
  3792 #endif
  3793 
  3794 #ifndef GL_EXT_texture_integer
  3795 #define GL_RGBA32UI_EXT                   0x8D70
  3796 #define GL_RGB32UI_EXT                    0x8D71
  3797 #define GL_ALPHA32UI_EXT                  0x8D72
  3798 #define GL_INTENSITY32UI_EXT              0x8D73
  3799 #define GL_LUMINANCE32UI_EXT              0x8D74
  3800 #define GL_LUMINANCE_ALPHA32UI_EXT        0x8D75
  3801 #define GL_RGBA16UI_EXT                   0x8D76
  3802 #define GL_RGB16UI_EXT                    0x8D77
  3803 #define GL_ALPHA16UI_EXT                  0x8D78
  3804 #define GL_INTENSITY16UI_EXT              0x8D79
  3805 #define GL_LUMINANCE16UI_EXT              0x8D7A
  3806 #define GL_LUMINANCE_ALPHA16UI_EXT        0x8D7B
  3807 #define GL_RGBA8UI_EXT                    0x8D7C
  3808 #define GL_RGB8UI_EXT                     0x8D7D
  3809 #define GL_ALPHA8UI_EXT                   0x8D7E
  3810 #define GL_INTENSITY8UI_EXT               0x8D7F
  3811 #define GL_LUMINANCE8UI_EXT               0x8D80
  3812 #define GL_LUMINANCE_ALPHA8UI_EXT         0x8D81
  3813 #define GL_RGBA32I_EXT                    0x8D82
  3814 #define GL_RGB32I_EXT                     0x8D83
  3815 #define GL_ALPHA32I_EXT                   0x8D84
  3816 #define GL_INTENSITY32I_EXT               0x8D85
  3817 #define GL_LUMINANCE32I_EXT               0x8D86
  3818 #define GL_LUMINANCE_ALPHA32I_EXT         0x8D87
  3819 #define GL_RGBA16I_EXT                    0x8D88
  3820 #define GL_RGB16I_EXT                     0x8D89
  3821 #define GL_ALPHA16I_EXT                   0x8D8A
  3822 #define GL_INTENSITY16I_EXT               0x8D8B
  3823 #define GL_LUMINANCE16I_EXT               0x8D8C
  3824 #define GL_LUMINANCE_ALPHA16I_EXT         0x8D8D
  3825 #define GL_RGBA8I_EXT                     0x8D8E
  3826 #define GL_RGB8I_EXT                      0x8D8F
  3827 #define GL_ALPHA8I_EXT                    0x8D90
  3828 #define GL_INTENSITY8I_EXT                0x8D91
  3829 #define GL_LUMINANCE8I_EXT                0x8D92
  3830 #define GL_LUMINANCE_ALPHA8I_EXT          0x8D93
  3831 #define GL_RED_INTEGER_EXT                0x8D94
  3832 #define GL_GREEN_INTEGER_EXT              0x8D95
  3833 #define GL_BLUE_INTEGER_EXT               0x8D96
  3834 #define GL_ALPHA_INTEGER_EXT              0x8D97
  3835 #define GL_RGB_INTEGER_EXT                0x8D98
  3836 #define GL_RGBA_INTEGER_EXT               0x8D99
  3837 #define GL_BGR_INTEGER_EXT                0x8D9A
  3838 #define GL_BGRA_INTEGER_EXT               0x8D9B
  3839 #define GL_LUMINANCE_INTEGER_EXT          0x8D9C
  3840 #define GL_LUMINANCE_ALPHA_INTEGER_EXT    0x8D9D
  3841 #define GL_RGBA_INTEGER_MODE_EXT          0x8D9E
  3842 #endif
  3843 
  3844 #ifndef GL_GREMEDY_frame_terminator
  3845 #endif
  3846 
  3847 #ifndef GL_NV_conditional_render
  3848 #define GL_QUERY_WAIT_NV                  0x8E13
  3849 #define GL_QUERY_NO_WAIT_NV               0x8E14
  3850 #define GL_QUERY_BY_REGION_WAIT_NV        0x8E15
  3851 #define GL_QUERY_BY_REGION_NO_WAIT_NV     0x8E16
  3852 #endif
  3853 
  3854 #ifndef GL_NV_present_video
  3855 #define GL_FRAME_NV                       0x8E26
  3856 #define GL_FIELDS_NV                      0x8E27
  3857 #define GL_CURRENT_TIME_NV                0x8E28
  3858 #define GL_NUM_FILL_STREAMS_NV            0x8E29
  3859 #define GL_PRESENT_TIME_NV                0x8E2A
  3860 #define GL_PRESENT_DURATION_NV            0x8E2B
  3861 #endif
  3862 
  3863 #ifndef GL_EXT_transform_feedback
  3864 #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT  0x8C8E
  3865 #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
  3866 #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
  3867 #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
  3868 #define GL_INTERLEAVED_ATTRIBS_EXT        0x8C8C
  3869 #define GL_SEPARATE_ATTRIBS_EXT           0x8C8D
  3870 #define GL_PRIMITIVES_GENERATED_EXT       0x8C87
  3871 #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
  3872 #define GL_RASTERIZER_DISCARD_EXT         0x8C89
  3873 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
  3874 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
  3875 #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
  3876 #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
  3877 #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
  3878 #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
  3879 #endif
  3880 
  3881 #ifndef GL_EXT_direct_state_access
  3882 #define GL_PROGRAM_MATRIX_EXT             0x8E2D
  3883 #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT   0x8E2E
  3884 #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
  3885 #endif
  3886 
  3887 #ifndef GL_EXT_vertex_array_bgra
  3888 /* reuse GL_BGRA */
  3889 #endif
  3890 
  3891 #ifndef GL_EXT_texture_swizzle
  3892 #define GL_TEXTURE_SWIZZLE_R_EXT          0x8E42
  3893 #define GL_TEXTURE_SWIZZLE_G_EXT          0x8E43
  3894 #define GL_TEXTURE_SWIZZLE_B_EXT          0x8E44
  3895 #define GL_TEXTURE_SWIZZLE_A_EXT          0x8E45
  3896 #define GL_TEXTURE_SWIZZLE_RGBA_EXT       0x8E46
  3897 #endif
  3898 
  3899 #ifndef GL_NV_explicit_multisample
  3900 #define GL_SAMPLE_POSITION_NV             0x8E50
  3901 #define GL_SAMPLE_MASK_NV                 0x8E51
  3902 #define GL_SAMPLE_MASK_VALUE_NV           0x8E52
  3903 #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
  3904 #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
  3905 #define GL_MAX_SAMPLE_MASK_WORDS_NV       0x8E59
  3906 #define GL_TEXTURE_RENDERBUFFER_NV        0x8E55
  3907 #define GL_SAMPLER_RENDERBUFFER_NV        0x8E56
  3908 #define GL_INT_SAMPLER_RENDERBUFFER_NV    0x8E57
  3909 #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
  3910 #endif
  3911 
  3912 #ifndef GL_NV_transform_feedback2
  3913 #define GL_TRANSFORM_FEEDBACK_NV          0x8E22
  3914 #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
  3915 #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
  3916 #define GL_TRANSFORM_FEEDBACK_BINDING_NV  0x8E25
  3917 #endif
  3918 
  3919 
  3920 /*************************************************************/
  3921 
  3922 #include <stddef.h>
  3923 #ifndef GL_VERSION_2_0
  3924 /* GL type for program/shader text */
  3925 typedef char GLchar;			/* native character */
  3926 #endif
  3927 
  3928 #ifndef GL_VERSION_1_5
  3929 /* GL types for handling large vertex buffer objects */
  3930 typedef ptrdiff_t GLintptr;
  3931 typedef ptrdiff_t GLsizeiptr;
  3932 #endif
  3933 
  3934 #ifndef GL_ARB_vertex_buffer_object
  3935 /* GL types for handling large vertex buffer objects */
  3936 typedef ptrdiff_t GLintptrARB;
  3937 typedef ptrdiff_t GLsizeiptrARB;
  3938 #endif
  3939 
  3940 #ifndef GL_ARB_shader_objects
  3941 /* GL types for handling shader object handles and program/shader text */
  3942 typedef char GLcharARB;		/* native character */
  3943 typedef unsigned int GLhandleARB;	/* shader object handle */
  3944 #endif
  3945 
  3946 /* GL types for "half" precision (s10e5) float data in host memory */
  3947 #ifndef GL_ARB_half_float_pixel
  3948 typedef unsigned short GLhalfARB;
  3949 #endif
  3950 
  3951 #ifndef GL_NV_half_float
  3952 typedef unsigned short GLhalfNV;
  3953 #endif
  3954 
  3955 #ifndef GLEXT_64_TYPES_DEFINED
  3956 /* This code block is duplicated in glxext.h, so must be protected */
  3957 #define GLEXT_64_TYPES_DEFINED
  3958 /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
  3959 /* (as used in the GL_EXT_timer_query extension). */
  3960 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  3961 #include <inttypes.h>
  3962 #elif defined(__sun__) || defined(__digital__)
  3963 #include <inttypes.h>
  3964 #if defined(__STDC__)
  3965 #if defined(__arch64__) || defined(_LP64)
  3966 typedef long int int64_t;
  3967 typedef unsigned long int uint64_t;
  3968 #else
  3969 typedef long long int int64_t;
  3970 typedef unsigned long long int uint64_t;
  3971 #endif /* __arch64__ */
  3972 #endif /* __STDC__ */
  3973 #elif defined( __VMS ) || defined(__sgi)
  3974 #include <inttypes.h>
  3975 #elif defined(__SCO__) || defined(__USLC__)
  3976 #include <stdint.h>
  3977 #elif defined(__UNIXOS2__) || defined(__SOL64__)
  3978 typedef long int int32_t;
  3979 typedef long long int int64_t;
  3980 typedef unsigned long long int uint64_t;
  3981 #elif defined(_WIN32) && defined(__GNUC__)
  3982 #include <stdint.h>
  3983 #elif defined(_WIN32)
  3984 typedef __int32 int32_t;
  3985 typedef __int64 int64_t;
  3986 typedef unsigned __int64 uint64_t;
  3987 #else
  3988 #include <inttypes.h>     /* Fallback option */
  3989 #endif
  3990 #endif
  3991 
  3992 #ifndef GL_EXT_timer_query
  3993 typedef int64_t GLint64EXT;
  3994 typedef uint64_t GLuint64EXT;
  3995 #endif
  3996 
  3997 #ifndef GL_VERSION_1_2
  3998 #define GL_VERSION_1_2 1
  3999 #ifdef GL_GLEXT_PROTOTYPES
  4000 GLAPI void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf);
  4001 GLAPI void APIENTRY glBlendEquation (GLenum);
  4002 GLAPI void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
  4003 GLAPI void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  4004 GLAPI void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat *);
  4005 GLAPI void APIENTRY glColorTableParameteriv (GLenum, GLenum, const GLint *);
  4006 GLAPI void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint, GLsizei);
  4007 GLAPI void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *);
  4008 GLAPI void APIENTRY glGetColorTableParameterfv (GLenum, GLenum, GLfloat *);
  4009 GLAPI void APIENTRY glGetColorTableParameteriv (GLenum, GLenum, GLint *);
  4010 GLAPI void APIENTRY glColorSubTable (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  4011 GLAPI void APIENTRY glCopyColorSubTable (GLenum, GLsizei, GLint, GLint, GLsizei);
  4012 GLAPI void APIENTRY glConvolutionFilter1D (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  4013 GLAPI void APIENTRY glConvolutionFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  4014 GLAPI void APIENTRY glConvolutionParameterf (GLenum, GLenum, GLfloat);
  4015 GLAPI void APIENTRY glConvolutionParameterfv (GLenum, GLenum, const GLfloat *);
  4016 GLAPI void APIENTRY glConvolutionParameteri (GLenum, GLenum, GLint);
  4017 GLAPI void APIENTRY glConvolutionParameteriv (GLenum, GLenum, const GLint *);
  4018 GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum, GLenum, GLint, GLint, GLsizei);
  4019 GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
  4020 GLAPI void APIENTRY glGetConvolutionFilter (GLenum, GLenum, GLenum, GLvoid *);
  4021 GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum, GLenum, GLfloat *);
  4022 GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum, GLenum, GLint *);
  4023 GLAPI void APIENTRY glGetSeparableFilter (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
  4024 GLAPI void APIENTRY glSeparableFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
  4025 GLAPI void APIENTRY glGetHistogram (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  4026 GLAPI void APIENTRY glGetHistogramParameterfv (GLenum, GLenum, GLfloat *);
  4027 GLAPI void APIENTRY glGetHistogramParameteriv (GLenum, GLenum, GLint *);
  4028 GLAPI void APIENTRY glGetMinmax (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  4029 GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum, GLenum, GLfloat *);
  4030 GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *);
  4031 GLAPI void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean);
  4032 GLAPI void APIENTRY glMinmax (GLenum, GLenum, GLboolean);
  4033 GLAPI void APIENTRY glResetHistogram (GLenum);
  4034 GLAPI void APIENTRY glResetMinmax (GLenum);
  4035 GLAPI void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  4036 GLAPI void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  4037 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  4038 #endif /* GL_GLEXT_PROTOTYPES */
  4039 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  4040 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
  4041 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  4042 typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  4043 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  4044 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  4045 typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  4046 typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
  4047 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  4048 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  4049 typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  4050 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  4051 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  4052 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  4053 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
  4054 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  4055 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
  4056 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  4057 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  4058 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  4059 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
  4060 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  4061 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  4062 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  4063 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  4064 typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  4065 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  4066 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  4067 typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  4068 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  4069 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  4070 typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  4071 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  4072 typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
  4073 typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
  4074 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);
  4075 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);
  4076 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  4077 #endif
  4078 
  4079 #ifndef GL_VERSION_1_3
  4080 #define GL_VERSION_1_3 1
  4081 #ifdef GL_GLEXT_PROTOTYPES
  4082 GLAPI void APIENTRY glActiveTexture (GLenum);
  4083 GLAPI void APIENTRY glClientActiveTexture (GLenum);
  4084 GLAPI void APIENTRY glMultiTexCoord1d (GLenum, GLdouble);
  4085 GLAPI void APIENTRY glMultiTexCoord1dv (GLenum, const GLdouble *);
  4086 GLAPI void APIENTRY glMultiTexCoord1f (GLenum, GLfloat);
  4087 GLAPI void APIENTRY glMultiTexCoord1fv (GLenum, const GLfloat *);
  4088 GLAPI void APIENTRY glMultiTexCoord1i (GLenum, GLint);
  4089 GLAPI void APIENTRY glMultiTexCoord1iv (GLenum, const GLint *);
  4090 GLAPI void APIENTRY glMultiTexCoord1s (GLenum, GLshort);
  4091 GLAPI void APIENTRY glMultiTexCoord1sv (GLenum, const GLshort *);
  4092 GLAPI void APIENTRY glMultiTexCoord2d (GLenum, GLdouble, GLdouble);
  4093 GLAPI void APIENTRY glMultiTexCoord2dv (GLenum, const GLdouble *);
  4094 GLAPI void APIENTRY glMultiTexCoord2f (GLenum, GLfloat, GLfloat);
  4095 GLAPI void APIENTRY glMultiTexCoord2fv (GLenum, const GLfloat *);
  4096 GLAPI void APIENTRY glMultiTexCoord2i (GLenum, GLint, GLint);
  4097 GLAPI void APIENTRY glMultiTexCoord2iv (GLenum, const GLint *);
  4098 GLAPI void APIENTRY glMultiTexCoord2s (GLenum, GLshort, GLshort);
  4099 GLAPI void APIENTRY glMultiTexCoord2sv (GLenum, const GLshort *);
  4100 GLAPI void APIENTRY glMultiTexCoord3d (GLenum, GLdouble, GLdouble, GLdouble);
  4101 GLAPI void APIENTRY glMultiTexCoord3dv (GLenum, const GLdouble *);
  4102 GLAPI void APIENTRY glMultiTexCoord3f (GLenum, GLfloat, GLfloat, GLfloat);
  4103 GLAPI void APIENTRY glMultiTexCoord3fv (GLenum, const GLfloat *);
  4104 GLAPI void APIENTRY glMultiTexCoord3i (GLenum, GLint, GLint, GLint);
  4105 GLAPI void APIENTRY glMultiTexCoord3iv (GLenum, const GLint *);
  4106 GLAPI void APIENTRY glMultiTexCoord3s (GLenum, GLshort, GLshort, GLshort);
  4107 GLAPI void APIENTRY glMultiTexCoord3sv (GLenum, const GLshort *);
  4108 GLAPI void APIENTRY glMultiTexCoord4d (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
  4109 GLAPI void APIENTRY glMultiTexCoord4dv (GLenum, const GLdouble *);
  4110 GLAPI void APIENTRY glMultiTexCoord4f (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
  4111 GLAPI void APIENTRY glMultiTexCoord4fv (GLenum, const GLfloat *);
  4112 GLAPI void APIENTRY glMultiTexCoord4i (GLenum, GLint, GLint, GLint, GLint);
  4113 GLAPI void APIENTRY glMultiTexCoord4iv (GLenum, const GLint *);
  4114 GLAPI void APIENTRY glMultiTexCoord4s (GLenum, GLshort, GLshort, GLshort, GLshort);
  4115 GLAPI void APIENTRY glMultiTexCoord4sv (GLenum, const GLshort *);
  4116 GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *);
  4117 GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *);
  4118 GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *);
  4119 GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *);
  4120 GLAPI void APIENTRY glSampleCoverage (GLclampf, GLboolean);
  4121 GLAPI void APIENTRY glCompressedTexImage3D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  4122 GLAPI void APIENTRY glCompressedTexImage2D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  4123 GLAPI void APIENTRY glCompressedTexImage1D (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
  4124 GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  4125 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  4126 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
  4127 GLAPI void APIENTRY glGetCompressedTexImage (GLenum, GLint, GLvoid *);
  4128 #endif /* GL_GLEXT_PROTOTYPES */
  4129 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
  4130 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
  4131 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
  4132 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
  4133 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
  4134 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
  4135 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
  4136 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
  4137 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
  4138 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
  4139 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
  4140 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
  4141 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
  4142 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
  4143 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
  4144 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
  4145 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
  4146 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
  4147 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  4148 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
  4149 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  4150 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
  4151 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
  4152 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
  4153 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  4154 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
  4155 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  4156 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
  4157 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  4158 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
  4159 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  4160 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
  4161 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  4162 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
  4163 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  4164 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  4165 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  4166 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  4167 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
  4168 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
  4169 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
  4170 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
  4171 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);
  4172 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
  4173 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
  4174 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img);
  4175 #endif
  4176 
  4177 #ifndef GL_VERSION_1_4
  4178 #define GL_VERSION_1_4 1
  4179 #ifdef GL_GLEXT_PROTOTYPES
  4180 GLAPI void APIENTRY glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum);
  4181 GLAPI void APIENTRY glFogCoordf (GLfloat);
  4182 GLAPI void APIENTRY glFogCoordfv (const GLfloat *);
  4183 GLAPI void APIENTRY glFogCoordd (GLdouble);
  4184 GLAPI void APIENTRY glFogCoorddv (const GLdouble *);
  4185 GLAPI void APIENTRY glFogCoordPointer (GLenum, GLsizei, const GLvoid *);
  4186 GLAPI void APIENTRY glMultiDrawArrays (GLenum, GLint *, GLsizei *, GLsizei);
  4187 GLAPI void APIENTRY glMultiDrawElements (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
  4188 GLAPI void APIENTRY glPointParameterf (GLenum, GLfloat);
  4189 GLAPI void APIENTRY glPointParameterfv (GLenum, const GLfloat *);
  4190 GLAPI void APIENTRY glPointParameteri (GLenum, GLint);
  4191 GLAPI void APIENTRY glPointParameteriv (GLenum, const GLint *);
  4192 GLAPI void APIENTRY glSecondaryColor3b (GLbyte, GLbyte, GLbyte);
  4193 GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *);
  4194 GLAPI void APIENTRY glSecondaryColor3d (GLdouble, GLdouble, GLdouble);
  4195 GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *);
  4196 GLAPI void APIENTRY glSecondaryColor3f (GLfloat, GLfloat, GLfloat);
  4197 GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *);
  4198 GLAPI void APIENTRY glSecondaryColor3i (GLint, GLint, GLint);
  4199 GLAPI void APIENTRY glSecondaryColor3iv (const GLint *);
  4200 GLAPI void APIENTRY glSecondaryColor3s (GLshort, GLshort, GLshort);
  4201 GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *);
  4202 GLAPI void APIENTRY glSecondaryColor3ub (GLubyte, GLubyte, GLubyte);
  4203 GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *);
  4204 GLAPI void APIENTRY glSecondaryColor3ui (GLuint, GLuint, GLuint);
  4205 GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *);
  4206 GLAPI void APIENTRY glSecondaryColor3us (GLushort, GLushort, GLushort);
  4207 GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *);
  4208 GLAPI void APIENTRY glSecondaryColorPointer (GLint, GLenum, GLsizei, const GLvoid *);
  4209 GLAPI void APIENTRY glWindowPos2d (GLdouble, GLdouble);
  4210 GLAPI void APIENTRY glWindowPos2dv (const GLdouble *);
  4211 GLAPI void APIENTRY glWindowPos2f (GLfloat, GLfloat);
  4212 GLAPI void APIENTRY glWindowPos2fv (const GLfloat *);
  4213 GLAPI void APIENTRY glWindowPos2i (GLint, GLint);
  4214 GLAPI void APIENTRY glWindowPos2iv (const GLint *);
  4215 GLAPI void APIENTRY glWindowPos2s (GLshort, GLshort);
  4216 GLAPI void APIENTRY glWindowPos2sv (const GLshort *);
  4217 GLAPI void APIENTRY glWindowPos3d (GLdouble, GLdouble, GLdouble);
  4218 GLAPI void APIENTRY glWindowPos3dv (const GLdouble *);
  4219 GLAPI void APIENTRY glWindowPos3f (GLfloat, GLfloat, GLfloat);
  4220 GLAPI void APIENTRY glWindowPos3fv (const GLfloat *);
  4221 GLAPI void APIENTRY glWindowPos3i (GLint, GLint, GLint);
  4222 GLAPI void APIENTRY glWindowPos3iv (const GLint *);
  4223 GLAPI void APIENTRY glWindowPos3s (GLshort, GLshort, GLshort);
  4224 GLAPI void APIENTRY glWindowPos3sv (const GLshort *);
  4225 #endif /* GL_GLEXT_PROTOTYPES */
  4226 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  4227 typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
  4228 typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
  4229 typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
  4230 typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
  4231 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  4232 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
  4233 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
  4234 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
  4235 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
  4236 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
  4237 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
  4238 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
  4239 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
  4240 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
  4241 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
  4242 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
  4243 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
  4244 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
  4245 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
  4246 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
  4247 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
  4248 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
  4249 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
  4250 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
  4251 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
  4252 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
  4253 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
  4254 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  4255 typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
  4256 typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
  4257 typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
  4258 typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
  4259 typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
  4260 typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
  4261 typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
  4262 typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
  4263 typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
  4264 typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
  4265 typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
  4266 typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
  4267 typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
  4268 typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
  4269 typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
  4270 typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
  4271 #endif
  4272 
  4273 #ifndef GL_VERSION_1_5
  4274 #define GL_VERSION_1_5 1
  4275 #ifdef GL_GLEXT_PROTOTYPES
  4276 GLAPI void APIENTRY glGenQueries (GLsizei, GLuint *);
  4277 GLAPI void APIENTRY glDeleteQueries (GLsizei, const GLuint *);
  4278 GLAPI GLboolean APIENTRY glIsQuery (GLuint);
  4279 GLAPI void APIENTRY glBeginQuery (GLenum, GLuint);
  4280 GLAPI void APIENTRY glEndQuery (GLenum);
  4281 GLAPI void APIENTRY glGetQueryiv (GLenum, GLenum, GLint *);
  4282 GLAPI void APIENTRY glGetQueryObjectiv (GLuint, GLenum, GLint *);
  4283 GLAPI void APIENTRY glGetQueryObjectuiv (GLuint, GLenum, GLuint *);
  4284 GLAPI void APIENTRY glBindBuffer (GLenum, GLuint);
  4285 GLAPI void APIENTRY glDeleteBuffers (GLsizei, const GLuint *);
  4286 GLAPI void APIENTRY glGenBuffers (GLsizei, GLuint *);
  4287 GLAPI GLboolean APIENTRY glIsBuffer (GLuint);
  4288 GLAPI void APIENTRY glBufferData (GLenum, GLsizeiptr, const GLvoid *, GLenum);
  4289 GLAPI void APIENTRY glBufferSubData (GLenum, GLintptr, GLsizeiptr, const GLvoid *);
  4290 GLAPI void APIENTRY glGetBufferSubData (GLenum, GLintptr, GLsizeiptr, GLvoid *);
  4291 GLAPI GLvoid* APIENTRY glMapBuffer (GLenum, GLenum);
  4292 GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum);
  4293 GLAPI void APIENTRY glGetBufferParameteriv (GLenum, GLenum, GLint *);
  4294 GLAPI void APIENTRY glGetBufferPointerv (GLenum, GLenum, GLvoid* *);
  4295 #endif /* GL_GLEXT_PROTOTYPES */
  4296 typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
  4297 typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
  4298 typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
  4299 typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
  4300 typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
  4301 typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
  4302 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
  4303 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
  4304 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
  4305 typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
  4306 typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
  4307 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
  4308 typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
  4309 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
  4310 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
  4311 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
  4312 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
  4313 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  4314 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params);
  4315 #endif
  4316 
  4317 #ifndef GL_VERSION_2_0
  4318 #define GL_VERSION_2_0 1
  4319 #ifdef GL_GLEXT_PROTOTYPES
  4320 GLAPI void APIENTRY glBlendEquationSeparate (GLenum, GLenum);
  4321 GLAPI void APIENTRY glDrawBuffers (GLsizei, const GLenum *);
  4322 GLAPI void APIENTRY glStencilOpSeparate (GLenum, GLenum, GLenum, GLenum);
  4323 GLAPI void APIENTRY glStencilFuncSeparate (GLenum, GLenum, GLint, GLuint);
  4324 GLAPI void APIENTRY glStencilMaskSeparate (GLenum, GLuint);
  4325 GLAPI void APIENTRY glAttachShader (GLuint, GLuint);
  4326 GLAPI void APIENTRY glBindAttribLocation (GLuint, GLuint, const GLchar *);
  4327 GLAPI void APIENTRY glCompileShader (GLuint);
  4328 GLAPI GLuint APIENTRY glCreateProgram (void);
  4329 GLAPI GLuint APIENTRY glCreateShader (GLenum);
  4330 GLAPI void APIENTRY glDeleteProgram (GLuint);
  4331 GLAPI void APIENTRY glDeleteShader (GLuint);
  4332 GLAPI void APIENTRY glDetachShader (GLuint, GLuint);
  4333 GLAPI void APIENTRY glDisableVertexAttribArray (GLuint);
  4334 GLAPI void APIENTRY glEnableVertexAttribArray (GLuint);
  4335 GLAPI void APIENTRY glGetActiveAttrib (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);
  4336 GLAPI void APIENTRY glGetActiveUniform (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);
  4337 GLAPI void APIENTRY glGetAttachedShaders (GLuint, GLsizei, GLsizei *, GLuint *);
  4338 GLAPI GLint APIENTRY glGetAttribLocation (GLuint, const GLchar *);
  4339 GLAPI void APIENTRY glGetProgramiv (GLuint, GLenum, GLint *);
  4340 GLAPI void APIENTRY glGetProgramInfoLog (GLuint, GLsizei, GLsizei *, GLchar *);
  4341 GLAPI void APIENTRY glGetShaderiv (GLuint, GLenum, GLint *);
  4342 GLAPI void APIENTRY glGetShaderInfoLog (GLuint, GLsizei, GLsizei *, GLchar *);
  4343 GLAPI void APIENTRY glGetShaderSource (GLuint, GLsizei, GLsizei *, GLchar *);
  4344 GLAPI GLint APIENTRY glGetUniformLocation (GLuint, const GLchar *);
  4345 GLAPI void APIENTRY glGetUniformfv (GLuint, GLint, GLfloat *);
  4346 GLAPI void APIENTRY glGetUniformiv (GLuint, GLint, GLint *);
  4347 GLAPI void APIENTRY glGetVertexAttribdv (GLuint, GLenum, GLdouble *);
  4348 GLAPI void APIENTRY glGetVertexAttribfv (GLuint, GLenum, GLfloat *);
  4349 GLAPI void APIENTRY glGetVertexAttribiv (GLuint, GLenum, GLint *);
  4350 GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint, GLenum, GLvoid* *);
  4351 GLAPI GLboolean APIENTRY glIsProgram (GLuint);
  4352 GLAPI GLboolean APIENTRY glIsShader (GLuint);
  4353 GLAPI void APIENTRY glLinkProgram (GLuint);
  4354 GLAPI void APIENTRY glShaderSource (GLuint, GLsizei, const GLchar* *, const GLint *);
  4355 GLAPI void APIENTRY glUseProgram (GLuint);
  4356 GLAPI void APIENTRY glUniform1f (GLint, GLfloat);
  4357 GLAPI void APIENTRY glUniform2f (GLint, GLfloat, GLfloat);
  4358 GLAPI void APIENTRY glUniform3f (GLint, GLfloat, GLfloat, GLfloat);
  4359 GLAPI void APIENTRY glUniform4f (GLint, GLfloat, GLfloat, GLfloat, GLfloat);
  4360 GLAPI void APIENTRY glUniform1i (GLint, GLint);
  4361 GLAPI void APIENTRY glUniform2i (GLint, GLint, GLint);
  4362 GLAPI void APIENTRY glUniform3i (GLint, GLint, GLint, GLint);
  4363 GLAPI void APIENTRY glUniform4i (GLint, GLint, GLint, GLint, GLint);
  4364 GLAPI void APIENTRY glUniform1fv (GLint, GLsizei, const GLfloat *);
  4365 GLAPI void APIENTRY glUniform2fv (GLint, GLsizei, const GLfloat *);
  4366 GLAPI void APIENTRY glUniform3fv (GLint, GLsizei, const GLfloat *);
  4367 GLAPI void APIENTRY glUniform4fv (GLint, GLsizei, const GLfloat *);
  4368 GLAPI void APIENTRY glUniform1iv (GLint, GLsizei, const GLint *);
  4369 GLAPI void APIENTRY glUniform2iv (GLint, GLsizei, const GLint *);
  4370 GLAPI void APIENTRY glUniform3iv (GLint, GLsizei, const GLint *);
  4371 GLAPI void APIENTRY glUniform4iv (GLint, GLsizei, const GLint *);
  4372 GLAPI void APIENTRY glUniformMatrix2fv (GLint, GLsizei, GLboolean, const GLfloat *);
  4373 GLAPI void APIENTRY glUniformMatrix3fv (GLint, GLsizei, GLboolean, const GLfloat *);
  4374 GLAPI void APIENTRY glUniformMatrix4fv (GLint, GLsizei, GLboolean, const GLfloat *);
  4375 GLAPI void APIENTRY glValidateProgram (GLuint);
  4376 GLAPI void APIENTRY glVertexAttrib1d (GLuint, GLdouble);
  4377 GLAPI void APIENTRY glVertexAttrib1dv (GLuint, const GLdouble *);
  4378 GLAPI void APIENTRY glVertexAttrib1f (GLuint, GLfloat);
  4379 GLAPI void APIENTRY glVertexAttrib1fv (GLuint, const GLfloat *);
  4380 GLAPI void APIENTRY glVertexAttrib1s (GLuint, GLshort);
  4381 GLAPI void APIENTRY glVertexAttrib1sv (GLuint, const GLshort *);
  4382 GLAPI void APIENTRY glVertexAttrib2d (GLuint, GLdouble, GLdouble);
  4383 GLAPI void APIENTRY glVertexAttrib2dv (GLuint, const GLdouble *);
  4384 GLAPI void APIENTRY glVertexAttrib2f (GLuint, GLfloat, GLfloat);
  4385 GLAPI void APIENTRY glVertexAttrib2fv (GLuint, const GLfloat *);
  4386 GLAPI void APIENTRY glVertexAttrib2s (GLuint, GLshort, GLshort);
  4387 GLAPI void APIENTRY glVertexAttrib2sv (GLuint, const GLshort *);
  4388 GLAPI void APIENTRY glVertexAttrib3d (GLuint, GLdouble, GLdouble, GLdouble);
  4389 GLAPI void APIENTRY glVertexAttrib3dv (GLuint, const GLdouble *);
  4390 GLAPI void APIENTRY glVertexAttrib3f (GLuint, GLfloat, GLfloat, GLfloat);
  4391 GLAPI void APIENTRY glVertexAttrib3fv (GLuint, const GLfloat *);
  4392 GLAPI void APIENTRY glVertexAttrib3s (GLuint, GLshort, GLshort, GLshort);
  4393 GLAPI void APIENTRY glVertexAttrib3sv (GLuint, const GLshort *);
  4394 GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint, const GLbyte *);
  4395 GLAPI void APIENTRY glVertexAttrib4Niv (GLuint, const GLint *);
  4396 GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint, const GLshort *);
  4397 GLAPI void APIENTRY glVertexAttrib4Nub (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
  4398 GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint, const GLubyte *);
  4399 GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint, const GLuint *);
  4400 GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint, const GLushort *);
  4401 GLAPI void APIENTRY glVertexAttrib4bv (GLuint, const GLbyte *);
  4402 GLAPI void APIENTRY glVertexAttrib4d (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
  4403 GLAPI void APIENTRY glVertexAttrib4dv (GLuint, const GLdouble *);
  4404 GLAPI void APIENTRY glVertexAttrib4f (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
  4405 GLAPI void APIENTRY glVertexAttrib4fv (GLuint, const GLfloat *);
  4406 GLAPI void APIENTRY glVertexAttrib4iv (GLuint, const GLint *);
  4407 GLAPI void APIENTRY glVertexAttrib4s (GLuint, GLshort, GLshort, GLshort, GLshort);
  4408 GLAPI void APIENTRY glVertexAttrib4sv (GLuint, const GLshort *);
  4409 GLAPI void APIENTRY glVertexAttrib4ubv (GLuint, const GLubyte *);
  4410 GLAPI void APIENTRY glVertexAttrib4uiv (GLuint, const GLuint *);
  4411 GLAPI void APIENTRY glVertexAttrib4usv (GLuint, const GLushort *);
  4412 GLAPI void APIENTRY glVertexAttribPointer (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
  4413 #endif /* GL_GLEXT_PROTOTYPES */
  4414 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
  4415 typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
  4416 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  4417 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  4418 typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
  4419 typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
  4420 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
  4421 typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
  4422 typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
  4423 typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
  4424 typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
  4425 typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
  4426 typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
  4427 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  4428 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  4429 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  4430 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  4431 typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
  4432 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
  4433 typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
  4434 typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  4435 typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
  4436 typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  4437 typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  4438 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
  4439 typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
  4440 typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
  4441 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  4442 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
  4443 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
  4444 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
  4445 typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
  4446 typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
  4447 typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
  4448 typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
  4449 typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
  4450 typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
  4451 typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
  4452 typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  4453 typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  4454 typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
  4455 typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
  4456 typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  4457 typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  4458 typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  4459 typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  4460 typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  4461 typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  4462 typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
  4463 typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
  4464 typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
  4465 typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
  4466 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4467 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4468 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4469 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
  4470 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
  4471 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
  4472 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
  4473 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
  4474 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
  4475 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
  4476 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
  4477 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
  4478 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
  4479 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
  4480 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
  4481 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
  4482 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  4483 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
  4484 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  4485 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
  4486 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  4487 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
  4488 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
  4489 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
  4490 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
  4491 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  4492 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
  4493 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
  4494 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
  4495 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
  4496 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  4497 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
  4498 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  4499 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
  4500 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
  4501 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  4502 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
  4503 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
  4504 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
  4505 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
  4506 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
  4507 #endif
  4508 
  4509 #ifndef GL_VERSION_2_1
  4510 #define GL_VERSION_2_1 1
  4511 #ifdef GL_GLEXT_PROTOTYPES
  4512 GLAPI void APIENTRY glUniformMatrix2x3fv (GLint, GLsizei, GLboolean, const GLfloat *);
  4513 GLAPI void APIENTRY glUniformMatrix3x2fv (GLint, GLsizei, GLboolean, const GLfloat *);
  4514 GLAPI void APIENTRY glUniformMatrix2x4fv (GLint, GLsizei, GLboolean, const GLfloat *);
  4515 GLAPI void APIENTRY glUniformMatrix4x2fv (GLint, GLsizei, GLboolean, const GLfloat *);
  4516 GLAPI void APIENTRY glUniformMatrix3x4fv (GLint, GLsizei, GLboolean, const GLfloat *);
  4517 GLAPI void APIENTRY glUniformMatrix4x3fv (GLint, GLsizei, GLboolean, const GLfloat *);
  4518 #endif /* GL_GLEXT_PROTOTYPES */
  4519 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4520 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4521 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4522 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4523 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4524 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4525 #endif
  4526 
  4527 #ifndef GL_VERSION_3_0
  4528 #define GL_VERSION_3_0 1
  4529 /* OpenGL 3.0 also reuses entry points from these extensions: */
  4530 /* ARB_framebuffer_object */
  4531 /* ARB_map_buffer_range */
  4532 /* ARB_vertex_array_object */
  4533 #ifdef GL_GLEXT_PROTOTYPES
  4534 GLAPI void APIENTRY glColorMaski (GLuint, GLboolean, GLboolean, GLboolean, GLboolean);
  4535 GLAPI void APIENTRY glGetBooleani_v (GLenum, GLuint, GLboolean *);
  4536 GLAPI void APIENTRY glGetIntegeri_v (GLenum, GLuint, GLint *);
  4537 GLAPI void APIENTRY glEnablei (GLenum, GLuint);
  4538 GLAPI void APIENTRY glDisablei (GLenum, GLuint);
  4539 GLAPI GLboolean APIENTRY glIsEnabledi (GLenum, GLuint);
  4540 GLAPI void APIENTRY glBeginTransformFeedback (GLenum);
  4541 GLAPI void APIENTRY glEndTransformFeedback (void);
  4542 GLAPI void APIENTRY glBindBufferRange (GLenum, GLuint, GLuint, GLintptr, GLsizeiptr);
  4543 GLAPI void APIENTRY glBindBufferBase (GLenum, GLuint, GLuint);
  4544 GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint, GLsizei, const GLint *, GLenum);
  4545 GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint, GLuint, GLint *);
  4546 GLAPI void APIENTRY glClampColor (GLenum, GLenum);
  4547 GLAPI void APIENTRY glBeginConditionalRender (GLuint, GLenum);
  4548 GLAPI void APIENTRY glEndConditionalRender (void);
  4549 GLAPI void APIENTRY glVertexAttribI1i (GLuint, GLint);
  4550 GLAPI void APIENTRY glVertexAttribI2i (GLuint, GLint, GLint);
  4551 GLAPI void APIENTRY glVertexAttribI3i (GLuint, GLint, GLint, GLint);
  4552 GLAPI void APIENTRY glVertexAttribI4i (GLuint, GLint, GLint, GLint, GLint);
  4553 GLAPI void APIENTRY glVertexAttribI1ui (GLuint, GLuint);
  4554 GLAPI void APIENTRY glVertexAttribI2ui (GLuint, GLuint, GLuint);
  4555 GLAPI void APIENTRY glVertexAttribI3ui (GLuint, GLuint, GLuint, GLuint);
  4556 GLAPI void APIENTRY glVertexAttribI4ui (GLuint, GLuint, GLuint, GLuint, GLuint);
  4557 GLAPI void APIENTRY glVertexAttribI1iv (GLuint, const GLint *);
  4558 GLAPI void APIENTRY glVertexAttribI2iv (GLuint, const GLint *);
  4559 GLAPI void APIENTRY glVertexAttribI3iv (GLuint, const GLint *);
  4560 GLAPI void APIENTRY glVertexAttribI4iv (GLuint, const GLint *);
  4561 GLAPI void APIENTRY glVertexAttribI1uiv (GLuint, const GLuint *);
  4562 GLAPI void APIENTRY glVertexAttribI2uiv (GLuint, const GLuint *);
  4563 GLAPI void APIENTRY glVertexAttribI3uiv (GLuint, const GLuint *);
  4564 GLAPI void APIENTRY glVertexAttribI4uiv (GLuint, const GLuint *);
  4565 GLAPI void APIENTRY glVertexAttribI4bv (GLuint, const GLbyte *);
  4566 GLAPI void APIENTRY glVertexAttribI4sv (GLuint, const GLshort *);
  4567 GLAPI void APIENTRY glVertexAttribI4ubv (GLuint, const GLubyte *);
  4568 GLAPI void APIENTRY glVertexAttribI4usv (GLuint, const GLushort *);
  4569 GLAPI void APIENTRY glVertexAttribIPointer (GLuint, GLint, GLenum, GLsizei, const GLvoid *);
  4570 GLAPI void APIENTRY glGetVertexAttribIiv (GLuint, GLenum, GLint *);
  4571 GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint, GLenum, GLuint *);
  4572 GLAPI void APIENTRY glGetUniformuiv (GLuint, GLint, GLuint *);
  4573 GLAPI void APIENTRY glBindFragDataLocation (GLuint, GLuint, const GLchar *);
  4574 GLAPI GLint APIENTRY glGetFragDataLocation (GLuint, const GLchar *);
  4575 GLAPI void APIENTRY glUniform1ui (GLint, GLuint);
  4576 GLAPI void APIENTRY glUniform2ui (GLint, GLuint, GLuint);
  4577 GLAPI void APIENTRY glUniform3ui (GLint, GLuint, GLuint, GLuint);
  4578 GLAPI void APIENTRY glUniform4ui (GLint, GLuint, GLuint, GLuint, GLuint);
  4579 GLAPI void APIENTRY glUniform1uiv (GLint, GLsizei, const GLuint *);
  4580 GLAPI void APIENTRY glUniform2uiv (GLint, GLsizei, const GLuint *);
  4581 GLAPI void APIENTRY glUniform3uiv (GLint, GLsizei, const GLuint *);
  4582 GLAPI void APIENTRY glUniform4uiv (GLint, GLsizei, const GLuint *);
  4583 GLAPI void APIENTRY glTexParameterIiv (GLenum, GLenum, const GLint *);
  4584 GLAPI void APIENTRY glTexParameterIuiv (GLenum, GLenum, const GLuint *);
  4585 GLAPI void APIENTRY glGetTexParameterIiv (GLenum, GLenum, GLint *);
  4586 GLAPI void APIENTRY glGetTexParameterIuiv (GLenum, GLenum, GLuint *);
  4587 GLAPI void APIENTRY glClearBufferiv (GLenum, GLint, const GLint *);
  4588 GLAPI void APIENTRY glClearBufferuiv (GLenum, GLint, const GLuint *);
  4589 GLAPI void APIENTRY glClearBufferfv (GLenum, GLint, const GLfloat *);
  4590 GLAPI void APIENTRY glClearBufferfi (GLenum, GLint, GLfloat, GLint);
  4591 GLAPI const GLubyte * APIENTRY glGetStringi (GLenum, GLuint);
  4592 #endif /* GL_GLEXT_PROTOTYPES */
  4593 typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  4594 typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
  4595 typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
  4596 typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
  4597 typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
  4598 typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
  4599 typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
  4600 typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
  4601 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  4602 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
  4603 typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  4604 typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLint *location);
  4605 typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
  4606 typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
  4607 typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
  4608 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
  4609 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
  4610 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
  4611 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  4612 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
  4613 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
  4614 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  4615 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  4616 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
  4617 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
  4618 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
  4619 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
  4620 typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
  4621 typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
  4622 typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
  4623 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
  4624 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
  4625 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
  4626 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
  4627 typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
  4628 typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  4629 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
  4630 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
  4631 typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
  4632 typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
  4633 typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
  4634 typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
  4635 typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
  4636 typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  4637 typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  4638 typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  4639 typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  4640 typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  4641 typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  4642 typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
  4643 typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
  4644 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
  4645 typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
  4646 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
  4647 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
  4648 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  4649 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  4650 typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
  4651 #endif
  4652 
  4653 #ifndef GL_ARB_multitexture
  4654 #define GL_ARB_multitexture 1
  4655 #ifdef GL_GLEXT_PROTOTYPES
  4656 GLAPI void APIENTRY glActiveTextureARB (GLenum);
  4657 GLAPI void APIENTRY glClientActiveTextureARB (GLenum);
  4658 GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum, GLdouble);
  4659 GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum, const GLdouble *);
  4660 GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum, GLfloat);
  4661 GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum, const GLfloat *);
  4662 GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum, GLint);
  4663 GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum, const GLint *);
  4664 GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum, GLshort);
  4665 GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum, const GLshort *);
  4666 GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum, GLdouble, GLdouble);
  4667 GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum, const GLdouble *);
  4668 GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum, GLfloat, GLfloat);
  4669 GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum, const GLfloat *);
  4670 GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum, GLint, GLint);
  4671 GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum, const GLint *);
  4672 GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum, GLshort, GLshort);
  4673 GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum, const GLshort *);
  4674 GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum, GLdouble, GLdouble, GLdouble);
  4675 GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum, const GLdouble *);
  4676 GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum, GLfloat, GLfloat, GLfloat);
  4677 GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum, const GLfloat *);
  4678 GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum, GLint, GLint, GLint);
  4679 GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum, const GLint *);
  4680 GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum, GLshort, GLshort, GLshort);
  4681 GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum, const GLshort *);
  4682 GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
  4683 GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum, const GLdouble *);
  4684 GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
  4685 GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum, const GLfloat *);
  4686 GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum, GLint, GLint, GLint, GLint);
  4687 GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum, const GLint *);
  4688 GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum, GLshort, GLshort, GLshort, GLshort);
  4689 GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum, const GLshort *);
  4690 #endif /* GL_GLEXT_PROTOTYPES */
  4691 typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
  4692 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
  4693 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
  4694 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
  4695 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
  4696 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
  4697 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
  4698 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
  4699 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
  4700 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
  4701 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
  4702 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
  4703 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
  4704 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
  4705 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
  4706 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
  4707 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
  4708 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
  4709 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  4710 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
  4711 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  4712 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
  4713 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
  4714 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
  4715 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  4716 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
  4717 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  4718 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
  4719 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  4720 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
  4721 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  4722 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
  4723 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  4724 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
  4725 #endif
  4726 
  4727 #ifndef GL_ARB_transpose_matrix
  4728 #define GL_ARB_transpose_matrix 1
  4729 #ifdef GL_GLEXT_PROTOTYPES
  4730 GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *);
  4731 GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *);
  4732 GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *);
  4733 GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *);
  4734 #endif /* GL_GLEXT_PROTOTYPES */
  4735 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  4736 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  4737 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  4738 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  4739 #endif
  4740 
  4741 #ifndef GL_ARB_multisample
  4742 #define GL_ARB_multisample 1
  4743 #ifdef GL_GLEXT_PROTOTYPES
  4744 GLAPI void APIENTRY glSampleCoverageARB (GLclampf, GLboolean);
  4745 #endif /* GL_GLEXT_PROTOTYPES */
  4746 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
  4747 #endif
  4748 
  4749 #ifndef GL_ARB_texture_env_add
  4750 #define GL_ARB_texture_env_add 1
  4751 #endif
  4752 
  4753 #ifndef GL_ARB_texture_cube_map
  4754 #define GL_ARB_texture_cube_map 1
  4755 #endif
  4756 
  4757 #ifndef GL_ARB_texture_compression
  4758 #define GL_ARB_texture_compression 1
  4759 #ifdef GL_GLEXT_PROTOTYPES
  4760 GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  4761 GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  4762 GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
  4763 GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  4764 GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  4765 GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
  4766 GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum, GLint, GLvoid *);
  4767 #endif /* GL_GLEXT_PROTOTYPES */
  4768 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
  4769 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
  4770 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
  4771 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);
  4772 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
  4773 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
  4774 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img);
  4775 #endif
  4776 
  4777 #ifndef GL_ARB_texture_border_clamp
  4778 #define GL_ARB_texture_border_clamp 1
  4779 #endif
  4780 
  4781 #ifndef GL_ARB_point_parameters
  4782 #define GL_ARB_point_parameters 1
  4783 #ifdef GL_GLEXT_PROTOTYPES
  4784 GLAPI void APIENTRY glPointParameterfARB (GLenum, GLfloat);
  4785 GLAPI void APIENTRY glPointParameterfvARB (GLenum, const GLfloat *);
  4786 #endif /* GL_GLEXT_PROTOTYPES */
  4787 typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
  4788 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
  4789 #endif
  4790 
  4791 #ifndef GL_ARB_vertex_blend
  4792 #define GL_ARB_vertex_blend 1
  4793 #ifdef GL_GLEXT_PROTOTYPES
  4794 GLAPI void APIENTRY glWeightbvARB (GLint, const GLbyte *);
  4795 GLAPI void APIENTRY glWeightsvARB (GLint, const GLshort *);
  4796 GLAPI void APIENTRY glWeightivARB (GLint, const GLint *);
  4797 GLAPI void APIENTRY glWeightfvARB (GLint, const GLfloat *);
  4798 GLAPI void APIENTRY glWeightdvARB (GLint, const GLdouble *);
  4799 GLAPI void APIENTRY glWeightubvARB (GLint, const GLubyte *);
  4800 GLAPI void APIENTRY glWeightusvARB (GLint, const GLushort *);
  4801 GLAPI void APIENTRY glWeightuivARB (GLint, const GLuint *);
  4802 GLAPI void APIENTRY glWeightPointerARB (GLint, GLenum, GLsizei, const GLvoid *);
  4803 GLAPI void APIENTRY glVertexBlendARB (GLint);
  4804 #endif /* GL_GLEXT_PROTOTYPES */
  4805 typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
  4806 typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
  4807 typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
  4808 typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
  4809 typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
  4810 typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
  4811 typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
  4812 typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
  4813 typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  4814 typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
  4815 #endif
  4816 
  4817 #ifndef GL_ARB_matrix_palette
  4818 #define GL_ARB_matrix_palette 1
  4819 #ifdef GL_GLEXT_PROTOTYPES
  4820 GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint);
  4821 GLAPI void APIENTRY glMatrixIndexubvARB (GLint, const GLubyte *);
  4822 GLAPI void APIENTRY glMatrixIndexusvARB (GLint, const GLushort *);
  4823 GLAPI void APIENTRY glMatrixIndexuivARB (GLint, const GLuint *);
  4824 GLAPI void APIENTRY glMatrixIndexPointerARB (GLint, GLenum, GLsizei, const GLvoid *);
  4825 #endif /* GL_GLEXT_PROTOTYPES */
  4826 typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
  4827 typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
  4828 typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
  4829 typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
  4830 typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  4831 #endif
  4832 
  4833 #ifndef GL_ARB_texture_env_combine
  4834 #define GL_ARB_texture_env_combine 1
  4835 #endif
  4836 
  4837 #ifndef GL_ARB_texture_env_crossbar
  4838 #define GL_ARB_texture_env_crossbar 1
  4839 #endif
  4840 
  4841 #ifndef GL_ARB_texture_env_dot3
  4842 #define GL_ARB_texture_env_dot3 1
  4843 #endif
  4844 
  4845 #ifndef GL_ARB_texture_mirrored_repeat
  4846 #define GL_ARB_texture_mirrored_repeat 1
  4847 #endif
  4848 
  4849 #ifndef GL_ARB_depth_texture
  4850 #define GL_ARB_depth_texture 1
  4851 #endif
  4852 
  4853 #ifndef GL_ARB_shadow
  4854 #define GL_ARB_shadow 1
  4855 #endif
  4856 
  4857 #ifndef GL_ARB_shadow_ambient
  4858 #define GL_ARB_shadow_ambient 1
  4859 #endif
  4860 
  4861 #ifndef GL_ARB_window_pos
  4862 #define GL_ARB_window_pos 1
  4863 #ifdef GL_GLEXT_PROTOTYPES
  4864 GLAPI void APIENTRY glWindowPos2dARB (GLdouble, GLdouble);
  4865 GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *);
  4866 GLAPI void APIENTRY glWindowPos2fARB (GLfloat, GLfloat);
  4867 GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *);
  4868 GLAPI void APIENTRY glWindowPos2iARB (GLint, GLint);
  4869 GLAPI void APIENTRY glWindowPos2ivARB (const GLint *);
  4870 GLAPI void APIENTRY glWindowPos2sARB (GLshort, GLshort);
  4871 GLAPI void APIENTRY glWindowPos2svARB (const GLshort *);
  4872 GLAPI void APIENTRY glWindowPos3dARB (GLdouble, GLdouble, GLdouble);
  4873 GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *);
  4874 GLAPI void APIENTRY glWindowPos3fARB (GLfloat, GLfloat, GLfloat);
  4875 GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *);
  4876 GLAPI void APIENTRY glWindowPos3iARB (GLint, GLint, GLint);
  4877 GLAPI void APIENTRY glWindowPos3ivARB (const GLint *);
  4878 GLAPI void APIENTRY glWindowPos3sARB (GLshort, GLshort, GLshort);
  4879 GLAPI void APIENTRY glWindowPos3svARB (const GLshort *);
  4880 #endif /* GL_GLEXT_PROTOTYPES */
  4881 typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
  4882 typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
  4883 typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
  4884 typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
  4885 typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
  4886 typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
  4887 typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
  4888 typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
  4889 typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
  4890 typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
  4891 typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
  4892 typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
  4893 typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
  4894 typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
  4895 typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
  4896 typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
  4897 #endif
  4898 
  4899 #ifndef GL_ARB_vertex_program
  4900 #define GL_ARB_vertex_program 1
  4901 #ifdef GL_GLEXT_PROTOTYPES
  4902 GLAPI void APIENTRY glVertexAttrib1dARB (GLuint, GLdouble);
  4903 GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint, const GLdouble *);
  4904 GLAPI void APIENTRY glVertexAttrib1fARB (GLuint, GLfloat);
  4905 GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint, const GLfloat *);
  4906 GLAPI void APIENTRY glVertexAttrib1sARB (GLuint, GLshort);
  4907 GLAPI void APIENTRY glVertexAttrib1svARB (GLuint, const GLshort *);
  4908 GLAPI void APIENTRY glVertexAttrib2dARB (GLuint, GLdouble, GLdouble);
  4909 GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint, const GLdouble *);
  4910 GLAPI void APIENTRY glVertexAttrib2fARB (GLuint, GLfloat, GLfloat);
  4911 GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint, const GLfloat *);
  4912 GLAPI void APIENTRY glVertexAttrib2sARB (GLuint, GLshort, GLshort);
  4913 GLAPI void APIENTRY glVertexAttrib2svARB (GLuint, const GLshort *);
  4914 GLAPI void APIENTRY glVertexAttrib3dARB (GLuint, GLdouble, GLdouble, GLdouble);
  4915 GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint, const GLdouble *);
  4916 GLAPI void APIENTRY glVertexAttrib3fARB (GLuint, GLfloat, GLfloat, GLfloat);
  4917 GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint, const GLfloat *);
  4918 GLAPI void APIENTRY glVertexAttrib3sARB (GLuint, GLshort, GLshort, GLshort);
  4919 GLAPI void APIENTRY glVertexAttrib3svARB (GLuint, const GLshort *);
  4920 GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint, const GLbyte *);
  4921 GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint, const GLint *);
  4922 GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint, const GLshort *);
  4923 GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
  4924 GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint, const GLubyte *);
  4925 GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint, const GLuint *);
  4926 GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint, const GLushort *);
  4927 GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint, const GLbyte *);
  4928 GLAPI void APIENTRY glVertexAttrib4dARB (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
  4929 GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint, const GLdouble *);
  4930 GLAPI void APIENTRY glVertexAttrib4fARB (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
  4931 GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint, const GLfloat *);
  4932 GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint, const GLint *);
  4933 GLAPI void APIENTRY glVertexAttrib4sARB (GLuint, GLshort, GLshort, GLshort, GLshort);
  4934 GLAPI void APIENTRY glVertexAttrib4svARB (GLuint, const GLshort *);
  4935 GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint, const GLubyte *);
  4936 GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint, const GLuint *);
  4937 GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint, const GLushort *);
  4938 GLAPI void APIENTRY glVertexAttribPointerARB (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
  4939 GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint);
  4940 GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint);
  4941 GLAPI void APIENTRY glProgramStringARB (GLenum, GLenum, GLsizei, const GLvoid *);
  4942 GLAPI void APIENTRY glBindProgramARB (GLenum, GLuint);
  4943 GLAPI void APIENTRY glDeleteProgramsARB (GLsizei, const GLuint *);
  4944 GLAPI void APIENTRY glGenProgramsARB (GLsizei, GLuint *);
  4945 GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
  4946 GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum, GLuint, const GLdouble *);
  4947 GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
  4948 GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum, GLuint, const GLfloat *);
  4949 GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
  4950 GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum, GLuint, const GLdouble *);
  4951 GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
  4952 GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum, GLuint, const GLfloat *);
  4953 GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum, GLuint, GLdouble *);
  4954 GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum, GLuint, GLfloat *);
  4955 GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum, GLuint, GLdouble *);
  4956 GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum, GLuint, GLfloat *);
  4957 GLAPI void APIENTRY glGetProgramivARB (GLenum, GLenum, GLint *);
  4958 GLAPI void APIENTRY glGetProgramStringARB (GLenum, GLenum, GLvoid *);
  4959 GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint, GLenum, GLdouble *);
  4960 GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint, GLenum, GLfloat *);
  4961 GLAPI void APIENTRY glGetVertexAttribivARB (GLuint, GLenum, GLint *);
  4962 GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint, GLenum, GLvoid* *);
  4963 GLAPI GLboolean APIENTRY glIsProgramARB (GLuint);
  4964 #endif /* GL_GLEXT_PROTOTYPES */
  4965 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
  4966 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
  4967 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
  4968 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
  4969 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
  4970 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
  4971 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
  4972 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
  4973 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
  4974 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
  4975 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
  4976 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
  4977 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  4978 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
  4979 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  4980 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
  4981 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  4982 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
  4983 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
  4984 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
  4985 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
  4986 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  4987 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
  4988 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
  4989 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
  4990 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
  4991 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  4992 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
  4993 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  4994 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
  4995 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
  4996 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  4997 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
  4998 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
  4999 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
  5000 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
  5001 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
  5002 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  5003 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  5004 typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
  5005 typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
  5006 typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
  5007 typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
  5008 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5009 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  5010 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5011 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  5012 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5013 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  5014 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5015 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  5016 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  5017 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  5018 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  5019 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  5020 typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  5021 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string);
  5022 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
  5023 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
  5024 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
  5025 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
  5026 typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
  5027 #endif
  5028 
  5029 #ifndef GL_ARB_fragment_program
  5030 #define GL_ARB_fragment_program 1
  5031 /* All ARB_fragment_program entry points are shared with ARB_vertex_program. */
  5032 #endif
  5033 
  5034 #ifndef GL_ARB_vertex_buffer_object
  5035 #define GL_ARB_vertex_buffer_object 1
  5036 #ifdef GL_GLEXT_PROTOTYPES
  5037 GLAPI void APIENTRY glBindBufferARB (GLenum, GLuint);
  5038 GLAPI void APIENTRY glDeleteBuffersARB (GLsizei, const GLuint *);
  5039 GLAPI void APIENTRY glGenBuffersARB (GLsizei, GLuint *);
  5040 GLAPI GLboolean APIENTRY glIsBufferARB (GLuint);
  5041 GLAPI void APIENTRY glBufferDataARB (GLenum, GLsizeiptrARB, const GLvoid *, GLenum);
  5042 GLAPI void APIENTRY glBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *);
  5043 GLAPI void APIENTRY glGetBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *);
  5044 GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum, GLenum);
  5045 GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum);
  5046 GLAPI void APIENTRY glGetBufferParameterivARB (GLenum, GLenum, GLint *);
  5047 GLAPI void APIENTRY glGetBufferPointervARB (GLenum, GLenum, GLvoid* *);
  5048 #endif /* GL_GLEXT_PROTOTYPES */
  5049 typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
  5050 typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
  5051 typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
  5052 typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
  5053 typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
  5054 typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
  5055 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
  5056 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
  5057 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
  5058 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  5059 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params);
  5060 #endif
  5061 
  5062 #ifndef GL_ARB_occlusion_query
  5063 #define GL_ARB_occlusion_query 1
  5064 #ifdef GL_GLEXT_PROTOTYPES
  5065 GLAPI void APIENTRY glGenQueriesARB (GLsizei, GLuint *);
  5066 GLAPI void APIENTRY glDeleteQueriesARB (GLsizei, const GLuint *);
  5067 GLAPI GLboolean APIENTRY glIsQueryARB (GLuint);
  5068 GLAPI void APIENTRY glBeginQueryARB (GLenum, GLuint);
  5069 GLAPI void APIENTRY glEndQueryARB (GLenum);
  5070 GLAPI void APIENTRY glGetQueryivARB (GLenum, GLenum, GLint *);
  5071 GLAPI void APIENTRY glGetQueryObjectivARB (GLuint, GLenum, GLint *);
  5072 GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint, GLenum, GLuint *);
  5073 #endif /* GL_GLEXT_PROTOTYPES */
  5074 typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
  5075 typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
  5076 typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
  5077 typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
  5078 typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
  5079 typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  5080 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
  5081 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
  5082 #endif
  5083 
  5084 #ifndef GL_ARB_shader_objects
  5085 #define GL_ARB_shader_objects 1
  5086 #ifdef GL_GLEXT_PROTOTYPES
  5087 GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB);
  5088 GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum);
  5089 GLAPI void APIENTRY glDetachObjectARB (GLhandleARB, GLhandleARB);
  5090 GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum);
  5091 GLAPI void APIENTRY glShaderSourceARB (GLhandleARB, GLsizei, const GLcharARB* *, const GLint *);
  5092 GLAPI void APIENTRY glCompileShaderARB (GLhandleARB);
  5093 GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
  5094 GLAPI void APIENTRY glAttachObjectARB (GLhandleARB, GLhandleARB);
  5095 GLAPI void APIENTRY glLinkProgramARB (GLhandleARB);
  5096 GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB);
  5097 GLAPI void APIENTRY glValidateProgramARB (GLhandleARB);
  5098 GLAPI void APIENTRY glUniform1fARB (GLint, GLfloat);
  5099 GLAPI void APIENTRY glUniform2fARB (GLint, GLfloat, GLfloat);
  5100 GLAPI void APIENTRY glUniform3fARB (GLint, GLfloat, GLfloat, GLfloat);
  5101 GLAPI void APIENTRY glUniform4fARB (GLint, GLfloat, GLfloat, GLfloat, GLfloat);
  5102 GLAPI void APIENTRY glUniform1iARB (GLint, GLint);
  5103 GLAPI void APIENTRY glUniform2iARB (GLint, GLint, GLint);
  5104 GLAPI void APIENTRY glUniform3iARB (GLint, GLint, GLint, GLint);
  5105 GLAPI void APIENTRY glUniform4iARB (GLint, GLint, GLint, GLint, GLint);
  5106 GLAPI void APIENTRY glUniform1fvARB (GLint, GLsizei, const GLfloat *);
  5107 GLAPI void APIENTRY glUniform2fvARB (GLint, GLsizei, const GLfloat *);
  5108 GLAPI void APIENTRY glUniform3fvARB (GLint, GLsizei, const GLfloat *);
  5109 GLAPI void APIENTRY glUniform4fvARB (GLint, GLsizei, const GLfloat *);
  5110 GLAPI void APIENTRY glUniform1ivARB (GLint, GLsizei, const GLint *);
  5111 GLAPI void APIENTRY glUniform2ivARB (GLint, GLsizei, const GLint *);
  5112 GLAPI void APIENTRY glUniform3ivARB (GLint, GLsizei, const GLint *);
  5113 GLAPI void APIENTRY glUniform4ivARB (GLint, GLsizei, const GLint *);
  5114 GLAPI void APIENTRY glUniformMatrix2fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
  5115 GLAPI void APIENTRY glUniformMatrix3fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
  5116 GLAPI void APIENTRY glUniformMatrix4fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
  5117 GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB, GLenum, GLfloat *);
  5118 GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB, GLenum, GLint *);
  5119 GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
  5120 GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB, GLsizei, GLsizei *, GLhandleARB *);
  5121 GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB, const GLcharARB *);
  5122 GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
  5123 GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB, GLint, GLfloat *);
  5124 GLAPI void APIENTRY glGetUniformivARB (GLhandleARB, GLint, GLint *);
  5125 GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
  5126 #endif /* GL_GLEXT_PROTOTYPES */
  5127 typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
  5128 typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
  5129 typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
  5130 typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
  5131 typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length);
  5132 typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
  5133 typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
  5134 typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
  5135 typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
  5136 typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
  5137 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
  5138 typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
  5139 typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
  5140 typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  5141 typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  5142 typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
  5143 typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
  5144 typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  5145 typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  5146 typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  5147 typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  5148 typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  5149 typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  5150 typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  5151 typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  5152 typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  5153 typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  5154 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5155 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5156 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5157 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
  5158 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
  5159 typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  5160 typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  5161 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  5162 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  5163 typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
  5164 typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
  5165 typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  5166 #endif
  5167 
  5168 #ifndef GL_ARB_vertex_shader
  5169 #define GL_ARB_vertex_shader 1
  5170 #ifdef GL_GLEXT_PROTOTYPES
  5171 GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB, GLuint, const GLcharARB *);
  5172 GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
  5173 GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB, const GLcharARB *);
  5174 #endif /* GL_GLEXT_PROTOTYPES */
  5175 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  5176 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  5177 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  5178 #endif
  5179 
  5180 #ifndef GL_ARB_fragment_shader
  5181 #define GL_ARB_fragment_shader 1
  5182 #endif
  5183 
  5184 #ifndef GL_ARB_shading_language_100
  5185 #define GL_ARB_shading_language_100 1
  5186 #endif
  5187 
  5188 #ifndef GL_ARB_texture_non_power_of_two
  5189 #define GL_ARB_texture_non_power_of_two 1
  5190 #endif
  5191 
  5192 #ifndef GL_ARB_point_sprite
  5193 #define GL_ARB_point_sprite 1
  5194 #endif
  5195 
  5196 #ifndef GL_ARB_fragment_program_shadow
  5197 #define GL_ARB_fragment_program_shadow 1
  5198 #endif
  5199 
  5200 #ifndef GL_ARB_draw_buffers
  5201 #define GL_ARB_draw_buffers 1
  5202 #ifdef GL_GLEXT_PROTOTYPES
  5203 GLAPI void APIENTRY glDrawBuffersARB (GLsizei, const GLenum *);
  5204 #endif /* GL_GLEXT_PROTOTYPES */
  5205 typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
  5206 #endif
  5207 
  5208 #ifndef GL_ARB_texture_rectangle
  5209 #define GL_ARB_texture_rectangle 1
  5210 #endif
  5211 
  5212 #ifndef GL_ARB_color_buffer_float
  5213 #define GL_ARB_color_buffer_float 1
  5214 #ifdef GL_GLEXT_PROTOTYPES
  5215 GLAPI void APIENTRY glClampColorARB (GLenum, GLenum);
  5216 #endif /* GL_GLEXT_PROTOTYPES */
  5217 typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
  5218 #endif
  5219 
  5220 #ifndef GL_ARB_half_float_pixel
  5221 #define GL_ARB_half_float_pixel 1
  5222 #endif
  5223 
  5224 #ifndef GL_ARB_texture_float
  5225 #define GL_ARB_texture_float 1
  5226 #endif
  5227 
  5228 #ifndef GL_ARB_pixel_buffer_object
  5229 #define GL_ARB_pixel_buffer_object 1
  5230 #endif
  5231 
  5232 #ifndef GL_ARB_depth_buffer_float
  5233 #define GL_ARB_depth_buffer_float 1
  5234 #endif
  5235 
  5236 #ifndef GL_ARB_draw_instanced
  5237 #define GL_ARB_draw_instanced 1
  5238 #ifdef GL_GLEXT_PROTOTYPES
  5239 GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum, GLint, GLsizei, GLsizei);
  5240 GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum, GLsizei, GLenum, const GLvoid *, GLsizei);
  5241 #endif /* GL_GLEXT_PROTOTYPES */
  5242 typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  5243 typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
  5244 #endif
  5245 
  5246 #ifndef GL_ARB_framebuffer_object
  5247 #define GL_ARB_framebuffer_object 1
  5248 #ifdef GL_GLEXT_PROTOTYPES
  5249 GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint);
  5250 GLAPI void APIENTRY glBindRenderbuffer (GLenum, GLuint);
  5251 GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei, const GLuint *);
  5252 GLAPI void APIENTRY glGenRenderbuffers (GLsizei, GLuint *);
  5253 GLAPI void APIENTRY glRenderbufferStorage (GLenum, GLenum, GLsizei, GLsizei);
  5254 GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum, GLenum, GLint *);
  5255 GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint);
  5256 GLAPI void APIENTRY glBindFramebuffer (GLenum, GLuint);
  5257 GLAPI void APIENTRY glDeleteFramebuffers (GLsizei, const GLuint *);
  5258 GLAPI void APIENTRY glGenFramebuffers (GLsizei, GLuint *);
  5259 GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum);
  5260 GLAPI void APIENTRY glFramebufferTexture1D (GLenum, GLenum, GLenum, GLuint, GLint);
  5261 GLAPI void APIENTRY glFramebufferTexture2D (GLenum, GLenum, GLenum, GLuint, GLint);
  5262 GLAPI void APIENTRY glFramebufferTexture3D (GLenum, GLenum, GLenum, GLuint, GLint, GLint);
  5263 GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum, GLenum, GLenum, GLuint);
  5264 GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum, GLenum, GLenum, GLint *);
  5265 GLAPI void APIENTRY glGenerateMipmap (GLenum);
  5266 GLAPI void APIENTRY glBlitFramebuffer (GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum);
  5267 GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum, GLsizei, GLenum, GLsizei, GLsizei);
  5268 GLAPI void APIENTRY glFramebufferTextureLayer (GLenum, GLenum, GLuint, GLint, GLint);
  5269 #endif /* GL_GLEXT_PROTOTYPES */
  5270 typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
  5271 typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
  5272 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
  5273 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
  5274 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  5275 typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  5276 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
  5277 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
  5278 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
  5279 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
  5280 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
  5281 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  5282 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  5283 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  5284 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  5285 typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  5286 typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
  5287 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  5288 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  5289 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  5290 #endif
  5291 
  5292 #ifndef GL_ARB_framebuffer_sRGB
  5293 #define GL_ARB_framebuffer_sRGB 1
  5294 #endif
  5295 
  5296 #ifndef GL_ARB_geometry_shader4
  5297 #define GL_ARB_geometry_shader4 1
  5298 #ifdef GL_GLEXT_PROTOTYPES
  5299 GLAPI void APIENTRY glProgramParameteriARB (GLuint, GLenum, GLint);
  5300 GLAPI void APIENTRY glFramebufferTextureARB (GLenum, GLenum, GLuint, GLint);
  5301 GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum, GLenum, GLuint, GLint, GLint);
  5302 GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum, GLenum, GLuint, GLint, GLenum);
  5303 #endif /* GL_GLEXT_PROTOTYPES */
  5304 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
  5305 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  5306 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  5307 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  5308 #endif
  5309 
  5310 #ifndef GL_ARB_half_float_vertex
  5311 #define GL_ARB_half_float_vertex 1
  5312 #endif
  5313 
  5314 #ifndef GL_ARB_instanced_arrays
  5315 #define GL_ARB_instanced_arrays 1
  5316 #ifdef GL_GLEXT_PROTOTYPES
  5317 GLAPI void APIENTRY glVertexAttribDivisor (GLuint, GLuint);
  5318 #endif /* GL_GLEXT_PROTOTYPES */
  5319 typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
  5320 #endif
  5321 
  5322 #ifndef GL_ARB_map_buffer_range
  5323 #define GL_ARB_map_buffer_range 1
  5324 #ifdef GL_GLEXT_PROTOTYPES
  5325 GLAPI void APIENTRY glMapBufferRange (GLenum, GLintptr, GLsizeiptr, GLbitfield);
  5326 GLAPI void APIENTRY glFlushMappedBufferRange (GLenum, GLintptr, GLsizeiptr);
  5327 #endif /* GL_GLEXT_PROTOTYPES */
  5328 typedef void (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  5329 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
  5330 #endif
  5331 
  5332 #ifndef GL_ARB_texture_buffer_object
  5333 #define GL_ARB_texture_buffer_object 1
  5334 #ifdef GL_GLEXT_PROTOTYPES
  5335 GLAPI void APIENTRY glTexBufferARB (GLenum, GLenum, GLuint);
  5336 #endif /* GL_GLEXT_PROTOTYPES */
  5337 typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  5338 #endif
  5339 
  5340 #ifndef GL_ARB_texture_compression_rgtc
  5341 #define GL_ARB_texture_compression_rgtc 1
  5342 #endif
  5343 
  5344 #ifndef GL_ARB_texture_rg
  5345 #define GL_ARB_texture_rg 1
  5346 #endif
  5347 
  5348 #ifndef GL_ARB_vertex_array_object
  5349 #define GL_ARB_vertex_array_object 1
  5350 #ifdef GL_GLEXT_PROTOTYPES
  5351 GLAPI void APIENTRY glBindVertexArray (GLuint);
  5352 GLAPI void APIENTRY glDeleteVertexArrays (GLsizei, const GLuint *);
  5353 GLAPI void APIENTRY glGenVertexArrays (GLsizei, GLuint *);
  5354 GLAPI GLboolean APIENTRY glIsVertexArray (GLuint);
  5355 #endif /* GL_GLEXT_PROTOTYPES */
  5356 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
  5357 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
  5358 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
  5359 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
  5360 #endif
  5361 
  5362 #ifndef GL_EXT_abgr
  5363 #define GL_EXT_abgr 1
  5364 #endif
  5365 
  5366 #ifndef GL_EXT_blend_color
  5367 #define GL_EXT_blend_color 1
  5368 #ifdef GL_GLEXT_PROTOTYPES
  5369 GLAPI void APIENTRY glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf);
  5370 #endif /* GL_GLEXT_PROTOTYPES */
  5371 typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  5372 #endif
  5373 
  5374 #ifndef GL_EXT_polygon_offset
  5375 #define GL_EXT_polygon_offset 1
  5376 #ifdef GL_GLEXT_PROTOTYPES
  5377 GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat, GLfloat);
  5378 #endif /* GL_GLEXT_PROTOTYPES */
  5379 typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
  5380 #endif
  5381 
  5382 #ifndef GL_EXT_texture
  5383 #define GL_EXT_texture 1
  5384 #endif
  5385 
  5386 #ifndef GL_EXT_texture3D
  5387 #define GL_EXT_texture3D 1
  5388 #ifdef GL_GLEXT_PROTOTYPES
  5389 GLAPI void APIENTRY glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  5390 GLAPI void APIENTRY glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  5391 #endif /* GL_GLEXT_PROTOTYPES */
  5392 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);
  5393 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);
  5394 #endif
  5395 
  5396 #ifndef GL_SGIS_texture_filter4
  5397 #define GL_SGIS_texture_filter4 1
  5398 #ifdef GL_GLEXT_PROTOTYPES
  5399 GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *);
  5400 GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *);
  5401 #endif /* GL_GLEXT_PROTOTYPES */
  5402 typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
  5403 typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  5404 #endif
  5405 
  5406 #ifndef GL_EXT_subtexture
  5407 #define GL_EXT_subtexture 1
  5408 #ifdef GL_GLEXT_PROTOTYPES
  5409 GLAPI void APIENTRY glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
  5410 GLAPI void APIENTRY glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  5411 #endif /* GL_GLEXT_PROTOTYPES */
  5412 typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  5413 typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  5414 #endif
  5415 
  5416 #ifndef GL_EXT_copy_texture
  5417 #define GL_EXT_copy_texture 1
  5418 #ifdef GL_GLEXT_PROTOTYPES
  5419 GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
  5420 GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
  5421 GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei);
  5422 GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  5423 GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  5424 #endif /* GL_GLEXT_PROTOTYPES */
  5425 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  5426 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  5427 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  5428 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5429 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5430 #endif
  5431 
  5432 #ifndef GL_EXT_histogram
  5433 #define GL_EXT_histogram 1
  5434 #ifdef GL_GLEXT_PROTOTYPES
  5435 GLAPI void APIENTRY glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  5436 GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat *);
  5437 GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum, GLenum, GLint *);
  5438 GLAPI void APIENTRY glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  5439 GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *);
  5440 GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *);
  5441 GLAPI void APIENTRY glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean);
  5442 GLAPI void APIENTRY glMinmaxEXT (GLenum, GLenum, GLboolean);
  5443 GLAPI void APIENTRY glResetHistogramEXT (GLenum);
  5444 GLAPI void APIENTRY glResetMinmaxEXT (GLenum);
  5445 #endif /* GL_GLEXT_PROTOTYPES */
  5446 typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  5447 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  5448 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  5449 typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  5450 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  5451 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  5452 typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  5453 typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  5454 typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
  5455 typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
  5456 #endif
  5457 
  5458 #ifndef GL_EXT_convolution
  5459 #define GL_EXT_convolution 1
  5460 #ifdef GL_GLEXT_PROTOTYPES
  5461 GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  5462 GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  5463 GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum, GLenum, GLfloat);
  5464 GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum, GLenum, const GLfloat *);
  5465 GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum, GLenum, GLint);
  5466 GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum, GLenum, const GLint *);
  5467 GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GLint, GLsizei);
  5468 GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
  5469 GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvoid *);
  5470 GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat *);
  5471 GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum, GLenum, GLint *);
  5472 GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
  5473 GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
  5474 #endif /* GL_GLEXT_PROTOTYPES */
  5475 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  5476 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  5477 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
  5478 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  5479 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
  5480 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  5481 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  5482 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  5483 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
  5484 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  5485 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  5486 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  5487 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  5488 #endif
  5489 
  5490 #ifndef GL_SGI_color_matrix
  5491 #define GL_SGI_color_matrix 1
  5492 #endif
  5493 
  5494 #ifndef GL_SGI_color_table
  5495 #define GL_SGI_color_table 1
  5496 #ifdef GL_GLEXT_PROTOTYPES
  5497 GLAPI void APIENTRY glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  5498 GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *);
  5499 GLAPI void APIENTRY glColorTableParameterivSGI (GLenum, GLenum, const GLint *);
  5500 GLAPI void APIENTRY glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei);
  5501 GLAPI void APIENTRY glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *);
  5502 GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *);
  5503 GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum, GLenum, GLint *);
  5504 #endif /* GL_GLEXT_PROTOTYPES */
  5505 typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  5506 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
  5507 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
  5508 typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  5509 typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
  5510 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
  5511 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
  5512 #endif
  5513 
  5514 #ifndef GL_SGIX_pixel_texture
  5515 #define GL_SGIX_pixel_texture 1
  5516 #ifdef GL_GLEXT_PROTOTYPES
  5517 GLAPI void APIENTRY glPixelTexGenSGIX (GLenum);
  5518 #endif /* GL_GLEXT_PROTOTYPES */
  5519 typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
  5520 #endif
  5521 
  5522 #ifndef GL_SGIS_pixel_texture
  5523 #define GL_SGIS_pixel_texture 1
  5524 #ifdef GL_GLEXT_PROTOTYPES
  5525 GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum, GLint);
  5526 GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum, const GLint *);
  5527 GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum, GLfloat);
  5528 GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *);
  5529 GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum, GLint *);
  5530 GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *);
  5531 #endif /* GL_GLEXT_PROTOTYPES */
  5532 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
  5533 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
  5534 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  5535 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  5536 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
  5537 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
  5538 #endif
  5539 
  5540 #ifndef GL_SGIS_texture4D
  5541 #define GL_SGIS_texture4D 1
  5542 #ifdef GL_GLEXT_PROTOTYPES
  5543 GLAPI void APIENTRY glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  5544 GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  5545 #endif /* GL_GLEXT_PROTOTYPES */
  5546 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);
  5547 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);
  5548 #endif
  5549 
  5550 #ifndef GL_SGI_texture_color_table
  5551 #define GL_SGI_texture_color_table 1
  5552 #endif
  5553 
  5554 #ifndef GL_EXT_cmyka
  5555 #define GL_EXT_cmyka 1
  5556 #endif
  5557 
  5558 #ifndef GL_EXT_texture_object
  5559 #define GL_EXT_texture_object 1
  5560 #ifdef GL_GLEXT_PROTOTYPES
  5561 GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei, const GLuint *, GLboolean *);
  5562 GLAPI void APIENTRY glBindTextureEXT (GLenum, GLuint);
  5563 GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei, const GLuint *);
  5564 GLAPI void APIENTRY glGenTexturesEXT (GLsizei, GLuint *);
  5565 GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint);
  5566 GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLclampf *);
  5567 #endif /* GL_GLEXT_PROTOTYPES */
  5568 typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
  5569 typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
  5570 typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
  5571 typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
  5572 typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
  5573 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  5574 #endif
  5575 
  5576 #ifndef GL_SGIS_detail_texture
  5577 #define GL_SGIS_detail_texture 1
  5578 #ifdef GL_GLEXT_PROTOTYPES
  5579 GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
  5580 GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum, GLfloat *);
  5581 #endif /* GL_GLEXT_PROTOTYPES */
  5582 typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  5583 typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  5584 #endif
  5585 
  5586 #ifndef GL_SGIS_sharpen_texture
  5587 #define GL_SGIS_sharpen_texture 1
  5588 #ifdef GL_GLEXT_PROTOTYPES
  5589 GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
  5590 GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum, GLfloat *);
  5591 #endif /* GL_GLEXT_PROTOTYPES */
  5592 typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  5593 typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  5594 #endif
  5595 
  5596 #ifndef GL_EXT_packed_pixels
  5597 #define GL_EXT_packed_pixels 1
  5598 #endif
  5599 
  5600 #ifndef GL_SGIS_texture_lod
  5601 #define GL_SGIS_texture_lod 1
  5602 #endif
  5603 
  5604 #ifndef GL_SGIS_multisample
  5605 #define GL_SGIS_multisample 1
  5606 #ifdef GL_GLEXT_PROTOTYPES
  5607 GLAPI void APIENTRY glSampleMaskSGIS (GLclampf, GLboolean);
  5608 GLAPI void APIENTRY glSamplePatternSGIS (GLenum);
  5609 #endif /* GL_GLEXT_PROTOTYPES */
  5610 typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
  5611 typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
  5612 #endif
  5613 
  5614 #ifndef GL_EXT_rescale_normal
  5615 #define GL_EXT_rescale_normal 1
  5616 #endif
  5617 
  5618 #ifndef GL_EXT_vertex_array
  5619 #define GL_EXT_vertex_array 1
  5620 #ifdef GL_GLEXT_PROTOTYPES
  5621 GLAPI void APIENTRY glArrayElementEXT (GLint);
  5622 GLAPI void APIENTRY glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  5623 GLAPI void APIENTRY glDrawArraysEXT (GLenum, GLint, GLsizei);
  5624 GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean *);
  5625 GLAPI void APIENTRY glGetPointervEXT (GLenum, GLvoid* *);
  5626 GLAPI void APIENTRY glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
  5627 GLAPI void APIENTRY glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
  5628 GLAPI void APIENTRY glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  5629 GLAPI void APIENTRY glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  5630 #endif /* GL_GLEXT_PROTOTYPES */
  5631 typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
  5632 typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  5633 typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
  5634 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
  5635 typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
  5636 typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  5637 typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  5638 typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  5639 typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  5640 #endif
  5641 
  5642 #ifndef GL_EXT_misc_attribute
  5643 #define GL_EXT_misc_attribute 1
  5644 #endif
  5645 
  5646 #ifndef GL_SGIS_generate_mipmap
  5647 #define GL_SGIS_generate_mipmap 1
  5648 #endif
  5649 
  5650 #ifndef GL_SGIX_clipmap
  5651 #define GL_SGIX_clipmap 1
  5652 #endif
  5653 
  5654 #ifndef GL_SGIX_shadow
  5655 #define GL_SGIX_shadow 1
  5656 #endif
  5657 
  5658 #ifndef GL_SGIS_texture_edge_clamp
  5659 #define GL_SGIS_texture_edge_clamp 1
  5660 #endif
  5661 
  5662 #ifndef GL_SGIS_texture_border_clamp
  5663 #define GL_SGIS_texture_border_clamp 1
  5664 #endif
  5665 
  5666 #ifndef GL_EXT_blend_minmax
  5667 #define GL_EXT_blend_minmax 1
  5668 #ifdef GL_GLEXT_PROTOTYPES
  5669 GLAPI void APIENTRY glBlendEquationEXT (GLenum);
  5670 #endif /* GL_GLEXT_PROTOTYPES */
  5671 typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
  5672 #endif
  5673 
  5674 #ifndef GL_EXT_blend_subtract
  5675 #define GL_EXT_blend_subtract 1
  5676 #endif
  5677 
  5678 #ifndef GL_EXT_blend_logic_op
  5679 #define GL_EXT_blend_logic_op 1
  5680 #endif
  5681 
  5682 #ifndef GL_SGIX_interlace
  5683 #define GL_SGIX_interlace 1
  5684 #endif
  5685 
  5686 #ifndef GL_SGIX_pixel_tiles
  5687 #define GL_SGIX_pixel_tiles 1
  5688 #endif
  5689 
  5690 #ifndef GL_SGIX_texture_select
  5691 #define GL_SGIX_texture_select 1
  5692 #endif
  5693 
  5694 #ifndef GL_SGIX_sprite
  5695 #define GL_SGIX_sprite 1
  5696 #ifdef GL_GLEXT_PROTOTYPES
  5697 GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum, GLfloat);
  5698 GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum, const GLfloat *);
  5699 GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum, GLint);
  5700 GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum, const GLint *);
  5701 #endif /* GL_GLEXT_PROTOTYPES */
  5702 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
  5703 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
  5704 typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
  5705 typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
  5706 #endif
  5707 
  5708 #ifndef GL_SGIX_texture_multi_buffer
  5709 #define GL_SGIX_texture_multi_buffer 1
  5710 #endif
  5711 
  5712 #ifndef GL_EXT_point_parameters
  5713 #define GL_EXT_point_parameters 1
  5714 #ifdef GL_GLEXT_PROTOTYPES
  5715 GLAPI void APIENTRY glPointParameterfEXT (GLenum, GLfloat);
  5716 GLAPI void APIENTRY glPointParameterfvEXT (GLenum, const GLfloat *);
  5717 #endif /* GL_GLEXT_PROTOTYPES */
  5718 typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
  5719 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
  5720 #endif
  5721 
  5722 #ifndef GL_SGIS_point_parameters
  5723 #define GL_SGIS_point_parameters 1
  5724 #ifdef GL_GLEXT_PROTOTYPES
  5725 GLAPI void APIENTRY glPointParameterfSGIS (GLenum, GLfloat);
  5726 GLAPI void APIENTRY glPointParameterfvSGIS (GLenum, const GLfloat *);
  5727 #endif /* GL_GLEXT_PROTOTYPES */
  5728 typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  5729 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  5730 #endif
  5731 
  5732 #ifndef GL_SGIX_instruments
  5733 #define GL_SGIX_instruments 1
  5734 #ifdef GL_GLEXT_PROTOTYPES
  5735 GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
  5736 GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei, GLint *);
  5737 GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *);
  5738 GLAPI void APIENTRY glReadInstrumentsSGIX (GLint);
  5739 GLAPI void APIENTRY glStartInstrumentsSGIX (void);
  5740 GLAPI void APIENTRY glStopInstrumentsSGIX (GLint);
  5741 #endif /* GL_GLEXT_PROTOTYPES */
  5742 typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
  5743 typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
  5744 typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
  5745 typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
  5746 typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
  5747 typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
  5748 #endif
  5749 
  5750 #ifndef GL_SGIX_texture_scale_bias
  5751 #define GL_SGIX_texture_scale_bias 1
  5752 #endif
  5753 
  5754 #ifndef GL_SGIX_framezoom
  5755 #define GL_SGIX_framezoom 1
  5756 #ifdef GL_GLEXT_PROTOTYPES
  5757 GLAPI void APIENTRY glFrameZoomSGIX (GLint);
  5758 #endif /* GL_GLEXT_PROTOTYPES */
  5759 typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
  5760 #endif
  5761 
  5762 #ifndef GL_SGIX_tag_sample_buffer
  5763 #define GL_SGIX_tag_sample_buffer 1
  5764 #ifdef GL_GLEXT_PROTOTYPES
  5765 GLAPI void APIENTRY glTagSampleBufferSGIX (void);
  5766 #endif /* GL_GLEXT_PROTOTYPES */
  5767 typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
  5768 #endif
  5769 
  5770 #ifndef GL_SGIX_polynomial_ffd
  5771 #define GL_SGIX_polynomial_ffd 1
  5772 #ifdef GL_GLEXT_PROTOTYPES
  5773 GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
  5774 GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
  5775 GLAPI void APIENTRY glDeformSGIX (GLbitfield);
  5776 GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield);
  5777 #endif /* GL_GLEXT_PROTOTYPES */
  5778 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);
  5779 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);
  5780 typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
  5781 typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
  5782 #endif
  5783 
  5784 #ifndef GL_SGIX_reference_plane
  5785 #define GL_SGIX_reference_plane 1
  5786 #ifdef GL_GLEXT_PROTOTYPES
  5787 GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *);
  5788 #endif /* GL_GLEXT_PROTOTYPES */
  5789 typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
  5790 #endif
  5791 
  5792 #ifndef GL_SGIX_flush_raster
  5793 #define GL_SGIX_flush_raster 1
  5794 #ifdef GL_GLEXT_PROTOTYPES
  5795 GLAPI void APIENTRY glFlushRasterSGIX (void);
  5796 #endif /* GL_GLEXT_PROTOTYPES */
  5797 typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
  5798 #endif
  5799 
  5800 #ifndef GL_SGIX_depth_texture
  5801 #define GL_SGIX_depth_texture 1
  5802 #endif
  5803 
  5804 #ifndef GL_SGIS_fog_function
  5805 #define GL_SGIS_fog_function 1
  5806 #ifdef GL_GLEXT_PROTOTYPES
  5807 GLAPI void APIENTRY glFogFuncSGIS (GLsizei, const GLfloat *);
  5808 GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *);
  5809 #endif /* GL_GLEXT_PROTOTYPES */
  5810 typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
  5811 typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
  5812 #endif
  5813 
  5814 #ifndef GL_SGIX_fog_offset
  5815 #define GL_SGIX_fog_offset 1
  5816 #endif
  5817 
  5818 #ifndef GL_HP_image_transform
  5819 #define GL_HP_image_transform 1
  5820 #ifdef GL_GLEXT_PROTOTYPES
  5821 GLAPI void APIENTRY glImageTransformParameteriHP (GLenum, GLenum, GLint);
  5822 GLAPI void APIENTRY glImageTransformParameterfHP (GLenum, GLenum, GLfloat);
  5823 GLAPI void APIENTRY glImageTransformParameterivHP (GLenum, GLenum, const GLint *);
  5824 GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum, GLenum, const GLfloat *);
  5825 GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum, GLenum, GLint *);
  5826 GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum, GLenum, GLfloat *);
  5827 #endif /* GL_GLEXT_PROTOTYPES */
  5828 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
  5829 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
  5830 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
  5831 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
  5832 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
  5833 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
  5834 #endif
  5835 
  5836 #ifndef GL_HP_convolution_border_modes
  5837 #define GL_HP_convolution_border_modes 1
  5838 #endif
  5839 
  5840 #ifndef GL_SGIX_texture_add_env
  5841 #define GL_SGIX_texture_add_env 1
  5842 #endif
  5843 
  5844 #ifndef GL_EXT_color_subtable
  5845 #define GL_EXT_color_subtable 1
  5846 #ifdef GL_GLEXT_PROTOTYPES
  5847 GLAPI void APIENTRY glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  5848 GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei);
  5849 #endif /* GL_GLEXT_PROTOTYPES */
  5850 typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  5851 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  5852 #endif
  5853 
  5854 #ifndef GL_PGI_vertex_hints
  5855 #define GL_PGI_vertex_hints 1
  5856 #endif
  5857 
  5858 #ifndef GL_PGI_misc_hints
  5859 #define GL_PGI_misc_hints 1
  5860 #ifdef GL_GLEXT_PROTOTYPES
  5861 GLAPI void APIENTRY glHintPGI (GLenum, GLint);
  5862 #endif /* GL_GLEXT_PROTOTYPES */
  5863 typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
  5864 #endif
  5865 
  5866 #ifndef GL_EXT_paletted_texture
  5867 #define GL_EXT_paletted_texture 1
  5868 #ifdef GL_GLEXT_PROTOTYPES
  5869 GLAPI void APIENTRY glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  5870 GLAPI void APIENTRY glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *);
  5871 GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum, GLenum, GLint *);
  5872 GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat *);
  5873 #endif /* GL_GLEXT_PROTOTYPES */
  5874 typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  5875 typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data);
  5876 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  5877 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  5878 #endif
  5879 
  5880 #ifndef GL_EXT_clip_volume_hint
  5881 #define GL_EXT_clip_volume_hint 1
  5882 #endif
  5883 
  5884 #ifndef GL_SGIX_list_priority
  5885 #define GL_SGIX_list_priority 1
  5886 #ifdef GL_GLEXT_PROTOTYPES
  5887 GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *);
  5888 GLAPI void APIENTRY glGetListParameterivSGIX (GLuint, GLenum, GLint *);
  5889 GLAPI void APIENTRY glListParameterfSGIX (GLuint, GLenum, GLfloat);
  5890 GLAPI void APIENTRY glListParameterfvSGIX (GLuint, GLenum, const GLfloat *);
  5891 GLAPI void APIENTRY glListParameteriSGIX (GLuint, GLenum, GLint);
  5892 GLAPI void APIENTRY glListParameterivSGIX (GLuint, GLenum, const GLint *);
  5893 #endif /* GL_GLEXT_PROTOTYPES */
  5894 typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
  5895 typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
  5896 typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
  5897 typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
  5898 typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
  5899 typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
  5900 #endif
  5901 
  5902 #ifndef GL_SGIX_ir_instrument1
  5903 #define GL_SGIX_ir_instrument1 1
  5904 #endif
  5905 
  5906 #ifndef GL_SGIX_calligraphic_fragment
  5907 #define GL_SGIX_calligraphic_fragment 1
  5908 #endif
  5909 
  5910 #ifndef GL_SGIX_texture_lod_bias
  5911 #define GL_SGIX_texture_lod_bias 1
  5912 #endif
  5913 
  5914 #ifndef GL_SGIX_shadow_ambient
  5915 #define GL_SGIX_shadow_ambient 1
  5916 #endif
  5917 
  5918 #ifndef GL_EXT_index_texture
  5919 #define GL_EXT_index_texture 1
  5920 #endif
  5921 
  5922 #ifndef GL_EXT_index_material
  5923 #define GL_EXT_index_material 1
  5924 #ifdef GL_GLEXT_PROTOTYPES
  5925 GLAPI void APIENTRY glIndexMaterialEXT (GLenum, GLenum);
  5926 #endif /* GL_GLEXT_PROTOTYPES */
  5927 typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
  5928 #endif
  5929 
  5930 #ifndef GL_EXT_index_func
  5931 #define GL_EXT_index_func 1
  5932 #ifdef GL_GLEXT_PROTOTYPES
  5933 GLAPI void APIENTRY glIndexFuncEXT (GLenum, GLclampf);
  5934 #endif /* GL_GLEXT_PROTOTYPES */
  5935 typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
  5936 #endif
  5937 
  5938 #ifndef GL_EXT_index_array_formats
  5939 #define GL_EXT_index_array_formats 1
  5940 #endif
  5941 
  5942 #ifndef GL_EXT_compiled_vertex_array
  5943 #define GL_EXT_compiled_vertex_array 1
  5944 #ifdef GL_GLEXT_PROTOTYPES
  5945 GLAPI void APIENTRY glLockArraysEXT (GLint, GLsizei);
  5946 GLAPI void APIENTRY glUnlockArraysEXT (void);
  5947 #endif /* GL_GLEXT_PROTOTYPES */
  5948 typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
  5949 typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
  5950 #endif
  5951 
  5952 #ifndef GL_EXT_cull_vertex
  5953 #define GL_EXT_cull_vertex 1
  5954 #ifdef GL_GLEXT_PROTOTYPES
  5955 GLAPI void APIENTRY glCullParameterdvEXT (GLenum, GLdouble *);
  5956 GLAPI void APIENTRY glCullParameterfvEXT (GLenum, GLfloat *);
  5957 #endif /* GL_GLEXT_PROTOTYPES */
  5958 typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
  5959 typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
  5960 #endif
  5961 
  5962 #ifndef GL_SGIX_ycrcb
  5963 #define GL_SGIX_ycrcb 1
  5964 #endif
  5965 
  5966 #ifndef GL_SGIX_fragment_lighting
  5967 #define GL_SGIX_fragment_lighting 1
  5968 #ifdef GL_GLEXT_PROTOTYPES
  5969 GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum, GLenum);
  5970 GLAPI void APIENTRY glFragmentLightfSGIX (GLenum, GLenum, GLfloat);
  5971 GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *);
  5972 GLAPI void APIENTRY glFragmentLightiSGIX (GLenum, GLenum, GLint);
  5973 GLAPI void APIENTRY glFragmentLightivSGIX (GLenum, GLenum, const GLint *);
  5974 GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum, GLfloat);
  5975 GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum, const GLfloat *);
  5976 GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum, GLint);
  5977 GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum, const GLint *);
  5978 GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat);
  5979 GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat *);
  5980 GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum, GLenum, GLint);
  5981 GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum, GLenum, const GLint *);
  5982 GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *);
  5983 GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum, GLenum, GLint *);
  5984 GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *);
  5985 GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *);
  5986 GLAPI void APIENTRY glLightEnviSGIX (GLenum, GLint);
  5987 #endif /* GL_GLEXT_PROTOTYPES */
  5988 typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
  5989 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
  5990 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
  5991 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
  5992 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
  5993 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
  5994 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
  5995 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
  5996 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
  5997 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
  5998 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
  5999 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
  6000 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
  6001 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
  6002 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
  6003 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
  6004 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
  6005 typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
  6006 #endif
  6007 
  6008 #ifndef GL_IBM_rasterpos_clip
  6009 #define GL_IBM_rasterpos_clip 1
  6010 #endif
  6011 
  6012 #ifndef GL_HP_texture_lighting
  6013 #define GL_HP_texture_lighting 1
  6014 #endif
  6015 
  6016 #ifndef GL_EXT_draw_range_elements
  6017 #define GL_EXT_draw_range_elements 1
  6018 #ifdef GL_GLEXT_PROTOTYPES
  6019 GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
  6020 #endif /* GL_GLEXT_PROTOTYPES */
  6021 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  6022 #endif
  6023 
  6024 #ifndef GL_WIN_phong_shading
  6025 #define GL_WIN_phong_shading 1
  6026 #endif
  6027 
  6028 #ifndef GL_WIN_specular_fog
  6029 #define GL_WIN_specular_fog 1
  6030 #endif
  6031 
  6032 #ifndef GL_EXT_light_texture
  6033 #define GL_EXT_light_texture 1
  6034 #ifdef GL_GLEXT_PROTOTYPES
  6035 GLAPI void APIENTRY glApplyTextureEXT (GLenum);
  6036 GLAPI void APIENTRY glTextureLightEXT (GLenum);
  6037 GLAPI void APIENTRY glTextureMaterialEXT (GLenum, GLenum);
  6038 #endif /* GL_GLEXT_PROTOTYPES */
  6039 typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
  6040 typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
  6041 typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
  6042 #endif
  6043 
  6044 #ifndef GL_SGIX_blend_alpha_minmax
  6045 #define GL_SGIX_blend_alpha_minmax 1
  6046 #endif
  6047 
  6048 #ifndef GL_EXT_bgra
  6049 #define GL_EXT_bgra 1
  6050 #endif
  6051 
  6052 #ifndef GL_SGIX_async
  6053 #define GL_SGIX_async 1
  6054 #ifdef GL_GLEXT_PROTOTYPES
  6055 GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint);