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