include/SDL_opengl.h
author Sam Lantinga <slouken@libsdl.org>
Wed, 12 Apr 2006 14:37:05 +0000
changeset 1619 e79e4c5e531b
parent 1430 df0bcc9c7c95
child 1662 782fd950bd46
child 1895 c121d94672cb
child 4159 a1b03ba2fcd0
permissions -rw-r--r--
From Anders F Bjorklund:

When switching to "UNIX-style paths" as needed for the new includes,
including <GL/gl.h> and <GL/glu.h> doesn't work anymore on Mac OS...

The two headers are really located in the OpenGL SDK 1.2 CFM like this:
OpenGL:Headers:gl.h
OpenGL:Headers:glu.h

There are also some compat copies, that *used* to work with Mac paths:
OpenGL:Headers:GL/gl.h
OpenGL:Headers:GL/glu.h

The easiest fix is to make SDL_opengl.h include the proper header names,
by adding a special case for the MACOS platform in addition to the MACOSX
slouken@214
     1
/*
slouken@214
     2
    SDL - Simple DirectMedia Layer
slouken@1312
     3
    Copyright (C) 1997-2006 Sam Lantinga
slouken@214
     4
slouken@214
     5
    This library is free software; you can redistribute it and/or
slouken@1312
     6
    modify it under the terms of the GNU Lesser General Public
slouken@214
     7
    License as published by the Free Software Foundation; either
slouken@1312
     8
    version 2.1 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@1312
    13
    Lesser General Public License for more details.
slouken@1312
    14
slouken@1312
    15
    You should have received a copy of the GNU Lesser General Public
slouken@1312
    16
    License along with this library; if not, write to the Free Software
slouken@1312
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@214
    18
slouken@214
    19
    Sam Lantinga
slouken@251
    20
    slouken@libsdl.org
slouken@214
    21
*/
slouken@214
    22
slouken@214
    23
/* This is a simple file to encapsulate the OpenGL API headers */
slouken@214
    24
slouken@1402
    25
#include "SDL_config.h"
slouken@1402
    26
slouken@1402
    27
#ifdef __WIN32__
slouken@214
    28
#define WIN32_LEAN_AND_MEAN
slouken@725
    29
#ifndef NOMINMAX
slouken@600
    30
#define NOMINMAX	/* Don't defined min() and max() */
slouken@725
    31
#endif
slouken@214
    32
#include <windows.h>
slouken@214
    33
#endif
slouken@932
    34
#ifndef NO_SDL_GLEXT
slouken@932
    35
#define __glext_h_  /* Don't let gl.h include glext.h */
slouken@932
    36
#endif
slouken@1424
    37
#if defined(__MACOSX__)
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@1619
    40
#elif defined(__MACOS__)
slouken@1619
    41
#include <gl.h>		/* Header File For The OpenGL Library */
slouken@1619
    42
#include <glu.h>	/* Header File For The GLU Library */
slouken@214
    43
#else
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@932
    46
#endif
slouken@214
    47
#ifndef NO_SDL_GLEXT
slouken@214
    48
#undef __glext_h_
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@1205
    82
** Inc. The Original Code is Copyright (c) 1991-2004 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@843
    92
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
slouken@843
    93
#define WIN32_LEAN_AND_MEAN 1
slouken@843
    94
#include <windows.h>
slouken@843
    95
#endif
slouken@843
    96
slouken@214
    97
#ifndef APIENTRY
slouken@214
    98
#define APIENTRY
slouken@214
    99
#endif
slouken@843
   100
#ifndef APIENTRYP
slouken@843
   101
#define APIENTRYP APIENTRY *
slouken@843
   102
#endif
slouken@843
   103
#ifndef GLAPI
slouken@843
   104
#define GLAPI extern
slouken@843
   105
#endif
slouken@214
   106
slouken@312
   107
/*************************************************************/
slouken@214
   108
slouken@312
   109
/* Header file version number, required by OpenGL ABI for Linux */
slouken@1205
   110
/* glext.h last updated 2005/06/20 */
slouken@843
   111
/* Current version at http://oss.sgi.com/projects/ogl-sample/registry/ */
slouken@1205
   112
#define GL_GLEXT_VERSION 29
slouken@214
   113
slouken@312
   114
#ifndef GL_VERSION_1_2
slouken@843
   115
#define GL_UNSIGNED_BYTE_3_3_2            0x8032
slouken@843
   116
#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
slouken@843
   117
#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
slouken@843
   118
#define GL_UNSIGNED_INT_8_8_8_8           0x8035
slouken@843
   119
#define GL_UNSIGNED_INT_10_10_10_2        0x8036
slouken@843
   120
#define GL_RESCALE_NORMAL                 0x803A
slouken@843
   121
#define GL_TEXTURE_BINDING_3D             0x806A
slouken@843
   122
#define GL_PACK_SKIP_IMAGES               0x806B
slouken@843
   123
#define GL_PACK_IMAGE_HEIGHT              0x806C
slouken@843
   124
#define GL_UNPACK_SKIP_IMAGES             0x806D
slouken@843
   125
#define GL_UNPACK_IMAGE_HEIGHT            0x806E
slouken@843
   126
#define GL_TEXTURE_3D                     0x806F
slouken@843
   127
#define GL_PROXY_TEXTURE_3D               0x8070
slouken@843
   128
#define GL_TEXTURE_DEPTH                  0x8071
slouken@843
   129
#define GL_TEXTURE_WRAP_R                 0x8072
slouken@843
   130
#define GL_MAX_3D_TEXTURE_SIZE            0x8073
slouken@843
   131
#define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
slouken@843
   132
#define GL_UNSIGNED_SHORT_5_6_5           0x8363
slouken@843
   133
#define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
slouken@843
   134
#define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
slouken@843
   135
#define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
slouken@843
   136
#define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
slouken@843
   137
#define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
slouken@843
   138
#define GL_BGR                            0x80E0
slouken@843
   139
#define GL_BGRA                           0x80E1
slouken@843
   140
#define GL_MAX_ELEMENTS_VERTICES          0x80E8
slouken@843
   141
#define GL_MAX_ELEMENTS_INDICES           0x80E9
slouken@843
   142
#define GL_CLAMP_TO_EDGE                  0x812F
slouken@843
   143
#define GL_TEXTURE_MIN_LOD                0x813A
slouken@843
   144
#define GL_TEXTURE_MAX_LOD                0x813B
slouken@843
   145
#define GL_TEXTURE_BASE_LEVEL             0x813C
slouken@843
   146
#define GL_TEXTURE_MAX_LEVEL              0x813D
slouken@843
   147
#define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
slouken@843
   148
#define GL_SINGLE_COLOR                   0x81F9
slouken@843
   149
#define GL_SEPARATE_SPECULAR_COLOR        0x81FA
slouken@843
   150
#define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
slouken@843
   151
#define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
slouken@843
   152
#define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
slouken@843
   153
#define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
slouken@843
   154
#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
slouken@843
   155
#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
slouken@843
   156
#endif
slouken@843
   157
slouken@843
   158
#ifndef GL_ARB_imaging
slouken@312
   159
#define GL_CONSTANT_COLOR                 0x8001
slouken@312
   160
#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
slouken@312
   161
#define GL_CONSTANT_ALPHA                 0x8003
slouken@312
   162
#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
slouken@312
   163
#define GL_BLEND_COLOR                    0x8005
slouken@312
   164
#define GL_FUNC_ADD                       0x8006
slouken@312
   165
#define GL_MIN                            0x8007
slouken@312
   166
#define GL_MAX                            0x8008
slouken@312
   167
#define GL_BLEND_EQUATION                 0x8009
slouken@312
   168
#define GL_FUNC_SUBTRACT                  0x800A
slouken@312
   169
#define GL_FUNC_REVERSE_SUBTRACT          0x800B
slouken@312
   170
#define GL_CONVOLUTION_1D                 0x8010
slouken@312
   171
#define GL_CONVOLUTION_2D                 0x8011
slouken@312
   172
#define GL_SEPARABLE_2D                   0x8012
slouken@312
   173
#define GL_CONVOLUTION_BORDER_MODE        0x8013
slouken@312
   174
#define GL_CONVOLUTION_FILTER_SCALE       0x8014
slouken@312
   175
#define GL_CONVOLUTION_FILTER_BIAS        0x8015
slouken@312
   176
#define GL_REDUCE                         0x8016
slouken@312
   177
#define GL_CONVOLUTION_FORMAT             0x8017
slouken@312
   178
#define GL_CONVOLUTION_WIDTH              0x8018
slouken@312
   179
#define GL_CONVOLUTION_HEIGHT             0x8019
slouken@312
   180
#define GL_MAX_CONVOLUTION_WIDTH          0x801A
slouken@312
   181
#define GL_MAX_CONVOLUTION_HEIGHT         0x801B
slouken@312
   182
#define GL_POST_CONVOLUTION_RED_SCALE     0x801C
slouken@312
   183
#define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
slouken@312
   184
#define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
slouken@312
   185
#define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
slouken@312
   186
#define GL_POST_CONVOLUTION_RED_BIAS      0x8020
slouken@312
   187
#define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
slouken@312
   188
#define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
slouken@312
   189
#define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
slouken@312
   190
#define GL_HISTOGRAM                      0x8024
slouken@312
   191
#define GL_PROXY_HISTOGRAM                0x8025
slouken@312
   192
#define GL_HISTOGRAM_WIDTH                0x8026
slouken@312
   193
#define GL_HISTOGRAM_FORMAT               0x8027
slouken@312
   194
#define GL_HISTOGRAM_RED_SIZE             0x8028
slouken@312
   195
#define GL_HISTOGRAM_GREEN_SIZE           0x8029
slouken@312
   196
#define GL_HISTOGRAM_BLUE_SIZE            0x802A
slouken@312
   197
#define GL_HISTOGRAM_ALPHA_SIZE           0x802B
slouken@312
   198
#define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
slouken@312
   199
#define GL_HISTOGRAM_SINK                 0x802D
slouken@312
   200
#define GL_MINMAX                         0x802E
slouken@312
   201
#define GL_MINMAX_FORMAT                  0x802F
slouken@312
   202
#define GL_MINMAX_SINK                    0x8030
slouken@312
   203
#define GL_TABLE_TOO_LARGE                0x8031
slouken@312
   204
#define GL_COLOR_MATRIX                   0x80B1
slouken@312
   205
#define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
slouken@312
   206
#define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
slouken@312
   207
#define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
slouken@312
   208
#define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
slouken@312
   209
#define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
slouken@312
   210
#define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
slouken@312
   211
#define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
slouken@312
   212
#define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
slouken@312
   213
#define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
slouken@843
   214
#define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
slouken@312
   215
#define GL_COLOR_TABLE                    0x80D0
slouken@312
   216
#define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
slouken@312
   217
#define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
slouken@312
   218
#define GL_PROXY_COLOR_TABLE              0x80D3
slouken@312
   219
#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
slouken@312
   220
#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
slouken@312
   221
#define GL_COLOR_TABLE_SCALE              0x80D6
slouken@312
   222
#define GL_COLOR_TABLE_BIAS               0x80D7
slouken@312
   223
#define GL_COLOR_TABLE_FORMAT             0x80D8
slouken@312
   224
#define GL_COLOR_TABLE_WIDTH              0x80D9
slouken@312
   225
#define GL_COLOR_TABLE_RED_SIZE           0x80DA
slouken@312
   226
#define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
slouken@312
   227
#define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
slouken@312
   228
#define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
slouken@312
   229
#define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
slouken@312
   230
#define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
slouken@843
   231
#define GL_CONSTANT_BORDER                0x8151
slouken@843
   232
#define GL_REPLICATE_BORDER               0x8153
slouken@843
   233
#define GL_CONVOLUTION_BORDER_COLOR       0x8154
slouken@843
   234
#endif
slouken@843
   235
slouken@843
   236
#ifndef GL_VERSION_1_3
slouken@843
   237
#define GL_TEXTURE0                       0x84C0
slouken@843
   238
#define GL_TEXTURE1                       0x84C1
slouken@843
   239
#define GL_TEXTURE2                       0x84C2
slouken@843
   240
#define GL_TEXTURE3                       0x84C3
slouken@843
   241
#define GL_TEXTURE4                       0x84C4
slouken@843
   242
#define GL_TEXTURE5                       0x84C5
slouken@843
   243
#define GL_TEXTURE6                       0x84C6
slouken@843
   244
#define GL_TEXTURE7                       0x84C7
slouken@843
   245
#define GL_TEXTURE8                       0x84C8
slouken@843
   246
#define GL_TEXTURE9                       0x84C9
slouken@843
   247
#define GL_TEXTURE10                      0x84CA
slouken@843
   248
#define GL_TEXTURE11                      0x84CB
slouken@843
   249
#define GL_TEXTURE12                      0x84CC
slouken@843
   250
#define GL_TEXTURE13                      0x84CD
slouken@843
   251
#define GL_TEXTURE14                      0x84CE
slouken@843
   252
#define GL_TEXTURE15                      0x84CF
slouken@843
   253
#define GL_TEXTURE16                      0x84D0
slouken@843
   254
#define GL_TEXTURE17                      0x84D1
slouken@843
   255
#define GL_TEXTURE18                      0x84D2
slouken@843
   256
#define GL_TEXTURE19                      0x84D3
slouken@843
   257
#define GL_TEXTURE20                      0x84D4
slouken@843
   258
#define GL_TEXTURE21                      0x84D5
slouken@843
   259
#define GL_TEXTURE22                      0x84D6
slouken@843
   260
#define GL_TEXTURE23                      0x84D7
slouken@843
   261
#define GL_TEXTURE24                      0x84D8
slouken@843
   262
#define GL_TEXTURE25                      0x84D9
slouken@843
   263
#define GL_TEXTURE26                      0x84DA
slouken@843
   264
#define GL_TEXTURE27                      0x84DB
slouken@843
   265
#define GL_TEXTURE28                      0x84DC
slouken@843
   266
#define GL_TEXTURE29                      0x84DD
slouken@843
   267
#define GL_TEXTURE30                      0x84DE
slouken@843
   268
#define GL_TEXTURE31                      0x84DF
slouken@843
   269
#define GL_ACTIVE_TEXTURE                 0x84E0
slouken@843
   270
#define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
slouken@843
   271
#define GL_MAX_TEXTURE_UNITS              0x84E2
slouken@843
   272
#define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
slouken@843
   273
#define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
slouken@843
   274
#define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
slouken@843
   275
#define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
slouken@843
   276
#define GL_MULTISAMPLE                    0x809D
slouken@843
   277
#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
slouken@843
   278
#define GL_SAMPLE_ALPHA_TO_ONE            0x809F
slouken@843
   279
#define GL_SAMPLE_COVERAGE                0x80A0
slouken@843
   280
#define GL_SAMPLE_BUFFERS                 0x80A8
slouken@843
   281
#define GL_SAMPLES                        0x80A9
slouken@843
   282
#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
slouken@843
   283
#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
slouken@843
   284
#define GL_MULTISAMPLE_BIT                0x20000000
slouken@843
   285
#define GL_NORMAL_MAP                     0x8511
slouken@843
   286
#define GL_REFLECTION_MAP                 0x8512
slouken@843
   287
#define GL_TEXTURE_CUBE_MAP               0x8513
slouken@843
   288
#define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
slouken@843
   289
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
slouken@843
   290
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
slouken@843
   291
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
slouken@843
   292
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
slouken@843
   293
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
slouken@843
   294
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
slouken@843
   295
#define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
slouken@843
   296
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
slouken@843
   297
#define GL_COMPRESSED_ALPHA               0x84E9
slouken@843
   298
#define GL_COMPRESSED_LUMINANCE           0x84EA
slouken@843
   299
#define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
slouken@843
   300
#define GL_COMPRESSED_INTENSITY           0x84EC
slouken@843
   301
#define GL_COMPRESSED_RGB                 0x84ED
slouken@843
   302
#define GL_COMPRESSED_RGBA                0x84EE
slouken@843
   303
#define GL_TEXTURE_COMPRESSION_HINT       0x84EF
slouken@843
   304
#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
slouken@843
   305
#define GL_TEXTURE_COMPRESSED             0x86A1
slouken@843
   306
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
slouken@843
   307
#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
slouken@843
   308
#define GL_CLAMP_TO_BORDER                0x812D
slouken@843
   309
#define GL_COMBINE                        0x8570
slouken@843
   310
#define GL_COMBINE_RGB                    0x8571
slouken@843
   311
#define GL_COMBINE_ALPHA                  0x8572
slouken@843
   312
#define GL_SOURCE0_RGB                    0x8580
slouken@843
   313
#define GL_SOURCE1_RGB                    0x8581
slouken@843
   314
#define GL_SOURCE2_RGB                    0x8582
slouken@843
   315
#define GL_SOURCE0_ALPHA                  0x8588
slouken@843
   316
#define GL_SOURCE1_ALPHA                  0x8589
slouken@843
   317
#define GL_SOURCE2_ALPHA                  0x858A
slouken@843
   318
#define GL_OPERAND0_RGB                   0x8590
slouken@843
   319
#define GL_OPERAND1_RGB                   0x8591
slouken@843
   320
#define GL_OPERAND2_RGB                   0x8592
slouken@843
   321
#define GL_OPERAND0_ALPHA                 0x8598
slouken@843
   322
#define GL_OPERAND1_ALPHA                 0x8599
slouken@843
   323
#define GL_OPERAND2_ALPHA                 0x859A
slouken@843
   324
#define GL_RGB_SCALE                      0x8573
slouken@843
   325
#define GL_ADD_SIGNED                     0x8574
slouken@843
   326
#define GL_INTERPOLATE                    0x8575
slouken@843
   327
#define GL_SUBTRACT                       0x84E7
slouken@843
   328
#define GL_CONSTANT                       0x8576
slouken@843
   329
#define GL_PRIMARY_COLOR                  0x8577
slouken@843
   330
#define GL_PREVIOUS                       0x8578
slouken@843
   331
#define GL_DOT3_RGB                       0x86AE
slouken@843
   332
#define GL_DOT3_RGBA                      0x86AF
slouken@843
   333
#endif
slouken@843
   334
slouken@843
   335
#ifndef GL_VERSION_1_4
slouken@843
   336
#define GL_BLEND_DST_RGB                  0x80C8
slouken@843
   337
#define GL_BLEND_SRC_RGB                  0x80C9
slouken@843
   338
#define GL_BLEND_DST_ALPHA                0x80CA
slouken@843
   339
#define GL_BLEND_SRC_ALPHA                0x80CB
slouken@843
   340
#define GL_POINT_SIZE_MIN                 0x8126
slouken@843
   341
#define GL_POINT_SIZE_MAX                 0x8127
slouken@843
   342
#define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
slouken@843
   343
#define GL_POINT_DISTANCE_ATTENUATION     0x8129
slouken@843
   344
#define GL_GENERATE_MIPMAP                0x8191
slouken@843
   345
#define GL_GENERATE_MIPMAP_HINT           0x8192
slouken@843
   346
#define GL_DEPTH_COMPONENT16              0x81A5
slouken@843
   347
#define GL_DEPTH_COMPONENT24              0x81A6
slouken@843
   348
#define GL_DEPTH_COMPONENT32              0x81A7
slouken@843
   349
#define GL_MIRRORED_REPEAT                0x8370
slouken@843
   350
#define GL_FOG_COORDINATE_SOURCE          0x8450
slouken@843
   351
#define GL_FOG_COORDINATE                 0x8451
slouken@843
   352
#define GL_FRAGMENT_DEPTH                 0x8452
slouken@843
   353
#define GL_CURRENT_FOG_COORDINATE         0x8453
slouken@843
   354
#define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
slouken@843
   355
#define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
slouken@843
   356
#define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
slouken@843
   357
#define GL_FOG_COORDINATE_ARRAY           0x8457
slouken@843
   358
#define GL_COLOR_SUM                      0x8458
slouken@843
   359
#define GL_CURRENT_SECONDARY_COLOR        0x8459
slouken@843
   360
#define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
slouken@843
   361
#define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
slouken@843
   362
#define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
slouken@843
   363
#define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
slouken@843
   364
#define GL_SECONDARY_COLOR_ARRAY          0x845E
slouken@843
   365
#define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
slouken@843
   366
#define GL_TEXTURE_FILTER_CONTROL         0x8500
slouken@843
   367
#define GL_TEXTURE_LOD_BIAS               0x8501
slouken@843
   368
#define GL_INCR_WRAP                      0x8507
slouken@843
   369
#define GL_DECR_WRAP                      0x8508
slouken@843
   370
#define GL_TEXTURE_DEPTH_SIZE             0x884A
slouken@843
   371
#define GL_DEPTH_TEXTURE_MODE             0x884B
slouken@843
   372
#define GL_TEXTURE_COMPARE_MODE           0x884C
slouken@843
   373
#define GL_TEXTURE_COMPARE_FUNC           0x884D
slouken@843
   374
#define GL_COMPARE_R_TO_TEXTURE           0x884E
slouken@843
   375
#endif
slouken@843
   376
slouken@843
   377
#ifndef GL_VERSION_1_5
slouken@843
   378
#define GL_BUFFER_SIZE                    0x8764
slouken@843
   379
#define GL_BUFFER_USAGE                   0x8765
slouken@843
   380
#define GL_QUERY_COUNTER_BITS             0x8864
slouken@843
   381
#define GL_CURRENT_QUERY                  0x8865
slouken@843
   382
#define GL_QUERY_RESULT                   0x8866
slouken@843
   383
#define GL_QUERY_RESULT_AVAILABLE         0x8867
slouken@843
   384
#define GL_ARRAY_BUFFER                   0x8892
slouken@843
   385
#define GL_ELEMENT_ARRAY_BUFFER           0x8893
slouken@843
   386
#define GL_ARRAY_BUFFER_BINDING           0x8894
slouken@843
   387
#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
slouken@843
   388
#define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
slouken@843
   389
#define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
slouken@843
   390
#define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
slouken@843
   391
#define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
slouken@843
   392
#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
slouken@843
   393
#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
slouken@843
   394
#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
slouken@843
   395
#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
slouken@843
   396
#define GL_WEIGHT_ARRAY_BUFFER_BINDING    0x889E
slouken@843
   397
