include/SDL_opengl.h
author Sam Lantinga <slouken@libsdl.org>
Wed, 26 Feb 2003 07:27:32 +0000
changeset 600 e5f3ff1580f3
parent 312 d62b9aeaf0ea
child 725 9ee05fe728df
permissions -rw-r--r--
*** empty log message ***
     1 /*
     2     SDL - Simple DirectMedia Layer
     3     Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002  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 #define NOMINMAX	/* Don't defined min() and max() */
    33 #include <windows.h>
    34 #endif
    35 #if defined(__APPLE__) && defined(__MACH__)
    36 #include <OpenGL/gl.h>	/* Header File For The OpenGL Library */
    37 #include <OpenGL/glu.h>	/* Header File For The GLU Library */
    38 #else
    39 #ifndef NO_SDL_GLEXT
    40 #define __glext_h_  /* Don't let gl.h include glext.h */
    41 #endif
    42 #include <GL/gl.h>	/* Header File For The OpenGL Library */
    43 #include <GL/glu.h>	/* Header File For The GLU Library */
    44 #ifndef NO_SDL_GLEXT
    45 #undef __glext_h_
    46 #endif
    47 #endif
    48 
    49 /* This file taken from "GLext.h" from the Jeff Molofee OpenGL tutorials.
    50    It is included here because glext.h is not available on some systems.
    51    If you don't want this version included, simply define "NO_SDL_GLEXT"
    52  */
    53 #ifndef NO_SDL_GLEXT
    54 #if !defined(__glext_h_) && !defined(GL_GLEXT_LEGACY)
    55 #define __glext_h_
    56 
    57 #ifdef __cplusplus
    58 extern "C" {
    59 #endif
    60 
    61 /*
    62 ** License Applicability. Except to the extent portions of this file are
    63 ** made subject to an alternative license as permitted in the SGI Free
    64 ** Software License B, Version 1.1 (the "License"), the contents of this
    65 ** file are subject only to the provisions of the License. You may not use
    66 ** this file except in compliance with the License. You may obtain a copy
    67 ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
    68 ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
    69 ** 
    70 ** http://oss.sgi.com/projects/FreeB
    71 ** 
    72 ** Note that, as provided in the License, the Software is distributed on an
    73 ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
    74 ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
    75 ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
    76 ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
    77 ** 
    78 ** Original Code. The Original Code is: OpenGL Sample Implementation,
    79 ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
    80 ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
    81 ** Copyright in any portions created by third parties is as indicated
    82 ** elsewhere herein. All Rights Reserved.
    83 ** 
    84 ** Additional Notice Provisions: This software was created using the
    85 ** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
    86 ** not been independently verified as being compliant with the OpenGL(R)
    87 ** version 1.2.1 Specification.
    88 */
    89 
    90 #ifndef APIENTRY
    91 #define APIENTRY
    92 #endif
    93 
    94 /*************************************************************/
    95 
    96 /* Header file version number, required by OpenGL ABI for Linux */
    97 #define GL_GLEXT_VERSION 6
    98 
    99 #ifndef GL_VERSION_1_2
   100 #define GL_CONSTANT_COLOR                 0x8001
   101 #define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
   102 #define GL_CONSTANT_ALPHA                 0x8003
   103 #define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
   104 #define GL_BLEND_COLOR                    0x8005
   105 #define GL_FUNC_ADD                       0x8006
   106 #define GL_MIN                            0x8007
   107 #define GL_MAX                            0x8008
   108 #define GL_BLEND_EQUATION                 0x8009
   109 #define GL_FUNC_SUBTRACT                  0x800A
   110 #define GL_FUNC_REVERSE_SUBTRACT          0x800B
   111 #define GL_CONVOLUTION_1D                 0x8010
   112 #define GL_CONVOLUTION_2D                 0x8011
   113 #define GL_SEPARABLE_2D                   0x8012
   114 #define GL_CONVOLUTION_BORDER_MODE        0x8013
   115 #define GL_CONVOLUTION_FILTER_SCALE       0x8014
   116 #define GL_CONVOLUTION_FILTER_BIAS        0x8015
   117 #define GL_REDUCE                         0x8016
   118 #define GL_CONVOLUTION_FORMAT             0x8017
   119 #define GL_CONVOLUTION_WIDTH              0x8018
   120 #define GL_CONVOLUTION_HEIGHT             0x8019
   121 #define GL_MAX_CONVOLUTION_WIDTH          0x801A
   122 #define GL_MAX_CONVOLUTION_HEIGHT         0x801B
   123 #define GL_POST_CONVOLUTION_RED_SCALE     0x801C
   124 #define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
   125 #define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
   126 #define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
   127 #define GL_POST_CONVOLUTION_RED_BIAS      0x8020
   128 #define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
   129 #define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
   130 #define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
   131 #define GL_HISTOGRAM                      0x8024
   132 #define GL_PROXY_HISTOGRAM                0x8025
   133 #define GL_HISTOGRAM_WIDTH                0x8026
   134 #define GL_HISTOGRAM_FORMAT               0x8027
   135 #define GL_HISTOGRAM_RED_SIZE             0x8028
   136 #define GL_HISTOGRAM_GREEN_SIZE           0x8029
   137 #define GL_HISTOGRAM_BLUE_SIZE            0x802A
   138 #define GL_HISTOGRAM_ALPHA_SIZE           0x802B
   139 #define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
   140 #define GL_HISTOGRAM_SINK                 0x802D
   141 #define GL_MINMAX                         0x802E
   142 #define GL_MINMAX_FORMAT                  0x802F
   143 #define GL_MINMAX_SINK                    0x8030
   144 #define GL_TABLE_TOO_LARGE                0x8031
   145 #define GL_UNSIGNED_BYTE_3_3_2            0x8032
   146 #define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
   147 #define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
   148 #define GL_UNSIGNED_INT_8_8_8_8           0x8035
   149 #define GL_UNSIGNED_INT_10_10_10_2        0x8036
   150 #define GL_RESCALE_NORMAL                 0x803A
   151 #define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
   152 #define GL_UNSIGNED_SHORT_5_6_5           0x8363
   153 #define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
   154 #define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
   155 #define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
   156 #define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
   157 #define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
   158 #define GL_COLOR_MATRIX                   0x80B1
   159 #define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
   160 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
   161 #define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
   162 #define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
   163 #define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
   164 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
   165 #define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
   166 #define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
   167 #define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
   168 #define GL_COLOR_TABLE                    0x80D0
   169 #define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
   170 #define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
   171 #define GL_PROXY_COLOR_TABLE              0x80D3
   172 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
   173 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
   174 #define GL_COLOR_TABLE_SCALE              0x80D6
   175 #define GL_COLOR_TABLE_BIAS               0x80D7
   176 #define GL_COLOR_TABLE_FORMAT             0x80D8
   177 #define GL_COLOR_TABLE_WIDTH              0x80D9
   178 #define GL_COLOR_TABLE_RED_SIZE           0x80DA
   179 #define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
   180 #define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
   181 #define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
   182 #define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
   183 #define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
   184 #define GL_CLAMP_TO_EDGE                  0x812F
   185 #define GL_TEXTURE_MIN_LOD                0x813A
   186 #define GL_TEXTURE_MAX_LOD                0x813B
   187 #define GL_TEXTURE_BASE_LEVEL             0x813C
   188 #define GL_TEXTURE_MAX_LEVEL              0x813D
   189 #endif
   190 
   191 #ifndef GL_ARB_multitexture
   192 #define GL_TEXTURE0_ARB                   0x84C0
   193 #define GL_TEXTURE1_ARB                   0x84C1
   194 #define GL_TEXTURE2_ARB                   0x84C2
   195 #define GL_TEXTURE3_ARB                   0x84C3
   196 #define GL_TEXTURE4_ARB                   0x84C4
   197 #define GL_TEXTURE5_ARB                   0x84C5
   198 #define GL_TEXTURE6_ARB                   0x84C6
   199 #define GL_TEXTURE7_ARB                   0x84C7
   200 #define GL_TEXTURE8_ARB                   0x84C8
   201 #define GL_TEXTURE9_ARB                   0x84C9
   202 #define GL_TEXTURE10_ARB                  0x84CA
   203 #define GL_TEXTURE11_ARB                  0x84CB
   204 #define GL_TEXTURE12_ARB                  0x84CC
   205 #define GL_TEXTURE13_ARB                  0x84CD
   206 #define GL_TEXTURE14_ARB                  0x84CE
   207 #define GL_TEXTURE15_ARB                  0x84CF
   208 #define GL_TEXTURE16_ARB                  0x84D0
   209 #define GL_TEXTURE17_ARB                  0x84D1
   210 #define GL_TEXTURE18_ARB                  0x84D2
   211 #define GL_TEXTURE19_ARB                  0x84D3
   212 #define GL_TEXTURE20_ARB                  0x84D4
   213 #define GL_TEXTURE21_ARB                  0x84D5
   214 #define GL_TEXTURE22_ARB                  0x84D6
   215 #define GL_TEXTURE23_ARB                  0x84D7
   216 #define GL_TEXTURE24_ARB                  0x84D8
   217 #define GL_TEXTURE25_ARB                  0x84D9
   218 #define GL_TEXTURE26_ARB                  0x84DA
   219 #define GL_TEXTURE27_ARB                  0x84DB
   220 #define GL_TEXTURE28_ARB                  0x84DC
   221 #define GL_TEXTURE29_ARB                  0x84DD
   222 #define GL_TEXTURE30_ARB                  0x84DE
   223 #define GL_TEXTURE31_ARB                  0x84DF
   224 #define GL_ACTIVE_TEXTURE_ARB             0x84E0
   225 #define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
   226 #define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
   227 #endif
   228 
   229 #ifndef GL_ARB_transpose_matrix
   230 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
   231 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
   232 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
   233 #define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
   234 #endif
   235 
   236 #ifndef GL_ARB_multisample
   237 #define GL_MULTISAMPLE_ARB                0x809D
   238 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
   239 #define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
   240 #define GL_SAMPLE_COVERAGE_ARB            0x80A0
   241 #define GL_SAMPLE_BUFFERS_ARB             0x80A8
   242 #define GL_SAMPLES_ARB                    0x80A9
   243 #define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
   244 #define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
   245 #define GL_MULTISAMPLE_BIT_ARB            0x20000000
   246 #endif
   247 
   248 #ifndef GL_ARB_texture_cube_map
   249 #define GL_NORMAL_MAP_ARB                 0x8511
   250 #define GL_REFLECTION_MAP_ARB             0x8512
   251 #define GL_TEXTURE_CUBE_MAP_ARB           0x8513
   252 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
   253 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
   254 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
   255 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
   256 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
   257 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
   258 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
   259 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
   260 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
   261 #endif
   262 
   263 #ifndef GL_ARB_texture_compression
   264 #define GL_COMPRESSED_ALPHA_ARB           0x84E9
   265 #define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
   266 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
   267 #define GL_COMPRESSED_INTENSITY_ARB       0x84EC
   268 #define GL_COMPRESSED_RGB_ARB             0x84ED
   269 #define GL_COMPRESSED_RGBA_ARB            0x84EE
   270 #define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
   271 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB         0x86A0
   272 #define GL_TEXTURE_COMPRESSED_ARB         0x86A1
   273 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
   274 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
   275 #endif
   276 
   277 #ifndef GL_EXT_abgr
   278 #define GL_ABGR_EXT                       0x8000
   279 #endif
   280 
   281 #ifndef GL_EXT_blend_color
   282 #define GL_CONSTANT_COLOR_EXT             0x8001
   283 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
   284 #define GL_CONSTANT_ALPHA_EXT             0x8003
   285 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
   286 #define GL_BLEND_COLOR_EXT                0x8005
   287 #endif
   288 
   289 #ifndef GL_EXT_polygon_offset
   290 #define GL_POLYGON_OFFSET_EXT             0x8037
   291 #define GL_POLYGON_OFFSET_FACTOR_EXT      0x8038
   292 #define GL_POLYGON_OFFSET_BIAS_EXT        0x8039
   293 #endif
   294 
   295 #ifndef GL_EXT_texture
   296 #define GL_ALPHA4_EXT                     0x803B
   297 #define GL_ALPHA8_EXT                     0x803C
   298 #define GL_ALPHA12_EXT                    0x803D
   299 #define GL_ALPHA16_EXT                    0x803E
   300 #define GL_LUMINANCE4_EXT                 0x803F
   301 #define GL_LUMINANCE8_EXT                 0x8040
   302 #define GL_LUMINANCE12_EXT                0x8041
   303 #define GL_LUMINANCE16_EXT                0x8042
   304 #define GL_LUMINANCE4_ALPHA4_EXT          0x8043
   305 #define GL_LUMINANCE6_ALPHA2_EXT          0x8044
   306 #define GL_LUMINANCE8_ALPHA8_EXT          0x8045
   307 #define GL_LUMINANCE12_ALPHA4_EXT         0x8046
   308 #define GL_LUMINANCE12_ALPHA12_EXT        0x8047
   309 #define GL_LUMINANCE16_ALPHA16_EXT        0x8048
   310 #define GL_INTENSITY_EXT                  0x8049
   311 #define GL_INTENSITY4_EXT                 0x804A
   312 #define GL_INTENSITY8_EXT                 0x804B
   313 #define GL_INTENSITY12_EXT                0x804C
   314 #define GL_INTENSITY16_EXT                0x804D
   315 #define GL_RGB2_EXT                       0x804E
   316 #define GL_RGB4_EXT                       0x804F
   317 #define GL_RGB5_EXT                       0x8050
   318 #define GL_RGB8_EXT                       0x8051
   319 #define GL_RGB10_EXT                      0x8052
   320 #define GL_RGB12_EXT                      0x8053
   321 #define GL_RGB16_EXT                      0x8054
   322 #define GL_RGBA2_EXT                      0x8055
   323 #define GL_RGBA4_EXT                      0x8056
   324 #define GL_RGB5_A1_EXT                    0x8057
   325 #define GL_RGBA8_EXT                      0x8058
   326 #define GL_RGB10_A2_EXT                   0x8059
   327 #define GL_RGBA12_EXT                     0x805A
   328 #define GL_RGBA16_EXT                     0x805B
   329 #define GL_TEXTURE_RED_SIZE_EXT           0x805C
   330 #define GL_TEXTURE_GREEN_SIZE_EXT         0x805D
   331 #define GL_TEXTURE_BLUE_SIZE_EXT          0x805E
   332 #define GL_TEXTURE_ALPHA_SIZE_EXT         0x805F
   333 #define GL_TEXTURE_LUMINANCE_SIZE_EXT     0x8060
   334 #define GL_TEXTURE_INTENSITY_SIZE_EXT     0x8061
   335 #define GL_REPLACE_EXT                    0x8062
   336 #define GL_PROXY_TEXTURE_1D_EXT           0x8063
   337 #define GL_PROXY_TEXTURE_2D_EXT           0x8064
   338 #define GL_TEXTURE_TOO_LARGE_EXT          0x8065
   339 #endif
   340 
   341 #ifndef GL_EXT_texture3D
   342 #define GL_PACK_SKIP_IMAGES               0x806B
   343 #define GL_PACK_SKIP_IMAGES_EXT           0x806B
   344 #define GL_PACK_IMAGE_HEIGHT              0x806C
   345 #define GL_PACK_IMAGE_HEIGHT_EXT          0x806C
   346 #define GL_UNPACK_SKIP_IMAGES             0x806D
   347 #define GL_UNPACK_SKIP_IMAGES_EXT         0x806D
   348 #define GL_UNPACK_IMAGE_HEIGHT            0x806E
   349 #define GL_UNPACK_IMAGE_HEIGHT_EXT        0x806E
   350 #define GL_TEXTURE_3D                     0x806F
   351 #define GL_TEXTURE_3D_EXT                 0x806F
   352 #define GL_PROXY_TEXTURE_3D               0x8070
   353 #define GL_PROXY_TEXTURE_3D_EXT           0x8070
   354 #define GL_TEXTURE_DEPTH                  0x8071
   355 #define GL_TEXTURE_DEPTH_EXT              0x8071
   356 #define GL_TEXTURE_WRAP_R                 0x8072
   357 #define GL_TEXTURE_WRAP_R_EXT             0x8072
   358 #define GL_MAX_3D_TEXTURE_SIZE            0x8073
   359 #define GL_MAX_3D_TEXTURE_SIZE_EXT        0x8073
   360 #endif
   361 
   362 #ifndef GL_SGIS_texture_filter4
   363 #define GL_FILTER4_SGIS                   0x8146
   364 #define GL_TEXTURE_FILTER4_SIZE_SGIS      0x8147
   365 #endif
   366 
   367 #ifndef GL_EXT_subtexture
   368 #endif
   369 
   370 #ifndef GL_EXT_copy_texture
   371 #endif
   372 
   373 #ifndef GL_EXT_histogram
   374 #define GL_HISTOGRAM_EXT                  0x8024
   375 #define GL_PROXY_HISTOGRAM_EXT            0x8025
   376 #define GL_HISTOGRAM_WIDTH_EXT            0x8026
   377 #define GL_HISTOGRAM_FORMAT_EXT           0x8027
   378 #define GL_HISTOGRAM_RED_SIZE_EXT         0x8028
   379 #define GL_HISTOGRAM_GREEN_SIZE_EXT       0x8029
   380 #define GL_HISTOGRAM_BLUE_SIZE_EXT        0x802A
   381 #define GL_HISTOGRAM_ALPHA_SIZE_EXT       0x802B
   382 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT   0x802C
   383 #define GL_HISTOGRAM_SINK_EXT             0x802D
   384 #define GL_MINMAX_EXT                     0x802E
   385 #define GL_MINMAX_FORMAT_EXT              0x802F
   386 #define GL_MINMAX_SINK_EXT                0x8030
   387 #define GL_TABLE_TOO_LARGE_EXT            0x8031
   388 #endif
   389 
   390 #ifndef GL_EXT_convolution
   391 #define GL_CONVOLUTION_1D_EXT             0x8010
   392 #define GL_CONVOLUTION_2D_EXT             0x8011
   393 #define GL_SEPARABLE_2D_EXT               0x8012
   394 #define GL_CONVOLUTION_BORDER_MODE_EXT    0x8013
   395 #define GL_CONVOLUTION_FILTER_SCALE_EXT   0x8014
   396 #define GL_CONVOLUTION_FILTER_BIAS_EXT    0x8015
   397 #define GL_REDUCE_EXT                     0x8016
   398 #define GL_CONVOLUTION_FORMAT_EXT         0x8017
   399 #define GL_CONVOLUTION_WIDTH_EXT          0x8018
   400 #define GL_CONVOLUTION_HEIGHT_EXT         0x8019
   401 #define GL_MAX_CONVOLUTION_WIDTH_EXT      0x801A
   402 #define GL_MAX_CONVOLUTION_HEIGHT_EXT     0x801B
   403 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
   404 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
   405 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
   406 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
   407 #define GL_POST_CONVOLUTION_RED_BIAS_EXT  0x8020
   408 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
   409 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
   410 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
   411 #endif
   412 
   413 #ifndef GL_SGI_color_matrix
   414 #define GL_COLOR_MATRIX_SGI               0x80B1
   415 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI   0x80B2
   416 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
   417 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
   418 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
   419 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
   420 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
   421 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
   422 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
   423 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
   424 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
   425 #endif
   426 
   427 #ifndef GL_SGI_color_table
   428 #define GL_COLOR_TABLE_SGI                0x80D0
   429 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
   430 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
   431 #define GL_PROXY_COLOR_TABLE_SGI          0x80D3
   432 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
   433 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
   434 #define GL_COLOR_TABLE_SCALE_SGI          0x80D6
   435 #define GL_COLOR_TABLE_BIAS_SGI           0x80D7
   436 #define GL_COLOR_TABLE_FORMAT_SGI         0x80D8
   437 #define GL_COLOR_TABLE_WIDTH_SGI          0x80D9
   438 #define GL_COLOR_TABLE_RED_SIZE_SGI       0x80DA
   439 #define GL_COLOR_TABLE_GREEN_SIZE_SGI     0x80DB
   440 #define GL_COLOR_TABLE_BLUE_SIZE_SGI      0x80DC
   441 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI     0x80DD
   442 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
   443 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
   444 #endif
   445 
   446 #ifndef GL_SGIS_pixel_texture
   447 #define GL_PIXEL_TEXTURE_SGIS             0x8353
   448 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
   449 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
   450 #define GL_PIXEL_GROUP_COLOR_SGIS         0x8356
   451 #endif
   452 
   453 #ifndef GL_SGIX_pixel_texture
   454 #define GL_PIXEL_TEX_GEN_SGIX             0x8139
   455 #define GL_PIXEL_TEX_GEN_MODE_SGIX        0x832B
   456 #endif
   457 
   458 #ifndef GL_SGIS_texture4D
   459 #define GL_PACK_SKIP_VOLUMES_SGIS         0x8130
   460 #define GL_PACK_IMAGE_DEPTH_SGIS          0x8131
   461 #define GL_UNPACK_SKIP_VOLUMES_SGIS       0x8132
   462 #define GL_UNPACK_IMAGE_DEPTH_SGIS        0x8133
   463 #define GL_TEXTURE_4D_SGIS                0x8134
   464 #define GL_PROXY_TEXTURE_4D_SGIS          0x8135
   465 #define GL_TEXTURE_4DSIZE_SGIS            0x8136
   466 #define GL_TEXTURE_WRAP_Q_SGIS            0x8137
   467 #define GL_MAX_4D_TEXTURE_SIZE_SGIS       0x8138
   468 #define GL_TEXTURE_4D_BINDING_SGIS        0x814F
   469 #endif
   470 
   471 #ifndef GL_SGI_texture_color_table
   472 #define GL_TEXTURE_COLOR_TABLE_SGI        0x80BC
   473 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI  0x80BD
   474 #endif
   475 
   476 #ifndef GL_EXT_cmyka
   477 #define GL_CMYK_EXT                       0x800C
   478 #define GL_CMYKA_EXT                      0x800D
   479 #define GL_PACK_CMYK_HINT_EXT             0x800E
   480 #define GL_UNPACK_CMYK_HINT_EXT           0x800F
   481 #endif
   482 
   483 #ifndef GL_EXT_texture_object
   484 #define GL_TEXTURE_PRIORITY_EXT           0x8066
   485 #define GL_TEXTURE_RESIDENT_EXT           0x8067
   486 #define GL_TEXTURE_1D_BINDING_EXT         0x8068
   487 #define GL_TEXTURE_2D_BINDING_EXT         0x8069
   488 #define GL_TEXTURE_3D_BINDING_EXT         0x806A
   489 #endif
   490 
   491 #ifndef GL_SGIS_detail_texture
   492 #define GL_DETAIL_TEXTURE_2D_SGIS         0x8095
   493 #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
   494 #define GL_LINEAR_DETAIL_SGIS             0x8097
   495 #define GL_LINEAR_DETAIL_ALPHA_SGIS       0x8098
   496 #define GL_LINEAR_DETAIL_COLOR_SGIS       0x8099
   497 #define GL_DETAIL_TEXTURE_LEVEL_SGIS      0x809A
   498 #define GL_DETAIL_TEXTURE_MODE_SGIS       0x809B
   499 #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
   500 #endif
   501 
   502 #ifndef GL_SGIS_sharpen_texture
   503 #define GL_LINEAR_SHARPEN_SGIS            0x80AD
   504 #define GL_LINEAR_SHARPEN_ALPHA_SGIS      0x80AE
   505 #define GL_LINEAR_SHARPEN_COLOR_SGIS      0x80AF
   506 #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
   507 #endif
   508 
   509 #ifndef GL_EXT_packed_pixels
   510 #define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
   511 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
   512 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
   513 #define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
   514 #define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
   515 #endif
   516 
   517 #ifndef GL_SGIS_texture_lod
   518 #define GL_TEXTURE_MIN_LOD_SGIS           0x813A
   519 #define GL_TEXTURE_MAX_LOD_SGIS           0x813B
   520 #define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
   521 #define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
   522 #endif
   523 
   524 #ifndef GL_SGIS_multisample
   525 #define GL_MULTISAMPLE_SGIS               0x809D
   526 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS      0x809E
   527 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS       0x809F
   528 #define GL_SAMPLE_MASK_SGIS               0x80A0
   529 #define GL_1PASS_SGIS                     0x80A1
   530 #define GL_2PASS_0_SGIS                   0x80A2
   531 #define GL_2PASS_1_SGIS                   0x80A3
   532 #define GL_4PASS_0_SGIS                   0x80A4
   533 #define GL_4PASS_1_SGIS                   0x80A5
   534 #define GL_4PASS_2_SGIS                   0x80A6
   535 #define GL_4PASS_3_SGIS                   0x80A7
   536 #define GL_SAMPLE_BUFFERS_SGIS            0x80A8
   537 #define GL_SAMPLES_SGIS                   0x80A9
   538 #define GL_SAMPLE_MASK_VALUE_SGIS         0x80AA
   539 #define GL_SAMPLE_MASK_INVERT_SGIS        0x80AB
   540 #define GL_SAMPLE_PATTERN_SGIS            0x80AC
   541 #endif
   542 
   543 #ifndef GL_EXT_rescale_normal
   544 #define GL_RESCALE_NORMAL_EXT             0x803A
   545 #endif
   546 
   547 #ifndef GL_EXT_vertex_array
   548 #define GL_VERTEX_ARRAY_EXT               0x8074
   549 #define GL_NORMAL_ARRAY_EXT               0x8075
   550 #define GL_COLOR_ARRAY_EXT                0x8076
   551 #define GL_INDEX_ARRAY_EXT                0x8077
   552 #define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
   553 #define GL_EDGE_FLAG_ARRAY_EXT            0x8079
   554 #define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
   555 #define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
   556 #define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
   557 #define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
   558 #define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
   559 #define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
   560 #define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
   561 #define GL_COLOR_ARRAY_SIZE_EXT           0x8081
   562 #define GL_COLOR_ARRAY_TYPE_EXT           0x8082
   563 #define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
   564 #define GL_COLOR_ARRAY_COUNT_EXT          0x8084
   565 #define GL_INDEX_ARRAY_TYPE_EXT           0x8085
   566 #define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
   567 #define GL_INDEX_ARRAY_COUNT_EXT          0x8087
   568 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
   569 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
   570 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
   571 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
   572 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
   573 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
   574 #define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
   575 #define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
   576 #define GL_COLOR_ARRAY_POINTER_EXT        0x8090
   577 #define GL_INDEX_ARRAY_POINTER_EXT        0x8091
   578 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
   579 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
   580 #endif
   581 
   582 #ifndef GL_EXT_misc_attribute
   583 #endif
   584 
   585 #ifndef GL_SGIS_generate_mipmap
   586 #define GL_GENERATE_MIPMAP_SGIS           0x8191
   587 #define GL_GENERATE_MIPMAP_HINT_SGIS      0x8192
   588 #endif
   589 
   590 #ifndef GL_SGIX_clipmap
   591 #define GL_LINEAR_CLIPMAP_LINEAR_SGIX     0x8170
   592 #define GL_TEXTURE_CLIPMAP_CENTER_SGIX    0x8171
   593 #define GL_TEXTURE_CLIPMAP_FRAME_SGIX     0x8172
   594 #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX    0x8173
   595 #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
   596 #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
   597 #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX     0x8176
   598 #define GL_MAX_CLIPMAP_DEPTH_SGIX         0x8177
   599 #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
   600 #define GL_NEAREST_CLIPMAP_NEAREST_SGIX   0x844D
   601 #define GL_NEAREST_CLIPMAP_LINEAR_SGIX    0x844E
   602 #define GL_LINEAR_CLIPMAP_NEAREST_SGIX    0x844F
   603 #endif
   604 
   605 #ifndef GL_SGIX_shadow
   606 #define GL_TEXTURE_COMPARE_SGIX           0x819A
   607 #define GL_TEXTURE_COMPARE_OPERATOR_SGIX  0x819B
   608 #define GL_TEXTURE_LEQUAL_R_SGIX          0x819C
   609 #define GL_TEXTURE_GEQUAL_R_SGIX          0x819D
   610 #endif
   611 
   612 #ifndef GL_SGIS_texture_edge_clamp
   613 #define GL_CLAMP_TO_EDGE_SGIS             0x812F
   614 #endif
   615 
   616 #ifndef GL_SGIS_texture_border_clamp
   617 #define GL_CLAMP_TO_BORDER_SGIS           0x812D
   618 #endif
   619 
   620 #ifndef GL_EXT_blend_minmax
   621 #define GL_FUNC_ADD_EXT                   0x8006
   622 #define GL_MIN_EXT                        0x8007
   623 #define GL_MAX_EXT                        0x8008
   624 #define GL_BLEND_EQUATION_EXT             0x8009
   625 #endif
   626 
   627 #ifndef GL_EXT_blend_subtract
   628 #define GL_FUNC_SUBTRACT_EXT              0x800A
   629 #define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
   630 #endif
   631 
   632 #ifndef GL_EXT_blend_logic_op
   633 #endif
   634 
   635 #ifndef GL_SGIX_interlace
   636 #define GL_INTERLACE_SGIX                 0x8094
   637 #endif
   638 
   639 #ifndef GL_SGIX_pixel_tiles
   640 #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
   641 #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
   642 #define GL_PIXEL_TILE_WIDTH_SGIX          0x8140
   643 #define GL_PIXEL_TILE_HEIGHT_SGIX         0x8141
   644 #define GL_PIXEL_TILE_GRID_WIDTH_SGIX     0x8142
   645 #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX    0x8143
   646 #define GL_PIXEL_TILE_GRID_DEPTH_SGIX     0x8144
   647 #define GL_PIXEL_TILE_CACHE_SIZE_SGIX     0x8145
   648 #endif
   649 
   650 #ifndef GL_SGIS_texture_select
   651 #define GL_DUAL_ALPHA4_SGIS               0x8110
   652 #define GL_DUAL_ALPHA8_SGIS               0x8111
   653 #define GL_DUAL_ALPHA12_SGIS              0x8112
   654 #define GL_DUAL_ALPHA16_SGIS              0x8113
   655 #define GL_DUAL_LUMINANCE4_SGIS           0x8114
   656 #define GL_DUAL_LUMINANCE8_SGIS           0x8115
   657 #define GL_DUAL_LUMINANCE12_SGIS          0x8116
   658 #define GL_DUAL_LUMINANCE16_SGIS          0x8117
   659 #define GL_DUAL_INTENSITY4_SGIS           0x8118
   660 #define GL_DUAL_INTENSITY8_SGIS           0x8119
   661 #define GL_DUAL_INTENSITY12_SGIS          0x811A
   662 #define GL_DUAL_INTENSITY16_SGIS          0x811B
   663 #define GL_DUAL_LUMINANCE_ALPHA4_SGIS     0x811C
   664 #define GL_DUAL_LUMINANCE_ALPHA8_SGIS     0x811D
   665 #define GL_QUAD_ALPHA4_SGIS               0x811E
   666 #define GL_QUAD_ALPHA8_SGIS               0x811F
   667 #define GL_QUAD_LUMINANCE4_SGIS           0x8120
   668 #define GL_QUAD_LUMINANCE8_SGIS           0x8121
   669 #define GL_QUAD_INTENSITY4_SGIS           0x8122
   670 #define GL_QUAD_INTENSITY8_SGIS           0x8123
   671 #define GL_DUAL_TEXTURE_SELECT_SGIS       0x8124
   672 #define GL_QUAD_TEXTURE_SELECT_SGIS       0x8125
   673 #endif
   674 
   675 #ifndef GL_SGIX_sprite
   676 #define GL_SPRITE_SGIX                    0x8148
   677 #define GL_SPRITE_MODE_SGIX               0x8149
   678 #define GL_SPRITE_AXIS_SGIX               0x814A
   679 #define GL_SPRITE_TRANSLATION_SGIX        0x814B
   680 #define GL_SPRITE_AXIAL_SGIX              0x814C
   681 #define GL_SPRITE_OBJECT_ALIGNED_SGIX     0x814D
   682 #define GL_SPRITE_EYE_ALIGNED_SGIX        0x814E
   683 #endif
   684 
   685 #ifndef GL_SGIX_texture_multi_buffer
   686 #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
   687 #endif
   688 
   689 #ifndef GL_SGIS_point_parameters
   690 #define GL_POINT_SIZE_MIN_EXT             0x8126
   691 #define GL_POINT_SIZE_MIN_SGIS            0x8126
   692 #define GL_POINT_SIZE_MAX_EXT             0x8127
   693 #define GL_POINT_SIZE_MAX_SGIS            0x8127
   694 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT  0x8128
   695 #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
   696 #define GL_DISTANCE_ATTENUATION_EXT       0x8129
   697 #define GL_DISTANCE_ATTENUATION_SGIS      0x8129
   698 #endif
   699 
   700 #ifndef GL_SGIX_instruments
   701 #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
   702 #define GL_INSTRUMENT_MEASUREMENTS_SGIX   0x8181
   703 #endif
   704 
   705 #ifndef GL_SGIX_texture_scale_bias
   706 #define GL_POST_TEXTURE_FILTER_BIAS_SGIX  0x8179
   707 #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
   708 #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
   709 #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
   710 #endif
   711 
   712 #ifndef GL_SGIX_framezoom
   713 #define GL_FRAMEZOOM_SGIX                 0x818B
   714 #define GL_FRAMEZOOM_FACTOR_SGIX          0x818C
   715 #define GL_MAX_FRAMEZOOM_FACTOR_SGIX      0x818D
   716 #endif
   717 
   718 #ifndef GL_SGIX_tag_sample_buffer
   719 #endif
   720 
   721 #ifndef GL_SGIX_reference_plane
   722 #define GL_REFERENCE_PLANE_SGIX           0x817D
   723 #define GL_REFERENCE_PLANE_EQUATION_SGIX  0x817E
   724 #endif
   725 
   726 #ifndef GL_SGIX_flush_raster
   727 #endif
   728 
   729 #ifndef GL_SGIX_depth_texture
   730 #define GL_DEPTH_COMPONENT16_SGIX         0x81A5
   731 #define GL_DEPTH_COMPONENT24_SGIX         0x81A6
   732 #define GL_DEPTH_COMPONENT32_SGIX         0x81A7
   733 #endif
   734 
   735 #ifndef GL_SGIS_fog_function
   736 #define GL_FOG_FUNC_SGIS                  0x812A
   737 #define GL_FOG_FUNC_POINTS_SGIS           0x812B
   738 #define GL_MAX_FOG_FUNC_POINTS_SGIS       0x812C
   739 #endif
   740 
   741 #ifndef GL_SGIX_fog_offset
   742 #define GL_FOG_OFFSET_SGIX                0x8198
   743 #define GL_FOG_OFFSET_VALUE_SGIX          0x8199
   744 #endif
   745 
   746 #ifndef GL_HP_image_transform
   747 #define GL_IMAGE_SCALE_X_HP               0x8155
   748 #define GL_IMAGE_SCALE_Y_HP               0x8156
   749 #define GL_IMAGE_TRANSLATE_X_HP           0x8157
   750 #define GL_IMAGE_TRANSLATE_Y_HP           0x8158
   751 #define GL_IMAGE_ROTATE_ANGLE_HP          0x8159
   752 #define GL_IMAGE_ROTATE_ORIGIN_X_HP       0x815A
   753 #define GL_IMAGE_ROTATE_ORIGIN_Y_HP       0x815B
   754 #define GL_IMAGE_MAG_FILTER_HP            0x815C
   755 #define GL_IMAGE_MIN_FILTER_HP            0x815D
   756 #define GL_IMAGE_CUBIC_WEIGHT_HP          0x815E
   757 #define GL_CUBIC_HP                       0x815F
   758 #define GL_AVERAGE_HP                     0x8160
   759 #define GL_IMAGE_TRANSFORM_2D_HP          0x8161
   760 #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
   761 #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
   762 #endif
   763 
   764 #ifndef GL_HP_convolution_border_modes
   765 #define GL_IGNORE_BORDER_HP               0x8150
   766 #define GL_CONSTANT_BORDER_HP             0x8151
   767 #define GL_REPLICATE_BORDER_HP            0x8153
   768 #define GL_CONVOLUTION_BORDER_COLOR_HP    0x8154
   769 #endif
   770 
   771 #ifndef GL_INGR_palette_buffer
   772 #endif
   773 
   774 #ifndef GL_SGIX_texture_add_env
   775 #define GL_TEXTURE_ENV_BIAS_SGIX          0x80BE
   776 #endif
   777 
   778 #ifndef GL_EXT_color_subtable
   779 #endif
   780 
   781 #ifndef GL_PGI_vertex_hints
   782 #define GL_VERTEX_DATA_HINT_PGI           0x1A22A
   783 #define GL_VERTEX_CONSISTENT_HINT_PGI     0x1A22B
   784 #define GL_MATERIAL_SIDE_HINT_PGI         0x1A22C
   785 #define GL_MAX_VERTEX_HINT_PGI            0x1A22D
   786 #define GL_COLOR3_BIT_PGI                 0x00010000
   787 #define GL_COLOR4_BIT_PGI                 0x00020000
   788 #define GL_EDGEFLAG_BIT_PGI               0x00040000
   789 #define GL_INDEX_BIT_PGI                  0x00080000
   790 #define GL_MAT_AMBIENT_BIT_PGI            0x00100000
   791 #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
   792 #define GL_MAT_DIFFUSE_BIT_PGI            0x00400000
   793 #define GL_MAT_EMISSION_BIT_PGI           0x00800000
   794 #define GL_MAT_COLOR_INDEXES_BIT_PGI      0x01000000
   795 #define GL_MAT_SHININESS_BIT_PGI          0x02000000
   796 #define GL_MAT_SPECULAR_BIT_PGI           0x04000000
   797 #define GL_NORMAL_BIT_PGI                 0x08000000
   798 #define GL_TEXCOORD1_BIT_PGI              0x10000000
   799 #define GL_TEXCOORD2_BIT_PGI              0x20000000
   800 #define GL_TEXCOORD3_BIT_PGI              0x40000000
   801 #define GL_TEXCOORD4_BIT_PGI              0x80000000
   802 #define GL_VERTEX23_BIT_PGI               0x00000004
   803 #define GL_VERTEX4_BIT_PGI                0x00000008
   804 #endif
   805 
   806 #ifndef GL_PGI_misc_hints
   807 #define GL_PREFER_DOUBLEBUFFER_HINT_PGI   0x1A1F8
   808 #define GL_CONSERVE_MEMORY_HINT_PGI       0x1A1FD
   809 #define GL_RECLAIM_MEMORY_HINT_PGI        0x1A1FE
   810 #define GL_NATIVE_GRAPHICS_HANDLE_PGI     0x1A202
   811 #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
   812 #define GL_NATIVE_GRAPHICS_END_HINT_PGI   0x1A204
   813 #define GL_ALWAYS_FAST_HINT_PGI           0x1A20C
   814 #define GL_ALWAYS_SOFT_HINT_PGI           0x1A20D
   815 #define GL_ALLOW_DRAW_OBJ_HINT_PGI        0x1A20E
   816 #define GL_ALLOW_DRAW_WIN_HINT_PGI        0x1A20F
   817 #define GL_ALLOW_DRAW_FRG_HINT_PGI        0x1A210
   818 #define GL_ALLOW_DRAW_MEM_HINT_PGI        0x1A211
   819 #define GL_STRICT_DEPTHFUNC_HINT_PGI      0x1A216
   820 #define GL_STRICT_LIGHTING_HINT_PGI       0x1A217
   821 #define GL_STRICT_SCISSOR_HINT_PGI        0x1A218
   822 #define GL_FULL_STIPPLE_HINT_PGI          0x1A219
   823 #define GL_CLIP_NEAR_HINT_PGI             0x1A220
   824 #define GL_CLIP_FAR_HINT_PGI              0x1A221
   825 #define GL_WIDE_LINE_HINT_PGI             0x1A222
   826 #define GL_BACK_NORMALS_HINT_PGI          0x1A223
   827 #endif
   828 
   829 #ifndef GL_EXT_paletted_texture
   830 #define GL_COLOR_INDEX1_EXT               0x80E2
   831 #define GL_COLOR_INDEX2_EXT               0x80E3
   832 #define GL_COLOR_INDEX4_EXT               0x80E4
   833 #define GL_COLOR_INDEX8_EXT               0x80E5
   834 #define GL_COLOR_INDEX12_EXT              0x80E6
   835 #define GL_COLOR_INDEX16_EXT              0x80E7
   836 #define GL_TEXTURE_INDEX_SIZE_EXT         0x80ED
   837 #endif
   838 
   839 #ifndef GL_EXT_clip_volume_hint
   840 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT  0x80F0
   841 #endif
   842 
   843 #ifndef GL_SGIX_list_priority
   844 #define GL_LIST_PRIORITY_SGIX             0x8182
   845 #endif
   846 
   847 #ifndef GL_SGIX_ir_instrument1
   848 #define GL_IR_INSTRUMENT1_SGIX            0x817F
   849 #endif
   850 
   851 #ifndef GL_SGIX_calligraphic_fragment
   852 #define GL_CALLIGRAPHIC_FRAGMENT_SGIX     0x8183
   853 #endif
   854 
   855 #ifndef GL_SGIX_texture_lod_bias
   856 #define GL_TEXTURE_LOD_BIAS_S_SGIX        0x818E
   857 #define GL_TEXTURE_LOD_BIAS_T_SGIX        0x818F
   858 #define GL_TEXTURE_LOD_BIAS_R_SGIX        0x8190
   859 #endif
   860 
   861 #ifndef GL_SGIX_shadow_ambient
   862 #define GL_SHADOW_AMBIENT_SGIX            0x80BF
   863 #endif
   864 
   865 #ifndef GL_EXT_index_texture
   866 #endif
   867 
   868 #ifndef GL_EXT_index_material
   869 #define GL_INDEX_MATERIAL_EXT             0x81B8
   870 #define GL_INDEX_MATERIAL_PARAMETER_EXT   0x81B9
   871 #define GL_INDEX_MATERIAL_FACE_EXT        0x81BA
   872 #endif
   873 
   874 #ifndef GL_EXT_index_func
   875 #define GL_INDEX_TEST_EXT                 0x81B5
   876 #define GL_INDEX_TEST_FUNC_EXT            0x81B6
   877 #define GL_INDEX_TEST_REF_EXT             0x81B7
   878 #endif
   879 
   880 #ifndef GL_EXT_index_array_formats
   881 #define GL_IUI_V2F_EXT                    0x81AD
   882 #define GL_IUI_V3F_EXT                    0x81AE
   883 #define GL_IUI_N3F_V2F_EXT                0x81AF
   884 #define GL_IUI_N3F_V3F_EXT                0x81B0
   885 #define GL_T2F_IUI_V2F_EXT                0x81B1
   886 #define GL_T2F_IUI_V3F_EXT                0x81B2
   887 #define GL_T2F_IUI_N3F_V2F_EXT            0x81B3
   888 #define GL_T2F_IUI_N3F_V3F_EXT            0x81B4
   889 #endif
   890 
   891 #ifndef GL_EXT_compiled_vertex_array
   892 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT   0x81A8
   893 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT   0x81A9
   894 #endif
   895 
   896 #ifndef GL_EXT_cull_vertex
   897 #define GL_CULL_VERTEX_EXT                0x81AA
   898 #define GL_CULL_VERTEX_EYE_POSITION_EXT   0x81AB
   899 #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
   900 #endif
   901 
   902 #ifndef GL_SGIX_ycrcb
   903 #define GL_YCRCB_422_SGIX                 0x81BB
   904 #define GL_YCRCB_444_SGIX                 0x81BC
   905 #endif
   906 
   907 #ifndef GL_SGIX_fragment_lighting
   908 #define GL_FRAGMENT_LIGHTING_SGIX         0x8400
   909 #define GL_FRAGMENT_COLOR_MATERIAL_SGIX   0x8401
   910 #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
   911 #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
   912 #define GL_MAX_FRAGMENT_LIGHTS_SGIX       0x8404
   913 #define GL_MAX_ACTIVE_LIGHTS_SGIX         0x8405
   914 #define GL_CURRENT_RASTER_NORMAL_SGIX     0x8406
   915 #define GL_LIGHT_ENV_MODE_SGIX            0x8407
   916 #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
   917 #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
   918 #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
   919 #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
   920 #define GL_FRAGMENT_LIGHT0_SGIX           0x840C
   921 #define GL_FRAGMENT_LIGHT1_SGIX           0x840D
   922 #define GL_FRAGMENT_LIGHT2_SGIX           0x840E
   923 #define GL_FRAGMENT_LIGHT3_SGIX           0x840F
   924 #define GL_FRAGMENT_LIGHT4_SGIX           0x8410
   925 #define GL_FRAGMENT_LIGHT5_SGIX           0x8411
   926 #define GL_FRAGMENT_LIGHT6_SGIX           0x8412
   927 #define GL_FRAGMENT_LIGHT7_SGIX           0x8413
   928 #endif
   929 
   930 #ifndef GL_IBM_rasterpos_clip
   931 #define GL_RASTER_POSITION_UNCLIPPED_IBM  0x19262
   932 #endif
   933 
   934 #ifndef GL_HP_texture_lighting
   935 #define GL_TEXTURE_LIGHTING_MODE_HP       0x8167
   936 #define GL_TEXTURE_POST_SPECULAR_HP       0x8168
   937 #define GL_TEXTURE_PRE_SPECULAR_HP        0x8169
   938 #endif
   939 
   940 #ifndef GL_EXT_draw_range_elements
   941 #define GL_MAX_ELEMENTS_VERTICES_EXT      0x80E8
   942 #define GL_MAX_ELEMENTS_INDICES_EXT       0x80E9
   943 #endif
   944 
   945 #ifndef GL_WIN_phong_shading
   946 #define GL_PHONG_WIN                      0x80EA
   947 #define GL_PHONG_HINT_WIN                 0x80EB
   948 #endif
   949 
   950 #ifndef GL_WIN_specular_fog
   951 #define GL_FOG_SPECULAR_TEXTURE_WIN       0x80EC
   952 #endif
   953 
   954 #ifndef GL_EXT_light_texture
   955 #define GL_FRAGMENT_MATERIAL_EXT          0x8349
   956 #define GL_FRAGMENT_NORMAL_EXT            0x834A
   957 #define GL_FRAGMENT_COLOR_EXT             0x834C
   958 #define GL_ATTENUATION_EXT                0x834D
   959 #define GL_SHADOW_ATTENUATION_EXT         0x834E
   960 #define GL_TEXTURE_APPLICATION_MODE_EXT   0x834F
   961 #define GL_TEXTURE_LIGHT_EXT              0x8350
   962 #define GL_TEXTURE_MATERIAL_FACE_EXT      0x8351
   963 #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
   964 /* reuse GL_FRAGMENT_DEPTH_EXT */
   965 #endif
   966 
   967 #ifndef GL_SGIX_blend_alpha_minmax
   968 #define GL_ALPHA_MIN_SGIX                 0x8320
   969 #define GL_ALPHA_MAX_SGIX                 0x8321
   970 #endif
   971 
   972 #ifndef GL_EXT_bgra
   973 #define GL_BGR_EXT                        0x80E0
   974 #define GL_BGRA_EXT                       0x80E1
   975 #endif
   976 
   977 #ifndef GL_INTEL_texture_scissor
   978 #endif
   979 
   980 #ifndef GL_INTEL_parallel_arrays
   981 #define GL_PARALLEL_ARRAYS_INTEL          0x83F4
   982 #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
   983 #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
   984 #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
   985 #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
   986 #endif
   987 
   988 #ifndef GL_HP_occlusion_test
   989 #define GL_OCCLUSION_TEST_HP              0x8165
   990 #define GL_OCCLUSION_TEST_RESULT_HP       0x8166
   991 #endif
   992 
   993 #ifndef GL_EXT_pixel_transform
   994 #define GL_PIXEL_TRANSFORM_2D_EXT         0x8330
   995 #define GL_PIXEL_MAG_FILTER_EXT           0x8331
   996 #define GL_PIXEL_MIN_FILTER_EXT           0x8332
   997 #define GL_PIXEL_CUBIC_WEIGHT_EXT         0x8333
   998 #define GL_CUBIC_EXT                      0x8334
   999 #define GL_AVERAGE_EXT                    0x8335
  1000 #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
  1001 #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
  1002 #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT  0x8338
  1003 #endif
  1004 
  1005 #ifndef GL_EXT_pixel_transform_color_table
  1006 #endif
  1007 
  1008 #ifndef GL_EXT_shared_texture_palette
  1009 #define GL_SHARED_TEXTURE_PALETTE_EXT     0x81FB
  1010 #endif
  1011 
  1012 #ifndef GL_EXT_separate_specular_color
  1013 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT  0x81F8
  1014 #define GL_SINGLE_COLOR_EXT               0x81F9
  1015 #define GL_SEPARATE_SPECULAR_COLOR_EXT    0x81FA
  1016 #endif
  1017 
  1018 #ifndef GL_EXT_secondary_color
  1019 #define GL_COLOR_SUM_EXT                  0x8458
  1020 #define GL_CURRENT_SECONDARY_COLOR_EXT    0x8459
  1021 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
  1022 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
  1023 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
  1024 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
  1025 #define GL_SECONDARY_COLOR_ARRAY_EXT      0x845E
  1026 #endif
  1027 
  1028 #ifndef GL_EXT_texture_perturb_normal
  1029 #define GL_PERTURB_EXT                    0x85AE
  1030 #define GL_TEXTURE_NORMAL_EXT             0x85AF
  1031 #endif
  1032 
  1033 #ifndef GL_EXT_multi_draw_arrays
  1034 #endif
  1035 
  1036 #ifndef GL_EXT_fog_coord
  1037 #define GL_FOG_COORDINATE_SOURCE_EXT      0x8450
  1038 #define GL_FOG_COORDINATE_EXT             0x8451
  1039 #define GL_FRAGMENT_DEPTH_EXT             0x8452
  1040 #define GL_CURRENT_FOG_COORDINATE_EXT     0x8453
  1041 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT  0x8454
  1042 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
  1043 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
  1044 #define GL_FOG_COORDINATE_ARRAY_EXT       0x8457
  1045 #endif
  1046 
  1047 #ifndef GL_REND_screen_coordinates
  1048 #define GL_SCREEN_COORDINATES_REND        0x8490
  1049 #define GL_INVERTED_SCREEN_W_REND         0x8491
  1050 #endif
  1051 
  1052 #ifndef GL_EXT_coordinate_frame
  1053 #define GL_TANGENT_ARRAY_EXT              0x8439
  1054 #define GL_BINORMAL_ARRAY_EXT             0x843A
  1055 #define GL_CURRENT_TANGENT_EXT            0x843B
  1056 #define GL_CURRENT_BINORMAL_EXT           0x843C
  1057 #define GL_TANGENT_ARRAY_TYPE_EXT         0x843E
  1058 #define GL_TANGENT_ARRAY_STRIDE_EXT       0x843F
  1059 #define GL_BINORMAL_ARRAY_TYPE_EXT        0x8440
  1060 #define GL_BINORMAL_ARRAY_STRIDE_EXT      0x8441
  1061 #define GL_TANGENT_ARRAY_POINTER_EXT      0x8442
  1062 #define GL_BINORMAL_ARRAY_POINTER_EXT     0x8443
  1063 #define GL_MAP1_TANGENT_EXT               0x8444
  1064 #define GL_MAP2_TANGENT_EXT               0x8445
  1065 #define GL_MAP1_BINORMAL_EXT              0x8446
  1066 #define GL_MAP2_BINORMAL_EXT              0x8447
  1067 #endif
  1068 
  1069 #ifndef GL_EXT_texture_env_combine
  1070 #define GL_COMBINE_EXT                    0x8570
  1071 #define GL_COMBINE_RGB_EXT                0x8571
  1072 #define GL_COMBINE_ALPHA_EXT              0x8572
  1073 #define GL_RGB_SCALE_EXT                  0x8573
  1074 #define GL_ADD_SIGNED_EXT                 0x8574
  1075 #define GL_INTERPOLATE_EXT                0x8575
  1076 #define GL_CONSTANT_EXT                   0x8576
  1077 #define GL_PRIMARY_COLOR_EXT              0x8577
  1078 #define GL_PREVIOUS_EXT                   0x8578
  1079 #define GL_SOURCE0_RGB_EXT                0x8580
  1080 #define GL_SOURCE1_RGB_EXT                0x8581
  1081 #define GL_SOURCE2_RGB_EXT                0x8582
  1082 #define GL_SOURCE3_RGB_EXT                0x8583
  1083 #define GL_SOURCE4_RGB_EXT                0x8584
  1084 #define GL_SOURCE5_RGB_EXT                0x8585
  1085 #define GL_SOURCE6_RGB_EXT                0x8586
  1086 #define GL_SOURCE7_RGB_EXT                0x8587
  1087 #define GL_SOURCE0_ALPHA_EXT              0x8588
  1088 #define GL_SOURCE1_ALPHA_EXT              0x8589
  1089 #define GL_SOURCE2_ALPHA_EXT              0x858A
  1090 #define GL_SOURCE3_ALPHA_EXT              0x858B
  1091 #define GL_SOURCE4_ALPHA_EXT              0x858C
  1092 #define GL_SOURCE5_ALPHA_EXT              0x858D
  1093 #define GL_SOURCE6_ALPHA_EXT              0x858E
  1094 #define GL_SOURCE7_ALPHA_EXT              0x858F
  1095 #define GL_OPERAND0_RGB_EXT               0x8590
  1096 #define GL_OPERAND1_RGB_EXT               0x8591
  1097 #define GL_OPERAND2_RGB_EXT               0x8592
  1098 #define GL_OPERAND3_RGB_EXT               0x8593
  1099 #define GL_OPERAND4_RGB_EXT               0x8594
  1100 #define GL_OPERAND5_RGB_EXT               0x8595
  1101 #define GL_OPERAND6_RGB_EXT               0x8596
  1102 #define GL_OPERAND7_RGB_EXT               0x8597
  1103 #define GL_OPERAND0_ALPHA_EXT             0x8598
  1104 #define GL_OPERAND1_ALPHA_EXT             0x8599
  1105 #define GL_OPERAND2_ALPHA_EXT             0x859A
  1106 #define GL_OPERAND3_ALPHA_EXT             0x859B
  1107 #define GL_OPERAND4_ALPHA_EXT             0x859C
  1108 #define GL_OPERAND5_ALPHA_EXT             0x859D
  1109 #define GL_OPERAND6_ALPHA_EXT             0x859E
  1110 #define GL_OPERAND7_ALPHA_EXT             0x859F
  1111 #endif
  1112 
  1113 #ifndef GL_APPLE_specular_vector
  1114 #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
  1115 #endif
  1116 
  1117 #ifndef GL_APPLE_transform_hint
  1118 #define GL_TRANSFORM_HINT_APPLE           0x85B1
  1119 #endif
  1120 
  1121 #ifndef GL_SGIX_fog_scale
  1122 #define GL_FOG_SCALE_SGIX                 0x81FC
  1123 #define GL_FOG_SCALE_VALUE_SGIX           0x81FD
  1124 #endif
  1125 
  1126 #ifndef GL_SUNX_constant_data
  1127 #define GL_UNPACK_CONSTANT_DATA_SUNX      0x81D5
  1128 #define GL_TEXTURE_CONSTANT_DATA_SUNX     0x81D6
  1129 #endif
  1130 
  1131 #ifndef GL_SUN_global_alpha
  1132 #define GL_GLOBAL_ALPHA_SUN               0x81D9
  1133 #define GL_GLOBAL_ALPHA_FACTOR_SUN        0x81DA
  1134 #endif
  1135 
  1136 #ifndef GL_SUN_triangle_list
  1137 #define GL_RESTART_SUN                    0x01
  1138 #define GL_REPLACE_MIDDLE_SUN             0x02
  1139 #define GL_REPLACE_OLDEST_SUN             0x03
  1140 #define GL_TRIANGLE_LIST_SUN              0x81D7
  1141 #define GL_REPLACEMENT_CODE_SUN           0x81D8
  1142 #define GL_REPLACEMENT_CODE_ARRAY_SUN     0x85C0
  1143 #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
  1144 #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
  1145 #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
  1146 #define GL_R1UI_V3F_SUN                   0x85C4
  1147 #define GL_R1UI_C4UB_V3F_SUN              0x85C5
  1148 #define GL_R1UI_C3F_V3F_SUN               0x85C6
  1149 #define GL_R1UI_N3F_V3F_SUN               0x85C7
  1150 #define GL_R1UI_C4F_N3F_V3F_SUN           0x85C8
  1151 #define GL_R1UI_T2F_V3F_SUN               0x85C9
  1152 #define GL_R1UI_T2F_N3F_V3F_SUN           0x85CA
  1153 #define GL_R1UI_T2F_C4F_N3F_V3F_SUN       0x85CB
  1154 #endif
  1155 
  1156 #ifndef GL_SUN_vertex
  1157 #endif
  1158 
  1159 #ifndef GL_EXT_blend_func_separate
  1160 #define GL_BLEND_DST_RGB_EXT              0x80C8
  1161 #define GL_BLEND_SRC_RGB_EXT              0x80C9
  1162 #define GL_BLEND_DST_ALPHA_EXT            0x80CA
  1163 #define GL_BLEND_SRC_ALPHA_EXT            0x80CB
  1164 #endif
  1165 
  1166 #ifndef GL_INGR_color_clamp
  1167 #define GL_RED_MIN_CLAMP_INGR             0x8560
  1168 #define GL_GREEN_MIN_CLAMP_INGR           0x8561
  1169 #define GL_BLUE_MIN_CLAMP_INGR            0x8562
  1170 #define GL_ALPHA_MIN_CLAMP_INGR           0x8563
  1171 #define GL_RED_MAX_CLAMP_INGR             0x8564
  1172 #define GL_GREEN_MAX_CLAMP_INGR           0x8565
  1173 #define GL_BLUE_MAX_CLAMP_INGR            0x8566
  1174 #define GL_ALPHA_MAX_CLAMP_INGR           0x8567
  1175 #endif
  1176 
  1177 #ifndef GL_INGR_interlace_read
  1178 #define GL_INTERLACE_READ_INGR            0x8568
  1179 #endif
  1180 
  1181 #ifndef GL_EXT_stencil_wrap
  1182 #define GL_INCR_WRAP_EXT                  0x8507
  1183 #define GL_DECR_WRAP_EXT                  0x8508
  1184 #endif
  1185 
  1186 #ifndef GL_EXT_422_pixels
  1187 #define GL_422_EXT                        0x80CC
  1188 #define GL_422_REV_EXT                    0x80CD
  1189 #define GL_422_AVERAGE_EXT                0x80CE
  1190 #define GL_422_REV_AVERAGE_EXT            0x80CF
  1191 #endif
  1192 
  1193 #ifndef GL_NV_texgen_reflection
  1194 #define GL_NORMAL_MAP_NV                  0x8511
  1195 #define GL_REFLECTION_MAP_NV              0x8512
  1196 #endif
  1197 
  1198 #ifndef GL_EXT_texture_cube_map
  1199 #define GL_NORMAL_MAP_EXT                 0x8511
  1200 #define GL_REFLECTION_MAP_EXT             0x8512
  1201 #define GL_TEXTURE_CUBE_MAP_EXT           0x8513
  1202 #define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
  1203 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
  1204 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
  1205 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
  1206 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
  1207 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
  1208 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
  1209 #define GL_PROXY_TEXTURE_CUBE_MAP_EXT     0x851B
  1210 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT  0x851C
  1211 #endif
  1212 
  1213 #ifndef GL_SUN_convolution_border_modes
  1214 #define GL_WRAP_BORDER_SUN                0x81D4
  1215 #endif
  1216 
  1217 #ifndef GL_EXT_texture_env_add
  1218 #endif
  1219 
  1220 #ifndef GL_EXT_texture_lod_bias
  1221 #define GL_MAX_TEXTURE_LOD_BIAS_EXT       0x84FD
  1222 #define GL_TEXTURE_FILTER_CONTROL_EXT     0x8500
  1223 #define GL_TEXTURE_LOD_BIAS_EXT           0x8501
  1224 #endif
  1225 
  1226 #ifndef GL_EXT_texture_filter_anisotropic
  1227 #define GL_TEXTURE_MAX_ANISOTROPY_EXT     0x84FE
  1228 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
  1229 #endif
  1230 
  1231 #ifndef GL_EXT_vertex_weighting
  1232 #define GL_MODELVIEW0_STACK_DEPTH_EXT     GL_MODELVIEW_STACK_DEPTH
  1233 #define GL_MODELVIEW1_STACK_DEPTH_EXT     0x8502
  1234 #define GL_MODELVIEW0_MATRIX_EXT          GL_MODELVIEW_MATRIX
  1235 #define GL_MODELVIEW_MATRIX1_EXT          0x8506
  1236 #define GL_VERTEX_WEIGHTING_EXT           0x8509
  1237 #define GL_MODELVIEW0_EXT                 GL_MODELVIEW
  1238 #define GL_MODELVIEW1_EXT                 0x850A
  1239 #define GL_CURRENT_VERTEX_WEIGHT_EXT      0x850B
  1240 #define GL_VERTEX_WEIGHT_ARRAY_EXT        0x850C
  1241 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT   0x850D
  1242 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT   0x850E
  1243 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
  1244 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
  1245 #endif
  1246 
  1247 #ifndef GL_NV_light_max_exponent
  1248 #define GL_MAX_SHININESS_NV               0x8504
  1249 #define GL_MAX_SPOT_EXPONENT_NV           0x8505
  1250 #endif
  1251 
  1252 #ifndef GL_NV_vertex_array_range
  1253 #define GL_VERTEX_ARRAY_RANGE_NV          0x851D
  1254 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV   0x851E
  1255 #define GL_VERTEX_ARRAY_RANGE_VALID_NV    0x851F
  1256 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
  1257 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV  0x8521
  1258 #endif
  1259 
  1260 #ifndef GL_NV_register_combiners
  1261 #define GL_REGISTER_COMBINERS_NV          0x8522
  1262 #define GL_VARIABLE_A_NV                  0x8523
  1263 #define GL_VARIABLE_B_NV                  0x8524
  1264 #define GL_VARIABLE_C_NV                  0x8525
  1265 #define GL_VARIABLE_D_NV                  0x8526
  1266 #define GL_VARIABLE_E_NV                  0x8527
  1267 #define GL_VARIABLE_F_NV                  0x8528
  1268 #define GL_VARIABLE_G_NV                  0x8529
  1269 #define GL_CONSTANT_COLOR0_NV             0x852A
  1270 #define GL_CONSTANT_COLOR1_NV             0x852B
  1271 #define GL_PRIMARY_COLOR_NV               0x852C
  1272 #define GL_SECONDARY_COLOR_NV             0x852D
  1273 #define GL_SPARE0_NV                      0x852E
  1274 #define GL_SPARE1_NV                      0x852F
  1275 #define GL_DISCARD_NV                     0x8530
  1276 #define GL_E_TIMES_F_NV                   0x8531
  1277 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
  1278 #define GL_UNSIGNED_IDENTITY_NV           0x8536
  1279 #define GL_UNSIGNED_INVERT_NV             0x8537
  1280 #define GL_EXPAND_NORMAL_NV               0x8538
  1281 #define GL_EXPAND_NEGATE_NV               0x8539
  1282 #define GL_HALF_BIAS_NORMAL_NV            0x853A
  1283 #define GL_HALF_BIAS_NEGATE_NV            0x853B
  1284 #define GL_SIGNED_IDENTITY_NV             0x853C
  1285 #define GL_SIGNED_NEGATE_NV               0x853D
  1286 #define GL_SCALE_BY_TWO_NV                0x853E
  1287 #define GL_SCALE_BY_FOUR_NV               0x853F
  1288 #define GL_SCALE_BY_ONE_HALF_NV           0x8540
  1289 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV   0x8541
  1290 #define GL_COMBINER_INPUT_NV              0x8542
  1291 #define GL_COMBINER_MAPPING_NV            0x8543
  1292 #define GL_COMBINER_COMPONENT_USAGE_NV    0x8544
  1293 #define GL_COMBINER_AB_DOT_PRODUCT_NV     0x8545
  1294 #define GL_COMBINER_CD_DOT_PRODUCT_NV     0x8546
  1295 #define GL_COMBINER_MUX_SUM_NV            0x8547
  1296 #define GL_COMBINER_SCALE_NV              0x8548
  1297 #define GL_COMBINER_BIAS_NV               0x8549
  1298 #define GL_COMBINER_AB_OUTPUT_NV          0x854A
  1299 #define GL_COMBINER_CD_OUTPUT_NV          0x854B
  1300 #define GL_COMBINER_SUM_OUTPUT_NV         0x854C
  1301 #define GL_MAX_GENERAL_COMBINERS_NV       0x854D
  1302 #define GL_NUM_GENERAL_COMBINERS_NV       0x854E
  1303 #define GL_COLOR_SUM_CLAMP_NV             0x854F
  1304 #define GL_COMBINER0_NV                   0x8550
  1305 #define GL_COMBINER1_NV                   0x8551
  1306 #define GL_COMBINER2_NV                   0x8552
  1307 #define GL_COMBINER3_NV                   0x8553
  1308 #define GL_COMBINER4_NV                   0x8554
  1309 #define GL_COMBINER5_NV                   0x8555
  1310 #define GL_COMBINER6_NV                   0x8556
  1311 #define GL_COMBINER7_NV                   0x8557
  1312 /* reuse GL_TEXTURE0_ARB */
  1313 /* reuse GL_TEXTURE1_ARB */
  1314 /* reuse GL_ZERO */
  1315 /* reuse GL_NONE */
  1316 /* reuse GL_FOG */
  1317 #endif
  1318 
  1319 #ifndef GL_NV_fog_distance
  1320 #define GL_FOG_DISTANCE_MODE_NV           0x855A
  1321 #define GL_EYE_RADIAL_NV                  0x855B
  1322 #define GL_EYE_PLANE_ABSOLUTE_NV          0x855C
  1323 /* reuse GL_EYE_PLANE */
  1324 #endif
  1325 
  1326 #ifndef GL_NV_texgen_emboss
  1327 #define GL_EMBOSS_LIGHT_NV                0x855D
  1328 #define GL_EMBOSS_CONSTANT_NV             0x855E
  1329 #define GL_EMBOSS_MAP_NV                  0x855F
  1330 #endif
  1331 
  1332 #ifndef GL_NV_blend_square
  1333 #endif
  1334 
  1335 #ifndef GL_NV_texture_env_combine4
  1336 #define GL_COMBINE4_NV                    0x8503
  1337 #define GL_SOURCE3_RGB_NV                 0x8583
  1338 #define GL_SOURCE3_ALPHA_NV               0x858B
  1339 #define GL_OPERAND3_RGB_NV                0x8593
  1340 #define GL_OPERAND3_ALPHA_NV              0x859B
  1341 #endif
  1342 
  1343 #ifndef GL_MESA_resize_buffers
  1344 #endif
  1345 
  1346 #ifndef GL_MESA_window_pos
  1347 #endif
  1348 
  1349 #ifndef GL_EXT_texture_compression_s3tc
  1350 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
  1351 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
  1352 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
  1353 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
  1354 #endif
  1355 
  1356 #ifndef GL_IBM_cull_vertex
  1357 #define GL_CULL_VERTEX_IBM                103050
  1358 #endif
  1359 
  1360 #ifndef GL_IBM_multimode_draw_arrays
  1361 #endif
  1362 
  1363 #ifndef GL_IBM_vertex_array_lists
  1364 #define GL_VERTEX_ARRAY_LIST_IBM          103070
  1365 #define GL_NORMAL_ARRAY_LIST_IBM          103071
  1366 #define GL_COLOR_ARRAY_LIST_IBM           103072
  1367 #define GL_INDEX_ARRAY_LIST_IBM           103073
  1368 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM   103074
  1369 #define GL_EDGE_FLAG_ARRAY_LIST_IBM       103075
  1370 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM  103076
  1371 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
  1372 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM   103080
  1373 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM   103081
  1374 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM    103082
  1375 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM    103083
  1376 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
  1377 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
  1378 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
  1379 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
  1380 #endif
  1381 
  1382 #ifndef GL_SGIX_subsample
  1383 #define GL_PACK_SUBSAMPLE_RATE_SGIX       0x85A0
  1384 #define GL_UNPACK_SUBSAMPLE_RATE_SGIX     0x85A1
  1385 #define GL_PIXEL_SUBSAMPLE_4444_SGIX      0x85A2
  1386 #define GL_PIXEL_SUBSAMPLE_2424_SGIX      0x85A3
  1387 #define GL_PIXEL_SUBSAMPLE_4242_SGIX      0x85A4
  1388 #endif
  1389 
  1390 #ifndef GL_SGIX_ycrcb_subsample
  1391 #endif
  1392 
  1393 #ifndef GL_SGIX_ycrcba
  1394 #define GL_YCRCB_SGIX                     0x8318
  1395 #define GL_YCRCBA_SGIX                    0x8319
  1396 #endif
  1397 
  1398 #ifndef GL_SGI_depth_pass_instrument
  1399 #define GL_DEPTH_PASS_INSTRUMENT_SGIX     0x8310
  1400 #define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
  1401 #define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
  1402 #endif
  1403 
  1404 #ifndef GL_3DFX_texture_compression_FXT1
  1405 #define GL_COMPRESSED_RGB_FXT1_3DFX       0x86B0
  1406 #define GL_COMPRESSED_RGBA_FXT1_3DFX      0x86B1
  1407 #endif
  1408 
  1409 #ifndef GL_3DFX_multisample
  1410 #define GL_MULTISAMPLE_3DFX               0x86B2
  1411 #define GL_SAMPLE_BUFFERS_3DFX            0x86B3
  1412 #define GL_SAMPLES_3DFX                   0x86B4
  1413 #define GL_MULTISAMPLE_BIT_3DFX           0x20000000
  1414 #endif
  1415 
  1416 #ifndef GL_3DFX_tbuffer
  1417 #endif
  1418 
  1419 #ifndef GL_EXT_multisample
  1420 #define GL_MULTISAMPLE_EXT                0x809D
  1421 #define GL_SAMPLE_ALPHA_TO_MASK_EXT       0x809E
  1422 #define GL_SAMPLE_ALPHA_TO_ONE_EXT        0x809F
  1423 #define GL_SAMPLE_MASK_EXT                0x80A0
  1424 #define GL_1PASS_EXT                      0x80A1
  1425 #define GL_2PASS_0_EXT                    0x80A2
  1426 #define GL_2PASS_1_EXT                    0x80A3
  1427 #define GL_4PASS_0_EXT                    0x80A4
  1428 #define GL_4PASS_1_EXT                    0x80A5
  1429 #define GL_4PASS_2_EXT                    0x80A6
  1430 #define GL_4PASS_3_EXT                    0x80A7
  1431 #define GL_SAMPLE_BUFFERS_EXT             0x80A8
  1432 #define GL_SAMPLES_EXT                    0x80A9
  1433 #define GL_SAMPLE_MASK_VALUE_EXT          0x80AA
  1434 #define GL_SAMPLE_MASK_INVERT_EXT         0x80AB
  1435 #define GL_SAMPLE_PATTERN_EXT             0x80AC
  1436 #endif
  1437 
  1438 #ifndef GL_SGIX_vertex_preclip
  1439 #define GL_VERTEX_PRECLIP_SGIX            0x83EE
  1440 #define GL_VERTEX_PRECLIP_HINT_SGIX       0x83EF
  1441 #endif
  1442 
  1443 #ifndef GL_SGIX_convolution_accuracy
  1444 #define GL_CONVOLUTION_HINT_SGIX          0x8316
  1445 #endif
  1446 
  1447 #ifndef GL_SGIX_resample
  1448 #define GL_PACK_RESAMPLE_SGIX             0x842C
  1449 #define GL_UNPACK_RESAMPLE_SGIX           0x842D
  1450 #define GL_RESAMPLE_REPLICATE_SGIX        0x842E
  1451 #define GL_RESAMPLE_ZERO_FILL_SGIX        0x842F
  1452 #define GL_RESAMPLE_DECIMATE_SGIX         0x8430
  1453 #endif
  1454 
  1455 #ifndef GL_SGIS_point_line_texgen
  1456 #define GL_EYE_DISTANCE_TO_POINT_SGIS     0x81F0
  1457 #define GL_OBJECT_DISTANCE_TO_POINT_SGIS  0x81F1
  1458 #define GL_EYE_DISTANCE_TO_LINE_SGIS      0x81F2
  1459 #define GL_OBJECT_DISTANCE_TO_LINE_SGIS   0x81F3
  1460 #define GL_EYE_POINT_SGIS                 0x81F4
  1461 #define GL_OBJECT_POINT_SGIS              0x81F5
  1462 #define GL_EYE_LINE_SGIS                  0x81F6
  1463 #define GL_OBJECT_LINE_SGIS               0x81F7
  1464 #endif
  1465 
  1466 #ifndef GL_SGIS_texture_color_mask
  1467 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS   0x81EF
  1468 #endif
  1469 
  1470 
  1471 /*************************************************************/
  1472 
  1473 #ifndef GL_VERSION_1_2
  1474 #define GL_VERSION_1_2 1
  1475 #ifdef GL_GLEXT_PROTOTYPES
  1476 extern void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf);
  1477 extern void APIENTRY glBlendEquation (GLenum);
  1478 extern void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
  1479 extern void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  1480 extern void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat *);
  1481 extern void APIENTRY glColorTableParameteriv (GLenum, GLenum, const GLint *);
  1482 extern void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint, GLsizei);
  1483 extern void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *);
  1484 extern void APIENTRY glGetColorTableParameterfv (GLenum, GLenum, GLfloat *);
  1485 extern void APIENTRY glGetColorTableParameteriv (GLenum, GLenum, GLint *);
  1486 extern void APIENTRY glColorSubTable (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1487 extern void APIENTRY glCopyColorSubTable (GLenum, GLsizei, GLint, GLint, GLsizei);
  1488 extern void APIENTRY glConvolutionFilter1D (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  1489 extern void APIENTRY glConvolutionFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1490 extern void APIENTRY glConvolutionParameterf (GLenum, GLenum, GLfloat);
  1491 extern void APIENTRY glConvolutionParameterfv (GLenum, GLenum, const GLfloat *);
  1492 extern void APIENTRY glConvolutionParameteri (GLenum, GLenum, GLint);
  1493 extern void APIENTRY glConvolutionParameteriv (GLenum, GLenum, const GLint *);
  1494 extern void APIENTRY glCopyConvolutionFilter1D (GLenum, GLenum, GLint, GLint, GLsizei);
  1495 extern void APIENTRY glCopyConvolutionFilter2D (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
  1496 extern void APIENTRY glGetConvolutionFilter (GLenum, GLenum, GLenum, GLvoid *);
  1497 extern void APIENTRY glGetConvolutionParameterfv (GLenum, GLenum, GLfloat *);
  1498 extern void APIENTRY glGetConvolutionParameteriv (GLenum, GLenum, GLint *);
  1499 extern void APIENTRY glGetSeparableFilter (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
  1500 extern void APIENTRY glSeparableFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
  1501 extern void APIENTRY glGetHistogram (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  1502 extern void APIENTRY glGetHistogramParameterfv (GLenum, GLenum, GLfloat *);
  1503 extern void APIENTRY glGetHistogramParameteriv (GLenum, GLenum, GLint *);
  1504 extern void APIENTRY glGetMinmax (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  1505 extern void APIENTRY glGetMinmaxParameterfv (GLenum, GLenum, GLfloat *);
  1506 extern void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *);
  1507 extern void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean);
  1508 extern void APIENTRY glMinmax (GLenum, GLenum, GLboolean);
  1509 extern void APIENTRY glResetHistogram (GLenum);
  1510 extern void APIENTRY glResetMinmax (GLenum);
  1511 extern void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  1512 extern void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1513 extern void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  1514 #endif /* GL_GLEXT_PROTOTYPES */
  1515 typedef void (APIENTRY * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  1516 typedef void (APIENTRY * PFNGLBLENDEQUATIONPROC) (GLenum mode);
  1517 typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  1518 typedef void (APIENTRY * PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  1519 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  1520 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  1521 typedef void (APIENTRY * PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  1522 typedef void (APIENTRY * PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
  1523 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  1524 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1525 typedef void (APIENTRY * PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  1526 typedef void (APIENTRY * PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  1527 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  1528 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  1529 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
  1530 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  1531 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
  1532 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  1533 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  1534 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  1535 typedef void (APIENTRY * PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
  1536 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  1537 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1538 typedef void (APIENTRY * PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  1539 typedef void (APIENTRY * PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  1540 typedef void (APIENTRY * PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  1541 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  1542 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1543 typedef void (APIENTRY * PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  1544 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  1545 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1546 typedef void (APIENTRY * PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  1547 typedef void (APIENTRY * PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  1548 typedef void (APIENTRY * PFNGLRESETHISTOGRAMPROC) (GLenum target);
  1549 typedef void (APIENTRY * PFNGLRESETMINMAXPROC) (GLenum target);
  1550 typedef void (APIENTRY * PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1551 typedef void (APIENTRY * PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
  1552 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  1553 #endif
  1554 
  1555 #ifndef GL_ARB_multitexture
  1556 #define GL_ARB_multitexture 1
  1557 #ifdef GL_GLEXT_PROTOTYPES
  1558 extern void APIENTRY glActiveTextureARB (GLenum);
  1559 extern void APIENTRY glClientActiveTextureARB (GLenum);
  1560 extern void APIENTRY glMultiTexCoord1dARB (GLenum, GLdouble);
  1561 extern void APIENTRY glMultiTexCoord1dvARB (GLenum, const GLdouble *);
  1562 extern void APIENTRY glMultiTexCoord1fARB (GLenum, GLfloat);
  1563 extern void APIENTRY glMultiTexCoord1fvARB (GLenum, const GLfloat *);
  1564 extern void APIENTRY glMultiTexCoord1iARB (GLenum, GLint);
  1565 extern void APIENTRY glMultiTexCoord1ivARB (GLenum, const GLint *);
  1566 extern void APIENTRY glMultiTexCoord1sARB (GLenum, GLshort);
  1567 extern void APIENTRY glMultiTexCoord1svARB (GLenum, const GLshort *);
  1568 extern void APIENTRY glMultiTexCoord2dARB (GLenum, GLdouble, GLdouble);
  1569 extern void APIENTRY glMultiTexCoord2dvARB (GLenum, const GLdouble *);
  1570 extern void APIENTRY glMultiTexCoord2fARB (GLenum, GLfloat, GLfloat);
  1571 extern void APIENTRY glMultiTexCoord2fvARB (GLenum, const GLfloat *);
  1572 extern void APIENTRY glMultiTexCoord2iARB (GLenum, GLint, GLint);
  1573 extern void APIENTRY glMultiTexCoord2ivARB (GLenum, const GLint *);
  1574 extern void APIENTRY glMultiTexCoord2sARB (GLenum, GLshort, GLshort);
  1575 extern void APIENTRY glMultiTexCoord2svARB (GLenum, const GLshort *);
  1576 extern void APIENTRY glMultiTexCoord3dARB (GLenum, GLdouble, GLdouble, GLdouble);
  1577 extern void APIENTRY glMultiTexCoord3dvARB (GLenum, const GLdouble *);
  1578 extern void APIENTRY glMultiTexCoord3fARB (GLenum, GLfloat, GLfloat, GLfloat);
  1579 extern void APIENTRY glMultiTexCoord3fvARB (GLenum, const GLfloat *);
  1580 extern void APIENTRY glMultiTexCoord3iARB (GLenum, GLint, GLint, GLint);
  1581 extern void APIENTRY glMultiTexCoord3ivARB (GLenum, const GLint *);
  1582 extern void APIENTRY glMultiTexCoord3sARB (GLenum, GLshort, GLshort, GLshort);
  1583 extern void APIENTRY glMultiTexCoord3svARB (GLenum, const GLshort *);
  1584 extern void APIENTRY glMultiTexCoord4dARB (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
  1585 extern void APIENTRY glMultiTexCoord4dvARB (GLenum, const GLdouble *);
  1586 extern void APIENTRY glMultiTexCoord4fARB (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
  1587 extern void APIENTRY glMultiTexCoord4fvARB (GLenum, const GLfloat *);
  1588 extern void APIENTRY glMultiTexCoord4iARB (GLenum, GLint, GLint, GLint, GLint);
  1589 extern void APIENTRY glMultiTexCoord4ivARB (GLenum, const GLint *);
  1590 extern void APIENTRY glMultiTexCoord4sARB (GLenum, GLshort, GLshort, GLshort, GLshort);
  1591 extern void APIENTRY glMultiTexCoord4svARB (GLenum, const GLshort *);
  1592 #endif /* GL_GLEXT_PROTOTYPES */
  1593 typedef void (APIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
  1594 typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
  1595 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
  1596 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
  1597 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
  1598 typedef void (APIENTRY * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
  1599 typedef void (APIENTRY * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
  1600 typedef void (APIENTRY * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
  1601 typedef void (APIENTRY * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
  1602 typedef void (APIENTRY * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
  1603 typedef void (APIENTRY * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
  1604 typedef void (APIENTRY * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
  1605 typedef void (APIENTRY * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
  1606 typedef void (APIENTRY * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
  1607 typedef void (APIENTRY * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
  1608 typedef void (APIENTRY * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
  1609 typedef void (APIENTRY * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
  1610 typedef void (APIENTRY * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
  1611 typedef void (APIENTRY * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  1612 typedef void (APIENTRY * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
  1613 typedef void (APIENTRY * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  1614 typedef void (APIENTRY * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
  1615 typedef void (APIENTRY * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
  1616 typedef void (APIENTRY * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
  1617 typedef void (APIENTRY * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  1618 typedef void (APIENTRY * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
  1619 typedef void (APIENTRY * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  1620 typedef void (APIENTRY * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
  1621 typedef void (APIENTRY * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  1622 typedef void (APIENTRY * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
  1623 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  1624 typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
  1625 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  1626 typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
  1627 #endif
  1628 
  1629 #ifndef GL_ARB_transpose_matrix
  1630 #define GL_ARB_transpose_matrix 1
  1631 #ifdef GL_GLEXT_PROTOTYPES
  1632 extern void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *);
  1633 extern void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *);
  1634 extern void APIENTRY glMultTransposeMatrixfARB (const GLfloat *);
  1635 extern void APIENTRY glMultTransposeMatrixdARB (const GLdouble *);
  1636 #endif /* GL_GLEXT_PROTOTYPES */
  1637 typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  1638 typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  1639 typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  1640 typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  1641 #endif
  1642 
  1643 #ifndef GL_ARB_multisample
  1644 #define GL_ARB_multisample 1
  1645 #ifdef GL_GLEXT_PROTOTYPES
  1646 extern void APIENTRY glSampleCoverageARB (GLclampf, GLboolean);
  1647 extern void APIENTRY glSamplePassARB (GLenum);
  1648 #endif /* GL_GLEXT_PROTOTYPES */
  1649 typedef void (APIENTRY * PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
  1650 typedef void (APIENTRY * PFNGLSAMPLEPASSARBPROC) (GLenum pass);
  1651 #endif
  1652 
  1653 #ifndef GL_ARB_texture_env_add
  1654 #define GL_ARB_texture_env_add 1
  1655 #endif
  1656 
  1657 #ifndef GL_ARB_texture_cube_map
  1658 #define GL_ARB_texture_cube_map 1
  1659 #endif
  1660 
  1661 #ifndef GL_ARB_texture_compression
  1662 #define GL_ARB_texture_compression 1
  1663 #ifdef GL_GLEXT_PROTOTYPES
  1664 extern void APIENTRY glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  1665 extern void APIENTRY glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  1666 extern void APIENTRY glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
  1667 extern void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  1668 extern void APIENTRY glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  1669 extern void APIENTRY glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
  1670 extern void APIENTRY glGetCompressedTexImageARB (GLenum, GLint, void *);
  1671 #endif /* GL_GLEXT_PROTOTYPES */
  1672 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
  1673 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
  1674 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
  1675 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
  1676 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
  1677 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
  1678 typedef void (APIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
  1679 #endif
  1680 
  1681 #ifndef GL_EXT_abgr
  1682 #define GL_EXT_abgr 1
  1683 #endif
  1684 
  1685 #ifndef GL_EXT_blend_color
  1686 #define GL_EXT_blend_color 1
  1687 #ifdef GL_GLEXT_PROTOTYPES
  1688 extern void APIENTRY glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf);
  1689 #endif /* GL_GLEXT_PROTOTYPES */
  1690 typedef void (APIENTRY * PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  1691 #endif
  1692 
  1693 #ifndef GL_EXT_polygon_offset
  1694 #define GL_EXT_polygon_offset 1
  1695 #ifdef GL_GLEXT_PROTOTYPES
  1696 extern void APIENTRY glPolygonOffsetEXT (GLfloat, GLfloat);
  1697 #endif /* GL_GLEXT_PROTOTYPES */
  1698 typedef void (APIENTRY * PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
  1699 #endif
  1700 
  1701 #ifndef GL_EXT_texture
  1702 #define GL_EXT_texture 1
  1703 #endif
  1704 
  1705 #ifndef GL_EXT_texture3D
  1706 #define GL_EXT_texture3D 1
  1707 #ifdef GL_GLEXT_PROTOTYPES
  1708 extern void APIENTRY glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  1709 #endif /* GL_GLEXT_PROTOTYPES */
  1710 typedef void (APIENTRY * PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1711 #endif
  1712 
  1713 #ifndef GL_EXT_subtexture
  1714 /*#define GL_EXT_subtexture 1*/
  1715 #ifdef GL_GLEXT_PROTOTYPES
  1716 extern void APIENTRY glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1717 #endif /* GL_GLEXT_PROTOTYPES */
  1718 typedef void (APIENTRY * PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
  1719 #endif
  1720 
  1721 #ifndef GL_SGIS_texture_filter4
  1722 #define GL_SGIS_texture_filter4 1
  1723 #ifdef GL_GLEXT_PROTOTYPES
  1724 extern void APIENTRY glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *);
  1725 extern void APIENTRY glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *);
  1726 #endif /* GL_GLEXT_PROTOTYPES */
  1727 typedef void (APIENTRY * PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
  1728 typedef void (APIENTRY * PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  1729 #endif
  1730 
  1731 #ifndef GL_EXT_subtexture
  1732 #define GL_EXT_subtexture 1
  1733 #ifdef GL_GLEXT_PROTOTYPES
  1734 extern void APIENTRY glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
  1735 extern void APIENTRY glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1736 #endif /* GL_GLEXT_PROTOTYPES */
  1737 typedef void (APIENTRY * PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  1738 typedef void (APIENTRY * PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  1739 #endif
  1740 
  1741 #ifndef GL_EXT_copy_texture
  1742 #define GL_EXT_copy_texture 1
  1743 #ifdef GL_GLEXT_PROTOTYPES
  1744 extern void APIENTRY glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
  1745 extern void APIENTRY glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
  1746 extern void APIENTRY glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei);
  1747 extern void APIENTRY glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  1748 extern void APIENTRY glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  1749 #endif /* GL_GLEXT_PROTOTYPES */
  1750 typedef void (APIENTRY * PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  1751 typedef void (APIENTRY * PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  1752 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  1753 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  1754 typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  1755 #endif
  1756 
  1757 #ifndef GL_EXT_histogram
  1758 #define GL_EXT_histogram 1
  1759 #ifdef GL_GLEXT_PROTOTYPES
  1760 extern void APIENTRY glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  1761 extern void APIENTRY glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat *);
  1762 extern void APIENTRY glGetHistogramParameterivEXT (GLenum, GLenum, GLint *);
  1763 extern void APIENTRY glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  1764 extern void APIENTRY glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *);
  1765 extern void APIENTRY glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *);
  1766 extern void APIENTRY glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean);
  1767 extern void APIENTRY glMinmaxEXT (GLenum, GLenum, GLboolean);
  1768 extern void APIENTRY glResetHistogramEXT (GLenum);
  1769 extern void APIENTRY glResetMinmaxEXT (GLenum);
  1770 #endif /* GL_GLEXT_PROTOTYPES */
  1771 typedef void (APIENTRY * PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  1772 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  1773 typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  1774 typedef void (APIENTRY * PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  1775 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  1776 typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  1777 typedef void (APIENTRY * PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  1778 typedef void (APIENTRY * PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  1779 typedef void (APIENTRY * PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
  1780 typedef void (APIENTRY * PFNGLRESETMINMAXEXTPROC) (GLenum target);
  1781 #endif
  1782 
  1783 #ifndef GL_EXT_convolution
  1784 #define GL_EXT_convolution 1
  1785 #ifdef GL_GLEXT_PROTOTYPES
  1786 extern void APIENTRY glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  1787 extern void APIENTRY glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1788 extern void APIENTRY glConvolutionParameterfEXT (GLenum, GLenum, GLfloat);
  1789 extern void APIENTRY glConvolutionParameterfvEXT (GLenum, GLenum, const GLfloat *);
  1790 extern void APIENTRY glConvolutionParameteriEXT (GLenum, GLenum, GLint);
  1791 extern void APIENTRY glConvolutionParameterivEXT (GLenum, GLenum, const GLint *);
  1792 extern void APIENTRY glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GLint, GLsizei);
  1793 extern void APIENTRY glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
  1794 extern void APIENTRY glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvoid *);
  1795 extern void APIENTRY glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat *);
  1796 extern void APIENTRY glGetConvolutionParameterivEXT (GLenum, GLenum, GLint *);
  1797 extern void APIENTRY glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
  1798 extern void APIENTRY glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
  1799 #endif /* GL_GLEXT_PROTOTYPES */
  1800 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  1801 typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  1802 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
  1803 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  1804 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
  1805 typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  1806 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  1807 typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  1808 typedef void (APIENTRY * PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
  1809 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  1810 typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  1811 typedef void (APIENTRY * PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  1812 typedef void (APIENTRY * PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  1813 #endif
  1814 
  1815 #ifndef GL_EXT_color_matrix
  1816 #define GL_EXT_color_matrix 1
  1817 #endif
  1818 
  1819 #ifndef GL_SGI_color_table
  1820 #define GL_SGI_color_table 1
  1821 #ifdef GL_GLEXT_PROTOTYPES
  1822 extern void APIENTRY glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  1823 extern void APIENTRY glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *);
  1824 extern void APIENTRY glColorTableParameterivSGI (GLenum, GLenum, const GLint *);
  1825 extern void APIENTRY glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei);
  1826 extern void APIENTRY glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *);
  1827 extern void APIENTRY glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *);
  1828 extern void APIENTRY glGetColorTableParameterivSGI (GLenum, GLenum, GLint *);
  1829 #endif /* GL_GLEXT_PROTOTYPES */
  1830 typedef void (APIENTRY * PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  1831 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
  1832 typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
  1833 typedef void (APIENTRY * PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  1834 typedef void (APIENTRY * PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
  1835 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
  1836 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
  1837 #endif
  1838 
  1839 #ifndef GL_SGIX_pixel_texture
  1840 #define GL_SGIX_pixel_texture 1
  1841 #ifdef GL_GLEXT_PROTOTYPES
  1842 extern void APIENTRY glPixelTexGenSGIX (GLenum);
  1843 #endif /* GL_GLEXT_PROTOTYPES */
  1844 typedef void (APIENTRY * PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
  1845 #endif
  1846 
  1847 #ifndef GL_SGIS_pixel_texture
  1848 #define GL_SGIS_pixel_texture 1
  1849 #ifdef GL_GLEXT_PROTOTYPES
  1850 extern void APIENTRY glPixelTexGenParameteriSGIS (GLenum, GLint);
  1851 extern void APIENTRY glPixelTexGenParameterivSGIS (GLenum, const GLint *);
  1852 extern void APIENTRY glPixelTexGenParameterfSGIS (GLenum, GLfloat);
  1853 extern void APIENTRY glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *);
  1854 extern void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum, GLint *);
  1855 extern void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *);
  1856 #endif /* GL_GLEXT_PROTOTYPES */
  1857 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
  1858 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
  1859 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  1860 typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  1861 typedef void (APIENTRY * PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
  1862 typedef void (APIENTRY * PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
  1863 #endif
  1864 
  1865 #ifndef GL_SGIS_texture4D
  1866 #define GL_SGIS_texture4D 1
  1867 #ifdef GL_GLEXT_PROTOTYPES
  1868 extern void APIENTRY glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  1869 extern void APIENTRY glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1870 #endif /* GL_GLEXT_PROTOTYPES */
  1871 typedef void (APIENTRY * PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1872 typedef void (APIENTRY * 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);
  1873 #endif
  1874 
  1875 #ifndef GL_SGI_texture_color_table
  1876 #define GL_SGI_texture_color_table 1
  1877 #endif
  1878 
  1879 #ifndef GL_EXT_cmyka
  1880 #define GL_EXT_cmyka 1
  1881 #endif
  1882 
  1883 #ifndef GL_EXT_texture_object
  1884 #define GL_EXT_texture_object 1
  1885 #ifdef GL_GLEXT_PROTOTYPES
  1886 extern GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei, const GLuint *, GLboolean *);
  1887 extern void APIENTRY glBindTextureEXT (GLenum, GLuint);
  1888 extern void APIENTRY glDeleteTexturesEXT (GLsizei, const GLuint *);
  1889 extern void APIENTRY glGenTexturesEXT (GLsizei, GLuint *);
  1890 extern GLboolean APIENTRY glIsTextureEXT (GLuint);
  1891 extern void APIENTRY glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLclampf *);
  1892 #endif /* GL_GLEXT_PROTOTYPES */
  1893 typedef GLboolean (APIENTRY * PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
  1894 typedef void (APIENTRY * PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
  1895 typedef void (APIENTRY * PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
  1896 typedef void (APIENTRY * PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
  1897 typedef GLboolean (APIENTRY * PFNGLISTEXTUREEXTPROC) (GLuint texture);
  1898 typedef void (APIENTRY * PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  1899 #endif
  1900 
  1901 #ifndef GL_SGIS_detail_texture
  1902 #define GL_SGIS_detail_texture 1
  1903 #ifdef GL_GLEXT_PROTOTYPES
  1904 extern void APIENTRY glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
  1905 extern void APIENTRY glGetDetailTexFuncSGIS (GLenum, GLfloat *);
  1906 #endif /* GL_GLEXT_PROTOTYPES */
  1907 typedef void (APIENTRY * PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  1908 typedef void (APIENTRY * PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  1909 #endif
  1910 
  1911 #ifndef GL_SGIS_sharpen_texture
  1912 #define GL_SGIS_sharpen_texture 1
  1913 #ifdef GL_GLEXT_PROTOTYPES
  1914 extern void APIENTRY glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
  1915 extern void APIENTRY glGetSharpenTexFuncSGIS (GLenum, GLfloat *);
  1916 #endif /* GL_GLEXT_PROTOTYPES */
  1917 typedef void (APIENTRY * PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  1918 typedef void (APIENTRY * PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  1919 #endif
  1920 
  1921 #ifndef GL_EXT_packed_pixels
  1922 #define GL_EXT_packed_pixels 1
  1923 #endif
  1924 
  1925 #ifndef GL_SGIS_texture_lod
  1926 #define GL_SGIS_texture_lod 1
  1927 #endif
  1928 
  1929 #ifndef GL_SGIS_multisample
  1930 #define GL_SGIS_multisample 1
  1931 #ifdef GL_GLEXT_PROTOTYPES
  1932 extern void APIENTRY glSampleMaskSGIS (GLclampf, GLboolean);
  1933 extern void APIENTRY glSamplePatternSGIS (GLenum);
  1934 #endif /* GL_GLEXT_PROTOTYPES */
  1935 typedef void (APIENTRY * PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
  1936 typedef void (APIENTRY * PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
  1937 #endif
  1938 
  1939 #ifndef GL_EXT_rescale_normal
  1940 #define GL_EXT_rescale_normal 1
  1941 #endif
  1942 
  1943 #ifndef GL_EXT_vertex_array
  1944 #define GL_EXT_vertex_array 1
  1945 #ifdef GL_GLEXT_PROTOTYPES
  1946 extern void APIENTRY glArrayElementEXT (GLint);
  1947 extern void APIENTRY glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  1948 extern void APIENTRY glDrawArraysEXT (GLenum, GLint, GLsizei);
  1949 extern void APIENTRY glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean *);
  1950 extern void APIENTRY glGetPointervEXT (GLenum, GLvoid* *);
  1951 extern void APIENTRY glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
  1952 extern void APIENTRY glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
  1953 extern void APIENTRY glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  1954 extern void APIENTRY glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  1955 #endif /* GL_GLEXT_PROTOTYPES */
  1956 typedef void (APIENTRY * PFNGLARRAYELEMENTEXTPROC) (GLint i);
  1957 typedef void (APIENTRY * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  1958 typedef void (APIENTRY * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
  1959 typedef void (APIENTRY * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
  1960 typedef void (APIENTRY * PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
  1961 typedef void (APIENTRY * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  1962 typedef void (APIENTRY * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  1963 typedef void (APIENTRY * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  1964 typedef void (APIENTRY * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  1965 #endif
  1966 
  1967 #ifndef GL_EXT_misc_attribute
  1968 #define GL_EXT_misc_attribute 1
  1969 #endif
  1970 
  1971 #ifndef GL_SGIS_generate_mipmap
  1972 #define GL_SGIS_generate_mipmap 1
  1973 #endif
  1974 
  1975 #ifndef GL_SGIX_clipmap
  1976 #define GL_SGIX_clipmap 1
  1977 #endif
  1978 
  1979 #ifndef GL_SGIX_shadow
  1980 #define GL_SGIX_shadow 1
  1981 #endif
  1982 
  1983 #ifndef GL_SGIS_texture_edge_clamp
  1984 #define GL_SGIS_texture_edge_clamp 1
  1985 #endif
  1986 
  1987 #ifndef GL_SGIS_texture_border_clamp
  1988 #define GL_SGIS_texture_border_clamp 1
  1989 #endif
  1990 
  1991 #ifndef GL_EXT_blend_minmax
  1992 #define GL_EXT_blend_minmax 1
  1993 #ifdef GL_GLEXT_PROTOTYPES
  1994 extern void APIENTRY glBlendEquationEXT (GLenum);
  1995 #endif /* GL_GLEXT_PROTOTYPES */
  1996 typedef void (APIENTRY * PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
  1997 #endif
  1998 
  1999 #ifndef GL_EXT_blend_subtract
  2000 #define GL_EXT_blend_subtract 1
  2001 #endif
  2002 
  2003 #ifndef GL_EXT_blend_logic_op
  2004 #define GL_EXT_blend_logic_op 1
  2005 #endif
  2006 
  2007 #ifndef GL_SGIX_interlace
  2008 #define GL_SGIX_interlace 1
  2009 #endif
  2010 
  2011 #ifndef GL_SGIX_pixel_tiles
  2012 #define GL_SGIX_pixel_tiles 1
  2013 #endif
  2014 
  2015 #ifndef GL_SGIX_texture_select
  2016 #define GL_SGIX_texture_select 1
  2017 #endif
  2018 
  2019 #ifndef GL_SGIX_sprite
  2020 #define GL_SGIX_sprite 1
  2021 #ifdef GL_GLEXT_PROTOTYPES
  2022 extern void APIENTRY glSpriteParameterfSGIX (GLenum, GLfloat);
  2023 extern void APIENTRY glSpriteParameterfvSGIX (GLenum, const GLfloat *);
  2024 extern void APIENTRY glSpriteParameteriSGIX (GLenum, GLint);
  2025 extern void APIENTRY glSpriteParameterivSGIX (GLenum, const GLint *);
  2026 #endif /* GL_GLEXT_PROTOTYPES */
  2027 typedef void (APIENTRY * PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
  2028 typedef void (APIENTRY * PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
  2029 typedef void (APIENTRY * PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
  2030 typedef void (APIENTRY * PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
  2031 #endif
  2032 
  2033 #ifndef GL_SGIX_texture_multi_buffer
  2034 #define GL_SGIX_texture_multi_buffer 1
  2035 #endif
  2036 
  2037 #ifndef GL_EXT_point_parameters
  2038 #define GL_EXT_point_parameters 1
  2039 #ifdef GL_GLEXT_PROTOTYPES
  2040 extern void APIENTRY glPointParameterfEXT (GLenum, GLfloat);
  2041 extern void APIENTRY glPointParameterfvEXT (GLenum, const GLfloat *);
  2042 extern void APIENTRY glPointParameterfSGIS (GLenum, GLfloat);
  2043 extern void APIENTRY glPointParameterfvSGIS (GLenum, const GLfloat *);
  2044 #endif /* GL_GLEXT_PROTOTYPES */
  2045 typedef void (APIENTRY * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
  2046 typedef void (APIENTRY * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
  2047 typedef void (APIENTRY * PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  2048 typedef void (APIENTRY * PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  2049 #endif
  2050 
  2051 #ifndef GL_SGIX_instruments
  2052 #define GL_SGIX_instruments 1
  2053 #ifdef GL_GLEXT_PROTOTYPES
  2054 extern GLint APIENTRY glGetInstrumentsSGIX (void);
  2055 extern void APIENTRY glInstrumentsBufferSGIX (GLsizei, GLint *);
  2056 extern GLint APIENTRY glPollInstrumentsSGIX (GLint *);
  2057 extern void APIENTRY glReadInstrumentsSGIX (GLint);
  2058 extern void APIENTRY glStartInstrumentsSGIX (void);
  2059 extern void APIENTRY glStopInstrumentsSGIX (GLint);
  2060 #endif /* GL_GLEXT_PROTOTYPES */
  2061 typedef GLint (APIENTRY * PFNGLGETINSTRUMENTSSGIXPROC) (void);
  2062 typedef void (APIENTRY * PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
  2063 typedef GLint (APIENTRY * PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
  2064 typedef void (APIENTRY * PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
  2065 typedef void (APIENTRY * PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
  2066 typedef void (APIENTRY * PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
  2067 #endif
  2068 
  2069 #ifndef GL_SGIX_texture_scale_bias
  2070 #define GL_SGIX_texture_scale_bias 1
  2071 #endif
  2072 
  2073 #ifndef GL_SGIX_framezoom
  2074 #define GL_SGIX_framezoom 1
  2075 #ifdef GL_GLEXT_PROTOTYPES
  2076 extern void APIENTRY glFrameZoomSGIX (GLint);
  2077 #endif /* GL_GLEXT_PROTOTYPES */
  2078 typedef void (APIENTRY * PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
  2079 #endif
  2080 
  2081 #ifndef GL_SGIX_tag_sample_buffer
  2082 #define GL_SGIX_tag_sample_buffer 1
  2083 #ifdef GL_GLEXT_PROTOTYPES
  2084 extern void APIENTRY glTagSampleBufferSGIX (void);
  2085 #endif /* GL_GLEXT_PROTOTYPES */
  2086 typedef void (APIENTRY * PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
  2087 #endif
  2088 
  2089 #ifndef GL_SGIX_reference_plane
  2090 #define GL_SGIX_reference_plane 1
  2091 #ifdef GL_GLEXT_PROTOTYPES
  2092 extern void APIENTRY glReferencePlaneSGIX (const GLdouble *);
  2093 #endif /* GL_GLEXT_PROTOTYPES */
  2094 typedef void (APIENTRY * PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
  2095 #endif
  2096 
  2097 #ifndef GL_SGIX_flush_raster
  2098 #define GL_SGIX_flush_raster 1
  2099 #ifdef GL_GLEXT_PROTOTYPES
  2100 extern void APIENTRY glFlushRasterSGIX (void);
  2101 #endif /* GL_GLEXT_PROTOTYPES */
  2102 typedef void (APIENTRY * PFNGLFLUSHRASTERSGIXPROC) (void);
  2103 #endif
  2104 
  2105 #ifndef GL_SGIX_depth_texture
  2106 #define GL_SGIX_depth_texture 1
  2107 #endif
  2108 
  2109 #ifndef GL_SGIS_fog_function
  2110 #define GL_SGIS_fog_function 1
  2111 #ifdef GL_GLEXT_PROTOTYPES
  2112 extern void APIENTRY glFogFuncSGIS (GLsizei, const GLfloat *);
  2113 extern void APIENTRY glGetFogFuncSGIS (const GLfloat *);
  2114 #endif /* GL_GLEXT_PROTOTYPES */
  2115 typedef void (APIENTRY * PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
  2116 typedef void (APIENTRY * PFNGLGETFOGFUNCSGISPROC) (const GLfloat *points);
  2117 #endif
  2118 
  2119 #ifndef GL_SGIX_fog_offset
  2120 #define GL_SGIX_fog_offset 1
  2121 #endif
  2122 
  2123 #ifndef GL_HP_image_transform
  2124 #define GL_HP_image_transform 1
  2125 #ifdef GL_GLEXT_PROTOTYPES
  2126 extern void APIENTRY glImageTransformParameteriHP (GLenum, GLenum, GLint);
  2127 extern void APIENTRY glImageTransformParameterfHP (GLenum, GLenum, GLfloat);
  2128 extern void APIENTRY glImageTransformParameterivHP (GLenum, GLenum, const GLint *);
  2129 extern void APIENTRY glImageTransformParameterfvHP (GLenum, GLenum, const GLfloat *);
  2130 extern void APIENTRY glGetImageTransformParameterivHP (GLenum, GLenum, GLint *);
  2131 extern void APIENTRY glGetImageTransformParameterfvHP (GLenum, GLenum, GLfloat *);
  2132 #endif /* GL_GLEXT_PROTOTYPES */
  2133 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
  2134 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
  2135 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
  2136 typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
  2137 typedef void (APIENTRY * PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
  2138 typedef void (APIENTRY * PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
  2139 #endif
  2140 
  2141 #ifndef GL_HP_convolution_border_modes
  2142 #define GL_HP_convolution_border_modes 1
  2143 #endif
  2144 
  2145 #ifndef GL_SGIX_texture_add_env
  2146 #define GL_SGIX_texture_add_env 1
  2147 #endif
  2148 
  2149 #ifndef GL_EXT_color_subtable
  2150 #define GL_EXT_color_subtable 1
  2151 #ifdef GL_GLEXT_PROTOTYPES
  2152 extern void APIENTRY glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  2153 extern void APIENTRY glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei);
  2154 #endif /* GL_GLEXT_PROTOTYPES */
  2155 typedef void (APIENTRY * PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  2156 typedef void (APIENTRY * PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  2157 #endif
  2158 
  2159 #ifndef GL_PGI_vertex_hints
  2160 #define GL_PGI_vertex_hints 1
  2161 #endif
  2162 
  2163 #ifndef GL_PGI_misc_hints
  2164 #define GL_PGI_misc_hints 1
  2165 #ifdef GL_GLEXT_PROTOTYPES
  2166 extern void APIENTRY glHintPGI (GLenum, GLint);
  2167 #endif /* GL_GLEXT_PROTOTYPES */
  2168 typedef void (APIENTRY * PFNGLHINTPGIPROC) (GLenum target, GLint mode);
  2169 #endif
  2170 
  2171 #ifndef GL_EXT_paletted_texture
  2172 #define GL_EXT_paletted_texture 1
  2173 #ifdef GL_GLEXT_PROTOTYPES
  2174 extern void APIENTRY glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  2175 extern void APIENTRY glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *);
  2176 extern void APIENTRY glGetColorTableParameterivEXT (GLenum, GLenum, GLint *);
  2177 extern void APIENTRY glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat *);
  2178 #endif /* GL_GLEXT_PROTOTYPES */
  2179 typedef void (APIENTRY * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  2180 typedef void (APIENTRY * PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data);
  2181 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  2182 typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  2183 #endif
  2184 
  2185 #ifndef GL_EXT_clip_volume_hint
  2186 #define GL_EXT_clip_volume_hint 1
  2187 #endif
  2188 
  2189 #ifndef GL_SGIX_list_priority
  2190 #define GL_SGIX_list_priority 1
  2191 #ifdef GL_GLEXT_PROTOTYPES
  2192 extern void APIENTRY glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *);
  2193 extern void APIENTRY glGetListParameterivSGIX (GLuint, GLenum, GLint *);
  2194 extern void APIENTRY glListParameterfSGIX (GLuint, GLenum, GLfloat);
  2195 extern void APIENTRY glListParameterfvSGIX (GLuint, GLenum, const GLfloat *);
  2196 extern void APIENTRY glListParameteriSGIX (GLuint, GLenum, GLint);
  2197 extern void APIENTRY glListParameterivSGIX (GLuint, GLenum, const GLint *);
  2198 #endif /* GL_GLEXT_PROTOTYPES */
  2199 typedef void (APIENTRY * PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
  2200 typedef void (APIENTRY * PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
  2201 typedef void (APIENTRY * PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
  2202 typedef void (APIENTRY * PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
  2203 typedef void (APIENTRY * PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
  2204 typedef void (APIENTRY * PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
  2205 #endif
  2206 
  2207 #ifndef GL_SGIX_ir_instrument1
  2208 #define GL_SGIX_ir_instrument1 1
  2209 #endif
  2210 
  2211 #ifndef GL_SGIX_calligraphic_fragment
  2212 #define GL_SGIX_calligraphic_fragment 1
  2213 #endif
  2214 
  2215 #ifndef GL_SGIX_texture_lod_bias
  2216 #define GL_SGIX_texture_lod_bias 1
  2217 #endif
  2218 
  2219 #ifndef GL_SGIX_shadow_ambient
  2220 #define GL_SGIX_shadow_ambient 1
  2221 #endif
  2222 
  2223 #ifndef GL_EXT_index_texture
  2224 #define GL_EXT_index_texture 1
  2225 #endif
  2226 
  2227 #ifndef GL_EXT_index_material
  2228 #define GL_EXT_index_material 1
  2229 #ifdef GL_GLEXT_PROTOTYPES
  2230 extern void APIENTRY glIndexMaterialEXT (GLenum, GLenum);
  2231 #endif /* GL_GLEXT_PROTOTYPES */
  2232 typedef void (APIENTRY * PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
  2233 #endif
  2234 
  2235 #ifndef GL_EXT_index_func
  2236 #define GL_EXT_index_func 1
  2237 #ifdef GL_GLEXT_PROTOTYPES
  2238 extern void APIENTRY glIndexFuncEXT (GLenum, GLclampf);
  2239 #endif /* GL_GLEXT_PROTOTYPES */
  2240 typedef void (APIENTRY * PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
  2241 #endif
  2242 
  2243 #ifndef GL_EXT_index_array_formats
  2244 #define GL_EXT_index_array_formats 1
  2245 #endif
  2246 
  2247 #ifndef GL_EXT_compiled_vertex_array
  2248 #define GL_EXT_compiled_vertex_array 1
  2249 #ifdef GL_GLEXT_PROTOTYPES
  2250 extern void APIENTRY glLockArraysEXT (GLint, GLsizei);
  2251 extern void APIENTRY glUnlockArraysEXT (void);
  2252 #endif /* GL_GLEXT_PROTOTYPES */
  2253 typedef void (APIENTRY * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
  2254 typedef void (APIENTRY * PFNGLUNLOCKARRAYSEXTPROC) (void);
  2255 #endif
  2256 
  2257 #ifndef GL_EXT_cull_vertex
  2258 #define GL_EXT_cull_vertex 1
  2259 #ifdef GL_GLEXT_PROTOTYPES
  2260 extern void APIENTRY glCullParameterdvEXT (GLenum, GLdouble *);
  2261 extern void APIENTRY glCullParameterfvEXT (GLenum, GLfloat *);
  2262 #endif /* GL_GLEXT_PROTOTYPES */
  2263 typedef void (APIENTRY * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
  2264 typedef void (APIENTRY * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
  2265 #endif
  2266 
  2267 #ifndef GL_SGIX_ycrcb
  2268 #define GL_SGIX_ycrcb 1
  2269 #endif
  2270 
  2271 #ifndef GL_SGIX_fragment_lighting
  2272 #define GL_SGIX_fragment_lighting 1
  2273 #ifdef GL_GLEXT_PROTOTYPES
  2274 extern void APIENTRY glFragmentColorMaterialSGIX (GLenum, GLenum);
  2275 extern void APIENTRY glFragmentLightfSGIX (GLenum, GLenum, GLfloat);
  2276 extern void APIENTRY glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *);
  2277 extern void APIENTRY glFragmentLightiSGIX (GLenum, GLenum, GLint);
  2278 extern void APIENTRY glFragmentLightivSGIX (GLenum, GLenum, const GLint *);
  2279 extern void APIENTRY glFragmentLightModelfSGIX (GLenum, GLfloat);
  2280 extern void APIENTRY glFragmentLightModelfvSGIX (GLenum, const GLfloat *);
  2281 extern void APIENTRY glFragmentLightModeliSGIX (GLenum, GLint);
  2282 extern void APIENTRY glFragmentLightModelivSGIX (GLenum, const GLint *);
  2283 extern void APIENTRY glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat);
  2284 extern void APIENTRY glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat *);
  2285 extern void APIENTRY glFragmentMaterialiSGIX (GLenum, GLenum, GLint);
  2286 extern void APIENTRY glFragmentMaterialivSGIX (GLenum, GLenum, const GLint *);
  2287 extern void APIENTRY glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *);
  2288 extern void APIENTRY glGetFragmentLightivSGIX (GLenum, GLenum, GLint *);
  2289 extern void APIENTRY glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *);
  2290 extern void APIENTRY glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *);
  2291 extern void APIENTRY glLightEnviSGIX (GLenum, GLint);
  2292 #endif /* GL_GLEXT_PROTOTYPES */
  2293 typedef void (APIENTRY * PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
  2294 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
  2295 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
  2296 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
  2297 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
  2298 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
  2299 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
  2300 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
  2301 typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
  2302 typedef void (APIENTRY * PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
  2303 typedef void (APIENTRY * PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
  2304 typedef void (APIENTRY * PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
  2305 typedef void (APIENTRY * PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
  2306 typedef void (APIENTRY * PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
  2307 typedef void (APIENTRY * PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
  2308 typedef void (APIENTRY * PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
  2309 typedef void (APIENTRY * PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
  2310 typedef void (APIENTRY * PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
  2311 #endif
  2312 
  2313 #ifndef GL_IBM_rasterpos_clip
  2314 #define GL_IBM_rasterpos_clip 1
  2315 #endif
  2316 
  2317 #ifndef GL_HP_texture_lighting
  2318 #define GL_HP_texture_lighting 1
  2319 #endif
  2320 
  2321 #ifndef GL_EXT_draw_range_elements
  2322 #define GL_EXT_draw_range_elements 1
  2323 #ifdef GL_GLEXT_PROTOTYPES
  2324 extern void APIENTRY glDrawRangeElementsEXT (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
  2325 #endif /* GL_GLEXT_PROTOTYPES */
  2326 typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  2327 #endif
  2328 
  2329 #ifndef GL_WIN_phong_shading
  2330 #define GL_WIN_phong_shading 1
  2331 #endif
  2332 
  2333 #ifndef GL_WIN_specular_fog
  2334 #define GL_WIN_specular_fog 1
  2335 #endif
  2336 
  2337 #ifndef GL_EXT_light_texture
  2338 #define GL_EXT_light_texture 1
  2339 #ifdef GL_GLEXT_PROTOTYPES
  2340 extern void APIENTRY glApplyTextureEXT (GLenum);
  2341 extern void APIENTRY glTextureLightEXT (GLenum);
  2342 extern void APIENTRY glTextureMaterialEXT (GLenum, GLenum);
  2343 #endif /* GL_GLEXT_PROTOTYPES */
  2344 typedef void (APIENTRY * PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
  2345 typedef void (APIENTRY * PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
  2346 typedef void (APIENTRY * PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
  2347 #endif
  2348 
  2349 #ifndef GL_SGIX_blend_alpha_minmax
  2350 #define GL_SGIX_blend_alpha_minmax 1
  2351 #endif
  2352 
  2353 #ifndef GL_EXT_bgra
  2354 #define GL_EXT_bgra 1
  2355 #endif
  2356 
  2357 #ifndef GL_INTEL_parallel_arrays
  2358 #define GL_INTEL_parallel_arrays 1
  2359 #ifdef GL_GLEXT_PROTOTYPES
  2360 extern void APIENTRY glVertexPointervINTEL (GLint, GLenum, const GLvoid* *);
  2361 extern void APIENTRY glNormalPointervINTEL (GLenum, const GLvoid* *);
  2362 extern void APIENTRY glColorPointervINTEL (GLint, GLenum, const GLvoid* *);
  2363 extern void APIENTRY glTexCoordPointervINTEL (GLint, GLenum, const GLvoid* *);
  2364 #endif /* GL_GLEXT_PROTOTYPES */
  2365 typedef void (APIENTRY * PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
  2366 typedef void (APIENTRY * PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer);
  2367 typedef void (APIENTRY * PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
  2368 typedef void (APIENTRY * PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
  2369 #endif
  2370 
  2371 #ifndef GL_HP_occlusion_test
  2372 #define GL_HP_occlusion_test 1
  2373 #endif
  2374 
  2375 #ifndef GL_EXT_pixel_transform
  2376 #define GL_EXT_pixel_transform 1
  2377 #ifdef GL_GLEXT_PROTOTYPES
  2378 extern void APIENTRY glPixelTransformParameteriEXT (GLenum, GLenum, GLint);
  2379 extern void APIENTRY glPixelTransformParameterfEXT (GLenum, GLenum, GLfloat);
  2380 extern void APIENTRY glPixelTransformParameterivEXT (GLenum, GLenum, const GLint *);
  2381 extern void APIENTRY glPixelTransformParameterfvEXT (GLenum, GLenum, const GLfloat *);
  2382 #endif /* GL_GLEXT_PROTOTYPES */
  2383 typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
  2384 typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
  2385 typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  2386 typedef void (APIENTRY * PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  2387 #endif
  2388 
  2389 #ifndef GL_EXT_pixel_transform_color_table
  2390 #define GL_EXT_pixel_transform_color_table 1
  2391 #endif
  2392 
  2393 #ifndef GL_EXT_shared_texture_palette
  2394 #define GL_EXT_shared_texture_palette 1
  2395 #endif
  2396 
  2397 #ifndef GL_EXT_separate_specular_color
  2398 #define GL_EXT_separate_specular_color 1
  2399 #endif
  2400 
  2401 #ifndef GL_EXT_secondary_color
  2402 #define GL_EXT_secondary_color 1
  2403 #ifdef GL_GLEXT_PROTOTYPES
  2404 extern void APIENTRY glSecondaryColor3bEXT (GLbyte, GLbyte, GLbyte);
  2405 extern void APIENTRY glSecondaryColor3bvEXT (const GLbyte *);
  2406 extern void APIENTRY glSecondaryColor3dEXT (GLdouble, GLdouble, GLdouble);
  2407 extern void APIENTRY glSecondaryColor3dvEXT (const GLdouble *);
  2408 extern void APIENTRY glSecondaryColor3fEXT (GLfloat, GLfloat, GLfloat);
  2409 extern void APIENTRY glSecondaryColor3fvEXT (const GLfloat *);
  2410 extern void APIENTRY glSecondaryColor3iEXT (GLint, GLint, GLint);
  2411 extern void APIENTRY glSecondaryColor3ivEXT (const GLint *);
  2412 extern void APIENTRY glSecondaryColor3sEXT (GLshort, GLshort, GLshort);
  2413 extern void APIENTRY glSecondaryColor3svEXT (const GLshort *);
  2414 extern void APIENTRY glSecondaryColor3ubEXT (GLubyte, GLubyte, GLubyte);
  2415 extern void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *);
  2416 extern void APIENTRY glSecondaryColor3uiEXT (GLuint, GLuint, GLuint);
  2417 extern void APIENTRY glSecondaryColor3uivEXT (const GLuint *);
  2418 extern void APIENTRY glSecondaryColor3usEXT (GLushort, GLushort, GLushort);
  2419 extern void APIENTRY glSecondaryColor3usvEXT (const GLushort *);
  2420 extern void APIENTRY glSecondaryColorPointerEXT (GLint, GLenum, GLsizei, GLvoid *);
  2421 #endif /* GL_GLEXT_PROTOTYPES */
  2422 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
  2423 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
  2424 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
  2425 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
  2426 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
  2427 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
  2428 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
  2429 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
  2430 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
  2431 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
  2432 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
  2433 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
  2434 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
  2435 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
  2436 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
  2437 typedef void (APIENTRY * PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
  2438 typedef void (APIENTRY * PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer);
  2439 #endif
  2440 
  2441 #ifndef GL_EXT_texture_perturb_normal
  2442 #define GL_EXT_texture_perturb_normal 1
  2443 #ifdef GL_GLEXT_PROTOTYPES
  2444 extern void APIENTRY glTextureNormalEXT (GLenum);
  2445 #endif /* GL_GLEXT_PROTOTYPES */
  2446 typedef void (APIENTRY * PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
  2447 #endif
  2448 
  2449 #ifndef GL_EXT_multi_draw_arrays
  2450 #define GL_EXT_multi_draw_arrays 1
  2451 #ifdef GL_GLEXT_PROTOTYPES
  2452 extern void APIENTRY glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsizei);
  2453 extern void APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
  2454 #endif /* GL_GLEXT_PROTOTYPES */
  2455 typedef void (APIENTRY * PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
  2456 typedef void (APIENTRY * PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
  2457 #endif
  2458 
  2459 #ifndef GL_EXT_fog_coord
  2460 #define GL_EXT_fog_coord 1
  2461 #ifdef GL_GLEXT_PROTOTYPES
  2462 extern void APIENTRY glFogCoordfEXT (GLfloat);
  2463 extern void APIENTRY glFogCoordfvEXT (const GLfloat *);
  2464 extern void APIENTRY glFogCoorddEXT (GLdouble);
  2465 extern void APIENTRY glFogCoorddvEXT (const GLdouble *);
  2466 extern void APIENTRY glFogCoordPointerEXT (GLenum, GLsizei, const GLvoid *);
  2467 #endif /* GL_GLEXT_PROTOTYPES */
  2468 typedef void (APIENTRY * PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
  2469 typedef void (APIENTRY * PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
  2470 typedef void (APIENTRY * PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
  2471 typedef void (APIENTRY * PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
  2472 typedef void (APIENTRY * PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  2473 #endif
  2474 
  2475 #ifndef GL_REND_screen_coordinates
  2476 #define GL_REND_screen_coordinates 1
  2477 #endif
  2478 
  2479 #ifndef GL_EXT_coordinate_frame
  2480 #define GL_EXT_coordinate_frame 1
  2481 #ifdef GL_GLEXT_PROTOTYPES
  2482 extern void APIENTRY glTangent3bEXT (GLbyte, GLbyte, GLbyte);
  2483 extern void APIENTRY glTangent3bvEXT (const GLbyte *);
  2484 extern void APIENTRY glTangent3dEXT (GLdouble, GLdouble, GLdouble);
  2485 extern void APIENTRY glTangent3dvEXT (const GLdouble *);
  2486 extern void APIENTRY glTangent3fEXT (GLfloat, GLfloat, GLfloat);
  2487 extern void APIENTRY glTangent3fvEXT (const GLfloat *);
  2488 extern void APIENTRY glTangent3iEXT (GLint, GLint, GLint);
  2489 extern void APIENTRY glTangent3ivEXT (const GLint *);
  2490 extern void APIENTRY glTangent3sEXT (GLshort, GLshort, GLshort);
  2491 extern void APIENTRY glTangent3svEXT (const GLshort *);
  2492 extern void APIENTRY glBinormal3bEXT (GLbyte, GLbyte, GLbyte);
  2493 extern void APIENTRY glBinormal3bvEXT (const GLbyte *);
  2494 extern void APIENTRY glBinormal3dEXT (GLdouble, GLdouble, GLdouble);
  2495 extern void APIENTRY glBinormal3dvEXT (const GLdouble *);
  2496 extern void APIENTRY glBinormal3fEXT (GLfloat, GLfloat, GLfloat);
  2497 extern void APIENTRY glBinormal3fvEXT (const GLfloat *);
  2498 extern void APIENTRY glBinormal3iEXT (GLint, GLint, GLint);
  2499 extern void APIENTRY glBinormal3ivEXT (const GLint *);
  2500 extern void APIENTRY glBinormal3sEXT (GLshort, GLshort, GLshort);
  2501 extern void APIENTRY glBinormal3svEXT (const GLshort *);
  2502 extern void APIENTRY glTangentPointerEXT (GLenum, GLsizei, const GLvoid *);
  2503 extern void APIENTRY glBinormalPointerEXT (GLenum, GLsizei, const GLvoid *);
  2504 #endif /* GL_GLEXT_PROTOTYPES */
  2505 typedef void (APIENTRY * PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
  2506 typedef void (APIENTRY * PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
  2507 typedef void (APIENTRY * PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
  2508 typedef void (APIENTRY * PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
  2509 typedef void (APIENTRY * PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
  2510 typedef void (APIENTRY * PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
  2511 typedef void (APIENTRY * PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
  2512 typedef void (APIENTRY * PFNGLTANGENT3IVEXTPROC) (const GLint *v);
  2513 typedef void (APIENTRY * PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
  2514 typedef void (APIENTRY * PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
  2515 typedef void (APIENTRY * PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
  2516 typedef void (APIENTRY * PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
  2517 typedef void (APIENTRY * PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
  2518 typedef void (APIENTRY * PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
  2519 typedef void (APIENTRY * PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
  2520 typedef void (APIENTRY * PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
  2521 typedef void (APIENTRY * PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
  2522 typedef void (APIENTRY * PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
  2523 typedef void (APIENTRY * PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
  2524 typedef void (APIENTRY * PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
  2525 typedef void (APIENTRY * PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  2526 typedef void (APIENTRY * PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  2527 #endif
  2528 
  2529 #ifndef GL_EXT_texture_env_combine
  2530 #define GL_EXT_texture_env_combine 1
  2531 #endif
  2532 
  2533 #ifndef GL_APPLE_specular_vector
  2534 #define GL_APPLE_specular_vector 1
  2535 #endif
  2536 
  2537 #ifndef GL_APPLE_transform_hint
  2538 #define GL_APPLE_transform_hint 1
  2539 #endif
  2540 
  2541 #ifndef GL_SGIX_fog_scale
  2542 #define GL_SGIX_fog_scale 1
  2543 #endif
  2544 
  2545 #ifndef GL_SUNX_constant_data
  2546 #define GL_SUNX_constant_data 1
  2547 #ifdef GL_GLEXT_PROTOTYPES
  2548 extern void APIENTRY glFinishTextureSUNX (void);
  2549 #endif /* GL_GLEXT_PROTOTYPES */
  2550 typedef void (APIENTRY * PFNGLFINISHTEXTURESUNXPROC) (void);
  2551 #endif
  2552 
  2553 #ifndef GL_SUN_global_alpha
  2554 #define GL_SUN_global_alpha 1
  2555 #ifdef GL_GLEXT_PROTOTYPES
  2556 extern void APIENTRY glGlobalAlphaFactorbSUN (GLbyte);
  2557 extern void APIENTRY glGlobalAlphaFactorsSUN (GLshort);
  2558 extern void APIENTRY glGlobalAlphaFactoriSUN (GLint);
  2559 extern void APIENTRY glGlobalAlphaFactorfSUN (GLfloat);
  2560 extern void APIENTRY glGlobalAlphaFactordSUN (GLdouble);
  2561 extern void APIENTRY glGlobalAlphaFactorubSUN (GLubyte);
  2562 extern void APIENTRY glGlobalAlphaFactorusSUN (GLushort);
  2563 extern void APIENTRY glGlobalAlphaFactoruiSUN (GLuint);
  2564 #endif /* GL_GLEXT_PROTOTYPES */
  2565 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
  2566 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
  2567 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
  2568 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
  2569 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
  2570 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
  2571 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
  2572 typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
  2573 #endif
  2574 
  2575 #ifndef GL_SUN_triangle_list
  2576 #define GL_SUN_triangle_list 1
  2577 #ifdef GL_GLEXT_PROTOTYPES
  2578 extern void APIENTRY glReplacementCodeuiSUN (GLuint);
  2579 extern void APIENTRY glReplacementCodeusSUN (GLushort);
  2580 extern void APIENTRY glReplacementCodeubSUN (GLubyte);
  2581 extern void APIENTRY glReplacementCodeuivSUN (const GLuint *);
  2582 extern void APIENTRY glReplacementCodeusvSUN (const GLushort *);
  2583 extern void APIENTRY glReplacementCodeubvSUN (const GLubyte *);
  2584 extern void APIENTRY glReplacementCodePointerSUN (GLenum, GLsizei, const GLvoid* *);
  2585 #endif /* GL_GLEXT_PROTOTYPES */
  2586 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
  2587 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
  2588 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
  2589 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
  2590 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
  2591 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
  2592 typedef void (APIENTRY * PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer);
  2593 #endif
  2594 
  2595 #ifndef GL_SUN_vertex
  2596 #define GL_SUN_vertex 1
  2597 #ifdef GL_GLEXT_PROTOTYPES
  2598 extern void APIENTRY glColor4ubVertex2fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat);
  2599 extern void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *, const GLfloat *);
  2600 extern void APIENTRY glColor4ubVertex3fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
  2601 extern void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *, const GLfloat *);
  2602 extern void APIENTRY glColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  2603 extern void APIENTRY glColor3fVertex3fvSUN (const GLfloat *, const GLfloat *);
  2604 extern void APIENTRY glNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  2605 extern void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *);
  2606 extern void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  2607 extern void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
  2608 extern void APIENTRY glTexCoord2fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  2609 extern void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *, const GLfloat *);
  2610 extern void APIENTRY glTexCoord4fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  2611 extern void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *, const GLfloat *);
  2612 extern void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat, GLfloat, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
  2613 extern void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *, const GLubyte *, const GLfloat *);
  2614 extern void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  2615 extern void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
  2616 extern void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  2617 extern void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
  2618 extern void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  2619 extern void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
  2620 extern void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  2621 extern void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
  2622 extern void APIENTRY glReplacementCodeuiVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat);
  2623 extern void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLenum *, const GLfloat *);
  2624 extern void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLenum, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
  2625 extern void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLenum *, const GLubyte *, const GLfloat *);
  2626 extern void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  2627 extern void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *);
  2628 extern void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  2629 extern void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *);
  2630 extern void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  2631 extern void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *, const GLfloat *);
  2632 extern void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  2633 extern void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *);
  2634 extern void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  2635 extern void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *, const GLfloat *);
  2636 extern void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLenum, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  2637 extern void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLenum *, const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
  2638 #endif /* GL_GLEXT_PROTOTYPES */
  2639 typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  2640 typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  2641 typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  2642 typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  2643 typedef void (APIENTRY * PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  2644 typedef void (APIENTRY * PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
  2645 typedef void (APIENTRY * PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  2646 typedef void (APIENTRY * PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
  2647 typedef void (APIENTRY * PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  2648 typedef void (APIENTRY * PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  2649 typedef void (APIENTRY * PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  2650 typedef void (APIENTRY * PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  2651 typedef void (APIENTRY * PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  2652 typedef void (APIENTRY * PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  2653 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  2654 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  2655 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  2656 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  2657 typedef void (APIENTRY * PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  2658 typedef void (APIENTRY * PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  2659 typedef void (APIENTRY * 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);
  2660 typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  2661 typedef void (APIENTRY * 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);
  2662 typedef void (APIENTRY * PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  2663 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLenum rc, GLfloat x, GLfloat y, GLfloat z);
  2664 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *v);
  2665 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLenum rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  2666 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLenum *rc, const GLubyte *c, const GLfloat *v);
  2667 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLenum rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  2668 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *c, const GLfloat *v);
  2669 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLenum rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  2670 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *n, const GLfloat *v);
  2671 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLenum rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  2672 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  2673 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLenum rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  2674 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *tc, const GLfloat *v);
  2675 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLenum rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  2676 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  2677 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLenum 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);
  2678 typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLenum *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  2679 #endif
  2680 
  2681 #ifndef GL_EXT_blend_func_separate
  2682 #define GL_EXT_blend_func_separate 1
  2683 #ifdef GL_GLEXT_PROTOTYPES
  2684 extern void APIENTRY glBlendFuncSeparateEXT (GLenum, GLenum, GLenum, GLenum);
  2685 #endif /* GL_GLEXT_PROTOTYPES */
  2686 typedef void (APIENTRY * PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  2687 #endif
  2688 
  2689 #ifndef GL_INGR_color_clamp
  2690 #define GL_INGR_color_clamp 1
  2691 #endif
  2692 
  2693 #ifndef GL_INGR_interlace_read
  2694 #define GL_INGR_interlace_read 1
  2695 #endif
  2696 
  2697 #ifndef GL_EXT_stencil_wrap
  2698 #define GL_EXT_stencil_wrap 1
  2699 #endif
  2700 
  2701 #ifndef GL_EXT_422_pixels
  2702 #define GL_EXT_422_pixels 1
  2703 #endif
  2704 
  2705 #ifndef GL_NV_texgen_reflection
  2706 #define GL_NV_texgen_reflection 1
  2707 #endif
  2708 
  2709 #ifndef GL_SUN_convolution_border_modes
  2710 #define GL_SUN_convolution_border_modes 1
  2711 #endif
  2712 
  2713 #ifndef GL_EXT_texture_env_add
  2714 #define GL_EXT_texture_env_add 1
  2715 #endif
  2716 
  2717 #ifndef GL_EXT_texture_lod_bias
  2718 #define GL_EXT_texture_lod_bias 1
  2719 #endif
  2720 
  2721 #ifndef GL_EXT_texture_filter_anisotropic
  2722 #define GL_EXT_texture_filter_anisotropic 1
  2723 #endif
  2724 
  2725 #ifndef GL_EXT_vertex_weighting
  2726 #define GL_EXT_vertex_weighting 1
  2727 #ifdef GL_GLEXT_PROTOTYPES
  2728 extern void APIENTRY glVertexWeightfEXT (GLfloat);
  2729 extern void APIENTRY glVertexWeightfvEXT (const GLfloat *);
  2730 extern void APIENTRY glVertexWeightPointerEXT (GLsizei, GLenum, GLsizei, const GLvoid *);
  2731 #endif /* GL_GLEXT_PROTOTYPES */
  2732 typedef void (APIENTRY * PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
  2733 typedef void (APIENTRY * PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
  2734 typedef void (APIENTRY * PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer);
  2735 #endif
  2736 
  2737 #ifndef GL_NV_light_max_exponent
  2738 #define GL_NV_light_max_exponent 1
  2739 #endif
  2740 
  2741 #ifndef GL_NV_vertex_array_range
  2742 #define GL_NV_vertex_array_range 1
  2743 #ifdef GL_GLEXT_PROTOTYPES
  2744 extern void APIENTRY glFlushVertexArrayRangeNV (void);
  2745 extern void APIENTRY glVertexArrayRangeNV (GLsizei, const GLvoid *);
  2746 #endif /* GL_GLEXT_PROTOTYPES */
  2747 typedef void (APIENTRY * PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
  2748 typedef void (APIENTRY * PFNGLVERTEXARRAYRANGENVPROC) (GLsizei size, const GLvoid *pointer);
  2749 #endif
  2750 
  2751 #ifndef GL_NV_register_combiners
  2752 #define GL_NV_register_combiners 1
  2753 #ifdef GL_GLEXT_PROTOTYPES
  2754 extern void APIENTRY glCombinerParameterfvNV (GLenum, const GLfloat *);
  2755 extern void APIENTRY glCombinerParameterfNV (GLenum, GLfloat);
  2756 extern void APIENTRY glCombinerParameterivNV (GLenum, const GLint *);
  2757 extern void APIENTRY glCombinerParameteriNV (GLenum, GLint);
  2758 extern void APIENTRY glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum);
  2759 extern void APIENTRY glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean);
  2760 extern void APIENTRY glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum);
  2761 extern void APIENTRY glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum, GLenum, GLfloat *);
  2762 extern void APIENTRY glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum, GLenum, GLint *);
  2763 #ifdef VMS
  2764    #define glGetCombinerOutputParameterfvNV glGetCombinerOutputParameterfvN
  2765    #define glGetCombinerOutputParameterivNV glGetCombinerOutputParameterivN
  2766    #define glGetFinalCombinerInputParameterfvNV glGetFinalCombinerInputParafvNV
  2767    #define glGetFinalCombinerInputParameterivNV glGetFinalCombinerInputParaivNV
  2768 #endif
  2769 extern void APIENTRY glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenum, GLfloat *);
  2770 extern void APIENTRY glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenum, GLint *);
  2771 extern void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, GLfloat *);
  2772 extern void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum, GLenum, GLint *);
  2773 #endif /* GL_GLEXT_PROTOTYPES */
  2774 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
  2775 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
  2776 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  2777 typedef void (APIENTRY * PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
  2778 typedef void (APIENTRY * PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  2779 typedef void (APIENTRY * PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  2780 typedef void (APIENTRY * PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  2781 typedef void (APIENTRY * PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
  2782 typedef void (APIENTRY * PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
  2783 typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
  2784 typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
  2785 typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
  2786 typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
  2787 #endif
  2788 
  2789 #ifndef GL_NV_fog_distance
  2790 #define GL_NV_fog_distance 1
  2791 #endif
  2792 
  2793 #ifndef GL_NV_texgen_emboss
  2794 #define GL_NV_texgen_emboss 1
  2795 #endif
  2796 
  2797 #ifndef GL_NV_blend_square
  2798 #define GL_NV_blend_square 1
  2799 #endif
  2800 
  2801 #ifndef GL_NV_texture_env_combine4
  2802 #define GL_NV_texture_env_combine4 1
  2803 #endif
  2804 
  2805 #ifndef GL_MESA_resize_buffers
  2806 #define GL_MESA_resize_buffers 1
  2807 #ifdef GL_GLEXT_PROTOTYPES
  2808 extern void APIENTRY glResizeBuffersMESA (void);
  2809 #endif /* GL_GLEXT_PROTOTYPES */
  2810 typedef void (APIENTRY * PFNGLRESIZEBUFFERSMESAPROC) (void);
  2811 #endif
  2812 
  2813 #ifndef GL_MESA_window_pos
  2814 #define GL_MESA_window_pos 1
  2815 #ifdef GL_GLEXT_PROTOTYPES
  2816 extern void APIENTRY glWindowPos2dMESA (GLdouble, GLdouble);
  2817 extern void APIENTRY glWindowPos2dvMESA (const GLdouble *);
  2818 extern void APIENTRY glWindowPos2fMESA (GLfloat, GLfloat);
  2819 extern void APIENTRY glWindowPos2fvMESA (const GLfloat *);
  2820 extern void APIENTRY glWindowPos2iMESA (GLint, GLint);
  2821 extern void APIENTRY glWindowPos2ivMESA (const GLint *);
  2822 extern void APIENTRY glWindowPos2sMESA (GLshort, GLshort);
  2823 extern void APIENTRY glWindowPos2svMESA (const GLshort *);
  2824 extern void APIENTRY glWindowPos3dMESA (GLdouble, GLdouble, GLdouble);
  2825 extern void APIENTRY glWindowPos3dvMESA (const GLdouble *);
  2826 extern void APIENTRY glWindowPos3fMESA (GLfloat, GLfloat, GLfloat);
  2827 extern void APIENTRY glWindowPos3fvMESA (const GLfloat *);
  2828 extern void APIENTRY glWindowPos3iMESA (GLint, GLint, GLint);
  2829 extern void APIENTRY glWindowPos3ivMESA (const GLint *);
  2830 extern void APIENTRY glWindowPos3sMESA (GLshort, GLshort, GLshort);
  2831 extern void APIENTRY glWindowPos3svMESA (const GLshort *);
  2832 extern void APIENTRY glWindowPos4dMESA (GLdouble, GLdouble, GLdouble, GLdouble);
  2833 extern void APIENTRY glWindowPos4dvMESA (const GLdouble *);
  2834 extern void APIENTRY glWindowPos4fMESA (GLfloat, GLfloat, GLfloat, GLfloat);
  2835 extern void APIENTRY glWindowPos4fvMESA (const GLfloat *);
  2836 extern void APIENTRY glWindowPos4iMESA (GLint, GLint, GLint, GLint);
  2837 extern void APIENTRY glWindowPos4ivMESA (const GLint *);
  2838 extern void APIENTRY glWindowPos4sMESA (GLshort, GLshort, GLshort, GLshort);
  2839 extern void APIENTRY glWindowPos4svMESA (const GLshort *);
  2840 #endif /* GL_GLEXT_PROTOTYPES */
  2841 typedef void (APIENTRY * PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
  2842 typedef void (APIENTRY * PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
  2843 typedef void (APIENTRY * PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
  2844 typedef void (APIENTRY * PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
  2845 typedef void (APIENTRY * PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
  2846 typedef void (APIENTRY * PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
  2847 typedef void (APIENTRY * PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
  2848 typedef void (APIENTRY * PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
  2849 typedef void (APIENTRY * PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
  2850 typedef void (APIENTRY * PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
  2851 typedef void (APIENTRY * PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
  2852 typedef void (APIENTRY * PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
  2853 typedef void (APIENTRY * PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
  2854 typedef void (APIENTRY * PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
  2855 typedef void (APIENTRY * PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
  2856 typedef void (APIENTRY * PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
  2857 typedef void (APIENTRY * PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2858 typedef void (APIENTRY * PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
  2859 typedef void (APIENTRY * PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  2860 typedef void (APIENTRY * PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
  2861 typedef void (APIENTRY * PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
  2862 typedef void (APIENTRY * PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
  2863 typedef void (APIENTRY * PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
  2864 typedef void (APIENTRY * PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
  2865 #endif
  2866 
  2867 #ifndef GL_IBM_cull_vertex
  2868 #define GL_IBM_cull_vertex 1
  2869 #endif
  2870 
  2871 #ifndef GL_IBM_multimode_draw_arrays
  2872 #define GL_IBM_multimode_draw_arrays 1
  2873 #ifdef GL_GLEXT_PROTOTYPES
  2874 extern void APIENTRY glMultiModeDrawArraysIBM (GLenum, const GLint *, const GLsizei *, GLsizei, GLint);
  2875 extern void APIENTRY glMultiModeDrawElementsIBM (const GLenum *, const GLsizei *, GLenum, const GLvoid* *, GLsizei, GLint);
  2876 #endif /* GL_GLEXT_PROTOTYPES */
  2877 typedef void (APIENTRY * PFNGLMULTIMODEDRAWARRAYSIBMPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  2878 typedef void (APIENTRY * PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount, GLint modestride);
  2879 #endif
  2880 
  2881 #ifndef GL_IBM_vertex_array_lists
  2882 #define GL_IBM_vertex_array_lists 1
  2883 #ifdef GL_GLEXT_PROTOTYPES
  2884 extern void APIENTRY glColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
  2885 extern void APIENTRY glSecondaryColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
  2886 extern void APIENTRY glEdgeFlagPointerListIBM (GLint, const GLboolean* *, GLint);
  2887 extern void APIENTRY glFogCoordPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
  2888 extern void APIENTRY glIndexPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
  2889 extern void APIENTRY glNormalPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
  2890 extern void APIENTRY glTexCoordPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
  2891 extern void APIENTRY glVertexPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
  2892 #endif /* GL_GLEXT_PROTOTYPES */
  2893 typedef void (APIENTRY * PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  2894 typedef void (APIENTRY * PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  2895 typedef void (APIENTRY * PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride);
  2896 typedef void (APIENTRY * PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  2897 typedef void (APIENTRY * PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  2898 typedef void (APIENTRY * PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  2899 typedef void (APIENTRY * PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  2900 typedef void (APIENTRY * PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  2901 #endif
  2902 
  2903 #ifndef GL_SGIX_subsample
  2904 #define GL_SGIX_subsample 1
  2905 #endif
  2906 
  2907 #ifndef GL_SGIX_ycrcba
  2908 #define GL_SGIX_ycrcba 1
  2909 #endif
  2910 
  2911 #ifndef GL_SGIX_ycrcb_subsample
  2912 #define GL_SGIX_ycrcb_subsample 1
  2913 #endif
  2914 
  2915 #ifndef GL_SGIX_depth_pass_instrument
  2916 #define GL_SGIX_depth_pass_instrument 1
  2917 #endif
  2918 
  2919 #ifndef GL_3DFX_texture_compression_FXT1
  2920 #define GL_3DFX_texture_compression_FXT1 1
  2921 #endif
  2922 
  2923 #ifndef GL_3DFX_multisample
  2924 #define GL_3DFX_multisample 1
  2925 #endif
  2926 
  2927 #ifndef GL_3DFX_tbuffer
  2928 #define GL_3DFX_tbuffer 1
  2929 #ifdef GL_GLEXT_PROTOTYPES
  2930 extern void APIENTRY glTbufferMask3DFX (GLuint);
  2931 #endif /* GL_GLEXT_PROTOTYPES */
  2932 typedef void (APIENTRY * PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
  2933 #endif
  2934 
  2935 #ifndef GL_EXT_multisample
  2936 #define GL_EXT_multisample 1
  2937 #ifdef GL_GLEXT_PROTOTYPES
  2938 extern void APIENTRY glSampleMaskEXT (GLclampf, GLboolean);
  2939 extern void APIENTRY glSamplePatternEXT (GLenum);
  2940 #endif /* GL_GLEXT_PROTOTYPES */
  2941 typedef void (APIENTRY * PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
  2942 typedef void (APIENTRY * PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
  2943 #endif
  2944 
  2945 #ifndef GL_SGI_vertex_preclip
  2946 #define GL_SGI_vertex_preclip 1
  2947 #endif
  2948 
  2949 #ifndef GL_SGIX_convolution_accuracy
  2950 #define GL_SGIX_convolution_accuracy 1
  2951 #endif
  2952 
  2953 #ifndef GL_SGIX_resample
  2954 #define GL_SGIX_resample 1
  2955 #endif
  2956 
  2957 #ifndef GL_SGIS_point_line_texgen
  2958 #define GL_SGIS_point_line_texgen 1
  2959 #endif
  2960 
  2961 #ifndef GL_SGIS_texture_color_mask
  2962 #define GL_SGIS_texture_color_mask 1
  2963 #ifdef GL_GLEXT_PROTOTYPES
  2964 extern void APIENTRY glTextureColorMaskSGIS (GLboolean, GLboolean, GLboolean, GLboolean);
  2965 #endif /* GL_GLEXT_PROTOTYPES */
  2966 typedef void (APIENTRY * PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  2967 #endif
  2968 
  2969 
  2970 #ifdef __cplusplus
  2971 }
  2972 #endif
  2973 
  2974 #endif /* __glext_h_ */
  2975 #endif /* NO_SDL_GLEXT */