include/SDL_opengl.h
author Sam Lantinga <slouken@libsdl.org>
Mon, 08 Dec 2008 00:27:32 +0000
changeset 2859 99210400e8b9
parent 2788 44be910366a9
child 3240 6c4736b446e8
permissions -rw-r--r--
Updated copyright date
slouken@214
     1
/*
slouken@214
     2
    SDL - Simple DirectMedia Layer
slouken@2859
     3
    Copyright (C) 1997-2009 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@1895
    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@1895
    35
#define __glext_h_              /* Don't let gl.h include glext.h */
slouken@932
    36
#endif
slouken@1424
    37
#if defined(__MACOSX__)
slouken@1895
    38
#include <OpenGL/gl.h>          /* Header File For The OpenGL Library */
slouken@1895
    39
#include <OpenGL/glu.h>         /* Header File For The GLU Library */
slouken@214
    40
#else
slouken@1895
    41
#include <GL/gl.h>              /* Header File For The OpenGL Library */
slouken@1895
    42
#include <GL/glu.h>             /* Header File For The GLU Library */
slouken@932
    43
#endif
slouken@214
    44
#ifndef NO_SDL_GLEXT
slouken@214
    45
#undef __glext_h_
slouken@214
    46
#endif
slouken@214
    47
slouken@1895
    48
/* This file is included because glext.h is not available on some systems.
slouken@214
    49
   If you don't want this version included, simply define "NO_SDL_GLEXT"
slouken@1895
    50
   The latest version is available from:
slouken@1895
    51
	http://oss.sgi.com/projects/ogl-sample/registry/
slouken@214
    52
 */
slouken@1895
    53
#if !defined(NO_SDL_GLEXT) && !defined(GL_GLEXT_LEGACY)
slouken@1895
    54
/* *INDENT-OFF* */
slouken@1895
    55
#ifndef __glext_h_
slouken@214
    56
#define __glext_h_
slouken@214
    57
slouken@214
    58
#ifdef __cplusplus
slouken@214
    59