#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
slouken@843
   398
#define GL_READ_ONLY                      0x88B8
slouken@843
   399
#define GL_WRITE_ONLY                     0x88B9
slouken@843
   400
#define GL_READ_WRITE                     0x88BA
slouken@843
   401
#define GL_BUFFER_ACCESS                  0x88BB
slouken@843
   402
#define GL_BUFFER_MAPPED                  0x88BC
slouken@843
   403
#define GL_BUFFER_MAP_POINTER             0x88BD
slouken@843
   404
#define GL_STREAM_DRAW                    0x88E0
slouken@843
   405
#define GL_STREAM_READ                    0x88E1
slouken@843
   406
#define GL_STREAM_COPY                    0x88E2
slouken@843
   407
#define GL_STATIC_DRAW                    0x88E4
slouken@843
   408
#define GL_STATIC_READ                    0x88E5
slouken@843
   409
#define GL_STATIC_COPY                    0x88E6
slouken@843
   410
#define GL_DYNAMIC_DRAW                   0x88E8
slouken@843
   411
#define GL_DYNAMIC_READ                   0x88E9
slouken@843
   412
#define GL_DYNAMIC_COPY                   0x88EA
slouken@843
   413
#define GL_SAMPLES_PASSED                 0x8914
slouken@1205
   414
#define GL_FOG_COORD_SRC                  GL_FOG_COORDINATE_SOURCE
slouken@843
   415
#define GL_FOG_COORD                      GL_FOG_COORDINATE
slouken@843
   416
#define GL_CURRENT_FOG_COORD              GL_CURRENT_FOG_COORDINATE
slouken@843
   417
#define GL_FOG_COORD_ARRAY_TYPE           GL_FOG_COORDINATE_ARRAY_TYPE
slouken@843
   418
#define GL_FOG_COORD_ARRAY_STRIDE         GL_FOG_COORDINATE_ARRAY_STRIDE
slouken@843
   419
#define GL_FOG_COORD_ARRAY_POINTER        GL_FOG_COORDINATE_ARRAY_POINTER
slouken@843
   420
#define GL_FOG_COORD_ARRAY                GL_FOG_COORDINATE_ARRAY
slouken@843
   421
#define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
slouken@843
   422
#define GL_SRC0_RGB                       GL_SOURCE0_RGB
slouken@843
   423
#define GL_SRC1_RGB                       GL_SOURCE1_RGB
slouken@843
   424
#define GL_SRC2_RGB                       GL_SOURCE2_RGB
slouken@843
   425
#define GL_SRC0_ALPHA                     GL_SOURCE0_ALPHA
slouken@843
   426
#define GL_SRC1_ALPHA                     GL_SOURCE1_ALPHA
slouken@843
   427
#define GL_SRC2_ALPHA                     GL_SOURCE2_ALPHA
slouken@312
   428
#endif
slouken@214
   429
slouken@1205
   430
#ifndef GL_VERSION_2_0
slouken@1205
   431
#define GL_BLEND_EQUATION_RGB             GL_BLEND_EQUATION
slouken@1205
   432
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
slouken@1205
   433
#define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
slouken@1205
   434
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
slouken@1205
   435
#define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
slouken@1205
   436
#define GL_CURRENT_VERTEX_ATTRIB          0x8626
slouken@1205
   437
#define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642
slouken@1205
   438
#define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
slouken@1205
   439
#define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
slouken@1205
   440
#define GL_STENCIL_BACK_FUNC              0x8800
slouken@1205
   441
#define GL_STENCIL_BACK_FAIL              0x8801
slouken@1205
   442
#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
slouken@1205
   443
#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
slouken@1205
   444
#define GL_MAX_DRAW_BUFFERS               0x8824
slouken@1205
   445
#define GL_DRAW_BUFFER0                   0x8825
slouken@1205
   446
#define GL_DRAW_BUFFER1                   0x8826
slouken@1205
   447
#define GL_DRAW_BUFFER2                   0x8827
slouken@1205
   448
#define GL_DRAW_BUFFER3                   0x8828
slouken@1205
   449
#define GL_DRAW_BUFFER4                   0x8829
slouken@1205
   450
#define GL_DRAW_BUFFER5                   0x882A
slouken@1205
   451
#define GL_DRAW_BUFFER6                   0x882B
slouken@1205
   452
#define GL_DRAW_BUFFER7                   0x882C
slouken@1205
   453
#define GL_DRAW_BUFFER8                   0x882D
slouken@1205
   454
#define GL_DRAW_BUFFER9                   0x882E
slouken@1205
   455
#define GL_DRAW_BUFFER10                  0x882F
slouken@1205
   456
#define GL_DRAW_BUFFER11                  0x8830
slouken@1205
   457
#define GL_DRAW_BUFFER12                  0x8831
slouken@1205
   458
#define GL_DRAW_BUFFER13                  0x8832
slouken@1205
   459
#define GL_DRAW_BUFFER14                  0x8833
slouken@1205
   460
#define GL_DRAW_BUFFER15                  0x8834
slouken@1205
   461
#define GL_BLEND_EQUATION_ALPHA           0x883D
slouken@1205
   462
#define GL_POINT_SPRITE                   0x8861
slouken@1205
   463
#define GL_COORD_REPLACE                  0x8862
slouken@1205
   464
#define GL_MAX_VERTEX_ATTRIBS             0x8869
slouken@1205
   465
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
slouken@1205
   466
#define GL_MAX_TEXTURE_COORDS             0x8871
slouken@1205
   467
#define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
slouken@1205
   468
#define GL_FRAGMENT_SHADER                0x8B30
slouken@1205
   469
#define GL_VERTEX_SHADER                  0x8B31
slouken@1205
   470
#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
slouken@1205
   471
#define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
slouken@1205
   472
#define GL_MAX_VARYING_FLOATS             0x8B4B
slouken@1205
   473
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
slouken@1205
   474
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
slouken@1205
   475
#define GL_SHADER_TYPE                    0x8B4F
slouken@1205
   476
#define GL_FLOAT_VEC2                     0x8B50
slouken@1205
   477
#define GL_FLOAT_VEC3                     0x8B51
slouken@1205
   478
#define GL_FLOAT_VEC4                     0x8B52
slouken@1205
   479
#define GL_INT_VEC2                       0x8B53
slouken@1205
   480
#define GL_INT_VEC3                       0x8B54
slouken@1205
   481
#define GL_INT_VEC4                       0x8B55
slouken@1205
   482
#define GL_BOOL                           0x8B56
slouken@1205
   483
#define GL_BOOL_VEC2                      0x8B57
slouken@1205
   484
#define GL_BOOL_VEC3                      0x8B58
slouken@1205
   485
#define GL_BOOL_VEC4                      0x8B59
slouken@1205
   486
#define GL_FLOAT_MAT2                     0x8B5A
slouken@1205
   487
#define GL_FLOAT_MAT3                     0x8B5B
slouken@1205
   488
#define GL_FLOAT_MAT4                     0x8B5C
slouken@1205
   489
#define GL_SAMPLER_1D                     0x8B5D
slouken@1205
   490
#define GL_SAMPLER_2D                     0x8B5E
slouken@1205
   491
#define GL_SAMPLER_3D                     0x8B5F
slouken@1205
   492
#define GL_SAMPLER_CUBE                   0x8B60
slouken@1205
   493
#define GL_SAMPLER_1D_SHADOW              0x8B61
slouken@1205
   494
#define GL_SAMPLER_2D_SHADOW              0x8B62
slouken@1205
   495
#define GL_DELETE_STATUS                  0x8B80
slouken@1205
   496
#define GL_COMPILE_STATUS                 0x8B81
slouken@1205
   497
#define GL_LINK_STATUS                    0x8B82
slouken@1205
   498
#define GL_VALIDATE_STATUS                0x8B83
slouken@1205
   499
#define GL_INFO_LOG_LENGTH                0x8B84
slouken@1205
   500
#define GL_ATTACHED_SHADERS               0x8B85
slouken@1205
   501
#define GL_ACTIVE_UNIFORMS                0x8B86
slouken@1205
   502
#define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
slouken@1205
   503
#define GL_SHADER_SOURCE_LENGTH           0x8B88
slouken@1205
   504
#define GL_ACTIVE_ATTRIBUTES              0x8B89
slouken@1205
   505
#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
slouken@1205
   506
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
slouken@1205
   507
#define GL_SHADING_LANGUAGE_VERSION       0x8B8C
slouken@1205
   508
#define GL_CURRENT_PROGRAM                0x8B8D
slouken@1205
   509
#define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
slouken@1205
   510
#define GL_LOWER_LEFT                     0x8CA1
slouken@1205
   511
#define GL_UPPER_LEFT                     0x8CA2
slouken@1205
   512
#define GL_STENCIL_BACK_REF               0x8CA3
slouken@1205
   513
#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
slouken@1205
   514
#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
slouken@1205
   515
#endif
slouken@1205
   516
slouken@312
   517
#ifndef GL_ARB_multitexture
slouken@312
   518
#define GL_TEXTURE0_ARB                   0x84C0
slouken@312
   519
#define GL_TEXTURE1_ARB                   0x84C1
slouken@312
   520
#define GL_TEXTURE2_ARB                   0x84C2
slouken@312
   521
#define GL_TEXTURE3_ARB                   0x84C3
slouken@312
   522
#define GL_TEXTURE4_ARB                   0x84C4
slouken@312
   523
#define GL_TEXTURE5_ARB                   0x84C5
slouken@312
   524
#define GL_TEXTURE6_ARB                   0x84C6
slouken@312
   525
#define GL_TEXTURE7_ARB                   0x84C7
slouken@312
   526
#define GL_TEXTURE8_ARB                   0x84C8
slouken@312
   527
#define GL_TEXTURE9_ARB                   0x84C9
slouken@312
   528
#define GL_TEXTURE10_ARB                  0x84CA
slouken@312
   529
#define GL_TEXTURE11_ARB                  0x84CB
slouken@312
   530
#define GL_TEXTURE12_ARB                  0x84CC
slouken@312
   531
#define GL_TEXTURE13_ARB                  0x84CD
slouken@312
   532
#define GL_TEXTURE14_ARB                  0x84CE
slouken@312
   533
#define GL_TEXTURE15_ARB                  0x84CF
slouken@312
   534
#define GL_TEXTURE16_ARB                  0x84D0
slouken@312
   535
#define GL_TEXTURE17_ARB                  0x84D1
slouken@312
   536
#define GL_TEXTURE18_ARB                  0x84D2
slouken@312
   537
#define GL_TEXTURE19_ARB                  0x84D3
slouken@312
   538
#define GL_TEXTURE20_ARB                  0x84D4
slouken@312
   539
#define GL_TEXTURE21_ARB                  0x84D5
slouken@312
   540
#define GL_TEXTURE22_ARB                  0x84D6
slouken@312
   541
#define GL_TEXTURE23_ARB                  0x84D7
slouken@312
   542
#define GL_TEXTURE24_ARB                  0x84D8
slouken@312
   543
#define GL_TEXTURE25_ARB                  0x84D9
slouken@312
   544
#define GL_TEXTURE26_ARB                  0x84DA
slouken@312
   545
#define GL_TEXTURE27_ARB                  0x84DB
slouken@312
   546
#define GL_TEXTURE28_ARB                  0x84DC
slouken@312
   547
#define GL_TEXTURE29_ARB                  0x84DD
slouken@312
   548
#define GL_TEXTURE30_ARB                  0x84DE
slouken@312
   549
#define GL_TEXTURE31_ARB                  0x84DF
slouken@312
   550
#define GL_ACTIVE_TEXTURE_ARB             0x84E0
slouken@312
   551
#define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
slouken@312
   552
#define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
slouken@312
   553
#endif
slouken@214
   554
slouken@312
   555
#ifndef GL_ARB_transpose_matrix
slouken@312
   556
#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
slouken@312
   557
#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
slouken@312
   558
#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
slouken@312
   559
#define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
slouken@312
   560
#endif
slouken@214
   561
slouken@312
   562
#ifndef GL_ARB_multisample
slouken@312
   563
#define GL_MULTISAMPLE_ARB                0x809D
slouken@312
   564
#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
slouken@312
   565
#define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
slouken@312
   566
#define GL_SAMPLE_COVERAGE_ARB            0x80A0
slouken@312
   567
#define GL_SAMPLE_BUFFERS_ARB             0x80A8
slouken@312
   568
#define GL_SAMPLES_ARB                    0x80A9
slouken@312
   569
#define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
slouken@312
   570
#define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
slouken@312
   571
#define GL_MULTISAMPLE_BIT_ARB            0x20000000
slouken@312
   572
#endif
slouken@214
   573
slouken@843
   574
#ifndef GL_ARB_texture_env_add
slouken@843
   575
#endif
slouken@843
   576
slouken@312
   577
#ifndef GL_ARB_texture_cube_map
slouken@312
   578
#define GL_NORMAL_MAP_ARB                 0x8511
slouken@312
   579
#define GL_REFLECTION_MAP_ARB             0x8512
slouken@312
   580
#define GL_TEXTURE_CUBE_MAP_ARB           0x8513
slouken@312
   581
#define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
slouken@312
   582
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
slouken@312
   583
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
slouken@312
   584
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
slouken@312
   585
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
slouken@312
   586
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
slouken@312
   587
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
slouken@312
   588
#define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
slouken@312
   589
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
slouken@312
   590
#endif
slouken@214
   591
slouken@312
   592
#ifndef GL_ARB_texture_compression
slouken@312
   593
#define GL_COMPRESSED_ALPHA_ARB           0x84E9
slouken@312
   594
#define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
slouken@312
   595
#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
slouken@312
   596
#define GL_COMPRESSED_INTENSITY_ARB       0x84EC
slouken@312
   597
#define GL_COMPRESSED_RGB_ARB             0x84ED
slouken@312
   598
#define GL_COMPRESSED_RGBA_ARB            0x84EE
slouken@312
   599
#define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
slouken@843
   600
#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
slouken@312
   601
#define GL_TEXTURE_COMPRESSED_ARB         0x86A1
slouken@312
   602
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
slouken@312
   603
#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
slouken@312
   604
#endif
slouken@214
   605
slouken@843
   606
#ifndef GL_ARB_texture_border_clamp
slouken@843
   607
#define GL_CLAMP_TO_BORDER_ARB            0x812D
slouken@843
   608
#endif
slouken@843
   609
slouken@843
   610
#ifndef GL_ARB_point_parameters
slouken@843
   611
#define GL_POINT_SIZE_MIN_ARB             0x8126
slouken@843
   612
#define GL_POINT_SIZE_MAX_ARB             0x8127
slouken@843
   613
#define GL_POINT_FADE_THRESHOLD_SIZE_ARB  0x8128
slouken@843
   614
#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
slouken@843
   615
#endif
slouken@843
   616
slouken@843
   617
#ifndef GL_ARB_vertex_blend
slouken@843
   618
#define GL_MAX_VERTEX_UNITS_ARB           0x86A4
slouken@843
   619
#define GL_ACTIVE_VERTEX_UNITS_ARB        0x86A5
slouken@843
   620
#define GL_WEIGHT_SUM_UNITY_ARB           0x86A6
slouken@843
   621
#define GL_VERTEX_BLEND_ARB               0x86A7
slouken@843
   622
#define GL_CURRENT_WEIGHT_ARB             0x86A8
slouken@843
   623
#define GL_WEIGHT_ARRAY_TYPE_ARB          0x86A9
slouken@843
   624
#define GL_WEIGHT_ARRAY_STRIDE_ARB        0x86AA
slouken@843
   625
#define GL_WEIGHT_ARRAY_SIZE_ARB          0x86AB
slouken@843
   626
#define GL_WEIGHT_ARRAY_POINTER_ARB       0x86AC
slouken@843
   627
#define GL_WEIGHT_ARRAY_ARB               0x86AD
slouken@843
   628
#define GL_MODELVIEW0_ARB                 0x1700
slouken@843
   629
#define GL_MODELVIEW1_ARB                 0x850A
slouken@843
   630
#define GL_MODELVIEW2_ARB                 0x8722
slouken@843
   631
#define GL_MODELVIEW3_ARB                 0x8723
slouken@843
   632
#define GL_MODELVIEW4_ARB                 0x8724
slouken@843
   633
#define GL_MODELVIEW5_ARB                 0x8725
slouken@843
   634
#define GL_MODELVIEW6_ARB                 0x8726
slouken@843
   635
#define GL_MODELVIEW7_ARB                 0x8727
slouken@843
   636
#define GL_MODELVIEW8_ARB                 0x8728
slouken@843
   637
#define GL_MODELVIEW9_ARB                 0x8729
slouken@843
   638
#define GL_MODELVIEW10_ARB                0x872A
slouken@843
   639
#define GL_MODELVIEW11_ARB                0x872B
slouken@843
   640
#define GL_MODELVIEW12_ARB                0x872C
slouken@843
   641
#define GL_MODELVIEW13_ARB                0x872D
slouken@843
   642
#define GL_MODELVIEW14_ARB                0x872E
slouken@843
   643
#define GL_MODELVIEW15_ARB                0x872F
slouken@843
   644
#define GL_MODELVIEW16_ARB                0x8730
slouken@843
   645
#define GL_MODELVIEW17_ARB                0x8731
slouken@843
   646
#define GL_MODELVIEW18_ARB                0x8732
slouken@843
   647
#define GL_MODELVIEW19_ARB                0x8733
slouken@843
   648
#define GL_MODELVIEW20_ARB                0x8734
slouken@843
   649
#define GL_MODELVIEW21_ARB                0x8735
slouken@843
   650
#define GL_MODELVIEW22_ARB                0x8736
slouken@843
   651
#define GL_MODELVIEW23_ARB                0x8737
slouken@843
   652
#define GL_MODELVIEW24_ARB                0x8738
slouken@843
   653
#define GL_MODELVIEW25_ARB                0x8739
slouken@843
   654
#define GL_MODELVIEW26_ARB                0x873A
slouken@843
   655
#define GL_MODELVIEW27_ARB                0x873B
slouken@843
   656
#define GL_MODELVIEW28_ARB                0x873C
slouken@843
   657
#define GL_MODELVIEW29_ARB                0x873D
slouken@843
   658
#define GL_MODELVIEW30_ARB                0x873E
slouken@843
   659
#define GL_MODELVIEW31_ARB                0x873F
slouken@843
   660
#endif
slouken@843
   661
slouken@843
   662
#ifndef GL_ARB_matrix_palette
slouken@843
   663
#define GL_MATRIX_PALETTE_ARB             0x8840
slouken@843
   664
#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
slouken@843
   665
#define GL_MAX_PALETTE_MATRICES_ARB       0x8842
slouken@843
   666
#define GL_CURRENT_PALETTE_MATRIX_ARB     0x8843
slouken@843
   667
#define GL_MATRIX_INDEX_ARRAY_ARB         0x8844
slouken@843
   668
#define GL_CURRENT_MATRIX_INDEX_ARB       0x8845
slouken@843
   669
#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB    0x8846
slouken@843
   670
#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB    0x8847
slouken@843
   671
#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB  0x8848
slouken@843
   672
#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
slouken@843
   673
#endif
slouken@843
   674
slouken@843
   675
#ifndef GL_ARB_texture_env_combine
slouken@843
   676
#define GL_COMBINE_ARB                    0x8570
slouken@843
   677
#define GL_COMBINE_RGB_ARB                0x8571
slouken@843
   678
#define GL_COMBINE_ALPHA_ARB              0x8572
slouken@843
   679
#define GL_SOURCE0_RGB_ARB                0x8580
slouken@843
   680
#define GL_SOURCE1_RGB_ARB                0x8581
slouken@843
   681
#define GL_SOURCE2_RGB_ARB                0x8582
slouken@843
   682
#define GL_SOURCE0_ALPHA_ARB              0x8588
slouken@843
   683
#define GL_SOURCE1_ALPHA_ARB              0x8589
slouken@843
   684
#define GL_SOURCE2_ALPHA_ARB              0x858A
slouken@843
   685
#define GL_OPERAND0_RGB_ARB               0x8590
slouken@843
   686
#define GL_OPERAND1_RGB_ARB               0x8591
slouken@843
   687
#define GL_OPERAND2_RGB_ARB               0x8592
slouken@843
   688
#define GL_OPERAND0_ALPHA_ARB             0x8598
slouken@843
   689
#define GL_OPERAND1_ALPHA_ARB             0x8599
slouken@843
   690
#define GL_OPERAND2_ALPHA_ARB             0x859A
slouken@843
   691
#define GL_RGB_SCALE_ARB                  0x8573
slouken@843
   692
#define GL_ADD_SIGNED_ARB                 0x8574
slouken@843
   693
#define GL_INTERPOLATE_ARB                0x8575
slouken@843
   694
#define GL_SUBTRACT_ARB                   0x84E7
slouken@843
   695
#define GL_CONSTANT_ARB                   0x8576
slouken@843
   696
#define GL_PRIMARY_COLOR_ARB              0x8577
slouken@843
   697
#define GL_PREVIOUS_ARB                   0x8578
slouken@843
   698
#endif
slouken@843
   699
slouken@843
   700
#ifndef GL_ARB_texture_env_crossbar
slouken@843
   701
#endif
slouken@843
   702
slouken@843
   703
#ifndef GL_ARB_texture_env_dot3
slouken@843
   704
#define GL_DOT3_RGB_ARB                   0x86AE
slouken@843
   705
#define GL_DOT3_RGBA_ARB                  0x86AF
slouken@843
   706
#endif
slouken@843
   707
slouken@843
   708
#ifndef GL_ARB_texture_mirrored_repeat
slouken@843
   709
#define GL_MIRRORED_REPEAT_ARB            0x8370
slouken@843
   710
#endif
slouken@843
   711
slouken@843
   712
#ifndef GL_ARB_depth_texture
slouken@843
   713
#define GL_DEPTH_COMPONENT16_ARB          0x81A5
slouken@843
   714
#define GL_DEPTH_COMPONENT24_ARB          0x81A6
slouken@843
   715
#define GL_DEPTH_COMPONENT32_ARB          0x81A7
slouken@843
   716
#define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
slouken@843
   717
#define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
slouken@843
   718
#endif
slouken@843
   719
slouken@843
   720
