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