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