#ifndef GL_ARB_shadow
slouken@843
   721
#define GL_TEXTURE_COMPARE_MODE_ARB       0x884C
slouken@843
   722
#define GL_TEXTURE_COMPARE_FUNC_ARB       0x884D
slouken@843
   723
#define GL_COMPARE_R_TO_TEXTURE_ARB       0x884E
slouken@843
   724
#endif
slouken@843
   725
slouken@843
   726
#ifndef GL_ARB_shadow_ambient
slouken@843
   727
#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
slouken@843
   728
#endif
slouken@843
   729
slouken@843
   730
#ifndef GL_ARB_window_pos
slouken@843
   731
#endif
slouken@843
   732
slouken@843
   733
#ifndef GL_ARB_vertex_program
slouken@843
   734
#define GL_COLOR_SUM_ARB                  0x8458
slouken@843
   735
#define GL_VERTEX_PROGRAM_ARB             0x8620
slouken@843
   736
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
slouken@843
   737
#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB   0x8623
slouken@843
   738
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
slouken@843
   739
#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB   0x8625
slouken@843
   740
#define GL_CURRENT_VERTEX_ATTRIB_ARB      0x8626
slouken@843
   741
#define GL_PROGRAM_LENGTH_ARB             0x8627
slouken@843
   742
#define GL_PROGRAM_STRING_ARB             0x8628
slouken@843
   743
#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
slouken@843
   744
#define GL_MAX_PROGRAM_MATRICES_ARB       0x862F
slouken@843
   745
#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
slouken@843
   746
#define GL_CURRENT_MATRIX_ARB             0x8641
slouken@843
   747
#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB  0x8642
slouken@843
   748
#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB    0x8643
slouken@843
   749
#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
slouken@843
   750
#define GL_PROGRAM_ERROR_POSITION_ARB     0x864B
slouken@843
   751
#define GL_PROGRAM_BINDING_ARB            0x8677
slouken@843
   752
#define GL_MAX_VERTEX_ATTRIBS_ARB         0x8869
slouken@843
   753
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
slouken@843
   754
#define GL_PROGRAM_ERROR_STRING_ARB       0x8874
slouken@843
   755
#define GL_PROGRAM_FORMAT_ASCII_ARB       0x8875
slouken@843
   756
#define GL_PROGRAM_FORMAT_ARB             0x8876
slouken@843
   757
#define GL_PROGRAM_INSTRUCTIONS_ARB       0x88A0
slouken@843
   758
#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB   0x88A1
slouken@843
   759
#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
slouken@843
   760
#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
slouken@843
   761
#define GL_PROGRAM_TEMPORARIES_ARB        0x88A4
slouken@843
   762
#define GL_MAX_PROGRAM_TEMPORARIES_ARB    0x88A5
slouken@843
   763
#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
slouken@843
   764
#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
slouken@843
   765
#define GL_PROGRAM_PARAMETERS_ARB         0x88A8
slouken@843
   766
#define GL_MAX_PROGRAM_PARAMETERS_ARB     0x88A9
slouken@843
   767
#define GL_PROGRAM_NATIVE_PARAMETERS_ARB  0x88AA
slouken@843
   768
#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
slouken@843
   769
#define GL_PROGRAM_ATTRIBS_ARB            0x88AC
slouken@843
   770
#define GL_MAX_PROGRAM_ATTRIBS_ARB        0x88AD
slouken@843
   771
#define GL_PROGRAM_NATIVE_ATTRIBS_ARB     0x88AE
slouken@843
   772
#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
slouken@843
   773
#define GL_PROGRAM_ADDRESS_REGISTERS_ARB  0x88B0
slouken@843
   774
#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
slouken@843
   775
#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
slouken@843
   776
#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
slouken@843
   777
#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
slouken@843
   778
#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
slouken@843
   779
#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
slouken@843
   780
#define GL_TRANSPOSE_CURRENT_MATRIX_ARB   0x88B7
slouken@843
   781
#define GL_MATRIX0_ARB                    0x88C0
slouken@843
   782
#define GL_MATRIX1_ARB                    0x88C1
slouken@843
   783
#define GL_MATRIX2_ARB                    0x88C2
slouken@843
   784
#define GL_MATRIX3_ARB                    0x88C3
slouken@843
   785
#define GL_MATRIX4_ARB                    0x88C4
slouken@843
   786
#define GL_MATRIX5_ARB                    0x88C5
slouken@843
   787
#define GL_MATRIX6_ARB                    0x88C6
slouken@843
   788
#define GL_MATRIX7_ARB                    0x88C7
slouken@843
   789
#define GL_MATRIX8_ARB                    0x88C8
slouken@843
   790
#define GL_MATRIX9_ARB                    0x88C9
slouken@843
   791
#define GL_MATRIX10_ARB                   0x88CA
slouken@843
   792
#define GL_MATRIX11_ARB                   0x88CB
slouken@843
   793
#define GL_MATRIX12_ARB                   0x88CC
slouken@843
   794
#define GL_MATRIX13_ARB                   0x88CD
slouken@843
   795
#define GL_MATRIX14_ARB                   0x88CE
slouken@843
   796
#define GL_MATRIX15_ARB                   0x88CF
slouken@843
   797
#define GL_MATRIX16_ARB                   0x88D0
slouken@843
   798
#define GL_MATRIX17_ARB                   0x88D1
slouken@843
   799
#define GL_MATRIX18_ARB                   0x88D2
slouken@843
   800
#define GL_MATRIX19_ARB                   0x88D3
slouken@843
   801
#define GL_MATRIX20_ARB                   0x88D4
slouken@843
   802
#define GL_MATRIX21_ARB                   0x88D5
slouken@843
   803
#define GL_MATRIX22_ARB                   0x88D6
slouken@843
   804
#define GL_MATRIX23_ARB                   0x88D7
slouken@843
   805
#define GL_MATRIX24_ARB                   0x88D8
slouken@843
   806
#define GL_MATRIX25_ARB                   0x88D9
slouken@843
   807
#define GL_MATRIX26_ARB                   0x88DA
slouken@843
   808
#define GL_MATRIX27_ARB                   0x88DB
slouken@843
   809
#define GL_MATRIX28_ARB                   0x88DC
slouken@843
   810
#define GL_MATRIX29_ARB                   0x88DD
slouken@843
   811
#define GL_MATRIX30_ARB                   0x88DE
slouken@843
   812
#define GL_MATRIX31_ARB                   0x88DF
slouken@843
   813
#endif
slouken@843
   814
slouken@843
   815
#ifndef GL_ARB_fragment_program
slouken@843
   816
#define GL_FRAGMENT_PROGRAM_ARB           0x8804
slouken@843
   817
#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB   0x8805
slouken@843
   818
#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB   0x8806
slouken@843
   819
#define GL_PROGRAM_TEX_INDIRECTIONS_ARB   0x8807
slouken@843
   820
#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
slouken@843
   821
#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
slouken@843
   822
#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
slouken@843
   823
#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
slouken@843
   824
#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
slouken@843
   825
#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
slouken@843
   826
#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
slouken@843
   827
#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
slouken@843
   828
#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
slouken@843
   829
#define GL_MAX_TEXTURE_COORDS_ARB         0x8871
slouken@843
   830
#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB    0x8872
slouken@843
   831
#endif
slouken@843
   832
slouken@843
   833
#ifndef GL_ARB_vertex_buffer_object
slouken@843
   834
#define GL_BUFFER_SIZE_ARB                0x8764
slouken@843
   835
#define GL_BUFFER_USAGE_ARB               0x8765
slouken@843
   836
#define GL_ARRAY_BUFFER_ARB               0x8892
slouken@843
   837
#define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893
slouken@843
   838
#define GL_ARRAY_BUFFER_BINDING_ARB       0x8894
slouken@843
   839
#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
slouken@843
   840
#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
slouken@843
   841
#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
slouken@843
   842
#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
slouken@843
   843
#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
slouken@843
   844
#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
slouken@843
   845
#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
slouken@843
   846
#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
slouken@843
   847
#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
slouken@843
   848
#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
slouken@843
   849
#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
slouken@843
   850
#define GL_READ_ONLY_ARB                  0x88B8
slouken@843
   851
#define GL_WRITE_ONLY_ARB                 0x88B9
slouken@843
   852
#define GL_READ_WRITE_ARB                 0x88BA
slouken@843
   853
#define GL_BUFFER_ACCESS_ARB              0x88BB
slouken@843
   854
#define GL_BUFFER_MAPPED_ARB              0x88BC
slouken@843
   855
#define GL_BUFFER_MAP_POINTER_ARB         0x88BD
slouken@843
   856
#define GL_STREAM_DRAW_ARB                0x88E0
slouken@843
   857
#define GL_STREAM_READ_ARB                0x88E1
slouken@843
   858
#define GL_STREAM_COPY_ARB                0x88E2
slouken@843
   859
#define GL_STATIC_DRAW_ARB                0x88E4
slouken@843
   860
#define GL_STATIC_READ_ARB                0x88E5
slouken@843
   861
#define GL_STATIC_COPY_ARB                0x88E6
slouken@843
   862
#define GL_DYNAMIC_DRAW_ARB               0x88E8
slouken@843
   863
#define GL_DYNAMIC_READ_ARB               0x88E9
slouken@843
   864
#define GL_DYNAMIC_COPY_ARB               0x88EA
slouken@843
   865
#endif
slouken@843
   866
slouken@843
   867
#ifndef GL_ARB_occlusion_query
slouken@843
   868
#define GL_QUERY_COUNTER_BITS_ARB         0x8864
slouken@843
   869
#define GL_CURRENT_QUERY_ARB              0x8865
slouken@843
   870
#define GL_QUERY_RESULT_ARB               0x8866
slouken@843
   871
#define GL_QUERY_RESULT_AVAILABLE_ARB     0x8867
slouken@843
   872
#define GL_SAMPLES_PASSED_ARB             0x8914
slouken@843
   873
#endif
slouken@843
   874
slouken@843
   875
#ifndef GL_ARB_shader_objects
slouken@843
   876
#define GL_PROGRAM_OBJECT_ARB             0x8B40
slouken@843
   877
#define GL_SHADER_OBJECT_ARB              0x8B48
slouken@843
   878
#define GL_OBJECT_TYPE_ARB                0x8B4E
slouken@843
   879
#define GL_OBJECT_SUBTYPE_ARB             0x8B4F
slouken@843
   880
#define GL_FLOAT_VEC2_ARB                 0x8B50
slouken@843
   881
#define GL_FLOAT_VEC3_ARB                 0x8B51
slouken@843
   882
#define GL_FLOAT_VEC4_ARB                 0x8B52
slouken@843
   883
#define GL_INT_VEC2_ARB                   0x8B53
slouken@843
   884
#define GL_INT_VEC3_ARB                   0x8B54
slouken@843
   885
#define GL_INT_VEC4_ARB                   0x8B55
slouken@843
   886
#define GL_BOOL_ARB                       0x8B56
slouken@843
   887
#define GL_BOOL_VEC2_ARB                  0x8B57
slouken@843
   888
#define GL_BOOL_VEC3_ARB                  0x8B58
slouken@843
   889
#define GL_BOOL_VEC4_ARB                  0x8B59
slouken@843
   890
#define GL_FLOAT_MAT2_ARB                 0x8B5A
slouken@843
   891
#define GL_FLOAT_MAT3_ARB                 0x8B5B
slouken@843
   892
#define GL_FLOAT_MAT4_ARB                 0x8B5C
slouken@1205
   893
#define GL_SAMPLER_1D_ARB                 0x8B5D
slouken@1205
   894
#define GL_SAMPLER_2D_ARB                 0x8B5E
slouken@1205
   895
#define GL_SAMPLER_3D_ARB                 0x8B5F
slouken@1205
   896
#define GL_SAMPLER_CUBE_ARB               0x8B60
slouken@1205
   897
#define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
slouken@1205
   898
#define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
slouken@1205
   899
#define GL_SAMPLER_2D_RECT_ARB            0x8B63
slouken@1205
   900
#define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
slouken@843
   901
#define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
slouken@843
   902
#define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
slouken@843
   903
#define GL_OBJECT_LINK_STATUS_ARB         0x8B82
slouken@843
   904
#define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
slouken@843
   905
#define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
slouken@843
   906
#define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
slouken@843
   907
#define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
slouken@843
   908
#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
slouken@843
   909
#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
slouken@843
   910
#endif
slouken@843
   911
slouken@843
   912
#ifndef GL_ARB_vertex_shader
slouken@843
   913
#define GL_VERTEX_SHADER_ARB              0x8B31
slouken@843
   914
#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
slouken@843
   915
#define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
slouken@843
   916
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
slouken@843
   917
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
slouken@843
   918
#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
slouken@843
   919
#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
slouken@843
   920
#endif
slouken@843
   921
slouken@843
   922
#ifndef GL_ARB_fragment_shader
slouken@843
   923
#define GL_FRAGMENT_SHADER_ARB            0x8B30
slouken@843
   924
#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
slouken@1205
   925
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
slouken@843
   926
#endif
slouken@843
   927
slouken@843
   928
#ifndef GL_ARB_shading_language_100
slouken@1205
   929
#define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C
slouken@843
   930
#endif
slouken@843
   931
slouken@843
   932
#ifndef GL_ARB_texture_non_power_of_two
slouken@843
   933
#endif
slouken@843
   934
slouken@843
   935
#ifndef GL_ARB_point_sprite
slouken@843
   936
#define GL_POINT_SPRITE_ARB               0x8861
slouken@843
   937
#define GL_COORD_REPLACE_ARB              0x8862
slouken@843
   938
#endif
slouken@843
   939
slouken@1205
   940
#ifndef GL_ARB_fragment_program_shadow
slouken@1205
   941
#endif
slouken@1205
   942
slouken@1205
   943
#ifndef GL_ARB_draw_buffers
slouken@1205
   944
#define GL_MAX_DRAW_BUFFERS_ARB           0x8824
slouken@1205
   945
#define GL_DRAW_BUFFER0_ARB               0x8825
slouken@1205
   946
#define GL_DRAW_BUFFER1_ARB               0x8826
slouken@1205
   947
#define GL_DRAW_BUFFER2_ARB               0x8827
slouken@1205
   948
#define GL_DRAW_BUFFER3_ARB               0x8828
slouken@1205
   949
#define GL_DRAW_BUFFER4_ARB               0x8829
slouken@1205
   950
#define GL_DRAW_BUFFER5_ARB               0x882A
slouken@1205
   951
#define GL_DRAW_BUFFER6_ARB               0x882B
slouken@1205
   952
#define GL_DRAW_BUFFER7_ARB               0x882C
slouken@1205
   953
#define GL_DRAW_BUFFER8_ARB               0x882D
slouken@1205
   954
#define GL_DRAW_BUFFER9_ARB               0x882E
slouken@1205
   955
#define GL_DRAW_BUFFER10_ARB              0x882F
slouken@1205
   956
#define GL_DRAW_BUFFER11_ARB              0x8830
slouken@1205
   957
#define GL_DRAW_BUFFER12_ARB              0x8831
slouken@1205
   958
#define GL_DRAW_BUFFER13_ARB              0x8832
slouken@1205
   959
#define GL_DRAW_BUFFER14_ARB              0x8833
slouken@1205
   960
#define GL_DRAW_BUFFER15_ARB              0x8834
slouken@1205
   961
#endif
slouken@1205
   962
slouken@1205
   963
#ifndef GL_ARB_texture_rectangle
slouken@1205
   964
#define GL_TEXTURE_RECTANGLE_ARB          0x84F5
slouken@1205
   965
#define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
slouken@1205
   966
#define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
slouken@1205
   967
#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
slouken@1205
   968
#endif
slouken@1205
   969
slouken@1205
   970
#ifndef GL_ARB_color_buffer_float
slouken@1205
   971
#define GL_RGBA_FLOAT_MODE_ARB            0x8820
slouken@1205
   972
#define GL_CLAMP_VERTEX_COLOR_ARB         0x891A
slouken@1205
   973
#define GL_CLAMP_FRAGMENT_COLOR_ARB       0x891B
slouken@1205
   974
#define GL_CLAMP_READ_COLOR_ARB           0x891C
slouken@1205
   975
#define GL_FIXED_ONLY_ARB                 0x891D
slouken@1205
   976
#endif
slouken@1205
   977
slouken@1205
   978
#ifndef GL_ARB_half_float_pixel
slouken@1205
   979
#define GL_HALF_FLOAT_ARB                 0x140B
slouken@1205
   980
#endif
slouken@1205
   981
slouken@1205
   982
#ifndef GL_ARB_texture_float
slouken@1205
   983
#define GL_TEXTURE_RED_TYPE_ARB           0x8C10
slouken@1205
   984
#define GL_TEXTURE_GREEN_TYPE_ARB         0x8C11
slouken@1205
   985
#define GL_TEXTURE_BLUE_TYPE_ARB          0x8C12
slouken@1205
   986
#define GL_TEXTURE_ALPHA_TYPE_ARB         0x8C13
slouken@1205
   987
#define GL_TEXTURE_LUMINANCE_TYPE_ARB     0x8C14
slouken@1205
   988
#define GL_TEXTURE_INTENSITY_TYPE_ARB     0x8C15
slouken@1205
   989
#define GL_TEXTURE_DEPTH_TYPE_ARB         0x8C16
slouken@1205
   990
#define GL_UNSIGNED_NORMALIZED_ARB        0x8C17
slouken@1205
   991
#define GL_RGBA32F_ARB                    0x8814
slouken@1205
   992
#define GL_RGB32F_ARB                     0x8815
slouken@1205
   993
#define GL_ALPHA32F_ARB                   0x8816
slouken@1205
   994
#define GL_INTENSITY32F_ARB               0x8817
slouken@1205
   995
#define GL_LUMINANCE32F_ARB               0x8818
slouken@1205
   996
#define GL_LUMINANCE_ALPHA32F_ARB         0x8819
slouken@1205
   997
#define GL_RGBA16F_ARB                    0x881A
slouken@1205
   998
#define GL_RGB16F_ARB                     0x881B
slouken@1205
   999
#define GL_ALPHA16F_ARB                   0x881C
slouken@1205
  1000
#define GL_INTENSITY16F_ARB               0x881D
slouken@1205
  1001
#define GL_LUMINANCE16F_ARB               0x881E
slouken@1205
  1002
#define GL_LUMINANCE_ALPHA16F_ARB         0x881F
slouken@1205
  1003
#endif
slouken@1205
  1004
slouken@1205
  1005
#ifndef GL_ARB_pixel_buffer_object
slouken@1205
  1006
#define GL_PIXEL_PACK_BUFFER_ARB          0x88EB
slouken@1205
  1007
#define GL_PIXEL_UNPACK_BUFFER_ARB        0x88EC
slouken@1205
  1008
#define GL_PIXEL_PACK_BUFFER_BINDING_ARB  0x88ED
slouken@1205
  1009
#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
slouken@1205
  1010
#endif
slouken@1205
  1011
slouken@312
  1012
#ifndef GL_EXT_abgr
slouken@312
  1013
#define GL_ABGR_EXT                       0x8000
slouken@312
  1014
#endif
slouken@214
  1015
slouken@312
  1016
#ifndef GL_EXT_blend_color
slouken@312
  1017
#define GL_CONSTANT_COLOR_EXT             0x8001
slouken@312
  1018
#define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
slouken@312
  1019
#define GL_CONSTANT_ALPHA_EXT             0x8003
slouken@312
  1020
#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
slouken@312
  1021
#define GL_BLEND_COLOR_EXT                0x8005
slouken@312
  1022
#endif
slouken@214
  1023
slouken@312
  1024
#ifndef GL_EXT_polygon_offset
slouken@312
  1025
#define GL_POLYGON_OFFSET_EXT             0x8037
slouken@312
  1026
#define GL_POLYGON_OFFSET_FACTOR_EXT      0x8038
slouken@312
  1027
#define GL_POLYGON_OFFSET_BIAS_EXT        0x8039
slouken@312
  1028
#endif
slouken@214
  1029
slouken@312
  1030
#ifndef GL_EXT_texture
slouken@312
  1031
#define GL_ALPHA4_EXT                     0x803B
slouken@312
  1032
#define GL_ALPHA8_EXT                     0x803C
slouken@312
  1033
#define GL_ALPHA12_EXT                    0x803D
slouken@312
  1034
#define GL_ALPHA16_EXT                    0x803E
slouken@312
  1035
#define GL_LUMINANCE4_EXT                 0x803F
slouken@312
  1036
#define GL_LUMINANCE8_EXT                 0x8040
slouken@312
  1037
#define GL_LUMINANCE12_EXT                0x8041
slouken@312
  1038
#define GL_LUMINANCE16_EXT                0x8042
slouken@312
  1039
#define GL_LUMINANCE4_ALPHA4_EXT          0x8043
slouken@312
  1040
#define GL_LUMINANCE6_ALPHA2_EXT          0x8044
slouken@312
  1041
#define GL_LUMINANCE8_ALPHA8_EXT          0x8045
slouken@312
  1042
#define GL_LUMINANCE12_ALPHA4_EXT         0x8046
slouken@312
  1043
#define GL_LUMINANCE12_ALPHA12_EXT        0x8047
slouken@312
  1044
#define GL_LUMINANCE16_ALPHA16_EXT        0x8048
slouken@312
  1045
#define GL_INTENSITY_EXT                  0x8049
slouken@312
  1046
#define GL_INTENSITY4_EXT                 0x804A
slouken@312
  1047
#define GL_INTENSITY8_EXT                 0x804B
slouken@312
  1048
#define GL_INTENSITY12_EXT                0x804C
slouken@312
  1049
#define GL_INTENSITY16_EXT                0x804D
slouken@312
  1050
#define GL_RGB2_EXT                       0x804E
slouken@312
  1051
#define GL_RGB4_EXT                       0x804F
slouken@312
  1052
#define GL_RGB5_EXT                       0x8050
slouken@312
  1053
#define GL_RGB8_EXT                       0x8051
slouken@312
  1054
#define GL_RGB10_EXT                      0x8052
slouken@312
  1055
#define GL_RGB12_EXT                      0x8053
slouken@312
  1056
#define GL_RGB16_EXT                      0x8054
slouken@312
  1057