extern "C" {
slouken@214
    60
#endif
slouken@214
    61
slouken@312
    62
/*
slouken@2788
    63
** Copyright (c) 2007 The Khronos Group Inc.
slouken@312
    64
** 
slouken@2788
    65
** Permission is hereby granted, free of charge, to any person obtaining a
slouken@2788
    66
** copy of this software and/or associated documentation files (the
slouken@2788
    67
** "Materials"), to deal in the Materials without restriction, including
slouken@2788
    68
** without limitation the rights to use, copy, modify, merge, publish,
slouken@2788
    69
** distribute, sublicense, and/or sell copies of the Materials, and to
slouken@2788
    70
** permit persons to whom the Materials are furnished to do so, subject to
slouken@2788
    71
** the following conditions:
slouken@312
    72
** 
slouken@2788
    73
** The above copyright notice and this permission notice shall be included
slouken@2788
    74
** in all copies or substantial portions of the Materials.
slouken@312
    75
** 
slouken@2788
    76
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
slouken@2788
    77
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
slouken@2788
    78
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
slouken@2788
    79
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
slouken@2788
    80
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
slouken@2788
    81
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
slouken@2788
    82
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
slouken@312
    83
*/
slouken@312
    84
slouken@843
    85
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
slouken@843
    86
#define WIN32_LEAN_AND_MEAN 1
slouken@843
    87
#include <windows.h>
slouken@843
    88
#endif
slouken@843
    89
slouken@214
    90
#ifndef APIENTRY
slouken@214
    91
#define APIENTRY
slouken@214
    92
#endif
slouken@843
    93
#ifndef APIENTRYP
slouken@843
    94
#define APIENTRYP APIENTRY *
slouken@843
    95
#endif
slouken@843
    96
#ifndef GLAPI
slouken@843
    97
#define GLAPI extern
slouken@843
    98
#endif
slouken@214
    99
slouken@312
   100
/*************************************************************/
slouken@214
   101
slouken@312
   102
/* Header file version number, required by OpenGL ABI for Linux */
slouken@2788
   103
/* glext.h last updated 2008/11/14 */
slouken@2788
   104
/* Current version at http://www.opengl.org/registry/ */
slouken@2788
   105
#define GL_GLEXT_VERSION 44
slouken@214
   106
slouken@312
   107
#ifndef GL_VERSION_1_2
slouken@843
   108
#define GL_UNSIGNED_BYTE_3_3_2            0x8032
slouken@843
   109
#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
slouken@843
   110
#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
slouken@843
   111
#define GL_UNSIGNED_INT_8_8_8_8           0x8035
slouken@843
   112
#define GL_UNSIGNED_INT_10_10_10_2        0x8036
slouken@843
   113
#define GL_RESCALE_NORMAL                 0x803A
slouken@843
   114
#define GL_TEXTURE_BINDING_3D             0x806A
slouken@843
   115
#define GL_PACK_SKIP_IMAGES               0x806B
slouken@843
   116
#define GL_PACK_IMAGE_HEIGHT              0x806C
slouken@843
   117
#define GL_UNPACK_SKIP_IMAGES             0x806D
slouken@843
   118
#define GL_UNPACK_IMAGE_HEIGHT            0x806E
slouken@843
   119
#define GL_TEXTURE_3D                     0x806F
slouken@843
   120
#define GL_PROXY_TEXTURE_3D               0x8070
slouken@843
   121
#define GL_TEXTURE_DEPTH                  0x8071
slouken@843
   122
#define GL_TEXTURE_WRAP_R                 0x8072
slouken@843
   123
#define GL_MAX_3D_TEXTURE_SIZE            0x8073
slouken@843
   124
#define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
slouken@843
   125
#define GL_UNSIGNED_SHORT_5_6_5           0x8363
slouken@843
   126
#define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
slouken@843
   127
#define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
slouken@843
   128
#define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
slouken@843
   129
#define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
slouken@843
   130
#define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
slouken@843
   131
#define GL_BGR                            0x80E0
slouken@843
   132
#define GL_BGRA                           0x80E1
slouken@843
   133
#define GL_MAX_ELEMENTS_VERTICES          0x80E8
slouken@843
   134
#define GL_MAX_ELEMENTS_INDICES           0x80E9
slouken@843
   135
#define GL_CLAMP_TO_EDGE                  0x812F
slouken@843
   136
#define GL_TEXTURE_MIN_LOD                0x813A
slouken@843
   137
#define GL_TEXTURE_MAX_LOD                0x813B
slouken@843
   138
#define GL_TEXTURE_BASE_LEVEL             0x813C
slouken@843
   139
#define GL_TEXTURE_MAX_LEVEL              0x813D
slouken@843
   140
#define GL_LIGHT_MODEL_COLOR_CONTROL      0x81F8
slouken@843
   141
#define GL_SINGLE_COLOR                   0x81F9
slouken@843
   142
#define GL_SEPARATE_SPECULAR_COLOR        0x81FA
slouken@843
   143
#define GL_SMOOTH_POINT_SIZE_RANGE        0x0B12
slouken@843
   144
#define GL_SMOOTH_POINT_SIZE_GRANULARITY  0x0B13
slouken@843
   145
#define GL_SMOOTH_LINE_WIDTH_RANGE        0x0B22
slouken@843
   146
#define GL_SMOOTH_LINE_WIDTH_GRANULARITY  0x0B23
slouken@843
   147
#define GL_ALIASED_POINT_SIZE_RANGE       0x846D
slouken@843
   148
#define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
slouken@843
   149
#endif
slouken@843
   150
slouken@843
   151
#ifndef GL_ARB_imaging
slouken@312
   152
#define GL_CONSTANT_COLOR                 0x8001
slouken@312
   153
#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
slouken@312
   154
#define GL_CONSTANT_ALPHA                 0x8003
slouken@312
   155
#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
slouken@312
   156
#define GL_BLEND_COLOR                    0x8005
slouken@312
   157
#define GL_FUNC_ADD                       0x8006
slouken@312
   158
#define GL_MIN                            0x8007
slouken@312
   159
#define GL_MAX                            0x8008
slouken@312
   160
#define GL_BLEND_EQUATION                 0x8009
slouken@312
   161
#define GL_FUNC_SUBTRACT                  0x800A
slouken@312
   162
#define GL_FUNC_REVERSE_SUBTRACT          0x800B
slouken@312
   163
#define GL_CONVOLUTION_1D                 0x8010
slouken@312
   164
#define GL_CONVOLUTION_2D                 0x8011
slouken@312
   165
#define GL_SEPARABLE_2D                   0x8012
slouken@312
   166
#define GL_CONVOLUTION_BORDER_MODE        0x8013
slouken@312
   167
#define GL_CONVOLUTION_FILTER_SCALE       0x8014
slouken@312
   168
#define GL_CONVOLUTION_FILTER_BIAS        0x8015
slouken@312
   169
#define GL_REDUCE                         0x8016
slouken@312
   170
#define GL_CONVOLUTION_FORMAT             0x8017
slouken@312
   171
#define GL_CONVOLUTION_WIDTH              0x8018
slouken@312
   172
#define GL_CONVOLUTION_HEIGHT             0x8019
slouken@312
   173
#define GL_MAX_CONVOLUTION_WIDTH          0x801A
slouken@312
   174
#define GL_MAX_CONVOLUTION_HEIGHT         0x801B
slouken@312
   175
#define GL_POST_CONVOLUTION_RED_SCALE     0x801C
slouken@312
   176
#define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
slouken@312
   177
#define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
slouken@312
   178
#define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
slouken@312
   179
#define GL_POST_CONVOLUTION_RED_BIAS      0x8020
slouken@312
   180
#define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
slouken@312
   181
#define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
slouken@312
   182
#define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
slouken@312
   183
#define GL_HISTOGRAM                      0x8024
slouken@312
   184
#define GL_PROXY_HISTOGRAM                0x8025
slouken@312
   185
#define GL_HISTOGRAM_WIDTH                0x8026
slouken@312
   186
#define GL_HISTOGRAM_FORMAT               0x8027
slouken@312
   187
#define GL_HISTOGRAM_RED_SIZE             0x8028
slouken@312
   188
#define GL_HISTOGRAM_GREEN_SIZE           0x8029
slouken@312
   189
#define GL_HISTOGRAM_BLUE_SIZE            0x802A
slouken@312
   190
#define GL_HISTOGRAM_ALPHA_SIZE           0x802B
slouken@312
   191
#define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
slouken@312
   192
#define GL_HISTOGRAM_SINK                 0x802D
slouken@312
   193
#define GL_MINMAX                         0x802E
slouken@312
   194
#define GL_MINMAX_FORMAT                  0x802F
slouken@312
   195
#define GL_MINMAX_SINK                    0x8030
slouken@312
   196
#define GL_TABLE_TOO_LARGE                0x8031
slouken@312
   197
#define GL_COLOR_MATRIX                   0x80B1
slouken@312
   198
#define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
slouken@312
   199
#define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
slouken@312
   200
#define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
slouken@312
   201
#define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
slouken@312
   202
#define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
slouken@312
   203
#define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
slouken@312
   204
#define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
slouken@312
   205
#define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
slouken@312
   206
#define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
slouken@843
   207
#define GL_POST_COLOR_MATRIX_ALPHA_BIAS   0x80BB
slouken@312
   208
#define GL_COLOR_TABLE                    0x80D0
slouken@312
   209
#define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
slouken@312
   210
#define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
slouken@312
   211
#define GL_PROXY_COLOR_TABLE              0x80D3
slouken@312
   212
#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
slouken@312
   213
#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
slouken@312
   214
#define GL_COLOR_TABLE_SCALE              0x80D6
slouken@312
   215
#define GL_COLOR_TABLE_BIAS               0x80D7
slouken@312
   216
#define GL_COLOR_TABLE_FORMAT             0x80D8
slouken@312
   217
#define GL_COLOR_TABLE_WIDTH              0x80D9
slouken@312
   218
#define GL_COLOR_TABLE_RED_SIZE           0x80DA
slouken@312
   219
#define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
slouken@312
   220
#define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
slouken@312
   221
#define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
slouken@312
   222
#define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
slouken@312
   223
#define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
slouken@843
   224
#define GL_CONSTANT_BORDER                0x8151
slouken@843
   225
#define GL_REPLICATE_BORDER               0x8153
slouken@843
   226
#define GL_CONVOLUTION_BORDER_COLOR       0x8154
slouken@843
   227
#endif
slouken@843
   228
slouken@843
   229
#ifndef GL_VERSION_1_3
slouken@843
   230
#define GL_TEXTURE0                       0x84C0
slouken@843
   231
#define GL_TEXTURE1                       0x84C1
slouken@843
   232
#define GL_TEXTURE2                       0x84C2
slouken@843
   233
#define GL_TEXTURE3                       0x84C3
slouken@843
   234
#define GL_TEXTURE4                       0x84C4
slouken@843
   235
#define GL_TEXTURE5                       0x84C5
slouken@843
   236
#define GL_TEXTURE6                       0x84C6
slouken@843
   237
#define GL_TEXTURE7                       0x84C7
slouken@843
   238
#define GL_TEXTURE8                       0x84C8
slouken@843
   239
#define GL_TEXTURE9                       0x84C9
slouken@843
   240
#define GL_TEXTURE10                      0x84CA
slouken@843
   241
#define GL_TEXTURE11                      0x84CB
slouken@843
   242
#define GL_TEXTURE12                      0x84CC
slouken@843
   243
#define GL_TEXTURE13                      0x84CD
slouken@843
   244
#define GL_TEXTURE14                      0x84CE
slouken@843
   245
#define GL_TEXTURE15                      0x84CF
slouken@843
   246
#define GL_TEXTURE16                      0x84D0
slouken@843
   247
#define GL_TEXTURE17                      0x84D1
slouken@843
   248
#define GL_TEXTURE18                      0x84D2
slouken@843
   249
#define GL_TEXTURE19                      0x84D3
slouken@843
   250
#define GL_TEXTURE20                      0x84D4
slouken@843
   251
#define GL_TEXTURE21                      0x84D5
slouken@843
   252
#define GL_TEXTURE22                      0x84D6
slouken@843
   253
#define GL_TEXTURE23                      0x84D7
slouken@843
   254
#define GL_TEXTURE24                      0x84D8
slouken@843
   255
#define GL_TEXTURE25                      0x84D9
slouken@843
   256
#define GL_TEXTURE26                      0x84DA
slouken@843
   257
#define GL_TEXTURE27                      0x84DB
slouken@843
   258
#define GL_TEXTURE28                      0x84DC
slouken@843
   259
#define GL_TEXTURE29                      0x84DD
slouken@843
   260
#define GL_TEXTURE30                      0x84DE
slouken@843
   261
#define GL_TEXTURE31                      0x84DF
slouken@843
   262
#define GL_ACTIVE_TEXTURE                 0x84E0
slouken@843
   263
#define GL_CLIENT_ACTIVE_TEXTURE          0x84E1
slouken@843
   264
#define GL_MAX_TEXTURE_UNITS              0x84E2
slouken@843
   265
#define GL_TRANSPOSE_MODELVIEW_MATRIX     0x84E3
slouken@843
   266
#define GL_TRANSPOSE_PROJECTION_MATRIX    0x84E4
slouken@843
   267
#define GL_TRANSPOSE_TEXTURE_MATRIX       0x84E5
slouken@843
   268
#define GL_TRANSPOSE_COLOR_MATRIX         0x84E6
slouken@843
   269
#define GL_MULTISAMPLE                    0x809D
slouken@843
   270
#define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
slouken@843
   271
#define GL_SAMPLE_ALPHA_TO_ONE            0x809F
slouken@843
   272
#define GL_SAMPLE_COVERAGE                0x80A0
slouken@843
   273
#define GL_SAMPLE_BUFFERS                 0x80A8
slouken@843
   274
#define GL_SAMPLES                        0x80A9
slouken@843
   275
#define GL_SAMPLE_COVERAGE_VALUE          0x80AA
slouken@843
   276
#define GL_SAMPLE_COVERAGE_INVERT         0x80AB
slouken@843
   277
#define GL_MULTISAMPLE_BIT                0x20000000
slouken@843
   278
#define GL_NORMAL_MAP                     0x8511
slouken@843
   279
#define GL_REFLECTION_MAP                 0x8512
slouken@843
   280
#define GL_TEXTURE_CUBE_MAP               0x8513
slouken@843
   281
#define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
slouken@843
   282
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
slouken@843
   283
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
slouken@843
   284
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
slouken@843
   285
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
slouken@843
   286
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
slouken@843
   287
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
slouken@843
   288
#define GL_PROXY_TEXTURE_CUBE_MAP         0x851B
slouken@843
   289
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
slouken@843
   290
#define GL_COMPRESSED_ALPHA               0x84E9
slouken@843
   291
#define GL_COMPRESSED_LUMINANCE           0x84EA
slouken@843
   292
#define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
slouken@843
   293
#define GL_COMPRESSED_INTENSITY           0x84EC
slouken@843
   294
#define GL_COMPRESSED_RGB                 0x84ED
slouken@843
   295
#define GL_COMPRESSED_RGBA                0x84EE
slouken@843
   296
#define GL_TEXTURE_COMPRESSION_HINT       0x84EF
slouken@843
   297
#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE  0x86A0
slouken@843
   298
#define GL_TEXTURE_COMPRESSED             0x86A1
slouken@843
   299
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
slouken@843
   300
#define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
slouken@843
   301
#define GL_CLAMP_TO_BORDER                0x812D
slouken@843
   302
#define GL_COMBINE                        0x8570
slouken@843
   303
#define GL_COMBINE_RGB                    0x8571
slouken@843
   304
#define GL_COMBINE_ALPHA                  0x8572
slouken@843
   305
#define GL_SOURCE0_RGB                    0x8580
slouken@843
   306
#define GL_SOURCE1_RGB                    0x8581
slouken@843
   307
#define GL_SOURCE2_RGB                    0x8582
slouken@843
   308
#define GL_SOURCE0_ALPHA                  0x8588
slouken@843
   309
#define GL_SOURCE1_ALPHA                  0x8589
slouken@843
   310
#define GL_SOURCE2_ALPHA                  0x858A
slouken@843
   311
#define GL_OPERAND0_RGB                   0x8590
slouken@843
   312
#define GL_OPERAND1_RGB                   0x8591
slouken@843
   313
#define GL_OPERAND2_RGB                   0x8592
slouken@843
   314
#define GL_OPERAND0_ALPHA                 0x8598
slouken@843
   315
#define GL_OPERAND1_ALPHA                 0x8599
slouken@843
   316
#define GL_OPERAND2_ALPHA                 0x859A
slouken@843
   317
#define GL_RGB_SCALE                      0x8573
slouken@843
   318
#define GL_ADD_SIGNED                     0x8574
slouken@843
   319
#define GL_INTERPOLATE                    0x8575
slouken@843
   320
#define GL_SUBTRACT                       0x84E7
slouken@843
   321
#define GL_CONSTANT                       0x8576
slouken@843
   322
#define GL_PRIMARY_COLOR                  0x8577
slouken@843
   323
#define GL_PREVIOUS                       0x8578
slouken@843
   324
#define GL_DOT3_RGB                       0x86AE
slouken@843
   325
#define GL_DOT3_RGBA                      0x86AF
slouken@843
   326
#endif
slouken@843
   327
slouken@843
   328
#ifndef GL_VERSION_1_4
slouken@843
   329
#define GL_BLEND_DST_RGB                  0x80C8
slouken@843
   330
#define GL_BLEND_SRC_RGB                  0x80C9
slouken@843
   331
#define GL_BLEND_DST_ALPHA                0x80CA
slouken@843
   332
#define GL_BLEND_SRC_ALPHA                0x80CB
slouken@843
   333
#define GL_POINT_SIZE_MIN                 0x8126
slouken@843
   334
#define GL_POINT_SIZE_MAX                 0x8127
slouken@843
   335
#define GL_POINT_FADE_THRESHOLD_SIZE      0x8128
slouken@843
   336
#define GL_POINT_DISTANCE_ATTENUATION     0x8129
slouken@843
   337
#define GL_GENERATE_MIPMAP                0x8191
slouken@843
   338
#define GL_GENERATE_MIPMAP_HINT           0x8192
slouken@843
   339
#define GL_DEPTH_COMPONENT16              0x81A5
slouken@843
   340
#define GL_DEPTH_COMPONENT24              0x81A6
slouken@843
   341
#define GL_DEPTH_COMPONENT32              0x81A7
slouken@843
   342
#define GL_MIRRORED_REPEAT                0x8370
slouken@843
   343
#define GL_FOG_COORDINATE_SOURCE          0x8450
slouken@843
   344
#define GL_FOG_COORDINATE                 0x8451
slouken@843
   345
#define GL_FRAGMENT_DEPTH                 0x8452
slouken@843
   346
#define GL_CURRENT_FOG_COORDINATE         0x8453
slouken@843
   347
#define GL_FOG_COORDINATE_ARRAY_TYPE      0x8454
slouken@843
   348
#define GL_FOG_COORDINATE_ARRAY_STRIDE    0x8455
slouken@843
   349
#define GL_FOG_COORDINATE_ARRAY_POINTER   0x8456
slouken@843
   350
#define GL_FOG_COORDINATE_ARRAY           0x8457
slouken@843
   351
#define GL_COLOR_SUM                      0x8458
slouken@843
   352
#define GL_CURRENT_SECONDARY_COLOR        0x8459
slouken@843
   353
#define GL_SECONDARY_COLOR_ARRAY_SIZE     0x845A
slouken@843
   354
#define GL_SECONDARY_COLOR_ARRAY_TYPE     0x845B
slouken@843
   355
#define GL_SECONDARY_COLOR_ARRAY_STRIDE   0x845C
slouken@843
   356
#define GL_SECONDARY_COLOR_ARRAY_POINTER  0x845D
slouken@843
   357
#define GL_SECONDARY_COLOR_ARRAY          0x845E
slouken@843
   358
#define GL_MAX_TEXTURE_LOD_BIAS           0x84FD
slouken@843
   359
#define GL_TEXTURE_FILTER_CONTROL         0x8500
slouken@843
   360
#define GL_TEXTURE_LOD_BIAS               0x8501
slouken@843
   361
#define GL_INCR_WRAP                      0x8507
slouken@843
   362
#define GL_DECR_WRAP                      0x8508
slouken@843
   363
#define GL_TEXTURE_DEPTH_SIZE             0x884A
slouken@843
   364
#define GL_DEPTH_TEXTURE_MODE             0x884B
slouken@843
   365
#define GL_TEXTURE_COMPARE_MODE           0x884C
slouken@843
   366
#define GL_TEXTURE_COMPARE_FUNC           0x884D
slouken@843
   367
#define GL_COMPARE_R_TO_TEXTURE           0x884E
slouken@843
   368
#endif
slouken@843
   369
slouken@843
   370
#ifndef GL_VERSION_1_5
slouken@843
   371
#define GL_BUFFER_SIZE                    0x8764
slouken@843
   372
#define GL_BUFFER_USAGE                   0x8765
slouken@843
   373
#define GL_QUERY_COUNTER_BITS             0x8864
slouken@843
   374
#define GL_CURRENT_QUERY                  0x8865
slouken@843
   375
#define GL_QUERY_RESULT                   0x8866
slouken@843
   376
#define GL_QUERY_RESULT_AVAILABLE         0x8867
slouken@843
   377
#define GL_ARRAY_BUFFER                   0x8892
slouken@843
   378
#define GL_ELEMENT_ARRAY_BUFFER           0x8893
slouken@843
   379
#define GL_ARRAY_BUFFER_BINDING           0x8894
slouken@843
   380
#define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
slouken@843
   381
#define GL_VERTEX_ARRAY_BUFFER_BINDING    0x8896
slouken@843
   382
#define GL_NORMAL_ARRAY_BUFFER_BINDING    0x8897
slouken@843
   383
#define GL_COLOR_ARRAY_BUFFER_BINDING     0x8898
slouken@843
   384
#define GL_INDEX_ARRAY_BUFFER_BINDING     0x8899
slouken@843
   385
#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
slouken@843
   386
#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
slouken@843
   387
#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
slouken@843
   388
#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
slouken@843
   389
#define GL_WEIGHT_ARRAY_BUFFER_BINDING    0x889E
slouken@843
   390
#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
slouken@843
   391
#define GL_READ_ONLY                      0x88B8
slouken@843
   392
#define GL_WRITE_ONLY                     0x88B9
slouken@843
   393
#define GL_READ_WRITE                     0x88BA
slouken@843
   394
#define GL_BUFFER_ACCESS                  0x88BB
slouken@843
   395
#define GL_BUFFER_MAPPED                  0x88BC
slouken@843
   396
#define GL_BUFFER_MAP_POINTER             0x88BD
slouken@843
   397
#define GL_STREAM_DRAW                    0x88E0
slouken@843
   398
#define GL_STREAM_READ                    0x88E1
slouken@843
   399
#define GL_STREAM_COPY                    0x88E2
slouken@843
   400
#define GL_STATIC_DRAW                    0x88E4
slouken@843
   401
#define GL_STATIC_READ                    0x88E5
slouken@843
   402
#define GL_STATIC_COPY                    0x88E6
slouken@843
   403
#define GL_DYNAMIC_DRAW                   0x88E8
slouken@843
   404
#define GL_DYNAMIC_READ                   0x88E9
slouken@843
   405
#define GL_DYNAMIC_COPY                   0x88EA
slouken@843
   406
#define GL_SAMPLES_PASSED                 0x8914
slouken@1205
   407
#define GL_FOG_COORD_SRC                  GL_FOG_COORDINATE_SOURCE
slouken@843
   408
#define GL_FOG_COORD                      GL_FOG_COORDINATE
slouken@843
   409
#define GL_CURRENT_FOG_COORD              GL_CURRENT_FOG_COORDINATE
slouken@843
   410
#define GL_FOG_COORD_ARRAY_TYPE           GL_FOG_COORDINATE_ARRAY_TYPE
slouken@843
   411
#define GL_FOG_COORD_ARRAY_STRIDE         GL_FOG_COORDINATE_ARRAY_STRIDE
slouken@843
   412
#define GL_FOG_COORD_ARRAY_POINTER        GL_FOG_COORDINATE_ARRAY_POINTER
slouken@843
   413
#define GL_FOG_COORD_ARRAY                GL_FOG_COORDINATE_ARRAY
slouken@843
   414
#define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
slouken@843
   415
#define GL_SRC0_RGB                       GL_SOURCE0_RGB
slouken@843
   416
#define GL_SRC1_RGB                       GL_SOURCE1_RGB
slouken@843
   417
#define GL_SRC2_RGB                       GL_SOURCE2_RGB
slouken@843
   418
#define GL_SRC0_ALPHA                     GL_SOURCE0_ALPHA
slouken@843
   419
#define GL_SRC1_ALPHA                     GL_SOURCE1_ALPHA
slouken@843
   420
#define GL_SRC2_ALPHA                     GL_SOURCE2_ALPHA
slouken@312
   421
#endif
slouken@214
   422
slouken@1205
   423
#ifndef GL_VERSION_2_0
slouken@1205
   424
#define GL_BLEND_EQUATION_RGB             GL_BLEND_EQUATION
slouken@1205
   425
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
slouken@1205
   426
#define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
slouken@1205
   427
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
slouken@1205
   428
#define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
slouken@1205
   429
#define GL_CURRENT_VERTEX_ATTRIB          0x8626
slouken@1205
   430
#define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642
slouken@1205
   431
#define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
slouken@1205
   432
#define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
slouken@1205
   433
#define GL_STENCIL_BACK_FUNC              0x8800
slouken@1205
   434
#define GL_STENCIL_BACK_FAIL              0x8801
slouken@1205
   435
#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
slouken@1205
   436
#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
slouken@1205
   437
#define GL_MAX_DRAW_BUFFERS               0x8824
slouken@1205
   438
#define GL_DRAW_BUFFER0                   0x8825
slouken@1205
   439
#define GL_DRAW_BUFFER1                   0x8826
slouken@1205
   440
#define GL_DRAW_BUFFER2                   0x8827
slouken@1205
   441
#define GL_DRAW_BUFFER3                   0x8828
slouken@1205
   442
#define GL_DRAW_BUFFER4                   0x8829
slouken@1205
   443
#define GL_DRAW_BUFFER5                   0x882A
slouken@1205
   444
#define GL_DRAW_BUFFER6                   0x882B
slouken@1205
   445
#define GL_DRAW_BUFFER7                   0x882C
slouken@1205
   446
#define GL_DRAW_BUFFER8                   0x882D
slouken@1205
   447
#define GL_DRAW_BUFFER9                   0x882E
slouken@1205
   448
#define GL_DRAW_BUFFER10                  0x882F
slouken@1205
   449
#define GL_DRAW_BUFFER11                  0x8830
slouken@1205
   450
#define GL_DRAW_BUFFER12                  0x8831
slouken@1205
   451
#define GL_DRAW_BUFFER13                  0x8832
slouken@1205
   452
#define GL_DRAW_BUFFER14                  0x8833
slouken@1205
   453
#define GL_DRAW_BUFFER15                  0x8834
slouken@1205
   454
#define GL_BLEND_EQUATION_ALPHA           0x883D
slouken@1205
   455
#define GL_POINT_SPRITE                   0x8861
slouken@1205
   456
#define GL_COORD_REPLACE                  0x8862
slouken@1205
   457
#define GL_MAX_VERTEX_ATTRIBS             0x8869
slouken@1205
   458
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
slouken@1205
   459
#define GL_MAX_TEXTURE_COORDS             0x8871
slouken@1205
   460
#define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
slouken@1205
   461
#define GL_FRAGMENT_SHADER                0x8B30
slouken@1205
   462
#define GL_VERTEX_SHADER                  0x8B31
slouken@1205
   463
#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
slouken@1205
   464
#define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
slouken@1205
   465
#define GL_MAX_VARYING_FLOATS             0x8B4B
slouken@1205
   466
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
slouken@1205
   467
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
slouken@1205
   468
#define GL_SHADER_TYPE                    0x8B4F
slouken@1205
   469
#define GL_FLOAT_VEC2                     0x8B50
slouken@1205
   470
#define GL_FLOAT_VEC3                     0x8B51
slouken@1205
   471
#define GL_FLOAT_VEC4                     0x8B52
slouken@1205
   472
#define GL_INT_VEC2                       0x8B53
slouken@1205
   473
#define GL_INT_VEC3                       0x8B54
slouken@1205
   474
#define GL_INT_VEC4                       0x8B55
slouken@1205
   475
#define GL_BOOL                           0x8B56
slouken@1205
   476
#define GL_BOOL_VEC2                      0x8B57
slouken@1205
   477
#define GL_BOOL_VEC3                      0x8B58
slouken@1205
   478
#define GL_BOOL_VEC4                      0x8B59
slouken@1205
   479
#define GL_FLOAT_MAT2                     0x8B5A
slouken@1205
   480
#define GL_FLOAT_MAT3                     0x8B5B
slouken@1205
   481
#define GL_FLOAT_MAT4                     0x8B5C
slouken@1205
   482
#define GL_SAMPLER_1D                     0x8B5D
slouken@1205
   483
#define GL_SAMPLER_2D                     0x8B5E
slouken@1205
   484
#define GL_SAMPLER_3D                     0x8B5F
slouken@1205
   485
#define GL_SAMPLER_CUBE                   0x8B60
slouken@1205
   486
#define GL_SAMPLER_1D_SHADOW              0x8B61
slouken@1205
   487
#define GL_SAMPLER_2D_SHADOW              0x8B62
slouken@1205
   488
#define GL_DELETE_STATUS                  0x8B80
slouken@1205
   489
#define GL_COMPILE_STATUS                 0x8B81
slouken@1205
   490
#define GL_LINK_STATUS                    0x8B82
slouken@1205
   491
#define GL_VALIDATE_STATUS                0x8B83
slouken@1205
   492
#define GL_INFO_LOG_LENGTH                0x8B84
slouken@1205
   493
#define GL_ATTACHED_SHADERS               0x8B85
slouken@1205
   494
#define GL_ACTIVE_UNIFORMS                0x8B86
slouken@1205
   495
#define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
slouken@1205
   496
#define GL_SHADER_SOURCE_LENGTH           0x8B88
slouken@1205
   497
#define GL_ACTIVE_ATTRIBUTES              0x8B89
slouken@1205
   498
#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
slouken@1205
   499
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
slouken@1205
   500
#define GL_SHADING_LANGUAGE_VERSION       0x8B8C
slouken@1205
   501
#define GL_CURRENT_PROGRAM                0x8B8D
slouken@1205
   502
#define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
slouken@1205
   503
#define GL_LOWER_LEFT                     0x8CA1
slouken@1205
   504
#define GL_UPPER_LEFT                     0x8CA2
slouken@1205
   505
#define GL_STENCIL_BACK_REF               0x8CA3
slouken@1205
   506
#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
slouken@1205
   507
#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
slouken@1205
   508
#endif
slouken@1205
   509
slouken@2788
   510
#ifndef GL_VERSION_2_1
slouken@2788
   511
#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
slouken@2788
   512
#define GL_PIXEL_PACK_BUFFER              0x88EB
slouken@2788
   513
#define GL_PIXEL_UNPACK_BUFFER            0x88EC
slouken@2788
   514
#define GL_PIXEL_PACK_BUFFER_BINDING      0x88ED
slouken@2788
   515
#define GL_PIXEL_UNPACK_BUFFER_BINDING    0x88EF
slouken@2788
   516
#define GL_FLOAT_MAT2x3                   0x8B65
slouken@2788
   517
#define GL_FLOAT_MAT2x4                   0x8B66
slouken@2788
   518
#define GL_FLOAT_MAT3x2                   0x8B67
slouken@2788
   519
#define GL_FLOAT_MAT3x4                   0x8B68
slouken@2788
   520
#define GL_FLOAT_MAT4x2                   0x8B69
slouken@2788
   521
#define GL_FLOAT_MAT4x3                   0x8B6A
slouken@2788
   522
#define GL_SRGB                           0x8C40
slouken@2788
   523
#define GL_SRGB8                          0x8C41
slouken@2788
   524
#define GL_SRGB_ALPHA                     0x8C42
slouken@2788
   525
#define GL_SRGB8_ALPHA8                   0x8C43
slouken@2788
   526
#define GL_SLUMINANCE_ALPHA               0x8C44
slouken@2788
   527
#define GL_SLUMINANCE8_ALPHA8             0x8C45
slouken@2788
   528
#define GL_SLUMINANCE                     0x8C46
slouken@2788
   529
#define GL_SLUMINANCE8                    0x8C47
slouken@2788
   530
#define GL_COMPRESSED_SRGB                0x8C48
slouken@2788
   531
#define GL_COMPRESSED_SRGB_ALPHA          0x8C49
slouken@2788
   532
#define GL_COMPRESSED_SLUMINANCE          0x8C4A
slouken@2788
   533
#define GL_COMPRESSED_SLUMINANCE_ALPHA    0x8C4B
slouken@2788
   534
#endif
slouken@2788
   535
slouken@2788
   536
#ifndef GL_VERSION_3_0
slouken@2788
   537
#define GL_COMPARE_REF_TO_TEXTURE         GL_COMPARE_R_TO_TEXTURE_ARB
slouken@2788
   538
#define GL_CLIP_DISTANCE0                 GL_CLIP_PLANE0
slouken@2788
   539
#define GL_CLIP_DISTANCE1                 GL_CLIP_PLANE1
slouken@2788
   540
#define GL_CLIP_DISTANCE2                 GL_CLIP_PLANE2
slouken@2788
   541
#define GL_CLIP_DISTANCE3                 GL_CLIP_PLANE3
slouken@2788
   542
#define GL_CLIP_DISTANCE4                 GL_CLIP_PLANE4
slouken@2788
   543
#define GL_CLIP_DISTANCE5                 GL_CLIP_PLANE5
slouken@2788
   544
#define GL_MAX_CLIP_DISTANCES             GL_MAX_CLIP_PLANES
slouken@2788
   545
#define GL_MAJOR_VERSION                  0x821B
slouken@2788
   546
#define GL_MINOR_VERSION                  0x821C
slouken@2788
   547
#define GL_NUM_EXTENSIONS                 0x821D
slouken@2788
   548
#define GL_CONTEXT_FLAGS                  0x821E
slouken@2788
   549
#define GL_DEPTH_BUFFER                   0x8223
slouken@2788
   550
#define GL_STENCIL_BUFFER                 0x8224
slouken@2788
   551
#define GL_COMPRESSED_RED                 0x8225
slouken@2788
   552
#define GL_COMPRESSED_RG                  0x8226
slouken@2788
   553
#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
slouken@2788
   554
#define GL_RGBA32F                        0x8814
slouken@2788
   555
#define GL_RGB32F                         0x8815
slouken@2788
   556
#define GL_RGBA16F                        0x881A
slouken@2788
   557
#define GL_RGB16F                         0x881B
slouken@2788
   558
#define GL_VERTEX_ATTRIB_ARRAY_INTEGER    0x88FD
slouken@2788
   559
#define GL_MAX_ARRAY_TEXTURE_LAYERS       0x88FF
slouken@2788
   560
#define GL_MIN_PROGRAM_TEXEL_OFFSET       0x8904
slouken@2788
   561
#define GL_MAX_PROGRAM_TEXEL_OFFSET       0x8905
slouken@2788
   562
#define GL_CLAMP_VERTEX_COLOR             0x891A
slouken@2788
   563
#define GL_CLAMP_FRAGMENT_COLOR           0x891B
slouken@2788
   564
#define GL_CLAMP_READ_COLOR               0x891C
slouken@2788
   565
#define GL_FIXED_ONLY                     0x891D
slouken@2788
   566
#define GL_MAX_VARYING_COMPONENTS         GL_MAX_VARYING_FLOATS
slouken@2788
   567
#define GL_TEXTURE_RED_TYPE               0x8C10
slouken@2788
   568
#define GL_TEXTURE_GREEN_TYPE             0x8C11
slouken@2788
   569
#define GL_TEXTURE_BLUE_TYPE              0x8C12
slouken@2788
   570
#define GL_TEXTURE_ALPHA_TYPE             0x8C13
slouken@2788
   571
#define GL_TEXTURE_LUMINANCE_TYPE         0x8C14
slouken@2788
   572
#define GL_TEXTURE_INTENSITY_TYPE         0x8C15
slouken@2788
   573
#define GL_TEXTURE_DEPTH_TYPE             0x8C16
slouken@2788
   574
#define GL_UNSIGNED_NORMALIZED            0x8C17
slouken@2788
   575
#define GL_TEXTURE_1D_ARRAY               0x8C18
slouken@2788
   576
#define GL_PROXY_TEXTURE_1D_ARRAY         0x8C19
slouken@2788
   577
#define GL_TEXTURE_2D_ARRAY               0x8C1A
slouken@2788
   578
#define GL_PROXY_TEXTURE_2D_ARRAY         0x8C1B
slouken@2788
   579
#define GL_TEXTURE_BINDING_1D_ARRAY       0x8C1C
slouken@2788
   580
#define GL_TEXTURE_BINDING_2D_ARRAY       0x8C1D
slouken@2788
   581
#define GL_R11F_G11F_B10F                 0x8C3A
slouken@2788
   582
#define GL_UNSIGNED_INT_10F_11F_11F_REV   0x8C3B
slouken@2788
   583
#define GL_RGB9_E5                        0x8C3D
slouken@2788
   584
#define GL_UNSIGNED_INT_5_9_9_9_REV       0x8C3E
slouken@2788
   585
#define GL_TEXTURE_SHARED_SIZE            0x8C3F
slouken@2788
   586
#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
slouken@2788
   587
#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
slouken@2788
   588
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
slouken@2788
   589
#define GL_TRANSFORM_FEEDBACK_VARYINGS    0x8C83
slouken@2788
   590
#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
slouken@2788
   591
#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
slouken@2788
   592
#define GL_PRIMITIVES_GENERATED           0x8C87
slouken@2788
   593
#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
slouken@2788
   594
#define GL_RASTERIZER_DISCARD             0x8C89
slouken@2788
   595
#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
slouken@2788
   596
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
slouken@2788
   597
#define GL_INTERLEAVED_ATTRIBS            0x8C8C
slouken@2788
   598
#define GL_SEPARATE_ATTRIBS               0x8C8D
slouken@2788
   599
#define GL_TRANSFORM_FEEDBACK_BUFFER      0x8C8E
slouken@2788
   600
#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
slouken@2788
   601
#define GL_RGBA32UI                       0x8D70
slouken@2788
   602
#define GL_RGB32UI                        0x8D71
slouken@2788
   603
#define GL_RGBA16UI                       0x8D76
slouken@2788
   604
#define GL_RGB16UI                        0x8D77
slouken@2788
   605
#define GL_RGBA8UI                        0x8D7C
slouken@2788
   606
#define GL_RGB8UI                         0x8D7D
slouken@2788
   607
#define GL_RGBA32I                        0x8D82
slouken@2788
   608
#define GL_RGB32I                         0x8D83
slouken@2788
   609
#define GL_RGBA16I                        0x8D88
slouken@2788
   610
#define GL_RGB16I                         0x8D89
slouken@2788
   611
#define GL_RGBA8I                         0x8D8E
slouken@2788
   612
#define GL_RGB8I                          0x8D8F
slouken@2788
   613
#define GL_RED_INTEGER                    0x8D94
slouken@2788
   614
#define GL_GREEN_INTEGER                  0x8D95
slouken@2788
   615
#define GL_BLUE_INTEGER                   0x8D96
slouken@2788
   616
#define GL_ALPHA_INTEGER                  0x8D97
slouken@2788
   617
#define GL_RGB_INTEGER                    0x8D98
slouken@2788
   618
#define GL_RGBA_INTEGER                   0x8D99
slouken@2788
   619
#define GL_BGR_INTEGER                    0x8D9A
slouken@2788
   620
#define GL_BGRA_INTEGER                   0x8D9B
slouken@2788
   621
#define GL_SAMPLER_1D_ARRAY               0x8DC0
slouken@2788
   622
#define GL_SAMPLER_2D_ARRAY               0x8DC1
slouken@2788
   623
#define GL_SAMPLER_1D_ARRAY_SHADOW        0x8DC3
slouken@2788
   624
#define GL_SAMPLER_2D_ARRAY_SHADOW        0x8DC4
slouken@2788
   625
#define GL_SAMPLER_CUBE_SHADOW            0x8DC5
slouken@2788
   626
#define GL_UNSIGNED_INT_VEC2              0x8DC6
slouken@2788
   627
#define GL_UNSIGNED_INT_VEC3              0x8DC7
slouken@2788
   628
#define GL_UNSIGNED_INT_VEC4              0x8DC8
slouken@2788
   629
#define GL_INT_SAMPLER_1D                 0x8DC9
slouken@2788
   630
#define GL_INT_SAMPLER_2D                 0x8DCA
slouken@2788
   631
#define GL_INT_SAMPLER_3D                 0x8DCB
slouken@2788
   632
#define GL_INT_SAMPLER_CUBE               0x8DCC
slouken@2788
   633
#define GL_INT_SAMPLER_1D_ARRAY           0x8DCE
slouken@2788
   634
#define GL_INT_SAMPLER_2D_ARRAY           0x8DCF
slouken@2788
   635
#define GL_UNSIGNED_INT_SAMPLER_1D        0x8DD1
slouken@2788
   636
#define GL_UNSIGNED_INT_SAMPLER_2D        0x8DD2
slouken@2788
   637
#define GL_UNSIGNED_INT_SAMPLER_3D        0x8DD3
slouken@2788
   638
#define GL_UNSIGNED_INT_SAMPLER_CUBE      0x8DD4
slouken@2788
   639
#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY  0x8DD6
slouken@2788
   640
#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY  0x8DD7
slouken@2788
   641
#define GL_QUERY_WAIT                     0x8E13
slouken@2788
   642
#define GL_QUERY_NO_WAIT                  0x8E14
slouken@2788
   643
#define GL_QUERY_BY_REGION_WAIT           0x8E15
slouken@2788
   644
#define GL_QUERY_BY_REGION_NO_WAIT        0x8E16
slouken@2788
   645
/* Reuse tokens from ARB_depth_buffer_float */
slouken@2788
   646
/* reuse GL_DEPTH_COMPONENT32F */
slouken@2788
   647
/* reuse GL_DEPTH32F_STENCIL8 */
slouken@2788
   648
/* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */
slouken@2788
   649
/* Reuse tokens from ARB_framebuffer_object */
slouken@2788
   650
/* reuse GL_INVALID_FRAMEBUFFER_OPERATION */
slouken@2788
   651
/* reuse GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
slouken@2788
   652
/* reuse GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
slouken@2788
   653
/* reuse GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
slouken@2788
   654
/* reuse GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
slouken@2788
   655
/* reuse GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
slouken@2788
   656
/* reuse GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
slouken@2788
   657
/* reuse GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
slouken@2788
   658
/* reuse GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
slouken@2788
   659
/* reuse GL_FRAMEBUFFER_DEFAULT */
slouken@2788
   660
/* reuse GL_FRAMEBUFFER_UNDEFINED */
slouken@2788
   661
/* reuse GL_DEPTH_STENCIL_ATTACHMENT */
slouken@2788
   662
/* reuse GL_INDEX */
slouken@2788
   663
/* reuse GL_MAX_RENDERBUFFER_SIZE */
slouken@2788
   664
/* reuse GL_DEPTH_STENCIL */
slouken@2788
   665
/* reuse GL_UNSIGNED_INT_24_8 */
slouken@2788
   666
/* reuse GL_DEPTH24_STENCIL8 */
slouken@2788
   667
/* reuse GL_TEXTURE_STENCIL_SIZE */
slouken@2788
   668
/* reuse GL_TEXTURE_RED_TYPE */
slouken@2788
   669
/* reuse GL_TEXTURE_GREEN_TYPE */
slouken@2788
   670
/* reuse GL_TEXTURE_BLUE_TYPE */
slouken@2788
   671
/* reuse GL_TEXTURE_ALPHA_TYPE */
slouken@2788
   672
/* reuse GL_TEXTURE_LUMINANCE_TYPE */
slouken@2788
   673
/* reuse GL_TEXTURE_INTENSITY_TYPE */
slouken@2788
   674
/* reuse GL_TEXTURE_DEPTH_TYPE */
slouken@2788
   675
/* reuse GL_UNSIGNED_NORMALIZED */
slouken@2788
   676
/* reuse GL_FRAMEBUFFER_BINDING */
slouken@2788
   677
/* reuse GL_DRAW_FRAMEBUFFER_BINDING */
slouken@2788
   678
/* reuse GL_RENDERBUFFER_BINDING */
slouken@2788
   679
/* reuse GL_READ_FRAMEBUFFER */
slouken@2788
   680
/* reuse GL_DRAW_FRAMEBUFFER */
slouken@2788
   681
/* reuse GL_READ_FRAMEBUFFER_BINDING */
slouken@2788
   682
/* reuse GL_RENDERBUFFER_SAMPLES */
slouken@2788
   683
/* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
slouken@2788
   684
/* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
slouken@2788
   685
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
slouken@2788
   686
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
slouken@2788
   687
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
slouken@2788
   688
/* reuse GL_FRAMEBUFFER_COMPLETE */
slouken@2788
   689
/* reuse GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
slouken@2788
   690
/* reuse GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
slouken@2788
   691
/* reuse GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */
slouken@2788
   692
/* reuse GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */
slouken@2788
   693
/* reuse GL_FRAMEBUFFER_UNSUPPORTED */
slouken@2788
   694
/* reuse GL_MAX_COLOR_ATTACHMENTS */
slouken@2788
   695
/* reuse GL_COLOR_ATTACHMENT0 */
slouken@2788
   696
/* reuse GL_COLOR_ATTACHMENT1 */
slouken@2788
   697
/* reuse GL_COLOR_ATTACHMENT2 */
slouken@2788
   698
/* reuse GL_COLOR_ATTACHMENT3 */
slouken@2788
   699
/* reuse GL_COLOR_ATTACHMENT4 */
slouken@2788
   700
/* reuse GL_COLOR_ATTACHMENT5 */
slouken@2788
   701
/* reuse GL_COLOR_ATTACHMENT6 */
slouken@2788
   702
/* reuse GL_COLOR_ATTACHMENT7 */
slouken@2788
   703
/* reuse GL_COLOR_ATTACHMENT8 */
slouken@2788
   704
/* reuse GL_COLOR_ATTACHMENT9 */
slouken@2788
   705
/* reuse GL_COLOR_ATTACHMENT10 */
slouken@2788
   706
/* reuse GL_COLOR_ATTACHMENT11 */
slouken@2788
   707
/* reuse GL_COLOR_ATTACHMENT12 */
slouken@2788
   708
/* reuse GL_COLOR_ATTACHMENT13 */
slouken@2788
   709
/* reuse GL_COLOR_ATTACHMENT14 */
slouken@2788
   710
/* reuse GL_COLOR_ATTACHMENT15 */
slouken@2788
   711
/* reuse GL_DEPTH_ATTACHMENT */
slouken@2788
   712
/* reuse GL_STENCIL_ATTACHMENT */
slouken@2788
   713
/* reuse GL_FRAMEBUFFER */
slouken@2788
   714
/* reuse GL_RENDERBUFFER */
slouken@2788
   715
/* reuse GL_RENDERBUFFER_WIDTH */
slouken@2788
   716
/* reuse GL_RENDERBUFFER_HEIGHT */
slouken@2788
   717
/* reuse GL_RENDERBUFFER_INTERNAL_FORMAT */
slouken@2788
   718
/* reuse GL_STENCIL_INDEX1 */
slouken@2788
   719
/* reuse GL_STENCIL_INDEX4 */
slouken@2788
   720
/* reuse GL_STENCIL_INDEX8 */
slouken@2788
   721
/* reuse GL_STENCIL_INDEX16 */
slouken@2788
   722
/* reuse GL_RENDERBUFFER_RED_SIZE */
slouken@2788
   723
/* reuse GL_RENDERBUFFER_GREEN_SIZE */
slouken@2788
   724
/* reuse GL_RENDERBUFFER_BLUE_SIZE */
slouken@2788
   725
/* reuse GL_RENDERBUFFER_ALPHA_SIZE */
slouken@2788
   726
/* reuse GL_RENDERBUFFER_DEPTH_SIZE */
slouken@2788
   727
/* reuse GL_RENDERBUFFER_STENCIL_SIZE */
slouken@2788
   728
/* reuse GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
slouken@2788
   729
/* reuse GL_MAX_SAMPLES */
slouken@2788
   730
/* Reuse tokens from ARB_framebuffer_sRGB */
slouken@2788
   731
/* reuse GL_FRAMEBUFFER_SRGB */
slouken@2788
   732
/* Reuse tokens from ARB_half_float_vertex */
slouken@2788
   733
/* reuse GL_HALF_FLOAT */
slouken@2788
   734
/* Reuse tokens from ARB_map_buffer_range */
slouken@2788
   735
/* reuse GL_MAP_READ_BIT */
slouken@2788
   736
/* reuse GL_MAP_WRITE_BIT */
slouken@2788
   737
/* reuse GL_MAP_INVALIDATE_RANGE_BIT */
slouken@2788
   738
/* reuse GL_MAP_INVALIDATE_BUFFER_BIT */
slouken@2788
   739
/* reuse GL_MAP_FLUSH_EXPLICIT_BIT */
slouken@2788
   740
/* reuse GL_MAP_UNSYNCHRONIZED_BIT */
slouken@2788
   741
/* Reuse tokens from ARB_texture_compression_rgtc */
slouken@2788
   742
/* reuse GL_COMPRESSED_RED_RGTC1 */
slouken@2788
   743
/* reuse GL_COMPRESSED_SIGNED_RED_RGTC1 */
slouken@2788
   744
/* reuse GL_COMPRESSED_RG_RGTC2 */
slouken@2788
   745
/* reuse GL_COMPRESSED_SIGNED_RG_RGTC2 */
slouken@2788
   746
/* Reuse tokens from ARB_texture_rg */
slouken@2788
   747
/* reuse GL_RG */
slouken@2788
   748
/* reuse GL_RG_INTEGER */
slouken@2788
   749
/* reuse GL_R8 */
slouken@2788
   750
/* reuse GL_R16 */
slouken@2788
   751
/* reuse GL_RG8 */
slouken@2788
   752
/* reuse GL_RG16 */
slouken@2788
   753
/* reuse GL_R16F */
slouken@2788
   754
/* reuse GL_R32F */
slouken@2788
   755
/* reuse GL_RG16F */
slouken@2788
   756
/* reuse GL_RG32F */
slouken@2788
   757
/* reuse GL_R8I */
slouken@2788
   758
/* reuse GL_R8UI */
slouken@2788
   759
/* reuse GL_R16I */
slouken@2788
   760
/* reuse GL_R16UI */
slouken@2788
   761
/* reuse GL_R32I */
slouken@2788
   762
/* reuse GL_R32UI */
slouken@2788
   763
/* reuse GL_RG8I */
slouken@2788
   764
/* reuse GL_RG8UI */
slouken@2788
   765
/* reuse GL_RG16I */
slouken@2788
   766
/* reuse GL_RG16UI */
slouken@2788
   767
/* reuse GL_RG32I */
slouken@2788
   768
/* reuse GL_RG32UI */
slouken@2788
   769
/* Reuse tokens from ARB_vertex_array_object */
slouken@2788
   770
/* reuse GL_VERTEX_ARRAY_BINDING */
slouken@2788
   771
#endif
slouken@2788
   772
slouken@312
   773
#ifndef GL_ARB_multitexture
slouken@312
   774
#define GL_TEXTURE0_ARB                   0x84C0
slouken@312
   775
#define GL_TEXTURE1_ARB                   0x84C1
slouken@312
   776
#define GL_TEXTURE2_ARB                   0x84C2
slouken@312
   777
#define GL_TEXTURE3_ARB                   0x84C3
slouken@312
   778
#define GL_TEXTURE4_ARB                   0x84C4
slouken@312
   779
#define GL_TEXTURE5_ARB                   0x84C5
slouken@312
   780
#define GL_TEXTURE6_ARB                   0x84C6
slouken@312
   781
#define GL_TEXTURE7_ARB                   0x84C7
slouken@312
   782
#define GL_TEXTURE8_ARB                   0x84C8
slouken@312
   783
#define GL_TEXTURE9_ARB                   0x84C9
slouken@312
   784
#define GL_TEXTURE10_ARB                  0x84CA
slouken@312
   785
#define GL_TEXTURE11_ARB                  0x84CB
slouken@312
   786
#define GL_TEXTURE12_ARB                  0x84CC
slouken@312
   787
#define GL_TEXTURE13_ARB                  0x84CD
slouken@312
   788
#define GL_TEXTURE14_ARB                  0x84CE
slouken@312
   789
#define GL_TEXTURE15_ARB                  0x84CF
slouken@312
   790
#define GL_TEXTURE16_ARB                  0x84D0
slouken@312
   791
#define GL_TEXTURE17_ARB                  0x84D1
slouken@312
   792
#define GL_TEXTURE18_ARB                  0x84D2
slouken@312
   793
#define GL_TEXTURE19_ARB                  0x84D3
slouken@312
   794
#define GL_TEXTURE20_ARB                  0x84D4
slouken@312
   795
#define GL_TEXTURE21_ARB                  0x84D5
slouken@312
   796
#define GL_TEXTURE22_ARB                  0x84D6
slouken@312
   797
#define GL_TEXTURE23_ARB                  0x84D7
slouken@312
   798
#define GL_TEXTURE24_ARB                  0x84D8
slouken@312
   799
#define GL_TEXTURE25_ARB                  0x84D9
slouken@312
   800
#define GL_TEXTURE26_ARB                  0x84DA
slouken@312
   801
#define GL_TEXTURE27_ARB                  0x84DB
slouken@312
   802
#define GL_TEXTURE28_ARB                  0x84DC
slouken@312
   803
#define GL_TEXTURE29_ARB                  0x84DD
slouken@312
   804
#define GL_TEXTURE30_ARB                  0x84DE
slouken@312
   805
#define GL_TEXTURE31_ARB                  0x84DF
slouken@312
   806
#define GL_ACTIVE_TEXTURE_ARB             0x84E0
slouken@312
   807
#define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
slouken@312
   808
#define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
slouken@312
   809
#endif
slouken@214
   810
slouken@312
   811
#ifndef GL_ARB_transpose_matrix
slouken@312
   812
#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
slouken@312
   813
#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
slouken@312
   814
#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
slouken@312
   815
#define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
slouken@312
   816
#endif
slouken@214
   817
slouken@312
   818
#ifndef GL_ARB_multisample
slouken@312
   819
#define GL_MULTISAMPLE_ARB                0x809D
slouken@312
   820
#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
slouken@312
   821
#define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
slouken@312
   822
#define GL_SAMPLE_COVERAGE_ARB            0x80A0
slouken@312
   823
#define GL_SAMPLE_BUFFERS_ARB             0x80A8
slouken@312
   824
#define GL_SAMPLES_ARB                    0x80A9
slouken@312
   825
#define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
slouken@312
   826
#define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
slouken@312
   827
#define GL_MULTISAMPLE_BIT_ARB            0x20000000
slouken@312
   828
#endif
slouken@214
   829
slouken@843
   830
#ifndef GL_ARB_texture_env_add
slouken@843
   831
#endif
slouken@843
   832
slouken@312
   833
#ifndef GL_ARB_texture_cube_map
slouken@312
   834
#define GL_NORMAL_MAP_ARB                 0x8511
slouken@312
   835
#define GL_REFLECTION_MAP_ARB             0x8512
slouken@312
   836
#define GL_TEXTURE_CUBE_MAP_ARB           0x8513
slouken@312
   837
#define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
slouken@312
   838
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
slouken@312
   839
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
slouken@312
   840
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
slouken@312
   841
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
slouken@312
   842
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
slouken@312
   843
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
slouken@312
   844
#define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
slouken@312
   845
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
slouken@312
   846
#endif
slouken@214
   847
slouken@312
   848
#ifndef GL_ARB_texture_compression
slouken@312
   849
#define GL_COMPRESSED_ALPHA_ARB           0x84E9
slouken@312
   850
#define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
slouken@312
   851
#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
slouken@312
   852
#define GL_COMPRESSED_INTENSITY_ARB       0x84EC
slouken@312
   853
#define GL_COMPRESSED_RGB_ARB             0x84ED
slouken@312
   854
#define GL_COMPRESSED_RGBA_ARB            0x84EE
slouken@312
   855
#define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
slouken@843
   856
#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
slouken@312
   857
#define GL_TEXTURE_COMPRESSED_ARB         0x86A1
slouken@312
   858
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
slouken@312
   859
#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
slouken@312
   860
#endif
slouken@214
   861
slouken@843
   862
#ifndef GL_ARB_texture_border_clamp
slouken@843
   863
#define GL_CLAMP_TO_BORDER_ARB            0x812D
slouken@843
   864
#endif
slouken@843
   865
slouken@843
   866
#ifndef GL_ARB_point_parameters
slouken@843
   867
#define GL_POINT_SIZE_MIN_ARB             0x8126
slouken@843
   868
#define GL_POINT_SIZE_MAX_ARB             0x8127
slouken@843
   869
#define GL_POINT_FADE_THRESHOLD_SIZE_ARB  0x8128
slouken@843
   870
#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
slouken@843
   871
#endif
slouken@843
   872
slouken@843
   873
#ifndef GL_ARB_vertex_blend
slouken@843
   874
#define GL_MAX_VERTEX_UNITS_ARB           0x86A4
slouken@843
   875
#define GL_ACTIVE_VERTEX_UNITS_ARB        0x86A5
slouken@843
   876
#define GL_WEIGHT_SUM_UNITY_ARB           0x86A6
slouken@843
   877
#define GL_VERTEX_BLEND_ARB               0x86A7
slouken@843
   878
#define GL_CURRENT_WEIGHT_ARB             0x86A8
slouken@843
   879
#define GL_WEIGHT_ARRAY_TYPE_ARB          0x86A9
slouken@843
   880
#define GL_WEIGHT_ARRAY_STRIDE_ARB        0x86AA
slouken@843
   881
#define GL_WEIGHT_ARRAY_SIZE_ARB          0x86AB
slouken@843
   882
#define GL_WEIGHT_ARRAY_POINTER_ARB       0x86AC
slouken@843
   883
#define GL_WEIGHT_ARRAY_ARB               0x86AD
slouken@843
   884
#define GL_MODELVIEW0_ARB                 0x1700
slouken@843
   885
#define GL_MODELVIEW1_ARB                 0x850A
slouken@843
   886
#define GL_MODELVIEW2_ARB                 0x8722
slouken@843
   887
#define GL_MODELVIEW3_ARB                 0x8723
slouken@843
   888
#define GL_MODELVIEW4_ARB                 0x8724
slouken@843
   889
#define GL_MODELVIEW5_ARB                 0x8725
slouken@843
   890
#define GL_MODELVIEW6_ARB                 0x8726
slouken@843
   891
#define GL_MODELVIEW7_ARB                 0x8727
slouken@843
   892
#define GL_MODELVIEW8_ARB                 0x8728
slouken@843
   893
#define GL_MODELVIEW9_ARB                 0x8729
slouken@843
   894
#define GL_MODELVIEW10_ARB                0x872A
slouken@843
   895
#define GL_MODELVIEW11_ARB                0x872B
slouken@843
   896
#define GL_MODELVIEW12_ARB                0x872C
slouken@843
   897
#define GL_MODELVIEW13_ARB                0x872D
slouken@843
   898
#define GL_MODELVIEW14_ARB                0x872E
slouken@843
   899
#define GL_MODELVIEW15_ARB                0x872F
slouken@843
   900
#define GL_MODELVIEW16_ARB                0x8730
slouken@843
   901
#define GL_MODELVIEW17_ARB                0x8731
slouken@843
   902
#define GL_MODELVIEW18_ARB                0x8732
slouken@843
   903
#define GL_MODELVIEW19_ARB                0x8733
slouken@843
   904
#define GL_MODELVIEW20_ARB                0x8734
slouken@843
   905
#define GL_MODELVIEW21_ARB                0x8735
slouken@843
   906
#define GL_MODELVIEW22_ARB                0x8736
slouken@843
   907
#define GL_MODELVIEW23_ARB                0x8737
slouken@843
   908
#define GL_MODELVIEW24_ARB                0x8738
slouken@843
   909
#define GL_MODELVIEW25_ARB                0x8739
slouken@843
   910
#define GL_MODELVIEW26_ARB                0x873A
slouken@843
   911
#define GL_MODELVIEW27_ARB                0x873B
slouken@843
   912
#define GL_MODELVIEW28_ARB                0x873C
slouken@843
   913
#define GL_MODELVIEW29_ARB                0x873D
slouken@843
   914
#define GL_MODELVIEW30_ARB                0x873E
slouken@843
   915
#define GL_MODELVIEW31_ARB                0x873F
slouken@843
   916
#endif
slouken@843
   917
slouken@843
   918
#ifndef GL_ARB_matrix_palette
slouken@843
   919
#define GL_MATRIX_PALETTE_ARB             0x8840
slouken@843
   920
#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
slouken@843
   921
#define GL_MAX_PALETTE_MATRICES_ARB       0x8842
slouken@843
   922
#define GL_CURRENT_PALETTE_MATRIX_ARB     0x8843
slouken@843
   923
#define GL_MATRIX_INDEX_ARRAY_ARB         0x8844
slouken@843
   924
#define GL_CURRENT_MATRIX_INDEX_ARB       0x8845
slouken@843
   925
#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB    0x8846
slouken@843
   926
#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB    0x8847
slouken@843
   927
#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB  0x8848
slouken@843
   928
#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
slouken@843
   929
#endif
slouken@843
   930
slouken@843
   931
#ifndef GL_ARB_texture_env_combine
slouken@843
   932
#define GL_COMBINE_ARB                    0x8570
slouken@843
   933
#define GL_COMBINE_RGB_ARB                0x8571
slouken@843
   934
#define GL_COMBINE_ALPHA_ARB              0x8572
slouken@843
   935
#define GL_SOURCE0_RGB_ARB                0x8580
slouken@843
   936
#define GL_SOURCE1_RGB_ARB                0x8581
slouken@843
   937
#define GL_SOURCE2_RGB_ARB                0x8582
slouken@843
   938
#define GL_SOURCE0_ALPHA_ARB              0x8588
slouken@843
   939
#define GL_SOURCE1_ALPHA_ARB              0x8589
slouken@843
   940
#define GL_SOURCE2_ALPHA_ARB              0x858A
slouken@843
   941
#define GL_OPERAND0_RGB_ARB               0x8590
slouken@843
   942
#define GL_OPERAND1_RGB_ARB               0x8591
slouken@843
   943
#define GL_OPERAND2_RGB_ARB               0x8592
slouken@843
   944
#define GL_OPERAND0_ALPHA_ARB             0x8598
slouken@843
   945
#define GL_OPERAND1_ALPHA_ARB             0x8599
slouken@843
   946
#define GL_OPERAND2_ALPHA_ARB             0x859A
slouken@843
   947
#define GL_RGB_SCALE_ARB                  0x8573
slouken@843
   948
#define GL_ADD_SIGNED_ARB                 0x8574
slouken@843
   949
#define GL_INTERPOLATE_ARB                0x8575
slouken@843
   950
#define GL_SUBTRACT_ARB                   0x84E7
slouken@843
   951
#define GL_CONSTANT_ARB                   0x8576
slouken@843
   952
#define GL_PRIMARY_COLOR_ARB              0x8577
slouken@843
   953
#define GL_PREVIOUS_ARB                   0x8578
slouken@843
   954
#endif
slouken@843
   955
slouken@843
   956
#ifndef GL_ARB_texture_env_crossbar
slouken@843
   957
#endif
slouken@843
   958
slouken@843
   959
#ifndef GL_ARB_texture_env_dot3
slouken@843
   960
#define GL_DOT3_RGB_ARB                   0x86AE
slouken@843
   961
#define GL_DOT3_RGBA_ARB                  0x86AF
slouken@843
   962
#endif
slouken@843
   963
slouken@843
   964
#ifndef GL_ARB_texture_mirrored_repeat
slouken@843
   965
#define GL_MIRRORED_REPEAT_ARB            0x8370
slouken@843
   966
#endif
slouken@843
   967
slouken@843
   968
#ifndef GL_ARB_depth_texture
slouken@843
   969
#define GL_DEPTH_COMPONENT16_ARB          0x81A5
slouken@843
   970
#define GL_DEPTH_COMPONENT24_ARB          0x81A6
slouken@843
   971
#define GL_DEPTH_COMPONENT32_ARB          0x81A7
slouken@843
   972
#define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
slouken@843
   973
#define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
slouken@843
   974
#endif
slouken@843
   975
slouken@843
   976
#ifndef GL_ARB_shadow
slouken@843
   977
#define GL_TEXTURE_COMPARE_MODE_ARB       0x884C
slouken@843
   978
#define GL_TEXTURE_COMPARE_FUNC_ARB       0x884D
slouken@843
   979
#define GL_COMPARE_R_TO_TEXTURE_ARB       0x884E
slouken@843
   980
#endif
slouken@843
   981
slouken@843
   982
#ifndef GL_ARB_shadow_ambient
slouken@843
   983
#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
slouken@843
   984
#endif
slouken@843
   985
slouken@843
   986
#ifndef GL_ARB_window_pos
slouken@843
   987
#endif
slouken@843
   988
slouken@843
   989
#ifndef GL_ARB_vertex_program
slouken@843
   990
#define GL_COLOR_SUM_ARB                  0x8458
slouken@843
   991
#define GL_VERTEX_PROGRAM_ARB             0x8620
slouken@843
   992
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
slouken@843
   993
#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB   0x8623
slouken@843
   994
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
slouken@843
   995
#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB   0x8625
slouken@843
   996
#define GL_CURRENT_VERTEX_ATTRIB_ARB      0x8626
slouken@843
   997
#define GL_PROGRAM_LENGTH_ARB             0x8627
slouken@843
   998
#define GL_PROGRAM_STRING_ARB             0x8628
slouken@843
   999
#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
slouken@843
  1000
#define GL_MAX_PROGRAM_MATRICES_ARB       0x862F
slouken@843
  1001
#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
slouken@843
  1002
#define GL_CURRENT_MATRIX_ARB             0x8641
slouken@843
  1003
#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB  0x8642
slouken@843
  1004
#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB    0x8643
slouken@843
  1005
#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
slouken@843
  1006
#define GL_PROGRAM_ERROR_POSITION_ARB     0x864B
slouken@843
  1007
#define GL_PROGRAM_BINDING_ARB            0x8677
slouken@843
  1008
#define GL_MAX_VERTEX_ATTRIBS_ARB         0x8869
slouken@843
  1009
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
slouken@843
  1010
#define GL_PROGRAM_ERROR_STRING_ARB       0x8874
slouken@843
  1011
#define GL_PROGRAM_FORMAT_ASCII_ARB       0x8875
slouken@843
  1012
#define GL_PROGRAM_FORMAT_ARB             0x8876
slouken@843
  1013
#define GL_PROGRAM_INSTRUCTIONS_ARB       0x88A0
slouken@843
  1014
#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB   0x88A1
slouken@843
  1015
#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
slouken@843
  1016
#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
slouken@843
  1017
#define GL_PROGRAM_TEMPORARIES_ARB        0x88A4
slouken@843
  1018
#define GL_MAX_PROGRAM_TEMPORARIES_ARB    0x88A5
slouken@843
  1019
#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
slouken@843
  1020
#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
slouken@843
  1021
#define GL_PROGRAM_PARAMETERS_ARB         0x88A8
slouken@843
  1022
#define GL_MAX_PROGRAM_PARAMETERS_ARB     0x88A9
slouken@843
  1023
#define GL_PROGRAM_NATIVE_PARAMETERS_ARB  0x88AA
slouken@843
  1024
#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
slouken@843
  1025
#define GL_PROGRAM_ATTRIBS_ARB            0x88AC
slouken@843
  1026
#define GL_MAX_PROGRAM_ATTRIBS_ARB        0x88AD
slouken@843
  1027
#define GL_PROGRAM_NATIVE_ATTRIBS_ARB     0x88AE
slouken@843
  1028
#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
slouken@843
  1029
#define GL_PROGRAM_ADDRESS_REGISTERS_ARB  0x88B0
slouken@843
  1030
#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
slouken@843
  1031
#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
slouken@843
  1032
#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
slouken@843
  1033
#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
slouken@843
  1034
#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
slouken@843
  1035
#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
slouken@843
  1036
#define GL_TRANSPOSE_CURRENT_MATRIX_ARB   0x88B7
slouken@843
  1037
#define GL_MATRIX0_ARB                    0x88C0
slouken@843
  1038
#define GL_MATRIX1_ARB                    0x88C1
slouken@843
  1039
#define GL_MATRIX2_ARB                    0x88C2
slouken@843
  1040
#define GL_MATRIX3_ARB                    0x88C3
slouken@843
  1041
#define GL_MATRIX4_ARB                    0x88C4
slouken@843
  1042
#define GL_MATRIX5_ARB                    0x88C5
slouken@843
  1043
#define GL_MATRIX6_ARB                    0x88C6
slouken@843
  1044
#define GL_MATRIX7_ARB                    0x88C7
slouken@843
  1045
#define GL_MATRIX8_ARB                    0x88C8
slouken@843
  1046
#define GL_MATRIX9_ARB                    0x88C9
slouken@843
  1047
#define GL_MATRIX10_ARB                   0x88CA
slouken@843
  1048
#define GL_MATRIX11_ARB                   0x88CB
slouken@843
  1049
#define GL_MATRIX12_ARB                   0x88CC
slouken@843
  1050
#define GL_MATRIX13_ARB                   0x88CD
slouken@843
  1051
#define GL_MATRIX14_ARB                   0x88CE
slouken@843
  1052
#define GL_MATRIX15_ARB                   0x88CF
slouken@843
  1053
#define GL_MATRIX16_ARB                   0x88D0
slouken@843
  1054
#define GL_MATRIX17_ARB                   0x88D1
slouken@843
  1055
#define GL_MATRIX18_ARB                   0x88D2
slouken@843
  1056
#define GL_MATRIX19_ARB                   0x88D3
slouken@843
  1057
#define GL_MATRIX20_ARB                   0x88D4
slouken@843
  1058
#define GL_MATRIX21_ARB                   0x88D5
slouken@843
  1059
#define GL_MATRIX22_ARB                   0x88D6
slouken@843
  1060
#define GL_MATRIX23_ARB                   0x88D7
slouken@843
  1061
#define GL_MATRIX24_ARB                   0x88D8
slouken@843
  1062
#define GL_MATRIX25_ARB                   0x88D9
slouken@843
  1063
#define GL_MATRIX26_ARB                   0x88DA
slouken@843
  1064
#define GL_MATRIX27_ARB                   0x88DB
slouken@843
  1065
#define GL_MATRIX28_ARB                   0x88DC
slouken@843
  1066
#define GL_MATRIX29_ARB                   0x88DD
slouken@843
  1067
#define GL_MATRIX30_ARB                   0x88DE
slouken@843
  1068
#define GL_MATRIX31_ARB                   0x88DF
slouken@843
  1069
#endif
slouken@843
  1070
slouken@843
  1071
#ifndef GL_ARB_fragment_program
slouken@843
  1072
#define GL_FRAGMENT_PROGRAM_ARB           0x8804
slouken@843
  1073
#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB   0x8805
slouken@843
  1074
#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB   0x8806
slouken@843
  1075
#define GL_PROGRAM_TEX_INDIRECTIONS_ARB   0x8807
slouken@843
  1076
#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
slouken@843
  1077
#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
slouken@843
  1078
#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
slouken@843
  1079
#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
slouken@843
  1080
#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
slouken@843
  1081
#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
slouken@843
  1082
#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
slouken@843
  1083
#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
slouken@843
  1084
#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
slouken@843
  1085
#define GL_MAX_TEXTURE_COORDS_ARB         0x8871
slouken@843
  1086
#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB    0x8872
slouken@843
  1087
#endif
slouken@843
  1088
slouken@843
  1089
#ifndef GL_ARB_vertex_buffer_object
slouken@843
  1090
#define GL_BUFFER_SIZE_ARB                0x8764
slouken@843
  1091
#define GL_BUFFER_USAGE_ARB               0x8765
slouken@843
  1092
#define GL_ARRAY_BUFFER_ARB               0x8892
slouken@843
  1093
#define GL_ELEMENT_ARRAY_BUFFER_ARB       0x8893
slouken@843
  1094
#define GL_ARRAY_BUFFER_BINDING_ARB       0x8894
slouken@843
  1095
#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
slouken@843
  1096
#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
slouken@843
  1097
#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
slouken@843
  1098
#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
slouken@843
  1099
#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
slouken@843
  1100
#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
slouken@843
  1101
#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
slouken@843
  1102
#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
slouken@843
  1103
#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
slouken@843
  1104
#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
slouken@843
  1105
#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
slouken@843
  1106
#define GL_READ_ONLY_ARB                  0x88B8
slouken@843
  1107
#define GL_WRITE_ONLY_ARB                 0x88B9
slouken@843
  1108
#define GL_READ_WRITE_ARB                 0x88BA
slouken@843
  1109
#define GL_BUFFER_ACCESS_ARB              0x88BB
slouken@843
  1110
#define GL_BUFFER_MAPPED_ARB              0x88BC
slouken@843
  1111
#define GL_BUFFER_MAP_POINTER_ARB         0x88BD
slouken@843
  1112
#define GL_STREAM_DRAW_ARB                0x88E0
slouken@843
  1113
#define GL_STREAM_READ_ARB                0x88E1
slouken@843
  1114
#define GL_STREAM_COPY_ARB                0x88E2
slouken@843
  1115
#define GL_STATIC_DRAW_ARB                0x88E4
slouken@843
  1116
#define GL_STATIC_READ_ARB                0x88E5
slouken@843
  1117
#define GL_STATIC_COPY_ARB                0x88E6
slouken@843
  1118
#define GL_DYNAMIC_DRAW_ARB               0x88E8
slouken@843
  1119
#define GL_DYNAMIC_READ_ARB               0x88E9
slouken@843
  1120
#define GL_DYNAMIC_COPY_ARB               0x88EA
slouken@843
  1121
#endif
slouken@843
  1122
slouken@843
  1123
#ifndef GL_ARB_occlusion_query
slouken@843
  1124
#define GL_QUERY_COUNTER_BITS_ARB         0x8864
slouken@843
  1125
#define GL_CURRENT_QUERY_ARB              0x8865
slouken@843
  1126
#define GL_QUERY_RESULT_ARB               0x8866
slouken@843
  1127
#define GL_QUERY_RESULT_AVAILABLE_ARB     0x8867
slouken@843
  1128
#define GL_SAMPLES_PASSED_ARB             0x8914
slouken@843
  1129
#endif
slouken@843
  1130
slouken@843
  1131
#ifndef GL_ARB_shader_objects
slouken@843
  1132
#define GL_PROGRAM_OBJECT_ARB             0x8B40
slouken@843
  1133
#define GL_SHADER_OBJECT_ARB              0x8B48
slouken@843
  1134
#define GL_OBJECT_TYPE_ARB                0x8B4E
slouken@843
  1135
#define GL_OBJECT_SUBTYPE_ARB             0x8B4F
slouken@843
  1136
#define GL_FLOAT_VEC2_ARB                 0x8B50
slouken@843
  1137
#define GL_FLOAT_VEC3_ARB                 0x8B51
slouken@843
  1138
#define GL_FLOAT_VEC4_ARB                 0x8B52
slouken@843
  1139
#define GL_INT_VEC2_ARB                   0x8B53
slouken@843
  1140
#define GL_INT_VEC3_ARB                   0x8B54
slouken@843
  1141
#define GL_INT_VEC4_ARB                   0x8B55
slouken@843
  1142
#define GL_BOOL_ARB                       0x8B56
slouken@843
  1143
#define GL_BOOL_VEC2_ARB                  0x8B57
slouken@843
  1144
#define GL_BOOL_VEC3_ARB                  0x8B58
slouken@843
  1145
#define GL_BOOL_VEC4_ARB                  0x8B59
slouken@843
  1146
#define GL_FLOAT_MAT2_ARB                 0x8B5A
slouken@843
  1147
#define GL_FLOAT_MAT3_ARB                 0x8B5B
slouken@843
  1148
#define GL_FLOAT_MAT4_ARB                 0x8B5C
slouken@1205
  1149
#define GL_SAMPLER_1D_ARB                 0x8B5D
slouken@1205
  1150
#define GL_SAMPLER_2D_ARB                 0x8B5E
slouken@1205
  1151
#define GL_SAMPLER_3D_ARB                 0x8B5F
slouken@1205
  1152
#define GL_SAMPLER_CUBE_ARB               0x8B60
slouken@1205
  1153
#define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
slouken@1205
  1154
#define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
slouken@1205
  1155
#define GL_SAMPLER_2D_RECT_ARB            0x8B63
slouken@1205
  1156
#define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
slouken@843
  1157
#define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
slouken@843
  1158
#define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
slouken@843
  1159
#define GL_OBJECT_LINK_STATUS_ARB         0x8B82
slouken@843
  1160
#define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
slouken@843
  1161
#define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
slouken@843
  1162
#define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
slouken@843
  1163
#define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
slouken@843
  1164
#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
slouken@843
  1165
#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
slouken@843
  1166
#endif
slouken@843
  1167
slouken@843
  1168
#ifndef GL_ARB_vertex_shader
slouken@843
  1169
#define GL_VERTEX_SHADER_ARB              0x8B31
slouken@843
  1170
#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
slouken@843
  1171
#define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
slouken@843
  1172
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
slouken@843
  1173
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
slouken@843
  1174
#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
slouken@843
  1175
#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
slouken@843
  1176
#endif
slouken@843
  1177
slouken@843
  1178
#ifndef GL_ARB_fragment_shader
slouken@843
  1179
#define GL_FRAGMENT_SHADER_ARB            0x8B30
slouken@843
  1180
#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
slouken@1205
  1181
#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
slouken@843
  1182
#endif
slouken@843
  1183
slouken@843
  1184
#ifndef GL_ARB_shading_language_100
slouken@1205
  1185
#define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C
slouken@843
  1186
#endif
slouken@843
  1187
slouken@843
  1188
#ifndef GL_ARB_texture_non_power_of_two
slouken@843
  1189
#endif
slouken@843
  1190
slouken@843
  1191
#ifndef GL_ARB_point_sprite
slouken@843
  1192
#define GL_POINT_SPRITE_ARB               0x8861
slouken@843
  1193
#define GL_COORD_REPLACE_ARB              0x8862
slouken@843
  1194
#endif
slouken@843
  1195
slouken@1205
  1196
#ifndef GL_ARB_fragment_program_shadow
slouken@1205
  1197
#endif
slouken@1205
  1198
slouken@1205
  1199
#ifndef GL_ARB_draw_buffers
slouken@1205
  1200
#define GL_MAX_DRAW_BUFFERS_ARB           0x8824
slouken@1205
  1201
#define GL_DRAW_BUFFER0_ARB               0x8825
slouken@1205
  1202
#define GL_DRAW_BUFFER1_ARB               0x8826
slouken@1205
  1203
#define GL_DRAW_BUFFER2_ARB               0x8827
slouken@1205
  1204
#define GL_DRAW_BUFFER3_ARB               0x8828
slouken@1205
  1205
#define GL_DRAW_BUFFER4_ARB               0x8829
slouken@1205
  1206
#define GL_DRAW_BUFFER5_ARB               0x882A
slouken@1205
  1207
#define GL_DRAW_BUFFER6_ARB               0x882B
slouken@1205
  1208
#define GL_DRAW_BUFFER7_ARB               0x882C
slouken@1205
  1209
#define GL_DRAW_BUFFER8_ARB               0x882D
slouken@1205
  1210
#define GL_DRAW_BUFFER9_ARB               0x882E
slouken@1205
  1211
#define GL_DRAW_BUFFER10_ARB              0x882F
slouken@1205
  1212
#define GL_DRAW_BUFFER11_ARB              0x8830
slouken@1205
  1213
#define GL_DRAW_BUFFER12_ARB              0x8831
slouken@1205
  1214
#define GL_DRAW_BUFFER13_ARB              0x8832
slouken@1205
  1215
#define GL_DRAW_BUFFER14_ARB              0x8833
slouken@1205
  1216
#define GL_DRAW_BUFFER15_ARB              0x8834
slouken@1205
  1217
#endif
slouken@1205
  1218
slouken@1205
  1219
#ifndef GL_ARB_texture_rectangle
slouken@1205
  1220
#define GL_TEXTURE_RECTANGLE_ARB          0x84F5
slouken@1205
  1221
#define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
slouken@1205
  1222
#define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
slouken@1205
  1223
#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
slouken@1205
  1224
#endif
slouken@1205
  1225
slouken@1205
  1226
#ifndef GL_ARB_color_buffer_float
slouken@1205
  1227
#define GL_RGBA_FLOAT_MODE_ARB            0x8820
slouken@1205
  1228
#define GL_CLAMP_VERTEX_COLOR_ARB         0x891A
slouken@1205
  1229
#define GL_CLAMP_FRAGMENT_COLOR_ARB       0x891B
slouken@1205
  1230
#define GL_CLAMP_READ_COLOR_ARB           0x891C
slouken@1205
  1231
#define GL_FIXED_ONLY_ARB                 0x891D
slouken@1205
  1232
#endif
slouken@1205
  1233
slouken@1205
  1234
#ifndef GL_ARB_half_float_pixel
slouken@1205
  1235
#define GL_HALF_FLOAT_ARB                 0x140B
slouken@1205
  1236
#endif
slouken@1205
  1237
slouken@1205
  1238
#ifndef GL_ARB_texture_float
slouken@1205
  1239
#define GL_TEXTURE_RED_TYPE_ARB           0x8C10
slouken@1205
  1240
#define GL_TEXTURE_GREEN_TYPE_ARB         0x8C11
slouken@1205
  1241
#define GL_TEXTURE_BLUE_TYPE_ARB          0x8C12
slouken@1205
  1242
#define GL_TEXTURE_ALPHA_TYPE_ARB         0x8C13
slouken@1205
  1243
#define GL_TEXTURE_LUMINANCE_TYPE_ARB     0x8C14
slouken@1205
  1244
#define GL_TEXTURE_INTENSITY_TYPE_ARB     0x8C15
slouken@1205
  1245
#define GL_TEXTURE_DEPTH_TYPE_ARB         0x8C16
slouken@1205
  1246
#define GL_UNSIGNED_NORMALIZED_ARB        0x8C17
slouken@1205
  1247
#define GL_RGBA32F_ARB                    0x8814
slouken@1205
  1248
#define GL_RGB32F_ARB                     0x8815
slouken@1205
  1249
#define GL_ALPHA32F_ARB                   0x8816
slouken@1205
  1250
#define GL_INTENSITY32F_ARB               0x8817
slouken@1205
  1251
#define GL_LUMINANCE32F_ARB               0x8818
slouken@1205
  1252
#define GL_LUMINANCE_ALPHA32F_ARB         0x8819
slouken@1205
  1253
#define GL_RGBA16F_ARB                    0x881A
slouken@1205
  1254
#define GL_RGB16F_ARB                     0x881B
slouken@1205
  1255
#define GL_ALPHA16F_ARB                   0x881C
slouken@1205
  1256
#define GL_INTENSITY16F_ARB               0x881D
slouken@1205
  1257
#define GL_LUMINANCE16F_ARB               0x881E
slouken@1205
  1258
#define GL_LUMINANCE_ALPHA16F_ARB         0x881F
slouken@1205
  1259
#endif
slouken@1205
  1260
slouken@1205
  1261
#ifndef GL_ARB_pixel_buffer_object
slouken@1205
  1262
#define GL_PIXEL_PACK_BUFFER_ARB          0x88EB
slouken@1205
  1263
#define GL_PIXEL_UNPACK_BUFFER_ARB        0x88EC
slouken@1205
  1264
#define GL_PIXEL_PACK_BUFFER_BINDING_ARB  0x88ED
slouken@1205
  1265
#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
slouken@1205
  1266
#endif
slouken@1205
  1267
slouken@2788
  1268
#ifndef GL_ARB_depth_buffer_float
slouken@2788
  1269
#define GL_DEPTH_COMPONENT32F             0x8CAC
slouken@2788
  1270
#define GL_DEPTH32F_STENCIL8              0x8CAD
slouken@2788
  1271
#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
slouken@2788
  1272
#endif
slouken@2788
  1273
slouken@2788
  1274
#ifndef GL_ARB_draw_instanced
slouken@2788
  1275
#endif
slouken@2788
  1276
slouken@2788
  1277
#ifndef GL_ARB_framebuffer_object
slouken@2788
  1278
#define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
slouken@2788
  1279
#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
slouken@2788
  1280
#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
slouken@2788
  1281
#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
slouken@2788
  1282
#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
slouken@2788
  1283
#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
slouken@2788
  1284
#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
slouken@2788
  1285
#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
slouken@2788
  1286
#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
slouken@2788
  1287
#define GL_FRAMEBUFFER_DEFAULT            0x8218
slouken@2788
  1288
#define GL_FRAMEBUFFER_UNDEFINED          0x8219
slouken@2788
  1289
#define GL_DEPTH_STENCIL_ATTACHMENT       0x821A
slouken@2788
  1290
#define GL_INDEX                          0x8222
slouken@2788
  1291
#define GL_MAX_RENDERBUFFER_SIZE          0x84E8
slouken@2788
  1292
#define GL_DEPTH_STENCIL                  0x84F9
slouken@2788
  1293
#define GL_UNSIGNED_INT_24_8              0x84FA
slouken@2788
  1294
#define GL_DEPTH24_STENCIL8               0x88F0
slouken@2788
  1295
#define GL_TEXTURE_STENCIL_SIZE           0x88F1
slouken@2788
  1296
#define GL_FRAMEBUFFER_BINDING            0x8CA6
slouken@2788
  1297
#define GL_DRAW_FRAMEBUFFER_BINDING       GL_FRAMEBUFFER_BINDING
slouken@2788
  1298
#define GL_RENDERBUFFER_BINDING           0x8CA7
slouken@2788
  1299
#define GL_READ_FRAMEBUFFER               0x8CA8
slouken@2788
  1300
#define GL_DRAW_FRAMEBUFFER               0x8CA9
slouken@2788
  1301
#define GL_READ_FRAMEBUFFER_BINDING       0x8CAA
slouken@2788
  1302
#define GL_RENDERBUFFER_SAMPLES           0x8CAB
slouken@2788
  1303
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
slouken@2788
  1304
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
slouken@2788
  1305
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
slouken@2788
  1306
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
slouken@2788
  1307
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
slouken@2788
  1308
#define GL_FRAMEBUFFER_COMPLETE           0x8CD5
slouken@2788
  1309
#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
slouken@2788
  1310
#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
slouken@2788
  1311
#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
slouken@2788
  1312
#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
slouken@2788
  1313
#define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
slouken@2788
  1314
#define GL_MAX_COLOR_ATTACHMENTS          0x8CDF
slouken@2788
  1315
#define GL_COLOR_ATTACHMENT0              0x8CE0
slouken@2788
  1316
#define GL_COLOR_ATTACHMENT1              0x8CE1
slouken@2788
  1317
#define GL_COLOR_ATTACHMENT2              0x8CE2
slouken@2788
  1318
#define GL_COLOR_ATTACHMENT3              0x8CE3
slouken@2788
  1319
#define GL_COLOR_ATTACHMENT4              0x8CE4
slouken@2788
  1320
#define GL_COLOR_ATTACHMENT5              0x8CE5
slouken@2788
  1321
#define GL_COLOR_ATTACHMENT6              0x8CE6
slouken@2788
  1322
#define GL_COLOR_ATTACHMENT7              0x8CE7
slouken@2788
  1323
#define GL_COLOR_ATTACHMENT8              0x8CE8
slouken@2788
  1324
#define GL_COLOR_ATTACHMENT9              0x8CE9
slouken@2788
  1325
#define GL_COLOR_ATTACHMENT10             0x8CEA
slouken@2788
  1326
#define GL_COLOR_ATTACHMENT11             0x8CEB
slouken@2788
  1327
#define GL_COLOR_ATTACHMENT12             0x8CEC
slouken@2788
  1328
#define GL_COLOR_ATTACHMENT13             0x8CED
slouken@2788
  1329
#define GL_COLOR_ATTACHMENT14             0x8CEE
slouken@2788
  1330
#define GL_COLOR_ATTACHMENT15             0x8CEF
slouken@2788
  1331
#define GL_DEPTH_ATTACHMENT               0x8D00
slouken@2788
  1332
#define GL_STENCIL_ATTACHMENT             0x8D20
slouken@2788
  1333
#define GL_FRAMEBUFFER                    0x8D40
slouken@2788
  1334
#define GL_RENDERBUFFER                   0x8D41
slouken@2788
  1335
#define GL_RENDERBUFFER_WIDTH             0x8D42
slouken@2788
  1336
#define GL_RENDERBUFFER_HEIGHT            0x8D43
slouken@2788
  1337
#define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
slouken@2788
  1338
#define GL_STENCIL_INDEX1                 0x8D46
slouken@2788
  1339
#define GL_STENCIL_INDEX4                 0x8D47
slouken@2788
  1340
#define GL_STENCIL_INDEX8                 0x8D48
slouken@2788
  1341
#define GL_STENCIL_INDEX16                0x8D49
slouken@2788
  1342
#define GL_RENDERBUFFER_RED_SIZE          0x8D50
slouken@2788
  1343
#define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
slouken@2788
  1344
#define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
slouken@2788
  1345
#define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
slouken@2788
  1346
#define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
slouken@2788
  1347
#define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
slouken@2788
  1348
#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
slouken@2788
  1349
#define GL_MAX_SAMPLES                    0x8D57
slouken@2788
  1350
#endif
slouken@2788
  1351
slouken@2788
  1352
#ifndef GL_ARB_framebuffer_sRGB
slouken@2788
  1353
#define GL_FRAMEBUFFER_SRGB               0x8DB9
slouken@2788
  1354
#endif
slouken@2788
  1355
slouken@2788
  1356
#ifndef GL_ARB_geometry_shader4
slouken@2788
  1357
#define GL_LINES_ADJACENCY_ARB            0x000A
slouken@2788
  1358
#define GL_LINE_STRIP_ADJACENCY_ARB       0x000B
slouken@2788
  1359
#define GL_TRIANGLES_ADJACENCY_ARB        0x000C
slouken@2788
  1360
#define GL_TRIANGLE_STRIP_ADJACENCY_ARB   0x000D
slouken@2788
  1361
#define GL_PROGRAM_POINT_SIZE_ARB         0x8642
slouken@2788
  1362
#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
slouken@2788
  1363
#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
slouken@2788
  1364
#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
slouken@2788
  1365
#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
slouken@2788
  1366
#define GL_GEOMETRY_SHADER_ARB            0x8DD9
slouken@2788
  1367
#define GL_GEOMETRY_VERTICES_OUT_ARB      0x8DDA
slouken@2788
  1368
#define GL_GEOMETRY_INPUT_TYPE_ARB        0x8DDB
slouken@2788
  1369
#define GL_GEOMETRY_OUTPUT_TYPE_ARB       0x8DDC
slouken@2788
  1370
#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
slouken@2788
  1371
#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
slouken@2788
  1372
#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
slouken@2788
  1373
#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
slouken@2788
  1374
#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
slouken@2788
  1375
/* reuse GL_MAX_VARYING_COMPONENTS */
slouken@2788
  1376
/* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
slouken@2788
  1377
#endif
slouken@2788
  1378
slouken@2788
  1379
#ifndef GL_ARB_half_float_vertex
slouken@2788
  1380
#define GL_HALF_FLOAT                     0x140B
slouken@2788
  1381
#endif
slouken@2788
  1382
slouken@2788
  1383
#ifndef GL_ARB_instanced_arrays
slouken@2788
  1384
#endif
slouken@2788
  1385
slouken@2788
  1386
#ifndef GL_ARB_map_buffer_range
slouken@2788
  1387
#define GL_MAP_READ_BIT                   0x0001
slouken@2788
  1388
#define GL_MAP_WRITE_BIT                  0x0002
slouken@2788
  1389
#define GL_MAP_INVALIDATE_RANGE_BIT       0x0004
slouken@2788
  1390
#define GL_MAP_INVALIDATE_BUFFER_BIT      0x0008
slouken@2788
  1391
#define GL_MAP_FLUSH_EXPLICIT_BIT         0x0010
slouken@2788
  1392
#define GL_MAP_UNSYNCHRONIZED_BIT         0x0020
slouken@2788
  1393
#endif
slouken@2788
  1394
slouken@2788
  1395
#ifndef GL_ARB_texture_buffer_object
slouken@2788
  1396
#define GL_TEXTURE_BUFFER_ARB             0x8C2A
slouken@2788
  1397
#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB    0x8C2B
slouken@2788
  1398
#define GL_TEXTURE_BINDING_BUFFER_ARB     0x8C2C
slouken@2788
  1399
#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
slouken@2788
  1400
#define GL_TEXTURE_BUFFER_FORMAT_ARB      0x8C2E
slouken@2788
  1401
#endif
slouken@2788
  1402
slouken@2788
  1403
#ifndef GL_ARB_texture_compression_rgtc
slouken@2788
  1404
#define GL_COMPRESSED_RED_RGTC1           0x8DBB
slouken@2788
  1405
#define GL_COMPRESSED_SIGNED_RED_RGTC1    0x8DBC
slouken@2788
  1406
#define GL_COMPRESSED_RG_RGTC2            0x8DBD
slouken@2788
  1407
#define GL_COMPRESSED_SIGNED_RG_RGTC2     0x8DBE
slouken@2788
  1408
#endif
slouken@2788
  1409
slouken@2788
  1410
#ifndef GL_ARB_texture_rg
slouken@2788
  1411
#define GL_RG                             0x8227
slouken@2788
  1412
#define GL_RG_INTEGER                     0x8228
slouken@2788
  1413
#define GL_R8                             0x8229
slouken@2788
  1414
#define GL_R16                            0x822A
slouken@2788
  1415
#define GL_RG8                            0x822B
slouken@2788
  1416
#define GL_RG16                           0x822C
slouken@2788
  1417
#define GL_R16F                           0x822D
slouken@2788
  1418
#define GL_R32F                           0x822E
slouken@2788
  1419
#define GL_RG16F                          0x822F
slouken@2788
  1420
#define GL_RG32F                          0x8230
slouken@2788
  1421
#define GL_R8I                            0x8231
slouken@2788
  1422
#define GL_R8UI                           0x8232
slouken@2788
  1423
#define GL_R16I                           0x8233
slouken@2788
  1424
#define GL_R16UI                          0x8234
slouken@2788
  1425
#define GL_R32I                           0x8235
slouken@2788
  1426
#define GL_R32UI                          0x8236
slouken@2788
  1427
#define GL_RG8I                           0x8237
slouken@2788
  1428
#define GL_RG8UI                          0x8238
slouken@2788
  1429
#define GL_RG16I                          0x8239
slouken@2788
  1430
#define GL_RG16UI                         0x823A
slouken@2788
  1431
#define GL_RG32I                          0x823B
slouken@2788
  1432
#define GL_RG32UI                         0x823C
slouken@2788
  1433
#endif
slouken@2788
  1434
slouken@2788
  1435
#ifndef GL_ARB_vertex_array_object
slouken@2788
  1436
#define GL_VERTEX_ARRAY_BINDING           0x85B5
slouken@2788
  1437
#endif
slouken@2788
  1438
slouken@312
  1439
#ifndef GL_EXT_abgr
slouken@312
  1440
#define GL_ABGR_EXT                       0x8000
slouken@312
  1441
#endif
slouken@214
  1442
slouken@312
  1443
#ifndef GL_EXT_blend_color
slouken@312
  1444
#define GL_CONSTANT_COLOR_EXT             0x8001
slouken@312
  1445
#define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
slouken@312
  1446
#define GL_CONSTANT_ALPHA_EXT             0x8003
slouken@312
  1447
#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
slouken@312
  1448
#define GL_BLEND_COLOR_EXT                0x8005
slouken@312
  1449
#endif
slouken@214
  1450
slouken@312
  1451
#ifndef GL_EXT_polygon_offset
slouken@312
  1452
#define GL_POLYGON_OFFSET_EXT             0x8037
slouken@312
  1453
#define GL_POLYGON_OFFSET_FACTOR_EXT      0x8038
slouken@312
  1454
#define GL_POLYGON_OFFSET_BIAS_EXT        0x8039
slouken@312
  1455
#endif
slouken@214
  1456
slouken@312
  1457
#ifndef GL_EXT_texture
slouken@312
  1458
#define GL_ALPHA4_EXT                     0x803B
slouken@312
  1459
#define GL_ALPHA8_EXT                     0x803C
slouken@312
  1460
#define GL_ALPHA12_EXT                    0x803D
slouken@312
  1461
#define GL_ALPHA16_EXT                    0x803E
slouken@312
  1462
#define GL_LUMINANCE4_EXT                 0x803F
slouken@312
  1463
#define GL_LUMINANCE8_EXT                 0x8040
slouken@312
  1464
#define GL_LUMINANCE12_EXT                0x8041
slouken@312
  1465
#define GL_LUMINANCE16_EXT                0x8042
slouken@312
  1466
#define GL_LUMINANCE4_ALPHA4_EXT          0x8043
slouken@312
  1467
#define GL_LUMINANCE6_ALPHA2_EXT          0x8044
slouken@312
  1468
#define GL_LUMINANCE8_ALPHA8_EXT          0x8045
slouken@312
  1469
#define GL_LUMINANCE12_ALPHA4_EXT         0x8046
slouken@312
  1470
#define GL_LUMINANCE12_ALPHA12_EXT        0x8047
slouken@312
  1471
#define GL_LUMINANCE16_ALPHA16_EXT        0x8048
slouken@312
  1472
#define GL_INTENSITY_EXT                  0x8049
slouken@312
  1473
#define GL_INTENSITY4_EXT                 0x804A
slouken@312
  1474
#define GL_INTENSITY8_EXT                 0x804B
slouken@312
  1475
#define GL_INTENSITY12_EXT                0x804C
slouken@312
  1476
#define GL_INTENSITY16_EXT                0x804D
slouken@312
  1477
#define GL_RGB2_EXT                       0x804E
slouken@312
  1478
#define GL_RGB4_EXT                       0x804F
slouken@312
  1479
#define GL_RGB5_EXT                       0x8050
slouken@312
  1480
#define GL_RGB8_EXT                       0x8051
slouken@312
  1481
#define GL_RGB10_EXT                      0x8052
slouken@312
  1482
#define GL_RGB12_EXT                      0x8053
slouken@312
  1483
#define GL_RGB16_EXT                      0x8054
slouken@312
  1484
#define GL_RGBA2_EXT                      0x8055
slouken@312
  1485
#define GL_RGBA4_EXT                      0x8056
slouken@312
  1486
#define GL_RGB5_A1_EXT                    0x8057
slouken@312
  1487
#define GL_RGBA8_EXT                      0x8058
slouken@312
  1488
#define GL_RGB10_A2_EXT                   0x8059
slouken@312
  1489
#define GL_RGBA12_EXT                     0x805A
slouken@312
  1490
#define GL_RGBA16_EXT                     0x805B
slouken@312
  1491
#define GL_TEXTURE_RED_SIZE_EXT           0x805C
slouken@312
  1492
#define GL_TEXTURE_GREEN_SIZE_EXT         0x805D
slouken@312
  1493
#define GL_TEXTURE_BLUE_SIZE_EXT          0x805E
slouken@312
  1494
#define GL_TEXTURE_ALPHA_SIZE_EXT         0x805F
slouken@312
  1495
#define GL_TEXTURE_LUMINANCE_SIZE_EXT     0x8060
slouken@312
  1496
#define GL_TEXTURE_INTENSITY_SIZE_EXT     0x8061
slouken@312
  1497
#define GL_REPLACE_EXT                    0x8062
slouken@312
  1498
#define GL_PROXY_TEXTURE_1D_EXT           0x8063
slouken@312
  1499
#define GL_PROXY_TEXTURE_2D_EXT           0x8064
slouken@312
  1500
#define GL_TEXTURE_TOO_LARGE_EXT          0x8065
slouken@312
  1501
#endif
slouken@214
  1502
slouken@312
  1503
#ifndef GL_EXT_texture3D
slouken@312
  1504
#define GL_PACK_SKIP_IMAGES_EXT           0x806B
slouken@312
  1505
#define GL_PACK_IMAGE_HEIGHT_EXT          0x806C
slouken@312
  1506
#define GL_UNPACK_SKIP_IMAGES_EXT         0x806D
slouken@312
  1507
#define GL_UNPACK_IMAGE_HEIGHT_EXT        0x806E
slouken@312
  1508
#define GL_TEXTURE_3D_EXT                 0x806F
slouken@312
  1509
#define GL_PROXY_TEXTURE_3D_EXT           0x8070
slouken@312
  1510
#define GL_TEXTURE_DEPTH_EXT              0x8071
slouken@312
  1511
#define GL_TEXTURE_WRAP_R_EXT             0x8072
slouken@312
  1512
#define GL_MAX_3D_TEXTURE_SIZE_EXT        0x8073
slouken@312
  1513
#endif
slouken@214
  1514
slouken@312
  1515
#ifndef GL_SGIS_texture_filter4
slouken@312
  1516
#define GL_FILTER4_SGIS                   0x8146
slouken@312
  1517
#define GL_TEXTURE_FILTER4_SIZE_SGIS      0x8147
slouken@312
  1518
#endif
slouken@214
  1519
slouken@312
  1520
#ifndef GL_EXT_subtexture
slouken@312
  1521
#endif
slouken@312
  1522
slouken@312
  1523
#ifndef GL_EXT_copy_texture
slouken@312
  1524
#endif
slouken@312
  1525
slouken@312
  1526
#ifndef GL_EXT_histogram
slouken@312
  1527
#define GL_HISTOGRAM_EXT                  0x8024
slouken@312
  1528
#define GL_PROXY_HISTOGRAM_EXT            0x8025
slouken@312
  1529
#define GL_HISTOGRAM_WIDTH_EXT            0x8026
slouken@312
  1530
#define GL_HISTOGRAM_FORMAT_EXT           0x8027
slouken@312
  1531
#define GL_HISTOGRAM_RED_SIZE_EXT         0x8028
slouken@312
  1532
#define GL_HISTOGRAM_GREEN_SIZE_EXT       0x8029
slouken@312
  1533
#define GL_HISTOGRAM_BLUE_SIZE_EXT        0x802A
slouken@312
  1534
#define GL_HISTOGRAM_ALPHA_SIZE_EXT       0x802B
slouken@312
  1535
#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT   0x802C
slouken@312
  1536
#define GL_HISTOGRAM_SINK_EXT             0x802D
slouken@312
  1537
#define GL_MINMAX_EXT                     0x802E
slouken@312
  1538
#define GL_MINMAX_FORMAT_EXT              0x802F
slouken@312
  1539
#define GL_MINMAX_SINK_EXT                0x8030
slouken@312
  1540
#define GL_TABLE_TOO_LARGE_EXT            0x8031
slouken@312
  1541
#endif
slouken@312
  1542
slouken@312
  1543
#ifndef GL_EXT_convolution
slouken@312
  1544
#define GL_CONVOLUTION_1D_EXT             0x8010
slouken@312
  1545
#define GL_CONVOLUTION_2D_EXT             0x8011
slouken@312
  1546
#define GL_SEPARABLE_2D_EXT               0x8012
slouken@312
  1547
#define GL_CONVOLUTION_BORDER_MODE_EXT    0x8013
slouken@312
  1548
#define GL_CONVOLUTION_FILTER_SCALE_EXT   0x8014
slouken@312
  1549
#define GL_CONVOLUTION_FILTER_BIAS_EXT    0x8015
slouken@312
  1550
#define GL_REDUCE_EXT                     0x8016
slouken@312
  1551
#define GL_CONVOLUTION_FORMAT_EXT         0x8017
slouken@312
  1552
#define GL_CONVOLUTION_WIDTH_EXT          0x8018
slouken@312
  1553
#define GL_CONVOLUTION_HEIGHT_EXT         0x8019
slouken@312
  1554
#define GL_MAX_CONVOLUTION_WIDTH_EXT      0x801A
slouken@312
  1555
#define GL_MAX_CONVOLUTION_HEIGHT_EXT     0x801B
slouken@312
  1556
#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
slouken@312
  1557
#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
slouken@312
  1558
#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
slouken@312
  1559
#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
slouken@312
  1560
#define GL_POST_CONVOLUTION_RED_BIAS_EXT  0x8020
slouken@312
  1561
#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
slouken@312
  1562
#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
slouken@312
  1563
#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
slouken@312
  1564
#endif
slouken@312
  1565
slouken@312
  1566
#ifndef GL_SGI_color_matrix
slouken@312
  1567
#define GL_COLOR_MATRIX_SGI               0x80B1
slouken@312
  1568
#define GL_COLOR_MATRIX_STACK_DEPTH_SGI   0x80B2
slouken@312
  1569
#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
slouken@312
  1570
#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
slouken@312
  1571
#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
slouken@312
  1572
#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
slouken@312
  1573
#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
slouken@312
  1574
#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
slouken@312
  1575
#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
slouken@312
  1576
#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
slouken@312
  1577
#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
slouken@312
  1578
#endif
slouken@312
  1579
slouken@312
  1580
#ifndef GL_SGI_color_table
slouken@312
  1581
#define GL_COLOR_TABLE_SGI                0x80D0
slouken@312
  1582
#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
slouken@312
  1583
#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
slouken@312
  1584
#define GL_PROXY_COLOR_TABLE_SGI          0x80D3
slouken@312
  1585
#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
slouken@312
  1586
#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
slouken@312
  1587
#define GL_COLOR_TABLE_SCALE_SGI          0x80D6
slouken@312
  1588
#define GL_COLOR_TABLE_BIAS_SGI           0x80D7
slouken@312
  1589
#define GL_COLOR_TABLE_FORMAT_SGI         0x80D8
slouken@312
  1590
#define GL_COLOR_TABLE_WIDTH_SGI          0x80D9
slouken@312
  1591
#define GL_COLOR_TABLE_RED_SIZE_SGI       0x80DA
slouken@312
  1592
#define GL_COLOR_TABLE_GREEN_SIZE_SGI     0x80DB
slouken@312
  1593
#define GL_COLOR_TABLE_BLUE_SIZE_SGI      0x80DC
slouken@312
  1594
#define GL_COLOR_TABLE_ALPHA_SIZE_SGI     0x80DD
slouken@312
  1595
#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
slouken@312
  1596
#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
slouken@312
  1597
#endif
slouken@312
  1598
slouken@312
  1599
#ifndef GL_SGIS_pixel_texture
slouken@312
  1600
#define GL_PIXEL_TEXTURE_SGIS             0x8353
slouken@312
  1601
#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
slouken@312
  1602
#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
slouken@312
  1603
#define GL_PIXEL_GROUP_COLOR_SGIS         0x8356
slouken@312
  1604
#endif
slouken@312
  1605
slouken@312
  1606
#ifndef GL_SGIX_pixel_texture
slouken@312
  1607
#define GL_PIXEL_TEX_GEN_SGIX             0x8139
slouken@312
  1608
#define GL_PIXEL_TEX_GEN_MODE_SGIX        0x832B
slouken@312
  1609
#endif
slouken@312
  1610
slouken@312
  1611
#ifndef GL_SGIS_texture4D
slouken@312
  1612
#define GL_PACK_SKIP_VOLUMES_SGIS         0x8130
slouken@312
  1613
#define GL_PACK_IMAGE_DEPTH_SGIS          0x8131
slouken@312
  1614
#define GL_UNPACK_SKIP_VOLUMES_SGIS       0x8132
slouken@312
  1615
#define GL_UNPACK_IMAGE_DEPTH_SGIS        0x8133
slouken@312
  1616
#define GL_TEXTURE_4D_SGIS                0x8134
slouken@312
  1617
#define GL_PROXY_TEXTURE_4D_SGIS          0x8135
slouken@312
  1618
#define GL_TEXTURE_4DSIZE_SGIS            0x8136
slouken@312
  1619
#define GL_TEXTURE_WRAP_Q_SGIS            0x8137
slouken@312
  1620
#define GL_MAX_4D_TEXTURE_SIZE_SGIS       0x8138
slouken@312
  1621
#define GL_TEXTURE_4D_BINDING_SGIS        0x814F
slouken@312
  1622
#endif
slouken@312
  1623
slouken@312
  1624
#ifndef GL_SGI_texture_color_table
slouken@312
  1625
#define GL_TEXTURE_COLOR_TABLE_SGI        0x80BC
slouken@312
  1626
#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI  0x80BD
slouken@312
  1627
#endif
slouken@312
  1628
slouken@312
  1629
#ifndef GL_EXT_cmyka
slouken@312
  1630
#define GL_CMYK_EXT                       0x800C
slouken@312
  1631
#define GL_CMYKA_EXT                      0x800D
slouken@312
  1632
#define GL_PACK_CMYK_HINT_EXT             0x800E
slouken@312
  1633
#define GL_UNPACK_CMYK_HINT_EXT           0x800F
slouken@312
  1634
#endif
slouken@312
  1635
slouken@312
  1636
#ifndef GL_EXT_texture_object
slouken@312
  1637
#define GL_TEXTURE_PRIORITY_EXT           0x8066
slouken@312
  1638
#define GL_TEXTURE_RESIDENT_EXT           0x8067
slouken@312
  1639
#define GL_TEXTURE_1D_BINDING_EXT         0x8068
slouken@312
  1640
#define GL_TEXTURE_2D_BINDING_EXT         0x8069
slouken@312
  1641
#define GL_TEXTURE_3D_BINDING_EXT         0x806A
slouken@312
  1642
#endif
slouken@312
  1643
slouken@312
  1644
#ifndef GL_SGIS_detail_texture
slouken@312
  1645
#define GL_DETAIL_TEXTURE_2D_SGIS         0x8095
slouken@312
  1646
#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
slouken@312
  1647
#define GL_LINEAR_DETAIL_SGIS             0x8097
slouken@312
  1648
#define GL_LINEAR_DETAIL_ALPHA_SGIS       0x8098
slouken@312
  1649
#define GL_LINEAR_DETAIL_COLOR_SGIS       0x8099
slouken@312
  1650
#define GL_DETAIL_TEXTURE_LEVEL_SGIS      0x809A
slouken@312
  1651
#define GL_DETAIL_TEXTURE_MODE_SGIS       0x809B
slouken@312
  1652
#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
slouken@312
  1653
#endif
slouken@312
  1654
slouken@312
  1655
#ifndef GL_SGIS_sharpen_texture
slouken@312
  1656
#define GL_LINEAR_SHARPEN_SGIS            0x80AD
slouken@312
  1657
#define GL_LINEAR_SHARPEN_ALPHA_SGIS      0x80AE
slouken@312
  1658
#define GL_LINEAR_SHARPEN_COLOR_SGIS      0x80AF
slouken@312
  1659
#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
slouken@312
  1660
#endif
slouken@312
  1661
slouken@312
  1662
#ifndef GL_EXT_packed_pixels
slouken@312
  1663
#define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
slouken@312
  1664
#define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
slouken@312
  1665
#define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
slouken@312
  1666
#define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
slouken@312
  1667
#define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
slouken@312
  1668
#endif
slouken@312
  1669
slouken@312
  1670
#ifndef GL_SGIS_texture_lod
slouken@312
  1671
#define GL_TEXTURE_MIN_LOD_SGIS           0x813A
slouken@312
  1672
#define GL_TEXTURE_MAX_LOD_SGIS           0x813B
slouken@312
  1673
#define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
slouken@312
  1674
#define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
slouken@312
  1675
#endif
slouken@312
  1676
slouken@312
  1677
#ifndef GL_SGIS_multisample
slouken@312
  1678
#define GL_MULTISAMPLE_SGIS               0x809D
slouken@312
  1679
#define GL_SAMPLE_ALPHA_TO_MASK_SGIS      0x809E
slouken@312
  1680
#define GL_SAMPLE_ALPHA_TO_ONE_SGIS       0x809F
slouken@312
  1681
#define GL_SAMPLE_MASK_SGIS               0x80A0
slouken@312
  1682
#define GL_1PASS_SGIS                     0x80A1
slouken@312
  1683
#define GL_2PASS_0_SGIS                   0x80A2
slouken@312
  1684
#define GL_2PASS_1_SGIS                   0x80A3
slouken@312
  1685
#define GL_4PASS_0_SGIS                   0x80A4
slouken@312
  1686
#define GL_4PASS_1_SGIS                   0x80A5
slouken@312
  1687
#define GL_4PASS_2_SGIS                   0x80A6
slouken@312
  1688
#define GL_4PASS_3_SGIS                   0x80A7
slouken@312
  1689
#define GL_SAMPLE_BUFFERS_SGIS            0x80A8
slouken@312
  1690
#define GL_SAMPLES_SGIS                   0x80A9
slouken@312
  1691
#define GL_SAMPLE_MASK_VALUE_SGIS         0x80AA
slouken@312
  1692
#define GL_SAMPLE_MASK_INVERT_SGIS        0x80AB
slouken@312
  1693
#define GL_SAMPLE_PATTERN_SGIS            0x80AC
slouken@312
  1694
#endif
slouken@312
  1695
slouken@312
  1696
#ifndef GL_EXT_rescale_normal
slouken@312
  1697
#define GL_RESCALE_NORMAL_EXT             0x803A
slouken@312
  1698
#endif
slouken@312
  1699
slouken@312
  1700
#ifndef GL_EXT_vertex_array
slouken@312
  1701
#define GL_VERTEX_ARRAY_EXT               0x8074
slouken@312
  1702
#define GL_NORMAL_ARRAY_EXT               0x8075
slouken@312
  1703
#define GL_COLOR_ARRAY_EXT                0x8076
slouken@312
  1704
#define GL_INDEX_ARRAY_EXT                0x8077
slouken@312
  1705
#define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
slouken@312
  1706
#define GL_EDGE_FLAG_ARRAY_EXT            0x8079
slouken@312
  1707
#define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
slouken@312
  1708
#define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
slouken@312
  1709
#define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
slouken@312
  1710
#define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
slouken@312
  1711
#define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
slouken@312
  1712
#define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
slouken@312
  1713
#define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
slouken@312
  1714
#define GL_COLOR_ARRAY_SIZE_EXT           0x8081
slouken@312
  1715
#define GL_COLOR_ARRAY_TYPE_EXT           0x8082
slouken@312
  1716
#define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
slouken@312
  1717
#define GL_COLOR_ARRAY_COUNT_EXT          0x8084
slouken@312
  1718
#define GL_INDEX_ARRAY_TYPE_EXT           0x8085
slouken@312
  1719
#define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
slouken@312
  1720
#define GL_INDEX_ARRAY_COUNT_EXT          0x8087
slouken@312
  1721
#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
slouken@312
  1722
#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
slouken@312
  1723
#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
slouken@312
  1724
#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
slouken@312
  1725
#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
slouken@312
  1726
#define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
slouken@312
  1727
#define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
slouken@312
  1728
#define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
slouken@312
  1729
#define GL_COLOR_ARRAY_POINTER_EXT        0x8090
slouken@312
  1730
#define GL_INDEX_ARRAY_POINTER_EXT        0x8091
slouken@312
  1731
#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
slouken@312
  1732
#define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
slouken@312
  1733
#endif
slouken@312
  1734
slouken@312
  1735
#ifndef GL_EXT_misc_attribute
slouken@312
  1736
#endif
slouken@312
  1737
slouken@312
  1738
#ifndef GL_SGIS_generate_mipmap
slouken@312
  1739
#define GL_GENERATE_MIPMAP_SGIS           0x8191
slouken@312
  1740
#define GL_GENERATE_MIPMAP_HINT_SGIS      0x8192
slouken@312
  1741
#endif
slouken@312
  1742
slouken@312
  1743
#ifndef GL_SGIX_clipmap
slouken@312
  1744
#define GL_LINEAR_CLIPMAP_LINEAR_SGIX     0x8170
slouken@312
  1745
#define GL_TEXTURE_CLIPMAP_CENTER_SGIX    0x8171
slouken@312
  1746
#define GL_TEXTURE_CLIPMAP_FRAME_SGIX     0x8172
slouken@312
  1747
#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX    0x8173
slouken@312
  1748
#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
slouken@312
  1749
#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
slouken@312
  1750
#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX     0x8176
slouken@312
  1751
#define GL_MAX_CLIPMAP_DEPTH_SGIX         0x8177
slouken@312
  1752
#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
slouken@312
  1753
#define GL_NEAREST_CLIPMAP_NEAREST_SGIX   0x844D
slouken@312
  1754
#define GL_NEAREST_CLIPMAP_LINEAR_SGIX    0x844E
slouken@312
  1755
#define GL_LINEAR_CLIPMAP_NEAREST_SGIX    0x844F
slouken@312
  1756
#endif
slouken@312
  1757
slouken@312
  1758
#ifndef GL_SGIX_shadow
slouken@312
  1759
#define GL_TEXTURE_COMPARE_SGIX           0x819A
slouken@312
  1760
#define GL_TEXTURE_COMPARE_OPERATOR_SGIX  0x819B
slouken@312
  1761
#define GL_TEXTURE_LEQUAL_R_SGIX          0x819C
slouken@312
  1762
#define GL_TEXTURE_GEQUAL_R_SGIX          0x819D
slouken@312
  1763
#endif
slouken@312
  1764
slouken@312
  1765
#ifndef GL_SGIS_texture_edge_clamp
slouken@312
  1766
#define GL_CLAMP_TO_EDGE_SGIS             0x812F
slouken@312
  1767
#endif
slouken@312
  1768
slouken@1205
  1769
#ifndef GL_SGIS_texture_border_clamp
slouken@1205
  1770
#define GL_CLAMP_TO_BORDER_SGIS           0x812D
slouken@1205
  1771
#endif
slouken@1205
  1772
slouken@312
  1773
#ifndef GL_EXT_blend_minmax
slouken@312
  1774
#define GL_FUNC_ADD_EXT                   0x8006
slouken@312
  1775
#define GL_MIN_EXT                        0x8007
slouken@312
  1776
#define GL_MAX_EXT                        0x8008
slouken@312
  1777
#define GL_BLEND_EQUATION_EXT             0x8009
slouken@312
  1778
#endif
slouken@312
  1779
slouken@312
  1780
#ifndef GL_EXT_blend_subtract
slouken@312
  1781
#define GL_FUNC_SUBTRACT_EXT              0x800A
slouken@312
  1782
#define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
slouken@312
  1783
#endif
slouken@312
  1784
slouken@312
  1785
#ifndef GL_EXT_blend_logic_op
slouken@312
  1786
#endif
slouken@312
  1787
slouken@312
  1788
#ifndef GL_SGIX_interlace
slouken@312
  1789
#define GL_INTERLACE_SGIX                 0x8094
slouken@312
  1790
#endif
slouken@312
  1791
slouken@312
  1792
#ifndef GL_SGIX_pixel_tiles
slouken@312
  1793
#define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
slouken@312
  1794
#define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
slouken@312
  1795
#define GL_PIXEL_TILE_WIDTH_SGIX          0x8140
slouken@312
  1796
#define GL_PIXEL_TILE_HEIGHT_SGIX         0x8141
slouken@312
  1797
#define GL_PIXEL_TILE_GRID_WIDTH_SGIX     0x8142
slouken@312
  1798
#define GL_PIXEL_TILE_GRID_HEIGHT_SGIX    0x8143
slouken@312
  1799
#define GL_PIXEL_TILE_GRID_DEPTH_SGIX     0x8144
slouken@312
  1800
#define GL_PIXEL_TILE_CACHE_SIZE_SGIX     0x8145
slouken@312
  1801
#endif
slouken@312
  1802
slouken@312
  1803
#ifndef GL_SGIS_texture_select
slouken@312
  1804
#define GL_DUAL_ALPHA4_SGIS               0x8110
slouken@312
  1805
#define GL_DUAL_ALPHA8_SGIS               0x8111
slouken@312
  1806
#define GL_DUAL_ALPHA12_SGIS              0x8112
slouken@312
  1807
#define GL_DUAL_ALPHA16_SGIS              0x8113
slouken@312
  1808
#define GL_DUAL_LUMINANCE4_SGIS           0x8114
slouken@312
  1809
#define GL_DUAL_LUMINANCE8_SGIS           0x8115
slouken@312
  1810
#define GL_DUAL_LUMINANCE12_SGIS          0x8116
slouken@312
  1811
#define GL_DUAL_LUMINANCE16_SGIS          0x8117
slouken@312
  1812
#define GL_DUAL_INTENSITY4_SGIS           0x8118
slouken@312
  1813
#define GL_DUAL_INTENSITY8_SGIS           0x8119
slouken@312
  1814
#define GL_DUAL_INTENSITY12_SGIS          0x811A
slouken@312
  1815
#define GL_DUAL_INTENSITY16_SGIS          0x811B
slouken@312
  1816
#define GL_DUAL_LUMINANCE_ALPHA4_SGIS     0x811C
slouken@312
  1817
#define GL_DUAL_LUMINANCE_ALPHA8_SGIS     0x811D
slouken@312
  1818
#define GL_QUAD_ALPHA4_SGIS               0x811E
slouken@312
  1819
#define GL_QUAD_ALPHA8_SGIS               0x811F
slouken@312
  1820
#define GL_QUAD_LUMINANCE4_SGIS           0x8120
slouken@312
  1821
#define GL_QUAD_LUMINANCE8_SGIS           0x8121
slouken@312
  1822
#define GL_QUAD_INTENSITY4_SGIS           0x8122
slouken@312
  1823
#define GL_QUAD_INTENSITY8_SGIS           0x8123
slouken@312
  1824
#define GL_DUAL_TEXTURE_SELECT_SGIS       0x8124
slouken@312
  1825
#define GL_QUAD_TEXTURE_SELECT_SGIS       0x8125
slouken@312
  1826
#endif
slouken@312
  1827
slouken@312
  1828
#ifndef GL_SGIX_sprite
slouken@312
  1829
#define GL_SPRITE_SGIX                    0x8148
slouken@312
  1830
#define GL_SPRITE_MODE_SGIX               0x8149
slouken@312
  1831
#define GL_SPRITE_AXIS_SGIX               0x814A
slouken@312
  1832
#define GL_SPRITE_TRANSLATION_SGIX        0x814B
slouken@312
  1833
#define GL_SPRITE_AXIAL_SGIX              0x814C
slouken@312
  1834
#define GL_SPRITE_OBJECT_ALIGNED_SGIX     0x814D
slouken@312
  1835
#define GL_SPRITE_EYE_ALIGNED_SGIX        0x814E
slouken@312
  1836
#endif
slouken@312
  1837
slouken@312
  1838
#ifndef GL_SGIX_texture_multi_buffer
slouken@312
  1839
#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
slouken@312
  1840
#endif
slouken@312
  1841
slouken@843
  1842
#ifndef GL_EXT_point_parameters
slouken@843
  1843
#define GL_POINT_SIZE_MIN_EXT             0x8126
slouken@843
  1844
#define GL_POINT_SIZE_MAX_EXT             0x8127
slouken@843
  1845
#define GL_POINT_FADE_THRESHOLD_SIZE_EXT  0x8128
slouken@843
  1846
#define GL_DISTANCE_ATTENUATION_EXT       0x8129
slouken@843
  1847
#endif
slouken@843
  1848
slouken@312
  1849
#ifndef GL_SGIS_point_parameters
slouken@312
  1850
#define GL_POINT_SIZE_MIN_SGIS            0x8126
slouken@312
  1851
#define GL_POINT_SIZE_MAX_SGIS            0x8127
slouken@312
  1852
#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
slouken@312
  1853
#define GL_DISTANCE_ATTENUATION_SGIS      0x8129
slouken@312
  1854
#endif
slouken@312
  1855
slouken@312
  1856
#ifndef GL_SGIX_instruments
slouken@312
  1857
#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
slouken@312
  1858
#define GL_INSTRUMENT_MEASUREMENTS_SGIX   0x8181
slouken@312
  1859
#endif
slouken@312
  1860
slouken@312
  1861
#ifndef GL_SGIX_texture_scale_bias
slouken@312
  1862
#define GL_POST_TEXTURE_FILTER_BIAS_SGIX  0x8179
slouken@312
  1863
#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
slouken@312
  1864
#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
slouken@312
  1865
#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
slouken@312
  1866
#endif
slouken@312
  1867
slouken@312
  1868
#ifndef GL_SGIX_framezoom
slouken@312
  1869
#define GL_FRAMEZOOM_SGIX                 0x818B
slouken@312
  1870
#define GL_FRAMEZOOM_FACTOR_SGIX          0x818C
slouken@312
  1871
#define GL_MAX_FRAMEZOOM_FACTOR_SGIX      0x818D
slouken@312
  1872
#endif
slouken@312
  1873
slouken@312
  1874
#ifndef GL_SGIX_tag_sample_buffer
slouken@312
  1875
#endif
slouken@312
  1876
slouken@843
  1877
#ifndef GL_FfdMaskSGIX
slouken@843
  1878
#define GL_TEXTURE_DEFORMATION_BIT_SGIX   0x00000001
slouken@843
  1879
#define GL_GEOMETRY_DEFORMATION_BIT_SGIX  0x00000002
slouken@843
  1880
#endif
slouken@843
  1881
slouken@843
  1882
#ifndef GL_SGIX_polynomial_ffd
slouken@843
  1883
#define GL_GEOMETRY_DEFORMATION_SGIX      0x8194
slouken@843
  1884
#define GL_TEXTURE_DEFORMATION_SGIX       0x8195
slouken@843
  1885
#define GL_DEFORMATIONS_MASK_SGIX         0x8196
slouken@843
  1886
#define GL_MAX_DEFORMATION_ORDER_SGIX     0x8197
slouken@843
  1887
#endif
slouken@843
  1888
slouken@312
  1889
#ifndef GL_SGIX_reference_plane
slouken@312
  1890
#define GL_REFERENCE_PLANE_SGIX           0x817D
slouken@312
  1891
#define GL_REFERENCE_PLANE_EQUATION_SGIX  0x817E
slouken@312
  1892
#endif
slouken@312
  1893
slouken@312
  1894
#ifndef GL_SGIX_flush_raster
slouken@312
  1895
#endif
slouken@312
  1896
slouken@312
  1897
#ifndef GL_SGIX_depth_texture
slouken@312
  1898
#define GL_DEPTH_COMPONENT16_SGIX         0x81A5
slouken@312
  1899
#define GL_DEPTH_COMPONENT24_SGIX         0x81A6
slouken@312
  1900
#define GL_DEPTH_COMPONENT32_SGIX         0x81A7
slouken@312
  1901
#endif
slouken@312
  1902
slouken@312
  1903
#ifndef GL_SGIS_fog_function
slouken@312
  1904
#define GL_FOG_FUNC_SGIS                  0x812A
slouken@312
  1905
#define GL_FOG_FUNC_POINTS_SGIS           0x812B
slouken@312
  1906
#define GL_MAX_FOG_FUNC_POINTS_SGIS       0x812C
slouken@312
  1907
#endif
slouken@312
  1908
slouken@312
  1909
#ifndef GL_SGIX_fog_offset
slouken@312
  1910
#define GL_FOG_OFFSET_SGIX                0x8198
slouken@312
  1911
#define GL_FOG_OFFSET_VALUE_SGIX          0x8199
slouken@312
  1912
#endif
slouken@312
  1913
slouken@312
  1914
#ifndef GL_HP_image_transform
slouken@312
  1915
#define GL_IMAGE_SCALE_X_HP               0x8155
slouken@312
  1916
#define GL_IMAGE_SCALE_Y_HP               0x8156
slouken@312
  1917
#define GL_IMAGE_TRANSLATE_X_HP           0x8157
slouken@312
  1918
#define GL_IMAGE_TRANSLATE_Y_HP           0x8158
slouken@312
  1919
#define GL_IMAGE_ROTATE_ANGLE_HP          0x8159
slouken@312
  1920
#define GL_IMAGE_ROTATE_ORIGIN_X_HP       0x815A
slouken@312
  1921
#define GL_IMAGE_ROTATE_ORIGIN_Y_HP       0x815B
slouken@312
  1922
#define GL_IMAGE_MAG_FILTER_HP            0x815C
slouken@312
  1923
#define GL_IMAGE_MIN_FILTER_HP            0x815D
slouken@312
  1924
#define GL_IMAGE_CUBIC_WEIGHT_HP          0x815E
slouken@312
  1925
#define GL_CUBIC_HP                       0x815F
slouken@312
  1926
#define GL_AVERAGE_HP                     0x8160
slouken@312
  1927
#define GL_IMAGE_TRANSFORM_2D_HP          0x8161
slouken@312
  1928
#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
slouken@312
  1929
#define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
slouken@312
  1930
#endif
slouken@312
  1931
slouken@312
  1932
#ifndef GL_HP_convolution_border_modes
slouken@312
  1933
#define GL_IGNORE_BORDER_HP               0x8150
slouken@312
  1934
#define GL_CONSTANT_BORDER_HP             0x8151
slouken@312
  1935
#define GL_REPLICATE_BORDER_HP            0x8153
slouken@312
  1936
#define GL_CONVOLUTION_BORDER_COLOR_HP    0x8154
slouken@312
  1937
#endif
slouken@312
  1938
slouken@312
  1939
#ifndef GL_INGR_palette_buffer
slouken@312
  1940
#endif
slouken@312
  1941
slouken@312
  1942
#ifndef GL_SGIX_texture_add_env
slouken@312
  1943
#define GL_TEXTURE_ENV_BIAS_SGIX          0x80BE
slouken@312
  1944
#endif
slouken@312
  1945
slouken@312
  1946
#ifndef GL_EXT_color_subtable
slouken@312
  1947
#endif
slouken@312
  1948
slouken@312
  1949
#ifndef GL_PGI_vertex_hints
slouken@312
  1950
#define GL_VERTEX_DATA_HINT_PGI           0x1A22A
slouken@312
  1951
#define GL_VERTEX_CONSISTENT_HINT_PGI     0x1A22B
slouken@312
  1952
#define GL_MATERIAL_SIDE_HINT_PGI         0x1A22C
slouken@312
  1953
#define GL_MAX_VERTEX_HINT_PGI            0x1A22D
slouken@312
  1954
#define GL_COLOR3_BIT_PGI                 0x00010000
slouken@312
  1955
#define GL_COLOR4_BIT_PGI                 0x00020000
slouken@312
  1956
#define GL_EDGEFLAG_BIT_PGI               0x00040000
slouken@312
  1957
#define GL_INDEX_BIT_PGI                  0x00080000
slouken@312
  1958
#define GL_MAT_AMBIENT_BIT_PGI            0x00100000
slouken@312
  1959
#define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
slouken@312
  1960
#define GL_MAT_DIFFUSE_BIT_PGI            0x00400000
slouken@312
  1961
#define GL_MAT_EMISSION_BIT_PGI           0x00800000
slouken@312
  1962
#define GL_MAT_COLOR_INDEXES_BIT_PGI      0x01000000
slouken@312
  1963
#define GL_MAT_SHININESS_BIT_PGI          0x02000000
slouken@312
  1964
#define GL_MAT_SPECULAR_BIT_PGI           0x04000000
slouken@312
  1965
#define GL_NORMAL_BIT_PGI                 0x08000000
slouken@312
  1966
#define GL_TEXCOORD1_BIT_PGI              0x10000000
slouken@312
  1967
#define GL_TEXCOORD2_BIT_PGI              0x20000000
slouken@312
  1968
#define GL_TEXCOORD3_BIT_PGI              0x40000000
slouken@312
  1969
#define GL_TEXCOORD4_BIT_PGI              0x80000000
slouken@312
  1970
#define GL_VERTEX23_BIT_PGI               0x00000004
slouken@312
  1971
#define GL_VERTEX4_BIT_PGI                0x00000008
slouken@312
  1972
#endif
slouken@312
  1973
slouken@312
  1974
#ifndef GL_PGI_misc_hints
slouken@312
  1975
#define GL_PREFER_DOUBLEBUFFER_HINT_PGI   0x1A1F8
slouken@312
  1976
#define GL_CONSERVE_MEMORY_HINT_PGI       0x1A1FD
slouken@312
  1977
#define GL_RECLAIM_MEMORY_HINT_PGI        0x1A1FE
slouken@312
  1978
#define GL_NATIVE_GRAPHICS_HANDLE_PGI     0x1A202
slouken@312
  1979
#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
slouken@312
  1980
#define GL_NATIVE_GRAPHICS_END_HINT_PGI   0x1A204
slouken@312
  1981
#define GL_ALWAYS_FAST_HINT_PGI           0x1A20C
slouken@312
  1982
#define GL_ALWAYS_SOFT_HINT_PGI           0x1A20D
slouken@312
  1983
#define GL_ALLOW_DRAW_OBJ_HINT_PGI        0x1A20E
slouken@312
  1984
#define GL_ALLOW_DRAW_WIN_HINT_PGI        0x1A20F
slouken@312
  1985
#define GL_ALLOW_DRAW_FRG_HINT_PGI        0x1A210
slouken@312
  1986
#define GL_ALLOW_DRAW_MEM_HINT_PGI        0x1A211
slouken@312
  1987
#define GL_STRICT_DEPTHFUNC_HINT_PGI      0x1A216
slouken@312
  1988
#define GL_STRICT_LIGHTING_HINT_PGI       0x1A217
slouken@312
  1989
#define GL_STRICT_SCISSOR_HINT_PGI        0x1A218
slouken@312
  1990
#define GL_FULL_STIPPLE_HINT_PGI          0x1A219
slouken@312
  1991
#define GL_CLIP_NEAR_HINT_PGI             0x1A220
slouken@312
  1992
#define GL_CLIP_FAR_HINT_PGI              0x1A221
slouken@312
  1993
#define GL_WIDE_LINE_HINT_PGI             0x1A222
slouken@312
  1994
#define GL_BACK_NORMALS_HINT_PGI          0x1A223
slouken@312
  1995
#endif
slouken@312
  1996
slouken@312
  1997
#ifndef GL_EXT_paletted_texture
slouken@312
  1998
#define GL_COLOR_INDEX1_EXT               0x80E2
slouken@312
  1999
#define GL_COLOR_INDEX2_EXT               0x80E3
slouken@312
  2000
#define GL_COLOR_INDEX4_EXT               0x80E4
slouken@312
  2001
#define GL_COLOR_INDEX8_EXT               0x80E5
slouken@312
  2002
#define GL_COLOR_INDEX12_EXT              0x80E6
slouken@312
  2003
#define GL_COLOR_INDEX16_EXT              0x80E7
slouken@312
  2004
#define GL_TEXTURE_INDEX_SIZE_EXT         0x80ED
slouken@312
  2005
#endif
slouken@312
  2006
slouken@312
  2007
#ifndef GL_EXT_clip_volume_hint
slouken@312
  2008
#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT  0x80F0
slouken@312
  2009
#endif
slouken@312
  2010
slouken@312
  2011
#ifndef GL_SGIX_list_priority
slouken@312
  2012
#define GL_LIST_PRIORITY_SGIX             0x8182
slouken@312
  2013
#endif
slouken@312
  2014
slouken@312
  2015
#ifndef GL_SGIX_ir_instrument1
slouken@312
  2016
#define GL_IR_INSTRUMENT1_SGIX            0x817F
slouken@312
  2017
#endif
slouken@312
  2018
slouken@312
  2019
#ifndef GL_SGIX_calligraphic_fragment
slouken@312
  2020
#define GL_CALLIGRAPHIC_FRAGMENT_SGIX     0x8183
slouken@312
  2021
#endif
slouken@312
  2022
slouken@312
  2023
#ifndef GL_SGIX_texture_lod_bias
slouken@312
  2024
#define GL_TEXTURE_LOD_BIAS_S_SGIX        0x818E
slouken@312
  2025
#define GL_TEXTURE_LOD_BIAS_T_SGIX        0x818F
slouken@312
  2026
#define GL_TEXTURE_LOD_BIAS_R_SGIX        0x8190
slouken@312
  2027
#endif
slouken@312
  2028
slouken@312
  2029
#ifndef GL_SGIX_shadow_ambient
slouken@312
  2030
#define GL_SHADOW_AMBIENT_SGIX            0x80BF
slouken@312
  2031
#endif
slouken@312
  2032
slouken@312
  2033
#ifndef GL_EXT_index_texture
slouken@312
  2034
#endif
slouken@312
  2035
slouken@312
  2036
#ifndef GL_EXT_index_material
slouken@312
  2037
#define GL_INDEX_MATERIAL_EXT             0x81B8
slouken@312
  2038
#define GL_INDEX_MATERIAL_PARAMETER_EXT   0x81B9
slouken@312
  2039
#define GL_INDEX_MATERIAL_FACE_EXT        0x81BA
slouken@312
  2040
#endif
slouken@312
  2041
slouken@312
  2042
#ifndef GL_EXT_index_func
slouken@312
  2043
#define GL_INDEX_TEST_EXT                 0x81B5
slouken@312
  2044
#define GL_INDEX_TEST_FUNC_EXT            0x81B6
slouken@312
  2045
#define GL_INDEX_TEST_REF_EXT             0x81B7
slouken@312
  2046
#endif
slouken@312
  2047
slouken@312
  2048
#ifndef GL_EXT_index_array_formats
slouken@312
  2049
#define GL_IUI_V2F_EXT                    0x81AD
slouken@312
  2050
#define GL_IUI_V3F_EXT                    0x81AE
slouken@312
  2051
#define GL_IUI_N3F_V2F_EXT                0x81AF
slouken@312
  2052
#define GL_IUI_N3F_V3F_EXT                0x81B0
slouken@312
  2053
#define GL_T2F_IUI_V2F_EXT                0x81B1
slouken@312
  2054
#define GL_T2F_IUI_V3F_EXT                0x81B2
slouken@312
  2055
#define GL_T2F_IUI_N3F_V2F_EXT            0x81B3
slouken@312
  2056
#define GL_T2F_IUI_N3F_V3F_EXT            0x81B4
slouken@312
  2057
#endif
slouken@312
  2058
slouken@312
  2059
#ifndef GL_EXT_compiled_vertex_array
slouken@312
  2060
#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT   0x81A8
slouken@312
  2061
#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT   0x81A9
slouken@312
  2062
#endif
slouken@312
  2063
slouken@312
  2064
#ifndef GL_EXT_cull_vertex
slouken@312
  2065
#define GL_CULL_VERTEX_EXT                0x81AA
slouken@312
  2066
#define GL_CULL_VERTEX_EYE_POSITION_EXT   0x81AB
slouken@312
  2067
#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
slouken@312
  2068
#endif
slouken@312
  2069
slouken@312
  2070
#ifndef GL_SGIX_ycrcb
slouken@312
  2071
#define GL_YCRCB_422_SGIX                 0x81BB
slouken@312
  2072
#define GL_YCRCB_444_SGIX                 0x81BC
slouken@312
  2073
#endif
slouken@312
  2074
slouken@312
  2075
#ifndef GL_SGIX_fragment_lighting
slouken@312
  2076
#define GL_FRAGMENT_LIGHTING_SGIX         0x8400
slouken@312
  2077
#define GL_FRAGMENT_COLOR_MATERIAL_SGIX   0x8401
slouken@312
  2078
#define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
slouken@312
  2079
#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
slouken@312
  2080
#define GL_MAX_FRAGMENT_LIGHTS_SGIX       0x8404
slouken@312
  2081
#define GL_MAX_ACTIVE_LIGHTS_SGIX         0x8405
slouken@312
  2082
#define GL_CURRENT_RASTER_NORMAL_SGIX     0x8406
slouken@312
  2083
#define GL_LIGHT_ENV_MODE_SGIX            0x8407
slouken@312
  2084
#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
slouken@312
  2085
#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
slouken@312
  2086
#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
slouken@312
  2087
#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
slouken@312
  2088
#define GL_FRAGMENT_LIGHT0_SGIX           0x840C
slouken@312
  2089
#define GL_FRAGMENT_LIGHT1_SGIX           0x840D
slouken@312
  2090
#define GL_FRAGMENT_LIGHT2_SGIX           0x840E
slouken@312
  2091
#define GL_FRAGMENT_LIGHT3_SGIX           0x840F
slouken@312
  2092
#define GL_FRAGMENT_LIGHT4_SGIX           0x8410
slouken@312
  2093
#define GL_FRAGMENT_LIGHT5_SGIX           0x8411
slouken@312
  2094
#define GL_FRAGMENT_LIGHT6_SGIX           0x8412
slouken@312
  2095
#define GL_FRAGMENT_LIGHT7_SGIX           0x8413
slouken@312
  2096
#endif
slouken@312
  2097
slouken@312
  2098
#ifndef GL_IBM_rasterpos_clip
slouken@312
  2099
#define GL_RASTER_POSITION_UNCLIPPED_IBM  0x19262
slouken@312
  2100
#endif
slouken@312
  2101
slouken@312
  2102
#ifndef GL_HP_texture_lighting
slouken@312
  2103
#define GL_TEXTURE_LIGHTING_MODE_HP       0x8167
slouken@312
  2104
#define GL_TEXTURE_POST_SPECULAR_HP       0x8168
slouken@312
  2105
#define GL_TEXTURE_PRE_SPECULAR_HP        0x8169
slouken@312
  2106
#endif
slouken@312
  2107
slouken@312
  2108
#ifndef GL_EXT_draw_range_elements
slouken@312
  2109
#define GL_MAX_ELEMENTS_VERTICES_EXT      0x80E8
slouken@312
  2110
#define GL_MAX_ELEMENTS_INDICES_EXT       0x80E9
slouken@312
  2111
#endif
slouken@312
  2112
slouken@312
  2113
#ifndef GL_WIN_phong_shading
slouken@312
  2114
#define GL_PHONG_WIN                      0x80EA
slouken@312
  2115
#define GL_PHONG_HINT_WIN                 0x80EB
slouken@312
  2116
#endif
slouken@312
  2117
slouken@312
  2118
#ifndef GL_WIN_specular_fog
slouken@312
  2119
#define GL_FOG_SPECULAR_TEXTURE_WIN       0x80EC
slouken@312
  2120
#endif
slouken@312
  2121
slouken@312
  2122
#ifndef GL_EXT_light_texture
slouken@312
  2123
#define GL_FRAGMENT_MATERIAL_EXT          0x8349
slouken@312
  2124
#define GL_FRAGMENT_NORMAL_EXT            0x834A
slouken@312
  2125
#define GL_FRAGMENT_COLOR_EXT             0x834C
slouken@312
  2126
#define GL_ATTENUATION_EXT                0x834D
slouken@312
  2127
#define GL_SHADOW_ATTENUATION_EXT         0x834E
slouken@312
  2128
#define GL_TEXTURE_APPLICATION_MODE_EXT   0x834F
slouken@312
  2129
#define GL_TEXTURE_LIGHT_EXT              0x8350
slouken@312
  2130
#define GL_TEXTURE_MATERIAL_FACE_EXT      0x8351
slouken@312
  2131
#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
slouken@312
  2132
/* reuse GL_FRAGMENT_DEPTH_EXT */
slouken@312
  2133
#endif
slouken@312
  2134
slouken@312
  2135
#ifndef GL_SGIX_blend_alpha_minmax
slouken@312
  2136
#define GL_ALPHA_MIN_SGIX                 0x8320
slouken@312
  2137
#define GL_ALPHA_MAX_SGIX                 0x8321
slouken@312
  2138
#endif
slouken@312
  2139
slouken@843
  2140
#ifndef GL_SGIX_impact_pixel_texture
slouken@843
  2141
#define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX   0x8184
slouken@843
  2142
#define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX     0x8185
slouken@843
  2143
#define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX     0x8186
slouken@843
  2144
#define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187
slouken@843
  2145
#define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188
slouken@843
  2146
#define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX    0x8189
slouken@843
  2147
#define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX    0x818A
slouken@843
  2148
#endif
slouken@843
  2149
slouken@312
  2150
#ifndef GL_EXT_bgra
slouken@312
  2151
#define GL_BGR_EXT                        0x80E0
slouken@312
  2152
#define GL_BGRA_EXT                       0x80E1
slouken@312
  2153
#endif
slouken@312
  2154
slouken@843
  2155
#ifndef GL_SGIX_async
slouken@843
  2156
#define GL_ASYNC_MARKER_SGIX              0x8329
slouken@843
  2157
#endif
slouken@843
  2158
slouken@843
  2159
#ifndef GL_SGIX_async_pixel
slouken@843
  2160
#define GL_ASYNC_TEX_IMAGE_SGIX           0x835C
slouken@843
  2161
#define GL_ASYNC_DRAW_PIXELS_SGIX         0x835D
slouken@843
  2162
#define GL_ASYNC_READ_PIXELS_SGIX         0x835E
slouken@843
  2163
#define GL_MAX_ASYNC_TEX_IMAGE_SGIX       0x835F
slouken@843
  2164
#define GL_MAX_ASYNC_DRAW_PIXELS_SGIX     0x8360
slouken@843
  2165
#define GL_MAX_ASYNC_READ_PIXELS_SGIX     0x8361
slouken@843
  2166
#endif
slouken@843
  2167
slouken@843
  2168
#ifndef GL_SGIX_async_histogram
slouken@843
  2169
#define GL_ASYNC_HISTOGRAM_SGIX           0x832C
slouken@843
  2170
#define GL_MAX_ASYNC_HISTOGRAM_SGIX       0x832D
slouken@843
  2171
#endif
slouken@843
  2172
slouken@312
  2173
#ifndef GL_INTEL_texture_scissor
slouken@312
  2174
#endif
slouken@312
  2175
slouken@312
  2176
#ifndef GL_INTEL_parallel_arrays
slouken@312
  2177
#define GL_PARALLEL_ARRAYS_INTEL          0x83F4
slouken@312
  2178
#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
slouken@312
  2179
#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
slouken@312
  2180
#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
slouken@312
  2181
#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
slouken@312
  2182
#endif
slouken@312
  2183
slouken@312
  2184
#ifndef GL_HP_occlusion_test
slouken@312
  2185
#define GL_OCCLUSION_TEST_HP              0x8165
slouken@312
  2186
#define GL_OCCLUSION_TEST_RESULT_HP       0x8166
slouken@312
  2187
#endif
slouken@312
  2188
slouken@312
  2189
#ifndef GL_EXT_pixel_transform
slouken@312
  2190
#define GL_PIXEL_TRANSFORM_2D_EXT         0x8330
slouken@312
  2191
#define GL_PIXEL_MAG_FILTER_EXT           0x8331
slouken@312
  2192
#define GL_PIXEL_MIN_FILTER_EXT           0x8332
slouken@312
  2193
#define GL_PIXEL_CUBIC_WEIGHT_EXT         0x8333
slouken@312
  2194
#define GL_CUBIC_EXT                      0x8334
slouken@312
  2195
#define GL_AVERAGE_EXT                    0x8335
slouken@312
  2196
#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
slouken@312
  2197
#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
slouken@312
  2198
#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT  0x8338
slouken@312
  2199
#endif
slouken@312
  2200
slouken@312
  2201
#ifndef GL_EXT_pixel_transform_color_table
slouken@312
  2202
#endif
slouken@312
  2203
slouken@312
  2204
#ifndef GL_EXT_shared_texture_palette
slouken@312
  2205
#define GL_SHARED_TEXTURE_PALETTE_EXT     0x81FB
slouken@312
  2206
#endif
slouken@312
  2207
slouken@312
  2208
#ifndef GL_EXT_separate_specular_color
slouken@312
  2209
#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT  0x81F8
slouken@312
  2210
#define GL_SINGLE_COLOR_EXT               0x81F9
slouken@312
  2211
#define GL_SEPARATE_SPECULAR_COLOR_EXT    0x81FA
slouken@312
  2212
#endif
slouken@312
  2213
slouken@312
  2214
#ifndef GL_EXT_secondary_color
slouken@312
  2215
#define GL_COLOR_SUM_EXT                  0x8458
slouken@312
  2216
#define GL_CURRENT_SECONDARY_COLOR_EXT    0x8459
slouken@312
  2217
#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
slouken@312
  2218
#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
slouken@312
  2219
#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
slouken@312
  2220
#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
slouken@312
  2221
#define GL_SECONDARY_COLOR_ARRAY_EXT      0x845E
slouken@312
  2222
#endif
slouken@312
  2223
slouken@312
  2224
#ifndef GL_EXT_texture_perturb_normal
slouken@312
  2225
#define GL_PERTURB_EXT                    0x85AE
slouken@312
  2226
#define GL_TEXTURE_NORMAL_EXT             0x85AF
slouken@312
  2227
#endif
slouken@312
  2228
slouken@312
  2229
#ifndef GL_EXT_multi_draw_arrays
slouken@312
  2230
#endif
slouken@312
  2231
slouken@312
  2232
#ifndef GL_EXT_fog_coord
slouken@312
  2233
#define GL_FOG_COORDINATE_SOURCE_EXT      0x8450
slouken@312
  2234
#define GL_FOG_COORDINATE_EXT             0x8451
slouken@312
  2235
#define GL_FRAGMENT_DEPTH_EXT             0x8452
slouken@312
  2236
#define GL_CURRENT_FOG_COORDINATE_EXT     0x8453
slouken@312
  2237
#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT  0x8454
slouken@312
  2238
#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
slouken@312
  2239
#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
slouken@312
  2240
#define GL_FOG_COORDINATE_ARRAY_EXT       0x8457
slouken@312
  2241
#endif
slouken@312
  2242
slouken@312
  2243
#ifndef GL_REND_screen_coordinates
slouken@312
  2244
#define GL_SCREEN_COORDINATES_REND        0x8490
slouken@312
  2245
#define GL_INVERTED_SCREEN_W_REND         0x8491
slouken@312
  2246
#endif
slouken@312
  2247
slouken@312
  2248
#ifndef GL_EXT_coordinate_frame
slouken@312
  2249
#define GL_TANGENT_ARRAY_EXT              0x8439
slouken@312
  2250
#define GL_BINORMAL_ARRAY_EXT             0x843A
slouken@312
  2251
#define GL_CURRENT_TANGENT_EXT            0x843B
slouken@312
  2252
#define GL_CURRENT_BINORMAL_EXT           0x843C
slouken@312
  2253
#define GL_TANGENT_ARRAY_TYPE_EXT         0x843E
slouken@312
  2254
#define GL_TANGENT_ARRAY_STRIDE_EXT       0x843F
slouken@312
  2255
#define GL_BINORMAL_ARRAY_TYPE_EXT        0x8440
slouken@312
  2256
#define GL_BINORMAL_ARRAY_STRIDE_EXT      0x8441
slouken@312
  2257
#define GL_TANGENT_ARRAY_POINTER_EXT      0x8442
slouken@312
  2258
#define GL_BINORMAL_ARRAY_POINTER_EXT     0x8443
slouken@312
  2259
#define GL_MAP1_TANGENT_EXT               0x8444
slouken@312
  2260
#define GL_MAP2_TANGENT_EXT               0x8445
slouken@312
  2261
#define GL_MAP1_BINORMAL_EXT              0x8446
slouken@312
  2262
#define GL_MAP2_BINORMAL_EXT              0x8447
slouken@312
  2263
#endif
slouken@312
  2264
slouken@312
  2265
#ifndef GL_EXT_texture_env_combine
slouken@312
  2266
#define GL_COMBINE_EXT                    0x8570
slouken@312
  2267
#define GL_COMBINE_RGB_EXT                0x8571
slouken@312
  2268
#define GL_COMBINE_ALPHA_EXT              0x8572
slouken@312
  2269
#define GL_RGB_SCALE_EXT                  0x8573
slouken@312
  2270
#define GL_ADD_SIGNED_EXT                 0x8574
slouken@312
  2271
#define GL_INTERPOLATE_EXT                0x8575
slouken@312
  2272
#define GL_CONSTANT_EXT                   0x8576
slouken@312
  2273
#define GL_PRIMARY_COLOR_EXT              0x8577
slouken@312
  2274
#define GL_PREVIOUS_EXT                   0x8578
slouken@312
  2275
#define GL_SOURCE0_RGB_EXT                0x8580
slouken@312
  2276
#define GL_SOURCE1_RGB_EXT                0x8581
slouken@312
  2277
#define GL_SOURCE2_RGB_EXT                0x8582
slouken@312
  2278
#define GL_SOURCE0_ALPHA_EXT              0x8588
slouken@312
  2279
#define GL_SOURCE1_ALPHA_EXT              0x8589
slouken@312
  2280
#define GL_SOURCE2_ALPHA_EXT              0x858A
slouken@312
  2281
#define GL_OPERAND0_RGB_EXT               0x8590
slouken@312
  2282
#define GL_OPERAND1_RGB_EXT               0x8591
slouken@312
  2283
#define GL_OPERAND2_RGB_EXT               0x8592
slouken@312
  2284
#define GL_OPERAND0_ALPHA_EXT             0x8598
slouken@312
  2285
#define GL_OPERAND1_ALPHA_EXT             0x8599
slouken@312
  2286
#define GL_OPERAND2_ALPHA_EXT             0x859A
slouken@312
  2287
#endif
slouken@312
  2288
slouken@312
  2289
#ifndef GL_APPLE_specular_vector
slouken@312
  2290
#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
slouken@312
  2291
#endif
slouken@312
  2292
slouken@312
  2293
#ifndef GL_APPLE_transform_hint
slouken@312
  2294
#define GL_TRANSFORM_HINT_APPLE           0x85B1
slouken@312
  2295
#endif
slouken@312
  2296
slouken@312
  2297
#ifndef GL_SGIX_fog_scale
slouken@312
  2298
#define GL_FOG_SCALE_SGIX                 0x81FC
slouken@312
  2299
#define GL_FOG_SCALE_VALUE_SGIX           0x81FD
slouken@312
  2300
#endif
slouken@312
  2301
slouken@312
  2302
#ifndef GL_SUNX_constant_data
slouken@312
  2303
#define GL_UNPACK_CONSTANT_DATA_SUNX      0x81D5
slouken@312
  2304
#define GL_TEXTURE_CONSTANT_DATA_SUNX     0x81D6
slouken@312
  2305
#endif
slouken@312
  2306
slouken@312
  2307
#ifndef GL_SUN_global_alpha
slouken@312
  2308
#define GL_GLOBAL_ALPHA_SUN               0x81D9
slouken@312
  2309
#define GL_GLOBAL_ALPHA_FACTOR_SUN        0x81DA
slouken@312
  2310
#endif
slouken@312
  2311
slouken@312
  2312
#ifndef GL_SUN_triangle_list
slouken@843
  2313
#define GL_RESTART_SUN                    0x0001
slouken@843
  2314
#define GL_REPLACE_MIDDLE_SUN             0x0002
slouken@843
  2315
#define GL_REPLACE_OLDEST_SUN             0x0003
slouken@312
  2316
#define GL_TRIANGLE_LIST_SUN              0x81D7
slouken@312
  2317
#define GL_REPLACEMENT_CODE_SUN           0x81D8
slouken@312
  2318
#define GL_REPLACEMENT_CODE_ARRAY_SUN     0x85C0
slouken@312
  2319
#define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
slouken@312
  2320
#define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
slouken@312
  2321
#define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
slouken@312
  2322
#define GL_R1UI_V3F_SUN                   0x85C4
slouken@312
  2323
#define GL_R1UI_C4UB_V3F_SUN              0x85C5
slouken@312
  2324
#define GL_R1UI_C3F_V3F_SUN               0x85C6
slouken@312
  2325
#define GL_R1UI_N3F_V3F_SUN               0x85C7
slouken@312
  2326
#define GL_R1UI_C4F_N3F_V3F_SUN           0x85C8
slouken@312
  2327
#define GL_R1UI_T2F_V3F_SUN               0x85C9
slouken@312
  2328
#define GL_R1UI_T2F_N3F_V3F_SUN           0x85CA
slouken@312
  2329
#define GL_R1UI_T2F_C4F_N3F_V3F_SUN       0x85CB
slouken@312
  2330
#endif
slouken@312
  2331
slouken@312
  2332
#ifndef GL_SUN_vertex
slouken@312
  2333
#endif
slouken@312
  2334
slouken@312
  2335
#ifndef GL_EXT_blend_func_separate
slouken@312
  2336
#define GL_BLEND_DST_RGB_EXT              0x80C8
slouken@312
  2337
#define GL_BLEND_SRC_RGB_EXT              0x80C9
slouken@312
  2338
#define GL_BLEND_DST_ALPHA_EXT            0x80CA
slouken@312
  2339
#define GL_BLEND_SRC_ALPHA_EXT            0x80CB
slouken@312
  2340
#endif
slouken@312
  2341
slouken@312
  2342
#ifndef GL_INGR_color_clamp
slouken@312
  2343
#define GL_RED_MIN_CLAMP_INGR             0x8560
slouken@312
  2344
#define GL_GREEN_MIN_CLAMP_INGR           0x8561
slouken@312
  2345
#define GL_BLUE_MIN_CLAMP_INGR            0x8562
slouken@312
  2346
#define GL_ALPHA_MIN_CLAMP_INGR           0x8563
slouken@312
  2347
#define GL_RED_MAX_CLAMP_INGR             0x8564
slouken@312
  2348
#define GL_GREEN_MAX_CLAMP_INGR           0x8565
slouken@312
  2349
#define GL_BLUE_MAX_CLAMP_INGR            0x8566
slouken@312
  2350
#define GL_ALPHA_MAX_CLAMP_INGR           0x8567
slouken@312
  2351
#endif
slouken@312
  2352
slouken@312
  2353
#ifndef GL_INGR_interlace_read
slouken@312
  2354
#define GL_INTERLACE_READ_INGR            0x8568
slouken@312
  2355
#endif
slouken@312
  2356
slouken@312
  2357
#ifndef GL_EXT_stencil_wrap
slouken@312
  2358
#define GL_INCR_WRAP_EXT                  0x8507
slouken@312
  2359
#define GL_DECR_WRAP_EXT                  0x8508
slouken@312
  2360
#endif
slouken@312
  2361
slouken@312
  2362
#ifndef GL_EXT_422_pixels
slouken@312
  2363
#define GL_422_EXT                        0x80CC
slouken@312
  2364
#define GL_422_REV_EXT                    0x80CD
slouken@312
  2365
#define GL_422_AVERAGE_EXT                0x80CE
slouken@312
  2366
#define GL_422_REV_AVERAGE_EXT            0x80CF
slouken@312
  2367
#endif
slouken@312
  2368
slouken@312
  2369
#ifndef GL_NV_texgen_reflection
slouken@312
  2370
#define GL_NORMAL_MAP_NV                  0x8511
slouken@312
  2371
#define GL_REFLECTION_MAP_NV              0x8512
slouken@312
  2372
#endif
slouken@312
  2373
slouken@312
  2374
#ifndef GL_EXT_texture_cube_map
slouken@312
  2375
#define GL_NORMAL_MAP_EXT                 0x8511
slouken@312
  2376
#define GL_REFLECTION_MAP_EXT             0x8512
slouken@312
  2377
#define GL_TEXTURE_CUBE_MAP_EXT           0x8513
slouken@312
  2378
#define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
slouken@312
  2379
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
slouken@312
  2380
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
slouken@312
  2381
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
slouken@312
  2382
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
slouken@312
  2383
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
slouken@312
  2384
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
slouken@312
  2385
#define GL_PROXY_TEXTURE_CUBE_MAP_EXT     0x851B
slouken@312
  2386
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT  0x851C
slouken@312
  2387
#endif
slouken@312
  2388
slouken@312
  2389
#ifndef GL_SUN_convolution_border_modes
slouken@312
  2390
#define GL_WRAP_BORDER_SUN                0x81D4
slouken@312
  2391
#endif
slouken@312
  2392
slouken@312
  2393
#ifndef GL_EXT_texture_env_add
slouken@312
  2394
#endif
slouken@312
  2395
slouken@312
  2396
#ifndef GL_EXT_texture_lod_bias
slouken@312
  2397
#define GL_MAX_TEXTURE_LOD_BIAS_EXT       0x84FD
slouken@312
  2398
#define GL_TEXTURE_FILTER_CONTROL_EXT     0x8500
slouken@312
  2399
#define GL_TEXTURE_LOD_BIAS_EXT           0x8501
slouken@312
  2400
#endif
slouken@312
  2401
slouken@312
  2402
#ifndef GL_EXT_texture_filter_anisotropic
slouken@312
  2403
#define GL_TEXTURE_MAX_ANISOTROPY_EXT     0x84FE
slouken@312
  2404
#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
slouken@312
  2405
#endif
slouken@312
  2406
slouken@312
  2407
#ifndef GL_EXT_vertex_weighting
slouken@312
  2408
#define GL_MODELVIEW0_STACK_DEPTH_EXT     GL_MODELVIEW_STACK_DEPTH
slouken@312
  2409
#define GL_MODELVIEW1_STACK_DEPTH_EXT     0x8502
slouken@312
  2410
#define GL_MODELVIEW0_MATRIX_EXT          GL_MODELVIEW_MATRIX
slouken@843
  2411
#define GL_MODELVIEW1_MATRIX_EXT          0x8506
slouken@312
  2412
#define GL_VERTEX_WEIGHTING_EXT           0x8509
slouken@312
  2413
#define GL_MODELVIEW0_EXT                 GL_MODELVIEW
slouken@312
  2414
#define GL_MODELVIEW1_EXT                 0x850A
slouken@312
  2415
#define GL_CURRENT_VERTEX_WEIGHT_EXT      0x850B
slouken@312
  2416
#define GL_VERTEX_WEIGHT_ARRAY_EXT        0x850C
slouken@312
  2417
#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT   0x850D
slouken@312
  2418
#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT   0x850E
slouken@312
  2419
#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
slouken@312
  2420
#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
slouken@312
  2421
#endif
slouken@312
  2422
slouken@312
  2423
#ifndef GL_NV_light_max_exponent
slouken@312
  2424
#define GL_MAX_SHININESS_NV               0x8504
slouken@312
  2425
#define GL_MAX_SPOT_EXPONENT_NV           0x8505
slouken@312
  2426
#endif
slouken@312
  2427
slouken@312
  2428
#ifndef GL_NV_vertex_array_range
slouken@312
  2429
#define GL_VERTEX_ARRAY_RANGE_NV          0x851D
slouken@312
  2430
#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV   0x851E
slouken@312
  2431
#define GL_VERTEX_ARRAY_RANGE_VALID_NV    0x851F
slouken@312
  2432
#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
slouken@312
  2433
#define GL_VERTEX_ARRAY_RANGE_POINTER_NV  0x8521
slouken@312
  2434
#endif
slouken@312
  2435
slouken@312
  2436
#ifndef GL_NV_register_combiners
slouken@312
  2437
#define GL_REGISTER_COMBINERS_NV          0x8522
slouken@312
  2438
#define GL_VARIABLE_A_NV                  0x8523
slouken@312
  2439
#define GL_VARIABLE_B_NV                  0x8524
slouken@312
  2440
#define GL_VARIABLE_C_NV                  0x8525
slouken@312
  2441
#define GL_VARIABLE_D_NV                  0x8526
slouken@312
  2442
#define GL_VARIABLE_E_NV                  0x8527
slouken@312
  2443
#define GL_VARIABLE_F_NV                  0x8528
slouken@312
  2444
#define GL_VARIABLE_G_NV                  0x8529
slouken@312
  2445
#define GL_CONSTANT_COLOR0_NV             0x852A
slouken@312
  2446
#define GL_CONSTANT_COLOR1_NV             0x852B
slouken@312
  2447
#define GL_PRIMARY_COLOR_NV               0x852C
slouken@312
  2448
#define GL_SECONDARY_COLOR_NV             0x852D
slouken@312
  2449
#define GL_SPARE0_NV                      0x852E
slouken@312
  2450
#define GL_SPARE1_NV                      0x852F
slouken@312
  2451
#define GL_DISCARD_NV                     0x8530
slouken@312
  2452
#define GL_E_TIMES_F_NV                   0x8531
slouken@312
  2453
#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
slouken@312
  2454
#define GL_UNSIGNED_IDENTITY_NV           0x8536
slouken@312
  2455
#define GL_UNSIGNED_INVERT_NV             0x8537
slouken@312
  2456
#define GL_EXPAND_NORMAL_NV               0x8538
slouken@312
  2457
#define GL_EXPAND_NEGATE_NV               0x8539
slouken@312
  2458
#define GL_HALF_BIAS_NORMAL_NV            0x853A
slouken@312
  2459
#define GL_HALF_BIAS_NEGATE_NV            0x853B
slouken@312
  2460
#define GL_SIGNED_IDENTITY_NV             0x853C
slouken@312
  2461
#define GL_SIGNED_NEGATE_NV               0x853D
slouken@312
  2462
#define GL_SCALE_BY_TWO_NV                0x853E
slouken@312
  2463
#define GL_SCALE_BY_FOUR_NV               0x853F
slouken@312
  2464
#define GL_SCALE_BY_ONE_HALF_NV           0x8540
slouken@312
  2465
#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV   0x8541
slouken@312
  2466
#define GL_COMBINER_INPUT_NV              0x8542
slouken@312
  2467
#define GL_COMBINER_MAPPING_NV            0x8543
slouken@312
  2468
#define GL_COMBINER_COMPONENT_USAGE_NV    0x8544
slouken@312
  2469
#define GL_COMBINER_AB_DOT_PRODUCT_NV     0x8545
slouken@312
  2470
#define GL_COMBINER_CD_DOT_PRODUCT_NV     0x8546
slouken@312
  2471
#define GL_COMBINER_MUX_SUM_NV            0x8547
slouken@312
  2472
#define GL_COMBINER_SCALE_NV              0x8548
slouken@312
  2473
#define GL_COMBINER_BIAS_NV               0x8549
slouken@312
  2474
#define GL_COMBINER_AB_OUTPUT_NV          0x854A
slouken@312
  2475
#define GL_COMBINER_CD_OUTPUT_NV          0x854B
slouken@312
  2476
#define GL_COMBINER_SUM_OUTPUT_NV         0x854C
slouken@312
  2477
#define GL_MAX_GENERAL_COMBINERS_NV       0x854D
slouken@312
  2478
#define GL_NUM_GENERAL_COMBINERS_NV       0x854E
slouken@312
  2479
#define GL_COLOR_SUM_CLAMP_NV             0x854F
slouken@312
  2480
#define GL_COMBINER0_NV                   0x8550
slouken@312
  2481
#define GL_COMBINER1_NV                   0x8551
slouken@312
  2482
#define GL_COMBINER2_NV                   0x8552
slouken@312
  2483
#define GL_COMBINER3_NV                   0x8553
slouken@312
  2484
#define GL_COMBINER4_NV                   0x8554
slouken@312
  2485
#define GL_COMBINER5_NV                   0x8555
slouken@312
  2486
#define GL_COMBINER6_NV                   0x8556
slouken@312
  2487
#define GL_COMBINER7_NV                   0x8557
slouken@312
  2488
/* reuse GL_TEXTURE0_ARB */
slouken@312
  2489
/* reuse GL_TEXTURE1_ARB */
slouken@312
  2490
/* reuse GL_ZERO */
slouken@312
  2491
/* reuse GL_NONE */
slouken@312
  2492
/* reuse GL_FOG */
slouken@312
  2493
#endif
slouken@312
  2494
slouken@312
  2495
#ifndef GL_NV_fog_distance
slouken@312
  2496
#define GL_FOG_DISTANCE_MODE_NV           0x855A
slouken@312
  2497
#define GL_EYE_RADIAL_NV                  0x855B
slouken@312
  2498
#define GL_EYE_PLANE_ABSOLUTE_NV          0x855C
slouken@312
  2499
/* reuse GL_EYE_PLANE */
slouken@312
  2500
#endif
slouken@312
  2501
slouken@312
  2502
#ifndef GL_NV_texgen_emboss
slouken@312
  2503
#define GL_EMBOSS_LIGHT_NV                0x855D
slouken@312
  2504
#define GL_EMBOSS_CONSTANT_NV             0x855E
slouken@312
  2505
#define GL_EMBOSS_MAP_NV                  0x855F
slouken@312
  2506
#endif
slouken@312
  2507
slouken@312
  2508
#ifndef GL_NV_blend_square
slouken@312
  2509
#endif
slouken@312
  2510
slouken@312
  2511
#ifndef GL_NV_texture_env_combine4
slouken@312
  2512
#define GL_COMBINE4_NV                    0x8503
slouken@312
  2513
#define GL_SOURCE3_RGB_NV                 0x8583
slouken@312
  2514
#define GL_SOURCE3_ALPHA_NV               0x858B
slouken@312
  2515
#define GL_OPERAND3_RGB_NV                0x8593
slouken@312
  2516
#define GL_OPERAND3_ALPHA_NV              0x859B
slouken@312
  2517
#endif
slouken@312
  2518
slouken@312
  2519
#ifndef GL_MESA_resize_buffers
slouken@312
  2520
#endif
slouken@312
  2521
slouken@312
  2522
#ifndef GL_MESA_window_pos
slouken@312
  2523
#endif
slouken@312
  2524
slouken@312
  2525
#ifndef GL_EXT_texture_compression_s3tc
slouken@312
  2526
#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
slouken@312
  2527
#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
slouken@312
  2528
#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
slouken@312
  2529
#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
slouken@312
  2530
#endif
slouken@312
  2531
slouken@312
  2532
#ifndef GL_IBM_cull_vertex
slouken@312
  2533
#define GL_CULL_VERTEX_IBM                103050
slouken@312
  2534
#endif
slouken@312
  2535
slouken@312
  2536
#ifndef GL_IBM_multimode_draw_arrays
slouken@312
  2537
#endif
slouken@312
  2538
slouken@312
  2539
#ifndef GL_IBM_vertex_array_lists
slouken@312
  2540
#define GL_VERTEX_ARRAY_LIST_IBM          103070
slouken@312
  2541
#define GL_NORMAL_ARRAY_LIST_IBM          103071
slouken@312
  2542
#define GL_COLOR_ARRAY_LIST_IBM           103072
slouken@312
  2543
#define GL_INDEX_ARRAY_LIST_IBM           103073
slouken@312
  2544
#define GL_TEXTURE_COORD_ARRAY_LIST_IBM   103074
slouken@312
  2545
#define GL_EDGE_FLAG_ARRAY_LIST_IBM       103075
slouken@312
  2546
#define GL_FOG_COORDINATE_ARRAY_LIST_IBM  103076
slouken@312
  2547
#define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
slouken@312
  2548
#define GL_VERTEX_ARRAY_LIST_STRIDE_IBM   103080
slouken@312
  2549
#define GL_NORMAL_ARRAY_LIST_STRIDE_IBM   103081
slouken@312
  2550
#define GL_COLOR_ARRAY_LIST_STRIDE_IBM    103082
slouken@312
  2551
#define GL_INDEX_ARRAY_LIST_STRIDE_IBM    103083
slouken@312
  2552
#define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
slouken@312
  2553
#define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
slouken@312
  2554
#define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
slouken@312
  2555
#define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
slouken@312
  2556
#endif
slouken@312
  2557
slouken@312
  2558
#ifndef GL_SGIX_subsample
slouken@312
  2559
#define GL_PACK_SUBSAMPLE_RATE_SGIX       0x85A0
slouken@312
  2560
#define GL_UNPACK_SUBSAMPLE_RATE_SGIX     0x85A1
slouken@312
  2561
#define GL_PIXEL_SUBSAMPLE_4444_SGIX      0x85A2
slouken@312
  2562
#define GL_PIXEL_SUBSAMPLE_2424_SGIX      0x85A3
slouken@312
  2563
#define GL_PIXEL_SUBSAMPLE_4242_SGIX      0x85A4
slouken@312
  2564
#endif
slouken@312
  2565
slouken@312
  2566
#ifndef GL_SGIX_ycrcb_subsample
slouken@312
  2567
#endif
slouken@312
  2568
slouken@312
  2569
#ifndef GL_SGIX_ycrcba
slouken@312
  2570
#define GL_YCRCB_SGIX                     0x8318
slouken@312
  2571
#define GL_YCRCBA_SGIX                    0x8319
slouken@312
  2572
#endif
slouken@312
  2573
slouken@312
  2574
#ifndef GL_SGI_depth_pass_instrument
slouken@312
  2575
#define GL_DEPTH_PASS_INSTRUMENT_SGIX     0x8310
slouken@312
  2576
#define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
slouken@312
  2577
#define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
slouken@312
  2578
#endif
slouken@312
  2579
slouken@312
  2580
#ifndef GL_3DFX_texture_compression_FXT1
slouken@312
  2581
#define GL_COMPRESSED_RGB_FXT1_3DFX       0x86B0
slouken@312
  2582
#define GL_COMPRESSED_RGBA_FXT1_3DFX      0x86B1
slouken@312
  2583
#endif
slouken@312
  2584
slouken@312
  2585
#ifndef GL_3DFX_multisample
slouken@312
  2586
#define GL_MULTISAMPLE_3DFX               0x86B2
slouken@312
  2587
#define GL_SAMPLE_BUFFERS_3DFX            0x86B3
slouken@312
  2588
#define GL_SAMPLES_3DFX                   0x86B4
slouken@312
  2589
#define GL_MULTISAMPLE_BIT_3DFX           0x20000000
slouken@312
  2590
#endif
slouken@312
  2591
slouken@312
  2592
#ifndef GL_3DFX_tbuffer
slouken@312
  2593
#endif
slouken@312
  2594
slouken@312
  2595
#ifndef GL_EXT_multisample
slouken@312
  2596
#define GL_MULTISAMPLE_EXT                0x809D
slouken@312
  2597
#define GL_SAMPLE_ALPHA_TO_MASK_EXT       0x809E
slouken@312
  2598
#define GL_SAMPLE_ALPHA_TO_ONE_EXT        0x809F
slouken@312
  2599
#define GL_SAMPLE_MASK_EXT                0x80A0
slouken@312
  2600
#define GL_1PASS_EXT                      0x80A1
slouken@312
  2601
#define GL_2PASS_0_EXT                    0x80A2
slouken@312
  2602
#define GL_2PASS_1_EXT                    0x80A3
slouken@312
  2603
#define GL_4PASS_0_EXT                    0x80A4
slouken@312
  2604
#define GL_4PASS_1_EXT                    0x80A5
slouken@312
  2605
#define GL_4PASS_2_EXT                    0x80A6
slouken@312
  2606
#define GL_4PASS_3_EXT                    0x80A7
slouken@312
  2607
#define GL_SAMPLE_BUFFERS_EXT             0x80A8
slouken@312
  2608
#define GL_SAMPLES_EXT                    0x80A9
slouken@312
  2609
#define GL_SAMPLE_MASK_VALUE_EXT          0x80AA
slouken@312
  2610
#define GL_SAMPLE_MASK_INVERT_EXT         0x80AB
slouken@312
  2611
#define GL_SAMPLE_PATTERN_EXT             0x80AC
slouken@843
  2612
#define GL_MULTISAMPLE_BIT_EXT            0x20000000
slouken@312
  2613
#endif
slouken@312
  2614
slouken@312
  2615
#ifndef GL_SGIX_vertex_preclip
slouken@312
  2616
#define GL_VERTEX_PRECLIP_SGIX            0x83EE
slouken@312
  2617
#define GL_VERTEX_PRECLIP_HINT_SGIX       0x83EF
slouken@312
  2618
#endif
slouken@312
  2619
slouken@312
  2620
#ifndef GL_SGIX_convolution_accuracy
slouken@312
  2621
#define GL_CONVOLUTION_HINT_SGIX          0x8316
slouken@312
  2622
#endif
slouken@312
  2623
slouken@312
  2624
#ifndef GL_SGIX_resample
slouken@312
  2625
#define GL_PACK_RESAMPLE_SGIX             0x842C
slouken@312
  2626
#define GL_UNPACK_RESAMPLE_SGIX           0x842D
slouken@312
  2627
#define GL_RESAMPLE_REPLICATE_SGIX        0x842E
slouken@312
  2628
#define GL_RESAMPLE_ZERO_FILL_SGIX        0x842F
slouken@312
  2629
#define GL_RESAMPLE_DECIMATE_SGIX         0x8430
slouken@312
  2630
#endif
slouken@312
  2631
slouken@312
  2632
#ifndef GL_SGIS_point_line_texgen
slouken@312
  2633
#define GL_EYE_DISTANCE_TO_POINT_SGIS     0x81F0
slouken@312
  2634
#define GL_OBJECT_DISTANCE_TO_POINT_SGIS  0x81F1
slouken@312
  2635
#define GL_EYE_DISTANCE_TO_LINE_SGIS      0x81F2
slouken@312
  2636
#define GL_OBJECT_DISTANCE_TO_LINE_SGIS   0x81F3
slouken@312
  2637
#define GL_EYE_POINT_SGIS                 0x81F4
slouken@312
  2638
#define GL_OBJECT_POINT_SGIS              0x81F5
slouken@312
  2639
#define GL_EYE_LINE_SGIS                  0x81F6
slouken@312
  2640
#define GL_OBJECT_LINE_SGIS               0x81F7
slouken@312
  2641
#endif
slouken@312
  2642
slouken@312
  2643
#ifndef GL_SGIS_texture_color_mask
slouken@312
  2644
#define GL_TEXTURE_COLOR_WRITEMASK_SGIS   0x81EF
slouken@312
  2645
#endif
slouken@312
  2646
slouken@843
  2647
#ifndef GL_EXT_texture_env_dot3
slouken@843
  2648
#define GL_DOT3_RGB_EXT                   0x8740
slouken@843
  2649
#define GL_DOT3_RGBA_EXT                  0x8741