include/SDL_opengl.h
author Patrice Mandin <patmandin@gmail.com>
Fri, 01 Apr 2005 15:19:26 +0000
changeset 1045 63b8e93a3a52
parent 932 66761191fc11
child 1205 2ab21d9a20da
permissions -rw-r--r--
Release CPU when waiting
     1 /*
     2     SDL - Simple DirectMedia Layer
     3     Copyright (C) 1997-2004 Sam Lantinga
     4 
     5     This library is free software; you can redistribute it and/or
     6     modify it under the terms of the GNU Library General Public
     7     License as published by the Free Software Foundation; either
     8     version 2 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     Library General Public License for more details.
    14 
    15     You should have received a copy of the GNU Library General Public
    16     License along with this library; if not, write to the Free
    17     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    18 
    19     Sam Lantinga
    20     slouken@libsdl.org
    21 */
    22 
    23 #ifdef SAVE_RCSID
    24 static char rcsid =
    25  "@(#) $Id$";
    26 #endif
    27 
    28 /* This is a simple file to encapsulate the OpenGL API headers */
    29 
    30 #ifdef WIN32
    31 #define WIN32_LEAN_AND_MEAN
    32 #ifndef NOMINMAX
    33 #define NOMINMAX	/* Don't defined min() and max() */
    34 #endif
    35 #include <windows.h>
    36 #endif
    37 #ifndef NO_SDL_GLEXT
    38 #define __glext_h_  /* Don't let gl.h include glext.h */
    39 #endif
    40 #if defined(__APPLE__) && defined(__MACH__)
    41 #include <OpenGL/gl.h>	/* Header File For The OpenGL Library */
    42 #include <OpenGL/glu.h>	/* Header File For The GLU Library */
    43 #else
    44 #include <GL/gl.h>	/* Header File For The OpenGL Library */
    45 #include <GL/glu.h>	/* Header File For The GLU Library */
    46 #endif
    47 #ifndef NO_SDL_GLEXT
    48 #undef __glext_h_
    49 #endif
    50 
    51 /* This file taken from "GLext.h" from the Jeff Molofee OpenGL tutorials.
    52    It is included here because glext.h is not available on some systems.
    53    If you don't want this version included, simply define "NO_SDL_GLEXT"
    54  */
    55 #ifndef NO_SDL_GLEXT
    56 #if !defined(__glext_h_) && !defined(GL_GLEXT_LEGACY)
    57 #define __glext_h_
    58 
    59 #ifdef __cplusplus
    60 extern "C" {
    61 #endif
    62 
    63 /*
    64 ** License Applicability. Except to the extent portions of this file are
    65 ** made subject to an alternative license as permitted in the SGI Free
    66 ** Software License B, Version 1.1 (the "License"), the contents of this
    67 ** file are subject only to the provisions of the License. You may not use
    68 ** this file except in compliance with the License. You may obtain a copy
    69 ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
    70 ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
    71 ** 
    72 ** http://oss.sgi.com/projects/FreeB
    73 ** 
    74 ** Note that, as provided in the License, the Software is distributed on an
    75 ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
    76 ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
    77 ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
    78 ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
    79 ** 
    80 ** Original Code. The Original Code is: OpenGL Sample Implementation,
    81 ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
    82 ** Inc. The Original Code is Copyright (c) 1991-2002 Silicon Graphics, Inc.
    83 ** Copyright in any portions created by third parties is as indicated
    84 ** elsewhere herein. All Rights Reserved.
    85 ** 
    86 ** Additional Notice Provisions: This software was created using the
    87 ** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
    88 ** not been independently verified as being compliant with the OpenGL(R)
    89 ** version 1.2.1 Specification.
    90 */
    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 /* Header file version number, required by OpenGL ABI for Linux */
   110 /* glext.h last updated 2003/1/12 */
   111 /* Current version at http://oss.sgi.com/projects/ogl-sample/registry/ */
   112 #define GL_GLEXT_VERSION 21
   113 
   114 #ifndef GL_VERSION_1_2
   115 #define GL_UNSIGNED_BYTE_3_3_2            0x8032
   116 #define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
   117 #define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
   118 #define GL_UNSIGNED_INT_8_8_8_8           0x8035
   119 #define GL_UNSIGNED_INT_10_10_10_2        0x8036
   120 #define GL_RESCALE_NORMAL                 0x803A
   121 #define GL_TEXTURE_BINDING_3D             0x806A
   122 #define GL_PACK_SKIP_IMAGES               0x806B
   123 #define GL_PACK_IMAGE_HEIGHT              0x806C
   124 #define GL_UNPACK_SKIP_IMAGES             0x806D
   125 #define GL_UNPACK_IMAGE_HEIGHT            0x806E
   126 #define GL_TEXTURE_3D                     0x806F
   127 #define GL_PROXY_TEXTURE_3D               0x8070
   128 #define GL_TEXTURE_DEPTH                  0x8071
   129 #define GL_TEXTURE_WRAP_R                 0x8072
   130 #define GL_MAX_3D_TEXTURE_SIZE            0x8073
   131 #define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
   132 #define GL_UNSIGNED_SHORT_5_6_5           0x8363
   133 #define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
   134 #define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
   135 #define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
   136 #define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
   137 #define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
   138 #define GL_BGR                            0x80E0
   139 #define GL_BGRA                           0x80E1
   140 #define GL_MAX_ELEMENTS_VERTICES          0x80E8
   141 #define GL_MAX_ELEMENTS_INDICES           0x80E9
   142 #define GL_CLAMP_TO_EDGE                  0x812F
   143 #define GL_TEXTURE_MIN_LOD                0x813A
   144 #define GL_TEXTURE_MAX_LOD                0x813B
   145 #define GL_TEXTURE_BASE_LEVEL             0x813C
   146 #define GL_TEXTURE_MAX_LEVEL              0x813D
   147 #define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
   148 #define GL_SINGLE_COLOR                   0x81F9
   149 #define GL_SEPARATE_SPECULAR_COLOR        0x81FA
   150 #define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
   151 #define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
   152 #define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
   153 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
   154 #define GL_ALIASED_POINT_SIZE_RANGE       0x846D
   155 #define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
   156 #endif
   157 
   158 #ifndef GL_ARB_imaging
   159 #define GL_CONSTANT_COLOR                 0x8001
   160 #define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
   161 #define GL_CONSTANT_ALPHA                 0x8003
   162 #define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
   163 #define GL_BLEND_COLOR                    0x8005
   164 #define GL_FUNC_ADD                       0x8006
   165 #define GL_MIN                            0x8007
   166 #define GL_MAX                            0x8008
   167 #define GL_BLEND_EQUATION                 0x8009
   168 #define GL_FUNC_SUBTRACT                  0x800A
   169 #define GL_FUNC_REVERSE_SUBTRACT          0x800B
   170 #define GL_CONVOLUTION_1D                 0x8010
   171 #define GL_CONVOLUTION_2D                 0x8011
   172 #define GL_SEPARABLE_2D                   0x8012
   173 #define GL_CONVOLUTION_BORDER_MODE        0x8013
   174 #define GL_CONVOLUTION_FILTER_SCALE       0x8014
   175 #define GL_CONVOLUTION_FILTER_BIAS        0x8015
   176 #define GL_REDUCE                         0x8016
   177 #define GL_CONVOLUTION_FORMAT             0x8017
   178 #define GL_CONVOLUTION_WIDTH              0x8018
   179 #define GL_CONVOLUTION_HEIGHT             0x8019
   180 #define GL_MAX_CONVOLUTION_WIDTH          0x801A
   181 #define GL_MAX_CONVOLUTION_HEIGHT         0x801B
   182 #define GL_POST_CONVOLUTION_RED_SCALE     0x801C
   183 #define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
   184 #define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
   185 #define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
   186 #define GL_POST_CONVOLUTION_RED_BIAS      0x8020
   187 #define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
   188 #define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
   189 #define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
   190 #define GL_HISTOGRAM                      0x8024
   191 #define GL_PROXY_HISTOGRAM                0x8025
   192 #define GL_HISTOGRAM_WIDTH                0x8026
   193 #define GL_HISTOGRAM_FORMAT               0x8027
   194 #define GL_HISTOGRAM_RED_SIZE             0x8028
   195 #define GL_HISTOGRAM_GREEN_SIZE           0x8029
   196 #define GL_HISTOGRAM_BLUE_SIZE            0x802A
   197 #define GL_HISTOGRAM_ALPHA_SIZE           0x802B
   198 #define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
   199 #define GL_HISTOGRAM_SINK                 0x802D
   200 #define GL_MINMAX                         0x802E
   201 #define GL_MINMAX_FORMAT                  0x802F
   202 #define GL_MINMAX_SINK                    0x8030
   203 #define GL_TABLE_TOO_LARGE                0x8031
   204 #define GL_COLOR_MATRIX                   0x80B1
   205 #define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
   206 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
   207 #define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
   208 #define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
   209 #define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
   210 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
   211 #define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
   212 #define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
   213 #define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
   214 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
   215 #define GL_COLOR_TABLE                    0x80D0
   216 #define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
   217 #define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
   218 #define GL_PROXY_COLOR_TABLE              0x80D3
   219 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
   220 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
   221 #define GL_COLOR_TABLE_SCALE              0x80D6
   222 #define GL_COLOR_TABLE_BIAS               0x80D7
   223 #define GL_COLOR_TABLE_FORMAT             0x80D8
   224 #define GL_COLOR_TABLE_WIDTH              0x80D9
   225 #define GL_COLOR_TABLE_RED_SIZE           0x80DA
   226 #define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
   227 #define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
   228 #define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
   229 #define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
   230 #define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
   231 #define GL_CONSTANT_BORDER                0x8151
   232 #define GL_REPLICATE_BORDER               0x8153
   233 #define GL_CONVOLUTION_BORDER_COLOR       0x8154
   234 #endif
   235 
   236 #ifndef GL_VERSION_1_3
   237 #define GL_TEXTURE0                       0x84C0
   238 #define GL_TEXTURE1                       0x84C1
   239 #define GL_TEXTURE2                       0x84C2
   240 #define GL_TEXTURE3                       0x84C3
   241 #define GL_TEXTURE4                       0x84C4
   242 #define GL_TEXTURE5                       0x84C5
   243 #define GL_TEXTURE6                       0x84C6
   244 #define GL_TEXTURE7                       0x84C7
   245 #define GL_TEXTURE8                       0x84C8
   246 #define GL_TEXTURE9                       0x84C9
   247 #define GL_TEXTURE10                      0x84CA
   248 #define GL_TEXTURE11                      0x84CB
   249 #define GL_TEXTURE12                      0x84CC
   250 #define GL_TEXTURE13                      0x84CD
   251 #define GL_TEXTURE14                      0x84CE
   252 #define GL_TEXTURE15                      0x84CF
   253 #define GL_TEXTURE16                      0x84D0
   254 #define GL_TEXTURE17                      0x84D1
   255 #define GL_TEXTURE18                      0x84D2
   256 #define GL_TEXTURE19                      0x84D3
   257 #define GL_TEXTURE20                      0x84D4
   258 #define GL_TEXTURE21                      0x84D5
   259 #define GL_TEXTURE22                      0x84D6
   260 #define GL_TEXTURE23                      0x84D7
   261 #define GL_TEXTURE24                      0x84D8
   262 #define GL_TEXTURE25                      0x84D9
   263 #define GL_TEXTURE26                      0x84DA
   264 #define GL_TEXTURE27                      0x84DB
   265 #define GL_TEXTURE28                      0x84DC
   266 #define GL_TEXTURE29                      0x84DD
   267 #define GL_TEXTURE30                      0x84DE
   268 #define GL_TEXTURE31                      0x84DF
   269 #define GL_ACTIVE_TEXTURE                 0x84E0
   270 #define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
   271 #define GL_MAX_TEXTURE_UNITS              0x84E2
   272 #define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
   273 #define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
   274 #define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
   275 #define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
   276 #define GL_MULTISAMPLE                    0x809D
   277 #define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
   278 #define GL_SAMPLE_ALPHA_TO_ONE            0x809F
   279 #define GL_SAMPLE_COVERAGE                0x80A0
   280 #define GL_SAMPLE_BUFFERS                 0x80A8
   281 #define GL_SAMPLES                        0x80A9
   282 #define GL_SAMPLE_COVERAGE_VALUE          0x80AA
   283 #define GL_SAMPLE_COVERAGE_INVERT         0x80AB
   284 #define GL_MULTISAMPLE_BIT                0x20000000
   285 #define GL_NORMAL_MAP                     0x8511
   286 #define GL_REFLECTION_MAP                 0x8512
   287 #define GL_TEXTURE_CUBE_MAP               0x8513
   288 #define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
   289 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
   290 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
   291 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
   292 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
   293 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
   294 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
   295 #define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
   296 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
   297 #define GL_COMPRESSED_ALPHA               0x84E9
   298 #define GL_COMPRESSED_LUMINANCE           0x84EA
   299 #define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
   300 #define GL_COMPRESSED_INTENSITY           0x84EC
   301 #define GL_COMPRESSED_RGB                 0x84ED
   302 #define GL_COMPRESSED_RGBA                0x84EE
   303 #define GL_TEXTURE_COMPRESSION_HINT       0x84EF
   304 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
   305 #define GL_TEXTURE_COMPRESSED             0x86A1
   306 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
   307 #define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
   308 #define GL_CLAMP_TO_BORDER                0x812D
   309 #define GL_CLAMP_TO_BORDER_SGIS           0x812D
   310 #define GL_COMBINE                        0x8570
   311 #define GL_COMBINE_RGB                    0x8571
   312 #define GL_COMBINE_ALPHA                  0x8572
   313 #define GL_SOURCE0_RGB                    0x8580
   314 #define GL_SOURCE1_RGB                    0x8581
   315 #define GL_SOURCE2_RGB                    0x8582
   316 #define GL_SOURCE0_ALPHA                  0x8588
   317 #define GL_SOURCE1_ALPHA                  0x8589
   318 #define GL_SOURCE2_ALPHA                  0x858A
   319 #define GL_OPERAND0_RGB                   0x8590
   320 #define GL_OPERAND1_RGB                   0x8591
   321 #define GL_OPERAND2_RGB                   0x8592
   322 #define GL_OPERAND0_ALPHA                 0x8598
   323 #define GL_OPERAND1_ALPHA                 0x8599
   324 #define GL_OPERAND2_ALPHA                 0x859A
   325 #define GL_RGB_SCALE                      0x8573
   326 #define GL_ADD_SIGNED                     0x8574
   327 #define GL_INTERPOLATE                    0x8575
   328 #define GL_SUBTRACT                       0x84E7
   329 #define GL_CONSTANT                       0x8576
   330 #define GL_PRIMARY_COLOR                  0x8577
   331 #define GL_PREVIOUS                       0x8578
   332 #define GL_DOT3_RGB                       0x86AE
   333 #define GL_DOT3_RGBA                      0x86AF
   334 #endif
   335 
   336 #ifndef GL_VERSION_1_4
   337 #define GL_BLEND_DST_RGB                  0x80C8
   338 #define GL_BLEND_SRC_RGB                  0x80C9
   339 #define GL_BLEND_DST_ALPHA                0x80CA
   340 #define GL_BLEND_SRC_ALPHA                0x80CB
   341 #define GL_POINT_SIZE_MIN                 0x8126
   342 #define GL_POINT_SIZE_MAX                 0x8127
   343 #define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
   344 #define GL_POINT_DISTANCE_ATTENUATION     0x8129
   345 #define GL_GENERATE_MIPMAP                0x8191
   346 #define GL_GENERATE_MIPMAP_HINT           0x8192
   347 #define GL_DEPTH_COMPONENT16              0x81A5
   348 #define GL_DEPTH_COMPONENT24              0x81A6
   349 #define GL_DEPTH_COMPONENT32              0x81A7
   350 #define GL_MIRRORED_REPEAT                0x8370
   351 #define GL_FOG_COORDINATE_SOURCE          0x8450
   352 #define GL_FOG_COORDINATE                 0x8451
   353 #define GL_FRAGMENT_DEPTH                 0x8452
   354 #define GL_CURRENT_FOG_COORDINATE         0x8453
   355 #define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
   356 #define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
   357 #define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
   358 #define GL_FOG_COORDINATE_ARRAY           0x8457
   359 #define GL_COLOR_SUM                      0x8458
   360 #define GL_CURRENT_SECONDARY_COLOR        0x8459
   361 #define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
   362 #define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
   363 #define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
   364 #define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
   365 #define GL_SECONDARY_COLOR_ARRAY          0x845E
   366 #define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
   367 #define GL_TEXTURE_FILTER_CONTROL         0x8500
   368 #define GL_TEXTURE_LOD_BIAS               0x8501
   369 #define GL_INCR_WRAP                      0x8507
   370 #define GL_DECR_WRAP                      0x8508
   371 #define GL_TEXTURE_DEPTH_SIZE             0x884A
   372 #define GL_DEPTH_TEXTURE_MODE             0x884B
   373 #define GL_TEXTURE_COMPARE_MODE           0x884C
   374 #define GL_TEXTURE_COMPARE_FUNC           0x884D
   375 #define GL_COMPARE_R_TO_TEXTURE           0x884E
   376 #endif
   377 
   378 #ifndef GL_VERSION_1_5
   379 #define GL_BUFFER_SIZE                    0x8764
   380 #define GL_BUFFER_USAGE                   0x8765
   381 #define GL_QUERY_COUNTER_BITS             0x8864
   382 #define GL_CURRENT_QUERY                  0x8865
   383 #define GL_QUERY_RESULT                   0x8866
   384 #define GL_QUERY_RESULT_AVAILABLE         0x8867
   385 #define GL_ARRAY_BUFFER                   0x8892
   386 #define GL_ELEMENT_ARRAY_BUFFER           0x8893
   387 #define GL_ARRAY_BUFFER_BINDING           0x8894
   388 #define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
   389 #define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
   390 #define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
   391 #define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
   392 #define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
   393 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
   394 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
   395 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
   396 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
   397 #define GL_WEIGHT_ARRAY_BUFFER_BINDING    0x889E
   398 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
   399 #define GL_READ_ONLY                      0x88B8
   400 #define GL_WRITE_ONLY                     0x88B9
   401 #define GL_READ_WRITE                     0x88BA
   402 #define GL_BUFFER_ACCESS                  0x88BB
   403 #define GL_BUFFER_MAPPED                  0x88BC
   404 #define GL_BUFFER_MAP_POINTER             0x88BD
   405 #define GL_STREAM_DRAW                    0x88E0
   406 #define GL_STREAM_READ                    0x88E1
   407 #define GL_STREAM_COPY                    0x88E2
   408 #define GL_STATIC_DRAW                    0x88E4
   409 #define GL_STATIC_READ                    0x88E5
   410 #define GL_STATIC_COPY                    0x88E6
   411 #define GL_DYNAMIC_DRAW                   0x88E8
   412 #define GL_DYNAMIC_READ                   0x88E9
   413 #define GL_DYNAMIC_COPY                   0x88EA
   414 #define GL_SAMPLES_PASSED                 0x8914
   415 #define GL_FOG_COORD_SOURCE               GL_FOG_COORDINATE_SOURCE
   416 #define GL_FOG_COORD                      GL_FOG_COORDINATE
   417 #define GL_CURRENT_FOG_COORD              GL_CURRENT_FOG_COORDINATE
   418 #define GL_FOG_COORD_ARRAY_TYPE           GL_FOG_COORDINATE_ARRAY_TYPE
   419 #define GL_FOG_COORD_ARRAY_STRIDE         GL_FOG_COORDINATE_ARRAY_STRIDE
   420 #define GL_FOG_COORD_ARRAY_POINTER        GL_FOG_COORDINATE_ARRAY_POINTER
   421 #define GL_FOG_COORD_ARRAY                GL_FOG_COORDINATE_ARRAY
   422 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
   423 #define GL_SRC0_RGB                       GL_SOURCE0_RGB
   424 #define GL_SRC1_RGB                       GL_SOURCE1_RGB
   425 #define GL_SRC2_RGB                       GL_SOURCE2_RGB
   426 #define GL_SRC0_ALPHA                     GL_SOURCE0_ALPHA
   427 #define GL_SRC1_ALPHA                     GL_SOURCE1_ALPHA
   428 #define GL_SRC2_ALPHA                     GL_SOURCE2_ALPHA
   429 #endif
   430 
   431 #ifndef GL_ARB_multitexture
   432 #define GL_TEXTURE0_ARB                   0x84C0
   433 #define GL_TEXTURE1_ARB                   0x84C1
   434 #define GL_TEXTURE2_ARB                   0x84C2
   435 #define GL_TEXTURE3_ARB                   0x84C3
   436 #define GL_TEXTURE4_ARB                   0x84C4
   437 #define GL_TEXTURE5_ARB                   0x84C5
   438 #define GL_TEXTURE6_ARB                   0x84C6
   439 #define GL_TEXTURE7_ARB                   0x84C7
   440 #define GL_TEXTURE8_ARB                   0x84C8
   441 #define GL_TEXTURE9_ARB                   0x84C9
   442 #define GL_TEXTURE10_ARB                  0x84CA
   443 #define GL_TEXTURE11_ARB                  0x84CB
   444 #define GL_TEXTURE12_ARB                  0x84CC
   445 #define GL_TEXTURE13_ARB                  0x84CD
   446 #define GL_TEXTURE14_ARB                  0x84CE
   447 #define GL_TEXTURE15_ARB                  0x84CF
   448 #define GL_TEXTURE16_ARB                  0x84D0
   449 #define GL_TEXTURE17_ARB                  0x84D1
   450 #define GL_TEXTURE18_ARB                  0x84D2
   451 #define GL_TEXTURE19_ARB                  0x84D3
   452 #define GL_TEXTURE20_ARB                  0x84D4
   453 #define GL_TEXTURE21_ARB                  0x84D5
   454 #define GL_TEXTURE22_ARB                  0x84D6
   455 #define GL_TEXTURE23_ARB                  0x84D7
   456 #define GL_TEXTURE24_ARB                  0x84D8
   457 #define GL_TEXTURE25_ARB                  0x84D9
   458 #define GL_TEXTURE26_ARB                  0x84DA
   459 #define GL_TEXTURE27_ARB                  0x84DB
   460 #define GL_TEXTURE28_ARB                  0x84DC
   461 #define GL_TEXTURE29_ARB                  0x84DD
   462 #define GL_TEXTURE30_ARB                  0x84DE
   463 #define GL_TEXTURE31_ARB                  0x84DF
   464 #define GL_ACTIVE_TEXTURE_ARB             0x84E0
   465 #define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
   466 #define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
   467 #endif
   468 
   469 #ifndef GL_ARB_transpose_matrix
   470 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
   471 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
   472 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
   473 #define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
   474 #endif
   475 
   476 #ifndef GL_ARB_multisample
   477 #define GL_MULTISAMPLE_ARB                0x809D
   478 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
   479 #define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
   480 #define GL_SAMPLE_COVERAGE_ARB            0x80A0
   481 #define GL_SAMPLE_BUFFERS_ARB             0x80A8
   482 #define GL_SAMPLES_ARB                    0x80A9
   483 #define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
   484 #define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
   485 #define GL_MULTISAMPLE_BIT_ARB            0x20000000
   486 #endif
   487 
   488 #ifndef GL_ARB_texture_env_add
   489 #endif
   490 
   491 #ifndef GL_ARB_texture_cube_map
   492 #define GL_NORMAL_MAP_ARB                 0x8511
   493 #define GL_REFLECTION_MAP_ARB             0x8512
   494 #define GL_TEXTURE_CUBE_MAP_ARB           0x8513
   495 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
   496 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
   497 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
   498 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
   499 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
   500 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
   501 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
   502 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
   503 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
   504 #endif
   505 
   506 #ifndef GL_ARB_texture_compression
   507 #define GL_COMPRESSED_ALPHA_ARB           0x84E9
   508 #define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
   509 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
   510 #define GL_COMPRESSED_INTENSITY_ARB       0x84EC
   511 #define GL_COMPRESSED_RGB_ARB             0x84ED
   512 #define GL_COMPRESSED_RGBA_ARB            0x84EE
   513 #define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
   514 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
   515 #define GL_TEXTURE_COMPRESSED_ARB         0x86A1
   516 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
   517 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
   518 #endif
   519 
   520 #ifndef GL_ARB_texture_border_clamp
   521 #define GL_CLAMP_TO_BORDER_ARB            0x812D
   522 #endif
   523 
   524 #ifndef GL_ARB_point_parameters
   525 #define GL_POINT_SIZE_MIN_ARB             0x8126
   526 #define GL_POINT_SIZE_MAX_ARB             0x8127
   527 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB  0x8128
   528 #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
   529 #endif
   530 
   531 #ifndef GL_ARB_vertex_blend
   532 #define GL_MAX_VERTEX_UNITS_ARB           0x86A4
   533 #define GL_ACTIVE_VERTEX_UNITS_ARB        0x86A5
   534 #define GL_WEIGHT_SUM_UNITY_ARB           0x86A6
   535 #define GL_VERTEX_BLEND_ARB               0x86A7
   536 #define GL_CURRENT_WEIGHT_ARB             0x86A8
   537 #define GL_WEIGHT_ARRAY_TYPE_ARB          0x86A9
   538 #define GL_WEIGHT_ARRAY_STRIDE_ARB        0x86AA
   539 #define GL_WEIGHT_ARRAY_SIZE_ARB          0x86AB
   540 #define GL_WEIGHT_ARRAY_POINTER_ARB       0x86AC
   541 #define GL_WEIGHT_ARRAY_ARB               0x86AD
   542 #define GL_MODELVIEW0_ARB                 0x1700
   543 #define GL_MODELVIEW1_ARB                 0x850A
   544 #define GL_MODELVIEW2_ARB                 0x8722
   545 #define GL_MODELVIEW3_ARB                 0x8723
   546 #define GL_MODELVIEW4_ARB                 0x8724
   547 #define GL_MODELVIEW5_ARB                 0x8725
   548 #define GL_MODELVIEW6_ARB                 0x8726
   549 #define GL_MODELVIEW7_ARB                 0x8727
   550 #define GL_MODELVIEW8_ARB                 0x8728
   551 #define GL_MODELVIEW9_ARB                 0x8729
   552 #define GL_MODELVIEW10_ARB                0x872A
   553 #define GL_MODELVIEW11_ARB                0x872B
   554 #define GL_MODELVIEW12_ARB                0x872C
   555 #define GL_MODELVIEW13_ARB                0x872D
   556 #define GL_MODELVIEW14_ARB                0x872E
   557 #define GL_MODELVIEW15_ARB                0x872F
   558 #define GL_MODELVIEW16_ARB                0x8730
   559 #define GL_MODELVIEW17_ARB                0x8731
   560 #define GL_MODELVIEW18_ARB                0x8732
   561 #define GL_MODELVIEW19_ARB                0x8733
   562 #define GL_MODELVIEW20_ARB                0x8734
   563 #define GL_MODELVIEW21_ARB                0x8735
   564 #define GL_MODELVIEW22_ARB                0x8736
   565 #define GL_MODELVIEW23_ARB                0x8737
   566 #define GL_MODELVIEW24_ARB                0x8738
   567 #define GL_MODELVIEW25_ARB                0x8739
   568 #define GL_MODELVIEW26_ARB                0x873A
   569 #define GL_MODELVIEW27_ARB                0x873B
   570 #define GL_MODELVIEW28_ARB                0x873C
   571 #define GL_MODELVIEW29_ARB                0x873D
   572 #define GL_MODELVIEW30_ARB                0x873E
   573 #define GL_MODELVIEW31_ARB                0x873F
   574 #endif
   575 
   576 #ifndef GL_ARB_matrix_palette
   577 #define GL_MATRIX_PALETTE_ARB             0x8840
   578 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
   579 #define GL_MAX_PALETTE_MATRICES_ARB       0x8842
   580 #define GL_CURRENT_PALETTE_MATRIX_ARB     0x8843
   581 #define GL_MATRIX_INDEX_ARRAY_ARB         0x8844
   582 #define GL_CURRENT_MATRIX_INDEX_ARB       0x8845
   583 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB    0x8846
   584 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB    0x8847
   585 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB  0x8848
   586 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
   587 #endif
   588 
   589 #ifndef GL_ARB_texture_env_combine
   590 #define GL_COMBINE_ARB                    0x8570
   591 #define GL_COMBINE_RGB_ARB                0x8571
   592 #define GL_COMBINE_ALPHA_ARB              0x8572
   593 #define GL_SOURCE0_RGB_ARB                0x8580
   594 #define GL_SOURCE1_RGB_ARB                0x8581
   595 #define GL_SOURCE2_RGB_ARB                0x8582
   596 #define GL_SOURCE0_ALPHA_ARB              0x8588
   597 #define GL_SOURCE1_ALPHA_ARB              0x8589
   598 #define GL_SOURCE2_ALPHA_ARB              0x858A
   599 #define GL_OPERAND0_RGB_ARB               0x8590
   600 #define GL_OPERAND1_RGB_ARB               0x8591
   601 #define GL_OPERAND2_RGB_ARB               0x8592
   602 #define GL_OPERAND0_ALPHA_ARB             0x8598
   603 #define GL_OPERAND1_ALPHA_ARB             0x8599
   604 #define GL_OPERAND2_ALPHA_ARB             0x859A
   605 #define GL_RGB_SCALE_ARB                  0x8573
   606 #define GL_ADD_SIGNED_ARB                 0x8574
   607 #define GL_INTERPOLATE_ARB                0x8575
   608 #define GL_SUBTRACT_ARB                   0x84E7
   609 #define GL_CONSTANT_ARB                   0x8576
   610 #define GL_PRIMARY_COLOR_ARB              0x8577
   611 #define GL_PREVIOUS_ARB                   0x8578
   612 #endif
   613 
   614 #ifndef GL_ARB_texture_env_crossbar
   615 #endif
   616 
   617 #ifndef GL_ARB_texture_env_dot3
   618 #define GL_DOT3_RGB_ARB                   0x86AE
   619 #define GL_DOT3_RGBA_ARB                  0x86AF
   620 #endif
   621 
   622 #ifndef GL_ARB_texture_mirrored_repeat
   623 #define GL_MIRRORED_REPEAT_ARB            0x8370
   624 #endif
   625 
   626 #ifndef GL_ARB_depth_texture
   627 #define GL_DEPTH_COMPONENT16_ARB          0x81A5
   628 #define GL_DEPTH_COMPONENT24_ARB          0x81A6
   629 #define GL_DEPTH_COMPONENT32_ARB          0x81A7
   630 #define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
   631 #define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
   632 #endif
   633 
   634 #ifndef GL_ARB_shadow
   635 #define GL_TEXTURE_COMPARE_MODE_ARB       0x884C
   636 #define GL_TEXTURE_COMPARE_FUNC_ARB       0x884D
   637 #define GL_COMPARE_R_TO_TEXTURE_ARB       0x884E
   638 #endif
   639 
   640 #ifndef GL_ARB_shadow_ambient
   641 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
   642 #endif
   643 
   644 #ifndef GL_ARB_window_pos
   645 #endif
   646 
   647 #ifndef GL_ARB_vertex_program
   648 #define GL_COLOR_SUM_ARB                  0x8458
   649 #define GL_VERTEX_PROGRAM_ARB             0x8620
   650 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
   651 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB   0x8623
   652 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
   653 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB   0x8625
   654 #define GL_CURRENT_VERTEX_ATTRIB_ARB      0x8626
   655 #define GL_PROGRAM_LENGTH_ARB             0x8627
   656 #define GL_PROGRAM_STRING_ARB             0x8628
   657 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
   658 #define GL_MAX_PROGRAM_MATRICES_ARB       0x862F
   659 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
   660 #define GL_CURRENT_MATRIX_ARB             0x8641
   661 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB  0x8642
   662 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB    0x8643
   663 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
   664 #define GL_PROGRAM_ERROR_POSITION_ARB     0x864B
   665 #define GL_PROGRAM_BINDING_ARB            0x8677
   666 #define GL_MAX_VERTEX_ATTRIBS_ARB         0x8869
   667 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
   668 #define GL_PROGRAM_ERROR_STRING_ARB       0x8874
   669 #define GL_PROGRAM_FORMAT_ASCII_ARB       0x8875
   670 #define GL_PROGRAM_FORMAT_ARB             0x8876
   671 #define GL_PROGRAM_INSTRUCTIONS_ARB       0x88A0
   672 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB   0x88A1
   673 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
   674 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
   675 #define GL_PROGRAM_TEMPORARIES_ARB        0x88A4
   676 #define GL_MAX_PROGRAM_TEMPORARIES_ARB    0x88A5
   677 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
   678 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
   679 #define GL_PROGRAM_PARAMETERS_ARB         0x88A8
   680 #define GL_MAX_PROGRAM_PARAMETERS_ARB     0x88A9
   681 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB  0x88AA
   682 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
   683 #define GL_PROGRAM_ATTRIBS_ARB            0x88AC
   684 #define GL_MAX_PROGRAM_ATTRIBS_ARB        0x88AD
   685 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB     0x88AE
   686 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
   687 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB  0x88B0
   688 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
   689 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
   690 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
   691 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
   692 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
   693 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
   694 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB   0x88B7
   695 #define GL_MATRIX0_ARB                    0x88C0
   696 #define GL_MATRIX1_ARB                    0x88C1
   697 #define GL_MATRIX2_ARB                    0x88C2
   698 #define GL_MATRIX3_ARB                    0x88C3
   699 #define GL_MATRIX4_ARB                    0x88C4
   700 #define GL_MATRIX5_ARB                    0x88C5
   701 #define GL_MATRIX6_ARB                    0x88C6
   702 #define GL_MATRIX7_ARB                    0x88C7
   703 #define GL_MATRIX8_ARB                    0x88C8
   704 #define GL_MATRIX9_ARB                    0x88C9
   705 #define GL_MATRIX10_ARB                   0x88CA
   706 #define GL_MATRIX11_ARB                   0x88CB
   707 #define GL_MATRIX12_ARB                   0x88CC
   708 #define GL_MATRIX13_ARB                   0x88CD
   709 #define GL_MATRIX14_ARB                   0x88CE
   710 #define GL_MATRIX15_ARB                   0x88CF
   711 #define GL_MATRIX16_ARB                   0x88D0
   712 #define GL_MATRIX17_ARB                   0x88D1
   713 #define GL_MATRIX18_ARB                   0x88D2
   714 #define GL_MATRIX19_ARB                   0x88D3
   715 #define GL_MATRIX20_ARB                   0x88D4
   716 #define GL_MATRIX21_ARB                   0x88D5
   717 #define GL_MATRIX22_ARB                   0x88D6
   718 #define GL_MATRIX23_ARB                   0x88D7
   719 #define GL_MATRIX24_ARB                   0x88D8
   720 #define GL_MATRIX25_ARB                   0x88D9
   721 #define GL_MATRIX26_ARB                   0x88DA
   722 #define GL_MATRIX27_ARB                   0x88DB
   723 #define GL_MATRIX28_ARB                   0x88DC
   724 #define GL_MATRIX29_ARB                   0x88DD
   725 #define GL_MATRIX30_ARB                   0x88DE
   726 #define GL_MATRIX31_ARB                   0x88DF
   727 #endif
   728 
   729 #ifndef GL_ARB_fragment_program
   730 #define GL_FRAGMENT_PROGRAM_ARB           0x8804
   731 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB   0x8805
   732 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB   0x8806
   733 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB   0x8807
   734 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
   735 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
   736 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
   737 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
   738 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
   739 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
   740 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
   741 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
   742 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
   743 #define GL_MAX_TEXTURE_COORDS_ARB         0x8871
   744 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB    0x8872
   745 #endif
   746 
   747 #ifndef GL_ARB_vertex_buffer_object
   748 #define GL_BUFFER_SIZE_ARB                0x8764
   749 #define GL_BUFFER_USAGE_ARB               0x8765
   750 #define GL_ARRAY_BUFFER_ARB               0x8892
   751 #define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893
   752 #define GL_ARRAY_BUFFER_BINDING_ARB       0x8894
   753 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
   754 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
   755 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
   756 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
   757 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
   758 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
   759 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
   760 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
   761 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
   762 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
   763 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
   764 #define GL_READ_ONLY_ARB                  0x88B8
   765 #define GL_WRITE_ONLY_ARB                 0x88B9
   766 #define GL_READ_WRITE_ARB                 0x88BA
   767 #define GL_BUFFER_ACCESS_ARB              0x88BB
   768 #define GL_BUFFER_MAPPED_ARB              0x88BC
   769 #define GL_BUFFER_MAP_POINTER_ARB         0x88BD
   770 #define GL_STREAM_DRAW_ARB                0x88E0
   771 #define GL_STREAM_READ_ARB                0x88E1
   772 #define GL_STREAM_COPY_ARB                0x88E2
   773 #define GL_STATIC_DRAW_ARB                0x88E4
   774 #define GL_STATIC_READ_ARB                0x88E5
   775 #define GL_STATIC_COPY_ARB                0x88E6
   776 #define GL_DYNAMIC_DRAW_ARB               0x88E8
   777 #define GL_DYNAMIC_READ_ARB               0x88E9
   778 #define GL_DYNAMIC_COPY_ARB               0x88EA
   779 #endif
   780 
   781 #ifndef GL_ARB_occlusion_query
   782 #define GL_QUERY_COUNTER_BITS_ARB         0x8864
   783 #define GL_CURRENT_QUERY_ARB              0x8865
   784 #define GL_QUERY_RESULT_ARB               0x8866
   785 #define GL_QUERY_RESULT_AVAILABLE_ARB     0x8867
   786 #define GL_SAMPLES_PASSED_ARB             0x8914
   787 #endif
   788 
   789 #ifndef GL_ARB_shader_objects
   790 #define GL_PROGRAM_OBJECT_ARB             0x8B40
   791 #define GL_SHADER_OBJECT_ARB              0x8B48
   792 #define GL_OBJECT_TYPE_ARB                0x8B4E
   793 #define GL_OBJECT_SUBTYPE_ARB             0x8B4F
   794 #define GL_FLOAT_VEC2_ARB                 0x8B50
   795 #define GL_FLOAT_VEC3_ARB                 0x8B51
   796 #define GL_FLOAT_VEC4_ARB                 0x8B52
   797 #define GL_INT_VEC2_ARB                   0x8B53
   798 #define GL_INT_VEC3_ARB                   0x8B54
   799 #define GL_INT_VEC4_ARB                   0x8B55
   800 #define GL_BOOL_ARB                       0x8B56
   801 #define GL_BOOL_VEC2_ARB                  0x8B57
   802 #define GL_BOOL_VEC3_ARB                  0x8B58
   803 #define GL_BOOL_VEC4_ARB                  0x8B59
   804 #define GL_FLOAT_MAT2_ARB                 0x8B5A
   805 #define GL_FLOAT_MAT3_ARB                 0x8B5B
   806 #define GL_FLOAT_MAT4_ARB                 0x8B5C
   807 #define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
   808 #define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
   809 #define GL_OBJECT_LINK_STATUS_ARB         0x8B82
   810 #define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
   811 #define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
   812 #define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
   813 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
   814 #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
   815 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
   816 #endif
   817 
   818 #ifndef GL_ARB_vertex_shader
   819 #define GL_VERTEX_SHADER_ARB              0x8B31
   820 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
   821 #define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
   822 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
   823 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
   824 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
   825 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
   826 #endif
   827 
   828 #ifndef GL_ARB_fragment_shader
   829 #define GL_FRAGMENT_SHADER_ARB            0x8B30
   830 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
   831 #endif
   832 
   833 #ifndef GL_ARB_shading_language_100
   834 #endif
   835 
   836 #ifndef GL_ARB_texture_non_power_of_two
   837 #endif
   838 
   839 #ifndef GL_ARB_point_sprite
   840 #define GL_POINT_SPRITE_ARB               0x8861
   841 #define GL_COORD_REPLACE_ARB              0x8862
   842 #endif
   843 
   844 #ifndef GL_EXT_abgr
   845 #define GL_ABGR_EXT                       0x8000
   846 #endif
   847 
   848 #ifndef GL_EXT_blend_color
   849 #define GL_CONSTANT_COLOR_EXT             0x8001
   850 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
   851 #define GL_CONSTANT_ALPHA_EXT             0x8003
   852 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
   853 #define GL_BLEND_COLOR_EXT                0x8005
   854 #endif
   855 
   856 #ifndef GL_EXT_polygon_offset
   857 #define GL_POLYGON_OFFSET_EXT             0x8037
   858 #define GL_POLYGON_OFFSET_FACTOR_EXT      0x8038
   859 #define GL_POLYGON_OFFSET_BIAS_EXT        0x8039
   860 #endif
   861 
   862 #ifndef GL_EXT_texture
   863 #define GL_ALPHA4_EXT                     0x803B
   864 #define GL_ALPHA8_EXT                     0x803C
   865 #define GL_ALPHA12_EXT                    0x803D
   866 #define GL_ALPHA16_EXT                    0x803E
   867 #define GL_LUMINANCE4_EXT                 0x803F
   868 #define GL_LUMINANCE8_EXT                 0x8040
   869 #define GL_LUMINANCE12_EXT                0x8041
   870 #define GL_LUMINANCE16_EXT                0x8042
   871 #define GL_LUMINANCE4_ALPHA4_EXT          0x8043
   872 #define GL_LUMINANCE6_ALPHA2_EXT          0x8044
   873 #define GL_LUMINANCE8_ALPHA8_EXT          0x8045
   874 #define GL_LUMINANCE12_ALPHA4_EXT         0x8046
   875 #define GL_LUMINANCE12_ALPHA12_EXT        0x8047
   876 #define GL_LUMINANCE16_ALPHA16_EXT        0x8048
   877 #define GL_INTENSITY_EXT                  0x8049
   878 #define GL_INTENSITY4_EXT                 0x804A
   879 #define GL_INTENSITY8_EXT                 0x804B
   880 #define GL_INTENSITY12_EXT                0x804C
   881 #define GL_INTENSITY16_EXT                0x804D
   882 #define GL_RGB2_EXT                       0x804E
   883 #define GL_RGB4_EXT                       0x804F
   884 #define GL_RGB5_EXT                       0x8050
   885 #define GL_RGB8_EXT                       0x8051
   886 #define GL_RGB10_EXT                      0x8052
   887 #define GL_RGB12_EXT                      0x8053
   888 #define GL_RGB16_EXT                      0x8054
   889 #define GL_RGBA2_EXT                      0x8055
   890 #define GL_RGBA4_EXT                      0x8056
   891 #define GL_RGB5_A1_EXT                    0x8057
   892 #define GL_RGBA8_EXT                      0x8058
   893 #define GL_RGB10_A2_EXT                   0x8059
   894 #define GL_RGBA12_EXT                     0x805A
   895 #define GL_RGBA16_EXT                     0x805B
   896 #define GL_TEXTURE_RED_SIZE_EXT           0x805C
   897 #define GL_TEXTURE_GREEN_SIZE_EXT         0x805D
   898 #define GL_TEXTURE_BLUE_SIZE_EXT          0x805E
   899 #define GL_TEXTURE_ALPHA_SIZE_EXT         0x805F
   900 #define GL_TEXTURE_LUMINANCE_SIZE_EXT     0x8060
   901 #define GL_TEXTURE_INTENSITY_SIZE_EXT     0x8061
   902 #define GL_REPLACE_EXT                    0x8062
   903 #define GL_PROXY_TEXTURE_1D_EXT           0x8063
   904 #define GL_PROXY_TEXTURE_2D_EXT           0x8064
   905 #define GL_TEXTURE_TOO_LARGE_EXT          0x8065
   906 #endif
   907 
   908 #ifndef GL_EXT_texture3D
   909 #define GL_PACK_SKIP_IMAGES_EXT           0x806B
   910 #define GL_PACK_IMAGE_HEIGHT_EXT          0x806C
   911 #define GL_UNPACK_SKIP_IMAGES_EXT         0x806D
   912 #define GL_UNPACK_IMAGE_HEIGHT_EXT        0x806E
   913 #define GL_TEXTURE_3D_EXT                 0x806F
   914 #define GL_PROXY_TEXTURE_3D_EXT           0x8070
   915 #define GL_TEXTURE_DEPTH_EXT              0x8071
   916 #define GL_TEXTURE_WRAP_R_EXT             0x8072
   917 #define GL_MAX_3D_TEXTURE_SIZE_EXT        0x8073
   918 #endif
   919 
   920 #ifndef GL_SGIS_texture_filter4
   921 #define GL_FILTER4_SGIS                   0x8146
   922 #define GL_TEXTURE_FILTER4_SIZE_SGIS      0x8147
   923 #endif
   924 
   925 #ifndef GL_EXT_subtexture
   926 #endif
   927 
   928 #ifndef GL_EXT_copy_texture
   929 #endif
   930 
   931 #ifndef GL_EXT_histogram
   932 #define GL_HISTOGRAM_EXT                  0x8024
   933 #define GL_PROXY_HISTOGRAM_EXT            0x8025
   934 #define GL_HISTOGRAM_WIDTH_EXT            0x8026
   935 #define GL_HISTOGRAM_FORMAT_EXT           0x8027
   936 #define GL_HISTOGRAM_RED_SIZE_EXT         0x8028
   937 #define GL_HISTOGRAM_GREEN_SIZE_EXT       0x8029
   938 #define GL_HISTOGRAM_BLUE_SIZE_EXT        0x802A
   939 #define GL_HISTOGRAM_ALPHA_SIZE_EXT       0x802B
   940 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT   0x802C
   941 #define GL_HISTOGRAM_SINK_EXT             0x802D
   942 #define GL_MINMAX_EXT                     0x802E
   943 #define GL_MINMAX_FORMAT_EXT              0x802F
   944 #define GL_MINMAX_SINK_EXT                0x8030
   945 #define GL_TABLE_TOO_LARGE_EXT            0x8031
   946 #endif
   947 
   948 #ifndef GL_EXT_convolution
   949 #define GL_CONVOLUTION_1D_EXT             0x8010
   950 #define GL_CONVOLUTION_2D_EXT             0x8011
   951 #define GL_SEPARABLE_2D_EXT               0x8012
   952 #define GL_CONVOLUTION_BORDER_MODE_EXT    0x8013
   953 #define GL_CONVOLUTION_FILTER_SCALE_EXT   0x8014
   954 #define GL_CONVOLUTION_FILTER_BIAS_EXT    0x8015
   955 #define GL_REDUCE_EXT                     0x8016
   956 #define GL_CONVOLUTION_FORMAT_EXT         0x8017
   957 #define GL_CONVOLUTION_WIDTH_EXT          0x8018
   958 #define GL_CONVOLUTION_HEIGHT_EXT         0x8019
   959 #define GL_MAX_CONVOLUTION_WIDTH_EXT      0x801A
   960 #define GL_MAX_CONVOLUTION_HEIGHT_EXT     0x801B
   961 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
   962 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
   963 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
   964 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
   965 #define GL_POST_CONVOLUTION_RED_BIAS_EXT  0x8020
   966 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
   967 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
   968 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
   969 #endif
   970 
   971 #ifndef GL_SGI_color_matrix
   972 #define GL_COLOR_MATRIX_SGI               0x80B1
   973 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI   0x80B2
   974 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
   975 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
   976 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
   977 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
   978 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
   979 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
   980 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
   981 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
   982 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
   983 #endif
   984 
   985 #ifndef GL_SGI_color_table
   986 #define GL_COLOR_TABLE_SGI                0x80D0
   987 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
   988 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
   989 #define GL_PROXY_COLOR_TABLE_SGI          0x80D3
   990 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
   991 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
   992 #define GL_COLOR_TABLE_SCALE_SGI          0x80D6
   993 #define GL_COLOR_TABLE_BIAS_SGI           0x80D7
   994 #define GL_COLOR_TABLE_FORMAT_SGI         0x80D8
   995 #define GL_COLOR_TABLE_WIDTH_SGI          0x80D9
   996 #define GL_COLOR_TABLE_RED_SIZE_SGI       0x80DA
   997 #define GL_COLOR_TABLE_GREEN_SIZE_SGI     0x80DB
   998 #define GL_COLOR_TABLE_BLUE_SIZE_SGI      0x80DC
   999 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI     0x80DD
  1000 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
  1001 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
  1002 #endif
  1003 
  1004 #ifndef GL_SGIS_pixel_texture
  1005 #define GL_PIXEL_TEXTURE_SGIS             0x8353
  1006 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
  1007 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
  1008 #define GL_PIXEL_GROUP_COLOR_SGIS         0x8356
  1009 #endif
  1010 
  1011 #ifndef GL_SGIX_pixel_texture
  1012 #define GL_PIXEL_TEX_GEN_SGIX             0x8139
  1013 #define GL_PIXEL_TEX_GEN_MODE_SGIX        0x832B
  1014 #endif
  1015 
  1016 #ifndef GL_SGIS_texture4D
  1017 #define GL_PACK_SKIP_VOLUMES_SGIS         0x8130
  1018 #define GL_PACK_IMAGE_DEPTH_SGIS          0x8131
  1019 #define GL_UNPACK_SKIP_VOLUMES_SGIS       0x8132
  1020 #define GL_UNPACK_IMAGE_DEPTH_SGIS        0x8133
  1021 #define GL_TEXTURE_4D_SGIS                0x8134
  1022 #define GL_PROXY_TEXTURE_4D_SGIS          0x8135
  1023 #define GL_TEXTURE_4DSIZE_SGIS            0x8136
  1024 #define GL_TEXTURE_WRAP_Q_SGIS            0x8137
  1025 #define GL_MAX_4D_TEXTURE_SIZE_SGIS       0x8138
  1026 #define GL_TEXTURE_4D_BINDING_SGIS        0x814F
  1027 #endif
  1028 
  1029 #ifndef GL_SGI_texture_color_table
  1030 #define GL_TEXTURE_COLOR_TABLE_SGI        0x80BC
  1031 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI  0x80BD
  1032 #endif
  1033 
  1034 #ifndef GL_EXT_cmyka
  1035 #define GL_CMYK_EXT                       0x800C
  1036 #define GL_CMYKA_EXT                      0x800D
  1037 #define GL_PACK_CMYK_HINT_EXT             0x800E
  1038 #define GL_UNPACK_CMYK_HINT_EXT           0x800F
  1039 #endif
  1040 
  1041 #ifndef GL_EXT_texture_object
  1042 #define GL_TEXTURE_PRIORITY_EXT           0x8066
  1043 #define GL_TEXTURE_RESIDENT_EXT           0x8067
  1044 #define GL_TEXTURE_1D_BINDING_EXT         0x8068
  1045 #define GL_TEXTURE_2D_BINDING_EXT         0x8069
  1046 #define GL_TEXTURE_3D_BINDING_EXT         0x806A
  1047 #endif
  1048 
  1049 #ifndef GL_SGIS_detail_texture
  1050 #define GL_DETAIL_TEXTURE_2D_SGIS         0x8095
  1051 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
  1052 #define GL_LINEAR_DETAIL_SGIS             0x8097
  1053 #define GL_LINEAR_DETAIL_ALPHA_SGIS       0x8098
  1054 #define GL_LINEAR_DETAIL_COLOR_SGIS       0x8099
  1055 #define GL_DETAIL_TEXTURE_LEVEL_SGIS      0x809A
  1056 #define GL_DETAIL_TEXTURE_MODE_SGIS       0x809B
  1057 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
  1058 #endif
  1059 
  1060 #ifndef GL_SGIS_sharpen_texture
  1061 #define GL_LINEAR_SHARPEN_SGIS            0x80AD
  1062 #define GL_LINEAR_SHARPEN_ALPHA_SGIS      0x80AE
  1063 #define GL_LINEAR_SHARPEN_COLOR_SGIS      0x80AF
  1064 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
  1065 #endif
  1066 
  1067 #ifndef GL_EXT_packed_pixels
  1068 #define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
  1069 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
  1070 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
  1071 #define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
  1072 #define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
  1073 #endif
  1074 
  1075 #ifndef GL_SGIS_texture_lod
  1076 #define GL_TEXTURE_MIN_LOD_SGIS           0x813A
  1077 #define GL_TEXTURE_MAX_LOD_SGIS           0x813B
  1078 #define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
  1079 #define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
  1080 #endif
  1081 
  1082 #ifndef GL_SGIS_multisample
  1083 #define GL_MULTISAMPLE_SGIS               0x809D
  1084 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS      0x809E
  1085 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS       0x809F
  1086 #define GL_SAMPLE_MASK_SGIS               0x80A0
  1087 #define GL_1PASS_SGIS                     0x80A1
  1088 #define GL_2PASS_0_SGIS                   0x80A2
  1089 #define GL_2PASS_1_SGIS                   0x80A3
  1090 #define GL_4PASS_0_SGIS                   0x80A4
  1091 #define GL_4PASS_1_SGIS                   0x80A5
  1092 #define GL_4PASS_2_SGIS                   0x80A6
  1093 #define GL_4PASS_3_SGIS                   0x80A7
  1094 #define GL_SAMPLE_BUFFERS_SGIS            0x80A8
  1095 #define GL_SAMPLES_SGIS                   0x80A9
  1096 #define GL_SAMPLE_MASK_VALUE_SGIS         0x80AA
  1097 #define GL_SAMPLE_MASK_INVERT_SGIS        0x80AB
  1098 #define GL_SAMPLE_PATTERN_SGIS            0x80AC
  1099 #endif
  1100 
  1101 #ifndef GL_EXT_rescale_normal
  1102 #define GL_RESCALE_NORMAL_EXT             0x803A
  1103 #endif
  1104 
  1105 #ifndef GL_EXT_vertex_array
  1106 #define GL_VERTEX_ARRAY_EXT               0x8074
  1107 #define GL_NORMAL_ARRAY_EXT               0x8075
  1108 #define GL_COLOR_ARRAY_EXT                0x8076
  1109 #define GL_INDEX_ARRAY_EXT                0x8077
  1110 #define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
  1111 #define GL_EDGE_FLAG_ARRAY_EXT            0x8079
  1112 #define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
  1113 #define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
  1114 #define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
  1115 #define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
  1116 #define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
  1117 #define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
  1118 #define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
  1119 #define GL_COLOR_ARRAY_SIZE_EXT           0x8081
  1120 #define GL_COLOR_ARRAY_TYPE_EXT           0x8082
  1121 #define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
  1122 #define GL_COLOR_ARRAY_COUNT_EXT          0x8084
  1123 #define GL_INDEX_ARRAY_TYPE_EXT           0x8085
  1124 #define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
  1125 #define GL_INDEX_ARRAY_COUNT_EXT          0x8087
  1126 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
  1127 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
  1128 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
  1129 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
  1130 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
  1131 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
  1132 #define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
  1133 #define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
  1134 #define GL_COLOR_ARRAY_POINTER_EXT        0x8090
  1135 #define GL_INDEX_ARRAY_POINTER_EXT        0x8091
  1136 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
  1137 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
  1138 #endif
  1139 
  1140 #ifndef GL_EXT_misc_attribute
  1141 #endif
  1142 
  1143 #ifndef GL_SGIS_generate_mipmap
  1144 #define GL_GENERATE_MIPMAP_SGIS           0x8191
  1145 #define GL_GENERATE_MIPMAP_HINT_SGIS      0x8192
  1146 #endif
  1147 
  1148 #ifndef GL_SGIX_clipmap
  1149 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX     0x8170
  1150 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX    0x8171
  1151 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX     0x8172
  1152 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX    0x8173
  1153 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
  1154 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
  1155 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX     0x8176
  1156 #define GL_MAX_CLIPMAP_DEPTH_SGIX         0x8177
  1157 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
  1158 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX   0x844D
  1159 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX    0x844E
  1160 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX    0x844F
  1161 #endif
  1162 
  1163 #ifndef GL_SGIX_shadow
  1164 #define GL_TEXTURE_COMPARE_SGIX           0x819A
  1165 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX  0x819B
  1166 #define GL_TEXTURE_LEQUAL_R_SGIX          0x819C
  1167 #define GL_TEXTURE_GEQUAL_R_SGIX          0x819D
  1168 #endif
  1169 
  1170 #ifndef GL_SGIS_texture_edge_clamp
  1171 #define GL_CLAMP_TO_EDGE_SGIS             0x812F
  1172 #endif
  1173 
  1174 #ifndef GL_EXT_blend_minmax
  1175 #define GL_FUNC_ADD_EXT                   0x8006
  1176 #define GL_MIN_EXT                        0x8007
  1177 #define GL_MAX_EXT                        0x8008
  1178 #define GL_BLEND_EQUATION_EXT             0x8009
  1179 #endif
  1180 
  1181 #ifndef GL_EXT_blend_subtract
  1182 #define GL_FUNC_SUBTRACT_EXT              0x800A
  1183 #define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
  1184 #endif
  1185 
  1186 #ifndef GL_EXT_blend_logic_op
  1187 #endif
  1188 
  1189 #ifndef GL_SGIX_interlace
  1190 #define GL_INTERLACE_SGIX                 0x8094
  1191 #endif
  1192 
  1193 #ifndef GL_SGIX_pixel_tiles
  1194 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
  1195 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
  1196 #define GL_PIXEL_TILE_WIDTH_SGIX          0x8140
  1197 #define GL_PIXEL_TILE_HEIGHT_SGIX         0x8141
  1198 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX     0x8142
  1199 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX    0x8143
  1200 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX     0x8144
  1201 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX     0x8145
  1202 #endif
  1203 
  1204 #ifndef GL_SGIS_texture_select
  1205 #define GL_DUAL_ALPHA4_SGIS               0x8110
  1206 #define GL_DUAL_ALPHA8_SGIS               0x8111
  1207 #define GL_DUAL_ALPHA12_SGIS              0x8112
  1208 #define GL_DUAL_ALPHA16_SGIS              0x8113
  1209 #define GL_DUAL_LUMINANCE4_SGIS           0x8114
  1210 #define GL_DUAL_LUMINANCE8_SGIS           0x8115
  1211 #define GL_DUAL_LUMINANCE12_SGIS          0x8116
  1212 #define GL_DUAL_LUMINANCE16_SGIS          0x8117
  1213 #define GL_DUAL_INTENSITY4_SGIS           0x8118
  1214 #define GL_DUAL_INTENSITY8_SGIS           0x8119
  1215 #define GL_DUAL_INTENSITY12_SGIS          0x811A
  1216 #define GL_DUAL_INTENSITY16_SGIS          0x811B
  1217 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS     0x811C
  1218 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS     0x811D
  1219 #define GL_QUAD_ALPHA4_SGIS               0x811E
  1220 #define GL_QUAD_ALPHA8_SGIS               0x811F
  1221 #define GL_QUAD_LUMINANCE4_SGIS           0x8120
  1222 #define GL_QUAD_LUMINANCE8_SGIS           0x8121
  1223 #define GL_QUAD_INTENSITY4_SGIS           0x8122
  1224 #define GL_QUAD_INTENSITY8_SGIS           0x8123
  1225 #define GL_DUAL_TEXTURE_SELECT_SGIS       0x8124
  1226 #define GL_QUAD_TEXTURE_SELECT_SGIS       0x8125
  1227 #endif
  1228 
  1229 #ifndef GL_SGIX_sprite
  1230 #define GL_SPRITE_SGIX                    0x8148
  1231 #define GL_SPRITE_MODE_SGIX               0x8149
  1232 #define GL_SPRITE_AXIS_SGIX               0x814A
  1233 #define GL_SPRITE_TRANSLATION_SGIX        0x814B
  1234 #define GL_SPRITE_AXIAL_SGIX              0x814C
  1235 #define GL_SPRITE_OBJECT_ALIGNED_SGIX     0x814D
  1236 #define GL_SPRITE_EYE_ALIGNED_SGIX        0x814E
  1237 #endif
  1238 
  1239 #ifndef GL_SGIX_texture_multi_buffer
  1240 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
  1241 #endif
  1242 
  1243 #ifndef GL_EXT_point_parameters
  1244 #define GL_POINT_SIZE_MIN_EXT             0x8126
  1245 #define GL_POINT_SIZE_MAX_EXT             0x8127
  1246 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT  0x8128
  1247 #define GL_DISTANCE_ATTENUATION_EXT       0x8129
  1248 #endif
  1249 
  1250 #ifndef GL_SGIS_point_parameters
  1251 #define GL_POINT_SIZE_MIN_SGIS            0x8126
  1252 #define GL_POINT_SIZE_MAX_SGIS            0x8127
  1253 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
  1254 #define GL_DISTANCE_ATTENUATION_SGIS      0x8129
  1255 #endif
  1256 
  1257 #ifndef GL_SGIX_instruments
  1258 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
  1259 #define GL_INSTRUMENT_MEASUREMENTS_SGIX   0x8181
  1260 #endif
  1261 
  1262 #ifndef GL_SGIX_texture_scale_bias
  1263 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX  0x8179
  1264 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
  1265 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
  1266 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
  1267 #endif
  1268 
  1269 #ifndef GL_SGIX_framezoom
  1270 #define GL_FRAMEZOOM_SGIX                 0x818B
  1271 #define GL_FRAMEZOOM_FACTOR_SGIX          0x818C
  1272 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX      0x818D
  1273 #endif
  1274 
  1275 #ifndef GL_SGIX_tag_sample_buffer
  1276 #endif
  1277 
  1278 #ifndef GL_FfdMaskSGIX
  1279 #define GL_TEXTURE_DEFORMATION_BIT_SGIX   0x00000001
  1280 #define GL_GEOMETRY_DEFORMATION_BIT_SGIX  0x00000002
  1281 #endif
  1282 
  1283 #ifndef GL_SGIX_polynomial_ffd
  1284 #define GL_GEOMETRY_DEFORMATION_SGIX      0x8194
  1285 #define GL_TEXTURE_DEFORMATION_SGIX       0x8195
  1286 #define GL_DEFORMATIONS_MASK_SGIX         0x8196
  1287 #define GL_MAX_DEFORMATION_ORDER_SGIX     0x8197
  1288 #endif
  1289 
  1290 #ifndef GL_SGIX_reference_plane
  1291 #define GL_REFERENCE_PLANE_SGIX           0x817D
  1292 #define GL_REFERENCE_PLANE_EQUATION_SGIX  0x817E
  1293 #endif
  1294 
  1295 #ifndef GL_SGIX_flush_raster
  1296 #endif
  1297 
  1298 #ifndef GL_SGIX_depth_texture
  1299 #define GL_DEPTH_COMPONENT16_SGIX         0x81A5
  1300 #define GL_DEPTH_COMPONENT24_SGIX         0x81A6
  1301 #define GL_DEPTH_COMPONENT32_SGIX         0x81A7
  1302 #endif
  1303 
  1304 #ifndef GL_SGIS_fog_function
  1305 #define GL_FOG_FUNC_SGIS                  0x812A
  1306 #define GL_FOG_FUNC_POINTS_SGIS           0x812B
  1307 #define GL_MAX_FOG_FUNC_POINTS_SGIS       0x812C
  1308 #endif
  1309 
  1310 #ifndef GL_SGIX_fog_offset
  1311 #define GL_FOG_OFFSET_SGIX                0x8198
  1312 #define GL_FOG_OFFSET_VALUE_SGIX          0x8199
  1313 #endif
  1314 
  1315 #ifndef GL_HP_image_transform
  1316 #define GL_IMAGE_SCALE_X_HP               0x8155
  1317 #define GL_IMAGE_SCALE_Y_HP               0x8156
  1318 #define GL_IMAGE_TRANSLATE_X_HP           0x8157
  1319 #define GL_IMAGE_TRANSLATE_Y_HP           0x8158
  1320 #define GL_IMAGE_ROTATE_ANGLE_HP          0x8159
  1321 #define GL_IMAGE_ROTATE_ORIGIN_X_HP       0x815A
  1322 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP       0x815B
  1323 #define GL_IMAGE_MAG_FILTER_HP            0x815C
  1324 #define GL_IMAGE_MIN_FILTER_HP            0x815D
  1325 #define GL_IMAGE_CUBIC_WEIGHT_HP          0x815E
  1326 #define GL_CUBIC_HP                       0x815F
  1327 #define GL_AVERAGE_HP                     0x8160
  1328 #define GL_IMAGE_TRANSFORM_2D_HP          0x8161
  1329 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
  1330 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
  1331 #endif
  1332 
  1333 #ifndef GL_HP_convolution_border_modes
  1334 #define GL_IGNORE_BORDER_HP               0x8150
  1335 #define GL_CONSTANT_BORDER_HP             0x8151
  1336 #define GL_REPLICATE_BORDER_HP            0x8153
  1337 #define GL_CONVOLUTION_BORDER_COLOR_HP    0x8154
  1338 #endif
  1339 
  1340 #ifndef GL_INGR_palette_buffer
  1341 #endif
  1342 
  1343 #ifndef GL_SGIX_texture_add_env
  1344 #define GL_TEXTURE_ENV_BIAS_SGIX          0x80BE
  1345 #endif
  1346 
  1347 #ifndef GL_EXT_color_subtable
  1348 #endif
  1349 
  1350 #ifndef GL_PGI_vertex_hints
  1351 #define GL_VERTEX_DATA_HINT_PGI           0x1A22A
  1352 #define GL_VERTEX_CONSISTENT_HINT_PGI     0x1A22B
  1353 #define GL_MATERIAL_SIDE_HINT_PGI         0x1A22C
  1354 #define GL_MAX_VERTEX_HINT_PGI            0x1A22D
  1355 #define GL_COLOR3_BIT_PGI                 0x00010000
  1356 #define GL_COLOR4_BIT_PGI                 0x00020000
  1357 #define GL_EDGEFLAG_BIT_PGI               0x00040000
  1358 #define GL_INDEX_BIT_PGI                  0x00080000
  1359 #define GL_MAT_AMBIENT_BIT_PGI            0x00100000
  1360 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
  1361 #define GL_MAT_DIFFUSE_BIT_PGI            0x00400000
  1362 #define GL_MAT_EMISSION_BIT_PGI           0x00800000
  1363 #define GL_MAT_COLOR_INDEXES_BIT_PGI      0x01000000
  1364 #define GL_MAT_SHININESS_BIT_PGI          0x02000000
  1365 #define GL_MAT_SPECULAR_BIT_PGI           0x04000000
  1366 #define GL_NORMAL_BIT_PGI                 0x08000000
  1367 #define GL_TEXCOORD1_BIT_PGI              0x10000000
  1368 #define GL_TEXCOORD2_BIT_PGI              0x20000000
  1369 #define GL_TEXCOORD3_BIT_PGI              0x40000000
  1370 #define GL_TEXCOORD4_BIT_PGI              0x80000000
  1371 #define GL_VERTEX23_BIT_PGI               0x00000004
  1372 #define GL_VERTEX4_BIT_PGI                0x00000008
  1373 #endif
  1374 
  1375 #ifndef GL_PGI_misc_hints
  1376 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI   0x1A1F8
  1377 #define GL_CONSERVE_MEMORY_HINT_PGI       0x1A1FD
  1378 #define GL_RECLAIM_MEMORY_HINT_PGI        0x1A1FE
  1379 #define GL_NATIVE_GRAPHICS_HANDLE_PGI     0x1A202
  1380 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
  1381 #define GL_NATIVE_GRAPHICS_END_HINT_PGI   0x1A204
  1382 #define GL_ALWAYS_FAST_HINT_PGI           0x1A20C
  1383 #define GL_ALWAYS_SOFT_HINT_PGI           0x1A20D
  1384 #define GL_ALLOW_DRAW_OBJ_HINT_PGI        0x1A20E
  1385 #define GL_ALLOW_DRAW_WIN_HINT_PGI        0x1A20F
  1386 #define GL_ALLOW_DRAW_FRG_HINT_PGI        0x1A210
  1387 #define GL_ALLOW_DRAW_MEM_HINT_PGI        0x1A211
  1388 #define GL_STRICT_DEPTHFUNC_HINT_PGI      0x1A216
  1389 #define GL_STRICT_LIGHTING_HINT_PGI       0x1A217
  1390 #define GL_STRICT_SCISSOR_HINT_PGI        0x1A218
  1391 #define GL_FULL_STIPPLE_HINT_PGI          0x1A219
  1392 #define GL_CLIP_NEAR_HINT_PGI             0x1A220
  1393 #define GL_CLIP_FAR_HINT_PGI              0x1A221
  1394 #define GL_WIDE_LINE_HINT_PGI             0x1A222
  1395 #define GL_BACK_NORMALS_HINT_PGI          0x1A223
  1396 #endif
  1397 
  1398 #ifndef GL_EXT_paletted_texture
  1399 #define GL_COLOR_INDEX1_EXT               0x80E2
  1400 #define GL_COLOR_INDEX2_EXT               0x80E3
  1401 #define GL_COLOR_INDEX4_EXT               0x80E4
  1402 #define GL_COLOR_INDEX8_EXT               0x80E5
  1403 #define GL_COLOR_INDEX12_EXT              0x80E6
  1404 #define GL_COLOR_INDEX16_EXT              0x80E7
  1405 #define GL_TEXTURE_INDEX_SIZE_EXT         0x80ED
  1406 #endif
  1407 
  1408 #ifndef GL_EXT_clip_volume_hint
  1409 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT  0x80F0
  1410 #endif
  1411 
  1412 #ifndef GL_SGIX_list_priority
  1413 #define GL_LIST_PRIORITY_SGIX             0x8182
  1414 #endif
  1415 
  1416 #ifndef GL_SGIX_ir_instrument1
  1417 #define GL_IR_INSTRUMENT1_SGIX            0x817F
  1418 #endif
  1419 
  1420 #ifndef GL_SGIX_calligraphic_fragment
  1421 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX     0x8183
  1422 #endif
  1423 
  1424 #ifndef GL_SGIX_texture_lod_bias
  1425 #define GL_TEXTURE_LOD_BIAS_S_SGIX        0x818E
  1426 #define GL_TEXTURE_LOD_BIAS_T_SGIX        0x818F
  1427 #define GL_TEXTURE_LOD_BIAS_R_SGIX        0x8190
  1428 #endif
  1429 
  1430 #ifndef GL_SGIX_shadow_ambient
  1431 #define GL_SHADOW_AMBIENT_SGIX            0x80BF
  1432 #endif
  1433 
  1434 #ifndef GL_EXT_index_texture
  1435 #endif
  1436 
  1437 #ifndef GL_EXT_index_material
  1438 #define GL_INDEX_MATERIAL_EXT             0x81B8
  1439 #define GL_INDEX_MATERIAL_PARAMETER_EXT   0x81B9
  1440 #define GL_INDEX_MATERIAL_FACE_EXT        0x81BA
  1441 #endif
  1442 
  1443 #ifndef GL_EXT_index_func
  1444 #define GL_INDEX_TEST_EXT                 0x81B5
  1445 #define GL_INDEX_TEST_FUNC_EXT            0x81B6
  1446 #define GL_INDEX_TEST_REF_EXT             0x81B7
  1447 #endif
  1448 
  1449 #ifndef GL_EXT_index_array_formats
  1450 #define GL_IUI_V2F_EXT                    0x81AD
  1451 #define GL_IUI_V3F_EXT                    0x81AE
  1452 #define GL_IUI_N3F_V2F_EXT                0x81AF
  1453 #define GL_IUI_N3F_V3F_EXT                0x81B0
  1454 #define GL_T2F_IUI_V2F_EXT                0x81B1
  1455 #define GL_T2F_IUI_V3F_EXT                0x81B2
  1456 #define GL_T2F_IUI_N3F_V2F_EXT            0x81B3
  1457 #define GL_T2F_IUI_N3F_V3F_EXT            0x81B4
  1458 #endif
  1459 
  1460 #ifndef GL_EXT_compiled_vertex_array
  1461 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT   0x81A8
  1462 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT   0x81A9
  1463 #endif
  1464 
  1465 #ifndef GL_EXT_cull_vertex
  1466 #define GL_CULL_VERTEX_EXT                0x81AA
  1467 #define GL_CULL_VERTEX_EYE_POSITION_EXT   0x81AB
  1468 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
  1469 #endif
  1470 
  1471 #ifndef GL_SGIX_ycrcb
  1472 #define GL_YCRCB_422_SGIX                 0x81BB
  1473 #define GL_YCRCB_444_SGIX                 0x81BC
  1474 #endif
  1475 
  1476 #ifndef GL_SGIX_fragment_lighting
  1477 #define GL_FRAGMENT_LIGHTING_SGIX         0x8400
  1478 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX   0x8401
  1479 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
  1480 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
  1481 #define GL_MAX_FRAGMENT_LIGHTS_SGIX       0x8404
  1482 #define GL_MAX_ACTIVE_LIGHTS_SGIX         0x8405
  1483 #define GL_CURRENT_RASTER_NORMAL_SGIX     0x8406
  1484 #define GL_LIGHT_ENV_MODE_SGIX            0x8407
  1485 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
  1486 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
  1487 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
  1488 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
  1489 #define GL_FRAGMENT_LIGHT0_SGIX           0x840C
  1490 #define GL_FRAGMENT_LIGHT1_SGIX           0x840D
  1491 #define GL_FRAGMENT_LIGHT2_SGIX           0x840E
  1492 #define GL_FRAGMENT_LIGHT3_SGIX           0x840F
  1493 #define GL_FRAGMENT_LIGHT4_SGIX           0x8410
  1494 #define GL_FRAGMENT_LIGHT5_SGIX           0x8411
  1495 #define GL_FRAGMENT_LIGHT6_SGIX           0x8412
  1496 #define GL_FRAGMENT_LIGHT7_SGIX           0x8413
  1497 #endif
  1498 
  1499 #ifndef GL_IBM_rasterpos_clip
  1500 #define GL_RASTER_POSITION_UNCLIPPED_IBM  0x19262
  1501 #endif
  1502 
  1503 #ifndef GL_HP_texture_lighting
  1504 #define GL_TEXTURE_LIGHTING_MODE_HP       0x8167
  1505 #define GL_TEXTURE_POST_SPECULAR_HP       0x8168
  1506 #define GL_TEXTURE_PRE_SPECULAR_HP        0x8169
  1507 #endif
  1508 
  1509 #ifndef GL_EXT_draw_range_elements
  1510 #define GL_MAX_ELEMENTS_VERTICES_EXT      0x80E8
  1511 #define GL_MAX_ELEMENTS_INDICES_EXT       0x80E9
  1512 #endif
  1513 
  1514 #ifndef GL_WIN_phong_shading
  1515 #define GL_PHONG_WIN                      0x80EA
  1516 #define GL_PHONG_HINT_WIN                 0x80EB
  1517 #endif
  1518 
  1519 #ifndef GL_WIN_specular_fog
  1520 #define GL_FOG_SPECULAR_TEXTURE_WIN       0x80EC
  1521 #endif
  1522 
  1523 #ifndef GL_EXT_light_texture
  1524 #define GL_FRAGMENT_MATERIAL_EXT          0x8349
  1525 #define GL_FRAGMENT_NORMAL_EXT            0x834A
  1526 #define GL_FRAGMENT_COLOR_EXT             0x834C
  1527 #define GL_ATTENUATION_EXT                0x834D
  1528 #define GL_SHADOW_ATTENUATION_EXT         0x834E
  1529 #define GL_TEXTURE_APPLICATION_MODE_EXT   0x834F
  1530 #define GL_TEXTURE_LIGHT_EXT              0x8350
  1531 #define GL_TEXTURE_MATERIAL_FACE_EXT      0x8351
  1532 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
  1533 /* reuse GL_FRAGMENT_DEPTH_EXT */
  1534 #endif
  1535 
  1536 #ifndef GL_SGIX_blend_alpha_minmax
  1537 #define GL_ALPHA_MIN_SGIX                 0x8320
  1538 #define GL_ALPHA_MAX_SGIX                 0x8321
  1539 #endif
  1540 
  1541 #ifndef GL_SGIX_impact_pixel_texture
  1542 #define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX   0x8184
  1543 #define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX     0x8185
  1544 #define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX     0x8186
  1545 #define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187
  1546 #define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188
  1547 #define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX    0x8189
  1548 #define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX    0x818A
  1549 #endif
  1550 
  1551 #ifndef GL_EXT_bgra
  1552 #define GL_BGR_EXT                        0x80E0
  1553 #define GL_BGRA_EXT                       0x80E1
  1554 #endif
  1555 
  1556 #ifndef GL_SGIX_async
  1557 #define GL_ASYNC_MARKER_SGIX              0x8329
  1558 #endif
  1559 
  1560 #ifndef GL_SGIX_async_pixel
  1561 #define GL_ASYNC_TEX_IMAGE_SGIX           0x835C
  1562 #define GL_ASYNC_DRAW_PIXELS_SGIX         0x835D
  1563 #define GL_ASYNC_READ_PIXELS_SGIX         0x835E
  1564 #define GL_MAX_ASYNC_TEX_IMAGE_SGIX       0x835F
  1565 #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX     0x8360
  1566 #define GL_MAX_ASYNC_READ_PIXELS_SGIX     0x8361
  1567 #endif
  1568 
  1569 #ifndef GL_SGIX_async_histogram
  1570 #define GL_ASYNC_HISTOGRAM_SGIX           0x832C
  1571 #define GL_MAX_ASYNC_HISTOGRAM_SGIX       0x832D
  1572 #endif
  1573 
  1574 #ifndef GL_INTEL_texture_scissor
  1575 #endif
  1576 
  1577 #ifndef GL_INTEL_parallel_arrays
  1578 #define GL_PARALLEL_ARRAYS_INTEL          0x83F4
  1579 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
  1580 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
  1581 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
  1582 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
  1583 #endif
  1584 
  1585 #ifndef GL_HP_occlusion_test
  1586 #define GL_OCCLUSION_TEST_HP              0x8165
  1587 #define GL_OCCLUSION_TEST_RESULT_HP       0x8166
  1588 #endif
  1589 
  1590 #ifndef GL_EXT_pixel_transform
  1591 #define GL_PIXEL_TRANSFORM_2D_EXT         0x8330
  1592 #define GL_PIXEL_MAG_FILTER_EXT           0x8331
  1593 #define GL_PIXEL_MIN_FILTER_EXT           0x8332
  1594 #define GL_PIXEL_CUBIC_WEIGHT_EXT         0x8333
  1595 #define GL_CUBIC_EXT                      0x8334
  1596 #define GL_AVERAGE_EXT                    0x8335
  1597 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
  1598 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
  1599 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT  0x8338
  1600 #endif
  1601 
  1602 #ifndef GL_EXT_pixel_transform_color_table
  1603 #endif
  1604 
  1605 #ifndef GL_EXT_shared_texture_palette
  1606 #define GL_SHARED_TEXTURE_PALETTE_EXT     0x81FB
  1607 #endif
  1608 
  1609 #ifndef GL_EXT_separate_specular_color
  1610 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT  0x81F8
  1611 #define GL_SINGLE_COLOR_EXT               0x81F9
  1612 #define GL_SEPARATE_SPECULAR_COLOR_EXT    0x81FA
  1613 #endif
  1614 
  1615 #ifndef GL_EXT_secondary_color
  1616 #define GL_COLOR_SUM_EXT                  0x8458
  1617 #define GL_CURRENT_SECONDARY_COLOR_EXT    0x8459
  1618 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
  1619 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
  1620 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
  1621 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
  1622 #define GL_SECONDARY_COLOR_ARRAY_EXT      0x845E
  1623 #endif
  1624 
  1625 #ifndef GL_EXT_texture_perturb_normal
  1626 #define GL_PERTURB_EXT                    0x85AE
  1627 #define GL_TEXTURE_NORMAL_EXT             0x85AF
  1628 #endif
  1629 
  1630 #ifndef GL_EXT_multi_draw_arrays
  1631 #endif
  1632 
  1633 #ifndef GL_EXT_fog_coord
  1634 #define GL_FOG_COORDINATE_SOURCE_EXT      0x8450
  1635 #define GL_FOG_COORDINATE_EXT             0x8451
  1636 #define GL_FRAGMENT_DEPTH_EXT             0x8452
  1637 #define GL_CURRENT_FOG_COORDINATE_EXT     0x8453
  1638 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT  0x8454
  1639 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
  1640 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
  1641 #define GL_FOG_COORDINATE_ARRAY_EXT       0x8457
  1642 #endif
  1643 
  1644 #ifndef GL_REND_screen_coordinates
  1645 #define GL_SCREEN_COORDINATES_REND        0x8490
  1646 #define GL_INVERTED_SCREEN_W_REND         0x8491
  1647 #endif
  1648 
  1649 #ifndef GL_EXT_coordinate_frame
  1650 #define GL_TANGENT_ARRAY_EXT              0x8439
  1651 #define GL_BINORMAL_ARRAY_EXT             0x843A
  1652 #define GL_CURRENT_TANGENT_EXT            0x843B
  1653 #define GL_CURRENT_BINORMAL_EXT           0x843C
  1654 #define GL_TANGENT_ARRAY_TYPE_EXT         0x843E
  1655 #define GL_TANGENT_ARRAY_STRIDE_EXT       0x843F
  1656 #define GL_BINORMAL_ARRAY_TYPE_EXT        0x8440
  1657 #define GL_BINORMAL_ARRAY_STRIDE_EXT      0x8441
  1658 #define GL_TANGENT_ARRAY_POINTER_EXT      0x8442
  1659 #define GL_BINORMAL_ARRAY_POINTER_EXT     0x8443
  1660 #define GL_MAP1_TANGENT_EXT               0x8444
  1661 #define GL_MAP2_TANGENT_EXT               0x8445
  1662 #define GL_MAP1_BINORMAL_EXT              0x8446
  1663 #define GL_MAP2_BINORMAL_EXT              0x8447
  1664 #endif
  1665 
  1666 #ifndef GL_EXT_texture_env_combine
  1667 #define GL_COMBINE_EXT                    0x8570
  1668 #define GL_COMBINE_RGB_EXT                0x8571
  1669 #define GL_COMBINE_ALPHA_EXT              0x8572
  1670 #define GL_RGB_SCALE_EXT                  0x8573
  1671 #define GL_ADD_SIGNED_EXT                 0x8574
  1672 #define GL_INTERPOLATE_EXT                0x8575
  1673 #define GL_CONSTANT_EXT                   0x8576
  1674 #define GL_PRIMARY_COLOR_EXT              0x8577
  1675 #define GL_PREVIOUS_EXT                   0x8578
  1676 #define GL_SOURCE0_RGB_EXT                0x8580
  1677 #define GL_SOURCE1_RGB_EXT                0x8581
  1678 #define GL_SOURCE2_RGB_EXT                0x8582
  1679 #define GL_SOURCE0_ALPHA_EXT              0x8588
  1680 #define GL_SOURCE1_ALPHA_EXT              0x8589
  1681 #define GL_SOURCE2_ALPHA_EXT              0x858A
  1682 #define GL_OPERAND0_RGB_EXT               0x8590
  1683 #define GL_OPERAND1_RGB_EXT               0x8591
  1684 #define GL_OPERAND2_RGB_EXT               0x8592
  1685 #define GL_OPERAND0_ALPHA_EXT             0x8598
  1686 #define GL_OPERAND1_ALPHA_EXT             0x8599
  1687 #define GL_OPERAND2_ALPHA_EXT             0x859A
  1688 #endif
  1689 
  1690 #ifndef GL_APPLE_specular_vector
  1691 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
  1692 #endif
  1693 
  1694 #ifndef GL_APPLE_transform_hint
  1695 #define GL_TRANSFORM_HINT_APPLE           0x85B1
  1696 #endif
  1697 
  1698 #ifndef GL_SGIX_fog_scale
  1699 #define GL_FOG_SCALE_SGIX                 0x81FC
  1700 #define GL_FOG_SCALE_VALUE_SGIX           0x81FD
  1701 #endif
  1702 
  1703 #ifndef GL_SUNX_constant_data
  1704 #define GL_UNPACK_CONSTANT_DATA_SUNX      0x81D5
  1705 #define GL_TEXTURE_CONSTANT_DATA_SUNX     0x81D6
  1706 #endif
  1707 
  1708 #ifndef GL_SUN_global_alpha
  1709 #define GL_GLOBAL_ALPHA_SUN               0x81D9
  1710 #define GL_GLOBAL_ALPHA_FACTOR_SUN        0x81DA
  1711 #endif
  1712 
  1713 #ifndef GL_SUN_triangle_list
  1714 #define GL_RESTART_SUN                    0x0001
  1715 #define GL_REPLACE_MIDDLE_SUN             0x0002
  1716 #define GL_REPLACE_OLDEST_SUN             0x0003
  1717 #define GL_TRIANGLE_LIST_SUN              0x81D7
  1718 #define GL_REPLACEMENT_CODE_SUN           0x81D8
  1719 #define GL_REPLACEMENT_CODE_ARRAY_SUN     0x85C0
  1720 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
  1721 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
  1722 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
  1723 #define GL_R1UI_V3F_SUN                   0x85C4
  1724 #define GL_R1UI_C4UB_V3F_SUN              0x85C5
  1725 #define GL_R1UI_C3F_V3F_SUN               0x85C6
  1726 #define GL_R1UI_N3F_V3F_SUN               0x85C7
  1727 #define GL_R1UI_C4F_N3F_V3F_SUN           0x85C8
  1728 #define GL_R1UI_T2F_V3F_SUN               0x85C9
  1729 #define GL_R1UI_T2F_N3F_V3F_SUN           0x85CA
  1730 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN       0x85CB
  1731 #endif
  1732 
  1733 #ifndef GL_SUN_vertex
  1734 #endif
  1735 
  1736 #ifndef GL_EXT_blend_func_separate
  1737 #define GL_BLEND_DST_RGB_EXT              0x80C8
  1738 #define GL_BLEND_SRC_RGB_EXT              0x80C9
  1739 #define GL_BLEND_DST_ALPHA_EXT            0x80CA
  1740 #define GL_BLEND_SRC_ALPHA_EXT            0x80CB
  1741 #endif
  1742 
  1743 #ifndef GL_INGR_color_clamp
  1744 #define GL_RED_MIN_CLAMP_INGR             0x8560
  1745 #define GL_GREEN_MIN_CLAMP_INGR           0x8561
  1746 #define GL_BLUE_MIN_CLAMP_INGR            0x8562
  1747 #define GL_ALPHA_MIN_CLAMP_INGR           0x8563
  1748 #define GL_RED_MAX_CLAMP_INGR             0x8564
  1749 #define GL_GREEN_MAX_CLAMP_INGR           0x8565
  1750 #define GL_BLUE_MAX_CLAMP_INGR            0x8566
  1751 #define GL_ALPHA_MAX_CLAMP_INGR           0x8567
  1752 #endif
  1753 
  1754 #ifndef GL_INGR_interlace_read
  1755 #define GL_INTERLACE_READ_INGR            0x8568
  1756 #endif
  1757 
  1758 #ifndef GL_EXT_stencil_wrap
  1759 #define GL_INCR_WRAP_EXT                  0x8507
  1760 #define GL_DECR_WRAP_EXT                  0x8508
  1761 #endif
  1762 
  1763 #ifndef GL_EXT_422_pixels
  1764 #define GL_422_EXT                        0x80CC
  1765 #define GL_422_REV_EXT                    0x80CD
  1766 #define GL_422_AVERAGE_EXT                0x80CE
  1767 #define GL_422_REV_AVERAGE_EXT            0x80CF
  1768 #endif
  1769 
  1770 #ifndef GL_NV_texgen_reflection
  1771 #define GL_NORMAL_MAP_NV                  0x8511
  1772 #define GL_REFLECTION_MAP_NV              0x8512
  1773 #endif
  1774 
  1775 #ifndef GL_EXT_texture_cube_map
  1776 #define GL_NORMAL_MAP_EXT                 0x8511
  1777 #define GL_REFLECTION_MAP_EXT             0x8512
  1778 #define GL_TEXTURE_CUBE_MAP_EXT           0x8513
  1779 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
  1780 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
  1781 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
  1782 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
  1783 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
  1784 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
  1785 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
  1786 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT     0x851B
  1787 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT  0x851C
  1788 #endif
  1789 
  1790 #ifndef GL_SUN_convolution_border_modes
  1791 #define GL_WRAP_BORDER_SUN                0x81D4
  1792 #endif
  1793 
  1794 #ifndef GL_EXT_texture_env_add
  1795 #endif
  1796 
  1797 #ifndef GL_EXT_texture_lod_bias
  1798 #define GL_MAX_TEXTURE_LOD_BIAS_EXT       0x84FD
  1799 #define GL_TEXTURE_FILTER_CONTROL_EXT     0x8500
  1800 #define GL_TEXTURE_LOD_BIAS_EXT           0x8501
  1801 #endif
  1802 
  1803 #ifndef GL_EXT_texture_filter_anisotropic
  1804 #define GL_TEXTURE_MAX_ANISOTROPY_EXT     0x84FE
  1805 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
  1806 #endif
  1807 
  1808 #ifndef GL_EXT_vertex_weighting
  1809 #define GL_MODELVIEW0_STACK_DEPTH_EXT     GL_MODELVIEW_STACK_DEPTH
  1810 #define GL_MODELVIEW1_STACK_DEPTH_EXT     0x8502
  1811 #define GL_MODELVIEW0_MATRIX_EXT          GL_MODELVIEW_MATRIX
  1812 #define GL_MODELVIEW1_MATRIX_EXT          0x8506
  1813 #define GL_VERTEX_WEIGHTING_EXT           0x8509
  1814 #define GL_MODELVIEW0_EXT                 GL_MODELVIEW
  1815 #define GL_MODELVIEW1_EXT                 0x850A
  1816 #define GL_CURRENT_VERTEX_WEIGHT_EXT      0x850B
  1817 #define GL_VERTEX_WEIGHT_ARRAY_EXT        0x850C
  1818 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT   0x850D
  1819 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT   0x850E
  1820 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
  1821 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
  1822 #endif
  1823 
  1824 #ifndef GL_NV_light_max_exponent
  1825 #define GL_MAX_SHININESS_NV               0x8504
  1826 #define GL_MAX_SPOT_EXPONENT_NV           0x8505
  1827 #endif
  1828 
  1829 #ifndef GL_NV_vertex_array_range
  1830 #define GL_VERTEX_ARRAY_RANGE_NV          0x851D
  1831 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV   0x851E
  1832 #define GL_VERTEX_ARRAY_RANGE_VALID_NV    0x851F
  1833 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
  1834 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV  0x8521
  1835 #endif
  1836 
  1837 #ifndef GL_NV_register_combiners
  1838 #define GL_REGISTER_COMBINERS_NV          0x8522
  1839 #define GL_VARIABLE_A_NV                  0x8523
  1840 #define GL_VARIABLE_B_NV                  0x8524
  1841 #define GL_VARIABLE_C_NV                  0x8525
  1842 #define GL_VARIABLE_D_NV                  0x8526
  1843 #define GL_VARIABLE_E_NV                  0x8527
  1844 #define GL_VARIABLE_F_NV                  0x8528
  1845 #define GL_VARIABLE_G_NV                  0x8529
  1846 #define GL_CONSTANT_COLOR0_NV             0x852A
  1847 #define GL_CONSTANT_COLOR1_NV             0x852B
  1848 #define GL_PRIMARY_COLOR_NV               0x852C
  1849 #define GL_SECONDARY_COLOR_NV             0x852D
  1850 #define GL_SPARE0_NV                      0x852E
  1851 #define GL_SPARE1_NV                      0x852F
  1852 #define GL_DISCARD_NV                     0x8530
  1853 #define GL_E_TIMES_F_NV                   0x8531
  1854 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
  1855 #define GL_UNSIGNED_IDENTITY_NV           0x8536
  1856 #define GL_UNSIGNED_INVERT_NV             0x8537
  1857 #define GL_EXPAND_NORMAL_NV               0x8538
  1858 #define GL_EXPAND_NEGATE_NV               0x8539
  1859 #define GL_HALF_BIAS_NORMAL_NV            0x853A
  1860 #define GL_HALF_BIAS_NEGATE_NV            0x853B
  1861 #define GL_SIGNED_IDENTITY_NV             0x853C
  1862 #define GL_SIGNED_NEGATE_NV               0x853D
  1863 #define GL_SCALE_BY_TWO_NV                0x853E
  1864 #define GL_SCALE_BY_FOUR_NV               0x853F
  1865 #define GL_SCALE_BY_ONE_HALF_NV           0x8540
  1866 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV   0x8541
  1867 #define GL_COMBINER_INPUT_NV              0x8542
  1868 #define GL_COMBINER_MAPPING_NV            0x8543
  1869 #define GL_COMBINER_COMPONENT_USAGE_NV    0x8544
  1870 #define GL_COMBINER_AB_DOT_PRODUCT_NV     0x8545
  1871 #define GL_COMBINER_CD_DOT_PRODUCT_NV     0x8546
  1872 #define GL_COMBINER_MUX_SUM_NV            0x8547
  1873 #define GL_COMBINER_SCALE_NV              0x8548
  1874 #define GL_COMBINER_BIAS_NV               0x8549
  1875 #define GL_COMBINER_AB_OUTPUT_NV          0x854A
  1876 #define GL_COMBINER_CD_OUTPUT_NV          0x854B
  1877 #define GL_COMBINER_SUM_OUTPUT_NV         0x854C
  1878 #define GL_MAX_GENERAL_COMBINERS_NV       0x854D
  1879 #define GL_NUM_GENERAL_COMBINERS_NV       0x854E
  1880 #define GL_COLOR_SUM_CLAMP_NV             0x854F
  1881 #define GL_COMBINER0_NV                   0x8550
  1882 #define GL_COMBINER1_NV                   0x8551
  1883 #define GL_COMBINER2_NV                   0x8552
  1884 #define GL_COMBINER3_NV                   0x8553
  1885 #define GL_COMBINER4_NV                   0x8554
  1886 #define GL_COMBINER5_NV                   0x8555
  1887 #define GL_COMBINER6_NV                   0x8556
  1888 #define GL_COMBINER7_NV                   0x8557
  1889 /* reuse GL_TEXTURE0_ARB */
  1890 /* reuse GL_TEXTURE1_ARB */
  1891 /* reuse GL_ZERO */
  1892 /* reuse GL_NONE */
  1893 /* reuse GL_FOG */
  1894 #endif
  1895 
  1896 #ifndef GL_NV_fog_distance
  1897 #define GL_FOG_DISTANCE_MODE_NV           0x855A
  1898 #define GL_EYE_RADIAL_NV                  0x855B
  1899 #define GL_EYE_PLANE_ABSOLUTE_NV          0x855C
  1900 /* reuse GL_EYE_PLANE */
  1901 #endif
  1902 
  1903 #ifndef GL_NV_texgen_emboss
  1904 #define GL_EMBOSS_LIGHT_NV                0x855D
  1905 #define GL_EMBOSS_CONSTANT_NV             0x855E
  1906 #define GL_EMBOSS_MAP_NV                  0x855F
  1907 #endif
  1908 
  1909 #ifndef GL_NV_blend_square
  1910 #endif
  1911 
  1912 #ifndef GL_NV_texture_env_combine4
  1913 #define GL_COMBINE4_NV                    0x8503
  1914 #define GL_SOURCE3_RGB_NV                 0x8583
  1915 #define GL_SOURCE3_ALPHA_NV               0x858B
  1916 #define GL_OPERAND3_RGB_NV                0x8593
  1917 #define GL_OPERAND3_ALPHA_NV              0x859B
  1918 #endif
  1919 
  1920 #ifndef GL_MESA_resize_buffers
  1921 #endif
  1922 
  1923 #ifndef GL_MESA_window_pos
  1924 #endif
  1925 
  1926 #ifndef GL_EXT_texture_compression_s3tc
  1927 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
  1928 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
  1929 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
  1930 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
  1931 #endif
  1932 
  1933 #ifndef GL_IBM_cull_vertex
  1934 #define GL_CULL_VERTEX_IBM                103050
  1935 #endif
  1936 
  1937 #ifndef GL_IBM_multimode_draw_arrays
  1938 #endif
  1939 
  1940 #ifndef GL_IBM_vertex_array_lists
  1941 #define GL_VERTEX_ARRAY_LIST_IBM          103070
  1942 #define GL_NORMAL_ARRAY_LIST_IBM          103071
  1943 #define GL_COLOR_ARRAY_LIST_IBM           103072
  1944 #define GL_INDEX_ARRAY_LIST_IBM           103073
  1945 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM   103074
  1946 #define GL_EDGE_FLAG_ARRAY_LIST_IBM       103075
  1947 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM  103076
  1948 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
  1949 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM   103080
  1950 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM   103081
  1951 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM    103082
  1952 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM    103083
  1953 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
  1954 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
  1955 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
  1956 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
  1957 #endif
  1958 
  1959 #ifndef GL_SGIX_subsample
  1960 #define GL_PACK_SUBSAMPLE_RATE_SGIX       0x85A0
  1961 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX     0x85A1
  1962 #define GL_PIXEL_SUBSAMPLE_4444_SGIX      0x85A2
  1963 #define GL_PIXEL_SUBSAMPLE_2424_SGIX      0x85A3
  1964 #define GL_PIXEL_SUBSAMPLE_4242_SGIX      0x85A4
  1965 #endif
  1966 
  1967 #ifndef GL_SGIX_ycrcb_subsample
  1968 #endif
  1969 
  1970 #ifndef GL_SGIX_ycrcba
  1971 #define GL_YCRCB_SGIX                     0x8318
  1972 #define GL_YCRCBA_SGIX                    0x8319
  1973 #endif
  1974 
  1975 #ifndef GL_SGI_depth_pass_instrument
  1976 #define GL_DEPTH_PASS_INSTRUMENT_SGIX     0x8310
  1977 #define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
  1978 #define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
  1979 #endif
  1980 
  1981 #ifndef GL_3DFX_texture_compression_FXT1
  1982 #define GL_COMPRESSED_RGB_FXT1_3DFX       0x86B0
  1983 #define GL_COMPRESSED_RGBA_FXT1_3DFX      0x86B1
  1984 #endif
  1985 
  1986 #ifndef GL_3DFX_multisample
  1987 #define GL_MULTISAMPLE_3DFX               0x86B2
  1988 #define GL_SAMPLE_BUFFERS_3DFX            0x86B3
  1989 #define GL_SAMPLES_3DFX                   0x86B4
  1990 #define GL_MULTISAMPLE_BIT_3DFX           0x20000000
  1991 #endif
  1992 
  1993 #ifndef GL_3DFX_tbuffer
  1994 #endif
  1995 
  1996 #ifndef GL_EXT_multisample
  1997 #define GL_MULTISAMPLE_EXT                0x809D
  1998 #define GL_SAMPLE_ALPHA_TO_MASK_EXT       0x809E
  1999 #define GL_SAMPLE_ALPHA_TO_ONE_EXT        0x809F
  2000 #define GL_SAMPLE_MASK_EXT                0x80A0
  2001 #define GL_1PASS_EXT                      0x80A1
  2002 #define GL_2PASS_0_EXT                    0x80A2
  2003 #define GL_2PASS_1_EXT                    0x80A3
  2004 #define GL_4PASS_0_EXT                    0x80A4
  2005 #define GL_4PASS_1_EXT                    0x80A5
  2006 #define GL_4PASS_2_EXT                    0x80A6
  2007 #define GL_4PASS_3_EXT                    0x80A7
  2008 #define GL_SAMPLE_BUFFERS_EXT             0x80A8
  2009 #define GL_SAMPLES_EXT                    0x80A9
  2010 #define GL_SAMPLE_MASK_VALUE_EXT          0x80AA
  2011 #define GL_SAMPLE_MASK_INVERT_EXT         0x80AB
  2012 #define GL_SAMPLE_PATTERN_EXT             0x80AC
  2013 #define GL_MULTISAMPLE_BIT_EXT            0x20000000
  2014 #endif
  2015 
  2016 #ifndef GL_SGIX_vertex_preclip
  2017 #define GL_VERTEX_PRECLIP_SGIX            0x83EE
  2018 #define GL_VERTEX_PRECLIP_HINT_SGIX       0x83EF
  2019 #endif
  2020 
  2021 #ifndef GL_SGIX_convolution_accuracy
  2022 #define GL_CONVOLUTION_HINT_SGIX          0x8316
  2023 #endif
  2024 
  2025 #ifndef GL_SGIX_resample
  2026 #define GL_PACK_RESAMPLE_SGIX             0x842C
  2027 #define GL_UNPACK_RESAMPLE_SGIX           0x842D
  2028 #define GL_RESAMPLE_REPLICATE_SGIX        0x842E
  2029 #define GL_RESAMPLE_ZERO_FILL_SGIX        0x842F
  2030 #define GL_RESAMPLE_DECIMATE_SGIX         0x8430
  2031 #endif
  2032 
  2033 #ifndef GL_SGIS_point_line_texgen
  2034 #define GL_EYE_DISTANCE_TO_POINT_SGIS     0x81F0
  2035 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS  0x81F1
  2036 #define GL_EYE_DISTANCE_TO_LINE_SGIS      0x81F2
  2037 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS   0x81F3
  2038 #define GL_EYE_POINT_SGIS                 0x81F4
  2039 #define GL_OBJECT_POINT_SGIS              0x81F5
  2040 #define GL_EYE_LINE_SGIS                  0x81F6
  2041 #define GL_OBJECT_LINE_SGIS               0x81F7
  2042 #endif
  2043 
  2044 #ifndef GL_SGIS_texture_color_mask
  2045 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS   0x81EF
  2046 #endif
  2047 
  2048 #ifndef GL_EXT_texture_env_dot3
  2049 #define GL_DOT3_RGB_EXT                   0x8740
  2050 #define GL_DOT3_RGBA_EXT                  0x8741
  2051 #endif
  2052 
  2053 #ifndef GL_ATI_texture_mirror_once
  2054 #define GL_MIRROR_CLAMP_ATI               0x8742
  2055 #define GL_MIRROR_CLAMP_TO_EDGE_ATI       0x8743
  2056 #endif
  2057 
  2058 #ifndef GL_NV_fence
  2059 #define GL_ALL_COMPLETED_NV               0x84F2
  2060 #define GL_FENCE_STATUS_NV                0x84F3
  2061 #define GL_FENCE_CONDITION_NV             0x84F4
  2062 #endif
  2063 
  2064 #ifndef GL_IBM_texture_mirrored_repeat
  2065 #define GL_MIRRORED_REPEAT_IBM            0x8370
  2066 #endif
  2067 
  2068 #ifndef GL_NV_evaluators
  2069 #define GL_EVAL_2D_NV                     0x86C0
  2070 #define GL_EVAL_TRIANGULAR_2D_NV          0x86C1
  2071 #define GL_MAP_TESSELLATION_NV            0x86C2
  2072 #define GL_MAP_ATTRIB_U_ORDER_NV          0x86C3
  2073 #define GL_MAP_ATTRIB_V_ORDER_NV          0x86C4
  2074 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
  2075 #define GL_EVAL_VERTEX_ATTRIB0_NV         0x86C6
  2076 #define GL_EVAL_VERTEX_ATTRIB1_NV         0x86C7
  2077 #define GL_EVAL_VERTEX_ATTRIB2_NV         0x86C8
  2078 #define GL_EVAL_VERTEX_ATTRIB3_NV         0x86C9
  2079 #define GL_EVAL_VERTEX_ATTRIB4_NV         0x86CA
  2080 #define GL_EVAL_VERTEX_ATTRIB5_NV         0x86CB
  2081 #define GL_EVAL_VERTEX_ATTRIB6_NV         0x86CC
  2082 #define GL_EVAL_VERTEX_ATTRIB7_NV         0x86CD
  2083 #define GL_EVAL_VERTEX_ATTRIB8_NV         0x86CE
  2084 #define GL_EVAL_VERTEX_ATTRIB9_NV         0x86CF
  2085 #define GL_EVAL_VERTEX_ATTRIB10_NV        0x86D0
  2086 #define GL_EVAL_VERTEX_ATTRIB11_NV        0x86D1
  2087 #define GL_EVAL_VERTEX_ATTRIB12_NV        0x86D2
  2088 #define GL_EVAL_VERTEX_ATTRIB13_NV        0x86D3
  2089 #define GL_EVAL_VERTEX_ATTRIB14_NV        0x86D4
  2090 #define GL_EVAL_VERTEX_ATTRIB15_NV        0x86D5
  2091 #define GL_MAX_MAP_TESSELLATION_NV        0x86D6
  2092 #define GL_MAX_RATIONAL_EVAL_ORDER_NV     0x86D7
  2093 #endif
  2094 
  2095 #ifndef GL_NV_packed_depth_stencil
  2096 #define GL_DEPTH_STENCIL_NV               0x84F9
  2097 #define GL_UNSIGNED_INT_24_8_NV           0x84FA
  2098 #endif
  2099 
  2100 #ifndef GL_NV_register_combiners2
  2101 #define GL_PER_STAGE_CONSTANTS_NV         0x8535
  2102 #endif
  2103 
  2104 #ifndef GL_NV_texture_compression_vtc
  2105 #endif
  2106 
  2107 #ifndef GL_NV_texture_rectangle
  2108 #define GL_TEXTURE_RECTANGLE_NV           0x84F5
  2109 #define GL_TEXTURE_BINDING_RECTANGLE_NV   0x84F6
  2110 #define GL_PROXY_TEXTURE_RECTANGLE_NV     0x84F7
  2111 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV  0x84F8
  2112 #endif
  2113 
  2114 #ifndef GL_NV_texture_shader
  2115 #define GL_OFFSET_TEXTURE_RECTANGLE_NV    0x864C
  2116 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
  2117 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
  2118 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
  2119 #define GL_UNSIGNED_INT_S8_S8_8_8_NV      0x86DA
  2120 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV  0x86DB
  2121 #define GL_DSDT_MAG_INTENSITY_NV          0x86DC
  2122 #define GL_SHADER_CONSISTENT_NV           0x86DD
  2123 #define GL_TEXTURE_SHADER_NV              0x86DE
  2124 #define GL_SHADER_OPERATION_NV            0x86DF
  2125 #define GL_CULL_MODES_NV                  0x86E0
  2126 #define GL_OFFSET_TEXTURE_MATRIX_NV       0x86E1
  2127 #define GL_OFFSET_TEXTURE_SCALE_NV        0x86E2
  2128 #define GL_OFFSET_TEXTURE_BIAS_NV         0x86E3
  2129 #define GL_OFFSET_TEXTURE_2D_MATRIX_NV    GL_OFFSET_TEXTURE_MATRIX_NV
  2130 #define GL_OFFSET_TEXTURE_2D_SCALE_NV     GL_OFFSET_TEXTURE_SCALE_NV
  2131 #define GL_OFFSET_TEXTURE_2D_BIAS_NV      GL_OFFSET_TEXTURE_BIAS_NV
  2132 #define GL_PREVIOUS_TEXTURE_INPUT_NV      0x86E4
  2133 #define GL_CONST_EYE_NV                   0x86E5
  2134 #define GL_PASS_THROUGH_NV                0x86E6
  2135 #define GL_CULL_FRAGMENT_NV               0x86E7
  2136 #define GL_OFFSET_TEXTURE_2D_NV           0x86E8
  2137 #define GL_DEPENDENT_AR_TEXTURE_2D_NV     0x86E9
  2138 #define GL_DEPENDENT_GB_TEXTURE_2D_NV     0x86EA
  2139 #define GL_DOT_PRODUCT_NV                 0x86EC
  2140 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV   0x86ED
  2141 #define GL_DOT_PRODUCT_TEXTURE_2D_NV      0x86EE
  2142 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
  2143 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
  2144 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
  2145 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
  2146 #define GL_HILO_NV                        0x86F4
  2147 #define GL_DSDT_NV                        0x86F5
  2148 #define GL_DSDT_MAG_NV                    0x86F6
  2149 #define GL_DSDT_MAG_VIB_NV                0x86F7
  2150 #define GL_HILO16_NV                      0x86F8
  2151 #define GL_SIGNED_HILO_NV                 0x86F9
  2152 #define GL_SIGNED_HILO16_NV               0x86FA
  2153 #define GL_SIGNED_RGBA_NV                 0x86FB
  2154 #define GL_SIGNED_RGBA8_NV                0x86FC
  2155 #define GL_SIGNED_RGB_NV                  0x86FE
  2156 #define GL_SIGNED_RGB8_NV                 0x86FF
  2157 #define GL_SIGNED_LUMINANCE_NV            0x8701
  2158 #define GL_SIGNED_LUMINANCE8_NV           0x8702
  2159 #define GL_SIGNED_LUMINANCE_ALPHA_NV      0x8703
  2160 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV    0x8704
  2161 #define GL_SIGNED_ALPHA_NV                0x8705
  2162 #define GL_SIGNED_ALPHA8_NV               0x8706
  2163 #define GL_SIGNED_INTENSITY_NV            0x8707
  2164 #define GL_SIGNED_INTENSITY8_NV           0x8708
  2165 #define GL_DSDT8_NV                       0x8709
  2166 #define GL_DSDT8_MAG8_NV                  0x870A
  2167 #define GL_DSDT8_MAG8_INTENSITY8_NV       0x870B
  2168 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV   0x870C
  2169 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
  2170 #define GL_HI_SCALE_NV                    0x870E
  2171 #define GL_LO_SCALE_NV                    0x870F
  2172 #define GL_DS_SCALE_NV                    0x8710
  2173 #define GL_DT_SCALE_NV                    0x8711
  2174 #define GL_MAGNITUDE_SCALE_NV             0x8712
  2175 #define GL_VIBRANCE_SCALE_NV              0x8713
  2176 #define GL_HI_BIAS_NV                     0x8714
  2177 #define GL_LO_BIAS_NV                     0x8715
  2178 #define GL_DS_BIAS_NV                     0x8716
  2179 #define GL_DT_BIAS_NV                     0x8717
  2180 #define GL_MAGNITUDE_BIAS_NV              0x8718
  2181 #define GL_VIBRANCE_BIAS_NV               0x8719
  2182 #define GL_TEXTURE_BORDER_VALUES_NV       0x871A
  2183 #define GL_TEXTURE_HI_SIZE_NV             0x871B
  2184 #define GL_TEXTURE_LO_SIZE_NV             0x871C
  2185 #define GL_TEXTURE_DS_SIZE_NV             0x871D
  2186 #define GL_TEXTURE_DT_SIZE_NV             0x871E
  2187 #define GL_TEXTURE_MAG_SIZE_NV            0x871F
  2188 #endif
  2189 
  2190 #ifndef GL_NV_texture_shader2
  2191 #define GL_DOT_PRODUCT_TEXTURE_3D_NV      0x86EF
  2192 #endif
  2193 
  2194 #ifndef GL_NV_vertex_array_range2
  2195 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
  2196 #endif
  2197 
  2198 #ifndef GL_NV_vertex_program
  2199 #define GL_VERTEX_PROGRAM_NV              0x8620
  2200 #define GL_VERTEX_STATE_PROGRAM_NV        0x8621
  2201 #define GL_ATTRIB_ARRAY_SIZE_NV           0x8623
  2202 #define GL_ATTRIB_ARRAY_STRIDE_NV         0x8624
  2203 #define GL_ATTRIB_ARRAY_TYPE_NV           0x8625
  2204 #define GL_CURRENT_ATTRIB_NV              0x8626
  2205 #define GL_PROGRAM_LENGTH_NV              0x8627
  2206 #define GL_PROGRAM_STRING_NV              0x8628
  2207 #define GL_MODELVIEW_PROJECTION_NV        0x8629
  2208 #define GL_IDENTITY_NV                    0x862A
  2209 #define GL_INVERSE_NV                     0x862B
  2210 #define GL_TRANSPOSE_NV                   0x862C
  2211 #define GL_INVERSE_TRANSPOSE_NV           0x862D
  2212 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
  2213 #define GL_MAX_TRACK_MATRICES_NV          0x862F
  2214 #define GL_MATRIX0_NV                     0x8630
  2215 #define GL_MATRIX1_NV                     0x8631
  2216 #define GL_MATRIX2_NV                     0x8632
  2217 #define GL_MATRIX3_NV                     0x8633
  2218 #define GL_MATRIX4_NV                     0x8634
  2219 #define GL_MATRIX5_NV                     0x8635
  2220 #define GL_MATRIX6_NV                     0x8636
  2221 #define GL_MATRIX7_NV                     0x8637
  2222 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV  0x8640
  2223 #define GL_CURRENT_MATRIX_NV              0x8641
  2224 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV   0x8642
  2225 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV     0x8643
  2226 #define GL_PROGRAM_PARAMETER_NV           0x8644
  2227 #define GL_ATTRIB_ARRAY_POINTER_NV        0x8645
  2228 #define GL_PROGRAM_TARGET_NV              0x8646
  2229 #define GL_PROGRAM_RESIDENT_NV            0x8647
  2230 #define GL_TRACK_MATRIX_NV                0x8648
  2231 #define GL_TRACK_MATRIX_TRANSFORM_NV      0x8649
  2232 #define GL_VERTEX_PROGRAM_BINDING_NV      0x864A
  2233 #define GL_PROGRAM_ERROR_POSITION_NV      0x864B
  2234 #define GL_VERTEX_ATTRIB_ARRAY0_NV        0x8650
  2235 #define GL_VERTEX_ATTRIB_ARRAY1_NV        0x8651
  2236 #define GL_VERTEX_ATTRIB_ARRAY2_NV        0x8652
  2237 #define GL_VERTEX_ATTRIB_ARRAY3_NV        0x8653
  2238 #define GL_VERTEX_ATTRIB_ARRAY4_NV        0x8654
  2239 #define GL_VERTEX_ATTRIB_ARRAY5_NV        0x8655
  2240 #define GL_VERTEX_ATTRIB_ARRAY6_NV        0x8656
  2241 #define GL_VERTEX_ATTRIB_ARRAY7_NV        0x8657
  2242 #define GL_VERTEX_ATTRIB_ARRAY8_NV        0x8658
  2243 #define GL_VERTEX_ATTRIB_ARRAY9_NV        0x8659
  2244 #define GL_VERTEX_ATTRIB_ARRAY10_NV       0x865A
  2245 #define GL_VERTEX_ATTRIB_ARRAY11_NV       0x865B
  2246 #define GL_VERTEX_ATTRIB_ARRAY12_NV       0x865C
  2247 #define GL_VERTEX_ATTRIB_ARRAY13_NV       0x865D
  2248 #define GL_VERTEX_ATTRIB_ARRAY14_NV       0x865E
  2249 #define GL_VERTEX_ATTRIB_ARRAY15_NV       0x865F
  2250 #define GL_MAP1_VERTEX_ATTRIB0_4_NV       0x8660
  2251 #define GL_MAP1_VERTEX_ATTRIB1_4_NV       0x8661
  2252 #define GL_MAP1_VERTEX_ATTRIB2_4_NV       0x8662
  2253 #define GL_MAP1_VERTEX_ATTRIB3_4_NV       0x8663
  2254 #define GL_MAP1_VERTEX_ATTRIB4_4_NV       0x8664
  2255 #define GL_MAP1_VERTEX_ATTRIB5_4_NV       0x8665
  2256 #define GL_MAP1_VERTEX_ATTRIB6_4_NV       0x8666
  2257 #define GL_MAP1_VERTEX_ATTRIB7_4_NV       0x8667
  2258 #define GL_MAP1_VERTEX_ATTRIB8_4_NV       0x8668
  2259 #define GL_MAP1_VERTEX_ATTRIB9_4_NV       0x8669
  2260 #define GL_MAP1_VERTEX_ATTRIB10_4_NV      0x866A
  2261 #define GL_MAP1_VERTEX_ATTRIB11_4_NV      0x866B
  2262 #define GL_MAP1_VERTEX_ATTRIB12_4_NV      0x866C
  2263 #define GL_MAP1_VERTEX_ATTRIB13_4_NV      0x866D
  2264 #define GL_MAP1_VERTEX_ATTRIB14_4_NV      0x866E
  2265 #define GL_MAP1_VERTEX_ATTRIB15_4_NV      0x866F
  2266 #define GL_MAP2_VERTEX_ATTRIB0_4_NV       0x8670
  2267 #define GL_MAP2_VERTEX_ATTRIB1_4_NV       0x8671
  2268 #define GL_MAP2_VERTEX_ATTRIB2_4_NV       0x8672
  2269 #define GL_MAP2_VERTEX_ATTRIB3_4_NV       0x8673
  2270 #define GL_MAP2_VERTEX_ATTRIB4_4_NV       0x8674
  2271 #define GL_MAP2_VERTEX_ATTRIB5_4_NV       0x8675
  2272 #define GL_MAP2_VERTEX_ATTRIB6_4_NV       0x8676
  2273 #define GL_MAP2_VERTEX_ATTRIB7_4_NV       0x8677
  2274 #define GL_MAP2_VERTEX_ATTRIB8_4_NV       0x8678
  2275 #define GL_MAP2_VERTEX_ATTRIB9_4_NV       0x8679
  2276 #define GL_MAP2_VERTEX_ATTRIB10_4_NV      0x867A
  2277 #define GL_MAP2_VERTEX_ATTRIB11_4_NV      0x867B
  2278 #define GL_MAP2_VERTEX_ATTRIB12_4_NV      0x867C
  2279 #define GL_MAP2_VERTEX_ATTRIB13_4_NV      0x867D
  2280 #define GL_MAP2_VERTEX_ATTRIB14_4_NV      0x867E
  2281 #define GL_MAP2_VERTEX_ATTRIB15_4_NV      0x867F
  2282 #endif
  2283 
  2284 #ifndef GL_SGIX_texture_coordinate_clamp
  2285 #define GL_TEXTURE_MAX_CLAMP_S_SGIX       0x8369
  2286 #define GL_TEXTURE_MAX_CLAMP_T_SGIX       0x836A
  2287 #define GL_TEXTURE_MAX_CLAMP_R_SGIX       0x836B
  2288 #endif
  2289 
  2290 #ifndef GL_SGIX_scalebias_hint
  2291 #define GL_SCALEBIAS_HINT_SGIX            0x8322
  2292 #endif
  2293 
  2294 #ifndef GL_OML_interlace
  2295 #define GL_INTERLACE_OML                  0x8980
  2296 #define GL_INTERLACE_READ_OML             0x8981
  2297 #endif
  2298 
  2299 #ifndef GL_OML_subsample
  2300 #define GL_FORMAT_SUBSAMPLE_24_24_OML     0x8982
  2301 #define GL_FORMAT_SUBSAMPLE_244_244_OML   0x8983
  2302 #endif
  2303 
  2304 #ifndef GL_OML_resample
  2305 #define GL_PACK_RESAMPLE_OML              0x8984
  2306 #define GL_UNPACK_RESAMPLE_OML            0x8985
  2307 #define GL_RESAMPLE_REPLICATE_OML         0x8986
  2308 #define GL_RESAMPLE_ZERO_FILL_OML         0x8987
  2309 #define GL_RESAMPLE_AVERAGE_OML           0x8988
  2310 #define GL_RESAMPLE_DECIMATE_OML          0x8989
  2311 #endif
  2312 
  2313 #ifndef GL_NV_copy_depth_to_color
  2314 #define GL_DEPTH_STENCIL_TO_RGBA_NV       0x886E
  2315 #define GL_DEPTH_STENCIL_TO_BGRA_NV       0x886F
  2316 #endif
  2317 
  2318 #ifndef GL_ATI_envmap_bumpmap
  2319 #define GL_BUMP_ROT_MATRIX_ATI            0x8775
  2320 #define GL_BUMP_ROT_MATRIX_SIZE_ATI       0x8776
  2321 #define GL_BUMP_NUM_TEX_UNITS_ATI         0x8777
  2322 #define GL_BUMP_TEX_UNITS_ATI             0x8778
  2323 #define GL_DUDV_ATI                       0x8779
  2324 #define GL_DU8DV8_ATI                     0x877A
  2325 #define GL_BUMP_ENVMAP_ATI                0x877B
  2326 #define GL_BUMP_TARGET_ATI                0x877C
  2327 #endif
  2328 
  2329 #ifndef GL_ATI_fragment_shader
  2330 #define GL_FRAGMENT_SHADER_ATI            0x8920
  2331 #define GL_REG_0_ATI                      0x8921
  2332 #define GL_REG_1_ATI                      0x8922
  2333 #define GL_REG_2_ATI                      0x8923
  2334 #define GL_REG_3_ATI                      0x8924
  2335 #define GL_REG_4_ATI                      0x8925
  2336 #define GL_REG_5_ATI                      0x8926
  2337 #define GL_REG_6_ATI                      0x8927
  2338 #define GL_REG_7_ATI                      0x8928
  2339 #define GL_REG_8_ATI                      0x8929
  2340 #define GL_REG_9_ATI                      0x892A
  2341 #define GL_REG_10_ATI                     0x892B
  2342 #define GL_REG_11_ATI                     0x892C
  2343 #define GL_REG_12_ATI                     0x892D
  2344 #define GL_REG_13_ATI                     0x892E
  2345 #define GL_REG_14_ATI                     0x892F
  2346 #define GL_REG_15_ATI                     0x8930
  2347 #define GL_REG_16_ATI                     0x8931
  2348 #define GL_REG_17_ATI                     0x8932
  2349 #define GL_REG_18_ATI                     0x8933
  2350 #define GL_REG_19_ATI                     0x8934
  2351 #define GL_REG_20_ATI                     0x8935
  2352 #define GL_REG_21_ATI                     0x8936
  2353 #define GL_REG_22_ATI                     0x8937
  2354 #define GL_REG_23_ATI                     0x8938
  2355 #define GL_REG_24_ATI                     0x8939
  2356 #define GL_REG_25_ATI                     0x893A
  2357 #define GL_REG_26_ATI                     0x893B
  2358 #define GL_REG_27_ATI                     0x893C
  2359 #define GL_REG_28_ATI                     0x893D
  2360 #define GL_REG_29_ATI                     0x893E
  2361 #define GL_REG_30_ATI                     0x893F
  2362 #define GL_REG_31_ATI                     0x8940
  2363 #define GL_CON_0_ATI                      0x8941
  2364 #define GL_CON_1_ATI                      0x8942
  2365 #define GL_CON_2_ATI                      0x8943
  2366 #define GL_CON_3_ATI                      0x8944
  2367 #define GL_CON_4_ATI                      0x8945
  2368 #define GL_CON_5_ATI                      0x8946
  2369 #define GL_CON_6_ATI                      0x8947
  2370 #define GL_CON_7_ATI                      0x8948
  2371 #define GL_CON_8_ATI                      0x8949
  2372 #define GL_CON_9_ATI                      0x894A
  2373 #define GL_CON_10_ATI                     0x894B
  2374 #define GL_CON_11_ATI                     0x894C
  2375 #define GL_CON_12_ATI                     0x894D
  2376 #define GL_CON_13_ATI                     0x894E
  2377 #define GL_CON_14_ATI                     0x894F
  2378 #define GL_CON_15_ATI                     0x8950
  2379 #define GL_CON_16_ATI                     0x8951
  2380 #define GL_CON_17_ATI                     0x8952
  2381 #define GL_CON_18_ATI                     0x8953
  2382 #define GL_CON_19_ATI                     0x8954
  2383 #define GL_CON_20_ATI                     0x8955
  2384 #define GL_CON_21_ATI                     0x8956
  2385 #define GL_CON_22_ATI                     0x8957
  2386 #define GL_CON_23_ATI                     0x8958
  2387 #define GL_CON_24_ATI                     0x8959
  2388 #define GL_CON_25_ATI                     0x895A
  2389 #define GL_CON_26_ATI                     0x895B
  2390 #define GL_CON_27_ATI                     0x895C
  2391 #define GL_CON_28_ATI                     0x895D
  2392 #define GL_CON_29_ATI                     0x895E
  2393 #define GL_CON_30_ATI                     0x895F
  2394 #define GL_CON_31_ATI                     0x8960
  2395 #define GL_MOV_ATI                        0x8961
  2396 #define GL_ADD_ATI                        0x8963
  2397 #define GL_MUL_ATI                        0x8964
  2398 #define GL_SUB_ATI                        0x8965
  2399 #define GL_DOT3_ATI                       0x8966
  2400 #define GL_DOT4_ATI                       0x8967
  2401 #define GL_MAD_ATI                        0x8968
  2402 #define GL_LERP_ATI                       0x8969
  2403 #define GL_CND_ATI                        0x896A
  2404 #define GL_CND0_ATI                       0x896B
  2405 #define GL_DOT2_ADD_ATI                   0x896C
  2406 #define GL_SECONDARY_INTERPOLATOR_ATI     0x896D
  2407 #define GL_NUM_FRAGMENT_REGISTERS_ATI     0x896E
  2408 #define GL_NUM_FRAGMENT_CONSTANTS_ATI     0x896F
  2409 #define GL_NUM_PASSES_ATI                 0x8970
  2410 #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI  0x8971
  2411 #define GL_NUM_INSTRUCTIONS_TOTAL_ATI     0x8972
  2412 #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
  2413 #define GL_NUM_LOOPBACK_COMPONENTS_ATI    0x8974
  2414 #define GL_COLOR_ALPHA_PAIRING_ATI        0x8975
  2415 #define GL_SWIZZLE_STR_ATI                0x8976
  2416 #define GL_SWIZZLE_STQ_ATI                0x8977
  2417 #define GL_SWIZZLE_STR_DR_ATI             0x8978
  2418 #define GL_SWIZZLE_STQ_DQ_ATI             0x8979
  2419 #define GL_SWIZZLE_STRQ_ATI               0x897A
  2420 #define GL_SWIZZLE_STRQ_DQ_ATI            0x897B
  2421 #define GL_RED_BIT_ATI                    0x00000001
  2422 #define GL_GREEN_BIT_ATI                  0x00000002
  2423 #define GL_BLUE_BIT_ATI                   0x00000004
  2424 #define GL_2X_BIT_ATI                     0x00000001
  2425 #define GL_4X_BIT_ATI                     0x00000002
  2426 #define GL_8X_BIT_ATI                     0x00000004
  2427 #define GL_HALF_BIT_ATI                   0x00000008
  2428 #define GL_QUARTER_BIT_ATI                0x00000010
  2429 #define GL_EIGHTH_BIT_ATI                 0x00000020
  2430 #define GL_SATURATE_BIT_ATI               0x00000040
  2431 #define GL_COMP_BIT_ATI                   0x00000002
  2432 #define GL_NEGATE_BIT_ATI                 0x00000004
  2433 #define GL_BIAS_BIT_ATI                   0x00000008
  2434 #endif
  2435 
  2436 #ifndef GL_ATI_pn_triangles
  2437 #define GL_PN_TRIANGLES_ATI               0x87F0
  2438 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
  2439 #define GL_PN_TRIANGLES_POINT_MODE_ATI    0x87F2
  2440 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI   0x87F3
  2441 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
  2442 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
  2443 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
  2444 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
  2445 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
  2446 #endif
  2447 
  2448 #ifndef GL_ATI_vertex_array_object
  2449 #define GL_STATIC_ATI                     0x8760
  2450 #define GL_DYNAMIC_ATI                    0x8761
  2451 #define GL_PRESERVE_ATI                   0x8762
  2452 #define GL_DISCARD_ATI                    0x8763
  2453 #define GL_OBJECT_BUFFER_SIZE_ATI         0x8764
  2454 #define GL_OBJECT_BUFFER_USAGE_ATI        0x8765
  2455 #define GL_ARRAY_OBJECT_BUFFER_ATI        0x8766
  2456 #define GL_ARRAY_OBJECT_OFFSET_ATI        0x8767
  2457 #endif
  2458 
  2459 #ifndef GL_EXT_vertex_shader
  2460 #define GL_VERTEX_SHADER_EXT              0x8780
  2461 #define GL_VERTEX_SHADER_BINDING_EXT      0x8781
  2462 #define GL_OP_INDEX_EXT                   0x8782
  2463 #define GL_OP_NEGATE_EXT                  0x8783
  2464 #define GL_OP_DOT3_EXT                    0x8784
  2465 #define GL_OP_DOT4_EXT                    0x8785
  2466 #define GL_OP_MUL_EXT                     0x8786
  2467 #define GL_OP_ADD_EXT                     0x8787
  2468 #define GL_OP_MADD_EXT                    0x8788
  2469 #define GL_OP_FRAC_EXT                    0x8789
  2470 #define GL_OP_MAX_EXT                     0x878A
  2471 #define GL_OP_MIN_EXT                     0x878B
  2472 #define GL_OP_SET_GE_EXT                  0x878C
  2473 #define GL_OP_SET_LT_EXT                  0x878D
  2474 #define GL_OP_CLAMP_EXT                   0x878E
  2475 #define GL_OP_FLOOR_EXT                   0x878F
  2476 #define GL_OP_ROUND_EXT                   0x8790
  2477 #define GL_OP_EXP_BASE_2_EXT              0x8791
  2478 #define GL_OP_LOG_BASE_2_EXT              0x8792
  2479 #define GL_OP_POWER_EXT                   0x8793
  2480 #define GL_OP_RECIP_EXT                   0x8794
  2481 #define GL_OP_RECIP_SQRT_EXT              0x8795
  2482 #define GL_OP_SUB_EXT                     0x8796
  2483 #define GL_OP_CROSS_PRODUCT_EXT           0x8797
  2484 #define GL_OP_MULTIPLY_MATRIX_EXT         0x8798
  2485 #define GL_OP_MOV_EXT                     0x8799
  2486 #define GL_OUTPUT_VERTEX_EXT              0x879A
  2487 #define GL_OUTPUT_COLOR0_EXT              0x879B
  2488 #define GL_OUTPUT_COLOR1_EXT              0x879C
  2489 #define GL_OUTPUT_TEXTURE_COORD0_EXT      0x879D
  2490 #define GL_OUTPUT_TEXTURE_COORD1_EXT      0x879E
  2491 #define GL_OUTPUT_TEXTURE_COORD2_EXT      0x879F
  2492 #define GL_OUTPUT_TEXTURE_COORD3_EXT      0x87A0
  2493 #define GL_OUTPUT_TEXTURE_COORD4_EXT      0x87A1
  2494 #define GL_OUTPUT_TEXTURE_COORD5_EXT      0x87A2
  2495 #define GL_OUTPUT_TEXTURE_COORD6_EXT      0x87A3
  2496 #define GL_OUTPUT_TEXTURE_COORD7_EXT      0x87A4
  2497 #define GL_OUTPUT_TEXTURE_COORD8_EXT      0x87A5
  2498 #define GL_OUTPUT_TEXTURE_COORD9_EXT      0x87A6
  2499 #define GL_OUTPUT_TEXTURE_COORD10_EXT     0x87A7
  2500 #define GL_OUTPUT_TEXTURE_COORD11_EXT     0x87A8
  2501 #define GL_OUTPUT_TEXTURE_COORD12_EXT     0x87A9
  2502 #define GL_OUTPUT_TEXTURE_COORD13_EXT     0x87AA
  2503 #define GL_OUTPUT_TEXTURE_COORD14_EXT     0x87AB
  2504 #define GL_OUTPUT_TEXTURE_COORD15_EXT     0x87AC
  2505 #define GL_OUTPUT_TEXTURE_COORD16_EXT     0x87AD
  2506 #define GL_OUTPUT_TEXTURE_COORD17_EXT     0x87AE
  2507 #define GL_OUTPUT_TEXTURE_COORD18_EXT     0x87AF
  2508 #define GL_OUTPUT_TEXTURE_COORD19_EXT     0x87B0
  2509 #define GL_OUTPUT_TEXTURE_COORD20_EXT     0x87B1
  2510 #define GL_OUTPUT_TEXTURE_COORD21_EXT     0x87B2
  2511 #define GL_OUTPUT_TEXTURE_COORD22_EXT     0x87B3
  2512 #define GL_OUTPUT_TEXTURE_COORD23_EXT     0x87B4
  2513 #define GL_OUTPUT_TEXTURE_COORD24_EXT     0x87B5
  2514 #define GL_OUTPUT_TEXTURE_COORD25_EXT     0x87B6
  2515 #define GL_OUTPUT_TEXTURE_COORD26_EXT     0x87B7
  2516 #define GL_OUTPUT_TEXTURE_COORD27_EXT     0x87B8
  2517 #define GL_OUTPUT_TEXTURE_COORD28_EXT     0x87B9
  2518 #define GL_OUTPUT_TEXTURE_COORD29_EXT     0x87BA
  2519 #define GL_OUTPUT_TEXTURE_COORD30_EXT     0x87BB
  2520 #define GL_OUTPUT_TEXTURE_COORD31_EXT     0x87BC
  2521 #define GL_OUTPUT_FOG_EXT                 0x87BD
  2522 #define GL_SCALAR_EXT                     0x87BE
  2523 #define GL_VECTOR_EXT                     0x87BF
  2524 #define GL_MATRIX_EXT                     0x87C0
  2525 #define GL_VARIANT_EXT                    0x87C1
  2526 #define GL_INVARIANT_EXT                  0x87C2
  2527 #define GL_LOCAL_CONSTANT_EXT             0x87C3
  2528 #define GL_LOCAL_EXT                      0x87C4
  2529 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
  2530 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
  2531 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
  2532 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
  2533 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT   0x87C9
  2534 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
  2535 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
  2536 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
  2537 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
  2538 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
  2539 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
  2540 #define GL_VERTEX_SHADER_VARIANTS_EXT     0x87D0
  2541 #define GL_VERTEX_SHADER_INVARIANTS_EXT   0x87D1
  2542 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
  2543 #define GL_VERTEX_SHADER_LOCALS_EXT       0x87D3
  2544 #define GL_VERTEX_SHADER_OPTIMIZED_EXT    0x87D4
  2545 #define GL_X_EXT                          0x87D5
  2546 #define GL_Y_EXT                          0x87D6
  2547 #define GL_Z_EXT                          0x87D7
  2548 #define GL_W_EXT                          0x87D8
  2549 #define GL_NEGATIVE_X_EXT                 0x87D9
  2550 #define GL_NEGATIVE_Y_EXT                 0x87DA
  2551 #define GL_NEGATIVE_Z_EXT                 0x87DB
  2552 #define GL_NEGATIVE_W_EXT                 0x87DC
  2553 #define GL_ZERO_EXT                       0x87DD
  2554 #define GL_ONE_EXT                        0x87DE
  2555 #define GL_NEGATIVE_ONE_EXT               0x87DF
  2556 #define GL_NORMALIZED_RANGE_EXT           0x87E0
  2557 #define GL_FULL_RANGE_EXT                 0x87E1
  2558 #define GL_CURRENT_VERTEX_EXT             0x87E2
  2559 #define GL_MVP_MATRIX_EXT                 0x87E3
  2560 #define GL_VARIANT_VALUE_EXT              0x87E4
  2561 #define GL_VARIANT_DATATYPE_EXT           0x87E5
  2562 #define GL_VARIANT_ARRAY_STRIDE_EXT       0x87E6
  2563 #define GL_VARIANT_ARRAY_TYPE_EXT         0x87E7
  2564 #define GL_VARIANT_ARRAY_EXT              0x87E8
  2565 #define GL_VARIANT_ARRAY_POINTER_EXT      0x87E9
  2566 #define GL_INVARIANT_VALUE_EXT            0x87EA
  2567 #define GL_INVARIANT_DATATYPE_EXT         0x87EB
  2568 #define GL_LOCAL_CONSTANT_VALUE_EXT       0x87EC
  2569 #define GL_LOCAL_CONSTANT_DATATYPE_EXT    0x87ED
  2570 #endif
  2571 
  2572 #ifndef GL_ATI_vertex_streams
  2573 #define GL_MAX_VERTEX_STREAMS_ATI         0x876B
  2574 #define GL_VERTEX_STREAM0_ATI             0x876C
  2575 #define GL_VERTEX_STREAM1_ATI             0x876D
  2576 #define GL_VERTEX_STREAM2_ATI             0x876E
  2577 #define GL_VERTEX_STREAM3_ATI             0x876F
  2578 #define GL_VERTEX_STREAM4_ATI             0x8770
  2579 #define GL_VERTEX_STREAM5_ATI             0x8771
  2580 #define GL_VERTEX_STREAM6_ATI             0x8772
  2581 #define GL_VERTEX_STREAM7_ATI             0x8773
  2582 #define GL_VERTEX_SOURCE_ATI              0x8774
  2583 #endif
  2584 
  2585 #ifndef GL_ATI_element_array
  2586 #define GL_ELEMENT_ARRAY_ATI              0x8768
  2587 #define GL_ELEMENT_ARRAY_TYPE_ATI         0x8769
  2588 #define GL_ELEMENT_ARRAY_POINTER_ATI      0x876A
  2589 #endif
  2590 
  2591 #ifndef GL_SUN_mesh_array
  2592 #define GL_QUAD_MESH_SUN                  0x8614
  2593 #define GL_TRIANGLE_MESH_SUN              0x8615
  2594 #endif
  2595 
  2596 #ifndef GL_SUN_slice_accum
  2597 #define GL_SLICE_ACCUM_SUN                0x85CC
  2598 #endif
  2599 
  2600 #ifndef GL_NV_multisample_filter_hint
  2601 #define GL_MULTISAMPLE_FILTER_HINT_NV     0x8534
  2602 #endif
  2603 
  2604 #ifndef GL_NV_depth_clamp
  2605 #define GL_DEPTH_CLAMP_NV                 0x864F
  2606 #endif
  2607 
  2608 #ifndef GL_NV_occlusion_query
  2609 #define GL_PIXEL_COUNTER_BITS_NV          0x8864
  2610 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV  0x8865
  2611 #define GL_PIXEL_COUNT_NV                 0x8866
  2612 #define GL_PIXEL_COUNT_AVAILABLE_NV       0x8867
  2613 #endif
  2614 
  2615 #ifndef GL_NV_point_sprite
  2616 #define GL_POINT_SPRITE_NV                0x8861
  2617 #define GL_COORD_REPLACE_NV               0x8862
  2618 #define GL_POINT_SPRITE_R_MODE_NV         0x8863
  2619 #endif
  2620 
  2621 #ifndef GL_NV_texture_shader3
  2622 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
  2623 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
  2624 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
  2625 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
  2626 #define GL_OFFSET_HILO_TEXTURE_2D_NV      0x8854
  2627 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
  2628 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
  2629 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
  2630 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV   0x8858
  2631 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV    0x8859
  2632 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
  2633 #define GL_DOT_PRODUCT_PASS_THROUGH_NV    0x885B
  2634 #define GL_DOT_PRODUCT_TEXTURE_1D_NV      0x885C
  2635 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
  2636 #define GL_HILO8_NV                       0x885E
  2637 #define GL_SIGNED_HILO8_NV                0x885F
  2638 #define GL_FORCE_BLUE_TO_ONE_NV           0x8860
  2639 #endif
  2640 
  2641 #ifndef GL_NV_vertex_program1_1
  2642 #endif
  2643 
  2644 #ifndef GL_EXT_shadow_funcs
  2645 #endif
  2646 
  2647 #ifndef GL_EXT_stencil_two_side
  2648 #define GL_STENCIL_TEST_TWO_SIDE_EXT      0x8910
  2649 #define GL_ACTIVE_STENCIL_FACE_EXT        0x8911
  2650 #endif
  2651 
  2652 #ifndef GL_ATI_text_fragment_shader
  2653 #define GL_TEXT_FRAGMENT_SHADER_ATI       0x8200
  2654 #endif
  2655 
  2656 #ifndef GL_APPLE_client_storage
  2657 #define GL_UNPACK_CLIENT_STORAGE_APPLE    0x85B2
  2658 #endif
  2659 
  2660 #ifndef GL_APPLE_element_array
  2661 #define GL_ELEMENT_ARRAY_APPLE            0x8768
  2662 #define GL_ELEMENT_ARRAY_TYPE_APPLE       0x8769
  2663 #define GL_ELEMENT_ARRAY_POINTER_APPLE    0x876A
  2664 #endif
  2665 
  2666 #ifndef GL_APPLE_fence
  2667 #define GL_DRAW_PIXELS_APPLE              0x8A0A
  2668 #define GL_FENCE_APPLE                    0x8A0B
  2669 #endif
  2670 
  2671 #ifndef GL_APPLE_vertex_array_object
  2672 #define GL_VERTEX_ARRAY_BINDING_APPLE     0x85B5
  2673 #endif
  2674 
  2675 #ifndef GL_APPLE_vertex_array_range
  2676 #define GL_VERTEX_ARRAY_RANGE_APPLE       0x851D
  2677 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
  2678 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
  2679 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
  2680 #define GL_STORAGE_CACHED_APPLE           0x85BE
  2681 #define GL_STORAGE_SHARED_APPLE           0x85BF
  2682 #endif
  2683 
  2684 #ifndef GL_APPLE_ycbcr_422
  2685 #define GL_YCBCR_422_APPLE                0x85B9
  2686 #define GL_UNSIGNED_SHORT_8_8_APPLE       0x85BA
  2687 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE   0x85BB
  2688 #endif
  2689 
  2690 #ifndef GL_S3_s3tc
  2691 #define GL_RGB_S3TC                       0x83A0
  2692 #define GL_RGB4_S3TC                      0x83A1
  2693 #define GL_RGBA_S3TC                      0x83A2
  2694 #define GL_RGBA4_S3TC                     0x83A3
  2695 #endif
  2696 
  2697 #ifndef GL_ATI_draw_buffers
  2698 #define GL_MAX_DRAW_BUFFERS_ATI           0x8824
  2699 #define GL_DRAW_BUFFER0_ATI               0x8825
  2700 #define GL_DRAW_BUFFER1_ATI               0x8826
  2701 #define GL_DRAW_BUFFER2_ATI               0x8827
  2702 #define GL_DRAW_BUFFER3_ATI               0x8828
  2703 #define GL_DRAW_BUFFER4_ATI               0x8829
  2704 #define GL_DRAW_BUFFER5_ATI               0x882A
  2705 #define GL_DRAW_BUFFER6_ATI               0x882B
  2706 #define GL_DRAW_BUFFER7_ATI               0x882C
  2707 #define GL_DRAW_BUFFER8_ATI               0x882D
  2708 #define GL_DRAW_BUFFER9_ATI               0x882E
  2709 #define GL_DRAW_BUFFER10_ATI              0x882F
  2710 #define GL_DRAW_BUFFER11_ATI              0x8830
  2711 #define GL_DRAW_BUFFER12_ATI              0x8831
  2712 #define GL_DRAW_BUFFER13_ATI              0x8832
  2713 #define GL_DRAW_BUFFER14_ATI              0x8833
  2714 #define GL_DRAW_BUFFER15_ATI              0x8834
  2715 #endif
  2716 
  2717 #ifndef GL_ATI_texture_env_combine3
  2718 #define GL_MODULATE_ADD_ATI               0x8744
  2719 #define GL_MODULATE_SIGNED_ADD_ATI        0x8745
  2720 #define GL_MODULATE_SUBTRACT_ATI          0x8746
  2721 #endif
  2722 
  2723 #ifndef GL_ATI_texture_float
  2724 #define GL_RGBA_FLOAT32_ATI               0x8814
  2725 #define GL_RGB_FLOAT32_ATI                0x8815
  2726 #define GL_ALPHA_FLOAT32_ATI              0x8816
  2727 #define GL_INTENSITY_FLOAT32_ATI          0x8817
  2728 #define GL_LUMINANCE_FLOAT32_ATI          0x8818
  2729 #define GL_LUMINANCE_ALPHA_FLOAT32_ATI    0x8819
  2730 #define GL_RGBA_FLOAT16_ATI               0x881A
  2731 #define GL_RGB_FLOAT16_ATI                0x881B
  2732 #define GL_ALPHA_FLOAT16_ATI              0x881C
  2733 #define GL_INTENSITY_FLOAT16_ATI          0x881D
  2734 #define GL_LUMINANCE_FLOAT16_ATI          0x881E
  2735 #define GL_LUMINANCE_ALPHA_FLOAT16_ATI    0x881F
  2736 #endif
  2737 
  2738 #ifndef GL_NV_float_buffer
  2739 #define GL_FLOAT_R_NV                     0x8880
  2740 #define GL_FLOAT_RG_NV                    0x8881
  2741 #define GL_FLOAT_RGB_NV                   0x8882
  2742 #define GL_FLOAT_RGBA_NV                  0x8883
  2743 #define GL_FLOAT_R16_NV                   0x8884
  2744 #define GL_FLOAT_R32_NV                   0x8885
  2745 #define GL_FLOAT_RG16_NV                  0x8886
  2746 #define GL_FLOAT_RG32_NV                  0x8887
  2747 #define GL_FLOAT_RGB16_NV                 0x8888
  2748 #define GL_FLOAT_RGB32_NV                 0x8889
  2749 #define GL_FLOAT_RGBA16_NV                0x888A
  2750 #define GL_FLOAT_RGBA32_NV                0x888B
  2751 #define GL_TEXTURE_FLOAT_COMPONENTS_NV    0x888C
  2752 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV     0x888D
  2753 #define GL_FLOAT_RGBA_MODE_NV             0x888E
  2754 #endif
  2755 
  2756 #ifndef GL_NV_fragment_program
  2757 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
  2758 #define GL_FRAGMENT_PROGRAM_NV            0x8870
  2759 #define GL_MAX_TEXTURE_COORDS_NV          0x8871
  2760 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV     0x8872
  2761 #define GL_FRAGMENT_PROGRAM_BINDING_NV    0x8873
  2762 #define GL_PROGRAM_ERROR_STRING_NV        0x8874
  2763 #endif
  2764 
  2765 #ifndef GL_NV_half_float
  2766 #define GL_HALF_FLOAT_NV                  0x140B
  2767 #endif
  2768 
  2769 #ifndef GL_NV_pixel_data_range
  2770 #define GL_WRITE_PIXEL_DATA_RANGE_NV      0x8878
  2771 #define GL_READ_PIXEL_DATA_RANGE_NV       0x8879
  2772 #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
  2773 #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
  2774 #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
  2775 #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
  2776 #endif
  2777 
  2778 #ifndef GL_NV_primitive_restart
  2779 #define GL_PRIMITIVE_RESTART_NV           0x8558
  2780 #define GL_PRIMITIVE_RESTART_INDEX_NV     0x8559
  2781 #endif
  2782 
  2783 #ifndef GL_NV_texture_expand_normal
  2784 #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
  2785 #endif
  2786 
  2787 #ifndef GL_NV_vertex_program2
  2788 #endif
  2789 
  2790 #ifndef GL_ATI_map_object_buffer
  2791 #endif
  2792 
  2793 #ifndef GL_ATI_separate_stencil
  2794 #define GL_STENCIL_BACK_FUNC_ATI          0x8800
  2795 #define GL_STENCIL_BACK_FAIL_ATI          0x8801
  2796 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
  2797 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
  2798 #endif
  2799 
  2800 #ifndef GL_ATI_vertex_attrib_array_object
  2801 #endif
  2802 
  2803 #ifndef GL_EXT_depth_bounds_test
  2804 #define GL_DEPTH_BOUNDS_TEST_EXT          0x8890
  2805 #define GL_DEPTH_BOUNDS_EXT               0x8891
  2806 #endif
  2807 
  2808 #ifndef GL_EXT_texture_mirror_clamp
  2809 #define GL_MIRROR_CLAMP_EXT               0x8742
  2810 #define GL_MIRROR_CLAMP_TO_EDGE_EXT       0x8743
  2811 #define GL_MIRROR_CLAMP_TO_BORDER_EXT     0x8912
  2812 #endif
  2813 
  2814 #ifndef GL_EXT_blend_equation_separate
  2815 #define GL_BLEND_EQUATION_RGB_EXT         GL_BLEND_EQUATION
  2816 #define GL_BLEND_EQUATION_ALPHA_EXT       0x883D
  2817 #endif
  2818 
  2819 #ifndef GL_MESA_pack_invert
  2820 #define GL_PACK_INVERT_MESA               0x8758
  2821 #endif
  2822 
  2823 #ifndef GL_MESA_ycbcr_texture
  2824 #define GL_UNSIGNED_SHORT_8_8_MESA        0x85BA
  2825 #define GL_UNSIGNED_SHORT_8_8_REV_MESA    0x85BB
  2826 #define GL_YCBCR_MESA                     0x8757
  2827 #endif
  2828 
  2829 
  2830 /*************************************************************/
  2831 
  2832 #include <stddef.h>
  2833 #ifndef GL_VERSION_1_5
  2834 /* GL types for handling large vertex buffer objects */
  2835 typedef ptrdiff_t GLintptr;
  2836 typedef ptrdiff_t GLsizeiptr;
  2837 #endif
  2838 
  2839 #ifndef GL_ARB_vertex_buffer_object
  2840 /* GL types for handling large vertex buffer objects */
  2841 typedef ptrdiff_t GLintptrARB;
  2842 typedef ptrdiff_t GLsizeiptrARB;
  2843 #endif
  2844 
  2845 #ifndef GL_ARB_shader_objects
  2846 /* GL types for handling shader object handles and characters */
  2847 typedef char GLcharARB;		/* native character */
  2848 typedef unsigned int GLhandleARB;	/* shader object handle */
  2849 #endif
  2850 
  2851 #ifndef GL_NV_half_float
  2852 /* GL type for representing NVIDIA "half" floating point type in host memory */
  2853 typedef unsigned short GLhalfNV;
  2854 #endif
  2855 
  2856 #ifndef GL_VERSION_1_2
  2857 #define GL_VERSION_1_2 1
  2858 #ifdef GL_GLEXT_PROTOTYPES
  2859 GLAPI void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf);
  2860 GLAPI void APIENTRY glBlendEquation (GLenum);
  2861 GLAPI void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
  2862 GLAPI void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  2863 GLAPI void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat *);
  2864 GLAPI void APIENTRY glColorTableParameteriv (GLenum, GLenum, const GLint *);
  2865 GLAPI void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint, GLsizei);
  2866 GLAPI void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *);
  2867 GLAPI void APIENTRY glGetColorTableParameterfv (GLenum, GLenum, GLfloat *);
  2868 GLAPI void APIENTRY glGetColorTableParameteriv (GLenum, GLenum, GLint *);
  2869 GLAPI void APIENTRY glColorSubTable (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  2870 GLAPI void APIENTRY glCopyColorSubTable (GLenum, GLsizei, GLint, GLint, GLsizei);
  2871 GLAPI void APIENTRY glConvolutionFilter1D (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  2872 GLAPI void APIENTRY glConvolutionFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  2873 GLAPI void APIENTRY glConvolutionParameterf (GLenum, GLenum, GLfloat);
  2874 GLAPI void APIENTRY glConvolutionParameterfv (GLenum, GLenum, const GLfloat *);
  2875 GLAPI void APIENTRY glConvolutionParameteri (GLenum, GLenum, GLint);
  2876 GLAPI void APIENTRY glConvolutionParameteriv (GLenum, GLenum, const GLint *);
  2877 GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum, GLenum, GLint, GLint, GLsizei);
  2878 GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
  2879 GLAPI void APIENTRY glGetConvolutionFilter (GLenum, GLenum, GLenum, GLvoid *);
  2880 GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum, GLenum, GLfloat *);
  2881 GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum, GLenum, GLint *);
  2882 GLAPI void APIENTRY glGetSeparableFilter (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
  2883 GLAPI void APIENTRY glSeparableFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
  2884 GLAPI void APIENTRY glGetHistogram (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  2885 GLAPI void APIENTRY glGetHistogramParameterfv (GLenum, GLenum, GLfloat *);
  2886 GLAPI void APIENTRY glGetHistogramParameteriv (GLenum, GLenum, GLint *);
  2887 GLAPI void APIENTRY glGetMinmax (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  2888 GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum, GLenum, GLfloat *);
  2889 GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *);
  2890 GLAPI void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean);
  2891 GLAPI void APIENTRY glMinmax (GLenum, GLenum, GLboolean);
  2892 GLAPI void APIENTRY glResetHistogram (GLenum);
  2893 GLAPI void APIENTRY glResetMinmax (GLenum);
  2894 GLAPI void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  2895 GLAPI void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  2896 GLAPI void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  2897 #endif /* GL_GLEXT_PROTOTYPES */
  2898 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  2899 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
  2900 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  2901 typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  2902 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  2903 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  2904 typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  2905 typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
  2906 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  2907 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  2908 typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  2909 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  2910 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  2911 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  2912 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
  2913 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  2914 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
  2915 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  2916 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  2917 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  2918 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
  2919 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  2920 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  2921 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  2922 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  2923 typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  2924 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  2925 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  2926 typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  2927 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  2928 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  2929 typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  2930 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  2931 typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
  2932 typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
  2933 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);
  2934 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);
  2935 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  2936 #endif
  2937 
  2938 #ifndef GL_VERSION_1_3
  2939 #define GL_VERSION_1_3 1
  2940 #ifdef GL_GLEXT_PROTOTYPES
  2941 GLAPI void APIENTRY glActiveTexture (GLenum);
  2942 GLAPI void APIENTRY glClientActiveTexture (GLenum);
  2943 GLAPI void APIENTRY glMultiTexCoord1d (GLenum, GLdouble);
  2944 GLAPI void APIENTRY glMultiTexCoord1dv (GLenum, const GLdouble *);
  2945 GLAPI void APIENTRY glMultiTexCoord1f (GLenum, GLfloat);
  2946 GLAPI void APIENTRY glMultiTexCoord1fv (GLenum, const GLfloat *);
  2947 GLAPI void APIENTRY glMultiTexCoord1i (GLenum, GLint);
  2948 GLAPI void APIENTRY glMultiTexCoord1iv (GLenum, const GLint *);
  2949 GLAPI void APIENTRY glMultiTexCoord1s (GLenum, GLshort);
  2950 GLAPI void APIENTRY glMultiTexCoord1sv (GLenum, const GLshort *);
  2951 GLAPI void APIENTRY glMultiTexCoord2d (GLenum, GLdouble, GLdouble);
  2952 GLAPI void APIENTRY glMultiTexCoord2dv (GLenum, const GLdouble *);
  2953 GLAPI void APIENTRY glMultiTexCoord2f (GLenum, GLfloat, GLfloat);
  2954 GLAPI void APIENTRY glMultiTexCoord2fv (GLenum, const GLfloat *);
  2955 GLAPI void APIENTRY glMultiTexCoord2i (GLenum, GLint, GLint);
  2956 GLAPI void APIENTRY glMultiTexCoord2iv (GLenum, const GLint *);
  2957 GLAPI void APIENTRY glMultiTexCoord2s (GLenum, GLshort, GLshort);
  2958 GLAPI void APIENTRY glMultiTexCoord2sv (GLenum, const GLshort *);
  2959 GLAPI void APIENTRY glMultiTexCoord3d (GLenum, GLdouble, GLdouble, GLdouble);
  2960 GLAPI void APIENTRY glMultiTexCoord3dv (GLenum, const GLdouble *);
  2961 GLAPI void APIENTRY glMultiTexCoord3f (GLenum, GLfloat, GLfloat, GLfloat);
  2962 GLAPI void APIENTRY glMultiTexCoord3fv (GLenum, const GLfloat *);
  2963 GLAPI void APIENTRY glMultiTexCoord3i (GLenum, GLint, GLint, GLint);
  2964 GLAPI void APIENTRY glMultiTexCoord3iv (GLenum, const GLint *);
  2965 GLAPI void APIENTRY glMultiTexCoord3s (GLenum, GLshort, GLshort, GLshort);
  2966 GLAPI void APIENTRY glMultiTexCoord3sv (GLenum, const GLshort *);
  2967 GLAPI void APIENTRY glMultiTexCoord4d (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
  2968 GLAPI void APIENTRY glMultiTexCoord4dv (GLenum, const GLdouble *);
  2969 GLAPI void APIENTRY glMultiTexCoord4f (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
  2970 GLAPI void APIENTRY glMultiTexCoord4fv (GLenum, const GLfloat *);
  2971 GLAPI void APIENTRY glMultiTexCoord4i (GLenum, GLint, GLint, GLint, GLint);
  2972 GLAPI void APIENTRY glMultiTexCoord4iv (GLenum, const GLint *);
  2973 GLAPI void APIENTRY glMultiTexCoord4s (GLenum, GLshort, GLshort, GLshort, GLshort);
  2974 GLAPI void APIENTRY glMultiTexCoord4sv (GLenum, const GLshort *);
  2975 GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *);
  2976 GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *);
  2977 GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *);
  2978 GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *);
  2979 GLAPI void APIENTRY glSampleCoverage (GLclampf, GLboolean);
  2980 GLAPI void APIENTRY glCompressedTexImage3D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  2981 GLAPI void APIENTRY glCompressedTexImage2D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  2982 GLAPI void APIENTRY glCompressedTexImage1D (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
  2983 GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  2984 GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  2985 GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
  2986 GLAPI void APIENTRY glGetCompressedTexImage (GLenum, GLint, GLvoid *);
  2987 #endif /* GL_GLEXT_PROTOTYPES */
  2988 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
  2989 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
  2990 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
  2991 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
  2992 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
  2993 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
  2994 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
  2995 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
  2996 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
  2997 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
  2998 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
  2999 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
  3000 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
  3001 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
  3002 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
  3003 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
  3004 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
  3005 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
  3006 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  3007 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
  3008 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  3009 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
  3010 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
  3011 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
  3012 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  3013 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
  3014 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  3015 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
  3016 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  3017 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
  3018 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  3019 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
  3020 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  3021 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
  3022 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  3023 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  3024 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  3025 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  3026 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
  3027 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
  3028 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
  3029 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
  3030 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);
  3031 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
  3032 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
  3033 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img);
  3034 #endif
  3035 
  3036 #ifndef GL_VERSION_1_4
  3037 #define GL_VERSION_1_4 1
  3038 #ifdef GL_GLEXT_PROTOTYPES
  3039 GLAPI void APIENTRY glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum);
  3040 GLAPI void APIENTRY glFogCoordf (GLfloat);
  3041 GLAPI void APIENTRY glFogCoordfv (const GLfloat *);
  3042 GLAPI void APIENTRY glFogCoordd (GLdouble);
  3043 GLAPI void APIENTRY glFogCoorddv (const GLdouble *);
  3044 GLAPI void APIENTRY glFogCoordPointer (GLenum, GLsizei, const GLvoid *);
  3045 GLAPI void APIENTRY glMultiDrawArrays (GLenum, GLint *, GLsizei *, GLsizei);
  3046 GLAPI void APIENTRY glMultiDrawElements (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
  3047 GLAPI void APIENTRY glPointParameterf (GLenum, GLfloat);
  3048 GLAPI void APIENTRY glPointParameterfv (GLenum, const GLfloat *);
  3049 GLAPI void APIENTRY glPointParameteri (GLenum, GLint);
  3050 GLAPI void APIENTRY glPointParameteriv (GLenum, const GLint *);
  3051 GLAPI void APIENTRY glSecondaryColor3b (GLbyte, GLbyte, GLbyte);
  3052 GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *);
  3053 GLAPI void APIENTRY glSecondaryColor3d (GLdouble, GLdouble, GLdouble);
  3054 GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *);
  3055 GLAPI void APIENTRY glSecondaryColor3f (GLfloat, GLfloat, GLfloat);
  3056 GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *);
  3057 GLAPI void APIENTRY glSecondaryColor3i (GLint, GLint, GLint);
  3058 GLAPI void APIENTRY glSecondaryColor3iv (const GLint *);
  3059 GLAPI void APIENTRY glSecondaryColor3s (GLshort, GLshort, GLshort);
  3060 GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *);
  3061 GLAPI void APIENTRY glSecondaryColor3ub (GLubyte, GLubyte, GLubyte);
  3062 GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *);
  3063 GLAPI void APIENTRY glSecondaryColor3ui (GLuint, GLuint, GLuint);
  3064 GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *);
  3065 GLAPI void APIENTRY glSecondaryColor3us (GLushort, GLushort, GLushort);
  3066 GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *);
  3067 GLAPI void APIENTRY glSecondaryColorPointer (GLint, GLenum, GLsizei, const GLvoid *);
  3068 GLAPI void APIENTRY glWindowPos2d (GLdouble, GLdouble);
  3069 GLAPI void APIENTRY glWindowPos2dv (const GLdouble *);
  3070 GLAPI void APIENTRY glWindowPos2f (GLfloat, GLfloat);
  3071 GLAPI void APIENTRY glWindowPos2fv (const GLfloat *);
  3072 GLAPI void APIENTRY glWindowPos2i (GLint, GLint);
  3073 GLAPI void APIENTRY glWindowPos2iv (const GLint *);
  3074 GLAPI void APIENTRY glWindowPos2s (GLshort, GLshort);
  3075 GLAPI void APIENTRY glWindowPos2sv (const GLshort *);
  3076 GLAPI void APIENTRY glWindowPos3d (GLdouble, GLdouble, GLdouble);
  3077 GLAPI void APIENTRY glWindowPos3dv (const GLdouble *);
  3078 GLAPI void APIENTRY glWindowPos3f (GLfloat, GLfloat, GLfloat);
  3079 GLAPI void APIENTRY glWindowPos3fv (const GLfloat *);
  3080 GLAPI void APIENTRY glWindowPos3i (GLint, GLint, GLint);
  3081 GLAPI void APIENTRY glWindowPos3iv (const GLint *);
  3082 GLAPI void APIENTRY glWindowPos3s (GLshort, GLshort, GLshort);
  3083 GLAPI void APIENTRY glWindowPos3sv (const GLshort *);
  3084 #endif /* GL_GLEXT_PROTOTYPES */
  3085 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  3086 typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
  3087 typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
  3088 typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
  3089 typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
  3090 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  3091 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
  3092 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
  3093 typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
  3094 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
  3095 typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
  3096 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
  3097 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
  3098 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
  3099 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
  3100 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
  3101 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
  3102 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
  3103 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
  3104 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
  3105 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
  3106 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
  3107 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
  3108 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
  3109 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
  3110 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
  3111 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
  3112 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
  3113 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  3114 typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
  3115 typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
  3116 typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
  3117 typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
  3118 typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
  3119 typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
  3120 typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
  3121 typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
  3122 typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
  3123 typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
  3124 typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
  3125 typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
  3126 typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
  3127 typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
  3128 typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
  3129 typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
  3130 #endif
  3131 
  3132 #ifndef GL_VERSION_1_5
  3133 #define GL_VERSION_1_5 1
  3134 #ifdef GL_GLEXT_PROTOTYPES
  3135 GLAPI void APIENTRY glGenQueries (GLsizei, GLuint *);
  3136 GLAPI void APIENTRY glDeleteQueries (GLsizei, const GLuint *);
  3137 GLAPI GLboolean APIENTRY glIsQuery (GLuint);
  3138 GLAPI void APIENTRY glBeginQuery (GLenum, GLuint);
  3139 GLAPI void APIENTRY glEndQuery (GLenum);
  3140 GLAPI void APIENTRY glGetQueryiv (GLenum, GLenum, GLint *);
  3141 GLAPI void APIENTRY glGetQueryObjectiv (GLuint, GLenum, GLint *);
  3142 GLAPI void APIENTRY glGetQueryObjectuiv (GLuint, GLenum, GLuint *);
  3143 GLAPI void APIENTRY glBindBuffer (GLenum, GLuint);
  3144 GLAPI void APIENTRY glDeleteBuffers (GLsizei, const GLuint *);
  3145 GLAPI void APIENTRY glGenBuffers (GLsizei, GLuint *);
  3146 GLAPI GLboolean APIENTRY glIsBuffer (GLuint);
  3147 GLAPI void APIENTRY glBufferData (GLenum, GLsizeiptr, const GLvoid *, GLenum);
  3148 GLAPI void APIENTRY glBufferSubData (GLenum, GLintptr, GLsizeiptr, const GLvoid *);
  3149 GLAPI void APIENTRY glGetBufferSubData (GLenum, GLintptr, GLsizeiptr, GLvoid *);
  3150 GLAPI GLvoid* APIENTRY glMapBuffer (GLenum, GLenum);
  3151 GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum);
  3152 GLAPI void APIENTRY glGetBufferParameteriv (GLenum, GLenum, GLint *);
  3153 GLAPI void APIENTRY glGetBufferPointerv (GLenum, GLenum, GLvoid* *);
  3154 #endif /* GL_GLEXT_PROTOTYPES */
  3155 typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
  3156 typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
  3157 typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
  3158 typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
  3159 typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
  3160 typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
  3161 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
  3162 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
  3163 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
  3164 typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
  3165 typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
  3166 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
  3167 typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
  3168 typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
  3169 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
  3170 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
  3171 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
  3172 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3173 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params);
  3174 #endif
  3175 
  3176 #ifndef GL_ARB_multitexture
  3177 #define GL_ARB_multitexture 1
  3178 #ifdef GL_GLEXT_PROTOTYPES
  3179 GLAPI void APIENTRY glActiveTextureARB (GLenum);
  3180 GLAPI void APIENTRY glClientActiveTextureARB (GLenum);
  3181 GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum, GLdouble);
  3182 GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum, const GLdouble *);
  3183 GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum, GLfloat);
  3184 GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum, const GLfloat *);
  3185 GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum, GLint);
  3186 GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum, const GLint *);
  3187 GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum, GLshort);
  3188 GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum, const GLshort *);
  3189 GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum, GLdouble, GLdouble);
  3190 GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum, const GLdouble *);
  3191 GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum, GLfloat, GLfloat);
  3192 GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum, const GLfloat *);
  3193 GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum, GLint, GLint);
  3194 GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum, const GLint *);
  3195 GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum, GLshort, GLshort);
  3196 GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum, const GLshort *);
  3197 GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum, GLdouble, GLdouble, GLdouble);
  3198 GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum, const GLdouble *);
  3199 GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum, GLfloat, GLfloat, GLfloat);
  3200 GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum, const GLfloat *);
  3201 GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum, GLint, GLint, GLint);
  3202 GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum, const GLint *);
  3203 GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum, GLshort, GLshort, GLshort);
  3204 GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum, const GLshort *);
  3205 GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
  3206 GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum, const GLdouble *);
  3207 GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
  3208 GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum, const GLfloat *);
  3209 GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum, GLint, GLint, GLint, GLint);
  3210 GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum, const GLint *);
  3211 GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum, GLshort, GLshort, GLshort, GLshort);
  3212 GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum, const GLshort *);
  3213 #endif /* GL_GLEXT_PROTOTYPES */
  3214 typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
  3215 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
  3216 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
  3217 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
  3218 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
  3219 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
  3220 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
  3221 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
  3222 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
  3223 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
  3224 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
  3225 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
  3226 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
  3227 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
  3228 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
  3229 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
  3230 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
  3231 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
  3232 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  3233 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
  3234 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  3235 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
  3236 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
  3237 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
  3238 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  3239 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
  3240 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  3241 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
  3242 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  3243 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
  3244 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  3245 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
  3246 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  3247 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
  3248 #endif
  3249 
  3250 #ifndef GL_ARB_transpose_matrix
  3251 #define GL_ARB_transpose_matrix 1
  3252 #ifdef GL_GLEXT_PROTOTYPES
  3253 GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *);
  3254 GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *);
  3255 GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *);
  3256 GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *);
  3257 #endif /* GL_GLEXT_PROTOTYPES */
  3258 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  3259 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  3260 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  3261 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  3262 #endif
  3263 
  3264 #ifndef GL_ARB_multisample
  3265 #define GL_ARB_multisample 1
  3266 #ifdef GL_GLEXT_PROTOTYPES
  3267 GLAPI void APIENTRY glSampleCoverageARB (GLclampf, GLboolean);
  3268 #endif /* GL_GLEXT_PROTOTYPES */
  3269 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
  3270 #endif
  3271 
  3272 #ifndef GL_ARB_texture_env_add
  3273 #define GL_ARB_texture_env_add 1
  3274 #endif
  3275 
  3276 #ifndef GL_ARB_texture_cube_map
  3277 #define GL_ARB_texture_cube_map 1
  3278 #endif
  3279 
  3280 #ifndef GL_ARB_texture_compression
  3281 #define GL_ARB_texture_compression 1
  3282 #ifdef GL_GLEXT_PROTOTYPES
  3283 GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  3284 GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  3285 GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
  3286 GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  3287 GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  3288 GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
  3289 GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum, GLint, GLvoid *);
  3290 #endif /* GL_GLEXT_PROTOTYPES */
  3291 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
  3292 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
  3293 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
  3294 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);
  3295 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
  3296 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
  3297 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img);
  3298 #endif
  3299 
  3300 #ifndef GL_ARB_texture_border_clamp
  3301 #define GL_ARB_texture_border_clamp 1
  3302 #endif
  3303 
  3304 #ifndef GL_ARB_point_parameters
  3305 #define GL_ARB_point_parameters 1
  3306 #ifdef GL_GLEXT_PROTOTYPES
  3307 GLAPI void APIENTRY glPointParameterfARB (GLenum, GLfloat);
  3308 GLAPI void APIENTRY glPointParameterfvARB (GLenum, const GLfloat *);
  3309 #endif /* GL_GLEXT_PROTOTYPES */
  3310 typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
  3311 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
  3312 #endif
  3313 
  3314 #ifndef GL_ARB_vertex_blend
  3315 #define GL_ARB_vertex_blend 1
  3316 #ifdef GL_GLEXT_PROTOTYPES
  3317 GLAPI void APIENTRY glWeightbvARB (GLint, const GLbyte *);
  3318 GLAPI void APIENTRY glWeightsvARB (GLint, const GLshort *);
  3319 GLAPI void APIENTRY glWeightivARB (GLint, const GLint *);
  3320 GLAPI void APIENTRY glWeightfvARB (GLint, const GLfloat *);
  3321 GLAPI void APIENTRY glWeightdvARB (GLint, const GLdouble *);
  3322 GLAPI void APIENTRY glWeightubvARB (GLint, const GLubyte *);
  3323 GLAPI void APIENTRY glWeightusvARB (GLint, const GLushort *);
  3324 GLAPI void APIENTRY glWeightuivARB (GLint, const GLuint *);
  3325 GLAPI void APIENTRY glWeightPointerARB (GLint, GLenum, GLsizei, const GLvoid *);
  3326 GLAPI void APIENTRY glVertexBlendARB (GLint);
  3327 #endif /* GL_GLEXT_PROTOTYPES */
  3328 typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
  3329 typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
  3330 typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
  3331 typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
  3332 typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
  3333 typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
  3334 typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
  3335 typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
  3336 typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  3337 typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
  3338 #endif
  3339 
  3340 #ifndef GL_ARB_matrix_palette
  3341 #define GL_ARB_matrix_palette 1
  3342 #ifdef GL_GLEXT_PROTOTYPES
  3343 GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint);
  3344 GLAPI void APIENTRY glMatrixIndexubvARB (GLint, const GLubyte *);
  3345 GLAPI void APIENTRY glMatrixIndexusvARB (GLint, const GLushort *);
  3346 GLAPI void APIENTRY glMatrixIndexuivARB (GLint, const GLuint *);
  3347 GLAPI void APIENTRY glMatrixIndexPointerARB (GLint, GLenum, GLsizei, const GLvoid *);
  3348 #endif /* GL_GLEXT_PROTOTYPES */
  3349 typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
  3350 typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
  3351 typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
  3352 typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
  3353 typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  3354 #endif
  3355 
  3356 #ifndef GL_ARB_texture_env_combine
  3357 #define GL_ARB_texture_env_combine 1
  3358 #endif
  3359 
  3360 #ifndef GL_ARB_texture_env_crossbar
  3361 #define GL_ARB_texture_env_crossbar 1
  3362 #endif
  3363 
  3364 #ifndef GL_ARB_texture_env_dot3
  3365 #define GL_ARB_texture_env_dot3 1
  3366 #endif
  3367 
  3368 #ifndef GL_ARB_texture_mirror_repeat
  3369 #define GL_ARB_texture_mirror_repeat 1
  3370 #endif
  3371 
  3372 #ifndef GL_ARB_depth_texture
  3373 #define GL_ARB_depth_texture 1
  3374 #endif
  3375 
  3376 #ifndef GL_ARB_shadow
  3377 #define GL_ARB_shadow 1
  3378 #endif
  3379 
  3380 #ifndef GL_ARB_shadow_ambient
  3381 #define GL_ARB_shadow_ambient 1
  3382 #endif
  3383 
  3384 #ifndef GL_ARB_window_pos
  3385 #define GL_ARB_window_pos 1
  3386 #ifdef GL_GLEXT_PROTOTYPES
  3387 GLAPI void APIENTRY glWindowPos2dARB (GLdouble, GLdouble);
  3388 GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *);
  3389 GLAPI void APIENTRY glWindowPos2fARB (GLfloat, GLfloat);
  3390 GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *);
  3391 GLAPI void APIENTRY glWindowPos2iARB (GLint, GLint);
  3392 GLAPI void APIENTRY glWindowPos2ivARB (const GLint *);
  3393 GLAPI void APIENTRY glWindowPos2sARB (GLshort, GLshort);
  3394 GLAPI void APIENTRY glWindowPos2svARB (const GLshort *);
  3395 GLAPI void APIENTRY glWindowPos3dARB (GLdouble, GLdouble, GLdouble);
  3396 GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *);
  3397 GLAPI void APIENTRY glWindowPos3fARB (GLfloat, GLfloat, GLfloat);
  3398 GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *);
  3399 GLAPI void APIENTRY glWindowPos3iARB (GLint, GLint, GLint);
  3400 GLAPI void APIENTRY glWindowPos3ivARB (const GLint *);
  3401 GLAPI void APIENTRY glWindowPos3sARB (GLshort, GLshort, GLshort);
  3402 GLAPI void APIENTRY glWindowPos3svARB (const GLshort *);
  3403 #endif /* GL_GLEXT_PROTOTYPES */
  3404 typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
  3405 typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
  3406 typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
  3407 typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
  3408 typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
  3409 typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
  3410 typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
  3411 typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
  3412 typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
  3413 typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
  3414 typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
  3415 typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
  3416 typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
  3417 typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
  3418 typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
  3419 typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
  3420 #endif
  3421 
  3422 #ifndef GL_ARB_vertex_program
  3423 #define GL_ARB_vertex_program 1
  3424 #ifdef GL_GLEXT_PROTOTYPES
  3425 GLAPI void APIENTRY glVertexAttrib1dARB (GLuint, GLdouble);
  3426 GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint, const GLdouble *);
  3427 GLAPI void APIENTRY glVertexAttrib1fARB (GLuint, GLfloat);
  3428 GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint, const GLfloat *);
  3429 GLAPI void APIENTRY glVertexAttrib1sARB (GLuint, GLshort);
  3430 GLAPI void APIENTRY glVertexAttrib1svARB (GLuint, const GLshort *);
  3431 GLAPI void APIENTRY glVertexAttrib2dARB (GLuint, GLdouble, GLdouble);
  3432 GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint, const GLdouble *);
  3433 GLAPI void APIENTRY glVertexAttrib2fARB (GLuint, GLfloat, GLfloat);
  3434 GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint, const GLfloat *);
  3435 GLAPI void APIENTRY glVertexAttrib2sARB (GLuint, GLshort, GLshort);
  3436 GLAPI void APIENTRY glVertexAttrib2svARB (GLuint, const GLshort *);
  3437 GLAPI void APIENTRY glVertexAttrib3dARB (GLuint, GLdouble, GLdouble, GLdouble);
  3438 GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint, const GLdouble *);
  3439 GLAPI void APIENTRY glVertexAttrib3fARB (GLuint, GLfloat, GLfloat, GLfloat);
  3440 GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint, const GLfloat *);
  3441 GLAPI void APIENTRY glVertexAttrib3sARB (GLuint, GLshort, GLshort, GLshort);
  3442 GLAPI void APIENTRY glVertexAttrib3svARB (GLuint, const GLshort *);
  3443 GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint, const GLbyte *);
  3444 GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint, const GLint *);
  3445 GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint, const GLshort *);
  3446 GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
  3447 GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint, const GLubyte *);
  3448 GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint, const GLuint *);
  3449 GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint, const GLushort *);
  3450 GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint, const GLbyte *);
  3451 GLAPI void APIENTRY glVertexAttrib4dARB (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
  3452 GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint, const GLdouble *);
  3453 GLAPI void APIENTRY glVertexAttrib4fARB (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
  3454 GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint, const GLfloat *);
  3455 GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint, const GLint *);
  3456 GLAPI void APIENTRY glVertexAttrib4sARB (GLuint, GLshort, GLshort, GLshort, GLshort);
  3457 GLAPI void APIENTRY glVertexAttrib4svARB (GLuint, const GLshort *);
  3458 GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint, const GLubyte *);
  3459 GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint, const GLuint *);
  3460 GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint, const GLushort *);
  3461 GLAPI void APIENTRY glVertexAttribPointerARB (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
  3462 GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint);
  3463 GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint);
  3464 GLAPI void APIENTRY glProgramStringARB (GLenum, GLenum, GLsizei, const GLvoid *);
  3465 GLAPI void APIENTRY glBindProgramARB (GLenum, GLuint);
  3466 GLAPI void APIENTRY glDeleteProgramsARB (GLsizei, const GLuint *);
  3467 GLAPI void APIENTRY glGenProgramsARB (GLsizei, GLuint *);
  3468 GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
  3469 GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum, GLuint, const GLdouble *);
  3470 GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
  3471 GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum, GLuint, const GLfloat *);
  3472 GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
  3473 GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum, GLuint, const GLdouble *);
  3474 GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
  3475 GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum, GLuint, const GLfloat *);
  3476 GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum, GLuint, GLdouble *);
  3477 GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum, GLuint, GLfloat *);
  3478 GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum, GLuint, GLdouble *);
  3479 GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum, GLuint, GLfloat *);
  3480 GLAPI void APIENTRY glGetProgramivARB (GLenum, GLenum, GLint *);
  3481 GLAPI void APIENTRY glGetProgramStringARB (GLenum, GLenum, GLvoid *);
  3482 GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint, GLenum, GLdouble *);
  3483 GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint, GLenum, GLfloat *);
  3484 GLAPI void APIENTRY glGetVertexAttribivARB (GLuint, GLenum, GLint *);
  3485 GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint, GLenum, GLvoid* *);
  3486 GLAPI GLboolean APIENTRY glIsProgramARB (GLuint);
  3487 #endif /* GL_GLEXT_PROTOTYPES */
  3488 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
  3489 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
  3490 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
  3491 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
  3492 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
  3493 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
  3494 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
  3495 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
  3496 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
  3497 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
  3498 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
  3499 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
  3500 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  3501 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
  3502 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  3503 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
  3504 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  3505 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
  3506 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
  3507 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
  3508 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
  3509 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  3510 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
  3511 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
  3512 typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
  3513 typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
  3514 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3515 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
  3516 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  3517 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
  3518 typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
  3519 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  3520 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
  3521 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
  3522 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
  3523 typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
  3524 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
  3525 typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  3526 typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  3527 typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
  3528 typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
  3529 typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
  3530 typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
  3531 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3532 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  3533 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  3534 typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  3535 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3536 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  3537 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  3538 typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  3539 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  3540 typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  3541 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  3542 typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  3543 typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  3544 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string);
  3545 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
  3546 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
  3547 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
  3548 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
  3549 typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
  3550 #endif
  3551 
  3552 #ifndef GL_ARB_fragment_program
  3553 #define GL_ARB_fragment_program 1
  3554 /* All ARB_fragment_program entry points are shared with ARB_vertex_program. */
  3555 #endif
  3556 
  3557 #ifndef GL_ARB_vertex_buffer_object
  3558 #define GL_ARB_vertex_buffer_object 1
  3559 #ifdef GL_GLEXT_PROTOTYPES
  3560 GLAPI void APIENTRY glBindBufferARB (GLenum, GLuint);
  3561 GLAPI void APIENTRY glDeleteBuffersARB (GLsizei, const GLuint *);
  3562 GLAPI void APIENTRY glGenBuffersARB (GLsizei, GLuint *);
  3563 GLAPI GLboolean APIENTRY glIsBufferARB (GLuint);
  3564 GLAPI void APIENTRY glBufferDataARB (GLenum, GLsizeiptrARB, const GLvoid *, GLenum);
  3565 GLAPI void APIENTRY glBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *);
  3566 GLAPI void APIENTRY glGetBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *);
  3567 GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum, GLenum);
  3568 GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum);
  3569 GLAPI void APIENTRY glGetBufferParameterivARB (GLenum, GLenum, GLint *);
  3570 GLAPI void APIENTRY glGetBufferPointervARB (GLenum, GLenum, GLvoid* *);
  3571 #endif /* GL_GLEXT_PROTOTYPES */
  3572 typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
  3573 typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
  3574 typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
  3575 typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
  3576 typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
  3577 typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
  3578 typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
  3579 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
  3580 typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
  3581 typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  3582 typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params);
  3583 #endif
  3584 
  3585 #ifndef GL_ARB_occlusion_query
  3586 #define GL_ARB_occlusion_query 1
  3587 #ifdef GL_GLEXT_PROTOTYPES
  3588 GLAPI void APIENTRY glGenQueriesARB (GLsizei, GLuint *);
  3589 GLAPI void APIENTRY glDeleteQueriesARB (GLsizei, const GLuint *);
  3590 GLAPI GLboolean APIENTRY glIsQueryARB (GLuint);
  3591 GLAPI void APIENTRY glBeginQueryARB (GLenum, GLuint);
  3592 GLAPI void APIENTRY glEndQueryARB (GLenum);
  3593 GLAPI void APIENTRY glGetQueryivARB (GLenum, GLenum, GLint *);
  3594 GLAPI void APIENTRY glGetQueryObjectivARB (GLuint, GLenum, GLint *);
  3595 GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint, GLenum, GLuint *);
  3596 #endif /* GL_GLEXT_PROTOTYPES */
  3597 typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
  3598 typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
  3599 typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
  3600 typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
  3601 typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
  3602 typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  3603 typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
  3604 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
  3605 #endif
  3606 
  3607 #ifndef GL_ARB_shader_objects
  3608 #define GL_ARB_shader_objects 1
  3609 #ifdef GL_GLEXT_PROTOTYPES
  3610 GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB);
  3611 GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum);
  3612 GLAPI void APIENTRY glDetachObjectARB (GLhandleARB, GLhandleARB);
  3613 GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum);
  3614 GLAPI void APIENTRY glShaderSourceARB (GLhandleARB, GLsizei, const GLcharARB* *, const GLint *);
  3615 GLAPI void APIENTRY glCompileShaderARB (GLhandleARB);
  3616 GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
  3617 GLAPI void APIENTRY glAttachObjectARB (GLhandleARB, GLhandleARB);
  3618 GLAPI void APIENTRY glLinkProgramARB (GLhandleARB);
  3619 GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB);
  3620 GLAPI void APIENTRY glValidateProgramARB (GLhandleARB);
  3621 GLAPI void APIENTRY glUniform1fARB (GLint, GLfloat);
  3622 GLAPI void APIENTRY glUniform2fARB (GLint, GLfloat, GLfloat);
  3623 GLAPI void APIENTRY glUniform3fARB (GLint, GLfloat, GLfloat, GLfloat);
  3624 GLAPI void APIENTRY glUniform4fARB (GLint, GLfloat, GLfloat, GLfloat, GLfloat);
  3625 GLAPI void APIENTRY glUniform1iARB (GLint, GLint);
  3626 GLAPI void APIENTRY glUniform2iARB (GLint, GLint, GLint);
  3627 GLAPI void APIENTRY glUniform3iARB (GLint, GLint, GLint, GLint);
  3628 GLAPI void APIENTRY glUniform4iARB (GLint, GLint, GLint, GLint, GLint);
  3629 GLAPI void APIENTRY glUniform1fvARB (GLint, GLsizei, const GLfloat *);
  3630 GLAPI void APIENTRY glUniform2fvARB (GLint, GLsizei, const GLfloat *);
  3631 GLAPI void APIENTRY glUniform3fvARB (GLint, GLsizei, const GLfloat *);
  3632 GLAPI void APIENTRY glUniform4fvARB (GLint, GLsizei, const GLfloat *);
  3633 GLAPI void APIENTRY glUniform1ivARB (GLint, GLsizei, const GLint *);
  3634 GLAPI void APIENTRY glUniform2ivARB (GLint, GLsizei, const GLint *);
  3635 GLAPI void APIENTRY glUniform3ivARB (GLint, GLsizei, const GLint *);
  3636 GLAPI void APIENTRY glUniform4ivARB (GLint, GLsizei, const GLint *);
  3637 GLAPI void APIENTRY glUniformMatrix2fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
  3638 GLAPI void APIENTRY glUniformMatrix3fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
  3639 GLAPI void APIENTRY glUniformMatrix4fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
  3640 GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB, GLenum, GLfloat *);
  3641 GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB, GLenum, GLint *);
  3642 GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
  3643 GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB, GLsizei, GLsizei *, GLhandleARB *);
  3644 GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB, const GLcharARB *);
  3645 GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
  3646 GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB, GLint, GLfloat *);
  3647 GLAPI void APIENTRY glGetUniformivARB (GLhandleARB, GLint, GLint *);
  3648 GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
  3649 #endif /* GL_GLEXT_PROTOTYPES */
  3650 typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
  3651 typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
  3652 typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
  3653 typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
  3654 typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length);
  3655 typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
  3656 typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
  3657 typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
  3658 typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
  3659 typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
  3660 typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
  3661 typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
  3662 typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
  3663 typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  3664 typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  3665 typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
  3666 typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
  3667 typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  3668 typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  3669 typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  3670 typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  3671 typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  3672 typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  3673 typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  3674 typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  3675 typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  3676 typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  3677 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3678 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3679 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3680 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
  3681 typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
  3682 typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  3683 typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  3684 typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  3685 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  3686 typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
  3687 typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
  3688 typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  3689 #endif
  3690 
  3691 #ifndef GL_ARB_vertex_shader
  3692 #define GL_ARB_vertex_shader 1
  3693 #ifdef GL_GLEXT_PROTOTYPES
  3694 GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB, GLuint, const GLcharARB *);
  3695 GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
  3696 GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB, const GLcharARB *);
  3697 #endif /* GL_GLEXT_PROTOTYPES */
  3698 typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  3699 typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  3700 typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  3701 #endif
  3702 
  3703 #ifndef GL_ARB_fragment_shader
  3704 #define GL_ARB_fragment_shader 1
  3705 #endif
  3706 
  3707 #ifndef GL_ARB_shading_language_100
  3708 #define GL_ARB_shading_language_100 1
  3709 #endif
  3710 
  3711 #ifndef GL_ARB_texture_non_power_of_two
  3712 #define GL_ARB_texture_non_power_of_two 1
  3713 #endif
  3714 
  3715 #ifndef GL_ARB_point_sprite
  3716 #define GL_ARB_point_sprite 1
  3717 #endif
  3718 
  3719 #ifndef GL_EXT_abgr
  3720 #define GL_EXT_abgr 1
  3721 #endif
  3722 
  3723 #ifndef GL_EXT_blend_color
  3724 #define GL_EXT_blend_color 1
  3725 #ifdef GL_GLEXT_PROTOTYPES
  3726 GLAPI void APIENTRY glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf);
  3727 #endif /* GL_GLEXT_PROTOTYPES */
  3728 typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  3729 #endif
  3730 
  3731 #ifndef GL_EXT_polygon_offset
  3732 #define GL_EXT_polygon_offset 1
  3733 #ifdef GL_GLEXT_PROTOTYPES
  3734 GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat, GLfloat);
  3735 #endif /* GL_GLEXT_PROTOTYPES */
  3736 typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
  3737 #endif
  3738 
  3739 #ifndef GL_EXT_texture
  3740 #define GL_EXT_texture 1
  3741 #endif
  3742 
  3743 #ifndef GL_EXT_texture3D
  3744 #define GL_EXT_texture3D 1
  3745 #ifdef GL_GLEXT_PROTOTYPES
  3746 GLAPI void APIENTRY glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  3747 GLAPI void APIENTRY glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  3748 #endif /* GL_GLEXT_PROTOTYPES */
  3749 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);
  3750 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);
  3751 #endif
  3752 
  3753 #ifndef GL_SGIS_texture_filter4
  3754 #define GL_SGIS_texture_filter4 1
  3755 #ifdef GL_GLEXT_PROTOTYPES
  3756 GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *);
  3757 GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *);
  3758 #endif /* GL_GLEXT_PROTOTYPES */
  3759 typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
  3760 typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  3761 #endif
  3762 
  3763 #ifndef GL_EXT_subtexture
  3764 #define GL_EXT_subtexture 1
  3765 #ifdef GL_GLEXT_PROTOTYPES
  3766 GLAPI void APIENTRY glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
  3767 GLAPI void APIENTRY glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  3768 #endif /* GL_GLEXT_PROTOTYPES */
  3769 typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  3770 typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  3771 #endif
  3772 
  3773 #ifndef GL_EXT_copy_texture
  3774 #define GL_EXT_copy_texture 1
  3775 #ifdef GL_GLEXT_PROTOTYPES
  3776 GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
  3777 GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
  3778 GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei);
  3779 GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  3780 GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  3781 #endif /* GL_GLEXT_PROTOTYPES */
  3782 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  3783 typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  3784 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  3785 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  3786 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  3787 #endif
  3788 
  3789 #ifndef GL_EXT_histogram
  3790 #define GL_EXT_histogram 1
  3791 #ifdef GL_GLEXT_PROTOTYPES
  3792 GLAPI void APIENTRY glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  3793 GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat *);
  3794 GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum, GLenum, GLint *);
  3795 GLAPI void APIENTRY glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  3796 GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *);
  3797 GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *);
  3798 GLAPI void APIENTRY glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean);
  3799 GLAPI void APIENTRY glMinmaxEXT (GLenum, GLenum, GLboolean);
  3800 GLAPI void APIENTRY glResetHistogramEXT (GLenum);
  3801 GLAPI void APIENTRY glResetMinmaxEXT (GLenum);
  3802 #endif /* GL_GLEXT_PROTOTYPES */
  3803 typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  3804 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  3805 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  3806 typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  3807 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  3808 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  3809 typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  3810 typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  3811 typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
  3812 typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
  3813 #endif
  3814 
  3815 #ifndef GL_EXT_convolution
  3816 #define GL_EXT_convolution 1
  3817 #ifdef GL_GLEXT_PROTOTYPES
  3818 GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  3819 GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  3820 GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum, GLenum, GLfloat);
  3821 GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum, GLenum, const GLfloat *);
  3822 GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum, GLenum, GLint);
  3823 GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum, GLenum, const GLint *);
  3824 GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GLint, GLsizei);
  3825 GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
  3826 GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvoid *);
  3827 GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat *);
  3828 GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum, GLenum, GLint *);
  3829 GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
  3830 GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
  3831 #endif /* GL_GLEXT_PROTOTYPES */
  3832 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  3833 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  3834 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
  3835 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  3836 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
  3837 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  3838 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3839 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  3840 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
  3841 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  3842 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  3843 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  3844 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  3845 #endif
  3846 
  3847 #ifndef GL_EXT_color_matrix
  3848 #define GL_EXT_color_matrix 1
  3849 #endif
  3850 
  3851 #ifndef GL_SGI_color_table
  3852 #define GL_SGI_color_table 1
  3853 #ifdef GL_GLEXT_PROTOTYPES
  3854 GLAPI void APIENTRY glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  3855 GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *);
  3856 GLAPI void APIENTRY glColorTableParameterivSGI (GLenum, GLenum, const GLint *);
  3857 GLAPI void APIENTRY glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei);
  3858 GLAPI void APIENTRY glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *);
  3859 GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *);
  3860 GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum, GLenum, GLint *);
  3861 #endif /* GL_GLEXT_PROTOTYPES */
  3862 typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  3863 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
  3864 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
  3865 typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3866 typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
  3867 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
  3868 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
  3869 #endif
  3870 
  3871 #ifndef GL_SGIX_pixel_texture
  3872 #define GL_SGIX_pixel_texture 1
  3873 #ifdef GL_GLEXT_PROTOTYPES
  3874 GLAPI void APIENTRY glPixelTexGenSGIX (GLenum);
  3875 #endif /* GL_GLEXT_PROTOTYPES */
  3876 typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
  3877 #endif
  3878 
  3879 #ifndef GL_SGIS_pixel_texture
  3880 #define GL_SGIS_pixel_texture 1
  3881 #ifdef GL_GLEXT_PROTOTYPES
  3882 GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum, GLint);
  3883 GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum, const GLint *);
  3884 GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum, GLfloat);
  3885 GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *);
  3886 GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum, GLint *);
  3887 GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *);
  3888 #endif /* GL_GLEXT_PROTOTYPES */
  3889 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
  3890 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
  3891 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  3892 typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  3893 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
  3894 typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
  3895 #endif
  3896 
  3897 #ifndef GL_SGIS_texture4D
  3898 #define GL_SGIS_texture4D 1
  3899 #ifdef GL_GLEXT_PROTOTYPES
  3900 GLAPI void APIENTRY glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  3901 GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  3902 #endif /* GL_GLEXT_PROTOTYPES */
  3903 typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  3904 typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels);
  3905 #endif
  3906 
  3907 #ifndef GL_SGI_texture_color_table
  3908 #define GL_SGI_texture_color_table 1
  3909 #endif
  3910 
  3911 #ifndef GL_EXT_cmyka
  3912 #define GL_EXT_cmyka 1
  3913 #endif
  3914 
  3915 #ifndef GL_EXT_texture_object
  3916 #define GL_EXT_texture_object 1
  3917 #ifdef GL_GLEXT_PROTOTYPES
  3918 GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei, const GLuint *, GLboolean *);
  3919 GLAPI void APIENTRY glBindTextureEXT (GLenum, GLuint);
  3920 GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei, const GLuint *);
  3921 GLAPI void APIENTRY glGenTexturesEXT (GLsizei, GLuint *);
  3922 GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint);
  3923 GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLclampf *);
  3924 #endif /* GL_GLEXT_PROTOTYPES */
  3925 typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
  3926 typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
  3927 typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
  3928 typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
  3929 typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
  3930 typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  3931 #endif
  3932 
  3933 #ifndef GL_SGIS_detail_texture
  3934 #define GL_SGIS_detail_texture 1
  3935 #ifdef GL_GLEXT_PROTOTYPES
  3936 GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
  3937 GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum, GLfloat *);
  3938 #endif /* GL_GLEXT_PROTOTYPES */
  3939 typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  3940 typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  3941 #endif
  3942 
  3943 #ifndef GL_SGIS_sharpen_texture
  3944 #define GL_SGIS_sharpen_texture 1
  3945 #ifdef GL_GLEXT_PROTOTYPES
  3946 GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
  3947 GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum, GLfloat *);
  3948 #endif /* GL_GLEXT_PROTOTYPES */
  3949 typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  3950 typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  3951 #endif
  3952 
  3953 #ifndef GL_EXT_packed_pixels
  3954 #define GL_EXT_packed_pixels 1
  3955 #endif
  3956 
  3957 #ifndef GL_SGIS_texture_lod
  3958 #define GL_SGIS_texture_lod 1
  3959 #endif
  3960 
  3961 #ifndef GL_SGIS_multisample
  3962 #define GL_SGIS_multisample 1
  3963 #ifdef GL_GLEXT_PROTOTYPES
  3964 GLAPI void APIENTRY glSampleMaskSGIS (GLclampf, GLboolean);
  3965 GLAPI void APIENTRY glSamplePatternSGIS (GLenum);
  3966 #endif /* GL_GLEXT_PROTOTYPES */
  3967 typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
  3968 typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
  3969 #endif
  3970 
  3971 #ifndef GL_EXT_rescale_normal
  3972 #define GL_EXT_rescale_normal 1
  3973 #endif
  3974 
  3975 #ifndef GL_EXT_vertex_array
  3976 #define GL_EXT_vertex_array 1
  3977 #ifdef GL_GLEXT_PROTOTYPES
  3978 GLAPI void APIENTRY glArrayElementEXT (GLint);
  3979 GLAPI void APIENTRY glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  3980 GLAPI void APIENTRY glDrawArraysEXT (GLenum, GLint, GLsizei);
  3981 GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean *);
  3982 GLAPI void APIENTRY glGetPointervEXT (GLenum, GLvoid* *);
  3983 GLAPI void APIENTRY glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
  3984 GLAPI void APIENTRY glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
  3985 GLAPI void APIENTRY glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  3986 GLAPI void APIENTRY glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  3987 #endif /* GL_GLEXT_PROTOTYPES */
  3988 typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
  3989 typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  3990 typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
  3991 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
  3992 typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
  3993 typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  3994 typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  3995 typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  3996 typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  3997 #endif
  3998 
  3999 #ifndef GL_EXT_misc_attribute
  4000 #define GL_EXT_misc_attribute 1
  4001 #endif
  4002 
  4003 #ifndef GL_SGIS_generate_mipmap
  4004 #define GL_SGIS_generate_mipmap 1
  4005 #endif
  4006 
  4007 #ifndef GL_SGIX_clipmap
  4008 #define GL_SGIX_clipmap 1
  4009 #endif
  4010 
  4011 #ifndef GL_SGIX_shadow
  4012 #define GL_SGIX_shadow 1
  4013 #endif
  4014 
  4015 #ifndef GL_SGIS_texture_edge_clamp
  4016 #define GL_SGIS_texture_edge_clamp 1
  4017 #endif
  4018 
  4019 #ifndef GL_SGIS_texture_border_clamp
  4020 #define GL_SGIS_texture_border_clamp 1
  4021 #endif
  4022 
  4023 #ifndef GL_EXT_blend_minmax
  4024 #define GL_EXT_blend_minmax 1
  4025 #ifdef GL_GLEXT_PROTOTYPES
  4026 GLAPI void APIENTRY glBlendEquationEXT (GLenum);
  4027 #endif /* GL_GLEXT_PROTOTYPES */
  4028 typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
  4029 #endif
  4030 
  4031 #ifndef GL_EXT_blend_subtract
  4032 #define GL_EXT_blend_subtract 1
  4033 #endif
  4034 
  4035 #ifndef GL_EXT_blend_logic_op
  4036 #define GL_EXT_blend_logic_op 1
  4037 #endif
  4038 
  4039 #ifndef GL_SGIX_interlace
  4040 #define GL_SGIX_interlace 1
  4041 #endif
  4042 
  4043 #ifndef GL_SGIX_pixel_tiles
  4044 #define GL_SGIX_pixel_tiles 1
  4045 #endif
  4046 
  4047 #ifndef GL_SGIX_texture_select
  4048 #define GL_SGIX_texture_select 1
  4049 #endif
  4050 
  4051 #ifndef GL_SGIX_sprite
  4052 #define GL_SGIX_sprite 1
  4053 #ifdef GL_GLEXT_PROTOTYPES
  4054 GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum, GLfloat);
  4055 GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum, const GLfloat *);
  4056 GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum, GLint);
  4057 GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum, const GLint *);
  4058 #endif /* GL_GLEXT_PROTOTYPES */
  4059 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
  4060 typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
  4061 typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
  4062 typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
  4063 #endif
  4064 
  4065 #ifndef GL_SGIX_texture_multi_buffer
  4066 #define GL_SGIX_texture_multi_buffer 1
  4067 #endif
  4068 
  4069 #ifndef GL_EXT_point_parameters
  4070 #define GL_EXT_point_parameters 1
  4071 #ifdef GL_GLEXT_PROTOTYPES
  4072 GLAPI void APIENTRY glPointParameterfEXT (GLenum, GLfloat);
  4073 GLAPI void APIENTRY glPointParameterfvEXT (GLenum, const GLfloat *);
  4074 #endif /* GL_GLEXT_PROTOTYPES */
  4075 typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
  4076 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
  4077 #endif
  4078 
  4079 #ifndef GL_SGIS_point_parameters
  4080 #define GL_SGIS_point_parameters 1
  4081 #ifdef GL_GLEXT_PROTOTYPES
  4082 GLAPI void APIENTRY glPointParameterfSGIS (GLenum, GLfloat);
  4083 GLAPI void APIENTRY glPointParameterfvSGIS (GLenum, const GLfloat *);
  4084 #endif /* GL_GLEXT_PROTOTYPES */
  4085 typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  4086 typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  4087 #endif
  4088 
  4089 #ifndef GL_SGIX_instruments
  4090 #define GL_SGIX_instruments 1
  4091 #ifdef GL_GLEXT_PROTOTYPES
  4092 GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
  4093 GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei, GLint *);
  4094 GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *);
  4095 GLAPI void APIENTRY glReadInstrumentsSGIX (GLint);
  4096 GLAPI void APIENTRY glStartInstrumentsSGIX (void);
  4097 GLAPI void APIENTRY glStopInstrumentsSGIX (GLint);
  4098 #endif /* GL_GLEXT_PROTOTYPES */
  4099 typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
  4100 typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
  4101 typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
  4102 typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
  4103 typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
  4104 typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
  4105 #endif
  4106 
  4107 #ifndef GL_SGIX_texture_scale_bias
  4108 #define GL_SGIX_texture_scale_bias 1
  4109 #endif
  4110 
  4111 #ifndef GL_SGIX_framezoom
  4112 #define GL_SGIX_framezoom 1
  4113 #ifdef GL_GLEXT_PROTOTYPES
  4114 GLAPI void APIENTRY glFrameZoomSGIX (GLint);
  4115 #endif /* GL_GLEXT_PROTOTYPES */
  4116 typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
  4117 #endif
  4118 
  4119 #ifndef GL_SGIX_tag_sample_buffer
  4120 #define GL_SGIX_tag_sample_buffer 1
  4121 #ifdef GL_GLEXT_PROTOTYPES
  4122 GLAPI void APIENTRY glTagSampleBufferSGIX (void);
  4123 #endif /* GL_GLEXT_PROTOTYPES */
  4124 typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
  4125 #endif
  4126 
  4127 #ifndef GL_SGIX_polynomial_ffd
  4128 #define GL_SGIX_polynomial_ffd 1
  4129 #ifdef GL_GLEXT_PROTOTYPES
  4130 GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
  4131 GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
  4132 GLAPI void APIENTRY glDeformSGIX (GLbitfield);
  4133 GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield);
  4134 #endif /* GL_GLEXT_PROTOTYPES */
  4135 typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
  4136 typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
  4137 typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
  4138 typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
  4139 #endif
  4140 
  4141 #ifndef GL_SGIX_reference_plane
  4142 #define GL_SGIX_reference_plane 1
  4143 #ifdef GL_GLEXT_PROTOTYPES
  4144 GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *);
  4145 #endif /* GL_GLEXT_PROTOTYPES */
  4146 typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
  4147 #endif
  4148 
  4149 #ifndef GL_SGIX_flush_raster
  4150 #define GL_SGIX_flush_raster 1
  4151 #ifdef GL_GLEXT_PROTOTYPES
  4152 GLAPI void APIENTRY glFlushRasterSGIX (void);
  4153 #endif /* GL_GLEXT_PROTOTYPES */
  4154 typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
  4155 #endif
  4156 
  4157 #ifndef GL_SGIX_depth_texture
  4158 #define GL_SGIX_depth_texture 1
  4159 #endif
  4160 
  4161 #ifndef GL_SGIS_fog_function
  4162 #define GL_SGIS_fog_function 1
  4163 #ifdef GL_GLEXT_PROTOTYPES
  4164 GLAPI void APIENTRY glFogFuncSGIS (GLsizei, const GLfloat *);
  4165 GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *);
  4166 #endif /* GL_GLEXT_PROTOTYPES */
  4167 typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
  4168 typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
  4169 #endif
  4170 
  4171 #ifndef GL_SGIX_fog_offset
  4172 #define GL_SGIX_fog_offset 1
  4173 #endif
  4174 
  4175 #ifndef GL_HP_image_transform
  4176 #define GL_HP_image_transform 1
  4177 #ifdef GL_GLEXT_PROTOTYPES
  4178 GLAPI void APIENTRY glImageTransformParameteriHP (GLenum, GLenum, GLint);
  4179 GLAPI void APIENTRY glImageTransformParameterfHP (GLenum, GLenum, GLfloat);
  4180 GLAPI void APIENTRY glImageTransformParameterivHP (GLenum, GLenum, const GLint *);
  4181 GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum, GLenum, const GLfloat *);
  4182 GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum, GLenum, GLint *);
  4183 GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum, GLenum, GLfloat *);
  4184 #endif /* GL_GLEXT_PROTOTYPES */
  4185 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
  4186 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
  4187 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
  4188 typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
  4189 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
  4190 typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
  4191 #endif
  4192 
  4193 #ifndef GL_HP_convolution_border_modes
  4194 #define GL_HP_convolution_border_modes 1
  4195 #endif
  4196 
  4197 #ifndef GL_SGIX_texture_add_env
  4198 #define GL_SGIX_texture_add_env 1
  4199 #endif
  4200 
  4201 #ifndef GL_EXT_color_subtable
  4202 #define GL_EXT_color_subtable 1
  4203 #ifdef GL_GLEXT_PROTOTYPES
  4204 GLAPI void APIENTRY glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  4205 GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei);
  4206 #endif /* GL_GLEXT_PROTOTYPES */
  4207 typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  4208 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  4209 #endif
  4210 
  4211 #ifndef GL_PGI_vertex_hints
  4212 #define GL_PGI_vertex_hints 1
  4213 #endif
  4214 
  4215 #ifndef GL_PGI_misc_hints
  4216 #define GL_PGI_misc_hints 1
  4217 #ifdef GL_GLEXT_PROTOTYPES
  4218 GLAPI void APIENTRY glHintPGI (GLenum, GLint);
  4219 #endif /* GL_GLEXT_PROTOTYPES */
  4220 typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
  4221 #endif
  4222 
  4223 #ifndef GL_EXT_paletted_texture
  4224 #define GL_EXT_paletted_texture 1
  4225 #ifdef GL_GLEXT_PROTOTYPES
  4226 GLAPI void APIENTRY glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  4227 GLAPI void APIENTRY glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *);
  4228 GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum, GLenum, GLint *);
  4229 GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat *);
  4230 #endif /* GL_GLEXT_PROTOTYPES */
  4231 typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  4232 typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data);
  4233 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  4234 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  4235 #endif
  4236 
  4237 #ifndef GL_EXT_clip_volume_hint
  4238 #define GL_EXT_clip_volume_hint 1
  4239 #endif
  4240 
  4241 #ifndef GL_SGIX_list_priority
  4242 #define GL_SGIX_list_priority 1
  4243 #ifdef GL_GLEXT_PROTOTYPES
  4244 GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *);
  4245 GLAPI void APIENTRY glGetListParameterivSGIX (GLuint, GLenum, GLint *);
  4246 GLAPI void APIENTRY glListParameterfSGIX (GLuint, GLenum, GLfloat);
  4247 GLAPI void APIENTRY glListParameterfvSGIX (GLuint, GLenum, const GLfloat *);
  4248 GLAPI void APIENTRY glListParameteriSGIX (GLuint, GLenum, GLint);
  4249 GLAPI void APIENTRY glListParameterivSGIX (GLuint, GLenum, const GLint *);
  4250 #endif /* GL_GLEXT_PROTOTYPES */
  4251 typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
  4252 typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
  4253 typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
  4254 typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
  4255 typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
  4256 typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
  4257 #endif
  4258 
  4259 #ifndef GL_SGIX_ir_instrument1
  4260 #define GL_SGIX_ir_instrument1 1
  4261 #endif
  4262 
  4263 #ifndef GL_SGIX_calligraphic_fragment
  4264 #define GL_SGIX_calligraphic_fragment 1
  4265 #endif
  4266 
  4267 #ifndef GL_SGIX_texture_lod_bias
  4268 #define GL_SGIX_texture_lod_bias 1
  4269 #endif
  4270 
  4271 #ifndef GL_SGIX_shadow_ambient
  4272 #define GL_SGIX_shadow_ambient 1
  4273 #endif
  4274 
  4275 #ifndef GL_EXT_index_texture
  4276 #define GL_EXT_index_texture 1
  4277 #endif
  4278 
  4279 #ifndef GL_EXT_index_material
  4280 #define GL_EXT_index_material 1
  4281 #ifdef GL_GLEXT_PROTOTYPES
  4282 GLAPI void APIENTRY glIndexMaterialEXT (GLenum, GLenum);
  4283 #endif /* GL_GLEXT_PROTOTYPES */
  4284 typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
  4285 #endif
  4286 
  4287 #ifndef GL_EXT_index_func
  4288 #define GL_EXT_index_func 1
  4289 #ifdef GL_GLEXT_PROTOTYPES
  4290 GLAPI void APIENTRY glIndexFuncEXT (GLenum, GLclampf);
  4291 #endif /* GL_GLEXT_PROTOTYPES */
  4292 typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
  4293 #endif
  4294 
  4295 #ifndef GL_EXT_index_array_formats
  4296 #define GL_EXT_index_array_formats 1
  4297 #endif
  4298 
  4299 #ifndef GL_EXT_compiled_vertex_array
  4300 #define GL_EXT_compiled_vertex_array 1
  4301 #ifdef GL_GLEXT_PROTOTYPES
  4302 GLAPI void APIENTRY glLockArraysEXT (GLint, GLsizei);
  4303 GLAPI void APIENTRY glUnlockArraysEXT (void);
  4304 #endif /* GL_GLEXT_PROTOTYPES */
  4305 typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
  4306 typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
  4307 #endif
  4308 
  4309 #ifndef GL_EXT_cull_vertex
  4310 #define GL_EXT_cull_vertex 1
  4311 #ifdef GL_GLEXT_PROTOTYPES
  4312 GLAPI void APIENTRY glCullParameterdvEXT (GLenum, GLdouble *);
  4313 GLAPI void APIENTRY glCullParameterfvEXT (GLenum, GLfloat *);
  4314 #endif /* GL_GLEXT_PROTOTYPES */
  4315 typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
  4316 typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
  4317 #endif
  4318 
  4319 #ifndef GL_SGIX_ycrcb
  4320 #define GL_SGIX_ycrcb 1
  4321 #endif
  4322 
  4323 #ifndef GL_SGIX_fragment_lighting
  4324 #define GL_SGIX_fragment_lighting 1
  4325 #ifdef GL_GLEXT_PROTOTYPES
  4326 GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum, GLenum);
  4327 GLAPI void APIENTRY glFragmentLightfSGIX (GLenum, GLenum, GLfloat);
  4328 GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *);
  4329 GLAPI void APIENTRY glFragmentLightiSGIX (GLenum, GLenum, GLint);
  4330 GLAPI void APIENTRY glFragmentLightivSGIX (GLenum, GLenum, const GLint *);
  4331 GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum, GLfloat);
  4332 GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum, const GLfloat *);
  4333 GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum, GLint);
  4334 GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum, const GLint *);
  4335 GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat);
  4336 GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat *);
  4337 GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum, GLenum, GLint);
  4338 GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum, GLenum, const GLint *);
  4339 GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *);
  4340 GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum, GLenum, GLint *);
  4341 GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *);
  4342 GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *);
  4343 GLAPI void APIENTRY glLightEnviSGIX (GLenum, GLint);
  4344 #endif /* GL_GLEXT_PROTOTYPES */
  4345 typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
  4346 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
  4347 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
  4348 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
  4349 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
  4350 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
  4351 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
  4352 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
  4353 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
  4354 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
  4355 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
  4356 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
  4357 typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
  4358 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
  4359 typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
  4360 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
  4361 typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
  4362 typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
  4363 #endif
  4364 
  4365 #ifndef GL_IBM_rasterpos_clip
  4366 #define GL_IBM_rasterpos_clip 1
  4367 #endif
  4368 
  4369 #ifndef GL_HP_texture_lighting
  4370 #define GL_HP_texture_lighting 1
  4371 #endif
  4372 
  4373 #ifndef GL_EXT_draw_range_elements
  4374 #define GL_EXT_draw_range_elements 1
  4375 #ifdef GL_GLEXT_PROTOTYPES
  4376 GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
  4377 #endif /* GL_GLEXT_PROTOTYPES */
  4378 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  4379 #endif
  4380 
  4381 #ifndef GL_WIN_phong_shading
  4382 #define GL_WIN_phong_shading 1
  4383 #endif
  4384 
  4385 #ifndef GL_WIN_specular_fog
  4386 #define GL_WIN_specular_fog 1
  4387 #endif
  4388 
  4389 #ifndef GL_EXT_light_texture
  4390 #define GL_EXT_light_texture 1
  4391 #ifdef GL_GLEXT_PROTOTYPES
  4392 GLAPI void APIENTRY glApplyTextureEXT (GLenum);
  4393 GLAPI void APIENTRY glTextureLightEXT (GLenum);
  4394 GLAPI void APIENTRY glTextureMaterialEXT (GLenum, GLenum);
  4395 #endif /* GL_GLEXT_PROTOTYPES */
  4396 typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
  4397 typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
  4398 typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
  4399 #endif
  4400 
  4401 #ifndef GL_SGIX_blend_alpha_minmax
  4402 #define GL_SGIX_blend_alpha_minmax 1
  4403 #endif
  4404 
  4405 #ifndef GL_EXT_bgra
  4406 #define GL_EXT_bgra 1
  4407 #endif
  4408 
  4409 #ifndef GL_SGIX_async
  4410 #define GL_SGIX_async 1
  4411 #ifdef GL_GLEXT_PROTOTYPES
  4412 GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint);
  4413 GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *);
  4414 GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *);
  4415 GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei);
  4416 GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint, GLsizei);
  4417 GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint);
  4418 #endif /* GL_GLEXT_PROTOTYPES */
  4419 typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
  4420 typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
  4421 typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
  4422 typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
  4423 typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
  4424 typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
  4425 #endif
  4426 
  4427 #ifndef GL_SGIX_async_pixel
  4428 #define GL_SGIX_async_pixel 1
  4429 #endif
  4430 
  4431 #ifndef GL_SGIX_async_histogram
  4432 #define GL_SGIX_async_histogram 1
  4433 #endif
  4434 
  4435 #ifndef GL_INTEL_parallel_arrays
  4436 #define GL_INTEL_parallel_arrays 1
  4437 #ifdef GL_GLEXT_PROTOTYPES
  4438 GLAPI void APIENTRY glVertexPointervINTEL (GLint, GLenum, const GLvoid* *);
  4439 GLAPI void APIENTRY glNormalPointervINTEL (GLenum, const GLvoid* *);
  4440 GLAPI void APIENTRY glColorPointervINTEL (GLint, GLenum, const GLvoid* *);
  4441 GLAPI void APIENTRY glTexCoordPointervINTEL (GLint, GLenum, const GLvoid* *);
  4442 #endif /* GL_GLEXT_PROTOTYPES */
  4443 typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
  4444 typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer);
  4445 typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
  4446 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
  4447 #endif
  4448 
  4449 #ifndef GL_HP_occlusion_test
  4450 #define GL_HP_occlusion_test 1
  4451 #endif
  4452 
  4453 #ifndef GL_EXT_pixel_transform
  4454 #define GL_EXT_pixel_transform 1
  4455 #ifdef GL_GLEXT_PROTOTYPES
  4456 GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum, GLenum, GLint);
  4457 GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum, GLenum, GLfloat);
  4458 GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum, GLenum, const GLint *);
  4459 GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum, GLenum, const GLfloat *);
  4460 #endif /* GL_GLEXT_PROTOTYPES */
  4461 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
  4462 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
  4463 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  4464 typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  4465 #endif
  4466 
  4467 #ifndef GL_EXT_pixel_transform_color_table
  4468 #define GL_EXT_pixel_transform_color_table 1
  4469 #endif
  4470 
  4471 #ifndef GL_EXT_shared_texture_palette
  4472 #define GL_EXT_shared_texture_palette 1
  4473 #endif
  4474 
  4475 #ifndef GL_EXT_separate_specular_color
  4476 #define GL_EXT_separate_specular_color 1
  4477 #endif
  4478 
  4479 #ifndef GL_EXT_secondary_color
  4480 #define GL_EXT_secondary_color 1
  4481 #ifdef GL_GLEXT_PROTOTYPES
  4482 GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte, GLbyte, GLbyte);
  4483 GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *);
  4484 GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble, GLdouble, GLdouble);
  4485 GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *);
  4486 GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat, GLfloat, GLfloat);
  4487 GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *);
  4488 GLAPI void APIENTRY glSecondaryColor3iEXT (GLint, GLint, GLint);
  4489 GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *);
  4490 GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort, GLshort, GLshort);
  4491 GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *);
  4492 GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte, GLubyte, GLubyte);
  4493 GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *);
  4494 GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint, GLuint, GLuint);
  4495 GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *);
  4496 GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort, GLushort, GLushort);
  4497 GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *);
  4498 GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint, GLenum, GLsizei, const GLvoid *);
  4499 #endif /* GL_GLEXT_PROTOTYPES */
  4500 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
  4501 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
  4502 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
  4503 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
  4504 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
  4505 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
  4506 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
  4507 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
  4508 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
  4509 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
  4510 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
  4511 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
  4512 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
  4513 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
  4514 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
  4515 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
  4516 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  4517 #endif
  4518 
  4519 #ifndef GL_EXT_texture_perturb_normal
  4520 #define GL_EXT_texture_perturb_normal 1
  4521 #ifdef GL_GLEXT_PROTOTYPES
  4522 GLAPI void APIENTRY glTextureNormalEXT (GLenum);
  4523 #endif /* GL_GLEXT_PROTOTYPES */
  4524 typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
  4525 #endif
  4526 
  4527 #ifndef GL_EXT_multi_draw_arrays
  4528 #define GL_EXT_multi_draw_arrays 1
  4529 #ifdef GL_GLEXT_PROTOTYPES
  4530 GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsizei);
  4531 GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
  4532 #endif /* GL_GLEXT_PROTOTYPES */
  4533 typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
  4534 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
  4535 #endif
  4536 
  4537 #ifndef GL_EXT_fog_coord
  4538 #define GL_EXT_fog_coord 1
  4539 #ifdef GL_GLEXT_PROTOTYPES
  4540 GLAPI void APIENTRY glFogCoordfEXT (GLfloat);
  4541 GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *);
  4542 GLAPI void APIENTRY glFogCoorddEXT (GLdouble);
  4543 GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *);
  4544 GLAPI void APIENTRY glFogCoordPointerEXT (GLenum, GLsizei, const GLvoid *);
  4545 #endif /* GL_GLEXT_PROTOTYPES */
  4546 typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
  4547 typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
  4548 typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
  4549 typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
  4550 typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  4551 #endif
  4552 
  4553 #ifndef GL_REND_screen_coordinates
  4554 #define GL_REND_screen_coordinates 1
  4555 #endif
  4556 
  4557 #ifndef GL_EXT_coordinate_frame
  4558 #define GL_EXT_coordinate_frame 1
  4559 #ifdef GL_GLEXT_PROTOTYPES
  4560 GLAPI void APIENTRY glTangent3bEXT (GLbyte, GLbyte, GLbyte);
  4561 GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *);
  4562 GLAPI void APIENTRY glTangent3dEXT (GLdouble, GLdouble, GLdouble);
  4563 GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *);
  4564 GLAPI void APIENTRY glTangent3fEXT (GLfloat, GLfloat, GLfloat);
  4565 GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *);
  4566 GLAPI void APIENTRY glTangent3iEXT (GLint, GLint, GLint);
  4567 GLAPI void APIENTRY glTangent3ivEXT (const GLint *);
  4568 GLAPI void APIENTRY glTangent3sEXT (GLshort, GLshort, GLshort);
  4569 GLAPI void APIENTRY glTangent3svEXT (const GLshort *);
  4570 GLAPI void APIENTRY glBinormal3bEXT (GLbyte, GLbyte, GLbyte);
  4571 GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *);
  4572 GLAPI void APIENTRY glBinormal3dEXT (GLdouble, GLdouble, GLdouble);
  4573 GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *);
  4574 GLAPI void APIENTRY glBinormal3fEXT (GLfloat, GLfloat, GLfloat);
  4575 GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *);
  4576 GLAPI void APIENTRY glBinormal3iEXT (GLint, GLint, GLint);
  4577 GLAPI void APIENTRY glBinormal3ivEXT (const GLint *);
  4578 GLAPI void APIENTRY glBinormal3sEXT (GLshort, GLshort, GLshort);
  4579 GLAPI void APIENTRY glBinormal3svEXT (const GLshort *);
  4580 GLAPI void APIENTRY glTangentPointerEXT (GLenum, GLsizei, const GLvoid *);
  4581 GLAPI void APIENTRY glBinormalPointerEXT (GLenum, GLsizei, const GLvoid *);
  4582 #endif /* GL_GLEXT_PROTOTYPES */
  4583 typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
  4584 typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
  4585 typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
  4586 typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
  4587 typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
  4588 typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
  4589 typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
  4590 typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
  4591 typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
  4592 typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
  4593 typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
  4594 typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
  4595 typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
  4596 typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
  4597 typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
  4598 typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
  4599 typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
  4600 typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
  4601 typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
  4602 typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
  4603 typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  4604 typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  4605 #endif
  4606 
  4607 #ifndef GL_EXT_texture_env_combine
  4608 #define GL_EXT_texture_env_combine 1
  4609 #endif
  4610 
  4611 #ifndef GL_APPLE_specular_vector
  4612 #define GL_APPLE_specular_vector 1
  4613 #endif
  4614 
  4615 #ifndef GL_APPLE_transform_hint
  4616 #define GL_APPLE_transform_hint 1
  4617 #endif
  4618 
  4619 #ifndef GL_SGIX_fog_scale
  4620 #define GL_SGIX_fog_scale 1
  4621 #endif
  4622 
  4623 #ifndef GL_SUNX_constant_data
  4624 #define GL_SUNX_constant_data 1
  4625 #ifdef GL_GLEXT_PROTOTYPES
  4626 GLAPI void APIENTRY glFinishTextureSUNX (void);
  4627 #endif /* GL_GLEXT_PROTOTYPES */
  4628 typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
  4629 #endif
  4630 
  4631 #ifndef GL_SUN_global_alpha
  4632 #define GL_SUN_global_alpha 1
  4633 #ifdef GL_GLEXT_PROTOTYPES
  4634 GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte);
  4635 GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort);
  4636 GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint);
  4637 GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat);
  4638 GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble);
  4639 GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte);
  4640 GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort);
  4641 GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint);
  4642 #endif /* GL_GLEXT_PROTOTYPES */
  4643 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
  4644 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
  4645 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
  4646 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
  4647 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
  4648 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
  4649 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
  4650 typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
  4651 #endif
  4652 
  4653 #ifndef GL_SUN_triangle_list
  4654 #define GL_SUN_triangle_list 1
  4655 #ifdef GL_GLEXT_PROTOTYPES
  4656 GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint);
  4657 GLAPI void APIENTRY glReplacementCodeusSUN (GLushort);
  4658 GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte);
  4659 GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *);
  4660 GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *);
  4661 GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *);
  4662 GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum, GLsizei, const GLvoid* *);
  4663 #endif /* GL_GLEXT_PROTOTYPES */
  4664 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
  4665 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
  4666 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
  4667 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
  4668 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
  4669 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
  4670 typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer);
  4671 #endif
  4672 
  4673 #ifndef GL_SUN_vertex
  4674 #define GL_SUN_vertex 1
  4675 #ifdef GL_GLEXT_PROTOTYPES
  4676 GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat);
  4677 GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *, const GLfloat *);
  4678 GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
  4679 GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *, const GLfloat *);
  4680 GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  4681 GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *, const GLfloat *);
  4682 GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  4683 GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *);
  4684 GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  4685 GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
  4686 GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  4687 GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *, const GLfloat *);
  4688 GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  4689 GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *, const GLfloat *);
  4690 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat, GLfloat, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
  4691 GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *, const GLubyte *, const GLfloat *);
  4692 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  4693 GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
  4694 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  4695 GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
  4696 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  4697 GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
  4698 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  4699 GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
  4700 GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat);
  4701 GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *, const GLfloat *);
  4702 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
  4703 GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *, const GLubyte *, const GLfloat *);
  4704 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  4705 GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *);
  4706 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  4707 GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *);
  4708 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  4709 GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *);
  4710 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  4711 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *);
  4712 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  4713 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *);
  4714 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  4715 GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
  4716 #endif /* GL_GLEXT_PROTOTYPES */
  4717 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  4718 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  4719 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  4720 typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  4721 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  4722 typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
  4723 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  4724 typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
  4725 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  4726 typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  4727 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  4728 typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  4729 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  4730 typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  4731 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  4732 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  4733 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  4734 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  4735 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  4736 typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  4737 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  4738 typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  4739 typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  4740 typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  4741 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  4742 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
  4743 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  4744 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  4745 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  4746 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  4747 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  4748 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  4749 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  4750 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  4751 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  4752 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  4753 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  4754 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  4755 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  4756 typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  4757 #endif
  4758 
  4759 #ifndef GL_EXT_blend_func_separate
  4760 #define GL_EXT_blend_func_separate 1
  4761 #ifdef GL_GLEXT_PROTOTYPES
  4762 GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum, GLenum, GLenum, GLenum);
  4763 #endif /* GL_GLEXT_PROTOTYPES */
  4764 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  4765 #endif
  4766 
  4767 #ifndef GL_INGR_blend_func_separate
  4768 #define GL_INGR_blend_func_separate 1
  4769 #ifdef GL_GLEXT_PROTOTYPES
  4770 GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum, GLenum, GLenum, GLenum);
  4771 #endif /* GL_GLEXT_PROTOTYPES */
  4772 typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  4773 #endif
  4774 
  4775 #ifndef GL_INGR_color_clamp
  4776 #define GL_INGR_color_clamp 1
  4777 #endif
  4778 
  4779 #ifndef GL_INGR_interlace_read
  4780 #define GL_INGR_interlace_read 1
  4781 #endif
  4782 
  4783 #ifndef GL_EXT_stencil_wrap
  4784 #define GL_EXT_stencil_wrap 1
  4785 #endif
  4786 
  4787 #ifndef GL_EXT_422_pixels
  4788 #define GL_EXT_422_pixels 1
  4789 #endif
  4790 
  4791 #ifndef GL_NV_texgen_reflection
  4792 #define GL_NV_texgen_reflection 1
  4793 #endif
  4794 
  4795 #ifndef GL_SUN_convolution_border_modes
  4796 #define GL_SUN_convolution_border_modes 1
  4797 #endif
  4798 
  4799 #ifndef GL_EXT_texture_env_add
  4800 #define GL_EXT_texture_env_add 1
  4801 #endif
  4802 
  4803 #ifndef GL_EXT_texture_lod_bias
  4804 #define GL_EXT_texture_lod_bias 1
  4805 #endif
  4806 
  4807 #ifndef GL_EXT_texture_filter_anisotropic
  4808 #define GL_EXT_texture_filter_anisotropic 1
  4809 #endif
  4810 
  4811 #ifndef GL_EXT_vertex_weighting
  4812 #define GL_EXT_vertex_weighting 1
  4813 #ifdef GL_GLEXT_PROTOTYPES
  4814 GLAPI void APIENTRY glVertexWeightfEXT (GLfloat);
  4815 GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *);
  4816 GLAPI void APIENTRY glVertexWeightPointerEXT (GLsizei, GLenum, GLsizei, const GLvoid *);
  4817 #endif /* GL_GLEXT_PROTOTYPES */
  4818 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
  4819 typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
  4820 typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer);
  4821 #endif
  4822 
  4823 #ifndef GL_NV_light_max_exponent
  4824 #define GL_NV_light_max_exponent 1
  4825 #endif
  4826 
  4827 #ifndef GL_NV_vertex_array_range
  4828 #define GL_NV_vertex_array_range 1
  4829 #ifdef GL_GLEXT_PROTOTYPES
  4830 GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
  4831 GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei, const GLvoid *);
  4832 #endif /* GL_GLEXT_PROTOTYPES */
  4833 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
  4834 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer);
  4835 #endif
  4836 
  4837 #ifndef GL_NV_register_combiners
  4838 #define GL_NV_register_combiners 1
  4839 #ifdef GL_GLEXT_PROTOTYPES
  4840 GLAPI void APIENTRY glCombinerParameterfvNV (GLenum, const GLfloat *);
  4841 GLAPI void APIENTRY glCombinerParameterfNV (GLenum, GLfloat);
  4842 GLAPI void APIENTRY glCombinerParameterivNV (GLenum, const GLint *);
  4843 GLAPI void APIENTRY glCombinerParameteriNV (GLenum, GLint);
  4844 GLAPI void APIENTRY glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum);
  4845 GLAPI void APIENTRY glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean);
  4846 GLAPI void APIENTRY glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum);
  4847 GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum, GLenum, GLfloat *);
  4848 GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum, GLenum, GLint *);
  4849 GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenum, GLfloat *);
  4850 GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenum, GLint *);
  4851 GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, GLfloat *);
  4852 GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum, GLenum, GLint *);
  4853 #endif /* GL_GLEXT_PROTOTYPES */
  4854 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
  4855 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
  4856 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  4857 typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
  4858 typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  4859 typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  4860 typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  4861 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
  4862 typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
  4863 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
  4864 typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
  4865 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
  4866 typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
  4867 #endif
  4868 
  4869 #ifndef GL_NV_fog_distance
  4870 #define GL_NV_fog_distance 1
  4871 #endif
  4872 
  4873 #ifndef GL_NV_texgen_emboss
  4874 #define GL_NV_texgen_emboss 1
  4875 #endif
  4876 
  4877 #ifndef GL_NV_blend_square
  4878 #define GL_NV_blend_square 1
  4879 #endif
  4880 
  4881 #ifndef GL_NV_texture_env_combine4
  4882 #define GL_NV_texture_env_combine4 1
  4883 #endif
  4884 
  4885 #ifndef GL_MESA_resize_buffers
  4886 #define GL_MESA_resize_buffers 1
  4887 #ifdef GL_GLEXT_PROTOTYPES
  4888 GLAPI void APIENTRY glResizeBuffersMESA (void);
  4889 #endif /* GL_GLEXT_PROTOTYPES */
  4890 typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
  4891 #endif
  4892 
  4893 #ifndef GL_MESA_window_pos
  4894 #define GL_MESA_window_pos 1
  4895 #ifdef GL_GLEXT_PROTOTYPES
  4896 GLAPI void APIENTRY glWindowPos2dMESA (GLdouble, GLdouble);
  4897 GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *);
  4898 GLAPI void APIENTRY glWindowPos2fMESA (GLfloat, GLfloat);
  4899 GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *);
  4900 GLAPI void APIENTRY glWindowPos2iMESA (GLint, GLint);
  4901 GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *);
  4902 GLAPI void APIENTRY glWindowPos2sMESA (GLshort, GLshort);
  4903 GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *);
  4904 GLAPI void APIENTRY glWindowPos3dMESA (GLdouble, GLdouble, GLdouble);
  4905 GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *);
  4906 GLAPI void APIENTRY glWindowPos3fMESA (GLfloat, GLfloat, GLfloat);
  4907 GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *);
  4908 GLAPI void APIENTRY glWindowPos3iMESA (GLint, GLint, GLint);
  4909 GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *);
  4910 GLAPI void APIENTRY glWindowPos3sMESA (GLshort, GLshort, GLshort);
  4911 GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *);
  4912 GLAPI void APIENTRY glWindowPos4dMESA (GLdouble, GLdouble, GLdouble, GLdouble);
  4913 GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *);
  4914 GLAPI void APIENTRY glWindowPos4fMESA (GLfloat, GLfloat, GLfloat, GLfloat);
  4915 GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *);
  4916 GLAPI void APIENTRY glWindowPos4iMESA (GLint, GLint, GLint, GLint);
  4917 GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *);
  4918 GLAPI void APIENTRY glWindowPos4sMESA (GLshort, GLshort, GLshort, GLshort);
  4919 GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *);
  4920 #endif /* GL_GLEXT_PROTOTYPES */
  4921 typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
  4922 typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
  4923 typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
  4924 typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
  4925 typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
  4926 typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
  4927 typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
  4928 typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
  4929 typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
  4930 typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
  4931 typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
  4932 typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
  4933 typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
  4934 typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
  4935 typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
  4936 typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
  4937 typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  4938 typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
  4939 typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  4940 typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
  4941 typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
  4942 typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
  4943 typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
  4944 typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
  4945 #endif
  4946 
  4947 #ifndef GL_IBM_cull_vertex
  4948 #define GL_IBM_cull_vertex 1
  4949 #endif
  4950 
  4951 #ifndef GL_IBM_multimode_draw_arrays
  4952 #define GL_IBM_multimode_draw_arrays 1
  4953 #ifdef GL_GLEXT_PROTOTYPES
  4954 GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint);
  4955 GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *, const GLsizei *, GLenum, const GLvoid* const *, GLsizei, GLint);
  4956 #endif /* GL_GLEXT_PROTOTYPES */
  4957 typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  4958 typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride);
  4959 #endif
  4960 
  4961 #ifndef GL_IBM_vertex_array_lists
  4962 #define GL_IBM_vertex_array_lists 1
  4963 #ifdef GL_GLEXT_PROTOTYPES
  4964 GLAPI void APIENTRY glColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
  4965 GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
  4966 GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint, const GLboolean* *, GLint);
  4967 GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
  4968 GLAPI void APIENTRY glIndexPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
  4969 GLAPI void APIENTRY glNormalPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
  4970 GLAPI void APIENTRY glTexCoordPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
  4971 GLAPI void APIENTRY glVertexPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
  4972 #endif /* GL_GLEXT_PROTOTYPES */
  4973 typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  4974 typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  4975 typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride);
  4976 typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  4977 typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  4978 typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  4979 typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  4980 typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  4981 #endif
  4982 
  4983 #ifndef GL_SGIX_subsample
  4984 #define GL_SGIX_subsample 1
  4985 #endif
  4986 
  4987 #ifndef GL_SGIX_ycrcba
  4988 #define GL_SGIX_ycrcba 1
  4989 #endif
  4990 
  4991 #ifndef GL_SGIX_ycrcb_subsample
  4992 #define GL_SGIX_ycrcb_subsample 1
  4993 #endif
  4994 
  4995 #ifndef GL_SGIX_depth_pass_instrument
  4996 #define GL_SGIX_depth_pass_instrument 1
  4997 #endif
  4998 
  4999 #ifndef GL_3DFX_texture_compression_FXT1
  5000 #define GL_3DFX_texture_compression_FXT1 1
  5001 #endif
  5002 
  5003 #ifndef GL_3DFX_multisample
  5004 #define GL_3DFX_multisample 1
  5005 #endif
  5006 
  5007 #ifndef GL_3DFX_tbuffer
  5008 #define GL_3DFX_tbuffer 1
  5009 #ifdef GL_GLEXT_PROTOTYPES
  5010 GLAPI void APIENTRY glTbufferMask3DFX (GLuint);
  5011 #endif /* GL_GLEXT_PROTOTYPES */
  5012 typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
  5013 #endif
  5014 
  5015 #ifndef GL_EXT_multisample
  5016 #define GL_EXT_multisample 1
  5017 #ifdef GL_GLEXT_PROTOTYPES
  5018 GLAPI void APIENTRY glSampleMaskEXT (GLclampf, GLboolean);
  5019 GLAPI void APIENTRY glSamplePatternEXT (GLenum);
  5020 #endif /* GL_GLEXT_PROTOTYPES */
  5021 typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
  5022 typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
  5023 #endif
  5024 
  5025 #ifndef GL_SGIX_vertex_preclip
  5026 #define GL_SGIX_vertex_preclip 1
  5027 #endif
  5028 
  5029 #ifndef GL_SGIX_convolution_accuracy
  5030 #define GL_SGIX_convolution_accuracy 1
  5031 #endif
  5032 
  5033 #ifndef GL_SGIX_resample
  5034 #define GL_SGIX_resample 1
  5035 #endif
  5036 
  5037 #ifndef GL_SGIS_point_line_texgen
  5038 #define GL_SGIS_point_line_texgen 1
  5039 #endif
  5040 
  5041 #ifndef GL_SGIS_texture_color_mask
  5042 #define GL_SGIS_texture_color_mask 1
  5043 #ifdef GL_GLEXT_PROTOTYPES
  5044 GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean, GLboolean, GLboolean, GLboolean);
  5045 #endif /* GL_GLEXT_PROTOTYPES */
  5046 typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  5047 #endif
  5048 
  5049 #ifndef GL_SGIX_igloo_interface
  5050 #define GL_SGIX_igloo_interface 1
  5051 #ifdef GL_GLEXT_PROTOTYPES
  5052 GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum, const GLvoid *);
  5053 #endif /* GL_GLEXT_PROTOTYPES */
  5054 typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const GLvoid *params);
  5055 #endif
  5056 
  5057 #ifndef GL_EXT_texture_env_dot3
  5058 #define GL_EXT_texture_env_dot3 1
  5059 #endif
  5060 
  5061 #ifndef GL_ATI_texture_mirror_once
  5062 #define GL_ATI_texture_mirror_once 1
  5063 #endif
  5064 
  5065 #ifndef GL_NV_fence
  5066 #define GL_NV_fence 1
  5067 #ifdef GL_GLEXT_PROTOTYPES
  5068 GLAPI void APIENTRY glDeleteFencesNV (GLsizei, const GLuint *);
  5069 GLAPI void APIENTRY glGenFencesNV (GLsizei, GLuint *);
  5070 GLAPI GLboolean APIENTRY glIsFenceNV (GLuint);
  5071 GLAPI GLboolean APIENTRY glTestFenceNV (GLuint);
  5072 GLAPI void APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *);
  5073 GLAPI void APIENTRY glFinishFenceNV (GLuint);
  5074 GLAPI void APIENTRY glSetFenceNV (GLuint, GLenum);
  5075 #endif /* GL_GLEXT_PROTOTYPES */
  5076 typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
  5077 typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
  5078 typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
  5079 typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
  5080 typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
  5081 typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
  5082 typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
  5083 #endif
  5084 
  5085 #ifndef GL_NV_evaluators
  5086 #define GL_NV_evaluators 1
  5087 #ifdef GL_GLEXT_PROTOTYPES
  5088 GLAPI void APIENTRY glMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLint, GLint, GLboolean, const GLvoid *);
  5089 GLAPI void APIENTRY glMapParameterivNV (GLenum, GLenum, const GLint *);
  5090 GLAPI void APIENTRY glMapParameterfvNV (GLenum, GLenum, const GLfloat *);
  5091 GLAPI void APIENTRY glGetMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLboolean, GLvoid *);
  5092 GLAPI void APIENTRY glGetMapParameterivNV (GLenum, GLenum, GLint *);
  5093 GLAPI void APIENTRY glGetMapParameterfvNV (GLenum, GLenum, GLfloat *);
  5094 GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum, GLuint, GLenum, GLint *);
  5095 GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum, GLuint, GLenum, GLfloat *);
  5096 GLAPI void APIENTRY glEvalMapsNV (GLenum, GLenum);
  5097 #endif /* GL_GLEXT_PROTOTYPES */
  5098 typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
  5099 typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
  5100 typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  5101 typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
  5102 typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
  5103 typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
  5104 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  5105 typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  5106 typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
  5107 #endif
  5108 
  5109 #ifndef GL_NV_packed_depth_stencil
  5110 #define GL_NV_packed_depth_stencil 1
  5111 #endif
  5112 
  5113 #ifndef GL_NV_register_combiners2
  5114 #define GL_NV_register_combiners2 1
  5115 #ifdef GL_GLEXT_PROTOTYPES
  5116 GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum, GLenum, const GLfloat *);
  5117 GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum, GLenum, GLfloat *);
  5118 #endif /* GL_GLEXT_PROTOTYPES */
  5119 typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
  5120 typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
  5121 #endif
  5122 
  5123 #ifndef GL_NV_texture_compression_vtc
  5124 #define GL_NV_texture_compression_vtc 1
  5125 #endif
  5126 
  5127 #ifndef GL_NV_texture_rectangle
  5128 #define GL_NV_texture_rectangle 1
  5129 #endif
  5130 
  5131 #ifndef GL_NV_texture_shader
  5132 #define GL_NV_texture_shader 1
  5133 #endif
  5134 
  5135 #ifndef GL_NV_texture_shader2
  5136 #define GL_NV_texture_shader2 1
  5137 #endif
  5138 
  5139 #ifndef GL_NV_vertex_array_range2
  5140 #define GL_NV_vertex_array_range2 1
  5141 #endif
  5142 
  5143 #ifndef GL_NV_vertex_program
  5144 #define GL_NV_vertex_program 1
  5145 #ifdef GL_GLEXT_PROTOTYPES
  5146 GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei, const GLuint *, GLboolean *);
  5147 GLAPI void APIENTRY glBindProgramNV (GLenum, GLuint);
  5148 GLAPI void APIENTRY glDeleteProgramsNV (GLsizei, const GLuint *);
  5149 GLAPI void APIENTRY glExecuteProgramNV (GLenum, GLuint, const GLfloat *);
  5150 GLAPI void APIENTRY glGenProgramsNV (GLsizei, GLuint *);
  5151 GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum, GLuint, GLenum, GLdouble *);
  5152 GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum, GLuint, GLenum, GLfloat *);
  5153 GLAPI void APIENTRY glGetProgramivNV (GLuint, GLenum, GLint *);
  5154 GLAPI void APIENTRY glGetProgramStringNV (GLuint, GLenum, GLubyte *);
  5155 GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum, GLuint, GLenum, GLint *);
  5156 GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint, GLenum, GLdouble *);
  5157 GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint, GLenum, GLfloat *);
  5158 GLAPI void APIENTRY glGetVertexAttribivNV (GLuint, GLenum, GLint *);
  5159 GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint, GLenum, GLvoid* *);
  5160 GLAPI GLboolean APIENTRY glIsProgramNV (GLuint);
  5161 GLAPI void APIENTRY glLoadProgramNV (GLenum, GLuint, GLsizei, const GLubyte *);
  5162 GLAPI void APIENTRY glProgramParameter4dNV (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
  5163 GLAPI void APIENTRY glProgramParameter4dvNV (GLenum, GLuint, const GLdouble *);
  5164 GLAPI void APIENTRY glProgramParameter4fNV (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
  5165 GLAPI void APIENTRY glProgramParameter4fvNV (GLenum, GLuint, const GLfloat *);
  5166 GLAPI void APIENTRY glProgramParameters4dvNV (GLenum, GLuint, GLuint, const GLdouble *);
  5167 GLAPI void APIENTRY glProgramParameters4fvNV (GLenum, GLuint, GLuint, const GLfloat *);
  5168 GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei, const GLuint *);
  5169 GLAPI void APIENTRY glTrackMatrixNV (GLenum, GLuint, GLenum, GLenum);
  5170 GLAPI void APIENTRY glVertexAttribPointerNV (GLuint, GLint, GLenum, GLsizei, const GLvoid *);
  5171 GLAPI void APIENTRY glVertexAttrib1dNV (GLuint, GLdouble);
  5172 GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint, const GLdouble *);
  5173 GLAPI void APIENTRY glVertexAttrib1fNV (GLuint, GLfloat);
  5174 GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint, const GLfloat *);
  5175 GLAPI void APIENTRY glVertexAttrib1sNV (GLuint, GLshort);
  5176 GLAPI void APIENTRY glVertexAttrib1svNV (GLuint, const GLshort *);
  5177 GLAPI void APIENTRY glVertexAttrib2dNV (GLuint, GLdouble, GLdouble);
  5178 GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint, const GLdouble *);
  5179 GLAPI void APIENTRY glVertexAttrib2fNV (GLuint, GLfloat, GLfloat);
  5180 GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint, const GLfloat *);
  5181 GLAPI void APIENTRY glVertexAttrib2sNV (GLuint, GLshort, GLshort);
  5182 GLAPI void APIENTRY glVertexAttrib2svNV (GLuint, const GLshort *);
  5183 GLAPI void APIENTRY glVertexAttrib3dNV (GLuint, GLdouble, GLdouble, GLdouble);
  5184 GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint, const GLdouble *);
  5185 GLAPI void APIENTRY glVertexAttrib3fNV (GLuint, GLfloat, GLfloat, GLfloat);
  5186 GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint, const GLfloat *);
  5187 GLAPI void APIENTRY glVertexAttrib3sNV (GLuint, GLshort, GLshort, GLshort);
  5188 GLAPI void APIENTRY glVertexAttrib3svNV (GLuint, const GLshort *);
  5189 GLAPI void APIENTRY glVertexAttrib4dNV (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
  5190 GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint, const GLdouble *);
  5191 GLAPI void APIENTRY glVertexAttrib4fNV (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
  5192 GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint, const GLfloat *);
  5193 GLAPI void APIENTRY glVertexAttrib4sNV (GLuint, GLshort, GLshort, GLshort, GLshort);
  5194 GLAPI void APIENTRY glVertexAttrib4svNV (GLuint, const GLshort *);
  5195 GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
  5196 GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint, const GLubyte *);
  5197 GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint, GLsizei, const GLdouble *);
  5198 GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint, GLsizei, const GLfloat *);
  5199 GLAPI void APIENTRY glVertexAttribs1svNV (GLuint, GLsizei, const GLshort *);
  5200 GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint, GLsizei, const GLdouble *);
  5201 GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint, GLsizei, const GLfloat *);
  5202 GLAPI void APIENTRY glVertexAttribs2svNV (GLuint, GLsizei, const GLshort *);
  5203 GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint, GLsizei, const GLdouble *);
  5204 GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint, GLsizei, const GLfloat *);
  5205 GLAPI void APIENTRY glVertexAttribs3svNV (GLuint, GLsizei, const GLshort *);
  5206 GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint, GLsizei, const GLdouble *);
  5207 GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint, GLsizei, const GLfloat *);
  5208 GLAPI void APIENTRY glVertexAttribs4svNV (GLuint, GLsizei, const GLshort *);
  5209 GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint, GLsizei, const GLubyte *);
  5210 #endif /* GL_GLEXT_PROTOTYPES */
  5211 typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
  5212 typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
  5213 typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
  5214 typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
  5215 typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
  5216 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
  5217 typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  5218 typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
  5219 typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
  5220 typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
  5221 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
  5222 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
  5223 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
  5224 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
  5225 typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
  5226 typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
  5227 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5228 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
  5229 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5230 typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
  5231 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLuint count, const GLdouble *v);
  5232 typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLuint count, const GLfloat *v);
  5233 typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
  5234 typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
  5235 typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer);
  5236 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
  5237 typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
  5238 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
  5239 typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
  5240 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
  5241 typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
  5242 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
  5243 typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
  5244 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
  5245 typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
  5246 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
  5247 typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
  5248 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  5249 typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
  5250 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  5251 typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
  5252 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  5253 typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
  5254 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5255 typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
  5256 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5257 typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
  5258 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  5259 typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
  5260 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  5261 typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
  5262 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  5263 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  5264 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  5265 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  5266 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  5267 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  5268 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  5269 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  5270 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  5271 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  5272 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  5273 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  5274 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
  5275 #endif
  5276 
  5277 #ifndef GL_SGIX_texture_coordinate_clamp
  5278 #define GL_SGIX_texture_coordinate_clamp 1
  5279 #endif
  5280 
  5281 #ifndef GL_SGIX_scalebias_hint
  5282 #define GL_SGIX_scalebias_hint 1
  5283 #endif
  5284 
  5285 #ifndef GL_OML_interlace
  5286 #define GL_OML_interlace 1
  5287 #endif
  5288 
  5289 #ifndef GL_OML_subsample
  5290 #define GL_OML_subsample 1
  5291 #endif
  5292 
  5293 #ifndef GL_OML_resample
  5294 #define GL_OML_resample 1
  5295 #endif
  5296 
  5297 #ifndef GL_NV_copy_depth_to_color
  5298 #define GL_NV_copy_depth_to_color 1
  5299 #endif
  5300 
  5301 #ifndef GL_ATI_envmap_bumpmap
  5302 #define GL_ATI_envmap_bumpmap 1
  5303 #ifdef GL_GLEXT_PROTOTYPES
  5304 GLAPI void APIENTRY glTexBumpParameterivATI (GLenum, const GLint *);
  5305 GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum, const GLfloat *);
  5306 GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum, GLint *);
  5307 GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum, GLfloat *);
  5308 #endif /* GL_GLEXT_PROTOTYPES */
  5309 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
  5310 typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
  5311 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
  5312 typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
  5313 #endif
  5314 
  5315 #ifndef GL_ATI_fragment_shader
  5316 #define GL_ATI_fragment_shader 1
  5317 #ifdef GL_GLEXT_PROTOTYPES
  5318 GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint);
  5319 GLAPI void APIENTRY glBindFragmentShaderATI (GLuint);
  5320 GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint);
  5321 GLAPI void APIENTRY glBeginFragmentShaderATI (void);
  5322 GLAPI void APIENTRY glEndFragmentShaderATI (void);
  5323 GLAPI void APIENTRY glPassTexCoordATI (GLuint, GLuint, GLenum);
  5324 GLAPI void APIENTRY glSampleMapATI (GLuint, GLuint, GLenum);
  5325 GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
  5326 GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
  5327 GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
  5328 GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint);
  5329 GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
  5330 GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
  5331 GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint, const GLfloat *);
  5332 #endif /* GL_GLEXT_PROTOTYPES */
  5333 typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
  5334 typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
  5335 typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
  5336 typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
  5337 typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
  5338 typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
  5339 typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
  5340 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  5341 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  5342 typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
  5343 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  5344 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  5345 typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
  5346 typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
  5347 #endif
  5348 
  5349 #ifndef GL_ATI_pn_triangles
  5350 #define GL_ATI_pn_triangles 1
  5351 #ifdef GL_GLEXT_PROTOTYPES
  5352 GLAPI void APIENTRY glPNTrianglesiATI (GLenum, GLint);
  5353 GLAPI void APIENTRY glPNTrianglesfATI (GLenum, GLfloat);
  5354 #endif /* GL_GLEXT_PROTOTYPES */
  5355 typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
  5356 typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
  5357 #endif
  5358 
  5359 #ifndef GL_ATI_vertex_array_object
  5360 #define GL_ATI_vertex_array_object 1
  5361 #ifdef GL_GLEXT_PROTOTYPES
  5362 GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei, const GLvoid *, GLenum);
  5363 GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint);
  5364 GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint, GLuint, GLsizei, const GLvoid *, GLenum);
  5365 GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint, GLenum, GLfloat *);
  5366 GLAPI void APIENTRY glGetObjectBufferivATI (GLuint, GLenum, GLint *);
  5367 GLAPI void APIENTRY glFreeObjectBufferATI (GLuint);
  5368 GLAPI void APIENTRY glArrayObjectATI (GLenum, GLint, GLenum, GLsizei, GLuint, GLuint);
  5369 GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum, GLenum, GLfloat *);
  5370 GLAPI void APIENTRY glGetArrayObjectivATI (GLenum, GLenum, GLint *);
  5371 GLAPI void APIENTRY glVariantArrayObjectATI (GLuint, GLenum, GLsizei, GLuint, GLuint);
  5372 GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint, GLenum, GLfloat *);
  5373 GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint, GLenum, GLint *);
  5374 #endif /* GL_GLEXT_PROTOTYPES */
  5375 typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage);
  5376 typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
  5377 typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve);
  5378 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
  5379 typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
  5380 typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
  5381 typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  5382 typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
  5383 typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
  5384 typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  5385 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
  5386 typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
  5387 #endif
  5388 
  5389 #ifndef GL_EXT_vertex_shader
  5390 #define GL_EXT_vertex_shader 1
  5391 #ifdef GL_GLEXT_PROTOTYPES
  5392 GLAPI void APIENTRY glBeginVertexShaderEXT (void);
  5393 GLAPI void APIENTRY glEndVertexShaderEXT (void);
  5394 GLAPI void APIENTRY glBindVertexShaderEXT (GLuint);
  5395 GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint);
  5396 GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint);
  5397 GLAPI void APIENTRY glShaderOp1EXT (GLenum, GLuint, GLuint);
  5398 GLAPI void APIENTRY glShaderOp2EXT (GLenum, GLuint, GLuint, GLuint);
  5399 GLAPI void APIENTRY glShaderOp3EXT (GLenum, GLuint, GLuint, GLuint, GLuint);
  5400 GLAPI void APIENTRY glSwizzleEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum);
  5401 GLAPI void APIENTRY glWriteMaskEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum);
  5402 GLAPI void APIENTRY glInsertComponentEXT (GLuint, GLuint, GLuint);
  5403 GLAPI void APIENTRY glExtractComponentEXT (GLuint, GLuint, GLuint);
  5404 GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum, GLenum, GLenum, GLuint);
  5405 GLAPI void APIENTRY glSetInvariantEXT (GLuint, GLenum, const GLvoid *);
  5406 GLAPI void APIENTRY glSetLocalConstantEXT (GLuint, GLenum, const GLvoid *);
  5407 GLAPI void APIENTRY glVariantbvEXT (GLuint, const GLbyte *);
  5408 GLAPI void APIENTRY glVariantsvEXT (GLuint, const GLshort *);
  5409 GLAPI void APIENTRY glVariantivEXT (GLuint, const GLint *);
  5410 GLAPI void APIENTRY glVariantfvEXT (GLuint, const GLfloat *);
  5411 GLAPI void APIENTRY glVariantdvEXT (GLuint, const GLdouble *);
  5412 GLAPI void APIENTRY glVariantubvEXT (GLuint, const GLubyte *);
  5413 GLAPI void APIENTRY glVariantusvEXT (GLuint, const GLushort *);
  5414 GLAPI void APIENTRY glVariantuivEXT (GLuint, const GLuint *);
  5415 GLAPI void APIENTRY glVariantPointerEXT (GLuint, GLenum, GLuint, const GLvoid *);
  5416 GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint);
  5417 GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint);
  5418 GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum, GLenum);
  5419 GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum, GLenum);
  5420 GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum, GLenum, GLenum);
  5421 GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum, GLenum);
  5422 GLAPI GLuint APIENTRY glBindParameterEXT (GLenum);
  5423 GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint, GLenum);
  5424 GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint, GLenum, GLboolean *);
  5425 GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint, GLenum, GLint *);
  5426 GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint, GLenum, GLfloat *);
  5427 GLAPI void APIENTRY glGetVariantPointervEXT (GLuint, GLenum, GLvoid* *);
  5428 GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint, GLenum, GLboolean *);
  5429 GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint, GLenum, GLint *);
  5430 GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint, GLenum, GLfloat *);
  5431 GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint, GLenum, GLboolean *);
  5432 GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint, GLenum, GLint *);
  5433 GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint, GLenum, GLfloat *);
  5434 #endif /* GL_GLEXT_PROTOTYPES */
  5435 typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
  5436 typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
  5437 typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
  5438 typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
  5439 typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
  5440 typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
  5441 typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
  5442 typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
  5443 typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  5444 typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  5445 typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  5446 typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  5447 typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
  5448 typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr);
  5449 typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr);
  5450 typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
  5451 typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
  5452 typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
  5453 typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
  5454 typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
  5455 typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
  5456 typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
  5457 typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
  5458 typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const GLvoid *addr);
  5459 typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  5460 typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  5461 typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
  5462 typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
  5463 typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
  5464 typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
  5465 typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
  5466 typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
  5467 typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  5468 typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  5469 typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  5470 typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid* *data);
  5471 typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  5472 typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  5473 typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  5474 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  5475 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  5476 typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  5477 #endif
  5478 
  5479 #ifndef GL_ATI_vertex_streams
  5480 #define GL_ATI_vertex_streams 1
  5481 #ifdef GL_GLEXT_PROTOTYPES
  5482 GLAPI void APIENTRY glVertexStream1sATI (GLenum, GLshort);
  5483 GLAPI void APIENTRY glVertexStream1svATI (GLenum, const GLshort *);
  5484 GLAPI void APIENTRY glVertexStream1iATI (GLenum, GLint);
  5485 GLAPI void APIENTRY glVertexStream1ivATI (GLenum, const GLint *);
  5486 GLAPI void APIENTRY glVertexStream1fATI (GLenum, GLfloat);
  5487 GLAPI void APIENTRY glVertexStream1fvATI (GLenum, const GLfloat *);
  5488 GLAPI void APIENTRY glVertexStream1dATI (GLenum, GLdouble);
  5489 GLAPI void APIENTRY glVertexStream1dvATI (GLenum, const GLdouble *);
  5490 GLAPI void APIENTRY glVertexStream2sATI (GLenum, GLshort, GLshort);
  5491 GLAPI void APIENTRY glVertexStream2svATI (GLenum, const GLshort *);
  5492 GLAPI void APIENTRY glVertexStream2iATI (GLenum, GLint, GLint);
  5493 GLAPI void APIENTRY glVertexStream2ivATI (GLenum, const GLint *);
  5494 GLAPI void APIENTRY glVertexStream2fATI (GLenum, GLfloat, GLfloat);
  5495 GLAPI void APIENTRY glVertexStream2fvATI (GLenum, const GLfloat *);
  5496 GLAPI void APIENTRY glVertexStream2dATI (GLenum, GLdouble, GLdouble);
  5497 GLAPI void APIENTRY glVertexStream2dvATI (GLenum, const GLdouble *);
  5498 GLAPI void APIENTRY glVertexStream3sATI (GLenum, GLshort, GLshort, GLshort);
  5499 GLAPI void APIENTRY glVertexStream3svATI (GLenum, const GLshort *);
  5500 GLAPI void APIENTRY glVertexStream3iATI (GLenum, GLint, GLint, GLint);
  5501 GLAPI void APIENTRY glVertexStream3ivATI (GLenum, const GLint *);
  5502 GLAPI void APIENTRY glVertexStream3fATI (GLenum, GLfloat, GLfloat, GLfloat);
  5503 GLAPI void APIENTRY glVertexStream3fvATI (GLenum, const GLfloat *);
  5504 GLAPI void APIENTRY glVertexStream3dATI (GLenum, GLdouble, GLdouble, GLdouble);
  5505 GLAPI void APIENTRY glVertexStream3dvATI (GLenum, const GLdouble *);
  5506 GLAPI void APIENTRY glVertexStream4sATI (GLenum, GLshort, GLshort, GLshort, GLshort);
  5507 GLAPI void APIENTRY glVertexStream4svATI (GLenum, const GLshort *);
  5508 GLAPI void APIENTRY glVertexStream4iATI (GLenum, GLint, GLint, GLint, GLint);
  5509 GLAPI void APIENTRY glVertexStream4ivATI (GLenum, const GLint *);
  5510 GLAPI void APIENTRY glVertexStream4fATI (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
  5511 GLAPI void APIENTRY glVertexStream4fvATI (GLenum, const GLfloat *);
  5512 GLAPI void APIENTRY glVertexStream4dATI (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
  5513 GLAPI void APIENTRY glVertexStream4dvATI (GLenum, const GLdouble *);
  5514 GLAPI void APIENTRY glNormalStream3bATI (GLenum, GLbyte, GLbyte, GLbyte);
  5515 GLAPI void APIENTRY glNormalStream3bvATI (GLenum, const GLbyte *);
  5516 GLAPI void APIENTRY glNormalStream3sATI (GLenum, GLshort, GLshort, GLshort);
  5517 GLAPI void APIENTRY glNormalStream3svATI (GLenum, const GLshort *);
  5518 GLAPI void APIENTRY glNormalStream3iATI (GLenum, GLint, GLint, GLint);
  5519 GLAPI void APIENTRY glNormalStream3ivATI (GLenum, const GLint *);
  5520 GLAPI void APIENTRY glNormalStream3fATI (GLenum, GLfloat, GLfloat, GLfloat);
  5521 GLAPI void APIENTRY glNormalStream3fvATI (GLenum, const GLfloat *);
  5522 GLAPI void APIENTRY glNormalStream3dATI (GLenum, GLdouble, GLdouble, GLdouble);
  5523 GLAPI void APIENTRY glNormalStream3dvATI (GLenum, const GLdouble *);
  5524 GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum);
  5525 GLAPI void APIENTRY glVertexBlendEnviATI (GLenum, GLint);
  5526 GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum, GLfloat);
  5527 #endif /* GL_GLEXT_PROTOTYPES */
  5528 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
  5529 typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
  5530 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
  5531 typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
  5532 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
  5533 typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
  5534 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
  5535 typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
  5536 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
  5537 typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
  5538 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
  5539 typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
  5540 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
  5541 typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
  5542 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
  5543 typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
  5544 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
  5545 typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
  5546 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
  5547 typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
  5548 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
  5549 typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
  5550 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
  5551 typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
  5552 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
  5553 typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
  5554 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
  5555 typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
  5556 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5557 typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
  5558 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5559 typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
  5560 typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
  5561 typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
  5562 typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
  5563 typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
  5564 typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
  5565 typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
  5566 typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
  5567 typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
  5568 typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
  5569 typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
  5570 typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
  5571 typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
  5572 typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
  5573 #endif
  5574 
  5575 #ifndef GL_ATI_element_array
  5576 #define GL_ATI_element_array 1
  5577 #ifdef GL_GLEXT_PROTOTYPES
  5578 GLAPI void APIENTRY glElementPointerATI (GLenum, const GLvoid *);
  5579 GLAPI void APIENTRY glDrawElementArrayATI (GLenum, GLsizei);
  5580 GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum, GLuint, GLuint, GLsizei);
  5581 #endif /* GL_GLEXT_PROTOTYPES */
  5582 typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLvoid *pointer);
  5583 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
  5584 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
  5585 #endif
  5586 
  5587 #ifndef GL_SUN_mesh_array
  5588 #define GL_SUN_mesh_array 1
  5589 #ifdef GL_GLEXT_PROTOTYPES
  5590 GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum, GLint, GLsizei, GLsizei);
  5591 #endif /* GL_GLEXT_PROTOTYPES */
  5592 typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
  5593 #endif
  5594 
  5595 #ifndef GL_SUN_slice_accum
  5596 #define GL_SUN_slice_accum 1
  5597 #endif
  5598 
  5599 #ifndef GL_NV_multisample_filter_hint
  5600 #define GL_NV_multisample_filter_hint 1
  5601 #endif
  5602 
  5603 #ifndef GL_NV_depth_clamp
  5604 #define GL_NV_depth_clamp 1
  5605 #endif
  5606 
  5607 #ifndef GL_NV_occlusion_query
  5608 #define GL_NV_occlusion_query 1
  5609 #ifdef GL_GLEXT_PROTOTYPES
  5610 GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei, GLuint *);
  5611 GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei, const GLuint *);
  5612 GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint);
  5613 GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint);
  5614 GLAPI void APIENTRY glEndOcclusionQueryNV (void);
  5615 GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint, GLenum, GLint *);
  5616 GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint, GLenum, GLuint *);
  5617 #endif /* GL_GLEXT_PROTOTYPES */
  5618 typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
  5619 typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
  5620 typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
  5621 typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
  5622 typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
  5623 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
  5624 typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
  5625 #endif
  5626 
  5627 #ifndef GL_NV_point_sprite
  5628 #define GL_NV_point_sprite 1
  5629 #ifdef GL_GLEXT_PROTOTYPES
  5630 GLAPI void APIENTRY glPointParameteriNV (GLenum, GLint);
  5631 GLAPI void APIENTRY glPointParameterivNV (GLenum, const GLint *);
  5632 #endif /* GL_GLEXT_PROTOTYPES */
  5633 typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
  5634 typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  5635 #endif
  5636 
  5637 #ifndef GL_NV_texture_shader3
  5638 #define GL_NV_texture_shader3 1
  5639 #endif
  5640 
  5641 #ifndef GL_NV_vertex_program1_1
  5642 #define GL_NV_vertex_program1_1 1
  5643 #endif
  5644 
  5645 #ifndef GL_EXT_shadow_funcs
  5646 #define GL_EXT_shadow_funcs 1
  5647 #endif
  5648 
  5649 #ifndef GL_EXT_stencil_two_side
  5650 #define GL_EXT_stencil_two_side 1
  5651 #ifdef GL_GLEXT_PROTOTYPES
  5652 GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum);
  5653 #endif /* GL_GLEXT_PROTOTYPES */
  5654 typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
  5655 #endif
  5656 
  5657 #ifndef GL_ATI_text_fragment_shader
  5658 #define GL_ATI_text_fragment_shader 1
  5659 #endif
  5660 
  5661 #ifndef GL_APPLE_client_storage
  5662 #define GL_APPLE_client_storage 1
  5663 #endif
  5664 
  5665 #ifndef GL_APPLE_element_array
  5666 #define GL_APPLE_element_array 1
  5667 #ifdef GL_GLEXT_PROTOTYPES
  5668 GLAPI void APIENTRY glElementPointerAPPLE (GLenum, const GLvoid *);
  5669 GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum, GLint, GLsizei);
  5670 GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, GLint, GLsizei);
  5671 GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum, const GLint *, const GLsizei *, GLsizei);
  5672 GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, const GLint *, const GLsizei *, GLsizei);
  5673 #endif /* GL_GLEXT_PROTOTYPES */
  5674 typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const GLvoid *pointer);
  5675 typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
  5676 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
  5677 typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  5678 typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
  5679 #endif
  5680 
  5681 #ifndef GL_APPLE_fence
  5682 #define GL_APPLE_fence 1
  5683 #ifdef GL_GLEXT_PROTOTYPES
  5684 GLAPI void APIENTRY glGenFencesAPPLE (GLsizei, GLuint *);
  5685 GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei, const GLuint *);
  5686 GLAPI void APIENTRY glSetFenceAPPLE (GLuint);
  5687 GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint);
  5688 GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint);
  5689 GLAPI void APIENTRY glFinishFenceAPPLE (GLuint);
  5690 GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum, GLuint);
  5691 GLAPI void APIENTRY glFinishObjectAPPLE (GLenum, GLint);
  5692 #endif /* GL_GLEXT_PROTOTYPES */
  5693 typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
  5694 typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
  5695 typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
  5696 typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
  5697 typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
  5698 typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
  5699 typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
  5700 typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
  5701 #endif
  5702 
  5703 #ifndef GL_APPLE_vertex_array_object
  5704 #define GL_APPLE_vertex_array_object 1
  5705 #ifdef GL_GLEXT_PROTOTYPES
  5706 GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint);
  5707 GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei, const GLuint *);
  5708 GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei, const GLuint *);
  5709 GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint);
  5710 #endif /* GL_GLEXT_PROTOTYPES */
  5711 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
  5712 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
  5713 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
  5714 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
  5715 #endif
  5716 
  5717 #ifndef GL_APPLE_vertex_array_range
  5718 #define GL_APPLE_vertex_array_range 1
  5719 #ifdef GL_GLEXT_PROTOTYPES
  5720 GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei, GLvoid *);
  5721 GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei, GLvoid *);
  5722 GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum, GLint);
  5723 #endif /* GL_GLEXT_PROTOTYPES */
  5724 typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer);
  5725 typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer);
  5726 typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
  5727 #endif
  5728 
  5729 #ifndef GL_APPLE_ycbcr_422
  5730 #define GL_APPLE_ycbcr_422 1
  5731 #endif
  5732 
  5733 #ifndef GL_S3_s3tc
  5734 #define GL_S3_s3tc 1
  5735 #endif
  5736 
  5737 #ifndef GL_ATI_draw_buffers
  5738 #define GL_ATI_draw_buffers 1
  5739 #ifdef GL_GLEXT_PROTOTYPES
  5740 GLAPI void APIENTRY glDrawBuffersATI (GLsizei, const GLenum *);
  5741 #endif /* GL_GLEXT_PROTOTYPES */
  5742 typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
  5743 #endif
  5744 
  5745 #ifndef GL_ATI_texture_env_combine3
  5746 #define GL_ATI_texture_env_combine3 1
  5747 #endif
  5748 
  5749 #ifndef GL_ATI_texture_float
  5750 #define GL_ATI_texture_float 1
  5751 #endif
  5752 
  5753 #ifndef GL_NV_float_buffer
  5754 #define GL_NV_float_buffer 1
  5755 #endif
  5756 
  5757 #ifndef GL_NV_fragment_program
  5758 #define GL_NV_fragment_program 1
  5759 /* Some NV_fragment_program entry points are shared with ARB_vertex_program. */
  5760 #ifdef GL_GLEXT_PROTOTYPES
  5761 GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat);
  5762 GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble);
  5763 GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint, GLsizei, const GLubyte *, const GLfloat *);
  5764 GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint, GLsizei, const GLubyte *, const GLdouble *);
  5765 GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint, GLsizei, const GLubyte *, GLfloat *);
  5766 GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint, GLsizei, const GLubyte *, GLdouble *);
  5767 #endif /* GL_GLEXT_PROTOTYPES */
  5768 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5769 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5770 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
  5771 typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
  5772 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
  5773 typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
  5774 #endif
  5775 
  5776 #ifndef GL_NV_half_float
  5777 #define GL_NV_half_float 1
  5778 #ifdef GL_GLEXT_PROTOTYPES
  5779 GLAPI void APIENTRY glVertex2hNV (GLhalfNV, GLhalfNV);
  5780 GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *);
  5781 GLAPI void APIENTRY glVertex3hNV (GLhalfNV, GLhalfNV, GLhalfNV);
  5782 GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *);
  5783 GLAPI void APIENTRY glVertex4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV);
  5784 GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *);
  5785 GLAPI void APIENTRY glNormal3hNV (GLhalfNV, GLhalfNV, GLhalfNV);
  5786 GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *);
  5787 GLAPI void APIENTRY glColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV);
  5788 GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *);
  5789 GLAPI void APIENTRY glColor4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV);
  5790 GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *);
  5791 GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV);
  5792 GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *);
  5793 GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV, GLhalfNV);
  5794 GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *);
  5795 GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV, GLhalfNV, GLhalfNV);
  5796 GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *);
  5797 GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV);
  5798 GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *);
  5799 GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum, GLhalfNV);
  5800 GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum, const GLhalfNV *);
  5801 GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum, GLhalfNV, GLhalfNV);
  5802 GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum, const GLhalfNV *);
  5803 GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV);
  5804 GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum, const GLhalfNV *);
  5805 GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV);
  5806 GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum, const GLhalfNV *);
  5807 GLAPI void APIENTRY glFogCoordhNV (GLhalfNV);
  5808 GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *);
  5809 GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV);
  5810 GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *);
  5811 GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV);
  5812 GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *);
  5813 GLAPI void APIENTRY glVertexAttrib1hNV (GLuint, GLhalfNV);
  5814 GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint, const GLhalfNV *);
  5815 GLAPI void APIENTRY glVertexAttrib2hNV (GLuint, GLhalfNV, GLhalfNV);
  5816 GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint, const GLhalfNV *);
  5817 GLAPI void APIENTRY glVertexAttrib3hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV);
  5818 GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint, const GLhalfNV *);
  5819 GLAPI void APIENTRY glVertexAttrib4hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV);
  5820 GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint, const GLhalfNV *);
  5821 GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint, GLsizei, const GLhalfNV *);
  5822 GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint, GLsizei, const GLhalfNV *);
  5823 GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint, GLsizei, const GLhalfNV *);
  5824 GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint, GLsizei, const GLhalfNV *);
  5825 #endif /* GL_GLEXT_PROTOTYPES */
  5826 typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
  5827 typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
  5828 typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
  5829 typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
  5830 typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  5831 typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
  5832 typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
  5833 typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
  5834 typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  5835 typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
  5836 typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
  5837 typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
  5838 typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
  5839 typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
  5840 typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
  5841 typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
  5842 typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
  5843 typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
  5844 typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  5845 typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
  5846 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
  5847 typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
  5848 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
  5849 typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
  5850 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
  5851 typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
  5852 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  5853 typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
  5854 typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
  5855 typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
  5856 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  5857 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
  5858 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
  5859 typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
  5860 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
  5861 typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
  5862 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
  5863 typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
  5864 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
  5865 typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
  5866 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  5867 typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
  5868 typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  5869 typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  5870 typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  5871 typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  5872 #endif
  5873 
  5874 #ifndef GL_NV_pixel_data_range
  5875 #define GL_NV_pixel_data_range 1
  5876 #ifdef GL_GLEXT_PROTOTYPES
  5877 GLAPI void APIENTRY glPixelDataRangeNV (GLenum, GLsizei, GLvoid *);
  5878 GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum);
  5879 #endif /* GL_GLEXT_PROTOTYPES */
  5880 typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer);
  5881 typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
  5882 #endif
  5883 
  5884 #ifndef GL_NV_primitive_restart
  5885 #define GL_NV_primitive_restart 1
  5886 #ifdef GL_GLEXT_PROTOTYPES
  5887 GLAPI void APIENTRY glPrimitiveRestartNV (void);
  5888 GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint);
  5889 #endif /* GL_GLEXT_PROTOTYPES */
  5890 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
  5891 typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
  5892 #endif
  5893 
  5894 #ifndef GL_NV_texture_expand_normal
  5895 #define GL_NV_texture_expand_normal 1
  5896 #endif
  5897 
  5898 #ifndef GL_NV_vertex_program2
  5899 #define GL_NV_vertex_program2 1
  5900 #endif
  5901 
  5902 #ifndef GL_ATI_map_object_buffer
  5903 #define GL_ATI_map_object_buffer 1
  5904 #ifdef GL_GLEXT_PROTOTYPES
  5905 GLAPI GLvoid* APIENTRY glMapObjectBufferATI (GLuint);
  5906 GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint);
  5907 #endif /* GL_GLEXT_PROTOTYPES */
  5908 typedef GLvoid* (APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  5909 typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  5910 #endif
  5911 
  5912 #ifndef GL_ATI_separate_stencil
  5913 #define GL_ATI_separate_stencil 1
  5914 #ifdef GL_GLEXT_PROTOTYPES
  5915 GLAPI void APIENTRY glStencilOpSeparateATI (GLenum, GLenum, GLenum, GLenum);
  5916 GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum, GLenum, GLint, GLuint);
  5917 #endif /* GL_GLEXT_PROTOTYPES */
  5918 typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  5919 typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  5920 #endif
  5921 
  5922 #ifndef GL_ATI_vertex_attrib_array_object
  5923 #define GL_ATI_vertex_attrib_array_object 1
  5924 #ifdef GL_GLEXT_PROTOTYPES
  5925 GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint, GLint, GLenum, GLboolean, GLsizei, GLuint, GLuint);
  5926 GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint, GLenum, GLfloat *);
  5927 GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint, GLenum, GLint *);
  5928 #endif /* GL_GLEXT_PROTOTYPES */
  5929 typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
  5930 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
  5931 typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
  5932 #endif
  5933 
  5934 #ifndef GL_EXT_depth_bounds_test
  5935 #define GL_EXT_depth_bounds_test 1
  5936 #ifdef GL_GLEXT_PROTOTYPES
  5937 GLAPI void APIENTRY glDepthBoundsEXT (GLclampd, GLclampd);
  5938 #endif /* GL_GLEXT_PROTOTYPES */
  5939 typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
  5940 #endif
  5941 
  5942 #ifndef GL_EXT_texture_mirror_clamp
  5943 #define GL_EXT_texture_mirror_clamp 1
  5944 #endif
  5945 
  5946 #ifndef GL_EXT_blend_equation_separate
  5947 #define GL_EXT_blend_equation_separate 1
  5948 #ifdef GL_GLEXT_PROTOTYPES