#define GL_RGBA2_EXT                      0x8055
slouken@312
  1058
#define GL_RGBA4_EXT                      0x8056
slouken@312
  1059
#define GL_RGB5_A1_EXT                    0x8057
slouken@312
  1060
#define GL_RGBA8_EXT                      0x8058
slouken@312
  1061
#define GL_RGB10_A2_EXT                   0x8059
slouken@312
  1062
#define GL_RGBA12_EXT                     0x805A
slouken@312
  1063
#define GL_RGBA16_EXT                     0x805B
slouken@312
  1064
#define GL_TEXTURE_RED_SIZE_EXT           0x805C
slouken@312
  1065
#define GL_TEXTURE_GREEN_SIZE_EXT         0x805D
slouken@312
  1066
#define GL_TEXTURE_BLUE_SIZE_EXT          0x805E
slouken@312
  1067
#define GL_TEXTURE_ALPHA_SIZE_EXT         0x805F
slouken@312
  1068
#define GL_TEXTURE_LUMINANCE_SIZE_EXT     0x8060
slouken@312
  1069
#define GL_TEXTURE_INTENSITY_SIZE_EXT     0x8061
slouken@312
  1070
#define GL_REPLACE_EXT                    0x8062
slouken@312
  1071
#define GL_PROXY_TEXTURE_1D_EXT           0x8063
slouken@312
  1072
#define GL_PROXY_TEXTURE_2D_EXT           0x8064
slouken@312
  1073
#define GL_TEXTURE_TOO_LARGE_EXT          0x8065
slouken@312
  1074
#endif
slouken@214
  1075
slouken@312
  1076
#ifndef GL_EXT_texture3D
slouken@312
  1077
#define GL_PACK_SKIP_IMAGES_EXT           0x806B
slouken@312
  1078
#define GL_PACK_IMAGE_HEIGHT_EXT          0x806C
slouken@312
  1079
#define GL_UNPACK_SKIP_IMAGES_EXT         0x806D
slouken@312
  1080
#define GL_UNPACK_IMAGE_HEIGHT_EXT        0x806E
slouken@312
  1081
#define GL_TEXTURE_3D_EXT                 0x806F
slouken@312
  1082
#define GL_PROXY_TEXTURE_3D_EXT           0x8070
slouken@312
  1083
#define GL_TEXTURE_DEPTH_EXT              0x8071
slouken@312
  1084
#define GL_TEXTURE_WRAP_R_EXT             0x8072
slouken@312
  1085
#define GL_MAX_3D_TEXTURE_SIZE_EXT        0x8073
slouken@312
  1086
#endif
slouken@214
  1087
slouken@312
  1088
#ifndef GL_SGIS_texture_filter4
slouken@312
  1089
#define GL_FILTER4_SGIS                   0x8146
slouken@312
  1090
#define GL_TEXTURE_FILTER4_SIZE_SGIS      0x8147
slouken@312
  1091
#endif
slouken@214
  1092
slouken@312
  1093
#ifndef GL_EXT_subtexture
slouken@312
  1094
#endif
slouken@312
  1095
slouken@312
  1096
#ifndef GL_EXT_copy_texture
slouken@312
  1097
#endif
slouken@312
  1098
slouken@312
  1099
#ifndef GL_EXT_histogram
slouken@312
  1100
#define GL_HISTOGRAM_EXT                  0x8024
slouken@312
  1101
#define GL_PROXY_HISTOGRAM_EXT            0x8025
slouken@312
  1102
#define GL_HISTOGRAM_WIDTH_EXT            0x8026
slouken@312
  1103
#define GL_HISTOGRAM_FORMAT_EXT           0x8027
slouken@312
  1104
#define GL_HISTOGRAM_RED_SIZE_EXT         0x8028
slouken@312
  1105
#define GL_HISTOGRAM_GREEN_SIZE_EXT       0x8029
slouken@312
  1106
#define GL_HISTOGRAM_BLUE_SIZE_EXT        0x802A
slouken@312
  1107
#define GL_HISTOGRAM_ALPHA_SIZE_EXT       0x802B
slouken@312
  1108
#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT   0x802C
slouken@312
  1109
#define GL_HISTOGRAM_SINK_EXT             0x802D
slouken@312
  1110
#define GL_MINMAX_EXT                     0x802E
slouken@312
  1111
#define GL_MINMAX_FORMAT_EXT              0x802F
slouken@312
  1112
#define GL_MINMAX_SINK_EXT                0x8030
slouken@312
  1113
#define GL_TABLE_TOO_LARGE_EXT            0x8031
slouken@312
  1114
#endif
slouken@312
  1115
slouken@312
  1116
#ifndef GL_EXT_convolution
slouken@312
  1117
#define GL_CONVOLUTION_1D_EXT             0x8010
slouken@312
  1118
#define GL_CONVOLUTION_2D_EXT             0x8011
slouken@312
  1119
#define GL_SEPARABLE_2D_EXT               0x8012
slouken@312
  1120
#define GL_CONVOLUTION_BORDER_MODE_EXT    0x8013
slouken@312
  1121
#define GL_CONVOLUTION_FILTER_SCALE_EXT   0x8014
slouken@312
  1122
#define GL_CONVOLUTION_FILTER_BIAS_EXT    0x8015
slouken@312
  1123
#define GL_REDUCE_EXT                     0x8016
slouken@312
  1124
#define GL_CONVOLUTION_FORMAT_EXT         0x8017
slouken@312
  1125
#define GL_CONVOLUTION_WIDTH_EXT          0x8018
slouken@312
  1126
#define GL_CONVOLUTION_HEIGHT_EXT         0x8019
slouken@312
  1127
#define GL_MAX_CONVOLUTION_WIDTH_EXT      0x801A
slouken@312
  1128
#define GL_MAX_CONVOLUTION_HEIGHT_EXT     0x801B
slouken@312
  1129
#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
slouken@312
  1130
#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
slouken@312
  1131
#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
slouken@312
  1132
#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
slouken@312
  1133
#define GL_POST_CONVOLUTION_RED_BIAS_EXT  0x8020
slouken@312
  1134
#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
slouken@312
  1135
#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
slouken@312
  1136
#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
slouken@312
  1137
#endif
slouken@312
  1138
slouken@312
  1139
#ifndef GL_SGI_color_matrix
slouken@312
  1140
#define GL_COLOR_MATRIX_SGI               0x80B1
slouken@312
  1141
#define GL_COLOR_MATRIX_STACK_DEPTH_SGI   0x80B2
slouken@312
  1142
#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
slouken@312
  1143
#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
slouken@312
  1144
#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
slouken@312
  1145
#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
slouken@312
  1146
#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
slouken@312
  1147
#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
slouken@312
  1148
#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
slouken@312
  1149
#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
slouken@312
  1150
#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
slouken@312
  1151
#endif
slouken@312
  1152
slouken@312
  1153
#ifndef GL_SGI_color_table
slouken@312
  1154
#define GL_COLOR_TABLE_SGI                0x80D0
slouken@312
  1155
#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
slouken@312
  1156
#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
slouken@312
  1157
#define GL_PROXY_COLOR_TABLE_SGI          0x80D3
slouken@312
  1158
#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
slouken@312
  1159
#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
slouken@312
  1160
#define GL_COLOR_TABLE_SCALE_SGI          0x80D6
slouken@312
  1161
#define GL_COLOR_TABLE_BIAS_SGI           0x80D7
slouken@312
  1162
#define GL_COLOR_TABLE_FORMAT_SGI         0x80D8
slouken@312
  1163
#define GL_COLOR_TABLE_WIDTH_SGI          0x80D9
slouken@312
  1164
#define GL_COLOR_TABLE_RED_SIZE_SGI       0x80DA
slouken@312
  1165
#define GL_COLOR_TABLE_GREEN_SIZE_SGI     0x80DB
slouken@312
  1166
#define GL_COLOR_TABLE_BLUE_SIZE_SGI      0x80DC
slouken@312
  1167
#define GL_COLOR_TABLE_ALPHA_SIZE_SGI     0x80DD
slouken@312
  1168
#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
slouken@312
  1169
#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
slouken@312
  1170
#endif
slouken@312
  1171
slouken@312
  1172
#ifndef GL_SGIS_pixel_texture
slouken@312
  1173
#define GL_PIXEL_TEXTURE_SGIS             0x8353
slouken@312
  1174
#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
slouken@312
  1175
#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
slouken@312
  1176
#define GL_PIXEL_GROUP_COLOR_SGIS         0x8356
slouken@312
  1177
#endif
slouken@312
  1178
slouken@312
  1179
#ifndef GL_SGIX_pixel_texture
slouken@312
  1180
#define GL_PIXEL_TEX_GEN_SGIX             0x8139
slouken@312
  1181
#define GL_PIXEL_TEX_GEN_MODE_SGIX        0x832B
slouken@312
  1182
#endif
slouken@312
  1183
slouken@312
  1184
#ifndef GL_SGIS_texture4D
slouken@312
  1185
#define GL_PACK_SKIP_VOLUMES_SGIS         0x8130
slouken@312
  1186
#define GL_PACK_IMAGE_DEPTH_SGIS          0x8131
slouken@312
  1187
#define GL_UNPACK_SKIP_VOLUMES_SGIS       0x8132
slouken@312
  1188
#define GL_UNPACK_IMAGE_DEPTH_SGIS        0x8133
slouken@312
  1189
#define GL_TEXTURE_4D_SGIS                0x8134
slouken@312
  1190
#define GL_PROXY_TEXTURE_4D_SGIS          0x8135
slouken@312
  1191
#define GL_TEXTURE_4DSIZE_SGIS            0x8136
slouken@312
  1192
#define GL_TEXTURE_WRAP_Q_SGIS            0x8137
slouken@312
  1193
#define GL_MAX_4D_TEXTURE_SIZE_SGIS       0x8138
slouken@312
  1194
#define GL_TEXTURE_4D_BINDING_SGIS        0x814F
slouken@312
  1195
#endif
slouken@312
  1196
slouken@312
  1197
#ifndef GL_SGI_texture_color_table
slouken@312
  1198
#define GL_TEXTURE_COLOR_TABLE_SGI        0x80BC
slouken@312
  1199
#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI  0x80BD
slouken@312
  1200
#endif
slouken@312
  1201
slouken@312
  1202
#ifndef GL_EXT_cmyka
slouken@312
  1203
#define GL_CMYK_EXT                       0x800C
slouken@312
  1204
#define GL_CMYKA_EXT                      0x800D
slouken@312
  1205
#define GL_PACK_CMYK_HINT_EXT             0x800E
slouken@312
  1206
#define GL_UNPACK_CMYK_HINT_EXT           0x800F
slouken@312
  1207
#endif
slouken@312
  1208
slouken@312
  1209
#ifndef GL_EXT_texture_object
slouken@312
  1210
#define GL_TEXTURE_PRIORITY_EXT           0x8066
slouken@312
  1211
#define GL_TEXTURE_RESIDENT_EXT           0x8067
slouken@312
  1212
#define GL_TEXTURE_1D_BINDING_EXT         0x8068
slouken@312
  1213
#define GL_TEXTURE_2D_BINDING_EXT         0x8069
slouken@312
  1214
#define GL_TEXTURE_3D_BINDING_EXT         0x806A
slouken@312
  1215
#endif
slouken@312
  1216
slouken@312
  1217
#ifndef GL_SGIS_detail_texture
slouken@312
  1218
#define GL_DETAIL_TEXTURE_2D_SGIS         0x8095
slouken@312
  1219
#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
slouken@312
  1220
#define GL_LINEAR_DETAIL_SGIS             0x8097
slouken@312
  1221
#define GL_LINEAR_DETAIL_ALPHA_SGIS       0x8098
slouken@312
  1222
#define GL_LINEAR_DETAIL_COLOR_SGIS       0x8099
slouken@312
  1223
#define GL_DETAIL_TEXTURE_LEVEL_SGIS      0x809A
slouken@312
  1224
#define GL_DETAIL_TEXTURE_MODE_SGIS       0x809B
slouken@312
  1225
#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
slouken@312
  1226
#endif
slouken@312
  1227
slouken@312
  1228
#ifndef GL_SGIS_sharpen_texture
slouken@312
  1229
#define GL_LINEAR_SHARPEN_SGIS            0x80AD
slouken@312
  1230
#define GL_LINEAR_SHARPEN_ALPHA_SGIS      0x80AE
slouken@312
  1231
#define GL_LINEAR_SHARPEN_COLOR_SGIS      0x80AF
slouken@312
  1232
#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
slouken@312
  1233
#endif
slouken@312
  1234
slouken@312
  1235
#ifndef GL_EXT_packed_pixels
slouken@312
  1236
#define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
slouken@312
  1237
#define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
slouken@312
  1238
#define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
slouken@312
  1239
#define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
slouken@312
  1240
#define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
slouken@312
  1241
#endif
slouken@312
  1242
slouken@312
  1243
#ifndef GL_SGIS_texture_lod
slouken@312
  1244
#define GL_TEXTURE_MIN_LOD_SGIS           0x813A
slouken@312
  1245
#define GL_TEXTURE_MAX_LOD_SGIS           0x813B
slouken@312
  1246
#define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
slouken@312
  1247
#define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
slouken@312
  1248
#endif
slouken@312
  1249
slouken@312
  1250
#ifndef GL_SGIS_multisample
slouken@312
  1251
#define GL_MULTISAMPLE_SGIS               0x809D
slouken@312
  1252
#define GL_SAMPLE_ALPHA_TO_MASK_SGIS      0x809E
slouken@312
  1253
#define GL_SAMPLE_ALPHA_TO_ONE_SGIS       0x809F
slouken@312
  1254
#define GL_SAMPLE_MASK_SGIS               0x80A0
slouken@312
  1255
#define GL_1PASS_SGIS                     0x80A1
slouken@312
  1256
#define GL_2PASS_0_SGIS                   0x80A2
slouken@312
  1257
#define GL_2PASS_1_SGIS                   0x80A3
slouken@312
  1258
#define GL_4PASS_0_SGIS                   0x80A4
slouken@312
  1259
#define GL_4PASS_1_SGIS                   0x80A5
slouken@312
  1260
#define GL_4PASS_2_SGIS                   0x80A6
slouken@312
  1261
#define GL_4PASS_3_SGIS                   0x80A7
slouken@312
  1262
#define GL_SAMPLE_BUFFERS_SGIS            0x80A8
slouken@312
  1263
#define GL_SAMPLES_SGIS                   0x80A9
slouken@312
  1264
#define GL_SAMPLE_MASK_VALUE_SGIS         0x80AA
slouken@312
  1265
#define GL_SAMPLE_MASK_INVERT_SGIS        0x80AB
slouken@312
  1266
#define GL_SAMPLE_PATTERN_SGIS            0x80AC
slouken@312
  1267
#endif
slouken@312
  1268
slouken@312
  1269
#ifndef GL_EXT_rescale_normal
slouken@312
  1270
#define GL_RESCALE_NORMAL_EXT             0x803A
slouken@312
  1271
#endif
slouken@312
  1272
slouken@312
  1273
#ifndef GL_EXT_vertex_array
slouken@312
  1274
#define GL_VERTEX_ARRAY_EXT               0x8074
slouken@312
  1275
#define GL_NORMAL_ARRAY_EXT               0x8075
slouken@312
  1276
#define GL_COLOR_ARRAY_EXT                0x8076
slouken@312
  1277
#define GL_INDEX_ARRAY_EXT                0x8077
slouken@312
  1278
#define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
slouken@312
  1279
#define GL_EDGE_FLAG_ARRAY_EXT            0x8079
slouken@312
  1280
#define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
slouken@312
  1281
#define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
slouken@312
  1282
#define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
slouken@312
  1283
#define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
slouken@312
  1284
#define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
slouken@312
  1285
#define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
slouken@312
  1286
#define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
slouken@312
  1287
#define GL_COLOR_ARRAY_SIZE_EXT           0x8081
slouken@312
  1288
#define GL_COLOR_ARRAY_TYPE_EXT           0x8082
slouken@312
  1289
#define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
slouken@312
  1290
#define GL_COLOR_ARRAY_COUNT_EXT          0x8084
slouken@312
  1291
#define GL_INDEX_ARRAY_TYPE_EXT           0x8085
slouken@312
  1292
#define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
slouken@312
  1293
#define GL_INDEX_ARRAY_COUNT_EXT          0x8087
slouken@312
  1294
#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
slouken@312
  1295
#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
slouken@312
  1296
#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
slouken@312
  1297
#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
slouken@312
  1298
#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
slouken@312
  1299
#define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
slouken@312
  1300
#define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
slouken@312
  1301
#define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
slouken@312
  1302
#define GL_COLOR_ARRAY_POINTER_EXT        0x8090
slouken@312
  1303
#define GL_INDEX_ARRAY_POINTER_EXT        0x8091
slouken@312
  1304
#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
slouken@312
  1305
#define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
slouken@312
  1306
#endif
slouken@312
  1307
slouken@312
  1308
#ifndef GL_EXT_misc_attribute
slouken@312
  1309
#endif
slouken@312
  1310
slouken@312
  1311
#ifndef GL_SGIS_generate_mipmap
slouken@312
  1312
#define GL_GENERATE_MIPMAP_SGIS           0x8191
slouken@312
  1313
#define GL_GENERATE_MIPMAP_HINT_SGIS      0x8192
slouken@312
  1314
#endif
slouken@312
  1315
slouken@312
  1316
#ifndef GL_SGIX_clipmap
slouken@312
  1317
#define GL_LINEAR_CLIPMAP_LINEAR_SGIX     0x8170
slouken@312
  1318
#define GL_TEXTURE_CLIPMAP_CENTER_SGIX    0x8171
slouken@312
  1319
#define GL_TEXTURE_CLIPMAP_FRAME_SGIX     0x8172
slouken@312
  1320
#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX    0x8173
slouken@312
  1321
#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
slouken@312
  1322
#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
slouken@312
  1323
#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX     0x8176
slouken@312
  1324
#define GL_MAX_CLIPMAP_DEPTH_SGIX         0x8177
slouken@312
  1325
#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
slouken@312
  1326
#define GL_NEAREST_CLIPMAP_NEAREST_SGIX   0x844D
slouken@312
  1327
#define GL_NEAREST_CLIPMAP_LINEAR_SGIX    0x844E
slouken@312
  1328
#define GL_LINEAR_CLIPMAP_NEAREST_SGIX    0x844F
slouken@312
  1329
#endif
slouken@312
  1330
slouken@312
  1331
#ifndef GL_SGIX_shadow
slouken@312
  1332
#define GL_TEXTURE_COMPARE_SGIX           0x819A
slouken@312
  1333
#define GL_TEXTURE_COMPARE_OPERATOR_SGIX  0x819B
slouken@312
  1334
#define GL_TEXTURE_LEQUAL_R_SGIX          0x819C
slouken@312
  1335
#define GL_TEXTURE_GEQUAL_R_SGIX          0x819D
slouken@312
  1336
#endif
slouken@312
  1337
slouken@312
  1338
#ifndef GL_SGIS_texture_edge_clamp
slouken@312
  1339
#define GL_CLAMP_TO_EDGE_SGIS             0x812F
slouken@312
  1340
#endif
slouken@312
  1341
slouken@1205
  1342
#ifndef GL_SGIS_texture_border_clamp
slouken@1205
  1343
#define GL_CLAMP_TO_BORDER_SGIS           0x812D
slouken@1205
  1344
#endif
slouken@1205
  1345
slouken@312
  1346
#ifndef GL_EXT_blend_minmax
slouken@312
  1347
#define GL_FUNC_ADD_EXT                   0x8006
slouken@312
  1348
#define GL_MIN_EXT                        0x8007
slouken@312
  1349
#define GL_MAX_EXT                        0x8008
slouken@312
  1350
#define GL_BLEND_EQUATION_EXT             0x8009
slouken@312
  1351
#endif
slouken@312
  1352
slouken@312
  1353
#ifndef GL_EXT_blend_subtract
slouken@312
  1354
#define GL_FUNC_SUBTRACT_EXT              0x800A
slouken@312
  1355
#define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
slouken@312
  1356
#endif
slouken@312
  1357
slouken@312
  1358
#ifndef GL_EXT_blend_logic_op
slouken@312
  1359
#endif
slouken@312
  1360
slouken@312
  1361
#ifndef GL_SGIX_interlace
slouken@312
  1362
#define GL_INTERLACE_SGIX                 0x8094
slouken@312
  1363
#endif
slouken@312
  1364
slouken@312
  1365
#ifndef GL_SGIX_pixel_tiles
slouken@312
  1366
#define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
slouken@312
  1367
#define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
slouken@312
  1368
#define GL_PIXEL_TILE_WIDTH_SGIX          0x8140
slouken@312
  1369
#define GL_PIXEL_TILE_HEIGHT_SGIX         0x8141
slouken@312
  1370
#define GL_PIXEL_TILE_GRID_WIDTH_SGIX     0x8142
slouken@312
  1371
#define GL_PIXEL_TILE_GRID_HEIGHT_SGIX    0x8143
slouken@312
  1372
#define GL_PIXEL_TILE_GRID_DEPTH_SGIX     0x8144
slouken@312
  1373
#define GL_PIXEL_TILE_CACHE_SIZE_SGIX     0x8145
slouken@312
  1374
#endif
slouken@312
  1375
slouken@312
  1376
#ifndef GL_SGIS_texture_select
slouken@312
  1377
#define GL_DUAL_ALPHA4_SGIS               0x8110
slouken@312
  1378
#define GL_DUAL_ALPHA8_SGIS               0x8111
slouken@312
  1379
#define GL_DUAL_ALPHA12_SGIS              0x8112
slouken@312
  1380
#define GL_DUAL_ALPHA16_SGIS              0x8113
slouken@312
  1381
#define GL_DUAL_LUMINANCE4_SGIS           0x8114
slouken@312
  1382
#define GL_DUAL_LUMINANCE8_SGIS           0x8115
slouken@312
  1383
#define GL_DUAL_LUMINANCE12_SGIS          0x8116
slouken@312
  1384
#define GL_DUAL_LUMINANCE16_SGIS          0x8117
slouken@312
  1385
#define GL_DUAL_INTENSITY4_SGIS           0x8118
slouken@312
  1386
#define GL_DUAL_INTENSITY8_SGIS           0x8119
slouken@312
  1387
#define GL_DUAL_INTENSITY12_SGIS          0x811A
slouken@312
  1388
#define GL_DUAL_INTENSITY16_SGIS          0x811B
slouken@312
  1389
#define GL_DUAL_LUMINANCE_ALPHA4_SGIS     0x811C
slouken@312
  1390
#define GL_DUAL_LUMINANCE_ALPHA8_SGIS     0x811D
slouken@312
  1391
#define GL_QUAD_ALPHA4_SGIS               0x811E
slouken@312
  1392
#define GL_QUAD_ALPHA8_SGIS               0x811F
slouken@312
  1393
#define GL_QUAD_LUMINANCE4_SGIS           0x8120
slouken@312
  1394
#define GL_QUAD_LUMINANCE8_SGIS           0x8121
slouken@312
  1395
#define GL_QUAD_INTENSITY4_SGIS           0x8122
slouken@312
  1396
#define GL_QUAD_INTENSITY8_SGIS           0x8123
slouken@312
  1397
#define GL_DUAL_TEXTURE_SELECT_SGIS       0x8124
slouken@312
  1398
#define GL_QUAD_TEXTURE_SELECT_SGIS       0x8125
slouken@312
  1399
#endif
slouken@312
  1400
slouken@312
  1401
#ifndef GL_SGIX_sprite
slouken@312
  1402
#define GL_SPRITE_SGIX                    0x8148
slouken@312
  1403
#define GL_SPRITE_MODE_SGIX               0x8149
slouken@312
  1404
#define GL_SPRITE_AXIS_SGIX               0x814A
slouken@312
  1405
#define GL_SPRITE_TRANSLATION_SGIX        0x814B
slouken@312
  1406
#define GL_SPRITE_AXIAL_SGIX              0x814C
slouken@312
  1407
#define GL_SPRITE_OBJECT_ALIGNED_SGIX     0x814D
slouken@312
  1408
#define GL_SPRITE_EYE_ALIGNED_SGIX        0x814E
slouken@312
  1409
#endif
slouken@312
  1410
slouken@312
  1411
#ifndef GL_SGIX_texture_multi_buffer
slouken@312
  1412
#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
slouken@312
  1413
#endif
slouken@312
  1414
slouken@843
  1415
#ifndef GL_EXT_point_parameters
slouken@843
  1416
#define GL_POINT_SIZE_MIN_EXT             0x8126
slouken@843
  1417
#define GL_POINT_SIZE_MAX_EXT             0x8127
slouken@843
  1418
#define GL_POINT_FADE_THRESHOLD_SIZE_EXT  0x8128
slouken@843
  1419
#define GL_DISTANCE_ATTENUATION_EXT       0x8129
slouken@843
  1420
#endif
slouken@843
  1421
slouken@312
  1422
#ifndef GL_SGIS_point_parameters
slouken@312
  1423
#define GL_POINT_SIZE_MIN_SGIS            0x8126
slouken@312
  1424
#define GL_POINT_SIZE_MAX_SGIS            0x8127
slouken@312
  1425
#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
slouken@312
  1426
#define GL_DISTANCE_ATTENUATION_SGIS      0x8129
slouken@312
  1427
#endif
slouken@312
  1428
slouken@312
  1429
#ifndef GL_SGIX_instruments
slouken@312
  1430
#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
slouken@312
  1431
#define GL_INSTRUMENT_MEASUREMENTS_SGIX   0x8181
slouken@312
  1432
#endif
slouken@312
  1433
slouken@312
  1434
#ifndef GL_SGIX_texture_scale_bias
slouken@312
  1435
#define GL_POST_TEXTURE_FILTER_BIAS_SGIX  0x8179
slouken@312
  1436
#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
slouken@312
  1437
#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
slouken@312
  1438
#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
slouken@312
  1439
#endif
slouken@312
  1440
slouken@312
  1441
#ifndef GL_SGIX_framezoom
slouken@312
  1442
#define GL_FRAMEZOOM_SGIX                 0x818B
slouken@312
  1443
#define GL_FRAMEZOOM_FACTOR_SGIX          0x818C
slouken@312
  1444
#define GL_MAX_FRAMEZOOM_FACTOR_SGIX      0x818D
slouken@312
  1445
#endif
slouken@312
  1446
slouken@312
  1447
#ifndef GL_SGIX_tag_sample_buffer
slouken@312
  1448
#endif
slouken@312
  1449
slouken@843
  1450
#ifndef GL_FfdMaskSGIX
slouken@843
  1451
#define GL_TEXTURE_DEFORMATION_BIT_SGIX   0x00000001
slouken@843
  1452
#define GL_GEOMETRY_DEFORMATION_BIT_SGIX  0x00000002
slouken@843
  1453
#endif
slouken@843
  1454
slouken@843
  1455
#ifndef GL_SGIX_polynomial_ffd
slouken@843
  1456
#define GL_GEOMETRY_DEFORMATION_SGIX      0x8194
slouken@843
  1457
#define GL_TEXTURE_DEFORMATION_SGIX       0x8195
slouken@843
  1458
#define GL_DEFORMATIONS_MASK_SGIX         0x8196
slouken@843
  1459
#define GL_MAX_DEFORMATION_ORDER_SGIX     0x8197
slouken@843
  1460
#endif
slouken@843
  1461
slouken@312
  1462
#ifndef GL_SGIX_reference_plane
slouken@312
  1463
#define GL_REFERENCE_PLANE_SGIX           0x817D
slouken@312
  1464
#define GL_REFERENCE_PLANE_EQUATION_SGIX  0x817E
slouken@312
  1465
#endif
slouken@312
  1466
slouken@312
  1467
#ifndef GL_SGIX_flush_raster
slouken@312
  1468
#endif
slouken@312
  1469
slouken@312
  1470
#ifndef GL_SGIX_depth_texture
slouken@312
  1471
#define GL_DEPTH_COMPONENT16_SGIX         0x81A5
slouken@312
  1472
#define GL_DEPTH_COMPONENT24_SGIX         0x81A6
slouken@312
  1473
#define GL_DEPTH_COMPONENT32_SGIX         0x81A7
slouken@312
  1474
#endif
slouken@312
  1475
slouken@312
  1476
#ifndef GL_SGIS_fog_function
slouken@312
  1477
#define GL_FOG_FUNC_SGIS                  0x812A
slouken@312
  1478
#define GL_FOG_FUNC_POINTS_SGIS           0x812B
slouken@312
  1479
#define GL_MAX_FOG_FUNC_POINTS_SGIS       0x812C
slouken@312
  1480
#endif
slouken@312
  1481
slouken@312
  1482
#ifndef GL_SGIX_fog_offset
slouken@312
  1483
#define GL_FOG_OFFSET_SGIX                0x8198
slouken@312
  1484
#define GL_FOG_OFFSET_VALUE_SGIX          0x8199
slouken@312
  1485
#endif
slouken@312
  1486
slouken@312
  1487
#ifndef GL_HP_image_transform
slouken@312
  1488
#define GL_IMAGE_SCALE_X_HP               0x8155
slouken@312
  1489
#define GL_IMAGE_SCALE_Y_HP               0x8156
slouken@312
  1490
#define GL_IMAGE_TRANSLATE_X_HP           0x8157
slouken@312
  1491
#define GL_IMAGE_TRANSLATE_Y_HP           0x8158
slouken@312
  1492
#define GL_IMAGE_ROTATE_ANGLE_HP          0x8159
slouken@312
  1493
#define GL_IMAGE_ROTATE_ORIGIN_X_HP       0x815A
slouken@312
  1494
#define GL_IMAGE_ROTATE_ORIGIN_Y_HP       0x815B
slouken@312
  1495
#define GL_IMAGE_MAG_FILTER_HP            0x815C
slouken@312
  1496
#define GL_IMAGE_MIN_FILTER_HP            0x815D
slouken@312
  1497
#define GL_IMAGE_CUBIC_WEIGHT_HP          0x815E
slouken@312
  1498
#define GL_CUBIC_HP                       0x815F
slouken@312
  1499
#define GL_AVERAGE_HP                     0x8160
slouken@312
  1500
#define GL_IMAGE_TRANSFORM_2D_HP          0x8161
slouken@312
  1501
#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
slouken@312
  1502
#define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
slouken@312
  1503
#endif
slouken@312
  1504
slouken@312
  1505
#ifndef GL_HP_convolution_border_modes
slouken@312
  1506
#define GL_IGNORE_BORDER_HP               0x8150
slouken@312
  1507
#define GL_CONSTANT_BORDER_HP             0x8151
slouken@312
  1508
#define GL_REPLICATE_BORDER_HP            0x8153
slouken@312
  1509
#define GL_CONVOLUTION_BORDER_COLOR_HP    0x8154
slouken@312
  1510
#endif
slouken@312
  1511
slouken@312
  1512
#ifndef GL_INGR_palette_buffer
slouken@312
  1513
#endif
slouken@312
  1514
slouken@312
  1515
#ifndef GL_SGIX_texture_add_env
slouken@312
  1516
#define GL_TEXTURE_ENV_BIAS_SGIX          0x80BE
slouken@312
  1517
#endif
slouken@312
  1518
slouken@312
  1519
#ifndef GL_EXT_color_subtable
slouken@312
  1520
#endif
slouken@312
  1521
slouken@312
  1522
#ifndef GL_PGI_vertex_hints
slouken@312
  1523
#define GL_VERTEX_DATA_HINT_PGI           0x1A22A
slouken@312
  1524
#define GL_VERTEX_CONSISTENT_HINT_PGI     0x1A22B
slouken@312
  1525
#define GL_MATERIAL_SIDE_HINT_PGI         0x1A22C
slouken@312
  1526
#define GL_MAX_VERTEX_HINT_PGI            0x1A22D
slouken@312
  1527
#define GL_COLOR3_BIT_PGI                 0x00010000
slouken@312
  1528
#define GL_COLOR4_BIT_PGI                 0x00020000
slouken@312
  1529
#define GL_EDGEFLAG_BIT_PGI               0x00040000
slouken@312
  1530
#define GL_INDEX_BIT_PGI                  0x00080000
slouken@312
  1531
#define GL_MAT_AMBIENT_BIT_PGI            0x00100000
slouken@312
  1532
#define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
slouken@312
  1533
#define GL_MAT_DIFFUSE_BIT_PGI            0x00400000
slouken@312
  1534
#define GL_MAT_EMISSION_BIT_PGI           0x00800000
slouken@312
  1535
#define GL_MAT_COLOR_INDEXES_BIT_PGI      0x01000000
slouken@312
  1536
#define GL_MAT_SHININESS_BIT_PGI          0x02000000
slouken@312
  1537
#define GL_MAT_SPECULAR_BIT_PGI           0x04000000
slouken@312
  1538
#define GL_NORMAL_BIT_PGI                 0x08000000
slouken@312
  1539
#define GL_TEXCOORD1_BIT_PGI              0x10000000
slouken@312
  1540
#define GL_TEXCOORD2_BIT_PGI              0x20000000
slouken@312
  1541
#define GL_TEXCOORD3_BIT_PGI              0x40000000
slouken@312
  1542
#define GL_TEXCOORD4_BIT_PGI              0x80000000
slouken@312
  1543
#define GL_VERTEX23_BIT_PGI               0x00000004
slouken@312
  1544
#define GL_VERTEX4_BIT_PGI                0x00000008
slouken@312
  1545
#endif
slouken@312
  1546
slouken@312
  1547
#ifndef GL_PGI_misc_hints
slouken@312
  1548
#define GL_PREFER_DOUBLEBUFFER_HINT_PGI   0x1A1F8
slouken@312
  1549
#define GL_CONSERVE_MEMORY_HINT_PGI       0x1A1FD
slouken@312
  1550
#define GL_RECLAIM_MEMORY_HINT_PGI        0x1A1FE
slouken@312
  1551
#define GL_NATIVE_GRAPHICS_HANDLE_PGI     0x1A202
slouken@312
  1552
#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
slouken@312
  1553
#define GL_NATIVE_GRAPHICS_END_HINT_PGI   0x1A204
slouken@312
  1554
#define GL_ALWAYS_FAST_HINT_PGI           0x1A20C
slouken@312
  1555
#define GL_ALWAYS_SOFT_HINT_PGI           0x1A20D
slouken@312
  1556
#define GL_ALLOW_DRAW_OBJ_HINT_PGI        0x1A20E
slouken@312
  1557
#define GL_ALLOW_DRAW_WIN_HINT_PGI        0x1A20F
slouken@312
  1558
#define GL_ALLOW_DRAW_FRG_HINT_PGI        0x1A210
slouken@312
  1559
#define GL_ALLOW_DRAW_MEM_HINT_PGI        0x1A211
slouken@312
  1560
#define GL_STRICT_DEPTHFUNC_HINT_PGI      0x1A216
slouken@312
  1561
#define GL_STRICT_LIGHTING_HINT_PGI       0x1A217
slouken@312
  1562
#define GL_STRICT_SCISSOR_HINT_PGI        0x1A218
slouken@312
  1563
#define GL_FULL_STIPPLE_HINT_PGI          0x1A219
slouken@312
  1564
#define GL_CLIP_NEAR_HINT_PGI             0x1A220
slouken@312
  1565
#define GL_CLIP_FAR_HINT_PGI              0x1A221
slouken@312
  1566
#define GL_WIDE_LINE_HINT_PGI             0x1A222
slouken@312
  1567
#define GL_BACK_NORMALS_HINT_PGI          0x1A223
slouken@312
  1568
#endif
slouken@312
  1569
slouken@312
  1570
#ifndef GL_EXT_paletted_texture
slouken@312
  1571
#define GL_COLOR_INDEX1_EXT               0x80E2
slouken@312
  1572
#define GL_COLOR_INDEX2_EXT               0x80E3
slouken@312
  1573
#define GL_COLOR_INDEX4_EXT               0x80E4
slouken@312
  1574
#define GL_COLOR_INDEX8_EXT               0x80E5
slouken@312
  1575
#define GL_COLOR_INDEX12_EXT              0x80E6
slouken@312
  1576
#define GL_COLOR_INDEX16_EXT              0x80E7
slouken@312
  1577
#define GL_TEXTURE_INDEX_SIZE_EXT         0x80ED
slouken@312
  1578
#endif
slouken@312
  1579
slouken@312
  1580
#ifndef GL_EXT_clip_volume_hint
slouken@312
  1581
#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT  0x80F0
slouken@312
  1582
#endif
slouken@312
  1583
slouken@312
  1584
#ifndef GL_SGIX_list_priority
slouken@312
  1585
#define GL_LIST_PRIORITY_SGIX             0x8182
slouken@312
  1586
#endif
slouken@312
  1587
slouken@312
  1588
#ifndef GL_SGIX_ir_instrument1
slouken@312
  1589
#define GL_IR_INSTRUMENT1_SGIX            0x817F
slouken@312
  1590
#endif
slouken@312
  1591
slouken@312
  1592
#ifndef GL_SGIX_calligraphic_fragment
slouken@312
  1593
#define GL_CALLIGRAPHIC_FRAGMENT_SGIX     0x8183
slouken@312
  1594
#endif
slouken@312
  1595
slouken@312
  1596
#ifndef GL_SGIX_texture_lod_bias
slouken@312
  1597
#define GL_TEXTURE_LOD_BIAS_S_SGIX        0x818E
slouken@312
  1598
#define GL_TEXTURE_LOD_BIAS_T_SGIX        0x818F
slouken@312
  1599
#define GL_TEXTURE_LOD_BIAS_R_SGIX        0x8190
slouken@312
  1600
#endif
slouken@312
  1601
slouken@312
  1602
#ifndef GL_SGIX_shadow_ambient
slouken@312
  1603
#define GL_SHADOW_AMBIENT_SGIX            0x80BF
slouken@312
  1604
#endif
slouken@312
  1605
slouken@312
  1606
#ifndef GL_EXT_index_texture
slouken@312
  1607
#endif
slouken@312
  1608
slouken@312
  1609
#ifndef GL_EXT_index_material
slouken@312
  1610
#define GL_INDEX_MATERIAL_EXT             0x81B8
slouken@312
  1611
#define GL_INDEX_MATERIAL_PARAMETER_EXT   0x81B9
slouken@312
  1612
#define GL_INDEX_MATERIAL_FACE_EXT        0x81BA
slouken@312
  1613
#endif
slouken@312
  1614
slouken@312
  1615
#ifndef GL_EXT_index_func
slouken@312
  1616
#define GL_INDEX_TEST_EXT                 0x81B5
slouken@312
  1617
#define GL_INDEX_TEST_FUNC_EXT            0x81B6
slouken@312
  1618
#define GL_INDEX_TEST_REF_EXT             0x81B7
slouken@312
  1619
#endif
slouken@312
  1620
slouken@312
  1621
#ifndef GL_EXT_index_array_formats
slouken@312
  1622
#define GL_IUI_V2F_EXT                    0x81AD
slouken@312
  1623
#define GL_IUI_V3F_EXT                    0x81AE
slouken@312
  1624
#define GL_IUI_N3F_V2F_EXT                0x81AF
slouken@312
  1625
#define GL_IUI_N3F_V3F_EXT                0x81B0
slouken@312
  1626
#define GL_T2F_IUI_V2F_EXT                0x81B1
slouken@312
  1627
#define GL_T2F_IUI_V3F_EXT                0x81B2
slouken@312
  1628
#define GL_T2F_IUI_N3F_V2F_EXT            0x81B3
slouken@312
  1629
#define GL_T2F_IUI_N3F_V3F_EXT            0x81B4
slouken@312
  1630
#endif
slouken@312
  1631
slouken@312
  1632
#ifndef GL_EXT_compiled_vertex_array
slouken@312
  1633
#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT   0x81A8
slouken@312
  1634
#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT   0x81A9
slouken@312
  1635
#endif
slouken@312
  1636
slouken@312
  1637
#ifndef GL_EXT_cull_vertex
slouken@312
  1638
#define GL_CULL_VERTEX_EXT                0x81AA
slouken@312
  1639
#define GL_CULL_VERTEX_EYE_POSITION_EXT   0x81AB
slouken@312
  1640
#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
slouken@312
  1641
#endif
slouken@312
  1642
slouken@312
  1643
#ifndef GL_SGIX_ycrcb
slouken@312
  1644
#define GL_YCRCB_422_SGIX                 0x81BB
slouken@312
  1645
#define GL_YCRCB_444_SGIX                 0x81BC
slouken@312
  1646
#endif
slouken@312
  1647
slouken@312
  1648
#ifndef GL_SGIX_fragment_lighting
slouken@312
  1649
#define GL_FRAGMENT_LIGHTING_SGIX         0x8400
slouken@312
  1650
#define GL_FRAGMENT_COLOR_MATERIAL_SGIX   0x8401
slouken@312
  1651
#define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
slouken@312
  1652
#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
slouken@312
  1653
#define GL_MAX_FRAGMENT_LIGHTS_SGIX       0x8404
slouken@312
  1654
#define GL_MAX_ACTIVE_LIGHTS_SGIX         0x8405
slouken@312
  1655
#define GL_CURRENT_RASTER_NORMAL_SGIX     0x8406
slouken@312
  1656
#define GL_LIGHT_ENV_MODE_SGIX            0x8407
slouken@312
  1657
#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
slouken@312
  1658
#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
slouken@312
  1659
#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
slouken@312
  1660
#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
slouken@312
  1661
#define GL_FRAGMENT_LIGHT0_SGIX           0x840C
slouken@312
  1662
#define GL_FRAGMENT_LIGHT1_SGIX           0x840D
slouken@312
  1663
#define GL_FRAGMENT_LIGHT2_SGIX           0x840E
slouken@312
  1664
#define GL_FRAGMENT_LIGHT3_SGIX           0x840F
slouken@312
  1665
#define GL_FRAGMENT_LIGHT4_SGIX           0x8410
slouken@312
  1666
#define GL_FRAGMENT_LIGHT5_SGIX           0x8411
slouken@312
  1667
#define GL_FRAGMENT_LIGHT6_SGIX           0x8412
slouken@312
  1668
#define GL_FRAGMENT_LIGHT7_SGIX           0x8413
slouken@312
  1669
#endif
slouken@312
  1670
slouken@312
  1671
#ifndef GL_IBM_rasterpos_clip
slouken@312
  1672
#define GL_RASTER_POSITION_UNCLIPPED_IBM  0x19262
slouken@312
  1673
#endif
slouken@312
  1674
slouken@312
  1675
#ifndef GL_HP_texture_lighting
slouken@312
  1676
#define GL_TEXTURE_LIGHTING_MODE_HP       0x8167
slouken@312
  1677
#define GL_TEXTURE_POST_SPECULAR_HP       0x8168
slouken@312
  1678
#define GL_TEXTURE_PRE_SPECULAR_HP        0x8169
slouken@312
  1679
#endif
slouken@312
  1680
slouken@312
  1681
#ifndef GL_EXT_draw_range_elements
slouken@312
  1682
#define GL_MAX_ELEMENTS_VERTICES_EXT      0x80E8
slouken@312
  1683
#define GL_MAX_ELEMENTS_INDICES_EXT       0x80E9
slouken@312
  1684
#endif
slouken@312
  1685
slouken@312
  1686
#ifndef GL_WIN_phong_shading
slouken@312
  1687
#define GL_PHONG_WIN                      0x80EA
slouken@312
  1688
#define GL_PHONG_HINT_WIN                 0x80EB
slouken@312
  1689
#endif
slouken@312
  1690
slouken@312
  1691
#ifndef GL_WIN_specular_fog
slouken@312
  1692
#define GL_FOG_SPECULAR_TEXTURE_WIN       0x80EC
slouken@312
  1693
#endif
slouken@312
  1694
slouken@312
  1695
#ifndef GL_EXT_light_texture
slouken@312
  1696
#define GL_FRAGMENT_MATERIAL_EXT          0x8349
slouken@312
  1697
#define GL_FRAGMENT_NORMAL_EXT            0x834A
slouken@312
  1698
#define GL_FRAGMENT_COLOR_EXT             0x834C
slouken@312
  1699
#define GL_ATTENUATION_EXT                0x834D
slouken@312
  1700
#define GL_SHADOW_ATTENUATION_EXT         0x834E
slouken@312
  1701
#define GL_TEXTURE_APPLICATION_MODE_EXT   0x834F
slouken@312
  1702
#define GL_TEXTURE_LIGHT_EXT              0x8350
slouken@312
  1703
#define GL_TEXTURE_MATERIAL_FACE_EXT      0x8351
slouken@312
  1704
#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
slouken@312
  1705
/* reuse GL_FRAGMENT_DEPTH_EXT */
slouken@312
  1706
#endif
slouken@312
  1707
slouken@312
  1708
#ifndef GL_SGIX_blend_alpha_minmax
slouken@312
  1709
#define GL_ALPHA_MIN_SGIX                 0x8320
slouken@312
  1710
#define GL_ALPHA_MAX_SGIX                 0x8321
slouken@312
  1711
#endif
slouken@312
  1712
slouken@843
  1713
#ifndef GL_SGIX_impact_pixel_texture
slouken@843
  1714
#define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX   0x8184
slouken@843
  1715
#define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX     0x8185
slouken@843
  1716
#define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX     0x8186
slouken@843
  1717
#define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187
slouken@843
  1718
#define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188
slouken@843
  1719
#define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX    0x8189
slouken@843
  1720
#define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX    0x818A
slouken@843
  1721
#endif
slouken@843
  1722
slouken@312
  1723
#ifndef GL_EXT_bgra
slouken@312
  1724
#define GL_BGR_EXT                        0x80E0
slouken@312
  1725
#define GL_BGRA_EXT                       0x80E1
slouken@312
  1726
#endif
slouken@312
  1727
slouken@843
  1728
#ifndef GL_SGIX_async
slouken@843
  1729
#define GL_ASYNC_MARKER_SGIX              0x8329
slouken@843
  1730
#endif
slouken@843
  1731
slouken@843
  1732
#ifndef GL_SGIX_async_pixel
slouken@843
  1733
#define GL_ASYNC_TEX_IMAGE_SGIX           0x835C
slouken@843
  1734
#define GL_ASYNC_DRAW_PIXELS_SGIX         0x835D
slouken@843
  1735
#define GL_ASYNC_READ_PIXELS_SGIX         0x835E
slouken@843
  1736
#define GL_MAX_ASYNC_TEX_IMAGE_SGIX       0x835F
slouken@843
  1737
#define GL_MAX_ASYNC_DRAW_PIXELS_SGIX     0x8360
slouken@843
  1738
#define GL_MAX_ASYNC_READ_PIXELS_SGIX     0x8361
slouken@843
  1739
#endif
slouken@843
  1740
slouken@843
  1741
#ifndef GL_SGIX_async_histogram
slouken@843
  1742
#define GL_ASYNC_HISTOGRAM_SGIX           0x832C
slouken@843
  1743
#define GL_MAX_ASYNC_HISTOGRAM_SGIX       0x832D
slouken@843
  1744
#endif
slouken@843
  1745
slouken@312
  1746
#ifndef GL_INTEL_texture_scissor
slouken@312
  1747
#endif
slouken@312
  1748
slouken@312
  1749
#ifndef GL_INTEL_parallel_arrays
slouken@312
  1750
#define GL_PARALLEL_ARRAYS_INTEL          0x83F4
slouken@312
  1751
#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
slouken@312
  1752
#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
slouken@312
  1753
#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
slouken@312
  1754
#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
slouken@312
  1755
#endif
slouken@312
  1756
slouken@312
  1757
#ifndef GL_HP_occlusion_test
slouken@312
  1758
#define GL_OCCLUSION_TEST_HP              0x8165
slouken@312
  1759
#define GL_OCCLUSION_TEST_RESULT_HP       0x8166
slouken@312
  1760
#endif
slouken@312
  1761
slouken@312
  1762
#ifndef GL_EXT_pixel_transform
slouken@312
  1763
#define GL_PIXEL_TRANSFORM_2D_EXT         0x8330
slouken@312
  1764
#define GL_PIXEL_MAG_FILTER_EXT           0x8331
slouken@312
  1765
#define GL_PIXEL_MIN_FILTER_EXT           0x8332
slouken@312
  1766
#define GL_PIXEL_CUBIC_WEIGHT_EXT         0x8333
slouken@312
  1767
#define GL_CUBIC_EXT                      0x8334
slouken@312
  1768
#define GL_AVERAGE_EXT                    0x8335
slouken@312
  1769
#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
slouken@312
  1770
#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
slouken@312
  1771
#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT  0x8338
slouken@312
  1772
#endif
slouken@312
  1773
slouken@312
  1774
#ifndef GL_EXT_pixel_transform_color_table
slouken@312
  1775
#endif
slouken@312
  1776
slouken@312
  1777
#ifndef GL_EXT_shared_texture_palette
slouken@312
  1778
#define GL_SHARED_TEXTURE_PALETTE_EXT     0x81FB
slouken@312
  1779
#endif
slouken@312
  1780
slouken@312
  1781
#ifndef GL_EXT_separate_specular_color
slouken@312
  1782
#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT  0x81F8
slouken@312
  1783
#define GL_SINGLE_COLOR_EXT               0x81F9
slouken@312
  1784
#define GL_SEPARATE_SPECULAR_COLOR_EXT    0x81FA
slouken@312
  1785
#endif
slouken@312
  1786
slouken@312
  1787
#ifndef GL_EXT_secondary_color
slouken@312
  1788
#define GL_COLOR_SUM_EXT                  0x8458
slouken@312
  1789
#define GL_CURRENT_SECONDARY_COLOR_EXT    0x8459
slouken@312
  1790
#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
slouken@312
  1791
#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
slouken@312
  1792
#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
slouken@312
  1793
#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
slouken@312
  1794
#define GL_SECONDARY_COLOR_ARRAY_EXT      0x845E
slouken@312
  1795
#endif
slouken@312
  1796
slouken@312
  1797
#ifndef GL_EXT_texture_perturb_normal
slouken@312
  1798
#define GL_PERTURB_EXT                    0x85AE
slouken@312
  1799
#define GL_TEXTURE_NORMAL_EXT             0x85AF
slouken@312
  1800
#endif
slouken@312
  1801
slouken@312
  1802
#ifndef GL_EXT_multi_draw_arrays
slouken@312
  1803
#endif
slouken@312
  1804
slouken@312
  1805
#ifndef GL_EXT_fog_coord
slouken@312
  1806
#define GL_FOG_COORDINATE_SOURCE_EXT      0x8450
slouken@312
  1807
#define GL_FOG_COORDINATE_EXT             0x8451
slouken@312
  1808
#define GL_FRAGMENT_DEPTH_EXT             0x8452
slouken@312
  1809
#define GL_CURRENT_FOG_COORDINATE_EXT     0x8453
slouken@312
  1810
#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT  0x8454
slouken@312
  1811
#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
slouken@312
  1812
#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
slouken@312
  1813
#define GL_FOG_COORDINATE_ARRAY_EXT       0x8457
slouken@312
  1814
#endif
slouken@312
  1815
slouken@312
  1816
#ifndef GL_REND_screen_coordinates
slouken@312
  1817
#define GL_SCREEN_COORDINATES_REND        0x8490
slouken@312
  1818
#define GL_INVERTED_SCREEN_W_REND         0x8491
slouken@312
  1819
#endif
slouken@312
  1820
slouken@312
  1821
#ifndef GL_EXT_coordinate_frame
slouken@312
  1822
#define GL_TANGENT_ARRAY_EXT              0x8439
slouken@312
  1823
#define GL_BINORMAL_ARRAY_EXT             0x843A
slouken@312
  1824
#define GL_CURRENT_TANGENT_EXT            0x843B
slouken@312
  1825
#define GL_CURRENT_BINORMAL_EXT           0x843C
slouken@312
  1826
#define GL_TANGENT_ARRAY_TYPE_EXT         0x843E
slouken@312
  1827
#define GL_TANGENT_ARRAY_STRIDE_EXT       0x843F
slouken@312
  1828
#define GL_BINORMAL_ARRAY_TYPE_EXT        0x8440
slouken@312
  1829
#define GL_BINORMAL_ARRAY_STRIDE_EXT      0x8441
slouken@312
  1830
#define GL_TANGENT_ARRAY_POINTER_EXT      0x8442
slouken@312
  1831
#define GL_BINORMAL_ARRAY_POINTER_EXT     0x8443
slouken@312
  1832
#define GL_MAP1_TANGENT_EXT               0x8444
slouken@312
  1833
#define GL_MAP2_TANGENT_EXT               0x8445
slouken@312
  1834
#define GL_MAP1_BINORMAL_EXT              0x8446
slouken@312
  1835
#define GL_MAP2_BINORMAL_EXT              0x8447
slouken@312
  1836
#endif
slouken@312
  1837
slouken@312
  1838
#ifndef GL_EXT_texture_env_combine
slouken@312
  1839
#define GL_COMBINE_EXT                    0x8570
slouken@312
  1840
#define GL_COMBINE_RGB_EXT                0x8571
slouken@312
  1841
#define GL_COMBINE_ALPHA_EXT              0x8572
slouken@312
  1842
#define GL_RGB_SCALE_EXT                  0x8573
slouken@312
  1843
#define GL_ADD_SIGNED_EXT                 0x8574
slouken@312
  1844
#define GL_INTERPOLATE_EXT                0x8575
slouken@312
  1845
#define GL_CONSTANT_EXT                   0x8576
slouken@312
  1846
#define GL_PRIMARY_COLOR_EXT              0x8577
slouken@312
  1847
#define GL_PREVIOUS_EXT                   0x8578
slouken@312
  1848
#define GL_SOURCE0_RGB_EXT                0x8580
slouken@312
  1849
#define GL_SOURCE1_RGB_EXT                0x8581
slouken@312
  1850
#define GL_SOURCE2_RGB_EXT                0x8582
slouken@312
  1851
#define GL_SOURCE0_ALPHA_EXT              0x8588
slouken@312
  1852
#define GL_SOURCE1_ALPHA_EXT              0x8589
slouken@312
  1853
#define GL_SOURCE2_ALPHA_EXT              0x858A
slouken@312
  1854
#define GL_OPERAND0_RGB_EXT               0x8590
slouken@312
  1855
#define GL_OPERAND1_RGB_EXT               0x8591
slouken@312
  1856
#define GL_OPERAND2_RGB_EXT               0x8592
slouken@312
  1857
#define GL_OPERAND0_ALPHA_EXT             0x8598
slouken@312
  1858
#define GL_OPERAND1_ALPHA_EXT             0x8599
slouken@312
  1859
#define GL_OPERAND2_ALPHA_EXT             0x859A
slouken@312
  1860
#endif
slouken@312
  1861
slouken@312
  1862
#ifndef GL_APPLE_specular_vector
slouken@312
  1863
#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
slouken@312
  1864
#endif
slouken@312
  1865
slouken@312
  1866
#ifndef GL_APPLE_transform_hint
slouken@312
  1867
#define GL_TRANSFORM_HINT_APPLE           0x85B1
slouken@312
  1868
#endif
slouken@312
  1869
slouken@312
  1870
#ifndef GL_SGIX_fog_scale
slouken@312
  1871
#define GL_FOG_SCALE_SGIX                 0x81FC
slouken@312
  1872
#define GL_FOG_SCALE_VALUE_SGIX           0x81FD
slouken@312
  1873
#endif
slouken@312
  1874
slouken@312
  1875
#ifndef GL_SUNX_constant_data
slouken@312
  1876
#define GL_UNPACK_CONSTANT_DATA_SUNX      0x81D5
slouken@312
  1877
#define GL_TEXTURE_CONSTANT_DATA_SUNX     0x81D6
slouken@312
  1878
#endif
slouken@312
  1879
slouken@312
  1880
#ifndef GL_SUN_global_alpha
slouken@312
  1881
#define GL_GLOBAL_ALPHA_SUN               0x81D9
slouken@312
  1882
#define GL_GLOBAL_ALPHA_FACTOR_SUN        0x81DA
slouken@312
  1883
#endif
slouken@312
  1884
slouken@312
  1885
#ifndef GL_SUN_triangle_list
slouken@843
  1886
#define GL_RESTART_SUN                    0x0001
slouken@843
  1887
#define GL_REPLACE_MIDDLE_SUN             0x0002
slouken@843
  1888
#define GL_REPLACE_OLDEST_SUN             0x0003
slouken@312
  1889
#define GL_TRIANGLE_LIST_SUN              0x81D7
slouken@312
  1890
#define GL_REPLACEMENT_CODE_SUN           0x81D8
slouken@312
  1891
#define GL_REPLACEMENT_CODE_ARRAY_SUN     0x85C0
slouken@312
  1892
#define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
slouken@312
  1893
#define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
slouken@312
  1894
#define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
slouken@312
  1895
#define GL_R1UI_V3F_SUN                   0x85C4
slouken@312
  1896
#define GL_R1UI_C4UB_V3F_SUN              0x85C5
slouken@312
  1897
#define GL_R1UI_C3F_V3F_SUN               0x85C6
slouken@312
  1898
#define GL_R1UI_N3F_V3F_SUN               0x85C7
slouken@312
  1899
#define GL_R1UI_C4F_N3F_V3F_SUN           0x85C8
slouken@312
  1900
#define GL_R1UI_T2F_V3F_SUN               0x85C9
slouken@312
  1901
#define GL_R1UI_T2F_N3F_V3F_SUN           0x85CA
slouken@312
  1902
#define GL_R1UI_T2F_C4F_N3F_V3F_SUN       0x85CB
slouken@312
  1903
#endif
slouken@312
  1904
slouken@312
  1905
#ifndef GL_SUN_vertex
slouken@312
  1906
#endif
slouken@312
  1907
slouken@312
  1908
#ifndef GL_EXT_blend_func_separate
slouken@312
  1909
#define GL_BLEND_DST_RGB_EXT              0x80C8
slouken@312
  1910
#define GL_BLEND_SRC_RGB_EXT              0x80C9
slouken@312
  1911
#define GL_BLEND_DST_ALPHA_EXT            0x80CA
slouken@312
  1912
#define GL_BLEND_SRC_ALPHA_EXT            0x80CB
slouken@312
  1913
#endif
slouken@312
  1914
slouken@312
  1915
#ifndef GL_INGR_color_clamp
slouken@312
  1916
#define GL_RED_MIN_CLAMP_INGR             0x8560
slouken@312
  1917
#define GL_GREEN_MIN_CLAMP_INGR           0x8561
slouken@312
  1918
#define GL_BLUE_MIN_CLAMP_INGR            0x8562
slouken@312
  1919
#define GL_ALPHA_MIN_CLAMP_INGR           0x8563
slouken@312
  1920
#define GL_RED_MAX_CLAMP_INGR             0x8564
slouken@312
  1921
#define GL_GREEN_MAX_CLAMP_INGR           0x8565
slouken@312
  1922
#define GL_BLUE_MAX_CLAMP_INGR            0x8566
slouken@312
  1923
#define GL_ALPHA_MAX_CLAMP_INGR           0x8567
slouken@312
  1924
#endif
slouken@312
  1925
slouken@312
  1926
#ifndef GL_INGR_interlace_read
slouken@312
  1927
#define GL_INTERLACE_READ_INGR            0x8568
slouken@312
  1928
#endif
slouken@312
  1929
slouken@312
  1930
#ifndef GL_EXT_stencil_wrap
slouken@312
  1931
#define GL_INCR_WRAP_EXT                  0x8507
slouken@312
  1932
#define GL_DECR_WRAP_EXT                  0x8508
slouken@312
  1933
#endif
slouken@312
  1934
slouken@312
  1935
#ifndef GL_EXT_422_pixels
slouken@312
  1936
#define GL_422_EXT                        0x80CC
slouken@312
  1937
#define GL_422_REV_EXT                    0x80CD
slouken@312
  1938
#define GL_422_AVERAGE_EXT                0x80CE
slouken@312
  1939
#define GL_422_REV_AVERAGE_EXT            0x80CF
slouken@312
  1940
#endif
slouken@312
  1941
slouken@312
  1942
#ifndef GL_NV_texgen_reflection
slouken@312
  1943
#define GL_NORMAL_MAP_NV                  0x8511
slouken@312
  1944
#define GL_REFLECTION_MAP_NV              0x8512
slouken@312
  1945
#endif
slouken@312
  1946
slouken@312
  1947
#ifndef GL_EXT_texture_cube_map
slouken@312
  1948
#define GL_NORMAL_MAP_EXT                 0x8511
slouken@312
  1949
#define GL_REFLECTION_MAP_EXT             0x8512
slouken@312
  1950
#define GL_TEXTURE_CUBE_MAP_EXT           0x8513
slouken@312
  1951
#define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
slouken@312
  1952
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
slouken@312
  1953
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
slouken@312
  1954
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
slouken@312
  1955
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
slouken@312
  1956
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
slouken@312
  1957
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
slouken@312
  1958
#define GL_PROXY_TEXTURE_CUBE_MAP_EXT     0x851B
slouken@312
  1959
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT  0x851C
slouken@312
  1960
#endif
slouken@312
  1961
slouken@312
  1962
#ifndef GL_SUN_convolution_border_modes
slouken@312
  1963
#define GL_WRAP_BORDER_SUN                0x81D4
slouken@312
  1964
#endif
slouken@312
  1965
slouken@312
  1966
#ifndef GL_EXT_texture_env_add
slouken@312
  1967
#endif
slouken@312
  1968
slouken@312
  1969
#ifndef GL_EXT_texture_lod_bias
slouken@312
  1970
#define GL_MAX_TEXTURE_LOD_BIAS_EXT       0x84FD
slouken@312
  1971
#define GL_TEXTURE_FILTER_CONTROL_EXT     0x8500
slouken@312
  1972
#define GL_TEXTURE_LOD_BIAS_EXT           0x8501
slouken@312
  1973
#endif
slouken@312
  1974
slouken@312
  1975
#ifndef GL_EXT_texture_filter_anisotropic
slouken@312
  1976
#define GL_TEXTURE_MAX_ANISOTROPY_EXT     0x84FE
slouken@312
  1977
#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
slouken@312
  1978
#endif
slouken@312
  1979
slouken@312
  1980
#ifndef GL_EXT_vertex_weighting
slouken@312
  1981
#define GL_MODELVIEW0_STACK_DEPTH_EXT     GL_MODELVIEW_STACK_DEPTH
slouken@312
  1982
#define GL_MODELVIEW1_STACK_DEPTH_EXT     0x8502
slouken@312
  1983
#define GL_MODELVIEW0_MATRIX_EXT          GL_MODELVIEW_MATRIX
slouken@843
  1984
#define GL_MODELVIEW1_MATRIX_EXT          0x8506
slouken@312
  1985
#define GL_VERTEX_WEIGHTING_EXT           0x8509
slouken@312
  1986
#define GL_MODELVIEW0_EXT                 GL_MODELVIEW
slouken@312
  1987
#define GL_MODELVIEW1_EXT                 0x850A
slouken@312
  1988
#define GL_CURRENT_VERTEX_WEIGHT_EXT      0x850B
slouken@312
  1989
#define GL_VERTEX_WEIGHT_ARRAY_EXT        0x850C
slouken@312
  1990
#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT   0x850D
slouken@312
  1991
#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT   0x850E
slouken@312
  1992
#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
slouken@312
  1993
#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
slouken@312
  1994
#endif
slouken@312
  1995
slouken@312
  1996
#ifndef GL_NV_light_max_exponent
slouken@312
  1997
#define GL_MAX_SHININESS_NV               0x8504
slouken@312
  1998
#define GL_MAX_SPOT_EXPONENT_NV           0x8505
slouken@312
  1999
#endif
slouken@312
  2000
slouken@312
  2001
#ifndef GL_NV_vertex_array_range
slouken@312
  2002
#define GL_VERTEX_ARRAY_RANGE_NV          0x851D
slouken@312
  2003
#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV   0x851E
slouken@312
  2004
#define GL_VERTEX_ARRAY_RANGE_VALID_NV    0x851F
slouken@312
  2005
#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
slouken@312
  2006
#define GL_VERTEX_ARRAY_RANGE_POINTER_NV  0x8521
slouken@312
  2007
#endif
slouken@312
  2008
slouken@312
  2009
#ifndef GL_NV_register_combiners
slouken@312
  2010
#define GL_REGISTER_COMBINERS_NV          0x8522
slouken@312
  2011
#define GL_VARIABLE_A_NV                  0x8523
slouken@312
  2012
#define GL_VARIABLE_B_NV                  0x8524
slouken@312
  2013
#define GL_VARIABLE_C_NV                  0x8525
slouken@312
  2014
#define GL_VARIABLE_D_NV                  0x8526
slouken@312
  2015
#define GL_VARIABLE_E_NV                  0x8527
slouken@312
  2016
#define GL_VARIABLE_F_NV                  0x8528
slouken@312
  2017
#define GL_VARIABLE_G_NV                  0x8529
slouken@312
  2018
#define GL_CONSTANT_COLOR0_NV             0x852A
slouken@312
  2019
#define GL_CONSTANT_COLOR1_NV             0x852B
slouken@312
  2020
#define GL_PRIMARY_COLOR_NV               0x852C
slouken@312
  2021
#define GL_SECONDARY_COLOR_NV             0x852D
slouken@312
  2022
#define GL_SPARE0_NV                      0x852E
slouken@312
  2023
#define GL_SPARE1_NV                      0x852F
slouken@312
  2024
#define GL_DISCARD_NV                     0x8530
slouken@312
  2025
#define GL_E_TIMES_F_NV                   0x8531
slouken@312
  2026
#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
slouken@312
  2027
#define GL_UNSIGNED_IDENTITY_NV           0x8536
slouken@312
  2028
#define GL_UNSIGNED_INVERT_NV             0x8537
slouken@312
  2029
#define GL_EXPAND_NORMAL_NV               0x8538
slouken@312
  2030
#define GL_EXPAND_NEGATE_NV               0x8539
slouken@312
  2031
#define GL_HALF_BIAS_NORMAL_NV            0x853A
slouken@312
  2032
#define GL_HALF_BIAS_NEGATE_NV            0x853B
slouken@312
  2033
#define GL_SIGNED_IDENTITY_NV             0x853C
slouken@312
  2034
#define GL_SIGNED_NEGATE_NV               0x853D
slouken@312
  2035
#define GL_SCALE_BY_TWO_NV                0x853E
slouken@312
  2036
#define GL_SCALE_BY_FOUR_NV               0x853F
slouken@312
  2037
#define GL_SCALE_BY_ONE_HALF_NV           0x8540
slouken@312
  2038
#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV   0x8541
slouken@312
  2039
#define GL_COMBINER_INPUT_NV              0x8542
slouken@312
  2040
#define GL_COMBINER_MAPPING_NV            0x8543
slouken@312
  2041
#define GL_COMBINER_COMPONENT_USAGE_NV    0x8544
slouken@312
  2042
#define GL_COMBINER_AB_DOT_PRODUCT_NV     0x8545
slouken@312
  2043
#define GL_COMBINER_CD_DOT_PRODUCT_NV     0x8546
slouken@312
  2044
#define GL_COMBINER_MUX_SUM_NV            0x8547
slouken@312
  2045
#define GL_COMBINER_SCALE_NV              0x8548
slouken@312
  2046
#define GL_COMBINER_BIAS_NV               0x8549
slouken@312
  2047
#define GL_COMBINER_AB_OUTPUT_NV          0x854A
slouken@312
  2048
#define GL_COMBINER_CD_OUTPUT_NV          0x854B
slouken@312
  2049
#define GL_COMBINER_SUM_OUTPUT_NV         0x854C
slouken@312
  2050
#define GL_MAX_GENERAL_COMBINERS_NV       0x854D
slouken@312
  2051
#define GL_NUM_GENERAL_COMBINERS_NV       0x854E
slouken@312
  2052
#define GL_COLOR_SUM_CLAMP_NV             0x854F
slouken@312
  2053
#define GL_COMBINER0_NV                   0x8550
slouken@312
  2054
#define GL_COMBINER1_NV                   0x8551
slouken@312
  2055
#define GL_COMBINER2_NV                   0x8552
slouken@312
  2056
#define GL_COMBINER3_NV                   0x8553
slouken@312
  2057
#define GL_COMBINER4_NV                   0x8554
slouken@312
  2058
#define GL_COMBINER5_NV                   0x8555
slouken@312
  2059
#define GL_COMBINER6_NV                   0x8556
slouken@312
  2060
#define GL_COMBINER7_NV                   0x8557
slouken@312
  2061
/* reuse GL_TEXTURE0_ARB */
slouken@312
  2062
/* reuse GL_TEXTURE1_ARB */
slouken@312
  2063
/* reuse GL_ZERO */
slouken@312
  2064
/* reuse GL_NONE */
slouken@312
  2065
/* reuse GL_FOG */
slouken@312
  2066
#endif
slouken@312
  2067
slouken@312
  2068
#ifndef GL_NV_fog_distance
slouken@312
  2069
#define GL_FOG_DISTANCE_MODE_NV           0x855A
slouken@312
  2070
#define GL_EYE_RADIAL_NV                  0x855B
slouken@312
  2071
#define GL_EYE_PLANE_ABSOLUTE_NV          0x855C
slouken@312
  2072
/* reuse GL_EYE_PLANE */
slouken@312
  2073
#endif
slouken@312
  2074
slouken@312
  2075
#ifndef GL_NV_texgen_emboss
slouken@312
  2076
#define GL_EMBOSS_LIGHT_NV                0x855D
slouken@312
  2077
#define GL_EMBOSS_CONSTANT_NV             0x855E
slouken@312
  2078
#define GL_EMBOSS_MAP_NV                  0x855F
slouken@312
  2079
#endif
slouken@312
  2080
slouken@312
  2081
#ifndef GL_NV_blend_square
slouken@312
  2082
#endif
slouken@312
  2083
slouken@312
  2084
#ifndef GL_NV_texture_env_combine4
slouken@312
  2085
#define GL_COMBINE4_NV                    0x8503
slouken@312
  2086
#define GL_SOURCE3_RGB_NV                 0x8583
slouken@312
  2087
#define GL_SOURCE3_ALPHA_NV               0x858B
slouken@312
  2088
#define GL_OPERAND3_RGB_NV                0x8593
slouken@312
  2089
#define GL_OPERAND3_ALPHA_NV              0x859B
slouken@312
  2090
#endif
slouken@312
  2091
slouken@312
  2092
#ifndef GL_MESA_resize_buffers
slouken@312
  2093
#endif
slouken@312
  2094
slouken@312
  2095
#ifndef GL_MESA_window_pos
slouken@312
  2096
#endif
slouken@312
  2097
slouken@312
  2098
#ifndef GL_EXT_texture_compression_s3tc
slouken@312
  2099
#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
slouken@312
  2100
#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
slouken@312
  2101
#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
slouken@312
  2102
#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
slouken@312
  2103
#endif
slouken@312
  2104
slouken@312
  2105
#ifndef GL_IBM_cull_vertex
slouken@312
  2106
#define GL_CULL_VERTEX_IBM                103050
slouken@312
  2107
#endif
slouken@312
  2108
slouken@312
  2109
#ifndef GL_IBM_multimode_draw_arrays
slouken@312
  2110
#endif
slouken@312
  2111
slouken@312
  2112
#ifndef GL_IBM_vertex_array_lists
slouken@312
  2113
#define GL_VERTEX_ARRAY_LIST_IBM          103070
slouken@312
  2114
#define GL_NORMAL_ARRAY_LIST_IBM          103071
slouken@312
  2115
#define GL_COLOR_ARRAY_LIST_IBM           103072
slouken@312
  2116
#define GL_INDEX_ARRAY_LIST_IBM           103073
slouken@312
  2117
#define GL_TEXTURE_COORD_ARRAY_LIST_IBM   103074
slouken@312
  2118
#define GL_EDGE_FLAG_ARRAY_LIST_IBM       103075
slouken@312
  2119
#define GL_FOG_COORDINATE_ARRAY_LIST_IBM  103076
slouken@312
  2120
#define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
slouken@312
  2121
#define GL_VERTEX_ARRAY_LIST_STRIDE_IBM   103080
slouken@312
  2122
#define GL_NORMAL_ARRAY_LIST_STRIDE_IBM   103081
slouken@312
  2123
#define GL_COLOR_ARRAY_LIST_STRIDE_IBM    103082
slouken@312
  2124
#define GL_INDEX_ARRAY_LIST_STRIDE_IBM    103083
slouken@312
  2125
#define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
slouken@312
  2126
#define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
slouken@312
  2127
#define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
slouken@312
  2128
#define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
slouken@312
  2129
#endif
slouken@312
  2130
slouken@312
  2131
#ifndef GL_SGIX_subsample
slouken@312
  2132
#define GL_PACK_SUBSAMPLE_RATE_SGIX       0x85A0
slouken@312
  2133
#define GL_UNPACK_SUBSAMPLE_RATE_SGIX     0x85A1
slouken@312
  2134
#define GL_PIXEL_SUBSAMPLE_4444_SGIX      0x85A2
slouken@312
  2135
#define GL_PIXEL_SUBSAMPLE_2424_SGIX      0x85A3
slouken@312
  2136
#define GL_PIXEL_SUBSAMPLE_4242_SGIX      0x85A4
slouken@312
  2137
#endif
slouken@312
  2138
slouken@312
  2139
#ifndef GL_SGIX_ycrcb_subsample
slouken@312
  2140
#endif
slouken@312
  2141
slouken@312
  2142
#ifndef GL_SGIX_ycrcba
slouken@312
  2143
#define GL_YCRCB_SGIX                     0x8318
slouken@312
  2144
#define GL_YCRCBA_SGIX                    0x8319
slouken@312
  2145
#endif
slouken@312
  2146
slouken@312
  2147
#ifndef GL_SGI_depth_pass_instrument
slouken@312
  2148
#define GL_DEPTH_PASS_INSTRUMENT_SGIX     0x8310
slouken@312
  2149
#define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
slouken@312
  2150
#define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
slouken@312
  2151
#endif
slouken@312
  2152
slouken@312
  2153
#ifndef GL_3DFX_texture_compression_FXT1
slouken@312
  2154
#define GL_COMPRESSED_RGB_FXT1_3DFX       0x86B0
slouken@312
  2155
#define GL_COMPRESSED_RGBA_FXT1_3DFX      0x86B1
slouken@312
  2156
#endif
slouken@312
  2157
slouken@312
  2158
#ifndef GL_3DFX_multisample
slouken@312
  2159
#define GL_MULTISAMPLE_3DFX               0x86B2
slouken@312
  2160
#define GL_SAMPLE_BUFFERS_3DFX            0x86B3
slouken@312
  2161
#define GL_SAMPLES_3DFX                   0x86B4
slouken@312
  2162
#define GL_MULTISAMPLE_BIT_3DFX           0x20000000
slouken@312
  2163
#endif
slouken@312
  2164
slouken@312
  2165
#ifndef GL_3DFX_tbuffer
slouken@312
  2166
#endif
slouken@312
  2167
slouken@312
  2168
#ifndef GL_EXT_multisample
slouken@312
  2169
#define GL_MULTISAMPLE_EXT                0x809D
slouken@312
  2170
#define GL_SAMPLE_ALPHA_TO_MASK_EXT       0x809E
slouken@312
  2171
#define GL_SAMPLE_ALPHA_TO_ONE_EXT        0x809F
slouken@312
  2172
#define GL_SAMPLE_MASK_EXT                0x80A0
slouken@312
  2173
#define GL_1PASS_EXT                      0x80A1
slouken@312
  2174
#define GL_2PASS_0_EXT                    0x80A2
slouken@312
  2175
#define GL_2PASS_1_EXT                    0x80A3
slouken@312
  2176
#define GL_4PASS_0_EXT                    0x80A4
slouken@312
  2177
#define GL_4PASS_1_EXT                    0x80A5
slouken@312
  2178
#define GL_4PASS_2_EXT                    0x80A6
slouken@312
  2179
#define GL_4PASS_3_EXT                    0x80A7
slouken@312
  2180
#define GL_SAMPLE_BUFFERS_EXT             0x80A8
slouken@312
  2181
#define GL_SAMPLES_EXT                    0x80A9
slouken@312
  2182
#define GL_SAMPLE_MASK_VALUE_EXT          0x80AA
slouken@312
  2183
#define GL_SAMPLE_MASK_INVERT_EXT         0x80AB
slouken@312
  2184
#define GL_SAMPLE_PATTERN_EXT             0x80AC
slouken@843
  2185
#define GL_MULTISAMPLE_BIT_EXT            0x20000000
slouken@312
  2186
#endif
slouken@312
  2187
slouken@312
  2188
#ifndef GL_SGIX_vertex_preclip
slouken@312
  2189
#define GL_VERTEX_PRECLIP_SGIX            0x83EE
slouken@312
  2190
#define GL_VERTEX_PRECLIP_HINT_SGIX       0x83EF
slouken@312
  2191
#endif
slouken@312
  2192
slouken@312
  2193
#ifndef GL_SGIX_convolution_accuracy
slouken@312
  2194
#define GL_CONVOLUTION_HINT_SGIX          0x8316
slouken@312
  2195
#endif
slouken@312
  2196
slouken@312
  2197
#ifndef GL_SGIX_resample
slouken@312
  2198
#define GL_PACK_RESAMPLE_SGIX             0x842C
slouken@312
  2199
#define GL_UNPACK_RESAMPLE_SGIX           0x842D
slouken@312
  2200
#define GL_RESAMPLE_REPLICATE_SGIX        0x842E
slouken@312
  2201
#define GL_RESAMPLE_ZERO_FILL_SGIX        0x842F
slouken@312
  2202
#define GL_RESAMPLE_DECIMATE_SGIX         0x8430
slouken@312
  2203
#endif
slouken@312
  2204
slouken@312
  2205
#ifndef GL_SGIS_point_line_texgen
slouken@312
  2206
#define GL_EYE_DISTANCE_TO_POINT_SGIS     0x81F0
slouken@312
  2207
#define GL_OBJECT_DISTANCE_TO_POINT_SGIS  0x81F1
slouken@312
  2208
#define GL_EYE_DISTANCE_TO_LINE_SGIS      0x81F2
slouken@312
  2209
#define GL_OBJECT_DISTANCE_TO_LINE_SGIS   0x81F3
slouken@312
  2210
#define GL_EYE_POINT_SGIS                 0x81F4
slouken@312
  2211
#define GL_OBJECT_POINT_SGIS              0x81F5
slouken@312
  2212
#define GL_EYE_LINE_SGIS                  0x81F6
slouken@312
  2213
#define GL_OBJECT_LINE_SGIS               0x81F7
slouken@312
  2214
#endif
slouken@312
  2215
slouken@312
  2216
#ifndef GL_SGIS_texture_color_mask
slouken@312
  2217
#define GL_TEXTURE_COLOR_WRITEMASK_SGIS   0x81EF
slouken@312
  2218
#endif
slouken@312
  2219
slouken@843
  2220
#ifndef GL_EXT_texture_env_dot3
slouken@843
  2221
#define GL_DOT3_RGB_EXT                   0x8740
slouken@843
  2222
#define GL_DOT3_RGBA_EXT                  0x8741
slouken@843
  2223
#endif
slouken@843
  2224
slouken@843
  2225
#ifndef GL_ATI_texture_mirror_once
slouken@843
  2226
#define GL_MIRROR_CLAMP_ATI               0x8742
slouken@843
  2227
#define GL_MIRROR_CLAMP_TO_EDGE_ATI       0x8743
slouken@843
  2228
#endif
slouken@843
  2229
slouken@843
  2230
#ifndef GL_NV_fence
slouken@843
  2231
#define GL_ALL_COMPLETED_NV               0x84F2
slouken@843
  2232
#define GL_FENCE_STATUS_NV                0x84F3
slouken@843
  2233
#define GL_FENCE_CONDITION_NV             0x84F4
slouken@843
  2234
#endif
slouken@843
  2235
slouken@843
  2236
#ifndef GL_IBM_texture_mirrored_repeat
slouken@843
  2237
#define GL_MIRRORED_REPEAT_IBM            0x8370
slouken@843
  2238
#endif
slouken@843
  2239
slouken@843
  2240
#ifndef GL_NV_evaluators
slouken@843
  2241
#define GL_EVAL_2D_NV                     0x86C0
slouken@843
  2242
#define GL_EVAL_TRIANGULAR_2D_NV          0x86C1
slouken@843
  2243
#define GL_MAP_TESSELLATION_NV            0x86C2
slouken@843
  2244
#define GL_MAP_ATTRIB_U_ORDER_NV          0x86C3
slouken@843
  2245
#define GL_MAP_ATTRIB_V_ORDER_NV          0x86C4
slouken@843
  2246
#define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
slouken@843
  2247
#define GL_EVAL_VERTEX_ATTRIB0_NV         0x86C6
slouken@843
  2248
#define GL_EVAL_VERTEX_ATTRIB1_NV         0x86C7
slouken@843
  2249
#define GL_EVAL_VERTEX_ATTRIB2_NV         0x86C8
slouken@843
  2250
#define GL_EVAL_VERTEX_ATTRIB3_NV         0x86C9
slouken@843
  2251
#define GL_EVAL_VERTEX_ATTRIB4_NV         0x86CA
slouken@843
  2252
#define GL_EVAL_VERTEX_ATTRIB5_NV         0x86CB
slouken@843
  2253
#define GL_EVAL_VERTEX_ATTRIB6_NV         0x86CC
slouken@843
  2254
#define GL_EVAL_VERTEX_ATTRIB7_NV         0x86CD
slouken@843
  2255
#define GL_EVAL_VERTEX_ATTRIB8_NV         0x86CE
slouken@843
  2256
#define GL_EVAL_VERTEX_ATTRIB9_NV         0x86CF
slouken@843
  2257
#define GL_EVAL_VERTEX_ATTRIB10_NV        0x86D0
slouken@843
  2258
#define GL_EVAL_VERTEX_ATTRIB11_NV        0x86D1
slouken@843
  2259
#define GL_EVAL_VERTEX_ATTRIB12_NV        0x86D2
slouken@843
  2260
#define GL_EVAL_VERTEX_ATTRIB13_NV        0x86D3
slouken@843
  2261
#define GL_EVAL_VERTEX_ATTRIB14_NV        0x86D4
slouken@843
  2262
#define GL_EVAL_VERTEX_ATTRIB15_NV        0x86D5
slouken@843
  2263
#define GL_MAX_MAP_TESSELLATION_NV        0x86D6
slouken@843
  2264
#define GL_MAX_RATIONAL_EVAL_ORDER_NV     0x86D7
slouken@843
  2265
#endif
slouken@843
  2266
slouken@843
  2267
#ifndef GL_NV_packed_depth_stencil
slouken@843
  2268
#define GL_DEPTH_STENCIL_NV               0x84F9
slouken@843
  2269
#define GL_UNSIGNED_INT_24_8_NV           0x84FA
slouken@843
  2270
#endif
slouken@843
  2271
slouken@843
  2272
#ifndef GL_NV_register_combiners2
slouken@843
  2273
#define GL_PER_STAGE_CONSTANTS_NV         0x8535
slouken@843
  2274
#endif
slouken@843
  2275
slouken@843
  2276
#ifndef GL_NV_texture_compression_vtc
slouken@843
  2277
#endif
slouken@843
  2278
slouken@843
  2279
#ifndef GL_NV_texture_rectangle
slouken@843
  2280
#define GL_TEXTURE_RECTANGLE_NV           0x84F5
slouken@843
  2281
#define GL_TEXTURE_BINDING_RECTANGLE_NV   0x84F6
slouken@843
  2282
#define GL_PROXY_TEXTURE_RECTANGLE_NV     0x84F7
slouken@843
  2283
#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV  0x84F8
slouken@843
  2284
#endif
slouken@843
  2285
slouken@843
  2286
#ifndef GL_NV_texture_shader
slouken@843
  2287
#define GL_OFFSET_TEXTURE_RECTANGLE_NV    0x864C
slouken@843
  2288
#define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
slouken@843
  2289
#define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
slouken@843
  2290
#define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
slouken@843
  2291
#define GL_UNSIGNED_INT_S8_S8_8_8_NV      0x86DA
slouken@843
  2292
#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV  0x86DB
slouken@843
  2293
#define GL_DSDT_MAG_INTENSITY_NV          0x86DC
slouken@843
  2294
#define GL_SHADER_CONSISTENT_NV           0x86DD
slouken@843
  2295
#define GL_TEXTURE_SHADER_NV              0x86DE
slouken@843
  2296
#define GL_SHADER_OPERATION_NV            0x86DF
slouken@843
  2297
#define GL_CULL_MODES_NV                  0x86E0
slouken@843
  2298
#define GL_OFFSET_TEXTURE_MATRIX_NV       0x86E1
slouken@843
  2299
#define GL_OFFSET_TEXTURE_SCALE_NV        0x86E2
slouken@843
  2300
#define GL_OFFSET_TEXTURE_BIAS_NV         0x86E3
slouken@843
  2301
#define GL_OFFSET_TEXTURE_2D_MATRIX_NV    GL_OFFSET_TEXTURE_MATRIX_NV
slouken@843
  2302
#define GL_OFFSET_TEXTURE_2D_SCALE_NV     GL_OFFSET_TEXTURE_SCALE_NV
slouken@843
  2303
#define GL_OFFSET_TEXTURE_2D_BIAS_NV      GL_OFFSET_TEXTURE_BIAS_NV
slouken@843
  2304
#define GL_PREVIOUS_TEXTURE_INPUT_NV      0x86E4
slouken@843
  2305
#define GL_CONST_EYE_NV                   0x86E5
slouken@843
  2306
#define GL_PASS_THROUGH_NV                0x86E6
slouken@843
  2307
#define GL_CULL_FRAGMENT_NV               0x86E7
slouken@843
  2308
#define GL_OFFSET_TEXTURE_2D_NV           0x86E8
slouken@843
  2309
#define GL_DEPENDENT_AR_TEXTURE_2D_NV     0x86E9
slouken@843
  2310
#define GL_DEPENDENT_GB_TEXTURE_2D_NV     0x86EA
slouken@843
  2311
#define GL_DOT_PRODUCT_NV                 0x86EC
slouken@843
  2312
#define GL_DOT_PRODUCT_DEPTH_REPLACE_NV   0x86ED
slouken@843
  2313
#define GL_DOT_PRODUCT_TEXTURE_2D_NV      0x86EE
slouken@843
  2314
#define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
slouken@843
  2315
#define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
slouken@843
  2316
#define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
slouken@843
  2317
#define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
slouken@843
  2318
#define GL_HILO_NV                        0x86F4
slouken@843
  2319
#define GL_DSDT_NV                        0x86F5
slouken@843
  2320
#define GL_DSDT_MAG_NV                    0x86F6
slouken@843
  2321
#define GL_DSDT_MAG_VIB_NV                0x86F7
slouken@843
  2322
#define GL_HILO16_NV                      0x86F8
slouken@843
  2323
#define GL_SIGNED_HILO_NV                 0x86F9
slouken@843
  2324
#define GL_SIGNED_HILO16_NV               0x86FA
slouken@843
  2325
#define GL_SIGNED_RGBA_NV                 0x86FB
slouken@843
  2326
#define GL_SIGNED_RGBA8_NV                0x86FC
slouken@843
  2327
#define GL_SIGNED_RGB_NV                  0x86FE
slouken@843
  2328
#define GL_SIGNED_RGB8_NV                 0x86FF
slouken@843
  2329
#define GL_SIGNED_LUMINANCE_NV            0x8701
slouken@843
  2330
#define GL_SIGNED_LUMINANCE8_NV           0x8702
slouken@843
  2331
#define GL_SIGNED_LUMINANCE_ALPHA_NV      0x8703
slouken@843
  2332
#define GL_SIGNED_LUMINANCE8_ALPHA8_NV    0x8704
slouken@843
  2333
#define GL_SIGNED_ALPHA_NV                0x8705
slouken@843
  2334
#define GL_SIGNED_ALPHA8_NV               0x8706
slouken@843
  2335
#define GL_SIGNED_INTENSITY_NV            0x8707
slouken@843
  2336
#define GL_SIGNED_INTENSITY8_NV           0x8708
slouken@843
  2337
#define GL_DSDT8_NV                       0x8709
slouken@843
  2338
#define GL_DSDT8_MAG8_NV                  0x870A
slouken@843
  2339
#define GL_DSDT8_MAG8_INTENSITY8_NV       0x870B
slouken@843
  2340
#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV   0x870C
slouken@843
  2341
#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
slouken@843
  2342
#define GL_HI_SCALE_NV                    0x870E
slouken@843
  2343
#define GL_LO_SCALE_NV                    0x870F
slouken@843
  2344
#define GL_DS_SCALE_NV                    0x8710
slouken@843
  2345
#define GL_DT_SCALE_NV                    0x8711
slouken@843
  2346
#define GL_MAGNITUDE_SCALE_NV             0x8712
slouken@843
  2347
#define GL_VIBRANCE_SCALE_NV              0x8713
slouken@843
  2348
#define GL_HI_BIAS_NV                     0x8714
slouken@843
  2349
#define GL_LO_BIAS_NV                     0x8715
slouken@843
  2350
#define GL_DS_BIAS_NV                     0x8716
slouken@843
  2351
#define GL_DT_BIAS_NV                     0x8717
slouken@843
  2352
#define GL_MAGNITUDE_BIAS_NV              0x8718
slouken@843
  2353
#define GL_VIBRANCE_BIAS_NV               0x8719
slouken@843
  2354
#define GL_TEXTURE_BORDER_VALUES_NV       0x871A
slouken@843
  2355
#define GL_TEXTURE_HI_SIZE_NV             0x871B
slouken@843
  2356
#define GL_TEXTURE_LO_SIZE_NV             0x871C
slouken@843
  2357
#define GL_TEXTURE_DS_SIZE_NV             0x871D
slouken@843
  2358
#define GL_TEXTURE_DT_SIZE_NV             0x871E
slouken@843
  2359
#define GL_TEXTURE_MAG_SIZE_NV            0x871F
slouken@843
  2360
#endif
slouken@843
  2361
slouken@843
  2362
#ifndef GL_NV_texture_shader2
slouken@843
  2363
#define GL_DOT_PRODUCT_TEXTURE_3D_NV      0x86EF
slouken@843
  2364
#endif
slouken@843
  2365
slouken@843
  2366
#ifndef GL_NV_vertex_array_range2
slouken@843
  2367
#define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
slouken@843
  2368
#endif
slouken@843
  2369
slouken@843
  2370
#ifndef GL_NV_vertex_program
slouken@843
  2371
#define GL_VERTEX_PROGRAM_NV              0x8620
slouken@843
  2372
#define GL_VERTEX_STATE_PROGRAM_NV        0x8621
slouken@843
  2373
#define GL_ATTRIB_ARRAY_SIZE_NV           0x8623
slouken@843
  2374
#define GL_ATTRIB_ARRAY_STRIDE_NV         0x8624
slouken@843
  2375
#define GL_ATTRIB_ARRAY_TYPE_NV           0x8625
slouken@843
  2376
#define GL_CURRENT_ATTRIB_NV              0x8626
slouken@843
  2377
#define GL_PROGRAM_LENGTH_NV              0x8627
slouken@843
  2378
#define GL_PROGRAM_STRING_NV              0x8628
slouken@843
  2379
#define GL_MODELVIEW_PROJECTION_NV        0x8629
slouken@843
  2380
#define GL_IDENTITY_NV                    0x862A
slouken@843
  2381
#define GL_INVERSE_NV                     0x862B
slouken@843
  2382
#define GL_TRANSPOSE_NV                   0x862C
slouken@843
  2383
#define GL_INVERSE_TRANSPOSE_NV           0x862D
slouken@843
  2384
#define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
slouken@843
  2385
#define GL_MAX_TRACK_MATRICES_NV          0x862F
slouken@843
  2386
#define GL_MATRIX0_NV                     0x8630
slouken@843
  2387
#define GL_MATRIX1_NV                     0x8631
slouken@843
  2388
#define GL_MATRIX2_NV                     0x8632
slouken@843
  2389
#define GL_MATRIX3_NV                     0x8633
slouken@843
  2390
#define GL_MATRIX4_NV                     0x8634
slouken@843
  2391
#define GL_MATRIX5_NV                     0x8635
slouken@843
  2392
#define GL_MATRIX6_NV                     0x8636
slouken@843
  2393
#define GL_MATRIX7_NV                     0x8637
slouken@843
  2394
#define GL_CURRENT_MATRIX_STACK_DEPTH_NV  0x8640
slouken@843
  2395
#define GL_CURRENT_MATRIX_NV              0x8641
slouken@843
  2396
#define GL_VERTEX_PROGRAM_POINT_SIZE_NV   0x8642
slouken@843
  2397
#define GL_VERTEX_PROGRAM_TWO_SIDE_NV     0x8643
slouken@843
  2398
#define GL_PROGRAM_PARAMETER_NV           0x8644
slouken@843
  2399
#define GL_ATTRIB_ARRAY_POINTER_NV        0x8645
slouken@843
  2400
#define GL_PROGRAM_TARGET_NV              0x8646
slouken@843
  2401
#define GL_PROGRAM_RESIDENT_NV            0x8647
slouken@843
  2402
#define GL_TRACK_MATRIX_NV                0x8648
slouken@843
  2403
#define GL_TRACK_MATRIX_TRANSFORM_NV      0x8649
slouken@843
  2404
#define GL_VERTEX_PROGRAM_BINDING_NV      0x864A
slouken@843
  2405
#define GL_PROGRAM_ERROR_POSITION_NV      0x864B
slouken@843
  2406
#define GL_VERTEX_ATTRIB_ARRAY0_NV        0x8650
slouken@843
  2407
#define GL_VERTEX_ATTRIB_ARRAY1_NV        0x8651
slouken@843
  2408
#define GL_VERTEX_ATTRIB_ARRAY2_NV        0x8652
slouken@843
  2409
#define GL_VERTEX_ATTRIB_ARRAY3_NV        0x8653
slouken@843
  2410
#define GL_VERTEX_ATTRIB_ARRAY4_NV        0x8654
slouken@843
  2411
#define GL_VERTEX_ATTRIB_ARRAY5_NV        0x8655
slouken@843
  2412
#define GL_VERTEX_ATTRIB_ARRAY6_NV        0x8656
slouken@843
  2413
#define GL_VERTEX_ATTRIB_ARRAY7_NV        0x8657
slouken@843
  2414
#define GL_VERTEX_ATTRIB_ARRAY8_NV        0x8658
slouken@843
  2415
#define GL_VERTEX_ATTRIB_ARRAY9_NV        0x8659
slouken@843
  2416
#define GL_VERTEX_ATTRIB_ARRAY10_NV       0x865A
slouken@843
  2417
#define GL_VERTEX_ATTRIB_ARRAY11_NV       0x865B
slouken@843
  2418
#define GL_VERTEX_ATTRIB_ARRAY12_NV       0x865C
slouken@843
  2419
#define GL_VERTEX_ATTRIB_ARRAY13_NV       0x865D
slouken@843
  2420
#define GL_VERTEX_ATTRIB_ARRAY14_NV       0x865E
slouken@843
  2421
#define GL_VERTEX_ATTRIB_ARRAY15_NV       0x865F
slouken@843
  2422
#define GL_MAP1_VERTEX_ATTRIB0_4_NV       0x8660
slouken@843
  2423
#define GL_MAP1_VERTEX_ATTRIB1_4_NV       0x8661
slouken@843
  2424
#define GL_MAP1_VERTEX_ATTRIB2_4_NV       0x8662
slouken@843
  2425
#define GL_MAP1_VERTEX_ATTRIB3_4_NV       0x8663
slouken@843
  2426
#define GL_MAP1_VERTEX_ATTRIB4_4_NV       0x8664
slouken@843
  2427
#define GL_MAP1_VERTEX_ATTRIB5_4_NV       0x8665
slouken@843
  2428
#define GL_MAP1_VERTEX_ATTRIB6_4_NV       0x8666
slouken@843
  2429
#define GL_MAP1_VERTEX_ATTRIB7_4_NV       0x8667
slouken@843
  2430
#define GL_MAP1_VERTEX_ATTRIB8_4_NV       0x8668
slouken@843
  2431
#define GL_MAP1_VERTEX_ATTRIB9_4_NV       0x8669
slouken@843
  2432
#define GL_MAP1_VERTEX_ATTRIB10_4_NV      0x866A
slouken@843
  2433
#define GL_MAP1_VERTEX_ATTRIB11_4_NV      0x866B
slouken@843
  2434
#define GL_MAP1_VERTEX_ATTRIB12_4_NV      0x866C
slouken@843
  2435
#define GL_MAP1_VERTEX_ATTRIB13_4_NV      0x866D
slouken@843
  2436
#define GL_MAP1_VERTEX_ATTRIB14_4_NV      0x866E
slouken@843
  2437
#define GL_MAP1_VERTEX_ATTRIB15_4_NV      0x866F
slouken@843
  2438
#define GL_MAP2_VERTEX_ATTRIB0_4_NV       0x8670
slouken@843
  2439
#define GL_MAP2_VERTEX_ATTRIB1_4_NV       0x8671
slouken@843
  2440
#define GL_MAP2_VERTEX_ATTRIB2_4_NV       0x8672
slouken@843
  2441
#define GL_MAP2_VERTEX_ATTRIB3_4_NV       0x8673
slouken@843
  2442
#define GL_MAP2_VERTEX_ATTRIB4_4_NV       0x8674
slouken@843
  2443
#define GL_MAP2_VERTEX_ATTRIB5_4_NV       0x8675
slouken@843
  2444
#define GL_MAP2_VERTEX_ATTRIB6_4_NV       0x8676
slouken@843
  2445
#define GL_MAP2_VERTEX_ATTRIB7_4_NV       0x8677
slouken@843
  2446
#define GL_MAP2_VERTEX_ATTRIB8_4_NV       0x8678
slouken@843
  2447
#define GL_MAP2_VERTEX_ATTRIB9_4_NV       0x8679
slouken@843
  2448
#define GL_MAP2_VERTEX_ATTRIB10_4_NV      0x867A
slouken@843
  2449
#define GL_MAP2_VERTEX_ATTRIB11_4_NV      0x867B
slouken@843
  2450
#define GL_MAP2_VERTEX_ATTRIB12_4_NV      0x867C
slouken@843
  2451
#define GL_MAP2_VERTEX_ATTRIB13_4_NV      0x867D
slouken@843
  2452
#define GL_MAP2_VERTEX_ATTRIB14_4_NV      0x867E
slouken@843
  2453
#define GL_MAP2_VERTEX_ATTRIB15_4_NV      0x867F
slouken@843
  2454
#endif
slouken@843
  2455
slouken@843
  2456
#ifndef GL_SGIX_texture_coordinate_clamp
slouken@843
  2457
#define GL_TEXTURE_MAX_CLAMP_S_SGIX       0x8369
slouken@843
  2458
#define GL_TEXTURE_MAX_CLAMP_T_SGIX       0x836A
slouken@843
  2459
#define GL_TEXTURE_MAX_CLAMP_R_SGIX       0x836B
slouken@843
  2460
#endif
slouken@843
  2461
slouken@843
  2462
#ifndef GL_SGIX_scalebias_hint
slouken@843
  2463
#define GL_SCALEBIAS_HINT_SGIX            0x8322
slouken@843
  2464
#endif
slouken@843
  2465
slouken@843
  2466
#ifndef GL_OML_interlace
slouken@843
  2467
#define GL_INTERLACE_OML                  0x8980
slouken@843
  2468
#define GL_INTERLACE_READ_OML             0x8981
slouken@843
  2469
#endif
slouken@843
  2470
slouken@843
  2471
#ifndef GL_OML_subsample
slouken@843
  2472
#define GL_FORMAT_SUBSAMPLE_24_24_OML     0x8982
slouken@843
  2473
#define GL_FORMAT_SUBSAMPLE_244_244_OML   0x8983
slouken@843
  2474
#endif
slouken@843
  2475
slouken@843
  2476
#ifndef GL_OML_resample
slouken@843
  2477
#define GL_PACK_RESAMPLE_OML              0x8984
slouken@843
  2478
#define GL_UNPACK_RESAMPLE_OML            0x8985
slouken@843
  2479
#define GL_RESAMPLE_REPLICATE_OML         0x8986
slouken@843
  2480
#define GL_RESAMPLE_ZERO_FILL_OML         0x8987
slouken@843
  2481
#define GL_RESAMPLE_AVERAGE_OML           0x8988
slouken@843
  2482
#define GL_RESAMPLE_DECIMATE_OML          0x8989
slouken@843
  2483
#endif
slouken@843
  2484
slouken@843
  2485
#ifndef GL_NV_copy_depth_to_color
slouken@843
  2486
#define GL_DEPTH_STENCIL_TO_RGBA_NV       0x886E
slouken@843
  2487
#define GL_DEPTH_STENCIL_TO_BGRA_NV       0x886F
slouken@843
  2488
#endif
slouken@843
  2489
slouken@843
  2490
#ifndef GL_ATI_envmap_bumpmap
slouken@843
  2491
#define GL_BUMP_ROT_MATRIX_ATI            0x8775
slouken@843
  2492
#define GL_BUMP_ROT_MATRIX_SIZE_ATI       0x8776
slouken@843
  2493
#define GL_BUMP_NUM_TEX_UNITS_ATI         0x8777
slouken@843
  2494
#define GL_BUMP_TEX_UNITS_ATI             0x8778
slouken@843
  2495
#define GL_DUDV_ATI                       0x8779
slouken@843
  2496
#define GL_DU8DV8_ATI                     0x877A
slouken@843
  2497
#define GL_BUMP_ENVMAP_ATI                0x877B
slouken@843
  2498
#define GL_BUMP_TARGET_ATI                0x877C
slouken@843
  2499
#endif
slouken@843
  2500
slouken@843
  2501
#ifndef GL_ATI_fragment_shader
slouken@843
  2502
#define GL_FRAGMENT_SHADER_ATI            0x8920
slouken@843
  2503
#define GL_REG_0_ATI                      0x8921
slouken@843
  2504
#define GL_REG_1_ATI                      0x8922
slouken@843
  2505
#define GL_REG_2_ATI                      0x8923
slouken@843
  2506
#define GL_REG_3_ATI                      0x8924
slouken@843
  2507
#define GL_REG_4_ATI                      0x8925
slouken@843
  2508
#define GL_REG_5_ATI                      0x8926
slouken@843
  2509
#define GL_REG_6_ATI                      0x8927
slouken@843
  2510
#define GL_REG_7_ATI                      0x8928
slouken@843
  2511
#define GL_REG_8_ATI                      0x8929
slouken@843
  2512
#define GL_REG_9_ATI                      0x892A
slouken@843
  2513
#define GL_REG_10_ATI                     0x892B
slouken@843
  2514
#define GL_REG_11_ATI                     0x892C
slouken@843
  2515
#define GL_REG_12_ATI                     0x892D
slouken@843
  2516
#define GL_REG_13_ATI                     0x892E
slouken@843
  2517
#define GL_REG_14_ATI                     0x892F
slouken@843
  2518
#define GL_REG_15_ATI                     0x8930
slouken@843
  2519
#define GL_REG_16_ATI                     0x8931
slouken@843
  2520
#define GL_REG_17_ATI                     0x8932
slouken@843
  2521
#define GL_REG_18_ATI                     0x8933
slouken@843
  2522
#define GL_REG_19_ATI                     0x8934
slouken@843
  2523
#define GL_REG_20_ATI                     0x8935
slouken@843
  2524
#define GL_REG_21_ATI                     0x8936
slouken@843
  2525
#define GL_REG_22_ATI                     0x8937
slouken@843
  2526
#define GL_REG_23_ATI                     0x8938
slouken@843
  2527
#define GL_REG_24_ATI                     0x8939
slouken@843
  2528
#define GL_REG_25_ATI                     0x893A
slouken@843
  2529
#define GL_REG_26_ATI                     0x893B
slouken@843
  2530
#define GL_REG_27_ATI                     0x893C
slouken@843
  2531
#define GL_REG_28_ATI                     0x893D
slouken@843
  2532
#define GL_REG_29_ATI                     0x893E
slouken@843
  2533
#define GL_REG_30_ATI                     0x893F
slouken@843
  2534
#define GL_REG_31_ATI                     0x8940
slouken@843
  2535
#define GL_CON_0_ATI                      0x8941
slouken@843
  2536
#define GL_CON_1_ATI                      0x8942
slouken@843
  2537
#define GL_CON_2_ATI                      0x8943
slouken@843
  2538
#define GL_CON_3_ATI                      0x8944
slouken@843
  2539
#define GL_CON_4_ATI                      0x8945
slouken@843
  2540
#define GL_CON_5_ATI                      0x8946
slouken@843
  2541
#define GL_CON_6_ATI                      0x8947
slouken@843
  2542
#define GL_CON_7_ATI                      0x8948
slouken@843
  2543
#define GL_CON_8_ATI                      0x8949
slouken@843
  2544
#define GL_CON_9_ATI                      0x894A
slouken@843
  2545
#define GL_CON_10_ATI                     0x894B
slouken@843
  2546
#define GL_CON_11_ATI                     0x894C
slouken@843
  2547
#define GL_CON_12_ATI                     0x894D
slouken@843
  2548
#define GL_CON_13_ATI                     0x894E
slouken@843
  2549
#define GL_CON_14_ATI                     0x894F
slouken@843
  2550
#define GL_CON_15_ATI                     0x8950
slouken@843
  2551
#define GL_CON_16_ATI                     0x8951
slouken@843
  2552
#define GL_CON_17_ATI                     0x8952
slouken@843
  2553
#define GL_CON_18_ATI                     0x8953
slouken@843
  2554
#define GL_CON_19_ATI                     0x8954
slouken@843
  2555
#define GL_CON_20_ATI                     0x8955
slouken@843
  2556
#define GL_CON_21_ATI                     0x8956
slouken@843
  2557
#define GL_CON_22_ATI                     0x8957
slouken@843
  2558
#define GL_CON_23_ATI                     0x8958
slouken@843
  2559
#define GL_CON_24_ATI                     0x8959
slouken@843
  2560
#define GL_CON_25_ATI                     0x895A
slouken@843
  2561
#define GL_CON_26_ATI                     0x895B
slouken@843
  2562
#define GL_CON_27_ATI                     0x895C
slouken@843
  2563
#define GL_CON_28_ATI                     0x895D
slouken@843
  2564
#define GL_CON_29_ATI                     0x895E
slouken@843
  2565
#define GL_CON_30_ATI                     0x895F
slouken@843
  2566
#define GL_CON_31_ATI                     0x8960
slouken@843
  2567
#define GL_MOV_ATI                        0x8961
slouken@843
  2568
#define GL_ADD_ATI                        0x8963
slouken@843
  2569
#define GL_MUL_ATI                        0x8964
slouken@843
  2570
#define GL_SUB_ATI                        0x8965
slouken@843
  2571
#define GL_DOT3_ATI                       0x8966
slouken@843
  2572
#define GL_DOT4_ATI                       0x8967
slouken@843
  2573
#define GL_MAD_ATI                        0x8968
slouken@843
  2574
#define GL_LERP_ATI                       0x8969
slouken@843
  2575
#define GL_CND_ATI                        0x896A
slouken@843
  2576
#define GL_CND0_ATI                       0x896B
slouken@843
  2577
#define GL_DOT2_ADD_ATI                   0x896C
slouken@843
  2578
#define GL_SECONDARY_INTERPOLATOR_ATI     0x896D
slouken@843
  2579
#define GL_NUM_FRAGMENT_REGISTERS_ATI     0x896E
slouken@843
  2580
#define GL_NUM_FRAGMENT_CONSTANTS_ATI     0x896F
slouken@843
  2581
#define GL_NUM_PASSES_ATI                 0x8970
slouken@843
  2582
#define GL_NUM_INSTRUCTIONS_PER_PASS_ATI  0x8971
slouken@843
  2583
#define GL_NUM_INSTRUCTIONS_TOTAL_ATI     0x8972
slouken@843
  2584
#define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
slouken@843
  2585
#define GL_NUM_LOOPBACK_COMPONENTS_ATI    0x8974
slouken@843
  2586
#define GL_COLOR_ALPHA_PAIRING_ATI        0x8975
slouken@843
  2587
#define GL_SWIZZLE_STR_ATI                0x8976
slouken@843
  2588
#define GL_SWIZZLE_STQ_ATI                0x8977
slouken@843
  2589
#define GL_SWIZZLE_STR_DR_ATI             0x8978
slouken@843
  2590
#define GL_SWIZZLE_STQ_DQ_ATI             0x8979
slouken@843
  2591
#define GL_SWIZZLE_STRQ_ATI               0x897A
slouken@843
  2592
#define GL_SWIZZLE_STRQ_DQ_ATI            0x897B
slouken@843
  2593
#define GL_RED_BIT_ATI                    0x00000001
slouken@843
  2594
#define GL_GREEN_BIT_ATI                  0x00000002
slouken@843
  2595
#define GL_BLUE_BIT_ATI                   0x00000004
slouken@843
  2596
#define GL_2X_BIT_ATI                     0x00000001
slouken@843
  2597
#define GL_4X_BIT_ATI                     0x00000002
slouken@843
  2598
#define GL_8X_BIT_ATI                     0x00000004
slouken@843
  2599
#define GL_HALF_BIT_ATI                   0x00000008
slouken@843
  2600
#define GL_QUARTER_BIT_ATI                0x00000010
slouken@843
  2601
#define GL_EIGHTH_BIT_ATI                 0x00000020
slouken@843
  2602
#define GL_SATURATE_BIT_ATI               0x00000040
slouken@843
  2603
#define GL_COMP_BIT_ATI                   0x00000002
slouken@843
  2604
#define GL_NEGATE_BIT_ATI                 0x00000004
slouken@843
  2605
#define GL_BIAS_BIT_ATI                   0x00000008
slouken@843
  2606
#endif
slouken@843
  2607
slouken@843
  2608
#ifndef GL_ATI_pn_triangles
slouken@843
  2609
#define GL_PN_TRIANGLES_ATI               0x87F0
slouken@843